@webstacks/ui 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +46 -46
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +46 -46
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -457,7 +457,7 @@ var AccordionItem = React3.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
457
457
|
AccordionPrimitive.Item,
|
|
458
458
|
{
|
|
459
459
|
ref,
|
|
460
|
-
className: cn("border-b", className),
|
|
460
|
+
className: cn("border-b border-border", className),
|
|
461
461
|
...props
|
|
462
462
|
}
|
|
463
463
|
));
|
|
@@ -467,7 +467,7 @@ var AccordionTrigger = React3.forwardRef(({ className, children, ...props }, ref
|
|
|
467
467
|
{
|
|
468
468
|
ref,
|
|
469
469
|
className: cn(
|
|
470
|
-
"flex flex-1 items-center justify-between py-4 text-sm
|
|
470
|
+
"flex flex-1 items-center justify-between py-4 text-sm transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",
|
|
471
471
|
className
|
|
472
472
|
),
|
|
473
473
|
...props,
|
|
@@ -521,7 +521,7 @@ var AlertTitle = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
521
521
|
"h5",
|
|
522
522
|
{
|
|
523
523
|
ref,
|
|
524
|
-
className: cn("mb-1
|
|
524
|
+
className: cn("mb-1 leading-none tracking-tight", className),
|
|
525
525
|
...props
|
|
526
526
|
}
|
|
527
527
|
));
|
|
@@ -546,7 +546,7 @@ var import_react_slot = require("@radix-ui/react-slot");
|
|
|
546
546
|
var import_class_variance_authority2 = require("class-variance-authority");
|
|
547
547
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
548
548
|
var buttonVariants = (0, import_class_variance_authority2.cva)(
|
|
549
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm
|
|
549
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
550
550
|
{
|
|
551
551
|
variants: {
|
|
552
552
|
variant: {
|
|
@@ -649,7 +649,7 @@ var AlertDialogTitle = React6.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
649
649
|
AlertDialogPrimitive.Title,
|
|
650
650
|
{
|
|
651
651
|
ref,
|
|
652
|
-
className: cn("text-lg
|
|
652
|
+
className: cn("text-lg ", className),
|
|
653
653
|
...props
|
|
654
654
|
}
|
|
655
655
|
));
|
|
@@ -732,7 +732,7 @@ AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
|
|
732
732
|
var import_class_variance_authority3 = require("class-variance-authority");
|
|
733
733
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
734
734
|
var badgeVariants = (0, import_class_variance_authority3.cva)(
|
|
735
|
-
"inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs
|
|
735
|
+
"inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
736
736
|
{
|
|
737
737
|
variants: {
|
|
738
738
|
variant: {
|
|
@@ -1662,7 +1662,7 @@ function Calendar({
|
|
|
1662
1662
|
defaultClassNames.month_caption
|
|
1663
1663
|
),
|
|
1664
1664
|
dropdowns: cn(
|
|
1665
|
-
"flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm
|
|
1665
|
+
"flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm",
|
|
1666
1666
|
defaultClassNames.dropdowns
|
|
1667
1667
|
),
|
|
1668
1668
|
dropdown_root: cn(
|
|
@@ -1674,7 +1674,7 @@ function Calendar({
|
|
|
1674
1674
|
defaultClassNames.dropdown
|
|
1675
1675
|
),
|
|
1676
1676
|
caption_label: cn(
|
|
1677
|
-
"select-none
|
|
1677
|
+
"select-none",
|
|
1678
1678
|
captionLayout === "label" ? "text-sm" : "[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm [&>svg]:size-3.5",
|
|
1679
1679
|
defaultClassNames.caption_label
|
|
1680
1680
|
),
|
|
@@ -1795,7 +1795,7 @@ var Card = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
1795
1795
|
{
|
|
1796
1796
|
ref,
|
|
1797
1797
|
className: cn(
|
|
1798
|
-
"
|
|
1798
|
+
"border border-border bg-card text-card-foreground overflow-hidden",
|
|
1799
1799
|
className
|
|
1800
1800
|
),
|
|
1801
1801
|
...props
|
|
@@ -1815,7 +1815,7 @@ var CardTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
1815
1815
|
"div",
|
|
1816
1816
|
{
|
|
1817
1817
|
ref,
|
|
1818
|
-
className: cn("
|
|
1818
|
+
className: cn("leading-none tracking-tight", className),
|
|
1819
1819
|
...props
|
|
1820
1820
|
}
|
|
1821
1821
|
));
|
|
@@ -2114,12 +2114,12 @@ var ChartTooltipContent = React17.forwardRef(
|
|
|
2114
2114
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
2115
2115
|
const value = !labelKey && typeof label === "string" ? config[label]?.label || label : itemConfig?.label;
|
|
2116
2116
|
if (labelFormatter) {
|
|
2117
|
-
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: cn(
|
|
2117
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: cn(labelClassName), children: labelFormatter(value, payload) });
|
|
2118
2118
|
}
|
|
2119
2119
|
if (!value) {
|
|
2120
2120
|
return null;
|
|
2121
2121
|
}
|
|
2122
|
-
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: cn(
|
|
2122
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: cn(labelClassName), children: value });
|
|
2123
2123
|
}, [
|
|
2124
2124
|
label,
|
|
2125
2125
|
labelFormatter,
|
|
@@ -2185,7 +2185,7 @@ var ChartTooltipContent = React17.forwardRef(
|
|
|
2185
2185
|
nestLabel ? tooltipLabel : null,
|
|
2186
2186
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "text-muted-foreground", children: itemConfig?.label || item.name })
|
|
2187
2187
|
] }),
|
|
2188
|
-
item.value && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "font-mono
|
|
2188
|
+
item.value && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "font-mono tabular-nums text-foreground", children: item.value.toLocaleString() })
|
|
2189
2189
|
]
|
|
2190
2190
|
}
|
|
2191
2191
|
)
|
|
@@ -2270,7 +2270,7 @@ var Checkbox = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
2270
2270
|
{
|
|
2271
2271
|
ref,
|
|
2272
2272
|
className: cn(
|
|
2273
|
-
"grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-
|
|
2273
|
+
"grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-input focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
|
|
2274
2274
|
className
|
|
2275
2275
|
),
|
|
2276
2276
|
...props,
|
|
@@ -2372,7 +2372,7 @@ var DialogTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2372
2372
|
{
|
|
2373
2373
|
ref,
|
|
2374
2374
|
className: cn(
|
|
2375
|
-
"text-lg
|
|
2375
|
+
"text-lg leading-none tracking-tight",
|
|
2376
2376
|
className
|
|
2377
2377
|
),
|
|
2378
2378
|
...props
|
|
@@ -2404,9 +2404,9 @@ var Command = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
2404
2404
|
));
|
|
2405
2405
|
Command.displayName = import_cmdk.Command.displayName;
|
|
2406
2406
|
var CommandDialog = ({ children, ...props }) => {
|
|
2407
|
-
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Dialog, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(DialogContent, { className: "overflow-hidden p-0", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Command, { className: "[&_[cmdk-group-heading]]:px-2
|
|
2407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Dialog, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(DialogContent, { className: "overflow-hidden p-0", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[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 }) }) });
|
|
2408
2408
|
};
|
|
2409
|
-
var CommandInput = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
2409
|
+
var CommandInput = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex items-center border-b border-border px-3", "cmdk-input-wrapper": "", children: [
|
|
2410
2410
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react7.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
2411
2411
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2412
2412
|
import_cmdk.Command.Input,
|
|
@@ -2444,7 +2444,7 @@ var CommandGroup = React20.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
2444
2444
|
{
|
|
2445
2445
|
ref,
|
|
2446
2446
|
className: cn(
|
|
2447
|
-
"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs
|
|
2447
|
+
"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:text-muted-foreground",
|
|
2448
2448
|
className
|
|
2449
2449
|
),
|
|
2450
2450
|
...props
|
|
@@ -2592,7 +2592,7 @@ var ContextMenuLabel = React21.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2592
2592
|
{
|
|
2593
2593
|
ref,
|
|
2594
2594
|
className: cn(
|
|
2595
|
-
"px-2 py-1.5 text-sm
|
|
2595
|
+
"px-2 py-1.5 text-sm text-foreground",
|
|
2596
2596
|
inset && "pl-8",
|
|
2597
2597
|
className
|
|
2598
2598
|
),
|
|
@@ -2699,7 +2699,7 @@ var DrawerTitle = React22.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2699
2699
|
{
|
|
2700
2700
|
ref,
|
|
2701
2701
|
className: cn(
|
|
2702
|
-
"text-lg
|
|
2702
|
+
"text-lg leading-none tracking-tight",
|
|
2703
2703
|
className
|
|
2704
2704
|
),
|
|
2705
2705
|
...props
|
|
@@ -2821,7 +2821,7 @@ var DropdownMenuLabel = React23.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2821
2821
|
{
|
|
2822
2822
|
ref,
|
|
2823
2823
|
className: cn(
|
|
2824
|
-
"px-2 py-1.5 text-sm
|
|
2824
|
+
"px-2 py-1.5 text-sm",
|
|
2825
2825
|
inset && "pl-8",
|
|
2826
2826
|
className
|
|
2827
2827
|
),
|
|
@@ -2863,7 +2863,7 @@ var LabelPrimitive = __toESM(require("@radix-ui/react-label"), 1);
|
|
|
2863
2863
|
var import_class_variance_authority9 = require("class-variance-authority");
|
|
2864
2864
|
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
2865
2865
|
var labelVariants = (0, import_class_variance_authority9.cva)(
|
|
2866
|
-
"text-sm
|
|
2866
|
+
"text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
2867
2867
|
);
|
|
2868
2868
|
var Label3 = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2869
2869
|
LabelPrimitive.Root,
|
|
@@ -2962,7 +2962,7 @@ var FormMessage = React25.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
2962
2962
|
{
|
|
2963
2963
|
ref,
|
|
2964
2964
|
id: formMessageId,
|
|
2965
|
-
className: cn("text-[0.8rem]
|
|
2965
|
+
className: cn("text-[0.8rem] text-destructive", className),
|
|
2966
2966
|
...props,
|
|
2967
2967
|
children: body
|
|
2968
2968
|
}
|
|
@@ -3001,7 +3001,7 @@ var Input = React27.forwardRef(
|
|
|
3001
3001
|
{
|
|
3002
3002
|
type,
|
|
3003
3003
|
className: cn(
|
|
3004
|
-
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm
|
|
3004
|
+
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
3005
3005
|
className
|
|
3006
3006
|
),
|
|
3007
3007
|
ref,
|
|
@@ -3103,7 +3103,7 @@ var MenubarTrigger = React29.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
3103
3103
|
{
|
|
3104
3104
|
ref,
|
|
3105
3105
|
className: cn(
|
|
3106
|
-
"flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm
|
|
3106
|
+
"flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
3107
3107
|
className
|
|
3108
3108
|
),
|
|
3109
3109
|
...props
|
|
@@ -3207,7 +3207,7 @@ var MenubarLabel = React29.forwardRef(({ className, inset, ...props }, ref) => /
|
|
|
3207
3207
|
{
|
|
3208
3208
|
ref,
|
|
3209
3209
|
className: cn(
|
|
3210
|
-
"px-2 py-1.5 text-sm
|
|
3210
|
+
"px-2 py-1.5 text-sm",
|
|
3211
3211
|
inset && "pl-8",
|
|
3212
3212
|
className
|
|
3213
3213
|
),
|
|
@@ -3277,7 +3277,7 @@ var NavigationMenuList = React30.forwardRef(({ className, ...props }, ref) => /*
|
|
|
3277
3277
|
NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
|
|
3278
3278
|
var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
3279
3279
|
var navigationMenuTriggerStyle = (0, import_class_variance_authority10.cva)(
|
|
3280
|
-
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm
|
|
3280
|
+
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
|
|
3281
3281
|
);
|
|
3282
3282
|
var NavigationMenuTrigger = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
3283
3283
|
NavigationMenuPrimitive.Trigger,
|
|
@@ -3502,7 +3502,7 @@ var RadioGroupItem = React34.forwardRef(({ className, ...props }, ref) => {
|
|
|
3502
3502
|
{
|
|
3503
3503
|
ref,
|
|
3504
3504
|
className: cn(
|
|
3505
|
-
"aspect-square h-4 w-4 rounded-full border border-
|
|
3505
|
+
"aspect-square h-4 w-4 rounded-full border border-input text-primary focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
|
3506
3506
|
className
|
|
3507
3507
|
),
|
|
3508
3508
|
...props,
|
|
@@ -3663,7 +3663,7 @@ var SelectLabel = React36.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3663
3663
|
SelectPrimitive.Label,
|
|
3664
3664
|
{
|
|
3665
3665
|
ref,
|
|
3666
|
-
className: cn("px-2 py-1.5 text-sm
|
|
3666
|
+
className: cn("px-2 py-1.5 text-sm", className),
|
|
3667
3667
|
...props
|
|
3668
3668
|
}
|
|
3669
3669
|
));
|
|
@@ -3743,10 +3743,10 @@ var sheetVariants = (0, import_class_variance_authority11.cva)(
|
|
|
3743
3743
|
{
|
|
3744
3744
|
variants: {
|
|
3745
3745
|
side: {
|
|
3746
|
-
top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
3747
|
-
bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
3748
|
-
left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
3749
|
-
right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
|
|
3746
|
+
top: "inset-x-0 top-0 border-b border-border data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
3747
|
+
bottom: "inset-x-0 bottom-0 border-t border-border data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
3748
|
+
left: "inset-y-0 left-0 h-full w-3/4 border-r border-border data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
3749
|
+
right: "inset-y-0 right-0 h-full w-3/4 border-l border-border data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
|
|
3750
3750
|
}
|
|
3751
3751
|
},
|
|
3752
3752
|
defaultVariants: {
|
|
@@ -3805,7 +3805,7 @@ var SheetTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
3805
3805
|
SheetPrimitive.Title,
|
|
3806
3806
|
{
|
|
3807
3807
|
ref,
|
|
3808
|
-
className: cn("text-lg
|
|
3808
|
+
className: cn("text-lg text-foreground", className),
|
|
3809
3809
|
...props
|
|
3810
3810
|
}
|
|
3811
3811
|
));
|
|
@@ -4023,7 +4023,7 @@ var Sidebar = React40.forwardRef(
|
|
|
4023
4023
|
"fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
4024
4024
|
side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
4025
4025
|
// Adjust the padding for floating and inset variants.
|
|
4026
|
-
variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]" : "group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",
|
|
4026
|
+
variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]" : "group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=left]:border-border group-data-[side=right]:border-l group-data-[side=right]:border-border",
|
|
4027
4027
|
className
|
|
4028
4028
|
),
|
|
4029
4029
|
...props,
|
|
@@ -4192,7 +4192,7 @@ var SidebarGroupLabel = React40.forwardRef(({ className, asChild = false, ...pro
|
|
|
4192
4192
|
ref,
|
|
4193
4193
|
"data-sidebar": "group-label",
|
|
4194
4194
|
className: cn(
|
|
4195
|
-
"flex h-8 shrink-0 items-center rounded-md px-2 text-xs
|
|
4195
|
+
"flex h-8 shrink-0 items-center rounded-md px-2 text-xs text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
4196
4196
|
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
4197
4197
|
className
|
|
4198
4198
|
),
|
|
@@ -4251,7 +4251,7 @@ var SidebarMenuItem = React40.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
4251
4251
|
));
|
|
4252
4252
|
SidebarMenuItem.displayName = "SidebarMenuItem";
|
|
4253
4253
|
var sidebarMenuButtonVariants = (0, import_class_variance_authority12.cva)(
|
|
4254
|
-
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:
|
|
4254
|
+
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
4255
4255
|
{
|
|
4256
4256
|
variants: {
|
|
4257
4257
|
variant: {
|
|
@@ -4345,7 +4345,7 @@ var SidebarMenuBadge = React40.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
4345
4345
|
ref,
|
|
4346
4346
|
"data-sidebar": "menu-badge",
|
|
4347
4347
|
className: cn(
|
|
4348
|
-
"pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs
|
|
4348
|
+
"pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs tabular-nums text-sidebar-foreground",
|
|
4349
4349
|
"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
|
|
4350
4350
|
"peer-data-[size=sm]/menu-button:top-1",
|
|
4351
4351
|
"peer-data-[size=default]/menu-button:top-1.5",
|
|
@@ -4512,7 +4512,7 @@ var Table = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
4512
4512
|
}
|
|
4513
4513
|
) }));
|
|
4514
4514
|
Table.displayName = "Table";
|
|
4515
|
-
var TableHeader = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
|
|
4515
|
+
var TableHeader = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("thead", { ref, className: cn("[&_tr]:border-b [&_tr]:border-border", className), ...props }));
|
|
4516
4516
|
TableHeader.displayName = "TableHeader";
|
|
4517
4517
|
var TableBody = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
4518
4518
|
"tbody",
|
|
@@ -4528,7 +4528,7 @@ var TableFooter = React43.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
4528
4528
|
{
|
|
4529
4529
|
ref,
|
|
4530
4530
|
className: cn(
|
|
4531
|
-
"border-t bg-muted/50
|
|
4531
|
+
"border-t border-border bg-muted/50 [&>tr]:last:border-b-0",
|
|
4532
4532
|
className
|
|
4533
4533
|
),
|
|
4534
4534
|
...props
|
|
@@ -4540,7 +4540,7 @@ var TableRow = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
4540
4540
|
{
|
|
4541
4541
|
ref,
|
|
4542
4542
|
className: cn(
|
|
4543
|
-
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
4543
|
+
"border-b border-border transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
4544
4544
|
className
|
|
4545
4545
|
),
|
|
4546
4546
|
...props
|
|
@@ -4552,7 +4552,7 @@ var TableHead = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4552
4552
|
{
|
|
4553
4553
|
ref,
|
|
4554
4554
|
className: cn(
|
|
4555
|
-
"h-10 px-2 text-left align-middle
|
|
4555
|
+
"h-10 px-2 text-left align-middle text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
4556
4556
|
className
|
|
4557
4557
|
),
|
|
4558
4558
|
...props
|
|
@@ -4603,7 +4603,7 @@ var TabsTrigger = React44.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
4603
4603
|
{
|
|
4604
4604
|
ref,
|
|
4605
4605
|
className: cn(
|
|
4606
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm
|
|
4606
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
|
|
4607
4607
|
className
|
|
4608
4608
|
),
|
|
4609
4609
|
...props
|
|
@@ -4690,7 +4690,7 @@ var ToastAction = React46.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
4690
4690
|
{
|
|
4691
4691
|
ref,
|
|
4692
4692
|
className: cn(
|
|
4693
|
-
"inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm
|
|
4693
|
+
"inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",
|
|
4694
4694
|
className
|
|
4695
4695
|
),
|
|
4696
4696
|
...props
|
|
@@ -4715,7 +4715,7 @@ var ToastTitle = React46.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
4715
4715
|
ToastPrimitives.Title,
|
|
4716
4716
|
{
|
|
4717
4717
|
ref,
|
|
4718
|
-
className: cn("text-sm
|
|
4718
|
+
className: cn("text-sm [&+div]:text-xs", className),
|
|
4719
4719
|
...props
|
|
4720
4720
|
}
|
|
4721
4721
|
));
|
|
@@ -4755,7 +4755,7 @@ var TogglePrimitive = __toESM(require("@radix-ui/react-toggle"), 1);
|
|
|
4755
4755
|
var import_class_variance_authority14 = require("class-variance-authority");
|
|
4756
4756
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
4757
4757
|
var toggleVariants = (0, import_class_variance_authority14.cva)(
|
|
4758
|
-
"inline-flex items-center justify-center gap-2 rounded-md text-sm
|
|
4758
|
+
"inline-flex items-center justify-center gap-2 rounded-md text-sm transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
4759
4759
|
{
|
|
4760
4760
|
variants: {
|
|
4761
4761
|
variant: {
|