@seed-design/rootage-artifacts 1.1.7 → 1.2.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.
Files changed (44) hide show
  1. package/color.yaml +73 -1
  2. package/components/action-button.yaml +35 -0
  3. package/components/avatar.yaml +2 -1
  4. package/components/badge.yaml +22 -0
  5. package/components/callout.yaml +17 -0
  6. package/components/checkbox-group.yaml +17 -0
  7. package/components/checkbox.yaml +0 -1
  8. package/components/checkmark.yaml +11 -1
  9. package/components/chip-tab.yaml +2 -2
  10. package/components/chip.yaml +14 -2
  11. package/components/contextual-floating-button.yaml +13 -0
  12. package/components/extended-fab.yaml +7 -0
  13. package/components/field.yaml +2 -0
  14. package/components/floating-action-button.yaml +7 -0
  15. package/components/help-bubble.yaml +14 -8
  16. package/components/image-frame-floater.yaml +18 -0
  17. package/components/image-frame-indicator.yaml +42 -0
  18. package/components/image-frame-reaction-button.yaml +43 -0
  19. package/components/image-frame.yaml +50 -0
  20. package/components/input-button.yaml +5 -10
  21. package/components/menu-sheet-item.yaml +13 -0
  22. package/components/notification-badge.yaml +7 -0
  23. package/components/page-banner.yaml +12 -0
  24. package/components/progress-circle.yaml +21 -0
  25. package/components/radio-group.yaml +17 -0
  26. package/components/radio.yaml +0 -1
  27. package/components/radiomark.yaml +5 -1
  28. package/components/scroll-fog.yaml +0 -1
  29. package/components/segmented-control-item.yaml +0 -1
  30. package/components/segmented-control.yaml +1 -2
  31. package/components/select-box-checkmark.yaml +52 -0
  32. package/components/select-box-group.yaml +20 -0
  33. package/components/select-box.yaml +117 -31
  34. package/components/skeleton.yaml +17 -0
  35. package/components/switch.yaml +0 -1
  36. package/components/{switch-mark.yaml → switchmark.yaml} +10 -3
  37. package/components/text-input.yaml +12 -10
  38. package/components/toggle-button.yaml +7 -0
  39. package/components/top-navigation.yaml +0 -1
  40. package/components/typography.yaml +63 -0
  41. package/font-size.yaml +10 -0
  42. package/gradient.yaml +11 -7
  43. package/line-height.yaml +10 -0
  44. package/package.json +1 -1
@@ -52,6 +52,13 @@ data:
52
52
  type: dimension
53
53
  fontWeight:
54
54
  type: number
55
+ variants:
56
+ extended:
57
+ values:
58
+ "true":
59
+ description: 라벨이 포함된 확장 형태로, 버튼의 역할을 명확히 전달합니다.
60
+ "false":
61
+ description: 아이콘만 표시되는 기본 형태입니다.
55
62
  definitions:
56
63
  base:
57
64
  enabled:
@@ -16,6 +16,8 @@ data:
16
16
  type: dimension
17
17
  paddingY:
18
18
  type: dimension
19
+ gap:
20
+ type: dimension
19
21
  enterScale:
20
22
  type: number
21
23
  enterOpacity:
@@ -48,6 +50,10 @@ data:
48
50
  padding:
49
51
  type: dimension
50
52
  description: arrow와 root의 경계 사이의 최소 간격을 정의합니다.
53
+ body:
54
+ properties:
55
+ gap:
56
+ type: dimension
51
57
  title:
52
58
  properties:
53
59
  color:
@@ -72,14 +78,12 @@ data:
72
78
  properties:
73
79
  color:
74
80
  type: color
75
- fromRight:
76
- type: dimension
77
- fromTop:
78
- type: dimension
79
81
  size:
80
82
  type: dimension
81
83
  targetSize:
82
84
  type: dimension
85
+ marginTop:
86
+ type: dimension
83
87
  definitions:
84
88
  base:
85
89
  enabled:
@@ -88,6 +92,7 @@ data:
88
92
  cornerRadius: $radius.r3
89
93
  paddingX: $dimension.x3
90
94
  paddingY: $dimension.x2_5
95
+ gap: $dimension.x1
91
96
  enterScale: 0.9
92
97
  enterOpacity: 0
93
98
  enterDuration: $duration.d4
@@ -103,6 +108,8 @@ data:
103
108
  cornerRadius: 2px
