Closed tulup-conner closed 5 months ago
Run & review this pull request in StackBlitz Codeflow.
Latest commit: ad5bff25e4b136b3940d9e39a513276f39e70750
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a 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 | Apr 16, 2024 10:57pm |
flowbite-react-storybook | ❌ Failed (Inspect) | Apr 16, 2024 10:57pm |
The update brings a significant enhancement to the Flowbite UI library with the introduction of a versatile Mega Menu component. This Mega Menu enriches website navigation by offering full-width dropdowns, responsive layouts, and diverse styles. Seamlessly integrated with Flowbite-React components, it provides customizable dropdowns, navigation links, and visual improvements for a more engaging user experience.
Files | Changes |
---|---|
megaMenu.mdx , megaMenu.fullWidth.tsx , megaMenu.fullWidthCTA.tsx , megaMenu.fullWidthImage.tsx , megaMenu.root.tsx |
Introduced new Mega Menu components with various styles and functionalities. |
docs-sidebar.ts , index.ts , megaMenu/index.ts , .../src/index.ts |
Updated and added new entries for Mega Menu in various index and sidebar configurations. |
MegaMenu.tsx , MegaMenuDropdown.tsx , MegaMenuDropdownToggle.tsx |
New components for Mega Menu functionalities including dropdowns and toggle mechanisms. |
MegaMenu.spec.tsx , MegaMenu.stories.tsx |
Added test cases and storybook entries for the new Mega Menu components. |
FlowbiteTheme.ts , theme.ts , theme.ts |
Updated theme configurations to include styles and settings for the new Mega Menu components. |
🐰✨
In the land of code, where the bits align,
A Mega Menu blooms, design so fine.
Dropdowns dance, links in a row,
Navigating the web, with a seamless flow.
Cheers to the devs, with a hop and a cheer, 🎉
For making our web much nicer to steer!
🐰✨
🕵 Lint success (10)
packages/ui/src/components/MegaMenu/MegaMenu.stories.tsx: [warning] 35-35: Classname 'hover:text-primary-600' is not a Tailwind CSS class! --- packages/ui/src/components/MegaMenu/MegaMenu.stories.tsx: [warning] 35-35: Classname 'dark:hover:text-primary-500' is not a Tailwind CSS class! --- packages/ui/src/components/MegaMenu/MegaMenu.stories.tsx: [warning] 40-40: Classname 'hover:text-primary-600' is not a Tailwind CSS class! --- packages/ui/src/components/MegaMenu/MegaMenu.stories.tsx: [warning] 40-40: Classname 'dark:hover:text-primary-500' is not a Tailwind CSS class! --- packages/ui/src/components/MegaMenu/MegaMenu.stories.tsx: [warning] 45-45: Classname 'hover:text-primary-600' is not a Tailwind CSS class!
apps/web/examples/megaMenu/megaMenu.icons.tsx (3)
`17-107`: Consolidate repeated `Component` function definitions. As previously noted, the multiple definitions of the `Component` function are redundant and could lead to confusion. Consider consolidating these into a single, well-documented function or clearly differentiate them if they serve distinct purposes. --- `110-316`: Consolidate repeated `Component` function definitions. As previously noted, the multiple definitions of the `Component` function are redundant and could lead to confusion. Consider consolidating these into a single, well-documented function or clearly differentiate them if they serve distinct purposes. --- `319-513`: Consolidate repeated `Component` function definitions. As previously noted, the multiple definitions of the `Component` function are redundant and could lead to confusion. Consider consolidating these into a single, well-documented function or clearly differentiate them if they serve distinct purposes.
Implements https://flowbite.com/docs/components/mega-menu/ for
flowbite-react
This time, use the new monorepo!
No breaking changes.
Summary by CodeRabbit
New Features
Documentation
Tests
Refactor