@seed-design/rootage-artifacts 3.0.2 → 3.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.
@@ -140,6 +140,126 @@ declare const artifact: {
140
140
  };
141
141
  };
142
142
  };
143
+ "$color.palette.gray-alpha-100": {
144
+ "values": {
145
+ "theme-light": {
146
+ "type": "color";
147
+ "value": "#00204008";
148
+ };
149
+ "theme-dark": {
150
+ "type": "color";
151
+ "value": "#d0d9ff1b";
152
+ };
153
+ };
154
+ };
155
+ "$color.palette.gray-alpha-200": {
156
+ "values": {
157
+ "theme-light": {
158
+ "type": "color";
159
+ "value": "#14273b0d";
160
+ };
161
+ "theme-dark": {
162
+ "type": "color";
163
+ "value": "#c8ddff25";
164
+ };
165
+ };
166
+ };
167
+ "$color.palette.gray-alpha-300": {
168
+ "values": {
169
+ "theme-light": {
170
+ "type": "color";
171
+ "value": "#000f2d11";
172
+ };
173
+ "theme-dark": {
174
+ "type": "color";
175
+ "value": "#cfddff35";
176
+ };
177
+ };
178
+ };
179
+ "$color.palette.gray-alpha-400": {
180
+ "values": {
181
+ "theme-light": {
182
+ "type": "color";
183
+ "value": "#000f3323";
184
+ };
185
+ "theme-dark": {
186
+ "type": "color";
187
+ "value": "#d0deff46";
188
+ };
189
+ };
190
+ };
191
+ "$color.palette.gray-alpha-500": {
192
+ "values": {
193
+ "theme-light": {
194
+ "type": "color";
195
+ "value": "#05102b2f";
196
+ };
197
+ "theme-dark": {
198
+ "type": "color";
199
+ "value": "#dbe7ff6a";
200
+ };
201
+ };
202
+ };
203
+ "$color.palette.gray-alpha-600": {
204
+ "values": {
205
+ "theme-light": {
206
+ "type": "color";
207
+ "value": "#000a204f";
208
+ };
209
+ "theme-dark": {
210
+ "type": "color";
211
+ "value": "#e7efff94";
212
+ };
213
+ };
214
+ };
215
+ "$color.palette.gray-alpha-700": {
216
+ "values": {
217
+ "theme-light": {
218
+ "type": "color";
219
+ "value": "#000b1e79";
220
+ };
221
+ "theme-dark": {
222
+ "type": "color";
223
+ "value": "#f1f5ffba";
224
+ };
225
+ };
226
+ };
227
+ "$color.palette.gray-alpha-800": {
228
+ "values": {
229
+ "theme-light": {
230
+ "type": "color";
231
+ "value": "#010d25ab";
232
+ };
233
+ "theme-dark": {
234
+ "type": "color";
235
+ "value": "#f7f9ffe3";
236
+ };
237
+ };
238
+ };
239
+ "$color.palette.gray-alpha-900": {
240
+ "values": {
241
+ "theme-light": {
242
+ "type": "color";
243
+ "value": "#000711d5";
244
+ };
245
+ "theme-dark": {
246
+ "type": "color";
247
+ "value": "#fcfdffec";
248
+ };
249
+ };
250
+ };
251
+ "$color.palette.gray-alpha-1000": {
252
+ "values": {
253
+ "theme-light": {
254
+ "type": "color";
255
+ "value": "#000207e5";
256
+ };
257
+ "theme-dark": {
258
+ "type": "color";
259
+ "value": "#fdfefff5";
260
+ };
261
+ };
262
+ };
143
263
  "$color.palette.carrot-100": {
144
264
  "values": {
145
265
  "theme-light": {
@@ -140,6 +140,126 @@
140
140
  }
141
141
  }
142
142
  },
