@hybr1d-tech/charizard 1.1.129 → 2.0.0
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 +1614 -1657
- package/dist/hybr1d-ui.umd.cjs +11 -11
- package/dist/index.d.ts +6 -7
- package/package.json +29 -29
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { ClassNames } from 'react-day-picker';
|
|
|
4
4
|
import { ColumnPinningState } from '@tanstack/react-table';
|
|
5
5
|
import { DateRange } from 'react-day-picker';
|
|
6
6
|
import { default as default_2 } from 'react';
|
|
7
|
-
import * as dialog from '@zag-js/dialog';
|
|
8
7
|
import { HTMLInputTypeAttribute } from 'react';
|
|
9
8
|
import { Id } from 'react-toastify';
|
|
10
9
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
@@ -1874,7 +1873,7 @@ declare type ModalProps = {
|
|
|
1874
1873
|
/**
|
|
1875
1874
|
* Machine Props
|
|
1876
1875
|
*/
|
|
1877
|
-
machineProps?:
|
|
1876
|
+
machineProps?: any | {};
|
|
1878
1877
|
};
|
|
1879
1878
|
|
|
1880
1879
|
/**
|
|
@@ -1883,7 +1882,7 @@ declare type ModalProps = {
|
|
|
1883
1882
|
* @param {ModalV2Props} props - The props for the ModalV2 component.
|
|
1884
1883
|
* @returns {JSX.Element} The rendered modal component.
|
|
1885
1884
|
*/
|
|
1886
|
-
export declare function ModalV2({ isOpen, title, subTitle, trigger, children, footerButtons, showBackdrop,
|
|
1885
|
+
export declare function ModalV2({ isOpen, title, subTitle, trigger, children, footerButtons, showBackdrop, customModalClasses, }: ModalV2Props): JSX_2.Element;
|
|
1887
1886
|
|
|
1888
1887
|
/**
|
|
1889
1888
|
* Props for the ModalV2 component.
|
|
@@ -2242,7 +2241,7 @@ declare interface RadioGroupProps {
|
|
|
2242
2241
|
* @param value
|
|
2243
2242
|
* value of selected radio
|
|
2244
2243
|
* */
|
|
2245
|
-
onChange: (value: string) => void;
|
|
2244
|
+
onChange: (value: string | null) => void;
|
|
2246
2245
|
/**
|
|
2247
2246
|
* if radio group is required
|
|
2248
2247
|
* */
|
|
@@ -2288,7 +2287,7 @@ declare interface RadioGroupV2Props {
|
|
|
2288
2287
|
* @param value
|
|
2289
2288
|
* value of selected radio
|
|
2290
2289
|
* */
|
|
2291
|
-
onChange: (value: string) => void;
|
|
2290
|
+
onChange: (value: string | null) => void;
|
|
2292
2291
|
/**
|
|
2293
2292
|
* if radio group is required
|
|
2294
2293
|
* */
|
|
@@ -2368,7 +2367,7 @@ declare interface SegmentedControlProps {
|
|
|
2368
2367
|
* handle on change
|
|
2369
2368
|
* use this if you are controlling the behavior of segmented control from an external entity
|
|
2370
2369
|
*/
|
|
2371
|
-
handleOnChange?: (value: string) => void;
|
|
2370
|
+
handleOnChange?: (value: string | null) => void;
|
|
2372
2371
|
}
|
|
2373
2372
|
|
|
2374
2373
|
export declare function Select({ options, onChange, name, id, className, placeholder, selectStyles, defaultValue, formatGroupLabel, customContainerStyles, customErrorStyles, menuPlacement, errorMsg, extraprops, isDisabled, isSearchable, isMulti, isClearable, customValue, CustomDropdownIndicator, }: SelectProps): JSX_2.Element;
|
|
@@ -2715,7 +2714,7 @@ declare type SwitchProps = {
|
|
|
2715
2714
|
*/
|
|
2716
2715
|
export declare function SwitchV2({ children, errorMsg, info, tooltipProps, ...props }: SwitchV2Props): JSX_2.Element;
|
|
2717
2716
|
|
|
2718
|
-
declare interface SwitchV2Props extends Omit<zagSwitch.
|
|
2717
|
+
declare interface SwitchV2Props extends Omit<zagSwitch.Props, 'id'> {
|
|
2719
2718
|
children?: React_2.ReactNode;
|
|
2720
2719
|
errorMsg?: string;
|
|
2721
2720
|
info?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hybr1d-tech/charizard",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
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": "^
|
|
29
|
-
"@zag-js/checkbox": "^
|
|
30
|
-
"@zag-js/color-picker": "^
|
|
31
|
-
"@zag-js/combobox": "^
|
|
32
|
-
"@zag-js/dialog": "^
|
|
33
|
-
"@zag-js/menu": "^
|
|
34
|
-
"@zag-js/pagination": "^
|
|
35
|
-
"@zag-js/popover": "^
|
|
36
|
-
"@zag-js/popper": "^
|
|
37
|
-
"@zag-js/radio-group": "^
|
|
38
|
-
"@zag-js/react": "^
|
|
39
|
-
"@zag-js/select": "^
|
|
40
|
-
"@zag-js/switch": "^
|
|
41
|
-
"@zag-js/tabs": "^
|
|
42
|
-
"@zag-js/tooltip": "^
|
|
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",
|
|
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.
|
|
47
|
+
"react-day-picker": "^9.6.2",
|
|
48
48
|
"react-dom": "^18.3.1",
|
|
49
49
|
"react-infinite-scroll-component": "^6.1.0",
|
|
50
50
|
"react-inlinesvg": "^4.2.0",
|
|
@@ -57,24 +57,24 @@
|
|
|
57
57
|
"zustand": "^5.0.3"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@storybook/addon-essentials": "^8.6.
|
|
61
|
-
"@storybook/addon-interactions": "^8.6.
|
|
62
|
-
"@storybook/addon-links": "^8.6.
|
|
63
|
-
"@storybook/blocks": "^8.6.
|
|
64
|
-
"@storybook/react": "^8.6.
|
|
65
|
-
"@storybook/react-vite": "^8.6.
|
|
66
|
-
"@storybook/test": "^8.6.
|
|
67
|
-
"@types/node": "^22.13.
|
|
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",
|
|
68
68
|
"@types/react": "^18.3.13",
|
|
69
69
|
"@types/react-dom": "^18.3.1",
|
|
70
70
|
"@vitejs/plugin-react-swc": "^3.8.0",
|
|
71
|
-
"axios": "^1.8.
|
|
71
|
+
"axios": "^1.8.3",
|
|
72
72
|
"globals": "^16.0.0",
|
|
73
|
-
"storybook": "^8.6.
|
|
73
|
+
"storybook": "^8.6.7",
|
|
74
74
|
"storybook-css-modules-preset": "^1.1.1",
|
|
75
75
|
"typescript": "5.8.2",
|
|
76
|
-
"vite": "^6.2.
|
|
77
|
-
"vite-plugin-checker": "^0.9.
|
|
76
|
+
"vite": "^6.2.2",
|
|
77
|
+
"vite-plugin-checker": "^0.9.1",
|
|
78
78
|
"vite-plugin-dts": "4.5.3",
|
|
79
79
|
"vite-plugin-libcss": "^1.1.1"
|
|
80
80
|
},
|