@pelatform/ui 1.5.0 → 1.5.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/css/components/image-input.css +2 -2
- package/css/components/patterns.css +2 -2
- package/css/theme.css +13 -12
- package/dist/animation.cjs +8 -8
- package/dist/animation.js +8 -8
- package/dist/aria.cjs +3 -3
- package/dist/aria.js +1 -1
- package/dist/base.cjs +119 -119
- package/dist/base.d.cts +3 -3
- package/dist/base.d.ts +3 -3
- package/dist/base.js +118 -118
- package/dist/{chunk-VECBSKBC.cjs → chunk-BXUKTDPN.cjs} +33 -33
- package/dist/{chunk-VSLPH2IR.cjs → chunk-DBE4IGCP.cjs} +9 -9
- package/dist/{chunk-OMPNDLGS.js → chunk-TB6DU23O.js} +33 -33
- package/dist/{chunk-CYFW37N5.js → chunk-TYEFU7IG.js} +7 -7
- package/dist/components.cjs +81 -84
- package/dist/components.js +10 -13
- package/dist/default.cjs +161 -162
- package/dist/default.js +58 -59
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +38 -6
package/dist/default.js
CHANGED
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
TooltipTrigger,
|
|
83
83
|
avatarStatusVariants,
|
|
84
84
|
badgeVariants
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-TYEFU7IG.js";
|
|
86
86
|
import {
|
|
87
87
|
Button,
|
|
88
88
|
ButtonArrow,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
buttonVariants,
|
|
94
94
|
inputAddonVariants,
|
|
95
95
|
inputVariants
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-TB6DU23O.js";
|
|
97
97
|
import {
|
|
98
98
|
useCopyToClipboard,
|
|
99
99
|
useIsMobile
|
|
@@ -580,7 +580,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
580
580
|
{
|
|
581
581
|
"data-slot": "breadcrumb-list",
|
|
582
582
|
className: cn(
|
|
583
|
-
"flex flex-wrap items-center gap-1.5
|
|
583
|
+
"wrap-break-word flex flex-wrap items-center gap-1.5 text-muted-foreground text-sm",
|
|
584
584
|
className
|
|
585
585
|
),
|
|
586
586
|
...props
|
|
@@ -683,7 +683,7 @@ function Separator({
|
|
|
683
683
|
// src/ui/default/button-group.tsx
|
|
684
684
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
685
685
|
var buttonGroupVariants = cva3(
|
|
686
|
-
"flex w-fit items-stretch
|
|
686
|
+
"flex w-fit items-stretch *:focus-visible:z-10 *:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md has-[>[data-slot=button-group]]:gap-2",
|
|
687
687
|
{
|
|
688
688
|
variants: {
|
|
689
689
|
orientation: {
|
|
@@ -740,7 +740,7 @@ function ButtonGroupSeparator({
|
|
|
740
740
|
"data-slot": "button-group-separator",
|
|
741
741
|
orientation,
|
|
742
742
|
className: cn(
|
|
743
|
-
"
|
|
743
|
+
"relative m-0! self-stretch bg-input data-[orientation=vertical]:h-auto",
|
|
744
744
|
className
|
|
745
745
|
),
|
|
746
746
|
...props
|
|
@@ -790,7 +790,6 @@ function Calendar({
|
|
|
790
790
|
...classNames
|
|
791
791
|
},
|
|
792
792
|
components: {
|
|
793
|
-
// biome-ignore lint/correctness/noNestedComponentDefinitions: disable
|
|
794
793
|
Chevron: (props2) => {
|
|
795
794
|
if (props2.orientation === "left") {
|
|
796
795
|
return /* @__PURE__ */ jsx7(ChevronLeft, { className: "h-4 w-4 rtl:rotate-180" });
|
|
@@ -848,7 +847,7 @@ var cardContentVariants = cva4("grow p-5", {
|
|
|
848
847
|
variants: {
|
|
849
848
|
variant: {
|
|
850
849
|
default: "",
|
|
851
|
-
accent: "bg-card rounded-t-xl
|
|
850
|
+
accent: "bg-card rounded-t-xl last:rounded-b-xl"
|
|
852
851
|
}
|
|
853
852
|
},
|
|
854
853
|
defaultVariants: {
|
|
@@ -1151,7 +1150,7 @@ var checkboxVariants = cva5(
|
|
|
1151
1150
|
group peer bg-background shrink-0 rounded-md border border-input ring-offset-background focus-visible:outline-none
|
|
1152
1151
|
focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50
|
|
1153
1152
|
aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20
|
|
1154
|
-
|
|
1153
|
+
in-data-[invalid=true]:border-destructive/60 in-data-[invalid=true]:ring-destructive/10 dark:in-data-[invalid=true]:border-destructive dark:in-data-[invalid=true]:ring-destructive/20,
|
|
1155
1154
|
data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:text-primary-foreground
|
|
1156
1155
|
`,
|
|
1157
1156
|
{
|
|
@@ -1276,7 +1275,7 @@ function ContextMenuSubTrigger({
|
|
|
1276
1275
|
"data-slot": "context-menu-sub-trigger",
|
|
1277
1276
|
"data-inset": inset,
|
|
1278
1277
|
className: cn(
|
|
1279
|
-
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-
|
|
1278
|
+
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-inset:pl-8 data-[state=open]:text-accent-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
1280
1279
|
className
|
|
1281
1280
|
),
|
|
1282
1281
|
...props,
|
|
@@ -1296,7 +1295,7 @@ function ContextMenuSubContent({
|
|
|
1296
1295
|
{
|
|
1297
1296
|
"data-slot": "context-menu-sub-content",
|
|
1298
1297
|
className: cn(
|
|
1299
|
-
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]: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 z-50 min-w-
|
|
1298
|
+
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]: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 z-50 min-w-32 origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=closed]:animate-out data-[state=open]:animate-in",
|
|
1300
1299
|
className
|
|
1301
1300
|
),
|
|
1302
1301
|
...props
|
|
@@ -1312,7 +1311,7 @@ function ContextMenuContent({
|
|
|
1312
1311
|
{
|
|
1313
1312
|
"data-slot": "context-menu-content",
|
|
1314
1313
|
className: cn(
|
|
1315
|
-
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]: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 z-50 max-h-(--radix-context-menu-content-available-height) min-w-
|
|
1314
|
+
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]: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 z-50 max-h-(--radix-context-menu-content-available-height) min-w-32 origin-(--radix-context-menu-content-transform-origin) overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=closed]:animate-out data-[state=open]:animate-in",
|
|
1316
1315
|
className
|
|
1317
1316
|
),
|
|
1318
1317
|
...props
|
|
@@ -1332,7 +1331,7 @@ function ContextMenuItem({
|
|
|
1332
1331
|
"data-inset": inset,
|
|
1333
1332
|
"data-variant": variant,
|
|
1334
1333
|
className: cn(
|
|
1335
|
-
"
|
|
1334
|
+
"relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-inset:pl-8 data-[variant=destructive]:text-destructive data-disabled:opacity-50 data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 data-[variant=destructive]:*:[svg]:text-destructive!",
|
|
1336
1335
|
className
|
|
1337
1336
|
),
|
|
1338
1337
|
...props
|
|
@@ -1350,7 +1349,7 @@ function ContextMenuCheckboxItem({
|
|
|
1350
1349
|
{
|
|
1351
1350
|
"data-slot": "context-menu-checkbox-item",
|
|
1352
1351
|
className: cn(
|
|
1353
|
-
"relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-8 pe-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-
|
|
1352
|
+
"relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-8 pe-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
1354
1353
|
className
|
|
1355
1354
|
),
|
|
1356
1355
|
checked,
|
|
@@ -1372,7 +1371,7 @@ function ContextMenuRadioItem({
|
|
|
1372
1371
|
{
|
|
1373
1372
|
"data-slot": "context-menu-radio-item",
|
|
1374
1373
|
className: cn(
|
|
1375
|
-
"relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-8 pe-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-
|
|
1374
|
+
"relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-8 pe-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
1376
1375
|
className
|
|
1377
1376
|
),
|
|
1378
1377
|
...props,
|
|
@@ -1393,7 +1392,7 @@ function ContextMenuLabel({
|
|
|
1393
1392
|
{
|
|
1394
1393
|
"data-slot": "context-menu-label",
|
|
1395
1394
|
"data-inset": inset,
|
|
1396
|
-
className: cn("px-2 py-1.5 font-medium text-foreground text-sm data-
|
|
1395
|
+
className: cn("px-2 py-1.5 font-medium text-foreground text-sm data-inset:pl-8", className),
|
|
1397
1396
|
...props
|
|
1398
1397
|
}
|
|
1399
1398
|
);
|
|
@@ -1926,7 +1925,7 @@ var selectTriggerVariants = cva7(
|
|
|
1926
1925
|
text-foreground data-placeholder:text-muted-foreground focus-visible:border-ring focus-visible:outline-none focus-visible:ring-[3px]
|
|
1927
1926
|
focus-visible:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1
|
|
1928
1927
|
aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20
|
|
1929
|
-
|
|
1928
|
+
in-data-[invalid=true]:border-destructive/60 in-data-[invalid=true]:ring-destructive/10 dark:in-data-[invalid=true]:border-destructive dark:in-data-[invalid=true]:ring-destructive/20
|
|
1930
1929
|
`,
|
|
1931
1930
|
{
|
|
1932
1931
|
variants: {
|
|
@@ -1995,7 +1994,7 @@ function SelectContent({
|
|
|
1995
1994
|
{
|
|
1996
1995
|
"data-slot": "select-content",
|
|
1997
1996
|
className: cn(
|
|
1998
|
-
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]: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 relative z-50 max-h-96 min-w-
|
|
1997
|
+
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]: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 relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border border-border bg-popover text-secondary-foreground shadow-black/5 shadow-md data-[state=closed]:animate-out data-[state=open]:animate-in",
|
|
1999
1998
|
position === "popper" && "data-[side=left]:-translate-x-1.5 data-[side=top]:-translate-y-1.5 data-[side=right]:translate-x-1.5 data-[side=bottom]:translate-y-1.5",
|
|
2000
1999
|
className
|
|
2001
2000
|
),
|
|
@@ -2008,7 +2007,7 @@ function SelectContent({
|
|
|
2008
2007
|
{
|
|
2009
2008
|
className: cn(
|
|
2010
2009
|
"p-1.5",
|
|
2011
|
-
position === "popper" && "h-
|
|
2010
|
+
position === "popper" && "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)"
|
|
2012
2011
|
),
|
|
2013
2012
|
children
|
|
2014
2013
|
}
|
|
@@ -2344,7 +2343,7 @@ function DataGridTableHeadRow({
|
|
|
2344
2343
|
className: cn(
|
|
2345
2344
|
"bg-muted/40",
|
|
2346
2345
|
props.tableLayout?.headerBorder && "[&>th]:border-b",
|
|
2347
|
-
props.tableLayout?.cellBorder && "
|
|
2346
|
+
props.tableLayout?.cellBorder && "*:last:border-e-0",
|
|
2348
2347
|
props.tableLayout?.stripped && "bg-transparent",
|
|
2349
2348
|
props.tableLayout?.headerBackground === false && "bg-transparent",
|
|
2350
2349
|
props.tableClassNames?.headerRow
|
|
@@ -2435,9 +2434,9 @@ function DataGridTableBodyRowSkeleton({ children }) {
|
|
|
2435
2434
|
"hover:bg-muted/40 data-[state=selected]:bg-muted/50",
|
|
2436
2435
|
props.onRowClick && "cursor-pointer",
|
|
2437
2436
|
!props.tableLayout?.stripped && props.tableLayout?.rowBorder && "border-border border-b [&:not(:last-child)>td]:border-b",
|
|
2438
|
-
props.tableLayout?.cellBorder && "
|
|
2437
|
+
props.tableLayout?.cellBorder && "*:last:border-e-0",
|
|
2439
2438
|
props.tableLayout?.stripped && "odd:bg-muted/90 hover:bg-transparent odd:hover:bg-muted",
|
|
2440
|
-
table.options.enableRowSelection && "
|
|
2439
|
+
table.options.enableRowSelection && "*:first:relative",
|
|
2441
2440
|
props.tableClassNames?.bodyRow
|
|
2442
2441
|
),
|
|
2443
2442
|
children
|
|
@@ -2486,9 +2485,9 @@ function DataGridTableBodyRow({
|
|
|
2486
2485
|
"hover:bg-muted/40 data-[state=selected]:bg-muted/50",
|
|
2487
2486
|
props.onRowClick && "cursor-pointer",
|
|
2488
2487
|
!props.tableLayout?.stripped && props.tableLayout?.rowBorder && "border-border border-b [&:not(:last-child)>td]:border-b",
|
|
2489
|
-
props.tableLayout?.cellBorder && "
|
|
2488
|
+
props.tableLayout?.cellBorder && "*:last:border-e-0",
|
|
2490
2489
|
props.tableLayout?.stripped && "odd:bg-muted/90 hover:bg-transparent odd:hover:bg-muted",
|
|
2491
|
-
table.options.enableRowSelection && "
|
|
2490
|
+
table.options.enableRowSelection && "*:first:relative",
|
|
2492
2491
|
props.tableClassNames?.bodyRow
|
|
2493
2492
|
),
|
|
2494
2493
|
children
|
|
@@ -3100,7 +3099,7 @@ function FieldGroup({ className, ...props }) {
|
|
|
3100
3099
|
{
|
|
3101
3100
|
"data-slot": "field-group",
|
|
3102
3101
|
className: cn(
|
|
3103
|
-
"group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3
|
|
3102
|
+
"group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4",
|
|
3104
3103
|
className
|
|
3105
3104
|
),
|
|
3106
3105
|
...props
|
|
@@ -3110,15 +3109,15 @@ function FieldGroup({ className, ...props }) {
|
|
|
3110
3109
|
var fieldVariants = cva11("group/field flex w-full gap-3 data-[invalid=true]:text-destructive", {
|
|
3111
3110
|
variants: {
|
|
3112
3111
|
orientation: {
|
|
3113
|
-
vertical: ["flex-col
|
|
3112
|
+
vertical: ["flex-col *:w-full [&>.sr-only]:w-auto"],
|
|
3114
3113
|
horizontal: [
|
|
3115
3114
|
"flex-row items-center",
|
|
3116
|
-
"
|
|
3115
|
+
"*:data-[slot=field-label]:flex-auto",
|
|
3117
3116
|
"has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
|
|
3118
3117
|
],
|
|
3119
3118
|
responsive: [
|
|
3120
|
-
"flex-col
|
|
3121
|
-
"@md/field-group
|
|
3119
|
+
"flex-col *:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto",
|
|
3120
|
+
"@md/field-group:*:data-[slot=field-label]:flex-auto",
|
|
3122
3121
|
"@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
|
|
3123
3122
|
]
|
|
3124
3123
|
}
|
|
@@ -3160,7 +3159,7 @@ function FieldLabel({ className, ...props }) {
|
|
|
3160
3159
|
"data-slot": "field-label",
|
|
3161
3160
|
className: cn(
|
|
3162
3161
|
"group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50",
|
|
3163
|
-
"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border
|
|
3162
|
+
"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-4",
|
|
3164
3163
|
"has-data-[state=checked]:border-primary has-data-[state=checked]:bg-primary/5 dark:has-data-[state=checked]:bg-primary/10",
|
|
3165
3164
|
className
|
|
3166
3165
|
),
|
|
@@ -3187,7 +3186,7 @@ function FieldDescription({ className, ...props }) {
|
|
|
3187
3186
|
{
|
|
3188
3187
|
"data-slot": "field-description",
|
|
3189
3188
|
className: cn(
|
|
3190
|
-
"font-normal text-muted-foreground text-sm leading-normal group-has-
|
|
3189
|
+
"font-normal text-muted-foreground text-sm leading-normal group-has-data-[orientation=horizontal]/field:text-balance",
|
|
3191
3190
|
"nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5 last:mt-0",
|
|
3192
3191
|
"[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
|
|
3193
3192
|
className
|
|
@@ -3284,7 +3283,7 @@ var switchVariants = cva12(
|
|
|
3284
3283
|
focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background
|
|
3285
3284
|
disabled:cursor-not-allowed disabled:opacity-50 data-[state=unchecked]:bg-input
|
|
3286
3285
|
aria-invalid:border aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20
|
|
3287
|
-
|
|
3286
|
+
in-data-[invalid=true]:border in-data-[invalid=true]:border-destructive/60 in-data-[invalid=true]:ring-destructive/10 dark:in-data-[invalid=true]:border-destructive dark:in-data-[invalid=true]:ring-destructive/20
|
|
3288
3287
|
`,
|
|
3289
3288
|
{
|
|
3290
3289
|
variants: {
|
|
@@ -3527,12 +3526,12 @@ var filterInputVariants = cva13(
|
|
|
3527
3526
|
"has-[[data-slot=filters-input]:focus-visible]:outline-none",
|
|
3528
3527
|
"has-[[data-slot=filters-input]:focus-visible]:ring-[3px]",
|
|
3529
3528
|
"has-[[data-slot=filters-input]:focus-visible]:z-1",
|
|
3530
|
-
"has-[[data-slot=filters-input]
|
|
3531
|
-
"has-[[data-slot=filters-input]
|
|
3532
|
-
"has-[[data-slot=filters-input]
|
|
3533
|
-
"has-[[data-slot=filters-input]
|
|
3534
|
-
"dark:has-[[data-slot=filters-input]
|
|
3535
|
-
"dark:has-[[data-slot=filters-input]
|
|
3529
|
+
"has-[[data-slot=filters-input]:[aria-invalid=true]]:border",
|
|
3530
|
+
"has-[[data-slot=filters-input]:[aria-invalid=true]]:border-solid",
|
|
3531
|
+
"has-[[data-slot=filters-input]:[aria-invalid=true]]:border-destructive/60",
|
|
3532
|
+
"has-[[data-slot=filters-input]:[aria-invalid=true]]:ring-destructive/10",
|
|
3533
|
+
"dark:has-[[data-slot=filters-input]:[aria-invalid=true]]:border-destructive",
|
|
3534
|
+
"dark:has-[[data-slot=filters-input]:[aria-invalid=true]]:ring-destructive/20"
|
|
3536
3535
|
],
|
|
3537
3536
|
{
|
|
3538
3537
|
variants: {
|
|
@@ -3541,9 +3540,9 @@ var filterInputVariants = cva13(
|
|
|
3541
3540
|
outline: "bg-background border border-border"
|
|
3542
3541
|
},
|
|
3543
3542
|
size: {
|
|
3544
|
-
lg: "h-10 text-sm px-2.5 has-
|
|
3545
|
-
md: "h-9 text-sm px-2 has-
|
|
3546
|
-
sm: "h-8 text-xs px-1.5 has-
|
|
3543
|
+
lg: "h-10 text-sm px-2.5 has-data-[slot=filters-prefix]:ps-0 has-data-[slot=filters-suffix]:pe-0",
|
|
3544
|
+
md: "h-9 text-sm px-2 has-data-[slot=filters-prefix]:ps-0 has-data-[slot=filters-suffix]:pe-0",
|
|
3545
|
+
sm: "h-8 text-xs px-1.5 has-data-[slot=filters-prefix]:ps-0 has-data-[slot=filters-suffix]:pe-0"
|
|
3547
3546
|
},
|
|
3548
3547
|
cursorPointer: {
|
|
3549
3548
|
true: "cursor-pointer",
|
|
@@ -3681,7 +3680,7 @@ var filterFieldValueVariants = cva13(
|
|
|
3681
3680
|
variants: {
|
|
3682
3681
|
variant: {
|
|
3683
3682
|
solid: "bg-secondary",
|
|
3684
|
-
outline: "bg-background border border-border hover:bg-secondary has-
|
|
3683
|
+
outline: "bg-background border border-border hover:bg-secondary has-data-[slot=switch]:hover:bg-transparent"
|
|
3685
3684
|
},
|
|
3686
3685
|
size: {
|
|
3687
3686
|
lg: "h-10 px-4 text-sm gap-1.5 [&_svg:not([class*=size-])]:size-4",
|
|
@@ -5422,7 +5421,7 @@ function Item({
|
|
|
5422
5421
|
);
|
|
5423
5422
|
}
|
|
5424
5423
|
var itemMediaVariants = cva14(
|
|
5425
|
-
"flex shrink-0 items-center justify-center gap-2 group-has-
|
|
5424
|
+
"flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none group-has-data-[slot=item-description]/item:translate-y-0.5",
|
|
5426
5425
|
{
|
|
5427
5426
|
variants: {
|
|
5428
5427
|
variant: {
|
|
@@ -5782,7 +5781,7 @@ function KanbanColumnHandle({
|
|
|
5782
5781
|
...listeners,
|
|
5783
5782
|
className: cn(
|
|
5784
5783
|
"opacity-0 transition-opacity group-hover/kanban-column:opacity-100",
|
|
5785
|
-
cursor && (isDragging ? "
|
|
5784
|
+
cursor && (isDragging ? "cursor-grabbing!" : "cursor-grab!"),
|
|
5786
5785
|
className
|
|
5787
5786
|
),
|
|
5788
5787
|
children
|
|
@@ -5833,7 +5832,7 @@ function KanbanItemHandle({ asChild, className, children, cursor = true }) {
|
|
|
5833
5832
|
"data-dragging": isDragging,
|
|
5834
5833
|
"data-disabled": disabled,
|
|
5835
5834
|
...listeners,
|
|
5836
|
-
className: cn(cursor && (isDragging ? "
|
|
5835
|
+
className: cn(cursor && (isDragging ? "cursor-grabbing!" : "cursor-grab!"), className),
|
|
5837
5836
|
children
|
|
5838
5837
|
}
|
|
5839
5838
|
);
|
|
@@ -5879,7 +5878,7 @@ function KanbanOverlay({ children, className }) {
|
|
|
5879
5878
|
"data-slot": "kanban-overlay",
|
|
5880
5879
|
"data-dragging": true,
|
|
5881
5880
|
style,
|
|
5882
|
-
className: cn("pointer-events-none", className, activeId ? "
|
|
5881
|
+
className: cn("pointer-events-none", className, activeId ? "cursor-grabbing!" : ""),
|
|
5883
5882
|
children: content
|
|
5884
5883
|
}
|
|
5885
5884
|
) });
|
|
@@ -5895,7 +5894,7 @@ function Kbd({ className, ...props }) {
|
|
|
5895
5894
|
className: cn(
|
|
5896
5895
|
"pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm bg-muted px-1 font-medium font-sans text-muted-foreground text-xs",
|
|
5897
5896
|
"[&_svg:not([class*='size-'])]:size-3",
|
|
5898
|
-
"
|
|
5897
|
+
"in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10",
|
|
5899
5898
|
className
|
|
5900
5899
|
),
|
|
5901
5900
|
...props
|
|
@@ -6020,7 +6019,7 @@ function MenubarContent({
|
|
|
6020
6019
|
alignOffset,
|
|
6021
6020
|
sideOffset,
|
|
6022
6021
|
className: cn(
|
|
6023
|
-
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]: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 z-50 min-w-
|
|
6022
|
+
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]: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 z-50 min-w-48 space-y-0.5 overflow-hidden rounded-md border border-border bg-popover p-2 text-popover-foreground shadow-black/5 shadow-md transition-shadow data-[state=open]:animate-in",
|
|
6024
6023
|
className
|
|
6025
6024
|
),
|
|
6026
6025
|
...props
|
|
@@ -6206,7 +6205,7 @@ function NavigationMenuTrigger({
|
|
|
6206
6205
|
/* @__PURE__ */ jsx38(
|
|
6207
6206
|
ChevronDownIcon,
|
|
6208
6207
|
{
|
|
6209
|
-
className: "relative top-
|
|
6208
|
+
className: "relative top-px ms-1 size-3.5 opacity-60 transition duration-300 group-data-[state=open]:rotate-180",
|
|
6210
6209
|
"aria-hidden": "true"
|
|
6211
6210
|
}
|
|
6212
6211
|
)
|
|
@@ -6240,7 +6239,7 @@ function NavigationMenuViewport({
|
|
|
6240
6239
|
{
|
|
6241
6240
|
"data-slot": "navigation-menu-viewport",
|
|
6242
6241
|
className: cn(
|
|
6243
|
-
"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-
|
|
6242
|
+
"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full origin-top-center overflow-hidden rounded-md border border-border bg-popover p-1.5 text-popover-foreground shadow-black/5 shadow-md data-[state=closed]:animate-out data-[state=open]:animate-in md:w-(--radix-navigation-menu-viewport-width)",
|
|
6244
6243
|
className
|
|
6245
6244
|
),
|
|
6246
6245
|
...props
|
|
@@ -6272,7 +6271,7 @@ function NavigationMenuIndicator({
|
|
|
6272
6271
|
{
|
|
6273
6272
|
"data-slot": "navigation-menu-indicator",
|
|
6274
6273
|
className: cn(
|
|
6275
|
-
"data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-
|
|
6274
|
+
"data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=hidden]:animate-out data-[state=visible]:animate-in",
|
|
6276
6275
|
className
|
|
6277
6276
|
),
|
|
6278
6277
|
...props,
|
|
@@ -6539,7 +6538,7 @@ var radioItemVariants = cva16(
|
|
|
6539
6538
|
peer aspect-square rounded-full border outline-hidden ring-offset-background focus:outline-none focus-visible:ring-2
|
|
6540
6539
|
focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50
|
|
6541
6540
|
aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20
|
|
6542
|
-
|
|
6541
|
+
in-data-[invalid=true]:border-destructive/60 in-data-[invalid=true]:ring-destructive/10 dark:in-data-[invalid=true]:border-destructive dark:in-data-[invalid=true]:ring-destructive/20
|
|
6543
6542
|
border-input text-primary data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=checked]:text-primary-foreground
|
|
6544
6543
|
`,
|
|
6545
6544
|
{
|
|
@@ -6777,8 +6776,8 @@ function ScrollBar({
|
|
|
6777
6776
|
orientation,
|
|
6778
6777
|
className: cn(
|
|
6779
6778
|
"flex touch-none select-none transition-colors",
|
|
6780
|
-
orientation === "vertical" && "h-full w-2 border-l border-l-transparent p-
|
|
6781
|
-
orientation === "horizontal" && "h-2 flex-col border-t border-t-transparent p-
|
|
6779
|
+
orientation === "vertical" && "h-full w-2 border-l border-l-transparent p-px",
|
|
6780
|
+
orientation === "horizontal" && "h-2 flex-col border-t border-t-transparent p-px",
|
|
6782
6781
|
className
|
|
6783
6782
|
),
|
|
6784
6783
|
...props,
|
|
@@ -7650,7 +7649,7 @@ function SliderThumb({ className, ...props }) {
|
|
|
7650
7649
|
{
|
|
7651
7650
|
"data-slot": "slider-thumb",
|
|
7652
7651
|
className: cn(
|
|
7653
|
-
"box-content block size-4 shrink-0 cursor-pointer rounded-full border-
|
|
7652
|
+
"box-content block size-4 shrink-0 cursor-pointer rounded-full border-2 border-primary bg-primary-foreground shadow-black/5 shadow-xs outline-hidden focus:outline-hidden",
|
|
7654
7653
|
className
|
|
7655
7654
|
),
|
|
7656
7655
|
...props
|
|
@@ -7833,7 +7832,7 @@ function SortableItemHandle({
|
|
|
7833
7832
|
"data-dragging": isDragging,
|
|
7834
7833
|
"data-disabled": disabled,
|
|
7835
7834
|
...listeners,
|
|
7836
|
-
className: cn(cursor && (isDragging ? "
|
|
7835
|
+
className: cn(cursor && (isDragging ? "cursor-grabbing!" : "cursor-grab!"), className),
|
|
7837
7836
|
children
|
|
7838
7837
|
}
|
|
7839
7838
|
);
|
|
@@ -8323,12 +8322,12 @@ var tabsListVariants = cva20("flex items-center shrink-0", {
|
|
|
8323
8322
|
{
|
|
8324
8323
|
variant: "default",
|
|
8325
8324
|
shape: "pill",
|
|
8326
|
-
className: "rounded-full [
|
|
8325
|
+
className: "rounded-full **:[[role=tab]]:rounded-full"
|
|
8327
8326
|
},
|
|
8328
8327
|
{
|
|
8329
8328
|
variant: "button",
|
|
8330
8329
|
shape: "pill",
|
|
8331
|
-
className: "rounded-full [
|
|
8330
|
+
className: "rounded-full **:[[role=tab]]:rounded-full"
|
|
8332
8331
|
}
|
|
8333
8332
|
],
|
|
8334
8333
|
defaultVariants: {
|
|
@@ -8441,7 +8440,7 @@ var textareaVariants = cva21(
|
|
|
8441
8440
|
`
|
|
8442
8441
|
w-full bg-background border border-input shadow-xs shadow-black/5 transition-[color,box-shadow]
|
|
8443
8442
|
text-foreground placeholder:text-muted-foreground/80 focus-visible:border-ring focus-visible:outline-none focus-visible:ring-[3px]
|
|
8444
|
-
focus-visible:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50 [
|
|
8443
|
+
focus-visible:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50 [[readonly]]:opacity-70
|
|
8445
8444
|
aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20
|
|
8446
8445
|
`,
|
|
8447
8446
|
{
|
|
@@ -8625,7 +8624,7 @@ function TreeItem({
|
|
|
8625
8624
|
"data-slot": "tree-item",
|
|
8626
8625
|
style: mergedStyle,
|
|
8627
8626
|
className: cn(
|
|
8628
|
-
"z-10 select-none ps-(--tree-padding) not-last:pb-0.5 outline-hidden focus:z-20 data-
|
|
8627
|
+
"z-10 select-none ps-(--tree-padding) not-last:pb-0.5 outline-hidden focus:z-20 data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
8629
8628
|
className
|
|
8630
8629
|
),
|
|
8631
8630
|
"data-focus": typeof item.isFocused === "function" ? item.isFocused() || false : void 0,
|