Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content switcher: v11 audit #10412

Closed
23 of 29 tasks
Tracked by #10551
aagonzales opened this issue Jan 13, 2022 · 4 comments
Closed
23 of 29 tasks
Tracked by #10551

Content switcher: v11 audit #10412

aagonzales opened this issue Jan 13, 2022 · 4 comments

Comments

@aagonzales
Copy link
Member

aagonzales commented Jan 13, 2022

Audit

A designer and developer will pair on this audit, some tasks may be discipline focused. Follow the checklist below for the features and items to review. If there are no issues with the item then check the item as complete. If any problems or bugs come up when auditing add a comment to this issue with the problem and how to correct it (if you know how). Bugs do not need to be fixed while auditing.

Resources

Checklist

Visual (in React code)
Design and dev check

  • Component is using the correct design tokens (color and type), see design spec and scss code.
  • Component is rendering correctly across themes and layers, see design spec and storybook.
    • White theme
    • Gray 10 theme
    • Gray 90 theme
    • Gray 100 theme
  • Component is rendering correctly across browsers (check themes across browsers as well), see storybook.
    • Firefox
    • Safari
    • Chrome
  • Component sizes are rendering and named correctly (if applicable)

Website (v11)
Design checks

  • Style tab has correct design tokens listed
  • Style and usage tabs are using the correct size props names (if applicable)
  • Usage tab is up-to-date for with any v11 behavioral changes (if any)
  • Live Demo has applied v11 changes
    • Themes are rendering correctly
    • Size props are named correctly
    • No light props included

Design Kits (Sketch only)
Design checks

  • Correct design tokens (type and color) are used
  • Component using the correct size prop names
  • Any additional v11 behaviors have been added

Storybook
Dev checks

  • Confirm that prop table is populating
  • Take note of missing examples/stories (if any)

React package
Dev checks

Accessibility
Dev checks

  • Confirm that there are no violations in Accessibility checker
  • Confirm that component works as expected with VoiceOver

Migration docs
Design and dev check

  • Any breaking changes to this component are present in the v11 migration guide.
    • Design
    • Develop
@aagonzales
Copy link
Member Author

aagonzales commented Jan 26, 2022

Visual

  • Should be using new name body-compact-01
.#{$prefix}--content-switcher-btn {
   @include reset;
   @include type-style('body-short-01');
  • sm and lg size are label correctly in code. Couldn't see the default on defined as 'md'. Sizes also weren't present in storybook to test.

@aagonzales
Copy link
Member Author

aagonzales commented Jan 26, 2022

Website

Style tab

  • Color: update unselect background = transparent
  • Color: add border = $border-inverse
  • Color: add focus-inset
  • Color: update hover background = $layer-hover pending discussion

@aagonzales
Copy link
Member Author

aagonzales commented Jan 26, 2022

Kit

  • No color tokens attached to the borders (future enhancement?)
    • W
    • G10
    • G90
    • G100
  • Divider should be using $border-subtle not $layer-accent-01
    • W
    • G10
    • G90
    • G100
  • Disabled tokens not used
    • W
    • G10
    • G90
    • G100

@tay1orjones
Copy link
Member

Closing since all items are addressed, we'll make a pass at updating size controls in storybook through #10751

kennylam added a commit to kennylam/carbon that referenced this issue Jul 30, 2024
* feat(multi-select): @carbon/react v11 sync

* feat(multi-select): initial selected items story

* feat(multi-select): selection feedback

* feat(multi-select): focusout

* feat(multi-select): selection feedback working

* feat(multi-select): fix ts errors

* feat(multi-select): add locale property

* feat(multi-select): inline styles

* fix(dropdown): remove console log)

* feat(multi-select): fix build errors

* chore(snapshot): update snapshots

* Update packages/carbon-web-components/src/components/multi-select/defs.ts

Co-authored-by: kennylam <[email protected]>

* Update packages/carbon-web-components/src/components/multi-select/multi-select.scss

Co-authored-by: kennylam <[email protected]>

* Update packages/carbon-web-components/src/components/multi-select/multi-select.scss

Co-authored-by: kennylam <[email protected]>

* feat(multi-select): add spacing import

* feat(multi-select): read only styles

* feat(multi-select): adjust focus states

---------

Co-authored-by: kennylam <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants