@hybr1d-tech/charizard 1.1.59 → 1.1.61
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/hybr1d-ui.js +3 -1
- package/dist/hybr1d-ui.umd.cjs +7 -7
- package/dist/index.d.ts +33 -0
- package/package.json +17 -17
package/dist/index.d.ts
CHANGED
|
@@ -1632,6 +1632,12 @@ declare interface InputV2Props extends React.InputHTMLAttributes<HTMLInputElemen
|
|
|
1632
1632
|
/* Excluded from this release type: onErrorHeightChange */
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
+
declare type InternalTableFilters = {
|
|
1636
|
+
key: string;
|
|
1637
|
+
values: string[] | string;
|
|
1638
|
+
type?: FILTER_TYPE;
|
|
1639
|
+
};
|
|
1640
|
+
|
|
1635
1641
|
export declare const isArrayOfString: (arr: unknown) => arr is string[];
|
|
1636
1642
|
|
|
1637
1643
|
export declare const isDatePassed: (date?: string) => boolean;
|
|
@@ -2638,6 +2644,8 @@ export declare interface SelectV2Props extends Props<any, boolean> {
|
|
|
2638
2644
|
|
|
2639
2645
|
export declare type SelectValue = SelectMultiValue | SelectSingleValue;
|
|
2640
2646
|
|
|
2647
|
+
export declare const SINGLE_VALUE_FILTER_TYPES: FILTER_TYPE[];
|
|
2648
|
+
|
|
2641
2649
|
export declare function Skeleton({ className, ...props }: SkeletonProps): JSX_2.Element;
|
|
2642
2650
|
|
|
2643
2651
|
declare type SkeletonProps = React.HTMLAttributes<HTMLDivElement>;
|
|
@@ -3053,6 +3061,16 @@ export declare interface TableStore<TQuery> {
|
|
|
3053
3061
|
}) => void;
|
|
3054
3062
|
}
|
|
3055
3063
|
|
|
3064
|
+
declare interface TableStore_2 {
|
|
3065
|
+
filters: InternalTableFilters[];
|
|
3066
|
+
setDefaultFilters: (filters: InternalTableFilters[]) => void;
|
|
3067
|
+
addFilters: (filterKey: string, value: string, filterDispatch: any) => void;
|
|
3068
|
+
changeFiltersDrawer: (filterKey: string, value: string[], filterDispatch: any) => void;
|
|
3069
|
+
removeFilters: (filterKey: string, value: string, filterDispatch: any) => void;
|
|
3070
|
+
resetFilters: (filterKey: string, filterDispatch: any) => void;
|
|
3071
|
+
resetAllFilters: (filterReset?: any) => void;
|
|
3072
|
+
}
|
|
3073
|
+
|
|
3056
3074
|
declare interface TableTagItem {
|
|
3057
3075
|
id: string;
|
|
3058
3076
|
name: string;
|
|
@@ -3496,6 +3514,21 @@ export declare interface UsersChipUser {
|
|
|
3496
3514
|
user_position?: string | null;
|
|
3497
3515
|
}
|
|
3498
3516
|
|
|
3517
|
+
export declare const useTableStore: UseBoundStore<Omit<StoreApi<TableStore_2>, "setState"> & {
|
|
3518
|
+
setState(partial: TableStore_2 | Partial<TableStore_2> | ((state: TableStore_2) => TableStore_2 | Partial<TableStore_2>), replace?: false | undefined, action?: (string | {
|
|
3519
|
+
[x: string]: unknown;
|
|
3520
|
+
[x: number]: unknown;
|
|
3521
|
+
[x: symbol]: unknown;
|
|
3522
|
+
type: string;
|
|
3523
|
+
}) | undefined): void;
|
|
3524
|
+
setState(state: TableStore_2 | ((state: TableStore_2) => TableStore_2), replace: true, action?: (string | {
|
|
3525
|
+
[x: string]: unknown;
|
|
3526
|
+
[x: number]: unknown;
|
|
3527
|
+
[x: symbol]: unknown;
|
|
3528
|
+
type: string;
|
|
3529
|
+
}) | undefined): void;
|
|
3530
|
+
}>;
|
|
3531
|
+
|
|
3499
3532
|
export declare const ZENADMIN_CONTACT = "mailto:customersuccess@zenadmin.ai";
|
|
3500
3533
|
|
|
3501
3534
|
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.
|
|
3
|
+
"version": "1.1.61",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"@dnd-kit/utilities": "^3.2.2",
|
|
26
26
|
"@popperjs/core": "^2.11.8",
|
|
27
27
|
"@tanstack/react-table": "^8.20.6",
|
|
28
|
-
"@zag-js/accordion": "^0.
|
|
29
|
-
"@zag-js/checkbox": "^0.
|
|
30
|
-
"@zag-js/color-picker": "^0.
|
|
31
|
-
"@zag-js/combobox": "^0.
|
|
32
|
-
"@zag-js/dialog": "^0.
|
|
33
|
-
"@zag-js/menu": "^0.
|
|
34
|
-
"@zag-js/pagination": "^0.
|
|
35
|
-
"@zag-js/popover": "^0.
|
|
36
|
-
"@zag-js/popper": "^0.
|
|
37
|
-
"@zag-js/radio-group": "^0.
|
|
38
|
-
"@zag-js/react": "^0.
|
|
39
|
-
"@zag-js/select": "^0.
|
|
40
|
-
"@zag-js/switch": "^0.
|
|
41
|
-
"@zag-js/tabs": "^0.
|
|
42
|
-
"@zag-js/tooltip": "^0.
|
|
28
|
+
"@zag-js/accordion": "^0.82.0",
|
|
29
|
+
"@zag-js/checkbox": "^0.82.0",
|
|
30
|
+
"@zag-js/color-picker": "^0.82.0",
|
|
31
|
+
"@zag-js/combobox": "^0.82.0",
|
|
32
|
+
"@zag-js/dialog": "^0.82.0",
|
|
33
|
+
"@zag-js/menu": "^0.82.0",
|
|
34
|
+
"@zag-js/pagination": "^0.82.0",
|
|
35
|
+
"@zag-js/popover": "^0.82.0",
|
|
36
|
+
"@zag-js/popper": "^0.82.0",
|
|
37
|
+
"@zag-js/radio-group": "^0.82.0",
|
|
38
|
+
"@zag-js/react": "^0.82.0",
|
|
39
|
+
"@zag-js/select": "^0.82.0",
|
|
40
|
+
"@zag-js/switch": "^0.82.0",
|
|
41
|
+
"@zag-js/tabs": "^0.82.0",
|
|
42
|
+
"@zag-js/tooltip": "^0.82.0",
|
|
43
43
|
"clsx": "^2.1.1",
|
|
44
44
|
"date-fns": "^4.1.0",
|
|
45
45
|
"react": "^18.3.1",
|
|
@@ -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.
|
|
76
|
+
"vite": "^6.0.10",
|
|
77
77
|
"vite-plugin-checker": "^0.8.0",
|
|
78
78
|
"vite-plugin-dts": "4.5.0",
|
|
79
79
|
"vite-plugin-libcss": "^1.1.1"
|