@wirecore/wirelayer-css 0.5.0 → 0.7.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/README.md +8 -0
- package/bin/wirelayer-css.js +72 -0
- package/dist/components.css +140 -76
- package/dist/embed/base.css +3 -0
- package/dist/embed/components/accordion.css +1 -0
- package/dist/embed/components/action-bar.css +1 -0
- package/dist/embed/components/affix.css +1 -0
- package/dist/embed/components/ai-label.css +1 -0
- package/dist/embed/components/alert.css +1 -0
- package/dist/embed/components/angle-slider.css +1 -0
- package/dist/embed/components/app-shell.css +1 -0
- package/dist/embed/components/aspect-ratio.css +1 -0
- package/dist/embed/components/auth-form.css +1 -0
- package/dist/embed/components/auth-layout.css +1 -0
- package/dist/embed/components/avatar-group.css +1 -0
- package/dist/embed/components/avatar.css +1 -0
- package/dist/embed/components/badge.css +1 -0
- package/dist/embed/components/banner.css +1 -0
- package/dist/embed/components/bars-list.css +1 -0
- package/dist/embed/components/block-ui.css +1 -0
- package/dist/embed/components/bottom-navigation.css +1 -0
- package/dist/embed/components/breadcrumb.css +1 -0
- package/dist/embed/components/bullet-chart.css +1 -0
- package/dist/embed/components/button-group.css +1 -0
- package/dist/embed/components/button.css +1 -0
- package/dist/embed/components/card-parts.css +1 -0
- package/dist/embed/components/card.css +1 -0
- package/dist/embed/components/carousel.css +1 -0
- package/dist/embed/components/cascade-select.css +1 -0
- package/dist/embed/components/center.css +1 -0
- package/dist/embed/components/chart.css +1 -0
- package/dist/embed/components/chat-details.css +1 -0
- package/dist/embed/components/chat-message.css +1 -0
- package/dist/embed/components/chat-messages.css +1 -0
- package/dist/embed/components/chat-prompt.css +1 -0
- package/dist/embed/components/checkbox-group.css +1 -0
- package/dist/embed/components/checkbox.css +1 -0
- package/dist/embed/components/chip-group.css +1 -0
- package/dist/embed/components/chip.css +1 -0
- package/dist/embed/components/code-diff-line.css +1 -0
- package/dist/embed/components/code-highlight.css +1 -0
- package/dist/embed/components/code-tabs.css +1 -0
- package/dist/embed/components/collapse.css +1 -0
- package/dist/embed/components/color-picker.css +1 -0
- package/dist/embed/components/color-swatch-picker.css +1 -0
- package/dist/embed/components/combobox.css +1 -0
- package/dist/embed/components/command-palette.css +1 -0
- package/dist/embed/components/compare.css +1 -0
- package/dist/embed/components/condition-builder.css +1 -0
- package/dist/embed/components/config-provider.css +1 -0
- package/dist/embed/components/confirm-popup.css +1 -0
- package/dist/embed/components/container.css +1 -0
- package/dist/embed/components/copy-button.css +1 -0
- package/dist/embed/components/countdown.css +1 -0
- package/dist/embed/components/cta-section.css +1 -0
- package/dist/embed/components/data-list.css +1 -0
- package/dist/embed/components/data-table.css +1 -0
- package/dist/embed/components/data-view.css +1 -0
- package/dist/embed/components/date-picker.css +1 -0
- package/dist/embed/components/descriptions.css +1 -0
- package/dist/embed/components/dialog.css +1 -0
- package/dist/embed/components/divider.css +1 -0
- package/dist/embed/components/drawer.css +1 -0
- package/dist/embed/components/editor.css +1 -0
- package/dist/embed/components/emoji-picker.css +1 -0
- package/dist/embed/components/empty-state.css +1 -0
- package/dist/embed/components/field.css +1 -0
- package/dist/embed/components/fieldset.css +1 -0
- package/dist/embed/components/file-upload.css +1 -0
- package/dist/embed/components/filter-chips.css +1 -0
- package/dist/embed/components/filter-panel.css +1 -0
- package/dist/embed/components/floating-panel.css +1 -0
- package/dist/embed/components/form-error-summary.css +1 -0
- package/dist/embed/components/form-list.css +1 -0
- package/dist/embed/components/format-value.css +1 -0
- package/dist/embed/components/funnel.css +1 -0
- package/dist/embed/components/gallery.css +1 -0
- package/dist/embed/components/gantt.css +1 -0
- package/dist/embed/components/gauge.css +1 -0
- package/dist/embed/components/group.css +1 -0
- package/dist/embed/components/heatmap.css +1 -0
- package/dist/embed/components/highlight.css +1 -0
- package/dist/embed/components/hotkeys-dialog.css +1 -0
- package/dist/embed/components/hover-card.css +1 -0
- package/dist/embed/components/icon-button.css +1 -0
- package/dist/embed/components/image-cropper.css +1 -0
- package/dist/embed/components/image-preview.css +1 -0
- package/dist/embed/components/inline-code.css +1 -0
- package/dist/embed/components/inline-edit.css +1 -0
- package/dist/embed/components/inplace.css +1 -0
- package/dist/embed/components/input-group.css +1 -0
- package/dist/embed/components/input.css +1 -0
- package/dist/embed/components/json-input.css +1 -0
- package/dist/embed/components/json-viewer.css +1 -0
- package/dist/embed/components/kanban.css +1 -0
- package/dist/embed/components/kbd-group.css +1 -0
- package/dist/embed/components/kbd.css +1 -0
- package/dist/embed/components/key-value-editor.css +1 -0
- package/dist/embed/components/knob.css +1 -0
- package/dist/embed/components/listbox.css +1 -0
- package/dist/embed/components/live-announcer.css +1 -0
- package/dist/embed/components/log-viewer.css +1 -0
- package/dist/embed/components/marquee.css +1 -0
- package/dist/embed/components/masonry.css +1 -0
- package/dist/embed/components/mega-menu.css +1 -0
- package/dist/embed/components/mentions.css +1 -0
- package/dist/embed/components/menu.css +1 -0
- package/dist/embed/components/menubar.css +1 -0
- package/dist/embed/components/meter-group.css +1 -0
- package/dist/embed/components/mini-calendar.css +1 -0
- package/dist/embed/components/multi-select.css +1 -0
- package/dist/embed/components/native-select.css +1 -0
- package/dist/embed/components/navigation-menu.css +1 -0
- package/dist/embed/components/navigation-progress.css +1 -0
- package/dist/embed/components/notification-center.css +1 -0
- package/dist/embed/components/number-formatter.css +1 -0
- package/dist/embed/components/number-input.css +1 -0
- package/dist/embed/components/order-list.css +1 -0
- package/dist/embed/components/org-chart.css +1 -0
- package/dist/embed/components/overflow-list.css +1 -0
- package/dist/embed/components/overlay-badge.css +1 -0
- package/dist/embed/components/page-header.css +1 -0
- package/dist/embed/components/pagination.css +1 -0
- package/dist/embed/components/panel.css +1 -0
- package/dist/embed/components/password-input.css +1 -0
- package/dist/embed/components/pdf-viewer.css +1 -0
- package/dist/embed/components/persona.css +1 -0
- package/dist/embed/components/phone-input.css +1 -0
- package/dist/embed/components/pick-list.css +1 -0
- package/dist/embed/components/pin-input.css +1 -0
- package/dist/embed/components/popover.css +1 -0
- package/dist/embed/components/progress-circle.css +1 -0
- package/dist/embed/components/progress.css +1 -0
- package/dist/embed/components/prose.css +1 -0
- package/dist/embed/components/qr-code.css +1 -0
- package/dist/embed/components/radial-bar.css +1 -0
- package/dist/embed/components/radio-group.css +1 -0
- package/dist/embed/components/rating.css +1 -0
- package/dist/embed/components/result.css +1 -0
- package/dist/embed/components/ring-progress.css +1 -0
- package/dist/embed/components/sankey.css +1 -0
- package/dist/embed/components/save-status.css +1 -0
- package/dist/embed/components/scheduler.css +1 -0
- package/dist/embed/components/scroll-panel.css +1 -0
- package/dist/embed/components/scroll-top.css +1 -0
- package/dist/embed/components/scroller.css +1 -0
- package/dist/embed/components/search-field.css +1 -0
- package/dist/embed/components/segmented-control.css +1 -0
- package/dist/embed/components/select.css +1 -0
- package/dist/embed/components/selection-card.css +1 -0
- package/dist/embed/components/series-chart.css +1 -0
- package/dist/embed/components/session-timeout.css +1 -0
- package/dist/embed/components/sidebar-nav.css +1 -0
- package/dist/embed/components/signature-pad.css +1 -0
- package/dist/embed/components/simple-grid.css +1 -0
- package/dist/embed/components/site-header.css +1 -0
- package/dist/embed/components/skeleton.css +1 -0
- package/dist/embed/components/skip-links.css +1 -0
- package/dist/embed/components/slider.css +1 -0
- package/dist/embed/components/sortable.css +1 -0
- package/dist/embed/components/sparkline.css +1 -0
- package/dist/embed/components/speed-dial.css +1 -0
- package/dist/embed/components/spinner.css +1 -0
- package/dist/embed/components/split-button.css +1 -0
- package/dist/embed/components/splitter.css +1 -0
- package/dist/embed/components/spoiler.css +1 -0
- package/dist/embed/components/stack.css +1 -0
- package/dist/embed/components/statistic.css +1 -0
- package/dist/embed/components/status-dot.css +1 -0
- package/dist/embed/components/stepper.css +1 -0
- package/dist/embed/components/steps.css +1 -0
- package/dist/embed/components/sticky.css +1 -0
- package/dist/embed/components/switch.css +1 -0
- package/dist/embed/components/table-of-contents.css +1 -0
- package/dist/embed/components/tabs.css +1 -0
- package/dist/embed/components/tags-input.css +1 -0
- package/dist/embed/components/textarea-parts.css +1 -0
- package/dist/embed/components/textarea.css +1 -0
- package/dist/embed/components/time-grid.css +1 -0
- package/dist/embed/components/timeline.css +1 -0
- package/dist/embed/components/toast.css +1 -0
- package/dist/embed/components/toggle-button.css +1 -0
- package/dist/embed/components/toggletip.css +1 -0
- package/dist/embed/components/toolbar-region.css +1 -0
- package/dist/embed/components/toolbar.css +1 -0
- package/dist/embed/components/tooltip.css +1 -0
- package/dist/embed/components/top-bar.css +1 -0
- package/dist/embed/components/tour.css +1 -0
- package/dist/embed/components/tree-select.css +1 -0
- package/dist/embed/components/tree.css +1 -0
- package/dist/embed/components/treemap.css +1 -0
- package/dist/embed/components/truncate.css +1 -0
- package/dist/embed/components/virtual-list-box.css +1 -0
- package/dist/embed/components/visually-hidden.css +1 -0
- package/dist/embed/components/watermark.css +1 -0
- package/dist/embed/components/wizard.css +1 -0
- package/dist/embed/components.json +1 -0
- package/dist/embed/fonts.css +2 -0
- package/dist/embed/native-elements.css +1 -0
- package/dist/wirecore.css +1 -1
- package/llms-full.txt +52 -1
- package/llms.txt +1 -1
- package/package.json +8 -3
package/dist/components.css
CHANGED
|
@@ -844,25 +844,25 @@
|
|
|
844
844
|
@apply size-3;
|
|
845
845
|
}
|
|
846
846
|
.wc-button:is(.wc-button-sm, .wc-button-sm *) {
|
|
847
|
-
@apply h-
|
|
847
|
+
@apply h-[var(--wc-control-h-sm,2rem)] gap-1 px-3 text-[13px];
|
|
848
848
|
}
|
|
849
849
|
.wc-button-icon:is(.wc-button-sm, .wc-button-sm *) {
|
|
850
850
|
@apply size-3.5;
|
|
851
851
|
}
|
|
852
852
|
.wc-button:not(.wc-button-xs, .wc-button-xs *, .wc-button-sm, .wc-button-sm *, .wc-button-lg, .wc-button-lg *) {
|
|
853
|
-
@apply h-
|
|
853
|
+
@apply h-[var(--wc-control-h-md,2.5rem)] gap-1.5 px-4 text-sm;
|
|
854
854
|
}
|
|
855
855
|
.wc-button-icon:not(.wc-button-xs, .wc-button-xs *, .wc-button-sm, .wc-button-sm *, .wc-button-lg, .wc-button-lg *) {
|
|
856
856
|
@apply size-4;
|
|
857
857
|
}
|
|
858
858
|
.wc-button:is(.wc-button-lg, .wc-button-lg *) {
|
|
859
|
-
@apply h-
|
|
859
|
+
@apply h-[var(--wc-control-h-lg,3rem)] gap-2 px-5.5 text-[15px];
|
|
860
860
|
}
|
|
861
861
|
.wc-button-icon:is(.wc-button-lg, .wc-button-lg *) {
|
|
862
862
|
@apply size-[18px];
|
|
863
863
|
}
|
|
864
864
|
.wc-button:is(.wc-button-rounded, .wc-button-rounded *) {
|
|
865
|
-
@apply rounded-
|
|
865
|
+
@apply rounded-[var(--wc-button-radius,0.5rem)];
|
|
866
866
|
}
|
|
867
867
|
.wc-button:is(.wc-button-square, .wc-button-square *) {
|
|
868
868
|
@apply rounded-none;
|
|
@@ -1013,7 +1013,7 @@
|
|
|
1013
1013
|
|
|
1014
1014
|
/* card */
|
|
1015
1015
|
.wc-card {
|
|
1016
|
-
@apply flex flex-col gap-2.5 rounded-card border border-line bg-card p-
|
|
1016
|
+
@apply flex flex-col gap-2.5 rounded-card border border-line bg-card p-[var(--wc-card-p,1.5rem)];
|
|
1017
1017
|
}
|
|
1018
1018
|
.wc-card:is(.wc-card-interactive, .wc-card-interactive *) {
|
|
1019
1019
|
@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 +1064,9 @@
|
|
|
1064
1064
|
.wc-carousel-indicator-group {
|
|
1065
1065
|
@apply flex flex-1 flex-wrap items-center justify-center;
|
|
1066
1066
|
}
|
|
1067
|
+
.wc-carousel-stage {
|
|
1068
|
+
@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;
|
|
1069
|
+
}
|
|
1067
1070
|
.wc-carousel-indicator {
|
|
1068
1071
|
@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
1072
|
}
|
|
@@ -1076,6 +1079,12 @@
|
|
|
1076
1079
|
.wc-carousel-control:is(.wc-carousel-vertical, .wc-carousel-vertical *) {
|
|
1077
1080
|
@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
1081
|
}
|
|
1082
|
+
.wc-carousel-item-group:is(.wc-carousel-sides, .wc-carousel-sides *) {
|
|
1083
|
+
@apply min-w-0 flex-1;
|
|
1084
|
+
}
|
|
1085
|
+
.wc-carousel-stage:is(.wc-carousel-vertical, .wc-carousel-vertical *):is(.wc-carousel-sides, .wc-carousel-sides *) {
|
|
1086
|
+
@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;
|
|
1087
|
+
}
|
|
1079
1088
|
|
|
1080
1089
|
/* cascade-select */
|
|
1081
1090
|
.wc-cascade-select {
|
|
@@ -1655,10 +1664,10 @@
|
|
|
1655
1664
|
@apply flex w-full flex-col;
|
|
1656
1665
|
}
|
|
1657
1666
|
.wc-color-picker-control {
|
|
1658
|
-
@apply flex w-full items-stretch overflow-hidden rounded-
|
|
1667
|
+
@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
1668
|
}
|
|
1660
1669
|
.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;
|
|
1670
|
+
@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
1671
|
}
|
|
1663
1672
|
.wc-color-picker-swatch {
|
|
1664
1673
|
@apply size-5 shrink-0 rounded-md shadow-[inset_0_0_0_1px_rgba(0,0,0,.15)];
|
|
@@ -1782,10 +1791,10 @@
|
|
|
1782
1791
|
@apply flex w-full flex-col;
|
|
1783
1792
|
}
|
|
1784
1793
|
.wc-combobox-control {
|
|
1785
|
-
@apply flex w-full items-stretch overflow-hidden rounded-
|
|
1794
|
+
@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
1795
|
}
|
|
1787
1796
|
.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;
|
|
1797
|
+
@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
1798
|
}
|
|
1790
1799
|
.wc-combobox-clear {
|
|
1791
1800
|
@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 +1854,10 @@
|
|
|
1845
1854
|
@apply h-px shrink-0;
|
|
1846
1855
|
}
|
|
1847
1856
|
.wc-combobox-control:is(.wc-combobox-sm, .wc-combobox-sm *) {
|
|
1848
|
-
@apply h-
|
|
1857
|
+
@apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)];
|
|
1849
1858
|
}
|
|
1850
1859
|
.wc-combobox-input:is(.wc-combobox-sm, .wc-combobox-sm *) {
|
|
1851
|
-
@apply px-2.5 text-[13px];
|
|
1860
|
+
@apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
|
|
1852
1861
|
}
|
|
1853
1862
|
.wc-combobox-trigger:is(.wc-combobox-sm, .wc-combobox-sm *) {
|
|
1854
1863
|
@apply w-8;
|
|
@@ -1857,10 +1866,10 @@
|
|
|
1857
1866
|
@apply w-7;
|
|
1858
1867
|
}
|
|
1859
1868
|
.wc-combobox-control:is(.wc-combobox-lg, .wc-combobox-lg *) {
|
|
1860
|
-
@apply h-
|
|
1869
|
+
@apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)];
|
|
1861
1870
|
}
|
|
1862
1871
|
.wc-combobox-input:is(.wc-combobox-lg, .wc-combobox-lg *) {
|
|
1863
|
-
@apply px-4 text-
|
|
1872
|
+
@apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
|
|
1864
1873
|
}
|
|
1865
1874
|
.wc-combobox-trigger:is(.wc-combobox-lg, .wc-combobox-lg *) {
|
|
1866
1875
|
@apply w-11;
|
|
@@ -2463,6 +2472,18 @@
|
|
|
2463
2472
|
.wc-data-table-foot-cell:is(.wc-data-table-gridlines, .wc-data-table-gridlines *) {
|
|
2464
2473
|
@apply border-e border-line last:border-e-0;
|
|
2465
2474
|
}
|
|
2475
|
+
.wc-data-table-table:is(.wc-data-table-bordered, .wc-data-table-bordered *) {
|
|
2476
|
+
@apply border border-line;
|
|
2477
|
+
}
|
|
2478
|
+
.wc-data-table-footer:is(.wc-data-table-paginator-start, .wc-data-table-paginator-start *) {
|
|
2479
|
+
@apply justify-start;
|
|
2480
|
+
}
|
|
2481
|
+
.wc-data-table-footer:is(.wc-data-table-paginator-center, .wc-data-table-paginator-center *) {
|
|
2482
|
+
@apply justify-center;
|
|
2483
|
+
}
|
|
2484
|
+
.wc-data-table-footer:is(.wc-data-table-paginator-end, .wc-data-table-paginator-end *) {
|
|
2485
|
+
@apply justify-end;
|
|
2486
|
+
}
|
|
2466
2487
|
.wc-data-table-row:is(.wc-data-table-striped, .wc-data-table-striped *) {
|
|
2467
2488
|
@apply even:bg-bg-2/60;
|
|
2468
2489
|
}
|
|
@@ -2579,7 +2600,7 @@
|
|
|
2579
2600
|
@apply flex w-full flex-col;
|
|
2580
2601
|
}
|
|
2581
2602
|
.wc-date-picker-control {
|
|
2582
|
-
@apply flex w-full items-stretch overflow-hidden rounded-
|
|
2603
|
+
@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
2604
|
}
|
|
2584
2605
|
.wc-date-picker-date-input {
|
|
2585
2606
|
@apply relative flex min-w-0 flex-1 items-center px-3;
|
|
@@ -2588,10 +2609,10 @@
|
|
|
2588
2609
|
@apply flex min-w-0 items-center data-placeholder-shown:opacity-0;
|
|
2589
2610
|
}
|
|
2590
2611
|
.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;
|
|
2612
|
+
@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
2613
|
}
|
|
2593
2614
|
.wc-date-picker-segments {
|
|
2594
|
-
@apply flex items-center text-[15px];
|
|
2615
|
+
@apply flex items-center text-[length:var(--wc-control-text-md,15px)];
|
|
2595
2616
|
}
|
|
2596
2617
|
.wc-date-picker-segment {
|
|
2597
2618
|
@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 +2708,7 @@
|
|
|
2687
2708
|
@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
2709
|
}
|
|
2689
2710
|
.wc-date-picker-multi-value {
|
|
2690
|
-
@apply min-w-0 flex-1 truncate px-3 text-[15px] data-placeholder:text-muted;
|
|
2711
|
+
@apply min-w-0 flex-1 truncate px-3 text-[length:var(--wc-control-text-md,15px)] data-placeholder:text-muted;
|
|
2691
2712
|
}
|
|
2692
2713
|
.wc-date-picker-time-zone {
|
|
2693
2714
|
@apply shrink-0 self-center pe-1 text-xs text-muted;
|
|
@@ -2699,7 +2720,7 @@
|
|
|
2699
2720
|
@apply fixed inset-0 z-40 bg-black/40 motion-safe:animate-fade-in;
|
|
2700
2721
|
}
|
|
2701
2722
|
.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;
|
|
2723
|
+
@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
2724
|
}
|
|
2704
2725
|
.wc-date-picker-year-label {
|
|
2705
2726
|
@apply text-sm font-semibold tabular-nums;
|
|
@@ -2708,28 +2729,28 @@
|
|
|
2708
2729
|
@apply grid grid-cols-2 gap-1;
|
|
2709
2730
|
}
|
|
2710
2731
|
.wc-date-picker-unit {
|
|
2711
|
-
@apply px-1 text-[15px] text-muted;
|
|
2732
|
+
@apply px-1 text-[length:var(--wc-control-text-md,15px)] text-muted;
|
|
2712
2733
|
}
|
|
2713
2734
|
.wc-date-picker-control:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
|
|
2714
|
-
@apply h-
|
|
2735
|
+
@apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)];
|
|
2715
2736
|
}
|
|
2716
2737
|
.wc-date-picker-date-input:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
|
|
2717
2738
|
@apply px-2.5;
|
|
2718
2739
|
}
|
|
2719
2740
|
.wc-date-picker-placeholder:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
|
|
2720
|
-
@apply px-2.5 text-[13px];
|
|
2741
|
+
@apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
|
|
2721
2742
|
}
|
|
2722
2743
|
.wc-date-picker-segments:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
|
|
2723
|
-
@apply text-[13px];
|
|
2744
|
+
@apply text-[length:var(--wc-control-text-sm,13px)];
|
|
2724
2745
|
}
|
|
2725
2746
|
.wc-date-picker-multi-value:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
|
|
2726
|
-
@apply px-2.5 text-[13px];
|
|
2747
|
+
@apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
|
|
2727
2748
|
}
|
|
2728
2749
|
.wc-date-picker-text-input:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
|
|
2729
|
-
@apply px-2.5 text-[13px];
|
|
2750
|
+
@apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
|
|
2730
2751
|
}
|
|
2731
2752
|
.wc-date-picker-unit:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
|
|
2732
|
-
@apply text-[13px];
|
|
2753
|
+
@apply text-[length:var(--wc-control-text-sm,13px)];
|
|
2733
2754
|
}
|
|
2734
2755
|
.wc-date-picker-trigger:is(.wc-date-picker-sm, .wc-date-picker-sm *) {
|
|
2735
2756
|
@apply w-8;
|
|
@@ -2738,25 +2759,25 @@
|
|
|
2738
2759
|
@apply w-7;
|
|
2739
2760
|
}
|
|
2740
2761
|
.wc-date-picker-control:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
|
|
2741
|
-
@apply h-
|
|
2762
|
+
@apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)];
|
|
2742
2763
|
}
|
|
2743
2764
|
.wc-date-picker-date-input:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
|
|
2744
2765
|
@apply px-4;
|
|
2745
2766
|
}
|
|
2746
2767
|
.wc-date-picker-placeholder:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
|
|
2747
|
-
@apply px-4 text-
|
|
2768
|
+
@apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
|
|
2748
2769
|
}
|
|
2749
2770
|
.wc-date-picker-segments:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
|
|
2750
|
-
@apply text-
|
|
2771
|
+
@apply text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
|
|
2751
2772
|
}
|
|
2752
2773
|
.wc-date-picker-multi-value:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
|
|
2753
|
-
@apply px-4 text-
|
|
2774
|
+
@apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
|
|
2754
2775
|
}
|
|
2755
2776
|
.wc-date-picker-text-input:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
|
|
2756
|
-
@apply px-4 text-
|
|
2777
|
+
@apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
|
|
2757
2778
|
}
|
|
2758
2779
|
.wc-date-picker-unit:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
|
|
2759
|
-
@apply text-
|
|
2780
|
+
@apply text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
|
|
2760
2781
|
}
|
|
2761
2782
|
.wc-date-picker-trigger:is(.wc-date-picker-lg, .wc-date-picker-lg *) {
|
|
2762
2783
|
@apply w-11;
|
|
@@ -2826,7 +2847,7 @@
|
|
|
2826
2847
|
|
|
2827
2848
|
/* dialog */
|
|
2828
2849
|
.wc-dialog-backdrop {
|
|
2829
|
-
@apply fixed inset-0 z-50 bg-
|
|
2850
|
+
@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
2851
|
}
|
|
2831
2852
|
.wc-dialog-positioner {
|
|
2832
2853
|
@apply fixed inset-0 z-50 flex items-center justify-center overflow-y-auto p-4;
|
|
@@ -2867,6 +2888,9 @@
|
|
|
2867
2888
|
.wc-dialog-maximize-icon {
|
|
2868
2889
|
@apply size-4;
|
|
2869
2890
|
}
|
|
2891
|
+
.wc-dialog-title:is(.wc-dialog-hide-title, .wc-dialog-hide-title *) {
|
|
2892
|
+
@apply sr-only;
|
|
2893
|
+
}
|
|
2870
2894
|
.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
2895
|
@apply bg-line text-fg;
|
|
2872
2896
|
}
|
|
@@ -2989,7 +3013,7 @@
|
|
|
2989
3013
|
|
|
2990
3014
|
/* drawer */
|
|
2991
3015
|
.wc-drawer-backdrop {
|
|
2992
|
-
@apply fixed inset-0 z-50 bg-
|
|
3016
|
+
@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
3017
|
}
|
|
2994
3018
|
.wc-drawer-positioner {
|
|
2995
3019
|
@apply fixed inset-0 z-50 flex;
|
|
@@ -3021,6 +3045,9 @@
|
|
|
3021
3045
|
.wc-drawer-footer {
|
|
3022
3046
|
@apply flex flex-wrap justify-end gap-2 border-t border-line px-5 py-3;
|
|
3023
3047
|
}
|
|
3048
|
+
.wc-drawer-title:is(.wc-drawer-hide-title, .wc-drawer-hide-title *) {
|
|
3049
|
+
@apply sr-only;
|
|
3050
|
+
}
|
|
3024
3051
|
.wc-drawer-positioner:not(.wc-drawer-left, .wc-drawer-left *, .wc-drawer-bottom, .wc-drawer-bottom *, .wc-drawer-top, .wc-drawer-top *) {
|
|
3025
3052
|
@apply justify-end;
|
|
3026
3053
|
}
|
|
@@ -4032,25 +4059,25 @@
|
|
|
4032
4059
|
@apply size-3.5;
|
|
4033
4060
|
}
|
|
4034
4061
|
.wc-icon-button:is(.wc-icon-button-sm, .wc-icon-button-sm *) {
|
|
4035
|
-
@apply size-
|
|
4062
|
+
@apply size-[var(--wc-control-h-sm,2rem)];
|
|
4036
4063
|
}
|
|
4037
4064
|
.wc-icon-button-icon:is(.wc-icon-button-sm, .wc-icon-button-sm *) {
|
|
4038
4065
|
@apply size-3.5;
|
|
4039
4066
|
}
|
|
4040
4067
|
.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-
|
|
4068
|
+
@apply size-[var(--wc-control-h-md,2.5rem)];
|
|
4042
4069
|
}
|
|
4043
4070
|
.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
4071
|
@apply size-[18px];
|
|
4045
4072
|
}
|
|
4046
4073
|
.wc-icon-button:is(.wc-icon-button-lg, .wc-icon-button-lg *) {
|
|
4047
|
-
@apply size-
|
|
4074
|
+
@apply size-[var(--wc-control-h-lg,3rem)];
|
|
4048
4075
|
}
|
|
4049
4076
|
.wc-icon-button-icon:is(.wc-icon-button-lg, .wc-icon-button-lg *) {
|
|
4050
4077
|
@apply size-5;
|
|
4051
4078
|
}
|
|
4052
4079
|
.wc-icon-button:is(.wc-icon-button-rounded, .wc-icon-button-rounded *) {
|
|
4053
|
-
@apply rounded-
|
|
4080
|
+
@apply rounded-[var(--wc-button-radius,0.5rem)];
|
|
4054
4081
|
}
|
|
4055
4082
|
.wc-icon-button:is(.wc-icon-button-square, .wc-icon-button-square *) {
|
|
4056
4083
|
@apply rounded-none;
|
|
@@ -4287,10 +4314,10 @@
|
|
|
4287
4314
|
@apply size-3.5;
|
|
4288
4315
|
}
|
|
4289
4316
|
.wc-input:is(.wc-input-sm, .wc-input-sm *) {
|
|
4290
|
-
@apply h-
|
|
4317
|
+
@apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)];
|
|
4291
4318
|
}
|
|
4292
4319
|
.wc-input-control:is(.wc-input-sm, .wc-input-sm *) {
|
|
4293
|
-
@apply px-2.5 text-[13px];
|
|
4320
|
+
@apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
|
|
4294
4321
|
}
|
|
4295
4322
|
.wc-input-icon:is(.wc-input-sm, .wc-input-sm *) {
|
|
4296
4323
|
@apply ms-2.5 size-3.5;
|
|
@@ -4305,10 +4332,10 @@
|
|
|
4305
4332
|
@apply me-1 size-6;
|
|
4306
4333
|
}
|
|
4307
4334
|
.wc-input:not(.wc-input-sm, .wc-input-sm *, .wc-input-lg, .wc-input-lg *) {
|
|
4308
|
-
@apply h-
|
|
4335
|
+
@apply h-[var(--wc-control-h-md,2.5rem)] rounded-[var(--wc-control-radius-md,0.5rem)];
|
|
4309
4336
|
}
|
|
4310
4337
|
.wc-input-control:not(.wc-input-sm, .wc-input-sm *, .wc-input-lg, .wc-input-lg *) {
|
|
4311
|
-
@apply px-3 text-[15px];
|
|
4338
|
+
@apply px-3 text-[length:var(--wc-control-text-md,15px)];
|
|
4312
4339
|
}
|
|
4313
4340
|
.wc-input-icon:not(.wc-input-sm, .wc-input-sm *, .wc-input-lg, .wc-input-lg *) {
|
|
4314
4341
|
@apply ms-3 size-4;
|
|
@@ -4323,10 +4350,10 @@
|
|
|
4323
4350
|
@apply me-1.5 size-6;
|
|
4324
4351
|
}
|
|
4325
4352
|
.wc-input:is(.wc-input-lg, .wc-input-lg *) {
|
|
4326
|
-
@apply h-
|
|
4353
|
+
@apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)];
|
|
4327
4354
|
}
|
|
4328
4355
|
.wc-input-control:is(.wc-input-lg, .wc-input-lg *) {
|
|
4329
|
-
@apply px-4 text-
|
|
4356
|
+
@apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
|
|
4330
4357
|
}
|
|
4331
4358
|
.wc-input-icon:is(.wc-input-lg, .wc-input-lg *) {
|
|
4332
4359
|
@apply ms-4 size-[18px];
|
|
@@ -5185,7 +5212,7 @@
|
|
|
5185
5212
|
@apply flex w-full flex-col;
|
|
5186
5213
|
}
|
|
5187
5214
|
.wc-multi-select-trigger {
|
|
5188
|
-
@apply flex h-
|
|
5215
|
+
@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
5216
|
}
|
|
5190
5217
|
.wc-multi-select-value {
|
|
5191
5218
|
@apply min-w-0 truncate data-[placeholder-shown]:text-muted;
|
|
@@ -5221,10 +5248,10 @@
|
|
|
5221
5248
|
@apply relative flex;
|
|
5222
5249
|
}
|
|
5223
5250
|
.wc-multi-select-chips-control {
|
|
5224
|
-
@apply relative flex min-h-
|
|
5251
|
+
@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
5252
|
}
|
|
5226
5253
|
.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;
|
|
5254
|
+
@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
5255
|
}
|
|
5229
5256
|
.wc-multi-select-chip {
|
|
5230
5257
|
@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 +5320,22 @@
|
|
|
5293
5320
|
@apply flex flex-col outline-none;
|
|
5294
5321
|
}
|
|
5295
5322
|
.wc-multi-select-trigger:is(.wc-multi-select-sm, .wc-multi-select-sm *) {
|
|
5296
|
-
@apply h-
|
|
5323
|
+
@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
5324
|
}
|
|
5298
5325
|
.wc-multi-select-chips-control:is(.wc-multi-select-sm, .wc-multi-select-sm *) {
|
|
5299
|
-
@apply min-h-
|
|
5326
|
+
@apply min-h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] py-0.5;
|
|
5300
5327
|
}
|
|
5301
5328
|
.wc-multi-select-chips-trigger:is(.wc-multi-select-sm, .wc-multi-select-sm *) {
|
|
5302
|
-
@apply text-[13px];
|
|
5329
|
+
@apply text-[length:var(--wc-control-text-sm,13px)];
|
|
5303
5330
|
}
|
|
5304
5331
|
.wc-multi-select-trigger:is(.wc-multi-select-lg, .wc-multi-select-lg *) {
|
|
5305
|
-
@apply h-
|
|
5332
|
+
@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
5333
|
}
|
|
5307
5334
|
.wc-multi-select-chips-control:is(.wc-multi-select-lg, .wc-multi-select-lg *) {
|
|
5308
|
-
@apply min-h-
|
|
5335
|
+
@apply min-h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)] py-[9px];
|
|
5309
5336
|
}
|
|
5310
5337
|
.wc-multi-select-chips-trigger:is(.wc-multi-select-lg, .wc-multi-select-lg *) {
|
|
5311
|
-
@apply text-
|
|
5338
|
+
@apply text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
|
|
5312
5339
|
}
|
|
5313
5340
|
.wc-multi-select-indicator:is(.wc-multi-select-clearable, .wc-multi-select-clearable *) {
|
|
5314
5341
|
@apply ms-7;
|
|
@@ -5319,16 +5346,16 @@
|
|
|
5319
5346
|
@apply relative flex w-full;
|
|
5320
5347
|
}
|
|
5321
5348
|
.wc-native-select-select {
|
|
5322
|
-
@apply h-
|
|
5349
|
+
@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
5350
|
}
|
|
5324
5351
|
.wc-native-select-icon {
|
|
5325
5352
|
@apply pointer-events-none absolute top-1/2 inset-e-3 size-4 -translate-y-1/2 text-muted;
|
|
5326
5353
|
}
|
|
5327
5354
|
.wc-native-select-select:is(.wc-native-select-sm, .wc-native-select-sm *) {
|
|
5328
|
-
@apply h-
|
|
5355
|
+
@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
5356
|
}
|
|
5330
5357
|
.wc-native-select-select:is(.wc-native-select-lg, .wc-native-select-lg *) {
|
|
5331
|
-
@apply h-
|
|
5358
|
+
@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
5359
|
}
|
|
5333
5360
|
|
|
5334
5361
|
/* navigation-menu */
|
|
@@ -5467,10 +5494,10 @@
|
|
|
5467
5494
|
@apply flex w-full flex-col;
|
|
5468
5495
|
}
|
|
5469
5496
|
.wc-number-input-control {
|
|
5470
|
-
@apply flex w-full items-stretch overflow-hidden rounded-
|
|
5497
|
+
@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
5498
|
}
|
|
5472
5499
|
.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;
|
|
5500
|
+
@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
5501
|
}
|
|
5475
5502
|
.wc-number-input-button {
|
|
5476
5503
|
@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 +5527,19 @@
|
|
|
5500
5527
|
@apply pointer-events-none me-3 size-4 shrink-0 self-center text-success;
|
|
5501
5528
|
}
|
|
5502
5529
|
.wc-number-input-control:is(.wc-number-input-sm, .wc-number-input-sm *) {
|
|
5503
|
-
@apply h-
|
|
5530
|
+
@apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)];
|
|
5504
5531
|
}
|
|
5505
5532
|
.wc-number-input-input:is(.wc-number-input-sm, .wc-number-input-sm *) {
|
|
5506
|
-
@apply px-2.5 text-[13px];
|
|
5533
|
+
@apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
|
|
5507
5534
|
}
|
|
5508
5535
|
.wc-number-input-button:is(.wc-number-input-sm, .wc-number-input-sm *) {
|
|
5509
5536
|
@apply w-8;
|
|
5510
5537
|
}
|
|
5511
5538
|
.wc-number-input-control:is(.wc-number-input-lg, .wc-number-input-lg *) {
|
|
5512
|
-
@apply h-
|
|
5539
|
+
@apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)];
|
|
5513
5540
|
}
|
|
5514
5541
|
.wc-number-input-input:is(.wc-number-input-lg, .wc-number-input-lg *) {
|
|
5515
|
-
@apply px-4 text-
|
|
5542
|
+
@apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
|
|
5516
5543
|
}
|
|
5517
5544
|
.wc-number-input-button:is(.wc-number-input-lg, .wc-number-input-lg *) {
|
|
5518
5545
|
@apply w-11;
|
|
@@ -5750,10 +5777,10 @@
|
|
|
5750
5777
|
@apply flex w-full flex-col;
|
|
5751
5778
|
}
|
|
5752
5779
|
.wc-password-input-control {
|
|
5753
|
-
@apply flex w-full items-stretch overflow-hidden rounded-
|
|
5780
|
+
@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
5781
|
}
|
|
5755
5782
|
.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;
|
|
5783
|
+
@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
5784
|
}
|
|
5758
5785
|
.wc-password-input-toggle {
|
|
5759
5786
|
@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 +5825,19 @@
|
|
|
5798
5825
|
@apply pointer-events-none me-3 size-4 shrink-0 self-center text-success;
|
|
5799
5826
|
}
|
|
5800
5827
|
.wc-password-input-control:is(.wc-password-input-sm, .wc-password-input-sm *) {
|
|
5801
|
-
@apply h-
|
|
5828
|
+
@apply h-[var(--wc-control-h-sm,2rem)] rounded-[var(--wc-control-radius-sm,0.375rem)];
|
|
5802
5829
|
}
|
|
5803
5830
|
.wc-password-input-input:is(.wc-password-input-sm, .wc-password-input-sm *) {
|
|
5804
|
-
@apply px-2.5 text-[13px];
|
|
5831
|
+
@apply px-2.5 text-[length:var(--wc-control-text-sm,13px)];
|
|
5805
5832
|
}
|
|
5806
5833
|
.wc-password-input-toggle:is(.wc-password-input-sm, .wc-password-input-sm *) {
|
|
5807
5834
|
@apply w-8;
|
|
5808
5835
|
}
|
|
5809
5836
|
.wc-password-input-control:is(.wc-password-input-lg, .wc-password-input-lg *) {
|
|
5810
|
-
@apply h-
|
|
5837
|
+
@apply h-[var(--wc-control-h-lg,3rem)] rounded-[var(--wc-control-radius-lg,10px)];
|
|
5811
5838
|
}
|
|
5812
5839
|
.wc-password-input-input:is(.wc-password-input-lg, .wc-password-input-lg *) {
|
|
5813
|
-
@apply px-4 text-
|
|
5840
|
+
@apply px-4 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
|
|
5814
5841
|
}
|
|
5815
5842
|
.wc-password-input-toggle:is(.wc-password-input-lg, .wc-password-input-lg *) {
|
|
5816
5843
|
@apply w-12;
|
|
@@ -6977,7 +7004,7 @@
|
|
|
6977
7004
|
@apply flex w-full flex-col;
|
|
6978
7005
|
}
|
|
6979
7006
|
.wc-select-trigger {
|
|
6980
|
-
@apply flex h-
|
|
7007
|
+
@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
7008
|
}
|
|
6982
7009
|
.wc-select-value {
|
|
6983
7010
|
@apply flex min-w-0 items-center gap-2 truncate;
|
|
@@ -7052,10 +7079,10 @@
|
|
|
7052
7079
|
@apply flex flex-col outline-none;
|
|
7053
7080
|
}
|
|
7054
7081
|
.wc-select-trigger:is(.wc-select-sm, .wc-select-sm *) {
|
|
7055
|
-
@apply h-
|
|
7082
|
+
@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
7083
|
}
|
|
7057
7084
|
.wc-select-trigger:is(.wc-select-lg, .wc-select-lg *) {
|
|
7058
|
-
@apply h-
|
|
7085
|
+
@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
7086
|
}
|
|
7060
7087
|
.wc-select-indicator:is(.wc-select-clearable, .wc-select-clearable *) {
|
|
7061
7088
|
@apply ms-7;
|
|
@@ -7386,6 +7413,15 @@
|
|
|
7386
7413
|
.wc-slider-control:is(.wc-slider-with-marks, .wc-slider-with-marks *) {
|
|
7387
7414
|
@apply mb-6 data-[orientation=vertical]:mb-0 data-[orientation=vertical]:me-14;
|
|
7388
7415
|
}
|
|
7416
|
+
.wc-slider-header:is(.wc-slider-hide-label, .wc-slider-hide-label *) {
|
|
7417
|
+
@apply justify-end;
|
|
7418
|
+
}
|
|
7419
|
+
.wc-slider-label:is(.wc-slider-hide-label, .wc-slider-hide-label *) {
|
|
7420
|
+
@apply sr-only;
|
|
7421
|
+
}
|
|
7422
|
+
.wc-slider-header:is(.wc-slider-hide-header, .wc-slider-hide-header *) {
|
|
7423
|
+
@apply sr-only;
|
|
7424
|
+
}
|
|
7389
7425
|
|
|
7390
7426
|
/* sortable */
|
|
7391
7427
|
.wc-sortable {
|
|
@@ -7919,7 +7955,7 @@
|
|
|
7919
7955
|
@apply relative flex w-full flex-col;
|
|
7920
7956
|
}
|
|
7921
7957
|
.wc-tags-input-control {
|
|
7922
|
-
@apply flex min-h-
|
|
7958
|
+
@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
7959
|
}
|
|
7924
7960
|
.wc-tags-input-item {
|
|
7925
7961
|
@apply inline-flex;
|
|
@@ -7937,7 +7973,7 @@
|
|
|
7937
7973
|
@apply h-7 rounded-md border border-primary bg-bg px-2 text-sm outline-none;
|
|
7938
7974
|
}
|
|
7939
7975
|
.wc-tags-input-input {
|
|
7940
|
-
@apply h-7 min-w-24 flex-1 bg-transparent px-1 text-[15px] outline-none placeholder:text-muted;
|
|
7976
|
+
@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
7977
|
}
|
|
7942
7978
|
.wc-tags-input-clear {
|
|
7943
7979
|
@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 +8020,16 @@
|
|
|
7984
8020
|
|
|
7985
8021
|
/* textarea */
|
|
7986
8022
|
.wc-textarea {
|
|
7987
|
-
@apply block w-full resize-y rounded-
|
|
8023
|
+
@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
8024
|
}
|
|
7989
8025
|
.wc-textarea:is(.wc-textarea-sm, .wc-textarea-sm *) {
|
|
7990
|
-
@apply rounded-
|
|
8026
|
+
@apply rounded-[var(--wc-control-radius-sm,0.375rem)] px-2.5 py-1.5 text-[length:var(--wc-control-text-sm,13px)];
|
|
7991
8027
|
}
|
|
7992
8028
|
.wc-textarea:is(.wc-textarea-md, .wc-textarea-md *) {
|
|
7993
|
-
@apply rounded-
|
|
8029
|
+
@apply rounded-[var(--wc-control-radius-md,0.5rem)] px-3 py-[9px] text-[length:var(--wc-control-text-md,15px)];
|
|
7994
8030
|
}
|
|
7995
8031
|
.wc-textarea:is(.wc-textarea-lg, .wc-textarea-lg *) {
|
|
7996
|
-
@apply rounded-[10px] px-4 py-3 text-
|
|
8032
|
+
@apply rounded-[var(--wc-control-radius-lg,10px)] px-4 py-3 text-[length:var(--wc-control-text-lg,1rem)] leading-normal;
|
|
7997
8033
|
}
|
|
7998
8034
|
.wc-textarea:is(.wc-textarea-invalid, .wc-textarea-invalid *) {
|
|
7999
8035
|
@apply border-danger focus:border-danger;
|
|
@@ -8600,6 +8636,7 @@
|
|
|
8600
8636
|
* Native HTML elements that work without JavaScript – not generated, they have no recipe.
|
|
8601
8637
|
* <dialog class="wc-dialog"> wraps .wc-dialog-content; open/close with invoker commands (command/commandfor);
|
|
8602
8638
|
* size, position and full screen as modifiers on the <dialog>: wc-dialog-lg, wc-dialog-top, wc-dialog-fullscreen
|
|
8639
|
+
* <input type="checkbox" class="wc-checkbox-input"> inside .wc-checkbox; its state styles .wc-checkbox-control
|
|
8603
8640
|
*/
|
|
8604
8641
|
@layer components {
|
|
8605
8642
|
dialog.wc-dialog {
|
|
@@ -8681,4 +8718,31 @@
|
|
|
8681
8718
|
.wc-mega-menu details[open] > summary .wc-mega-menu-trigger-icon {
|
|
8682
8719
|
rotate: 180deg;
|
|
8683
8720
|
}
|
|
8721
|
+
|
|
8722
|
+
/*
|
|
8723
|
+
* Checkbox without JavaScript: a native <input type="checkbox" class="wc-checkbox-input"> right before
|
|
8724
|
+
* .wc-checkbox-control inside the label – checked, focus, invalid (aria-invalid) and disabled come from the input,
|
|
8725
|
+
* the check mark only shows while it is checked (the framework components set data-state instead)
|
|
8726
|
+
*/
|
|
8727
|
+
.wc-checkbox:has(> .wc-checkbox-input) {
|
|
8728
|
+
position: relative;
|
|
8729
|
+
}
|
|
8730
|
+
.wc-checkbox:has(> .wc-checkbox-input:disabled) {
|
|
8731
|
+
@apply cursor-not-allowed opacity-40;
|
|
8732
|
+
}
|
|
8733
|
+
.wc-checkbox-input {
|
|
8734
|
+
@apply sr-only;
|
|
8735
|
+
}
|
|
8736
|
+
.wc-checkbox-input:checked + .wc-checkbox-control {
|
|
8737
|
+
@apply border-primary bg-primary forced-colors:forced-color-adjust-none forced-colors:border-[Highlight] forced-colors:bg-[Highlight] forced-colors:text-[HighlightText];
|
|
8738
|
+
}
|
|
8739
|
+
.wc-checkbox-input:not(:checked) + .wc-checkbox-control > .wc-checkbox-icon {
|
|
8740
|
+
display: none;
|
|
8741
|
+
}
|
|
8742
|
+
.wc-checkbox-input:focus-visible + .wc-checkbox-control {
|
|
8743
|
+
@apply outline-2 outline-offset-2 outline-fg;
|
|
8744
|
+
}
|
|
8745
|
+
.wc-checkbox-input[aria-invalid='true'] + .wc-checkbox-control {
|
|
8746
|
+
@apply border-danger;
|
|
8747
|
+
}
|
|
8684
8748
|
}
|