manager icon indicating copy to clipboard operation
manager copied to clipboard

change: [M3-9939] - Akamai Design System: Switch (Toggle) Component

Open hasyed-akamai opened this issue 7 months ago โ€ข 2 comments

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 Light Dark
Disabled Light Dark

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
  • Confirm no visual regression in application
    • Verify Switch (Toggle) wherever used in CM (in both light and dark modes)
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

hasyed-akamai avatar May 30 '25 10:05 hasyed-akamai

The disabled (unchecked) inner circle color needs to be updated too

Current Design
Screenshot 2025-06-06 at 10 38 14โ€ฏAM Screenshot 2025-06-06 at 10 35 13โ€ฏAM

jaalah-akamai avatar Jun 06 '25 14:06 jaalah-akamai

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 Failing664 Passing4 Skipped124m 52s

linode-gh-bot avatar Jun 17 '25 12:06 linode-gh-bot