@yusr_systems/ui 2.2.10 → 3.0.0
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 +12 -1
- package/dist/yusr-ui.js +640 -618
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1090,7 +1090,7 @@ export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenCha
|
|
|
1090
1090
|
|
|
1091
1091
|
export declare function SidebarRail({ className, ...props }: React_2.ComponentProps<"button">): JSX.Element;
|
|
1092
1092
|
|
|
1093
|
-
export declare function SideBarSecondaryMenu({ items, onLogout, ...props }: SideBarSecondaryMenuProps): JSX.Element;
|
|
1093
|
+
export declare function SideBarSecondaryMenu({ items, onLogout, LinkComponent, ...props }: SideBarSecondaryMenuProps): JSX.Element;
|
|
1094
1094
|
|
|
1095
1095
|
export declare interface SideBarSecondaryMenuProps extends React_2.ComponentPropsWithoutRef<typeof SidebarGroup> {
|
|
1096
1096
|
items: {
|
|
@@ -1099,6 +1099,7 @@ export declare interface SideBarSecondaryMenuProps extends React_2.ComponentProp
|
|
|
1099
1099
|
icon: React_2.ReactNode;
|
|
1100
1100
|
}[];
|
|
1101
1101
|
onLogout: () => void;
|
|
1102
|
+
LinkComponent?: React_2.ElementType;
|
|
1102
1103
|
}
|
|
1103
1104
|
|
|
1104
1105
|
export declare function SidebarSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): JSX.Element;
|
|
@@ -1310,6 +1311,16 @@ export declare const useTheme: () => ThemeProviderState;
|
|
|
1310
1311
|
|
|
1311
1312
|
export declare function YusrBusBackground(): JSX.Element;
|
|
1312
1313
|
|
|
1314
|
+
export declare function YusrSideBarMainMenu({ items, LinkComponent, }: {
|
|
1315
|
+
items: {
|
|
1316
|
+
title: string;
|
|
1317
|
+
url: string;
|
|
1318
|
+
icon?: React.ReactNode;
|
|
1319
|
+
hasAuth: boolean;
|
|
1320
|
+
}[];
|
|
1321
|
+
LinkComponent?: React.ElementType;
|
|
1322
|
+
}): JSX.Element;
|
|
1323
|
+
|
|
1313
1324
|
export declare function ZoomableImage({ srcLight, srcDark, alt, className, wrapperClassName, onOpen }: ZoomableImageProps): JSX.Element;
|
|
1314
1325
|
|
|
1315
1326
|
declare interface ZoomableImageProps {
|