@wirecore/wirelayer-css 0.6.0 → 0.8.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.
Files changed (43) hide show
  1. package/dist/components.css +214 -76
  2. package/dist/embed/base.css +1 -1
  3. package/dist/embed/components/alert.css +1 -1
  4. package/dist/embed/components/button.css +1 -1
  5. package/dist/embed/components/card.css +1 -1
  6. package/dist/embed/components/carousel.css +1 -1
  7. package/dist/embed/components/cascade-select.css +1 -1
  8. package/dist/embed/components/color-picker.css +1 -1
  9. package/dist/embed/components/combobox.css +1 -1
  10. package/dist/embed/components/confirm-popup.css +1 -1
  11. package/dist/embed/components/cta-section.css +1 -1
  12. package/dist/embed/components/data-table.css +1 -1
  13. package/dist/embed/components/date-picker.css +1 -1
  14. package/dist/embed/components/dialog.css +1 -1
  15. package/dist/embed/components/drawer.css +1 -1
  16. package/dist/embed/components/editor.css +1 -1
  17. package/dist/embed/components/fieldset.css +1 -1
  18. package/dist/embed/components/floating-panel.css +1 -1
  19. package/dist/embed/components/hover-card.css +1 -1
  20. package/dist/embed/components/icon-button.css +1 -1
  21. package/dist/embed/components/input.css +1 -1
  22. package/dist/embed/components/mega-menu.css +1 -1
  23. package/dist/embed/components/mentions.css +1 -1
  24. package/dist/embed/components/menu.css +1 -1
  25. package/dist/embed/components/multi-select.css +1 -1
  26. package/dist/embed/components/native-select.css +1 -1
  27. package/dist/embed/components/navigation-menu.css +1 -1
  28. package/dist/embed/components/number-input.css +1 -1
  29. package/dist/embed/components/panel.css +1 -1
  30. package/dist/embed/components/password-input.css +1 -1
  31. package/dist/embed/components/popover.css +1 -1
  32. package/dist/embed/components/progress.css +1 -1
  33. package/dist/embed/components/select.css +1 -1
  34. package/dist/embed/components/slider.css +1 -1
  35. package/dist/embed/components/statistic.css +1 -1
  36. package/dist/embed/components/tags-input.css +1 -1
  37. package/dist/embed/components/textarea.css +1 -1
  38. package/dist/embed/components/tour.css +1 -1
  39. package/dist/embed/components/tree-select.css +1 -1
  40. package/dist/wirecore.css +1 -1
  41. package/llms-full.txt +20 -0
  42. package/llms.txt +3 -3
  43. package/package.json +3 -3
@@ -111,6 +111,12 @@
111
111
  .wc-alert-description {
112
112
  @apply text-[13px] leading-normal text-muted;
113
113
  }
114
+ .wc-alert-text {
115
+ @apply flex min-w-0 flex-1 basis-48 flex-col gap-0.5;
116
+ }
117
+ .wc-alert-actions {
118
+ @apply flex shrink-0 flex-wrap items-center gap-2;
119
+ }
114
120
  .wc-alert-dismiss {
115
121
  @apply flex size-7 cursor-pointer items-center justify-center rounded-full text-muted transition-colors hover:bg-line hover:text-fg motion-reduce:transition-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-fg;
116
122
  }
@@ -150,6 +156,9 @@
150
156
  .wc-alert-dismiss:is(.wc-alert-simple, .wc-alert-simple *) {
151
157
  @apply size-6;
152
158
  }
159
+ .wc-alert-content:is(.wc-alert-has-actions, .wc-alert-has-actions *) {
160
+ @apply flex-row flex-wrap items-center gap-x-4 gap-y-2;
161
+ }
153
162
  .wc-alert:is(.wc-alert-sm, .wc-alert-sm *) {
154
163
  @apply gap-2 py-2 pe-2 ps-2.5;
155
164
  }
@@ -844,25 +853,25 @@
844
853
  @apply size-3;
845
854
  }
846
855
  .wc-button:is(.wc-button-sm, .wc-button-sm *) {
847
- @apply h-8 gap-1 px-3 text-[13px];
856
+ @apply h-[var(--wc-control-h-sm,2rem)] gap-1 px-3 text-[13px];
848
857
  }
849
858
  .wc-button-icon:is(.wc-button-sm, .wc-button-sm *) {
850
859
  @apply size-3.5;
851
860
  }
852
861
  .wc-button:not(.wc-button-xs, .wc-button-xs *, .wc-button-sm, .wc-button-sm *, .wc-button-lg, .wc-button-lg *) {
853
- @apply h-10 gap-1.5 px-4 text-sm;
862
+ @apply h-[var(--wc-control-h-md,2.5rem)] gap-1.5 px-4 text-sm;
854
863
  }
855
864
  .wc-button-icon:not(.wc-button-xs, .wc-button-xs *, .wc-button-sm, .wc-button-sm *, .wc-button-lg, .wc-button-lg *) {
856
865
  @apply size-4;
857
866
  }
858
867
  .wc-button:is(.wc-button-lg, .wc-button-lg *) {
859
- @apply h-12 gap-2 px-5.5 text-[15px];
868
+ @apply h-[var(--wc-control-h-lg,3rem)] gap-2 px-5.5 text-[15px];
860
869
  }
861
870
  .wc-button-icon:is(.wc-button-lg, .wc-button-lg *) {
862
871
  @apply size-[18px];
863
872
  }
864
873
  .wc-button:is(.wc-button-rounded, .wc-button-rounded *) {
865
- @apply rounded-lg;
874
+ @apply rounded-[var(--wc-button-radius,0.5rem)];
866
875
  }
