@deriv-ds/design-intelligence-layer 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +14 -14
- package/README.md +22 -22
- package/dist/index.cjs +161 -160
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +161 -160
- package/dist/index.js.map +1 -1
- package/guides/design-system-guide/trading-game-ds-guide.md +9 -9
- package/guides/personas/trading-game-player-field-guide.md +4 -112
- package/guides/rules/design-system-consuming-project.mdc +17 -17
- package/package.json +1 -1
- package/src/styles.css +1489 -202
package/dist/index.cjs
CHANGED
|
@@ -428,7 +428,7 @@ function AccordionTrigger(_a) {
|
|
|
428
428
|
}, props), {
|
|
429
429
|
children: [
|
|
430
430
|
children,
|
|
431
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ChevronDownIcon, { className: "pointer-events-none size-4 shrink-0 translate-y-0.5 text-
|
|
431
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ChevronDownIcon, { className: "pointer-events-none size-4 shrink-0 translate-y-0.5 text-subtle transition-transform duration-200" })
|
|
432
432
|
]
|
|
433
433
|
})
|
|
434
434
|
) });
|
|
@@ -460,8 +460,8 @@ var alertVariants = (0, import_class_variance_authority.cva)(
|
|
|
460
460
|
{
|
|
461
461
|
variants: {
|
|
462
462
|
variant: {
|
|
463
|
-
info: "bg-transparent text-alert-info-text border-alert-info-border *:data-[slot=alert-description]:text-
|
|
464
|
-
error: "bg-transparent text-alert-error-text border-alert-error-border *:data-[slot=alert-description]:text-
|
|
463
|
+
info: "bg-transparent text-alert-info-text border-alert-info-border *:data-[slot=alert-description]:text-subtle [&>svg]:text-current",
|
|
464
|
+
error: "bg-transparent text-alert-error-text border-alert-error-border *:data-[slot=alert-description]:text-subtle [&>svg]:text-current"
|
|
465
465
|
}
|
|
466
466
|
},
|
|
467
467
|
defaultVariants: {
|
|
@@ -525,14 +525,13 @@ var import_class_variance_authority2 = require("class-variance-authority");
|
|
|
525
525
|
var import_radix_ui2 = require("radix-ui");
|
|
526
526
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
527
527
|
var buttonVariants = (0, import_class_variance_authority2.cva)(
|
|
528
|
-
"inline-flex shrink-0 items-center justify-center whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50
|
|
528
|
+
"inline-flex shrink-0 items-center justify-center whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-24 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 font-display font-bold",
|
|
529
529
|
{
|
|
530
530
|
variants: {
|
|
531
531
|
variant: {
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
tertiary: "bg-transparent text-primary hover:bg-primary/[0.08]"
|
|
532
|
+
primary: "bg-primary text-prominent-static-inverse hover:bg-primary-hover active:bg-primary-hover",
|
|
533
|
+
secondary: "bg-transparent border-[1.5px] border-[var(--button-secondary-normal-border)] text-[var(--button-secondary-normal-text)] hover:bg-[var(--button-secondary-normal-bg-hover)] active:bg-[var(--button-secondary-normal-bg-pressed)]",
|
|
534
|
+
tertiary: "bg-[var(--button-tertiary-normal-bg-default)] text-[var(--button-tertiary-normal-text)] hover:bg-[var(--button-tertiary-normal-bg-hover)] active:bg-[var(--button-tertiary-normal-bg-pressed)]"
|
|
536
535
|
},
|
|
537
536
|
size: {
|
|
538
537
|
lg: "h-12 w-fit gap-3 rounded-xs px-6 py-[14px] text-base [&_svg:not([class*='size-'])]:size-4",
|
|
@@ -627,7 +626,7 @@ function AlertDialogContent(_a) {
|
|
|
627
626
|
"data-slot": "alert-dialog-content",
|
|
628
627
|
"data-size": size,
|
|
629
628
|
className: cn(
|
|
630
|
-
"group/alert-dialog-content fixed top-[50%] left-[50%] z-50 flex h-auto w-full max-w-[calc(100%-2rem)] flex-col translate-x-[-50%] translate-y-[-50%] gap-6 rounded-sm border border-
|
|
629
|
+
"group/alert-dialog-content fixed top-[50%] left-[50%] z-50 flex h-auto w-full max-w-[calc(100%-2rem)] flex-col translate-x-[-50%] translate-y-[-50%] gap-6 rounded-sm border border-default bg-primary-surface p-6 shadow-lg duration-base data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-lg",
|
|
631
630
|
className
|
|
632
631
|
)
|
|
633
632
|
}, props)
|
|
@@ -695,7 +694,7 @@ function AlertDialogDescription(_a) {
|
|
|
695
694
|
import_radix_ui3.AlertDialog.Description,
|
|
696
695
|
__spreadValues({
|
|
697
696
|
"data-slot": "alert-dialog-description",
|
|
698
|
-
className: cn("text-sm text-
|
|
697
|
+
className: cn("text-sm text-subtle", className)
|
|
699
698
|
}, props)
|
|
700
699
|
);
|
|
701
700
|
}
|
|
@@ -710,7 +709,7 @@ function AlertDialogMedia(_a) {
|
|
|
710
709
|
__spreadValues({
|
|
711
710
|
"data-slot": "alert-dialog-media",
|
|
712
711
|
className: cn(
|
|
713
|
-
"mb-2 inline-flex size-16 items-center justify-center rounded-md bg-
|
|
712
|
+
"mb-2 inline-flex size-16 items-center justify-center rounded-md bg-secondary-surface sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-8",
|
|
714
713
|
className
|
|
715
714
|
)
|
|
716
715
|
}, props)
|
|
@@ -807,7 +806,7 @@ function AvatarFallback(_a) {
|
|
|
807
806
|
__spreadValues({
|
|
808
807
|
"data-slot": "avatar-fallback",
|
|
809
808
|
className: cn(
|
|
810
|
-
"flex size-full items-center justify-center overflow-hidden rounded-full bg-
|
|
809
|
+
"flex size-full items-center justify-center overflow-hidden rounded-full bg-secondary-surface text-sm text-subtle group-data-[size=sm]/avatar:text-xs group-data-[size=xl]/avatar:text-base",
|
|
811
810
|
className
|
|
812
811
|
)
|
|
813
812
|
}, props)
|
|
@@ -820,7 +819,7 @@ function AvatarBadge(_a) {
|
|
|
820
819
|
__spreadValues({
|
|
821
820
|
"data-slot": "avatar-badge",
|
|
822
821
|
className: cn(
|
|
823
|
-
"absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-primary text-
|
|
822
|
+
"absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-primary text-prominent-static-inverse ring-2 ring-primary-surface select-none",
|
|
824
823
|
"group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden",
|
|
825
824
|
"group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2",
|
|
826
825
|
"group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2",
|
|
@@ -837,7 +836,7 @@ function AvatarGroup(_a) {
|
|
|
837
836
|
__spreadValues({
|
|
838
837
|
"data-slot": "avatar-group",
|
|
839
838
|
className: cn(
|
|
840
|
-
"group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-
|
|
839
|
+
"group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-primary-surface",
|
|
841
840
|
className
|
|
842
841
|
)
|
|
843
842
|
}, props)
|
|
@@ -854,7 +853,7 @@ function AvatarGroupCount(_a) {
|
|
|
854
853
|
__spreadValues({
|
|
855
854
|
"data-slot": "avatar-group-count",
|
|
856
855
|
className: cn(
|
|
857
|
-
"relative flex size-8 shrink-0 items-center justify-center rounded-full bg-
|
|
856
|
+
"relative flex size-8 shrink-0 items-center justify-center rounded-full bg-secondary-surface text-sm text-subtle ring-2 ring-primary-surface group-has-data-[size=sm]/avatar-group:size-6 group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=xl]/avatar-group:[width:var(--avatar-size-xl)] group-has-data-[size=xl]/avatar-group:[height:var(--avatar-size-xl)] [&>svg]:size-4 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=xl]/avatar-group:[&>svg]:size-6",
|
|
858
857
|
className
|
|
859
858
|
)
|
|
860
859
|
}, props)
|
|
@@ -871,20 +870,20 @@ var badgeVariants = (0, import_class_variance_authority3.cva)(
|
|
|
871
870
|
variants: {
|
|
872
871
|
variant: {
|
|
873
872
|
// Default (solid)
|
|
874
|
-
default: "bg-primary text-
|
|
875
|
-
"default-success": "bg-
|
|
876
|
-
"default-fail": "bg-
|
|
877
|
-
"default-warning": "bg-
|
|
873
|
+
default: "bg-primary text-prominent-static-inverse [a&]:hover:bg-primary/90",
|
|
874
|
+
"default-success": "bg-[var(--badge-bg-status-green)] text-[var(--badge-text-default)] [a&]:hover:bg-[var(--badge-bg-status-green)]/90",
|
|
875
|
+
"default-fail": "bg-[var(--badge-bg-status-red)] text-[var(--badge-text-default)] [a&]:hover:bg-[var(--badge-bg-status-red)]/90",
|
|
876
|
+
"default-warning": "bg-warning text-prominent-static-inverse [a&]:hover:bg-warning/90",
|
|
878
877
|
// Fill (tint)
|
|
879
878
|
fill: "bg-primary/10 border-transparent text-primary",
|
|
880
|
-
"fill-success": "bg-
|
|
881
|
-
"fill-fail": "bg-
|
|
882
|
-
"fill-warning": "bg-
|
|
879
|
+
"fill-success": "bg-[var(--badge-bg-status-green)]/10 border-transparent text-[var(--badge-bg-status-green)]",
|
|
880
|
+
"fill-fail": "bg-[var(--badge-bg-status-red)]/10 border-transparent text-[var(--badge-bg-status-red)]",
|
|
881
|
+
"fill-warning": "bg-warning/10 border-transparent text-warning",
|
|
883
882
|
// Ghost (transparent)
|
|
884
883
|
ghost: "bg-transparent border-transparent text-primary [a&]:hover:bg-secondary-hover [a&]:hover:text-primary",
|
|
885
|
-
"ghost-success": "bg-transparent border-transparent text-
|
|
886
|
-
"ghost-fail": "bg-transparent border-transparent text-
|
|
887
|
-
"ghost-warning": "bg-transparent border-transparent text-
|
|
884
|
+
"ghost-success": "bg-transparent border-transparent text-[var(--badge-bg-status-green)] [a&]:hover:bg-[var(--badge-bg-status-green)]/10",
|
|
885
|
+
"ghost-fail": "bg-transparent border-transparent text-[var(--badge-bg-status-red)] [a&]:hover:bg-[var(--badge-bg-status-red)]/10",
|
|
886
|
+
"ghost-warning": "bg-transparent border-transparent text-warning [a&]:hover:bg-warning/10 [a&]:hover:text-warning"
|
|
888
887
|
},
|
|
889
888
|
size: {
|
|
890
889
|
sm: "h-6 px-2.5 py-0.5 text-xs",
|
|
@@ -936,7 +935,7 @@ function BreadcrumbList(_a) {
|
|
|
936
935
|
__spreadValues({
|
|
937
936
|
"data-slot": "breadcrumb-list",
|
|
938
937
|
className: cn(
|
|
939
|
-
"flex flex-wrap items-center gap-1.5 text-sm break-words text-
|
|
938
|
+
"flex flex-wrap items-center gap-1.5 text-sm break-words text-subtle sm:gap-2.5",
|
|
940
939
|
className
|
|
941
940
|
)
|
|
942
941
|
}, props)
|
|
@@ -965,7 +964,7 @@ function BreadcrumbLink(_a) {
|
|
|
965
964
|
Comp,
|
|
966
965
|
__spreadValues({
|
|
967
966
|
"data-slot": "breadcrumb-link",
|
|
968
|
-
className: cn("transition-colors hover:text-
|
|
967
|
+
className: cn("transition-colors hover:text-prominent", className)
|
|
969
968
|
}, props)
|
|
970
969
|
);
|
|
971
970
|
}
|
|
@@ -1053,7 +1052,7 @@ function Calendar(_a) {
|
|
|
1053
1052
|
__spreadValues({
|
|
1054
1053
|
showOutsideDays,
|
|
1055
1054
|
className: cn(
|
|
1056
|
-
"group/calendar bg-
|
|
1055
|
+
"group/calendar bg-primary-surface p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
|
|
1057
1056
|
String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
|
|
1058
1057
|
String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
|
|
1059
1058
|
className
|
|
@@ -1096,18 +1095,18 @@ function Calendar(_a) {
|
|
|
1096
1095
|
defaultClassNames.dropdown_root
|
|
1097
1096
|
),
|
|
1098
1097
|
dropdown: cn(
|
|
1099
|
-
"absolute inset-0 bg-
|
|
1098
|
+
"absolute inset-0 bg-primary-surface opacity-0",
|
|
1100
1099
|
defaultClassNames.dropdown
|
|
1101
1100
|
),
|
|
1102
1101
|
caption_label: cn(
|
|
1103
1102
|
"font-body font-medium select-none",
|
|
1104
|
-
captionLayout === "label" ? "text-sm" : "flex h-8 items-center gap-1 rounded-md pr-1 pl-2 text-sm [&>svg]:size-3.5 [&>svg]:text-
|
|
1103
|
+
captionLayout === "label" ? "text-sm" : "flex h-8 items-center gap-1 rounded-md pr-1 pl-2 text-sm [&>svg]:size-3.5 [&>svg]:text-subtle",
|
|
1105
1104
|
defaultClassNames.caption_label
|
|
1106
1105
|
),
|
|
1107
1106
|
table: "w-full border-collapse",
|
|
1108
1107
|
weekdays: cn("flex", defaultClassNames.weekdays),
|
|
1109
1108
|
weekday: cn(
|
|
1110
|
-
"flex-1 rounded-md text-[0.8rem] font-body font-normal text-
|
|
1109
|
+
"flex-1 rounded-md text-[0.8rem] font-body font-normal text-subtle select-none",
|
|
1111
1110
|
defaultClassNames.weekday
|
|
1112
1111
|
),
|
|
1113
1112
|
week: cn("mt-2 flex w-full", defaultClassNames.week),
|
|
@@ -1116,7 +1115,7 @@ function Calendar(_a) {
|
|
|
1116
1115
|
defaultClassNames.week_number_header
|
|
1117
1116
|
),
|
|
1118
1117
|
week_number: cn(
|
|
1119
|
-
"text-[0.8rem] text-
|
|
1118
|
+
"text-[0.8rem] text-subtle select-none",
|
|
1120
1119
|
defaultClassNames.week_number
|
|
1121
1120
|
),
|
|
1122
1121
|
day: cn(
|
|
@@ -1135,11 +1134,11 @@ function Calendar(_a) {
|
|
|
1135
1134
|
defaultClassNames.today
|
|
1136
1135
|
),
|
|
1137
1136
|
outside: cn(
|
|
1138
|
-
"text-
|
|
1137
|
+
"text-subtle aria-selected:text-subtle",
|
|
1139
1138
|
defaultClassNames.outside
|
|
1140
1139
|
),
|
|
1141
1140
|
disabled: cn(
|
|
1142
|
-
"text-
|
|
1141
|
+
"text-subtle opacity-50",
|
|
1143
1142
|
defaultClassNames.disabled
|
|
1144
1143
|
),
|
|
1145
1144
|
hidden: cn("invisible", defaultClassNames.hidden)
|
|
@@ -1209,7 +1208,7 @@ function CalendarDayButton(_a) {
|
|
|
1209
1208
|
"data-range-end": modifiers.range_end,
|
|
1210
1209
|
"data-range-middle": modifiers.range_middle,
|
|
1211
1210
|
className: cn(
|
|
1212
|
-
"flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-body font-normal bg-transparent border-transparent shadow-none text-
|
|
1211
|
+
"flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-body font-normal bg-transparent border-transparent shadow-none text-prominent hover:!bg-secondary-hover hover:text-prominent hover:no-underline hover:shadow-none group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [&[data-today='true']:not([data-selected-single='true']):not([data-range-start='true']):not([data-range-end='true'])]:text-primary [&[data-today='true']:not([data-selected-single='true']):not([data-range-start='true']):not([data-range-end='true'])]:relative [&[data-today='true']:not([data-selected-single='true']):not([data-range-start='true']):not([data-range-end='true'])]:after:absolute [&[data-today='true']:not([data-selected-single='true']):not([data-range-start='true']):not([data-range-end='true'])]:after:bottom-0.5 [&[data-today='true']:not([data-selected-single='true']):not([data-range-start='true']):not([data-range-end='true'])]:after:left-1/2 [&[data-today='true']:not([data-selected-single='true']):not([data-range-start='true']):not([data-range-end='true'])]:after:-translate-x-1/2 [&[data-today='true']:not([data-selected-single='true']):not([data-range-start='true']):not([data-range-end='true'])]:after:size-1 [&[data-today='true']:not([data-selected-single='true']):not([data-range-start='true']):not([data-range-end='true'])]:after:rounded-full [&[data-today='true']:not([data-selected-single='true']):not([data-range-start='true']):not([data-range-end='true'])]:after:bg-primary data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-secondary-hover data-[range-end=true]:border-transparent data-[range-end=true]:text-primary data-[range-end=true]:font-bold data-[range-end=true]:hover:!bg-secondary-hover data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-secondary-hover data-[range-middle=true]:text-primary data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-secondary-hover data-[range-start=true]:border-transparent data-[range-start=true]:text-primary data-[range-start=true]:font-bold data-[range-start=true]:hover:!bg-secondary-hover data-[selected-single=true]:bg-secondary-hover data-[selected-single=true]:border-transparent data-[selected-single=true]:text-primary data-[selected-single=true]:font-bold data-[selected-single=true]:hover:!bg-secondary-hover [&>span]:text-xs [&>span]:opacity-70",
|
|
1213
1212
|
defaultClassNames.day,
|
|
1214
1213
|
className
|
|
1215
1214
|
)
|
|
@@ -1226,7 +1225,7 @@ function Card(_a) {
|
|
|
1226
1225
|
__spreadValues({
|
|
1227
1226
|
"data-slot": "card",
|
|
1228
1227
|
className: cn(
|
|
1229
|
-
"flex flex-col gap-6 rounded-sm border border-
|
|
1228
|
+
"flex flex-col gap-6 rounded-sm border border-default bg-primary-surface py-6 text-prominent",
|
|
1230
1229
|
className
|
|
1231
1230
|
)
|
|
1232
1231
|
}, props)
|
|
@@ -1261,7 +1260,7 @@ function CardDescription(_a) {
|
|
|
1261
1260
|
"div",
|
|
1262
1261
|
__spreadValues({
|
|
1263
1262
|
"data-slot": "card-description",
|
|
1264
|
-
className: cn("text-sm text-
|
|
1263
|
+
className: cn("text-sm text-subtle", className)
|
|
1265
1264
|
}, props)
|
|
1266
1265
|
);
|
|
1267
1266
|
}
|
|
@@ -1624,7 +1623,7 @@ function ChartTooltipContent({
|
|
|
1624
1623
|
"div",
|
|
1625
1624
|
{
|
|
1626
1625
|
className: cn(
|
|
1627
|
-
"grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-
|
|
1626
|
+
"grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-default/50 bg-primary-surface px-2.5 py-1.5 text-xs shadow-xl",
|
|
1628
1627
|
className
|
|
1629
1628
|
),
|
|
1630
1629
|
children: [
|
|
@@ -1637,7 +1636,7 @@ function ChartTooltipContent({
|
|
|
1637
1636
|
"div",
|
|
1638
1637
|
{
|
|
1639
1638
|
className: cn(
|
|
1640
|
-
"flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-
|
|
1639
|
+
"flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-subtle",
|
|
1641
1640
|
indicator === "dot" && "items-center"
|
|
1642
1641
|
),
|
|
1643
1642
|
children: formatter && (item == null ? void 0 : item.value) !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
|
|
@@ -1669,9 +1668,9 @@ function ChartTooltipContent({
|
|
|
1669
1668
|
children: [
|
|
1670
1669
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "grid gap-1.5", children: [
|
|
1671
1670
|
nestLabel ? tooltipLabel : null,
|
|
1672
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "text-
|
|
1671
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "text-subtle", children: (itemConfig == null ? void 0 : itemConfig.label) || item.name })
|
|
1673
1672
|
] }),
|
|
1674
|
-
item.value && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "font-mono font-medium text-
|
|
1673
|
+
item.value && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "font-mono font-medium text-prominent tabular-nums", children: item.value.toLocaleString() })
|
|
1675
1674
|
]
|
|
1676
1675
|
}
|
|
1677
1676
|
)
|
|
@@ -1711,7 +1710,7 @@ function ChartLegendContent({
|
|
|
1711
1710
|
"div",
|
|
1712
1711
|
{
|
|
1713
1712
|
className: cn(
|
|
1714
|
-
"flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-
|
|
1713
|
+
"flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-subtle"
|
|
1715
1714
|
),
|
|
1716
1715
|
children: [
|
|
1717
1716
|
(itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(itemConfig.icon, {}) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
@@ -1761,7 +1760,7 @@ function Checkbox(_a) {
|
|
|
1761
1760
|
__spreadProps(__spreadValues({
|
|
1762
1761
|
"data-slot": "checkbox",
|
|
1763
1762
|
className: cn(
|
|
1764
|
-
"peer size-4 shrink-0 rounded-[2px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-
|
|
1763
|
+
"peer size-4 shrink-0 rounded-[2px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-prominent-static-inverse",
|
|
1765
1764
|
className
|
|
1766
1765
|
)
|
|
1767
1766
|
}, props), {
|
|
@@ -1821,8 +1820,8 @@ function Input(_a) {
|
|
|
1821
1820
|
type,
|
|
1822
1821
|
"data-slot": "input",
|
|
1823
1822
|
className: cn(
|
|
1824
|
-
"h-9 w-full min-w-0 rounded-sm border border-border-
|
|
1825
|
-
"focus-visible:border-
|
|
1823
|
+
"h-9 w-full min-w-0 rounded-sm border border-[var(--field-outline-border-default)] bg-[var(--field-outline-bg-default)] px-3 py-1 text-base text-[var(--field-text-prominent)] font-body shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-prominent-static-inverse file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-[var(--field-text-prominent)] placeholder:text-[var(--field-text-subtle)] hover:bg-[var(--field-outline-bg-hover)] focus-visible:bg-[var(--field-outline-bg-focus)] disabled:bg-[var(--field-outline-bg-disabled)] disabled:pointer-events-none disabled:cursor-not-allowed disabled:text-[var(--field-text-disabled)] disabled:opacity-50 md:text-sm",
|
|
1824
|
+
"focus-visible:border-[var(--field-outline-border-focus)] focus-visible:ring-[3px] focus-visible:ring-primary/[0.08]",
|
|
1826
1825
|
className
|
|
1827
1826
|
)
|
|
1828
1827
|
}, props)
|
|
@@ -1838,7 +1837,7 @@ function Textarea(_a) {
|
|
|
1838
1837
|
__spreadValues({
|
|
1839
1838
|
"data-slot": "textarea",
|
|
1840
1839
|
className: cn(
|
|
1841
|
-
"flex field-sizing-content min-h-16 w-full rounded-sm border border-border-
|
|
1840
|
+
"flex field-sizing-content min-h-16 w-full rounded-sm border border-[var(--field-outline-border-default)] bg-[var(--field-outline-bg-default)] px-3 py-2 text-base text-[var(--field-text-prominent)] font-body shadow-xs transition-[color,box-shadow] outline-none placeholder:text-[var(--field-text-subtle)] hover:bg-[var(--field-outline-bg-hover)] focus-visible:bg-[var(--field-outline-bg-focus)] focus-visible:border-[var(--field-outline-border-focus)] focus-visible:ring-[3px] focus-visible:ring-primary/[0.08] disabled:bg-[var(--field-outline-bg-disabled)] disabled:text-[var(--field-text-disabled)] disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm",
|
|
1842
1841
|
className
|
|
1843
1842
|
)
|
|
1844
1843
|
}, props)
|
|
@@ -1855,7 +1854,7 @@ function InputGroup(_a) {
|
|
|
1855
1854
|
"data-slot": "input-group",
|
|
1856
1855
|
role: "group",
|
|
1857
1856
|
className: cn(
|
|
1858
|
-
"group/input-group relative flex w-full items-center rounded-sm border border-
|
|
1857
|
+
"group/input-group relative flex w-full items-center rounded-sm border border-default bg-white/5 shadow-xs transition-[color,box-shadow] outline-none",
|
|
1859
1858
|
"h-9 min-w-0 has-[>textarea]:h-auto",
|
|
1860
1859
|
// Variants based on alignment.
|
|
1861
1860
|
"has-[>[data-align=inline-start]]:[&>input]:pl-2",
|
|
@@ -1872,7 +1871,7 @@ function InputGroup(_a) {
|
|
|
1872
1871
|
);
|
|
1873
1872
|
}
|
|
1874
1873
|
var inputGroupAddonVariants = (0, import_class_variance_authority4.cva)(
|
|
1875
|
-
"flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-
|
|
1874
|
+
"flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-subtle select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4",
|
|
1876
1875
|
{
|
|
1877
1876
|
variants: {
|
|
1878
1877
|
align: {
|
|
@@ -1956,7 +1955,7 @@ function InputGroupText(_a) {
|
|
|
1956
1955
|
"span",
|
|
1957
1956
|
__spreadValues({
|
|
1958
1957
|
className: cn(
|
|
1959
|
-
"flex items-center gap-2 text-sm text-
|
|
1958
|
+
"flex items-center gap-2 text-sm text-subtle [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
|
|
1960
1959
|
className
|
|
1961
1960
|
)
|
|
1962
1961
|
}, props)
|
|
@@ -2024,7 +2023,7 @@ function ComboboxTrigger(_a) {
|
|
|
2024
2023
|
import_lucide_react6.ChevronDownIcon,
|
|
2025
2024
|
{
|
|
2026
2025
|
"data-slot": "combobox-trigger-icon",
|
|
2027
|
-
className: "pointer-events-none size-4 text-
|
|
2026
|
+
className: "pointer-events-none size-4 text-subtle"
|
|
2028
2027
|
}
|
|
2029
2028
|
)
|
|
2030
2029
|
]
|
|
@@ -2114,7 +2113,7 @@ function ComboboxContent(_a) {
|
|
|
2114
2113
|
"data-slot": "combobox-content",
|
|
2115
2114
|
"data-chips": !!anchor,
|
|
2116
2115
|
className: cn(
|
|
2117
|
-
"group/combobox-content relative max-h-96 w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-md bg-
|
|
2116
|
+
"group/combobox-content relative max-h-96 w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-md bg-primary-surface text-prominent shadow-md ring-1 ring-default duration-100 data-[chips=true]:min-w-(--anchor-width) data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-none data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
2118
2117
|
className
|
|
2119
2118
|
)
|
|
2120
2119
|
}, props)
|
|
@@ -2148,7 +2147,7 @@ function ComboboxItem(_a) {
|
|
|
2148
2147
|
__spreadProps(__spreadValues({
|
|
2149
2148
|
"data-slot": "combobox-item",
|
|
2150
2149
|
className: cn(
|
|
2151
|
-
"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-highlighted:bg-primary/10 data-highlighted:text-
|
|
2150
|
+
"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-highlighted:bg-primary/10 data-highlighted:text-prominent data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
2152
2151
|
className
|
|
2153
2152
|
)
|
|
2154
2153
|
}, props), {
|
|
@@ -2187,7 +2186,7 @@ function ComboboxLabel(_a) {
|
|
|
2187
2186
|
__spreadValues({
|
|
2188
2187
|
"data-slot": "combobox-label",
|
|
2189
2188
|
className: cn(
|
|
2190
|
-
"px-2 py-1.5 text-xs text-
|
|
2189
|
+
"px-2 py-1.5 text-xs text-subtle pointer-coarse:px-3 pointer-coarse:py-2 pointer-coarse:text-sm",
|
|
2191
2190
|
className
|
|
2192
2191
|
)
|
|
2193
2192
|
}, props)
|
|
@@ -2204,7 +2203,7 @@ function ComboboxEmpty(_a) {
|
|
|
2204
2203
|
__spreadValues({
|
|
2205
2204
|
"data-slot": "combobox-empty",
|
|
2206
2205
|
className: cn(
|
|
2207
|
-
"hidden w-full justify-center py-2 text-center text-sm text-
|
|
2206
|
+
"hidden w-full justify-center py-2 text-center text-sm text-subtle group-data-empty/combobox-content:flex",
|
|
2208
2207
|
className
|
|
2209
2208
|
)
|
|
2210
2209
|
}, props)
|
|
@@ -2256,7 +2255,7 @@ function ComboboxChip(_a) {
|
|
|
2256
2255
|
__spreadProps(__spreadValues({
|
|
2257
2256
|
"data-slot": "combobox-chip",
|
|
2258
2257
|
className: cn(
|
|
2259
|
-
"flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-sm bg-
|
|
2258
|
+
"flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-sm bg-secondary-surface px-1.5 text-xs font-medium whitespace-nowrap text-prominent has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pr-0",
|
|
2260
2259
|
className
|
|
2261
2260
|
)
|
|
2262
2261
|
}, props), {
|
|
@@ -2353,7 +2352,7 @@ function DialogContent(_a) {
|
|
|
2353
2352
|
__spreadProps(__spreadValues({
|
|
2354
2353
|
"data-slot": "dialog-content",
|
|
2355
2354
|
className: cn(
|
|
2356
|
-
"fixed top-[50%] left-[50%] z-50 flex h-auto w-full max-w-[calc(100%-2rem)] flex-col translate-x-[-50%] translate-y-[-50%] gap-6 rounded-sm border border-
|
|
2355
|
+
"fixed top-[50%] left-[50%] z-50 flex h-auto w-full max-w-[calc(100%-2rem)] flex-col translate-x-[-50%] translate-y-[-50%] gap-6 rounded-sm border border-default bg-primary-surface p-6 shadow-lg duration-base outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg",
|
|
2357
2356
|
className
|
|
2358
2357
|
)
|
|
2359
2358
|
}, props), {
|
|
@@ -2363,7 +2362,7 @@ function DialogContent(_a) {
|
|
|
2363
2362
|
import_radix_ui10.Dialog.Close,
|
|
2364
2363
|
{
|
|
2365
2364
|
"data-slot": "dialog-close",
|
|
2366
|
-
className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-
|
|
2365
|
+
className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-primary-surface transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-subtle [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
2367
2366
|
children: [
|
|
2368
2367
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react7.XIcon, {}),
|
|
2369
2368
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "sr-only", children: "Close" })
|
|
@@ -2435,7 +2434,7 @@ function DialogDescription(_a) {
|
|
|
2435
2434
|
import_radix_ui10.Dialog.Description,
|
|
2436
2435
|
__spreadValues({
|
|
2437
2436
|
"data-slot": "dialog-description",
|
|
2438
|
-
className: cn("text-base text-
|
|
2437
|
+
className: cn("text-base text-subtle", className)
|
|
2439
2438
|
}, props)
|
|
2440
2439
|
);
|
|
2441
2440
|
}
|
|
@@ -2453,7 +2452,7 @@ function Command(_a) {
|
|
|
2453
2452
|
__spreadValues({
|
|
2454
2453
|
"data-slot": "command",
|
|
2455
2454
|
className: cn(
|
|
2456
|
-
"flex h-full w-full flex-col overflow-hidden rounded-sm bg-
|
|
2455
|
+
"flex h-full w-full flex-col overflow-hidden rounded-sm bg-primary-surface text-prominent",
|
|
2457
2456
|
className
|
|
2458
2457
|
)
|
|
2459
2458
|
}, props)
|
|
@@ -2483,7 +2482,7 @@ function CommandDialog(_a) {
|
|
|
2483
2482
|
{
|
|
2484
2483
|
className: cn("overflow-hidden p-0", className),
|
|
2485
2484
|
showCloseButton,
|
|
2486
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Command, { className: "**:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-
|
|
2485
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Command, { className: "**:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-subtle [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children })
|
|
2487
2486
|
}
|
|
2488
2487
|
)
|
|
2489
2488
|
] }));
|
|
@@ -2506,7 +2505,7 @@ function CommandInput(_a) {
|
|
|
2506
2505
|
__spreadValues({
|
|
2507
2506
|
"data-slot": "command-input",
|
|
2508
2507
|
className: cn(
|
|
2509
|
-
"flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-
|
|
2508
|
+
"flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-subtle disabled:cursor-not-allowed disabled:opacity-50",
|
|
2510
2509
|
className
|
|
2511
2510
|
)
|
|
2512
2511
|
}, props)
|
|
@@ -2553,7 +2552,7 @@ function CommandGroup(_a) {
|
|
|
2553
2552
|
__spreadValues({
|
|
2554
2553
|
"data-slot": "command-group",
|
|
2555
2554
|
className: cn(
|
|
2556
|
-
"overflow-hidden p-1 text-
|
|
2555
|
+
"overflow-hidden p-1 text-prominent [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-subtle",
|
|
2557
2556
|
className
|
|
2558
2557
|
)
|
|
2559
2558
|
}, props)
|
|
@@ -2584,7 +2583,7 @@ function CommandItem(_a) {
|
|
|
2584
2583
|
__spreadValues({
|
|
2585
2584
|
"data-slot": "command-item",
|
|
2586
2585
|
className: cn(
|
|
2587
|
-
"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[selected=true]:bg-primary/10 data-[selected=true]:text-
|
|
2586
|
+
"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[selected=true]:bg-primary/10 data-[selected=true]:text-prominent [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-subtle",
|
|
2588
2587
|
className
|
|
2589
2588
|
)
|
|
2590
2589
|
}, props)
|
|
@@ -2601,7 +2600,7 @@ function CommandShortcut(_a) {
|
|
|
2601
2600
|
__spreadValues({
|
|
2602
2601
|
"data-slot": "command-shortcut",
|
|
2603
2602
|
className: cn(
|
|
2604
|
-
"ml-auto text-xs tracking-widest text-
|
|
2603
|
+
"ml-auto text-xs tracking-widest text-subtle",
|
|
2605
2604
|
className
|
|
2606
2605
|
)
|
|
2607
2606
|
}, props)
|
|
@@ -2657,7 +2656,7 @@ function ContextMenuSubTrigger(_a) {
|
|
|
2657
2656
|
"data-slot": "context-menu-sub-trigger",
|
|
2658
2657
|
"data-inset": inset,
|
|
2659
2658
|
className: cn(
|
|
2660
|
-
"flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-secondary-hover data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-
|
|
2659
|
+
"flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-secondary-hover data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-subtle",
|
|
2661
2660
|
className
|
|
2662
2661
|
)
|
|
2663
2662
|
}, props), {
|
|
@@ -2679,7 +2678,7 @@ function ContextMenuSubContent(_a) {
|
|
|
2679
2678
|
__spreadValues({
|
|
2680
2679
|
"data-slot": "context-menu-sub-content",
|
|
2681
2680
|
className: cn(
|
|
2682
|
-
"z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border border-
|
|
2681
|
+
"z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border border-default bg-primary-surface p-1 text-prominent shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2683
2682
|
className
|
|
2684
2683
|
)
|
|
2685
2684
|
}, props)
|
|
@@ -2696,7 +2695,7 @@ function ContextMenuContent(_a) {
|
|
|
2696
2695
|
__spreadValues({
|
|
2697
2696
|
"data-slot": "context-menu-content",
|
|
2698
2697
|
className: cn(
|
|
2699
|
-
"z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-
|
|
2698
|
+
"z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-default bg-primary-surface p-1 text-prominent shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2700
2699
|
className
|
|
2701
2700
|
)
|
|
2702
2701
|
}, props)
|
|
@@ -2719,7 +2718,7 @@ function ContextMenuItem(_a) {
|
|
|
2719
2718
|
"data-inset": inset,
|
|
2720
2719
|
"data-variant": variant,
|
|
2721
2720
|
className: cn(
|
|
2722
|
-
"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-
|
|
2721
|
+
"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-subtle data-[variant=destructive]:*:[svg]:text-destructive!",
|
|
2723
2722
|
className
|
|
2724
2723
|
)
|
|
2725
2724
|
}, props)
|
|
@@ -2790,7 +2789,7 @@ function ContextMenuLabel(_a) {
|
|
|
2790
2789
|
"data-slot": "context-menu-label",
|
|
2791
2790
|
"data-inset": inset,
|
|
2792
2791
|
className: cn(
|
|
2793
|
-
"px-2 py-1.5 text-sm font-medium text-
|
|
2792
|
+
"px-2 py-1.5 text-sm font-medium text-prominent data-[inset]:pl-8",
|
|
2794
2793
|
className
|
|
2795
2794
|
)
|
|
2796
2795
|
}, props)
|
|
@@ -2821,7 +2820,7 @@ function ContextMenuShortcut(_a) {
|
|
|
2821
2820
|
__spreadValues({
|
|
2822
2821
|
"data-slot": "context-menu-shortcut",
|
|
2823
2822
|
className: cn(
|
|
2824
|
-
"ml-auto text-xs tracking-widest text-
|
|
2823
|
+
"ml-auto text-xs tracking-widest text-subtle",
|
|
2825
2824
|
className
|
|
2826
2825
|
)
|
|
2827
2826
|
}, props)
|
|
@@ -2891,16 +2890,16 @@ function DrawerContent(_a) {
|
|
|
2891
2890
|
__spreadProps(__spreadValues({
|
|
2892
2891
|
"data-slot": "drawer-content",
|
|
2893
2892
|
className: cn(
|
|
2894
|
-
"group/drawer-content fixed z-50 flex h-auto flex-col bg-
|
|
2895
|
-
"data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=top]:border-
|
|
2896
|
-
"data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=bottom]:border-
|
|
2897
|
-
"data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:border-
|
|
2898
|
-
"data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:border-
|
|
2893
|
+
"group/drawer-content fixed z-50 flex h-auto flex-col bg-primary-surface",
|
|
2894
|
+
"data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=top]:border-default",
|
|
2895
|
+
"data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=bottom]:border-default",
|
|
2896
|
+
"data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:border-default data-[vaul-drawer-direction=right]:sm:max-w-sm",
|
|
2897
|
+
"data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:border-default data-[vaul-drawer-direction=left]:sm:max-w-sm",
|
|
2899
2898
|
className
|
|
2900
2899
|
)
|
|
2901
2900
|
}, props), {
|
|
2902
2901
|
children: [
|
|
2903
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full bg-
|
|
2902
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full bg-secondary-surface group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
|
|
2904
2903
|
children
|
|
2905
2904
|
]
|
|
2906
2905
|
})
|
|
@@ -2940,7 +2939,7 @@ function DrawerTitle(_a) {
|
|
|
2940
2939
|
import_vaul.Drawer.Title,
|
|
2941
2940
|
__spreadValues({
|
|
2942
2941
|
"data-slot": "drawer-title",
|
|
2943
|
-
className: cn("font-semibold font-display text-
|
|
2942
|
+
className: cn("font-semibold font-display text-prominent", className)
|
|
2944
2943
|
}, props)
|
|
2945
2944
|
);
|
|
2946
2945
|
}
|
|
@@ -2954,7 +2953,7 @@ function DrawerDescription(_a) {
|
|
|
2954
2953
|
import_vaul.Drawer.Description,
|
|
2955
2954
|
__spreadValues({
|
|
2956
2955
|
"data-slot": "drawer-description",
|
|
2957
|
-
className: cn("text-sm text-
|
|
2956
|
+
className: cn("text-sm text-subtle", className)
|
|
2958
2957
|
}, props)
|
|
2959
2958
|
);
|
|
2960
2959
|
}
|
|
@@ -2994,7 +2993,7 @@ function DropdownMenuContent(_a) {
|
|
|
2994
2993
|
"data-slot": "dropdown-menu-content",
|
|
2995
2994
|
sideOffset,
|
|
2996
2995
|
className: cn(
|
|
2997
|
-
"z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-sm border border-
|
|
2996
|
+
"z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-sm border border-default bg-primary-surface p-1 text-prominent shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2998
2997
|
className
|
|
2999
2998
|
)
|
|
3000
2999
|
}, props)
|
|
@@ -3021,7 +3020,7 @@ function DropdownMenuItem(_a) {
|
|
|
3021
3020
|
"data-inset": inset,
|
|
3022
3021
|
"data-variant": variant,
|
|
3023
3022
|
className: cn(
|
|
3024
|
-
"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-
|
|
3023
|
+
"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-prominent data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-subtle data-[variant=destructive]:*:[svg]:text-destructive!",
|
|
3025
3024
|
className
|
|
3026
3025
|
)
|
|
3027
3026
|
}, props)
|
|
@@ -3042,7 +3041,7 @@ function DropdownMenuCheckboxItem(_a) {
|
|
|
3042
3041
|
__spreadProps(__spreadValues({
|
|
3043
3042
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
3044
3043
|
className: cn(
|
|
3045
|
-
"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-
|
|
3044
|
+
"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-prominent data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
3046
3045
|
className
|
|
3047
3046
|
),
|
|
3048
3047
|
checked
|
|
@@ -3076,7 +3075,7 @@ function DropdownMenuRadioItem(_a) {
|
|
|
3076
3075
|
__spreadProps(__spreadValues({
|
|
3077
3076
|
"data-slot": "dropdown-menu-radio-item",
|
|
3078
3077
|
className: cn(
|
|
3079
|
-
"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-
|
|
3078
|
+
"relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-prominent data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
3080
3079
|
className
|
|
3081
3080
|
)
|
|
3082
3081
|
}, props), {
|
|
@@ -3132,7 +3131,7 @@ function DropdownMenuShortcut(_a) {
|
|
|
3132
3131
|
__spreadValues({
|
|
3133
3132
|
"data-slot": "dropdown-menu-shortcut",
|
|
3134
3133
|
className: cn(
|
|
3135
|
-
"ml-auto text-xs tracking-widest text-
|
|
3134
|
+
"ml-auto text-xs tracking-widest text-subtle",
|
|
3136
3135
|
className
|
|
3137
3136
|
)
|
|
3138
3137
|
}, props)
|
|
@@ -3158,7 +3157,7 @@ function DropdownMenuSubTrigger(_a) {
|
|
|
3158
3157
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
3159
3158
|
"data-inset": inset,
|
|
3160
3159
|
className: cn(
|
|
3161
|
-
"flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-
|
|
3160
|
+
"flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-prominent data-[inset]:pl-8 data-[state=open]:bg-secondary-hover data-[state=open]:text-prominent [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-subtle",
|
|
3162
3161
|
className
|
|
3163
3162
|
)
|
|
3164
3163
|
}, props), {
|
|
@@ -3180,7 +3179,7 @@ function DropdownMenuSubContent(_a) {
|
|
|
3180
3179
|
__spreadValues({
|
|
3181
3180
|
"data-slot": "dropdown-menu-sub-content",
|
|
3182
3181
|
className: cn(
|
|
3183
|
-
"z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-sm border border-
|
|
3182
|
+
"z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-sm border border-default bg-primary-surface p-1 text-prominent shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
3184
3183
|
className
|
|
3185
3184
|
)
|
|
3186
3185
|
}, props)
|
|
@@ -3222,7 +3221,7 @@ var emptyMediaVariants = (0, import_class_variance_authority5.cva)(
|
|
|
3222
3221
|
variants: {
|
|
3223
3222
|
variant: {
|
|
3224
3223
|
default: "bg-transparent",
|
|
3225
|
-
icon: "flex size-10 shrink-0 items-center justify-center rounded-lg bg-
|
|
3224
|
+
icon: "flex size-10 shrink-0 items-center justify-center rounded-lg bg-secondary-surface text-prominent [&_svg:not([class*='size-'])]:size-6"
|
|
3226
3225
|
}
|
|
3227
3226
|
},
|
|
3228
3227
|
defaultVariants: {
|
|
@@ -3264,7 +3263,7 @@ function EmptyDescription(_a) {
|
|
|
3264
3263
|
__spreadValues({
|
|
3265
3264
|
"data-slot": "empty-description",
|
|
3266
3265
|
className: cn(
|
|
3267
|
-
"text-sm/relaxed text-
|
|
3266
|
+
"text-sm/relaxed text-subtle [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
|
|
3268
3267
|
className
|
|
3269
3268
|
)
|
|
3270
3269
|
}, props)
|
|
@@ -3480,7 +3479,7 @@ function FieldDescription(_a) {
|
|
|
3480
3479
|
__spreadValues({
|
|
3481
3480
|
"data-slot": "field-description",
|
|
3482
3481
|
className: cn(
|
|
3483
|
-
"text-sm leading-normal font-normal text-
|
|
3482
|
+
"text-sm leading-normal font-normal text-subtle group-has-[[data-orientation=horizontal]]/field:text-balance",
|
|
3484
3483
|
"last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",
|
|
3485
3484
|
"[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
|
|
3486
3485
|
className
|
|
@@ -3511,7 +3510,7 @@ function FieldSeparator(_a) {
|
|
|
3511
3510
|
children && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3512
3511
|
"span",
|
|
3513
3512
|
{
|
|
3514
|
-
className: "relative mx-auto block w-fit bg-
|
|
3513
|
+
className: "relative mx-auto block w-fit bg-primary-surface px-2 text-subtle",
|
|
3515
3514
|
"data-slot": "field-separator-content",
|
|
3516
3515
|
children
|
|
3517
3516
|
}
|
|
@@ -3646,7 +3645,7 @@ function FormDescription(_a) {
|
|
|
3646
3645
|
__spreadValues({
|
|
3647
3646
|
"data-slot": "form-description",
|
|
3648
3647
|
id: formDescriptionId,
|
|
3649
|
-
className: cn("text-sm text-
|
|
3648
|
+
className: cn("text-sm text-subtle", className)
|
|
3650
3649
|
}, props)
|
|
3651
3650
|
);
|
|
3652
3651
|
}
|
|
@@ -3698,7 +3697,7 @@ function HoverCardContent(_a) {
|
|
|
3698
3697
|
align,
|
|
3699
3698
|
sideOffset,
|
|
3700
3699
|
className: cn(
|
|
3701
|
-
"z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border border-
|
|
3700
|
+
"z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border border-default bg-primary-surface p-4 text-prominent shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
3702
3701
|
className
|
|
3703
3702
|
)
|
|
3704
3703
|
}, props)
|
|
@@ -3757,7 +3756,7 @@ function InputOTPSlot(_a) {
|
|
|
3757
3756
|
"data-slot": "input-otp-slot",
|
|
3758
3757
|
"data-active": isActive,
|
|
3759
3758
|
className: cn(
|
|
3760
|
-
"relative flex h-9 w-9 items-center justify-center border border-
|
|
3759
|
+
"relative flex h-9 w-9 items-center justify-center border border-default bg-white/5 text-sm font-body text-prominent shadow-xs transition-[color,box-shadow] outline-none first:rounded-l-sm last:rounded-r-sm aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[active=true]:z-10 data-[active=true]:border-primary data-[active=true]:ring-[3px] data-[active=true]:ring-primary/[0.08] data-[active=true]:aria-invalid:border-destructive data-[active=true]:aria-invalid:ring-destructive/20",
|
|
3761
3760
|
className
|
|
3762
3761
|
)
|
|
3763
3762
|
}, props), {
|
|
@@ -3808,9 +3807,9 @@ var itemVariants = (0, import_class_variance_authority7.cva)(
|
|
|
3808
3807
|
{
|
|
3809
3808
|
variants: {
|
|
3810
3809
|
variant: {
|
|
3811
|
-
default: "bg-
|
|
3812
|
-
outline: "border-border-
|
|
3813
|
-
muted: "bg-
|
|
3810
|
+
default: "bg-[var(--list-item-primary-bg-default)] hover:bg-[var(--list-item-primary-bg-hover)] active:bg-[var(--list-item-primary-bg-pressed)]",
|
|
3811
|
+
outline: "border-[var(--list-item-border-selected)] text-[var(--list-item-text-prominent)] hover:bg-[var(--list-item-primary-bg-hover)] active:bg-[var(--list-item-primary-bg-pressed)]",
|
|
3812
|
+
muted: "bg-[var(--list-item-secondary-bg-default)] hover:bg-[var(--list-item-secondary-bg-hover)] active:bg-[var(--list-item-secondary-bg-pressed)]"
|
|
3814
3813
|
},
|
|
3815
3814
|
size: {
|
|
3816
3815
|
default: "gap-4 p-4",
|
|
@@ -3852,7 +3851,7 @@ var itemMediaVariants = (0, import_class_variance_authority7.cva)(
|
|
|
3852
3851
|
variants: {
|
|
3853
3852
|
variant: {
|
|
3854
3853
|
default: "bg-transparent",
|
|
3855
|
-
icon: "size-8 rounded-sm border bg-
|
|
3854
|
+
icon: "size-8 rounded-sm border bg-secondary-surface [&_svg:not([class*='size-'])]:size-4",
|
|
3856
3855
|
image: "size-10 overflow-hidden rounded-sm [&_img]:size-full [&_img]:object-cover"
|
|
3857
3856
|
}
|
|
3858
3857
|
},
|
|
@@ -3898,7 +3897,7 @@ function ItemTitle(_a) {
|
|
|
3898
3897
|
__spreadValues({
|
|
3899
3898
|
"data-slot": "item-title",
|
|
3900
3899
|
className: cn(
|
|
3901
|
-
"flex w-fit items-center gap-2 text-sm leading-snug font-medium",
|
|
3900
|
+
"flex w-fit items-center gap-2 text-sm leading-snug font-medium text-[var(--list-item-text-prominent)]",
|
|
3902
3901
|
className
|
|
3903
3902
|
)
|
|
3904
3903
|
}, props)
|
|
@@ -3911,7 +3910,7 @@ function ItemDescription(_a) {
|
|
|
3911
3910
|
__spreadValues({
|
|
3912
3911
|
"data-slot": "item-description",
|
|
3913
3912
|
className: cn(
|
|
3914
|
-
"line-clamp-2 text-sm leading-normal font-normal text-balance text-
|
|
3913
|
+
"line-clamp-2 text-sm leading-normal font-normal text-balance text-subtle",
|
|
3915
3914
|
"[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
|
|
3916
3915
|
className
|
|
3917
3916
|
)
|
|
@@ -3964,9 +3963,9 @@ function Kbd(_a) {
|
|
|
3964
3963
|
__spreadValues({
|
|
3965
3964
|
"data-slot": "kbd",
|
|
3966
3965
|
className: cn(
|
|
3967
|
-
"pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-
|
|
3966
|
+
"pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-secondary-surface px-1 font-sans text-xs font-medium text-subtle select-none",
|
|
3968
3967
|
"[&_svg:not([class*='size-'])]:size-3",
|
|
3969
|
-
"[[data-slot=tooltip-content]_&]:bg-border [[data-slot=tooltip-content]_&]:text-
|
|
3968
|
+
"[[data-slot=tooltip-content]_&]:bg-border [[data-slot=tooltip-content]_&]:text-prominent",
|
|
3970
3969
|
className
|
|
3971
3970
|
)
|
|
3972
3971
|
}, props)
|
|
@@ -3988,7 +3987,7 @@ var import_class_variance_authority8 = require("class-variance-authority");
|
|
|
3988
3987
|
var import_radix_ui19 = require("radix-ui");
|
|
3989
3988
|
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
3990
3989
|
var linkVariants = (0, import_class_variance_authority8.cva)(
|
|
3991
|
-
"inline-flex shrink-0 items-center gap-1.5 whitespace-nowrap transition-all outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 active:opacity-60 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:inline font-display font-bold normal-case tracking-wide text-primary hover:underline decoration-2 underline-offset-4",
|
|
3990
|
+
"inline-flex shrink-0 items-center gap-1.5 whitespace-nowrap transition-all outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 active:opacity-60 disabled:pointer-events-none disabled:text-[var(--link-primary-disabled)] disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:inline font-display font-bold normal-case tracking-wide text-[var(--link-primary-default)] hover:underline decoration-2 underline-offset-4",
|
|
3992
3991
|
{
|
|
3993
3992
|
variants: {
|
|
3994
3993
|
size: {
|
|
@@ -4038,7 +4037,7 @@ function Menubar(_a) {
|
|
|
4038
4037
|
__spreadValues({
|
|
4039
4038
|
"data-slot": "menubar",
|
|
4040
4039
|
className: cn(
|
|
4041
|
-
"flex h-9 items-center gap-1 rounded-md border border-
|
|
4040
|
+
"flex h-9 items-center gap-1 rounded-md border border-default bg-primary-surface p-1 shadow-xs",
|
|
4042
4041
|
className
|
|
4043
4042
|
)
|
|
4044
4043
|
}, props)
|
|
@@ -4071,7 +4070,7 @@ function MenubarTrigger(_a) {
|
|
|
4071
4070
|
__spreadValues({
|
|
4072
4071
|
"data-slot": "menubar-trigger",
|
|
4073
4072
|
className: cn(
|
|
4074
|
-
"flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none hover:bg-secondary-hover hover:text-
|
|
4073
|
+
"flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none hover:bg-secondary-hover hover:text-prominent focus:bg-secondary-hover focus:text-prominent data-[state=open]:bg-secondary-hover data-[state=open]:text-primary",
|
|
4075
4074
|
className
|
|
4076
4075
|
)
|
|
4077
4076
|
}, props)
|
|
@@ -4097,7 +4096,7 @@ function MenubarContent(_a) {
|
|
|
4097
4096
|
alignOffset,
|
|
4098
4097
|
sideOffset,
|
|
4099
4098
|
className: cn(
|
|
4100
|
-
"z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border border-
|
|
4099
|
+
"z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border border-default bg-primary-surface p-1 text-prominent shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
4101
4100
|
className
|
|
4102
4101
|
)
|
|
4103
4102
|
}, props)
|
|
@@ -4120,7 +4119,7 @@ function MenubarItem(_a) {
|
|
|
4120
4119
|
"data-inset": inset,
|
|
4121
4120
|
"data-variant": variant,
|
|
4122
4121
|
className: cn(
|
|
4123
|
-
"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none hover:bg-secondary-hover hover:text-
|
|
4122
|
+
"relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none hover:bg-secondary-hover hover:text-prominent focus:bg-secondary-hover focus:text-prominent data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-subtle data-[variant=destructive]:*:[svg]:text-destructive!",
|
|
4124
4123
|
className
|
|
4125
4124
|
)
|
|
4126
4125
|
}, props)
|
|
@@ -4141,7 +4140,7 @@ function MenubarCheckboxItem(_a) {
|
|
|
4141
4140
|
__spreadProps(__spreadValues({
|
|
4142
4141
|
"data-slot": "menubar-checkbox-item",
|
|
4143
4142
|
className: cn(
|
|
4144
|
-
"relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none hover:bg-secondary-hover hover:text-
|
|
4143
|
+
"relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none hover:bg-secondary-hover hover:text-prominent focus:bg-secondary-hover focus:text-prominent data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
4145
4144
|
className
|
|
4146
4145
|
),
|
|
4147
4146
|
checked
|
|
@@ -4166,7 +4165,7 @@ function MenubarRadioItem(_a) {
|
|
|
4166
4165
|
__spreadProps(__spreadValues({
|
|
4167
4166
|
"data-slot": "menubar-radio-item",
|
|
4168
4167
|
className: cn(
|
|
4169
|
-
"relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none hover:bg-secondary-hover hover:text-
|
|
4168
|
+
"relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none hover:bg-secondary-hover hover:text-prominent focus:bg-secondary-hover focus:text-prominent data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
4170
4169
|
className
|
|
4171
4170
|
)
|
|
4172
4171
|
}, props), {
|
|
@@ -4222,7 +4221,7 @@ function MenubarShortcut(_a) {
|
|
|
4222
4221
|
__spreadValues({
|
|
4223
4222
|
"data-slot": "menubar-shortcut",
|
|
4224
4223
|
className: cn(
|
|
4225
|
-
"ml-auto text-xs tracking-widest text-
|
|
4224
|
+
"ml-auto text-xs tracking-widest text-subtle",
|
|
4226
4225
|
className
|
|
4227
4226
|
)
|
|
4228
4227
|
}, props)
|
|
@@ -4248,7 +4247,7 @@ function MenubarSubTrigger(_a) {
|
|
|
4248
4247
|
"data-slot": "menubar-sub-trigger",
|
|
4249
4248
|
"data-inset": inset,
|
|
4250
4249
|
className: cn(
|
|
4251
|
-
"flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none hover:bg-secondary-hover hover:text-
|
|
4250
|
+
"flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none hover:bg-secondary-hover hover:text-prominent focus:bg-secondary-hover focus:text-prominent data-[inset]:pl-8 data-[state=open]:bg-secondary-hover data-[state=open]:text-prominent",
|
|
4252
4251
|
className
|
|
4253
4252
|
)
|
|
4254
4253
|
}, props), {
|
|
@@ -4270,7 +4269,7 @@ function MenubarSubContent(_a) {
|
|
|
4270
4269
|
__spreadValues({
|
|
4271
4270
|
"data-slot": "menubar-sub-content",
|
|
4272
4271
|
className: cn(
|
|
4273
|
-
"z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border border-
|
|
4272
|
+
"z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border border-default bg-primary-surface p-1 text-prominent shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
4274
4273
|
className
|
|
4275
4274
|
)
|
|
4276
4275
|
}, props)
|
|
@@ -4300,7 +4299,7 @@ function NativeSelect(_a) {
|
|
|
4300
4299
|
"data-slot": "native-select",
|
|
4301
4300
|
"data-size": size,
|
|
4302
4301
|
className: cn(
|
|
4303
|
-
"h-9 w-full min-w-0 appearance-none rounded-md border border-input bg-transparent px-3 py-2 pr-9 text-sm shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-
|
|
4302
|
+
"h-9 w-full min-w-0 appearance-none rounded-md border border-input bg-transparent px-3 py-2 pr-9 text-sm shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-prominent-static-inverse placeholder:text-subtle disabled:pointer-events-none disabled:cursor-not-allowed data-[size=sm]:h-8 data-[size=sm]:py-1",
|
|
4304
4303
|
"focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
|
|
4305
4304
|
className
|
|
4306
4305
|
)
|
|
@@ -4309,7 +4308,7 @@ function NativeSelect(_a) {
|
|
|
4309
4308
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4310
4309
|
import_lucide_react13.ChevronDownIcon,
|
|
4311
4310
|
{
|
|
4312
|
-
className: "pointer-events-none absolute top-1/2 right-3.5 size-4 -translate-y-1/2 text-
|
|
4311
|
+
className: "pointer-events-none absolute top-1/2 right-3.5 size-4 -translate-y-1/2 text-subtle opacity-50 select-none",
|
|
4313
4312
|
"aria-hidden": "true",
|
|
4314
4313
|
"data-slot": "native-select-icon"
|
|
4315
4314
|
}
|
|
@@ -4401,7 +4400,7 @@ function NavigationMenuItem(_a) {
|
|
|
4401
4400
|
);
|
|
4402
4401
|
}
|
|
4403
4402
|
var navigationMenuTriggerStyle = (0, import_class_variance_authority9.cva)(
|
|
4404
|
-
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-
|
|
4403
|
+
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-primary-surface px-4 py-2 text-sm font-medium transition-[color,box-shadow] outline-none hover:bg-secondary-hover hover:text-prominent focus:bg-secondary-hover focus:text-prominent focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=open]:bg-secondary-hover data-[state=open]:text-prominent data-[state=open]:hover:bg-secondary-hover data-[state=open]:focus:bg-secondary-hover"
|
|
4405
4404
|
);
|
|
4406
4405
|
function NavigationMenuTrigger(_a) {
|
|
4407
4406
|
var _b = _a, {
|
|
@@ -4443,7 +4442,7 @@ function NavigationMenuContent(_a) {
|
|
|
4443
4442
|
"data-slot": "navigation-menu-content",
|
|
4444
4443
|
className: cn(
|
|
4445
4444
|
"top-0 left-0 w-full p-2 pr-2.5 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out md:absolute md:w-auto",
|
|
4446
|
-
"group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:border-
|
|
4445
|
+
"group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:border-default group-data-[viewport=false]/navigation-menu:bg-primary-surface group-data-[viewport=false]/navigation-menu:text-prominent group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-base **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95",
|
|
4447
4446
|
className
|
|
4448
4447
|
)
|
|
4449
4448
|
}, props)
|
|
@@ -4466,7 +4465,7 @@ function NavigationMenuViewport(_a) {
|
|
|
4466
4465
|
__spreadValues({
|
|
4467
4466
|
"data-slot": "navigation-menu-viewport",
|
|
4468
4467
|
className: cn(
|
|
4469
|
-
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-
|
|
4468
|
+
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-default bg-primary-surface text-prominent shadow data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
4470
4469
|
className
|
|
4471
4470
|
)
|
|
4472
4471
|
}, props)
|
|
@@ -4485,7 +4484,7 @@ function NavigationMenuLink(_a) {
|
|
|
4485
4484
|
__spreadValues({
|
|
4486
4485
|
"data-slot": "navigation-menu-link",
|
|
4487
4486
|
className: cn(
|
|
4488
|
-
"flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none hover:bg-secondary-hover hover:text-
|
|
4487
|
+
"flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none hover:bg-secondary-hover hover:text-prominent focus:bg-secondary-hover focus:text-prominent focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 data-[active=true]:bg-secondary-hover data-[active=true]:text-primary data-[active=true]:hover:bg-secondary-hover data-[active=true]:focus:bg-secondary-hover [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-subtle",
|
|
4489
4488
|
className
|
|
4490
4489
|
)
|
|
4491
4490
|
}, props)
|
|
@@ -4562,7 +4561,7 @@ function PaginationLink(_a) {
|
|
|
4562
4561
|
"data-active": isActive,
|
|
4563
4562
|
className: cn(
|
|
4564
4563
|
"inline-flex shrink-0 items-center justify-center size-10 rounded-xs text-sm font-display font-bold uppercase tracking-wide whitespace-nowrap transition-[color,background-color,border-color] outline-none border",
|
|
4565
|
-
isActive ? "bg-
|
|
4564
|
+
isActive ? "bg-[var(--pagination-bg-number-selected)] border-[var(--pagination-border-number-selected)] text-[var(--pagination-text-default)]" : "bg-[var(--pagination-bg-number-default)] border-transparent text-[var(--pagination-text-default)] hover:bg-[var(--pagination-bg-number-hover)] active:bg-[var(--pagination-bg-number-pressed)]",
|
|
4566
4565
|
className
|
|
4567
4566
|
)
|
|
4568
4567
|
}, props)
|
|
@@ -4633,7 +4632,7 @@ function PopoverContent(_a) {
|
|
|
4633
4632
|
align,
|
|
4634
4633
|
sideOffset,
|
|
4635
4634
|
className: cn(
|
|
4636
|
-
"z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border border-
|
|
4635
|
+
"z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border border-default bg-primary-surface p-4 text-prominent shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
4637
4636
|
className
|
|
4638
4637
|
)
|
|
4639
4638
|
}, props)
|
|
@@ -4673,7 +4672,7 @@ function PopoverDescription(_a) {
|
|
|
4673
4672
|
"p",
|
|
4674
4673
|
__spreadValues({
|
|
4675
4674
|
"data-slot": "popover-description",
|
|
4676
|
-
className: cn("text-
|
|
4675
|
+
className: cn("text-subtle", className)
|
|
4677
4676
|
}, props)
|
|
4678
4677
|
);
|
|
4679
4678
|
}
|
|
@@ -4694,7 +4693,7 @@ function Progress(_a) {
|
|
|
4694
4693
|
__spreadProps(__spreadValues({
|
|
4695
4694
|
"data-slot": "progress",
|
|
4696
4695
|
className: cn(
|
|
4697
|
-
"relative h-2 w-full overflow-hidden rounded-2xs bg-
|
|
4696
|
+
"relative h-2 w-full overflow-hidden rounded-2xs bg-[var(--progress-bar-bg-normal-track-default)]",
|
|
4698
4697
|
className
|
|
4699
4698
|
)
|
|
4700
4699
|
}, props), {
|
|
@@ -4702,7 +4701,7 @@ function Progress(_a) {
|
|
|
4702
4701
|
import_radix_ui23.Progress.Indicator,
|
|
4703
4702
|
{
|
|
4704
4703
|
"data-slot": "progress-indicator",
|
|
4705
|
-
className: "h-full w-full flex-1 bg-
|
|
4704
|
+
className: "h-full w-full flex-1 bg-[var(--progress-bar-bg-normal-progress-default)] transition-all",
|
|
4706
4705
|
style: { transform: `translateX(-${100 - (value || 0)}%)` }
|
|
4707
4706
|
}
|
|
4708
4707
|
)
|
|
@@ -4901,7 +4900,7 @@ function SelectTrigger(_a) {
|
|
|
4901
4900
|
"data-readonly": readOnly ? "" : void 0,
|
|
4902
4901
|
disabled: readOnly || props.disabled,
|
|
4903
4902
|
className: cn(
|
|
4904
|
-
"flex w-fit items-center justify-between gap-2 rounded-sm border border-
|
|
4903
|
+
"flex w-fit items-center justify-between gap-2 rounded-sm border border-[var(--dropdown-field-outline-border-default)] bg-[var(--dropdown-field-outline-bg-default)] appearance-none px-3 py-2 text-sm text-[var(--dropdown-field-text-prominent)] whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-[var(--dropdown-field-outline-bg-hover)] focus-visible:bg-[var(--dropdown-field-outline-bg-focus)] focus-visible:border-[var(--dropdown-field-outline-border-focus)] focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-[var(--dropdown-field-text-subtle)] data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-[var(--dropdown-field-text-subtle)] data-[readonly]:cursor-default data-[readonly]:opacity-100",
|
|
4905
4904
|
className
|
|
4906
4905
|
)
|
|
4907
4906
|
}, props), {
|
|
@@ -4929,7 +4928,7 @@ function SelectContent(_a) {
|
|
|
4929
4928
|
__spreadProps(__spreadValues({
|
|
4930
4929
|
"data-slot": "select-content",
|
|
4931
4930
|
className: cn(
|
|
4932
|
-
"relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-sm border border-border
|
|
4931
|
+
"relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-sm border border-[var(--menu-border)] bg-[var(--menu-background)] text-[var(--dropdown-field-text-prominent)] shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
4933
4932
|
position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
4934
4933
|
className
|
|
4935
4934
|
),
|
|
@@ -4963,7 +4962,7 @@ function SelectLabel(_a) {
|
|
|
4963
4962
|
import_radix_ui26.Select.Label,
|
|
4964
4963
|
__spreadValues({
|
|
4965
4964
|
"data-slot": "select-label",
|
|
4966
|
-
className: cn("px-2 py-1.5 text-xs text-
|
|
4965
|
+
className: cn("px-2 py-1.5 text-xs text-subtle", className)
|
|
4967
4966
|
}, props)
|
|
4968
4967
|
);
|
|
4969
4968
|
}
|
|
@@ -4980,7 +4979,7 @@ function SelectItem(_a) {
|
|
|
4980
4979
|
__spreadProps(__spreadValues({
|
|
4981
4980
|
"data-slot": "select-item",
|
|
4982
4981
|
className: cn(
|
|
4983
|
-
"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-
|
|
4982
|
+
"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-secondary-hover focus:text-prominent data-[state=checked]:text-primary data-[state=checked]:font-medium data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-subtle *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
4984
4983
|
className
|
|
4985
4984
|
)
|
|
4986
4985
|
}, props), {
|
|
@@ -5107,11 +5106,11 @@ function SheetContent(_a) {
|
|
|
5107
5106
|
__spreadProps(__spreadValues({
|
|
5108
5107
|
"data-slot": "sheet-content",
|
|
5109
5108
|
className: cn(
|
|
5110
|
-
"fixed z-50 flex flex-col gap-4 bg-
|
|
5111
|
-
side === "right" && "inset-y-0 right-0 h-full w-3/4 border-l border-
|
|
5112
|
-
side === "left" && "inset-y-0 left-0 h-full w-3/4 border-r border-
|
|
5113
|
-
side === "top" && "inset-x-0 top-0 h-auto border-b border-
|
|
5114
|
-
side === "bottom" && "inset-x-0 bottom-0 h-auto border-t border-
|
|
5109
|
+
"fixed z-50 flex flex-col gap-4 bg-primary-surface shadow-lg transition ease-standard data-[state=closed]:animate-out data-[state=closed]:duration-slow data-[state=open]:animate-in data-[state=open]:duration-open",
|
|
5110
|
+
side === "right" && "inset-y-0 right-0 h-full w-3/4 border-l border-default data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",
|
|
5111
|
+
side === "left" && "inset-y-0 left-0 h-full w-3/4 border-r border-default data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
5112
|
+
side === "top" && "inset-x-0 top-0 h-auto border-b border-default data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
5113
|
+
side === "bottom" && "inset-x-0 bottom-0 h-auto border-t border-default data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
5115
5114
|
className
|
|
5116
5115
|
)
|
|
5117
5116
|
}, props), {
|
|
@@ -5156,7 +5155,7 @@ function SheetTitle(_a) {
|
|
|
5156
5155
|
import_radix_ui27.Dialog.Title,
|
|
5157
5156
|
__spreadValues({
|
|
5158
5157
|
"data-slot": "sheet-title",
|
|
5159
|
-
className: cn("font-semibold text-
|
|
5158
|
+
className: cn("font-semibold text-prominent", className)
|
|
5160
5159
|
}, props)
|
|
5161
5160
|
);
|
|
5162
5161
|
}
|
|
@@ -5170,7 +5169,7 @@ function SheetDescription(_a) {
|
|
|
5170
5169
|
import_radix_ui27.Dialog.Description,
|
|
5171
5170
|
__spreadValues({
|
|
5172
5171
|
"data-slot": "sheet-description",
|
|
5173
|
-
className: cn("text-sm text-
|
|
5172
|
+
className: cn("text-sm text-subtle", className)
|
|
5174
5173
|
}, props)
|
|
5175
5174
|
);
|
|
5176
5175
|
}
|
|
@@ -5206,7 +5205,7 @@ function Skeleton(_a) {
|
|
|
5206
5205
|
"div",
|
|
5207
5206
|
__spreadValues({
|
|
5208
5207
|
"data-slot": "skeleton",
|
|
5209
|
-
className: cn("animate-pulse rounded-md bg-
|
|
5208
|
+
className: cn("animate-pulse rounded-md bg-secondary-surface", className)
|
|
5210
5209
|
}, props)
|
|
5211
5210
|
);
|
|
5212
5211
|
}
|
|
@@ -5252,13 +5251,13 @@ function TooltipContent(_a) {
|
|
|
5252
5251
|
"data-slot": "tooltip-content",
|
|
5253
5252
|
sideOffset,
|
|
5254
5253
|
className: cn(
|
|
5255
|
-
"z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-
|
|
5254
|
+
"z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-[var(--tooltip-bg-default)] border-0 px-3 py-1.5 text-xs font-medium text-balance text-[var(--tooltip-text-default)] fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
5256
5255
|
className
|
|
5257
5256
|
)
|
|
5258
5257
|
}, props), {
|
|
5259
5258
|
children: [
|
|
5260
5259
|
children,
|
|
5261
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_radix_ui28.Tooltip.Arrow, { className: "fill-
|
|
5260
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_radix_ui28.Tooltip.Arrow, { className: "fill-[var(--tooltip-bg-default)]" })
|
|
5262
5261
|
]
|
|
5263
5262
|
})
|
|
5264
5263
|
) });
|
|
@@ -5515,7 +5514,7 @@ function SidebarInset(_a) {
|
|
|
5515
5514
|
__spreadValues({
|
|
5516
5515
|
"data-slot": "sidebar-inset",
|
|
5517
5516
|
className: cn(
|
|
5518
|
-
"relative flex w-full flex-1 flex-col bg-
|
|
5517
|
+
"relative flex w-full flex-1 flex-col bg-primary-surface",
|
|
5519
5518
|
"md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
5520
5519
|
className
|
|
5521
5520
|
)
|
|
@@ -5533,7 +5532,7 @@ function SidebarInput(_a) {
|
|
|
5533
5532
|
__spreadValues({
|
|
5534
5533
|
"data-slot": "sidebar-input",
|
|
5535
5534
|
"data-sidebar": "input",
|
|
5536
|
-
className: cn("h-8 w-full bg-
|
|
5535
|
+
className: cn("h-8 w-full bg-primary-surface shadow-none", className)
|
|
5537
5536
|
}, props)
|
|
5538
5537
|
);
|
|
5539
5538
|
}
|
|
@@ -5688,7 +5687,7 @@ var sidebarMenuButtonVariants = (0, import_class_variance_authority10.cva)(
|
|
|
5688
5687
|
variants: {
|
|
5689
5688
|
variant: {
|
|
5690
5689
|
default: "",
|
|
5691
|
-
outline: "bg-
|
|
5690
|
+
outline: "bg-primary-surface ring-1 ring-sidebar-border hover:ring-primary/40 data-[active=true]:ring-primary/40"
|
|
5692
5691
|
},
|
|
5693
5692
|
size: {
|
|
5694
5693
|
default: "h-8 text-sm",
|
|
@@ -5944,7 +5943,7 @@ function Slider(_a) {
|
|
|
5944
5943
|
{
|
|
5945
5944
|
"data-slot": "slider-track",
|
|
5946
5945
|
className: cn(
|
|
5947
|
-
"relative grow overflow-hidden rounded-full bg-
|
|
5946
|
+
"relative grow overflow-hidden rounded-full bg-secondary-surface data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
|
|
5948
5947
|
),
|
|
5949
5948
|
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
5950
5949
|
import_radix_ui30.Slider.Range,
|
|
@@ -5991,10 +5990,12 @@ var Toaster = (_a) => {
|
|
|
5991
5990
|
loading: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_lucide_react21.Loader2Icon, { className: "size-4 animate-spin" })
|
|
5992
5991
|
},
|
|
5993
5992
|
style: {
|
|
5994
|
-
"--normal-bg": "var(--
|
|
5995
|
-
"--normal-text": "var(--
|
|
5993
|
+
"--normal-bg": "var(--snackbar-bg-default)",
|
|
5994
|
+
"--normal-text": "var(--snackbar-text)",
|
|
5996
5995
|
"--normal-border": "var(--border)",
|
|
5997
|
-
"--border-radius": "var(--radius)"
|
|
5996
|
+
"--border-radius": "var(--radius)",
|
|
5997
|
+
"--error-bg": "var(--snackbar-bg-fail)",
|
|
5998
|
+
"--error-text": "var(--snackbar-text-fail)"
|
|
5998
5999
|
}
|
|
5999
6000
|
}, props)
|
|
6000
6001
|
);
|
|
@@ -6174,7 +6175,7 @@ function Spinner(_a) {
|
|
|
6174
6175
|
width: "12%",
|
|
6175
6176
|
height: "30%",
|
|
6176
6177
|
borderRadius: "9999px",
|
|
6177
|
-
backgroundColor: "
|
|
6178
|
+
backgroundColor: "var(--loading-spinner-bg-default)",
|
|
6178
6179
|
transformOrigin: "50% 167%",
|
|
6179
6180
|
transform: `translateX(-50%) rotate(${i * 45}deg)`,
|
|
6180
6181
|
animation: `spinner-fade 0.8s linear ${i * 0.8 / PILL_COUNT}s infinite`
|
|
@@ -6267,7 +6268,7 @@ function TableFooter(_a) {
|
|
|
6267
6268
|
__spreadValues({
|
|
6268
6269
|
"data-slot": "table-footer",
|
|
6269
6270
|
className: cn(
|
|
6270
|
-
"border-t bg-
|
|
6271
|
+
"border-t bg-secondary-surface/50 font-medium [&>tr]:last:border-b-0",
|
|
6271
6272
|
className
|
|
6272
6273
|
)
|
|
6273
6274
|
}, props)
|
|
@@ -6280,7 +6281,7 @@ function TableRow(_a) {
|
|
|
6280
6281
|
__spreadValues({
|
|
6281
6282
|
"data-slot": "table-row",
|
|
6282
6283
|
className: cn(
|
|
6283
|
-
"border-b transition-colors hover:bg-
|
|
6284
|
+
"border-b transition-colors hover:bg-secondary-surface/50 data-[state=selected]:bg-secondary-surface",
|
|
6284
6285
|
className
|
|
6285
6286
|
)
|
|
6286
6287
|
}, props)
|
|
@@ -6293,7 +6294,7 @@ function TableHead(_a) {
|
|
|
6293
6294
|
__spreadValues({
|
|
6294
6295
|
"data-slot": "table-head",
|
|
6295
6296
|
className: cn(
|
|
6296
|
-
"h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-
|
|
6297
|
+
"h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-prominent [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
6297
6298
|
className
|
|
6298
6299
|
)
|
|
6299
6300
|
}, props)
|
|
@@ -6322,7 +6323,7 @@ function TableCaption(_a) {
|
|
|
6322
6323
|
"caption",
|
|
6323
6324
|
__spreadValues({
|
|
6324
6325
|
"data-slot": "table-caption",
|
|
6325
|
-
className: cn("mt-4 text-sm text-
|
|
6326
|
+
className: cn("mt-4 text-sm text-subtle", className)
|
|
6326
6327
|
}, props)
|
|
6327
6328
|
);
|
|
6328
6329
|
}
|
|
@@ -6353,7 +6354,7 @@ function Tabs(_a) {
|
|
|
6353
6354
|
);
|
|
6354
6355
|
}
|
|
6355
6356
|
var tabsListVariants = (0, import_class_variance_authority11.cva)(
|
|
6356
|
-
"group/tabs-list inline-flex w-fit items-center justify-center text-
|
|
6357
|
+
"group/tabs-list inline-flex w-fit items-center justify-center text-subtle group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none has-[[data-icon-position=top]]:h-auto",
|
|
6357
6358
|
{
|
|
6358
6359
|
variants: {
|
|
6359
6360
|
variant: {
|
|
@@ -6388,7 +6389,7 @@ function TabsList(_a) {
|
|
|
6388
6389
|
"data-slot": "tabs-list",
|
|
6389
6390
|
"data-variant": variant,
|
|
6390
6391
|
"data-size": size,
|
|
6391
|
-
className: cn(tabsListVariants({ variant, size }), className)
|
|
6392
|
+
className: cn(tabsListVariants({ variant, size }), "text-[var(--tab-text-default)]", className)
|
|
6392
6393
|
}, props)
|
|
6393
6394
|
);
|
|
6394
6395
|
}
|
|
@@ -6406,11 +6407,11 @@ function TabsTrigger(_a) {
|
|
|
6406
6407
|
"data-slot": "tabs-trigger",
|
|
6407
6408
|
"data-icon-position": iconPosition,
|
|
6408
6409
|
className: cn(
|
|
6409
|
-
"relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-3 py-1 text-sm font-normal whitespace-nowrap text-
|
|
6410
|
+
"relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-3 py-1 text-sm font-normal whitespace-nowrap text-[var(--tab-text-default)] transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:bg-[var(--tab-bg-hover)] focus-visible:border-[var(--tab-border-focus)] focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:text-[var(--tab-text-disabled)] disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-none group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
6410
6411
|
"group-data-[size=sm]/tabs-list:gap-1 group-data-[size=sm]/tabs-list:rounded-sm group-data-[size=sm]/tabs-list:px-2 group-data-[size=sm]/tabs-list:text-xs",
|
|
6411
6412
|
"group-data-[size=lg]/tabs-list:gap-2 group-data-[size=lg]/tabs-list:rounded-lg group-data-[size=lg]/tabs-list:px-4 group-data-[size=lg]/tabs-list:text-base",
|
|
6412
6413
|
"group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:hover:bg-transparent group-data-[variant=line]/tabs-list:hover:text-primary group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent",
|
|
6413
|
-
"data-[state=active]:bg-tabs-active data-[state=active]:border-transparent data-[state=active]:text-
|
|
6414
|
+
"data-[state=active]:bg-tabs-active data-[state=active]:border-transparent data-[state=active]:text-[var(--tab-text-selected)] data-[state=active]:font-semibold",
|
|
6414
6415
|
"after:absolute after:bg-primary after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100",
|
|
6415
6416
|
iconPosition === "top" && "h-auto flex-col gap-1 py-2",
|
|
6416
6417
|
iconPosition === "top" && "group-data-[size=sm]/tabs-list:gap-0.5 group-data-[size=sm]/tabs-list:py-1.5",
|
|
@@ -6454,28 +6455,28 @@ function TicketCard({
|
|
|
6454
6455
|
"data-slot": "ticket-card",
|
|
6455
6456
|
className: cn(
|
|
6456
6457
|
"relative flex w-full items-stretch rounded-sm",
|
|
6457
|
-
"bg-
|
|
6458
|
+
"bg-secondary-surface",
|
|
6458
6459
|
className
|
|
6459
6460
|
),
|
|
6460
6461
|
children: [
|
|
6461
6462
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "relative flex min-w-0 flex-1 items-center gap-3 px-4 py-4 sm:gap-4 sm:px-5", children: [
|
|
6462
6463
|
icon && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex shrink-0 size-11 rounded-full border-2 border-primary items-center justify-center text-primary sm:size-12", children: icon }),
|
|
6463
6464
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5 overflow-hidden", children: [
|
|
6464
|
-
label && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-
|
|
6465
|
-
value && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "truncate text-lg font-bold text-
|
|
6465
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-subtle uppercase tracking-widest text-xs font-semibold", children: label }),
|
|
6466
|
+
value && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "truncate text-lg font-bold text-prominent sm:text-xl", children: value })
|
|
6466
6467
|
] }),
|
|
6467
6468
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6468
6469
|
"div",
|
|
6469
6470
|
{
|
|
6470
6471
|
"aria-hidden": true,
|
|
6471
|
-
className: "pointer-events-none absolute right-0 top-0 z-10 size-5 -translate-y-1/2 translate-x-1/2 rounded-full bg-
|
|
6472
|
+
className: "pointer-events-none absolute right-0 top-0 z-10 size-5 -translate-y-1/2 translate-x-1/2 rounded-full bg-primary-surface"
|
|
6472
6473
|
}
|
|
6473
6474
|
),
|
|
6474
6475
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
6475
6476
|
"div",
|
|
6476
6477
|
{
|
|
6477
6478
|
"aria-hidden": true,
|
|
6478
|
-
className: "pointer-events-none absolute bottom-0 right-0 z-10 size-5 translate-x-1/2 translate-y-1/2 rounded-full bg-
|
|
6479
|
+
className: "pointer-events-none absolute bottom-0 right-0 z-10 size-5 translate-x-1/2 translate-y-1/2 rounded-full bg-primary-surface"
|
|
6479
6480
|
}
|
|
6480
6481
|
),
|
|
6481
6482
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
@@ -6514,8 +6515,8 @@ function TicketCard({
|
|
|
6514
6515
|
}
|
|
6515
6516
|
}
|
|
6516
6517
|
),
|
|
6517
|
-
stubIcon != null ? stubIcon : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react23.ArrowRight, { className: "relative size-5 shrink-0 text-
|
|
6518
|
-
stubLabel && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "max-w-full text-balance text-center text-xs font-bold uppercase leading-tight tracking-wide text-
|
|
6518
|
+
stubIcon != null ? stubIcon : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react23.ArrowRight, { className: "relative size-5 shrink-0 text-prominent-static-inverse" }),
|
|
6519
|
+
stubLabel && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "max-w-full text-balance text-center text-xs font-bold uppercase leading-tight tracking-wide text-prominent-static-inverse sm:tracking-widest", children: stubLabel })
|
|
6519
6520
|
]
|
|
6520
6521
|
}
|
|
6521
6522
|
)
|
|
@@ -6531,12 +6532,12 @@ var import_class_variance_authority12 = require("class-variance-authority");
|
|
|
6531
6532
|
var import_radix_ui33 = require("radix-ui");
|
|
6532
6533
|
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
6533
6534
|
var toggleVariants = (0, import_class_variance_authority12.cva)(
|
|
6534
|
-
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-secondary-hover hover:text-
|
|
6535
|
+
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-secondary-hover hover:text-prominent focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=on]:bg-secondary-hover data-[state=on]:border-transparent data-[state=on]:text-primary [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
6535
6536
|
{
|
|
6536
6537
|
variants: {
|
|
6537
6538
|
variant: {
|
|
6538
6539
|
default: "bg-transparent",
|
|
6539
|
-
outline: "border border-
|
|
6540
|
+
outline: "border border-selected bg-transparent text-prominent shadow-xs hover:bg-secondary-hover"
|
|
6540
6541
|
},
|
|
6541
6542
|
size: {
|
|
6542
6543
|
default: "h-9 min-w-9 px-2",
|