@oliasoft-open-source/react-ui-library 4.15.1-beta-3 → 4.15.1-beta-4
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.js +10 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20847,6 +20847,7 @@ const Input = ({
|
|
|
20847
20847
|
searchable ? /* @__PURE__ */ jsx(
|
|
20848
20848
|
"input",
|
|
20849
20849
|
{
|
|
20850
|
+
tabIndex: -1,
|
|
20850
20851
|
ref: inputRef,
|
|
20851
20852
|
size: inputSize,
|
|
20852
20853
|
className: styles$m.input,
|
|
@@ -20929,6 +20930,9 @@ const Trigger = ({
|
|
|
20929
20930
|
),
|
|
20930
20931
|
onClick: (evt) => {
|
|
20931
20932
|
console.log("TRIGGER ONCLICK");
|
|
20933
|
+
if (typeof setInputFocus === "function") {
|
|
20934
|
+
setInputFocus();
|
|
20935
|
+
}
|
|
20932
20936
|
onClickTrigger(evt);
|
|
20933
20937
|
},
|
|
20934
20938
|
onFocus,
|
|
@@ -21300,15 +21304,12 @@ const useCustomSelectLogic = ({
|
|
|
21300
21304
|
onChange(evt, newSelectedOptions);
|
|
21301
21305
|
}
|
|
21302
21306
|
};
|
|
21303
|
-
const onChangeSearch = (value) => {
|
|
21304
|
-
|
|
21305
|
-
|
|
21306
|
-
|
|
21307
|
-
|
|
21308
|
-
|
|
21309
|
-
createAble
|
|
21310
|
-
});
|
|
21311
|
-
};
|
|
21307
|
+
const onChangeSearch = (value) => dispatch({
|
|
21308
|
+
type: ActionTypes.ON_CHANGE_SEARCH,
|
|
21309
|
+
options,
|
|
21310
|
+
value,
|
|
21311
|
+
createAble
|
|
21312
|
+
});
|
|
21312
21313
|
const clickTrigger = () => {
|
|
21313
21314
|
openLayer();
|
|
21314
21315
|
dispatch({ type: ActionTypes.BLUR_TRIGGER_INPUTS });
|