867
876
  .wc-button:is(.wc-button-square, .wc-button-square *) {
868
877
  @apply rounded-none;
@@ -1013,7 +1022,7 @@
1013
1022
 
1014
1023
  /* card */
1015
1024
  .wc-card {
1016
- @apply flex flex-col gap-2.5 rounded-card border border-line bg-card p-6;
1025
+ @apply flex flex-col gap-2.5 rounded-card border border-line bg-card p-[var(--wc-card-p,1.5rem)];
1017
1026
  }
1018
1027
  .wc-card:is(.wc-card-interactive, .wc-card-interactive *) {
1019
1028
  @apply cursor-pointer bg-glow transition-colors duration-200 hover:border-line-2 motion-reduce:transition-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-fg;
@@ -1064,6 +1073,9 @@
1064
1073
  .wc-carousel-indicator-group {
1065
1074
  @apply flex flex-1 flex-wrap items-center justify-center;
1066
1075
  }
1076
+ .wc-carousel-stage {
1077
+ @apply flex min-w-0 items-center gap-2 rtl:[&_[data-part=prev-trigger]_svg]:-scale-x-100 rtl:[&_[data-part=next-trigger]_svg]:-scale-x-100;
1078
+ }
1067
1079
  .wc-carousel-indicator {
1068
1080
  @apply flex size-6 cursor-pointer items-center justify-center rounded-full before:h-2 before:w-2 before:rounded-full before:bg-line-strong before:content-[""] data-current:before:w-4 data-current:before:bg-primary forced-colors:data-current:before:bg-[Highlight] motion-safe:before:transition-[width,background-color] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-fg;
1069
1081
  }
@@ -1076,6 +1088,12 @@
1076
1088
  .wc-carousel-control:is(.wc-carousel-vertical, .wc-carousel-vertical *) {
1077
1089
  @apply [&_[data-part=prev-trigger]_svg]:rotate-90 [&_[data-part=next-trigger]_svg]:rotate-90 rtl:[&_[data-part=prev-trigger]_svg]:scale-x-100 rtl:[&_[data-part=next-trigger]_svg]:scale-x-100;
1078
1090
  }
1091
+ .wc-carousel-item-group:is(.wc-carousel-sides, .wc-carousel-sides *) {
1092
+ @apply min-w-0 flex-1;
1093
+ }
1094
+ .wc-carousel-stage:is(.wc-carousel-vertical, .wc-carousel-vertical *):is(.wc-carousel-sides, .wc-carousel-sides *) {
1095
+ @apply flex-col [&_[data-part=prev-trigger]_svg]:rotate-90 [&_[data-part=next-trigger]_svg]:rotate-90 rtl:[&_[data-part=prev-trigger]_svg]:scale-x-100 rtl:[&_[data-part=next-trigger]_svg]:scale-x-100;
1096
+ }
1079
1097
 
1080
1098
  /* cascade-select */
1081
1099
  .wc-cascade-select {
@@ -1655,10 +1673,10 @@
1655
1673
  @apply flex w-full flex-col;
1656
1674
  }
1657
1675
  .wc-color-picker-control {
1658
- @apply flex w-full items-stretch overflow-hidden rounded-lg border border-line-strong bg-bg text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted h-10;
1676
+ @apply flex w-full items-stretch overflow-hidden rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted h-[var(--wc-control-h-md,2.5rem)];
1659
1677
  }
1660
1678
  .wc-color-picker-trigger {
1661
- @apply flex min-w-0 flex-1 cursor-pointer items-center gap-2.5 px-3 text-start text-[15px] text-fg outline-none focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-fg;
1679
+ @apply flex min-w-0 flex-1 cursor-pointer items-center gap-2.5 px-3 text-start text-[length:var(--wc-control-text-md,15px)] text-fg outline-none focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-fg;
1662
1680
  }
1663
1681
  .wc-color-picker-swatch {
1664
1682
  @apply size-5 shrink-0 rounded-md shadow-[inset_0_0_0_1px_rgba(0,0,0,.15)];
@@ -1782,10 +1800,10 @@
1782
1800
  @apply flex w-full flex-col;
1783
1801
  }
1784
1802
  .wc-combobox-control {
1785
- @apply flex w-full items-stretch overflow-hidden rounded-lg border border-line-strong bg-bg text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted h-10;
1803
+ @apply flex w-full items-stretch overflow-hidden rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted h-[var(--wc-control-h-md,2.5rem)];
1786
1804
  }
1787
1805
  .wc-combobox-input {
1788
- @apply h-full min-w-0 flex-1 bg-transparent px-3 text-[15px] text-inherit outline-none placeholder:text-muted disabled:cursor-not-allowed;
1806
+ @apply h-full min-w-0 flex-1 bg-transparent px-3 text-[length:var(--wc-control-text-md,15px)] text-inherit outline-none placeholder:text-muted disabled:cursor-not-allowed;
1789
1807
  }
1790
1808
  .wc-combobox-clear {
1791
1809
  @apply flex shrink-0 cursor-pointer items-center justify-center text-muted transition-colors hover:text-fg motion-reduce:transition-none focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-fg disabled:cursor-not-allowed disabled:opacity-40 w-8;
@@ -1845,10 +1863,10 @@
1845
1863
  @apply h-px shrink-0;
1846
1864
  }
1847
1865
  .wc-combobox-control:is(.wc-combobox-sm, .wc-combobox-sm *) {
1848
- @apply h-8 rounded-md;
1866
+ @apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)];
1849
1867
  }
1850
1868
  .wc-combobox-input:is(.wc-combobox-sm, .wc-combobox-sm *) {
1851
- @apply px-2.5 text-[13px];
1869
+ @apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
1852
1870
  }
1853
1871
  .wc-combobox-trigger:is(.wc-combobox-sm, .wc-combobox-sm *) {
1854
1872
  @apply w-8;
@@ -1857,10 +1875,10 @@
1857
1875
  @apply w-7;
1858
1876
  }
1859
1877
  .wc-combobox-control:is(.wc-combobox-lg, .wc-combobox-lg *) {
1860
- @apply h-12 rounded-[10px];
1878
+ @apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)];
1861
1879
  }
1862
1880
  .wc-combobox-input:is(.wc-combobox-lg, .wc-combobox-lg *) {
1863
- @apply px-4 text-base;
1881
+ @apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
1864
1882
  }
1865
1883
  .wc-combobox-trigger:is(.wc-combobox-lg, .wc-combobox-lg *) {
1866
1884
  @apply w-11;
@@ -2463,6 +2481,18 @@
2463
2481
  .wc-data-table-foot-cell:is(.wc-data-table-gridlines, .wc-data-table-gridlines *) {
2464
2482
  @apply border-e border-line last:border-e-0;
2465
2483
  }
2484
+ .wc-data-table-table:is(.wc-data-table-bordered, .wc-data-table-bordered *) {
2485
+ @apply border border-line;
2486
+ }
2487
+ .wc-data-table-footer:is(.wc-data-table-paginator-start, .wc-data-table-paginator-start *) {
2488
+ @apply justify-start;
2489
+ }
2490
+ .wc-data-table-footer:is(.wc-data-table-paginator-center, .wc-data-table-paginator-center *) {
2491
+ @apply justify-center;
2492
+ }
2493
+ .wc-data-table-footer:is(.wc-data-table-paginator-end, .wc-data-table-paginator-end *) {
2494
+ @apply justify-end;
2495
+ }
2466
2496
  .wc-data-table-row:is(.wc-data-table-striped, .wc-data-table-striped *) {
2467
2497
  @apply even:bg-bg-2/60;
2468
2498
  }
@@ -2579,7 +2609,7 @@
2579
2609
  @apply flex w-full flex-col;
2580
2610
  }
