cetec-design-system 2.0.1-0 → 2.0.2-next.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.
- package/dist/{cetec-preset-BB-QcJUK.js → cetec-preset-DRK1vtb1.js} +1001 -406
- package/dist/cetec-preset-DRK1vtb1.js.map +1 -0
- package/dist/icon-metadata.json +22 -0
- package/dist/index.js +1146 -358
- package/dist/index.js.map +1 -1
- package/dist/panda.buildinfo.json +521 -95
- package/dist/preset.js +1 -1
- package/dist/specs/conditions.json +12 -0
- package/dist/specs/keyframes.json +11 -0
- package/dist/specs/recipes.json +139 -41
- package/dist/specs/semantic-tokens.json +175 -0
- package/dist/specs/text-styles.json +144 -0
- package/dist/specs/tokens.json +20 -0
- package/dist/sprite.svg +1 -1
- package/dist/sprite.symbol.html +57 -2
- package/dist/styles.css +4451 -2337
- package/dist/svgs/barcode-off.svg +1 -0
- package/dist/svgs/barcode.svg +1 -1
- package/dist/svgs/spinner.svg +1 -0
- package/dist/types/index.d.ts +120 -202
- package/package.json +1 -1
- package/src/recipes/avatar.ts +6 -6
- package/src/recipes/badge.ts +3 -0
- package/src/recipes/button.ts +125 -111
- package/src/recipes/chip.ts +146 -127
- package/src/recipes/icon.ts +11 -1
- package/src/recipes/kbd.ts +1 -1
- package/src/recipes/recipes-regular.ts +1 -0
- package/src/recipes/recipes-slot.ts +1 -0
- package/src/recipes/select.ts +268 -0
- package/src/recipes/skeleton.ts +73 -0
- package/src/recipes/spinner.ts +37 -29
- package/src/recipes/tag.ts +2 -0
- package/src/recipes/textInput.ts +77 -81
- package/src/styles/primitives/animations.ts +3 -0
- package/src/styles/primitives/sizes.ts +1 -0
- package/src/styles/semantics/fontSizes.ts +60 -0
- package/src/styles/semantics/index.ts +1 -0
- package/src/styles/utilities/conditions.ts +1 -0
- package/src/styles/utilities/keyframes.ts +8 -0
- package/src/styles/utilities/textStyles.ts +168 -34
- package/dist/cetec-preset-BB-QcJUK.js.map +0 -1
|
@@ -99,6 +99,7 @@ const conditions$1 = {
|
|
|
99
99
|
valid: "&:is(:valid, [data-valid=true])",
|
|
100
100
|
invalid: "&:is(:invalid, [data-invalid=true], [aria-invalid=true])",
|
|
101
101
|
error: "&:is([data-error=true])",
|
|
102
|
+
success: "&:is([data-success=true])",
|
|
102
103
|
autofill: "&:autofill",
|
|
103
104
|
inRange: "&:is(:in-range, [data-in-range=true])",
|
|
104
105
|
outOfRange: "&:is(:out-of-range, [data-outside-range=true])",
|
|
@@ -222,6 +223,14 @@ const keyframes = defineKeyframes({
|
|
|
222
223
|
animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
|
|
223
224
|
}
|
|
224
225
|
},
|
|
226
|
+
skeletonWave: {
|
|
227
|
+
"0%": {
|
|
228
|
+
backgroundPosition: "200% 0"
|
|
229
|
+
},
|
|
230
|
+
"100%": {
|
|
231
|
+
backgroundPosition: "-200% 0"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
225
234
|
badgePop: {
|
|
226
235
|
"0%": {
|
|
227
236
|
transform: "translate(50%, -50%) scale(1)"
|
|
@@ -321,124 +330,261 @@ const fontVariantsProperty = defineUtility({
|
|
|
321
330
|
return { fontVariationSettings: fontVariants[value] };
|
|
322
331
|
}
|
|
323
332
|
});
|
|
324
|
-
const baseHeadingStyles = {
|
|
325
|
-
fontFamily: "heading",
|
|
326
|
-
fontWeight: "black",
|
|
327
|
-
color: "text"
|
|
328
|
-
};
|
|
329
|
-
const baseBodyTextStyles = {
|
|
330
|
-
fontFamily: "body",
|
|
331
|
-
fontVariationSettings: fontVariants.body,
|
|
332
|
-
color: "text.subtlest"
|
|
333
|
-
};
|
|
334
|
-
const baseMonoStyles = {
|
|
335
|
-
fontFamily: "mono",
|
|
336
|
-
fontVariationSettings: fontVariants.mono,
|
|
337
|
-
color: "text.subtlest"
|
|
338
|
-
};
|
|
339
333
|
const textStyles = defineTextStyles({
|
|
340
334
|
display: {
|
|
341
335
|
lg: {
|
|
342
336
|
value: {
|
|
343
|
-
|
|
337
|
+
fontFamily: "heading",
|
|
338
|
+
fontWeight: "black",
|
|
339
|
+
color: "text",
|
|
344
340
|
fontSize: "72"
|
|
345
341
|
}
|
|
346
342
|
},
|
|
347
343
|
md: {
|
|
348
344
|
value: {
|
|
349
|
-
|
|
345
|
+
fontFamily: "heading",
|
|
346
|
+
fontWeight: "black",
|
|
347
|
+
color: "text",
|
|
350
348
|
fontSize: "64"
|
|
351
349
|
}
|
|
352
350
|
},
|
|
353
351
|
sm: {
|
|
354
352
|
value: {
|
|
355
|
-
|
|
353
|
+
fontFamily: "heading",
|
|
354
|
+
fontWeight: "black",
|
|
355
|
+
color: "text",
|
|
356
356
|
fontSize: "56"
|
|
357
357
|
}
|
|
358
358
|
},
|
|
359
359
|
xs: {
|
|
360
360
|
value: {
|
|
361
|
-
|
|
361
|
+
fontFamily: "heading",
|
|
362
|
+
fontWeight: "black",
|
|
363
|
+
color: "text",
|
|
362
364
|
fontSize: "48"
|
|
363
365
|
}
|
|
366
|
+
},
|
|
367
|
+
size: {
|
|
368
|
+
lg: {
|
|
369
|
+
value: {
|
|
370
|
+
fontFamily: "heading",
|
|
371
|
+
fontWeight: "black",
|
|
372
|
+
fontSize: "72"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
md: {
|
|
376
|
+
value: {
|
|
377
|
+
fontFamily: "heading",
|
|
378
|
+
fontWeight: "black",
|
|
379
|
+
fontSize: "64"
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
sm: {
|
|
383
|
+
value: {
|
|
384
|
+
fontFamily: "heading",
|
|
385
|
+
fontWeight: "black",
|
|
386
|
+
fontSize: "56"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
xs: {
|
|
390
|
+
value: {
|
|
391
|
+
fontFamily: "heading",
|
|
392
|
+
fontWeight: "black",
|
|
393
|
+
fontSize: "48"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
364
396
|
}
|
|
365
397
|
},
|
|
366
398
|
heading: {
|
|
367
399
|
lg: {
|
|
368
400
|
value: {
|
|
369
|
-
|
|
401
|
+
fontFamily: "heading",
|
|
402
|
+
fontWeight: "black",
|
|
403
|
+
color: "text",
|
|
370
404
|
fontSize: "40"
|
|
371
405
|
}
|
|
372
406
|
},
|
|
373
407
|
md: {
|
|
374
408
|
value: {
|
|
375
|
-
|
|
409
|
+
fontFamily: "heading",
|
|
410
|
+
fontWeight: "black",
|
|
411
|
+
color: "text",
|
|
376
412
|
fontSize: "32"
|
|
377
413
|
}
|
|
378
414
|
},
|
|
379
415
|
sm: {
|
|
380
416
|
value: {
|
|
381
|
-
|
|
417
|
+
fontFamily: "heading",
|
|
418
|
+
fontWeight: "black",
|
|
419
|
+
color: "text",
|
|
382
420
|
fontSize: "24"
|
|
383
421
|
}
|
|
384
422
|
},
|
|
385
423
|
xs: {
|
|
386
424
|
value: {
|
|
387
|
-
|
|
425
|
+
fontFamily: "heading",
|
|
426
|
+
fontWeight: "black",
|
|
427
|
+
color: "text",
|
|
388
428
|
fontSize: "20"
|
|
389
429
|
}
|
|
430
|
+
},
|
|
431
|
+
size: {
|
|
432
|
+
lg: {
|
|
433
|
+
value: {
|
|
434
|
+
fontFamily: "heading",
|
|
435
|
+
fontWeight: "black",
|
|
436
|
+
fontSize: "40"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
md: {
|
|
440
|
+
value: {
|
|
441
|
+
fontFamily: "heading",
|
|
442
|
+
fontWeight: "black",
|
|
443
|
+
fontSize: "32"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
sm: {
|
|
447
|
+
value: {
|
|
448
|
+
fontFamily: "heading",
|
|
449
|
+
fontWeight: "black",
|
|
450
|
+
fontSize: "24"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
xs: {
|
|
454
|
+
value: {
|
|
455
|
+
fontFamily: "heading",
|
|
456
|
+
fontWeight: "black",
|
|
457
|
+
fontSize: "20"
|
|
458
|
+
}
|
|
459
|
+
}
|
|
390
460
|
}
|
|
391
461
|
},
|
|
392
462
|
body: {
|
|
393
463
|
lg: {
|
|
394
464
|
value: {
|
|
395
|
-
|
|
465
|
+
fontFamily: "body",
|
|
466
|
+
fontVariationSettings: fontVariants.body,
|
|
467
|
+
color: "text.subtlest",
|
|
396
468
|
fontSize: "20"
|
|
397
469
|
}
|
|
398
470
|
},
|
|
399
471
|
md: {
|
|
400
472
|
value: {
|
|
401
|
-
|
|
473
|
+
fontFamily: "body",
|
|
474
|
+
fontVariationSettings: fontVariants.body,
|
|
475
|
+
color: "text.subtlest",
|
|
402
476
|
fontSize: "16"
|
|
403
477
|
}
|
|
404
478
|
},
|
|
405
479
|
sm: {
|
|
406
480
|
value: {
|
|
407
|
-
|
|
481
|
+
fontFamily: "body",
|
|
482
|
+
fontVariationSettings: fontVariants.body,
|
|
483
|
+
color: "text.subtlest",
|
|
408
484
|
fontSize: "14"
|
|
409
485
|
}
|
|
410
486
|
},
|
|
411
487
|
xs: {
|
|
412
488
|
value: {
|
|
413
|
-
|
|
489
|
+
fontFamily: "body",
|
|
490
|
+
fontVariationSettings: fontVariants.body,
|
|
491
|
+
color: "text.subtlest",
|
|
414
492
|
fontSize: "12"
|
|
415
493
|
}
|
|
494
|
+
},
|
|
495
|
+
size: {
|
|
496
|
+
lg: {
|
|
497
|
+
value: {
|
|
498
|
+
fontFamily: "body",
|
|
499
|
+
fontVariationSettings: fontVariants.body,
|
|
500
|
+
fontSize: "20"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
md: {
|
|
504
|
+
value: {
|
|
505
|
+
fontFamily: "body",
|
|
506
|
+
fontVariationSettings: fontVariants.body,
|
|
507
|
+
fontSize: "16"
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
sm: {
|
|
511
|
+
value: {
|
|
512
|
+
fontFamily: "body",
|
|
513
|
+
fontVariationSettings: fontVariants.body,
|
|
514
|
+
fontSize: "14"
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
xs: {
|
|
518
|
+
value: {
|
|
519
|
+
fontFamily: "body",
|
|
520
|
+
fontVariationSettings: fontVariants.body,
|
|
521
|
+
fontSize: "12"
|
|
522
|
+
}
|
|
523
|
+
}
|
|
416
524
|
}
|
|
417
525
|
},
|
|
418
526
|
mono: {
|
|
419
527
|
lg: {
|
|
420
528
|
value: {
|
|
421
|
-
|
|
529
|
+
fontFamily: "mono",
|
|
530
|
+
fontVariationSettings: fontVariants.mono,
|
|
531
|
+
color: "text.subtlest",
|
|
422
532
|
fontSize: "20"
|
|
423
533
|
}
|
|
424
534
|
},
|
|
425
535
|
md: {
|
|
426
536
|
value: {
|
|
427
|
-
|
|
537
|
+
fontFamily: "mono",
|
|
538
|
+
fontVariationSettings: fontVariants.mono,
|
|
539
|
+
color: "text.subtlest",
|
|
428
540
|
fontSize: "16"
|
|
429
541
|
}
|
|
430
542
|
},
|
|
431
543
|
sm: {
|
|
432
544
|
value: {
|
|
433
|
-
|
|
545
|
+
fontFamily: "mono",
|
|
546
|
+
fontVariationSettings: fontVariants.mono,
|
|
547
|
+
color: "text.subtlest",
|
|
434
548
|
fontSize: "14"
|
|
435
549
|
}
|
|
436
550
|
},
|
|
437
551
|
xs: {
|
|
438
552
|
value: {
|
|
439
|
-
|
|
553
|
+
fontFamily: "mono",
|
|
554
|
+
fontVariationSettings: fontVariants.mono,
|
|
555
|
+
color: "text.subtlest",
|
|
440
556
|
fontSize: "12"
|
|
441
557
|
}
|
|
558
|
+
},
|
|
559
|
+
size: {
|
|
560
|
+
lg: {
|
|
561
|
+
value: {
|
|
562
|
+
fontFamily: "mono",
|
|
563
|
+
fontVariationSettings: fontVariants.mono,
|
|
564
|
+
fontSize: "20"
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
md: {
|
|
568
|
+
value: {
|
|
569
|
+
fontFamily: "mono",
|
|
570
|
+
fontVariationSettings: fontVariants.mono,
|
|
571
|
+
fontSize: "16"
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
sm: {
|
|
575
|
+
value: {
|
|
576
|
+
fontFamily: "mono",
|
|
577
|
+
fontVariationSettings: fontVariants.mono,
|
|
578
|
+
fontSize: "14"
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
xs: {
|
|
582
|
+
value: {
|
|
583
|
+
fontFamily: "mono",
|
|
584
|
+
fontVariationSettings: fontVariants.mono,
|
|
585
|
+
fontSize: "12"
|
|
586
|
+
}
|
|
587
|
+
}
|
|
442
588
|
}
|
|
443
589
|
}
|
|
444
590
|
});
|
|
@@ -458,6 +604,9 @@ const animations = defineTokens.animations({
|
|
|
458
604
|
},
|
|
459
605
|
bounce: {
|
|
460
606
|
value: "bounce 1s infinite"
|
|
607
|
+
},
|
|
608
|
+
skeletonWave: {
|
|
609
|
+
value: "skeletonWave 2s linear 0.5s infinite"
|
|
461
610
|
}
|
|
462
611
|
});
|
|
463
612
|
const aspectRatios = defineTokens.aspectRatios({
|
|
@@ -953,7 +1102,7 @@ const fonts = defineTokens.fonts({
|
|
|
953
1102
|
value: "'Recursive Variable', Andale Mono, monaco, Consolas, Lucida Console, monospace;"
|
|
954
1103
|
}
|
|
955
1104
|
});
|
|
956
|
-
const fontSizes$
|
|
1105
|
+
const fontSizes$2 = defineTokens.fontSizes({
|
|
957
1106
|
"10": { value: "{sizes.10}" },
|
|
958
1107
|
"12": { value: "{sizes.12}" },
|
|
959
1108
|
"14": { value: "{sizes.14}" },
|
|
@@ -1027,6 +1176,7 @@ const numericSizes = {
|
|
|
1027
1176
|
"12": { value: "0.75rem" },
|
|
1028
1177
|
"14": { value: "0.875rem" },
|
|
1029
1178
|
"16": { value: "1rem" },
|
|
1179
|
+
"18": { value: "1.125rem" },
|
|
1030
1180
|
"20": { value: "1.25rem" },
|
|
1031
1181
|
"22": { value: "1.375rem" },
|
|
1032
1182
|
"24": { value: "1.5rem" },
|
|
@@ -1200,7 +1350,7 @@ const tokens = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
|
|
|
1200
1350
|
containerSizeTokens,
|
|
1201
1351
|
durations,
|
|
1202
1352
|
easings,
|
|
1203
|
-
fontSizes: fontSizes$
|
|
1353
|
+
fontSizes: fontSizes$2,
|
|
1204
1354
|
fontWeights: fontWeights$1,
|
|
1205
1355
|
fonts,
|
|
1206
1356
|
letterSpacings,
|
|
@@ -4653,9 +4803,9 @@ const textBase = {
|
|
|
4653
4803
|
fontSize: "16",
|
|
4654
4804
|
maxWidth: "prose"
|
|
4655
4805
|
};
|
|
4656
|
-
const fontSizes = Object.keys(fontSizes$
|
|
4806
|
+
const fontSizes$1 = Object.keys(fontSizes$2).reduce(
|
|
4657
4807
|
(accumulator, currentKey) => {
|
|
4658
|
-
accumulator[currentKey] = { fontSize: fontSizes$
|
|
4808
|
+
accumulator[currentKey] = { fontSize: fontSizes$2[currentKey].value };
|
|
4659
4809
|
return accumulator;
|
|
4660
4810
|
},
|
|
4661
4811
|
{}
|
|
@@ -4714,7 +4864,7 @@ const textVariants = {
|
|
|
4714
4864
|
letterSpacing: "widest"
|
|
4715
4865
|
}
|
|
4716
4866
|
},
|
|
4717
|
-
size: fontSizes,
|
|
4867
|
+
size: fontSizes$1,
|
|
4718
4868
|
weight: fontWeights
|
|
4719
4869
|
};
|
|
4720
4870
|
const headingBase = {
|
|
@@ -4824,52 +4974,58 @@ const labelRecipe = defineRecipe({
|
|
|
4824
4974
|
}
|
|
4825
4975
|
});
|
|
4826
4976
|
const spinnerBase = {
|
|
4827
|
-
|
|
4977
|
+
container: {
|
|
4978
|
+
position: "relative",
|
|
4979
|
+
display: "grid",
|
|
4980
|
+
placeContent: "center",
|
|
4981
|
+
zIndex: "100",
|
|
4982
|
+
w: "fit",
|
|
4983
|
+
h: "fit",
|
|
4984
|
+
flex: "0"
|
|
4985
|
+
},
|
|
4986
|
+
spinnerSvg: {
|
|
4828
4987
|
aspectRatio: "square",
|
|
4829
|
-
rounded: "100",
|
|
4830
|
-
borderWidth: "3",
|
|
4831
|
-
borderStyle: "solid",
|
|
4832
|
-
borderColor: "transparent",
|
|
4833
|
-
borderTopColor: "icon",
|
|
4834
|
-
borderBottomColor: "icon",
|
|
4835
4988
|
animation: "spin",
|
|
4836
|
-
|
|
4989
|
+
fill: "icon",
|
|
4990
|
+
isolation: "isolate",
|
|
4991
|
+
flex: "0"
|
|
4837
4992
|
}
|
|
4838
4993
|
};
|
|
4839
4994
|
const spinnerVariants = {
|
|
4840
4995
|
size: {
|
|
4841
|
-
xs: {
|
|
4842
|
-
spinnerDiv: {
|
|
4843
|
-
height: "16",
|
|
4844
|
-
minHeight: "16",
|
|
4845
|
-
borderWidth: "2"
|
|
4846
|
-
}
|
|
4847
|
-
},
|
|
4848
4996
|
sm: {
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4997
|
+
spinnerSvg: {
|
|
4998
|
+
h: "16",
|
|
4999
|
+
w: "16",
|
|
5000
|
+
minHeight: "16"
|
|
4853
5001
|
}
|
|
4854
5002
|
},
|
|
4855
5003
|
md: {
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
5004
|
+
spinnerSvg: {
|
|
5005
|
+
h: "20",
|
|
5006
|
+
w: "20",
|
|
5007
|
+
minHeight: "20"
|
|
4859
5008
|
}
|
|
4860
5009
|
},
|
|
4861
5010
|
lg: {
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
5011
|
+
spinnerSvg: {
|
|
5012
|
+
h: "24",
|
|
5013
|
+
w: "24",
|
|
5014
|
+
minHeight: "24"
|
|
5015
|
+
}
|
|
5016
|
+
},
|
|
5017
|
+
xl: {
|
|
5018
|
+
spinnerSvg: {
|
|
5019
|
+
h: "28",
|
|
5020
|
+
w: "28",
|
|
5021
|
+
minHeight: "28"
|
|
4865
5022
|
}
|
|
4866
5023
|
}
|
|
4867
5024
|
},
|
|
4868
5025
|
inverse: {
|
|
4869
5026
|
true: {
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
borderBottomColor: "icon.inverse"
|
|
5027
|
+
spinnerSvg: {
|
|
5028
|
+
fill: "icon.inverse"
|
|
4873
5029
|
}
|
|
4874
5030
|
}
|
|
4875
5031
|
},
|
|
@@ -4878,11 +5034,13 @@ const spinnerVariants = {
|
|
|
4878
5034
|
container: {
|
|
4879
5035
|
position: "absolute",
|
|
4880
5036
|
inset: "0",
|
|
4881
|
-
display: "grid",
|
|
4882
|
-
placeContent: "center",
|
|
4883
5037
|
width: "full",
|
|
4884
|
-
height: "full"
|
|
4885
|
-
|
|
5038
|
+
height: "full"
|
|
5039
|
+
}
|
|
5040
|
+
},
|
|
5041
|
+
false: {
|
|
5042
|
+
container: {
|
|
5043
|
+
position: "relative"
|
|
4886
5044
|
}
|
|
4887
5045
|
}
|
|
4888
5046
|
}
|
|
@@ -4890,13 +5048,81 @@ const spinnerVariants = {
|
|
|
4890
5048
|
const spinnerRecipe = defineSlotRecipe({
|
|
4891
5049
|
className: "spinner",
|
|
4892
5050
|
jsx: ["Spinner"],
|
|
4893
|
-
slots: ["container", "
|
|
5051
|
+
slots: ["container", "spinnerSvg"],
|
|
4894
5052
|
base: spinnerBase,
|
|
4895
5053
|
variants: spinnerVariants,
|
|
4896
5054
|
defaultVariants: {
|
|
4897
5055
|
size: "md"
|
|
4898
5056
|
}
|
|
4899
5057
|
});
|
|
5058
|
+
const skeletonRecipe = defineRecipe({
|
|
5059
|
+
className: "skeleton",
|
|
5060
|
+
jsx: ["Skeleton"],
|
|
5061
|
+
base: {
|
|
5062
|
+
...globalBaseStyles,
|
|
5063
|
+
display: "block",
|
|
5064
|
+
position: "relative",
|
|
5065
|
+
overflow: "hidden",
|
|
5066
|
+
verticalAlign: "middle",
|
|
5067
|
+
flexShrink: "0",
|
|
5068
|
+
userSelect: "none",
|
|
5069
|
+
color: "transparent",
|
|
5070
|
+
bg: "bg.neutral.hovered"
|
|
5071
|
+
},
|
|
5072
|
+
variants: {
|
|
5073
|
+
variant: {
|
|
5074
|
+
text: {
|
|
5075
|
+
h: "24",
|
|
5076
|
+
borderRadius: "4",
|
|
5077
|
+
transformOrigin: "0 55%",
|
|
5078
|
+
transform: "scale(1, 0.6)"
|
|
5079
|
+
},
|
|
5080
|
+
circular: {
|
|
5081
|
+
aspectRatio: "square",
|
|
5082
|
+
borderRadius: "999"
|
|
5083
|
+
},
|
|
5084
|
+
rounded: {
|
|
5085
|
+
borderRadius: "4"
|
|
5086
|
+
},
|
|
5087
|
+
rectangular: {
|
|
5088
|
+
borderRadius: "0"
|
|
5089
|
+
}
|
|
5090
|
+
},
|
|
5091
|
+
animation: {
|
|
5092
|
+
pulse: {
|
|
5093
|
+
animation: "pulse"
|
|
5094
|
+
},
|
|
5095
|
+
wave: {
|
|
5096
|
+
isolation: "isolate",
|
|
5097
|
+
backgroundSize: "400% 100%",
|
|
5098
|
+
backgroundImage: "linear-gradient(90deg, transparent 40%, var(--cetec-colors-bg-accent-neutral-subtlest) 50%, transparent 60%)",
|
|
5099
|
+
animation: "[skeletonWave 6s infinite linear]"
|
|
5100
|
+
},
|
|
5101
|
+
none: {}
|
|
5102
|
+
},
|
|
5103
|
+
hasChildren: {
|
|
5104
|
+
true: {
|
|
5105
|
+
"& > *": {
|
|
5106
|
+
visibility: "hidden"
|
|
5107
|
+
}
|
|
5108
|
+
}
|
|
5109
|
+
},
|
|
5110
|
+
fitContent: {
|
|
5111
|
+
true: {
|
|
5112
|
+
maxWidth: "fit"
|
|
5113
|
+
}
|
|
5114
|
+
},
|
|
5115
|
+
heightAuto: {
|
|
5116
|
+
true: {
|
|
5117
|
+
height: "auto"
|
|
5118
|
+
}
|
|
5119
|
+
}
|
|
5120
|
+
},
|
|
5121
|
+
defaultVariants: {
|
|
5122
|
+
variant: "text",
|
|
5123
|
+
animation: "pulse"
|
|
5124
|
+
}
|
|
5125
|
+
});
|
|
4900
5126
|
const dividerRecipe = defineRecipe({
|
|
4901
5127
|
className: "divider",
|
|
4902
5128
|
jsx: ["Divider"],
|
|
@@ -5317,6 +5543,8 @@ const tagRecipe = defineRecipe({
|
|
|
5317
5543
|
variant: "default",
|
|
5318
5544
|
hue: "slate"
|
|
5319
5545
|
},
|
|
5546
|
+
// validate-ignore: avoid-compound-variants-in-recipes — tag color pairing is a fixed token matrix and clearer as declarative compound variants
|
|
5547
|
+
// eslint-disable-next-line cetec/avoid-compound-variants-in-recipes
|
|
5320
5548
|
compoundVariants: [
|
|
5321
5549
|
{
|
|
5322
5550
|
hue: "slate",
|
|
@@ -5648,11 +5876,21 @@ const iconRecipe = defineRecipe({
|
|
|
5648
5876
|
base: {
|
|
5649
5877
|
aspectRatio: "square",
|
|
5650
5878
|
fill: "icon.decorative",
|
|
5879
|
+
flexShrink: 0,
|
|
5651
5880
|
w: "24"
|
|
5652
5881
|
// Default size here does not affect the classNames, so it's safe to set
|
|
5653
5882
|
},
|
|
5654
5883
|
variants: {
|
|
5655
|
-
size:
|
|
5884
|
+
size: {
|
|
5885
|
+
...sizeVariants,
|
|
5886
|
+
sm: { w: "16" },
|
|
5887
|
+
md: { w: "20" },
|
|
5888
|
+
lg: { w: "24" },
|
|
5889
|
+
xl: { w: "28" }
|
|
5890
|
+
},
|
|
5891
|
+
contextFill: {
|
|
5892
|
+
true: {}
|
|
5893
|
+
}
|
|
5656
5894
|
},
|
|
5657
5895
|
defaultVariants: {
|
|
5658
5896
|
// Don't set default size because then it's hard to override in recipes
|
|
@@ -5698,6 +5936,7 @@ const regularRecipes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
|
|
|
5698
5936
|
listRecipe,
|
|
5699
5937
|
preRecipe,
|
|
5700
5938
|
radioInputRecipe,
|
|
5939
|
+
skeletonRecipe,
|
|
5701
5940
|
spinnerRecipe,
|
|
5702
5941
|
tagRecipe,
|
|
5703
5942
|
textRecipe,
|
|
@@ -5708,9 +5947,12 @@ const regularRecipes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
|
|
|
5708
5947
|
const buttonBaseStyles = {
|
|
5709
5948
|
container: {
|
|
5710
5949
|
...globalBaseStyles,
|
|
5711
|
-
"--
|
|
5712
|
-
"--
|
|
5713
|
-
"--
|
|
5950
|
+
"--main-py": "token(sizes.3)",
|
|
5951
|
+
"--main-px": "token(sizes.10)",
|
|
5952
|
+
"--main-slot-side-padding": "token(sizes.0)",
|
|
5953
|
+
"--main-fs": "token(sizes.16)",
|
|
5954
|
+
"--slot-size": "token(sizes.20)",
|
|
5955
|
+
"--slot-px": "token(sizes.6)",
|
|
5714
5956
|
position: "relative",
|
|
5715
5957
|
appearance: "none",
|
|
5716
5958
|
display: "flex",
|
|
@@ -5725,7 +5967,6 @@ const buttonBaseStyles = {
|
|
|
5725
5967
|
transitionTimingFunction: "default",
|
|
5726
5968
|
userSelect: "none",
|
|
5727
5969
|
verticalAlign: "middle",
|
|
5728
|
-
fontSize: "16",
|
|
5729
5970
|
fontWeight: "medium",
|
|
5730
5971
|
lineHeight: "default",
|
|
5731
5972
|
borderWidth: "1",
|
|
@@ -5751,20 +5992,23 @@ const buttonBaseStyles = {
|
|
|
5751
5992
|
outlineColor: "border.focused"
|
|
5752
5993
|
}
|
|
5753
5994
|
},
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
ms: "calc(var(--icon-margin-outside) * -1)",
|
|
5763
|
-
me: "calc(var(--icon-margin-inside) * -1)"
|
|
5995
|
+
mainContent: {
|
|
5996
|
+
display: "flex",
|
|
5997
|
+
alignItems: "center",
|
|
5998
|
+
width: "fit",
|
|
5999
|
+
height: "fit",
|
|
6000
|
+
py: "var(--main-py)",
|
|
6001
|
+
px: "var(--main-px)",
|
|
6002
|
+
fontSize: "var(--main-fs)"
|
|
5764
6003
|
},
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
6004
|
+
slot: {
|
|
6005
|
+
display: "inline-flex",
|
|
6006
|
+
alignItems: "center",
|
|
6007
|
+
transitionDuration: "fast",
|
|
6008
|
+
transitionProperty: "all",
|
|
6009
|
+
transitionTimingFunction: "default",
|
|
6010
|
+
flex: "0 0 var(--slot-size)",
|
|
6011
|
+
px: "var(--slot-px)"
|
|
5768
6012
|
}
|
|
5769
6013
|
};
|
|
5770
6014
|
const buttonVariants = {
|
|
@@ -5773,7 +6017,6 @@ const buttonVariants = {
|
|
|
5773
6017
|
container: {
|
|
5774
6018
|
bg: "bg.neutral",
|
|
5775
6019
|
borderColor: "transparent",
|
|
5776
|
-
color: "text",
|
|
5777
6020
|
_hover: {
|
|
5778
6021
|
bg: "bg.neutral.hovered"
|
|
5779
6022
|
},
|
|
@@ -5781,7 +6024,10 @@ const buttonVariants = {
|
|
|
5781
6024
|
bg: "bg.neutral.pressed"
|
|
5782
6025
|
}
|
|
5783
6026
|
},
|
|
5784
|
-
|
|
6027
|
+
mainContent: {
|
|
6028
|
+
color: "text"
|
|
6029
|
+
},
|
|
6030
|
+
slot: {
|
|
5785
6031
|
fill: "icon.decorative",
|
|
5786
6032
|
mixBlendMode: { base: "multiply", _dark: "screen" },
|
|
5787
6033
|
_groupHover: { fill: "current" },
|
|
@@ -5792,7 +6038,6 @@ const buttonVariants = {
|
|
|
5792
6038
|
container: {
|
|
5793
6039
|
bg: "bg.neutral.boldest",
|
|
5794
6040
|
borderColor: "transparent",
|
|
5795
|
-
color: "text.inverse",
|
|
5796
6041
|
_hover: {
|
|
5797
6042
|
bg: "bg.neutral.bold.hovered"
|
|
5798
6043
|
},
|
|
@@ -5800,13 +6045,16 @@ const buttonVariants = {
|
|
|
5800
6045
|
bg: "bg.neutral.bold.pressed"
|
|
5801
6046
|
}
|
|
5802
6047
|
},
|
|
5803
|
-
|
|
5804
|
-
|
|
6048
|
+
mainContent: {
|
|
6049
|
+
color: "text.inverse"
|
|
6050
|
+
},
|
|
6051
|
+
slot: {
|
|
6052
|
+
fill: "icon.decorative.inverse",
|
|
5805
6053
|
mixBlendMode: { base: "screen", _dark: "multiply" },
|
|
5806
|
-
_groupHover: { fill: "icon.decorative.inverse" },
|
|
5807
|
-
_groupActive: { fill: "icon.decorative.inverse" },
|
|
6054
|
+
_groupHover: { fill: "icon.decorative.inverse.hovered" },
|
|
6055
|
+
_groupActive: { fill: "icon.decorative.inverse.hovered" },
|
|
5808
6056
|
_groupDisabled: {
|
|
5809
|
-
fill: "icon.decorative.inverse
|
|
6057
|
+
fill: "icon.decorative.inverse"
|
|
5810
6058
|
}
|
|
5811
6059
|
}
|
|
5812
6060
|
},
|
|
@@ -5814,7 +6062,6 @@ const buttonVariants = {
|
|
|
5814
6062
|
container: {
|
|
5815
6063
|
bg: "bg.neutral.subtle",
|
|
5816
6064
|
borderColor: "border",
|
|
5817
|
-
color: "text",
|
|
5818
6065
|
_hover: {
|
|
5819
6066
|
bg: "bg.neutral.subtle.hovered"
|
|
5820
6067
|
},
|
|
@@ -5822,7 +6069,10 @@ const buttonVariants = {
|
|
|
5822
6069
|
bg: "bg.neutral.subtle.pressed"
|
|
5823
6070
|
}
|
|
5824
6071
|
},
|
|
5825
|
-
|
|
6072
|
+
mainContent: {
|
|
6073
|
+
color: "text"
|
|
6074
|
+
},
|
|
6075
|
+
slot: {
|
|
5826
6076
|
fill: "icon.decorative",
|
|
5827
6077
|
mixBlendMode: { base: "multiply", _dark: "screen" },
|
|
5828
6078
|
_groupHover: { fill: "current" },
|
|
@@ -5833,7 +6083,6 @@ const buttonVariants = {
|
|
|
5833
6083
|
container: {
|
|
5834
6084
|
bg: "bg.neutral.subtle",
|
|
5835
6085
|
borderColor: "transparent",
|
|
5836
|
-
color: "text",
|
|
5837
6086
|
_hover: {
|
|
5838
6087
|
bg: "bg.neutral.subtle.hovered"
|
|
5839
6088
|
},
|
|
@@ -5841,7 +6090,10 @@ const buttonVariants = {
|
|
|
5841
6090
|
bg: "bg.neutral.subtle.pressed"
|
|
5842
6091
|
}
|
|
5843
6092
|
},
|
|
5844
|
-
|
|
6093
|
+
mainContent: {
|
|
6094
|
+
color: "text"
|
|
6095
|
+
},
|
|
6096
|
+
slot: {
|
|
5845
6097
|
fill: "icon.decorative",
|
|
5846
6098
|
mixBlendMode: { base: "multiply", _dark: "screen" },
|
|
5847
6099
|
_groupHover: { fill: "current" },
|
|
@@ -5852,7 +6104,6 @@ const buttonVariants = {
|
|
|
5852
6104
|
container: {
|
|
5853
6105
|
bg: "gold.20",
|
|
5854
6106
|
borderColor: "transparent",
|
|
5855
|
-
color: "neutral.90",
|
|
5856
6107
|
_hover: {
|
|
5857
6108
|
bg: "gold.15"
|
|
5858
6109
|
},
|
|
@@ -5860,7 +6111,10 @@ const buttonVariants = {
|
|
|
5860
6111
|
bg: "gold.30"
|
|
5861
6112
|
}
|
|
5862
6113
|
},
|
|
5863
|
-
|
|
6114
|
+
mainContent: {
|
|
6115
|
+
color: "neutral.90"
|
|
6116
|
+
},
|
|
6117
|
+
slot: {
|
|
5864
6118
|
fill: "neutral.50",
|
|
5865
6119
|
mixBlendMode: "multiply",
|
|
5866
6120
|
_groupHover: { fill: "current" },
|
|
@@ -5874,7 +6128,6 @@ const buttonVariants = {
|
|
|
5874
6128
|
container: {
|
|
5875
6129
|
bg: "red.50",
|
|
5876
6130
|
borderColor: "transparent",
|
|
5877
|
-
color: "neutral.0",
|
|
5878
6131
|
_hover: {
|
|
5879
6132
|
bg: "red.40"
|
|
5880
6133
|
},
|
|
@@ -5882,11 +6135,14 @@ const buttonVariants = {
|
|
|
5882
6135
|
bg: "red.60"
|
|
5883
6136
|
}
|
|
5884
6137
|
},
|
|
5885
|
-
|
|
6138
|
+
mainContent: {
|
|
6139
|
+
color: "neutral.0"
|
|
6140
|
+
},
|
|
6141
|
+
slot: {
|
|
5886
6142
|
fill: "icon.decorative.inverse",
|
|
5887
6143
|
mixBlendMode: "screen",
|
|
5888
|
-
_groupHover: { fill: "icon.decorative.inverse" },
|
|
5889
|
-
_groupActive: { fill: "icon.decorative.inverse" },
|
|
6144
|
+
_groupHover: { fill: "icon.decorative.inverse.hovered" },
|
|
6145
|
+
_groupActive: { fill: "icon.decorative.inverse.hovered" },
|
|
5890
6146
|
_groupDisabled: {
|
|
5891
6147
|
fill: "icon.decorative.inverse"
|
|
5892
6148
|
}
|
|
@@ -5896,20 +6152,19 @@ const buttonVariants = {
|
|
|
5896
6152
|
container: {
|
|
5897
6153
|
bg: "bg.selected",
|
|
5898
6154
|
borderColor: "transparent",
|
|
5899
|
-
color: "text.selected",
|
|
5900
|
-
icon: { fill: "icon.selected" },
|
|
5901
6155
|
_hover: {
|
|
5902
6156
|
bg: "bg.selected.hovered",
|
|
5903
|
-
color: "text.selected.hovered"
|
|
5904
|
-
icon: { fill: "icon.selected" }
|
|
6157
|
+
color: "text.selected.hovered"
|
|
5905
6158
|
},
|
|
5906
6159
|
_active: {
|
|
5907
6160
|
bg: "bg.selected.pressed",
|
|
5908
|
-
color: "text.selected"
|
|
5909
|
-
icon: { fill: "icon.selected" }
|
|
6161
|
+
color: "text.selected"
|
|
5910
6162
|
}
|
|
5911
6163
|
},
|
|
5912
|
-
|
|
6164
|
+
mainContent: {
|
|
6165
|
+
color: "text.selected"
|
|
6166
|
+
},
|
|
6167
|
+
slot: {
|
|
5913
6168
|
fill: "icon.selected",
|
|
5914
6169
|
mixBlendMode: { base: "multiply", _dark: "screen" },
|
|
5915
6170
|
_groupHover: { fill: "icon.selected" },
|
|
@@ -5923,7 +6178,6 @@ const buttonVariants = {
|
|
|
5923
6178
|
container: {
|
|
5924
6179
|
bg: "bg.selected.bold",
|
|
5925
6180
|
borderColor: "transparent",
|
|
5926
|
-
color: "text.inverse",
|
|
5927
6181
|
_hover: {
|
|
5928
6182
|
bg: "bg.selected.bold.hovered"
|
|
5929
6183
|
},
|
|
@@ -5931,13 +6185,16 @@ const buttonVariants = {
|
|
|
5931
6185
|
bg: "bg.selected.bold.pressed"
|
|
5932
6186
|
}
|
|
5933
6187
|
},
|
|
5934
|
-
|
|
5935
|
-
|
|
6188
|
+
mainContent: {
|
|
6189
|
+
color: "text.inverse"
|
|
6190
|
+
},
|
|
6191
|
+
slot: {
|
|
6192
|
+
fill: "icon.decorative.inverse",
|
|
5936
6193
|
mixBlendMode: { base: "screen", _dark: "multiply" },
|
|
5937
|
-
_groupHover: { fill: "icon.inverse" },
|
|
5938
|
-
_groupActive: { fill: "icon.inverse" },
|
|
6194
|
+
_groupHover: { fill: "icon.decorative.inverse.hovered" },
|
|
6195
|
+
_groupActive: { fill: "icon.decorative.inverse.hovered" },
|
|
5939
6196
|
_groupDisabled: {
|
|
5940
|
-
fill: "icon.inverse"
|
|
6197
|
+
fill: "icon.decorative.inverse"
|
|
5941
6198
|
}
|
|
5942
6199
|
}
|
|
5943
6200
|
}
|
|
@@ -5946,65 +6203,65 @@ const buttonVariants = {
|
|
|
5946
6203
|
const buttonRecipe = defineSlotRecipe({
|
|
5947
6204
|
className: "button",
|
|
5948
6205
|
jsx: ["Button"],
|
|
5949
|
-
slots: ["container", "
|
|
6206
|
+
slots: ["container", "mainContent", "slot"],
|
|
5950
6207
|
base: buttonBaseStyles,
|
|
5951
6208
|
variants: {
|
|
5952
6209
|
...buttonVariants,
|
|
5953
6210
|
size: {
|
|
5954
6211
|
sm: {
|
|
5955
6212
|
container: {
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
"--
|
|
5962
|
-
"--icon-margin-outside": "token(sizes.5)",
|
|
5963
|
-
"--icon-margin-inside": "token(sizes.1)"
|
|
6213
|
+
"--main-py": "token(sizes.0)",
|
|
6214
|
+
"--main-px": "token(sizes.8)",
|
|
6215
|
+
"--main-slot-side-padding": "token(sizes.0)",
|
|
6216
|
+
"--main-fs": "token(sizes.14)",
|
|
6217
|
+
"--slot-size": "token(sizes.16)",
|
|
6218
|
+
"--slot-px": "token(sizes.4)"
|
|
5964
6219
|
}
|
|
5965
6220
|
},
|
|
5966
6221
|
md: {
|
|
5967
6222
|
container: {
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
"--
|
|
5974
|
-
"--icon-margin-outside": "token(sizes.8)",
|
|
5975
|
-
"--icon-margin-inside": "token(sizes.1)"
|
|
6223
|
+
"--main-py": "token(sizes.3)",
|
|
6224
|
+
"--main-px": "token(sizes.10)",
|
|
6225
|
+
"--main-slot-side-padding": "token(sizes.0)",
|
|
6226
|
+
"--main-fs": "token(sizes.16)",
|
|
6227
|
+
"--slot-size": "token(sizes.20)",
|
|
6228
|
+
"--slot-px": "token(sizes.6)"
|
|
5976
6229
|
}
|
|
5977
6230
|
},
|
|
5978
6231
|
lg: {
|
|
5979
6232
|
container: {
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
"--
|
|
5986
|
-
"--icon-margin-outside": "token(sizes.10)",
|
|
5987
|
-
"--icon-margin-inside": "token(sizes.1)"
|
|
6233
|
+
"--main-py": "token(sizes.7)",
|
|
6234
|
+
"--main-px": "token(sizes.12)",
|
|
6235
|
+
"--main-slot-side-padding": "token(sizes.0)",
|
|
6236
|
+
"--main-fs": "token(sizes.16)",
|
|
6237
|
+
"--slot-size": "token(sizes.24)",
|
|
6238
|
+
"--slot-px": "token(sizes.8)"
|
|
5988
6239
|
}
|
|
5989
6240
|
},
|
|
5990
6241
|
xl: {
|
|
5991
6242
|
container: {
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
"--
|
|
5998
|
-
"--icon-margin-outside": "token(sizes.10)",
|
|
5999
|
-
"--icon-margin-inside": "token(sizes.1)"
|
|
6243
|
+
"--main-py": "token(sizes.9)",
|
|
6244
|
+
"--main-px": "token(sizes.16)",
|
|
6245
|
+
"--main-slot-side-padding": "token(sizes.0)",
|
|
6246
|
+
"--main-fs": "token(sizes.20)",
|
|
6247
|
+
"--slot-size": "token(sizes.28)",
|
|
6248
|
+
"--slot-px": "token(sizes.10)"
|
|
6000
6249
|
}
|
|
6001
6250
|
}
|
|
6002
6251
|
},
|
|
6003
|
-
|
|
6004
|
-
true: {
|
|
6252
|
+
before: {
|
|
6253
|
+
true: {
|
|
6254
|
+
mainContent: {
|
|
6255
|
+
ps: "0"
|
|
6256
|
+
}
|
|
6257
|
+
}
|
|
6005
6258
|
},
|
|
6006
|
-
|
|
6007
|
-
true: {
|
|
6259
|
+
after: {
|
|
6260
|
+
true: {
|
|
6261
|
+
mainContent: {
|
|
6262
|
+
pe: "0"
|
|
6263
|
+
}
|
|
6264
|
+
}
|
|
6008
6265
|
}
|
|
6009
6266
|
},
|
|
6010
6267
|
defaultVariants: {
|
|
@@ -6015,49 +6272,44 @@ const buttonRecipe = defineSlotRecipe({
|
|
|
6015
6272
|
const iconButtonRecipe = defineSlotRecipe({
|
|
6016
6273
|
className: "iconButton",
|
|
6017
6274
|
jsx: ["IconButton"],
|
|
6018
|
-
slots: ["container", "
|
|
6019
|
-
base:
|
|
6275
|
+
slots: ["container", "mainContent", "slot"],
|
|
6276
|
+
base: {
|
|
6277
|
+
...buttonBaseStyles,
|
|
6278
|
+
mainContent: {
|
|
6279
|
+
w: "calc(var(--slot-size) + (var(--slot-px) * 2))",
|
|
6280
|
+
h: "calc(var(--slot-size) + (var(--slot-px) * 2))",
|
|
6281
|
+
p: "var(--slot-px)"
|
|
6282
|
+
},
|
|
6283
|
+
slot: {
|
|
6284
|
+
w: "var(--slot-size)",
|
|
6285
|
+
h: "var(--slot-size)"
|
|
6286
|
+
}
|
|
6287
|
+
},
|
|
6020
6288
|
variants: {
|
|
6021
6289
|
...buttonVariants,
|
|
6022
6290
|
size: {
|
|
6023
|
-
|
|
6291
|
+
sm: {
|
|
6024
6292
|
container: {
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
},
|
|
6028
|
-
icon: {
|
|
6029
|
-
w: "24",
|
|
6030
|
-
h: "24"
|
|
6293
|
+
"--slot-size": "token(sizes.16)",
|
|
6294
|
+
"--slot-px": "token(sizes.3)"
|
|
6031
6295
|
}
|
|
6032
6296
|
},
|
|
6033
|
-
|
|
6297
|
+
md: {
|
|
6034
6298
|
container: {
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
},
|
|
6038
|
-
icon: {
|
|
6039
|
-
w: "28",
|
|
6040
|
-
h: "28"
|
|
6299
|
+
"--slot-size": "token(sizes.20)",
|
|
6300
|
+
"--slot-px": "token(sizes.5)"
|
|
6041
6301
|
}
|
|
6042
6302
|
},
|
|
6043
6303
|
lg: {
|
|
6044
6304
|
container: {
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
},
|
|
6048
|
-
icon: {
|
|
6049
|
-
w: "24",
|
|
6050
|
-
h: "24"
|
|
6305
|
+
"--slot-size": "token(sizes.24)",
|
|
6306
|
+
"--slot-px": "token(sizes.7)"
|
|
6051
6307
|
}
|
|
6052
6308
|
},
|
|
6053
|
-
|
|
6309
|
+
xl: {
|
|
6054
6310
|
container: {
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
},
|
|
6058
|
-
icon: {
|
|
6059
|
-
w: "22",
|
|
6060
|
-
h: "22"
|
|
6311
|
+
"--slot-size": "token(sizes.28)",
|
|
6312
|
+
"--slot-px": "token(sizes.9)"
|
|
6061
6313
|
}
|
|
6062
6314
|
}
|
|
6063
6315
|
}
|
|
@@ -6425,10 +6677,15 @@ const menuRecipe = defineSlotRecipe({
|
|
|
6425
6677
|
const textInputBase = {
|
|
6426
6678
|
container: {
|
|
6427
6679
|
...globalBaseStyles,
|
|
6428
|
-
"--
|
|
6429
|
-
"--
|
|
6430
|
-
"--input-
|
|
6680
|
+
"--input-py": "token(sizes.3)",
|
|
6681
|
+
"--input-px": "token(sizes.10)",
|
|
6682
|
+
"--input-slot-side-padding": "token(sizes.0)",
|
|
6683
|
+
"--input-fs": "token(sizes.16)",
|
|
6684
|
+
"--slot-size": "token(sizes.20)",
|
|
6685
|
+
"--slot-px": "token(sizes.6)",
|
|
6431
6686
|
position: "relative",
|
|
6687
|
+
display: "flex",
|
|
6688
|
+
alignItems: "center",
|
|
6432
6689
|
width: "full",
|
|
6433
6690
|
bg: "surface",
|
|
6434
6691
|
borderWidth: "1",
|
|
@@ -6438,29 +6695,27 @@ const textInputBase = {
|
|
|
6438
6695
|
outlineWidth: "1",
|
|
6439
6696
|
outlineStyle: "solid",
|
|
6440
6697
|
outlineColor: "transparent",
|
|
6441
|
-
|
|
6442
|
-
lineHeight: "none",
|
|
6443
|
-
_focusWithin: {
|
|
6698
|
+
"&:focus-within:not(:has(button:focus))": {
|
|
6444
6699
|
outlineColor: "border.focused",
|
|
6445
6700
|
borderColor: "border.focused"
|
|
6446
6701
|
},
|
|
6447
6702
|
_error: {
|
|
6448
6703
|
borderColor: "border.danger",
|
|
6449
|
-
|
|
6704
|
+
"&:focus-within:not(:has(button:focus))": {
|
|
6450
6705
|
borderColor: "border.danger",
|
|
6451
6706
|
outlineColor: "border.danger"
|
|
6452
6707
|
}
|
|
6453
6708
|
},
|
|
6454
6709
|
_invalid: {
|
|
6455
6710
|
borderColor: "border.danger",
|
|
6456
|
-
|
|
6711
|
+
"&:focus-within:not(:has(button:focus))": {
|
|
6457
6712
|
borderColor: "border.danger",
|
|
6458
6713
|
outlineColor: "border.danger"
|
|
6459
6714
|
}
|
|
6460
6715
|
},
|
|
6461
6716
|
_valid: {
|
|
6462
6717
|
borderColor: "border.success",
|
|
6463
|
-
|
|
6718
|
+
"&:focus-within:not(:has(button:focus))": {
|
|
6464
6719
|
borderColor: "border.success",
|
|
6465
6720
|
outlineColor: "border.success"
|
|
6466
6721
|
}
|
|
@@ -6468,7 +6723,7 @@ const textInputBase = {
|
|
|
6468
6723
|
_disabled: {
|
|
6469
6724
|
opacity: 0.4,
|
|
6470
6725
|
cursor: "not-allowed",
|
|
6471
|
-
|
|
6726
|
+
"&:focus-within:not(:has(button:focus))": {
|
|
6472
6727
|
outlineColor: "transparent",
|
|
6473
6728
|
borderColor: "border.input"
|
|
6474
6729
|
}
|
|
@@ -6481,6 +6736,10 @@ const textInputBase = {
|
|
|
6481
6736
|
input: {
|
|
6482
6737
|
width: "full",
|
|
6483
6738
|
bg: "surface",
|
|
6739
|
+
py: "var(--input-py)",
|
|
6740
|
+
px: "var(--input-px)",
|
|
6741
|
+
fontSize: "var(--input-fs)",
|
|
6742
|
+
borderRadius: "3",
|
|
6484
6743
|
color: "text",
|
|
6485
6744
|
lineHeight: "default",
|
|
6486
6745
|
fontFamily: "body",
|
|
@@ -6490,104 +6749,93 @@ const textInputBase = {
|
|
|
6490
6749
|
color: "text.placeholder"
|
|
6491
6750
|
}
|
|
6492
6751
|
},
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6752
|
+
slot: {
|
|
6753
|
+
display: "inline-flex",
|
|
6754
|
+
alignItems: "center",
|
|
6755
|
+
transitionDuration: "fast",
|
|
6756
|
+
transitionProperty: "all",
|
|
6757
|
+
transitionTimingFunction: "default",
|
|
6758
|
+
flex: "0 0 var(--slot-size)",
|
|
6759
|
+
px: "var(--slot-px)",
|
|
6760
|
+
fill: "icon.decorative",
|
|
6761
|
+
pointerEvents: "none",
|
|
6762
|
+
zIndex: 1
|
|
6763
|
+
},
|
|
6764
|
+
buttonSlot: {
|
|
6765
|
+
display: "inline-flex",
|
|
6766
|
+
alignItems: "center",
|
|
6767
|
+
flex: "0 0 var(--slot-size)",
|
|
6768
|
+
px: "0",
|
|
6769
|
+
zIndex: 1,
|
|
6770
|
+
m: "-1"
|
|
6771
|
+
}
|
|
6504
6772
|
};
|
|
6505
6773
|
const textInputVariants = {
|
|
6506
6774
|
size: {
|
|
6507
6775
|
sm: {
|
|
6508
6776
|
container: {
|
|
6509
|
-
"--
|
|
6510
|
-
"--
|
|
6511
|
-
"--input-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
px: "8",
|
|
6516
|
-
fontSize: "14"
|
|
6517
|
-
},
|
|
6518
|
-
inputIconBefore: {
|
|
6519
|
-
ps: "var(--input-icon-padding)"
|
|
6520
|
-
},
|
|
6521
|
-
inputIconAfter: {
|
|
6522
|
-
pe: "var(--input-icon-padding)"
|
|
6777
|
+
"--input-py": "token(sizes.0)",
|
|
6778
|
+
"--input-px": "token(sizes.8)",
|
|
6779
|
+
"--input-slot-side-padding": "token(sizes.0)",
|
|
6780
|
+
"--input-fs": "token(sizes.14)",
|
|
6781
|
+
"--slot-size": "token(sizes.16)",
|
|
6782
|
+
"--slot-px": "token(sizes.4)"
|
|
6523
6783
|
}
|
|
6524
6784
|
},
|
|
6525
6785
|
md: {
|
|
6526
6786
|
container: {
|
|
6527
|
-
"--
|
|
6528
|
-
"--
|
|
6529
|
-
"--input-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
px: "10",
|
|
6534
|
-
fontSize: "16"
|
|
6535
|
-
},
|
|
6536
|
-
inputIconBefore: {
|
|
6537
|
-
ps: "var(--input-icon-padding)"
|
|
6538
|
-
},
|
|
6539
|
-
inputIconAfter: {
|
|
6540
|
-
pe: "var(--input-icon-padding)"
|
|
6787
|
+
"--input-py": "token(sizes.3)",
|
|
6788
|
+
"--input-px": "token(sizes.10)",
|
|
6789
|
+
"--input-slot-side-padding": "token(sizes.0)",
|
|
6790
|
+
"--input-fs": "token(sizes.16)",
|
|
6791
|
+
"--slot-size": "token(sizes.20)",
|
|
6792
|
+
"--slot-px": "token(sizes.6)"
|
|
6541
6793
|
}
|
|
6542
6794
|
},
|
|
6543
6795
|
lg: {
|
|
6544
6796
|
container: {
|
|
6545
|
-
"--
|
|
6546
|
-
"--
|
|
6547
|
-
"--input-
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
px: "12",
|
|
6552
|
-
fontSize: "16"
|
|
6553
|
-
},
|
|
6554
|
-
inputIconBefore: {
|
|
6555
|
-
ps: "var(--input-icon-padding)"
|
|
6556
|
-
},
|
|
6557
|
-
inputIconAfter: {
|
|
6558
|
-
pe: "var(--input-icon-padding)"
|
|
6797
|
+
"--input-py": "token(sizes.7)",
|
|
6798
|
+
"--input-px": "token(sizes.12)",
|
|
6799
|
+
"--input-slot-side-padding": "token(sizes.0)",
|
|
6800
|
+
"--input-fs": "token(sizes.16)",
|
|
6801
|
+
"--slot-size": "token(sizes.24)",
|
|
6802
|
+
"--slot-px": "token(sizes.8)"
|
|
6559
6803
|
}
|
|
6560
6804
|
},
|
|
6561
6805
|
xl: {
|
|
6562
6806
|
container: {
|
|
6563
|
-
"--
|
|
6564
|
-
"--
|
|
6565
|
-
"--input-
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
px: "16",
|
|
6570
|
-
fontSize: "20"
|
|
6571
|
-
},
|
|
6572
|
-
inputIconBefore: {
|
|
6573
|
-
ps: "var(--input-icon-padding)"
|
|
6574
|
-
},
|
|
6575
|
-
inputIconAfter: {
|
|
6576
|
-
pe: "var(--input-icon-padding)"
|
|
6807
|
+
"--input-py": "token(sizes.9)",
|
|
6808
|
+
"--input-px": "token(sizes.16)",
|
|
6809
|
+
"--input-slot-side-padding": "token(sizes.0)",
|
|
6810
|
+
"--input-fs": "token(sizes.20)",
|
|
6811
|
+
"--slot-size": "token(sizes.28)",
|
|
6812
|
+
"--slot-px": "token(sizes.10)"
|
|
6577
6813
|
}
|
|
6578
6814
|
}
|
|
6579
6815
|
},
|
|
6580
|
-
|
|
6816
|
+
before: {
|
|
6581
6817
|
true: {
|
|
6582
|
-
|
|
6583
|
-
|
|
6818
|
+
input: {
|
|
6819
|
+
ps: "0"
|
|
6820
|
+
},
|
|
6821
|
+
buttonSlot: {
|
|
6822
|
+
"& button": {
|
|
6823
|
+
borderTopRightRadius: "0",
|
|
6824
|
+
borderBottomRightRadius: "0"
|
|
6825
|
+
}
|
|
6584
6826
|
}
|
|
6585
6827
|
}
|
|
6586
6828
|
},
|
|
6587
|
-
|
|
6829
|
+
after: {
|
|
6588
6830
|
true: {
|
|
6589
|
-
|
|
6590
|
-
|
|
6831
|
+
input: {
|
|
6832
|
+
pe: "0"
|
|
6833
|
+
},
|
|
6834
|
+
buttonSlot: {
|
|
6835
|
+
"& button": {
|
|
6836
|
+
borderTopLeftRadius: "0",
|
|
6837
|
+
borderBottomLeftRadius: "0"
|
|
6838
|
+
}
|
|
6591
6839
|
}
|
|
6592
6840
|
}
|
|
6593
6841
|
},
|
|
@@ -6603,7 +6851,7 @@ const textInputVariants = {
|
|
|
6603
6851
|
const textInputRecipe = defineSlotRecipe({
|
|
6604
6852
|
className: "textInput",
|
|
6605
6853
|
jsx: ["TextInput"],
|
|
6606
|
-
slots: ["container", "input", "
|
|
6854
|
+
slots: ["container", "input", "slot", "buttonSlot", "before", "after"],
|
|
6607
6855
|
base: textInputBase,
|
|
6608
6856
|
variants: textInputVariants,
|
|
6609
6857
|
defaultVariants: {
|
|
@@ -6747,7 +6995,7 @@ const avatarRecipe = defineSlotRecipe({
|
|
|
6747
6995
|
},
|
|
6748
6996
|
variants: {
|
|
6749
6997
|
size: {
|
|
6750
|
-
|
|
6998
|
+
sm: {
|
|
6751
6999
|
root: {
|
|
6752
7000
|
w: "16"
|
|
6753
7001
|
},
|
|
@@ -6761,7 +7009,7 @@ const avatarRecipe = defineSlotRecipe({
|
|
|
6761
7009
|
w: "8"
|
|
6762
7010
|
}
|
|
6763
7011
|
},
|
|
6764
|
-
|
|
7012
|
+
md: {
|
|
6765
7013
|
root: {
|
|
6766
7014
|
w: "20"
|
|
6767
7015
|
},
|
|
@@ -6775,7 +7023,7 @@ const avatarRecipe = defineSlotRecipe({
|
|
|
6775
7023
|
w: "10"
|
|
6776
7024
|
}
|
|
6777
7025
|
},
|
|
6778
|
-
|
|
7026
|
+
lg: {
|
|
6779
7027
|
root: {
|
|
6780
7028
|
w: "24"
|
|
6781
7029
|
},
|
|
@@ -6789,7 +7037,7 @@ const avatarRecipe = defineSlotRecipe({
|
|
|
6789
7037
|
w: "10"
|
|
6790
7038
|
}
|
|
6791
7039
|
},
|
|
6792
|
-
|
|
7040
|
+
xl: {
|
|
6793
7041
|
root: {
|
|
6794
7042
|
w: "28"
|
|
6795
7043
|
},
|
|
@@ -6803,7 +7051,7 @@ const avatarRecipe = defineSlotRecipe({
|
|
|
6803
7051
|
w: "12"
|
|
6804
7052
|
}
|
|
6805
7053
|
},
|
|
6806
|
-
|
|
7054
|
+
"2xl": {
|
|
6807
7055
|
root: {
|
|
6808
7056
|
w: "36"
|
|
6809
7057
|
},
|
|
@@ -6817,7 +7065,7 @@ const avatarRecipe = defineSlotRecipe({
|
|
|
6817
7065
|
w: "16"
|
|
6818
7066
|
}
|
|
6819
7067
|
},
|
|
6820
|
-
"
|
|
7068
|
+
"3xl": {
|
|
6821
7069
|
root: {
|
|
6822
7070
|
w: "48"
|
|
6823
7071
|
},
|
|
@@ -6874,7 +7122,10 @@ const badgeRecipe = defineSlotRecipe({
|
|
|
6874
7122
|
"--indicator-min-width": "token(sizes.16)",
|
|
6875
7123
|
display: "inline-flex",
|
|
6876
7124
|
position: "relative",
|
|
6877
|
-
verticalAlign: "middle"
|
|
7125
|
+
verticalAlign: "middle",
|
|
7126
|
+
w: "fit",
|
|
7127
|
+
h: "fit",
|
|
7128
|
+
flex: "0"
|
|
6878
7129
|
},
|
|
6879
7130
|
indicator: {
|
|
6880
7131
|
display: "inline-flex",
|
|
@@ -7019,197 +7270,216 @@ const badgeRecipe = defineSlotRecipe({
|
|
|
7019
7270
|
variant: "danger"
|
|
7020
7271
|
}
|
|
7021
7272
|
});
|
|
7273
|
+
const buttonStyles = {
|
|
7274
|
+
appearance: "none",
|
|
7275
|
+
cursor: "pointer",
|
|
7276
|
+
transitionDuration: "fast",
|
|
7277
|
+
transitionProperty: "background, color",
|
|
7278
|
+
transitionTimingFunction: "default",
|
|
7279
|
+
_icon: {
|
|
7280
|
+
fill: "icon.decorative"
|
|
7281
|
+
},
|
|
7282
|
+
_hover: {
|
|
7283
|
+
bg: "bg.neutral.hovered",
|
|
7284
|
+
_icon: {
|
|
7285
|
+
fill: "icon"
|
|
7286
|
+
}
|
|
7287
|
+
},
|
|
7288
|
+
_active: {
|
|
7289
|
+
bg: "bg.neutral.pressed",
|
|
7290
|
+
_icon: {
|
|
7291
|
+
fill: "icon"
|
|
7292
|
+
}
|
|
7293
|
+
},
|
|
7294
|
+
_focusVisible: {
|
|
7295
|
+
outlineColor: "border.focused"
|
|
7296
|
+
},
|
|
7297
|
+
_disabled: {
|
|
7298
|
+
cursor: "not-allowed"
|
|
7299
|
+
},
|
|
7300
|
+
"&[data-disabled=true]": {
|
|
7301
|
+
cursor: "not-allowed"
|
|
7302
|
+
},
|
|
7303
|
+
"&[data-deleted=true]": {
|
|
7304
|
+
textDecoration: "line-through",
|
|
7305
|
+
opacity: "[0.6]"
|
|
7306
|
+
},
|
|
7307
|
+
"&[data-selected=true]": {
|
|
7308
|
+
bg: "bg.neutral.boldest",
|
|
7309
|
+
_icon: {
|
|
7310
|
+
fill: "icon.decorative.inverse"
|
|
7311
|
+
}
|
|
7312
|
+
},
|
|
7313
|
+
"&[data-selected=true]:is(:hover, [data-hover])": {
|
|
7314
|
+
bg: "bg.neutral.bold.hovered",
|
|
7315
|
+
_icon: {
|
|
7316
|
+
fill: "icon.decorative.inverse.hovered"
|
|
7317
|
+
}
|
|
7318
|
+
},
|
|
7319
|
+
"&[data-selected=true]:is(:active, [data-active])": {
|
|
7320
|
+
bg: "bg.neutral.bold.pressed",
|
|
7321
|
+
_icon: {
|
|
7322
|
+
fill: "icon.decorative.inverse.hovered"
|
|
7323
|
+
}
|
|
7324
|
+
}
|
|
7325
|
+
};
|
|
7022
7326
|
const chipRecipe = defineSlotRecipe({
|
|
7023
7327
|
className: "chip",
|
|
7024
7328
|
jsx: ["Chip"],
|
|
7025
|
-
slots: [
|
|
7026
|
-
"container",
|
|
7027
|
-
"innerWrapper",
|
|
7028
|
-
"chipIcon",
|
|
7029
|
-
"chipBadge",
|
|
7030
|
-
"chipAvatar",
|
|
7031
|
-
"slotItem"
|
|
7032
|
-
],
|
|
7329
|
+
slots: ["container", "body", "mainContent", "dismissButton", "slot"],
|
|
7033
7330
|
base: {
|
|
7034
7331
|
container: {
|
|
7035
7332
|
...globalBaseStyles,
|
|
7036
|
-
"--
|
|
7037
|
-
"--
|
|
7038
|
-
"--
|
|
7039
|
-
"--
|
|
7333
|
+
"--chip-h": "token(sizes.24)",
|
|
7334
|
+
"--main-px": "token(sizes.8)",
|
|
7335
|
+
"--main-fs": "token(sizes.14)",
|
|
7336
|
+
"--main-slot-side-padding": "token(sizes.4)",
|
|
7337
|
+
"--slot-size": "token(sizes.20)",
|
|
7338
|
+
"--slot-px": "token(sizes.2)",
|
|
7040
7339
|
position: "relative",
|
|
7041
7340
|
display: "inline-flex",
|
|
7042
7341
|
alignItems: "center",
|
|
7043
|
-
appearance: "none",
|
|
7044
7342
|
width: "fit",
|
|
7343
|
+
height: "var(--chip-h)",
|
|
7045
7344
|
borderRadius: "999",
|
|
7046
7345
|
fontFamily: "body",
|
|
7047
7346
|
lineHeight: "default",
|
|
7048
7347
|
fontWeight: "medium",
|
|
7049
7348
|
whiteSpace: "nowrap",
|
|
7050
7349
|
verticalAlign: "middle",
|
|
7051
|
-
cursor: "pointer",
|
|
7052
7350
|
transitionDuration: "fast",
|
|
7053
|
-
transitionProperty: "
|
|
7351
|
+
transitionProperty: "all",
|
|
7054
7352
|
transitionTimingFunction: "default",
|
|
7055
7353
|
userSelect: "none",
|
|
7056
|
-
border: "none",
|
|
7057
|
-
outlineWidth: "2",
|
|
7058
|
-
outlineStyle: "solid",
|
|
7059
|
-
outlineColor: "transparent",
|
|
7060
7354
|
bg: "bg.neutral",
|
|
7061
|
-
_hover: {
|
|
7062
|
-
bg: "bg.neutral.hovered"
|
|
7063
|
-
},
|
|
7064
|
-
_active: {
|
|
7065
|
-
bg: "bg.neutral.pressed"
|
|
7066
|
-
},
|
|
7067
|
-
_focusVisible: {
|
|
7068
|
-
outlineColor: "border.focused"
|
|
7069
|
-
},
|
|
7070
7355
|
_loading: {
|
|
7071
|
-
cursor: "wait",
|
|
7072
7356
|
animation: "pulse"
|
|
7073
7357
|
},
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
opacity: "[0.6]"
|
|
7358
|
+
"&:has([data-selected=true])": {
|
|
7359
|
+
bg: "bg.neutral.boldest",
|
|
7360
|
+
color: "text.inverse"
|
|
7078
7361
|
},
|
|
7079
|
-
|
|
7362
|
+
"&[data-disabled=true]": {
|
|
7080
7363
|
cursor: "not-allowed",
|
|
7081
7364
|
bg: "bg.disabled",
|
|
7082
7365
|
color: "text.disabled",
|
|
7083
|
-
|
|
7084
|
-
_hover: {
|
|
7085
|
-
bg: "bg.disabled",
|
|
7086
|
-
color: "text.disabled",
|
|
7087
|
-
borderColor: "border.disabled",
|
|
7088
|
-
chipIcon: { fill: "icon.disabled" }
|
|
7089
|
-
}
|
|
7090
|
-
},
|
|
7091
|
-
_selected: {
|
|
7092
|
-
bg: "bg.neutral.boldest",
|
|
7093
|
-
_hover: {
|
|
7094
|
-
bg: "bg.neutral.bold.hovered"
|
|
7095
|
-
},
|
|
7096
|
-
_active: {
|
|
7097
|
-
bg: "bg.neutral.bold.pressed"
|
|
7098
|
-
}
|
|
7366
|
+
opacity: "[0.3]"
|
|
7099
7367
|
}
|
|
7100
7368
|
},
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7369
|
+
body: {
|
|
7370
|
+
...globalBaseStyles,
|
|
7371
|
+
position: "relative",
|
|
7372
|
+
display: "inline-flex",
|
|
7104
7373
|
alignItems: "center",
|
|
7374
|
+
minW: "0",
|
|
7375
|
+
height: "var(--chip-h)",
|
|
7376
|
+
flexShrink: "0",
|
|
7377
|
+
bg: "transparent",
|
|
7378
|
+
border: "none",
|
|
7379
|
+
borderRadius: "999",
|
|
7380
|
+
outlineWidth: "2",
|
|
7381
|
+
outlineStyle: "solid",
|
|
7382
|
+
outlineColor: "transparent",
|
|
7383
|
+
outlineOffset: "calc(token(sizes.2) * -1)",
|
|
7384
|
+
"button&": {
|
|
7385
|
+
...buttonStyles
|
|
7386
|
+
}
|
|
7387
|
+
},
|
|
7388
|
+
mainContent: {
|
|
7389
|
+
display: "inline-flex",
|
|
7390
|
+
alignItems: "center",
|
|
7391
|
+
minW: "0",
|
|
7392
|
+
px: "var(--main-px)",
|
|
7393
|
+
fontSize: "var(--main-fs)",
|
|
7394
|
+
color: "text",
|
|
7105
7395
|
"[data-selected=true] &": {
|
|
7106
7396
|
color: "text.inverse"
|
|
7107
7397
|
}
|
|
7108
7398
|
},
|
|
7109
|
-
|
|
7399
|
+
dismissButton: {
|
|
7400
|
+
...globalBaseStyles,
|
|
7401
|
+
position: "relative",
|
|
7110
7402
|
display: "inline-flex",
|
|
7111
|
-
alignItems: "center"
|
|
7112
|
-
|
|
7113
|
-
chipIcon: {
|
|
7114
|
-
fill: "icon.decorative",
|
|
7115
|
-
aspectRatio: "square",
|
|
7403
|
+
alignItems: "center",
|
|
7404
|
+
minW: "0",
|
|
7116
7405
|
flexShrink: "0",
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
"
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
"
|
|
7127
|
-
|
|
7128
|
-
|
|
7406
|
+
bg: "transparent",
|
|
7407
|
+
border: "none",
|
|
7408
|
+
borderRadius: "999",
|
|
7409
|
+
outlineWidth: "2",
|
|
7410
|
+
outlineStyle: "solid",
|
|
7411
|
+
outlineColor: "transparent",
|
|
7412
|
+
outlineOffset: "calc(token(sizes.2) * -1)",
|
|
7413
|
+
aspectRatio: "square",
|
|
7414
|
+
...buttonStyles,
|
|
7415
|
+
w: "calc(var(--slot-size) + (var(--slot-px) * 2))",
|
|
7416
|
+
h: "calc(var(--slot-size) + (var(--slot-px) * 2))"
|
|
7417
|
+
},
|
|
7418
|
+
slot: {
|
|
7419
|
+
display: "inline-flex",
|
|
7420
|
+
alignItems: "center",
|
|
7421
|
+
px: "var(--slot-px)"
|
|
7129
7422
|
}
|
|
7130
7423
|
},
|
|
7131
7424
|
variants: {
|
|
7132
7425
|
size: {
|
|
7133
7426
|
sm: {
|
|
7134
7427
|
container: {
|
|
7135
|
-
"--
|
|
7136
|
-
"--
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
},
|
|
7142
|
-
innerWrapper: {
|
|
7143
|
-
gap: "3"
|
|
7144
|
-
},
|
|
7145
|
-
chipIcon: {
|
|
7146
|
-
w: "20"
|
|
7428
|
+
"--chip-h": "token(sizes.18)",
|
|
7429
|
+
"--main-px": "token(sizes.6)",
|
|
7430
|
+
"--main-fs": "token(sizes.12)",
|
|
7431
|
+
"--main-slot-side-padding": "token(sizes.4)",
|
|
7432
|
+
"--slot-size": "token(sizes.16)",
|
|
7433
|
+
"--slot-px": "token(sizes.1)"
|
|
7147
7434
|
}
|
|
7148
7435
|
},
|
|
7149
7436
|
md: {
|
|
7150
7437
|
container: {
|
|
7151
|
-
"--
|
|
7152
|
-
"--
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
},
|
|
7158
|
-
innerWrapper: {
|
|
7159
|
-
gap: "5"
|
|
7160
|
-
},
|
|
7161
|
-
chipIcon: {
|
|
7162
|
-
w: "20"
|
|
7438
|
+
"--chip-h": "token(sizes.24)",
|
|
7439
|
+
"--main-px": "token(sizes.8)",
|
|
7440
|
+
"--main-fs": "token(sizes.14)",
|
|
7441
|
+
"--main-slot-side-padding": "token(sizes.4)",
|
|
7442
|
+
"--slot-size": "token(sizes.20)",
|
|
7443
|
+
"--slot-px": "token(sizes.2)"
|
|
7163
7444
|
}
|
|
7164
7445
|
},
|
|
7165
7446
|
lg: {
|
|
7166
7447
|
container: {
|
|
7167
|
-
"--
|
|
7168
|
-
"--
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
}
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7448
|
+
"--chip-h": "token(sizes.28)",
|
|
7449
|
+
"--main-px": "token(sizes.10)",
|
|
7450
|
+
"--main-fs": "token(sizes.16)",
|
|
7451
|
+
"--main-slot-side-padding": "token(sizes.4)",
|
|
7452
|
+
"--slot-size": "token(sizes.24)",
|
|
7453
|
+
"--slot-px": "token(sizes.2)"
|
|
7454
|
+
}
|
|
7455
|
+
},
|
|
7456
|
+
xl: {
|
|
7457
|
+
container: {
|
|
7458
|
+
"--chip-h": "token(sizes.32)",
|
|
7459
|
+
"--main-px": "token(sizes.12)",
|
|
7460
|
+
"--main-fs": "token(sizes.20)",
|
|
7461
|
+
"--main-slot-side-padding": "token(sizes.4)",
|
|
7462
|
+
"--slot-size": "token(sizes.28)",
|
|
7463
|
+
"--slot-px": "token(sizes.2)"
|
|
7179
7464
|
}
|
|
7180
7465
|
}
|
|
7181
7466
|
},
|
|
7182
7467
|
before: {
|
|
7183
7468
|
true: {
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
},
|
|
7187
|
-
chipIcon: {
|
|
7188
|
-
ms: "calc(var(--chipIcon-margin) * -1)"
|
|
7189
|
-
},
|
|
7190
|
-
chipBadge: {
|
|
7191
|
-
ms: "calc(var(--chipBadge-margin) * -1)"
|
|
7192
|
-
},
|
|
7193
|
-
chipAvatar: {
|
|
7194
|
-
ms: "calc(var(--chipAvatar-margin) * -1)"
|
|
7469
|
+
mainContent: {
|
|
7470
|
+
ps: "var(--main-slot-side-padding)"
|
|
7195
7471
|
}
|
|
7196
7472
|
}
|
|
7197
7473
|
},
|
|
7198
7474
|
after: {
|
|
7199
7475
|
true: {
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
},
|
|
7203
|
-
chipIcon: {
|
|
7204
|
-
me: "calc(var(--chipIcon-margin) * -1)"
|
|
7205
|
-
},
|
|
7206
|
-
chipBadge: {
|
|
7207
|
-
me: "calc(var(--chipBadge-margin) * -1)"
|
|
7208
|
-
},
|
|
7209
|
-
chipAvatar: {
|
|
7210
|
-
me: "calc(var(--chipAvatar-margin) * -1)"
|
|
7476
|
+
mainContent: {
|
|
7477
|
+
pe: "var(--main-slot-side-padding)"
|
|
7211
7478
|
}
|
|
7212
7479
|
}
|
|
7480
|
+
},
|
|
7481
|
+
dismissable: {
|
|
7482
|
+
true: {}
|
|
7213
7483
|
}
|
|
7214
7484
|
},
|
|
7215
7485
|
defaultVariants: {
|
|
@@ -8051,6 +8321,270 @@ const breadcrumbsRecipe = defineSlotRecipe({
|
|
|
8051
8321
|
}
|
|
8052
8322
|
}
|
|
8053
8323
|
});
|
|
8324
|
+
const selectBase = {
|
|
8325
|
+
root: {
|
|
8326
|
+
"--icon-size": "token(sizes.24)",
|
|
8327
|
+
"--icon-margin": "token(sizes.3)",
|
|
8328
|
+
"--input-icon-padding": "token(sizes.10)",
|
|
8329
|
+
display: "inline-flex",
|
|
8330
|
+
flexDirection: "column",
|
|
8331
|
+
position: "relative",
|
|
8332
|
+
minWidth: "0",
|
|
8333
|
+
maxW: "full",
|
|
8334
|
+
width: "fit"
|
|
8335
|
+
},
|
|
8336
|
+
trigger: {
|
|
8337
|
+
position: "relative",
|
|
8338
|
+
display: "inline-flex",
|
|
8339
|
+
alignItems: "center",
|
|
8340
|
+
width: "fit",
|
|
8341
|
+
minWidth: "0",
|
|
8342
|
+
maxWidth: "full",
|
|
8343
|
+
pe: "var(--input-icon-padding)",
|
|
8344
|
+
borderWidth: "1",
|
|
8345
|
+
borderStyle: "solid",
|
|
8346
|
+
borderColor: "border.input",
|
|
8347
|
+
borderRadius: "4",
|
|
8348
|
+
outlineWidth: "2",
|
|
8349
|
+
outlineOffset: "-1",
|
|
8350
|
+
outlineStyle: "solid",
|
|
8351
|
+
outlineColor: "transparent",
|
|
8352
|
+
bg: "bg.input",
|
|
8353
|
+
color: "text",
|
|
8354
|
+
fontFamily: "body",
|
|
8355
|
+
lineHeight: "default",
|
|
8356
|
+
cursor: "pointer",
|
|
8357
|
+
overflow: "hidden",
|
|
8358
|
+
transitionDuration: "fast",
|
|
8359
|
+
transitionProperty: "background, border-color, outline-color",
|
|
8360
|
+
transitionTimingFunction: "default",
|
|
8361
|
+
_hover: {
|
|
8362
|
+
bg: "bg.input.hovered"
|
|
8363
|
+
},
|
|
8364
|
+
_focusVisible: {
|
|
8365
|
+
bg: "bg.input.pressed",
|
|
8366
|
+
borderColor: "border.focused",
|
|
8367
|
+
outlineColor: "border.focused"
|
|
8368
|
+
},
|
|
8369
|
+
_open: {
|
|
8370
|
+
bg: "bg.input.pressed",
|
|
8371
|
+
borderColor: "border.focused",
|
|
8372
|
+
outlineColor: "border.focused"
|
|
8373
|
+
},
|
|
8374
|
+
_disabled: {
|
|
8375
|
+
bg: "bg.disabled",
|
|
8376
|
+
borderColor: "border.disabled",
|
|
8377
|
+
color: "text.disabled",
|
|
8378
|
+
cursor: "not-allowed",
|
|
8379
|
+
pointerEvents: "none"
|
|
8380
|
+
},
|
|
8381
|
+
_error: {
|
|
8382
|
+
borderColor: "border.danger",
|
|
8383
|
+
_hover: {
|
|
8384
|
+
borderColor: "border.danger"
|
|
8385
|
+
},
|
|
8386
|
+
_focusVisible: {
|
|
8387
|
+
borderColor: "border.danger",
|
|
8388
|
+
outlineColor: "border.danger"
|
|
8389
|
+
},
|
|
8390
|
+
_open: {
|
|
8391
|
+
borderColor: "border.danger",
|
|
8392
|
+
outlineColor: "border.danger"
|
|
8393
|
+
}
|
|
8394
|
+
}
|
|
8395
|
+
},
|
|
8396
|
+
content: {
|
|
8397
|
+
display: "flex",
|
|
8398
|
+
alignItems: "center",
|
|
8399
|
+
minWidth: "0",
|
|
8400
|
+
width: "full",
|
|
8401
|
+
flex: "1"
|
|
8402
|
+
},
|
|
8403
|
+
value: {
|
|
8404
|
+
flex: 1,
|
|
8405
|
+
minWidth: "0",
|
|
8406
|
+
textAlign: "left",
|
|
8407
|
+
truncate: true,
|
|
8408
|
+
color: "text"
|
|
8409
|
+
},
|
|
8410
|
+
placeholder: {
|
|
8411
|
+
flex: 1,
|
|
8412
|
+
minWidth: "0",
|
|
8413
|
+
textAlign: "left",
|
|
8414
|
+
truncate: true,
|
|
8415
|
+
color: "text.placeholder"
|
|
8416
|
+
},
|
|
8417
|
+
chips: {
|
|
8418
|
+
display: "flex",
|
|
8419
|
+
alignItems: "center",
|
|
8420
|
+
gap: "4",
|
|
8421
|
+
minWidth: "0",
|
|
8422
|
+
width: "full",
|
|
8423
|
+
flex: "1",
|
|
8424
|
+
overflowX: "auto",
|
|
8425
|
+
overflowY: "hidden",
|
|
8426
|
+
scrollbarWidth: "thin"
|
|
8427
|
+
},
|
|
8428
|
+
icon: {
|
|
8429
|
+
position: "absolute",
|
|
8430
|
+
top: "50%",
|
|
8431
|
+
right: "1",
|
|
8432
|
+
display: "inline-flex",
|
|
8433
|
+
alignItems: "center",
|
|
8434
|
+
justifyContent: "center",
|
|
8435
|
+
width: "var(--icon-size)",
|
|
8436
|
+
height: "var(--icon-size)",
|
|
8437
|
+
marginInline: "var(--icon-margin)",
|
|
8438
|
+
transform: "translateY(-50%)",
|
|
8439
|
+
bg: "bg.input",
|
|
8440
|
+
fill: "icon.decorative",
|
|
8441
|
+
pointerEvents: "none",
|
|
8442
|
+
transitionDuration: "fast",
|
|
8443
|
+
transitionProperty: "all",
|
|
8444
|
+
transitionTimingFunction: "default",
|
|
8445
|
+
_icon: {
|
|
8446
|
+
width: "var(--icon-size)",
|
|
8447
|
+
height: "var(--icon-size)",
|
|
8448
|
+
transitionDuration: "fast",
|
|
8449
|
+
transitionProperty: "all",
|
|
8450
|
+
transitionTimingFunction: "default"
|
|
8451
|
+
},
|
|
8452
|
+
_peerHover: {
|
|
8453
|
+
bg: "bg.input.hovered"
|
|
8454
|
+
},
|
|
8455
|
+
_open: {
|
|
8456
|
+
"& > svg": {
|
|
8457
|
+
transform: "rotate(-180deg)",
|
|
8458
|
+
transformOrigin: "center"
|
|
8459
|
+
}
|
|
8460
|
+
}
|
|
8461
|
+
}
|
|
8462
|
+
};
|
|
8463
|
+
const selectVariants = {
|
|
8464
|
+
size: {
|
|
8465
|
+
sm: {
|
|
8466
|
+
root: {
|
|
8467
|
+
"--icon-size": "token(sizes.22)",
|
|
8468
|
+
"--icon-margin": "token(sizes.2)",
|
|
8469
|
+
"--input-icon-padding": "[26px]"
|
|
8470
|
+
},
|
|
8471
|
+
content: {
|
|
8472
|
+
py: "0",
|
|
8473
|
+
ps: "8",
|
|
8474
|
+
fontSize: "14"
|
|
8475
|
+
},
|
|
8476
|
+
chips: {
|
|
8477
|
+
gap: "3",
|
|
8478
|
+
py: "2"
|
|
8479
|
+
}
|
|
8480
|
+
},
|
|
8481
|
+
md: {
|
|
8482
|
+
root: {
|
|
8483
|
+
"--icon-size": "token(sizes.24)",
|
|
8484
|
+
"--icon-margin": "token(sizes.3)",
|
|
8485
|
+
"--input-icon-padding": "[31px]"
|
|
8486
|
+
},
|
|
8487
|
+
content: {
|
|
8488
|
+
py: "3",
|
|
8489
|
+
ps: "10",
|
|
8490
|
+
fontSize: "16"
|
|
8491
|
+
},
|
|
8492
|
+
chips: {
|
|
8493
|
+
gap: "4",
|
|
8494
|
+
py: "5"
|
|
8495
|
+
}
|
|
8496
|
+
},
|
|
8497
|
+
lg: {
|
|
8498
|
+
root: {
|
|
8499
|
+
"--icon-size": "token(sizes.24)",
|
|
8500
|
+
"--icon-margin": "token(sizes.5)",
|
|
8501
|
+
"--input-icon-padding": "[34px]"
|
|
8502
|
+
},
|
|
8503
|
+
content: {
|
|
8504
|
+
py: "7",
|
|
8505
|
+
ps: "12",
|
|
8506
|
+
fontSize: "16"
|
|
8507
|
+
},
|
|
8508
|
+
chips: {
|
|
8509
|
+
gap: "5",
|
|
8510
|
+
py: "0"
|
|
8511
|
+
}
|
|
8512
|
+
},
|
|
8513
|
+
xl: {
|
|
8514
|
+
root: {
|
|
8515
|
+
"--icon-size": "token(sizes.28)",
|
|
8516
|
+
"--icon-margin": "token(sizes.7)",
|
|
8517
|
+
"--input-icon-padding": "[42px]"
|
|
8518
|
+
},
|
|
8519
|
+
content: {
|
|
8520
|
+
py: "9",
|
|
8521
|
+
ps: "16",
|
|
8522
|
+
fontSize: "20"
|
|
8523
|
+
},
|
|
8524
|
+
chips: {
|
|
8525
|
+
gap: "6",
|
|
8526
|
+
py: "2"
|
|
8527
|
+
}
|
|
8528
|
+
}
|
|
8529
|
+
},
|
|
8530
|
+
multiple: {
|
|
8531
|
+
true: {
|
|
8532
|
+
trigger: {
|
|
8533
|
+
alignItems: "flex-start"
|
|
8534
|
+
},
|
|
8535
|
+
content: {
|
|
8536
|
+
alignItems: "flex-start"
|
|
8537
|
+
}
|
|
8538
|
+
}
|
|
8539
|
+
},
|
|
8540
|
+
autoSize: {
|
|
8541
|
+
true: {
|
|
8542
|
+
trigger: {
|
|
8543
|
+
height: "auto"
|
|
8544
|
+
},
|
|
8545
|
+
value: {
|
|
8546
|
+
whiteSpace: "normal",
|
|
8547
|
+
textWrap: "wrap",
|
|
8548
|
+
overflow: "visible",
|
|
8549
|
+
textOverflow: "clip"
|
|
8550
|
+
},
|
|
8551
|
+
placeholder: {
|
|
8552
|
+
whiteSpace: "normal",
|
|
8553
|
+
textWrap: "wrap",
|
|
8554
|
+
overflow: "visible",
|
|
8555
|
+
textOverflow: "clip"
|
|
8556
|
+
},
|
|
8557
|
+
chips: {
|
|
8558
|
+
flexWrap: "wrap",
|
|
8559
|
+
overflowX: "visible",
|
|
8560
|
+
overflowY: "visible"
|
|
8561
|
+
}
|
|
8562
|
+
},
|
|
8563
|
+
false: {
|
|
8564
|
+
chips: {
|
|
8565
|
+
flexWrap: "nowrap"
|
|
8566
|
+
}
|
|
8567
|
+
}
|
|
8568
|
+
}
|
|
8569
|
+
};
|
|
8570
|
+
const selectRecipe = defineSlotRecipe({
|
|
8571
|
+
className: "select",
|
|
8572
|
+
jsx: ["Select"],
|
|
8573
|
+
slots: [
|
|
8574
|
+
"root",
|
|
8575
|
+
"trigger",
|
|
8576
|
+
"content",
|
|
8577
|
+
"value",
|
|
8578
|
+
"placeholder",
|
|
8579
|
+
"chips",
|
|
8580
|
+
"icon"
|
|
8581
|
+
],
|
|
8582
|
+
base: selectBase,
|
|
8583
|
+
variants: selectVariants,
|
|
8584
|
+
defaultVariants: {
|
|
8585
|
+
size: "md"
|
|
8586
|
+
}
|
|
8587
|
+
});
|
|
8054
8588
|
const kbdRecipe = defineSlotRecipe({
|
|
8055
8589
|
className: "kbd",
|
|
8056
8590
|
slots: ["kbdGroup", "key"],
|
|
@@ -8058,7 +8592,6 @@ const kbdRecipe = defineSlotRecipe({
|
|
|
8058
8592
|
kbdGroup: {
|
|
8059
8593
|
display: "inline-flex",
|
|
8060
8594
|
alignItems: "center",
|
|
8061
|
-
flexWrap: "wrap",
|
|
8062
8595
|
gap: "2",
|
|
8063
8596
|
verticalAlign: "middle"
|
|
8064
8597
|
},
|
|
@@ -8078,6 +8611,7 @@ const kbdRecipe = defineSlotRecipe({
|
|
|
8078
8611
|
fontVariant: "mono",
|
|
8079
8612
|
lineHeight: "tight",
|
|
8080
8613
|
fontWeight: "bold",
|
|
8614
|
+
textTransform: "uppercase",
|
|
8081
8615
|
color: "text.subtle",
|
|
8082
8616
|
userSelect: "none",
|
|
8083
8617
|
pointerEvents: "none",
|
|
@@ -8119,6 +8653,7 @@ const slotRecipes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
8119
8653
|
menuRecipe,
|
|
8120
8654
|
modalRecipe,
|
|
8121
8655
|
radioRecipe,
|
|
8656
|
+
selectRecipe,
|
|
8122
8657
|
textInputRecipe,
|
|
8123
8658
|
timePickerRecipe,
|
|
8124
8659
|
tooltipRecipe
|
|
@@ -9248,6 +9783,64 @@ const colors = defineSemanticTokens.colors({
|
|
|
9248
9783
|
}
|
|
9249
9784
|
}
|
|
9250
9785
|
});
|
|
9786
|
+
const fontSizes = defineSemanticTokens.fontSizes({
|
|
9787
|
+
display: {
|
|
9788
|
+
lg: {
|
|
9789
|
+
value: "{sizes.72}"
|
|
9790
|
+
},
|
|
9791
|
+
md: {
|
|
9792
|
+
value: "{sizes.64}"
|
|
9793
|
+
},
|
|
9794
|
+
sm: {
|
|
9795
|
+
value: "{sizes.56}"
|
|
9796
|
+
},
|
|
9797
|
+
xs: {
|
|
9798
|
+
value: "{sizes.48}"
|
|
9799
|
+
}
|
|
9800
|
+
},
|
|
9801
|
+
heading: {
|
|
9802
|
+
lg: {
|
|
9803
|
+
value: "{sizes.40}"
|
|
9804
|
+
},
|
|
9805
|
+
md: {
|
|
9806
|
+
value: "{sizes.32}"
|
|
9807
|
+
},
|
|
9808
|
+
sm: {
|
|
9809
|
+
value: "{sizes.24}"
|
|
9810
|
+
},
|
|
9811
|
+
xs: {
|
|
9812
|
+
value: "{sizes.20}"
|
|
9813
|
+
}
|
|
9814
|
+
},
|
|
9815
|
+
body: {
|
|
9816
|
+
lg: {
|
|
9817
|
+
value: "{sizes.20}"
|
|
9818
|
+
},
|
|
9819
|
+
md: {
|
|
9820
|
+
value: "{sizes.16}"
|
|
9821
|
+
},
|
|
9822
|
+
sm: {
|
|
9823
|
+
value: "{sizes.14}"
|
|
9824
|
+
},
|
|
9825
|
+
xs: {
|
|
9826
|
+
value: "{sizes.12}"
|
|
9827
|
+
}
|
|
9828
|
+
},
|
|
9829
|
+
mono: {
|
|
9830
|
+
lg: {
|
|
9831
|
+
value: "{sizes.20}"
|
|
9832
|
+
},
|
|
9833
|
+
md: {
|
|
9834
|
+
value: "{sizes.16}"
|
|
9835
|
+
},
|
|
9836
|
+
sm: {
|
|
9837
|
+
value: "{sizes.14}"
|
|
9838
|
+
},
|
|
9839
|
+
xs: {
|
|
9840
|
+
value: "{sizes.12}"
|
|
9841
|
+
}
|
|
9842
|
+
}
|
|
9843
|
+
});
|
|
9251
9844
|
const shadows = defineSemanticTokens.shadows({
|
|
9252
9845
|
zero: {
|
|
9253
9846
|
value: { base: "{shadows.zeroShadow}", _dark: "{shadows.zeroShadow}" }
|
|
@@ -9312,6 +9905,7 @@ const theme = {
|
|
|
9312
9905
|
},
|
|
9313
9906
|
semanticTokens: {
|
|
9314
9907
|
colors,
|
|
9908
|
+
fontSizes,
|
|
9315
9909
|
shadows,
|
|
9316
9910
|
zIndex
|
|
9317
9911
|
}
|
|
@@ -9325,6 +9919,7 @@ const cetecPreset = definePreset$1({
|
|
|
9325
9919
|
},
|
|
9326
9920
|
semanticTokens: {
|
|
9327
9921
|
colors: theme.semanticTokens.colors,
|
|
9922
|
+
fontSizes: theme.semanticTokens.fontSizes,
|
|
9328
9923
|
shadows: theme.semanticTokens.shadows,
|
|
9329
9924
|
zIndex: theme.semanticTokens.zIndex
|
|
9330
9925
|
},
|
|
@@ -9380,4 +9975,4 @@ export {
|
|
|
9380
9975
|
breakpoints as b,
|
|
9381
9976
|
containerSizes as c
|
|
9382
9977
|
};
|
|
9383
|
-
//# sourceMappingURL=cetec-preset-
|
|
9978
|
+
//# sourceMappingURL=cetec-preset-DRK1vtb1.js.map
|