ui-mathilde-web 0.1.39 → 0.1.40
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 +24 -4
- package/dist/ui-mathilde-web.js +1545 -1494
- package/dist/ui-mathilde-web.umd.cjs +28 -28
- 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 }: 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,11 @@ 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;
|
|
132
141
|
}
|
|
133
142
|
|
|
134
143
|
export declare const Dropzone: React.FC<DropzoneProps>;
|
|
@@ -212,6 +221,8 @@ export declare const MyDoughnutChart: ({ dataProps }: MyDoughnutChartProps) => J
|
|
|
212
221
|
declare interface MyDoughnutChartProps {
|
|
213
222
|
dataProps: {
|
|
214
223
|
labels: string[];
|
|
224
|
+
fontSize: number;
|
|
225
|
+
cutout: number;
|
|
215
226
|
datasets: {
|
|
216
227
|
label: string;
|
|
217
228
|
data: number[];
|
|
@@ -272,10 +283,19 @@ export declare const SidebarPro: default_2.FC<SidebarProProps>;
|
|
|
272
283
|
declare interface SidebarProProps {
|
|
273
284
|
aHref?: string;
|
|
274
285
|
logo: {
|
|
275
|
-
src:
|
|
286
|
+
src: {
|
|
287
|
+
collapsed: string;
|
|
288
|
+
expanded: string;
|
|
289
|
+
};
|
|
276
290
|
alt: string;
|
|
277
|
-
width:
|
|
278
|
-
|
|
291
|
+
width: {
|
|
292
|
+
collapsed: number;
|
|
293
|
+
expanded: number;
|
|
294
|
+
};
|
|
295
|
+
height: {
|
|
296
|
+
collapsed: number;
|
|
297
|
+
expanded: number;
|
|
298
|
+
};
|
|
279
299
|
};
|
|
280
300
|
menuItems: MenuItem[];
|
|
281
301
|
subMenuSections?: SubMenuSection[];
|