ui-mathilde-web 0.10.2 → 0.10.4
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 +39 -0
- package/dist/ui-mathilde-web.js +5741 -5478
- package/dist/ui-mathilde-web.umd.cjs +50 -50
- package/package.json +1 -4
|
@@ -134,11 +134,22 @@ declare interface Category {
|
|
|
134
134
|
items: CategoryItem[];
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
declare interface Category_2 {
|
|
138
|
+
id: string;
|
|
139
|
+
title: string;
|
|
140
|
+
items: CategoryItem_2[];
|
|
141
|
+
}
|
|
142
|
+
|
|
137
143
|
declare interface CategoryItem {
|
|
138
144
|
id: string;
|
|
139
145
|
label: string;
|
|
140
146
|
}
|
|
141
147
|
|
|
148
|
+
declare interface CategoryItem_2 {
|
|
149
|
+
id: string;
|
|
150
|
+
label: string;
|
|
151
|
+
}
|
|
152
|
+
|
|
142
153
|
export declare const Checkbox: default_2.FC<CheckboxProps>;
|
|
143
154
|
|
|
144
155
|
declare interface CheckboxProps {
|
|
@@ -285,6 +296,15 @@ declare interface DateRangePickerProps {
|
|
|
285
296
|
className?: string;
|
|
286
297
|
}
|
|
287
298
|
|
|
299
|
+
export declare const DragAndDrop: ({ categories, onQueryChange, maxGroups, titleCategories, }: DragAndDropProps) => JSX_2.Element;
|
|
300
|
+
|
|
301
|
+
declare interface DragAndDropProps {
|
|
302
|
+
categories: Category_2[];
|
|
303
|
+
onQueryChange?: (sections: FilterSection_2[]) => void;
|
|
304
|
+
maxGroups?: number;
|
|
305
|
+
titleCategories?: string;
|
|
306
|
+
}
|
|
307
|
+
|
|
288
308
|
export declare const DropdownButton: ({ label, dismissOnClick, items, size, className, styles, mode, columns, onSelectionChange, selectedItems, activeChevron, icon, iconSize, }: DropdownProps) => JSX_2.Element;
|
|
289
309
|
|
|
290
310
|
declare interface DropdownItem {
|
|
@@ -355,18 +375,37 @@ declare interface FilterCondition {
|
|
|
355
375
|
label: string;
|
|
356
376
|
}
|
|
357
377
|
|
|
378
|
+
declare interface FilterCondition_2 {
|
|
379
|
+
id: string;
|
|
380
|
+
categoryId: string;
|
|
381
|
+
itemId: string;
|
|
382
|
+
label: string;
|
|
383
|
+
}
|
|
384
|
+
|
|
358
385
|
declare interface FilterGroup {
|
|
359
386
|
id: string;
|
|
360
387
|
conditions: FilterCondition[];
|
|
361
388
|
operator: 'AND' | 'OR';
|
|
362
389
|
}
|
|
363
390
|
|
|
391
|
+
declare interface FilterGroup_2 {
|
|
392
|
+
id: string;
|
|
393
|
+
conditions: FilterCondition_2[];
|
|
394
|
+
operator: 'AND' | 'OR';
|
|
395
|
+
}
|
|
396
|
+
|
|
364
397
|
declare interface FilterSection {
|
|
365
398
|
id: string;
|
|
366
399
|
title: string;
|
|
367
400
|
groups: FilterGroup[];
|
|
368
401
|
}
|
|
369
402
|
|
|
403
|
+
declare interface FilterSection_2 {
|
|
404
|
+
id: string;
|
|
405
|
+
title: string;
|
|
406
|
+
groups: FilterGroup_2[];
|
|
407
|
+
}
|
|
408
|
+
|
|
370
409
|
export declare const ImageFormat: ({ src, alt, width, height, classIm, }: {
|
|
371
410
|
src: string;
|
|
372
411
|
alt: string;
|