@wirecore/wirelayer-css 0.2.0 → 0.4.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 +4 -0
- package/dist/components.css +90 -31
- package/dist/wirecore.css +1 -1
- package/llms-full.txt +2532 -0
- package/llms.txt +202 -0
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -31,6 +31,10 @@ With your own Tailwind build:
|
|
|
31
31
|
|
|
32
32
|
The bundled fonts are licensed under the SIL Open Font License 1.1 (`dist/fonts/OFL.txt`), see [THIRD_PARTY_NOTICES.md](./THIRD_PARTY_NOTICES.md).
|
|
33
33
|
|
|
34
|
+
## AI assistants
|
|
35
|
+
|
|
36
|
+
`llms.txt` (overview) and `llms-full.txt` (the class reference: every component with its parts and modifiers and the guides) ship with the package – point your assistant at `node_modules/@wirecore/wirelayer-css/llms.txt`, e.g. in your CLAUDE.md or AGENTS.md. Or the MCP server [`@wirecore/wirelayer-mcp`](https://www.npmjs.com/package/@wirecore/wirelayer-mcp): `claude mcp add wirelayer -- npx -y -p @wirecore/wirelayer-mcp wirelayer-mcp`.
|
|
37
|
+
|
|
34
38
|
Part of [WireLayer](https://github.com/WireCore/WireLayer) – one look and one API for Vue, React, React Native and HTML, accessible according to WCAG 2.2 AA.
|
|
35
39
|
|
|
36
40
|
## License
|
package/dist/components.css
CHANGED
|
@@ -396,6 +396,9 @@
|
|
|
396
396
|
.wc-avatar-icon {
|
|
397
397
|
@apply shrink-0;
|
|
398
398
|
}
|
|
399
|
+
.wc-avatar-content {
|
|
400
|
+
@apply flex size-full items-center justify-center;
|
|
401
|
+
}
|
|
399
402
|
.wc-avatar:is(.wc-avatar-solid, .wc-avatar-solid *) {
|
|
400
403
|
@apply bg-fg text-bg;
|
|
401
404
|
}
|
|
@@ -456,6 +459,9 @@
|
|
|
456
459
|
.wc-avatar:is(.wc-avatar-grouped, .wc-avatar-grouped *) {
|
|
457
460
|
@apply border-2 border-card;
|
|
458
461
|
}
|
|
462
|
+
.wc-avatar:is(.wc-avatar-interactive, .wc-avatar-interactive *) {
|
|
463
|
+
@apply cursor-pointer select-none transition-[opacity,background-color,border-color,color] duration-150 motion-reduce:transition-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-fg disabled:cursor-not-allowed disabled:opacity-40 aria-busy:cursor-wait forced-colors:border forced-colors:border-[ButtonBorder];
|
|
464
|
+
}
|
|
459
465
|
.wc-avatar:is(.wc-avatar-square, .wc-avatar-square *):is(.wc-avatar-sm, .wc-avatar-sm *) {
|
|
460
466
|
@apply rounded-lg;
|
|
461
467
|
}
|
|
@@ -474,6 +480,33 @@
|
|
|
474
480
|
.wc-avatar:is(.wc-avatar-grouped, .wc-avatar-grouped *):not(.wc-avatar-solid, .wc-avatar-solid *, .wc-avatar-outline, .wc-avatar-outline *) {
|
|
475
481
|
@apply bg-bg-2 shadow-[inset_0_0_0_1px_var(--color-line-2)];
|
|
476
482
|
}
|
|
483
|
+
.wc-avatar:is(.wc-avatar-interactive, .wc-avatar-interactive *):is(.wc-avatar-outline, .wc-avatar-outline *) {
|
|
484
|
+
@apply hover:border-fg;
|
|
485
|
+
}
|
|
486
|
+
.wc-avatar:is(.wc-avatar-interactive, .wc-avatar-interactive *):not(.wc-avatar-solid, .wc-avatar-solid *, .wc-avatar-outline, .wc-avatar-outline *) {
|
|
487
|
+
@apply hover:bg-line-2;
|
|
488
|
+
}
|
|
489
|
+
.wc-avatar:is(.wc-avatar-interactive, .wc-avatar-interactive *):is(.wc-avatar-solid, .wc-avatar-solid *) {
|
|
490
|
+
@apply hover:opacity-85;
|
|
491
|
+
}
|
|
492
|
+
.wc-avatar:is(.wc-avatar-interactive, .wc-avatar-interactive *):is(.wc-avatar-primary, .wc-avatar-primary *) {
|
|
493
|
+
@apply hover:bg-[color-mix(in_srgb,var(--color-primary)_18%,var(--color-card))];
|
|
494
|
+
}
|
|
495
|
+
.wc-avatar:is(.wc-avatar-interactive, .wc-avatar-interactive *):is(.wc-avatar-info, .wc-avatar-info *) {
|
|
496
|
+
@apply hover:bg-[color-mix(in_srgb,var(--color-info)_18%,var(--color-card))];
|
|
497
|
+
}
|
|
498
|
+
.wc-avatar:is(.wc-avatar-interactive, .wc-avatar-interactive *):is(.wc-avatar-success, .wc-avatar-success *) {
|
|
499
|
+
@apply hover:bg-[color-mix(in_srgb,var(--color-success)_18%,var(--color-card))];
|
|
500
|
+
}
|
|
501
|
+
.wc-avatar:is(.wc-avatar-interactive, .wc-avatar-interactive *):is(.wc-avatar-warn, .wc-avatar-warn *) {
|
|
502
|
+
@apply hover:bg-[color-mix(in_srgb,var(--color-warn)_18%,var(--color-card))];
|
|
503
|
+
}
|
|
504
|
+
.wc-avatar:is(.wc-avatar-interactive, .wc-avatar-interactive *):is(.wc-avatar-danger, .wc-avatar-danger *) {
|
|
505
|
+
@apply hover:bg-[color-mix(in_srgb,var(--color-danger)_18%,var(--color-card))];
|
|
506
|
+
}
|
|
507
|
+
.wc-avatar:is(.wc-avatar-interactive, .wc-avatar-interactive *):is(:not(.wc-avatar-solid, .wc-avatar-solid *, .wc-avatar-outline, .wc-avatar-outline *), :is(.wc-avatar-solid, .wc-avatar-solid *)) {
|
|
508
|
+
@apply hover:has-[img:not([hidden])]:ring-2 hover:has-[img:not([hidden])]:ring-line-2;
|
|
509
|
+
}
|
|
477
510
|
|
|
478
511
|
/* avatar-group */
|
|
479
512
|
.wc-avatar-group {
|
|
@@ -1061,10 +1094,10 @@
|
|
|
1061
1094
|
@apply size-full;
|
|
1062
1095
|
}
|
|
1063
1096
|
.wc-cascade-select-content {
|
|
1064
|
-
@apply flex max-h-72 flex-col overflow-y-auto rounded-
|
|
1097
|
+
@apply flex max-h-72 flex-col overflow-y-auto rounded-popup border border-line-2 bg-card p-1 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px] min-w-44 max-w-72;
|
|
1065
1098
|
}
|
|
1066
1099
|
.wc-cascade-select-item {
|
|
1067
|
-
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-
|
|
1100
|
+
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-lg px-2.5 text-sm data-highlighted:bg-line data-[state=checked]:bg-line data-disabled:cursor-not-allowed data-disabled:opacity-40 forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:text-[HighlightText];
|
|
1068
1101
|
}
|
|
1069
1102
|
.wc-cascade-select-icon {
|
|
1070
1103
|
@apply size-4 shrink-0 text-muted;
|
|
@@ -1100,7 +1133,7 @@
|
|
|
1100
1133
|
@apply flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted hover:bg-line hover:text-fg focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-fg disabled:cursor-not-allowed;
|
|
1101
1134
|
}
|
|
1102
1135
|
.wc-cascade-select-results {
|
|
1103
|
-
@apply flex max-h-72 flex-col overflow-y-auto rounded-
|
|
1136
|
+
@apply flex max-h-72 flex-col overflow-y-auto rounded-popup border border-line-2 bg-card p-1 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px] w-[var(--reference-width)] min-w-56;
|
|
1104
1137
|
}
|
|
1105
1138
|
.wc-cascade-select-path {
|
|
1106
1139
|
@apply min-w-0 flex-1 truncate;
|
|
@@ -1637,7 +1670,7 @@
|
|
|
1637
1670
|
@apply sr-only;
|
|
1638
1671
|
}
|
|
1639
1672
|
.wc-color-picker-content {
|
|
1640
|
-
@apply z-50 flex w-[264px] flex-col gap-3 rounded-
|
|
1673
|
+
@apply z-50 flex w-[264px] flex-col gap-3 rounded-popup border border-line-2 bg-card p-3 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out;
|
|
1641
1674
|
}
|
|
1642
1675
|
.wc-color-picker-area {
|
|
1643
1676
|
@apply h-36 overflow-hidden rounded-lg;
|
|
@@ -1767,10 +1800,10 @@
|
|
|
1767
1800
|
@apply size-4 transition-transform motion-reduce:transition-none in-data-[state=open]:rotate-180;
|
|
1768
1801
|
}
|
|
1769
1802
|
.wc-combobox-content {
|
|
1770
|
-
@apply flex max-h-72 flex-col overflow-y-auto rounded-
|
|
1803
|
+
@apply flex max-h-72 flex-col overflow-y-auto rounded-popup border border-line-2 bg-card p-1 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px];
|
|
1771
1804
|
}
|
|
1772
1805
|
.wc-combobox-item {
|
|
1773
|
-
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-
|
|
1806
|
+
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-lg px-2.5 text-sm data-highlighted:bg-line data-[state=checked]:bg-line data-disabled:cursor-not-allowed data-disabled:opacity-40 forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:text-[HighlightText] data-description:h-auto data-description:min-h-9 data-description:py-1.5;
|
|
1774
1807
|
}
|
|
1775
1808
|
.wc-combobox-item-text {
|
|
1776
1809
|
@apply flex-1 truncate;
|
|
@@ -1856,7 +1889,7 @@
|
|
|
1856
1889
|
@apply px-2.5 pt-2.5 pb-1 font-mono text-[11px] tracking-label text-muted uppercase;
|
|
1857
1890
|
}
|
|
1858
1891
|
.wc-command-palette-item {
|
|
1859
|
-
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-
|
|
1892
|
+
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-lg px-2.5 text-sm data-highlighted:bg-line data-[state=checked]:bg-line data-disabled:cursor-not-allowed data-disabled:opacity-40 forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:text-[HighlightText] data-description:h-auto data-description:min-h-9 data-description:py-1.5;
|
|
1860
1893
|
}
|
|
1861
1894
|
.wc-command-palette-icon {
|
|
1862
1895
|
@apply size-4 shrink-0 text-muted;
|
|
@@ -1972,7 +2005,7 @@
|
|
|
1972
2005
|
|
|
1973
2006
|
/* confirm-popup */
|
|
1974
2007
|
.wc-confirm-popup-content {
|
|
1975
|
-
@apply z-50 flex w-72 max-w-[calc(100vw-2rem)] flex-col gap-3 rounded-
|
|
2008
|
+
@apply z-50 flex w-72 max-w-[calc(100vw-2rem)] flex-col gap-3 rounded-popup border border-line-2 bg-card p-4 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out;
|
|
1976
2009
|
}
|
|
1977
2010
|
.wc-confirm-popup-message {
|
|
1978
2011
|
@apply text-sm leading-normal;
|
|
@@ -2221,7 +2254,7 @@
|
|
|
2221
2254
|
@apply px-3 py-2 font-normal normal-case;
|
|
2222
2255
|
}
|
|
2223
2256
|
.wc-data-table-filter-panel {
|
|
2224
|
-
@apply flex w-80 max-w-[calc(100vw-2rem)] flex-col gap-3 rounded-
|
|
2257
|
+
@apply flex w-80 max-w-[calc(100vw-2rem)] flex-col gap-3 rounded-popup border border-line-2 bg-card p-3 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px];
|
|
2225
2258
|
}
|
|
2226
2259
|
.wc-data-table-filter-form {
|
|
2227
2260
|
@apply contents;
|
|
@@ -2597,7 +2630,7 @@
|
|
|
2597
2630
|
@apply size-4;
|
|
2598
2631
|
}
|
|
2599
2632
|
.wc-date-picker-content {
|
|
2600
|
-
@apply z-50 flex w-[304px] flex-col gap-2 rounded-
|
|
2633
|
+
@apply z-50 flex w-[304px] flex-col gap-2 rounded-popup border border-line-2 bg-card p-3 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px];
|
|
2601
2634
|
}
|
|
2602
2635
|
.wc-date-picker-header {
|
|
2603
2636
|
@apply flex items-center justify-between gap-1;
|
|
@@ -3078,7 +3111,7 @@
|
|
|
3078
3111
|
@apply block min-h-40 w-full resize-y border-0 bg-bg px-3.5 py-3 font-mono text-[13px] leading-relaxed text-fg outline-none focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-fg;
|
|
3079
3112
|
}
|
|
3080
3113
|
.wc-editor-menu {
|
|
3081
|
-
@apply z-20 flex items-center gap-0.5 rounded-
|
|
3114
|
+
@apply z-20 flex items-center gap-0.5 rounded-popup border border-line bg-card p-1 shadow-[0_8px_24px_-12px_rgba(0,0,0,.35)];
|
|
3082
3115
|
}
|
|
3083
3116
|
.wc-editor-palette {
|
|
3084
3117
|
@apply flex flex-wrap items-center gap-1 border-b border-line p-2;
|
|
@@ -3108,10 +3141,10 @@
|
|
|
3108
3141
|
@apply cursor-pointer rounded-sm text-start text-fg underline-offset-2 hover:underline data-[level=3]:ps-3 data-[level=4]:ps-6 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-fg;
|
|
3109
3142
|
}
|
|
3110
3143
|
.wc-editor-suggestions {
|
|
3111
|
-
@apply fixed z-50 max-h-60 w-64 overflow-y-auto rounded-
|
|
3144
|
+
@apply fixed z-50 max-h-60 w-64 overflow-y-auto rounded-popup border border-line bg-card p-1 shadow-lg;
|
|
3112
3145
|
}
|
|
3113
3146
|
.wc-editor-suggestion {
|
|
3114
|
-
@apply flex min-h-8 cursor-pointer items-center rounded-
|
|
3147
|
+
@apply flex min-h-8 cursor-pointer items-center rounded-lg px-2 text-sm text-fg data-highlighted:bg-line forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:text-[HighlightText];
|
|
3115
3148
|
}
|
|
3116
3149
|
.wc-editor-status {
|
|
3117
3150
|
@apply sr-only;
|
|
@@ -3382,7 +3415,7 @@
|
|
|
3382
3415
|
@apply z-50;
|
|
3383
3416
|
}
|
|
3384
3417
|
.wc-floating-panel-content {
|
|
3385
|
-
@apply flex flex-col overflow-hidden rounded-
|
|
3418
|
+
@apply flex flex-col overflow-hidden rounded-popup border border-line-2 bg-card text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-fg data-maximized:rounded-none data-minimized:h-auto! motion-safe:data-[state=open]:animate-pop-in;
|
|
3386
3419
|
}
|
|
3387
3420
|
.wc-floating-panel-header {
|
|
3388
3421
|
@apply flex h-10 shrink-0 cursor-move items-center gap-2 border-b border-line ps-3 pe-1 select-none;
|
|
@@ -3931,7 +3964,7 @@
|
|
|
3931
3964
|
|
|
3932
3965
|
/* hover-card */
|
|
3933
3966
|
.wc-hover-card-content {
|
|
3934
|
-
@apply w-72 max-w-[calc(100vw-2rem)] rounded-
|
|
3967
|
+
@apply w-72 max-w-[calc(100vw-2rem)] rounded-popup border border-line-2 bg-card p-4 text-sm text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px];
|
|
3935
3968
|
}
|
|
3936
3969
|
.wc-hover-card-arrow {
|
|
3937
3970
|
@apply [--arrow-background:var(--color-card)] [--arrow-size:10px];
|
|
@@ -4557,7 +4590,7 @@
|
|
|
4557
4590
|
@apply flex max-h-72 flex-col overflow-y-auto rounded-lg border border-line-strong bg-bg p-1 text-fg outline-none focus-visible:border-primary data-disabled:opacity-60;
|
|
4558
4591
|
}
|
|
4559
4592
|
.wc-listbox-item {
|
|
4560
|
-
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-
|
|
4593
|
+
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-lg px-2.5 text-sm data-highlighted:bg-line data-[state=checked]:bg-line data-disabled:cursor-not-allowed data-disabled:opacity-40 forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:text-[HighlightText] data-description:h-auto data-description:min-h-9 data-description:py-1.5;
|
|
4561
4594
|
}
|
|
4562
4595
|
.wc-listbox-icon {
|
|
4563
4596
|
@apply size-4 shrink-0 text-muted;
|
|
@@ -4759,7 +4792,7 @@
|
|
|
4759
4792
|
@apply -ms-1 flex size-9 cursor-pointer items-center justify-center rounded-md text-fg hover:bg-line data-[state=open]:bg-line focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-fg;
|
|
4760
4793
|
}
|
|
4761
4794
|
.wc-mega-menu-content {
|
|
4762
|
-
@apply absolute inset-x-0 top-[calc(100%+6px)] z-40 flex min-w-[min(48rem,calc(100vw-2rem))] flex-col gap-4 rounded-
|
|
4795
|
+
@apply absolute inset-x-0 top-[calc(100%+6px)] z-40 flex min-w-[min(48rem,calc(100vw-2rem))] flex-col gap-4 rounded-popup border border-line-2 bg-card p-5 text-fg shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] motion-safe:data-[state=open]:animate-pop-in;
|
|
4763
4796
|
}
|
|
4764
4797
|
.wc-mega-menu-body {
|
|
4765
4798
|
@apply flex flex-wrap gap-6;
|
|
@@ -4905,10 +4938,10 @@
|
|
|
4905
4938
|
@apply relative block min-h-24 w-full resize-y bg-transparent px-3 py-[9px] text-[15px] leading-normal text-fg outline-none placeholder:text-muted disabled:cursor-not-allowed disabled:text-muted;
|
|
4906
4939
|
}
|
|
4907
4940
|
.wc-mentions-content {
|
|
4908
|
-
@apply absolute start-0 top-full mt-1 w-full max-w-sm flex max-h-72 flex-col overflow-y-auto rounded-
|
|
4941
|
+
@apply absolute start-0 top-full mt-1 w-full max-w-sm flex max-h-72 flex-col overflow-y-auto rounded-popup border border-line-2 bg-card p-1 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px];
|
|
4909
4942
|
}
|
|
4910
4943
|
.wc-mentions-option {
|
|
4911
|
-
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-
|
|
4944
|
+
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-lg px-2.5 text-sm data-highlighted:bg-line data-[state=checked]:bg-line data-disabled:cursor-not-allowed data-disabled:opacity-40 forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:text-[HighlightText] data-description:h-auto data-description:min-h-9 data-description:py-1.5;
|
|
4912
4945
|
}
|
|
4913
4946
|
.wc-mentions-option-body {
|
|
4914
4947
|
@apply flex min-w-0 flex-1 flex-col;
|
|
@@ -4931,10 +4964,16 @@
|
|
|
4931
4964
|
|
|
4932
4965
|
/* menu */
|
|
4933
4966
|
.wc-menu-content {
|
|
4934
|
-
@apply flex flex-col rounded-
|
|
4967
|
+
@apply flex flex-col rounded-popup border border-line-2 bg-card p-1 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] min-w-56 z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px];
|
|
4968
|
+
}
|
|
4969
|
+
.wc-menu-arrow {
|
|
4970
|
+
@apply [--arrow-background:var(--color-card)] [--arrow-size:10px];
|
|
4971
|
+
}
|
|
4972
|
+
.wc-menu-arrow-tip {
|
|
4973
|
+
@apply border-t border-l border-line-2;
|
|
4935
4974
|
}
|
|
4936
4975
|
.wc-menu-item {
|
|
4937
|
-
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2.5 rounded-
|
|
4976
|
+
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2.5 rounded-lg px-2.5 text-sm data-highlighted:bg-line data-disabled:cursor-not-allowed data-disabled:opacity-40 forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:text-[HighlightText];
|
|
4938
4977
|
}
|
|
4939
4978
|
.wc-menu-icon {
|
|
4940
4979
|
@apply size-4 shrink-0;
|
|
@@ -5149,10 +5188,10 @@
|
|
|
5149
5188
|
@apply size-full;
|
|
5150
5189
|
}
|
|
5151
5190
|
.wc-multi-select-content {
|
|
5152
|
-
@apply flex max-h-72 flex-col overflow-y-auto rounded-
|
|
5191
|
+
@apply flex max-h-72 flex-col overflow-y-auto rounded-popup border border-line-2 bg-card p-1 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px];
|
|
5153
5192
|
}
|
|
5154
5193
|
.wc-multi-select-item {
|
|
5155
|
-
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-
|
|
5194
|
+
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-lg px-2.5 text-sm data-highlighted:bg-line data-[state=checked]:bg-line data-disabled:cursor-not-allowed data-disabled:opacity-40 forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:text-[HighlightText] data-description:h-auto data-description:min-h-9 data-description:py-1.5;
|
|
5156
5195
|
}
|
|
5157
5196
|
.wc-multi-select-check {
|
|
5158
5197
|
@apply flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-line-strong text-on-primary data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary forced-colors:data-[state=checked]:forced-color-adjust-none forced-colors:data-[state=checked]:bg-[Highlight] forced-colors:data-[state=checked]:text-[HighlightText] forced-colors:data-[state=indeterminate]:forced-color-adjust-none forced-colors:data-[state=indeterminate]:bg-[Highlight] forced-colors:data-[state=indeterminate]:text-[HighlightText];
|
|
@@ -5303,7 +5342,7 @@
|
|
|
5303
5342
|
@apply flex h-9 items-center rounded-md px-3 text-sm font-medium text-fg no-underline hover:bg-line focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-fg;
|
|
5304
5343
|
}
|
|
5305
5344
|
.wc-navigation-menu-content {
|
|
5306
|
-
@apply absolute top-[calc(100%+6px)] inset-s-0 grid w-[34rem] max-w-[calc(100vw-2rem)] grid-cols-2 gap-1 rounded-
|
|
5345
|
+
@apply absolute top-[calc(100%+6px)] inset-s-0 grid w-[34rem] max-w-[calc(100vw-2rem)] grid-cols-2 gap-1 rounded-popup border border-line-2 bg-card p-2 shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px];
|
|
5307
5346
|
}
|
|
5308
5347
|
.wc-navigation-menu-panel-link {
|
|
5309
5348
|
@apply flex gap-3 rounded-lg p-3 no-underline hover:bg-line focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-fg;
|
|
@@ -5954,7 +5993,7 @@
|
|
|
5954
5993
|
|
|
5955
5994
|
/* popover */
|
|
5956
5995
|
.wc-popover-content {
|
|
5957
|
-
@apply relative flex w-80 max-w-[calc(100vw-2rem)] flex-col gap-1 rounded-
|
|
5996
|
+
@apply relative flex w-80 max-w-[calc(100vw-2rem)] flex-col gap-1 rounded-popup border border-line-2 bg-card p-4 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px];
|
|
5958
5997
|
}
|
|
5959
5998
|
.wc-popover-arrow {
|
|
5960
5999
|
@apply [--arrow-background:var(--color-card)] [--arrow-size:10px];
|
|
@@ -5983,6 +6022,12 @@
|
|
|
5983
6022
|
.wc-popover-content:is(.wc-popover-trigger, .wc-popover-trigger *) {
|
|
5984
6023
|
@apply w-[var(--reference-width)] max-w-none;
|
|
5985
6024
|
}
|
|
6025
|
+
.wc-popover-title:is(.wc-popover-hide-title, .wc-popover-hide-title *) {
|
|
6026
|
+
@apply sr-only;
|
|
6027
|
+
}
|
|
6028
|
+
.wc-popover-body:is(.wc-popover-hide-title, .wc-popover-hide-title *) {
|
|
6029
|
+
@apply mt-0;
|
|
6030
|
+
}
|
|
5986
6031
|
|
|
5987
6032
|
/* progress */
|
|
5988
6033
|
.wc-progress {
|
|
@@ -6938,10 +6983,10 @@
|
|
|
6938
6983
|
@apply size-full;
|
|
6939
6984
|
}
|
|
6940
6985
|
.wc-select-content {
|
|
6941
|
-
@apply flex max-h-72 flex-col overflow-y-auto rounded-
|
|
6986
|
+
@apply flex max-h-72 flex-col overflow-y-auto rounded-popup border border-line-2 bg-card p-1 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px];
|
|
6942
6987
|
}
|
|
6943
6988
|
.wc-select-item {
|
|
6944
|
-
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-
|
|
6989
|
+
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-lg px-2.5 text-sm data-highlighted:bg-line data-[state=checked]:bg-line data-disabled:cursor-not-allowed data-disabled:opacity-40 forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:text-[HighlightText] data-description:h-auto data-description:min-h-9 data-description:py-1.5;
|
|
6945
6990
|
}
|
|
6946
6991
|
.wc-select-item-text {
|
|
6947
6992
|
@apply flex-1 truncate;
|
|
@@ -7892,10 +7937,10 @@
|
|
|
7892
7937
|
@apply size-3.5;
|
|
7893
7938
|
}
|
|
7894
7939
|
.wc-tags-input-content {
|
|
7895
|
-
@apply flex max-h-72 flex-col overflow-y-auto rounded-
|
|
7940
|
+
@apply flex max-h-72 flex-col overflow-y-auto rounded-popup border border-line-2 bg-card p-1 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px] absolute inset-x-0 top-full mt-1;
|
|
7896
7941
|
}
|
|
7897
7942
|
.wc-tags-input-option {
|
|
7898
|
-
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-
|
|
7943
|
+
@apply flex h-9 shrink-0 cursor-pointer items-center gap-2 rounded-lg px-2.5 text-sm data-highlighted:bg-line data-[state=checked]:bg-line data-disabled:cursor-not-allowed data-disabled:opacity-40 forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:text-[HighlightText] data-description:h-auto data-description:min-h-9 data-description:py-1.5;
|
|
7899
7944
|
}
|
|
7900
7945
|
.wc-tags-input-option-text {
|
|
7901
7946
|
@apply flex-1 truncate;
|
|
@@ -8209,6 +8254,20 @@
|
|
|
8209
8254
|
@apply [--arrow-background:var(--color-fg)] [--arrow-size:7px];
|
|
8210
8255
|
}
|
|
8211
8256
|
|
|
8257
|
+
/* top-bar */
|
|
8258
|
+
.wc-top-bar {
|
|
8259
|
+
@apply flex h-14 shrink-0 items-center gap-3 border-b border-line bg-card px-4;
|
|
8260
|
+
}
|
|
8261
|
+
.wc-top-bar-start {
|
|
8262
|
+
@apply flex shrink-0 items-center gap-2;
|
|
8263
|
+
}
|
|
8264
|
+
.wc-top-bar-center {
|
|
8265
|
+
@apply flex min-w-0 flex-1 items-center gap-2;
|
|
8266
|
+
}
|
|
8267
|
+
.wc-top-bar-end {
|
|
8268
|
+
@apply ms-auto flex shrink-0 items-center gap-2;
|
|
8269
|
+
}
|
|
8270
|
+
|
|
8212
8271
|
/* tour */
|
|
8213
8272
|
.wc-tour-layer {
|
|
8214
8273
|
@apply pointer-events-none fixed inset-0 z-50;
|
|
@@ -8223,7 +8282,7 @@
|
|
|
8223
8282
|
@apply relative data-[type=dialog]:fixed data-[type=dialog]:inset-0 data-[type=dialog]:flex data-[type=dialog]:items-center data-[type=dialog]:justify-center data-[type=dialog]:p-4;
|
|
8224
8283
|
}
|
|
8225
8284
|
.wc-tour-content {
|
|
8226
|
-
@apply pointer-events-auto flex w-80 max-w-[calc(100vw-2rem)] flex-col gap-2 rounded-
|
|
8285
|
+
@apply pointer-events-auto flex w-80 max-w-[calc(100vw-2rem)] flex-col gap-2 rounded-popup border border-line-2 bg-card p-4 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px];
|
|
8227
8286
|
}
|
|
8228
8287
|
.wc-tour-header {
|
|
8229
8288
|
@apply flex items-start justify-between gap-3;
|
|
@@ -8338,7 +8397,7 @@
|
|
|
8338
8397
|
@apply size-4 shrink-0 text-muted transition-transform motion-reduce:transition-none data-[state=open]:rotate-180;
|
|
8339
8398
|
}
|
|
8340
8399
|
.wc-tree-select-content {
|
|
8341
|
-
@apply max-h-80 w-[var(--reference-width)] overflow-y-auto rounded-
|
|
8400
|
+
@apply max-h-80 w-[var(--reference-width)] overflow-y-auto rounded-popup border border-line-2 bg-card p-1 text-fg outline-none shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] z-50 motion-safe:data-[state=open]:animate-pop-in motion-safe:data-[state=closed]:animate-pop-out data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px];
|
|
8342
8401
|
}
|
|
8343
8402
|
.wc-tree-select-control {
|
|
8344
8403
|
@apply relative flex;
|