cetec-design-system 2.3.7 → 3.0.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.
@@ -49,6 +49,7 @@
49
49
  "background]___[value:bg.neutral.hovered",
50
50
  "fill]___[value:icon",
51
51
  "fill]___[value:icon.subtlest",
52
+ "display]___[value:block",
52
53
  "gap]___[value:4",
53
54
  "gap]___[value:6",
54
55
  "gap]___[value:2",
@@ -83,6 +84,7 @@
83
84
  "opacity]___[value:1",
84
85
  "opacity]___[value:0",
85
86
  "marginInline]___[value:16",
87
+ "alignItems]___[value:start",
86
88
  "width]___[value:fit",
87
89
  "flexWrap]___[value:wrap",
88
90
  "gap]___[value:1",
@@ -301,7 +303,6 @@
301
303
  "gridColumn]___[value:2 / 3",
302
304
  "color]___[value:text.success",
303
305
  "fill]___[value:icon.decorative.subtle",
304
- "alignItems]___[value:start",
305
306
  "fontSize]___[value:64",
306
307
  "fontSize]___[value:40]___[cond:xs",
307
308
  "fontSize]___[value:20]___[cond:sm",
@@ -359,14 +360,6 @@
359
360
  "order]___[value:reference",
360
361
  "order]___[value:content]___[cond:xs",
361
362
  "pointerEvents]___[value:none",
362
- "textStyle]___[value:heading.xs",
363
- "fontWeight]___[value:semibold",
364
- "gridTemplateColumns]___[value:1fr auto 1fr",
365
- "marginInline]___[value:8",
366
- "marginBlock]___[value:12",
367
- "fill]___[value:icon.decorative",
368
- "gap]___[value:3",
369
- "flex]___[value:1",
370
363
  "textStyle]___[value:heading.xs]___[cond:sm",
371
364
  "color]___[value:text.disabled",
372
365
  "color]___[value:text.placeholder",
@@ -385,16 +378,19 @@
385
378
  "width]___[value:40",
386
379
  "width]___[value:140",
387
380
  "width]___[value:100",
381
+ "gap]___[value:3",
388
382
  "background]___[value:bg.neutral.boldest",
389
383
  "height]___[value:120",
390
384
  "fill]___[value:current",
391
385
  "color]___[value:inherit",
386
+ "width]___[value:fit-content",
392
387
  "color]___[value:success.default",
393
388
  "color]___[value:error.default",
394
389
  "lineHeight]___[value:default",
395
390
  "maxWidth]___[value:3xl",
396
391
  "lineHeight]___[value:none",
397
392
  "fill]___[value:var(--cetec-colors-bg-neutral-inverse)",
393
+ "flex]___[value:1",
398
394
  "minWidth]___[value:0",
399
395
  "height]___[value:0",
400
396
  "paddingTop]___[value:16",
@@ -402,6 +398,12 @@
402
398
  "width]___[value:lg",
403
399
  "minWidth]___[value:216",
404
400
  "flex]___[value:none",
401
+ "textStyle]___[value:heading.xs",
402
+ "fontWeight]___[value:semibold",
403
+ "gridTemplateColumns]___[value:1fr auto 1fr",
404
+ "marginInline]___[value:8",
405
+ "marginBlock]___[value:12",
406
+ "fill]___[value:icon.decorative",
405
407
  "width]___[value:32",
406
408
  "height]___[value:32",
407
409
  "border]___[value:default",
@@ -673,6 +675,8 @@
673
675
  "size]___[value:24]___[recipe:text",
674
676
  "family]___[value:mono]___[recipe:text",
675
677
  "size]___[value:12]___[recipe:text",
678
+ "underline]___[value:true]___[recipe:text",
679
+ "dashedUnderline]___[value:true]___[recipe:text",
676
680
  "size]___[value:32]___[recipe:text",
677
681
  "weight]___[value:black]___[recipe:text",
678
682
  "truncate]___[value:true]___[recipe:text",
@@ -912,6 +916,7 @@
912
916
  "box": [],
913
917
  "autocomplete": [
914
918
  "size]___[value:md]___[recipe:autocomplete",
919
+ "layer]___[value:elevated]___[recipe:autocomplete",
915
920
  "size]___[value:sm]___[recipe:autocomplete",
916
921
  "size]___[value:sm]___[cond:xs]___[recipe:autocomplete",
917
922
  "size]___[value:sm]___[cond:sm]___[recipe:autocomplete",
@@ -938,7 +943,8 @@
938
943
  "size]___[value:xl]___[cond:md]___[recipe:autocomplete",
939
944
  "size]___[value:xl]___[cond:lg]___[recipe:autocomplete",
940
945
  "size]___[value:xl]___[cond:xl]___[recipe:autocomplete",
941
- "size]___[value:xl]___[cond:2xl]___[recipe:autocomplete"
946
+ "size]___[value:xl]___[cond:2xl]___[recipe:autocomplete",
947
+ "layer]___[value:modalFloating]___[recipe:autocomplete"
942
948
  ],
943
949
  "formField": [
944
950
  "layout]___[value:default]___[recipe:formField",
@@ -1019,6 +1025,7 @@
1019
1025
  ],
1020
1026
  "menu": [
1021
1027
  "density]___[value:compact]___[recipe:menu",
1028
+ "layer]___[value:elevated]___[recipe:menu",
1022
1029
  "density]___[value:comfortable]___[recipe:menu",
1023
1030
  "density]___[value:spacious]___[recipe:menu",
1024
1031
  "density]___[value:comfortable]___[cond:xs]___[recipe:menu",
@@ -1039,7 +1046,8 @@
1039
1046
  "density]___[value:spacious]___[cond:md]___[recipe:menu",
1040
1047
  "density]___[value:spacious]___[cond:lg]___[recipe:menu",
1041
1048
  "density]___[value:spacious]___[cond:xl]___[recipe:menu",
1042
- "density]___[value:spacious]___[cond:2xl]___[recipe:menu"
1049
+ "density]___[value:spacious]___[cond:2xl]___[recipe:menu",
1050
+ "layer]___[value:modalFloating]___[recipe:menu"
1043
1051
  ],
1044
1052
  "list": [
1045
1053
  "density]___[value:compact]___[recipe:list",
@@ -1067,6 +1075,7 @@
1067
1075
  "listItem": [
1068
1076
  "variant]___[value:default]___[recipe:listItem",
1069
1077
  "density]___[value:compact]___[recipe:listItem",
1078
+ "variant]___[value:divider]___[recipe:listItem",
1070
1079
  "variant]___[value:checkbox]___[recipe:listItem",
1071
1080
  "variant]___[value:toggle]___[recipe:listItem",
1072
1081
  "selected]___[value:0]___[recipe:listItem",
@@ -3250,6 +3250,13 @@
3250
3250
  max-width: var(--cetec-sizes-full);
3251
3251
  }
3252
3252
 
3253
+ .cetec-autocomplete__token[data-new='true'] {
3254
+ background: var(--cetec-colors-transparent);
3255
+ outline-width: var(--cetec-border-widths-1);
3256
+ outline-style: dashed;
3257
+ outline-color: var(--cetec-colors-border-warning);
3258
+ }
3259
+
3253
3260
  .cetec-autocomplete__overflowIndicator {
3254
3261
  background: var(--cetec-colors-bg-neutral);
3255
3262
  padding-inline: var(--cetec-spacing-6);
@@ -3793,6 +3800,7 @@
3793
3800
  position: relative;
3794
3801
  display: inline-flex;
3795
3802
  align-items: center;
3803
+ justify-content: center;
3796
3804
  flex-shrink: 0;
3797
3805
  outline-width: var(--cetec-border-widths-2);
3798
3806
  outline-style: solid;
package/dist/preset.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "@pandacss/dev";
2
- import { a } from "./cetec-preset-CZJA5UR0.js";
2
+ import { a } from "./cetec-preset-D23KFUx3.js";
3
3
  export {
4
4
  a as cetecPreset
5
5
  };
@@ -27,8 +27,10 @@
27
27
  "bg.cta.bold",
28
28
  "bg.danger",
29
29
  "bg.danger.bold",
30
+ "bg.danger.subtle",
30
31
  "bg.info",
31
32
  "bg.info.bold",
33
+ "bg.info.subtle",
32
34
  "bg.input",
33
35
  "bg.neutral",
34
36
  "bg.neutral.bold",
@@ -41,8 +43,10 @@
41
43
  "bg.slate",
42
44
  "bg.success",
43
45
  "bg.success.bold",
46
+ "bg.success.subtle",
44
47
  "bg.warning",
45
48
  "bg.warning.bold",
49
+ "bg.warning.subtle",
46
50
  "blanket",
47
51
  "blue",
48
52
  "border",
@@ -1309,6 +1309,18 @@
1309
1309
  "<Box margin=\"2\" _collapsed={{ margin: '4' }} />"
1310
1310
  ]
1311
1311
  },
