diff --git a/.changeset/shiny-wolves-report.md b/.changeset/shiny-wolves-report.md new file mode 100644 index 000000000..ed73ac360 --- /dev/null +++ b/.changeset/shiny-wolves-report.md @@ -0,0 +1,5 @@ +--- +"flowbite-react": patch +--- + +Mega Menu - export all entities diff --git a/apps/web/examples/megaMenu/index.ts b/apps/web/examples/megaMenu/index.ts index c76aa489f..42c98f2af 100644 --- a/apps/web/examples/megaMenu/index.ts +++ b/apps/web/examples/megaMenu/index.ts @@ -1,5 +1,5 @@ -export { root } from "./megaMenu.root"; -export { icons } from "./megaMenu.icons"; export { fullWidth } from "./megaMenu.fullWidth"; export { fullWidthCTA } from "./megaMenu.fullWidthCTA"; export { fullWidthImage } from "./megaMenu.fullWidthImage"; +export { icons } from "./megaMenu.icons"; +export { root } from "./megaMenu.root"; diff --git a/packages/ui/src/components/Flowbite/FlowbiteTheme.ts b/packages/ui/src/components/Flowbite/FlowbiteTheme.ts index 29ae1172b..3da3a6d32 100644 --- a/packages/ui/src/components/Flowbite/FlowbiteTheme.ts +++ b/packages/ui/src/components/Flowbite/FlowbiteTheme.ts @@ -21,7 +21,7 @@ import type { FlowbiteKbdTheme } from "../Kbd"; import type { FlowbiteLabelTheme } from "../Label"; import type { FlowbiteListTheme } from "../List"; import type { FlowbiteListGroupTheme } from "../ListGroup"; -import { FlowbiteMegaMenuTheme } from "../MegaMenu/MegaMenu"; +import type { FlowbiteMegaMenuTheme } from "../MegaMenu"; import type { FlowbiteModalTheme } from "../Modal"; import type { FlowbiteNavbarTheme } from "../Navbar"; import type { FlowbitePaginationTheme } from "../Pagination"; diff --git a/packages/ui/src/components/MegaMenu/index.ts b/packages/ui/src/components/MegaMenu/index.ts index 4e7fdc312..981047a49 100644 --- a/packages/ui/src/components/MegaMenu/index.ts +++ b/packages/ui/src/components/MegaMenu/index.ts @@ -1,6 +1,6 @@ export { MegaMenu } from "./MegaMenu"; -export type { MegaMenuProps } from "./MegaMenu"; +export type { FlowbiteMegaMenuTheme, MegaMenuProps } from "./MegaMenu"; export { MegaMenuDropdown } from "./MegaMenuDropdown"; -export type { MegaMenuDropdownProps } from "./MegaMenuDropdown"; +export type { FlowbiteMegaMenuDropdownTheme, MegaMenuDropdownProps } from "./MegaMenuDropdown"; export { MegaMenuDropdownToggle } from "./MegaMenuDropdownToggle"; -export type { MegaMenuDropdownToggleProps } from "./MegaMenuDropdownToggle"; +export type { FlowbiteMegaMenuDropdownToggleTheme, MegaMenuDropdownToggleProps } from "./MegaMenuDropdownToggle";