@medixdeck/ui 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.js +299 -297
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
package/dist/index.d.ts
CHANGED
|
@@ -1116,13 +1116,18 @@ export declare type ModalSize = "xs" | "sm" | "md" | "lg" | "xl" | "full";
|
|
|
1116
1116
|
* />
|
|
1117
1117
|
* ```
|
|
1118
1118
|
*/
|
|
1119
|
-
export declare function Navbar({ logo, navItems, ctaLabel, ctaHref, onCtaClick, ctaIconHref, onCtaIconClick, secondaryCtaLabel, secondaryCtaHref, onSecondaryCtaClick, ctaSlot, renderLink, isSticky, variant, ...props }: NavbarProps): JSX_2.Element;
|
|
1119
|
+
export declare function Navbar({ logo, navItems, navItemsAlign, ctaLabel, ctaHref, onCtaClick, ctaIconHref, onCtaIconClick, secondaryCtaLabel, secondaryCtaHref, onSecondaryCtaClick, ctaSlot, renderLink, isSticky, variant, ...props }: NavbarProps): JSX_2.Element;
|
|
1120
1120
|
|
|
1121
1121
|
export declare interface NavbarProps extends Omit<BoxProps, "children"> {
|
|
1122
1122
|
/** Logo element. Defaults to `<Logo />` when omitted. */
|
|
1123
1123
|
logo?: default_2.ReactNode;
|
|
1124
|
-
/** Navigation items
|
|
1124
|
+
/** Navigation items to display. */
|
|
1125
1125
|
navItems?: NavItem[];
|
|
1126
|
+
/**
|
|
1127
|
+
* Alignment of the navigation items on desktop.
|
|
1128
|
+
* @default "center"
|
|
1129
|
+
*/
|
|
1130
|
+
navItemsAlign?: "left" | "center" | "right";
|
|
1126
1131
|
/**
|
|
1127
1132
|
* Custom link renderer — lets you integrate React Router, Next.js `<Link>`, etc.
|
|
1128
1133
|
*
|