change: [M3-9939] - Akamai Design System: Switch (Toggle) Component
Description ๐
Update styles to match CDS for Switch (Toggle) component
Changes ๐
- Add
Switch (Toggle)design tokens - Add more stories for the
Switch (Toggle)component in Storybook - Update styles to match CDS for
Switch (Toggle)component
Target release date ๐๏ธ
N/A
Preview ๐ท
Some of the Select variants (from storybook):
| State | Light | Dark |
|---|---|---|
| Default | ||
| Disabled |
How to test ๐งช
- Confirm CI is passing
- Checkout the branch and verify figma changes for
Switch (Toggle)component- Verify all the
Switch (Toggle)variants:- Default
- Hover
- Filled
- Disabled
- Verify spacing
- Verify the
Switch (Toggle)component and its different variants in Storybook
- Verify all the
- Confirm no visual regression in application
- Verify
Switch (Toggle)wherever used in CM (in both light and dark modes)
- Verify
Author Checklists
As an Author, to speed up the review process, I considered ๐ค
๐ Doing a self review โ Our contribution guidelines ๐ค Splitting feature into small PRs โ Adding a changeset ๐งช Providing/improving test coverage ๐ Removing all sensitive information from the code and PR description ๐ฉ Using a feature flag to protect the release ๐ฃ Providing comprehensive reproduction steps ๐ Providing or updating our documentation ๐ Scheduling a pair reviewing session ๐ฑ Providing mobile support โฟ Providing accessibility support
- [x] I have read and considered all applicable items listed above.
As an Author, before moving this PR from Draft to Open, I confirmed โ
- [x] All unit tests are passing
- [x] TypeScript compilation succeeded without errors
- [x] Code passes all linting rules
The disabled (unchecked) inner circle color needs to be updated too
| Current | Design |
|---|---|
Cloud Manager UI test results
:tada: 664 passing tests on test run #15 โ๏ธ
| :x: Failing | :white_check_mark: Passing | :arrow_right_hook: Skipped | :clock1: Duration |
0 Failing | 664 Passing | 4 Skipped | 124m 52s |