104
109
  gutter: 4px
105
110
  padding: 14px
111
+ body:
112
+ gap: $dimension.x0_5
106
113
  title:
107
114
  color: $color.fg.neutral-inverted
108
115
  fontSize: $font-size.t3
@@ -115,7 +122,6 @@ data:
115
122
  lineHeight: $line-height.t3
116
123
  closeButton:
117
124
  color: $color.fg.neutral-inverted
118
- fromRight: 12px
119
- fromTop: 12px
120
- size: 14px
121
- targetSize: 32px
125
+ size: $dimension.x3_5
126
+ targetSize: 38px
127
+ marginTop: $dimension.x0_5
@@ -0,0 +1,18 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: image-frame-floater
5
+ name: Image Frame Floater
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ offset:
12
+ type: dimension
13
+ description: 오버레이가 이미지 프레임 가장자리에서 떨어진 거리입니다.
14
+ definitions:
15
+ base:
16
+ enabled:
17
+ root:
18
+ offset: 6px
@@ -0,0 +1,42 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: image-frame-indicator
5
+ name: Image Frame Indicator
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ color:
12
+ type: color
13
+ description: 인디케이터 배경색입니다.
14
+ cornerRadius:
15
+ type: dimension
16
+ paddingX:
17
+ type: dimension
18
+ paddingY:
19
+ type: dimension
20
+ label:
21
+ properties:
22
+ color:
23
+ type: color
24
+ fontSize:
25
+ type: dimension
26
+ lineHeight:
27
+ type: dimension
28
+ fontWeight:
29
+ type: number
30
+ definitions:
31
+ base:
32
+ enabled:
33
+ root:
34
+ color: $color.palette.static-black-alpha-800
35
+ cornerRadius: $radius.full
36
+ paddingX: $dimension.x1_5
37
+ paddingY: $dimension.x0_5
38
+ label:
39
+ color: $color.palette.static-white
40
+ fontSize: $font-size.t1
41
+ lineHeight: $line-height.t1
42
+ fontWeight: $font-weight.medium
@@ -0,0 +1,43 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: image-frame-reaction-button
5
+ name: Image Frame Reaction Button
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ description: 하트 아이콘 토글 버튼입니다. 이미지 위에서 좋아요 기능에 사용됩니다.
11
+ properties:
12
+ color:
13
+ type: color
14
+ description: 버튼 배경색입니다.
15
+ cornerRadius:
16
+ type: dimension
17
+ size:
18
+ type: dimension
19
+ description: 보이는 버튼 크기입니다.
20
+ targetSize:
21
+ type: dimension
22
+ description: 터치 영역 크기입니다.
23
+ icon:
24
+ description: 하트 아이콘입니다. 기본 상태에서는 IconHeartLine, 선택 상태에서는 IconHeartFill을 사용합니다.
25
+ properties:
26
+ color:
27
+ type: color
28
+ size:
29
+ type: dimension
30
+ definitions:
31
+ base:
32
+ enabled:
33
+ root:
34
+ color: $color.palette.static-black-alpha-200
35
+ cornerRadius: $radius.full
36
+ size: $dimension.x6
37
+ targetSize: $dimension.x10
38
+ icon:
39
+ color: $color.fg.neutral-inverted
40
+ size: $dimension.x6
41
+ selected:
42
+ icon:
43
+ color: $color.fg.brand
@@ -0,0 +1,50 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: image-frame
5
+ name: Image Frame
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ cornerRadius:
12
+ type: dimension
13
+ description: rounded 옵션 사용 시 적용되는 모서리 반경입니다.
14
+ strokeColor:
15
+ type: color
16
+ description: stroke 옵션 사용 시 적용되는 테두리 색상입니다.
17
+ strokeWidth:
18
+ type: dimension
19
+ description: stroke 옵션 사용 시 적용되는 테두리 두께입니다.
20
+ variants:
21
+ rounded:
22
+ values:
23
+ "true":
24
+ description: 모서리에 라운드 스타일을 적용합니다.
25
+ "false":
26
+ description: 모서리를 직각으로 유지합니다.
27
+ stroke:
28
+ values:
29
+ "true":
30
+ description: 이미지 테두리에 스트로크를 표시합니다.
31
+ "false":
32
+ description: 테두리를 표시하지 않습니다.
33
+ definitions:
34
+ rounded=true:
35
+ enabled:
36
+ root:
37
+ cornerRadius: $radius.r2
38
+ rounded=false:
39
+ enabled:
40
+ root:
41
+ cornerRadius: 0px
42
+ stroke=true:
43
+ enabled:
44
+ root:
45
+ strokeColor: $color.stroke.neutral-subtle
46
+ strokeWidth: 1px
47
+ stroke=false:
48
+ enabled:
49
+ root:
50
+ strokeWidth: 0px
@@ -26,13 +26,10 @@ data:
26
26
  type: duration
