dhre-component-lib 0.8.30 → 0.8.31
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/Dropdown/Dropdown.d.ts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.esm.js +9132 -8852
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9088 -8808
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/OtpInput/OtpInput.test.d.ts +0 -1
|
@@ -5,7 +5,7 @@ export type value = {
|
|
|
5
5
|
value: string;
|
|
6
6
|
isNotClickable?: boolean;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
export interface DropdownProps {
|
|
9
9
|
placeholder: string;
|
|
10
10
|
getSelectedValue: (value: value) => void;
|
|
11
11
|
dropdownList: value[];
|
|
@@ -14,5 +14,10 @@ declare function Dropdown(props: {
|
|
|
14
14
|
value?: value;
|
|
15
15
|
className?: string;
|
|
16
16
|
onDropdownOpen?: (data: boolean) => void;
|
|
17
|
-
|
|
17
|
+
isSearchable?: boolean;
|
|
18
|
+
searchPlaceholder?: string;
|
|
19
|
+
noResultsText?: string;
|
|
20
|
+
searchClearIcon?: React.ReactNode;
|
|
21
|
+
}
|
|
22
|
+
declare function Dropdown(props: DropdownProps): React.JSX.Element;
|
|
18
23
|
export default Dropdown;
|
package/dist/index.d.ts
CHANGED
|
@@ -300,7 +300,7 @@ type value = {
|
|
|
300
300
|
value: string;
|
|
301
301
|
isNotClickable?: boolean;
|
|
302
302
|
};
|
|
303
|
-
|
|
303
|
+
interface DropdownProps {
|
|
304
304
|
placeholder: string;
|
|
305
305
|
getSelectedValue: (value: value) => void;
|
|
306
306
|
dropdownList: value[];
|
|
@@ -309,7 +309,12 @@ declare function Dropdown(props: {
|
|
|
309
309
|
value?: value;
|
|
310
310
|
className?: string;
|
|
311
311
|
onDropdownOpen?: (data: boolean) => void;
|
|
312
|
-
|
|
312
|
+
isSearchable?: boolean;
|
|
313
|
+
searchPlaceholder?: string;
|
|
314
|
+
noResultsText?: string;
|
|
315
|
+
searchClearIcon?: React.ReactNode;
|
|
316
|
+
}
|
|
317
|
+
declare function Dropdown(props: DropdownProps): React.JSX.Element;
|
|
313
318
|
|
|
314
319
|
declare function TextArea(props: {
|
|
315
320
|
value?: string;
|