@cyber-harbour/ui 1.0.64 → 1.0.65
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.mts +26 -1
- package/dist/index.d.ts +26 -1
- package/dist/index.js +71 -70
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +87 -86
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Core/Sidebar/Sidebar.tsx +11 -6
- package/src/Core/Sidebar/SidebarContext.tsx +2 -0
- package/src/Core/Sidebar/SidebarDelimeter.tsx +5 -3
- package/src/Core/Sidebar/SidebarItem.tsx +10 -7
package/dist/index.d.mts
CHANGED
|
@@ -786,12 +786,37 @@ declare const FlashIcon: ({ fill, ...props }: FlashIconProps) => react_jsx_runti
|
|
|
786
786
|
interface SidebarProps {
|
|
787
787
|
defaultCollapsed?: boolean;
|
|
788
788
|
children: any;
|
|
789
|
+
canGrow: boolean;
|
|
789
790
|
}
|
|
790
|
-
declare const Sidebar:
|
|
791
|
+
declare const Sidebar: React__default.ForwardRefExoticComponent<SidebarProps & {
|
|
792
|
+
m?: string | number;
|
|
793
|
+
mt?: string | number;
|
|
794
|
+
mr?: string | number;
|
|
795
|
+
mb?: string | number;
|
|
796
|
+
ml?: string | number;
|
|
797
|
+
mx?: string | number;
|
|
798
|
+
my?: string | number;
|
|
799
|
+
p?: string | number;
|
|
800
|
+
pt?: string | number;
|
|
801
|
+
pr?: string | number;
|
|
802
|
+
pb?: string | number;
|
|
803
|
+
pl?: string | number;
|
|
804
|
+
px?: string | number;
|
|
805
|
+
py?: string | number;
|
|
806
|
+
} & {
|
|
807
|
+
media?: {
|
|
808
|
+
xs?: Partial<SidebarProps> | undefined;
|
|
809
|
+
s?: Partial<SidebarProps> | undefined;
|
|
810
|
+
m?: Partial<SidebarProps> | undefined;
|
|
811
|
+
l?: Partial<SidebarProps> | undefined;
|
|
812
|
+
xl?: Partial<SidebarProps> | undefined;
|
|
813
|
+
} | undefined;
|
|
814
|
+
} & React__default.RefAttributes<unknown>>;
|
|
791
815
|
|
|
792
816
|
interface SidebarContext {
|
|
793
817
|
collapsed: boolean;
|
|
794
818
|
setCollapsed: React.Dispatch<React.SetStateAction<boolean>>;
|
|
819
|
+
canGrow: boolean;
|
|
795
820
|
}
|
|
796
821
|
declare const SidebarContext: React$1.Context<SidebarContext>;
|
|
797
822
|
|
package/dist/index.d.ts
CHANGED
|
@@ -786,12 +786,37 @@ declare const FlashIcon: ({ fill, ...props }: FlashIconProps) => react_jsx_runti
|
|
|
786
786
|
interface SidebarProps {
|
|
787
787
|
defaultCollapsed?: boolean;
|
|
788
788
|
children: any;
|
|
789
|
+
canGrow: boolean;
|
|
789
790
|
}
|
|
790
|
-
declare const Sidebar:
|
|
791
|
+
declare const Sidebar: React__default.ForwardRefExoticComponent<SidebarProps & {
|
|
792
|
+
m?: string | number;
|
|
793
|
+
mt?: string | number;
|
|
794
|
+
mr?: string | number;
|
|
795
|
+
mb?: string | number;
|
|
796
|
+
ml?: string | number;
|
|
797
|
+
mx?: string | number;
|
|
798
|
+
my?: string | number;
|
|
799
|
+
p?: string | number;
|
|
800
|
+
pt?: string | number;
|
|
801
|
+
pr?: string | number;
|
|
802
|
+
pb?: string | number;
|
|
803
|
+
pl?: string | number;
|
|
804
|
+
px?: string | number;
|
|
805
|
+
py?: string | number;
|
|
806
|
+
} & {
|
|
807
|
+
media?: {
|
|
808
|
+
xs?: Partial<SidebarProps> | undefined;
|
|
809
|
+
s?: Partial<SidebarProps> | undefined;
|
|
810
|
+
m?: Partial<SidebarProps> | undefined;
|
|
811
|
+
l?: Partial<SidebarProps> | undefined;
|
|
812
|
+
xl?: Partial<SidebarProps> | undefined;
|
|
813
|
+
} | undefined;
|
|
814
|
+
} & React__default.RefAttributes<unknown>>;
|
|
791
815
|
|
|
792
816
|
interface SidebarContext {
|
|
793
817
|
collapsed: boolean;
|
|
794
818
|
setCollapsed: React.Dispatch<React.SetStateAction<boolean>>;
|
|
819
|
+
canGrow: boolean;
|
|
795
820
|
}
|
|
796
821
|
declare const SidebarContext: React$1.Context<SidebarContext>;
|
|
797
822
|
|