@hybr1d-tech/charizard 1.1.84 → 1.1.86

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
@@ -1,6 +1,7 @@
1
1
  import * as accordion from '@zag-js/accordion';
2
2
  import { ActionMeta } from 'react-select';
3
3
  import { ClassNames } from 'react-day-picker';
4
+ import { ColumnPinningState } from '@tanstack/react-table';
4
5
  import { DateRange } from 'react-day-picker';
5
6
  import { default as default_2 } from 'react';
6
7
  import * as dialog from '@zag-js/dialog';
@@ -2725,7 +2726,7 @@ declare interface SwitchV2Props extends Omit<zagSwitch.Context, 'id'> {
2725
2726
 
2726
2727
  export declare const Tab: default_2.FC<TabProps>;
2727
2728
 
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;
2729
+ export declare function Table({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, paginationConfig, emptyStateConfig, tableStyleConfig, customColumnConfig, exportConfig, customActionItems, visibilityConfig, pinningConfig, }: TableProps): JSX_2.Element;
2729
2730
 
2730
2731
  export declare enum TABLE_ACTION_TYPES {
2731
2732
  SEARCH = "search",
@@ -2894,6 +2895,7 @@ export declare interface TableProps {
2894
2895
  isError: boolean;
2895
2896
  handleSaveColumns: (columns: any) => Promise<void>;
2896
2897
  variant?: TableCustomColsVariant;
2898
+ onCloseListener?: any;
2897
2899
  };
2898
2900
  /**
2899
2901
  * export config (csv)
@@ -2909,6 +2911,10 @@ export declare interface TableProps {
2909
2911
  columnVisibility: VisibilityState;
2910
2912
  setColumnVisibility: React_2.Dispatch<React_2.SetStateAction<VisibilityState>>;
2911
2913
  };
2914
+ pinningConfig?: {
2915
+ columnPinning: ColumnPinningState;
2916
+ setColumnPinning: React_2.Dispatch<React_2.SetStateAction<ColumnPinningState>>;
2917
+ };
2912
2918
  }
2913
2919
 
2914
2920
  export declare interface TableStore {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybr1d-tech/charizard",
3
- "version": "1.1.84",
3
+ "version": "1.1.86",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -64,7 +64,7 @@
64
64
  "@storybook/react": "^8.5.0",
65
65
  "@storybook/react-vite": "^8.5.0",
66
66
  "@storybook/test": "^8.5.0",
67
- "@types/node": "^22.10.7",
67
+ "@types/node": "^22.10.8",
68
68
  "@types/react": "^18.3.13",
69
69
  "@types/react-dom": "^18.3.1",
70
70
  "@vitejs/plugin-react-swc": "^3.7.2",
@@ -73,7 +73,7 @@
73
73
  "storybook": "^8.5.0",
74
74
  "storybook-css-modules-preset": "^1.1.1",
75
75
  "typescript": "5.7.3",
76
- "vite": "^6.0.10",
76
+ "vite": "^6.0.11",
77
77
  "vite-plugin-checker": "^0.8.0",
78
78
  "vite-plugin-dts": "4.5.0",
79
79
  "vite-plugin-libcss": "^1.1.1"