@teamturing/react-kit 2.38.5 → 2.38.7
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
|
@@ -2944,6 +2944,24 @@ const SvgLogoNaver = props => /*#__PURE__*/React__namespace.createElement("svg",
|
|
|
2944
2944
|
d: "M14.865 4v8.073L9.163 4H3v16h6.135v-8.073L14.837 20H21V4h-6.135Z"
|
|
2945
2945
|
}));
|
|
2946
2946
|
|
|
2947
|
+
const SvgMagicWand = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2948
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2949
|
+
width: "1em",
|
|
2950
|
+
height: "1em",
|
|
2951
|
+
fill: "none",
|
|
2952
|
+
viewBox: "0 0 24 24"
|
|
2953
|
+
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
2954
|
+
fill: "currentColor",
|
|
2955
|
+
clipPath: "url(#magic_wand_svg__a)"
|
|
2956
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
2957
|
+
d: "m14.79 10.95-2.12-2.122 2.475-2.474a.5.5 0 0 1 .707 0l1.414 1.414a.5.5 0 0 1 0 .707L14.79 10.95ZM12.316 9.182l2.121 2.121-10.96 10.96a.5.5 0 0 1-.707 0L1.356 20.85a.5.5 0 0 1 0-.707l10.96-10.96ZM10.137 5.87a.52.52 0 0 1 .233-.233l1.342-.671a.52.52 0 0 0 0-.932l-1.342-.67a.52.52 0 0 1-.233-.234l-.671-1.342a.52.52 0 0 0-.932 0l-.67 1.342a.52.52 0 0 1-.234.233l-1.342.671a.52.52 0 0 0 0 .932l1.342.67c.101.051.183.133.233.234l.671 1.342a.52.52 0 0 0 .932 0l.67-1.342ZM21.447 14.141a.434.434 0 0 1 .194-.194l1.12-.56a.434.434 0 0 0 0-.775l-1.12-.56a.434.434 0 0 1-.194-.193l-.56-1.12a.434.434 0 0 0-.775 0l-.56 1.12a.433.433 0 0 1-.193.194l-1.12.56a.434.434 0 0 0 0 .775l1.12.56c.084.041.152.11.194.193l.56 1.12c.159.319.615.319.775 0l.56-1.12ZM22.137 4.37a.52.52 0 0 1 .233-.233l1.342-.671a.52.52 0 0 0 0-.932l-1.342-.67a.52.52 0 0 1-.233-.234L21.465.288a.52.52 0 0 0-.93 0l-.672 1.342a.52.52 0 0 1-.233.233l-1.342.671a.52.52 0 0 0 0 .932l1.342.67c.101.051.183.133.233.234l.672 1.342a.52.52 0 0 0 .93 0l.672-1.342Z"
|
|
2958
|
+
})), /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
2959
|
+
id: "magic_wand_svg__a"
|
|
2960
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
2961
|
+
fill: "#fff",
|
|
2962
|
+
d: "M0 0h24v24H0z"
|
|
2963
|
+
}))));
|
|
2964
|
+
|
|
2947
2965
|
const SvgMaxsize = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2948
2966
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2949
2967
|
width: "1em",
|
|
@@ -4835,6 +4853,7 @@ var icons = /*#__PURE__*/Object.freeze({
|
|
|
4835
4853
|
LogoFacebookIcon: SvgLogoFacebook,
|
|
4836
4854
|
LogoKakaoIcon: SvgLogoKakao,
|
|
4837
4855
|
LogoNaverIcon: SvgLogoNaver,
|
|
4856
|
+
MagicWandIcon: SvgMagicWand,
|
|
4838
4857
|
MaxsizeIcon: SvgMaxsize,
|
|
4839
4858
|
MinsizeIcon: SvgMinsize,
|
|
4840
4859
|
MinusIcon: SvgMinus,
|
|
@@ -34907,6 +34926,12 @@ const OverlayPopper = ({
|
|
|
34907
34926
|
const handleOverlayClose = () => {
|
|
34908
34927
|
onClose?.();
|
|
34909
34928
|
closeOverlay();
|
|
34929
|
+
const reference = refs.reference;
|
|
34930
|
+
if (reference.current) {
|
|
34931
|
+
setTimeout(() => {
|
|
34932
|
+
reference.current?.focus();
|
|
34933
|
+
}, 0);
|
|
34934
|
+
}
|
|
34910
34935
|
};
|
|
34911
34936
|
const delayedHandleOverlayClose = useDelayedFunction({
|
|
34912
34937
|
func: handleOverlayClose,
|
|
@@ -49,6 +49,12 @@ const OverlayPopper = ({
|
|
|
49
49
|
const handleOverlayClose = () => {
|
|
50
50
|
onClose?.();
|
|
51
51
|
closeOverlay();
|
|
52
|
+
const reference = refs.reference;
|
|
53
|
+
if (reference.current) {
|
|
54
|
+
setTimeout(() => {
|
|
55
|
+
reference.current?.focus();
|
|
56
|
+
}, 0);
|
|
57
|
+
}
|
|
52
58
|
};
|
|
53
59
|
const delayedHandleOverlayClose = useDelayedFunction({
|
|
54
60
|
func: handleOverlayClose,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { extends as _extends } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
const SvgMagicWand = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: "1em",
|
|
7
|
+
height: "1em",
|
|
8
|
+
fill: "none",
|
|
9
|
+
viewBox: "0 0 24 24"
|
|
10
|
+
}, props), /*#__PURE__*/React.createElement("g", {
|
|
11
|
+
fill: "currentColor",
|
|
12
|
+
clipPath: "url(#magic_wand_svg__a)"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
d: "m14.79 10.95-2.12-2.122 2.475-2.474a.5.5 0 0 1 .707 0l1.414 1.414a.5.5 0 0 1 0 .707L14.79 10.95ZM12.316 9.182l2.121 2.121-10.96 10.96a.5.5 0 0 1-.707 0L1.356 20.85a.5.5 0 0 1 0-.707l10.96-10.96ZM10.137 5.87a.52.52 0 0 1 .233-.233l1.342-.671a.52.52 0 0 0 0-.932l-1.342-.67a.52.52 0 0 1-.233-.234l-.671-1.342a.52.52 0 0 0-.932 0l-.67 1.342a.52.52 0 0 1-.234.233l-1.342.671a.52.52 0 0 0 0 .932l1.342.67c.101.051.183.133.233.234l.671 1.342a.52.52 0 0 0 .932 0l.67-1.342ZM21.447 14.141a.434.434 0 0 1 .194-.194l1.12-.56a.434.434 0 0 0 0-.775l-1.12-.56a.434.434 0 0 1-.194-.193l-.56-1.12a.434.434 0 0 0-.775 0l-.56 1.12a.433.433 0 0 1-.193.194l-1.12.56a.434.434 0 0 0 0 .775l1.12.56c.084.041.152.11.194.193l.56 1.12c.159.319.615.319.775 0l.56-1.12ZM22.137 4.37a.52.52 0 0 1 .233-.233l1.342-.671a.52.52 0 0 0 0-.932l-1.342-.67a.52.52 0 0 1-.233-.234L21.465.288a.52.52 0 0 0-.93 0l-.672 1.342a.52.52 0 0 1-.233.233l-1.342.671a.52.52 0 0 0 0 .932l1.342.67c.101.051.183.133.233.234l.672 1.342a.52.52 0 0 0 .93 0l.672-1.342Z"
|
|
15
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
16
|
+
id: "magic_wand_svg__a"
|
|
17
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18
|
+
fill: "#fff",
|
|
19
|
+
d: "M0 0h24v24H0z"
|
|
20
|
+
}))));
|
|
21
|
+
|
|
22
|
+
export { SvgMagicWand as default };
|
|
@@ -119,6 +119,7 @@ export { default as LogoColorIcon } from './LogoColor.js';
|
|
|
119
119
|
export { default as LogoFacebookIcon } from './LogoFacebook.js';
|
|
120
120
|
export { default as LogoKakaoIcon } from './LogoKakao.js';
|
|
121
121
|
export { default as LogoNaverIcon } from './LogoNaver.js';
|
|
122
|
+
export { default as MagicWandIcon } from './MagicWand.js';
|
|
122
123
|
export { default as MaxsizeIcon } from './Maxsize.js';
|
|
123
124
|
export { default as MinsizeIcon } from './Minsize.js';
|
|
124
125
|
export { default as MinusIcon } from './Minus.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/react-kit",
|
|
3
|
-
"version": "2.38.
|
|
3
|
+
"version": "2.38.7",
|
|
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",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@floating-ui/react-dom": "^2.0.2",
|
|
57
57
|
"@primer/behaviors": "^1.3.6",
|
|
58
|
-
"@teamturing/icons": "^1.
|
|
58
|
+
"@teamturing/icons": "^1.46.0",
|
|
59
59
|
"@teamturing/token-studio": "^1.10.0",
|
|
60
60
|
"@teamturing/utils": "^1.4.0",
|
|
61
61
|
"framer-motion": "^10.16.4",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"react-textarea-autosize": "^8.5.3",
|
|
67
67
|
"styled-system": "^5.1.5"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "62237375bae90ff6987ee5eb683db603849d6e4f"
|
|
70
70
|
}
|