@teamturing/react-kit 2.11.0 → 2.12.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.
@@ -11,7 +11,7 @@ type Props = {
11
11
  * 색을 정의합니다.
12
12
  * hover, active, focused, disabled, loading 등의 모든 상황에 관여합니다.
13
13
  */
14
- variant?: 'primary' | 'secondary' | 'tertiary' | 'outlined' | 'plain' | 'danger';
14
+ variant?: 'primary' | 'secondary' | 'neutral' | 'outlined' | 'plain' | 'danger';
15
15
  /**
16
16
  * 감싸고 있는 컨테이너의 너비를 채웁니다.
17
17
  */
@@ -43,7 +43,7 @@ declare const Button: import("react").ForwardRefExoticComponent<{
43
43
  * 색을 정의합니다.
44
44
  * hover, active, focused, disabled, loading 등의 모든 상황에 관여합니다.
45
45
  */
46
- variant?: "primary" | "secondary" | "tertiary" | "outlined" | "plain" | "danger" | undefined;
46
+ variant?: "primary" | "secondary" | "neutral" | "outlined" | "plain" | "danger" | undefined;
47
47
  /**
48
48
  * 감싸고 있는 컨테이너의 너비를 채웁니다.
49
49
  */
@@ -15,7 +15,7 @@ type Props = {
15
15
  * 색을 정의합니다.
16
16
  * hover, active, focused, disabled, loading 등의 모든 상황에 관여합니다.
17
17
  */
18
- variant?: 'primary' | 'secondary' | 'tertiary' | 'outlined' | 'plain-bold' | 'plain' | 'plain-subtle' | 'danger';
18
+ variant?: 'primary' | 'secondary' | 'neutral' | 'outlined' | 'plain-bold' | 'plain' | 'plain-subtle' | 'danger';
19
19
  /**
20
20
  * 비활성화 상태를 정의합니다.
21
21
  */
@@ -39,7 +39,7 @@ declare const IconButton: import("react").ForwardRefExoticComponent<{
39
39
  * 색을 정의합니다.
40
40
  * hover, active, focused, disabled, loading 등의 모든 상황에 관여합니다.
41
41
  */
42
- variant?: "primary" | "secondary" | "tertiary" | "outlined" | "plain" | "danger" | "plain-bold" | "plain-subtle" | undefined;
42
+ variant?: "primary" | "secondary" | "neutral" | "outlined" | "plain" | "danger" | "plain-bold" | "plain-subtle" | undefined;
43
43
  /**
44
44
  * 비활성화 상태를 정의합니다.
45
45
  */
package/dist/index.js CHANGED
@@ -16001,7 +16001,7 @@ const BaseButton = styled__default.default(UnstyledButton)(({
16001
16001
  }
16002
16002
  } : {})
16003
16003
  },
16004
- tertiary: {
16004
+ neutral: {
16005
16005
  'backgroundColor': color['bg/neutral'],
16006
16006
  'color': color['text/neutral'],
16007
16007
  '& svg': {
@@ -16154,7 +16154,7 @@ const BaseSpinner = styled__default.default(Spinner)(variant({
16154
16154
  secondary: {
16155
16155
  color: color['icon/primary']
16156
16156
  },
16157
- tertiary: {
16157
+ neutral: {
16158
16158
  color: color['icon/accent/gray']
16159
16159
  },
16160
16160
  outlined: {
@@ -16440,7 +16440,7 @@ const BaseIconButton = styled__default.default(UnstyledButton)(({
16440
16440
  color: color['icon/disabled']
16441
16441
  } : {})
16442
16442
  },
16443
- 'tertiary': {
16443
+ 'neutral': {
16444
16444
  'backgroundColor': color['bg/neutral'],
16445
16445
  'color': color['icon/accent/gray'],
16446
16446
  '&:hover:not(:disabled)': {
@@ -180,7 +180,7 @@ const BaseButton = styled(UnstyledButton)(({
180
180
  }
181
181
  } : {})
182
182
  },
183
- tertiary: {
183
+ neutral: {
184
184
  'backgroundColor': color['bg/neutral'],
185
185
  'color': color['text/neutral'],
186
186
  '& svg': {
@@ -333,7 +333,7 @@ const BaseSpinner = styled(Spinner)(variant({
333
333
  secondary: {
334
334
  color: color['icon/primary']
335
335
  },
336
- tertiary: {
336
+ neutral: {
337
337
  color: color['icon/accent/gray']
338
338
  },
339
339
  outlined: {
@@ -109,7 +109,7 @@ const BaseIconButton = styled(UnstyledButton)(({
109
109
  color: color['icon/disabled']
110
110
  } : {})
111
111
  },
112
- 'tertiary': {
112
+ 'neutral': {
113
113
  'backgroundColor': color['bg/neutral'],
114
114
  'color': color['icon/accent/gray'],
115
115
  '&:hover:not(:disabled)': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.11.0",
3
+ "version": "2.12.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",
@@ -59,5 +59,5 @@
59
59
  "react-is": "^18.2.0",
60
60
  "styled-system": "^5.1.5"
61
61
  },
62
- "gitHead": "cc6e8fd81048b806659d2850cc238723e0646463"
62
+ "gitHead": "141b9cffa82d978cf6ac2723e69a7ef7d8220f78"
63
63
  }