@teamturing/react-kit 2.64.2 → 2.65.0

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.
@@ -1,6 +1,7 @@
1
1
  import { ComponentType, SVGProps } from 'react';
2
2
  import { ResponsiveValue } from 'styled-system';
3
3
  import { UnstyledButtonProps } from '../_UnstyledButton';
4
+ type IconButtonVariantType = 'primary' | 'secondary' | 'neutral' | 'outlined' | 'plain-bold' | 'plain' | 'plain-subtle' | 'danger';
4
5
  type Props = {
5
6
  /**
6
7
  * IconButton에 사용할 아이콘을 정의합니다.
@@ -14,8 +15,9 @@ type Props = {
14
15
  /**
15
16
  * 색을 정의합니다.
16
17
  * hover, active, focused, disabled, loading 등의 모든 상황에 관여합니다.
18
+ * 반응형 디자인이 적용됩니다.
17
19
  */
18
- variant?: 'primary' | 'secondary' | 'neutral' | 'outlined' | 'plain-bold' | 'plain' | 'plain-subtle' | 'danger';
20
+ variant?: ResponsiveValue<IconButtonVariantType>;
19
21
  /**
20
22
  * 비활성화 상태를 정의합니다.
21
23
  */
@@ -38,8 +40,9 @@ declare const IconButton: import("react").ForwardRefExoticComponent<{
38
40
  /**
39
41
  * 색을 정의합니다.
40
42
  * hover, active, focused, disabled, loading 등의 모든 상황에 관여합니다.
43
+ * 반응형 디자인이 적용됩니다.
41
44
  */
42
- variant?: "neutral" | "danger" | "primary" | "secondary" | "outlined" | "plain" | "plain-bold" | "plain-subtle" | undefined;
45
+ variant?: ResponsiveValue<IconButtonVariantType> | undefined;
43
46
  /**
44
47
  * 비활성화 상태를 정의합니다.
45
48
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.64.2",
3
+ "version": "2.65.0",
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": "^0.27.16",
57
57
  "@primer/behaviors": "^1.3.6",
58
- "@teamturing/icons": "^1.71.0",
58
+ "@teamturing/icons": "^1.72.0",
59
59
  "@teamturing/token-studio": "^1.16.4",
60
60
  "@teamturing/utils": "^1.6.1",
61
61
  "framer-motion": "^10.16.4",
@@ -65,5 +65,5 @@
65
65
  "react-textarea-autosize": "^8.5.3",
66
66
  "styled-system": "^5.1.5"
67
67
  },
68
- "gitHead": "d03f0d46a29396eda386bd1337c5c23d33a49182"
68
+ "gitHead": "1c27b74c7b552cc68964894260bd3368a1bfaf2e"
69
69
  }