ui-mathilde-web 0.10.3 → 0.10.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/style.css +1 -1
- package/dist/ui-mathilde-web.d.ts +42 -0
- package/dist/ui-mathilde-web.js +5693 -5431
- package/dist/ui-mathilde-web.umd.cjs +50 -50
- package/package.json +1 -4
|
@@ -26,6 +26,8 @@ declare interface AccordionItem {
|
|
|
26
26
|
iconPosition?: "left" | "right";
|
|
27
27
|
variant?: "minimal" | "bordered" | "shadow" | "ghost";
|
|
28
28
|
classes?: string;
|
|
29
|
+
titleClasses?: string;
|
|
30
|
+
containerButtonClasses?: string;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
declare interface AccordionProps {
|
|
@@ -38,6 +40,7 @@ declare interface AccordionProps {
|
|
|
38
40
|
icon?: default_2.ReactNode;
|
|
39
41
|
iconPosition?: "left" | "right";
|
|
40
42
|
classes?: string;
|
|
43
|
+
titleClasses?: string;
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
export declare const Alert: ({ isOpen, onConfirm, onCancel, onClose, ...options }: AlertProps) => null;
|
|
@@ -134,11 +137,22 @@ declare interface Category {
|
|
|
134
137
|
items: CategoryItem[];
|
|
135
138
|
}
|
|
136
139
|
|
|
140
|
+
declare interface Category_2 {
|
|
141
|
+
id: string;
|
|
142
|
+
title: string;
|
|
143
|
+
items: CategoryItem_2[];
|
|
144
|
+
}
|
|
145
|
+
|
|
137
146
|
declare interface CategoryItem {
|
|
138
147
|
id: string;
|
|
139
148
|
label: string;
|
|
140
149
|
}
|
|
141
150
|
|
|
151
|
+
declare interface CategoryItem_2 {
|
|
152
|
+
id: string;
|
|
153
|
+
label: string;
|
|
154
|
+
}
|
|
155
|
+
|
|
142
156
|
export declare const Checkbox: default_2.FC<CheckboxProps>;
|
|
143
157
|
|
|
144
158
|
declare interface CheckboxProps {
|
|
@@ -285,6 +299,15 @@ declare interface DateRangePickerProps {
|
|
|
285
299
|
className?: string;
|
|
286
300
|
}
|
|
287
301
|
|
|
302
|
+
export declare const DragAndDrop: ({ categories, onQueryChange, maxGroups, titleCategories, }: DragAndDropProps) => JSX_2.Element;
|
|
303
|
+
|
|
304
|
+
declare interface DragAndDropProps {
|
|
305
|
+
categories: Category_2[];
|
|
306
|
+
onQueryChange?: (sections: FilterSection_2[]) => void;
|
|
307
|
+
maxGroups?: number;
|
|
308
|
+
titleCategories?: string;
|
|
309
|
+
}
|
|
310
|
+
|
|
288
311
|
export declare const DropdownButton: ({ label, dismissOnClick, items, size, className, styles, mode, columns, onSelectionChange, selectedItems, activeChevron, icon, iconSize, }: DropdownProps) => JSX_2.Element;
|
|
289
312
|
|
|
290
313
|
declare interface DropdownItem {
|
|
@@ -355,18 +378,37 @@ declare interface FilterCondition {
|
|
|
355
378
|
label: string;
|
|
356
379
|
}
|
|
357
380
|
|
|
381
|
+
declare interface FilterCondition_2 {
|
|
382
|
+
id: string;
|
|
383
|
+
categoryId: string;
|
|
384
|
+
itemId: string;
|
|
385
|
+
label: string;
|
|
386
|
+
}
|
|
387
|
+
|
|
358
388
|
declare interface FilterGroup {
|
|
359
389
|
id: string;
|
|
360
390
|
conditions: FilterCondition[];
|
|
361
391
|
operator: 'AND' | 'OR';
|
|
362
392
|
}
|
|
363
393
|
|
|
394
|
+
declare interface FilterGroup_2 {
|
|
395
|
+
id: string;
|
|
396
|
+
conditions: FilterCondition_2[];
|
|
397
|
+
operator: 'AND' | 'OR';
|
|
398
|
+
}
|
|
399
|
+
|
|
364
400
|
declare interface FilterSection {
|
|
365
401
|
id: string;
|
|
366
402
|
title: string;
|
|
367
403
|
groups: FilterGroup[];
|
|
368
404
|
}
|
|
369
405
|
|
|
406
|
+
declare interface FilterSection_2 {
|
|
407
|
+
id: string;
|
|
408
|
+
title: string;
|
|
409
|
+
groups: FilterGroup_2[];
|
|
410
|
+
}
|
|
411
|
+
|
|
370
412
|
export declare const ImageFormat: ({ src, alt, width, height, classIm, }: {
|
|
371
413
|
src: string;
|
|
372
414
|
alt: string;
|