@biotechusa/pdo-ui 1.0.5 → 1.0.7
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/accordion.d.ts +6 -0
- package/dist/accordion.js +45 -0
- package/dist/alert-dialog.js +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.d.ts +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 +217 -56
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- 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/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
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Accordion as AccordionPrimitive } from "@base-ui-components/react/accordion";
|
|
2
|
+
declare function Accordion(props: AccordionPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function AccordionItem({ className, ...props }: AccordionPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function AccordionTrigger({ className, children, ...props }: AccordionPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function AccordionPanel({ className, children, ...props }: AccordionPrimitive.Panel.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionPanel, AccordionPanel as AccordionContent, };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Accordion } from "@base-ui-components/react/accordion";
|
|
3
|
+
import { ChevronDownIcon } from "lucide-react";
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
|
+
function accordion_Accordion(props) {
|
|
6
|
+
return /*#__PURE__*/ jsx(Accordion.Root, {
|
|
7
|
+
"data-slot": "accordion",
|
|
8
|
+
...props
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
function AccordionItem({ className, ...props }) {
|
|
12
|
+
return /*#__PURE__*/ jsx(Accordion.Item, {
|
|
13
|
+
className: cn("border-b last:border-b-0", className),
|
|
14
|
+
"data-slot": "accordion-item",
|
|
15
|
+
...props
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function AccordionTrigger({ className, children, ...props }) {
|
|
19
|
+
return /*#__PURE__*/ jsx(Accordion.Header, {
|
|
20
|
+
className: "flex",
|
|
21
|
+
children: /*#__PURE__*/ jsxs(Accordion.Trigger, {
|
|
22
|
+
className: cn("flex flex-1 cursor-pointer items-start justify-between gap-4 rounded-md py-4 text-left font-medium text-sm outline-none transition-all focus-visible:ring-[3px] focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-64 [&[data-panel-open]>svg]:rotate-180", className),
|
|
23
|
+
"data-slot": "accordion-trigger",
|
|
24
|
+
...props,
|
|
25
|
+
children: [
|
|
26
|
+
children,
|
|
27
|
+
/*#__PURE__*/ jsx(ChevronDownIcon, {
|
|
28
|
+
className: "pointer-events-none size-4 shrink-0 translate-y-0.5 opacity-72 transition-transform duration-200 ease-in-out"
|
|
29
|
+
})
|
|
30
|
+
]
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function AccordionPanel({ className, children, ...props }) {
|
|
35
|
+
return /*#__PURE__*/ jsx(Accordion.Panel, {
|
|
36
|
+
className: "h-(--accordion-panel-height) overflow-hidden text-muted-foreground text-sm transition-[height] duration-200 ease-in-out data-ending-style:h-0 data-starting-style:h-0",
|
|
37
|
+
"data-slot": "accordion-panel",
|
|
38
|
+
...props,
|
|
39
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
40
|
+
className: cn("pt-0 pb-4", className),
|
|
41
|
+
children: children
|
|
42
|
+
})
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
export { accordion_Accordion as Accordion, AccordionPanel as AccordionContent, AccordionItem, AccordionPanel, AccordionTrigger };
|
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.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { useRender } from "@base-ui-components/react/use-render";
|
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
import type * as React from "react";
|
|
4
4
|
declare const buttonVariants: (props?: ({
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "default" | "touch" | "icon" | "sm" | "lg" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "xl" | "xs" | null | undefined;
|
|
6
6
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "destructive-outline" | "ghost" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
interface ButtonProps extends useRender.ComponentProps<"button"> {
|
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
|
@@ -672,6 +672,16 @@
|
|
|
672
672
|
height: calc(var(--spacing) * 4);
|
|
673
673
|
}
|
|
674
674
|
|
|
675
|
+
.size-4\.5 {
|
|
676
|
+
width: calc(var(--spacing) * 4.5);
|
|
677
|
+
height: calc(var(--spacing) * 4.5);
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.size-5\.5 {
|
|
681
|
+
width: calc(var(--spacing) * 5.5);
|
|
682
|
+
height: calc(var(--spacing) * 5.5);
|
|
683
|
+
}
|
|
684
|
+
|
|
675
685
|
.size-6 {
|
|
676
686
|
width: calc(var(--spacing) * 6);
|
|
677
687
|
height: calc(var(--spacing) * 6);
|
|
@@ -702,6 +712,10 @@
|
|
|
702
712
|
height: 100%;
|
|
703
713
|
}
|
|
704
714
|
|
|
715
|
+
.h-\(--accordion-panel-height\) {
|
|
716
|
+
height: var(--accordion-panel-height);
|
|
717
|
+
}
|
|
718
|
+
|
|
705
719
|
.h-\(--active-tab-height\) {
|
|
706
720
|
height: var(--active-tab-height);
|
|
707
721
|
}
|
|
@@ -834,6 +848,10 @@
|
|
|
834
848
|
width: calc(var(--spacing) * 80);
|
|
835
849
|
}
|
|
836
850
|
|
|
851
|
+
.w-\[480px\] {
|
|
852
|
+
width: 480px;
|
|
853
|
+
}
|
|
854
|
+
|
|
837
855
|
.w-\[calc\(100\%-\(--spacing\(12\)\)\)\] {
|
|
838
856
|
width: calc(100% - (calc(var(--spacing) * 12)));
|
|
839
857
|
}
|
|
@@ -967,6 +985,11 @@
|
|
|
967
985
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
968
986
|
}
|
|
969
987
|
|
|
988
|
+
.translate-y-0\.5 {
|
|
989
|
+
--tw-translate-y: calc(var(--spacing) * .5);
|
|
990
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
991
|
+
}
|
|
992
|
+
|
|
970
993
|
.scale-84 {
|
|
971
994
|
--tw-scale-x: 84%;
|
|
972
995
|
--tw-scale-y: 84%;
|
|
@@ -1140,6 +1163,10 @@
|
|
|
1140
1163
|
border-radius: var(--radius-2xl);
|
|
1141
1164
|
}
|
|
1142
1165
|
|
|
1166
|
+
.rounded-\[5px\] {
|
|
1167
|
+
border-radius: 5px;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1143
1170
|
.rounded-\[calc\(var\(--radius-md\)-1px\)\] {
|
|
1144
1171
|
border-radius: calc(var(--radius-md) - 1px);
|
|
1145
1172
|
}
|
|
@@ -1272,8 +1299,24 @@
|
|
|
1272
1299
|
}
|
|
1273
1300
|
}
|
|
1274
1301
|
|
|
1275
|
-
.bg
|
|
1276
|
-
background-color: var(--accent);
|
|
1302
|
+
.bg-\[oklch\(from_var\(--accent\)_0\.09_c_h\)\]\/30 {
|
|
1303
|
+
background-color: oklch(from var(--accent) .09 c h);
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1307
|
+
.bg-\[oklch\(from_var\(--accent\)_0\.09_c_h\)\]\/30 {
|
|
1308
|
+
background-color: color-mix(in oklab, oklch(from var(--accent) .09 c h) 30%, transparent);
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
.bg-\[oklch\(from_var\(--destructive\)_0\.03_c_h\)\]\/30 {
|
|
1313
|
+
background-color: oklch(from var(--destructive) .03 c h);
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1317
|
+
.bg-\[oklch\(from_var\(--destructive\)_0\.03_c_h\)\]\/30 {
|
|
1318
|
+
background-color: color-mix(in oklab, oklch(from var(--destructive) .03 c h) 30%, transparent);
|
|
1319
|
+
}
|
|
1277
1320
|
}
|
|
1278
1321
|
|
|
1279
1322
|
.bg-amber-500 {
|
|
@@ -1336,6 +1379,10 @@
|
|
|
1336
1379
|
}
|
|
1337
1380
|
}
|
|
1338
1381
|
|
|
1382
|
+
.bg-highlight {
|
|
1383
|
+
background-color: var(--highlight);
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1339
1386
|
.bg-info\/4 {
|
|
1340
1387
|
background-color: var(--info);
|
|
1341
1388
|
}
|
|
@@ -1620,6 +1667,10 @@
|
|
|
1620
1667
|
padding-inline-end: calc(calc(var(--spacing) * 3) - 1px);
|
|
1621
1668
|
}
|
|
1622
1669
|
|
|
1670
|
+
.pt-0 {
|
|
1671
|
+
padding-top: calc(var(--spacing) * 0);
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1623
1674
|
.pt-6 {
|
|
1624
1675
|
padding-top: calc(var(--spacing) * 6);
|
|
1625
1676
|
}
|
|
@@ -1628,6 +1679,10 @@
|
|
|
1628
1679
|
padding-top: calc(calc(var(--spacing) * 3) - 1px);
|
|
1629
1680
|
}
|
|
1630
1681
|
|
|
1682
|
+
.pb-4 {
|
|
1683
|
+
padding-bottom: calc(var(--spacing) * 4);
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1631
1686
|
.pb-\[calc\(--spacing\(3\)-1px\)\] {
|
|
1632
1687
|
padding-bottom: calc(calc(var(--spacing) * 3) - 1px);
|
|
1633
1688
|
}
|
|
@@ -1834,17 +1889,22 @@
|
|
|
1834
1889
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1835
1890
|
}
|
|
1836
1891
|
|
|
1837
|
-
.
|
|
1838
|
-
--tw-
|
|
1892
|
+
.ring-1 {
|
|
1893
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1894
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
.inset-shadow-\[0_1px_--theme\(--color-black\/8\%\)\] {
|
|
1898
|
+
--tw-inset-shadow: inset 0 1px var(--tw-inset-shadow-color, #00000014);
|
|
1839
1899
|
}
|
|
1840
1900
|
|
|
1841
1901
|
@supports (color: color-mix(in lab, red, red)) {
|
|
1842
|
-
.inset-shadow-\[0_1px_--theme\(--color-black\/
|
|
1843
|
-
--tw-inset-shadow: inset 0 1px var(--tw-inset-shadow-color, color-mix(in oklab, var(--color-black)
|
|
1902
|
+
.inset-shadow-\[0_1px_--theme\(--color-black\/8\%\)\] {
|
|
1903
|
+
--tw-inset-shadow: inset 0 1px var(--tw-inset-shadow-color, color-mix(in oklab, var(--color-black) 8%, transparent));
|
|
1844
1904
|
}
|
|
1845
1905
|
}
|
|
1846
1906
|
|
|
1847
|
-
.inset-shadow-\[0_1px_--theme\(--color-black\/
|
|
1907
|
+
.inset-shadow-\[0_1px_--theme\(--color-black\/8\%\)\] {
|
|
1848
1908
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1849
1909
|
}
|
|
1850
1910
|
|
|
@@ -1888,6 +1948,16 @@
|
|
|
1888
1948
|
}
|
|
1889
1949
|
}
|
|
1890
1950
|
|
|
1951
|
+
.ring-ring\/50 {
|
|
1952
|
+
--tw-ring-color: var(--ring);
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1956
|
+
.ring-ring\/50 {
|
|
1957
|
+
--tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1891
1961
|
.outline {
|
|
1892
1962
|
outline-style: var(--tw-outline-style);
|
|
1893
1963
|
outline-width: 1px;
|
|
@@ -1920,6 +1990,12 @@
|
|
|
1920
1990
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1921
1991
|
}
|
|
1922
1992
|
|
|
1993
|
+
.transition-\[height\] {
|
|
1994
|
+
transition-property: height;
|
|
1995
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
1996
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1923
1999
|
.transition-\[opacity\,translate\] {
|
|
1924
2000
|
transition-property: opacity, translate;
|
|
1925
2001
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
@@ -1974,10 +2050,21 @@
|
|
|
1974
2050
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1975
2051
|
}
|
|
1976
2052
|
|
|
2053
|
+
.transition-transform {
|
|
2054
|
+
transition-property: transform, translate, scale, rotate;
|
|
2055
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
2056
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
2057
|
+
}
|
|
2058
|
+
|
|
1977
2059
|
.delay-300 {
|
|
1978
2060
|
transition-delay: .3s;
|
|
1979
2061
|
}
|
|
1980
2062
|
|
|
2063
|
+
.duration-100 {
|
|
2064
|
+
--tw-duration: .1s;
|
|
2065
|
+
transition-duration: .1s;
|
|
2066
|
+
}
|
|
2067
|
+
|
|
1981
2068
|
.duration-200 {
|
|
1982
2069
|
--tw-duration: .2s;
|
|
1983
2070
|
transition-duration: .2s;
|
|
@@ -2192,8 +2279,8 @@
|
|
|
2192
2279
|
border-bottom-width: 0;
|
|
2193
2280
|
}
|
|
2194
2281
|
|
|
2195
|
-
.group-active\/switch\:w-
|
|
2196
|
-
width: calc(var(--spacing) *
|
|
2282
|
+
.group-active\/switch\:w-6:is(:where(.group\/switch):active *) {
|
|
2283
|
+
width: calc(var(--spacing) * 6);
|
|
2197
2284
|
}
|
|
2198
2285
|
|
|
2199
2286
|
.file\:me-3::file-selector-button {
|
|
@@ -2218,13 +2305,13 @@
|
|
|
2218
2305
|
color: var(--foreground);
|
|
2219
2306
|
}
|
|
2220
2307
|
|
|
2221
|
-
.placeholder\:text-muted-foreground\/
|
|
2308
|
+
.placeholder\:text-muted-foreground\/80::placeholder {
|
|
2222
2309
|
color: var(--muted-foreground);
|
|
2223
2310
|
}
|
|
2224
2311
|
|
|
2225
2312
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2226
|
-
.placeholder\:text-muted-foreground\/
|
|
2227
|
-
color: color-mix(in oklab, var(--muted-foreground)
|
|
2313
|
+
.placeholder\:text-muted-foreground\/80::placeholder {
|
|
2314
|
+
color: color-mix(in oklab, var(--muted-foreground) 80%, transparent);
|
|
2228
2315
|
}
|
|
2229
2316
|
}
|
|
2230
2317
|
|
|
@@ -2484,6 +2571,21 @@
|
|
|
2484
2571
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2485
2572
|
}
|
|
2486
2573
|
|
|
2574
|
+
.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 {
|
|
2575
|
+
content: var(--tw-content);
|
|
2576
|
+
--tw-shadow: 0 1px var(--tw-shadow-color, #0000000f);
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2580
|
+
.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 {
|
|
2581
|
+
--tw-shadow: 0 1px var(--tw-shadow-color, color-mix(in oklab, var(--color-black) 6%, transparent));
|
|
2582
|
+
}
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
.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 {
|
|
2586
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2587
|
+
}
|
|
2588
|
+
|
|
2487
2589
|
.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 {
|
|
2488
2590
|
content: var(--tw-content);
|
|
2489
2591
|
--tw-shadow: 0 1px var(--tw-shadow-color, #0000000a);
|
|
@@ -2580,6 +2682,11 @@
|
|
|
2580
2682
|
display: none;
|
|
2581
2683
|
}
|
|
2582
2684
|
|
|
2685
|
+
.last\:border-b-0:last-child {
|
|
2686
|
+
border-bottom-style: var(--tw-border-style);
|
|
2687
|
+
border-bottom-width: 0;
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2583
2690
|
.empty\:m-0:empty {
|
|
2584
2691
|
margin: calc(var(--spacing) * 0);
|
|
2585
2692
|
}
|
|
@@ -2598,7 +2705,7 @@
|
|
|
2598
2705
|
}
|
|
2599
2706
|
|
|
2600
2707
|
@media (hover: hover) {
|
|
2601
|
-
.hover\:bg-accent
|
|
2708
|
+
.hover\:bg-accent\/50:hover {
|
|
2602
2709
|
background-color: var(--accent);
|
|
2603
2710
|
}
|
|
2604
2711
|
|
|
@@ -2618,6 +2725,16 @@
|
|
|
2618
2725
|
}
|
|
2619
2726
|
}
|
|
2620
2727
|
|
|
2728
|
+
.hover\:bg-highlight:hover, .hover\:bg-highlight\/50:hover {
|
|
2729
|
+
background-color: var(--highlight);
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2733
|
+
.hover\:bg-highlight\/50:hover {
|
|
2734
|
+
background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
|
|
2735
|
+
}
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2621
2738
|
.hover\:bg-muted:hover {
|
|
2622
2739
|
background-color: var(--muted);
|
|
2623
2740
|
}
|
|
@@ -2910,6 +3027,16 @@
|
|
|
2910
3027
|
}
|
|
2911
3028
|
}
|
|
2912
3029
|
|
|
3030
|
+
.has-data-checked\:border-ring\/48:has([data-checked]) {
|
|
3031
|
+
border-color: var(--ring);
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3035
|
+
.has-data-checked\:border-ring\/48:has([data-checked]) {
|
|
3036
|
+
border-color: color-mix(in oklab, var(--ring) 48%, transparent);
|
|
3037
|
+
}
|
|
3038
|
+
}
|
|
3039
|
+
|
|
2913
3040
|
.has-data-checked\:bg-accent\/50:has([data-checked]) {
|
|
2914
3041
|
background-color: var(--accent);
|
|
2915
3042
|
}
|
|
@@ -2920,6 +3047,16 @@
|
|
|
2920
3047
|
}
|
|
2921
3048
|
}
|
|
2922
3049
|
|
|
3050
|
+
.has-data-checked\:bg-highlight\/50:has([data-checked]) {
|
|
3051
|
+
background-color: var(--highlight);
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3055
|
+
.has-data-checked\:bg-highlight\/50:has([data-checked]) {
|
|
3056
|
+
background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
|
|
2923
3060
|
.has-data-starting-style\:scale-98:has([data-starting-style]) {
|
|
2924
3061
|
--tw-scale-x: 98%;
|
|
2925
3062
|
--tw-scale-y: 98%;
|
|
@@ -3133,6 +3270,10 @@
|
|
|
3133
3270
|
}
|
|
3134
3271
|
}
|
|
3135
3272
|
|
|
3273
|
+
.data-active\:text-foreground[data-active] {
|
|
3274
|
+
color: var(--foreground);
|
|
3275
|
+
}
|
|
3276
|
+
|
|
3136
3277
|
.data-behind\:pointer-events-none[data-behind] {
|
|
3137
3278
|
pointer-events: none;
|
|
3138
3279
|
}
|
|
@@ -3146,8 +3287,16 @@
|
|
|
3146
3287
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3147
3288
|
}
|
|
3148
3289
|
|
|
3149
|
-
.data-checked\:bg
|
|
3150
|
-
background-color: var(--
|
|
3290
|
+
.data-checked\:bg-\[oklch\(from_var\(--accent\)_l_0\.05_h\)\][data-checked] {
|
|
3291
|
+
background-color: oklch(from var(--accent) l .05 h);
|
|
3292
|
+
}
|
|
3293
|
+
|
|
3294
|
+
.data-checked\:bg-\[oklch\(from_var\(--accent\)_l_0\.07_h\)\][data-checked] {
|
|
3295
|
+
background-color: oklch(from var(--accent) l .07 h);
|
|
3296
|
+
}
|
|
3297
|
+
|
|
3298
|
+
.data-checked\:bg-accent[data-checked] {
|
|
3299
|
+
background-color: var(--accent);
|
|
3151
3300
|
}
|
|
3152
3301
|
|
|
3153
3302
|
.data-checked\:group-active\/switch\:translate-x-2\.5[data-checked]:is(:where(.group\/switch):active *) {
|
|
@@ -3178,6 +3327,10 @@
|
|
|
3178
3327
|
}
|
|
3179
3328
|
}
|
|
3180
3329
|
|
|
3330
|
+
.data-ending-style\:h-0[data-ending-style] {
|
|
3331
|
+
height: calc(var(--spacing) * 0);
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3181
3334
|
.data-ending-style\:-translate-x-12[data-ending-style] {
|
|
3182
3335
|
--tw-translate-x: calc(var(--spacing) * -12);
|
|
3183
3336
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -3225,14 +3378,18 @@
|
|
|
3225
3378
|
opacity: 1;
|
|
3226
3379
|
}
|
|
3227
3380
|
|
|
3228
|
-
.data-highlighted\:bg-
|
|
3229
|
-
background-color: var(--
|
|
3381
|
+
.data-highlighted\:bg-highlight[data-highlighted] {
|
|
3382
|
+
background-color: var(--highlight);
|
|
3230
3383
|
}
|
|
3231
3384
|
|
|
3232
3385
|
.data-highlighted\:text-accent-foreground[data-highlighted] {
|
|
3233
3386
|
color: var(--accent-foreground);
|
|
3234
3387
|
}
|
|
3235
3388
|
|
|
3389
|
+
.data-highlighted\:text-highlight-foreground[data-highlighted] {
|
|
3390
|
+
color: var(--highlight-foreground);
|
|
3391
|
+
}
|
|
3392
|
+
|
|
3236
3393
|
.data-hovering\:opacity-100[data-hovering] {
|
|
3237
3394
|
opacity: 1;
|
|
3238
3395
|
}
|
|
@@ -3272,8 +3429,8 @@
|
|
|
3272
3429
|
opacity: 0;
|
|
3273
3430
|
}
|
|
3274
3431
|
|
|
3275
|
-
.data-pressed\:bg-
|
|
3276
|
-
background-color: var(--
|
|
3432
|
+
.data-pressed\:bg-highlight[data-pressed] {
|
|
3433
|
+
background-color: var(--highlight);
|
|
3277
3434
|
}
|
|
3278
3435
|
|
|
3279
3436
|
.data-pressed\:bg-secondary\/90[data-pressed] {
|
|
@@ -3312,8 +3469,8 @@
|
|
|
3312
3469
|
animation-delay: 0s;
|
|
3313
3470
|
}
|
|
3314
3471
|
|
|
3315
|
-
.data-
|
|
3316
|
-
|
|
3472
|
+
.data-starting-style\:h-0[data-starting-style] {
|
|
3473
|
+
height: calc(var(--spacing) * 0);
|
|
3317
3474
|
}
|
|
3318
3475
|
|
|
3319
3476
|
.data-starting-style\:-translate-x-12[data-starting-style] {
|
|
@@ -3351,8 +3508,8 @@
|
|
|
3351
3508
|
display: none;
|
|
3352
3509
|
}
|
|
3353
3510
|
|
|
3354
|
-
.data-unchecked\:translate-x-
|
|
3355
|
-
--tw-translate-x:
|
|
3511
|
+
.data-unchecked\:translate-x-\[-4px\][data-unchecked] {
|
|
3512
|
+
--tw-translate-x: -4px;
|
|
3356
3513
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3357
3514
|
}
|
|
3358
3515
|
|
|
@@ -3360,10 +3517,6 @@
|
|
|
3360
3517
|
background-color: var(--input);
|
|
3361
3518
|
}
|
|
3362
3519
|
|
|
3363
|
-
.data-\[disabled\]\:pointer-events-none[data-disabled] {
|
|
3364
|
-
pointer-events: none;
|
|
3365
|
-
}
|
|
3366
|
-
|
|
3367
3520
|
.data-\[orientation\=horizontal\]\:my-0\.5[data-orientation="horizontal"] {
|
|
3368
3521
|
margin-block: calc(var(--spacing) * .5);
|
|
3369
3522
|
}
|
|
@@ -3622,8 +3775,8 @@
|
|
|
3622
3775
|
}
|
|
3623
3776
|
|
|
3624
3777
|
@media (hover: hover) {
|
|
3625
|
-
:is(.\*\:data-\[slot\=tabs-trigger\]\:hover\:bg-
|
|
3626
|
-
background-color: var(--
|
|
3778
|
+
:is(.\*\:data-\[slot\=tabs-trigger\]\:hover\:bg-highlight > *)[data-slot="tabs-trigger"]:hover {
|
|
3779
|
+
background-color: var(--highlight);
|
|
3627
3780
|
}
|
|
3628
3781
|
}
|
|
3629
3782
|
|
|
@@ -3894,10 +4047,6 @@
|
|
|
3894
4047
|
border-color: var(--background);
|
|
3895
4048
|
}
|
|
3896
4049
|
|
|
3897
|
-
.dark\:bg-accent:is(.dark *) {
|
|
3898
|
-
background-color: var(--accent);
|
|
3899
|
-
}
|
|
3900
|
-
|
|
3901
4050
|
.dark\:bg-destructive\/16:is(.dark *) {
|
|
3902
4051
|
background-color: var(--destructive);
|
|
3903
4052
|
}
|
|
@@ -3908,6 +4057,10 @@
|
|
|
3908
4057
|
}
|
|
3909
4058
|
}
|
|
3910
4059
|
|
|
4060
|
+
.dark\:bg-highlight:is(.dark *) {
|
|
4061
|
+
background-color: var(--highlight);
|
|
4062
|
+
}
|
|
4063
|
+
|
|
3911
4064
|
.dark\:bg-info\/16:is(.dark *) {
|
|
3912
4065
|
background-color: var(--info);
|
|
3913
4066
|
}
|
|
@@ -4157,8 +4310,8 @@
|
|
|
4157
4310
|
}
|
|
4158
4311
|
|
|
4159
4312
|
@media (hover: hover) {
|
|
4160
|
-
.dark\:hover\:bg-
|
|
4161
|
-
background-color: var(--
|
|
4313
|
+
.dark\:hover\:bg-highlight:is(.dark *):hover {
|
|
4314
|
+
background-color: var(--highlight);
|
|
4162
4315
|
}
|
|
4163
4316
|
|
|
4164
4317
|
.dark\:hover\:bg-input\/64:is(.dark *):hover {
|
|
@@ -4388,23 +4541,23 @@
|
|
|
4388
4541
|
}
|
|
4389
4542
|
}
|
|
4390
4543
|
|
|
4391
|
-
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-
|
|
4392
|
-
background-color: var(--
|
|
4544
|
+
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-destructive\/4:is(:hover, [data-pressed]) {
|
|
4545
|
+
background-color: var(--destructive);
|
|
4393
4546
|
}
|
|
4394
4547
|
|
|
4395
4548
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4396
|
-
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-
|
|
4397
|
-
background-color: color-mix(in oklab, var(--
|
|
4549
|
+
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-destructive\/4:is(:hover, [data-pressed]) {
|
|
4550
|
+
background-color: color-mix(in oklab, var(--destructive) 4%, transparent);
|
|
4398
4551
|
}
|
|
4399
4552
|
}
|
|
4400
4553
|
|
|
4401
|
-
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-
|
|
4402
|
-
background-color: var(--
|
|
4554
|
+
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-highlight\/50:is(:hover, [data-pressed]) {
|
|
4555
|
+
background-color: var(--highlight);
|
|
4403
4556
|
}
|
|
4404
4557
|
|
|
4405
4558
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4406
|
-
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-
|
|
4407
|
-
background-color: color-mix(in oklab, var(--
|
|
4559
|
+
.\[\&\:is\(\:hover\,\[data-pressed\]\)\]\:bg-highlight\/50:is(:hover, [data-pressed]) {
|
|
4560
|
+
background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
|
|
4408
4561
|
}
|
|
4409
4562
|
}
|
|
4410
4563
|
|
|
@@ -4617,6 +4770,10 @@
|
|
|
4617
4770
|
border-bottom-width: 0;
|
|
4618
4771
|
}
|
|
4619
4772
|
|
|
4773
|
+
.\[\&\[data-panel-open\]\>svg\]\:rotate-180[data-panel-open] > svg {
|
|
4774
|
+
rotate: 180deg;
|
|
4775
|
+
}
|
|
4776
|
+
|
|
4620
4777
|
[data-size="sm"] + .\[\[data-size\=sm\]\+\&\]\:px-\[calc\(--spacing\(2\.5\)-1px\)\] {
|
|
4621
4778
|
padding-inline: calc(calc(var(--spacing) * 2.5) - 1px);
|
|
4622
4779
|
}
|
|
@@ -4657,23 +4814,23 @@
|
|
|
4657
4814
|
}
|
|
4658
4815
|
|
|
4659
4816
|
@media (hover: hover) {
|
|
4660
|
-
:is(.\[button\,a\&\]\:hover\:bg-
|
|
4661
|
-
background-color: var(--
|
|
4817
|
+
:is(.\[button\,a\&\]\:hover\:bg-destructive\/90 button, a.\[button\,a\&\]\:hover\:bg-destructive\/90):hover {
|
|
4818
|
+
background-color: var(--destructive);
|
|
4662
4819
|
}
|
|
4663
4820
|
|
|
4664
4821
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4665
|
-
:is(.\[button\,a\&\]\:hover\:bg-
|
|
4666
|
-
background-color: color-mix(in oklab, var(--
|
|
4822
|
+
:is(.\[button\,a\&\]\:hover\:bg-destructive\/90 button, a.\[button\,a\&\]\:hover\:bg-destructive\/90):hover {
|
|
4823
|
+
background-color: color-mix(in oklab, var(--destructive) 90%, transparent);
|
|
4667
4824
|
}
|
|
4668
4825
|
}
|
|
4669
4826
|
|
|
4670
|
-
:is(.\[button\,a\&\]\:hover\:bg-
|
|
4671
|
-
background-color: var(--
|
|
4827
|
+
:is(.\[button\,a\&\]\:hover\:bg-highlight\/50 button, a.\[button\,a\&\]\:hover\:bg-highlight\/50):hover {
|
|
4828
|
+
background-color: var(--highlight);
|
|
4672
4829
|
}
|
|
4673
4830
|
|
|
4674
4831
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4675
|
-
:is(.\[button\,a\&\]\:hover\:bg-
|
|
4676
|
-
background-color: color-mix(in oklab, var(--
|
|
4832
|
+
:is(.\[button\,a\&\]\:hover\:bg-highlight\/50 button, a.\[button\,a\&\]\:hover\:bg-highlight\/50):hover {
|
|
4833
|
+
background-color: color-mix(in oklab, var(--highlight) 50%, transparent);
|
|
4677
4834
|
}
|
|
4678
4835
|
}
|
|
4679
4836
|
|
|
@@ -4848,20 +5005,20 @@
|
|
|
4848
5005
|
}
|
|
4849
5006
|
|
|
4850
5007
|
:root {
|
|
5008
|
+
--accent: oklch(44% .12 146.31);
|
|
5009
|
+
--accent-foreground: oklch(20.5% 0 0);
|
|
4851
5010
|
--background: oklch(100% 0 0);
|
|
4852
|
-
--foreground: oklch(
|
|
5011
|
+
--foreground: oklch(from var(--accent) .25 c h);
|
|
4853
5012
|
--card: oklch(100% 0 0);
|
|
4854
5013
|
--card-foreground: oklch(14.5% 0 0);
|
|
4855
5014
|
--popover: oklch(100% 0 0);
|
|
4856
5015
|
--popover-foreground: oklch(14.5% 0 0);
|
|
4857
|
-
--primary: oklch(
|
|
5016
|
+
--primary: oklch(from var(--accent) .1 c h);
|
|
4858
5017
|
--primary-foreground: oklch(98.5% 0 0);
|
|
4859
5018
|
--secondary: oklch(97% 0 0);
|
|
4860
5019
|
--secondary-foreground: oklch(20.5% 0 0);
|
|
4861
5020
|
--muted: oklch(97% 0 0);
|
|
4862
|
-
--muted-foreground: oklch(
|
|
4863
|
-
--accent: oklch(97% 0 0);
|
|
4864
|
-
--accent-foreground: oklch(20.5% 0 0);
|
|
5021
|
+
--muted-foreground: oklch(from var(--accent) .65 .015 h);
|
|
4865
5022
|
--destructive: oklch(57.7% .245 27.325);
|
|
4866
5023
|
--destructive-foreground: oklch(57.7% .245 27.325);
|
|
4867
5024
|
--border: oklch(92.2% 0 0);
|
|
@@ -4882,6 +5039,8 @@
|
|
|
4882
5039
|
--sidebar-border: oklch(92.2% 0 0);
|
|
4883
5040
|
--sidebar-ring: oklch(70.8% 0 0);
|
|
4884
5041
|
--spacing-touch: calc(var(--spacing) * 4);
|
|
5042
|
+
--highlight: oklch(97% 0 0);
|
|
5043
|
+
--highlight-foreground: oklch(20.5% 0 0);
|
|
4885
5044
|
--info: var(--color-blue-500);
|
|
4886
5045
|
--info-foreground: var(--color-blue-700);
|
|
4887
5046
|
--success: var(--color-emerald-500);
|
|
@@ -4923,6 +5082,8 @@
|
|
|
4923
5082
|
--sidebar-accent-foreground: oklch(98.5% 0 0);
|
|
4924
5083
|
--sidebar-border: oklch(26.9% 0 0);
|
|
4925
5084
|
--sidebar-ring: oklch(43.9% 0 0);
|
|
5085
|
+
--highlight: oklch(97% 0 0);
|
|
5086
|
+
--highlight-foreground: oklch(20.5% 0 0);
|
|
4926
5087
|
--info: var(--color-blue-500);
|
|
4927
5088
|
--info-foreground: var(--color-blue-400);
|
|
4928
5089
|
--success: var(--color-emerald-500);
|
package/dist/index.d.ts
CHANGED
|
@@ -46,3 +46,4 @@ export { ToastProvider, toastManager } from "./toast";
|
|
|
46
46
|
export type { ToastPosition } from "./toast";
|
|
47
47
|
export { CircularProgress } from "./circular-progress";
|
|
48
48
|
export type { CircularProgressProps } from "./circular-progress";
|
|
49
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionPanel, AccordionTrigger, } from "./accordion";
|
package/dist/index.js
CHANGED
|
@@ -42,4 +42,5 @@ import { Toolbar, ToolbarButton, ToolbarGroup, ToolbarInput, ToolbarLink, Toolba
|
|
|
42
42
|
import { Tooltip, TooltipContent, TooltipPopup, TooltipProvider, TooltipTrigger } from "./tooltip.js";
|
|
43
43
|
import { ToastProvider, toastManager } from "./toast.js";
|
|
44
44
|
import { CircularProgress } from "./circular-progress.js";
|
|
45
|
-
|
|
45
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionPanel, AccordionTrigger } from "./accordion.js";
|
|
46
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionPanel, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarFallback, AvatarImage, Badge, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardPanel, CardTitle, Checkbox, CheckboxGroup, CircularProgress, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Dialog, DialogBackdrop, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldControl, FieldDescription, FieldError, FieldLabel, FieldValidity, Fieldset, FieldsetLegend, Form, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, Group, GroupSeparator, GroupText, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, Label, Menu, MenuCheckboxItem, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubPopup, MenuSubTrigger, MenuTrigger, NumberField, NumberFieldDecrement, NumberFieldGroup, NumberFieldIncrement, NumberFieldInput, NumberFieldScrubArea, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverClose, PopoverContent, PopoverDescription, PopoverPopup, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, Radio, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBackdrop, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, SliderValue, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsPanel, TabsTab, TabsTrigger, Textarea, ToastProvider, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupSeparator, Toolbar, ToolbarButton, ToolbarGroup, ToolbarInput, ToolbarLink, ToolbarSeparator, Tooltip, TooltipContent, TooltipPopup, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, groupVariants, sheetPopupVariants, toastManager, toggleVariants };
|
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/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"
|