@teamturing/react-kit 2.38.2 → 2.38.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.
|
@@ -24,7 +24,7 @@ type Props = {
|
|
|
24
24
|
* 로딩 상태를 정의합니다.
|
|
25
25
|
*/
|
|
26
26
|
loading?: boolean;
|
|
27
|
-
} & Pick<UnstyledButtonProps, 'type' | 'onClick' | 'sx'>;
|
|
27
|
+
} & Pick<UnstyledButtonProps, 'type' | 'onClick' | 'sx' | 'tabIndex'>;
|
|
28
28
|
declare const IconButton: import("react").ForwardRefExoticComponent<{
|
|
29
29
|
/**
|
|
30
30
|
* IconButton에 사용할 아이콘을 정의합니다.
|
|
@@ -48,6 +48,6 @@ declare const IconButton: import("react").ForwardRefExoticComponent<{
|
|
|
48
48
|
* 로딩 상태를 정의합니다.
|
|
49
49
|
*/
|
|
50
50
|
loading?: boolean | undefined;
|
|
51
|
-
} & Pick<UnstyledButtonProps, "type" | "onClick" | "sx"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
51
|
+
} & Pick<UnstyledButtonProps, "type" | "tabIndex" | "onClick" | "sx"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
52
52
|
export default IconButton;
|
|
53
53
|
export type { Props as IconButtonProps };
|
package/dist/index.js
CHANGED
|
@@ -1078,21 +1078,22 @@ function _extends() {
|
|
|
1078
1078
|
return _extends.apply(this, arguments);
|
|
1079
1079
|
}
|
|
1080
1080
|
|
|
1081
|
-
const
|
|
1081
|
+
const SvgAInCircleFilled = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1082
1082
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1083
1083
|
width: "1em",
|
|
1084
1084
|
height: "1em",
|
|
1085
1085
|
fill: "none",
|
|
1086
1086
|
viewBox: "0 0 24 24"
|
|
1087
|
-
}, props), /*#__PURE__*/React__namespace.createElement("
|
|
1088
|
-
fill: "
|
|
1087
|
+
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
1088
|
+
fill: "currentColor"
|
|
1089
|
+
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
1089
1090
|
fillRule: "evenodd",
|
|
1090
1091
|
d: "M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Zm8.556 4.746a1.178 1.178 0 1 1-2.243-.722l2.889-8.713a2.06 2.06 0 0 1 3.91.003l2.88 8.72a1.172 1.172 0 1 1-2.231.716l-.584-1.87h-4.04l-.581 1.866Zm2.563-8.218-1.395 4.466h2.867l-1.395-4.466h-.077Z",
|
|
1091
|
-
clipRule: "evenodd"
|
|
1092
|
+
clipRule: "evenodd",
|
|
1093
|
+
opacity: 0.4
|
|
1092
1094
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
1093
|
-
fill: "#4880EE",
|
|
1094
1095
|
d: "M8.431 17.573c.516 0 .971-.335 1.125-.827l.582-1.866h4.04l.583 1.87a1.172 1.172 0 1 0 2.23-.716l-2.879-8.72a2.06 2.06 0 0 0-3.91-.003l-2.889 8.713a1.178 1.178 0 0 0 1.118 1.549Zm2.293-4.58 1.395-4.465h.077l1.395 4.466h-2.867Z"
|
|
1095
|
-
}));
|
|
1096
|
+
})));
|
|
1096
1097
|
|
|
1097
1098
|
const SvgAi = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
1098
1099
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4713,7 +4714,7 @@ const SvgYoutube = props => /*#__PURE__*/React__namespace.createElement("svg", _
|
|
|
4713
4714
|
|
|
4714
4715
|
var icons = /*#__PURE__*/Object.freeze({
|
|
4715
4716
|
__proto__: null,
|
|
4716
|
-
|
|
4717
|
+
AInCircleFilledIcon: SvgAInCircleFilled,
|
|
4717
4718
|
AiColorIcon: SvgAiColor,
|
|
4718
4719
|
AiIcon: SvgAi,
|
|
4719
4720
|
AiSadIcon: SvgAiSad,
|
|
@@ -17985,6 +17986,7 @@ const IconButton = /*#__PURE__*/React.forwardRef(({
|
|
|
17985
17986
|
variant = 'primary',
|
|
17986
17987
|
disabled = false,
|
|
17987
17988
|
loading = false,
|
|
17989
|
+
tabIndex,
|
|
17988
17990
|
...props
|
|
17989
17991
|
}, ref) => {
|
|
17990
17992
|
return /*#__PURE__*/jsxRuntimeExports.jsx(BaseIconButton, {
|
|
@@ -17995,6 +17997,7 @@ const IconButton = /*#__PURE__*/React.forwardRef(({
|
|
|
17995
17997
|
disabled: disabled || loading,
|
|
17996
17998
|
$disabled: disabled,
|
|
17997
17999
|
$loading: loading,
|
|
18000
|
+
tabIndex: tabIndex,
|
|
17998
18001
|
...props,
|
|
17999
18002
|
children: !loading ? /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {}) : /*#__PURE__*/jsxRuntimeExports.jsx(Spinner, {
|
|
18000
18003
|
color: 'currentColor'
|
|
@@ -12,6 +12,7 @@ const IconButton = /*#__PURE__*/forwardRef(({
|
|
|
12
12
|
variant = 'primary',
|
|
13
13
|
disabled = false,
|
|
14
14
|
loading = false,
|
|
15
|
+
tabIndex,
|
|
15
16
|
...props
|
|
16
17
|
}, ref) => {
|
|
17
18
|
return /*#__PURE__*/jsxRuntimeExports.jsx(BaseIconButton, {
|
|
@@ -22,6 +23,7 @@ const IconButton = /*#__PURE__*/forwardRef(({
|
|
|
22
23
|
disabled: disabled || loading,
|
|
23
24
|
$disabled: disabled,
|
|
24
25
|
$loading: loading,
|
|
26
|
+
tabIndex: tabIndex,
|
|
25
27
|
...props,
|
|
26
28
|
children: !loading ? /*#__PURE__*/jsxRuntimeExports.jsx(Icon, {}) : /*#__PURE__*/jsxRuntimeExports.jsx(Spinner, {
|
|
27
29
|
color: 'currentColor'
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { extends as _extends } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
-
const
|
|
4
|
+
const SvgAInCircleFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
6
|
width: "1em",
|
|
7
7
|
height: "1em",
|
|
8
8
|
fill: "none",
|
|
9
9
|
viewBox: "0 0 24 24"
|
|
10
|
-
}, props), /*#__PURE__*/React.createElement("
|
|
11
|
-
fill: "
|
|
10
|
+
}, props), /*#__PURE__*/React.createElement("g", {
|
|
11
|
+
fill: "currentColor"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12
13
|
fillRule: "evenodd",
|
|
13
14
|
d: "M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Zm8.556 4.746a1.178 1.178 0 1 1-2.243-.722l2.889-8.713a2.06 2.06 0 0 1 3.91.003l2.88 8.72a1.172 1.172 0 1 1-2.231.716l-.584-1.87h-4.04l-.581 1.866Zm2.563-8.218-1.395 4.466h2.867l-1.395-4.466h-.077Z",
|
|
14
|
-
clipRule: "evenodd"
|
|
15
|
+
clipRule: "evenodd",
|
|
16
|
+
opacity: 0.4
|
|
15
17
|
}), /*#__PURE__*/React.createElement("path", {
|
|
16
|
-
fill: "#4880EE",
|
|
17
18
|
d: "M8.431 17.573c.516 0 .971-.335 1.125-.827l.582-1.866h4.04l.583 1.87a1.172 1.172 0 1 0 2.23-.716l-2.879-8.72a2.06 2.06 0 0 0-3.91-.003l-2.889 8.713a1.178 1.178 0 0 0 1.118 1.549Zm2.293-4.58 1.395-4.465h.077l1.395 4.466h-2.867Z"
|
|
18
|
-
}));
|
|
19
|
+
})));
|
|
19
20
|
|
|
20
|
-
export {
|
|
21
|
+
export { SvgAInCircleFilled as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as AInCircleFilledIcon } from './AInCircleFilled.js';
|
|
2
2
|
export { default as AiIcon } from './Ai.js';
|
|
3
3
|
export { default as AiColorIcon } from './AiColor.js';
|
|
4
4
|
export { default as AiSadIcon } from './AiSad.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.4",
|
|
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.45.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": "d0b55af96ede1f4fc32a8a7949f3857eb207cdb5"
|
|
70
70
|
}
|