@cleen/ui 0.1.14 → 0.1.15
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.d.ts +13 -5
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2636,10 +2636,18 @@ interface SidebarProps {
|
|
|
2636
2636
|
closeOnBlur?: boolean;
|
|
2637
2637
|
/** Additional CSS classes for the sidebar container */
|
|
2638
2638
|
className?: string;
|
|
2639
|
-
/** Additional CSS classes for the
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2639
|
+
/** Additional CSS classes for the sections inside the component */
|
|
2640
|
+
classNames?: {
|
|
2641
|
+
navigation?: string;
|
|
2642
|
+
drawer?: string;
|
|
2643
|
+
};
|
|
2644
|
+
/** Additional inline styles for the sidebar container */
|
|
2645
|
+
style?: CSSProperties;
|
|
2646
|
+
/** Additional inline styles for the sections inside the component */
|
|
2647
|
+
styles?: {
|
|
2648
|
+
navigation?: CSSProperties;
|
|
2649
|
+
drawer?: CSSProperties;
|
|
2650
|
+
};
|
|
2643
2651
|
/** Custom render function for sidebar items */
|
|
2644
2652
|
renderSidebarItem?: (item: SidebarItemConfig, isActive: boolean, onClick: (item: SidebarItemConfig) => void) => ReactNode;
|
|
2645
2653
|
}
|
|
@@ -2671,7 +2679,7 @@ interface SidebarProps {
|
|
|
2671
2679
|
* />
|
|
2672
2680
|
* ```
|
|
2673
2681
|
*/
|
|
2674
|
-
declare function Sidebar({ navigationItems, bottomNavigationItems, drawerContent, logo, onLogoClick, userAvatar, userInfo, drawerFooter, drawerWidth, defaultActiveId, activeId: controlledActiveId, onActiveChange, closeOnOutsideClick, closeOnBlur, className,
|
|
2682
|
+
declare function Sidebar({ navigationItems, bottomNavigationItems, drawerContent, logo, onLogoClick, userAvatar, userInfo, drawerFooter, drawerWidth, defaultActiveId, activeId: controlledActiveId, onActiveChange, closeOnOutsideClick, closeOnBlur, className, classNames, style, styles, renderSidebarItem, }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
2675
2683
|
|
|
2676
2684
|
/**
|
|
2677
2685
|
* SidebarItem - A single navigation item in the sidebar
|