4.1.1 • Published 29 days ago

@symphony-ui/uitoolkit-styles v4.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
29 days ago

💄 SymphonyBDK - UI Toolkit Styles

The official styles library of Symphony's design system

Requirements

  • Node 20+
  • Yarn 1.22+

Browser support

  • Chrome: Latest
  • Edge: Latest

🛠 Install

Run

yarn

🛸 Explore

yarn start

✅ Getting started

In order to install and start using the library you can read the detailed guide on getting-started.md

🤖 Visual Testing

Automated visual testing uses software to automate the process of comparing visual elements across various screen combinations to uncover visual defects.

Creevey is a Cross-browser screenshot testing tool for Storybook with a fancy UI Runner.

Requirements

Setting Up

  1. Download Selenium Server.
curl -L -O https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.1.0/selenium-server-4.1.1.jar
  1. Configure Selenium Grid.
java -jar selenium-server-4.1.1.jar hub
  1. In other terminal run Selenium Node.
java -jar selenium-server-4.1.1.jar node
  1. Now Start storybook and then start Visual Testing Execution.
yarn start
yarn test

Update the test images

When the visual testing detects new components or changes on the existing ones it will fail the tests. In order to fix it you will need to run the update-test-images.sh script. It accepts as a parameter the URL of the CircleCI's report.zip file.

Example:

$ ./update-test-images.sh https://output.circle-artifacts.com/output/job/54d8d83d-315b-46e3-bcc2-34f1a75d1f9f/artifacts/0/.creevey/report/report.zip

It will execute the following steps automatically:

  1. Download report.zip from the artefacts provided on the CircleCI build URL
  2. Unzip it
  3. Replace on .creevey/report
  4. Execute the following commands to update the PNGs:
       yarn test --update
       yarn test --config .creevey/config_condensed.js --update
       yarn test --config .creevey/config_darkmode.js --update
       yarn test --config .creevey/config_darkmode_condensed.js --update
  5. git add the updated PNG images to the repository.

All that's left to you is to git commit and git push.

NOTE: The images could be different from local env against CircleCI. In our pipelines, are able to find the report with all images during the execution into report.zip.

🧩 Theming components

Read detailed guide on theming-guide.md

💪 Contributing

Read detailed guide on contribution process

4.1.1

29 days ago

4.1.0

30 days ago

4.0.10

2 months ago

4.0.9

3 months ago

4.0.8

3 months ago

4.0.7

3 months ago

4.0.6

3 months ago

4.0.5

4 months ago

4.0.4

5 months ago

4.0.1

7 months ago

4.0.0

7 months ago

4.0.3

6 months ago

4.0.2

7 months ago

3.6.9

7 months ago

3.6.7

8 months ago

3.6.10

7 months ago

3.6.6

12 months ago

3.6.5

12 months ago

3.6.1

1 year ago

3.6.0

1 year ago

3.6.4

1 year ago

3.6.3

1 year ago

3.5.0

1 year ago

3.4.10

1 year ago

3.4.8

1 year ago

3.4.7

1 year ago

3.4.9

1 year ago

3.4.6

2 years ago

3.4.4

2 years ago

3.4.5

2 years ago

3.4.0

2 years ago

3.4.1

2 years ago

3.3.0

2 years ago

3.2.0

2 years ago

3.0.1-rc.2

2 years ago

3.0.1-rc.0

2 years ago

3.0.1-rc.1

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.1.0

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.11.0

2 years ago

2.11.1

2 years ago

3.0.0-rc.2

2 years ago

2.9.2

2 years ago

3.0.0-rc.1

2 years ago

2.9.1

2 years ago

3.0.0-rc.0

2 years ago

2.11.2

2 years ago

2.9.0

3 years ago

2.8.0-rc.1

3 years ago

2.8.0

3 years ago

2.7.1

3 years ago

2.7.0

3 years ago

2.6.0

3 years ago

2.5.0

3 years ago

2.4.0

3 years ago

2.3.2

3 years ago

2.3.3

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.2.0

3 years ago

2.2.0-rc.0

3 years ago

2.1.1-rc.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.6.0-rc.1

3 years ago

1.5.0-rc.5

3 years ago

1.5.0-rc.4

3 years ago

1.5.0-rc.3

3 years ago

1.5.0-rc.2

3 years ago

1.5.0-rc.1

3 years ago

1.5.0

3 years ago

1.5.0-SNAPSHOT.3

3 years ago

1.5.0-SNAPSHOT.2

3 years ago

1.5.0-tester.0

3 years ago