Closed dhavalveera closed 1 week ago
Latest commit: d14a5242ff420b0f39663b3347c54350429320cd
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
flowbite-react | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 29, 2024 3:05am |
flowbite-react-storybook | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 29, 2024 3:05am |
The recent updates involve renaming the style
prop to variant
in the <Tabs>
component across various files and examples. This change enhances clarity and allows the use of the style
attribute for other purposes. The modifications span documentation, examples, and component definitions, ensuring consistency throughout the codebase.
File(s) | Change Summary |
---|---|
apps/web/content/docs/components/tabs.mdx |
Updated <Tabs> prop from style to variant for different tab styles. |
apps/web/examples/tabs/tabs.fullWidth.tsx |
Changed style attribute to variant , specifying fullWidth for the Tabs component. |
apps/web/examples/tabs/tabs.root.tsx |
Updated style attribute to variant for consistency in the Tabs component. |
apps/web/examples/tabs/tabs.stateOptions.tsx |
Changed style attribute to variant in the Tabs component. |
apps/web/examples/tabs/tabs.withIcons.tsx |
Updated style attribute to variant in the Tabs component. |
apps/web/examples/tabs/tabs.withPills.tsx |
Changed style attribute to variant , specifying pills style in the Tabs component. |
apps/web/examples/tabs/tabs.withUnderline.tsx |
Updated style attribute to variant , specifying underline style in the Tabs component. |
packages/ui/src/components/Tabs/Tabs.stories.tsx |
Renamed style property to variant in Tabs component stories. |
packages/ui/src/components/Tabs/Tabs.tsx |
Renamed styles to variant in the FlowbiteTabsTheme interface and updated references accordingly. |
packages/ui/src/components/Tabs/theme.ts |
Replaced styles property with variant in tablist , tabitem , and tabitemcontainer styles. |
.changeset/forty-pumpkins-grow.md |
Introduced a patch renaming style to variant in the flowbite-react package for the Tabs component. |
In code's realm, a change was made, Style to variant, a switch displayed. Tabs now gleam with clarity bright, A rabbit's touch, in code's twilight. 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Looks good, only thing left is to create a changeset (patch)
Looks good, only thing left is to create a changeset (patch)
Pardon!. but can you help from where & how I need to create this changeset (patch)
?
Looks good, only thing left is to create a changeset (patch)
Please have a look, the changeset
I've added is correct...
Issue Reference #1256
this PR fixes the omitting attribute of
style
and now it's been replaced withvariant
attribute in order to allow the usage ofstyle
attribute.Summary by CodeRabbit
New Features
style
attribute tovariant
in the<Tabs>
component for improved flexibility in styling options.variant
attribute in the<Tabs>
component.Improvements
variant
attribute for tab styling.Chores
flowbite-react
package to support the newvariant
attribute, allowing users to utilize thestyle
attribute.