@seed-design/css 1.2.9 → 1.2.10

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-design/css",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",
@@ -12,19 +12,19 @@
12
12
  text-overflow: ellipsis
13
13
  }
14
14
  .seed-app-bar-main__title--layout_titleOnly {
15
- font-size: var(--seed-font-size-t6-static);
15
+ font-size: clamp(calc(var(--seed-font-size-t6-static) * 1), var(--seed-font-size-t6), calc(var(--seed-font-size-t6-static) * 1.2));
16
16
  font-weight: var(--seed-font-weight-bold);
17
- line-height: var(--seed-line-height-t6-static)
17
+ line-height: clamp(calc(var(--seed-line-height-t6-static) * 1), var(--seed-line-height-t6), calc(var(--seed-line-height-t6-static) * 1.2))
18
18
  }
19
19
  .seed-app-bar-main__title--layout_withSubtitle {
20
- font-size: var(--seed-font-size-t5-static);
20
+ font-size: clamp(calc(var(--seed-font-size-t5-static) * 1), var(--seed-font-size-t5), calc(var(--seed-font-size-t5-static) * 1.2));
21
21
  font-weight: var(--seed-font-weight-bold);
22
- line-height: var(--seed-line-height-t5-static)
22
+ line-height: clamp(calc(var(--seed-line-height-t5-static) * 1), var(--seed-line-height-t5), calc(var(--seed-line-height-t5-static) * 1.2))
23
23
  }
24
24
  .seed-app-bar-main__subtitle--layout_withSubtitle {
25
- font-size: var(--seed-font-size-t2-static);
25
+ font-size: clamp(calc(var(--seed-font-size-t2-static) * 1), var(--seed-font-size-t2), calc(var(--seed-font-size-t2-static) * 1.2));
26
26
  font-weight: var(--seed-font-weight-regular);
27
- line-height: var(--seed-line-height-t2-static)
27
+ line-height: clamp(calc(var(--seed-line-height-t2-static) * 1), var(--seed-line-height-t2), calc(var(--seed-line-height-t2-static) * 1.2))
28
28
  }
29
29
  .seed-app-bar-main__root--theme_cupertino {
30
30
  position: absolute;
@@ -10,21 +10,21 @@
10
10
  }
11
11
 
12
12
  .seed-app-bar-main__title--layout_titleOnly {
13
- font-size: var(--seed-font-size-t6-static);
13
+ font-size: clamp(calc(var(--seed-font-size-t6-static) * 1), var(--seed-font-size-t6), calc(var(--seed-font-size-t6-static) * 1.2));
14
14
  font-weight: var(--seed-font-weight-bold);
15
- line-height: var(--seed-line-height-t6-static);
15
+ line-height: clamp(calc(var(--seed-line-height-t6-static) * 1), var(--seed-line-height-t6), calc(var(--seed-line-height-t6-static) * 1.2));
16
16
  }
17
17
 
18
18
  .seed-app-bar-main__title--layout_withSubtitle {
19
- font-size: var(--seed-font-size-t5-static);
19
+ font-size: clamp(calc(var(--seed-font-size-t5-static) * 1), var(--seed-font-size-t5), calc(var(--seed-font-size-t5-static) * 1.2));
20
20
  font-weight: var(--seed-font-weight-bold);
21
- line-height: var(--seed-line-height-t5-static);
21
+ line-height: clamp(calc(var(--seed-line-height-t5-static) * 1), var(--seed-line-height-t5), calc(var(--seed-line-height-t5-static) * 1.2));
22
22
  }
23
23
 
24
24
  .seed-app-bar-main__subtitle--layout_withSubtitle {
25
- font-size: var(--seed-font-size-t2-static);
25
+ font-size: clamp(calc(var(--seed-font-size-t2-static) * 1), var(--seed-font-size-t2), calc(var(--seed-font-size-t2-static) * 1.2));
26
26
  font-weight: var(--seed-font-weight-regular);
27
- line-height: var(--seed-line-height-t2-static);
27
+ line-height: clamp(calc(var(--seed-line-height-t2-static) * 1), var(--seed-line-height-t2), calc(var(--seed-line-height-t2-static) * 1.2));
28
28
  }
29
29
 
30
30
  .seed-app-bar-main__root--theme_cupertino {
@@ -17,13 +17,14 @@
17
17
  border-radius: var(--seed-radius-full)
18
18
  }
