@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/base.cjs
CHANGED
|
@@ -575,7 +575,7 @@ function AlertDialogBackdrop({
|
|
|
575
575
|
{
|
|
576
576
|
"data-slot": "alert-dialog-backdrop",
|
|
577
577
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
578
|
-
"fixed inset-0 z-50 bg-black/30 transition-all duration-150 [backdrop-filter:blur(4px)] data-
|
|
578
|
+
"fixed inset-0 z-50 bg-black/30 transition-all duration-150 [backdrop-filter:blur(4px)] data-ending-style:opacity-0",
|
|
579
579
|
className
|
|
580
580
|
),
|
|
581
581
|
...props
|
|
@@ -594,7 +594,7 @@ function AlertDialogPopup({
|
|
|
594
594
|
{
|
|
595
595
|
"data-slot": "alert-dialog-popup",
|
|
596
596
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
597
|
-
"fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-black/5 shadow-lg transition-all duration-150 data-
|
|
597
|
+
"fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-black/5 shadow-lg transition-all duration-150 data-ending-style:scale-90 data-starting-style:scale-90 data-ending-style:opacity-0 data-starting-style:opacity-0 sm:rounded-lg",
|
|
598
598
|
className
|
|
599
599
|
),
|
|
600
600
|
...props
|
|
@@ -709,7 +709,7 @@ var inputVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
709
709
|
flex w-full bg-background border border-input shadow-xs shadow-black/5 transition-[color,box-shadow] text-foreground placeholder:text-muted-foreground/80
|
|
710
710
|
focus-visible:ring-ring/30 focus-visible:border-ring focus-visible:outline-none focus-visible:ring-[3px]
|
|
711
711
|
disabled:cursor-not-allowed disabled:opacity-60
|
|
712
|
-
[
|
|
712
|
+
[[readonly]]:bg-muted/80 [[readonly]]:cursor-not-allowed
|
|
713
713
|
aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20
|
|
714
714
|
`,
|
|
715
715
|
{
|
|
@@ -812,11 +812,11 @@ function AutocompletePopup({
|
|
|
812
812
|
{
|
|
813
813
|
"data-slot": "autocomplete-popup",
|
|
814
814
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
815
|
-
"max-h-[min(var(--available-height),23rem)] w-
|
|
815
|
+
"max-h-[min(var(--available-height),23rem)] w-(--anchor-width) max-w-(--available-width) py-1",
|
|
816
816
|
"scroll-pt-2 scroll-pb-2 overflow-y-auto overscroll-contain bg-[canvas]",
|
|
817
817
|
"rounded-md border border-border bg-popover text-popover-foreground shadow-black/5 shadow-md",
|
|
818
|
-
"origin-
|
|
819
|
-
"data-
|
|
818
|
+
"origin-(--transform-origin) transition-[transform,scale,opacity] data-ending-style:scale-90",
|
|
819
|
+
"data-starting-style:scale-90 data-ending-style:opacity-0 data-starting-style:opacity-0",
|
|
820
820
|
className
|
|
821
821
|
),
|
|
822
822
|
...props
|
|
@@ -866,8 +866,8 @@ function AutocompleteItem({
|
|
|
866
866
|
"relative flex cursor-default select-none items-center gap-2 rounded-md px-4 py-2 text-foreground text-sm outline-hidden transition-colors",
|
|
867
867
|
"data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
868
868
|
"[&_svg:not([class*=size-])]:size-4 [&_svg:not([role=img]):not([class*=text-])]:opacity-60 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
869
|
-
"data-
|
|
870
|
-
"data-
|
|
869
|
+
"data-highlighted:relative data-highlighted:z-0 data-highlighted:text-foreground data-highlighted:before:absolute",
|
|
870
|
+
"data-highlighted:before:inset-x-1 data-highlighted:before:inset-y-0 data-highlighted:before:z-[-1] data-highlighted:before:rounded-sm data-highlighted:before:bg-accent",
|
|
871
871
|
className
|
|
872
872
|
),
|
|
873
873
|
...props
|
|
@@ -939,7 +939,7 @@ function AutocompleteClear({
|
|
|
939
939
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
940
940
|
"-translate-y-1/2 absolute top-1/2 cursor-pointer rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100",
|
|
941
941
|
"focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
|
|
942
|
-
"data-
|
|
942
|
+
"data-disabled:pointer-events-none",
|
|
943
943
|
className
|
|
944
944
|
),
|
|
945
945
|
...props,
|
|
@@ -1266,7 +1266,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
1266
1266
|
{
|
|
1267
1267
|
"data-slot": "breadcrumb-list",
|
|
1268
1268
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
1269
|
-
"flex flex-wrap items-center gap-1.5
|
|
1269
|
+
"wrap-break-word flex flex-wrap items-center gap-1.5 text-muted-foreground text-sm",
|
|
1270
1270
|
className
|
|
1271
1271
|
),
|
|
1272
1272
|
...props
|
|
@@ -1355,8 +1355,8 @@ var checkboxVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
1355
1355
|
group/checkbox peer bg-background shrink-0 rounded-md border border-input ring-offset-background focus-visible:outline-none
|
|
1356
1356
|
focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50
|
|
1357
1357
|
aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20
|
|
1358
|
-
|
|
1359
|
-
data-
|
|
1358
|
+
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
|
|
1359
|
+
data-checked:bg-primary data-checked:border-primary data-checked:text-primary-foreground data-indeterminate:bg-primary data-indeterminate:border-primary data-indeterminate:text-primary-foreground
|
|
1360
1360
|
`,
|
|
1361
1361
|
{
|
|
1362
1362
|
variants: {
|
|
@@ -1436,7 +1436,7 @@ function CollapsiblePanel({
|
|
|
1436
1436
|
{
|
|
1437
1437
|
"data-slot": "collapsible-panel",
|
|
1438
1438
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
1439
|
-
"h-
|
|
1439
|
+
"h-(--collapsible-panel-height) overflow-hidden transition-all ease-out data-ending-style:h-0 data-starting-style:h-0",
|
|
1440
1440
|
className
|
|
1441
1441
|
),
|
|
1442
1442
|
...props,
|
|
@@ -1458,9 +1458,9 @@ var inputVariants2 = _classvarianceauthority.cva.call(void 0,
|
|
|
1458
1458
|
has-[[data-slot=combobox-input]:focus-visible]:border-ring
|
|
1459
1459
|
has-[[data-slot=combobox-input]:focus-visible]:outline-none
|
|
1460
1460
|
has-[[data-slot=combobox-input]:focus-visible]:ring-[3px]
|
|
1461
|
-
|
|
1461
|
+
**:data-[slot=combobox-input]:grow
|
|
1462
1462
|
disabled:cursor-not-allowed disabled:opacity-60
|
|
1463
|
-
[
|
|
1463
|
+
[[readonly]]:bg-muted/80 [[readonly]]:cursor-not-allowed
|
|
1464
1464
|
aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20
|
|
1465
1465
|
`,
|
|
1466
1466
|
{
|
|
@@ -1479,10 +1479,10 @@ var inputVariants2 = _classvarianceauthority.cva.call(void 0,
|
|
|
1479
1479
|
var chipsVariants = _classvarianceauthority.cva.call(void 0,
|
|
1480
1480
|
[
|
|
1481
1481
|
"flex items-center flex-wrap gap-1",
|
|
1482
|
-
"
|
|
1483
|
-
"
|
|
1484
|
-
"
|
|
1485
|
-
"
|
|
1482
|
+
"**:data-[slot=combobox-input]:py-0 **:data-[slot=combobox-input]:px-1.5 has-data-[slot=combobox-chip]:**:data-[slot=combobox-input]:px-0",
|
|
1483
|
+
"**:data-[slot=combobox-input]:min-h-0 **:data-[slot=combobox-input]:flex-1",
|
|
1484
|
+
"**:data-[slot=combobox-input]:border-0 **:data-[slot=combobox-input]:shadow-none **:data-[slot=combobox-input]:rounded-none",
|
|
1485
|
+
"**:data-[slot=combobox-input]:outline-none **:data-[slot=combobox-input]:ring-0"
|
|
1486
1486
|
],
|
|
1487
1487
|
{
|
|
1488
1488
|
variants: {
|
|
@@ -1585,11 +1585,11 @@ function ComboboxPopup({
|
|
|
1585
1585
|
{
|
|
1586
1586
|
"data-slot": "combobox-popup",
|
|
1587
1587
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
1588
|
-
"max-h-[min(var(--available-height),23rem)] w-
|
|
1588
|
+
"max-h-[min(var(--available-height),23rem)] w-(--anchor-width) max-w-(--available-width) py-1",
|
|
1589
1589
|
"scroll-pt-2 scroll-pb-2 overflow-y-auto overscroll-contain bg-[canvas]",
|
|
1590
1590
|
"rounded-md border border-border bg-popover text-popover-foreground shadow-black/5 shadow-md",
|
|
1591
|
-
"origin-
|
|
1592
|
-
"data-
|
|
1591
|
+
"origin-(--transform-origin) transition-[transform,scale,opacity] data-ending-style:scale-90",
|
|
1592
|
+
"data-starting-style:scale-90 data-ending-style:opacity-0 data-starting-style:opacity-0",
|
|
1593
1593
|
className
|
|
1594
1594
|
),
|
|
1595
1595
|
...props
|
|
@@ -1636,7 +1636,7 @@ function ComboboxItem({
|
|
|
1636
1636
|
"relative flex cursor-default items-center",
|
|
1637
1637
|
"relative select-none items-center gap-2 rounded-md py-1.5 ps-7 pe-2 text-foreground text-sm outline-hidden transition-colors data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
1638
1638
|
"[&_svg:not([class*=size-])]:size-4 [&_svg:not([role=img]):not([class*=text-])]:opacity-60 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
1639
|
-
"data-
|
|
1639
|
+
"data-highlighted:relative data-highlighted:z-0 data-highlighted:text-foreground data-highlighted:before:absolute data-highlighted:before:inset-x-1 data-highlighted:before:inset-y-0 data-highlighted:before:z-[-1] data-highlighted:before:rounded-sm data-highlighted:before:bg-accent",
|
|
1640
1640
|
className
|
|
1641
1641
|
),
|
|
1642
1642
|
...props
|
|
@@ -1701,7 +1701,7 @@ function ComboboxClear({
|
|
|
1701
1701
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
1702
1702
|
"-translate-y-1/2 absolute end-6 top-1/2 cursor-pointer rounded-sm opacity-70 ring-offset-background",
|
|
1703
1703
|
"opacity-60 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
|
|
1704
|
-
"data-
|
|
1704
|
+
"data-disabled:pointer-events-none",
|
|
1705
1705
|
className
|
|
1706
1706
|
),
|
|
1707
1707
|
...props,
|
|
@@ -1721,7 +1721,7 @@ function ComboboxIcon({
|
|
|
1721
1721
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
1722
1722
|
"-translate-y-1/2 absolute end-2 top-1/2 cursor-pointer rounded-sm opacity-70 ring-offset-background transition-opacity",
|
|
1723
1723
|
"opacity-60 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
|
|
1724
|
-
"data-
|
|
1724
|
+
"data-disabled:pointer-events-none",
|
|
1725
1725
|
className
|
|
1726
1726
|
),
|
|
1727
1727
|
...props,
|
|
@@ -1847,7 +1847,7 @@ function ContextMenuSubTrigger({
|
|
|
1847
1847
|
"data-slot": "context-menu-sub-trigger",
|
|
1848
1848
|
"data-inset": inset,
|
|
1849
1849
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
1850
|
-
"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-
|
|
1850
|
+
"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:ps-7 data-[state=open]:text-accent-foreground [&_svg:not([class*='size-'])]:size-3.5 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
1851
1851
|
className
|
|
1852
1852
|
),
|
|
1853
1853
|
...props,
|
|
@@ -1867,7 +1867,7 @@ function ContextMenuSubPopup({
|
|
|
1867
1867
|
{
|
|
1868
1868
|
"data-slot": "context-menu-sub-popup",
|
|
1869
1869
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
1870
|
-
"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-
|
|
1870
|
+
"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 outline-none data-[state=closed]:animate-out data-[state=open]:animate-in",
|
|
1871
1871
|
className
|
|
1872
1872
|
),
|
|
1873
1873
|
...props
|
|
@@ -1904,7 +1904,7 @@ function ContextMenuPopup({
|
|
|
1904
1904
|
{
|
|
1905
1905
|
"data-slot": "context-menu-content",
|
|
1906
1906
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
1907
|
-
"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-
|
|
1907
|
+
"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 outline-none data-[state=closed]:animate-out data-[state=open]:animate-in",
|
|
1908
1908
|
className
|
|
1909
1909
|
),
|
|
1910
1910
|
...props
|
|
@@ -1945,7 +1945,7 @@ function ContextMenuItem({
|
|
|
1945
1945
|
"data-inset": inset,
|
|
1946
1946
|
"data-variant": variant,
|
|
1947
1947
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
1948
|
-
"
|
|
1948
|
+
"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:ps-7 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!",
|
|
1949
1949
|
className
|
|
1950
1950
|
),
|
|
1951
1951
|
...props
|
|
@@ -1963,7 +1963,7 @@ function ContextMenuCheckboxItem({
|
|
|
1963
1963
|
{
|
|
1964
1964
|
"data-slot": "context-menu-checkbox-item",
|
|
1965
1965
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
1966
|
-
"relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-7 pe-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-
|
|
1966
|
+
"relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-7 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",
|
|
1967
1967
|
className
|
|
1968
1968
|
),
|
|
1969
1969
|
checked,
|
|
@@ -1985,7 +1985,7 @@ function ContextMenuRadioItem({
|
|
|
1985
1985
|
{
|
|
1986
1986
|
"data-slot": "context-menu-radio-item",
|
|
1987
1987
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
1988
|
-
"relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-7 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-
|
|
1988
|
+
"relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-7 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",
|
|
1989
1989
|
className
|
|
1990
1990
|
),
|
|
1991
1991
|
...props,
|
|
@@ -2007,7 +2007,7 @@ function ContextMenuGroupLabel({
|
|
|
2007
2007
|
"data-slot": "context-menu-group-label",
|
|
2008
2008
|
"data-inset": inset,
|
|
2009
2009
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
2010
|
-
"px-2 py-1.5 font-medium text-muted-foreground text-xs data-
|
|
2010
|
+
"px-2 py-1.5 font-medium text-muted-foreground text-xs data-inset:ps-7",
|
|
2011
2011
|
className
|
|
2012
2012
|
),
|
|
2013
2013
|
...props
|
|
@@ -2097,7 +2097,7 @@ function DialogBackdrop({
|
|
|
2097
2097
|
{
|
|
2098
2098
|
"data-slot": "dialog-backdrop",
|
|
2099
2099
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
2100
|
-
"fixed inset-0 z-50 bg-black/30 transition-all duration-150 [backdrop-filter:blur(4px)] data-
|
|
2100
|
+
"fixed inset-0 z-50 bg-black/30 transition-all duration-150 [backdrop-filter:blur(4px)] data-ending-style:opacity-0 data-starting-style:opacity-0",
|
|
2101
2101
|
className
|
|
2102
2102
|
),
|
|
2103
2103
|
...props
|
|
@@ -2114,7 +2114,7 @@ function DialogPopup({
|
|
|
2114
2114
|
{
|
|
2115
2115
|
"data-slot": "dialog-popup",
|
|
2116
2116
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
2117
|
-
`fixed z-50 grid gap-4 border bg-background p-6 shadow-black/5 shadow-lg transition-all duration-150 data-
|
|
2117
|
+
`fixed z-50 grid gap-4 border bg-background p-6 shadow-black/5 shadow-lg transition-all duration-150 data-ending-style:scale-90 data-starting-style:scale-90 data-ending-style:opacity-0 data-starting-style:opacity-0 sm:rounded-lg`,
|
|
2118
2118
|
fullscreen ? "inset-5" : "top-[50%] left-[50%] w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] sm:max-w-lg",
|
|
2119
2119
|
className
|
|
2120
2120
|
),
|
|
@@ -2208,7 +2208,7 @@ function Field({ className, ...props }) {
|
|
|
2208
2208
|
{
|
|
2209
2209
|
"data-slot": "field",
|
|
2210
2210
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
2211
|
-
"flex flex-col gap-2 has-
|
|
2211
|
+
"flex flex-col gap-2 has-data-[slot=field-error]:**:data-[slot=field-description]:hidden",
|
|
2212
2212
|
className
|
|
2213
2213
|
),
|
|
2214
2214
|
...props
|
|
@@ -2509,8 +2509,8 @@ var inputVariants3 = _classvarianceauthority.cva.call(void 0,
|
|
|
2509
2509
|
flex w-full bg-background border border-input shadow-xs shadow-black/5 transition-[color,box-shadow] text-foreground placeholder:text-muted-foreground/80
|
|
2510
2510
|
focus-visible:ring-ring/30 focus-visible:border-ring focus-visible:outline-none focus-visible:ring-[3px]
|
|
2511
2511
|
disabled:cursor-not-allowed disabled:opacity-60
|
|
2512
|
-
[
|
|
2513
|
-
file:h-full [
|
|
2512
|
+
[[readonly]]:bg-muted/80 [[readonly]]:cursor-not-allowed
|
|
2513
|
+
file:h-full [[type=file]]:py-0 file:border-solid file:border-input file:bg-transparent
|
|
2514
2514
|
file:font-medium file:not-italic file:text-foreground file:p-0 file:border-0 file:border-e
|
|
2515
2515
|
aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20
|
|
2516
2516
|
`,
|
|
@@ -2550,7 +2550,7 @@ var inputAddonVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
2550
2550
|
var inputGroupVariants = _classvarianceauthority.cva.call(void 0,
|
|
2551
2551
|
`
|
|
2552
2552
|
flex items-stretch
|
|
2553
|
-
|
|
2553
|
+
**:data-[slot=input]:grow
|
|
2554
2554
|
[&_[data-slot=input-addon]:has(+[data-slot=input])]:rounded-e-none [&_[data-slot=input-addon]:has(+[data-slot=input])]:border-e-0
|
|
2555
2555
|
[&_[data-slot=input-addon]:has(+[data-slot=datefield])]:rounded-e-none [&_[data-slot=input-addon]:has(+[data-slot=datefield])]:border-e-0
|
|
2556
2556
|
[&_[data-slot=input]+[data-slot=input-addon]]:rounded-s-none [&_[data-slot=input]+[data-slot=input-addon]]:border-s-0
|
|
@@ -2558,13 +2558,13 @@ var inputGroupVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
2558
2558
|
[&_[data-slot=input]+[data-slot=button]]:rounded-s-none
|
|
2559
2559
|
[&_[data-slot=button]+[data-slot=input]]:rounded-s-none
|
|
2560
2560
|
[&_[data-slot=input-addon]+[data-slot=input]]:rounded-s-none
|
|
2561
|
-
[&_[data-slot=input-addon]+[data-slot=datefield]]
|
|
2561
|
+
[&_[data-slot=input-addon]+[data-slot=datefield]]:**:data-[slot=input]:rounded-s-none
|
|
2562
2562
|
[&_[data-slot=input]:has(+[data-slot=button])]:rounded-e-none
|
|
2563
2563
|
[&_[data-slot=input]:has(+[data-slot=input-addon])]:rounded-e-none
|
|
2564
2564
|
[&_[data-slot=datefield]]:grow
|
|
2565
2565
|
[&_[data-slot=datefield]+[data-slot=input-addon]]:rounded-s-none
|
|
2566
2566
|
[&_[data-slot=datefield]+[data-slot=input-addon]]:border-s-0
|
|
2567
|
-
[&_[data-slot=datefield]:has(~[data-slot=input-addon])]
|
|
2567
|
+
[&_[data-slot=datefield]:has(~[data-slot=input-addon])]:**:data-[slot=input]:rounded-e-none
|
|
2568
2568
|
[&_[data-slot=datefield]~[data-slot=input-addon]]:rounded-s-none
|
|
2569
2569
|
`,
|
|
2570
2570
|
{
|
|
@@ -2575,36 +2575,36 @@ var inputGroupVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
2575
2575
|
var inputWrapperVariants = _classvarianceauthority.cva.call(void 0,
|
|
2576
2576
|
`
|
|
2577
2577
|
flex items-center gap-1.5
|
|
2578
|
-
has-
|
|
2579
|
-
has-
|
|
2580
|
-
has-
|
|
2581
|
-
has-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2578
|
+
has-focus-visible:ring-ring/30
|
|
2579
|
+
has-focus-visible:border-ring
|
|
2580
|
+
has-focus-visible:outline-none
|
|
2581
|
+
has-focus-visible:ring-[3px]
|
|
2582
|
+
|
|
2583
|
+
**:data-[slot=datefield]:grow
|
|
2584
|
+
**:data-[slot=input]:data-focus-within:ring-transparent
|
|
2585
|
+
**:data-[slot=input]:data-focus-within:ring-0
|
|
2586
|
+
**:data-[slot=input]:data-focus-within:border-0
|
|
2587
|
+
**:data-[slot=input]:flex
|
|
2588
|
+
**:data-[slot=input]:w-full
|
|
2589
|
+
**:data-[slot=input]:outline-none
|
|
2590
|
+
**:data-[slot=input]:transition-colors
|
|
2591
|
+
**:data-[slot=input]:text-foreground
|
|
2592
|
+
**:data-[slot=input]:placeholder:text-muted-foreground
|
|
2593
|
+
**:data-[slot=input]:border-0
|
|
2594
|
+
**:data-[slot=input]:bg-transparent
|
|
2595
|
+
**:data-[slot=input]:p-0
|
|
2596
|
+
**:data-[slot=input]:shadow-none
|
|
2597
|
+
**:data-[slot=input]:focus-visible:ring-0
|
|
2598
|
+
**:data-[slot=input]:h-auto
|
|
2599
|
+
**:data-[slot=input]:disabled:cursor-not-allowed
|
|
2600
|
+
**:data-[slot=input]:disabled:opacity-50
|
|
2601
2601
|
|
|
2602
2602
|
[&_svg]:text-muted-foreground
|
|
2603
2603
|
|
|
2604
|
-
has-
|
|
2605
|
-
has-
|
|
2606
|
-
dark:has-
|
|
2607
|
-
dark:has-
|
|
2604
|
+
has-aria-invalid:border-destructive/60
|
|
2605
|
+
has-aria-invalid:ring-destructive/10
|
|
2606
|
+
dark:has-aria-invalid:border-destructive
|
|
2607
|
+
dark:has-aria-invalid:ring-destructive/20
|
|
2608
2608
|
`,
|
|
2609
2609
|
{
|
|
2610
2610
|
variants: {
|
|
@@ -2723,8 +2723,8 @@ function MenuPopup({ ...props }) {
|
|
|
2723
2723
|
"data-slot": "menu-popup",
|
|
2724
2724
|
...props,
|
|
2725
2725
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
2726
|
-
"z-50 min-w-
|
|
2727
|
-
"origin-
|
|
2726
|
+
"z-50 min-w-32 space-y-0.5 overflow-hidden rounded-md border border-border bg-popover p-2 text-popover-foreground shadow-black/5 shadow-md",
|
|
2727
|
+
"origin-(--transform-origin) transition-[transform,scale,opacity] data-ending-style:scale-90 data-starting-style:scale-90 data-ending-style:opacity-0 data-starting-style:opacity-0",
|
|
2728
2728
|
props.className
|
|
2729
2729
|
)
|
|
2730
2730
|
}
|
|
@@ -2864,7 +2864,7 @@ function MenuSubmenuTrigger({
|
|
|
2864
2864
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
2865
2865
|
"flex cursor-default select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-hidden",
|
|
2866
2866
|
"focus:bg-accent focus:text-foreground",
|
|
2867
|
-
"
|
|
2867
|
+
"data-popup-open:bg-accent data-popup-open:text-foreground",
|
|
2868
2868
|
"[&>svg:not([class*=size-])]:size-4 [&>svg]:pointer-events-none [&>svg]:shrink-0 [&_svg:not([role=img]):not([class*=text-])]:opacity-60",
|
|
2869
2869
|
inset && "ps-7",
|
|
2870
2870
|
className
|
|
@@ -2932,7 +2932,7 @@ function MenubarTrigger({
|
|
|
2932
2932
|
{
|
|
2933
2933
|
"data-slot": "menubar-trigger",
|
|
2934
2934
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
2935
|
-
"flex cursor-pointer select-none items-center rounded-sm px-2 py-1 font-medium text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-
|
|
2935
|
+
"flex cursor-pointer select-none items-center rounded-sm px-2 py-1 font-medium text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-popup-open:bg-accent data-open:text-accent-foreground",
|
|
2936
2936
|
className
|
|
2937
2937
|
),
|
|
2938
2938
|
...props
|
|
@@ -2962,7 +2962,7 @@ function MenubarPopup({ className, ...props }) {
|
|
|
2962
2962
|
{
|
|
2963
2963
|
"data-slot": "menubar-popup",
|
|
2964
2964
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
2965
|
-
"data-
|
|
2965
|
+
"data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 origin-(--transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-closed:animate-out data-open:animate-in",
|
|
2966
2966
|
className
|
|
2967
2967
|
),
|
|
2968
2968
|
...props
|
|
@@ -3004,7 +3004,7 @@ function MenubarItem({
|
|
|
3004
3004
|
"data-inset": inset,
|
|
3005
3005
|
"data-variant": variant,
|
|
3006
3006
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3007
|
-
"
|
|
3007
|
+
"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:ps-7 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!",
|
|
3008
3008
|
className
|
|
3009
3009
|
),
|
|
3010
3010
|
...props
|
|
@@ -3022,7 +3022,7 @@ function MenubarCheckboxItem({
|
|
|
3022
3022
|
{
|
|
3023
3023
|
"data-slot": "menubar-checkbox-item",
|
|
3024
3024
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3025
|
-
"relative flex cursor-default select-none items-center gap-2 rounded-xs py-1.5 ps-7 pe-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-
|
|
3025
|
+
"relative flex cursor-default select-none items-center gap-2 rounded-xs py-1.5 ps-7 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",
|
|
3026
3026
|
className
|
|
3027
3027
|
),
|
|
3028
3028
|
checked,
|
|
@@ -3044,7 +3044,7 @@ function MenubarRadioItem({
|
|
|
3044
3044
|
{
|
|
3045
3045
|
"data-slot": "menubar-radio-item",
|
|
3046
3046
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3047
|
-
"relative flex cursor-default select-none items-center gap-2 rounded-xs py-1.5 ps-7 pe-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-
|
|
3047
|
+
"relative flex cursor-default select-none items-center gap-2 rounded-xs py-1.5 ps-7 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",
|
|
3048
3048
|
className
|
|
3049
3049
|
),
|
|
3050
3050
|
...props,
|
|
@@ -3065,7 +3065,7 @@ function MenubarLabel({
|
|
|
3065
3065
|
{
|
|
3066
3066
|
"data-slot": "menubar-label",
|
|
3067
3067
|
"data-inset": inset,
|
|
3068
|
-
className: _chunkCJXIPSTGcjs.cn.call(void 0, "px-2 py-1.5 font-medium text-sm data-
|
|
3068
|
+
className: _chunkCJXIPSTGcjs.cn.call(void 0, "px-2 py-1.5 font-medium text-sm data-inset:ps-7", className),
|
|
3069
3069
|
...props
|
|
3070
3070
|
}
|
|
3071
3071
|
);
|
|
@@ -3108,7 +3108,7 @@ function MenubarSubTrigger({
|
|
|
3108
3108
|
"data-slot": "menubar-sub-trigger",
|
|
3109
3109
|
"data-inset": inset,
|
|
3110
3110
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3111
|
-
"flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-
|
|
3111
|
+
"flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-inset:ps-7 data-open:text-accent-foreground",
|
|
3112
3112
|
className
|
|
3113
3113
|
),
|
|
3114
3114
|
...props,
|
|
@@ -3201,7 +3201,7 @@ function NavigationMenuItem({
|
|
|
3201
3201
|
);
|
|
3202
3202
|
}
|
|
3203
3203
|
var navigationMenuTriggerStyle = _classvarianceauthority.cva.call(void 0,
|
|
3204
|
-
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-
|
|
3204
|
+
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-popup-open:hover:bg-accent data-popup-open:text-accent-foreground data-popup-open:focus:bg-accent data-popup-open:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
|
|
3205
3205
|
);
|
|
3206
3206
|
function NavigationMenuTrigger({
|
|
3207
3207
|
className,
|
|
@@ -3220,7 +3220,7 @@ function NavigationMenuTrigger({
|
|
|
3220
3220
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3221
3221
|
_lucidereact.ChevronDownIcon,
|
|
3222
3222
|
{
|
|
3223
|
-
className: "relative top-
|
|
3223
|
+
className: "relative top-px ms-1 size-3 transition duration-300 group-data-popup-open:rotate-180",
|
|
3224
3224
|
"aria-hidden": "true"
|
|
3225
3225
|
}
|
|
3226
3226
|
)
|
|
@@ -3237,13 +3237,13 @@ function NavigationMenuContent({
|
|
|
3237
3237
|
{
|
|
3238
3238
|
"data-slot": "navigation-menu-content",
|
|
3239
3239
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3240
|
-
"h-full w-[calc(
|
|
3241
|
-
"transition-[opacity,transform,translate] duration-
|
|
3242
|
-
"data-
|
|
3243
|
-
"data-
|
|
3244
|
-
"data-
|
|
3245
|
-
"data-
|
|
3246
|
-
"data-
|
|
3240
|
+
"h-full w-[calc(100vw-40px)] xs:min-w-[400px] p-2 sm:w-max",
|
|
3241
|
+
"transition-[opacity,transform,translate] duration-(--duration) ease-(--easing)",
|
|
3242
|
+
"data-ending-style:opacity-0 data-starting-style:opacity-0",
|
|
3243
|
+
"data-starting-style:data-[activation-direction=left]:translate-x-[-50%]",
|
|
3244
|
+
"data-starting-style:data-[activation-direction=right]:translate-x-[50%]",
|
|
3245
|
+
"data-ending-style:data-[activation-direction=left]:translate-x-[50%]",
|
|
3246
|
+
"data-ending-style:data-[activation-direction=right]:translate-x-[-50%]",
|
|
3247
3247
|
className
|
|
3248
3248
|
),
|
|
3249
3249
|
...props
|
|
@@ -3268,7 +3268,7 @@ function NavigationMenuPositioner({
|
|
|
3268
3268
|
collisionPadding: { top: 5, bottom: 5, left: 20, right: 20 },
|
|
3269
3269
|
collisionAvoidance: { side: "none" },
|
|
3270
3270
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3271
|
-
"box-border h-
|
|
3271
|
+
"box-border h-(--positioner-height) w-(--positioner-width) max-w-(--available-width) transition-[top,left,right,bottom] duration-(--duration) ease-(--easing) before:absolute before:content-[''] data-instant:transition-none data-[side=bottom]:before:top-[-10px] data-[side=left]:before:top-0 data-[side=right]:before:top-0 data-[side=bottom]:before:right-0 data-[side=left]:before:right-[-10px] data-[side=top]:before:right-0 data-[side=left]:before:bottom-0 data-[side=right]:before:bottom-0 data-[side=top]:before:bottom-[-10px] data-[side=bottom]:before:left-0 data-[side=right]:before:left-[-10px] data-[side=top]:before:left-0 data-[side=bottom]:before:h-2.5 data-[side=top]:before:h-2.5 data-[side=left]:before:w-2.5 data-[side=right]:before:w-2.5",
|
|
3272
3272
|
className
|
|
3273
3273
|
),
|
|
3274
3274
|
style: {
|
|
@@ -3289,7 +3289,7 @@ function NavigationMenuPopup({
|
|
|
3289
3289
|
_navigationmenu.NavigationMenu.Popup,
|
|
3290
3290
|
{
|
|
3291
3291
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3292
|
-
"data-
|
|
3292
|
+
"data-ending-style:easing-[ease] dark:-outline-offset-1 relative h-(--popup-height) w-(--popup-width) xs:w-[var(--popup-width)] origin-(--transform-origin) rounded-lg bg-popover shadow-lg outline-1 outline-border transition-[opacity,transform,width,height,scale,translate] duration-(--duration) ease-(--easing) data-ending-style:scale-90 data-starting-style:scale-90 data-ending-style:opacity-0 data-starting-style:opacity-0 data-ending-style:duration-150 dark:shadow-none",
|
|
3293
3293
|
className
|
|
3294
3294
|
),
|
|
3295
3295
|
...props,
|
|
@@ -3321,7 +3321,7 @@ function NavigationMenuLink({
|
|
|
3321
3321
|
{
|
|
3322
3322
|
"data-slot": "navigation-menu-link",
|
|
3323
3323
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3324
|
-
"flex flex-col gap-1 rounded-sm p-2 text-sm outline-none transition-all hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-1 focus-visible:ring-[3px] focus-visible:ring-ring/50 data-
|
|
3324
|
+
"flex flex-col gap-1 rounded-sm p-2 text-sm outline-none transition-all hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-1 focus-visible:ring-[3px] focus-visible:ring-ring/50 data-active:bg-accent/50 data-active:text-accent-foreground data-active:focus:bg-accent data-active:hover:bg-accent [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
|
|
3325
3325
|
className
|
|
3326
3326
|
),
|
|
3327
3327
|
...props
|
|
@@ -3337,7 +3337,7 @@ function NavigationMenuArrow({
|
|
|
3337
3337
|
{
|
|
3338
3338
|
"data-slot": "navigation-menu-arrow",
|
|
3339
3339
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3340
|
-
"data-[side=right]:-rotate-90 flex transition-[left] duration-
|
|
3340
|
+
"data-[side=right]:-rotate-90 flex transition-[left] duration-(--duration) ease-(--easing) data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=top]:bottom-[-8px] data-[side=right]:left-[-13px] data-[side=left]:rotate-90 data-[side=top]:rotate-180",
|
|
3341
3341
|
className
|
|
3342
3342
|
),
|
|
3343
3343
|
...props,
|
|
@@ -3553,7 +3553,7 @@ function ScrollBar({
|
|
|
3553
3553
|
"data-slot": "scroll-area-scrollbar",
|
|
3554
3554
|
orientation,
|
|
3555
3555
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3556
|
-
"flex touch-none select-none p-px opacity-0 transition-[colors,opacity] delay-300 duration-150 data-
|
|
3556
|
+
"flex touch-none select-none p-px opacity-0 transition-[colors,opacity] delay-300 duration-150 data-hovering:opacity-100 data-scrolling:opacity-100 data-hovering:delay-0 data-scrolling:delay-0 data-hovering:duration-75 data-scrolling:duration-75",
|
|
3557
3557
|
orientation === "vertical" && "h-full w-2 border-l border-l-transparent",
|
|
3558
3558
|
orientation === "horizontal" && "h-2 flex-col border-t border-t-transparent",
|
|
3559
3559
|
className
|
|
@@ -3752,7 +3752,7 @@ function PopoverContent({
|
|
|
3752
3752
|
{
|
|
3753
3753
|
"data-slot": "popover-content",
|
|
3754
3754
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3755
|
-
`data-
|
|
3755
|
+
`data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-black/5 shadow-md outline-hidden data-closed:animate-out data-open:animate-in`,
|
|
3756
3756
|
className
|
|
3757
3757
|
),
|
|
3758
3758
|
...props,
|
|
@@ -3823,7 +3823,7 @@ function PreviewCardPopup({
|
|
|
3823
3823
|
{
|
|
3824
3824
|
"data-slot": "preview-card-popup",
|
|
3825
3825
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
3826
|
-
"-outline-offset-1 z-50 w-64 origin-
|
|
3826
|
+
"-outline-offset-1 z-50 w-64 origin-(--transform-origin) rounded-md bg-popover p-4 text-popover-foreground shadow-md outline outline-border transition-[transform,scale,opacity] data-ending-style:scale-95 data-starting-style:scale-95 data-ending-style:opacity-0 data-starting-style:opacity-0",
|
|
3827
3827
|
className
|
|
3828
3828
|
),
|
|
3829
3829
|
...props,
|
|
@@ -4054,7 +4054,7 @@ function SelectClear({ className, children, onClick, ...props }) {
|
|
|
4054
4054
|
{
|
|
4055
4055
|
"data-slot": "select-clear",
|
|
4056
4056
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
4057
|
-
`-translate-y-1/2 absolute end-2 top-1/2 cursor-pointer rounded-sm opacity-60 transition-opacity hover:opacity-100 focus:outline-none focus:ring-0 focus:ring-offset-0 disabled:pointer-events-none data-
|
|
4057
|
+
`-translate-y-1/2 absolute end-2 top-1/2 cursor-pointer rounded-sm opacity-60 transition-opacity hover:opacity-100 focus:outline-none focus:ring-0 focus:ring-offset-0 disabled:pointer-events-none data-disabled:pointer-events-none`,
|
|
4058
4058
|
className
|
|
4059
4059
|
),
|
|
4060
4060
|
onClick: handleClick,
|
|
@@ -4069,7 +4069,7 @@ var selectTriggerVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
4069
4069
|
shadow-xs transition-[color,box-shadow,border-color] outline-none
|
|
4070
4070
|
focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]
|
|
4071
4071
|
aria-invalid:ring-destructive/50 aria-invalid:border-destructive
|
|
4072
|
-
data-
|
|
4072
|
+
data-disabled:pointer-events-none data-disabled:opacity-60
|
|
4073
4073
|
*:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2
|
|
4074
4074
|
[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='text-'])]:text-muted-foreground
|
|
4075
4075
|
`,
|
|
@@ -4149,8 +4149,8 @@ function SelectContent({
|
|
|
4149
4149
|
{
|
|
4150
4150
|
"data-slot": "select-content",
|
|
4151
4151
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
4152
|
-
`data-
|
|
4153
|
-
position === "item-aligned" && "[&_*[data-slot=select-item]]:min-w-
|
|
4152
|
+
`data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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-(--available-height) min-w-(--anchor-width) origin-(--transform-origin) overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-closed:animate-out data-open:animate-in`,
|
|
4153
|
+
position === "item-aligned" && "[&_*[data-slot=select-item]]:min-w-(--anchor-width)",
|
|
4154
4154
|
className
|
|
4155
4155
|
),
|
|
4156
4156
|
...props,
|
|
@@ -4173,7 +4173,7 @@ function SelectItem({
|
|
|
4173
4173
|
{
|
|
4174
4174
|
"data-slot": "select-item",
|
|
4175
4175
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
4176
|
-
`relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 text-sm outline-hidden data-
|
|
4176
|
+
`relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 text-sm outline-hidden data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,
|
|
4177
4177
|
indicatorPosition === "left" ? "ps-7 pe-2" : "ps-2 pe-7",
|
|
4178
4178
|
className
|
|
4179
4179
|
),
|
|
@@ -4345,7 +4345,7 @@ function SheetBackdrop({
|
|
|
4345
4345
|
{
|
|
4346
4346
|
"data-slot": "sheet-overlay",
|
|
4347
4347
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
4348
|
-
"data-
|
|
4348
|
+
"data-closed:fade-out-0 data-closed:animation-duration-[300ms] data-open:fade-in-0 fixed inset-0 z-50 bg-black/50 data-closed:animate-out data-open:animate-in",
|
|
4349
4349
|
className
|
|
4350
4350
|
),
|
|
4351
4351
|
...props
|
|
@@ -4365,17 +4365,17 @@ function SheetContent({
|
|
|
4365
4365
|
{
|
|
4366
4366
|
"data-slot": "sheet-content",
|
|
4367
4367
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
4368
|
-
"fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-
|
|
4369
|
-
side === "right" && "data-
|
|
4370
|
-
side === "left" && "data-
|
|
4371
|
-
side === "top" && "data-
|
|
4372
|
-
side === "bottom" && "data-
|
|
4368
|
+
"fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-closed:animate-out data-open:animate-in data-closed:duration-300 data-open:duration-500",
|
|
4369
|
+
side === "right" && "data-closed:slide-out-to-right data-open:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
|
|
4370
|
+
side === "left" && "data-closed:slide-out-to-left data-open:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
|
|
4371
|
+
side === "top" && "data-closed:slide-out-to-top data-open:slide-in-from-top inset-x-0 top-0 h-auto border-b",
|
|
4372
|
+
side === "bottom" && "data-closed:slide-out-to-bottom data-open:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
|
|
4373
4373
|
className
|
|
4374
4374
|
),
|
|
4375
4375
|
...props,
|
|
4376
4376
|
children: [
|
|
4377
4377
|
children,
|
|
4378
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _dialog.Dialog.Close, { className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-
|
|
4378
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _dialog.Dialog.Close, { className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-open:bg-secondary", children: [
|
|
4379
4379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.XIcon, { className: "size-4" }),
|
|
4380
4380
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Close" })
|
|
4381
4381
|
] })
|
|
@@ -4609,7 +4609,7 @@ function Slider({
|
|
|
4609
4609
|
{
|
|
4610
4610
|
"data-slot": "slider-thumb",
|
|
4611
4611
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
4612
|
-
"block size-4 shrink-0 rounded-full border border-primary bg-background shadow-sm outline-none ring-ring/20 transition-[color,box-shadow] hover:ring-4 disabled:pointer-events-none disabled:opacity-50 data-
|
|
4612
|
+
"block size-4 shrink-0 rounded-full border border-primary bg-background shadow-sm outline-none ring-ring/20 transition-[color,box-shadow] hover:ring-4 disabled:pointer-events-none disabled:opacity-50 data-dragging:ring-4 data-focused:ring-4 data-touched:ring-4"
|
|
4613
4613
|
),
|
|
4614
4614
|
onPointerDown: handlePointerDown
|
|
4615
4615
|
},
|
|
@@ -4638,7 +4638,7 @@ function Slider({
|
|
|
4638
4638
|
min,
|
|
4639
4639
|
max,
|
|
4640
4640
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
4641
|
-
"relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col data-
|
|
4641
|
+
"relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col data-disabled:opacity-50",
|
|
4642
4642
|
className
|
|
4643
4643
|
),
|
|
4644
4644
|
onValueChange: handleValueChange,
|
|
@@ -4656,7 +4656,7 @@ function SliderThumb({ className, ...props }) {
|
|
|
4656
4656
|
{
|
|
4657
4657
|
"data-slot": "slider-thumb",
|
|
4658
4658
|
className: _chunkCJXIPSTGcjs.cn.call(void 0,
|
|
4659
|
-
"block size-4 shrink-0 rounded-full border border-primary bg-background shadow-sm outline-none ring-ring/20 transition-[color,box-shadow] hover:ring-4 disabled:pointer-events-none disabled:opacity-50 data-
|
|
4659
|
+
"block size-4 shrink-0 rounded-full border border-primary bg-background shadow-sm outline-none ring-ring/20 transition-[color,box-shadow] hover:ring-4 disabled:pointer-events-none disabled:opacity-50 data-dragging:ring-4 data-focused:ring-4 data-touched:ring-4",
|
|
4660
4660
|
className
|
|
4661
4661
|
),
|
|
4662
4662
|
...props
|
|
@@ -4681,7 +4681,7 @@ var useSwitchContext = () => {
|
|
|
4681
4681
|
};
|
|
4682
4682
|
var switchVariants = _classvarianceauthority.cva.call(void 0,
|
|
4683
4683
|
`
|
|
4684
|
-
peer data-
|
|
4684
|
+
peer data-checked:bg-primary data-unchecked:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-unchecked:bg-input/80
|
|
4685
4685
|
aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20
|
|
4686
4686
|
inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px]
|
|
4687
4687
|
disabled:cursor-not-allowed disabled:opacity-50
|
|
@@ -4700,13 +4700,13 @@ var switchVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
4700
4700
|
}
|
|
4701
4701
|
);
|
|
4702
4702
|
var switchThumbVariants = _classvarianceauthority.cva.call(void 0,
|
|
4703
|
-
"bg-background dark:data-
|
|
4703
|
+
"bg-background dark:data-unchecked:bg-foreground dark:data-checked:bg-primary-foreground pointer-events-none rounded-full ring-0 transition-transform flex items-center justify-center",
|
|
4704
4704
|
{
|
|
4705
4705
|
variants: {
|
|
4706
4706
|
size: {
|
|
4707
|
-
sm: "size-3 data-
|
|
4708
|
-
md: "size-4 data-
|
|
4709
|
-
lg: "size-5 data-
|
|
4707
|
+
sm: "size-3 data-checked:translate-x-[calc(100%-2px)] data-unchecked:translate-x-0",
|
|
4708
|
+
md: "size-4 data-checked:translate-x-[calc(100%-2px)] data-unchecked:translate-x-0",
|
|
4709
|
+
lg: "size-5 data-checked:translate-x-[calc(100%-2px)] data-unchecked:translate-x-0"
|
|
4710
4710
|
}
|
|
4711
4711
|
},
|
|
4712
4712
|
defaultVariants: {
|
|
@@ -4807,12 +4807,12 @@ var tabsListVariants = _classvarianceauthority.cva.call(void 0, "flex items-cent
|
|
|
4807
4807
|
{
|
|
4808
4808
|
variant: "default",
|
|
4809
4809
|
shape: "pill",
|
|
4810
|
-
className: "rounded-full [
|
|
4810
|
+
className: "rounded-full **:[[role=tab]]:rounded-full"
|
|
4811
4811
|
},
|
|
4812
4812
|
{
|
|
4813
4813
|
variant: "button",
|
|
4814
4814
|
shape: "pill",
|
|
4815
|
-
className: "rounded-full [
|
|
4815
|
+
className: "rounded-full **:[[role=tab]]:rounded-full"
|
|
4816
4816
|
}
|
|
4817
4817
|
],
|
|
4818
4818
|
defaultVariants: {
|
|
@@ -4825,9 +4825,9 @@ var tabsTriggerVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
4825
4825
|
{
|
|
4826
4826
|
variants: {
|
|
4827
4827
|
variant: {
|
|
4828
|
-
default: "text-muted-foreground data-
|
|
4829
|
-
button: "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 rounded-lg text-accent-foreground hover:text-foreground data-
|
|
4830
|
-
line: "border-b-2 text-muted-foreground border-transparent data-
|
|
4828
|
+
default: "text-muted-foreground data-selected:bg-background hover:text-foreground data-selected:text-foreground data-selected:shadow-xs data-selected:shadow-black/5",
|
|
4829
|
+
button: "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 rounded-lg text-accent-foreground hover:text-foreground data-selected:bg-accent data-selected:text-foreground",
|
|
4830
|
+
line: "border-b-2 text-muted-foreground border-transparent data-selected:border-primary hover:text-primary data-selected:text-primary"
|
|
4831
4831
|
},
|
|
4832
4832
|
size: {
|
|
4833
4833
|
lg: "gap-2.5 [&_svg]:size-5 text-sm",
|
|
@@ -5144,7 +5144,7 @@ var _toggle = require('@base-ui-components/react/toggle');
|
|
|
5144
5144
|
|
|
5145
5145
|
|
|
5146
5146
|
var toggleVariants = _classvarianceauthority.cva.call(void 0,
|
|
5147
|
-
"cursor-pointer inline-flex items-center justify-center rounded-md shrink-0 font-medium ring-offset-background transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-
|
|
5147
|
+
"cursor-pointer inline-flex items-center justify-center rounded-md shrink-0 font-medium ring-offset-background transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-pressed:bg-accent data-pressed:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
5148
5148
|
{
|
|
5149
5149
|
variants: {
|
|
5150
5150
|
variant: {
|