Closed SutuSebastian closed 1 week ago
Latest commit: 2a77be5ef27e145d857f8f3dea98a02f45ac5ba5
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 | Jun 20, 2024 8:48am |
flowbite-react-storybook | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 20, 2024 8:48am |
The recent updates focus on enhancing the ToggleSwitch
component's styling and functionality across various files. Key changes include modifying CSS alignments and styles, improving right-to-left (RTL) support, and fixing label-related issues. The adjustments ensure better visual consistency and usability while restoring smooth animations.
File(s) | Summary |
---|---|
.../forms/forms.toggleSwitch.tsx |
Updated container CSS class to align items at the start instead of the center within a React component |
.../src/components/ToggleSwitch/theme.ts |
Modified base styles, label positioning, appearance, and sizes of the ToggleSwitch component |
In the fields where toggles gleam,
We've fine-tuned switches, quite a dream.
Aligned to start, no more the center,
Labels neat, animations enter.
With styles transformed, and sizes right,
Our UI's set to beam so bright! 🌟
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?
Changes
Issues
587, #884, #1360
Result
Before
https://github.com/themesberg/flowbite-react/assets/41998826/7efb8813-240d-403c-9ccf-4395205a0701
After
https://github.com/themesberg/flowbite-react/assets/41998826/b3916f84-cba5-4f57-a3d5-4edfe290e4b6
Summary by CodeRabbit
Bug Fixes
Style