@hybr1d-tech/charizard 2.3.1 → 2.3.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/hybr1d-ui.js +952 -929
- package/dist/hybr1d-ui.umd.cjs +6 -6
- package/dist/index.d.ts +12 -10
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -446,17 +446,19 @@ declare interface CreatableSelectProps {
|
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
/**
|
|
449
|
-
* A custom select component based on react-select.
|
|
450
|
-
*
|
|
451
|
-
*
|
|
452
|
-
*
|
|
453
|
-
* - `
|
|
449
|
+
* A custom creatable select component based on react-select/creatable.
|
|
450
|
+
* Allows users to create new options when they don't exist in the predefined options list.
|
|
451
|
+
*
|
|
452
|
+
* @param props - The properties for the CreatableSelectV2 component:
|
|
453
|
+
* - `options` (Array<Option>): An array of options to be displayed in the dropdown.
|
|
454
|
+
* - `mainContainerClassName` (string, optional): A custom CSS class name for the main container.
|
|
455
|
+
* - `variant` (SELECT_VARIANT, optional): Defines the variant of the select component.
|
|
454
456
|
* - `showDivider` (boolean, optional): Defines whether to add divider between option list.
|
|
455
|
-
* - `errorMsg` (string, optional): An error message to display below the select component
|
|
456
|
-
* - `onChange` (function):
|
|
457
|
-
* - `
|
|
458
|
-
* - `
|
|
459
|
-
* @returns The
|
|
457
|
+
* - `errorMsg` (string, optional): An error message to display below the select component.
|
|
458
|
+
* - `onChange` (function): Callback function triggered when selected value(s) change.
|
|
459
|
+
* - `onCreateOption` (function): Callback function triggered when a new option is created.
|
|
460
|
+
* - `customStyles` (StylesConfig<any>): Custom styles for react select.
|
|
461
|
+
* @returns The CreatableSelectV2 component.
|
|
460
462
|
*/
|
|
461
463
|
export declare function CreatableSelectV2(props: CreatableSelectV2Props): JSX.Element;
|
|
462
464
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hybr1d-tech/charizard",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -57,25 +57,25 @@
|
|
|
57
57
|
"zustand": "^5.0.4"
|
|
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.15.
|
|
60
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
61
|
+
"@storybook/addon-interactions": "^8.6.14",
|
|
62
|
+
"@storybook/addon-links": "^8.6.14",
|
|
63
|
+
"@storybook/blocks": "^8.6.14",
|
|
64
|
+
"@storybook/react": "^8.6.14",
|
|
65
|
+
"@storybook/react-vite": "^8.6.14",
|
|
66
|
+
"@storybook/test": "^8.6.14",
|
|
67
|
+
"@types/node": "^22.15.19",
|
|
68
68
|
"@types/react": "^19.1.4",
|
|
69
|
-
"@types/react-dom": "^19.1.
|
|
69
|
+
"@types/react-dom": "^19.1.5",
|
|
70
70
|
"@vitejs/plugin-react-swc": "^3.9.0",
|
|
71
71
|
"axios": "^1.9.0",
|
|
72
72
|
"globals": "^16.1.0",
|
|
73
|
-
"storybook": "^8.6.
|
|
73
|
+
"storybook": "^8.6.14",
|
|
74
74
|
"storybook-css-modules-preset": "^1.1.1",
|
|
75
75
|
"typescript": "5.8.3",
|
|
76
76
|
"vite": "^6.3.5",
|
|
77
77
|
"vite-plugin-checker": "^0.9.3",
|
|
78
|
-
"vite-plugin-dts": "4.5.
|
|
78
|
+
"vite-plugin-dts": "4.5.4",
|
|
79
79
|
"vite-plugin-libcss": "^1.1.1"
|
|
80
80
|
},
|
|
81
81
|
"publishConfig": {
|