2581
2611
  .wc-date-picker-control {
2582
- @apply flex w-full items-stretch overflow-hidden rounded-lg border border-line-strong bg-bg text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted h-10;
2612
+ @apply flex w-full items-stretch overflow-hidden rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted h-[var(--wc-control-h-md,2.5rem)];
2583
2613
  }
2584
2614
  .wc-date-picker-date-input {
2585
2615
  @apply relative flex min-w-0 flex-1 items-center px-3;
@@ -2588,10 +2618,10 @@
2588
2618
  @apply flex min-w-0 items-center data-placeholder-shown:opacity-0;
2589
2619
  }
2590
2620
  .wc-date-picker-placeholder {
2591
- @apply absolute inset-0 flex cursor-text items-center overflow-hidden px-3 text-[15px] whitespace-nowrap text-muted data-hidden:pointer-events-none data-hidden:opacity-0;
2621
+ @apply absolute inset-0 flex cursor-text items-center overflow-hidden px-3 text-[length:var(--wc-control-text-md,15px)] whitespace-nowrap text-muted data-hidden:pointer-events-none data-hidden:opacity-0;
2592
2622
  }
2593
2623
  .wc-date-picker-segments {
2594
- @apply flex items-center text-[15px];
2624
+ @apply flex items-center text-[length:var(--wc-control-text-md,15px)];
2595
2625
  }
2596
2626
  .wc-date-picker-segment {
2597
2627
  @apply rounded-sm px-px text-fg tabular-nums outline-none data-placeholder-shown:text-muted focus:bg-primary focus:text-on-primary data-[type=literal]:px-0 data-[type=literal]:text-muted data-[type=literal]:normal-nums data-[type=literal]:whitespace-pre forced-colors:focus:forced-color-adjust-none forced-colors:focus:bg-[Highlight] forced-colors:focus:text-[HighlightText];
@@ -2687,7 +2717,7 @@
2687
2717
  @apply h-8 cursor-pointer rounded-md px-2.5 text-sm font-medium hover:bg-line disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-fg;
2688
2718
  }
2689
2719
  .wc-date-picker-multi-value {
2690
- @apply min-w-0 flex-1 truncate px-3 text-[15px] data-placeholder:text-muted;
2720
+ @apply min-w-0 flex-1 truncate px-3 text-[length:var(--wc-control-text-md,15px)] data-placeholder:text-muted;
2691
2721
  }
2692
2722
  .wc-date-picker-time-zone {
2693
2723
  @apply shrink-0 self-center pe-1 text-xs text-muted;
@@ -2699,7 +2729,7 @@
2699
2729
  @apply fixed inset-0 z-40 bg-black/40 motion-safe:animate-fade-in;
2700
2730
  }
2701
2731
  .wc-date-picker-text-input {
2702
- @apply h-full min-w-0 flex-1 bg-transparent px-3 text-[15px] text-inherit outline-none placeholder:text-muted disabled:cursor-not-allowed;
2732
+ @apply h-full min-w-0 flex-1 bg-transparent px-3 text-[length:var(--wc-control-text-md,15px)] text-inherit outline-none placeholder:text-muted disabled:cursor-not-allowed;
2703
2733
  }
2704
2734
  .wc-date-picker-year-label {
2705
2735
  @apply text-sm font-semibold tabular-nums;
@@ -2708,28 +2738,28 @@
2708
2738
  @apply grid grid-cols-2 gap-1;
2709
2739
  }
2710
2740
  .wc-date-picker-unit {
2711
- @apply px-1 text-[15px] text-muted;
2741
+ @apply px-1 text-[length:var(--wc-control-text-md,15px)] text-muted;
2712
2742
  }
2713
2743
  .wc-date-picker-control:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
2714
- @apply h-8 rounded-md;
2744
+ @apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)];
2715
2745
  }
2716
2746
  .wc-date-picker-date-input:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
2717
2747
  @apply px-2.5;
2718
2748
  }
2719
2749
  .wc-date-picker-placeholder:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
2720
- @apply px-2.5 text-[13px];
2750
+ @apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
2721
2751
  }
2722
2752
  .wc-date-picker-segments:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
2723
- @apply text-[13px];
2753
+ @apply text-[length:var(--wc-control-text-sm,13px)];
2724
2754
  }
2725
2755
  .wc-date-picker-multi-value:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
2726
- @apply px-2.5 text-[13px];
2756
+ @apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
2727
2757
  }
2728
2758
  .wc-date-picker-text-input:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
2729
- @apply px-2.5 text-[13px];
2759
+ @apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
2730
2760
  }
2731
2761
  .wc-date-picker-unit:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
2732
- @apply text-[13px];
2762
+ @apply text-[length:var(--wc-control-text-sm,13px)];
2733
2763
  }
2734
2764
  .wc-date-picker-trigger:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
2735
2765
  @apply w-8;
@@ -2738,25 +2768,25 @@
2738
2768
  @apply w-7;
2739
2769
  }
2740
2770
  .wc-date-picker-control:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
2741
- @apply h-12 rounded-[10px];
2771
+ @apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)];
2742
2772
  }
2743
2773
  .wc-date-picker-date-input:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
2744
2774
  @apply px-4;
2745
2775
  }
2746
2776
  .wc-date-picker-placeholder:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
2747
- @apply px-4 text-base;
2777
+ @apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
2748
2778
  }
2749
2779
  .wc-date-picker-segments:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
2750
- @apply text-base;
2780
+ @apply text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
2751
2781
  }
2752
2782
  .wc-date-picker-multi-value:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
2753
- @apply px-4 text-base;
2783
+ @apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
2754
2784
  }
2755
2785
  .wc-date-picker-text-input:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
2756
- @apply px-4 text-base;
2786
+ @apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
2757
2787
  }
2758
2788
  .wc-date-picker-unit:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
2759
- @apply text-base;
2789
+ @apply text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
2760
2790
  }
2761
2791
  .wc-date-picker-trigger:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
2762
2792
  @apply w-11;
@@ -2826,7 +2856,7 @@
2826
2856
 
2827
2857
  /* dialog */
2828
2858
  .wc-dialog-backdrop {
2829
- @apply fixed inset-0 z-50 bg-black/60 motion-safe:data-[state=open]:animate-fade-in motion-safe:data-[state=closed]:animate-fade-out;
2859
+ @apply fixed inset-0 z-50 bg-[var(--wc-backdrop,rgb(0_0_0/0.6))] motion-safe:data-[state=open]:animate-fade-in motion-safe:data-[state=closed]:animate-fade-out;
2830
2860
  }
2831
2861
  .wc-dialog-positioner {
2832
2862
  @apply fixed inset-0 z-50 flex items-center justify-center overflow-y-auto p-4;
@@ -2867,6 +2897,24 @@
2867
2897
  .wc-dialog-maximize-icon {
2868
2898
  @apply size-4;
2869
2899
  }
2900
+ .wc-dialog-title:is(.wc-dialog-hide-title, .wc-dialog-hide-title *) {
2901
+ @apply sr-only;
2902
+ }
2903
+ .wc-dialog-header:is(.wc-dialog-title-in-header, .wc-dialog-title-in-header *) {
2904
+ @apply border-b border-line pb-3;
2905
+ }
2906
+ .wc-dialog-icon-box:is(.wc-dialog-title-in-header, .wc-dialog-title-in-header *) {
2907
+ @apply size-7 shrink-0 rounded-lg;
2908
+ }
2909
+ .wc-dialog-icon:is(.wc-dialog-title-in-header, .wc-dialog-title-in-header *) {
2910
+ @apply size-4;
2911
+ }
2912
+ .wc-dialog-title:is(.wc-dialog-title-in-header, .wc-dialog-title-in-header *) {
2913
+ @apply min-w-0 flex-1 text-base break-words;
2914
+ }
2915
+ .wc-dialog-body:is(.wc-dialog-title-in-header, .wc-dialog-title-in-header *) {
2916
+ @apply pt-4;
2917
+ }
2870
2918
  .wc-dialog-icon-box:not(.wc-dialog-success, .wc-dialog-success *, .wc-dialog-info, .wc-dialog-info *, .wc-dialog-warn, .wc-dialog-warn *, .wc-dialog-danger, .wc-dialog-danger *) {
2871
2919
  @apply bg-line text-fg;
2872
2920
  }
@@ -2989,7 +3037,7 @@
2989
3037
 
2990
3038
  /* drawer */
2991
3039
  .wc-drawer-backdrop {
2992
- @apply fixed inset-0 z-50 bg-black/60 motion-safe:data-[state=open]:animate-fade-in motion-safe:data-[state=closed]:animate-fade-out;
3040
+ @apply fixed inset-0 z-50 bg-[var(--wc-backdrop,rgb(0_0_0/0.6))] motion-safe:data-[state=open]:animate-fade-in motion-safe:data-[state=closed]:animate-fade-out;
2993
3041
  }
2994
3042
  .wc-drawer-positioner {
2995
3043
  @apply fixed inset-0 z-50 flex;
@@ -3021,6 +3069,9 @@
3021
3069
  .wc-drawer-footer {
3022
3070
  @apply flex flex-wrap justify-end gap-2 border-t border-line px-5 py-3;
3023
3071
  }
3072
+ .wc-drawer-title:is(.wc-drawer-hide-title, .wc-drawer-hide-title *) {
3073
+ @apply sr-only;
3074
+ }
3024
3075
  .wc-drawer-positioner:not(.wc-drawer-left, .wc-drawer-left *, .wc-drawer-bottom, .wc-drawer-bottom *, .wc-drawer-top, .wc-drawer-top *) {
3025
3076
  @apply justify-end;
3026
3077
  }
@@ -4032,25 +4083,25 @@
4032
4083
  @apply size-3.5;
4033
4084
  }
4034
4085
  .wc-icon-button:is(.wc-icon-button-sm, .wc-icon-button-sm *) {
4035
- @apply size-8;
4086
+ @apply size-[var(--wc-control-h-sm,2rem)];
4036
4087
  }
4037
4088
  .wc-icon-button-icon:is(.wc-icon-button-sm, .wc-icon-button-sm *) {
4038
4089
  @apply size-3.5;
4039
4090
  }
4040
4091
  .wc-icon-button:not(.wc-icon-button-xs, .wc-icon-button-xs *, .wc-icon-button-sm, .wc-icon-button-sm *, .wc-icon-button-lg, .wc-icon-button-lg *) {
4041
- @apply size-10;
4092
+ @apply size-[var(--wc-control-h-md,2.5rem)];
4042
4093
  }
4043
4094
  .wc-icon-button-icon:not(.wc-icon-button-xs, .wc-icon-button-xs *, .wc-icon-button-sm, .wc-icon-button-sm *, .wc-icon-button-lg, .wc-icon-button-lg *) {
4044
4095
  @apply size-[18px];
4045
4096
  }
4046
4097
  .wc-icon-button:is(.wc-icon-button-lg, .wc-icon-button-lg *) {
4047
- @apply size-12;
4098
+ @apply size-[var(--wc-control-h-lg,3rem)];
4048
4099
  }
4049
4100
  .wc-icon-button-icon:is(.wc-icon-button-lg, .wc-icon-button-lg *) {
4050
4101
  @apply size-5;
4051
4102
  }
4052
4103
  .wc-icon-button:is(.wc-icon-button-rounded, .wc-icon-button-rounded *) {
4053
- @apply rounded-lg;
4104
+ @apply rounded-[var(--wc-button-radius,0.5rem)];
4054
4105
  }
4055
4106
  .wc-icon-button:is(.wc-icon-button-square, .wc-icon-button-square *) {
4056
4107
  @apply rounded-none;
@@ -4287,10 +4338,10 @@
4287
4338
  @apply size-3.5;
4288
4339
  }
4289
4340
  .wc-input:is(.wc-input-sm, .wc-input-sm *) {
4290
- @apply h-8 rounded-md;
4341
+ @apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)];
4291
4342
  }
4292
4343
  .wc-input-control:is(.wc-input-sm, .wc-input-sm *) {
4293
- @apply px-2.5 text-[13px];
4344
+ @apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
4294
4345
  }
4295
4346
  .wc-input-icon:is(.wc-input-sm, .wc-input-sm *) {
4296
4347
  @apply ms-2.5 size-3.5;
@@ -4305,10 +4356,10 @@
4305
4356
  @apply me-1 size-6;
4306
4357
  }
4307
4358
  .wc-input:not(.wc-input-sm, .wc-input-sm *, .wc-input-lg, .wc-input-lg *) {
4308
- @apply h-10 rounded-lg;
4359
+ @apply h-[var(--wc-control-h-md,2.5rem)] rounded-[var(--wc-control-radius-md,0.5rem)];
4309
4360
  }
4310
4361
  .wc-input-control:not(.wc-input-sm, .wc-input-sm *, .wc-input-lg, .wc-input-lg *) {
4311
- @apply px-3 text-[15px];
4362
+ @apply px-3 text-[length:var(--wc-control-text-md,15px)];
4312
4363
  }
4313
4364
  .wc-input-icon:not(.wc-input-sm, .wc-input-sm *, .wc-input-lg, .wc-input-lg *) {
4314
4365
  @apply ms-3 size-4;
@@ -4323,10 +4374,10 @@
4323
4374
  @apply me-1.5 size-6;
4324
4375
  }
4325
4376
  .wc-input:is(.wc-input-lg, .wc-input-lg *) {
4326
- @apply h-12 rounded-[10px];
4377
+ @apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)];
4327
4378
  }
4328
4379
  .wc-input-control:is(.wc-input-lg, .wc-input-lg *) {
4329
- @apply px-4 text-base;
4380
+ @apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
4330
4381
  }
4331
4382
  .wc-input-icon:is(.wc-input-lg, .wc-input-lg *) {
4332
4383
  @apply ms-4 size-[18px];
@@ -4358,6 +4409,9 @@
4358
4409
  .wc-input-control:is(.wc-input-has-status-icon, .wc-input-has-status-icon *) {
4359
4410
  @apply pe-2;
4360
4411
  }
4412
+ .wc-input-control:is(.wc-input-mono, .wc-input-mono *) {
4413
+ @apply font-mono;
4414
+ }
4361
4415
 
4362
4416
  /* input-group */
4363
4417
  .wc-input-group {
@@ -5185,7 +5239,7 @@
5185
5239
  @apply flex w-full flex-col;
5186
5240
  }
5187
5241
  .wc-multi-select-trigger {
5188
- @apply flex h-10 w-full cursor-pointer items-center justify-between gap-2.5 rounded-lg border border-line-strong bg-bg pe-2.5 ps-3 text-start text-[15px] text-fg outline-none transition-colors motion-reduce:transition-none focus-visible:border-primary data-[state=open]:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted;
5242
+ @apply flex h-[var(--wc-control-h-md,2.5rem)] w-full cursor-pointer items-center justify-between gap-2.5 rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg pe-2.5 ps-3 text-start text-[length:var(--wc-control-text-md,15px)] text-fg outline-none transition-colors motion-reduce:transition-none focus-visible:border-primary data-[state=open]:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted;
5189
5243
  }
5190
5244
  .wc-multi-select-value {
5191
5245
  @apply min-w-0 truncate data-[placeholder-shown]:text-muted;
@@ -5221,10 +5275,10 @@
5221
5275
  @apply relative flex;
5222
5276
  }
5223
5277
  .wc-multi-select-chips-control {
5224
- @apply relative flex min-h-10 w-full flex-wrap items-center gap-1 rounded-lg border border-line-strong bg-bg py-[5px] pe-2.5 ps-1.5 text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-[state=open]:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted;
5278
+ @apply relative flex min-h-[var(--wc-control-h-md,2.5rem)] w-full flex-wrap items-center gap-1 rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg py-[5px] pe-2.5 ps-1.5 text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-[state=open]:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted;
5225
5279
  }
5226
5280
  .wc-multi-select-chips-trigger {
5227
- @apply flex h-7 min-w-16 flex-1 cursor-pointer items-center justify-between gap-2.5 ps-1.5 text-start text-[15px] text-fg outline-none data-disabled:cursor-not-allowed data-disabled:text-muted;
5281
+ @apply flex h-7 min-w-16 flex-1 cursor-pointer items-center justify-between gap-2.5 ps-1.5 text-start text-[length:var(--wc-control-text-md,15px)] text-fg outline-none data-disabled:cursor-not-allowed data-disabled:text-muted;
5228
5282
  }
5229
5283
  .wc-multi-select-chip {
5230
5284
  @apply inline-flex h-7 max-w-full min-w-0 items-center gap-1 rounded-md bg-line pe-0.5 ps-2 text-sm text-fg;
@@ -5293,22 +5347,22 @@
5293
5347
  @apply flex flex-col outline-none;
5294
5348
  }
5295
5349
  .wc-multi-select-trigger:is(.wc-multi-select-sm, .wc-multi-select-sm *) {
5296
- @apply h-8 rounded-md ps-2.5 pe-2 text-[13px];
5350
+ @apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] ps-2.5 pe-2 text-[length:var(--wc-control-text-sm,13px)];
5297
5351
  }
5298
5352
  .wc-multi-select-chips-control:is(.wc-multi-select-sm, .wc-multi-select-sm *) {
5299
- @apply min-h-8 rounded-md py-0.5;
5353
+ @apply min-h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] py-0.5;
5300
5354
  }
5301
5355
  .wc-multi-select-chips-trigger:is(.wc-multi-select-sm, .wc-multi-select-sm *) {
5302
- @apply text-[13px];
5356
+ @apply text-[length:var(--wc-control-text-sm,13px)];
5303
5357
  }
5304
5358
  .wc-multi-select-trigger:is(.wc-multi-select-lg, .wc-multi-select-lg *) {
5305
- @apply h-12 rounded-[10px] ps-4 pe-3 text-base;
5359
+ @apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)] ps-4 pe-3 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
5306
5360
  }
5307
5361
  .wc-multi-select-chips-control:is(.wc-multi-select-lg, .wc-multi-select-lg *) {
5308
- @apply min-h-12 rounded-[10px] py-[9px];
5362
+ @apply min-h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)] py-[9px];
5309
5363
  }
5310
5364
  .wc-multi-select-chips-trigger:is(.wc-multi-select-lg, .wc-multi-select-lg *) {
5311
- @apply text-base;
5365
+ @apply text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
5312
5366
  }
5313
5367
  .wc-multi-select-indicator:is(.wc-multi-select-clearable, .wc-multi-select-clearable *) {
5314
5368
  @apply ms-7;
@@ -5319,16 +5373,16 @@
5319
5373
  @apply relative flex w-full;
5320
5374
  }
5321
5375
  .wc-native-select-select {
5322
- @apply h-10 w-full cursor-pointer appearance-none rounded-lg border border-line-strong bg-bg pe-9 ps-3 text-[15px] text-fg outline-none transition-colors focus:border-primary motion-reduce:transition-none aria-[invalid=true]:border-danger disabled:cursor-not-allowed disabled:border-line disabled:bg-bg-2 disabled:text-muted;
5376
+ @apply h-[var(--wc-control-h-md,2.5rem)] w-full cursor-pointer appearance-none rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg pe-9 ps-3 text-[length:var(--wc-control-text-md,15px)] text-fg outline-none transition-colors focus:border-primary motion-reduce:transition-none aria-[invalid=true]:border-danger disabled:cursor-not-allowed disabled:border-line disabled:bg-bg-2 disabled:text-muted;
5323
5377
  }
5324
5378
  .wc-native-select-icon {
5325
5379
  @apply pointer-events-none absolute top-1/2 inset-e-3 size-4 -translate-y-1/2 text-muted;
5326
5380
  }
5327
5381
  .wc-native-select-select:is(.wc-native-select-sm, .wc-native-select-sm *) {
5328
- @apply h-8 rounded-md ps-2.5 text-[13px];
5382
+ @apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] ps-2.5 text-[length:var(--wc-control-text-sm,13px)];
5329
5383
  }
5330
5384
  .wc-native-select-select:is(.wc-native-select-lg, .wc-native-select-lg *) {
5331
- @apply h-12 rounded-[10px] ps-4 text-base;
5385
+ @apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)] ps-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
5332
5386
  }
5333
5387
 
5334
5388
  /* navigation-menu */
@@ -5467,10 +5521,10 @@
5467
5521
  @apply flex w-full flex-col;
5468
5522
  }
5469
5523
  .wc-number-input-control {
5470
- @apply flex w-full items-stretch overflow-hidden rounded-lg border border-line-strong bg-bg text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted h-10;
5524
+ @apply flex w-full items-stretch overflow-hidden rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted h-[var(--wc-control-h-md,2.5rem)];
5471
5525
  }
5472
5526
  .wc-number-input-input {
5473
- @apply h-full min-w-0 flex-1 bg-transparent px-3 text-[15px] text-inherit outline-none placeholder:text-muted disabled:cursor-not-allowed tabular-nums;
5527
+ @apply h-full min-w-0 flex-1 bg-transparent px-3 text-[length:var(--wc-control-text-md,15px)] text-inherit outline-none placeholder:text-muted disabled:cursor-not-allowed tabular-nums;
5474
5528
  }
5475
5529
  .wc-number-input-button {
5476
5530
  @apply flex w-9 shrink-0 cursor-pointer items-center justify-center border-s border-line-strong text-muted transition-colors hover:bg-line hover:text-fg motion-reduce:transition-none disabled:cursor-not-allowed disabled:opacity-40;
@@ -5500,19 +5554,19 @@
5500
5554
  @apply pointer-events-none me-3 size-4 shrink-0 self-center text-success;
5501
5555
  }
5502
5556
  .wc-number-input-control:is(.wc-number-input-sm, .wc-number-input-sm *) {
5503
- @apply h-8 rounded-md;
5557
+ @apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)];
5504
5558
  }
5505
5559
  .wc-number-input-input:is(.wc-number-input-sm, .wc-number-input-sm *) {
5506
- @apply px-2.5 text-[13px];
5560
+ @apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
5507
5561
  }
5508
5562
  .wc-number-input-button:is(.wc-number-input-sm, .wc-number-input-sm *) {
5509
5563
  @apply w-8;
5510
5564
  }
5511
5565
  .wc-number-input-control:is(.wc-number-input-lg, .wc-number-input-lg *) {
5512
- @apply h-12 rounded-[10px];
5566
+ @apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)];
5513
5567
  }
5514
5568
  .wc-number-input-input:is(.wc-number-input-lg, .wc-number-input-lg *) {
5515
- @apply px-4 text-base;
5569
+ @apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
5516
5570
  }
5517
5571
  .wc-number-input-button:is(.wc-number-input-lg, .wc-number-input-lg *) {
5518
5572
  @apply w-11;
@@ -5750,10 +5804,10 @@
5750
5804
  @apply flex w-full flex-col;
5751
5805
  }
5752
5806
  .wc-password-input-control {
5753
- @apply flex w-full items-stretch overflow-hidden rounded-lg border border-line-strong bg-bg text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted h-10;
5807
+ @apply flex w-full items-stretch overflow-hidden rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg text-fg transition-colors motion-reduce:transition-none focus-within:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted h-[var(--wc-control-h-md,2.5rem)];
5754
5808
  }
5755
5809
  .wc-password-input-input {
5756
- @apply h-full min-w-0 flex-1 bg-transparent px-3 text-[15px] text-inherit outline-none placeholder:text-muted disabled:cursor-not-allowed;
5810
+ @apply h-full min-w-0 flex-1 bg-transparent px-3 text-[length:var(--wc-control-text-md,15px)] text-inherit outline-none placeholder:text-muted disabled:cursor-not-allowed;
5757
5811
  }
5758
5812
  .wc-password-input-toggle {
5759
5813
  @apply flex w-10 shrink-0 cursor-pointer items-center justify-center text-muted transition-colors hover:text-fg motion-reduce:transition-none focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-fg disabled:cursor-not-allowed disabled:opacity-40;
@@ -5798,19 +5852,19 @@
5798
5852
  @apply pointer-events-none me-3 size-4 shrink-0 self-center text-success;
5799
5853
  }
5800
5854
  .wc-password-input-control:is(.wc-password-input-sm, .wc-password-input-sm *) {
5801
- @apply h-8 rounded-md;
5855
+ @apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)];
5802
5856
  }
5803
5857
  .wc-password-input-input:is(.wc-password-input-sm, .wc-password-input-sm *) {
5804
- @apply px-2.5 text-[13px];
5858
+ @apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
5805
5859
  }
5806
5860
  .wc-password-input-toggle:is(.wc-password-input-sm, .wc-password-input-sm *) {
5807
5861
  @apply w-8;
5808
5862
  }
5809
5863
  .wc-password-input-control:is(.wc-password-input-lg, .wc-password-input-lg *) {
5810
- @apply h-12 rounded-[10px];
5864
+ @apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)];
5811
5865
  }
5812
5866
  .wc-password-input-input:is(.wc-password-input-lg, .wc-password-input-lg *) {
5813
- @apply px-4 text-base;
5867
+ @apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
5814
5868
  }
5815
5869
  .wc-password-input-toggle:is(.wc-password-input-lg, .wc-password-input-lg *) {
5816
5870
  @apply w-12;
@@ -5818,6 +5872,9 @@
5818
5872
  .wc-password-input-control:is(.wc-password-input-success, .wc-password-input-success *) {
5819
5873
  @apply border-success focus-within:border-success;
5820
5874
  }
5875
+ .wc-password-input-input:is(.wc-password-input-mono, .wc-password-input-mono *) {
5876
+ @apply font-mono;
5877
+ }
5821
5878
 
5822
5879
  /* pdf-viewer */
5823
5880
  .wc-pdf-viewer {
@@ -6081,6 +6138,30 @@
6081
6138
  .wc-progress-legend-value {
6082
6139
  @apply text-muted tabular-nums;
6083
6140
  }
6141
+ .wc-progress-bar-text {
6142
+ @apply pointer-events-none absolute inset-0 flex items-center justify-center overflow-hidden px-1.5 font-mono text-[10.5px] leading-none whitespace-nowrap text-fg tabular-nums;
6143
+ }
6144
+ .wc-progress-bar-text-fill {
6145
+ @apply pointer-events-none absolute inset-y-0 start-0 flex w-[100cqw] items-center justify-center px-1.5 font-mono text-[10.5px] leading-none whitespace-nowrap text-on-primary tabular-nums forced-colors:text-[HighlightText];
6146
+ }
6147
+ .wc-progress:is(.wc-progress-xs, .wc-progress-xs *) {
6148
+ @apply gap-1;
6149
+ }
6150
+ .wc-progress-header:is(.wc-progress-xs, .wc-progress-xs *) {
6151
+ @apply text-[10px];
6152
+ }
6153
+ .wc-progress-track:is(.wc-progress-xs, .wc-progress-xs *) {
6154
+ @apply h-1;
6155
+ }
6156
+ .wc-progress-header:is(.wc-progress-hide-label, .wc-progress-hide-label *) {
6157
+ @apply justify-end;
6158
+ }
6159
+ .wc-progress-track:is(.wc-progress-has-text, .wc-progress-has-text *) {
6160
+ @apply relative @container h-4;
6161
+ }
6162
+ .wc-progress-range:is(.wc-progress-has-text, .wc-progress-has-text *) {
6163
+ @apply relative overflow-hidden;
6164
+ }
6084
6165
  .wc-progress:is(.wc-progress-vertical, .wc-progress-vertical *) {
6085
6166
  @apply h-full w-auto items-center;
6086
6167
  }
@@ -6126,30 +6207,75 @@
6126
6207
  .wc-progress-swatch:is(.wc-progress-info, .wc-progress-info *) {
6127
6208
  @apply bg-info;
6128
6209
  }
6210
+ .wc-progress-range:is(.wc-progress-info, .wc-progress-info *) {
6211
+ @apply bg-info;
6212
+ }
6213
+ .wc-progress-step:is(.wc-progress-info, .wc-progress-info *) {
6214
+ @apply data-[state=complete]:bg-info;
6215
+ }
6216
+ .wc-progress-bar-text-fill:is(.wc-progress-info, .wc-progress-info *) {
6217
+ @apply text-on-info;
6218
+ }
6129
6219
  .wc-progress-segment:is(.wc-progress-success, .wc-progress-success *) {
6130
6220
  @apply bg-success;
6131
6221
  }
6132
6222
  .wc-progress-swatch:is(.wc-progress-success, .wc-progress-success *) {
6133
6223
  @apply bg-success;
6134
6224
  }
6225
+ .wc-progress-range:is(.wc-progress-success, .wc-progress-success *) {
6226
+ @apply bg-success;
6227
+ }
6228
+ .wc-progress-step:is(.wc-progress-success, .wc-progress-success *) {
6229
+ @apply data-[state=complete]:bg-success;
6230
+ }
6231
+ .wc-progress-bar-text-fill:is(.wc-progress-success, .wc-progress-success *) {
6232
+ @apply text-on-success;
6233
+ }
6135
6234
  .wc-progress-segment:is(.wc-progress-warn, .wc-progress-warn *) {
6136
6235
  @apply bg-warn;
6137
6236
  }
6138
6237
  .wc-progress-swatch:is(.wc-progress-warn, .wc-progress-warn *) {
6139
6238
  @apply bg-warn;
6140
6239
  }
6240
+ .wc-progress-range:is(.wc-progress-warn, .wc-progress-warn *) {
6241
+ @apply bg-warn;
6242
+ }
6243
+ .wc-progress-step:is(.wc-progress-warn, .wc-progress-warn *) {
6244
+ @apply data-[state=complete]:bg-warn;
6245
+ }
6246
+ .wc-progress-bar-text-fill:is(.wc-progress-warn, .wc-progress-warn *) {
6247
+ @apply text-on-warn;
6248
+ }
6141
6249
  .wc-progress-segment:is(.wc-progress-danger, .wc-progress-danger *) {
6142
6250
  @apply bg-danger;
6143
6251
  }
6144
6252
  .wc-progress-swatch:is(.wc-progress-danger, .wc-progress-danger *) {
6145
6253
  @apply bg-danger;
6146
6254
  }
6255
+ .wc-progress-range:is(.wc-progress-danger, .wc-progress-danger *) {
6256
+ @apply bg-danger;
6257
+ }
6258
+ .wc-progress-step:is(.wc-progress-danger, .wc-progress-danger *) {
6259
+ @apply data-[state=complete]:bg-danger;
6260
+ }
6261
+ .wc-progress-bar-text-fill:is(.wc-progress-danger, .wc-progress-danger *) {
6262
+ @apply text-on-danger;
6263
+ }
6147
6264
  .wc-progress-segment:is(.wc-progress-muted, .wc-progress-muted *) {
6148
6265
  @apply bg-muted;
6149
6266
  }
6150
6267
  .wc-progress-swatch:is(.wc-progress-muted, .wc-progress-muted *) {
6151
6268
  @apply bg-muted;
6152
6269
  }
6270
+ .wc-progress-track:is(.wc-progress-xs, .wc-progress-xs *):is(.wc-progress-has-text, .wc-progress-has-text *) {
6271
+ @apply h-3.5;
6272
+ }
6273
+ .wc-progress-bar-text:is(.wc-progress-xs, .wc-progress-xs *):is(.wc-progress-has-text, .wc-progress-has-text *) {
6274
+ @apply text-[10px];
6275
+ }
6276
+ .wc-progress-bar-text-fill:is(.wc-progress-xs, .wc-progress-xs *):is(.wc-progress-has-text, .wc-progress-has-text *) {
6277
+ @apply text-[10px];
6278
+ }
6153
6279
 
6154
6280
  /* progress-circle */
6155
6281
  .wc-progress-circle {
@@ -6977,7 +7103,7 @@
6977
7103
  @apply flex w-full flex-col;
6978
7104
  }
6979
7105
  .wc-select-trigger {
6980
- @apply flex h-10 w-full cursor-pointer items-center justify-between gap-2.5 rounded-lg border border-line-strong bg-bg pe-2.5 ps-3 text-start text-[15px] text-fg outline-none transition-colors motion-reduce:transition-none focus-visible:border-primary data-[state=open]:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted;
7106
+ @apply flex h-[var(--wc-control-h-md,2.5rem)] w-full cursor-pointer items-center justify-between gap-2.5 rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg pe-2.5 ps-3 text-start text-[length:var(--wc-control-text-md,15px)] text-fg outline-none transition-colors motion-reduce:transition-none focus-visible:border-primary data-[state=open]:border-primary data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted;
6981
7107
  }
6982
7108
  .wc-select-value {
6983
7109
  @apply flex min-w-0 items-center gap-2 truncate;
@@ -7052,10 +7178,10 @@
7052
7178
  @apply flex flex-col outline-none;
7053
7179
  }
7054
7180
  .wc-select-trigger:is(.wc-select-sm, .wc-select-sm *) {
7055
- @apply h-8 rounded-md ps-2.5 pe-2 text-[13px];
7181
+ @apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] ps-2.5 pe-2 text-[length:var(--wc-control-text-sm,13px)];
7056
7182
  }
7057
7183
  .wc-select-trigger:is(.wc-select-lg, .wc-select-lg *) {
7058
- @apply h-12 rounded-[10px] ps-4 pe-3 text-base;
7184
+ @apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)] ps-4 pe-3 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
7059
7185
  }
7060
7186
  .wc-select-indicator:is(.wc-select-clearable, .wc-select-clearable *) {
7061
7187
  @apply ms-7;
@@ -7386,6 +7512,15 @@
7386
7512
  .wc-slider-control:is(.wc-slider-with-marks, .wc-slider-with-marks *) {
7387
7513
  @apply mb-6 data-[orientation=vertical]:mb-0 data-[orientation=vertical]:me-14;
7388
7514
  }
7515
+ .wc-slider-header:is(.wc-slider-hide-label, .wc-slider-hide-label *) {
7516
+ @apply justify-end;
7517
+ }
7518
+ .wc-slider-label:is(.wc-slider-hide-label, .wc-slider-hide-label *) {
7519
+ @apply sr-only;
7520
+ }
7521
+ .wc-slider-header:is(.wc-slider-hide-header, .wc-slider-hide-header *) {
7522
+ @apply sr-only;
7523
+ }
7389
7524
 
7390
7525
  /* sortable */
7391
7526
  .wc-sortable {
@@ -7919,7 +8054,7 @@
7919
8054
  @apply relative flex w-full flex-col;
7920
8055
  }
7921
8056
  .wc-tags-input-control {
7922
- @apply flex min-h-10 w-full flex-wrap items-center gap-1.5 rounded-lg border border-line-strong bg-bg px-2 py-1.5 text-fg transition-colors focus-within:border-primary motion-reduce:transition-none data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2;
8057
+ @apply flex min-h-[var(--wc-control-h-md,2.5rem)] w-full flex-wrap items-center gap-1.5 rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg px-2 py-1.5 text-fg transition-colors focus-within:border-primary motion-reduce:transition-none data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2;
7923
8058
  }
7924
8059
  .wc-tags-input-item {
7925
8060
  @apply inline-flex;
@@ -7937,7 +8072,7 @@
7937
8072
  @apply h-7 rounded-md border border-primary bg-bg px-2 text-sm outline-none;
7938
8073
  }
7939
8074
  .wc-tags-input-input {
7940
- @apply h-7 min-w-24 flex-1 bg-transparent px-1 text-[15px] outline-none placeholder:text-muted;
8075
+ @apply h-7 min-w-24 flex-1 bg-transparent px-1 text-[length:var(--wc-control-text-md,15px)] outline-none placeholder:text-muted;
7941
8076
  }
7942
8077
  .wc-tags-input-clear {
7943
8078
  @apply ms-auto flex size-7 cursor-pointer items-center justify-center rounded-full text-muted hover:text-fg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-fg;
@@ -7984,16 +8119,16 @@
7984
8119
 
7985
8120
  /* textarea */
7986
8121
  .wc-textarea {
7987
- @apply block w-full resize-y rounded-lg border border-line-strong bg-bg px-3 py-[9px] text-[15px] leading-normal text-fg outline-none transition-colors placeholder:text-muted focus:border-primary motion-reduce:transition-none;
8122
+ @apply block w-full resize-y rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg px-3 py-[9px] text-[length:var(--wc-control-text-md,15px)] leading-normal text-fg outline-none transition-colors placeholder:text-muted focus:border-primary motion-reduce:transition-none;
7988
8123
  }
7989
8124
  .wc-textarea:is(.wc-textarea-sm, .wc-textarea-sm *) {
7990
- @apply rounded-md px-2.5 py-1.5 text-[13px];
8125
+ @apply rounded-[var(--wc-control-radius-sm,0.375rem)] px-2.5 py-1.5 text-[length:var(--wc-control-text-sm,13px)];
7991
8126
  }
7992
8127
  .wc-textarea:is(.wc-textarea-md, .wc-textarea-md *) {
7993
- @apply rounded-lg px-3 py-[9px] text-[15px];
8128
+ @apply rounded-[var(--wc-control-radius-md,0.5rem)] px-3 py-[9px] text-[length:var(--wc-control-text-md,15px)];
7994
8129
  }
7995
8130
  .wc-textarea:is(.wc-textarea-lg, .wc-textarea-lg *) {
7996
- @apply rounded-[10px] px-4 py-3 text-base;
8131
+ @apply rounded-[var(--wc-control-radius-lg,10px)] px-4 py-3 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
7997
8132
  }
7998
8133
  .wc-textarea:is(.wc-textarea-invalid, .wc-textarea-invalid *) {
7999
8134
  @apply border-danger focus:border-danger;
@@ -8010,6 +8145,9 @@
8010
8145
  .wc-textarea:is(.wc-textarea-has-trailing, .wc-textarea-has-trailing *) {
8011
8146
  @apply pe-10;
8012
8147
  }
8148
+ .wc-textarea:is(.wc-textarea-mono, .wc-textarea-mono *) {
8149
+ @apply font-mono;
8150
+ }
8013
8151
 
8014
8152
  /* textarea-parts */
8015
8153
  .wc-textarea-parts {