ui-mathilde-web 0.1.39 → 0.1.41
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/style.css +1 -1
- package/dist/ui-mathilde-web.d.ts +28 -4
- package/dist/ui-mathilde-web.js +1719 -1664
- package/dist/ui-mathilde-web.umd.cjs +19 -19
- package/package.json +1 -1
|
@@ -113,15 +113,19 @@ declare interface DateRangePickerProps {
|
|
|
113
113
|
quickRanges?: QuickRange[];
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
export declare const DropdownButton: ({ label, dismissOnClick, items, size, className, styles }: DropdownProps) => JSX_2.Element;
|
|
116
|
+
export declare const DropdownButton: ({ label, dismissOnClick, items, size, className, styles, mode, columns, onSelectionChange, selectedItems, activeChevron, icon, iconSize, }: DropdownProps) => JSX_2.Element;
|
|
117
117
|
|
|
118
118
|
declare interface DropdownItemProps {
|
|
119
119
|
label: string;
|
|
120
|
+
value?: string;
|
|
120
121
|
href?: string;
|
|
121
122
|
disabled?: boolean;
|
|
122
123
|
divider?: boolean;
|
|
124
|
+
checked?: boolean;
|
|
123
125
|
}
|
|
124
126
|
|
|
127
|
+
declare type DropdownMode = 'simple' | 'checkbox';
|
|
128
|
+
|
|
125
129
|
declare interface DropdownProps {
|
|
126
130
|
label: string;
|
|
127
131
|
dismissOnClick: boolean;
|
|
@@ -129,6 +133,15 @@ declare interface DropdownProps {
|
|
|
129
133
|
className?: string;
|
|
130
134
|
size?: string;
|
|
131
135
|
styles?: React.CSSProperties;
|
|
136
|
+
mode?: DropdownMode;
|
|
137
|
+
columns?: number;
|
|
138
|
+
onSelectionChange?: (selectedItems: string[]) => void;
|
|
139
|
+
selectedItems?: string[];
|
|
140
|
+
activeChevron?: boolean;
|
|
141
|
+
icon?: React.ComponentType<{
|
|
142
|
+
size?: number;
|
|
143
|
+
}> | string;
|
|
144
|
+
iconSize?: number;
|
|
132
145
|
}
|
|
133
146
|
|
|
134
147
|
export declare const Dropzone: React.FC<DropzoneProps>;
|
|
@@ -212,6 +225,8 @@ export declare const MyDoughnutChart: ({ dataProps }: MyDoughnutChartProps) => J
|
|
|
212
225
|
declare interface MyDoughnutChartProps {
|
|
213
226
|
dataProps: {
|
|
214
227
|
labels: string[];
|
|
228
|
+
fontSize: number;
|
|
229
|
+
cutout: number;
|
|
215
230
|
datasets: {
|
|
216
231
|
label: string;
|
|
217
232
|
data: number[];
|
|
@@ -272,10 +287,19 @@ export declare const SidebarPro: default_2.FC<SidebarProProps>;
|
|
|
272
287
|
declare interface SidebarProProps {
|
|
273
288
|
aHref?: string;
|
|
274
289
|
logo: {
|
|
275
|
-
src:
|
|
290
|
+
src: {
|
|
291
|
+
collapsed: string;
|
|
292
|
+
expanded: string;
|
|
293
|
+
};
|
|
276
294
|
alt: string;
|
|
277
|
-
width:
|
|
278
|
-
|
|
295
|
+
width: {
|
|
296
|
+
collapsed: number;
|
|
297
|
+
expanded: number;
|
|
298
|
+
};
|
|
299
|
+
height: {
|
|
300
|
+
collapsed: number;
|
|
301
|
+
expanded: number;
|
|
302
|
+
};
|
|
279
303
|
};
|
|
280
304
|
menuItems: MenuItem[];
|
|
281
305
|
subMenuSections?: SubMenuSection[];
|