27
27
  colorTimingFunction:
28
28
  type: cubicBezier
29
- strokeColorDuration:
29
+ strokeDuration:
30
30
  type: duration
31
- strokeColorTimingFunction:
32
- type: cubicBezier
33
- strokeWidthDuration:
34
- type: duration
35
- strokeWidthTimingFunction:
31
+ description: 1px stroke 위에 2px stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
32
+ strokeTimingFunction:
36
33
  type: cubicBezier
37
34
  value:
38
35
  properties:
@@ -107,10 +104,8 @@ data:
107
104
  color: $color.bg.transparent
108
105
  colorDuration: $duration.color-transition
109
106
  colorTimingFunction: $timing-function.easing
110
- strokeColorDuration: $duration.color-transition
111
- strokeColorTimingFunction: $timing-function.easing
112
- strokeWidthDuration: $duration.color-transition
113
- strokeWidthTimingFunction: $timing-function.easing
107
+ strokeDuration: 0.1s
108
+ strokeTimingFunction: $timing-function.easing
114
109
 
115
110
  value:
116
111
  fontSize: $font-size.t5
@@ -48,6 +48,19 @@ data:
48
48
  type: dimension
49
49
  fontWeight:
50
50
  type: number
51
+ variants:
52
+ tone:
53
+ values:
54
+ neutral:
55
+ description: 일반적인 작업을 수행하는 기본 아이템입니다.
56
+ critical:
57
+ description: 데이터 삭제와 같이 되돌릴 수 없는 작업을 수행하는 아이템입니다.
58
+ labelAlign:
59
+ values:
60
+ left:
61
+ description: 라벨을 왼쪽 정렬합니다.
62
+ center:
63
+ description: 라벨을 중앙 정렬합니다.
51
64
  definitions:
52
65
  base:
53
66
  enabled:
@@ -36,6 +36,13 @@ data:
36
36
  type: dimension
37
37
  fontWeight:
38
38
  type: number
39
+ variants:
40
+ size:
41
+ values:
42
+ large:
43
+ description: 라벨을 포함해 구체적인 알림 수나 상태 정보를 제공합니다.
44
+ small:
45
+ description: 간결한 도트 형태로, 텍스트 없이 상태 변화만 표시합니다.
39
46
  definitions:
40
47
  base:
41
48
  enabled:
@@ -19,6 +19,7 @@ data:
19
19
  gradient:
20
20
  type: gradient
21
21
  prefixIcon:
22
+ description: 아이콘은 Fill 타입 사용을 권장합니다.
22
23
  properties:
23
24
  size:
24
25
  type: dimension
@@ -74,6 +75,17 @@ data:
74
75
  type: dimension
75
76
  color:
76
77
  type: color
78
+ variants:
79
+ variant:
80
+ values:
81
+ weak:
82
+ description: 배경색이 연한 스타일입니다.
83
+ solid:
84
+ description: 배경색이 진한 스타일입니다.
85
+ tone:
86
+ values:
87
+ magic:
88
+ description: AI 기능을 나타냅니다. variant=solid와 조합하여 사용하지 않습니다.
77
89
  definitions:
78
90
  base:
79
91
  enabled:
@@ -32,6 +32,27 @@ data:
32
32
  type: cubicBezier
33
33
  rotateTimingFunction:
34
34
  type: cubicBezier
35
+ variants:
36
+ size:
37
+ values:
38
+ "24":
39
+ description: 특정 요소 안에서 사용하는 경우 사용합니다.
40
+ "40":
41
+ description: 주로 전체 페이지 로딩에 사용합니다.
42
+ tone:
43
+ values:
44
+ neutral:
45
+ description: 가장 보편적으로 사용되며 스타일보다는 로딩 상태의 인식이 더 중요한 경우 사용합니다.
46
+ brand:
47
+ description: 사용자 경험의 초기 단계에서 브랜드 컬러를 통해 주요 전환점을 강조할 때 사용합니다.
48
+ staticWhite:
49
+ description: 화면 전체를 어둡게 덮는 오버레이(Overlay) 위에 로딩 상태를 표시할 때 사용합니다.
50
+ indeterminate:
51
+ values:
52
+ "true":
53
+ description: 대기 시간이 얼마나 남은지 모르는 상황일 때 사용합니다. 계속해서 회전하는 동작을 합니다.
54
+ "false":
55
+ description: 대기 시간이 얼마나 남은지 아는 상황일 때 사용합니다. 진행 상황에 맞춰서 원을 채웁니다.
35
56
  definitions:
