@seed-design/rootage-artifacts 0.0.0-alpha-20260414104312

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 (91) hide show
  1. package/README.md +10 -0
  2. package/collections.yaml +24 -0
  3. package/color.yaml +855 -0
  4. package/components/action-button.yaml +460 -0
  5. package/components/action-chip.yaml +150 -0
  6. package/components/action-sheet-close-button.yaml +45 -0
  7. package/components/action-sheet-item.yaml +52 -0
  8. package/components/action-sheet.yaml +115 -0
  9. package/components/avatar-stack.yaml +86 -0
  10. package/components/avatar.yaml +161 -0
  11. package/components/badge.yaml +210 -0
  12. package/components/bottom-sheet-close-button.yaml +38 -0
  13. package/components/bottom-sheet-handle.yaml +48 -0
  14. package/components/bottom-sheet.yaml +156 -0
  15. package/components/callout.yaml +213 -0
  16. package/components/checkbox-group.yaml +17 -0
  17. package/components/checkbox.yaml +59 -0
  18. package/components/checkmark.yaml +152 -0
  19. package/components/chip-tablist.yaml +28 -0
  20. package/components/chip.yaml +267 -0
  21. package/components/content-placeholder.yaml +45 -0
  22. package/components/contextual-floating-button.yaml +161 -0
  23. package/components/control-chip.yaml +169 -0
  24. package/components/dialog.yaml +131 -0
  25. package/components/divider.yaml +17 -0
  26. package/components/extended-action-sheet-close-button.yaml +48 -0
  27. package/components/extended-action-sheet-item.yaml +67 -0
  28. package/components/extended-action-sheet.yaml +134 -0
  29. package/components/extended-fab.yaml +109 -0
  30. package/components/fab.yaml +46 -0
  31. package/components/field-label.yaml +33 -0
  32. package/components/field.yaml +159 -0
  33. package/components/floating-action-button.yaml +99 -0
  34. package/components/help-bubble.yaml +127 -0
  35. package/components/identity-placeholder.yaml +23 -0
  36. package/components/image-frame-floater.yaml +18 -0
  37. package/components/image-frame-indicator.yaml +42 -0
  38. package/components/image-frame-reaction-button.yaml +60 -0
  39. package/components/image-frame.yaml +37 -0
  40. package/components/inline-banner.yaml +197 -0
  41. package/components/input-button.yaml +171 -0
  42. package/components/link-content.yaml +61 -0
  43. package/components/list-header.yaml +43 -0
  44. package/components/list-item.yaml +149 -0
  45. package/components/manner-temp-badge.yaml +102 -0
  46. package/components/manner-temp.yaml +80 -0
  47. package/components/menu-item.yaml +156 -0
  48. package/components/menu-sheet-close-button.yaml +48 -0
  49. package/components/menu-sheet-item.yaml +104 -0
  50. package/components/menu-sheet.yaml +136 -0
  51. package/components/menu.yaml +117 -0
  52. package/components/notification-badge.yaml +74 -0
  53. package/components/page-banner.yaml +302 -0
  54. package/components/progress-circle.yaml +105 -0
  55. package/components/radio-group.yaml +17 -0
  56. package/components/radio.yaml +59 -0
  57. package/components/radiomark.yaml +113 -0
  58. package/components/reaction-button.yaml +161 -0
  59. package/components/scroll-fog.yaml +23 -0
  60. package/components/segmented-control-indicator.yaml +38 -0
  61. package/components/segmented-control-item.yaml +76 -0
  62. package/components/segmented-control.yaml +23 -0
  63. package/components/select-box-checkmark.yaml +52 -0
  64. package/components/select-box-group.yaml +20 -0
  65. package/components/select-box.yaml +176 -0
  66. package/components/skeleton.yaml +73 -0
  67. package/components/slider-thumb.yaml +45 -0
  68. package/components/slider-tick.yaml +27 -0
  69. package/components/slider.yaml +169 -0
  70. package/components/snackbar.yaml +137 -0
  71. package/components/switch.yaml +66 -0
  72. package/components/switchmark.yaml +147 -0
  73. package/components/tab.yaml +57 -0
  74. package/components/tablist.yaml +64 -0
  75. package/components/tag-group-item.yaml +119 -0
  76. package/components/tag-group.yaml +40 -0
  77. package/components/text-button.yaml +46 -0
  78. package/components/text-input.yaml +234 -0
  79. package/components/toggle-button.yaml +201 -0
  80. package/components/top-navigation.yaml +106 -0
  81. package/components/typography.yaml +380 -0
  82. package/dimension.yaml +88 -0
  83. package/duration.yaml +29 -0
  84. package/font-size.yaml +77 -0
  85. package/font-weight.yaml +16 -0
  86. package/gradient.yaml +134 -0
  87. package/line-height.yaml +77 -0
  88. package/package.json +20 -0
  89. package/radius.yaml +40 -0
  90. package/shadow.yaml +63 -0
  91. package/timing-function.yaml +37 -0
@@ -0,0 +1,27 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: slider-tick
5
+ name: Slider Tick
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ width:
12
+ type: dimension
13
+ color:
14
+ type: color
15
+ definitions:
16
+ base:
17
+ enabled:
18
+ root:
19
+ color: $color.fg.neutral-inverted # fg 토큰인데 적절할까?
20
+ weight=thin:
21
+ enabled:
22
+ root:
23
+ width: 1px
24
+ weight=thick:
25
+ enabled:
26
+ root:
27
+ width: $dimension.x1
@@ -0,0 +1,169 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: slider
5
+ name: Slider
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ gap:
12
+ type: dimension
13
+ control:
14
+ properties:
15
+ height:
16
+ type: dimension
17
+ track:
18
+ properties:
19
+ height:
20
+ type: dimension
21
+ cornerRadius:
22
+ type: dimension
23
+ color:
24
+ type: color
25
+ range:
26
+ properties:
27
+ cornerRadius:
28
+ type: dimension
29
+ color:
30
+ type: color
31
+ widthDuration:
32
+ type: duration
33
+ widthTimingFunction:
34
+ type: cubicBezier
35
+ thumb:
36
+ properties:
37
+ size:
38
+ type: dimension
39
+ cornerRadius:
40
+ type: dimension
41
+ color:
42
+ type: color
43
+ valueIndicatorRoot:
44
+ description: arrow width + (valueIndicatorRoot paddingX * 2)만큼의 최소 너비를 가집니다.
45
+ properties:
46
+ color:
47
+ type: color
48
+ cornerRadius:
49
+ type: dimension
50
+ paddingX:
51
+ type: dimension
52
+ description: value indicator 내부 좌우 여백입니다. arrow와 valueIndicatorRoot 경계 사이의 최소 간격에도 동일한 값이 적용됩니다.
53
+ paddingY:
54
+ type: dimension
55
+ offsetY:
56
+ type: dimension
57
+ enterScale:
58
+ type: number
59
+ enterOpacity:
60
+ type: number
61
+ enterDuration:
62
+ type: duration
63
+ enterTimingFunction:
64
+ type: cubicBezier
65
+ exitScale:
66
+ type: number
67
+ exitOpacity:
68
+ type: number
69
+ exitDuration:
70
+ type: duration
71
+ exitTimingFunction:
72
+ type: cubicBezier
73
+ translateDuration:
74
+ type: duration
75
+ translateTimingFunction:
76
+ type: cubicBezier
77
+ valueIndicatorArrow:
78
+ properties:
79
+ color:
80
+ type: color
81
+ width:
82
+ type: dimension
83
+ height:
84
+ type: dimension
85
+ cornerRadius:
86
+ type: dimension
87
+ gutter:
88
+ type: dimension
89
+ description: arrow와 thumb 사이의 거리를 정의합니다.
90
+ valueIndicatorLabel:
91
+ properties:
92
+ color:
93
+ type: color
94
+ fontSize:
95
+ type: dimension
96
+ lineHeight:
97
+ type: dimension
98
+ fontWeight:
99
+ type: number
100
+ marker:
101
+ properties:
102
+ color:
103
+ type: color
104
+ fontWeight:
105
+ type: number
106
+ fontSize:
107
+ type: dimension
108
+ lineHeight:
109
+ type: dimension
110
+ definitions:
111
+ base:
112
+ enabled:
113
+ root:
114
+ gap: $dimension.x0_5
115
+ control:
116
+ height: 26px
117
+ track:
118
+ height: $dimension.x1
119
+ cornerRadius: $radius.full
120
+ color: $color.palette.gray-400
121
+ range:
122
+ cornerRadius: $radius.full
123
+ color: $color.fg.neutral # fg 토큰인데 적절할까?
124
+
125
+ widthDuration: $duration.d3
126
+ widthTimingFunction: $timing-function.easing
127
+ thumb:
128
+ size: $dimension.x5
129
+ cornerRadius: $radius.full
130
+ color: $color.bg.neutral-inverted
131
+ valueIndicatorRoot:
132
+ color: $color.bg.neutral-inverted
133
+ cornerRadius: $radius.r1_5
134
+ paddingX: $dimension.x2
135
+ paddingY: $dimension.x1
136
+ offsetY: $dimension.x3
137
+ enterScale: 0.9
138
+ enterOpacity: 0
139
+ enterDuration: $duration.d4
140
+ enterTimingFunction: $timing-function.enter
141
+ exitScale: 1
142
+ exitOpacity: 0
143
+ exitDuration: $duration.d4
144
+ exitTimingFunction: $timing-function.easing
145
+ translateDuration: $duration.d3
146
+ translateTimingFunction: $timing-function.easing
147
+ valueIndicatorArrow:
148
+ color: $color.bg.neutral-inverted
149
+ width: $dimension.x2
150
+ height: $dimension.x1_5
151
+ cornerRadius: $radius.r0_5
152
+ gutter: $dimension.x0_5
153
+ valueIndicatorLabel:
154
+ color: $color.fg.neutral-inverted
155
+ fontSize: $font-size.t3
156
+ lineHeight: $line-height.t3
157
+ fontWeight: $font-weight.medium
158
+ marker:
159
+ color: $color.fg.neutral-muted
160
+ fontWeight: $font-weight.regular
161
+ fontSize: $font-size.t3
162
+ lineHeight: $line-height.t3
163
+ disabled:
164
+ range:
165
+ color: $color.fg.disabled
166
+ thumb:
167
+ color: $color.fg.disabled
168
+ marker:
169
+ color: $color.fg.disabled
@@ -0,0 +1,137 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: snackbar
5
+ name: Snackbar
6
+ data:
7
+ schema:
8
+ slots:
9
+ region:
10
+ properties:
11
+ paddingX:
12
+ type: dimension
13
+ paddingY:
14
+ type: dimension
15
+ offsetDuration:
16
+ type: duration
17
+ offsetTimingFunction:
18
+ type: cubicBezier
19
+ root:
20
+ properties:
21
+ color:
22
+ type: color
23
+ cornerRadius:
24
+ type: dimension
25
+ minHeight:
26
+ type: dimension
27
+ maxWidth:
28
+ type: dimension
29
+ paddingX:
30
+ type: dimension
31
+ paddingY:
32
+ type: dimension
33
+ enterOpacity:
34
+ type: number
35
+ enterScale:
36
+ type: number
37
+ enterDuration:
38
+ type: duration
39
+ enterTimingFunction:
40
+ type: cubicBezier
41
+ exitScale:
42
+ type: number
43
+ exitOpacity:
44
+ type: number
45
+ exitDuration:
46
+ type: duration
47
+ exitTimingFunction:
48
+ type: cubicBezier
49
+ content:
50
+ properties:
51
+ paddingX:
52
+ type: dimension
53
+ gap:
54
+ type: dimension
55
+ message:
56
+ properties:
57
+ color:
58
+ type: color
59
+ fontSize:
60
+ type: dimension
61
+ lineHeight:
62
+ type: dimension
63
+ fontWeight:
64
+ type: number
65
+ prefixIcon:
66
+ properties:
67
+ size:
68
+ type: dimension
69
+ color:
70
+ type: color
71
+ paddingRight:
72
+ type: dimension
73
+ actionButton:
74
+ properties:
75
+ targetPaddingX:
76
+ type: dimension
77
+ targetMinHeight:
78
+ type: dimension
79
+ color:
80
+ type: color
81
+ fontSize:
82
+ type: dimension
83
+ lineHeight:
84
+ type: dimension
85
+ fontWeight:
86
+ type: number
87
+ definitions:
88
+ base:
89
+ enabled:
90
+ # TODO: we might split region out to a separate component
91
+ region:
92
+ paddingX: $dimension.x2
93
+ paddingY: $dimension.x2
94
+ offsetDuration: $duration.d4
95
+ offsetTimingFunction: $timing-function.easing
96
+ root:
97
+ color: $color.bg.neutral-inverted
98
+ cornerRadius: $radius.r2
99
+ minHeight: 44px
100
+ maxWidth: 560px
101
+ paddingX: $dimension.x2_5
102
+ paddingY: $dimension.x2_5
103
+ enterOpacity: 0
104
+ enterScale: 0.8
105
+ enterDuration: $duration.d3
106
+ enterTimingFunction: $timing-function.enter
107
+ exitOpacity: 0
108
+ exitScale: 0.8
109
+ exitDuration: $duration.d2
110
+ exitTimingFunction: $timing-function.exit
111
+ content:
112
+ paddingX: $dimension.x1_5
113
+ gap: $dimension.x2_5
114
+ message:
115
+ color: $color.fg.neutral-inverted
116
+ fontSize: $font-size.t4
117
+ lineHeight: $line-height.t4
118
+ fontWeight: $font-weight.regular
119
+ prefixIcon:
120
+ size: 24px
121
+ paddingRight: $dimension.x0_5
122
+ actionButton:
123
+ targetPaddingX: $dimension.x2
124
+ targetMinHeight: 44px
125
+ color: $color.fg.brand
126
+ fontSize: $font-size.t4
127
+ lineHeight: $line-height.t4
128
+ fontWeight: $font-weight.bold
129
+ variant=default: {}
130
+ variant=positive:
131
+ enabled:
132
+ prefixIcon:
133
+ color: $color.fg.positive
134
+ variant=critical:
135
+ enabled:
136
+ prefixIcon:
137
+ color: $color.fg.critical
@@ -0,0 +1,66 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: switch
5
+ name: Switch
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ height:
12
+ type: dimension
13
+ gap:
14
+ type: dimension
15
+ label:
16
+ properties:
17
+ color:
18
+ type: color
19
+ opacity:
20
+ type: number
21
+ opacityDuration:
22
+ type: duration
23
+ opacityTimingFunction:
24
+ type: cubicBezier
25
+ fontSize:
26
+ type: dimension
27
+ lineHeight:
28
+ type: dimension
29
+ fontWeight:
30
+ type: number
31
+ definitions:
32
+ base:
33
+ enabled:
34
+ label:
35
+ color: $color.fg.neutral
36
+ fontWeight: $font-weight.medium
37
+ disabled:
38
+ label:
39
+ opacity: 0.58
40
+ opacityDuration: $duration.d1
41
+ opacityTimingFunction: $timing-function.easing
42
+
43
+ size=32:
44
+ enabled:
45
+ root:
46
+ height: $dimension.x8
47
+ gap: $dimension.x2_5
48
+ label:
49
+ fontSize: $font-size.t5
50
+ lineHeight: $line-height.t5
51
+ size=24:
52
+ enabled:
53
+ root:
54
+ height: $dimension.x6
55
+ gap: $dimension.x2
56
+ label:
57
+ fontSize: $font-size.t4
58
+ lineHeight: $line-height.t4
59
+ size=16:
60
+ enabled:
61
+ root:
62
+ height: $dimension.x6
63
+ gap: $dimension.x1_5
64
+ label:
65
+ fontSize: $font-size.t3
66
+ lineHeight: $line-height.t3
@@ -0,0 +1,147 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ # parts: root, thumb
3
+ kind: ComponentSpec
4
+ metadata:
5
+ id: switchmark
6
+ name: Switchmark
7
+ lastUpdated: 25-12-16
8
+ data:
9
+ schema:
10
+ slots:
11
+ root:
12
+ properties:
13
+ cornerRadius:
14
+ type: dimension
15
+ color:
16
+ type: color
17
+ colorDuration:
18
+ type: duration
19
+ colorTimingFunction:
20
+ type: cubicBezier
21
+ colorDelay:
22
+ type: duration
23
+ opacity:
24
+ type: number
25
+ opacityDuration:
26
+ type: duration
27
+ opacityTimingFunction:
28
+ type: cubicBezier
29
+ height:
30
+ type: dimension
31
+ width:
32
+ type: dimension
33
+ paddingX:
34
+ type: dimension
35
+ paddingY:
36
+ type: dimension
37
+ thumb:
38
+ properties:
39
+ color:
40
+ type: color
41
+ colorDuration:
42
+ type: duration
43
+ colorTimingFunction:
44
+ type: cubicBezier
45
+ colorDelay:
46
+ type: duration
47
+ cornerRadius:
48
+ type: dimension
49
+ height:
50
+ type: dimension
51
+ width:
52
+ type: dimension
53
+ scale:
54
+ type: number
55
+ scaleDuration:
56
+ type: duration
57
+ scaleTimingFunction:
58
+ type: cubicBezier
59
+ translateDuration:
60
+ type: duration
61
+ translateTimingFunction:
62
+ type: cubicBezier
63
+ variants:
64
+ tone:
65
+ values:
66
+ brand:
67
+ description: "[deprecated] 주요 버튼 등의 핵심 액션과 시각적으로 충돌하기에 더 이상 사용하지 않습니다."
68
+
69
+ definitions:
70
+ base:
71
+ enabled:
72
+ root:
73
+ cornerRadius: $radius.full
74
+ color: $color.palette.gray-600
75
+ colorDuration: $duration.d1
76
+ colorTimingFunction: $timing-function.easing
77
+ colorDelay: 20ms
78
+ thumb:
79
+ cornerRadius: $radius.full
80
+ scale: 0.8
81
+ scaleDuration: $duration.d3
82
+ scaleTimingFunction: $timing-function.easing
83
+ translateDuration: $duration.d3
84
+ translateTimingFunction: $timing-function.easing
85
+ colorDuration: $duration.d1
86
+ colorTimingFunction: $timing-function.easing
87
+ colorDelay: 20ms
88
+ disabled:
89
+ root:
90
+ opacity: 0.38
91
+ opacityDuration: $duration.d1
92
+ opacityTimingFunction: $timing-function.easing
93
+ selected:
94
+ thumb:
95
+ scale: 1.0
96
+
97
+ tone=brand:
98
+ enabled:
99
+ thumb:
100
+ color: $color.palette.static-white
101
+ enabled,selected:
102
+ root:
103
+ color: $color.bg.brand-solid
104
+ tone=neutral:
105
+ enabled:
106
+ thumb:
107
+ color: $color.fg.neutral-inverted
108
+ enabled,selected:
109
+ root:
110
+ color: $color.bg.neutral-inverted
111
+ disabled:
112
+ thumb:
113
+ color: $color.palette.static-black-alpha-700
114
+ disabled,selected:
115
+ root:
116
+ color: $color.palette.gray-600
117
+
118
+ size=32:
119
+ enabled:
120
+ root:
121
+ height: 32px
122
+ width: 52px
123
+ paddingX: 3px
124
+ paddingY: 3px
125
+ thumb:
126
+ height: 26px
127
+ width: 26px
128
+ size=24:
129
+ enabled:
130
+ root:
131
+ height: 24px
132
+ width: 38px
133
+ paddingX: 2px
134
+ paddingY: 2px
135
+ thumb:
136
+ height: 20px
137
+ width: 20px
138
+ size=16:
139
+ enabled:
140
+ root:
141
+ height: 16px
142
+ width: 26px
143
+ paddingX: 2px
144
+ paddingY: 2px
145
+ thumb:
146
+ height: 12px
147
+ width: 12px
@@ -0,0 +1,57 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: tab
5
+ name: Tab
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ minHeight:
12
+ type: dimension
13
+ paddingX:
14
+ type: dimension
15
+ paddingY:
16
+ type: dimension
17
+ label:
18
+ properties:
19
+ color:
20
+ type: color
21
+ fontSize:
22
+ type: dimension
23
+ lineHeight:
24
+ type: dimension
25
+ fontWeight:
26
+ type: number
27
+ definitions:
28
+ base:
29
+ enabled:
30
+ label:
31
+ color: $color.fg.neutral-subtle
32
+ selected:
33
+ label:
34
+ color: $color.fg.neutral
35
+ disabled:
36
+ label:
37
+ color: $color.fg.disabled
38
+ size=medium:
39
+ enabled:
40
+ root:
41
+ minHeight: 44px
42
+ paddingX: $dimension.x2_5
43
+ paddingY: $dimension.x2_5
44
+ label:
45
+ fontSize: $font-size.t5
46
+ lineHeight: $line-height.t5
47
+ fontWeight: $font-weight.bold
48
+ size=small:
49
+ enabled:
50
+ root:
51
+ minHeight: 40px
52
+ paddingX: $dimension.x2_5
53
+ paddingY: $dimension.x2_5
54
+ label:
55
+ fontSize: $font-size.t4
56
+ lineHeight: $line-height.t4
57
+ fontWeight: $font-weight.bold
@@ -0,0 +1,64 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: tablist
5
+ name: Tablist
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ color:
12
+ type: color
13
+ strokeBottomWidth:
14
+ type: dimension
15
+ strokeColor:
16
+ type: color
17
+ paddingX:
18
+ type: dimension
19
+ height:
20
+ type: dimension
21
+ indicator:
22
+ properties:
23
+ height:
24
+ type: dimension
25
+ color:
26
+ type: color
27
+ transformDuration:
28
+ type: duration
29
+ transformTimingFunction:
30
+ type: cubicBezier
31
+ insetX:
32
+ type: dimension
33
+ definitions:
34
+ base:
35
+ enabled:
36
+ root:
37
+ color: $color.bg.layer-default
38
+ strokeBottomWidth: 1px
39
+ strokeColor: $color.stroke.neutral-muted
40
+ indicator:
41
+ height: 2px
42
+ color: $color.fg.neutral
43
+ transformDuration: $duration.d4
44
+ transformTimingFunction: $timing-function.easing
45
+ layout=hug:
46
+ enabled:
47
+ root:
48
+ paddingX: $dimension.spacing-x.global-gutter
49
+ indicator:
50
+ insetX: 0px
51
+ layout=fill:
52
+ enabled:
53
+ root:
54
+ paddingX: 0px
55
+ indicator:
56
+ insetX: $dimension.spacing-x.global-gutter
57
+ size=small:
58
+ enabled:
59
+ root:
60
+ height: 40px
61
+ size=medium:
62
+ enabled:
63
+ root:
64
+ height: 44px