@seed-design/rootage-artifacts 1.2.12 → 2.1.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 (127) hide show
  1. package/__generated__/collections.json +53 -0
  2. package/__generated__/color.json +2465 -0
  3. package/__generated__/components/accordion-item.json +501 -0
  4. package/__generated__/components/accordion.json +86 -0
  5. package/__generated__/components/action-button.json +1568 -0
  6. package/__generated__/components/action-chip.json +454 -0
  7. package/__generated__/components/action-sheet-close-button.json +115 -0
  8. package/__generated__/components/action-sheet-item.json +159 -0
  9. package/__generated__/components/action-sheet.json +269 -0
  10. package/__generated__/components/attachment-input-dropzone.json +145 -0
  11. package/__generated__/components/attachment-input-item-action-button.json +149 -0
  12. package/__generated__/components/attachment-input-item-remove-button.json +127 -0
  13. package/__generated__/components/attachment-input-item.json +448 -0
  14. package/__generated__/components/attachment-input-trigger.json +210 -0
  15. package/__generated__/components/attachment-input.json +58 -0
  16. package/__generated__/components/avatar-stack.json +396 -0
  17. package/__generated__/components/avatar.json +698 -0
  18. package/__generated__/components/badge.json +759 -0
  19. package/__generated__/components/bottom-sheet-close-button.json +106 -0
  20. package/__generated__/components/bottom-sheet-handle.json +136 -0
  21. package/__generated__/components/bottom-sheet.json +435 -0
  22. package/__generated__/components/callout.json +613 -0
  23. package/__generated__/components/checkbox-group.json +43 -0
  24. package/__generated__/components/checkbox.json +196 -0
  25. package/__generated__/components/checkmark.json +573 -0
  26. package/__generated__/components/chip-tablist.json +107 -0
  27. package/__generated__/components/chip.json +929 -0
  28. package/__generated__/components/content-placeholder.json +171 -0
  29. package/__generated__/components/contextual-floating-button.json +473 -0
  30. package/__generated__/components/control-chip.json +524 -0
  31. package/__generated__/components/dialog.json +307 -0
  32. package/__generated__/components/divider.json +46 -0
  33. package/__generated__/components/extended-action-sheet-close-button.json +122 -0
  34. package/__generated__/components/extended-action-sheet-item.json +197 -0
  35. package/__generated__/components/extended-action-sheet.json +308 -0
  36. package/__generated__/components/extended-fab.json +337 -0
  37. package/__generated__/components/fab.json +124 -0
  38. package/__generated__/components/field-label.json +108 -0
  39. package/__generated__/components/field.json +381 -0
  40. package/__generated__/components/floating-action-button.json +259 -0
  41. package/__generated__/components/help-bubble.json +310 -0
  42. package/__generated__/components/identity-placeholder.json +56 -0
  43. package/__generated__/components/image-frame-floater.json +47 -0
  44. package/__generated__/components/image-frame-indicator.json +99 -0
  45. package/__generated__/components/image-frame-reaction-button.json +132 -0
  46. package/__generated__/components/image-frame.json +97 -0
  47. package/__generated__/components/inline-banner.json +581 -0
  48. package/__generated__/components/input-button.json +558 -0
  49. package/__generated__/components/link-content.json +210 -0
  50. package/__generated__/components/list-header.json +133 -0
  51. package/__generated__/components/list-item.json +401 -0
  52. package/__generated__/components/manner-temp-badge.json +373 -0
  53. package/__generated__/components/manner-temp.json +309 -0
  54. package/__generated__/components/menu-item.json +448 -0
  55. package/__generated__/components/menu-sheet-close-button.json +121 -0
  56. package/__generated__/components/menu-sheet-item.json +284 -0
  57. package/__generated__/components/menu-sheet.json +314 -0
  58. package/__generated__/components/menu.json +319 -0
  59. package/__generated__/components/notification-badge.json +232 -0
  60. package/__generated__/components/page-banner.json +956 -0
  61. package/__generated__/components/progress-circle.json +318 -0
  62. package/__generated__/components/radio-group.json +43 -0
  63. package/__generated__/components/radio.json +196 -0
  64. package/__generated__/components/radiomark.json +399 -0
  65. package/__generated__/components/reaction-button.json +504 -0
  66. package/__generated__/components/scroll-fog.json +60 -0
  67. package/__generated__/components/segmented-control-indicator.json +107 -0
  68. package/__generated__/components/segmented-control-item.json +205 -0
  69. package/__generated__/components/segmented-control.json +57 -0
  70. package/__generated__/components/select-box-checkmark.json +149 -0
  71. package/__generated__/components/select-box-group.json +50 -0
  72. package/__generated__/components/select-box.json +468 -0
  73. package/__generated__/components/side-panel-close-button.json +120 -0
  74. package/__generated__/components/side-panel.json +434 -0
  75. package/__generated__/components/skeleton.json +236 -0
  76. package/__generated__/components/slider-thumb.json +114 -0
  77. package/__generated__/components/slider-tick.json +97 -0
  78. package/__generated__/components/slider.json +395 -0
  79. package/__generated__/components/snackbar.json +360 -0
  80. package/__generated__/components/switch.json +207 -0
  81. package/__generated__/components/switchmark.json +502 -0
  82. package/__generated__/components/tab.json +189 -0
  83. package/__generated__/components/tablist.json +225 -0
  84. package/__generated__/components/tag-group-item.json +402 -0
  85. package/__generated__/components/tag-group.json +137 -0
  86. package/__generated__/components/text-button.json +114 -0
  87. package/__generated__/components/text-input.json +886 -0
  88. package/__generated__/components/toggle-button.json +641 -0
  89. package/__generated__/components/top-navigation-icon-button.json +139 -0
  90. package/__generated__/components/top-navigation-text-button.json +225 -0
  91. package/__generated__/components/top-navigation.json +438 -0
  92. package/__generated__/components/typography.json +2674 -0
  93. package/__generated__/dimension.json +275 -0
  94. package/__generated__/duration.json +95 -0
  95. package/__generated__/font-size.json +338 -0
  96. package/__generated__/font-weight.json +36 -0
  97. package/__generated__/gradient.json +247 -0
  98. package/__generated__/index.json +309 -0
  99. package/__generated__/line-height.json +338 -0
  100. package/__generated__/radius.json +133 -0
  101. package/__generated__/shadow.json +170 -0
  102. package/__generated__/timing-function.json +103 -0
  103. package/collections.yaml +15 -3
  104. package/color.yaml +14 -6
  105. package/components/accordion-item.yaml +193 -0
  106. package/components/accordion.yaml +33 -0
  107. package/components/attachment-input-dropzone.yaml +55 -0
  108. package/components/attachment-input-item-action-button.yaml +53 -0
  109. package/components/attachment-input-item-remove-button.yaml +48 -0
  110. package/components/attachment-input-item.yaml +168 -0
  111. package/components/attachment-input-trigger.yaml +81 -0
  112. package/components/attachment-input.yaml +25 -0
  113. package/components/chip-tablist.yaml +0 -4
  114. package/components/image-frame.yaml +0 -20
  115. package/components/input-button.yaml +67 -20
  116. package/components/menu-item.yaml +162 -0
  117. package/components/menu-sheet-close-button.yaml +0 -1
  118. package/components/menu.yaml +124 -0
  119. package/components/side-panel-close-button.yaml +44 -0
  120. package/components/side-panel.yaml +170 -0
  121. package/components/text-input.yaml +61 -18
  122. package/components/typography.yaml +276 -0
  123. package/font-size.yaml +32 -0
  124. package/gradient.yaml +0 -38
  125. package/line-height.yaml +32 -0
  126. package/package.json +11 -3
  127. package/components/chip-tab.yaml +0 -137
@@ -0,0 +1,103 @@
1
+ {
2
+ "kind": "Tokens",
3
+ "metadata": {
4
+ "id": "timing-function",
5
+ "name": "Timing Function"
6
+ },
7
+ "data": {
8
+ "collection": "global",
9
+ "tokens": {
10
+ "$timing-function.linear": {
11
+ "values": {
12
+ "default": {
13
+ "type": "cubicBezier",
14
+ "value": [
15
+ 0,
16
+ 0,
17
+ 1,
18
+ 1
19
+ ]
20
+ }
21
+ }
22
+ },
23
+ "$timing-function.easing": {
24
+ "values": {
25
+ "default": {
26
+ "type": "cubicBezier",
27
+ "value": [
28
+ 0.35,
29
+ 0,
30
+ 0.35,
31
+ 1
32
+ ]
33
+ }
34
+ }
35
+ },
36
+ "$timing-function.enter": {
37
+ "values": {
38
+ "default": {
39
+ "type": "cubicBezier",
40
+ "value": [
41
+ 0,
42
+ 0,
43
+ 0.15,
44
+ 1
45
+ ]
46
+ }
47
+ }
48
+ },
49
+ "$timing-function.exit": {
50
+ "values": {
51
+ "default": {
52
+ "type": "cubicBezier",
53
+ "value": [
54
+ 0.35,
55
+ 0,
56
+ 1,
57
+ 1
58
+ ]
59
+ }
60
+ }
61
+ },
62
+ "$timing-function.enter-expressive": {
63
+ "values": {
64
+ "default": {
65
+ "type": "cubicBezier",
66
+ "value": [
67
+ 0.03,
68
+ 0.4,
69
+ 0.1,
70
+ 1
71
+ ]
72
+ }
73
+ }
74
+ },
75
+ "$timing-function.exit-expressive": {
76
+ "values": {
77
+ "default": {
78
+ "type": "cubicBezier",
79
+ "value": [
80
+ 0.35,
81
+ 0,
82
+ 0.95,
83
+ 0.55
84
+ ]
85
+ }
86
+ }
87
+ },
88
+ "$timing-function.pressed-scale": {
89
+ "values": {
90
+ "default": {
91
+ "type": "cubicBezier",
92
+ "value": [
93
+ 0,
94
+ 0,
95
+ 0.15,
96
+ 1
97
+ ]
98
+ }
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
package/collections.yaml CHANGED
@@ -5,8 +5,20 @@ metadata:
5
5
  data:
6
6
  - name: global
7
7
  modes:
8
- - default
8
+ - id: default
9
9
  - name: color
10
10
  modes:
11
- - theme-light
12
- - theme-dark
11
+ - id: theme-light
12
+ - id: theme-dark
13
+ - name: viewport-width
14
+ modes:
15
+ - id: base
16
+ description: "세로 모드 폰"
17
+ - id: sm
18
+ description: "가로 모드 폰 또는 좁은 태블릿"
19
+ - id: md
20
+ description: "태블릿"
21
+ - id: lg
22
+ description: "데스크톱"
23
+ - id: xl
24
+ description: "넓은 데스크톱"
package/color.yaml CHANGED
@@ -2,7 +2,7 @@ kind: Tokens
2
2
  metadata:
3
3
  id: color
4
4
  name: Color
5
- lastUpdated: 26-01-15
5
+ lastUpdated: 26-06-15
6
6
  data:
7
7
  collection: color
8
8
  tokens:
@@ -540,7 +540,7 @@ data:
540
540
  theme-light: $color.palette.gray-100
541
541
  theme-dark: $color.palette.gray-300
542
542
  $color.bg.layer-fill:
543
- description: "@deprecated `@seed-design/css@1.3.0`에서 제거될 예정입니다."
543
+ description: "@deprecated @seed-design/css@3.0.0에서 이름 토큰으로 대체·제거될 예정입니다."
544
544
  values:
545
545
  theme-light: $color.palette.gray-100
546
546
  theme-dark: $color.palette.gray-200
@@ -639,6 +639,14 @@ data:
639
639
  values:
640
640
  theme-light: $color.palette.static-black-alpha-100
641
641
  theme-dark: $color.palette.static-white-alpha-50
642
+ $color.bg.transparent-selected:
643
+ values:
644
+ theme-light: $color.palette.static-black-alpha-200
645
+ theme-dark: $color.palette.static-white-alpha-100
646
+ $color.bg.transparent-selected-pressed:
647
+ values:
648
+ theme-light: $color.palette.static-black-alpha-300
649
+ theme-dark: $color.palette.static-white-alpha-200
642
650
  $color.bg.warning-solid:
643
651
  description: 사용자의 주의가 필요한 경고 메시지나 안내 사항을 전달하는 데 사용됩니다. (solid)
644
652
  values:
@@ -679,6 +687,10 @@ data:
679
687
  values:
680
688
  theme-light: $color.palette.red-300
681
689
  theme-dark: $color.palette.red-300
690
+ $color.stroke.focus-ring:
691
+ values:
692
+ theme-light: $color.palette.blue-600
693
+ theme-dark: $color.palette.blue-600
682
694
  $color.stroke.informative-solid:
683
695
  description: 사용자에게 유용한 정보를 제공하거나 상태를 설명할 때 사용됩니다. (solid)
684
696
  values:
@@ -734,10 +746,6 @@ data:
734
746
  values:
735
747
  theme-light: $color.palette.yellow-300
736
748
  theme-dark: $color.palette.yellow-300
737
- $color.stroke.focus-ring:
738
- values:
739
- theme-light: $color.palette.blue-600
740
- theme-dark: $color.palette.blue-600
741
749
  $color.manner-temp.l1.bg:
742
750
  values:
743
751
  theme-light: "#f1f2f3"
@@ -0,0 +1,193 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: accordion-item
5
+ name: Accordion Item
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ strokeColor:
12
+ type: color
13
+ strokeWidth:
14
+ type: dimension
15
+ cornerRadius:
16
+ type: dimension
17
+ dividerColor:
18
+ type: color
19
+ dividerPaddingX:
20
+ type: dimension
21
+ colorDuration:
22
+ type: duration
23
+ colorTimingFunction:
24
+ type: cubicBezier
25
+ trigger:
26
+ properties:
27
+ paddingX:
28
+ type: dimension
29
+ paddingY:
30
+ type: dimension
31
+ color:
32
+ type: color
33
+ marginX:
34
+ type: dimension
35
+ cornerRadius:
36
+ type: dimension
37
+ prefix:
38
+ properties:
39
+ paddingRight:
40
+ type: dimension
41
+ prefixIcon:
42
+ properties:
43
+ size:
44
+ type: dimension
45
+ color:
46
+ type: color
47
+ title:
48
+ properties:
49
+ fontSize:
50
+ type: dimension
51
+ lineHeight:
52
+ type: dimension
53
+ fontWeight:
54
+ type: number
55
+ color:
56
+ type: color
57
+ description:
58
+ properties:
59
+ fontSize:
60
+ type: dimension
61
+ lineHeight:
62
+ type: dimension
63
+ fontWeight:
64
+ type: number
65
+ color:
66
+ type: color
67
+ suffixIcon:
68
+ properties:
69
+ size:
70
+ type: dimension
71
+ color:
72
+ type: color
73
+ paddingLeft:
74
+ type: dimension
75
+ rotateDuration:
76
+ type: duration
77
+ rotateTimingFunction:
78
+ type: cubicBezier
79
+ body:
80
+ properties:
81
+ gap:
82
+ type: dimension
83
+ content:
84
+ properties:
85
+ expandHeightDuration:
86
+ type: duration
87
+ expandHeightTimingFunction:
88
+ type: cubicBezier
89
+ collapseHeightDuration:
90
+ type: duration
91
+ collapseHeightTimingFunction:
92
+ type: cubicBezier
93
+ variants:
94
+ variant:
95
+ values:
96
+ inline:
97
+ description: Accordion Item들이 하나의 연속된 목록처럼 표현됩니다. 밀접하게 관련된 항목들을 컴팩트하게 나열할 때 사용합니다.
98
+ separated:
99
+ description: 각 Accordion Item이 개별 카드 형태로 분리되어 표현됩니다. 항목 간 시각적 독립성이 필요하거나, 각 섹션의 중요도가 동등할 때 사용합니다.
100
+ size:
101
+ values:
102
+ medium: {}
103
+ large: {}
104
+ definitions:
105
+ base:
106
+ enabled:
107
+ root:
108
+ colorDuration: $duration.color-transition
109
+ colorTimingFunction: $timing-function.easing
110
+ trigger:
111
+ paddingX: $dimension.spacing-x.global-gutter
112
+ body:
113
+ gap: $dimension.x0_5
114
+ prefixIcon:
115
+ color: $color.fg.neutral
116
+ title:
117
+ color: $color.fg.neutral
118
+ fontWeight: $font-weight.medium
119
+ description:
120
+ color: $color.fg.neutral-subtle
121
+ fontWeight: $font-weight.medium
122
+ suffixIcon:
123
+ color: $color.fg.neutral-subtle
124
+ rotateDuration: $duration.d6
125
+ rotateTimingFunction: $timing-function.easing
126
+ content:
127
+ expandHeightDuration: $duration.d6
128
+ expandHeightTimingFunction: $timing-function.easing
129
+ collapseHeightDuration: $duration.d6
130
+ collapseHeightTimingFunction: $timing-function.easing
131
+ disabled:
132
+ prefixIcon:
133
+ color: $color.fg.disabled
134
+ title:
135
+ color: $color.fg.disabled
136
+ description:
137
+ color: $color.fg.disabled
138
+ suffixIcon:
139
+ color: $color.fg.disabled
140
+ pressed:
141
+ trigger:
142
+ color: $color.bg.transparent-pressed
143
+ marginX: $dimension.x1_5
144
+ cornerRadius: $dimension.x2_5
145
+
146
+ size=medium:
147
+ enabled:
148
+ trigger:
149
+ paddingY: $dimension.x4
150
+ prefix:
151
+ paddingRight: $dimension.x3
152
+ prefixIcon:
153
+ size: 22px
154
+ title:
155
+ fontSize: $font-size.t5
156
+ lineHeight: $line-height.t5
157
+ description:
158
+ fontSize: $font-size.t3
159
+ lineHeight: $line-height.t3
160
+ suffixIcon:
161
+ size: $dimension.x5
162
+ paddingLeft: $dimension.x3
163
+
164
+ size=large:
165
+ enabled:
166
+ trigger:
167
+ paddingY: $dimension.x5
168
+ prefix:
169
+ paddingRight: $dimension.x3
170
+ prefixIcon:
171
+ size: 22px
172
+ title:
173
+ fontSize: $font-size.t7
174
+ lineHeight: $line-height.t7
175
+ description:
176
+ fontSize: $font-size.t5
177
+ lineHeight: $line-height.t5
178
+ suffixIcon:
179
+ size: $dimension.x6
180
+ paddingLeft: $dimension.x3
181
+
182
+ variant=inline:
183
+ enabled:
184
+ root:
185
+ dividerColor: $color.stroke.neutral-subtle
186
+ dividerPaddingX: $dimension.x3
187
+
188
+ variant=separated:
189
+ enabled:
190
+ root:
191
+ strokeColor: $color.stroke.neutral-muted
192
+ strokeWidth: 1px
193
+ cornerRadius: $radius.r3
@@ -0,0 +1,33 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: accordion
5
+ name: Accordion
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ gap:
12
+ type: dimension
13
+ variants:
14
+ variant:
15
+ values:
16
+ inline:
17
+ description: Accordion Item들이 하나의 연속된 목록처럼 표현됩니다. 밀접하게 관련된 항목들을 컴팩트하게 나열할 때 사용합니다.
18
+ separated:
19
+ description: 각 Accordion Item이 개별 카드 형태로 분리되어 표현됩니다. 항목 간 시각적 독립성이 필요하거나, 각 섹션의 중요도가 동등할 때 사용합니다.
20
+ size:
21
+ values:
22
+ medium: {}
23
+ large: {}
24
+ definitions:
25
+ variant=separated, size=medium:
26
+ enabled:
27
+ root:
28
+ gap: $dimension.x3
29
+
30
+ variant=separated, size=large:
31
+ enabled:
32
+ root:
33
+ gap: $dimension.x4
@@ -0,0 +1,55 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: attachment-input-dropzone
5
+ name: Attachment Input Dropzone
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ height:
12
+ type: dimension
13
+ gap:
14
+ type: dimension
15
+ paddingX:
16
+ type: dimension
17
+ cornerRadius:
18
+ type: dimension
19
+ strokeWidth:
20
+ type: dimension
21
+ strokeColor:
22
+ type: color
23
+ description: 파일을 root 위로 dragging over 하는 동안 border style이 dashed에서 solid로 변경됩니다.
24
+ label:
25
+ properties:
26
+ color:
27
+ type: color
28
+ fontSize:
29
+ type: dimension
30
+ lineHeight:
31
+ type: dimension
32
+ fontWeight:
33
+ type: number
34
+ definitions:
35
+ base:
36
+ enabled:
37
+ root:
38
+ height: 120px
39
+ gap: $dimension.x2
40
+ paddingX: $dimension.x4
41
+ cornerRadius: $radius.r3
42
+ strokeWidth: 1px
43
+ strokeColor: $color.palette.gray-500
44
+ # strokeStyle: dashed # maybe implement later
45
+ label:
46
+ color: $color.fg.neutral-subtle
47
+ fontSize: $font-size.t4
48
+ lineHeight: $font-size.t4
49
+ fontWeight: $font-weight.medium
50
+ draggingOver:
51
+ root:
52
+ strokeColor: $color.stroke.neutral-solid
53
+ disabled:
54
+ label:
55
+ color: $color.fg.disabled
@@ -0,0 +1,53 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: attachment-input-item-action-button
5
+ name: Attachment Input Item Action Button
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ gap:
12
+ type: dimension
13
+ icon:
14
+ properties:
15
+ color:
16
+ type: color
17
+ size:
18
+ type: dimension
19
+ label:
20
+ properties:
21
+ color:
22
+ type: color
23
+ fontSize:
24
+ type: dimension
25
+ lineHeight:
26
+ type: dimension
27
+ fontWeight:
28
+ type: number
29
+ definitions:
30
+ base:
31
+ enabled:
32
+ root:
33
+ gap: $dimension.x1
34
+ icon:
35
+ size: $dimension.x6
36
+ label:
37
+ fontSize: $font-size.t2
38
+ lineHeight: $line-height.t2
39
+ fontWeight: $font-weight.medium
40
+
41
+ type=file:
42
+ enabled:
43
+ icon:
44
+ color: $color.fg.neutral-subtle
45
+ label:
46
+ color: $color.fg.neutral-subtle
47
+
48
+ type=image:
49
+ enabled:
50
+ icon:
51
+ color: $color.palette.static-white
52
+ label:
53
+ color: $color.palette.static-white
@@ -0,0 +1,48 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: attachment-input-item-remove-button
5
+ name: Attachment Input Item Remove Button
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ size:
12
+ type: dimension
13
+ cornerRadius:
14
+ type: dimension
15
+ color:
16
+ type: color
17
+ strokeWidth:
18
+ type: dimension
19
+ strokeColor:
20
+ type: color
21
+ offset:
22
+ type: dimension
23
+ icon:
24
+ properties:
25
+ size:
26
+ type: dimension
27
+ color:
28
+ type: color
29
+ definitions:
30
+ base:
31
+ enabled:
32
+ root:
33
+ size: $dimension.x5
34
+ # targetSize: $dimension.x5
35
+ cornerRadius: $radius.full
36
+ color: $color.bg.layer-default
37
+ strokeWidth: 1px
38
+ strokeColor: $color.stroke.neutral-weak
39
+ offset: $dimension.x1
40
+ icon:
41
+ size: $dimension.x2_5
42
+ color: $color.fg.neutral
43
+ pressed:
44
+ root:
45
+ color: $color.bg.layer-default-pressed
46
+ disabled:
47
+ icon:
48
+ color: $color.fg.disabled