-
Notifications
You must be signed in to change notification settings - Fork 88
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
[WNMGDS-2921] Implement Filter Chip Web Component #3270
Conversation
Ugh. I created this while logged into my old Github account. Apparently that one still has write access? |
packages/design-system/src/components/web-components/ds-filter-chip/ds-filter-chip.tsx
Show resolved
Hide resolved
packages/design-system/src/components/web-components/ds-filter-chip/ds-filter-chip.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great so far!
Noticing a lot of updated snapshots here. Are they the same ones as in pr-3271? If so, would it be cleaner to revert these changes and merge with main once 3271 is merged?"
packages/design-system/src/components/web-components/ds-filter-chip/ds-filter-chip.stories.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The filter chip work looks good to me! I would spend a little of time verifying that the snapshot changes are all relevant to work done here to @tamara-corbalt's point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from merge conflicts that need to be resolved, looks great to me!
This reverts commit 4e4446f.
38afbaf
to
7a4e118
Compare
* Initial filter chip code * Initial filter chip tests * Add initial stories * Fix typo and update snapshot * Unit tests are passing * Import tooltip and filter chip * Add small filter chip example to astro * Update cdn-webcomponents example * Hiding controls on multi chip story since they don't seem to work * Revert "Add small filter chip example to astro" This reverts commit 4e4446f. * Change aria-clear-label to clear-label to avoid adding a nonexistent aria label * Whole lotta snapshot updates --------- Co-authored-by: jack-ryan-nava-pbc <[email protected]>
Summary
ds-filter-chip
web componentHow to test
yarn build
yarn test:unit:wc
to confirm that unit tests passyarn storybook
& confirm that all attributes are editable in the single filter chip example. I've disabled the props table in the multichip example because the controls didn't do anything.ds-delete
custom event is fired when clicking the chipChecklist
[WNMGDS-####] Title
or [NO-TICKET] if this is unticketed work.Type
(only one) label for this PR, if it is a breaking change, label should only beType: Breaking
Impacts
, multiple can be selected.