143
+ "$color.palette.gray-alpha-100": {
144
+ "values": {
145
+ "theme-light": {
146
+ "type": "color",
147
+ "value": "#00204008"
148
+ },
149
+ "theme-dark": {
150
+ "type": "color",
151
+ "value": "#d0d9ff1b"
152
+ }
153
+ }
154
+ },
155
+ "$color.palette.gray-alpha-200": {
156
+ "values": {
157
+ "theme-light": {
158
+ "type": "color",
159
+ "value": "#14273b0d"
160
+ },
161
+ "theme-dark": {
162
+ "type": "color",
163
+ "value": "#c8ddff25"
164
+ }
165
+ }
166
+ },
167
+ "$color.palette.gray-alpha-300": {
168
+ "values": {
169
+ "theme-light": {
170
+ "type": "color",
171
+ "value": "#000f2d11"
172
+ },
173
+ "theme-dark": {
174
+ "type": "color",
175
+ "value": "#cfddff35"
176
+ }
177
+ }
178
+ },
179
+ "$color.palette.gray-alpha-400": {
180
+ "values": {
181
+ "theme-light": {
182
+ "type": "color",
183
+ "value": "#000f3323"
184
+ },
185
+ "theme-dark": {
186
+ "type": "color",
187
+ "value": "#d0deff46"
188
+ }
189
+ }
190
+ },
191
+ "$color.palette.gray-alpha-500": {
192
+ "values": {
193
+ "theme-light": {
194
+ "type": "color",
195
+ "value": "#05102b2f"
196
+ },
197
+ "theme-dark": {
198
+ "type": "color",
199
+ "value": "#dbe7ff6a"
200
+ }
201
+ }
202
+ },
203
+ "$color.palette.gray-alpha-600": {
204
+ "values": {
205
+ "theme-light": {
206
+ "type": "color",
207
+ "value": "#000a204f"
208
+ },
209
+ "theme-dark": {
210
+ "type": "color",
211
+ "value": "#e7efff94"
212
+ }
213
+ }
214
+ },
215
+ "$color.palette.gray-alpha-700": {
216
+ "values": {
217
+ "theme-light": {
218
+ "type": "color",
219
+ "value": "#000b1e79"
220
+ },
221
+ "theme-dark": {
222
+ "type": "color",
223
+ "value": "#f1f5ffba"
224
+ }
225
+ }
226
+ },
227
+ "$color.palette.gray-alpha-800": {
228
+ "values": {
229
+ "theme-light": {
230
+ "type": "color",
231
+ "value": "#010d25ab"
232
+ },
233
+ "theme-dark": {
234
+ "type": "color",
235
+ "value": "#f7f9ffe3"
236
+ }
237
+ }
238
+ },
239
+ "$color.palette.gray-alpha-900": {
240
+ "values": {
241
+ "theme-light": {
242
+ "type": "color",
243
+ "value": "#000711d5"
244
+ },
245
+ "theme-dark": {
246
+ "type": "color",
247
+ "value": "#fcfdffec"
248
+ }
249
+ }
250
+ },
251
+ "$color.palette.gray-alpha-1000": {
252
+ "values": {
253
+ "theme-light": {
254
+ "type": "color",
255
+ "value": "#000207e5"
256
+ },
257
+ "theme-dark": {
258
+ "type": "color",
259
+ "value": "#fdfefff5"
260
+ }
261
+ }
262
+ },
143
263
  "$color.palette.carrot-100": {
144
264
  "values": {
145
265
  "theme-light": {
@@ -0,0 +1,183 @@
1
+ declare const artifact: {
2
+ "kind": "ComponentSpec";
3
+ "metadata": {
4
+ "id": "search-input";
5
+ "name": "Search Input";
6
+ };
7
+ "data": {
8
+ "id": "search-input";
9
+ "name": "Search Input";
10
+ "schema": {
11
+ "slots": {
12
+ "root": {
13
+ "properties": {
14
+ "height": {
15
+ "type": "dimension";
16
+ };
17
+ "cornerRadius": {
18
+ "type": "dimension";
19
+ };
20
+ "paddingLeft": {
21
+ "type": "dimension";
22
+ };
23
+ "paddingRight": {
24
+ "type": "dimension";
25
+ };
26
+ "color": {
27
+ "type": "color";
28
+ };
29
+ };
30
+ };
31
+ "value": {
32
+ "properties": {
33
+ "color": {
34
+ "type": "color";
35
+ };
36
+ "fontWeight": {
37
+ "type": "number";
38
+ };
39
+ "fontSize": {
40
+ "type": "dimension";
41
+ };
42
+ "lineHeight": {
43
+ "type": "dimension";
44
+ };
45
+ };
46
+ };
47
+ "placeholder": {
48
+ "properties": {
49
+ "color": {
50
+ "type": "color";
51
+ };
52
+ "fontWeight": {
53
+ "type": "number";
54
+ };
55
+ "fontSize": {
56
+ "type": "dimension";
57
+ };
58
+ "lineHeight": {
59
+ "type": "dimension";
60
+ };
61
+ };
62
+ };
63
+ "clearButton": {
64
+ "properties": {
65
+ "paddingX": {
66
+ "type": "dimension";
67
+ };
68
+ "paddingY": {
69
+ "type": "dimension";
70
+ };
71
+ };
72
+ };
73
+ "clearButtonIcon": {
74
+ "properties": {
75
+ "color": {
76
+ "type": "color";
77
+ };
78
+ "size": {
79
+ "type": "dimension";
80
+ };
81
+ };
82
+ };
83
+ };
84
+ "variants": {};
85
+ };
86
+ "definitions": readonly [
87
+ {
88
+ "variants": {};
89
+ "definitions": readonly [
90
+ {
91
+ "states": readonly [
92
+ "enabled",
93
+ ];
94
+ "slots": {
95
+ "root": {
96
+ "height": {
97
+ "type": "dimension";
98
+ "value": {
99
+ "value": 44;
100
+ "unit": "px";
101
+ };
102
+ };
103
+ "cornerRadius": {
104
+ "type": "dimension";
105
+ "value": "$radius.r2_5";
106
+ };
107
+ "paddingLeft": {
108
+ "type": "dimension";
109
+ "value": "$dimension.x4";
110
+ };
111
+ "paddingRight": {
112
+ "type": "dimension";
113
+ "value": "$dimension.x1";
114
+ };
115
+ "color": {
116
+ "type": "color";
117
+ "value": "$color.bg.neutral-weak";
118
+ };
119
+ };
120
+ "value": {
121
+ "color": {
122
+ "type": "color";
123
+ "value": "$color.fg.neutral";
124
+ };
125
+ "fontWeight": {
126
+ "type": "number";
127
+ "value": "$font-weight.regular";
128
+ };
129
+ "fontSize": {
130
+ "type": "dimension";
131
+ "value": "$font-size.t6";
132
+ };
133
+ "lineHeight": {
134
+ "type": "dimension";
135
+ "value": "$line-height.t6";
136
+ };
137
+ };
138
+ "placeholder": {
139
+ "color": {
140
+ "type": "color";
141
+ "value": "$color.fg.placeholder";
142
+ };
143
+ "fontWeight": {
144
+ "type": "number";
145
+ "value": "$font-weight.regular";
146
+ };
147
+ "fontSize": {
148
+ "type": "dimension";
149
+ "value": "$font-size.t6";
150
+ };
151
+ "lineHeight": {
152
+ "type": "dimension";
153
+ "value": "$line-height.t6";
154
+ };
155
+ };
156
+ "clearButton": {
157
+ "paddingX": {
158
+ "type": "dimension";
159
+ "value": "$dimension.x3";
160
+ };
161
+ "paddingY": {
162
+ "type": "dimension";
163
+ "value": "$dimension.x3";
164
+ };
165
+ };
166
+ "clearButtonIcon": {
167
+ "color": {
168
+ "type": "color";
169
+ "value": "$color.fg.neutral-subtle";
170
+ };
171
+ "size": {
172
+ "type": "dimension";
173
+ "value": "$dimension.x5";
174
+ };
175
+ };
176
+ };
177
+ },
178
+ ];
179
+ },
180
+ ];
181
+ };
182
+ };
183
+ export default artifact;
@@ -0,0 +1,182 @@
1
+ {
2
+ "kind": "ComponentSpec",
3
+ "metadata": {
4
+ "id": "search-input",
5
+ "name": "Search Input"
6
+ },
7
+ "data": {
8
+ "id": "search-input",
9
+ "name": "Search Input",
10
+ "schema": {
11
+ "slots": {
12
+ "root": {
13
+ "properties": {
14
+ "height": {
15
+ "type": "dimension"
16
+ },
17
+ "cornerRadius": {
18
+ "type": "dimension"
19
+ },
20
+ "paddingLeft": {
21
+ "type": "dimension"
22
+ },
23
+ "paddingRight": {
24
+ "type": "dimension"
25
+ },
26
+ "color": {
27
+ "type": "color"
28
+ }
29
+ }
30
+ },
31
+ "value": {
32
+ "properties": {
33
+ "color": {
34
+ "type": "color"
35
+ },
36
+ "fontWeight": {
37
+ "type": "number"
38
+ },
39
+ "fontSize": {
40
+ "type": "dimension"
41
+ },
42
+ "lineHeight": {
43
+ "type": "dimension"
44
+ }
45
+ }
46
+ },
47
+ "placeholder": {
48
+ "properties": {
49
+ "color": {
50
+ "type": "color"
51
+ },
52
+ "fontWeight": {
53
+ "type": "number"
54
+ },
55
+ "fontSize": {
56
+ "type": "dimension"
57
+ },
58
+ "lineHeight": {
59
+ "type": "dimension"
60
+ }
61
+ }
62
+ },
63
+ "clearButton": {
64
+ "properties": {
65
+ "paddingX": {
66
+ "type": "dimension"
67
+ },
68
+ "paddingY": {
69
+ "type": "dimension"
70
+ }
71
+ }
72
+ },
73
+ "clearButtonIcon": {
74
+ "properties": {
75
+ "color": {
76
+ "type": "color"
77
+ },
78
+ "size": {
79
+ "type": "dimension"
80
+ }
81
+ }
82
+ }
83
+ },
84
+ "variants": {}
85
+ },
86
+ "definitions": [
87
+ {
88
+ "variants": {},
89
+ "definitions": [
90
+ {
91
+ "states": [
92
+ "enabled"
93
+ ],
94
+ "slots": {
95
+ "root": {
96
+ "height": {
97
+ "type": "dimension",
98
+ "value": {
99
+ "value": 44,
100
+ "unit": "px"
101
+ }
102
+ },
103
+ "cornerRadius": {
104
+ "type": "dimension",
105
+ "value": "$radius.r2_5"
106
+ },
107
+ "paddingLeft": {
108
+ "type": "dimension",
109
+ "value": "$dimension.x4"
110
+ },
111
+ "paddingRight": {
112
+ "type": "dimension",
113
+ "value": "$dimension.x1"
114
+ },
115
+ "color": {
116
+ "type": "color",
117
+ "value": "$color.bg.neutral-weak"
118
+ }
119
+ },
120
+ "value": {
121
+ "color": {
122
+ "type": "color",
123
+ "value": "$color.fg.neutral"
124
+ },
125
+ "fontWeight": {
126
+ "type": "number",
127
+ "value": "$font-weight.regular"
128
+ },
129
+ "fontSize": {
130
+ "type": "dimension",
131
+ "value": "$font-size.t6"
132
+ },
133
+ "lineHeight": {
134
+ "type": "dimension",
135
+ "value": "$line-height.t6"
136
+ }
137
+ },
138
+ "placeholder": {
139
+ "color": {
140
+ "type": "color",
141
+ "value": "$color.fg.placeholder"
142
+ },
143
+ "fontWeight": {
144
+ "type": "number",
145
+ "value": "$font-weight.regular"
146
+ },
147
+ "fontSize": {
148
+ "type": "dimension",
149
+ "value": "$font-size.t6"
150
+ },
151
+ "lineHeight": {
152
+ "type": "dimension",
153
+ "value": "$line-height.t6"
154
+ }
155
+ },
156
+ "clearButton": {
157
+ "paddingX": {
158
+ "type": "dimension",
159
+ "value": "$dimension.x3"
160
+ },
161
+ "paddingY": {
162
+ "type": "dimension",
163
+ "value": "$dimension.x3"
164
+ }
165
+ },
166
+ "clearButtonIcon": {
167
+ "color": {
168
+ "type": "color",
169
+ "value": "$color.fg.neutral-subtle"
170
+ },
171
+ "size": {
172
+ "type": "dimension",
173
+ "value": "$dimension.x5"
174
+ }
175
+ }
176
+ }
177
+ }
178
+ ]
179
+ }
180
+ ]
181
+ }
182
+ }
@@ -0,0 +1,2 @@
1
+ import artifact from "./search-input.json" with { type: "json" };
2
+ export default artifact;
@@ -20,6 +20,9 @@ declare const artifact: {
20
20
  "paddingY": {
21
21
  "type": "dimension";
22
22
  };
23
+ "scrollMarginX": {
24
+ "type": "dimension";
25
+ };
23
26
  "scaleScope": {
24
27
  "type": "enum";
25
28
  "values": readonly [
@@ -65,6 +68,12 @@ declare const artifact: {
65
68
  "enabled",
66
69
  ];
67
70
  "slots": {
71
+ "root": {
72
+ "scrollMarginX": {
73
+ "type": "dimension";
74
+ "value": "$dimension.spacing-x.global-gutter";
75
+ };
76
+ };
68
77
  "label": {
69
78
  "color": {
70
79
  "type": "color";
@@ -20,6 +20,9 @@
20
20
  "paddingY": {
21
21
  "type": "dimension"
22
22
  },
23
+ "scrollMarginX": {
24
+ "type": "dimension"
25
+ },
23
26
  "scaleScope": {
24
27
  "type": "enum",
25
28
  "values": [
@@ -65,6 +68,12 @@
65
68
  "enabled"
66
69
  ],
67
70
  "slots": {
71
+ "root": {
72
+ "scrollMarginX": {
73
+ "type": "dimension",
74
+ "value": "$dimension.spacing-x.global-gutter"
75
+ }
76
+ },
68
77
  "label": {
69
78
  "color": {
70
79
  "type": "color",
@@ -1,6 +1,6 @@
1
1
  declare const artifact: {
2
2
  "name": "Rootage";
3
- "version": "3.0.2";
3
+ "version": "3.1.0";
4
4
  "resources": readonly [
5
5
  {
6
6
  "path": "/collections.json";
@@ -227,6 +227,9 @@ declare const artifact: {
227
227
  {
228
228
  "path": "/components/scroll-fog.json";
229
229
  },
230
+ {
231
+ "path": "/components/search-input.json";
232
+ },
230
233
  {
231
234
  "path": "/components/segmented-control-indicator.json";
232
235
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Rootage",
3
- "version": "3.0.2",
3
+ "version": "3.1.0",
4
4
  "resources": [
5
5
  {
6
6
  "path": "/collections.json"
@@ -227,6 +227,9 @@
227
227
  {
228
228
  "path": "/components/scroll-fog.json"
229
229
  },
230
+ {
231
+ "path": "/components/search-input.json"
232
+ },
230
233
  {
231
234
  "path": "/components/segmented-control-indicator.json"
232
235
  },
package/color.yaml CHANGED
@@ -50,6 +50,46 @@ data:
50
50
  values:
51
51
  theme-light: "#1a1c20"
52
52
  theme-dark: "#f3f4f5"
53
+ $color.palette.gray-alpha-100:
54
+ values:
55
+ theme-light: "#00204008"
56
+ theme-dark: "#d0d9ff1b"
57
+ $color.palette.gray-alpha-200:
58
+ values:
59
+ theme-light: "#14273b0d"
60
+ theme-dark: "#c8ddff25"
61
+ $color.palette.gray-alpha-300:
62
+ values:
63
+ theme-light: "#000f2d11"
64
+ theme-dark: "#cfddff35"
65
+ $color.palette.gray-alpha-400:
66
+ values:
67
+ theme-light: "#000f3323"
68
+ theme-dark: "#d0deff46"
69
+ $color.palette.gray-alpha-500:
70
+ values:
71
+ theme-light: "#05102b2f"
72
+ theme-dark: "#dbe7ff6a"
73
+ $color.palette.gray-alpha-600:
74
+ values:
75
+ theme-light: "#000a204f"
76
+ theme-dark: "#e7efff94"
77
+ $color.palette.gray-alpha-700:
78
+ values:
79
+ theme-light: "#000b1e79"
80
+ theme-dark: "#f1f5ffba"
81
+ $color.palette.gray-alpha-800:
82
+ values:
83
+ theme-light: "#010d25ab"
84
+ theme-dark: "#f7f9ffe3"
85
+ $color.palette.gray-alpha-900:
86
+ values:
87
+ theme-light: "#000711d5"
88
+ theme-dark: "#fcfdffec"
89
+ $color.palette.gray-alpha-1000:
90
+ values:
91
+ theme-light: "#000207e5"
92
+ theme-dark: "#fdfefff5"
53
93
  $color.palette.carrot-100:
54
94
  values:
55
95
  theme-light: "#fff2ec"
@@ -0,0 +1,77 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: search-input
5
+ name: Search Input
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ height:
12
+ type: dimension
13
+ cornerRadius:
14
+ type: dimension
15
+ paddingLeft:
16
+ type: dimension
17
+ paddingRight:
18
+ type: dimension
19
+ color:
20
+ type: color
21
+ value:
22
+ properties:
23
+ color:
24
+ type: color
25
+ fontWeight:
26
+ type: number
27
+ fontSize:
28
+ type: dimension
29
+ lineHeight:
30
+ type: dimension
31
+ placeholder:
32
+ properties:
33
+ color:
34
+ type: color
35
+ fontWeight:
36
+ type: number
37
+ fontSize:
38
+ type: dimension
39
+ lineHeight:
40
+ type: dimension
41
+ clearButton:
42
+ properties:
43
+ paddingX:
44
+ type: dimension
45
+ paddingY:
46
+ type: dimension
47
+ clearButtonIcon:
48
+ properties:
49
+ color:
50
+ type: color
51
+ size:
52
+ type: dimension
53
+ definitions:
54
+ base:
55
+ enabled:
56
+ root:
57
+ height: 44px
58
+ cornerRadius: $radius.r2_5
59
+ paddingLeft: $dimension.x4
60
+ paddingRight: $dimension.x1
61
+ color: $color.bg.neutral-weak
62
+ value:
63
+ color: $color.fg.neutral
64
+ fontWeight: $font-weight.regular
65
+ fontSize: $font-size.t6
66
+ lineHeight: $line-height.t6
67
+ placeholder:
68
+ color: $color.fg.placeholder
69
+ fontWeight: $font-weight.regular
70
+ fontSize: $font-size.t6
71
+ lineHeight: $line-height.t6
72
+ clearButton:
73
+ paddingX: $dimension.x3
74
+ paddingY: $dimension.x3
75
+ clearButtonIcon:
76
+ color: $color.fg.neutral-subtle
77
+ size: $dimension.x5
@@ -14,6 +14,8 @@ data:
14
14
  type: dimension
15
15
  paddingY:
16
16
  type: dimension
17
+ scrollMarginX:
18
+ type: dimension
17
19
  scaleScope:
18
20
  type: enum
19
21
  values: [self, content]
@@ -30,6 +32,8 @@ data:
30
32
  definitions:
31
33
  base:
32
34
  enabled:
35
+ root:
36
+ scrollMarginX: $dimension.spacing-x.global-gutter
33
37
  label:
34
38
  color: $color.fg.neutral-subtle
35
39
  selected:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-design/rootage-artifacts",
3
- "version": "3.0.2",
3
+ "version": "3.1.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",