@gyramais/gyra-design 0.1.66 → 0.1.67

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.
@@ -9,13 +9,13 @@ type FilterItem = {
9
9
  value: string;
10
10
  label: string;
11
11
  }>;
12
- initialValue?: any;
13
12
  };
14
13
  type FilterProps = {
15
14
  id?: string;
16
15
  className?: string;
17
16
  filters?: Array<FilterItem>;
18
17
  onFilter: (values: any) => void;
18
+ value?: Record<string, Record<string, any>>;
19
19
  };
20
- declare const Filter: ({ id, className, filters, onFilter, }: FilterProps) => React.JSX.Element;
20
+ declare const Filter: ({ id, className, filters, onFilter, value, }: FilterProps) => React.JSX.Element;
21
21
  export { Filter };
@@ -9,13 +9,13 @@ type MultipleFilterItem = {
9
9
  value: string;
10
10
  label: string;
11
11
  }>;
12
- initialValue?: any;
13
12
  };
14
13
  type MultipleFilterProps = {
15
14
  id?: string;
16
15
  className?: string;
17
16
  filters?: Array<MultipleFilterItem>;
18
17
  onFilter: (values: any) => void;
18
+ value?: Record<string, Record<string, any>>;
19
19
  };
20
- declare const MultipleFilter: ({ id, className, filters, onFilter, }: MultipleFilterProps) => React.JSX.Element;
20
+ declare const MultipleFilter: ({ id, className, filters, onFilter, value, }: MultipleFilterProps) => React.JSX.Element;
21
21
  export { MultipleFilter };
@@ -9,13 +9,13 @@ type UniqueFilterItem = {
9
9
  value: string;
10
10
  label: string;
11
11
  }>;
12
- initialValue?: any;
13
12
  };
14
13
  type UniqueFilterProps = {
15
14
  id?: string;
16
15
  className?: string;
17
16
  filters?: Array<UniqueFilterItem>;
18
17
  onFilter: (values: any) => void;
18
+ value?: Record<string, Record<string, any>>;
19
19
  };
20
- declare const UniqueFilter: ({ id, className, filters, onFilter, }: UniqueFilterProps) => React.JSX.Element;
20
+ declare const UniqueFilter: ({ id, className, filters, onFilter, value, }: UniqueFilterProps) => React.JSX.Element;
21
21
  export { UniqueFilter };
@@ -1 +1,3 @@
1
1
  export * from "./Filter";
2
+ export * from "./UniqueFilter";
3
+ export * from "./MultipleFilter";