19
19
  .seed-notification-badge--size_large {
20
+ min-width: 18px;
20
21
  min-height: 18px;
21
22
  border-radius: var(--seed-radius-full);
22
23
  padding-left: var(--seed-dimension-x1);
23
24
  padding-right: var(--seed-dimension-x1);
24
25
  padding-top: 0px;
25
26
  padding-bottom: 0px;
26
- font-size: var(--seed-font-size-t1);
27
- line-height: var(--seed-line-height-t1);
27
+ font-size: var(--seed-font-size-t1-static);
28
+ line-height: var(--seed-line-height-t1-static);
28
29
  font-weight: var(--seed-font-weight-bold)
29
30
  }
@@ -21,11 +21,12 @@
21
21
 
22
22
  .seed-notification-badge--size_large {
23
23
  border-radius: var(--seed-radius-full);
24
+ min-width: 18px;
24
25
  min-height: 18px;
25
26
  padding-left: var(--seed-dimension-x1);
26
27
  padding-right: var(--seed-dimension-x1);
27
- font-size: var(--seed-font-size-t1);
28
- line-height: var(--seed-line-height-t1);
28
+ font-size: var(--seed-font-size-t1-static);
29
+ line-height: var(--seed-line-height-t1-static);
29
30
  font-weight: var(--seed-font-weight-bold);
30
31
  padding-top: 0;
31
32
  padding-bottom: 0;
@@ -45,7 +45,6 @@ export declare const vars: {
45
45
  },
46
46
  /**
47
47
  * - `variant=square`: 필수 선택 항목이고 사용자가 해당 내용을 인지해야 하는 경우 사용합니다.
48
- * - `tone=brand`: [deprecated] 주요 버튼 등의 핵심 액션과 시각적으로 충돌하기에 더 이상 사용하지 않습니다.
49
48
  */
50
49
  "variantSquareToneBrand": {
51
50
  "enabledSelected": {
@@ -109,7 +108,6 @@ export declare const vars: {
109
108
  },
110
109
  /**
111
110
  * - `variant=ghost`: 필수 선택 항목이 아니고, 3개 이하 항목으로 구성되는 경우 사용하는 것을 권장합니다.
112
- * - `tone=brand`: [deprecated] 주요 버튼 등의 핵심 액션과 시각적으로 충돌하기에 더 이상 사용하지 않습니다.
113
111
  */
114
112
  "variantGhostToneBrand": {
115
113
  "enabledSelected": {
@@ -73,5 +73,7 @@ export { vars as tagGroup } from "./tag-group";
73
73
  export { vars as textButton } from "./text-button";
74
74
  export { vars as textInput } from "./text-input";
75
75
  export { vars as toggleButton } from "./toggle-button";
76
+ export { vars as topNavigationIconButton } from "./top-navigation-icon-button";
77
+ export { vars as topNavigationTextButton } from "./top-navigation-text-button";
76
78
  export { vars as topNavigation } from "./top-navigation";
77
79
  export { vars as typography } from "./typography";
@@ -73,5 +73,7 @@ export { vars as tagGroup } from "./tag-group.mjs";
73
73
  export { vars as textButton } from "./text-button.mjs";
74
74
  export { vars as textInput } from "./text-input.mjs";
75
75
  export { vars as toggleButton } from "./toggle-button.mjs";
76
+ export { vars as topNavigationIconButton } from "./top-navigation-icon-button.mjs";
77
+ export { vars as topNavigationTextButton } from "./top-navigation-text-button.mjs";
76
78
  export { vars as topNavigation } from "./top-navigation.mjs";
77
79
  export { vars as typography } from "./typography.mjs";
@@ -10,11 +10,12 @@ export declare const vars: {
10
10
  }
11
11
  },
12
12
  /**
13
- * 라벨을 포함해 구체적인 알림 수나 상태 정보를 제공합니다.
13
+ * 라벨을 포함해 구체적인 알림 수나 상태 정보를 제공합니다. 세부 정보가 중요하고 충분한 공간이 있을 때 사용합니다. 내부 라벨을 반드시 포함해야 합니다.
14
14
  */
15
15
  "sizeLarge": {
16
16
  "enabled": {
17
17
  "root": {
18
+ "minWidth": "18px",
18
19
  "minHeight": "18px",
19
20
  "paddingX": "var(--seed-dimension-x1)",
20
21
  "paddingY": "0px",
@@ -24,14 +25,14 @@ export declare const vars: {
24
25
  "textAttachedGap": "2px"
25
26
  },
26
27
  "label": {
27
- "fontSize": "var(--seed-font-size-t1)",
28
- "lineHeight": "var(--seed-line-height-t1)",
28
+ "fontSize": "var(--seed-font-size-t1-static)",
29
+ "lineHeight": "var(--seed-line-height-t1-static)",
29
30
  "fontWeight": "var(--seed-font-weight-bold)"
30
31
  }
31
32
  }
32
33
  },
33
34
  /**
34
- * 간결한 도트 형태로, 텍스트 없이 상태 변화만 표시합니다.
35
+ * 간결한 도트 형태로, 텍스트 없이 상태 변화만 표시합니다. 알림의 존재 여부만 중요하거나 공간이 제한된 경우에 적합합니다. 내부 라벨은 지원하지 않습니다.
35
36
  */
36
37
  "sizeSmall": {
37
38
  "enabled": {
@@ -12,6 +12,7 @@ export const vars = {
12
12
  "sizeLarge": {
13
13
  "enabled": {
14
14
  "root": {
15
+ "minWidth": "18px",
15
16
  "minHeight": "18px",
16
17
  "paddingX": "var(--seed-dimension-x1)",
17
18
  "paddingY": "0px",
@@ -21,8 +22,8 @@ export const vars = {
21
22
  "textAttachedGap": "2px"
22
23
  },
23
24
  "label": {
24
- "fontSize": "var(--seed-font-size-t1)",
25
- "lineHeight": "var(--seed-line-height-t1)",
25
+ "fontSize": "var(--seed-font-size-t1-static)",
26
+ "lineHeight": "var(--seed-line-height-t1-static)",
26
27
  "fontWeight": "var(--seed-font-weight-bold)"
27
28
  }
28
29
  }
@@ -24,9 +24,6 @@ export declare const vars: {
24
24
  }
25
25
  }
26
26
  },
27
- /**
28
- * [deprecated] 주요 버튼 등의 핵심 액션과 시각적으로 충돌하기에 더 이상 사용하지 않습니다.
29
- */
30
27
  "toneBrand": {
31
28
  "enabledSelected": {
32
29
  "root": {
@@ -33,9 +33,6 @@ export declare const vars: {
33
33
  }
34
34
  }
35
35
  },
36
- /**
37
- * [deprecated] 주요 버튼 등의 핵심 액션과 시각적으로 충돌하기에 더 이상 사용하지 않습니다.
38
- */
39
36
  "toneBrand": {
40
37
  "enabled": {
41
38
  "thumb": {
@@ -0,0 +1,36 @@
1
+ export declare const vars: {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "size": "44px"
6
+ },
7
+ "icon": {
8
+ "size": "24px"
9
+ }
10
+ }
11
+ },
12
+ "toneLayer": {
13
+ "enabled": {
14
+ "icon": {
15
+ "color": "var(--seed-color-fg-neutral)"
16
+ }
17
+ },
18
+ "disabled": {
19
+ "icon": {
20
+ "color": "var(--seed-color-fg-disabled)"
21
+ }
22
+ }
23
+ },
24
+ "toneTransparent": {
25
+ "enabled": {
26
+ "icon": {
27
+ "color": "var(--seed-color-palette-static-white)"
28
+ }
29
+ },
30
+ "disabled": {
31
+ "icon": {
32
+ "color": "var(--seed-color-fg-disabled)"
33
+ }
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,36 @@
1
+ export const vars = {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "size": "44px"
6
+ },
7
+ "icon": {
8
+ "size": "24px"
9
+ }
10
+ }
11
+ },
12
+ "toneLayer": {
13
+ "enabled": {
14
+ "icon": {
15
+ "color": "var(--seed-color-fg-neutral)"
16
+ }
17
+ },
18
+ "disabled": {
19
+ "icon": {
20
+ "color": "var(--seed-color-fg-disabled)"
21
+ }
22
+ }
23
+ },
24
+ "toneTransparent": {
25
+ "enabled": {
26
+ "icon": {
27
+ "color": "var(--seed-color-palette-static-white)"
28
+ }
29
+ },
30
+ "disabled": {
31
+ "icon": {
32
+ "color": "var(--seed-color-fg-disabled)"
33
+ }
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,43 @@
1
+ export declare const vars: {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "height": "44px",
6
+ "paddingX": "var(--seed-dimension-x2_5)"
7
+ },
8
+ "label": {
9
+ "fontSize": "var(--seed-font-size-t5)",
10
+ "lineHeight": "var(--seed-line-height-t5)",
11
+ "fontWeight": "var(--seed-font-weight-medium)",
12
+ "maxFontSizeScale": "1.2",
13
+ "minFontSizeScale": "1",
14
+ "maxLineHeightScale": "1.2",
15
+ "minLineHeightScale": "1"
16
+ }
17
+ }
18
+ },
19
+ "toneLayer": {
20
+ "enabled": {
21
+ "label": {
22
+ "color": "var(--seed-color-fg-neutral)"
23
+ }
24
+ },
25
+ "disabled": {
26
+ "label": {
27
+ "color": "var(--seed-color-fg-disabled)"
28
+ }
29
+ }
30
+ },
31
+ "toneTransparent": {
32
+ "enabled": {
33
+ "label": {
34
+ "color": "var(--seed-color-palette-static-white)"
35
+ }
36
+ },
37
+ "disabled": {
38
+ "label": {
39
+ "color": "var(--seed-color-fg-disabled)"
40
+ }
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,43 @@
1
+ export const vars = {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "height": "44px",
6
+ "paddingX": "var(--seed-dimension-x2_5)"
7
+ },
8
+ "label": {
9
+ "fontSize": "var(--seed-font-size-t5)",
10
+ "lineHeight": "var(--seed-line-height-t5)",
11
+ "fontWeight": "var(--seed-font-weight-medium)",
12
+ "maxFontSizeScale": "1.2",
13
+ "minFontSizeScale": "1",
14
+ "maxLineHeightScale": "1.2",
15
+ "minLineHeightScale": "1"
16
+ }
17
+ }
18
+ },
19
+ "toneLayer": {
20
+ "enabled": {
21
+ "label": {
22
+ "color": "var(--seed-color-fg-neutral)"
23
+ }
24
+ },
25
+ "disabled": {
26
+ "label": {
27
+ "color": "var(--seed-color-fg-disabled)"
28
+ }
29
+ }
30
+ },
31
+ "toneTransparent": {
32
+ "enabled": {
33
+ "label": {
34
+ "color": "var(--seed-color-palette-static-white)"
35
+ }
36
+ },
37
+ "disabled": {
38
+ "label": {
39
+ "color": "var(--seed-color-fg-disabled)"
40
+ }
41
+ }
42
+ }
43
+ }
@@ -2,24 +2,20 @@ export declare const vars: {
2
2
  "themeCupertino": {
3
3
  "enabled": {
4
4
  "root": {
5
- "minHeight": "44px",
5
+ "height": "44px",
6
6
  "paddingX": "var(--seed-dimension-x4)"
7
- },
8
- "icon": {
9
- "size": "24px",
10
- "targetSize": "44px"
11
7
  }
12
8
  }
13
9
  },
14
10
  "themeAndroid": {
15
11
  "enabled": {
16
12
  "root": {
17
- "minHeight": "56px",
13
+ "height": "56px",
18
14
  "paddingX": "var(--seed-dimension-x4)"
19
15
  },
20
- "icon": {
21
- "size": "24px",
22
- "targetSize": "44px"
16
+ /** title과 subtitle을 포함하는 영역입니다. */
17
+ "main": {
18
+ "paddingLeft": "16px"
23
19
  }
24
20
  }
25
21
  },
@@ -33,9 +29,6 @@ export declare const vars: {
33
29
  },
34
30
  "subtitle": {
35
31
  "color": "var(--seed-color-fg-neutral-muted)"
36
- },
37
- "icon": {
38
- "color": "var(--seed-color-fg-neutral)"
39
32
  }
40
33
  }
41
34
  },
@@ -49,9 +42,6 @@ export declare const vars: {
49
42
  },
50
43
  "subtitle": {
51
44
  "color": "var(--seed-color-palette-static-white)"
52
- },
53
- "icon": {
54
- "color": "var(--seed-color-palette-static-white)"
55
45
  }
56
46
  }
57
47
  },
@@ -66,23 +56,35 @@ export declare const vars: {
66
56
  "titleLayoutTitleOnly": {
67
57
  "enabled": {
68
58
  "title": {
69
- "fontSize": "var(--seed-font-size-t6-static)",
59
+ "fontSize": "var(--seed-font-size-t6)",
70
60
  "fontWeight": "var(--seed-font-weight-bold)",
71
- "lineHeight": "var(--seed-line-height-t6-static)"
61
+ "lineHeight": "var(--seed-line-height-t6)",
62
+ "maxFontSizeScale": "1.2",
63
+ "minFontSizeScale": "1",
64
+ "maxLineHeightScale": "1.2",
65
+ "minLineHeightScale": "1"
72
66
  }
73
67
  }
74
68
  },
75
69
  "titleLayoutWithSubtitle": {
76
70
  "enabled": {
77
71
  "title": {
78
- "fontSize": "var(--seed-font-size-t5-static)",
72
+ "fontSize": "var(--seed-font-size-t5)",
79
73
  "fontWeight": "var(--seed-font-weight-bold)",
80
- "lineHeight": "var(--seed-line-height-t5-static)"
74
+ "lineHeight": "var(--seed-line-height-t5)",
75
+ "maxFontSizeScale": "1.2",
76
+ "minFontSizeScale": "1",
77
+ "maxLineHeightScale": "1.2",
78
+ "minLineHeightScale": "1"
81
79
  },
82
80
  "subtitle": {
83
- "fontSize": "var(--seed-font-size-t2-static)",
81
+ "fontSize": "var(--seed-font-size-t2)",
84
82
  "fontWeight": "var(--seed-font-weight-regular)",
85
- "lineHeight": "var(--seed-line-height-t2-static)"
83
+ "lineHeight": "var(--seed-line-height-t2)",
84
+ "maxFontSizeScale": "1.2",
85
+ "minFontSizeScale": "1",
86
+ "maxLineHeightScale": "1.2",
87
+ "minLineHeightScale": "1"
86
88
  }
87
89
  }
88
90
  }
@@ -2,24 +2,19 @@ export const vars = {
2
2
  "themeCupertino": {
3
3
  "enabled": {
4
4
  "root": {
5
- "minHeight": "44px",
5
+ "height": "44px",
6
6
  "paddingX": "var(--seed-dimension-x4)"
7
- },
8
- "icon": {
9
- "size": "24px",
10
- "targetSize": "44px"
11
7
  }
12
8
  }
13
9
  },
14
10
  "themeAndroid": {
15
11
  "enabled": {
16
12
  "root": {
17
- "minHeight": "56px",
13
+ "height": "56px",
18
14
  "paddingX": "var(--seed-dimension-x4)"
19
15
  },
20
- "icon": {
21
- "size": "24px",
22
- "targetSize": "44px"
16
+ "main": {
17
+ "paddingLeft": "16px"
23
18
  }
24
19
  }
25
20
  },
@@ -33,9 +28,6 @@ export const vars = {
33
28
  },
34
29
  "subtitle": {
35
30
  "color": "var(--seed-color-fg-neutral-muted)"
36
- },
37
- "icon": {
38
- "color": "var(--seed-color-fg-neutral)"
39
31
  }
40
32
  }
41
33
  },
@@ -49,9 +41,6 @@ export const vars = {
49
41
  },
50
42
  "subtitle": {
51
43
  "color": "var(--seed-color-palette-static-white)"
52
- },
53
- "icon": {
54
- "color": "var(--seed-color-palette-static-white)"
55
44
  }
56
45
  }
57
46
  },
@@ -66,23 +55,35 @@ export const vars = {
66
55
  "titleLayoutTitleOnly": {
67
56
  "enabled": {
68
57
  "title": {
69
- "fontSize": "var(--seed-font-size-t6-static)",
58
+ "fontSize": "var(--seed-font-size-t6)",
70
59
  "fontWeight": "var(--seed-font-weight-bold)",
71
- "lineHeight": "var(--seed-line-height-t6-static)"
60
+ "lineHeight": "var(--seed-line-height-t6)",
61
+ "maxFontSizeScale": "1.2",
62
+ "minFontSizeScale": "1",
63
+ "maxLineHeightScale": "1.2",
64
+ "minLineHeightScale": "1"
72
65
  }
73
66
  }
74
67
  },
75
68
  "titleLayoutWithSubtitle": {
76
69
  "enabled": {
77
70
  "title": {
78
- "fontSize": "var(--seed-font-size-t5-static)",
71
+ "fontSize": "var(--seed-font-size-t5)",
79
72
  "fontWeight": "var(--seed-font-weight-bold)",
80
- "lineHeight": "var(--seed-line-height-t5-static)"
73
+ "lineHeight": "var(--seed-line-height-t5)",
74
+ "maxFontSizeScale": "1.2",
75
+ "minFontSizeScale": "1",
76
+ "maxLineHeightScale": "1.2",
77
+ "minLineHeightScale": "1"
81
78
  },
82
79
  "subtitle": {
83
- "fontSize": "var(--seed-font-size-t2-static)",
80
+ "fontSize": "var(--seed-font-size-t2)",
84
81
  "fontWeight": "var(--seed-font-weight-regular)",
85
- "lineHeight": "var(--seed-line-height-t2-static)"
82
+ "lineHeight": "var(--seed-line-height-t2)",
83
+ "maxFontSizeScale": "1.2",
84
+ "minFontSizeScale": "1",
85
+ "maxLineHeightScale": "1.2",
86
+ "minLineHeightScale": "1"
86
87
  }
87
88
  }
88
89
  }