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

Klaas058/storybook fixes #230

Merged
merged 14 commits into from
Oct 12, 2022
Merged

Conversation

Klaas058
Copy link
Contributor

Bunch of very small fixes in our storybook and a small addition to the readme

  • Fix Textarea capitalisation and sorting
  • Fix console warning about duplicate keys in tabs
  • Add yarn to readme since it is mentioned there
  • Fix textarea placeholder typo
  • Fix Button story react svg path properties
  • Fix Dropdown story react svg path properties
  • Fix Alert story react svg path properties
  • Refactor deprecated argTypes of Avatar
  • Fix Avatar story react svg path properties
  • Fix checkbox story checked state
  • Fix Range story value
  • Fix Footer story react svg path properties
  • Fix PhoneMockup deprecated argTypes contro
  • Fix WindowMockup depricated argTypes control and remove leftover debugs

@netlify
Copy link

netlify bot commented Oct 11, 2022

👷 Deploy Preview for react-daisyui processing.

Name Link
🔨 Latest commit ee764ba
🔍 Latest deploy log https://app.netlify.com/sites/react-daisyui/deploys/6345c7d18fec7700082eb620

@netlify
Copy link

netlify bot commented Oct 11, 2022

Deploy Preview for react-daisyui ready!

Name Link
🔨 Latest commit ee764ba
🔍 Latest deploy log https://app.netlify.com/sites/react-daisyui/deploys/6345c7d18fec7700082eb620
😎 Deploy Preview https://deploy-preview-230--react-daisyui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Oct 11, 2022

👷 Deploy Preview for react-daisyui processing.

Name Link
🔨 Latest commit ee764ba
🔍 Latest deploy log https://app.netlify.com/sites/react-daisyui/deploys/6345c7d18fec7700082eb620

@@ -55,15 +55,15 @@ const StoryLayout = ({ children, title, description, source }) => {
className='z-10 -mb-px'
variant='lifted'
value={tab}
onChange={(t) => setTab(t)}
onChange={(tab) => setTab(tab === 'fullWidthClick' ? 'html' : tab)}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This may seem weird but this is to preserve the current behaviour while having a different value, therefore a different key in the tab. So React doesn't complain at every component preview.

@benjitrosch benjitrosch merged commit afc43f4 into daisyui:main Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants