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

fix(KnobContainer): perform global match for props replacement #2276

Merged

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented May 4, 2021

Closes #2003

This PR adds invalid and size knobs to the date picker live demos

Changelog

Changed

  • apply knob values to all component instances in live demo

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

@emyarod emyarod requested review from aagonzales and a team May 4, 2021 19:54
@emyarod emyarod requested a review from a team as a code owner May 4, 2021 19:54
@vercel
Copy link

vercel bot commented May 4, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/carbon-design-system/carbondesignsystem/GTzqCHQZgYsviVNVfuHJZ3WBngUK
✅ Preview: https://carbondesignsy-git-fork-emyarod-2003-date-picker-demo-bu-3a47e9.vercel.app

Copy link
Member

@aagonzales aagonzales left a 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

@emyarod
Copy link
Member Author

emyarod commented May 5, 2021

the usage tab should also have the updates now

Copy link
Member

@aagonzales aagonzales left a 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.

Copy link
Member

@aagonzales aagonzales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@janchild janchild left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kodiakhq kodiakhq bot merged commit 46d75e1 into carbon-design-system:main May 7, 2021
@emyarod emyarod deleted the 2003-date-picker-demo-bugs branch May 17, 2021 18:14
natashadecoste pushed a commit to natashadecoste/carbon-website that referenced this pull request May 19, 2021
…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
natashadecoste pushed a commit to natashadecoste/carbon-website that referenced this pull request May 19, 2021
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[live demo] date picker bugs
4 participants