@6thbridge/hexa 0.0.107 → 0.0.108
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 +5 -1
- package/dist/index.d.ts +5 -1
- 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/eslint.config.mjs +4 -0
- package/jest.config.js +12 -3
- package/package.json +3 -1
package/dist/index.d.mts
CHANGED
|
@@ -232,6 +232,8 @@ interface SelectProps {
|
|
|
232
232
|
loading?: boolean;
|
|
233
233
|
inputValue?: string;
|
|
234
234
|
onInputValueChange?: (arg: string) => void;
|
|
235
|
+
searchDebounce?: number;
|
|
236
|
+
shouldFilter?: boolean;
|
|
235
237
|
disabled?: boolean;
|
|
236
238
|
placeholder?: string;
|
|
237
239
|
value?: SearchableDataType;
|
|
@@ -799,6 +801,8 @@ interface MultiSelectProps {
|
|
|
799
801
|
className?: string;
|
|
800
802
|
disabled?: boolean;
|
|
801
803
|
hideSearch?: boolean;
|
|
804
|
+
shouldFilter?: boolean;
|
|
805
|
+
onInputValueChange?: (value: string) => void;
|
|
802
806
|
modal?: boolean;
|
|
803
807
|
children?: React$1.ReactNode;
|
|
804
808
|
label?: string;
|
|
@@ -817,7 +821,7 @@ interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVari
|
|
|
817
821
|
onDelete?: (el: MultiSelectDataType) => void;
|
|
818
822
|
}
|
|
819
823
|
declare const MultiSelectTrigger: React$1.MemoExoticComponent<({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => React$1.JSX.Element>;
|
|
820
|
-
declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => React$1.JSX.Element;
|
|
824
|
+
declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, shouldFilter, onInputValueChange, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => React$1.JSX.Element;
|
|
821
825
|
|
|
822
826
|
type Tab = {
|
|
823
827
|
key: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -232,6 +232,8 @@ interface SelectProps {
|
|
|
232
232
|
loading?: boolean;
|
|
233
233
|
inputValue?: string;
|
|
234
234
|
onInputValueChange?: (arg: string) => void;
|
|
235
|
+
searchDebounce?: number;
|
|
236
|
+
shouldFilter?: boolean;
|
|
235
237
|
disabled?: boolean;
|
|
236
238
|
placeholder?: string;
|
|
237
239
|
value?: SearchableDataType;
|
|
@@ -799,6 +801,8 @@ interface MultiSelectProps {
|
|
|
799
801
|
className?: string;
|
|
800
802
|
disabled?: boolean;
|
|
801
803
|
hideSearch?: boolean;
|
|
804
|
+
shouldFilter?: boolean;
|
|
805
|
+
onInputValueChange?: (value: string) => void;
|
|
802
806
|
modal?: boolean;
|
|
803
807
|
children?: React$1.ReactNode;
|
|
804
808
|
label?: string;
|
|
@@ -817,7 +821,7 @@ interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVari
|
|
|
817
821
|
onDelete?: (el: MultiSelectDataType) => void;
|
|
818
822
|
}
|
|
819
823
|
declare const MultiSelectTrigger: React$1.MemoExoticComponent<({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => React$1.JSX.Element>;
|
|
820
|
-
declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => React$1.JSX.Element;
|
|
824
|
+
declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, shouldFilter, onInputValueChange, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => React$1.JSX.Element;
|
|
821
825
|
|
|
822
826
|
type Tab = {
|
|
823
827
|
key: string;
|