@6thbridge/hexa 0.0.60 → 0.0.62

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.
@@ -1,5 +1,5 @@
1
1
   WARN  Issue while reading "/Users/joachim/.nvm/versions/node/v20.17.0/lib/node_modules/npmrc". EISDIR: illegal operation on a directory, read
2
2
 
3
- > @6thbridge/hexa@0.0.60 lint /Users/joachim/Documents/dev/payfusion/payfusion-component-library/packages/6thbridge-hexa
3
+ > @6thbridge/hexa@0.0.62 lint /Users/joachim/Documents/dev/payfusion/payfusion-component-library/packages/6thbridge-hexa
4
4
  > eslint . --max-warnings 0
5
5
 
package/dist/index.d.mts CHANGED
@@ -459,7 +459,7 @@ type TableProps<T extends RowData> = {
459
459
  * The `filterListOptions` prop accepts an array of filter configuration objects, allowing you to define available filters, their types, and possible values. This approach enables dynamic filter rendering and better state management compared to the static `FilterMenu` node.
460
460
  */
461
461
  FilterMenu?: ReactNode;
462
- setAppliedFilters?: () => void;
462
+ setAppliedFilters?: (values: Record<string, any>) => void;
463
463
  filterListOptions?: FilterListItem[];
464
464
  buttonClassName?: string;
465
465
  download?: TableDownloadProps;
@@ -484,7 +484,7 @@ type PageDataToolbarProps = {
484
484
  onExport?: () => void;
485
485
  download?: TableDownloadProps;
486
486
  isRefetching?: boolean;
487
- setAppliedFilters?: () => void;
487
+ setAppliedFilters?: (values: Record<string, any>) => void;
488
488
  filterListOptions?: FilterListItem[];
489
489
  };
490
490
  declare const PageDataToolbar: ({ onRefetch, search, FilterMenu, ExtraNode, onExport, download, isRefetching, filterListOptions, setAppliedFilters, }: PageDataToolbarProps) => react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -459,7 +459,7 @@ type TableProps<T extends RowData> = {
459
459
  * The `filterListOptions` prop accepts an array of filter configuration objects, allowing you to define available filters, their types, and possible values. This approach enables dynamic filter rendering and better state management compared to the static `FilterMenu` node.
460
460
  */
461
461
  FilterMenu?: ReactNode;
462
- setAppliedFilters?: () => void;
462
+ setAppliedFilters?: (values: Record<string, any>) => void;
463
463
  filterListOptions?: FilterListItem[];
464
464
  buttonClassName?: string;
465
465
  download?: TableDownloadProps;
@@ -484,7 +484,7 @@ type PageDataToolbarProps = {
484
484
  onExport?: () => void;
485
485
  download?: TableDownloadProps;
486
486
  isRefetching?: boolean;
487
- setAppliedFilters?: () => void;
487
+ setAppliedFilters?: (values: Record<string, any>) => void;
488
488
  filterListOptions?: FilterListItem[];
489
489
  };
490
490
  declare const PageDataToolbar: ({ onRefetch, search, FilterMenu, ExtraNode, onExport, download, isRefetching, filterListOptions, setAppliedFilters, }: PageDataToolbarProps) => react_jsx_runtime.JSX.Element;