1312
+ {
1313
+ "name": "_new",
1314
+ "value": "&[data-new=true]",
1315
+ "functionExamples": [
1316
+ "css({ margin: { base: '2', _new: '4' } })",
1317
+ "css({ margin: '2', _new: { margin: '4' } })"
1318
+ ],
1319
+ "jsxExamples": [
1320
+ "<Box margin={{ base: '2', _new: '4' }} />",
1321
+ "<Box margin=\"2\" _new={{ margin: '4' }} />"
1322
+ ]
1323
+ },
1312
1324
  {
1313
1325
  "name": "_utility",
1314
1326
  "value": "&[data-utility=true]",
@@ -250,6 +250,9 @@
250
250
  "underline": [
251
251
  "true"
252
252
  ],
253
+ "dashedUnderline": [
254
+ "true"
255
+ ],
253
256
  "truncate": [
254
257
  "true"
255
258
  ],
@@ -290,24 +293,26 @@
290
293
  "label({ bold: true })",
291
294
  "label({ italic: true })",
292
295
  "label({ underline: true })",
296
+ "label({ dashedUnderline: true })",
293
297
  "label({ truncate: true })",
294
298
  "label({ allCaps: true })",
295
299
  "label({ size: '10' })",
296
300
  "label({ weight: 'light' })",
297
301
  "label({ _disabled: true })",
298
- "label({ family: 'heading', bold: true, italic: true, underline: true, truncate: true, allCaps: true, size: '10', weight: 'light', _disabled: true })"
302
+ "label({ family: 'heading', bold: true, italic: true, underline: true, dashedUnderline: true, truncate: true, allCaps: true, size: '10', weight: 'light', _disabled: true })"
299
303
  ],
300
304
  "jsxExamples": [
301
305
  "<Label family=\"heading\" />",
302
306
  "<Label bold={true} />",
303
307
  "<Label italic={true} />",
304
308
  "<Label underline={true} />",
309
+ "<Label dashedUnderline={true} />",
305
310
  "<Label truncate={true} />",
306
311
  "<Label allCaps={true} />",
307
312
  "<Label size=\"10\" />",
308
313
  "<Label weight=\"light\" />",
309
314
  "<Label _disabled={true} />",
310
- "<Label family=\"heading\" bold={true} italic={true} underline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" _disabled={true} />"
315
+ "<Label family=\"heading\" bold={true} italic={true} underline={true} dashedUnderline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" _disabled={true} />"
311
316
  ]
312
317
  },
313
318
  {
@@ -328,6 +333,9 @@
328
333
  "underline": [
329
334
  "true"
330
335
  ],
336
+ "dashedUnderline": [
337
+ "true"
338
+ ],
331
339
  "truncate": [
332
340
  "true"
333
341
  ],
@@ -355,9 +363,6 @@
355
363
  "medium",
356
364
  "bold",
357
365
  "black"
358
- ],
359
- "_disabled": [
360
- "true"
361
366
  ]
362
367
  },
363
368
  "defaultVariants": {
@@ -368,24 +373,24 @@
368
373
  "link({ bold: true })",
369
374
  "link({ italic: true })",
370
375
  "link({ underline: true })",
376
+ "link({ dashedUnderline: true })",
371
377
  "link({ truncate: true })",
372
378
  "link({ allCaps: true })",
373
379
  "link({ size: '10' })",
374
380
  "link({ weight: 'light' })",
375
- "link({ _disabled: true })",
376
- "link({ family: 'heading', bold: true, italic: true, underline: true, truncate: true, allCaps: true, size: '10', weight: 'light', _disabled: true })"
381
+ "link({ family: 'heading', bold: true, italic: true, underline: true, dashedUnderline: true, truncate: true, allCaps: true, size: '10', weight: 'light' })"
377
382
  ],
378
383
  "jsxExamples": [
379
384
  "<Link family=\"heading\" />",
380
385
  "<Link bold={true} />",
381
386
  "<Link italic={true} />",
382
387
  "<Link underline={true} />",
388
+ "<Link dashedUnderline={true} />",
383
389
  "<Link truncate={true} />",
384
390
  "<Link allCaps={true} />",
385
391
  "<Link size=\"10\" />",
386
392
  "<Link weight=\"light\" />",
387
- "<Link _disabled={true} />",
388
- "<Link family=\"heading\" bold={true} italic={true} underline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" _disabled={true} />"
393
+ "<Link family=\"heading\" bold={true} italic={true} underline={true} dashedUnderline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" />"
389
394
  ]
390
395
  },
391
396
  {
@@ -588,6 +593,9 @@
588
593
  "underline": [
589
594
  "true"
590
595
  ],
596
+ "dashedUnderline": [
597
+ "true"
598
+ ],
591
599
  "truncate": [
592
600
  "true"
593
601
  ],
@@ -623,22 +631,24 @@
623
631
  "text({ bold: true })",
624
632
  "text({ italic: true })",
625
633
  "text({ underline: true })",
634
+ "text({ dashedUnderline: true })",
626
635
  "text({ truncate: true })",
627
636
  "text({ allCaps: true })",
628
637
  "text({ size: '10' })",
629
638
  "text({ weight: 'light' })",
630
- "text({ family: 'heading', bold: true, italic: true, underline: true, truncate: true, allCaps: true, size: '10', weight: 'light' })"
639
+ "text({ family: 'heading', bold: true, italic: true, underline: true, dashedUnderline: true, truncate: true, allCaps: true, size: '10', weight: 'light' })"
631
640
  ],
632
641
  "jsxExamples": [
633
642
  "<Text family=\"heading\" />",
634
643
  "<Text bold={true} />",
635
644
  "<Text italic={true} />",
636
645
  "<Text underline={true} />",
646
+ "<Text dashedUnderline={true} />",
637
647
  "<Text truncate={true} />",
638
648
  "<Text allCaps={true} />",
639
649
  "<Text size=\"10\" />",
640
650
  "<Text weight=\"light\" />",
641
- "<Text family=\"heading\" bold={true} italic={true} underline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" />"
651
+ "<Text family=\"heading\" bold={true} italic={true} underline={true} dashedUnderline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" />"
642
652
  ]
643
653
  },
644
654
  {
@@ -695,6 +705,10 @@
695
705
  {
696
706
  "name": "autocomplete",
697
707
  "variants": {
708
+ "layer": [
709
+ "elevated",
710
+ "modalFloating"
711
+ ],
698
712
  "size": [
699
713
  "sm",
700
714
  "md",
@@ -703,13 +717,18 @@
703
717
  ]
704
718
  },
705
719
  "defaultVariants": {
706
- "size": "md"
720
+ "size": "md",
721
+ "layer": "elevated"
707
722
  },
708
723
  "functionExamples": [
709
- "autocomplete({ size: 'sm' })"
724
+ "autocomplete({ layer: 'elevated' })",
725
+ "autocomplete({ size: 'sm' })",
726
+ "autocomplete({ layer: 'elevated', size: 'sm' })"
710
727
  ],
711
728
  "jsxExamples": [
712
- "<Autocomplete size=\"sm\" />"
729
+ "<Autocomplete layer=\"elevated\" />",
730
+ "<Autocomplete size=\"sm\" />",
731
+ "<Autocomplete layer=\"elevated\" size=\"sm\" />"
713
732
  ]
714
733
  },
715
734
  {
@@ -1088,6 +1107,10 @@
1088
1107
  {
1089
1108
  "name": "menu",
1090
1109
  "variants": {
1110
+ "layer": [
1111
+ "elevated",
1112
+ "modalFloating"
1113
+ ],
1091
1114
  "density": [
1092
1115
  "compact",
1093
1116
  "comfortable",
@@ -1098,17 +1121,20 @@
1098
1121
  ]
1099
1122
  },
1100
1123
  "defaultVariants": {
1101
- "density": "compact"
1124
+ "density": "compact",
1125
+ "layer": "elevated"
1102
1126
  },
1103
1127
  "functionExamples": [
1128
+ "menu({ layer: 'elevated' })",
1104
1129
  "menu({ density: 'compact' })",
1105
1130
  "menu({ panel: true })",
1106
- "menu({ density: 'compact', panel: true })"
1131
+ "menu({ layer: 'elevated', density: 'compact', panel: true })"
1107
1132
  ],
1108
1133
  "jsxExamples": [
1134
+ "<Menu layer=\"elevated\" />",
1109
1135
  "<Menu density=\"compact\" />",
1110
1136
  "<Menu panel={true} />",
1111
- "<Menu density=\"compact\" panel={true} />"
1137
+ "<Menu layer=\"elevated\" density=\"compact\" panel={true} />"
1112
1138
  ]
1113
1139
  },
1114
1140
  {
@@ -382,6 +382,48 @@
382
382
  ],
383
383
  "cssVar": "var(--cetec-colors-bg-success-bold-pressed)"
384
384
  },
385
+ {
386
+ "name": "bg.success.subtle",
387
+ "values": [
388
+ {
389
+ "value": "{colors.green.5}",
390
+ "condition": "base"
391
+ },
392
+ {
393
+ "value": "{colors.green.80}",
394
+ "condition": "dark"
395
+ }
396
+ ],
397
+ "cssVar": "var(--cetec-colors-bg-success-subtle)"
398
+ },
399
+ {
400
+ "name": "bg.success.subtle.hovered",
401
+ "values": [
402
+ {
403
+ "value": "{colors.green.10}",
404
+ "condition": "base"
405
+ },
406
+ {
407
+ "value": "{colors.green.70}",
408
+ "condition": "dark"
409
+ }
410
+ ],
411
+ "cssVar": "var(--cetec-colors-bg-success-subtle-hovered)"
412
+ },
413
+ {
414
+ "name": "bg.success.subtle.pressed",
415
+ "values": [
416
+ {
417
+ "value": "{colors.green.20}",
418
+ "condition": "base"
419
+ },
420
+ {
421
+ "value": "{colors.green.90}",
422
+ "condition": "dark"
423
+ }
424
+ ],
425
+ "cssVar": "var(--cetec-colors-bg-success-subtle-pressed)"
426
+ },
385
427
  {
386
428
  "name": "bg.warning",
387
429
  "values": [
@@ -466,6 +508,48 @@
466
508
  ],
467
509
  "cssVar": "var(--cetec-colors-bg-warning-bold-pressed)"
468
510
  },
511
+ {
512
+ "name": "bg.warning.subtle",
513
+ "values": [
514
+ {
515
+ "value": "{colors.orange.5}",
516
+ "condition": "base"
517
+ },
518
+ {
519
+ "value": "{colors.orange.80}",
520
+ "condition": "dark"
521
+ }
522
+ ],
523
+ "cssVar": "var(--cetec-colors-bg-warning-subtle)"
524
+ },
525
+ {
526
+ "name": "bg.warning.subtle.hovered",
527
+ "values": [
528
+ {
529
+ "value": "{colors.orange.10}",
530
+ "condition": "base"
531
+ },
532
+ {
533
+ "value": "{colors.orange.70}",
534
+ "condition": "dark"
535
+ }
536
+ ],
537
+ "cssVar": "var(--cetec-colors-bg-warning-subtle-hovered)"
538
+ },
539
+ {
540
+ "name": "bg.warning.subtle.pressed",
541
+ "values": [
542
+ {
543
+ "value": "{colors.orange.20}",
544
+ "condition": "base"
545
+ },
546
+ {
547
+ "value": "{colors.orange.90}",
548
+ "condition": "dark"
549
+ }
550
+ ],
551
+ "cssVar": "var(--cetec-colors-bg-warning-subtle-pressed)"
552
+ },
469
553
  {
470
554
  "name": "bg.danger",
471
555
  "values": [
@@ -550,6 +634,48 @@
550
634
  ],
551
635
  "cssVar": "var(--cetec-colors-bg-danger-bold-pressed)"
552
636
  },
637
+ {
638
+ "name": "bg.danger.subtle",
639
+ "values": [
640
+ {
641
+ "value": "{colors.red.5}",
642
+ "condition": "base"
643
+ },
644
+ {
645
+ "value": "{colors.red.80}",
646
+ "condition": "dark"
647
+ }
648
+ ],
649
+ "cssVar": "var(--cetec-colors-bg-danger-subtle)"
650
+ },
651
+ {
652
+ "name": "bg.danger.subtle.hovered",
653
+ "values": [
654
+ {
655
+ "value": "{colors.red.10}",
656
+ "condition": "base"
657
+ },
658
+ {
659
+ "value": "{colors.red.70}",
660
+ "condition": "dark"
661
+ }
662
+ ],
663
+ "cssVar": "var(--cetec-colors-bg-danger-subtle-hovered)"
664
+ },
665
+ {
666
+ "name": "bg.danger.subtle.pressed",
667
+ "values": [
668
+ {
669
+ "value": "{colors.red.20}",
670
+ "condition": "base"
671
+ },
672
+ {
673
+ "value": "{colors.red.90}",
674
+ "condition": "dark"
675
+ }
676
+ ],
677
+ "cssVar": "var(--cetec-colors-bg-danger-subtle-pressed)"
678
+ },
553
679
  {
554
680
  "name": "bg.info",
555
681
  "values": [
@@ -634,6 +760,48 @@
634
760
  ],
635
761
  "cssVar": "var(--cetec-colors-bg-info-bold-pressed)"
636
762
  },
763
+ {
764
+ "name": "bg.info.subtle",
765
+ "values": [
766
+ {
767
+ "value": "{colors.blue.5}",
768
+ "condition": "base"
769
+ },
770
+ {
771
+ "value": "{colors.blue.80}",
772
+ "condition": "dark"
773
+ }
774
+ ],
775
+ "cssVar": "var(--cetec-colors-bg-info-subtle)"
776
+ },
777
+ {
778
+ "name": "bg.info.subtle.hovered",
779
+ "values": [
780
+ {
781
+ "value": "{colors.blue.10}",
782
+ "condition": "base"
783
+ },
784
+ {
785
+ "value": "{colors.blue.70}",
786
+ "condition": "dark"
787
+ }
788
+ ],
789
+ "cssVar": "var(--cetec-colors-bg-info-subtle-hovered)"
790
+ },
791
+ {
792
+ "name": "bg.info.subtle.pressed",
793
+ "values": [
794
+ {
795
+ "value": "{colors.blue.20}",
796
+ "condition": "base"
797
+ },
798
+ {
799
+ "value": "{colors.blue.90}",
800
+ "condition": "dark"
801
+ }
802
+ ],
803
+ "cssVar": "var(--cetec-colors-bg-info-subtle-pressed)"
804
+ },
637
805
  {
638
806
  "name": "bg.cta",
639
807
  "values": [
@@ -4389,6 +4557,16 @@
4389
4557
  ],
4390
4558
  "cssVar": "var(--cetec-z-index-modal)"
4391
4559
  },
4560
+ {
4561
+ "name": "modalFloating",
4562
+ "values": [
4563
+ {
4564
+ "value": "{zIndex.1102}",
4565
+ "condition": "base"
4566
+ }
4567
+ ],
4568
+ "cssVar": "var(--cetec-z-index-modal-floating)"
4569
+ },
4392
4570
  {
4393
4571
  "name": "tooltip",
4394
4572
  "values": [
@@ -3264,6 +3264,11 @@
3264
3264
  "value": 1101,
3265
3265
  "cssVar": "var(--cetec-z-index-1101)"
3266
3266
  },
3267
+ {
3268
+ "name": "1102",
3269
+ "value": 1102,
3270
+ "cssVar": "var(--cetec-z-index-1102)"
3271
+ },
3267
3272
  {
3268
3273
  "name": "1200",
3269
3274
  "value": 1200,