@ambuj.bhaskar/react-component-library 0.12.3-alpha → 0.12.5-alpha
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/assets/index.css +1 -1
- package/dist/index.cjs +72 -71
- package/dist/index.d.ts +9 -14
- package/dist/index.js +13583 -12871
- package/dist/index.umd.js +72 -71
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -71,20 +71,7 @@ export declare type CompactEventCardPropsType = {
|
|
|
71
71
|
height?: CSSstring;
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
* ContactInput component.
|
|
76
|
-
*
|
|
77
|
-
* @typedef {Object} ContactInputProps
|
|
78
|
-
* @param {string} [value] - The current value of the contact input.
|
|
79
|
-
* @param {(val: string) => void} [onChange=() => {}] - Callback when the input value changes.
|
|
80
|
-
* @param {"s" | "m" | "l"} [height="m"] - Height of the input fields.
|
|
81
|
-
* @param {CSSstring} [width="16rem"] - Width of the component.
|
|
82
|
-
* @param {string} [className=""] - Additional class names for styling.
|
|
83
|
-
* @param {string} [placeholder="XXXXXX XXXXX"] - Placeholder text for the contact input field.
|
|
84
|
-
* @param {string} [separator=" "] - Separator between the country code and phone number.
|
|
85
|
-
* @param {boolean} [disabled=false] - Disables the contact input fields.
|
|
86
|
-
*/
|
|
87
|
-
export declare const ContactInput: ({ value, onChange, height, width, className, placeholder, separator, disabled, }: ContactInputProps) => JSX_2.Element;
|
|
74
|
+
export declare const ContactInput: ({ value, onChange, height, width, className, placeholder, separator, disabled, triggerBackgroundColor, menuBackgroundColor, menuActiveColor, menuHoverColor, borderColor, dsabledColor, }: ContactInputProps) => JSX_2.Element;
|
|
88
75
|
|
|
89
76
|
export declare type ContactInputProps = {
|
|
90
77
|
value?: string;
|
|
@@ -95,6 +82,12 @@ export declare type ContactInputProps = {
|
|
|
95
82
|
placeholder?: string;
|
|
96
83
|
separator?: string;
|
|
97
84
|
disabled?: boolean;
|
|
85
|
+
triggerBackgroundColor?: Color;
|
|
86
|
+
menuBackgroundColor?: Color;
|
|
87
|
+
menuActiveColor?: Color;
|
|
88
|
+
menuHoverColor?: Color;
|
|
89
|
+
borderColor?: Color;
|
|
90
|
+
dsabledColor?: Color;
|
|
98
91
|
};
|
|
99
92
|
|
|
100
93
|
declare type CSSstring = string;
|
|
@@ -258,6 +251,7 @@ export declare type SelectProps = {
|
|
|
258
251
|
menuActiveColor?: Color;
|
|
259
252
|
menuHoverColor?: Color;
|
|
260
253
|
borderColor?: Color;
|
|
254
|
+
disabledColor?: Color;
|
|
261
255
|
disabled?: boolean;
|
|
262
256
|
width?: CSSstring;
|
|
263
257
|
height?: string;
|
|
@@ -310,6 +304,7 @@ export declare type SidebarProps = {
|
|
|
310
304
|
config: SidebarConfig;
|
|
311
305
|
isOpen?: boolean;
|
|
312
306
|
onToggle?: (isOpen: boolean) => void;
|
|
307
|
+
loading?: boolean;
|
|
313
308
|
};
|
|
314
309
|
|
|
315
310
|
declare type Size = "s" | "m" | "l";
|