@yusr_systems/ui 6.0.3 → 6.0.5
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 -6
- package/dist/yusr-ui.js +917 -846
- package/package.json +10 -7
package/dist/index.d.ts
CHANGED
|
@@ -787,6 +787,18 @@ export declare function Loading({ entityName }: {
|
|
|
787
787
|
entityName: string;
|
|
788
788
|
}): JSX.Element;
|
|
789
789
|
|
|
790
|
+
export declare type MainMenuItem = {
|
|
791
|
+
title: string;
|
|
792
|
+
url: string;
|
|
793
|
+
icon?: React.ReactNode;
|
|
794
|
+
hasAuth: boolean;
|
|
795
|
+
subItems?: {
|
|
796
|
+
title: string;
|
|
797
|
+
url: string;
|
|
798
|
+
hasAuth: boolean;
|
|
799
|
+
}[];
|
|
800
|
+
};
|
|
801
|
+
|
|
790
802
|
export declare function NumberField({ label, error, isInvalid, required, ...props }: NumberFieldProps): JSX.Element;
|
|
791
803
|
|
|
792
804
|
declare interface NumberFieldProps extends NumberInputProps {
|
|
@@ -1042,12 +1054,7 @@ export declare interface SidebarLogoProps {
|
|
|
1042
1054
|
}
|
|
1043
1055
|
|
|
1044
1056
|
export declare function SideBarMainMenu({ items }: {
|
|
1045
|
-
items:
|
|
1046
|
-
title: string;
|
|
1047
|
-
url: string;
|
|
1048
|
-
icon?: React.ReactNode;
|
|
1049
|
-
hasAuth: boolean;
|
|
1050
|
-
}[];
|
|
1057
|
+
items: MainMenuItem[];
|
|
1051
1058
|
}): JSX.Element;
|
|
1052
1059
|
|
|
1053
1060
|
export declare function SidebarMenu({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|