@hybr1d-tech/charizard 1.1.82 → 1.1.83

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/index.d.ts CHANGED
@@ -25,6 +25,7 @@ import { Table as Table_2 } from '@tanstack/react-table';
25
25
  import { ToastOptions } from 'react-toastify';
26
26
  import { ToastPosition } from 'react-toastify';
27
27
  import { UseBoundStore } from 'zustand';
28
+ import { VisibilityState } from '@tanstack/react-table';
28
29
  import * as zagSwitch from '@zag-js/switch';
29
30
 
30
31
  export declare const Accordion: {
@@ -2724,7 +2725,7 @@ declare interface SwitchV2Props extends Omit<zagSwitch.Context, 'id'> {
2724
2725
 
2725
2726
  export declare const Tab: default_2.FC<TabProps>;
2726
2727
 
2727
- export declare function Table({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, paginationConfig, emptyStateConfig, tableStyleConfig, customColumnConfig, exportConfig, customActionItems, }: TableProps): JSX_2.Element;
2728
+ export declare function Table({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, paginationConfig, emptyStateConfig, tableStyleConfig, customColumnConfig, exportConfig, customActionItems, visibilityConfig, }: TableProps): JSX_2.Element;
2728
2729
 
2729
2730
  export declare enum TABLE_ACTION_TYPES {
2730
2731
  SEARCH = "search",
@@ -2904,6 +2905,10 @@ export declare interface TableProps {
2904
2905
  isLegacy?: boolean;
2905
2906
  };
2906
2907
  customActionItems?: JSX.Element[];
2908
+ visibilityConfig?: {
2909
+ columnVisibility: VisibilityState;
2910
+ setColumnVisibility: React_2.Dispatch<React_2.SetStateAction<VisibilityState>>;
2911
+ };
2907
2912
  }
2908
2913
 
2909
2914
  export declare interface TableStore {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybr1d-tech/charizard",
3
- "version": "1.1.82",
3
+ "version": "1.1.83",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"