@hybr1d-tech/charizard 1.1.68 → 1.1.70

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
@@ -467,7 +467,7 @@ export declare interface CreatableSelectV2Props extends SelectV2Props {
467
467
  onCreateOption: (value: string) => Promise<void> | void;
468
468
  }
469
469
 
470
- export declare const createTableStore: <TQuery extends TBaseQuery>(initialQueries: TQuery) => UseBoundStore<StoreApi<TableStore_2<TQuery>>>;
470
+ export declare const createTableStore: <TQuery extends TBaseQuery>(initialQueries: TQuery) => UseBoundStore<StoreApi<TableStore<TQuery>>>;
471
471
 
472
472
  declare type CustomColCheckedState = {
473
473
  id: string;
@@ -1598,12 +1598,6 @@ declare interface InputV2Props extends React.InputHTMLAttributes<HTMLInputElemen
1598
1598
  /* Excluded from this release type: onErrorHeightChange */
1599
1599
  }
1600
1600
 
1601
- declare type InternalTableFilters = {
1602
- key: string;
1603
- values: string[] | string;
1604
- type?: FILTER_TYPE;
1605
- };
1606
-
1607
1601
  export declare const isArrayOfString: (arr: unknown) => arr is string[];
1608
1602
 
1609
1603
  export declare const isDatePassed: (date?: string) => boolean;
@@ -2610,8 +2604,6 @@ export declare interface SelectV2Props extends Props<any, boolean> {
2610
2604
 
2611
2605
  export declare type SelectValue = SelectMultiValue | SelectSingleValue;
2612
2606
 
2613
- export declare const SINGLE_VALUE_FILTER_TYPES: FILTER_TYPE[];
2614
-
2615
2607
  export declare function Skeleton({ className, ...props }: SkeletonProps): JSX_2.Element;
2616
2608
 
2617
2609
  declare type SkeletonProps = React.HTMLAttributes<HTMLDivElement>;
@@ -2905,17 +2897,7 @@ export declare interface TableProps {
2905
2897
  customActionItems?: JSX.Element[];
2906
2898
  }
2907
2899
 
2908
- export declare interface TableStore {
2909
- filters: InternalTableFilters[];
2910
- setDefaultFilters: (filters: InternalTableFilters[]) => void;
2911
- addFilters: (filterKey: string, value: string, filterDispatch: any) => void;
2912
- changeFiltersDrawer: (filterKey: string, value: string[], filterDispatch: any) => void;
2913
- removeFilters: (filterKey: string, value: string, filterDispatch: any) => void;
2914
- resetFilters: (filterKey: string, filterDispatch: any) => void;
2915
- resetAllFilters: (filterReset?: any) => void;
2916
- }
2917
-
2918
- declare interface TableStore_2<TQuery> {
2900
+ declare interface TableStore<TQuery> {
2919
2901
  query: TQuery;
2920
2902
  dispatch: (action: {
2921
2903
  type: TABLE_ACTION_TYPES;
@@ -3366,21 +3348,6 @@ export declare interface UsersChipUser {
3366
3348
  user_position?: string | null;
3367
3349
  }
3368
3350
 
3369
- export declare const useTableStore: UseBoundStore<Omit<StoreApi<TableStore>, "setState"> & {
3370
- setState(partial: TableStore | Partial<TableStore> | ((state: TableStore) => TableStore | Partial<TableStore>), replace?: false | undefined, action?: (string | {
3371
- [x: string]: unknown;
3372
- [x: number]: unknown;
3373
- [x: symbol]: unknown;
3374
- type: string;
3375
- }) | undefined): void;
3376
- setState(state: TableStore | ((state: TableStore) => TableStore), replace: true, action?: (string | {
3377
- [x: string]: unknown;
3378
- [x: number]: unknown;
3379
- [x: symbol]: unknown;
3380
- type: string;
3381
- }) | undefined): void;
3382
- }>;
3383
-
3384
3351
  export declare const ZENADMIN_CONTACT = "mailto:customersuccess@zenadmin.ai";
3385
3352
 
3386
3353
  export declare const ZENADMIN_URL = "https://www.zenadmin.ai";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybr1d-tech/charizard",
3
- "version": "1.1.68",
3
+ "version": "1.1.70",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"