@mekari/pixel3-styled-system 0.1.1 → 0.1.2-dev.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/CHANGELOG.md +57 -0
- package/css/conditions.mjs +1 -1
- package/jsx/is-valid-prop.mjs +1 -1
- package/package.json +1 -1
- package/recipes/accordion-slot-recipe.d.ts +5 -1
- package/recipes/accordion-slot-recipe.mjs +16 -2
- package/recipes/airene-button-recipe.d.ts +28 -0
- package/recipes/airene-button-recipe.mjs +36 -0
- package/recipes/airene-button-slot-recipe.d.ts +28 -0
- package/recipes/airene-button-slot-recipe.mjs +36 -0
- package/recipes/avatar-slot-recipe.mjs +4 -1
- package/recipes/badge-recipe.d.ts +4 -4
- package/recipes/badge-recipe.mjs +250 -42
- package/recipes/button-recipe.d.ts +1 -1
- package/recipes/button-recipe.mjs +43 -6
- package/recipes/index.d.ts +2 -1
- package/recipes/index.mjs +2 -1
- package/recipes/selected-border-recipe.mjs +80 -76
- package/recipes/tab-recipe.mjs +6 -0
- package/recipes/tab-selected-border-recipe.mjs +7 -1
- package/recipes/tag-slot-recipe.mjs +18 -2
- package/recipes/toast-slot-recipe.mjs +8 -2
- package/themes/index.d.ts +21 -0
- package/themes/index.mjs +24 -0
- package/themes/new.json +5 -0
- package/themes/next.json +5 -0
- package/tokens/index.mjs +1194 -210
- package/tokens/tokens.d.ts +6 -6
- package/types/conditions.d.ts +5 -1
- package/types/prop-type.d.ts +15 -14
- package/types/style-props.d.ts +35 -35
package/recipes/badge-recipe.mjs
CHANGED
|
@@ -2,125 +2,325 @@ import { memo, splitProps } from '../helpers.mjs';
|
|
|
2
2
|
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const badgeRecipeFn = /* @__PURE__ */ createRecipe('badge', {
|
|
5
|
-
"variant": "
|
|
5
|
+
"variant": "additionalInformation",
|
|
6
6
|
"size": "md",
|
|
7
|
-
"variantColor": "
|
|
7
|
+
"variantColor": "information"
|
|
8
8
|
}, [
|
|
9
9
|
{
|
|
10
|
-
"variant":
|
|
10
|
+
"variant": [
|
|
11
|
+
"solid",
|
|
12
|
+
"additionalInformation",
|
|
13
|
+
"tableStatus"
|
|
14
|
+
],
|
|
11
15
|
"size": "md",
|
|
12
16
|
"css": {
|
|
13
17
|
"paddingX": "1.5",
|
|
14
|
-
"paddingY": "0.5"
|
|
18
|
+
"paddingY": "0.5",
|
|
19
|
+
"minWidth": "5",
|
|
20
|
+
"height": "5"
|
|
15
21
|
}
|
|
16
22
|
},
|
|
17
23
|
{
|
|
18
|
-
"variant":
|
|
24
|
+
"variant": [
|
|
25
|
+
"solid",
|
|
26
|
+
"additionalInformation",
|
|
27
|
+
"tableStatus"
|
|
28
|
+
],
|
|
19
29
|
"size": "sm",
|
|
20
30
|
"css": {
|
|
21
31
|
"paddingX": "1",
|
|
22
|
-
"paddingY": "0.5"
|
|
32
|
+
"paddingY": "0.5",
|
|
33
|
+
"minWidth": "4",
|
|
34
|
+
"height": "4"
|
|
23
35
|
}
|
|
24
36
|
},
|
|
25
37
|
{
|
|
26
|
-
"variant":
|
|
38
|
+
"variant": [
|
|
39
|
+
"subtle",
|
|
40
|
+
"additionalInformation",
|
|
41
|
+
"tableStatus"
|
|
42
|
+
],
|
|
27
43
|
"size": "md",
|
|
28
44
|
"css": {
|
|
29
45
|
"paddingX": "2",
|
|
30
|
-
"paddingY": "0"
|
|
46
|
+
"paddingY": "0",
|
|
47
|
+
"minWidth": "5",
|
|
48
|
+
"height": "5"
|
|
31
49
|
}
|
|
32
50
|
},
|
|
33
51
|
{
|
|
34
|
-
"variant":
|
|
52
|
+
"variant": [
|
|
53
|
+
"subtle",
|
|
54
|
+
"additionalInformation",
|
|
55
|
+
"tableStatus"
|
|
56
|
+
],
|
|
35
57
|
"size": "sm",
|
|
36
58
|
"css": {
|
|
37
59
|
"paddingX": "1",
|
|
38
|
-
"paddingY": "0"
|
|
60
|
+
"paddingY": "0",
|
|
61
|
+
"minWidth": "4",
|
|
62
|
+
"height": "4"
|
|
39
63
|
}
|
|
40
64
|
},
|
|
41
65
|
{
|
|
42
|
-
"variant": "
|
|
43
|
-
"
|
|
66
|
+
"variant": "indicator",
|
|
67
|
+
"size": [
|
|
68
|
+
"sm",
|
|
69
|
+
"md"
|
|
70
|
+
],
|
|
44
71
|
"css": {
|
|
45
|
-
"
|
|
72
|
+
"width": "3",
|
|
73
|
+
"height": "3"
|
|
46
74
|
}
|
|
47
75
|
},
|
|
48
76
|
{
|
|
49
|
-
"variant":
|
|
50
|
-
|
|
77
|
+
"variant": [
|
|
78
|
+
"solid",
|
|
79
|
+
"additionalInformation"
|
|
80
|
+
],
|
|
81
|
+
"variantColor": [
|
|
82
|
+
"blue",
|
|
83
|
+
"information"
|
|
84
|
+
],
|
|
51
85
|
"css": {
|
|
52
|
-
"backgroundColor": "
|
|
86
|
+
"backgroundColor": "sky.400",
|
|
87
|
+
"color": "white",
|
|
88
|
+
"_nextTheme": {
|
|
89
|
+
"backgroundColor": "background.brand.bold",
|
|
90
|
+
"color": "text.inverse"
|
|
91
|
+
}
|
|
53
92
|
}
|
|
54
93
|
},
|
|
55
94
|
{
|
|
56
|
-
"variant":
|
|
57
|
-
|
|
95
|
+
"variant": [
|
|
96
|
+
"solid",
|
|
97
|
+
"additionalInformation"
|
|
98
|
+
],
|
|
99
|
+
"variantColor": [
|
|
100
|
+
"green",
|
|
101
|
+
"completed"
|
|
102
|
+
],
|
|
58
103
|
"css": {
|
|
59
|
-
"backgroundColor": "
|
|
104
|
+
"backgroundColor": "teal.400",
|
|
105
|
+
"color": "white",
|
|
106
|
+
"_nextTheme": {
|
|
107
|
+
"backgroundColor": "background.success.bold",
|
|
108
|
+
"color": "text.inverse"
|
|
109
|
+
}
|
|
60
110
|
}
|
|
61
111
|
},
|
|
62
112
|
{
|
|
63
|
-
"variant":
|
|
64
|
-
|
|
113
|
+
"variant": [
|
|
114
|
+
"solid",
|
|
115
|
+
"additionalInformation"
|
|
116
|
+
],
|
|
117
|
+
"variantColor": [
|
|
118
|
+
"orange",
|
|
119
|
+
"warning"
|
|
120
|
+
],
|
|
121
|
+
"css": {
|
|
122
|
+
"backgroundColor": "amber.400",
|
|
123
|
+
"color": "white",
|
|
124
|
+
"_nextTheme": {
|
|
125
|
+
"backgroundColor": "background.warning.bold",
|
|
126
|
+
"color": "text.warning.inverse"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"variant": [
|
|
132
|
+
"solid",
|
|
133
|
+
"additionalInformation"
|
|
134
|
+
],
|
|
135
|
+
"variantColor": [
|
|
136
|
+
"red",
|
|
137
|
+
"critical"
|
|
138
|
+
],
|
|
65
139
|
"css": {
|
|
66
|
-
"backgroundColor": "rose.400"
|
|
140
|
+
"backgroundColor": "rose.400",
|
|
141
|
+
"color": "white",
|
|
142
|
+
"_nextTheme": {
|
|
143
|
+
"backgroundColor": "background.danger.bold",
|
|
144
|
+
"color": "text.inverse"
|
|
145
|
+
}
|
|
67
146
|
}
|
|
68
147
|
},
|
|
69
148
|
{
|
|
70
|
-
"variant":
|
|
71
|
-
|
|
149
|
+
"variant": [
|
|
150
|
+
"solid",
|
|
151
|
+
"additionalInformation"
|
|
152
|
+
],
|
|
153
|
+
"variantColor": [
|
|
154
|
+
"gray",
|
|
155
|
+
"announcement"
|
|
156
|
+
],
|
|
72
157
|
"css": {
|
|
73
|
-
"backgroundColor": "stone.400"
|
|
158
|
+
"backgroundColor": "stone.400",
|
|
159
|
+
"color": "white",
|
|
160
|
+
"_nextTheme": {
|
|
161
|
+
"backgroundColor": "background.neutral.bold",
|
|
162
|
+
"color": "text.inverse"
|
|
163
|
+
}
|
|
74
164
|
}
|
|
75
165
|
},
|
|
76
166
|
{
|
|
77
167
|
"variant": [
|
|
78
|
-
"subtle"
|
|
168
|
+
"subtle",
|
|
169
|
+
"tableStatus"
|
|
170
|
+
],
|
|
171
|
+
"variantColor": [
|
|
172
|
+
"blue",
|
|
173
|
+
"information"
|
|
79
174
|
],
|
|
80
|
-
"variantColor": "blue",
|
|
81
175
|
"css": {
|
|
82
176
|
"backgroundColor": "blue.50",
|
|
83
|
-
"color": "blue.700"
|
|
177
|
+
"color": "blue.700",
|
|
178
|
+
"_nextTheme": {
|
|
179
|
+
"backgroundColor": "background.brand",
|
|
180
|
+
"color": "text.information"
|
|
181
|
+
}
|
|
84
182
|
}
|
|
85
183
|
},
|
|
86
184
|
{
|
|
87
185
|
"variant": [
|
|
88
|
-
"subtle"
|
|
186
|
+
"subtle",
|
|
187
|
+
"tableStatus"
|
|
188
|
+
],
|
|
189
|
+
"variantColor": [
|
|
190
|
+
"green",
|
|
191
|
+
"completed"
|
|
89
192
|
],
|
|
90
|
-
"variantColor": "green",
|
|
91
193
|
"css": {
|
|
92
194
|
"backgroundColor": "green.50",
|
|
93
|
-
"color": "green.700"
|
|
195
|
+
"color": "green.700",
|
|
196
|
+
"_nextTheme": {
|
|
197
|
+
"backgroundColor": "background.success",
|
|
198
|
+
"color": "text.success"
|
|
199
|
+
}
|
|
94
200
|
}
|
|
95
201
|
},
|
|
96
202
|
{
|
|
97
203
|
"variant": [
|
|
98
|
-
"subtle"
|
|
204
|
+
"subtle",
|
|
205
|
+
"tableStatus"
|
|
206
|
+
],
|
|
207
|
+
"variantColor": [
|
|
208
|
+
"orange",
|
|
209
|
+
"warning"
|
|
99
210
|
],
|
|
100
|
-
"variantColor": "orange",
|
|
101
211
|
"css": {
|
|
102
212
|
"backgroundColor": "orange.50",
|
|
103
|
-
"color": "orange.700"
|
|
213
|
+
"color": "orange.700",
|
|
214
|
+
"_nextTheme": {
|
|
215
|
+
"backgroundColor": "background.warning",
|
|
216
|
+
"color": "text.warning"
|
|
217
|
+
}
|
|
104
218
|
}
|
|
105
219
|
},
|
|
106
220
|
{
|
|
107
221
|
"variant": [
|
|
108
|
-
"subtle"
|
|
222
|
+
"subtle",
|
|
223
|
+
"tableStatus"
|
|
224
|
+
],
|
|
225
|
+
"variantColor": [
|
|
226
|
+
"red",
|
|
227
|
+
"critical"
|
|
109
228
|
],
|
|
110
|
-
"variantColor": "red",
|
|
111
229
|
"css": {
|
|
112
230
|
"backgroundColor": "red.50",
|
|
113
|
-
"color": "red.700"
|
|
231
|
+
"color": "red.700",
|
|
232
|
+
"_nextTheme": {
|
|
233
|
+
"backgroundColor": "background.danger",
|
|
234
|
+
"color": "text.danger"
|
|
235
|
+
}
|
|
114
236
|
}
|
|
115
237
|
},
|
|
116
238
|
{
|
|
117
239
|
"variant": [
|
|
118
|
-
"subtle"
|
|
240
|
+
"subtle",
|
|
241
|
+
"tableStatus"
|
|
242
|
+
],
|
|
243
|
+
"variantColor": [
|
|
244
|
+
"gray",
|
|
245
|
+
"announcement"
|
|
119
246
|
],
|
|
120
|
-
"variantColor": "gray",
|
|
121
247
|
"css": {
|
|
122
248
|
"backgroundColor": "gray.50",
|
|
123
|
-
"color": "black"
|
|
249
|
+
"color": "black",
|
|
250
|
+
"_nextTheme": {
|
|
251
|
+
"color": "text.default",
|
|
252
|
+
"backgroundColor": "background.neutral.subtle"
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"variant": "indicator",
|
|
258
|
+
"variantColor": [
|
|
259
|
+
"blue",
|
|
260
|
+
"information"
|
|
261
|
+
],
|
|
262
|
+
"css": {
|
|
263
|
+
"backgroundColor": "sky.400",
|
|
264
|
+
"_nextTheme": {
|
|
265
|
+
"backgroundColor": "icon.brand",
|
|
266
|
+
"color": "text.inverse"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"variant": "indicator",
|
|
272
|
+
"variantColor": [
|
|
273
|
+
"green",
|
|
274
|
+
"completed"
|
|
275
|
+
],
|
|
276
|
+
"css": {
|
|
277
|
+
"backgroundColor": "teal.400",
|
|
278
|
+
"_nextTheme": {
|
|
279
|
+
"backgroundColor": "icon.success",
|
|
280
|
+
"color": "text.inverse"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"variant": "indicator",
|
|
286
|
+
"variantColor": [
|
|
287
|
+
"orange",
|
|
288
|
+
"warning"
|
|
289
|
+
],
|
|
290
|
+
"css": {
|
|
291
|
+
"backgroundColor": "amber.400",
|
|
292
|
+
"_nextTheme": {
|
|
293
|
+
"backgroundColor": "icon.warning",
|
|
294
|
+
"color": "text.warning.inverse"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"variant": "indicator",
|
|
300
|
+
"variantColor": [
|
|
301
|
+
"red",
|
|
302
|
+
"critical"
|
|
303
|
+
],
|
|
304
|
+
"css": {
|
|
305
|
+
"backgroundColor": "rose.400",
|
|
306
|
+
"_nextTheme": {
|
|
307
|
+
"backgroundColor": "icon.danger",
|
|
308
|
+
"color": "text.inverse"
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"variant": "indicator",
|
|
314
|
+
"variantColor": [
|
|
315
|
+
"gray",
|
|
316
|
+
"announcement"
|
|
317
|
+
],
|
|
318
|
+
"css": {
|
|
319
|
+
"backgroundColor": "stone.400",
|
|
320
|
+
"_nextTheme": {
|
|
321
|
+
"color": "text.inverse",
|
|
322
|
+
"backgroundColor": "icon.default"
|
|
323
|
+
}
|
|
124
324
|
}
|
|
125
325
|
}
|
|
126
326
|
])
|
|
@@ -128,14 +328,22 @@ const badgeRecipeFn = /* @__PURE__ */ createRecipe('badge', {
|
|
|
128
328
|
const badgeRecipeVariantMap = {
|
|
129
329
|
"variant": [
|
|
130
330
|
"solid",
|
|
131
|
-
"subtle"
|
|
331
|
+
"subtle",
|
|
332
|
+
"additionalInformation",
|
|
333
|
+
"tableStatus",
|
|
334
|
+
"indicator"
|
|
132
335
|
],
|
|
133
336
|
"variantColor": [
|
|
134
337
|
"blue",
|
|
135
338
|
"green",
|
|
136
339
|
"orange",
|
|
137
340
|
"red",
|
|
138
|
-
"gray"
|
|
341
|
+
"gray",
|
|
342
|
+
"announcement",
|
|
343
|
+
"information",
|
|
344
|
+
"warning",
|
|
345
|
+
"completed",
|
|
346
|
+
"critical"
|
|
139
347
|
],
|
|
140
348
|
"size": [
|
|
141
349
|
"sm",
|
|
@@ -13,7 +13,11 @@ const buttonRecipeFn = /* @__PURE__ */ createRecipe('button', {
|
|
|
13
13
|
"borderRadius": "sm",
|
|
14
14
|
"_focusVisible": {
|
|
15
15
|
"borderColor": "white",
|
|
16
|
-
"boxShadow": "focus"
|
|
16
|
+
"boxShadow": "focus",
|
|
17
|
+
"_nextTheme": {
|
|
18
|
+
"borderColor": "border.focused",
|
|
19
|
+
"boxShadow": "focus"
|
|
20
|
+
}
|
|
17
21
|
}
|
|
18
22
|
}
|
|
19
23
|
},
|
|
@@ -30,12 +34,17 @@ const buttonRecipeFn = /* @__PURE__ */ createRecipe('button', {
|
|
|
30
34
|
"variant": [
|
|
31
35
|
"primary",
|
|
32
36
|
"secondary",
|
|
33
|
-
"ghost"
|
|
37
|
+
"ghost",
|
|
38
|
+
"tertiary"
|
|
34
39
|
],
|
|
35
40
|
"css": {
|
|
36
41
|
"_focusVisible": {
|
|
37
42
|
"borderColor": "blue.400",
|
|
38
|
-
"boxShadow": "focus"
|
|
43
|
+
"boxShadow": "focus",
|
|
44
|
+
"_nextTheme": {
|
|
45
|
+
"borderColor": "border.focused",
|
|
46
|
+
"boxShadow": "focus"
|
|
47
|
+
}
|
|
39
48
|
}
|
|
40
49
|
}
|
|
41
50
|
},
|
|
@@ -44,7 +53,8 @@ const buttonRecipeFn = /* @__PURE__ */ createRecipe('button', {
|
|
|
44
53
|
"primary",
|
|
45
54
|
"secondary",
|
|
46
55
|
"ghost",
|
|
47
|
-
"danger"
|
|
56
|
+
"danger",
|
|
57
|
+
"tertiary"
|
|
48
58
|
],
|
|
49
59
|
"css": {
|
|
50
60
|
"_disabled": {
|
|
@@ -54,7 +64,32 @@ const buttonRecipeFn = /* @__PURE__ */ createRecipe('button', {
|
|
|
54
64
|
"borderColor": "gray.50",
|
|
55
65
|
"_hover": {
|
|
56
66
|
"background": "gray.50",
|
|
57
|
-
"borderColor": "gray.50"
|
|
67
|
+
"borderColor": "gray.50",
|
|
68
|
+
"_hasIcon": {
|
|
69
|
+
"background": "transparent",
|
|
70
|
+
"borderColor": "transparent"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"_hasIcon": {
|
|
74
|
+
"background": "transparent",
|
|
75
|
+
"borderColor": "transparent"
|
|
76
|
+
},
|
|
77
|
+
"_nextTheme": {
|
|
78
|
+
"color": "text.disabled",
|
|
79
|
+
"background": "background.disabled",
|
|
80
|
+
"borderColor": "background.disabled",
|
|
81
|
+
"_hover": {
|
|
82
|
+
"background": "background.disabled",
|
|
83
|
+
"borderColor": "background.disabled",
|
|
84
|
+
"_hasIcon": {
|
|
85
|
+
"background": "transparent",
|
|
86
|
+
"borderColor": "transparent"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"_hasIcon": {
|
|
90
|
+
"background": "transparent",
|
|
91
|
+
"borderColor": "transparent"
|
|
92
|
+
}
|
|
58
93
|
}
|
|
59
94
|
}
|
|
60
95
|
}
|
|
@@ -67,7 +102,9 @@ const buttonRecipeVariantMap = {
|
|
|
67
102
|
"secondary",
|
|
68
103
|
"ghost",
|
|
69
104
|
"danger",
|
|
70
|
-
"
|
|
105
|
+
"tertiary",
|
|
106
|
+
"textLink",
|
|
107
|
+
"unstyled"
|
|
71
108
|
],
|
|
72
109
|
"size": [
|
|
73
110
|
"sm",
|
package/recipes/index.d.ts
CHANGED
|
@@ -68,4 +68,5 @@ export * from './timeline-accordion-slot-recipe';
|
|
|
68
68
|
export * from './tab-list-slot-recipe';
|
|
69
69
|
export * from './color-picker-slot-recipe';
|
|
70
70
|
export * from './slider-slot-recipe';
|
|
71
|
-
export * from './tour-slot-recipe';
|
|
71
|
+
export * from './tour-slot-recipe';
|
|
72
|
+
export * from './airene-button-slot-recipe';
|
package/recipes/index.mjs
CHANGED
|
@@ -67,4 +67,5 @@ export * from './timeline-accordion-slot-recipe.mjs';
|
|
|
67
67
|
export * from './tab-list-slot-recipe.mjs';
|
|
68
68
|
export * from './color-picker-slot-recipe.mjs';
|
|
69
69
|
export * from './slider-slot-recipe.mjs';
|
|
70
|
-
export * from './tour-slot-recipe.mjs';
|
|
70
|
+
export * from './tour-slot-recipe.mjs';
|
|
71
|
+
export * from './airene-button-slot-recipe.mjs';
|
|
@@ -1,90 +1,94 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs'
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs'
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs'
|
|
2
|
+
import { createRecipe, mergeRecipes } from './create-recipe.mjs'
|
|
3
3
|
|
|
4
|
-
const selectedBorderRecipeFn = /* @__PURE__ */ createRecipe(
|
|
5
|
-
|
|
6
|
-
"isSelected": false
|
|
7
|
-
}, [
|
|
4
|
+
const selectedBorderRecipeFn = /* @__PURE__ */ createRecipe(
|
|
5
|
+
'selected-border',
|
|
8
6
|
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"css": {
|
|
12
|
-
"background": "blue.400",
|
|
13
|
-
"_groupHover": {
|
|
14
|
-
"background": "blue.500"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
7
|
+
variantColor: 'blue',
|
|
8
|
+
isSelected: false
|
|
17
9
|
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
10
|
+
[
|
|
11
|
+
{
|
|
12
|
+
variantColor: 'blue',
|
|
13
|
+
isSelected: true,
|
|
14
|
+
css: {
|
|
15
|
+
background: 'blue.400',
|
|
16
|
+
_groupHover: {
|
|
17
|
+
background: 'blue.500',
|
|
18
|
+
_nextTheme: {
|
|
19
|
+
background: 'border.selected'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
_nextTheme: {
|
|
23
|
+
background: 'border.selected'
|
|
24
|
+
}
|
|
25
25
|
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
variantColor: 'green',
|
|
29
|
+
isSelected: true,
|
|
30
|
+
css: {
|
|
31
|
+
background: 'green.400',
|
|
32
|
+
_groupHover: {
|
|
33
|
+
background: 'green.500'
|
|
34
|
+
}
|
|
35
35
|
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
variantColor: 'orange',
|
|
39
|
+
isSelected: true,
|
|
40
|
+
css: {
|
|
41
|
+
background: 'orange.400',
|
|
42
|
+
_groupHover: {
|
|
43
|
+
background: 'orange.500'
|
|
44
|
+
}
|
|
45
45
|
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
variantColor: 'red',
|
|
49
|
+
isSelected: true,
|
|
50
|
+
css: {
|
|
51
|
+
background: 'red.400',
|
|
52
|
+
_groupHover: {
|
|
53
|
+
background: 'red.500'
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
variantColor: 'gray',
|
|
59
|
+
isSelected: true,
|
|
60
|
+
css: {
|
|
61
|
+
background: 'gray.400',
|
|
62
|
+
_groupHover: {
|
|
63
|
+
background: 'gray.500'
|
|
64
|
+
}
|
|
55
65
|
}
|
|
56
66
|
}
|
|
57
|
-
|
|
58
|
-
|
|
67
|
+
]
|
|
68
|
+
)
|
|
59
69
|
|
|
60
70
|
const selectedBorderRecipeVariantMap = {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"green",
|
|
64
|
-
"orange",
|
|
65
|
-
"red",
|
|
66
|
-
"gray"
|
|
67
|
-
],
|
|
68
|
-
"isSelected": [
|
|
69
|
-
"false",
|
|
70
|
-
"true"
|
|
71
|
-
]
|
|
71
|
+
variantColor: ['blue', 'green', 'orange', 'red', 'gray'],
|
|
72
|
+
isSelected: ['false', 'true']
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
const selectedBorderRecipeVariantKeys = Object.keys(selectedBorderRecipeVariantMap)
|
|
75
76
|
|
|
76
|
-
export const selectedBorderRecipe = /* @__PURE__ */ Object.assign(
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
77
|
+
export const selectedBorderRecipe = /* @__PURE__ */ Object.assign(
|
|
78
|
+
memo(selectedBorderRecipeFn.recipeFn),
|
|
79
|
+
{
|
|
80
|
+
__recipe__: true,
|
|
81
|
+
__name__: 'selectedBorderRecipe',
|
|
82
|
+
__getCompoundVariantCss__: selectedBorderRecipeFn.__getCompoundVariantCss__,
|
|
83
|
+
raw: (props) => props,
|
|
84
|
+
variantKeys: selectedBorderRecipeVariantKeys,
|
|
85
|
+
variantMap: selectedBorderRecipeVariantMap,
|
|
86
|
+
merge(recipe) {
|
|
87
|
+
return mergeRecipes(this, recipe)
|
|
88
|
+
},
|
|
89
|
+
splitVariantProps(props) {
|
|
90
|
+
return splitProps(props, selectedBorderRecipeVariantKeys)
|
|
91
|
+
},
|
|
92
|
+
getVariantProps: selectedBorderRecipeFn.getVariantProps
|
|
93
|
+
}
|
|
94
|
+
)
|
package/recipes/tab-recipe.mjs
CHANGED