@teamturing/react-kit 2.51.7 → 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
- } & Pick<UnstyledButtonProps, 'type' | 'onClick' | 'sx' | 'tabIndex'>;
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
- } & Pick<UnstyledButtonProps, "tabIndex" | "onClick" | "sx" | "type"> & import("react").RefAttributes<HTMLButtonElement>>;
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'
@@ -6285,7 +6283,8 @@ const FormControlLabel = ({
6285
6283
  as: 'label',
6286
6284
  htmlFor: id,
6287
6285
  sx: {
6288
- width: 'fit-content'
6286
+ width: 'fit-content',
6287
+ display: 'contents'
6289
6288
  },
6290
6289
  isVisible: !visuallyHidden,
6291
6290
  children: /*#__PURE__*/jsxRuntime.jsxs(LabelWrapper, {
@@ -20,7 +20,8 @@ const FormControlLabel = ({
20
20
  as: 'label',
21
21
  htmlFor: id,
22
22
  sx: {
23
- width: 'fit-content'
23
+ width: 'fit-content',
24
+ display: 'contents'
24
25
  },
25
26
  isVisible: !visuallyHidden,
26
27
  children: /*#__PURE__*/jsxs(LabelWrapper, {
@@ -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.7",
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": "8726480a416e9b8804aa74aa32dc106858fd441f"
69
+ "gitHead": "7795ab8193646270397b5dc363ad07e0e2cc31b8"
70
70
  }