@seed-design/rootage-artifacts 0.0.0 → 0.0.1
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/README.md +10 -0
- package/color.yaml +438 -366
- package/components/action-button.yaml +415 -205
- package/components/action-chip.yaml +139 -67
- package/components/action-sheet-close-button.yaml +45 -0
- package/components/action-sheet-item.yaml +52 -0
- package/components/action-sheet.yaml +115 -0
- package/components/avatar-stack.yaml +74 -0
- package/components/avatar.yaml +110 -47
- package/components/badge.yaml +153 -130
- package/components/bottom-sheet-close-button.yaml +38 -0
- package/components/bottom-sheet.yaml +143 -0
- package/components/callout.yaml +169 -129
- package/components/checkbox.yaml +139 -116
- package/components/chip-tab.yaml +82 -59
- package/components/chip-tablist.yaml +20 -11
- package/components/chip.yaml +314 -0
- package/components/contextual-floating-button.yaml +155 -0
- package/components/control-chip.yaml +157 -88
- package/components/dialog.yaml +119 -18
- package/components/divider.yaml +17 -0
- package/components/extended-action-sheet-close-button.yaml +50 -0
- package/components/extended-action-sheet-item.yaml +67 -0
- package/components/extended-action-sheet.yaml +134 -0
- package/components/extended-fab.yaml +102 -0
- package/components/fab.yaml +38 -20
- package/components/floating-action-button.yaml +99 -0
- package/components/help-bubble.yaml +121 -32
- package/components/identity-placeholder.yaml +23 -0
- package/components/inline-banner.yaml +188 -141
- package/components/link-content.yaml +60 -0
- package/components/manner-temp-badge.yaml +78 -0
- package/components/manner-temp.yaml +61 -0
- package/components/menu-sheet-close-button.yaml +49 -0
- package/components/menu-sheet-item.yaml +70 -0
- package/components/menu-sheet.yaml +133 -0
- package/components/notification-badge.yaml +67 -0
- package/components/progress-circle.yaml +83 -40
- package/components/radio.yaml +67 -71
- package/components/reaction-button.yaml +159 -0
- package/components/segmented-control-item.yaml +54 -0
- package/components/segmented-control.yaml +41 -30
- package/components/select-box.yaml +152 -0
- package/components/skeleton.yaml +56 -0
- package/components/snackbar.yaml +125 -0
- package/components/switch.yaml +98 -46
- package/components/tab.yaml +49 -31
- package/components/tablist.yaml +56 -15
- package/components/text-button.yaml +41 -57
- package/components/text-field.yaml +361 -0
- package/components/toggle-button.yaml +196 -0
- package/components/top-navigation.yaml +100 -0
- package/components/typography.yaml +167 -138
- package/dimension.yaml +88 -0
- package/duration.yaml +25 -0
- package/font-size.yaml +9 -0
- package/gradient.yaml +151 -0
- package/line-height.yaml +4 -4
- package/package.json +5 -2
- package/radius.yaml +10 -10
- package/timing-function.yaml +37 -0
- package/components/expand-button.yaml +0 -34
- package/unit.yaml +0 -70
package/duration.yaml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
kind: Tokens
|
|
2
|
+
metadata:
|
|
3
|
+
id: duration
|
|
4
|
+
name: Duration
|
|
5
|
+
data:
|
|
6
|
+
collection: global
|
|
7
|
+
tokens:
|
|
8
|
+
$duration.d1:
|
|
9
|
+
values:
|
|
10
|
+
default: 50ms
|
|
11
|
+
$duration.d2:
|
|
12
|
+
values:
|
|
13
|
+
default: 100ms
|
|
14
|
+
$duration.d3:
|
|
15
|
+
values:
|
|
16
|
+
default: 150ms
|
|
17
|
+
$duration.d4:
|
|
18
|
+
values:
|
|
19
|
+
default: 200ms
|
|
20
|
+
$duration.d5:
|
|
21
|
+
values:
|
|
22
|
+
default: 250ms
|
|
23
|
+
$duration.d6:
|
|
24
|
+
values:
|
|
25
|
+
default: 300ms
|
package/font-size.yaml
CHANGED
package/gradient.yaml
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
kind: Tokens
|
|
2
|
+
metadata:
|
|
3
|
+
id: gradient
|
|
4
|
+
name: Gradient
|
|
5
|
+
lastUpdated: 25-07-12
|
|
6
|
+
data:
|
|
7
|
+
collection: color
|
|
8
|
+
tokens:
|
|
9
|
+
$gradient.fade-layer-floating:
|
|
10
|
+
description: 스크롤이 가능하도록 그라디언트로 특정 영역을 덮는 요소로 사용해요.
|
|
11
|
+
values:
|
|
12
|
+
theme-light:
|
|
13
|
+
type: gradient
|
|
14
|
+
value:
|
|
15
|
+
- color: "#ffffff00"
|
|
16
|
+
position: 0
|
|
17
|
+
- color: "#000000"
|
|
18
|
+
position: 1
|
|
19
|
+
theme-dark:
|
|
20
|
+
type: gradient
|
|
21
|
+
value:
|
|
22
|
+
- color: "#1d202500"
|
|
23
|
+
position: 0
|
|
24
|
+
- color: "#000000"
|
|
25
|
+
position: 1
|
|
26
|
+
$gradient.fade-layer-default:
|
|
27
|
+
description: 스크롤이 가능하도록 그라디언트로 특정 영역을 덮는 요소로 사용해요.
|
|
28
|
+
values:
|
|
29
|
+
theme-light:
|
|
30
|
+
type: gradient
|
|
31
|
+
value:
|
|
32
|
+
- color: "#ffffff00"
|
|
33
|
+
position: 0
|
|
34
|
+
- color: "#000000"
|
|
35
|
+
position: 1
|
|
36
|
+
theme-dark:
|
|
37
|
+
type: gradient
|
|
38
|
+
value:
|
|
39
|
+
- color: "#16171b00"
|
|
40
|
+
position: 0
|
|
41
|
+
- color: "#000000"
|
|
42
|
+
position: 1
|
|
43
|
+
$gradient.glow-magic:
|
|
44
|
+
description: 반짝이는 것처럼 느껴지는 배경에 쓰이는 ai 컬러입니다.
|
|
45
|
+
values:
|
|
46
|
+
theme-light:
|
|
47
|
+
type: gradient
|
|
48
|
+
value:
|
|
49
|
+
- color: "#fef6f7"
|
|
50
|
+
position: 0
|
|
51
|
+
- color: "#fef0e7"
|
|
52
|
+
position: 0.8
|
|
53
|
+
- color: "#f9f7f5"
|
|
54
|
+
position: 1
|
|
55
|
+
theme-dark:
|
|
56
|
+
type: gradient
|
|
57
|
+
value:
|
|
58
|
+
- color: "#2d252d"
|
|
59
|
+
position: 0
|
|
60
|
+
- color: "#3a312b"
|
|
61
|
+
position: 0.8
|
|
62
|
+
- color: "#333232"
|
|
63
|
+
position: 1
|
|
64
|
+
$gradient.shimmer-magic:
|
|
65
|
+
description: Skeleton AI shimmer
|
|
66
|
+
values:
|
|
67
|
+
theme-light:
|
|
68
|
+
type: gradient
|
|
69
|
+
value:
|
|
70
|
+
- color: "#fff9f500"
|
|
71
|
+
position: 0
|
|
72
|
+
- color: "#fff9f58a"
|
|
73
|
+
position: 0.46
|
|
74
|
+
- color: "#fff9f58a"
|
|
75
|
+
position: 0.54
|
|
76
|
+
- color: "#fff9f500"
|
|
77
|
+
position: 1
|
|
78
|
+
theme-dark:
|
|
79
|
+
type: gradient
|
|
80
|
+
value:
|
|
81
|
+
- color: "#fff9f500"
|
|
82
|
+
position: 0
|
|
83
|
+
- color: "#fff9f51a"
|
|
84
|
+
position: 0.46
|
|
85
|
+
- color: "#fff9f51a"
|
|
86
|
+
position: 0.54
|
|
87
|
+
- color: "#fff9f500"
|
|
88
|
+
position: 1
|
|
89
|
+
$gradient.glow-magic-pressed:
|
|
90
|
+
description: 반짝이는 것처럼 느껴지는 배경에 쓰이는 ai 컬러의 pressed컬러입니다.
|
|
91
|
+
values:
|
|
92
|
+
theme-light:
|
|
93
|
+
type: gradient
|
|
94
|
+
value:
|
|
95
|
+
- color: "#fbf0f2"
|
|
96
|
+
position: 0
|
|
97
|
+
- color: "#ffe8db"
|
|
98
|
+
position: 0.8
|
|
99
|
+
- color: "#f5f2ef"
|
|
100
|
+
position: 1
|
|
101
|
+
theme-dark:
|
|
102
|
+
type: gradient
|
|
103
|
+
value:
|
|
104
|
+
- color: "#3e333e"
|
|
105
|
+
position: 0
|
|
106
|
+
- color: "#51453e"
|
|
107
|
+
position: 0.8
|
|
108
|
+
- color: "#434242"
|
|
109
|
+
position: 1
|
|
110
|
+
$gradient.shimmer-neutral:
|
|
111
|
+
description: Skeleton shimmer
|
|
112
|
+
values:
|
|
113
|
+
theme-light:
|
|
114
|
+
type: gradient
|
|
115
|
+
value:
|
|
116
|
+
- color: "#ffffff00"
|
|
117
|
+
position: 0
|
|
118
|
+
- color: "#ffffff66"
|
|
119
|
+
position: 0.46
|
|
120
|
+
- color: "#ffffff66"
|
|
121
|
+
position: 0.54
|
|
122
|
+
- color: "#ffffff00"
|
|
123
|
+
position: 1
|
|
124
|
+
theme-dark:
|
|
125
|
+
type: gradient
|
|
126
|
+
value:
|
|
127
|
+
- color: "#ffffff00"
|
|
128
|
+
position: 0
|
|
129
|
+
- color: "#ffffff1a"
|
|
130
|
+
position: 0.46
|
|
131
|
+
- color: "#ffffff1a"
|
|
132
|
+
position: 0.54
|
|
133
|
+
- color: "#ffffff00"
|
|
134
|
+
position: 1
|
|
135
|
+
$gradient.highlight-magic:
|
|
136
|
+
description: 아이콘 및 shape 영역에서 AI 기능을 표현할 때 사용하는 컬러입니다.
|
|
137
|
+
values:
|
|
138
|
+
theme-light:
|
|
139
|
+
type: gradient
|
|
140
|
+
value:
|
|
141
|
+
- color: "#ff6600"
|
|
142
|
+
position: 0.2
|
|
143
|
+
- color: "#d25aca"
|
|
144
|
+
position: 1
|
|
145
|
+
theme-dark:
|
|
146
|
+
type: gradient
|
|
147
|
+
value:
|
|
148
|
+
- color: "#ff6600"
|
|
149
|
+
position: 0.2
|
|
150
|
+
- color: "#d25aca"
|
|
151
|
+
position: 1
|
package/line-height.yaml
CHANGED
|
@@ -7,7 +7,7 @@ data:
|
|
|
7
7
|
tokens:
|
|
8
8
|
$line-height.t1:
|
|
9
9
|
values:
|
|
10
|
-
default: 0.
|
|
10
|
+
default: 0.9375rem # 15px ÷ 16
|
|
11
11
|
$line-height.t2:
|
|
12
12
|
values:
|
|
13
13
|
default: 1rem # 16px ÷ 16
|
|
@@ -19,13 +19,13 @@ data:
|
|
|
19
19
|
default: 1.1875rem # 19px ÷ 16
|
|
20
20
|
$line-height.t5:
|
|
21
21
|
values:
|
|
22
|
-
default: 1.
|
|
22
|
+
default: 1.375rem # 22px ÷ 16
|
|
23
23
|
$line-height.t6:
|
|
24
24
|
values:
|
|
25
25
|
default: 1.5rem # 24px ÷ 16
|
|
26
26
|
$line-height.t7:
|
|
27
27
|
values:
|
|
28
|
-
default: 1.
|
|
28
|
+
default: 1.6875rem # 27px ÷ 16
|
|
29
29
|
$line-height.t8:
|
|
30
30
|
values:
|
|
31
31
|
default: 1.875rem # 30px ÷ 16
|
|
@@ -34,4 +34,4 @@ data:
|
|
|
34
34
|
default: 2rem # 32px ÷ 16
|
|
35
35
|
$line-height.t10:
|
|
36
36
|
values:
|
|
37
|
-
default: 2.
|
|
37
|
+
default: 2.1875rem # 35px ÷ 16
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seed-design/rootage-artifacts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/daangn/seed-design.git",
|
|
7
|
-
"directory": "packages/rootage
|
|
7
|
+
"directory": "packages/rootage"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"rootage:generate": "bun rootage json-schema ./components"
|
|
8
11
|
},
|
|
9
12
|
"main": "package.json",
|
|
10
13
|
"files": [
|
package/radius.yaml
CHANGED
|
@@ -5,34 +5,34 @@ metadata:
|
|
|
5
5
|
data:
|
|
6
6
|
collection: global
|
|
7
7
|
tokens:
|
|
8
|
-
$radius.
|
|
8
|
+
$radius.r0_5:
|
|
9
9
|
values:
|
|
10
10
|
default: 2px
|
|
11
|
-
$radius.
|
|
11
|
+
$radius.r1:
|
|
12
12
|
values:
|
|
13
13
|
default: 4px
|
|
14
|
-
$radius.
|
|
14
|
+
$radius.r1_5:
|
|
15
15
|
values:
|
|
16
16
|
default: 6px
|
|
17
|
-
$radius.
|
|
17
|
+
$radius.r2:
|
|
18
18
|
values:
|
|
19
19
|
default: 8px
|
|
20
|
-
$radius.
|
|
20
|
+
$radius.r2_5:
|
|
21
21
|
values:
|
|
22
22
|
default: 10px
|
|
23
|
-
$radius.
|
|
23
|
+
$radius.r3:
|
|
24
24
|
values:
|
|
25
25
|
default: 12px
|
|
26
|
-
$radius.
|
|
26
|
+
$radius.r3_5:
|
|
27
27
|
values:
|
|
28
28
|
default: 14px
|
|
29
|
-
$radius.
|
|
29
|
+
$radius.r4:
|
|
30
30
|
values:
|
|
31
31
|
default: 16px
|
|
32
|
-
$radius.
|
|
32
|
+
$radius.r5:
|
|
33
33
|
values:
|
|
34
34
|
default: 20px
|
|
35
|
-
$radius.
|
|
35
|
+
$radius.r6:
|
|
36
36
|
values:
|
|
37
37
|
default: 24px
|
|
38
38
|
$radius.full:
|
package/timing-function.yaml
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
kind: Tokens
|
|
2
|
+
metadata:
|
|
3
|
+
id: timing-function
|
|
4
|
+
name: Timing Function
|
|
5
|
+
data:
|
|
6
|
+
collection: global
|
|
7
|
+
tokens:
|
|
8
|
+
$timing-function.linear:
|
|
9
|
+
values:
|
|
10
|
+
default:
|
|
11
|
+
type: cubicBezier
|
|
12
|
+
value: [0, 0, 1, 1]
|
|
13
|
+
$timing-function.easing:
|
|
14
|
+
values:
|
|
15
|
+
default:
|
|
16
|
+
type: cubicBezier
|
|
17
|
+
value: [0.35, 0, 0.35, 1]
|
|
18
|
+
$timing-function.enter:
|
|
19
|
+
values:
|
|
20
|
+
default:
|
|
21
|
+
type: cubicBezier
|
|
22
|
+
value: [0, 0, 0.15, 1]
|
|
23
|
+
$timing-function.exit:
|
|
24
|
+
values:
|
|
25
|
+
default:
|
|
26
|
+
type: cubicBezier
|
|
27
|
+
value: [0.35, 0, 1, 1]
|
|
28
|
+
$timing-function.enter-expressive:
|
|
29
|
+
values:
|
|
30
|
+
default:
|
|
31
|
+
type: cubicBezier
|
|
32
|
+
value: [0.03, 0.4, 0.1, 1]
|
|
33
|
+
$timing-function.exit-expressive:
|
|
34
|
+
values:
|
|
35
|
+
default:
|
|
36
|
+
type: cubicBezier
|
|
37
|
+
value: [0.35, 0, 0.95, 0.55]
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# yaml-language-server: $schema=./schema.json
|
|
2
|
-
kind: ComponentSpec
|
|
3
|
-
metadata:
|
|
4
|
-
id: expand-button
|
|
5
|
-
name: Expand Button
|
|
6
|
-
data:
|
|
7
|
-
base:
|
|
8
|
-
enabled:
|
|
9
|
-
root:
|
|
10
|
-
color: $color.bg.layer-default
|
|
11
|
-
minHeight: $unit.x10
|
|
12
|
-
cornerRadius: $radius.x2
|
|
13
|
-
gap: $unit.x1
|
|
14
|
-
paddingX: $unit.x5
|
|
15
|
-
paddingY: $unit.x2_5
|
|
16
|
-
strokeColor: $color.palette.gray-400
|
|
17
|
-
strokeWidth: 1px
|
|
18
|
-
label:
|
|
19
|
-
color: $color.fg.neutral
|
|
20
|
-
fontWeight: $font-weight.bold
|
|
21
|
-
fontSize: $font-size.t4
|
|
22
|
-
suffixIcon:
|
|
23
|
-
color: $color.fg.neutral
|
|
24
|
-
size: $unit.x3_5
|
|
25
|
-
pressed:
|
|
26
|
-
root:
|
|
27
|
-
color: $color.bg.layer-default-pressed
|
|
28
|
-
disabled:
|
|
29
|
-
root:
|
|
30
|
-
color: $color.bg.disabled
|
|
31
|
-
label:
|
|
32
|
-
color: $color.fg.disabled
|
|
33
|
-
suffixIcon:
|
|
34
|
-
color: $color.fg.disabled
|
package/unit.yaml
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
kind: Tokens
|
|
2
|
-
metadata:
|
|
3
|
-
id: unit
|
|
4
|
-
name: Unit
|
|
5
|
-
data:
|
|
6
|
-
collection: global
|
|
7
|
-
tokens:
|
|
8
|
-
$unit.x0_5:
|
|
9
|
-
values:
|
|
10
|
-
default: 2px
|
|
11
|
-
$unit.x1:
|
|
12
|
-
values:
|
|
13
|
-
default: 4px
|
|
14
|
-
$unit.x1_5:
|
|
15
|
-
values:
|
|
16
|
-
default: 6px
|
|
17
|
-
$unit.x2:
|
|
18
|
-
values:
|
|
19
|
-
default: 8px
|
|
20
|
-
$unit.x2_5:
|
|
21
|
-
values:
|
|
22
|
-
default: 10px
|
|
23
|
-
$unit.x3:
|
|
24
|
-
values:
|
|
25
|
-
default: 12px
|
|
26
|
-
$unit.x3_5:
|
|
27
|
-
values:
|
|
28
|
-
default: 14px
|
|
29
|
-
$unit.x4:
|
|
30
|
-
values:
|
|
31
|
-
default: 16px
|
|
32
|
-
$unit.x4_5:
|
|
33
|
-
values:
|
|
34
|
-
default: 18px
|
|
35
|
-
$unit.x5:
|
|
36
|
-
values:
|
|
37
|
-
default: 20px
|
|
38
|
-
$unit.x6:
|
|
39
|
-
values:
|
|
40
|
-
default: 24px
|
|
41
|
-
$unit.x7:
|
|
42
|
-
values:
|
|
43
|
-
default: 28px
|
|
44
|
-
$unit.x8:
|
|
45
|
-
values:
|
|
46
|
-
default: 32px
|
|
47
|
-
$unit.x9:
|
|
48
|
-
values:
|
|
49
|
-
default: 36px
|
|
50
|
-
$unit.x10:
|
|
51
|
-
values:
|
|
52
|
-
default: 40px
|
|
53
|
-
$unit.x12:
|
|
54
|
-
values:
|
|
55
|
-
default: 48px
|
|
56
|
-
$unit.x13:
|
|
57
|
-
values:
|
|
58
|
-
default: 52px
|
|
59
|
-
$unit.x14:
|
|
60
|
-
values:
|
|
61
|
-
default: 56px
|
|
62
|
-
$unit.x16:
|
|
63
|
-
values:
|
|
64
|
-
default: 64px
|
|
65
|
-
$horizontal-spacing.between-chips:
|
|
66
|
-
values:
|
|
67
|
-
default: $unit.x2
|
|
68
|
-
$horizontal-spacing.global-gutter:
|
|
69
|
-
values:
|
|
70
|
-
default: $unit.x4
|