ui-mathilde-web 0.9.5 → 0.10.1

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.
@@ -25,6 +25,7 @@ declare interface AccordionItem {
25
25
  icon?: default_2.ReactNode;
26
26
  iconPosition?: "left" | "right";
27
27
  variant?: "minimal" | "bordered" | "shadow" | "ghost";
28
+ classes?: string;
28
29
  }
29
30
 
30
31
  declare interface AccordionProps {
@@ -36,6 +37,7 @@ declare interface AccordionProps {
36
37
  variant?: "minimal" | "bordered" | "shadow" | "ghost";
37
38
  icon?: default_2.ReactNode;
38
39
  iconPosition?: "left" | "right";
40
+ classes?: string;
39
41
  }
40
42
 
41
43
  export declare const Alert: ({ isOpen, onConfirm, onCancel, onClose, ...options }: AlertProps) => null;
@@ -126,6 +128,17 @@ declare interface CardProps {
126
128
  imagePosition?: 'ml-auto' | 'mr-auto' | 'mx-auto';
127
129
  }
128
130
 
131
+ declare interface Category {
132
+ id: string;
133
+ title: string;
134
+ items: CategoryItem[];
135
+ }
136
+
137
+ declare interface CategoryItem {
138
+ id: string;
139
+ label: string;
140
+ }
141
+
129
142
  export declare const Checkbox: default_2.FC<CheckboxProps>;
130
143
 
131
144
  declare interface CheckboxProps {
@@ -330,10 +343,30 @@ declare interface DropzoneProps {
330
343
  maxSize?: number;
331
344
  multiple?: boolean;
332
345
  helperText?: string;
346
+ disabled?: boolean;
333
347
  }
334
348
 
335
349
  declare type FileType = 'image/*' | 'application/pdf' | 'application/msword' | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' | 'application/vnd.ms-excel' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'application/vnd.ms-powerpoint' | 'application/vnd.openxmlformats-officedocument.presentationml.presentation' | 'text/csv' | 'application/json' | 'application/xml';
336
350
 
351
+ declare interface FilterCondition {
352
+ id: string;
353
+ categoryId: string;
354
+ itemId: string;
355
+ label: string;
356
+ }
357
+
358
+ declare interface FilterGroup {
359
+ id: string;
360
+ conditions: FilterCondition[];
361
+ operator: 'AND' | 'OR';
362
+ }
363
+
364
+ declare interface FilterSection {
365
+ id: string;
366
+ title: string;
367
+ groups: FilterGroup[];
368
+ }
369
+
337
370
  export declare const ImageFormat: ({ src, alt, width, height, classIm, }: {
338
371
  src: string;
339
372
  alt: string;
@@ -451,6 +484,15 @@ export declare const ProgressBar: ({ start, end, current, type }: {
451
484
  type: string;
452
485
  }) => JSX_2.Element;
453
486
 
487
+ export declare const QueryBuilder: ({ categories, onQueryChange, maxGroups, titleCategories, }: QueryBuilderProps) => JSX_2.Element;
488
+
489
+ declare interface QueryBuilderProps {
490
+ categories: Category[];
491
+ onQueryChange?: (sections: FilterSection[]) => void;
492
+ maxGroups?: number;
493
+ titleCategories?: string;
494
+ }
495
+
454
496
  declare interface QuickRange {
455
497
  label: string;
456
498
  range: () => {