ui-mathilde-web 0.9.5 → 0.10.0

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 {
@@ -334,6 +347,25 @@ declare interface DropzoneProps {
334
347
 
335
348
  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
349
 
350
+ declare interface FilterCondition {
351
+ id: string;
352
+ categoryId: string;
353
+ itemId: string;
354
+ label: string;
355
+ }
356
+
357
+ declare interface FilterGroup {
358
+ id: string;
359
+ conditions: FilterCondition[];
360
+ operator: 'AND' | 'OR';
361
+ }
362
+
363
+ declare interface FilterSection {
364
+ id: string;
365
+ title: string;
366
+ groups: FilterGroup[];
367
+ }
368
+
337
369
  export declare const ImageFormat: ({ src, alt, width, height, classIm, }: {
338
370
  src: string;
339
371
  alt: string;
@@ -451,6 +483,15 @@ export declare const ProgressBar: ({ start, end, current, type }: {
451
483
  type: string;
452
484
  }) => JSX_2.Element;
453
485
 
486
+ export declare const QueryBuilder: ({ categories, onQueryChange, maxGroups, titleCategories, }: QueryBuilderProps) => JSX_2.Element;
487
+
488
+ declare interface QueryBuilderProps {
489
+ categories: Category[];
490
+ onQueryChange?: (sections: FilterSection[]) => void;
491
+ maxGroups?: number;
492
+ titleCategories?: string;
493
+ }
494
+
454
495
  declare interface QuickRange {
455
496
  label: string;
456
497
  range: () => {