@6thbridge/hexa 0.0.109-pr94-207 → 0.0.110-pr94-208
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.mts +21 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -184,6 +184,26 @@ type SearchableDataType = {
|
|
|
184
184
|
} & {
|
|
185
185
|
[key: string]: any;
|
|
186
186
|
};
|
|
187
|
+
interface SearchableProps {
|
|
188
|
+
modal?: boolean;
|
|
189
|
+
hideSearch?: boolean;
|
|
190
|
+
loading?: boolean;
|
|
191
|
+
inputValue?: string;
|
|
192
|
+
onInputValueChange?: (arg: string) => void;
|
|
193
|
+
searchDebounce?: number;
|
|
194
|
+
shouldFilter?: boolean;
|
|
195
|
+
disabled?: boolean;
|
|
196
|
+
placeholder?: string;
|
|
197
|
+
value?: SearchableDataType;
|
|
198
|
+
options: SearchableDataType[] | [];
|
|
199
|
+
optionComponent?: (arg: SearchableDataType) => React$1.ReactNode;
|
|
200
|
+
className?: string;
|
|
201
|
+
containerClassName?: string;
|
|
202
|
+
onChange: (value: SearchableDataType) => void;
|
|
203
|
+
onValueChange?: (value: string) => void;
|
|
204
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
205
|
+
children?: React$1.ReactNode;
|
|
206
|
+
}
|
|
187
207
|
|
|
188
208
|
type CountryPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
|
|
189
209
|
type CountrySelectOption$1 = {
|
|
@@ -242,6 +262,7 @@ interface SelectProps {
|
|
|
242
262
|
className?: string;
|
|
243
263
|
containerClassName?: string;
|
|
244
264
|
onChange: (value: SearchableDataType) => void;
|
|
265
|
+
filter?: SearchableProps["filter"];
|
|
245
266
|
status?: SelectPropsStatus;
|
|
246
267
|
label?: string;
|
|
247
268
|
showAsterisk?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -184,6 +184,26 @@ type SearchableDataType = {
|
|
|
184
184
|
} & {
|
|
185
185
|
[key: string]: any;
|
|
186
186
|
};
|
|
187
|
+
interface SearchableProps {
|
|
188
|
+
modal?: boolean;
|
|
189
|
+
hideSearch?: boolean;
|
|
190
|
+
loading?: boolean;
|
|
191
|
+
inputValue?: string;
|
|
192
|
+
onInputValueChange?: (arg: string) => void;
|
|
193
|
+
searchDebounce?: number;
|
|
194
|
+
shouldFilter?: boolean;
|
|
195
|
+
disabled?: boolean;
|
|
196
|
+
placeholder?: string;
|
|
197
|
+
value?: SearchableDataType;
|
|
198
|
+
options: SearchableDataType[] | [];
|
|
199
|
+
optionComponent?: (arg: SearchableDataType) => React$1.ReactNode;
|
|
200
|
+
className?: string;
|
|
201
|
+
containerClassName?: string;
|
|
202
|
+
onChange: (value: SearchableDataType) => void;
|
|
203
|
+
onValueChange?: (value: string) => void;
|
|
204
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
205
|
+
children?: React$1.ReactNode;
|
|
206
|
+
}
|
|
187
207
|
|
|
188
208
|
type CountryPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
|
|
189
209
|
type CountrySelectOption$1 = {
|
|
@@ -242,6 +262,7 @@ interface SelectProps {
|
|
|
242
262
|
className?: string;
|
|
243
263
|
containerClassName?: string;
|
|
244
264
|
onChange: (value: SearchableDataType) => void;
|
|
265
|
+
filter?: SearchableProps["filter"];
|
|
245
266
|
status?: SelectPropsStatus;
|
|
246
267
|
label?: string;
|
|
247
268
|
showAsterisk?: boolean;
|