-
-
Notifications
You must be signed in to change notification settings - Fork 680
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
feat: created toggle and checkbox components and added stories for them #3082
feat: created toggle and checkbox components and added stories for them #3082
Conversation
✅ Deploy Preview for asyncapi-website ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-3082--asyncapi-website.netlify.app/ |
package.json
Outdated
@@ -53,6 +53,7 @@ | |||
"@next/mdx": "^14.1.0", | |||
"@octokit/graphql": "^7.0.2", | |||
"@slack/web-api": "^7.0.2", | |||
"@storybook/preview-api": "^8.1.11", |
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.
why we need this library?
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.
components/tools/Checkbox.tsx
Outdated
@@ -0,0 +1,66 @@ | |||
import { twMerge } from 'tailwind-merge'; | |||
|
|||
export interface CheckboxProps { |
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.
Add this interface inside types folder and export it from there.
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.
Done
components/tools/Toggle.tsx
Outdated
@@ -0,0 +1,50 @@ | |||
import { twMerge } from 'tailwind-merge'; | |||
|
|||
export interface ToggleProps { |
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.
export this interface from types folder.
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.
Done
@akshatnema the lighthouse accessibility test is failing by 1 point when I merged master and resolved merge conflict. Do we need to resolve it? |
package-lock.json
Outdated
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.
Why there are changes in package-lock.json?
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.
There was a merge conflict in the version of the storybook(3.2.2). I resolved it.
/rtm |
This PR creates the following components and adds stories for them: