@hybr1d-tech/charizard 0.6.75 → 0.6.77
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/components/select-v2/Select.d.ts +1 -0
- package/dist/components/select-v2/types.d.ts +2 -1
- package/dist/hybr1d-ui.js +1772 -1753
- package/dist/hybr1d-ui.umd.cjs +14 -14
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ import { SelectV2Props } from './types';
|
|
|
8
8
|
* - `variant` (SELECT_VARIANT, optional): Defines the variant of the select component (e.g., 'default', 'users', 'checkbox', 'tags') to control the styling and behavior.
|
|
9
9
|
* - `errorMsg` (string, optional): An error message to display below the select component for validation purposes.
|
|
10
10
|
* - `onChange` (function): A callback function that is triggered when the selected value(s) change. It receives the selected value(s) and action meta information.
|
|
11
|
+
* - `customStyles` (StylesConfig<any>): custom styles for react select. it will override default styles
|
|
11
12
|
* @returns The SelectV2 component.
|
|
12
13
|
*/
|
|
13
14
|
export declare function SelectV2(props: SelectV2Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MultiValue, SingleValue, ActionMeta, Props as ReactSelectProps } from 'react-select';
|
|
1
|
+
import { MultiValue, SingleValue, ActionMeta, StylesConfig, Props as ReactSelectProps } from 'react-select';
|
|
2
2
|
|
|
3
3
|
export type OptionBase = {
|
|
4
4
|
label: string;
|
|
@@ -30,4 +30,5 @@ export interface SelectV2Props extends ReactSelectProps<any, boolean> {
|
|
|
30
30
|
mainContainerClassName?: string;
|
|
31
31
|
variant?: SELECT_VARIANT;
|
|
32
32
|
errorMsg?: string;
|
|
33
|
+
customStyles?: StylesConfig<any>;
|
|
33
34
|
}
|