@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/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
- * @param props - The properties for the SelectV2 component:
451
- * - `options` (Array<Option>): An array of options to be displayed in the dropdown. Each option can include a label, value, and optional profile image or icon.
452
- * - `mainContainerClassName` (string, optional): A custom CSS class name to apply to the main container for additional styling.
453
- * - `variant` (SELECT_VARIANT, optional): Defines the variant of the select component (e.g., 'default', 'users', 'checkbox', 'tags') to control the styling and behavior.
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 for validation purposes.
456
- * - `onChange` (function): A callback function that is triggered when the selected value(s) change. It receives the selected value(s) and action meta information.
457
- * - `customStyles` (StylesConfig<any>): custom styles for react select. it will override default styles
458
- * - `onCreateOption` (Promise<void> | void): function to create new option which is not in the list
459
- * @returns The SelectV2 component.
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.1",
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.12",
61
- "@storybook/addon-interactions": "^8.6.12",
62
- "@storybook/addon-links": "^8.6.12",
63
- "@storybook/blocks": "^8.6.12",
64
- "@storybook/react": "^8.6.12",
65
- "@storybook/react-vite": "^8.6.12",
66
- "@storybook/test": "^8.6.12",
67
- "@types/node": "^22.15.17",
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.4",
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.12",
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.3",
78
+ "vite-plugin-dts": "4.5.4",
79
79
  "vite-plugin-libcss": "^1.1.1"
80
80
  },
81
81
  "publishConfig": {