@teamturing/react-kit 2.19.22 → 2.19.23
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
CHANGED
|
@@ -21342,6 +21342,10 @@ const SearchSelectInput = ({
|
|
|
21342
21342
|
const focusInput = () => {
|
|
21343
21343
|
labelInputRef.current?.focus();
|
|
21344
21344
|
};
|
|
21345
|
+
const handleClose = () => {
|
|
21346
|
+
focusInput();
|
|
21347
|
+
onClose?.();
|
|
21348
|
+
};
|
|
21345
21349
|
const {
|
|
21346
21350
|
id,
|
|
21347
21351
|
disabled,
|
|
@@ -21395,7 +21399,7 @@ const SearchSelectInput = ({
|
|
|
21395
21399
|
...focusZoneSettings
|
|
21396
21400
|
},
|
|
21397
21401
|
onOpen: onOpen,
|
|
21398
|
-
onClose:
|
|
21402
|
+
onClose: handleClose,
|
|
21399
21403
|
renderOverlay: (overlayProps, overlayHandler, {
|
|
21400
21404
|
elements
|
|
21401
21405
|
}) => /*#__PURE__*/jsxRuntimeExports.jsxs(Overlay$1, {
|
|
@@ -39,6 +39,10 @@ const SearchSelectInput = ({
|
|
|
39
39
|
const focusInput = () => {
|
|
40
40
|
labelInputRef.current?.focus();
|
|
41
41
|
};
|
|
42
|
+
const handleClose = () => {
|
|
43
|
+
focusInput();
|
|
44
|
+
onClose?.();
|
|
45
|
+
};
|
|
42
46
|
const {
|
|
43
47
|
id,
|
|
44
48
|
disabled,
|
|
@@ -92,7 +96,7 @@ const SearchSelectInput = ({
|
|
|
92
96
|
...focusZoneSettings
|
|
93
97
|
},
|
|
94
98
|
onOpen: onOpen,
|
|
95
|
-
onClose:
|
|
99
|
+
onClose: handleClose,
|
|
96
100
|
renderOverlay: (overlayProps, overlayHandler, {
|
|
97
101
|
elements
|
|
98
102
|
}) => /*#__PURE__*/jsxRuntimeExports.jsxs(Overlay, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/react-kit",
|
|
3
|
-
"version": "2.19.
|
|
3
|
+
"version": "2.19.23",
|
|
4
4
|
"description": "React components, hooks for create teamturing web application",
|
|
5
5
|
"author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
|
|
6
6
|
"homepage": "https://github.com/weareteamturing/bombe#readme",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"react-is": "^18.2.0",
|
|
63
63
|
"styled-system": "^5.1.5"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "58ccb149838349dd9245d2deaf370d14d4040ce9"
|
|
66
66
|
}
|