36
57
  size=40:
37
58
  enabled:
@@ -0,0 +1,17 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: radio-group
5
+ name: Radio Group
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ gapY:
12
+ type: dimension
13
+ definitions:
14
+ base:
15
+ enabled:
16
+ root:
17
+ gapY: $dimension.x1
@@ -1,5 +1,4 @@
1
1
  # yaml-language-server: $schema=./schema.json
2
- # parts: root, label
3
2
  kind: ComponentSpec
4
3
  metadata:
5
4
  id: radio
@@ -1,5 +1,4 @@
1
1
  # yaml-language-server: $schema=./schema.json
2
- # parts: root, icon
3
2
  kind: ComponentSpec
4
3
  metadata:
5
4
  id: radiomark
@@ -31,6 +30,11 @@ data:
31
30
  type: color
32
31
  cornerRadius:
33
32
  type: dimension
33
+ variants:
34
+ tone:
35
+ values:
36
+ brand:
37
+ description: "[deprecated] 주요 버튼 등의 핵심 액션과 시각적으로 충돌하기에 더 이상 사용하지 않습니다."
34
38
  definitions:
35
39
  base:
36
40
  enabled:
@@ -1,5 +1,4 @@
1
1
  # yaml-language-server: $schema=./schema.json
2
- # parts: root
3
2
  kind: ComponentSpec
4
3
  metadata:
5
4
  id: scroll-fog
@@ -1,5 +1,4 @@
1
1
  # yaml-language-server: $schema=./schema.json
2
- # parts: root, segment, indicator
3
2
  kind: ComponentSpec
4
3
  metadata:
5
4
  id: segmented-control-item
@@ -1,5 +1,4 @@
1
1
  # yaml-language-server: $schema=./schema.json
2
- # parts: root, segment, indicator
3
2
  kind: ComponentSpec
4
3
  metadata:
5
4
  id: segmented-control
@@ -35,7 +34,7 @@ data:
35
34
  root:
36
35
  padding: $dimension.x1
37
36
  cornerRadius: $radius.full
38
- color: $color.bg.neutral-weak
37
+ color: $color.bg.neutral-weak-alpha
39
38
  indicator:
40
39
  color: $color.palette.gray-00
41
40
  cornerRadius: $radius.full
@@ -0,0 +1,52 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: select-box-checkmark
5
+ name: Select Box Checkmark
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ size:
12
+ type: dimension
13
+ icon:
14
+ properties:
15
+ size:
16
+ type: dimension
17
+ color:
18
+ type: color
19
+ colorDuration:
20
+ type: duration
21
+ colorTimingFunction:
22
+ type: cubicBezier
23
+ definitions:
24
+ base:
25
+ enabled:
26
+ root:
27
+ size: $dimension.x5
28
+ icon:
29
+ size: 15px
30
+ color: $color.fg.placeholder
31
+ colorDuration: $duration.color-transition
32
+ colorTimingFunction: $timing-function.easing
33
+
34
+ pressed:
35
+ icon:
36
+ color: $color.fg.neutral-subtle
37
+
38
+ enabled,selected:
39
+ icon:
40
+ color: $color.fg.neutral
41
+
42
+ enabled,selected,pressed:
43
+ icon:
44
+ color: $color.fg.neutral # being obvious
45
+
46
+ disabled:
47
+ icon:
48
+ color: $color.fg.disabled
49
+
50
+ disabled,selected:
51
+ icon:
52
+ color: $color.fg.disabled # being obvious
@@ -0,0 +1,20 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: select-box-group
5
+ name: Select Box Group
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ gapX:
12
+ type: dimension
13
+ gapY:
14
+ type: dimension
15
+ definitions:
16
+ base:
17
+ enabled:
18
+ root:
19
+ gapX: $dimension.x3
20
+ gapY: $dimension.spacing-y.component-default