@teamturing/react-kit 2.19.15 → 2.19.16
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
|
@@ -20881,6 +20881,13 @@ const OverlayPopper = ({
|
|
|
20881
20881
|
};
|
|
20882
20882
|
const defaultPopperProps = {
|
|
20883
20883
|
onClick: handleOverlayToggle,
|
|
20884
|
+
onKeyDown: e => {
|
|
20885
|
+
if (['ArrowUp', 'ArrowDown'].includes(e.key)) {
|
|
20886
|
+
e.preventDefault();
|
|
20887
|
+
openOverlay();
|
|
20888
|
+
}
|
|
20889
|
+
e.stopPropagation();
|
|
20890
|
+
},
|
|
20884
20891
|
tabIndex: 0,
|
|
20885
20892
|
...{
|
|
20886
20893
|
ref: refs.setReference
|
|
@@ -23412,6 +23419,7 @@ const TabItem = ({
|
|
|
23412
23419
|
onClick?.(e);
|
|
23413
23420
|
};
|
|
23414
23421
|
return /*#__PURE__*/jsxRuntimeExports.jsx(BaseTabItem, {
|
|
23422
|
+
type: 'button',
|
|
23415
23423
|
role: 'tab',
|
|
23416
23424
|
ref: ref,
|
|
23417
23425
|
variant: variant,
|
|
@@ -55,6 +55,13 @@ const OverlayPopper = ({
|
|
|
55
55
|
};
|
|
56
56
|
const defaultPopperProps = {
|
|
57
57
|
onClick: handleOverlayToggle,
|
|
58
|
+
onKeyDown: e => {
|
|
59
|
+
if (['ArrowUp', 'ArrowDown'].includes(e.key)) {
|
|
60
|
+
e.preventDefault();
|
|
61
|
+
openOverlay();
|
|
62
|
+
}
|
|
63
|
+
e.stopPropagation();
|
|
64
|
+
},
|
|
58
65
|
tabIndex: 0,
|
|
59
66
|
...{
|
|
60
67
|
ref: refs.setReference
|
package/esm/core/Tab/TabItem.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/react-kit",
|
|
3
|
-
"version": "2.19.
|
|
3
|
+
"version": "2.19.16",
|
|
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": "882bff67f13764f7af42f5b8e39c417d344a1815"
|
|
66
66
|
}
|