@hybr1d-tech/charizard 2.0.0 → 2.0.2

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,4 +1,3 @@
1
- import * as accordion from '@zag-js/accordion';
2
1
  import { ActionMeta } from 'react-select';
3
2
  import { ClassNames } from 'react-day-picker';
4
3
  import { ColumnPinningState } from '@tanstack/react-table';
@@ -29,19 +28,11 @@ import * as zagSwitch from '@zag-js/switch';
29
28
 
30
29
  export declare const Accordion: {
31
30
  ({ children, defaultActiveKey, customClasses, customStyle, isMulti, isOpenAll, allEventKeys, }: AccordionProps): JSX_2.Element;
32
- Item({ eventKey, children }: ItemProps): JSX_2.Element | undefined;
33
- Header({ eventKey, children, customClasses, customStyle }: HeaderProps): JSX_2.Element | undefined;
31
+ Item({ eventKey, children }: ItemProps): JSX_2.Element;
32
+ Header({ eventKey, children, customClasses, customStyle }: HeaderProps): JSX_2.Element | null;
34
33
  Collapse({ eventKey, children, customClasses, customStyle }: CollapseProps): JSX_2.Element;
35
34
  };
36
35
 
37
- declare interface AccordionContextValue {
38
- api: accordion.Api<any>;
39
- state: any;
40
- send: (event: any) => void;
41
- activeEventKey: string[];
42
- setActiveEventKey: (key: string[]) => void;
43
- }
44
-
45
36
  declare interface AccordionProps {
46
37
  children: React.ReactNode;
47
38
  defaultActiveKey?: string;
@@ -164,6 +155,7 @@ declare interface BaseButtonProps {
164
155
  customStyles?: React_2.CSSProperties;
165
156
  className?: string;
166
157
  btnType?: 'button' | 'reset' | 'submit';
158
+ zapTriggerProps?: any;
167
159
  }
168
160
 
169
161
  /**
@@ -197,7 +189,7 @@ export declare const buildFilterQuery: (queryFilters: Record<string, any>, exclu
197
189
 
198
190
  export declare const buildTableQuery: (query: TBaseQuery) => Record<string, any>;
199
191
 
200
- export declare function Button({ children, variant, disabled, onClick, type, size, customStyles, className, icon, btnType, }: ButtonProps): JSX_2.Element;
192
+ export declare function Button({ children, variant, disabled, onClick, type, size, customStyles, className, icon, btnType, zapTriggerProps, }: ButtonProps): JSX_2.Element;
201
193
 
202
194
  export declare namespace Button {
203
195
  var GroupAction: React_2.ForwardRefExoticComponent<GroupActionProps & React_2.RefAttributes<unknown>>;
@@ -3303,8 +3295,6 @@ declare interface UploadProps {
3303
3295
  variant?: string;
3304
3296
  }
3305
3297
 
3306
- export declare const useAccordionStore: UseBoundStore<StoreApi<AccordionContextValue>>;
3307
-
3308
3298
  export declare const useBreadcrumbs: (breadcrumbs: Breadcrumb[]) => void;
3309
3299
 
3310
3300
  export declare const useBreadcrumbsStore: UseBoundStore<StoreApi<BreadcrumbsStore>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybr1d-tech/charizard",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -25,26 +25,26 @@
25
25
  "@dnd-kit/utilities": "^3.2.2",
26
26
  "@popperjs/core": "^2.11.8",
27
27
  "@tanstack/react-table": "^8.21.2",
28
- "@zag-js/accordion": "^1.4.1",
29
- "@zag-js/checkbox": "^1.4.1",
30
- "@zag-js/color-picker": "^1.4.1",
31
- "@zag-js/combobox": "^1.4.1",
32
- "@zag-js/dialog": "^1.4.1",
33
- "@zag-js/menu": "^1.4.1",
34
- "@zag-js/pagination": "^1.4.1",
35
- "@zag-js/popover": "^1.4.1",
36
- "@zag-js/popper": "^1.4.1",
37
- "@zag-js/radio-group": "^1.4.1",
38
- "@zag-js/react": "^1.4.1",
39
- "@zag-js/select": "^1.4.1",
40
- "@zag-js/switch": "^1.4.1",
41
- "@zag-js/tabs": "^1.4.1",
42
- "@zag-js/tooltip": "^1.4.1",
28
+ "@zag-js/accordion": "^1.5.0",
29
+ "@zag-js/checkbox": "^1.5.0",
30
+ "@zag-js/color-picker": "^1.5.0",
31
+ "@zag-js/combobox": "^1.5.0",
32
+ "@zag-js/dialog": "^1.5.0",
33
+ "@zag-js/menu": "^1.5.0",
34
+ "@zag-js/pagination": "^1.5.0",
35
+ "@zag-js/popover": "^1.5.0",
36
+ "@zag-js/popper": "^1.5.0",
37
+ "@zag-js/radio-group": "^1.5.0",
38
+ "@zag-js/react": "^1.5.0",
39
+ "@zag-js/select": "^1.5.0",
40
+ "@zag-js/switch": "^1.5.0",
41
+ "@zag-js/tabs": "^1.5.0",
42
+ "@zag-js/tooltip": "^1.5.0",
43
43
  "clsx": "^2.1.1",
44
44
  "date-fns": "^4.1.0",
45
45
  "react": "^18.3.1",
46
46
  "react-country-flag": "^3.1.0",
47
- "react-day-picker": "^9.6.2",
47
+ "react-day-picker": "^9.6.3",
48
48
  "react-dom": "^18.3.1",
49
49
  "react-infinite-scroll-component": "^6.1.0",
50
50
  "react-inlinesvg": "^4.2.0",
@@ -57,20 +57,20 @@
57
57
  "zustand": "^5.0.3"
58
58
  },
59
59
  "devDependencies": {
60
- "@storybook/addon-essentials": "^8.6.7",
61
- "@storybook/addon-interactions": "^8.6.7",
62
- "@storybook/addon-links": "^8.6.7",
63
- "@storybook/blocks": "^8.6.7",
64
- "@storybook/react": "^8.6.7",
65
- "@storybook/react-vite": "^8.6.7",
66
- "@storybook/test": "^8.6.7",
67
- "@types/node": "^22.13.10",
60
+ "@storybook/addon-essentials": "^8.6.8",
61
+ "@storybook/addon-interactions": "^8.6.8",
62
+ "@storybook/addon-links": "^8.6.8",
63
+ "@storybook/blocks": "^8.6.8",
64
+ "@storybook/react": "^8.6.8",
65
+ "@storybook/react-vite": "^8.6.8",
66
+ "@storybook/test": "^8.6.8",
67
+ "@types/node": "^22.13.11",
68
68
  "@types/react": "^18.3.13",
69
69
  "@types/react-dom": "^18.3.1",
70
- "@vitejs/plugin-react-swc": "^3.8.0",
71
- "axios": "^1.8.3",
70
+ "@vitejs/plugin-react-swc": "^3.8.1",
71
+ "axios": "^1.8.4",
72
72
  "globals": "^16.0.0",
73
- "storybook": "^8.6.7",
73
+ "storybook": "^8.6.8",
74
74
  "storybook-css-modules-preset": "^1.1.1",
75
75
  "typescript": "5.8.2",
76
76
  "vite": "^6.2.2",