@cagatayfdn/flora-components 0.0.37 → 0.0.39
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.js +38 -38
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +31 -0
- package/dist/index.es.js +6629 -6456
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +36 -36
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -651,6 +651,15 @@ declare type MappedObjectPermission = HashMap<PermissionsType, number[]>;
|
|
|
651
651
|
|
|
652
652
|
declare type MappedObjectPermission_2 = HashMap<PermissionsType_2, number[]>
|
|
653
653
|
|
|
654
|
+
export declare const MenuItem: ({ icon, title, to, visibleTooltip, }: MenuItemProps) => JSX.Element;
|
|
655
|
+
|
|
656
|
+
declare type MenuItemProps = {
|
|
657
|
+
title: string;
|
|
658
|
+
visibleTooltip: boolean;
|
|
659
|
+
to?: string;
|
|
660
|
+
icon?: IconsId;
|
|
661
|
+
};
|
|
662
|
+
|
|
654
663
|
export declare const Modal: (props: ModalProps) => JSX.Element;
|
|
655
664
|
|
|
656
665
|
export declare enum ModalAppearanceType {
|
|
@@ -1106,6 +1115,28 @@ declare type SelectProps = {
|
|
|
1106
1115
|
isRadius?: boolean;
|
|
1107
1116
|
} & Omit<FormElementProps, 'value'>;
|
|
1108
1117
|
|
|
1118
|
+
export declare const Sidebar: ({ collapsed, items, className, isActiveSubMenu, }: SidebarProps) => JSX.Element;
|
|
1119
|
+
|
|
1120
|
+
declare type SidebarChildItemType = {
|
|
1121
|
+
title: string;
|
|
1122
|
+
to?: string;
|
|
1123
|
+
permItem?: PermItem;
|
|
1124
|
+
permType?: PermType | PermType[];
|
|
1125
|
+
onClick?: () => void;
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
declare type SidebarItemType = {
|
|
1129
|
+
icon?: Icons;
|
|
1130
|
+
children?: SidebarChildItemType[];
|
|
1131
|
+
} & SidebarChildItemType;
|
|
1132
|
+
|
|
1133
|
+
declare type SidebarProps = {
|
|
1134
|
+
collapsed?: boolean;
|
|
1135
|
+
className?: string;
|
|
1136
|
+
items: SidebarItemType[];
|
|
1137
|
+
isActiveSubMenu?: string[];
|
|
1138
|
+
};
|
|
1139
|
+
|
|
1109
1140
|
export declare enum Size {
|
|
1110
1141
|
XS = "xsmall",
|
|
1111
1142
|
SM = "small",
|