@teamturing/react-kit 2.51.8 → 2.51.9
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
|
-
} &
|
|
27
|
+
} & UnstyledButtonProps;
|
|
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
|
-
} &
|
|
51
|
+
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("../../utils/styled-system").SxProp & import("react").RefAttributes<HTMLButtonElement>>;
|
|
52
52
|
export default IconButton;
|
|
53
53
|
export type { Props as IconButtonProps };
|
package/dist/index.js
CHANGED
|
@@ -3807,7 +3807,6 @@ const IconButton = /*#__PURE__*/React.forwardRef(({
|
|
|
3807
3807
|
variant = 'primary',
|
|
3808
3808
|
disabled = false,
|
|
3809
3809
|
loading = false,
|
|
3810
|
-
tabIndex,
|
|
3811
3810
|
...props
|
|
3812
3811
|
}, ref) => {
|
|
3813
3812
|
return /*#__PURE__*/jsxRuntime.jsx(BaseIconButton, {
|
|
@@ -3818,7 +3817,6 @@ const IconButton = /*#__PURE__*/React.forwardRef(({
|
|
|
3818
3817
|
disabled: disabled || loading,
|
|
3819
3818
|
$disabled: disabled,
|
|
3820
3819
|
$loading: loading,
|
|
3821
|
-
tabIndex: tabIndex,
|
|
3822
3820
|
...props,
|
|
3823
3821
|
children: !loading ? /*#__PURE__*/jsxRuntime.jsx(Icon, {}) : /*#__PURE__*/jsxRuntime.jsx(Spinner, {
|
|
3824
3822
|
color: 'currentColor'
|
|
@@ -12,7 +12,6 @@ const IconButton = /*#__PURE__*/forwardRef(({
|
|
|
12
12
|
variant = 'primary',
|
|
13
13
|
disabled = false,
|
|
14
14
|
loading = false,
|
|
15
|
-
tabIndex,
|
|
16
15
|
...props
|
|
17
16
|
}, ref) => {
|
|
18
17
|
return /*#__PURE__*/jsx(BaseIconButton, {
|
|
@@ -23,7 +22,6 @@ const IconButton = /*#__PURE__*/forwardRef(({
|
|
|
23
22
|
disabled: disabled || loading,
|
|
24
23
|
$disabled: disabled,
|
|
25
24
|
$loading: loading,
|
|
26
|
-
tabIndex: tabIndex,
|
|
27
25
|
...props,
|
|
28
26
|
children: !loading ? /*#__PURE__*/jsx(Icon, {}) : /*#__PURE__*/jsx(Spinner, {
|
|
29
27
|
color: 'currentColor'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/react-kit",
|
|
3
|
-
"version": "2.51.
|
|
3
|
+
"version": "2.51.9",
|
|
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",
|
|
@@ -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": "7795ab8193646270397b5dc363ad07e0e2cc31b8"
|
|
70
70
|
}
|