-
Notifications
You must be signed in to change notification settings - Fork 785
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
fix(KnobContainer): perform global match for props replacement #2276
fix(KnobContainer): perform global match for props replacement #2276
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/carbon-design-system/carbondesignsystem/GTzqCHQZgYsviVNVfuHJZ3WBngUK |
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 updates are only on the demo in the code tab, they also need to be on the demo on the usage tab as well.
https://carbondesignsy-git-fork-emyarod-2003-date-picker-demo-bu-3a47e9.vercel.app/components/date-picker/usage#live-demo
e288faf
to
33ee8b4
Compare
the usage tab should also have the updates now |
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.
Nice! Yes, i see it on the usage tab now. And all the knobs seem to be working correctly.
I think we need to add Medium/default to size knobs though otherwise there's no way to get back to that size if you pick a different one.
33ee8b4
to
a503f18
Compare
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.
LGTM!
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.
LGTM!
b7b4027
to
4e5e4d3
Compare
…n-design-system#2276) * fix(KnobContainer): perform global match for props replacement * fix(DatePicker): add invalid and size knobs * fix(date-picker): add md size knob
…n-design-system#2276) * fix(KnobContainer): perform global match for props replacement * fix(DatePicker): add invalid and size knobs * fix(date-picker): add md size knob
Closes #2003
This PR adds
invalid
andsize
knobs to the date picker live demosChangelog
Changed
Testing/Reviewing
Confirm that applying/removing knobs in component demos still function as expected and that the date picker demo now contains the missing knobs