@biotechusa/pdo-ui 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alert-dialog.js +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +2 -2
- package/dist/checkbox.js +3 -3
- package/dist/combobox.js +2 -2
- package/dist/dialog.js +1 -1
- package/dist/index.css +404 -68
- package/dist/input.js +1 -1
- package/dist/menu.js +4 -4
- package/dist/number-field.js +2 -2
- package/dist/radio-group.js +1 -1
- package/dist/scroll-area.d.ts +3 -2
- package/dist/scroll-area.js +10 -16
- package/dist/select.js +1 -1
- package/dist/slider.js +1 -1
- package/dist/styles.css +11 -5
- package/dist/switch.js +2 -2
- package/dist/tabs.js +3 -3
- package/dist/toggle.js +1 -1
- package/package.json +1 -1
package/dist/alert-dialog.js
CHANGED
|
@@ -20,7 +20,7 @@ function AlertDialogPortal(props) {
|
|
|
20
20
|
}
|
|
21
21
|
function AlertDialogBackdrop({ className, ...props }) {
|
|
22
22
|
return /*#__PURE__*/ jsx(AlertDialog.Backdrop, {
|
|
23
|
-
className: cn("fixed inset-0 z-50 bg-
|
|
23
|
+
className: cn("fixed inset-0 z-50 bg-[oklch(from_var(--destructive)_0.03_c_h)]/30 backdrop-blur-sm transition-all duration-200 ease-out data-ending-style:opacity-0 data-starting-style:opacity-0", className),
|
|
24
24
|
"data-slot": "alert-dialog-backdrop",
|
|
25
25
|
...props
|
|
26
26
|
});
|
package/dist/autocomplete.js
CHANGED
|
@@ -49,7 +49,7 @@ function AutocompletePopup({ className, children, sideOffset = 4, ...props }) {
|
|
|
49
49
|
}
|
|
50
50
|
function AutocompleteItem({ className, children, ...props }) {
|
|
51
51
|
return /*#__PURE__*/ jsx(Autocomplete.Item, {
|
|
52
|
-
className: cn("flex cursor-default select-none items-center rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-
|
|
52
|
+
className: cn("flex cursor-default select-none items-center rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm", className),
|
|
53
53
|
"data-slot": "autocomplete-item",
|
|
54
54
|
...props,
|
|
55
55
|
children: children
|
package/dist/badge.js
CHANGED
|
@@ -18,7 +18,7 @@ const badgeVariants = cva("relative inline-flex shrink-0 items-center justify-ce
|
|
|
18
18
|
destructive: "bg-destructive text-white [button,a&]:hover:bg-destructive/90",
|
|
19
19
|
error: "bg-destructive/8 text-destructive-foreground dark:bg-destructive/16",
|
|
20
20
|
info: "bg-info/8 text-info-foreground dark:bg-info/16",
|
|
21
|
-
outline: "border-border bg-transparent dark:bg-input/32 [button,a&]:hover:bg-
|
|
21
|
+
outline: "border-border bg-transparent dark:bg-input/32 [button,a&]:hover:bg-highlight/50 dark:[button,a&]:hover:bg-input/48",
|
|
22
22
|
secondary: "bg-secondary text-secondary-foreground [button,a&]:hover:bg-secondary/90",
|
|
23
23
|
success: "bg-success/8 text-success-foreground dark:bg-success/16",
|
|
24
24
|
warning: "bg-warning/8 text-warning-foreground dark:bg-warning/16"
|
package/dist/button.js
CHANGED
|
@@ -25,9 +25,9 @@ const buttonVariants = cva("relative inline-flex shrink-0 cursor-pointer items-c
|
|
|
25
25
|
default: "not-disabled:inset-shadow-[0_1px_--theme(--color-white/16%)] border-primary bg-primary text-primary-foreground shadow-primary/24 shadow-xs hover:bg-primary/90 [&:is(:active,[data-pressed])]:inset-shadow-[0_1px_--theme(--color-black/8%)] [&:is(:disabled,:active,[data-pressed])]:shadow-none",
|
|
26
26
|
destructive: "not-disabled:inset-shadow-[0_1px_--theme(--color-white/16%)] border-destructive bg-destructive text-white shadow-destructive/24 shadow-xs hover:bg-destructive/90 [&:is(:active,[data-pressed])]:inset-shadow-[0_1px_--theme(--color-black/8%)] [&:is(:disabled,:active,[data-pressed])]:shadow-none",
|
|
27
27
|
"destructive-outline": "border-border bg-transparent text-destructive-foreground shadow-xs not-disabled:not-active:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/32 dark:not-in-data-[slot=group]:bg-clip-border dark:not-disabled:before:shadow-[0_-1px_--theme(--color-white/4%)] dark:not-disabled:not-active:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/8%)] [&:is(:disabled,:active,[data-pressed])]:shadow-none [&:is(:hover,[data-pressed])]:border-destructive/32 [&:is(:hover,[data-pressed])]:bg-destructive/4",
|
|
28
|
-
ghost: "border-transparent hover:bg-
|
|
28
|
+
ghost: "border-transparent hover:bg-highlight data-pressed:bg-highlight",
|
|
29
29
|
link: "border-transparent underline-offset-4 hover:underline",
|
|
30
|
-
outline: "border-border bg-background shadow-xs not-disabled:not-active:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/32 dark:not-in-data-[slot=group]:bg-clip-border dark:not-disabled:before:shadow-[0_-1px_--theme(--color-white/4%)] dark:not-disabled:not-active:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/8%)] [&:is(:disabled,:active,[data-pressed])]:shadow-none [&:is(:hover,[data-pressed])]:bg-
|
|
30
|
+
outline: "border-border bg-background shadow-xs not-disabled:not-active:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/32 dark:not-in-data-[slot=group]:bg-clip-border dark:not-disabled:before:shadow-[0_-1px_--theme(--color-white/4%)] dark:not-disabled:not-active:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/8%)] [&:is(:disabled,:active,[data-pressed])]:shadow-none [&:is(:hover,[data-pressed])]:bg-highlight/50 dark:[&:is(:hover,[data-pressed])]:bg-input/64",
|
|
31
31
|
secondary: "border-secondary bg-secondary text-secondary-foreground hover:bg-secondary/90 data-pressed:bg-secondary/90"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/dist/checkbox.js
CHANGED
|
@@ -3,11 +3,11 @@ import { Checkbox } from "@base-ui-components/react/checkbox";
|
|
|
3
3
|
import { cn } from "./lib/utils.js";
|
|
4
4
|
function checkbox_Checkbox({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Checkbox.Root, {
|
|
6
|
-
className: cn("relative inline-flex size-4 shrink-0 items-center justify-center rounded-
|
|
6
|
+
className: cn("relative inline-flex size-4.5 shrink-0 items-center justify-center rounded-[5px] border border-input bg-background bg-clip-padding shadow-sm outline-none ring-ring transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(0.25rem-1px)] not-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/6%)] focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-64 aria-invalid:border-destructive/36 focus-visible:aria-invalid:border-destructive/64 focus-visible:aria-invalid:ring-destructive/48 dark:not-data-checked:bg-input/32 dark:bg-clip-border dark:aria-invalid:ring-destructive/24 dark:not-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/8%)] [&:is(:disabled,[data-checked],[aria-invalid])]:shadow-none", className),
|
|
7
7
|
"data-slot": "checkbox",
|
|
8
8
|
...props,
|
|
9
9
|
children: /*#__PURE__*/ jsx(Checkbox.Indicator, {
|
|
10
|
-
className: "-inset-px absolute flex items-center justify-center rounded-
|
|
10
|
+
className: "-inset-px absolute flex items-center justify-center rounded-[5px] text-primary-foreground data-unchecked:hidden data-checked:bg-[oklch(from_var(--accent)_l_0.07_h)] transition-all duration-100 data-indeterminate:text-foreground",
|
|
11
11
|
"data-slot": "checkbox-indicator",
|
|
12
12
|
render: (props, state)=>/*#__PURE__*/ jsx("span", {
|
|
13
13
|
...props,
|
|
@@ -37,7 +37,7 @@ function checkbox_Checkbox({ className, ...props }) {
|
|
|
37
37
|
width: "24",
|
|
38
38
|
xmlns: "http://www.w3.org/2000/svg",
|
|
39
39
|
children: /*#__PURE__*/ jsx("path", {
|
|
40
|
-
d: "M5.252
|
|
40
|
+
d: "M5.252 13.7 10.2 18.63 18.748 6.37"
|
|
41
41
|
})
|
|
42
42
|
})
|
|
43
43
|
})
|
package/dist/combobox.js
CHANGED
|
@@ -83,7 +83,7 @@ function ComboboxPopup({ className, children, sideOffset = 4, ...props }) {
|
|
|
83
83
|
}
|
|
84
84
|
function ComboboxItem({ className, children, ...props }) {
|
|
85
85
|
return /*#__PURE__*/ jsxs(Combobox.Item, {
|
|
86
|
-
className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-
|
|
86
|
+
className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-highlighted:text-highlight-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
|
|
87
87
|
"data-slot": "combobox-item",
|
|
88
88
|
...props,
|
|
89
89
|
children: [
|
|
@@ -193,7 +193,7 @@ function ComboboxChips({ className, ...props }) {
|
|
|
193
193
|
}
|
|
194
194
|
function ComboboxChip({ children, ...props }) {
|
|
195
195
|
return /*#__PURE__*/ jsxs(Combobox.Chip, {
|
|
196
|
-
className: "flex items-center rounded-[calc(var(--radius-md)-1px)] bg-
|
|
196
|
+
className: "flex items-center rounded-[calc(var(--radius-md)-1px)] bg-highlight ps-2 font-medium text-accent-foreground text-xs outline-none",
|
|
197
197
|
"data-slot": "combobox-chip",
|
|
198
198
|
...props,
|
|
199
199
|
children: [
|
package/dist/dialog.js
CHANGED
|
@@ -22,7 +22,7 @@ function DialogClose(props) {
|
|
|
22
22
|
}
|
|
23
23
|
function DialogBackdrop({ className, ...props }) {
|
|
24
24
|
return /*#__PURE__*/ jsx(Dialog.Backdrop, {
|
|
25
|
-
className: cn("fixed inset-0 z-50 bg-
|
|
25
|
+
className: cn("fixed inset-0 z-50 bg-[oklch(from_var(--accent)_0.09_c_h)]/30 backdrop-blur-sm transition-all duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0", className),
|
|
26
26
|
"data-slot": "dialog-backdrop",
|
|
27
27
|
...props
|
|
28
28
|
});
|
package/dist/index.css
CHANGED
|
@@ -13,6 +13,29 @@
|
|
|
13
13
|
--tw-skew-x: initial;
|
|
14
14
|
--tw-skew-y: initial;
|
|
15
15
|
--tw-border-style: solid;
|
|
16
|
+
--tw-mask-linear: linear-gradient(#fff, #fff);
|
|
17
|
+
--tw-mask-radial: linear-gradient(#fff, #fff);
|
|
18
|
+
--tw-mask-conic: linear-gradient(#fff, #fff);
|
|
19
|
+
--tw-mask-left: linear-gradient(#fff, #fff);
|
|
20
|
+
--tw-mask-right: linear-gradient(#fff, #fff);
|
|
21
|
+
--tw-mask-bottom: linear-gradient(#fff, #fff);
|
|
22
|
+
--tw-mask-top: linear-gradient(#fff, #fff);
|
|
23
|
+
--tw-mask-top-from-position: 0%;
|
|
24
|
+
--tw-mask-top-to-position: 100%;
|
|
25
|
+
--tw-mask-top-from-color: black;
|
|
26
|
+
--tw-mask-top-to-color: transparent;
|
|
27
|
+
--tw-mask-right-from-position: 0%;
|
|
28
|
+
--tw-mask-right-to-position: 100%;
|
|
29
|
+
--tw-mask-right-from-color: black;
|
|
30
|
+
--tw-mask-right-to-color: transparent;
|
|
31
|
+
--tw-mask-bottom-from-position: 0%;
|
|
32
|
+
--tw-mask-bottom-to-position: 100%;
|
|
33
|
+
--tw-mask-bottom-from-color: black;
|
|
34
|
+
--tw-mask-bottom-to-color: transparent;
|
|
35
|
+
--tw-mask-left-from-position: 0%;
|
|
36
|
+
--tw-mask-left-to-position: 100%;
|
|
37
|
+
--tw-mask-left-from-color: black;
|
|
38
|
+
--tw-mask-left-to-color: transparent;
|
|
16
39
|
--tw-leading: initial;
|
|
17
40
|
--tw-font-weight: initial;
|
|
18
41
|
--tw-tracking: initial;
|
|
@@ -562,8 +585,8 @@
|
|
|
562
585
|
grid-row-start: 2;
|
|
563
586
|
}
|
|
564
587
|
|
|
565
|
-
.m-
|
|
566
|
-
margin: calc(var(--spacing) *
|
|
588
|
+
.m-1 {
|
|
589
|
+
margin: calc(var(--spacing) * 1);
|
|
567
590
|
}
|
|
568
591
|
|
|
569
592
|
.mx-2 {
|
|
@@ -672,6 +695,16 @@
|
|
|
672
695
|
height: calc(var(--spacing) * 4);
|
|
673
696
|
}
|
|
674
697
|
|
|
698
|
+
.size-4\.5 {
|
|
699
|
+
width: calc(var(--spacing) * 4.5);
|
|
700
|
+
height: calc(var(--spacing) * 4.5);
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.size-5\.5 {
|
|
704
|
+
width: calc(var(--spacing) * 5.5);
|
|
705
|
+
height: calc(var(--spacing) * 5.5);
|
|
706
|
+
}
|
|
707
|
+
|
|
675
708
|
.size-6 {
|
|
676
709
|
width: calc(var(--spacing) * 6);
|
|
677
710
|
height: calc(var(--spacing) * 6);
|
|
@@ -746,6 +779,10 @@
|
|
|
746
779
|
height: calc(var(--spacing) * 10);
|
|
747
780
|
}
|
|
748
781
|
|
|
782
|
+
.h-64 {
|
|
783
|
+
height: calc(var(--spacing) * 64);
|
|
784
|
+
}
|
|
785
|
+
|
|
749
786
|
.h-auto {
|
|
750
787
|
height: auto;
|
|
751
788
|
}
|
|
@@ -858,10 +895,6 @@
|
|
|
858
895
|
width: 100%;
|
|
859
896
|
}
|
|
860
897
|
|
|
861
|
-
.w-screen {
|
|
862
|
-
width: 100vw;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
898
|
.max-w-\(--available-width\) {
|
|
866
899
|
max-width: var(--available-width);
|
|
867
900
|
}
|
|
@@ -1149,14 +1182,14 @@
|
|
|
1149
1182
|
overflow-y: auto;
|
|
1150
1183
|
}
|
|
1151
1184
|
|
|
1152
|
-
.overscroll-contain {
|
|
1153
|
-
overscroll-behavior: contain;
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
1185
|
.rounded-2xl {
|
|
1157
1186
|
border-radius: var(--radius-2xl);
|
|
1158
1187
|
}
|
|
1159
1188
|
|
|
1189
|
+
.rounded-\[5px\] {
|
|
1190
|
+
border-radius: 5px;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1160
1193
|
.rounded-\[calc\(var\(--radius-md\)-1px\)\] {
|
|
1161
1194
|
border-radius: calc(var(--radius-md) - 1px);
|
|
1162
1195
|
}
|
|
@@ -1289,8 +1322,24 @@
|
|
|
1289
1322
|
}
|
|
1290
1323
|
}
|
|
1291
1324
|
|
|
1292
|
-
.bg
|
|
1293
|
-
background-color: var(--accent);
|
|
1325
|
+
.bg-\[oklch\(from_var\(--accent\)_0\.09_c_h\)\]\/30 {
|
|
1326
|
+
background-color: oklch(from var(--accent) .09 c h);
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1330
|
+
.bg-\[oklch\(from_var\(--accent\)_0\.09_c_h\)\]\/30 {
|
|
1331
|
+
background-color: color-mix(in oklab, oklch(from var(--accent) .09 c h) 30%, transparent);
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
.bg-\[oklch\(from_var\(--destructive\)_0\.03_c_h\)\]\/30 {
|
|
1336
|
+
background-color: oklch(from var(--destructive) .03 c h);
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1340
|
+
.bg-\[oklch\(from_var\(--destructive\)_0\.03_c_h\)\]\/30 {
|
|
1341
|
+
background-color: color-mix(in oklab, oklch(from var(--destructive) .03 c h) 30%, transparent);
|
|
1342
|
+
}
|
|
1294
1343
|
}
|
|
1295
1344
|
|
|
1296
1345
|
.bg-amber-500 {
|
|
@@ -1353,6 +1402,10 @@
|
|
|
1353
1402
|
}
|
|
1354
1403
|
}
|
|
1355
1404
|
|
|
1405
|
+
.bg-highlight {
|
|
1406
|
+
background-color: var(--highlight);
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1356
1409
|
.bg-info\/4 {
|
|
1357
1410
|
background-color: var(--info);
|
|
1358
1411
|
}
|
|
@@ -1465,6 +1518,54 @@
|
|
|
1465
1518
|
background-color: var(--color-white);
|
|
1466
1519
|
}
|
|
1467
1520
|
|
|
1521
|
+
.mask-t-from-\[calc\(100\%-min\(var\(--fade-size\)\,var\(--scroll-area-overflow-y-start\)\)\)\] {
|
|
1522
|
+
-webkit-mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1523
|
+
-webkit-mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1524
|
+
mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1525
|
+
--tw-mask-linear: var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);
|
|
1526
|
+
--tw-mask-top: linear-gradient(to top, var(--tw-mask-top-from-color) var(--tw-mask-top-from-position), var(--tw-mask-top-to-color) var(--tw-mask-top-to-position));
|
|
1527
|
+
--tw-mask-top-from-position: calc(100% - min(var(--fade-size), var(--scroll-area-overflow-y-start)));
|
|
1528
|
+
-webkit-mask-composite: source-in;
|
|
1529
|
+
-webkit-mask-composite: source-in;
|
|
1530
|
+
mask-composite: intersect;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
.mask-r-from-\[calc\(100\%-min\(var\(--fade-size\)\,var\(--scroll-area-overflow-x-end\)\)\)\] {
|
|
1534
|
+
-webkit-mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1535
|
+
-webkit-mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1536
|
+
mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1537
|
+
--tw-mask-linear: var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);
|
|
1538
|
+
--tw-mask-right: linear-gradient(to right, var(--tw-mask-right-from-color) var(--tw-mask-right-from-position), var(--tw-mask-right-to-color) var(--tw-mask-right-to-position));
|
|
1539
|
+
--tw-mask-right-from-position: calc(100% - min(var(--fade-size), var(--scroll-area-overflow-x-end)));
|
|
1540
|
+
-webkit-mask-composite: source-in;
|
|
1541
|
+
-webkit-mask-composite: source-in;
|
|
1542
|
+
mask-composite: intersect;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
.mask-b-from-\[calc\(100\%-min\(var\(--fade-size\)\,var\(--scroll-area-overflow-y-end\)\)\)\] {
|
|
1546
|
+
-webkit-mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1547
|
+
-webkit-mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1548
|
+
mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1549
|
+
--tw-mask-linear: var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);
|
|
1550
|
+
--tw-mask-bottom: linear-gradient(to bottom, var(--tw-mask-bottom-from-color) var(--tw-mask-bottom-from-position), var(--tw-mask-bottom-to-color) var(--tw-mask-bottom-to-position));
|
|
1551
|
+
--tw-mask-bottom-from-position: calc(100% - min(var(--fade-size), var(--scroll-area-overflow-y-end)));
|
|
1552
|
+
-webkit-mask-composite: source-in;
|
|
1553
|
+
-webkit-mask-composite: source-in;
|
|
1554
|
+
mask-composite: intersect;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
.mask-l-from-\[calc\(100\%-min\(var\(--fade-size\)\,var\(--scroll-area-overflow-x-start\)\)\)\] {
|
|
1558
|
+
-webkit-mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1559
|
+
-webkit-mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1560
|
+
mask-image: var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);
|
|
1561
|
+
--tw-mask-linear: var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);
|
|
1562
|
+
--tw-mask-left: linear-gradient(to left, var(--tw-mask-left-from-color) var(--tw-mask-left-from-position), var(--tw-mask-left-to-color) var(--tw-mask-left-to-position));
|
|
1563
|
+
--tw-mask-left-from-position: calc(100% - min(var(--fade-size), var(--scroll-area-overflow-x-start)));
|
|
1564
|
+
-webkit-mask-composite: source-in;
|
|
1565
|
+
-webkit-mask-composite: source-in;
|
|
1566
|
+
mask-composite: intersect;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1468
1569
|
.bg-clip-padding {
|
|
1469
1570
|
background-clip: padding-box;
|
|
1470
1571
|
}
|
|
@@ -1859,17 +1960,22 @@
|
|
|
1859
1960
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1860
1961
|
}
|
|
1861
1962
|
|
|
1862
|
-
.
|
|
1863
|
-
--tw-
|
|
1963
|
+
.ring-1 {
|
|
1964
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1965
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
.inset-shadow-\[0_1px_--theme\(--color-black\/8\%\)\] {
|
|
1969
|
+
--tw-inset-shadow: inset 0 1px var(--tw-inset-shadow-color, #00000014);
|
|
1864
1970
|
}
|
|
1865
1971
|
|
|
1866
1972
|
@supports (color: color-mix(in lab, red, red)) {
|
|
1867
|
-
.inset-shadow-\[0_1px_--theme\(--color-black\/
|
|
1868
|
-
--tw-inset-shadow: inset 0 1px var(--tw-inset-shadow-color, color-mix(in oklab, var(--color-black)
|
|
1973
|
+
.inset-shadow-\[0_1px_--theme\(--color-black\/8\%\)\] {
|
|
1974
|
+
--tw-inset-shadow: inset 0 1px var(--tw-inset-shadow-color, color-mix(in oklab, var(--color-black) 8%, transparent));
|
|
1869
1975
|
}
|
|
1870
1976
|
}
|
|
1871
1977
|
|
|
1872
|
-
.inset-shadow-\[0_1px_--theme\(--color-black\/
|
|
1978
|
+
.inset-shadow-\[0_1px_--theme\(--color-black\/8\%\)\] {
|
|
1873
1979
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1874
1980
|
}
|
|
1875
1981
|
|
|
@@ -1913,6 +2019,16 @@
|
|
|
1913
2019
|
}
|
|
1914
2020
|
}
|
|
1915
2021
|
|
|
2022
|
+
.ring-ring\/50 {
|
|
2023
|
+
--tw-ring-color: var(--ring);
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2027
|
+
.ring-ring\/50 {
|
|
2028
|
+
--tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
|
|
1916
2032
|
.outline {
|
|
1917
2033
|
outline-style: var(--tw-outline-style);
|
|
1918
2034
|
outline-width: 1px;
|
|
@@ -2015,6 +2131,11 @@
|
|
|
2015
2131
|
transition-delay: .3s;
|
|
2016
2132
|
}
|
|
2017
2133
|
|
|
2134
|
+
.duration-100 {
|
|
2135
|
+
--tw-duration: .1s;
|
|
2136
|
+
transition-duration: .1s;
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2018
2139
|
.duration-200 {
|
|
2019
2140
|
--tw-duration: .2s;
|
|
2020
2141
|
transition-duration: .2s;
|
|
@@ -2063,6 +2184,14 @@
|
|
|
2063
2184
|
user-select: none;
|
|
2064
2185
|
}
|
|
2065
2186
|
|
|
2187
|
+
.\[--fade-size\:1\.5rem\] {
|
|
2188
|
+
--fade-size: 1.5rem;
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
.\[--fade-size\:3\.5rem\] {
|
|
2192
|
+
--fade-size: 3.5rem;
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2066
2195
|
.\[--sheet-inset\:0px\] {
|
|
2067
2196
|
--sheet-inset: 0px;
|
|
2068
2197
|
}
|
|
@@ -2229,8 +2358,8 @@
|
|
|
2229
2358
|
border-bottom-width: 0;
|
|
2230
2359
|
}
|
|
2231
2360
|
|
|
2232
|
-
.group-active\/switch\:w-
|
|
2233
|
-
width: calc(var(--spacing) *
|
|
2361
|
+
.group-active\/switch\:w-6:is(:where(.group\/switch):active *) {
|
|
2362
|
+
width: calc(var(--spacing) * 6);
|
|
2234
2363
|
}
|
|
2235
2364
|
|
|
2236
2365
|
.file\:me-3::file-selector-button {
|
|
@@ -2255,13 +2384,13 @@
|
|
|
2255
2384
|
color: var(--foreground);
|
|
2256
2385
|
}
|
|
2257
2386
|
|
|
2258
|
-
.placeholder\:text-muted-foreground\/
|
|
2387
|
+
.placeholder\:text-muted-foreground\/80::placeholder {
|
|
2259
2388
|
color: var(--muted-foreground);
|
|
2260
2389
|
}
|
|
2261
2390
|
|
|
2262
2391
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2263
|
-
.placeholder\:text-muted-foreground\/
|
|
2264
|
-
color: color-mix(in oklab, var(--muted-foreground)
|
|
2392
|
+
.placeholder\:text-muted-foreground\/80::placeholder {
|
|
2393
|
+
color: color-mix(in oklab, var(--muted-foreground) 80%, transparent);
|
|
2265
2394
|
}
|
|
2266
2395
|
}
|
|
2267
2396
|
|
|
@@ -2521,6 +2650,21 @@
|
|
|
2521
2650
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2522
2651
|
}
|
|
2523
2652
|
|
|
2653
|
+
.not-disabled\:not-data-checked\:not-aria-invalid\:before\:shadow-\[0_1px_--theme\(--color-black\/6\%\)\]:not(:disabled):not([data-checked]):not([aria-invalid="true"]):before {
|
|
2654
|
+
content: var(--tw-content);
|
|
2655
|
+
--tw-shadow: 0 1px var(--tw-shadow-color, #0000000f);
|
|
2656
|
+
}
|
|
2657
|
+
|
|
2658
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2659
|
+
.not-disabled\:not-data-checked\:not-aria-invalid\:before\:shadow-\[0_1px_--theme\(--color-black\/6\%\)\]:not(:disabled):not([data-checked]):not([aria-invalid="true"]):before {
|
|
2660
|
+
--tw-shadow: 0 1px var(--tw-shadow-color, color-mix(in oklab, var(--color-black) 6%, transparent));
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2664
|
+
.not-disabled\:not-data-checked\:not-aria-invalid\:before\:shadow-\[0_1px_--theme\(--color-black\/6\%\)\]:not(:disabled):not([data-checked]):not([aria-invalid="true"]):before {
|
|
2665
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2524
2668
|
.not-data-disabled\:not-focus-within\:not-aria-invalid\:before\:shadow-\[0_1px_--theme\(--color-black\/4\%\)\]:not([data-disabled]):not(:focus-within):not([aria-invalid="true"]):before {
|
|
2525
2669
|
content: var(--tw-content);
|
|
2526
2670
|
--tw-shadow: 0 1px var(--tw-shadow-color, #0000000a);
|
|
@@ -2640,7 +2784,7 @@
|
|
|
2640
2784
|
}
|
|
2641
2785
|
|
|
2642
2786
|
@media (hover: hover) {
|
|
2643
|
-
.hover\:bg-accent
|
|
2787
|
+
.hover\:bg-accent\/50:hover {
|
|
2644
2788
|
background-color: var(--accent);
|
|
2645
2789
|
}
|
|
2646
2790
|
|
|
@@ -2660,6 +2804,16 @@
|
|
|
2660
2804
|
}
|
|
2661
2805
|
}
|
|
2662
2806
|
|
|
2807
|
+
.hover\:bg-highlight:hover, .hover\:bg-highlight\/50:hover {
|
|
2808
|
+
background-color: var(--highlight);
|
|
2809
|
+
}
|
|
2810
|
+
|
|
2811
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2812
|
+
.hover\:bg-highlight\/50:hover {
|
|
2813
|
+
background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
|
|
2814
|
+
}
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2663
2817
|
.hover\:bg-muted:hover {
|
|
2664
2818
|
background-color: var(--muted);
|
|
2665
2819
|
}
|
|
@@ -2952,6 +3106,16 @@
|
|
|
2952
3106
|
}
|
|
2953
3107
|
}
|
|
2954
3108
|
|
|
3109
|
+
.has-data-checked\:border-ring\/48:has([data-checked]) {
|
|
3110
|
+
border-color: var(--ring);
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3114
|
+
.has-data-checked\:border-ring\/48:has([data-checked]) {
|
|
3115
|
+
border-color: color-mix(in oklab, var(--ring) 48%, transparent);
|
|
3116
|
+
}
|
|
3117
|
+
}
|
|
3118
|
+
|
|
2955
3119
|
.has-data-checked\:bg-accent\/50:has([data-checked]) {
|
|
2956
3120
|
background-color: var(--accent);
|
|
2957
3121
|
}
|
|
@@ -2962,6 +3126,16 @@
|
|
|
2962
3126
|
}
|
|
2963
3127
|
}
|
|
2964
3128
|
|
|
3129
|
+
.has-data-checked\:bg-highlight\/50:has([data-checked]) {
|
|
3130
|
+
background-color: var(--highlight);
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3134
|
+
.has-data-checked\:bg-highlight\/50:has([data-checked]) {
|
|
3135
|
+
background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
|
|
3136
|
+
}
|
|
3137
|
+
}
|
|
3138
|
+
|
|
2965
3139
|
.has-data-starting-style\:scale-98:has([data-starting-style]) {
|
|
2966
3140
|
--tw-scale-x: 98%;
|
|
2967
3141
|
--tw-scale-y: 98%;
|
|
@@ -3175,6 +3349,10 @@
|
|
|
3175
3349
|
}
|
|
3176
3350
|
}
|
|
3177
3351
|
|
|
3352
|
+
.data-active\:text-foreground[data-active] {
|
|
3353
|
+
color: var(--foreground);
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3178
3356
|
.data-behind\:pointer-events-none[data-behind] {
|
|
3179
3357
|
pointer-events: none;
|
|
3180
3358
|
}
|
|
@@ -3188,8 +3366,16 @@
|
|
|
3188
3366
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3189
3367
|
}
|
|
3190
3368
|
|
|
3191
|
-
.data-checked\:bg
|
|
3192
|
-
background-color: var(--
|
|
3369
|
+
.data-checked\:bg-\[oklch\(from_var\(--accent\)_l_0\.05_h\)\][data-checked] {
|
|
3370
|
+
background-color: oklch(from var(--accent) l .05 h);
|
|
3371
|
+
}
|
|
3372
|
+
|
|
3373
|
+
.data-checked\:bg-\[oklch\(from_var\(--accent\)_l_0\.07_h\)\][data-checked] {
|
|
3374
|
+
background-color: oklch(from var(--accent) l .07 h);
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3377
|
+
.data-checked\:bg-accent[data-checked] {
|
|
3378
|
+
background-color: var(--accent);
|
|
3193
3379
|
}
|
|
3194
3380
|
|
|
3195
3381
|
.data-checked\:group-active\/switch\:translate-x-2\.5[data-checked]:is(:where(.group\/switch):active *) {
|
|
@@ -3271,14 +3457,30 @@
|
|
|
3271
3457
|
opacity: 1;
|
|
3272
3458
|
}
|
|
3273
3459
|
|
|
3274
|
-
.data-
|
|
3275
|
-
|
|
3460
|
+
.data-has-overflow-x\:overscroll-x-contain[data-has-overflow-x] {
|
|
3461
|
+
overscroll-behavior-x: contain;
|
|
3462
|
+
}
|
|
3463
|
+
|
|
3464
|
+
.data-has-overflow-x\:pb-2\.5[data-has-overflow-x] {
|
|
3465
|
+
padding-bottom: calc(var(--spacing) * 2.5);
|
|
3466
|
+
}
|
|
3467
|
+
|
|
3468
|
+
.data-has-overflow-y\:pe-2\.5[data-has-overflow-y] {
|
|
3469
|
+
padding-inline-end: calc(var(--spacing) * 2.5);
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3472
|
+
.data-highlighted\:bg-highlight[data-highlighted] {
|
|
3473
|
+
background-color: var(--highlight);
|
|
3276
3474
|
}
|
|
3277
3475
|
|
|
3278
3476
|
.data-highlighted\:text-accent-foreground[data-highlighted] {
|
|
3279
3477
|
color: var(--accent-foreground);
|
|
3280
3478
|
}
|
|
3281
3479
|
|
|
3480
|
+
.data-highlighted\:text-highlight-foreground[data-highlighted] {
|
|
3481
|
+
color: var(--highlight-foreground);
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3282
3484
|
.data-hovering\:opacity-100[data-hovering] {
|
|
3283
3485
|
opacity: 1;
|
|
3284
3486
|
}
|
|
@@ -3318,8 +3520,8 @@
|
|
|
3318
3520
|
opacity: 0;
|
|
3319
3521
|
}
|
|
3320
3522
|
|
|
3321
|
-
.data-pressed\:bg-
|
|
3322
|
-
background-color: var(--
|
|
3523
|
+
.data-pressed\:bg-highlight[data-pressed] {
|
|
3524
|
+
background-color: var(--highlight);
|
|
3323
3525
|
}
|
|
3324
3526
|
|
|
3325
3527
|
.data-pressed\:bg-secondary\/90[data-pressed] {
|
|
@@ -3358,10 +3560,6 @@
|
|
|
3358
3560
|
animation-delay: 0s;
|
|
3359
3561
|
}
|
|
3360
3562
|
|
|
3361
|
-
.data-selected\:text-foreground[data-selected] {
|
|
3362
|
-
color: var(--foreground);
|
|
3363
|
-
}
|
|
3364
|
-
|
|
3365
3563
|
.data-starting-style\:h-0[data-starting-style] {
|
|
3366
3564
|
height: calc(var(--spacing) * 0);
|
|
3367
3565
|
}
|
|
@@ -3401,8 +3599,8 @@
|
|
|
3401
3599
|
display: none;
|
|
3402
3600
|
}
|
|
3403
3601
|
|
|
3404
|
-
.data-unchecked\:translate-x-
|
|
3405
|
-
--tw-translate-x:
|
|
3602
|
+
.data-unchecked\:translate-x-\[-4px\][data-unchecked] {
|
|
3603
|
+
--tw-translate-x: -4px;
|
|
3406
3604
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3407
3605
|
}
|
|
3408
3606
|
|
|
@@ -3410,10 +3608,6 @@
|
|
|
3410
3608
|
background-color: var(--input);
|
|
3411
3609
|
}
|
|
3412
3610
|
|
|
3413
|
-
.data-\[disabled\]\:pointer-events-none[data-disabled] {
|
|
3414
|
-
pointer-events: none;
|
|
3415
|
-
}
|
|
3416
|
-
|
|
3417
3611
|
.data-\[orientation\=horizontal\]\:my-0\.5[data-orientation="horizontal"] {
|
|
3418
3612
|
margin-block: calc(var(--spacing) * .5);
|
|
3419
3613
|
}
|
|
@@ -3672,8 +3866,8 @@
|
|
|
3672
3866
|
}
|
|
3673
3867
|
|
|
3674
3868
|
@media (hover: hover) {
|
|
3675
|
-
:is(.\*\:data-\[slot\=tabs-trigger\]\:hover\:bg-
|
|
3676
|
-
background-color: var(--
|
|
3869
|
+
:is(.\*\:data-\[slot\=tabs-trigger\]\:hover\:bg-highlight > *)[data-slot="tabs-trigger"]:hover {
|
|
3870
|
+
background-color: var(--highlight);
|
|
3677
3871
|
}
|
|
3678
3872
|
}
|
|
3679
3873
|
|
|
@@ -3944,10 +4138,6 @@
|
|
|
3944
4138
|
border-color: var(--background);
|
|
3945
4139
|
}
|
|
3946
4140
|
|
|
3947
|
-
.dark\:bg-accent:is(.dark *) {
|
|
3948
|
-
background-color: var(--accent);
|
|
3949
|
-
}
|
|
3950
|
-
|
|
3951
4141
|
.dark\:bg-destructive\/16:is(.dark *) {
|
|
3952
4142
|
background-color: var(--destructive);
|
|
3953
4143
|
}
|
|
@@ -3958,6 +4148,10 @@
|
|
|
3958
4148
|
}
|
|
3959
4149
|
}
|
|
3960
4150
|
|
|
4151
|
+
.dark\:bg-highlight:is(.dark *) {
|
|
4152
|
+
background-color: var(--highlight);
|
|
4153
|
+
}
|
|
4154
|
+
|
|
3961
4155
|
.dark\:bg-info\/16:is(.dark *) {
|
|
3962
4156
|
background-color: var(--info);
|
|
3963
4157
|
}
|
|
@@ -4207,8 +4401,8 @@
|
|
|
4207
4401
|
}
|
|
4208
4402
|
|
|
4209
4403
|
@media (hover: hover) {
|
|
4210
|
-
.dark\:hover\:bg-
|
|
4211
|
-
background-color: var(--
|
|
4404
|
+
.dark\:hover\:bg-highlight:is(.dark *):hover {
|
|
4405
|
+
background-color: var(--highlight);
|
|
4212
4406
|
}
|
|
4213
4407
|
|
|
4214
4408
|
.dark\:hover\:bg-input\/64:is(.dark *):hover {
|
|
@@ -4438,23 +4632,23 @@
|
|
|
4438
4632
|
}
|
|
4439
4633
|
}
|
|
4440
4634
|
|
|
4441
|
-
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-
|
|
4442
|
-
background-color: var(--
|
|
4635
|
+
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-destructive\/4:is(:hover, [data-pressed]) {
|
|
4636
|
+
background-color: var(--destructive);
|
|
4443
4637
|
}
|
|
4444
4638
|
|
|
4445
4639
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4446
|
-
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-
|
|
4447
|
-
background-color: color-mix(in oklab, var(--
|
|
4640
|
+
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-destructive\/4:is(:hover, [data-pressed]) {
|
|
4641
|
+
background-color: color-mix(in oklab, var(--destructive) 4%, transparent);
|
|
4448
4642
|
}
|
|
4449
4643
|
}
|
|
4450
4644
|
|
|
4451
|
-
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-
|
|
4452
|
-
background-color: var(--
|
|
4645
|
+
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-highlight\/50:is(:hover, [data-pressed]) {
|
|
4646
|
+
background-color: var(--highlight);
|
|
4453
4647
|
}
|
|
4454
4648
|
|
|
4455
4649
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4456
|
-
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-
|
|
4457
|
-
background-color: color-mix(in oklab, var(--
|
|
4650
|
+
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-highlight\/50:is(:hover, [data-pressed]) {
|
|
4651
|
+
background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
|
|
4458
4652
|
}
|
|
4459
4653
|
}
|
|
4460
4654
|
|
|
@@ -4711,23 +4905,23 @@
|
|
|
4711
4905
|
}
|
|
4712
4906
|
|
|
4713
4907
|
@media (hover: hover) {
|
|
4714
|
-
:is(.\[button\,a\&\]\:hover\:bg-
|
|
4715
|
-
background-color: var(--
|
|
4908
|
+
:is(.\[button\,a\&\]\:hover\:bg-destructive\/90 button, a.\[button\,a\&\]\:hover\:bg-destructive\/90):hover {
|
|
4909
|
+
background-color: var(--destructive);
|
|
4716
4910
|
}
|
|
4717
4911
|
|
|
4718
4912
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4719
|
-
:is(.\[button\,a\&\]\:hover\:bg-
|
|
4720
|
-
background-color: color-mix(in oklab, var(--
|
|
4913
|
+
:is(.\[button\,a\&\]\:hover\:bg-destructive\/90 button, a.\[button\,a\&\]\:hover\:bg-destructive\/90):hover {
|
|
4914
|
+
background-color: color-mix(in oklab, var(--destructive) 90%, transparent);
|
|
4721
4915
|
}
|
|
4722
4916
|
}
|
|
4723
4917
|
|
|
4724
|
-
:is(.\[button\,a\&\]\:hover\:bg-
|
|
4725
|
-
background-color: var(--
|
|
4918
|
+
:is(.\[button\,a\&\]\:hover\:bg-highlight\/50 button, a.\[button\,a\&\]\:hover\:bg-highlight\/50):hover {
|
|
4919
|
+
background-color: var(--highlight);
|
|
4726
4920
|
}
|
|
4727
4921
|
|
|
4728
4922
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4729
|
-
:is(.\[button\,a\&\]\:hover\:bg-
|
|
4730
|
-
background-color: color-mix(in oklab, var(--
|
|
4923
|
+
:is(.\[button\,a\&\]\:hover\:bg-highlight\/50 button, a.\[button\,a\&\]\:hover\:bg-highlight\/50):hover {
|
|
4924
|
+
background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
|
|
4731
4925
|
}
|
|
4732
4926
|
}
|
|
4733
4927
|
|
|
@@ -4902,20 +5096,20 @@
|
|
|
4902
5096
|
}
|
|
4903
5097
|
|
|
4904
5098
|
:root {
|
|
5099
|
+
--accent: oklch(44% .12 146.31);
|
|
5100
|
+
--accent-foreground: oklch(20.5% 0 0);
|
|
4905
5101
|
--background: oklch(100% 0 0);
|
|
4906
|
-
--foreground: oklch(
|
|
5102
|
+
--foreground: oklch(from var(--accent) .25 c h);
|
|
4907
5103
|
--card: oklch(100% 0 0);
|
|
4908
5104
|
--card-foreground: oklch(14.5% 0 0);
|
|
4909
5105
|
--popover: oklch(100% 0 0);
|
|
4910
5106
|
--popover-foreground: oklch(14.5% 0 0);
|
|
4911
|
-
--primary: oklch(
|
|
5107
|
+
--primary: oklch(from var(--accent) .1 c h);
|
|
4912
5108
|
--primary-foreground: oklch(98.5% 0 0);
|
|
4913
5109
|
--secondary: oklch(97% 0 0);
|
|
4914
5110
|
--secondary-foreground: oklch(20.5% 0 0);
|
|
4915
5111
|
--muted: oklch(97% 0 0);
|
|
4916
|
-
--muted-foreground: oklch(
|
|
4917
|
-
--accent: oklch(97% 0 0);
|
|
4918
|
-
--accent-foreground: oklch(20.5% 0 0);
|
|
5112
|
+
--muted-foreground: oklch(from var(--accent) .65 .015 h);
|
|
4919
5113
|
--destructive: oklch(57.7% .245 27.325);
|
|
4920
5114
|
--destructive-foreground: oklch(57.7% .245 27.325);
|
|
4921
5115
|
--border: oklch(92.2% 0 0);
|
|
@@ -4936,6 +5130,8 @@
|
|
|
4936
5130
|
--sidebar-border: oklch(92.2% 0 0);
|
|
4937
5131
|
--sidebar-ring: oklch(70.8% 0 0);
|
|
4938
5132
|
--spacing-touch: calc(var(--spacing) * 4);
|
|
5133
|
+
--highlight: oklch(97% 0 0);
|
|
5134
|
+
--highlight-foreground: oklch(20.5% 0 0);
|
|
4939
5135
|
--info: var(--color-blue-500);
|
|
4940
5136
|
--info-foreground: var(--color-blue-700);
|
|
4941
5137
|
--success: var(--color-emerald-500);
|
|
@@ -4977,6 +5173,8 @@
|
|
|
4977
5173
|
--sidebar-accent-foreground: oklch(98.5% 0 0);
|
|
4978
5174
|
--sidebar-border: oklch(26.9% 0 0);
|
|
4979
5175
|
--sidebar-ring: oklch(43.9% 0 0);
|
|
5176
|
+
--highlight: oklch(97% 0 0);
|
|
5177
|
+
--highlight-foreground: oklch(20.5% 0 0);
|
|
4980
5178
|
--info: var(--color-blue-500);
|
|
4981
5179
|
--info-foreground: var(--color-blue-400);
|
|
4982
5180
|
--success: var(--color-emerald-500);
|
|
@@ -5074,6 +5272,144 @@
|
|
|
5074
5272
|
initial-value: solid;
|
|
5075
5273
|
}
|
|
5076
5274
|
|
|
5275
|
+
@property --tw-mask-linear {
|
|
5276
|
+
syntax: "*";
|
|
5277
|
+
inherits: false;
|
|
5278
|
+
initial-value: linear-gradient(#fff, #fff);
|
|
5279
|
+
}
|
|
5280
|
+
|
|
5281
|
+
@property --tw-mask-radial {
|
|
5282
|
+
syntax: "*";
|
|
5283
|
+
inherits: false;
|
|
5284
|
+
initial-value: linear-gradient(#fff, #fff);
|
|
5285
|
+
}
|
|
5286
|
+
|
|
5287
|
+
@property --tw-mask-conic {
|
|
5288
|
+
syntax: "*";
|
|
5289
|
+
inherits: false;
|
|
5290
|
+
initial-value: linear-gradient(#fff, #fff);
|
|
5291
|
+
}
|
|
5292
|
+
|
|
5293
|
+
@property --tw-mask-left {
|
|
5294
|
+
syntax: "*";
|
|
5295
|
+
inherits: false;
|
|
5296
|
+
initial-value: linear-gradient(#fff, #fff);
|
|
5297
|
+
}
|
|
5298
|
+
|
|
5299
|
+
@property --tw-mask-right {
|
|
5300
|
+
syntax: "*";
|
|
5301
|
+
inherits: false;
|
|
5302
|
+
initial-value: linear-gradient(#fff, #fff);
|
|
5303
|
+
}
|
|
5304
|
+
|
|
5305
|
+
@property --tw-mask-bottom {
|
|
5306
|
+
syntax: "*";
|
|
5307
|
+
inherits: false;
|
|
5308
|
+
initial-value: linear-gradient(#fff, #fff);
|
|
5309
|
+
}
|
|
5310
|
+
|
|
5311
|
+
@property --tw-mask-top {
|
|
5312
|
+
syntax: "*";
|
|
5313
|
+
inherits: false;
|
|
5314
|
+
initial-value: linear-gradient(#fff, #fff);
|
|
5315
|
+
}
|
|
5316
|
+
|
|
5317
|
+
@property --tw-mask-top-from-position {
|
|
5318
|
+
syntax: "*";
|
|
5319
|
+
inherits: false;
|
|
5320
|
+
initial-value: 0%;
|
|
5321
|
+
}
|
|
5322
|
+
|
|
5323
|
+
@property --tw-mask-top-to-position {
|
|
5324
|
+
syntax: "*";
|
|
5325
|
+
inherits: false;
|
|
5326
|
+
initial-value: 100%;
|
|
5327
|
+
}
|
|
5328
|
+
|
|
5329
|
+
@property --tw-mask-top-from-color {
|
|
5330
|
+
syntax: "*";
|
|
5331
|
+
inherits: false;
|
|
5332
|
+
initial-value: black;
|
|
5333
|
+
}
|
|
5334
|
+
|
|
5335
|
+
@property --tw-mask-top-to-color {
|
|
5336
|
+
syntax: "*";
|
|
5337
|
+
inherits: false;
|
|
5338
|
+
initial-value: transparent;
|
|
5339
|
+
}
|
|
5340
|
+
|
|
5341
|
+
@property --tw-mask-right-from-position {
|
|
5342
|
+
syntax: "*";
|
|
5343
|
+
inherits: false;
|
|
5344
|
+
initial-value: 0%;
|
|
5345
|
+
}
|
|
5346
|
+
|
|
5347
|
+
@property --tw-mask-right-to-position {
|
|
5348
|
+
syntax: "*";
|
|
5349
|
+
inherits: false;
|
|
5350
|
+
initial-value: 100%;
|
|
5351
|
+
}
|
|
5352
|
+
|
|
5353
|
+
@property --tw-mask-right-from-color {
|
|
5354
|
+
syntax: "*";
|
|
5355
|
+
inherits: false;
|
|
5356
|
+
initial-value: black;
|
|
5357
|
+
}
|
|
5358
|
+
|
|
5359
|
+
@property --tw-mask-right-to-color {
|
|
5360
|
+
syntax: "*";
|
|
5361
|
+
inherits: false;
|
|
5362
|
+
initial-value: transparent;
|
|
5363
|
+
}
|
|
5364
|
+
|
|
5365
|
+
@property --tw-mask-bottom-from-position {
|
|
5366
|
+
syntax: "*";
|
|
5367
|
+
inherits: false;
|
|
5368
|
+
initial-value: 0%;
|
|
5369
|
+
}
|
|
5370
|
+
|
|
5371
|
+
@property --tw-mask-bottom-to-position {
|
|
5372
|
+
syntax: "*";
|
|
5373
|
+
inherits: false;
|
|
5374
|
+
initial-value: 100%;
|
|
5375
|
+
}
|
|
5376
|
+
|
|
5377
|
+
@property --tw-mask-bottom-from-color {
|
|
5378
|
+
syntax: "*";
|
|
5379
|
+
inherits: false;
|
|
5380
|
+
initial-value: black;
|
|
5381
|
+
}
|
|
5382
|
+
|
|
5383
|
+
@property --tw-mask-bottom-to-color {
|
|
5384
|
+
syntax: "*";
|
|
5385
|
+
inherits: false;
|
|
5386
|
+
initial-value: transparent;
|
|
5387
|
+
}
|
|
5388
|
+
|
|
5389
|
+
@property --tw-mask-left-from-position {
|
|
5390
|
+
syntax: "*";
|
|
5391
|
+
inherits: false;
|
|
5392
|
+
initial-value: 0%;
|
|
5393
|
+
}
|
|
5394
|
+
|
|
5395
|
+
@property --tw-mask-left-to-position {
|
|
5396
|
+
syntax: "*";
|
|
5397
|
+
inherits: false;
|
|
5398
|
+
initial-value: 100%;
|
|
5399
|
+
}
|
|
5400
|
+
|
|
5401
|
+
@property --tw-mask-left-from-color {
|
|
5402
|
+
syntax: "*";
|
|
5403
|
+
inherits: false;
|
|
5404
|
+
initial-value: black;
|
|
5405
|
+
}
|
|
5406
|
+
|
|
5407
|
+
@property --tw-mask-left-to-color {
|
|
5408
|
+
syntax: "*";
|
|
5409
|
+
inherits: false;
|
|
5410
|
+
initial-value: transparent;
|
|
5411
|
+
}
|
|
5412
|
+
|
|
5077
5413
|
@property --tw-leading {
|
|
5078
5414
|
syntax: "*";
|
|
5079
5415
|
inherits: false
|
package/dist/input.js
CHANGED
|
@@ -7,7 +7,7 @@ function input_Input({ className, size = "default", unstyled = false, ...props }
|
|
|
7
7
|
"data-size": size,
|
|
8
8
|
"data-slot": "input-control",
|
|
9
9
|
children: /*#__PURE__*/ jsx(Input, {
|
|
10
|
-
className: cn("w-full min-w-0 rounded-[inherit] px-[calc(--spacing(3)-1px)] py-[calc(--spacing(1.5)-1px)] outline-none placeholder:text-muted-foreground/
|
|
10
|
+
className: cn("w-full min-w-0 rounded-[inherit] px-[calc(--spacing(3)-1px)] py-[calc(--spacing(1.5)-1px)] outline-none placeholder:text-muted-foreground/80", "sm" === size && "px-[calc(--spacing(2.5)-1px)] py-[calc(--spacing(1)-1px)]", "lg" === size && "py-[calc(--spacing(2)-1px)]", "touch" === size && "py-[calc(--spacing(4)-1px)] px-[calc(--spacing(4)-1px)]", "search" === props.type && "[&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none [&::-webkit-search-results-button]:appearance-none [&::-webkit-search-results-decoration]:appearance-none", "file" === props.type && "text-muted-foreground file:me-3 file:bg-transparent file:font-medium file:text-foreground file:text-sm"),
|
|
11
11
|
"data-slot": "input",
|
|
12
12
|
size: "number" == typeof size ? size : void 0,
|
|
13
13
|
...props
|
package/dist/menu.js
CHANGED
|
@@ -38,7 +38,7 @@ function MenuGroup(props) {
|
|
|
38
38
|
}
|
|
39
39
|
function MenuItem({ className, inset, variant = "default", size = "default", ...props }) {
|
|
40
40
|
return /*#__PURE__*/ jsx(Menu.Item, {
|
|
41
|
-
className: cn("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-
|
|
41
|
+
className: cn("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-inset:ps-8 data-[variant=destructive]:text-destructive-foreground data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 data-[size=touch]:py-(--spacing-touch)", className),
|
|
42
42
|
"data-inset": inset,
|
|
43
43
|
"data-slot": "menu-item",
|
|
44
44
|
"data-variant": variant,
|
|
@@ -49,7 +49,7 @@ function MenuItem({ className, inset, variant = "default", size = "default", ...
|
|
|
49
49
|
function MenuCheckboxItem({ className, children, checked, size = "default", ...props }) {
|
|
50
50
|
return /*#__PURE__*/ jsxs(Menu.CheckboxItem, {
|
|
51
51
|
checked: checked,
|
|
52
|
-
className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-
|
|
52
|
+
className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 data-[size=touch]:py-(--spacing-touch)", className),
|
|
53
53
|
"data-slot": "menu-checkbox-item",
|
|
54
54
|
"data-size": size,
|
|
55
55
|
...props,
|
|
@@ -73,7 +73,7 @@ function MenuRadioGroup(props) {
|
|
|
73
73
|
}
|
|
74
74
|
function MenuRadioItem({ className, children, size = "default", ...props }) {
|
|
75
75
|
return /*#__PURE__*/ jsxs(Menu.RadioItem, {
|
|
76
|
-
className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-
|
|
76
|
+
className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 data-[size=touch]:py-(--spacing-touch)", className),
|
|
77
77
|
"data-slot": "menu-radio-item",
|
|
78
78
|
"data-size": size,
|
|
79
79
|
...props,
|
|
@@ -119,7 +119,7 @@ function MenuSub(props) {
|
|
|
119
119
|
}
|
|
120
120
|
function MenuSubTrigger({ className, inset, children, size = "default", ...props }) {
|
|
121
121
|
return /*#__PURE__*/ jsxs(Menu.SubmenuTrigger, {
|
|
122
|
-
className: cn("flex items-center gap-2 rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-
|
|
122
|
+
className: cn("flex items-center gap-2 rounded-sm px-2 py-1 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-inset:ps-8 data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none data-[size=touch]:py-(--spacing-touch)", className),
|
|
123
123
|
"data-inset": inset,
|
|
124
124
|
"data-slot": "menu-sub-trigger",
|
|
125
125
|
"data-size": size,
|
package/dist/number-field.js
CHANGED
|
@@ -30,7 +30,7 @@ function NumberFieldGroup({ className, ...props }) {
|
|
|
30
30
|
}
|
|
31
31
|
function NumberFieldDecrement({ className, ...props }) {
|
|
32
32
|
return /*#__PURE__*/ jsx(NumberField.Decrement, {
|
|
33
|
-
className: cn("relative flex shrink-0 cursor-pointer items-center justify-center rounded-s-[calc(var(--radius-lg)-1px)] in-data-[size=sm]:px-[calc(--spacing(2.5)-1px)] px-[calc(--spacing(3)-1px)] transition-colors pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-
|
|
33
|
+
className: cn("relative flex shrink-0 cursor-pointer items-center justify-center rounded-s-[calc(var(--radius-lg)-1px)] in-data-[size=sm]:px-[calc(--spacing(2.5)-1px)] px-[calc(--spacing(3)-1px)] transition-colors pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-highlight", className),
|
|
34
34
|
"data-slot": "number-field-decrement",
|
|
35
35
|
...props,
|
|
36
36
|
children: /*#__PURE__*/ jsx(MinusIcon, {})
|
|
@@ -38,7 +38,7 @@ function NumberFieldDecrement({ className, ...props }) {
|
|
|
38
38
|
}
|
|
39
39
|
function NumberFieldIncrement({ className, ...props }) {
|
|
40
40
|
return /*#__PURE__*/ jsx(NumberField.Increment, {
|
|
41
|
-
className: cn("relative flex shrink-0 cursor-pointer items-center justify-center rounded-e-[calc(var(--radius-lg)-1px)] in-data-[size=sm]:px-[calc(--spacing(2.5)-1px)] px-[calc(--spacing(3)-1px)] transition-colors pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-
|
|
41
|
+
className: cn("relative flex shrink-0 cursor-pointer items-center justify-center rounded-e-[calc(var(--radius-lg)-1px)] in-data-[size=sm]:px-[calc(--spacing(2.5)-1px)] px-[calc(--spacing(3)-1px)] transition-colors pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-highlight", className),
|
|
42
42
|
"data-slot": "number-field-increment",
|
|
43
43
|
...props,
|
|
44
44
|
children: /*#__PURE__*/ jsx(PlusIcon, {})
|
package/dist/radio-group.js
CHANGED
|
@@ -15,7 +15,7 @@ function radio_group_Radio({ className, ...props }) {
|
|
|
15
15
|
"data-slot": "radio",
|
|
16
16
|
...props,
|
|
17
17
|
children: /*#__PURE__*/ jsx(Radio.Indicator, {
|
|
18
|
-
className: "-inset-px absolute flex size-4 items-center justify-center rounded-full before:size-1.5 before:rounded-full before:bg-primary-foreground data-unchecked:hidden data-checked:bg-
|
|
18
|
+
className: "-inset-px absolute flex size-4 items-center justify-center rounded-full before:size-1.5 before:rounded-full before:bg-primary-foreground data-unchecked:hidden data-checked:bg-[oklch(from_var(--accent)_l_0.05_h)]",
|
|
19
19
|
"data-slot": "radio-indicator"
|
|
20
20
|
})
|
|
21
21
|
});
|
package/dist/scroll-area.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ScrollArea as ScrollAreaPrimitive } from "@base-ui-components/react/scroll-area";
|
|
2
|
-
declare function ScrollArea({ className, children,
|
|
3
|
-
|
|
2
|
+
declare function ScrollArea({ className, children, scrollFade, scrollbarGutter, ...props }: ScrollAreaPrimitive.Root.Props & {
|
|
3
|
+
scrollFade?: boolean;
|
|
4
|
+
scrollbarGutter?: boolean;
|
|
4
5
|
}): import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
declare function ScrollBar({ className, orientation, ...props }: ScrollAreaPrimitive.Scrollbar.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export { ScrollArea, ScrollBar };
|
package/dist/scroll-area.js
CHANGED
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ScrollArea } from "@base-ui-components/react/scroll-area";
|
|
3
3
|
import { cn } from "./lib/utils.js";
|
|
4
|
-
function scroll_area_ScrollArea({ className, children,
|
|
4
|
+
function scroll_area_ScrollArea({ className, children, scrollFade = false, scrollbarGutter = false, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsxs(ScrollArea.Root, {
|
|
6
|
-
className: "min-h-0",
|
|
6
|
+
className: cn("size-full min-h-0", className),
|
|
7
7
|
...props,
|
|
8
8
|
children: [
|
|
9
9
|
/*#__PURE__*/ jsx(ScrollArea.Viewport, {
|
|
10
|
-
className: cn("
|
|
10
|
+
className: cn("h-full rounded-[inherit] outline-none transition-shadows focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background data-has-overflow-x:overscroll-x-contain", scrollFade && "mask-t-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-y-start)))] mask-b-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-y-end)))] mask-l-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-x-start)))] mask-r-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-x-end)))] [--fade-size:1.5rem]", scrollbarGutter && "data-has-overflow-y:pe-2.5 data-has-overflow-x:pb-2.5"),
|
|
11
11
|
"data-slot": "scroll-area-viewport",
|
|
12
12
|
children: children
|
|
13
13
|
}),
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/*#__PURE__*/ jsx(ScrollBar, {
|
|
20
|
-
orientation: "horizontal"
|
|
21
|
-
})
|
|
22
|
-
]
|
|
23
|
-
}) : /*#__PURE__*/ jsx(ScrollBar, {
|
|
24
|
-
orientation: orientation
|
|
14
|
+
/*#__PURE__*/ jsx(ScrollBar, {
|
|
15
|
+
orientation: "vertical"
|
|
16
|
+
}),
|
|
17
|
+
/*#__PURE__*/ jsx(ScrollBar, {
|
|
18
|
+
orientation: "horizontal"
|
|
25
19
|
}),
|
|
26
20
|
/*#__PURE__*/ jsx(ScrollArea.Corner, {
|
|
27
21
|
"data-slot": "scroll-area-corner"
|
|
@@ -31,7 +25,7 @@ function scroll_area_ScrollArea({ className, children, orientation, ...props })
|
|
|
31
25
|
}
|
|
32
26
|
function ScrollBar({ className, orientation = "vertical", ...props }) {
|
|
33
27
|
return /*#__PURE__*/ jsx(ScrollArea.Scrollbar, {
|
|
34
|
-
className: cn("m-
|
|
28
|
+
className: cn("m-1 flex opacity-0 transition-opacity delay-300 data-[orientation=horizontal]:h-1.5 data-[orientation=vertical]:w-1.5 data-[orientation=horizontal]:flex-col data-hovering:opacity-100 data-scrolling:opacity-100 data-hovering:delay-0 data-scrolling:delay-0 data-hovering:duration-100 data-scrolling:duration-100", className),
|
|
35
29
|
"data-slot": "scroll-area-scrollbar",
|
|
36
30
|
orientation: orientation,
|
|
37
31
|
...props,
|
package/dist/select.js
CHANGED
|
@@ -67,7 +67,7 @@ function SelectPopup({ className, children, sideOffset = 4, alignItemWithTrigger
|
|
|
67
67
|
}
|
|
68
68
|
function SelectItem({ className, children, ...props }) {
|
|
69
69
|
return /*#__PURE__*/ jsxs(Select.Item, {
|
|
70
|
-
className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-
|
|
70
|
+
className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-highlight data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
|
|
71
71
|
"data-slot": "select-item",
|
|
72
72
|
...props,
|
|
73
73
|
children: [
|
package/dist/slider.js
CHANGED
|
@@ -29,7 +29,7 @@ function slider_Slider({ className, children, defaultValue, value, min = 0, max
|
|
|
29
29
|
children: [
|
|
30
30
|
children,
|
|
31
31
|
/*#__PURE__*/ jsx(Slider.Control, {
|
|
32
|
-
className: cn("flex touch-none select-none data-
|
|
32
|
+
className: cn("flex touch-none select-none data-disabled:pointer-events-none data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=horizontal]:w-full data-[orientation=horizontal]:min-w-44 data-[orientation=vertical]:flex-col data-disabled:opacity-64", className),
|
|
33
33
|
"data-slot": "slider-control",
|
|
34
34
|
children: /*#__PURE__*/ jsxs(Slider.Track, {
|
|
35
35
|
className: "relative grow select-none before:absolute before:rounded-full before:bg-input data-[orientation=horizontal]:h-1 data-[orientation=vertical]:h-full data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-1 data-[orientation=horizontal]:before:inset-x-0.5 data-[orientation=vertical]:before:inset-x-0 data-[orientation=horizontal]:before:inset-y-0 data-[orientation=vertical]:before:inset-y-0.5",
|
package/dist/styles.css
CHANGED
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
@custom-variant dark (&:is(.dark *));
|
|
5
5
|
|
|
6
6
|
:root {
|
|
7
|
+
--accent: oklch(0.44 0.12 146.31);
|
|
8
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
7
9
|
--background: oklch(1 0 0);
|
|
8
|
-
--foreground: oklch(0.
|
|
10
|
+
--foreground: oklch(from var(--accent) 0.25 c h);
|
|
9
11
|
--card: oklch(1 0 0);
|
|
10
12
|
--card-foreground: oklch(0.145 0 0);
|
|
11
13
|
--popover: oklch(1 0 0);
|
|
12
14
|
--popover-foreground: oklch(0.145 0 0);
|
|
13
|
-
--primary: oklch(0.
|
|
15
|
+
--primary: oklch(from var(--accent) 0.1 c h);
|
|
14
16
|
--primary-foreground: oklch(0.985 0 0);
|
|
15
17
|
--secondary: oklch(0.97 0 0);
|
|
16
18
|
--secondary-foreground: oklch(0.205 0 0);
|
|
17
19
|
--muted: oklch(0.97 0 0);
|
|
18
|
-
--muted-foreground: oklch(0.
|
|
19
|
-
--accent: oklch(0.97 0 0);
|
|
20
|
-
--accent-foreground: oklch(0.205 0 0);
|
|
20
|
+
--muted-foreground: oklch(from var(--accent) 0.65 0.015 h);
|
|
21
21
|
--destructive: oklch(0.577 0.245 27.325);
|
|
22
22
|
--destructive-foreground: oklch(0.577 0.245 27.325);
|
|
23
23
|
--border: oklch(0.922 0 0);
|
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
--sidebar-border: oklch(0.922 0 0);
|
|
39
39
|
--sidebar-ring: oklch(0.708 0 0);
|
|
40
40
|
--spacing-touch: calc(var(--spacing) * 4);
|
|
41
|
+
--highlight: oklch(0.97 0 0);
|
|
42
|
+
--highlight-foreground: oklch(0.205 0 0);
|
|
41
43
|
|
|
42
44
|
--info: var(--color-blue-500);
|
|
43
45
|
--info-foreground: var(--color-blue-700);
|
|
@@ -80,6 +82,8 @@
|
|
|
80
82
|
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
81
83
|
--sidebar-border: oklch(0.269 0 0);
|
|
82
84
|
--sidebar-ring: oklch(0.439 0 0);
|
|
85
|
+
--highlight: oklch(0.97 0 0);
|
|
86
|
+
--highlight-foreground: oklch(0.205 0 0);
|
|
83
87
|
|
|
84
88
|
--info: var(--color-blue-500);
|
|
85
89
|
--info-foreground: var(--color-blue-400);
|
|
@@ -126,6 +130,8 @@
|
|
|
126
130
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
127
131
|
--color-sidebar-border: var(--sidebar-border);
|
|
128
132
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
133
|
+
--color-highlight: var(--highlight);
|
|
134
|
+
--color-highlight-foreground: var(--highlight-foreground);
|
|
129
135
|
|
|
130
136
|
--color-info: var(--info);
|
|
131
137
|
--color-info-foreground: var(--info-foreground);
|
package/dist/switch.js
CHANGED
|
@@ -3,11 +3,11 @@ import { Switch } from "@base-ui-components/react/switch";
|
|
|
3
3
|
import { cn } from "./lib/utils.js";
|
|
4
4
|
function switch_Switch({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Switch.Root, {
|
|
6
|
-
className: cn("group/switch inset-shadow-[0_1px_--theme(--color-black/
|
|
6
|
+
className: cn("group/switch inset-shadow-[0_1px_--theme(--color-black/8%)] inline-flex h-4.5 w-7.5 shrink-0 items-center rounded-sm p-px outline-none transition-all focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-64 data-checked:bg-accent data-unchecked:bg-input", className),
|
|
7
7
|
"data-slot": "switch",
|
|
8
8
|
...props,
|
|
9
9
|
children: /*#__PURE__*/ jsx(Switch.Thumb, {
|
|
10
|
-
className: cn("pointer-events-none block size-
|
|
10
|
+
className: cn("pointer-events-none block size-5.5 rounded-sm bg-background ring-1 ring-ring/50 shadow-md transition-[translate,width] group-active/switch:w-6 data-checked:translate-x-3 data-unchecked:translate-x-[-4px] data-checked:group-active/switch:translate-x-2.5"),
|
|
11
11
|
"data-slot": "switch-thumb"
|
|
12
12
|
})
|
|
13
13
|
});
|
package/dist/tabs.js
CHANGED
|
@@ -10,13 +10,13 @@ function tabs_Tabs({ className, ...props }) {
|
|
|
10
10
|
}
|
|
11
11
|
function TabsList({ variant = "default", className, children, ...props }) {
|
|
12
12
|
return /*#__PURE__*/ jsxs(Tabs.List, {
|
|
13
|
-
className: cn("relative z-0 flex w-fit items-center justify-center gap-x-0.5 text-muted-foreground", "data-[orientation=vertical]:flex-col", "default" === variant ? "rounded-lg bg-muted p-0.5 text-muted-foreground/64" : "data-[orientation=vertical]:px-1 data-[orientation=horizontal]:py-1 *:data-[slot=tabs-trigger]:hover:bg-
|
|
13
|
+
className: cn("relative z-0 flex w-fit items-center justify-center gap-x-0.5 text-muted-foreground", "data-[orientation=vertical]:flex-col", "default" === variant ? "rounded-lg bg-muted p-0.5 text-muted-foreground/64" : "data-[orientation=vertical]:px-1 data-[orientation=horizontal]:py-1 *:data-[slot=tabs-trigger]:hover:bg-highlight", className),
|
|
14
14
|
"data-slot": "tabs-list",
|
|
15
15
|
...props,
|
|
16
16
|
children: [
|
|
17
17
|
children,
|
|
18
18
|
/*#__PURE__*/ jsx(Tabs.Indicator, {
|
|
19
|
-
className: cn("-translate-y-(--active-tab-bottom) absolute bottom-0 left-0 h-(--active-tab-height) w-(--active-tab-width) translate-x-(--active-tab-left) transition-[width,translate] duration-200 ease-in-out", "underline" === variant ? "data-[orientation=vertical]:-translate-x-px z-10 bg-primary data-[orientation=horizontal]:h-0.5 data-[orientation=vertical]:w-0.5 data-[orientation=horizontal]:translate-y-px" : "-z-1 rounded-md bg-background shadow-sm dark:bg-
|
|
19
|
+
className: cn("-translate-y-(--active-tab-bottom) absolute bottom-0 left-0 h-(--active-tab-height) w-(--active-tab-width) translate-x-(--active-tab-left) transition-[width,translate] duration-200 ease-in-out", "underline" === variant ? "data-[orientation=vertical]:-translate-x-px z-10 bg-primary data-[orientation=horizontal]:h-0.5 data-[orientation=vertical]:w-0.5 data-[orientation=horizontal]:translate-y-px" : "-z-1 rounded-md bg-background shadow-sm dark:bg-highlight"),
|
|
20
20
|
"data-slot": "tab-indicator"
|
|
21
21
|
})
|
|
22
22
|
]
|
|
@@ -24,7 +24,7 @@ function TabsList({ variant = "default", className, children, ...props }) {
|
|
|
24
24
|
}
|
|
25
25
|
function TabsTab({ className, ...props }) {
|
|
26
26
|
return /*#__PURE__*/ jsx(Tabs.Tab, {
|
|
27
|
-
className: cn("flex flex-1 shrink-0 cursor-pointer items-center justify-center whitespace-nowrap rounded-md border border-transparent font-medium text-sm outline-none transition-[color,background-color,box-shadow] focus-visible:ring-2 focus-visible:ring-ring data-disabled:pointer-events-none data-disabled:opacity-64 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", "hover:text-muted-foreground data-
|
|
27
|
+
className: cn("flex flex-1 shrink-0 cursor-pointer items-center justify-center whitespace-nowrap rounded-md border border-transparent font-medium text-sm outline-none transition-[color,background-color,box-shadow] focus-visible:ring-2 focus-visible:ring-ring data-disabled:pointer-events-none data-disabled:opacity-64 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", "hover:text-muted-foreground data-active:text-foreground", "gap-1.5 px-[calc(--spacing(2.5)-1px)] py-[calc(--spacing(1.5)-1px)]", "data-[orientation=vertical]:w-full data-[orientation=vertical]:justify-start", className),
|
|
28
28
|
"data-slot": "tabs-trigger",
|
|
29
29
|
...props
|
|
30
30
|
});
|
package/dist/toggle.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Toggle } from "@base-ui-components/react/toggle";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
import { cn } from "./lib/utils.js";
|
|
5
|
-
const toggleVariants = cva("relative inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg border font-medium text-sm outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-
|
|
5
|
+
const toggleVariants = cva("relative inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg border font-medium text-sm outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-highlight/50 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 data-pressed:bg-highlight data-pressed:text-accent-foreground data-pressed:transition-none dark:data-pressed:bg-input/80 dark:hover:bg-highlight [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
|
|
6
6
|
defaultVariants: {
|
|
7
7
|
size: "default",
|
|
8
8
|
variant: "default"
|