@aircall/ds 0.15.0 → 0.16.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/globals.css +1 -1
- package/dist/index.d.ts +140 -23
- package/dist/index.js +203 -65
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32,6 +32,7 @@ import { Menu } from "@base-ui/react/menu";
|
|
|
32
32
|
import EmojiReactPicker, { Categories, EmojiStyle, SuggestionMode, Theme } from "emoji-picker-react";
|
|
33
33
|
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
34
34
|
import { ThemeProvider as ThemeProvider$1, useTheme, useTheme as useTheme$1 } from "next-themes";
|
|
35
|
+
import { PreviewCard } from "@base-ui/react/preview-card";
|
|
35
36
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
36
37
|
import { Progress as Progress$1 } from "@base-ui/react/progress";
|
|
37
38
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
@@ -167,20 +168,21 @@ AccordionContent.displayName = "AccordionContent";
|
|
|
167
168
|
|
|
168
169
|
//#endregion
|
|
169
170
|
//#region src/components/button.tsx
|
|
170
|
-
const
|
|
171
|
+
const linkStyle = "text-primary underline underline-offset-4";
|
|
172
|
+
const buttonVariants = cva("group/button inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px active:not-aria-[haspopup]:opacity-60 disabled:pointer-events-auto disabled:opacity-50 disabled:cursor-not-allowed aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
171
173
|
variants: {
|
|
172
174
|
variant: {
|
|
173
175
|
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
174
|
-
outline: "border-border
|
|
176
|
+
outline: "border-border text-foreground hover:bg-muted hover:text-accent-foreground aria-expanded:bg-muted aria-expanded:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
175
177
|
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
176
178
|
ghost: "hover:bg-muted hover:text-accent-foreground aria-expanded:bg-muted aria-expanded:text-accent-foreground dark:hover:bg-input/50",
|
|
177
179
|
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
178
|
-
link:
|
|
180
|
+
link: linkStyle
|
|
179
181
|
},
|
|
180
182
|
size: {
|
|
181
183
|
default: "h-8 gap-1.5 px-2 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5",
|
|
182
184
|
sm: "h-6 gap-1.5 px-2 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5",
|
|
183
|
-
lg: "h-10 gap-1.5 px-4 [&_svg:not([class*='size-'])]:size-
|
|
185
|
+
lg: "h-10 gap-1.5 px-4 [&_svg:not([class*='size-'])]:size-5 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3",
|
|
184
186
|
icon: "size-8",
|
|
185
187
|
"icon-sm": "size-6",
|
|
186
188
|
"icon-lg": "size-10 [&_svg:not([class*='size-'])]:size-6"
|
|
@@ -724,21 +726,24 @@ CounterBadge.displayName = "CounterBadge";
|
|
|
724
726
|
|
|
725
727
|
//#endregion
|
|
726
728
|
//#region src/components/badge.tsx
|
|
727
|
-
const
|
|
728
|
-
const
|
|
729
|
+
const OVERLAY_DARK = "bg-[linear-gradient(0deg,var(--badge-film-10)_0%,var(--badge-film-10)_100%)]";
|
|
730
|
+
const OVERLAY_MEDIUM_DARK = "bg-[linear-gradient(0deg,var(--badge-film-40)_0%,var(--badge-film-40)_100%)]";
|
|
731
|
+
const OVERLAY_MEDIUM_LIGHT = "bg-[linear-gradient(0deg,var(--badge-film-60)_0%,var(--badge-film-60)_100%)]";
|
|
732
|
+
const OVERLAY_LIGHT = "bg-[linear-gradient(0deg,var(--badge-film-80)_0%,var(--badge-film-80)_100%)]";
|
|
733
|
+
const badgeVariants = cva("group/badge inline-flex w-fit max-w-36 shrink-0 items-center justify-center gap-1 overflow-hidden rounded-md font-medium whitespace-nowrap transition-all focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:shrink-0 [&>svg]:pointer-events-none", {
|
|
729
734
|
variants: {
|
|
730
735
|
size: {
|
|
731
736
|
default: "h-5 px-2 py-0.5 text-xs [&>svg]:size-3!",
|
|
732
737
|
lg: "h-6 px-2 text-xs [&>svg]:size-4!"
|
|
733
738
|
},
|
|
734
739
|
color: {
|
|
735
|
-
charcoal:
|
|
736
|
-
red:
|
|
737
|
-
green:
|
|
738
|
-
blue:
|
|
739
|
-
purple:
|
|
740
|
-
yellow:
|
|
741
|
-
pink:
|
|
740
|
+
charcoal: "",
|
|
741
|
+
red: "",
|
|
742
|
+
green: "",
|
|
743
|
+
blue: "",
|
|
744
|
+
purple: "",
|
|
745
|
+
yellow: "",
|
|
746
|
+
pink: ""
|
|
742
747
|
},
|
|
743
748
|
tone: {
|
|
744
749
|
dark: "",
|
|
@@ -751,148 +756,148 @@ const badgeVariants = cva("group/badge inline-flex w-fit max-w-36 shrink-0 items
|
|
|
751
756
|
{
|
|
752
757
|
color: "charcoal",
|
|
753
758
|
tone: "dark",
|
|
754
|
-
class: "bg-
|
|
759
|
+
class: "bg-secondary text-secondary-foreground"
|
|
755
760
|
},
|
|
756
761
|
{
|
|
757
762
|
color: "charcoal",
|
|
758
763
|
tone: "medium-dark",
|
|
759
|
-
class:
|
|
764
|
+
class: `bg-charcoal-400 text-foreground ${OVERLAY_MEDIUM_LIGHT}`
|
|
760
765
|
},
|
|
761
766
|
{
|
|
762
767
|
color: "charcoal",
|
|
763
768
|
tone: "medium-light",
|
|
764
|
-
class:
|
|
769
|
+
class: `bg-charcoal-400 text-foreground ${OVERLAY_LIGHT}`
|
|
765
770
|
},
|
|
766
771
|
{
|
|
767
772
|
color: "charcoal",
|
|
768
773
|
tone: "light",
|
|
769
|
-
class: "bg-
|
|
774
|
+
class: "bg-background text-foreground outline outline-1 -outline-offset-1 outline-border"
|
|
770
775
|
},
|
|
771
776
|
{
|
|
772
777
|
color: "red",
|
|
773
778
|
tone: "dark",
|
|
774
|
-
class:
|
|
779
|
+
class: `bg-red-400 text-black ${OVERLAY_DARK}`
|
|
775
780
|
},
|
|
776
781
|
{
|
|
777
782
|
color: "red",
|
|
778
783
|
tone: "medium-dark",
|
|
779
|
-
class:
|
|
784
|
+
class: `bg-red-400 text-foreground ${OVERLAY_MEDIUM_DARK}`
|
|
780
785
|
},
|
|
781
786
|
{
|
|
782
787
|
color: "red",
|
|
783
788
|
tone: "medium-light",
|
|
784
|
-
class:
|
|
789
|
+
class: `bg-red-400 text-foreground ${OVERLAY_MEDIUM_LIGHT}`
|
|
785
790
|
},
|
|
786
791
|
{
|
|
787
792
|
color: "red",
|
|
788
793
|
tone: "light",
|
|
789
|
-
class:
|
|
794
|
+
class: `bg-red-400 text-foreground ${OVERLAY_LIGHT}`
|
|
790
795
|
},
|
|
791
796
|
{
|
|
792
797
|
color: "green",
|
|
793
798
|
tone: "dark",
|
|
794
|
-
class:
|
|
799
|
+
class: `bg-green-400 text-black ${OVERLAY_DARK}`
|
|
795
800
|
},
|
|
796
801
|
{
|
|
797
802
|
color: "green",
|
|
798
803
|
tone: "medium-dark",
|
|
799
|
-
class:
|
|
804
|
+
class: `bg-green-400 text-foreground ${OVERLAY_MEDIUM_DARK}`
|
|
800
805
|
},
|
|
801
806
|
{
|
|
802
807
|
color: "green",
|
|
803
808
|
tone: "medium-light",
|
|
804
|
-
class:
|
|
809
|
+
class: `bg-green-400 text-foreground ${OVERLAY_MEDIUM_LIGHT}`
|
|
805
810
|
},
|
|
806
811
|
{
|
|
807
812
|
color: "green",
|
|
808
813
|
tone: "light",
|
|
809
|
-
class:
|
|
814
|
+
class: `bg-green-400 text-foreground ${OVERLAY_LIGHT}`
|
|
810
815
|
},
|
|
811
816
|
{
|
|
812
817
|
color: "blue",
|
|
813
818
|
tone: "dark",
|
|
814
|
-
class:
|
|
819
|
+
class: `bg-blue-400 text-black ${OVERLAY_DARK}`
|
|
815
820
|
},
|
|
816
821
|
{
|
|
817
822
|
color: "blue",
|
|
818
823
|
tone: "medium-dark",
|
|
819
|
-
class:
|
|
824
|
+
class: `bg-blue-400 text-foreground ${OVERLAY_MEDIUM_DARK}`
|
|
820
825
|
},
|
|
821
826
|
{
|
|
822
827
|
color: "blue",
|
|
823
828
|
tone: "medium-light",
|
|
824
|
-
class:
|
|
829
|
+
class: `bg-blue-400 text-foreground ${OVERLAY_MEDIUM_LIGHT}`
|
|
825
830
|
},
|
|
826
831
|
{
|
|
827
832
|
color: "blue",
|
|
828
833
|
tone: "light",
|
|
829
|
-
class:
|
|
834
|
+
class: `bg-blue-400 text-foreground ${OVERLAY_LIGHT}`
|
|
830
835
|
},
|
|
831
836
|
{
|
|
832
837
|
color: "purple",
|
|
833
838
|
tone: "dark",
|
|
834
|
-
class:
|
|
839
|
+
class: `bg-purple-400 text-black ${OVERLAY_DARK}`
|
|
835
840
|
},
|
|
836
841
|
{
|
|
837
842
|
color: "purple",
|
|
838
843
|
tone: "medium-dark",
|
|
839
|
-
class:
|
|
844
|
+
class: `bg-purple-400 text-foreground ${OVERLAY_MEDIUM_DARK}`
|
|
840
845
|
},
|
|
841
846
|
{
|
|
842
847
|
color: "purple",
|
|
843
848
|
tone: "medium-light",
|
|
844
|
-
class:
|
|
849
|
+
class: `bg-purple-400 text-foreground ${OVERLAY_MEDIUM_LIGHT}`
|
|
845
850
|
},
|
|
846
851
|
{
|
|
847
852
|
color: "purple",
|
|
848
853
|
tone: "light",
|
|
849
|
-
class:
|
|
854
|
+
class: `bg-purple-400 text-foreground ${OVERLAY_LIGHT}`
|
|
850
855
|
},
|
|
851
856
|
{
|
|
852
857
|
color: "yellow",
|
|
853
858
|
tone: "dark",
|
|
854
|
-
class:
|
|
859
|
+
class: `bg-yellow-300 text-black ${OVERLAY_DARK}`
|
|
855
860
|
},
|
|
856
861
|
{
|
|
857
862
|
color: "yellow",
|
|
858
863
|
tone: "medium-dark",
|
|
859
|
-
class:
|
|
864
|
+
class: `bg-yellow-300 text-foreground ${OVERLAY_MEDIUM_DARK}`
|
|
860
865
|
},
|
|
861
866
|
{
|
|
862
867
|
color: "yellow",
|
|
863
868
|
tone: "medium-light",
|
|
864
|
-
class:
|
|
869
|
+
class: `bg-yellow-300 text-foreground ${OVERLAY_MEDIUM_LIGHT}`
|
|
865
870
|
},
|
|
866
871
|
{
|
|
867
872
|
color: "yellow",
|
|
868
873
|
tone: "light",
|
|
869
|
-
class:
|
|
874
|
+
class: `bg-yellow-300 text-foreground ${OVERLAY_LIGHT}`
|
|
870
875
|
},
|
|
871
876
|
{
|
|
872
877
|
color: "pink",
|
|
873
878
|
tone: "dark",
|
|
874
|
-
class:
|
|
879
|
+
class: `bg-pink-400 text-black ${OVERLAY_DARK}`
|
|
875
880
|
},
|
|
876
881
|
{
|
|
877
882
|
color: "pink",
|
|
878
883
|
tone: "medium-dark",
|
|
879
|
-
class:
|
|
884
|
+
class: `bg-pink-400 text-foreground ${OVERLAY_MEDIUM_DARK}`
|
|
880
885
|
},
|
|
881
886
|
{
|
|
882
887
|
color: "pink",
|
|
883
888
|
tone: "medium-light",
|
|
884
|
-
class:
|
|
889
|
+
class: `bg-pink-400 text-foreground ${OVERLAY_MEDIUM_LIGHT}`
|
|
885
890
|
},
|
|
886
891
|
{
|
|
887
892
|
color: "pink",
|
|
888
893
|
tone: "light",
|
|
889
|
-
class:
|
|
894
|
+
class: `bg-pink-400 text-foreground ${OVERLAY_LIGHT}`
|
|
890
895
|
}
|
|
891
896
|
],
|
|
892
897
|
defaultVariants: {
|
|
893
898
|
size: "default",
|
|
894
899
|
color: "charcoal",
|
|
895
|
-
tone: "
|
|
900
|
+
tone: "dark"
|
|
896
901
|
}
|
|
897
902
|
});
|
|
898
903
|
/**
|
|
@@ -1602,7 +1607,7 @@ const Checkbox = React.forwardRef((componentProps, forwardRef) => {
|
|
|
1602
1607
|
return /* @__PURE__ */ jsx(Checkbox$1.Root, {
|
|
1603
1608
|
ref: forwardRef,
|
|
1604
1609
|
"data-slot": "checkbox",
|
|
1605
|
-
className: cn("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-[color,box-shadow,opacity] outline-none active:opacity-60 group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 dark:disabled:bg-input/80 aria-invalid:border-destructive focus-visible:aria-invalid:ring-3 focus-visible:aria-invalid:ring-destructive/20 hover:aria-invalid:data-unchecked:bg-destructive-background focus-visible:aria-invalid:data-unchecked:bg-destructive-background dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:focus-visible:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground data-indeterminate:border-primary data-indeterminate:bg-primary data-indeterminate:text-primary-foreground aria-invalid:data-checked:border-destructive aria-invalid:data-checked:bg-destructive aria-invalid:data-indeterminate:border-destructive aria-invalid:data-indeterminate:bg-destructive dark:data-checked:bg-primary dark:data-indeterminate:bg-primary", className),
|
|
1610
|
+
className: cn("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-[color,box-shadow,opacity] outline-none active:opacity-60 group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 dark:disabled:bg-input/80 aria-invalid:border-destructive focus-visible:aria-invalid:ring-3 focus-visible:aria-invalid:ring-destructive/20 hover:aria-invalid:data-unchecked:bg-destructive-background focus-visible:aria-invalid:data-unchecked:bg-destructive-background bg-background dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:focus-visible:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground data-indeterminate:border-primary data-indeterminate:bg-primary data-indeterminate:text-primary-foreground aria-invalid:data-checked:border-destructive aria-invalid:data-checked:bg-destructive aria-invalid:data-indeterminate:border-destructive aria-invalid:data-indeterminate:bg-destructive dark:data-checked:bg-primary dark:data-indeterminate:bg-primary", className),
|
|
1606
1611
|
...props,
|
|
1607
1612
|
children: /* @__PURE__ */ jsxs(Checkbox$1.Indicator, {
|
|
1608
1613
|
"data-slot": "checkbox-indicator",
|
|
@@ -1636,37 +1641,37 @@ const chipGlowVariants = cva("", {
|
|
|
1636
1641
|
{
|
|
1637
1642
|
color: "charcoal",
|
|
1638
1643
|
glow: true,
|
|
1639
|
-
class: "
|
|
1644
|
+
class: "outline outline-1 -outline-offset-1 outline-charcoal-300 [--badge-glow:var(--color-charcoal-700)]"
|
|
1640
1645
|
},
|
|
1641
1646
|
{
|
|
1642
1647
|
color: "red",
|
|
1643
1648
|
glow: true,
|
|
1644
|
-
class: "
|
|
1649
|
+
class: "outline outline-1 -outline-offset-1 outline-red-300 [--badge-glow:var(--color-red-500)]"
|
|
1645
1650
|
},
|
|
1646
1651
|
{
|
|
1647
1652
|
color: "green",
|
|
1648
1653
|
glow: true,
|
|
1649
|
-
class: "
|
|
1654
|
+
class: "outline outline-1 -outline-offset-1 outline-green-300 [--badge-glow:var(--color-green-500)]"
|
|
1650
1655
|
},
|
|
1651
1656
|
{
|
|
1652
1657
|
color: "blue",
|
|
1653
1658
|
glow: true,
|
|
1654
|
-
class: "
|
|
1659
|
+
class: "outline outline-1 -outline-offset-1 outline-blue-300 [--badge-glow:var(--color-blue-500)]"
|
|
1655
1660
|
},
|
|
1656
1661
|
{
|
|
1657
1662
|
color: "purple",
|
|
1658
1663
|
glow: true,
|
|
1659
|
-
class: "
|
|
1664
|
+
class: "outline outline-1 -outline-offset-1 outline-purple-300 [--badge-glow:var(--color-purple-500)]"
|
|
1660
1665
|
},
|
|
1661
1666
|
{
|
|
1662
1667
|
color: "yellow",
|
|
1663
1668
|
glow: true,
|
|
1664
|
-
class: "
|
|
1669
|
+
class: "outline outline-1 -outline-offset-1 outline-yellow-200 [--badge-glow:var(--color-yellow-400)]"
|
|
1665
1670
|
},
|
|
1666
1671
|
{
|
|
1667
1672
|
color: "pink",
|
|
1668
1673
|
glow: true,
|
|
1669
|
-
class: "
|
|
1674
|
+
class: "outline outline-1 -outline-offset-1 outline-pink-300 [--badge-glow:var(--color-pink-500)]"
|
|
1670
1675
|
}
|
|
1671
1676
|
],
|
|
1672
1677
|
defaultVariants: {
|
|
@@ -1687,7 +1692,8 @@ const ChipRemove = React.forwardRef((componentProps, forwardRef) => {
|
|
|
1687
1692
|
variant: "ghost",
|
|
1688
1693
|
size: "icon-sm",
|
|
1689
1694
|
"data-slot": "chip-remove",
|
|
1690
|
-
className: cn("-ml-1 bg-transparent hover:bg-transparent dark:hover:bg-transparent text-inherit hover:text-inherit opacity-
|
|
1695
|
+
className: cn("-ml-1 bg-transparent hover:bg-transparent dark:hover:bg-transparent text-inherit hover:text-inherit opacity-70 hover:opacity-100", className),
|
|
1696
|
+
tabIndex: -1,
|
|
1691
1697
|
...props,
|
|
1692
1698
|
children: children ?? /* @__PURE__ */ jsx(XIcon, { className: "pointer-events-none size-3.5" })
|
|
1693
1699
|
});
|
|
@@ -1700,7 +1706,7 @@ ChipRemove.displayName = "ChipRemove";
|
|
|
1700
1706
|
* must drive Base UI's selection state, see `ComboboxChip`.
|
|
1701
1707
|
*/
|
|
1702
1708
|
const Chip = React.forwardRef((componentProps, forwardRef) => {
|
|
1703
|
-
const { className, children, color, tone, legacyColor, glow, ...props } = componentProps;
|
|
1709
|
+
const { className, children, color, tone = "medium-light", legacyColor, glow, ...props } = componentProps;
|
|
1704
1710
|
const glowColor = legacyColor ? resolveTagColor(legacyColor).color : color;
|
|
1705
1711
|
return /* @__PURE__ */ jsx(Badge, {
|
|
1706
1712
|
ref: forwardRef,
|
|
@@ -1854,7 +1860,7 @@ CollapsibleContent.displayName = "CollapsibleContent";
|
|
|
1854
1860
|
|
|
1855
1861
|
//#endregion
|
|
1856
1862
|
//#region src/components/input.tsx
|
|
1857
|
-
const inputVariants = cva("text-foreground file:text-foreground placeholder:text-muted-foreground dark:bg-input/30 border-input flex h-10 w-full min-w-0 rounded-md border bg-
|
|
1863
|
+
const inputVariants = cva("text-foreground file:text-foreground placeholder:text-muted-foreground dark:bg-input/30 border-input flex h-10 w-full min-w-0 rounded-md border bg-background px-3 py-2 text-base transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium hover:border-ring hover:aria-invalid:border-destructive disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 dark:disabled:bg-input/80 md:text-sm focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 aria-invalid:border-destructive focus-visible:aria-invalid:ring-destructive/20 focus-visible:aria-invalid:ring-3 dark:focus-visible:aria-invalid:ring-destructive/40", { variants: { block: { true: "w-full" } } });
|
|
1858
1864
|
const Input = React.forwardRef((componentProps, forwardRef) => {
|
|
1859
1865
|
const { className, type, block, ...props } = componentProps;
|
|
1860
1866
|
return /* @__PURE__ */ jsx("input", {
|
|
@@ -1877,7 +1883,7 @@ const Textarea = React.forwardRef((componentProps, forwardRef) => {
|
|
|
1877
1883
|
return /* @__PURE__ */ jsx("textarea", {
|
|
1878
1884
|
ref: forwardRef,
|
|
1879
1885
|
"data-slot": "textarea",
|
|
1880
|
-
className: cn("border-input placeholder:text-muted-foreground hover:border-ring hover:aria-invalid:border-destructive focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 aria-invalid:border-destructive focus-visible:aria-invalid:ring-destructive/20 focus-visible:aria-invalid:ring-3 dark:focus-visible:aria-invalid:ring-destructive/40 dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-
|
|
1886
|
+
className: cn("border-input text-foreground placeholder:text-muted-foreground hover:border-ring hover:aria-invalid:border-destructive focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 aria-invalid:border-destructive focus-visible:aria-invalid:ring-destructive/20 focus-visible:aria-invalid:ring-3 dark:focus-visible:aria-invalid:ring-destructive/40 dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-background px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 dark:disabled:bg-input/80 md:text-sm", className),
|
|
1881
1887
|
...props
|
|
1882
1888
|
});
|
|
1883
1889
|
});
|
|
@@ -1891,7 +1897,7 @@ const InputGroup = React.forwardRef((componentProps, forwardRef) => {
|
|
|
1891
1897
|
ref: forwardRef,
|
|
1892
1898
|
"data-slot": "input-group",
|
|
1893
1899
|
role: "group",
|
|
1894
|
-
className: cn("group/input-group border-input dark:bg-input/30 relative flex h-10 w-full items-center rounded-md border transition-[color,box-shadow] outline-none has-[>textarea]:h-auto", "not-has-[input:disabled]:not-has-[textarea:disabled]:not-has-[[data-slot][aria-invalid=true]]:hover:border-ring", "has-[input:disabled]:bg-input/50 has-[textarea:disabled]:bg-input/50 has-[input:disabled]:opacity-50 has-[textarea:disabled]:opacity-50 dark:has-[input:disabled]:bg-input/80 dark:has-[textarea:disabled]:bg-input/80", "has-[>[data-align=inline-start]]:[&>input]:pl-2", "has-[>[data-align=inline-end]]:[&>input]:pr-2", "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3", "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3", "has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot=input-group-control]:focus-visible]:ring-3", "has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]:focus-visible]:ring-destructive/20 dark:has-[[data-slot][aria-invalid=true]:focus-visible]:ring-destructive/40", className),
|
|
1900
|
+
className: cn("group/input-group bg-background border-input dark:bg-input/30 relative flex h-10 w-full items-center rounded-md border transition-[color,box-shadow] outline-none has-[>textarea]:h-auto", "not-has-[input:disabled]:not-has-[textarea:disabled]:not-has-[[data-slot][aria-invalid=true]]:hover:border-ring", "has-[input:disabled]:bg-input/50 has-[textarea:disabled]:bg-input/50 has-[input:disabled]:opacity-50 has-[textarea:disabled]:opacity-50 dark:has-[input:disabled]:bg-input/80 dark:has-[textarea:disabled]:bg-input/80", "has-[>[data-align=inline-start]]:[&>input]:pl-2", "has-[>[data-align=inline-end]]:[&>input]:pr-2", "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3", "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3", "has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot=input-group-control]:focus-visible]:ring-3", "has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]:focus-visible]:ring-destructive/20 dark:has-[[data-slot][aria-invalid=true]:focus-visible]:ring-destructive/40", className),
|
|
1895
1901
|
...props
|
|
1896
1902
|
});
|
|
1897
1903
|
});
|
|
@@ -2431,7 +2437,7 @@ const Table = React.forwardRef((componentProps, forwardRef) => {
|
|
|
2431
2437
|
children: /* @__PURE__ */ jsx("table", {
|
|
2432
2438
|
ref: forwardRef,
|
|
2433
2439
|
"data-slot": "table",
|
|
2434
|
-
className: cn("w-full caption-bottom text-sm text-foreground [&_tbody_tr:last-child]:border-b-0", className),
|
|
2440
|
+
className: cn("w-full caption-bottom text-sm text-foreground bg-background [&_tbody_tr:last-child]:border-b-0", className),
|
|
2435
2441
|
...props
|
|
2436
2442
|
})
|
|
2437
2443
|
});
|
|
@@ -2442,7 +2448,7 @@ const TableHeader = React.forwardRef((componentProps, forwardRef) => {
|
|
|
2442
2448
|
return /* @__PURE__ */ jsx("thead", {
|
|
2443
2449
|
ref: forwardRef,
|
|
2444
2450
|
"data-slot": "table-header",
|
|
2445
|
-
className: cn("[&_tr]:border-b [&_tr]:hover:bg-transparent", className),
|
|
2451
|
+
className: cn("bg-background [&_tr]:border-b [&_tr]:hover:bg-transparent", className),
|
|
2446
2452
|
...props
|
|
2447
2453
|
});
|
|
2448
2454
|
});
|
|
@@ -2452,7 +2458,7 @@ const TableBody = React.forwardRef((componentProps, forwardRef) => {
|
|
|
2452
2458
|
return /* @__PURE__ */ jsx("tbody", {
|
|
2453
2459
|
ref: forwardRef,
|
|
2454
2460
|
"data-slot": "table-body",
|
|
2455
|
-
className: cn("[&_tr:last-child]:border-0", className),
|
|
2461
|
+
className: cn("bg-background [&_tr:last-child]:border-0", className),
|
|
2456
2462
|
...props
|
|
2457
2463
|
});
|
|
2458
2464
|
});
|
|
@@ -2824,7 +2830,7 @@ function TreeItem({ item, className, children, onActivate, onClick: userOnClick,
|
|
|
2824
2830
|
},
|
|
2825
2831
|
children: /* @__PURE__ */ jsx("div", {
|
|
2826
2832
|
role: "treeitem",
|
|
2827
|
-
className: cn("relative z-10 flex w-full cursor-pointer items-center gap-1.5 rounded-sm px-2 py-1.5 text-start text-sm transition-colors not-last:mb-0.5 outline-hidden select-none hover:bg-accent/50 focus:z-20 focus-visible:ring-[3px] focus-visible:ring-ring/50 data-[drag-target=true]:bg-accent data-[search-match=true]:bg-blue-400/20! data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
|
|
2833
|
+
className: cn("relative z-10 flex w-full cursor-pointer items-center gap-1.5 rounded-sm px-2 py-1.5 text-start text-sm text-foreground transition-colors not-last:mb-0.5 outline-hidden select-none hover:bg-accent/50 focus:z-20 focus-visible:ring-[3px] focus-visible:ring-ring/50 data-[drag-target=true]:bg-accent data-[search-match=true]:bg-blue-400/20! data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
|
|
2828
2834
|
"data-drag-target": typeof item.isDragTarget === "function" ? item.isDragTarget() || false : void 0,
|
|
2829
2835
|
"data-focus": typeof item.isFocused === "function" ? item.isFocused() || false : void 0,
|
|
2830
2836
|
"data-folder": typeof item.isFolder === "function" ? item.isFolder() || false : void 0,
|
|
@@ -3577,7 +3583,7 @@ const EmptyTitle = React.forwardRef((componentProps, forwardRef) => {
|
|
|
3577
3583
|
return /* @__PURE__ */ jsx("div", {
|
|
3578
3584
|
ref: forwardRef,
|
|
3579
3585
|
"data-slot": "empty-title",
|
|
3580
|
-
className: cn("text-sm font-medium tracking-tight", className),
|
|
3586
|
+
className: cn("text-sm text-foreground font-medium tracking-tight", className),
|
|
3581
3587
|
...props
|
|
3582
3588
|
});
|
|
3583
3589
|
});
|
|
@@ -4272,6 +4278,101 @@ const Gauge = React.forwardRef((componentProps, forwardRef) => {
|
|
|
4272
4278
|
});
|
|
4273
4279
|
Gauge.displayName = "Gauge";
|
|
4274
4280
|
|
|
4281
|
+
//#endregion
|
|
4282
|
+
//#region src/components/hover-card.tsx
|
|
4283
|
+
/**
|
|
4284
|
+
* Root container for the HoverCard. Manages open/close state.
|
|
4285
|
+
*
|
|
4286
|
+
* Renders no DOM element — wrap `HoverCardTrigger` and `HoverCardContent`
|
|
4287
|
+
* inside it.
|
|
4288
|
+
*
|
|
4289
|
+
* Supports both controlled (`open` + `onOpenChange`) and uncontrolled
|
|
4290
|
+
* (`defaultOpen`) modes.
|
|
4291
|
+
*
|
|
4292
|
+
* @example
|
|
4293
|
+
* ```tsx
|
|
4294
|
+
* <HoverCard>
|
|
4295
|
+
* <HoverCardTrigger render={<span />}>Hover me</HoverCardTrigger>
|
|
4296
|
+
* <HoverCardContent side="top">Details here</HoverCardContent>
|
|
4297
|
+
* </HoverCard>
|
|
4298
|
+
* ```
|
|
4299
|
+
*/
|
|
4300
|
+
function HoverCard(componentProps) {
|
|
4301
|
+
return /* @__PURE__ */ jsx(PreviewCard.Root, {
|
|
4302
|
+
"data-slot": "hover-card",
|
|
4303
|
+
...componentProps
|
|
4304
|
+
});
|
|
4305
|
+
}
|
|
4306
|
+
/**
|
|
4307
|
+
* The element that triggers the HoverCard on hover or focus.
|
|
4308
|
+
*
|
|
4309
|
+
* Renders an `<a>` element by default. Use the `render` prop to swap in any
|
|
4310
|
+
* other element or component:
|
|
4311
|
+
*
|
|
4312
|
+
* ```tsx
|
|
4313
|
+
* <HoverCardTrigger render={<span className="cursor-help" />}>
|
|
4314
|
+
* <InfoIcon size={16} />
|
|
4315
|
+
* </HoverCardTrigger>
|
|
4316
|
+
* ```
|
|
4317
|
+
*
|
|
4318
|
+
* @prop delay - Milliseconds to wait before opening. Default: `400`.
|
|
4319
|
+
* @prop closeDelay - Milliseconds to wait before closing after the cursor
|
|
4320
|
+
* leaves both the trigger and the content. Default: `300`.
|
|
4321
|
+
* @prop render - Replace the default `<a>` with any element or component.
|
|
4322
|
+
*/
|
|
4323
|
+
const HoverCardTrigger = React.forwardRef((componentProps, forwardRef) => {
|
|
4324
|
+
const { delay = 400, closeDelay = 300, ...props } = componentProps;
|
|
4325
|
+
return /* @__PURE__ */ jsx(PreviewCard.Trigger, {
|
|
4326
|
+
ref: forwardRef,
|
|
4327
|
+
"data-slot": "hover-card-trigger",
|
|
4328
|
+
delay,
|
|
4329
|
+
closeDelay,
|
|
4330
|
+
...props
|
|
4331
|
+
});
|
|
4332
|
+
});
|
|
4333
|
+
HoverCardTrigger.displayName = "HoverCardTrigger";
|
|
4334
|
+
/**
|
|
4335
|
+
* The floating panel shown when the trigger is hovered or focused.
|
|
4336
|
+
*
|
|
4337
|
+
* Composes `PreviewCard.Portal → PreviewCard.Positioner → PreviewCard.Popup`
|
|
4338
|
+
* into a single consumer-facing part. Pass positioning props (`side`,
|
|
4339
|
+
* `sideOffset`, `align`, `alignOffset`) directly — they are forwarded to the
|
|
4340
|
+
* positioner. All other props (including `className`) go to the popup element.
|
|
4341
|
+
*
|
|
4342
|
+
* The card stays open while the cursor is inside it, giving users time to
|
|
4343
|
+
* interact with the content before it dismisses.
|
|
4344
|
+
*
|
|
4345
|
+
* @prop side - Which side of the trigger to place the card. Default: `'bottom'`.
|
|
4346
|
+
* @prop sideOffset - Gap in pixels between the trigger and the card. Default: `8`.
|
|
4347
|
+
* @prop align - Alignment along the cross-axis. Default: `'center'`.
|
|
4348
|
+
* @prop alignOffset - Offset in pixels along the cross-axis. Default: `0`.
|
|
4349
|
+
*
|
|
4350
|
+
* @example
|
|
4351
|
+
* ```tsx
|
|
4352
|
+
* <HoverCardContent side="top" align="start" className="max-w-[280px]">
|
|
4353
|
+
* <p className="text-sm font-bold">Title</p>
|
|
4354
|
+
* <p className="text-sm text-muted-foreground">Description</p>
|
|
4355
|
+
* </HoverCardContent>
|
|
4356
|
+
* ```
|
|
4357
|
+
*/
|
|
4358
|
+
const HoverCardContent = React.forwardRef((componentProps, forwardRef) => {
|
|
4359
|
+
const { className, side = "bottom", sideOffset = 8, align = "center", alignOffset = 0, ...props } = componentProps;
|
|
4360
|
+
return /* @__PURE__ */ jsx(PreviewCard.Portal, { children: /* @__PURE__ */ jsx(PreviewCard.Positioner, {
|
|
4361
|
+
side,
|
|
4362
|
+
sideOffset,
|
|
4363
|
+
align,
|
|
4364
|
+
alignOffset,
|
|
4365
|
+
className: "isolate z-50",
|
|
4366
|
+
children: /* @__PURE__ */ jsx(PreviewCard.Popup, {
|
|
4367
|
+
ref: forwardRef,
|
|
4368
|
+
"data-slot": "hover-card-content",
|
|
4369
|
+
className: cn("z-50 w-64 origin-(--transform-origin) rounded-md bg-popover p-4 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden", "data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", "data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95", "data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
|
|
4370
|
+
...props
|
|
4371
|
+
})
|
|
4372
|
+
}) });
|
|
4373
|
+
});
|
|
4374
|
+
HoverCardContent.displayName = "HoverCardContent";
|
|
4375
|
+
|
|
4275
4376
|
//#endregion
|
|
4276
4377
|
//#region src/components/input-otp.tsx
|
|
4277
4378
|
const InputOTP = React.forwardRef((componentProps, forwardRef) => {
|
|
@@ -4302,7 +4403,7 @@ const InputOTPSlot = React.forwardRef((componentProps, forwardRef) => {
|
|
|
4302
4403
|
ref: forwardRef,
|
|
4303
4404
|
"data-slot": "input-otp-slot",
|
|
4304
4405
|
"data-active": isActive,
|
|
4305
|
-
className: cn("data-[active=true]:border-ring data-[active=true]:ring-ring/50 dark:bg-input/30 border-input relative flex items-center justify-center border-y border-r text-sm transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-3", className),
|
|
4406
|
+
className: cn("data-[active=true]:border-ring data-[active=true]:ring-ring/50 bg-background dark:bg-input/30 border-input relative flex items-center justify-center border-y border-r text-sm transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-3", className),
|
|
4306
4407
|
...props,
|
|
4307
4408
|
children: [char, hasFakeCaret && /* @__PURE__ */ jsx("div", {
|
|
4308
4409
|
className: "pointer-events-none absolute inset-0 flex items-center justify-center",
|
|
@@ -4312,10 +4413,11 @@ const InputOTPSlot = React.forwardRef((componentProps, forwardRef) => {
|
|
|
4312
4413
|
});
|
|
4313
4414
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
4314
4415
|
const InputOTPSeparator = React.forwardRef((componentProps, forwardRef) => {
|
|
4315
|
-
const { ...props } = componentProps;
|
|
4416
|
+
const { className, ...props } = componentProps;
|
|
4316
4417
|
return /* @__PURE__ */ jsx("div", {
|
|
4317
4418
|
ref: forwardRef,
|
|
4318
4419
|
"data-slot": "input-otp-separator",
|
|
4420
|
+
className: cn(className, "text-foreground"),
|
|
4319
4421
|
role: "separator",
|
|
4320
4422
|
...props,
|
|
4321
4423
|
children: /* @__PURE__ */ jsx(MinusIcon, {})
|
|
@@ -4470,6 +4572,42 @@ const ItemFooter = React.forwardRef((componentProps, forwardRef) => {
|
|
|
4470
4572
|
});
|
|
4471
4573
|
ItemFooter.displayName = "ItemFooter";
|
|
4472
4574
|
|
|
4575
|
+
//#endregion
|
|
4576
|
+
//#region src/components/anchor.tsx
|
|
4577
|
+
const anchorVariants = cn(linkStyle, "inline-flex cursor-pointer items-center gap-1.5 font-medium outline-none transition-colors hover:text-primary/80 focus-visible:ring-3 focus-visible:ring-ring/50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-[1em]");
|
|
4578
|
+
/**
|
|
4579
|
+
* Renders an `<a>` element styled as a text link. Use instead of
|
|
4580
|
+
* `<Button variant="link" render={<a>}>` for any navigational action.
|
|
4581
|
+
*
|
|
4582
|
+
* For in-app routing pass your router's link component via the `render` prop —
|
|
4583
|
+
* the DS styles are applied to whatever element you provide.
|
|
4584
|
+
*
|
|
4585
|
+
* @example
|
|
4586
|
+
* ```tsx
|
|
4587
|
+
* // External link
|
|
4588
|
+
* <Anchor href="https://aircall.io" target="_blank" rel="noopener noreferrer">
|
|
4589
|
+
* Visit Aircall <ExternalLink />
|
|
4590
|
+
* </Anchor>
|
|
4591
|
+
*
|
|
4592
|
+
* // React Router in-app navigation
|
|
4593
|
+
* import { Link } from 'react-router-dom';
|
|
4594
|
+
* <Anchor render={<Link to="/settings" />}>Settings</Anchor>
|
|
4595
|
+
* ```
|
|
4596
|
+
*/
|
|
4597
|
+
const Anchor = React.forwardRef((componentProps, forwardRef) => {
|
|
4598
|
+
const { className, render, ...props } = componentProps;
|
|
4599
|
+
return useRender({
|
|
4600
|
+
defaultTagName: "a",
|
|
4601
|
+
props: mergeProps({
|
|
4602
|
+
className: cn(anchorVariants, className),
|
|
4603
|
+
ref: forwardRef
|
|
4604
|
+
}, props),
|
|
4605
|
+
render,
|
|
4606
|
+
state: { slot: "anchor" }
|
|
4607
|
+
});
|
|
4608
|
+
});
|
|
4609
|
+
Anchor.displayName = "Anchor";
|
|
4610
|
+
|
|
4473
4611
|
//#endregion
|
|
4474
4612
|
//#region src/components/list.tsx
|
|
4475
4613
|
const List = React.forwardRef((componentProps, forwardRef) => {
|
|
@@ -5633,7 +5771,7 @@ const Switch = React.forwardRef((componentProps, forwardRef) => {
|
|
|
5633
5771
|
return /* @__PURE__ */ jsx(Switch$1.Root, {
|
|
5634
5772
|
ref: forwardRef,
|
|
5635
5773
|
"data-slot": "switch",
|
|
5636
|
-
className: cn("peer relative inline-flex h-6 w-10 shrink-0 items-center rounded-full border border-transparent p-1 transition-all outline-none active:opacity-60 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive focus-visible:aria-invalid:ring-3 focus-visible:aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:focus-visible:aria-invalid:ring-destructive/40 data-checked:bg-primary aria-invalid:data-checked:bg-destructive data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50", className),
|
|
5774
|
+
className: cn("peer relative inline-flex h-6 w-10! shrink-0 items-center rounded-full border border-transparent p-1 transition-all outline-none active:opacity-60 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive focus-visible:aria-invalid:ring-3 focus-visible:aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:focus-visible:aria-invalid:ring-destructive/40 data-checked:bg-primary aria-invalid:data-checked:bg-destructive data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50", className),
|
|
5637
5775
|
...props,
|
|
5638
5776
|
children: /* @__PURE__ */ jsx(Switch$1.Thumb, {
|
|
5639
5777
|
"data-slot": "switch-thumb",
|
|
@@ -5765,7 +5903,7 @@ const ToggleGroupItem = React.forwardRef((componentProps, forwardRef) => {
|
|
|
5765
5903
|
"data-variant": context.variant || variant,
|
|
5766
5904
|
"data-size": context.size || size,
|
|
5767
5905
|
"data-spacing": context.spacing,
|
|
5768
|
-
className: cn("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 group-data-[spacing=0]/toggle-group:shadow-none focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-[orientation=horizontal]/toggle-group:data-[spacing=0]:first:rounded-l-md group-data-[orientation=vertical]/toggle-group:data-[spacing=0]:first:rounded-t-md group-data-[orientation=horizontal]/toggle-group:data-[spacing=0]:last:rounded-r-md group-data-[orientation=vertical]/toggle-group:data-[spacing=0]:last:rounded-b-md group-data-[orientation=horizontal]/toggle-group:data-[spacing=0]:border-l-0 group-data-[orientation=vertical]/toggle-group:data-[spacing=0]:border-t-0 group-data-[orientation=horizontal]/toggle-group:data-[spacing=0]:first:border-l group-data-[orientation=vertical]/toggle-group:data-[spacing=0]:first:border-t group-data-[block=true]/toggle-group:flex-1", toggleVariants({
|
|
5906
|
+
className: cn("shrink-0 text-foreground group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 group-data-[spacing=0]/toggle-group:shadow-none focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-[orientation=horizontal]/toggle-group:data-[spacing=0]:first:rounded-l-md group-data-[orientation=vertical]/toggle-group:data-[spacing=0]:first:rounded-t-md group-data-[orientation=horizontal]/toggle-group:data-[spacing=0]:last:rounded-r-md group-data-[orientation=vertical]/toggle-group:data-[spacing=0]:last:rounded-b-md group-data-[orientation=horizontal]/toggle-group:data-[spacing=0]:border-l-0 group-data-[orientation=vertical]/toggle-group:data-[spacing=0]:border-t-0 group-data-[orientation=horizontal]/toggle-group:data-[spacing=0]:first:border-l group-data-[orientation=vertical]/toggle-group:data-[spacing=0]:first:border-t group-data-[block=true]/toggle-group:flex-1", toggleVariants({
|
|
5769
5907
|
variant: context.variant || variant,
|
|
5770
5908
|
size: context.size || size
|
|
5771
5909
|
}), className),
|
|
@@ -5891,4 +6029,4 @@ function useAudioGauge(options = {}) {
|
|
|
5891
6029
|
}
|
|
5892
6030
|
|
|
5893
6031
|
//#endregion
|
|
5894
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionBar, ActionBarButton, ActionBarContext, ActionBarHeight, Alert, AlertAction, AlertAction as BannerAction, AlertDescription, AlertDescription as BannerDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertTitle as BannerTitle, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataTable, DataTree, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBackdrop, DrawerBar, DrawerClose, DrawerContent, DrawerCreateHandle, DrawerDescription, DrawerFooter, DrawerHeader, DrawerMenu, DrawerMenuCheckboxItem, DrawerMenuGroup, DrawerMenuGroupLabel, DrawerMenuItem, DrawerMenuRadioGroup, DrawerMenuRadioItem, DrawerMenuSeparator, DrawerMenuTrigger, DrawerPanel, DrawerPopup, DrawerPortal, DrawerPrimitive, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, DropdownMenuAddon, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneActions, DropzoneContent, DropzoneDescription, DropzoneIcon, DropzoneTitle, DropzoneTrigger, DsI18nProvider, EmojiPicker, EmojiPickerCategories, EmojiPickerContent, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Filter, FilterClearAllButton, FilterGroup, Gauge, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, List, ListCol, ListRow, NotificationQueueProvider, NotificationSlot, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, SUPPORTED_LANGUAGES, ScrollArea, ScrollAreaPrimitive, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Stepper, StepperContent, StepperCounter, StepperPanel, StepperProgress, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, alertVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useComboboxAnchor, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
|
|
6032
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionBar, ActionBarButton, ActionBarContext, ActionBarHeight, Alert, AlertAction, AlertAction as BannerAction, AlertDescription, AlertDescription as BannerDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertTitle as BannerTitle, Anchor, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataTable, DataTree, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBackdrop, DrawerBar, DrawerClose, DrawerContent, DrawerCreateHandle, DrawerDescription, DrawerFooter, DrawerHeader, DrawerMenu, DrawerMenuCheckboxItem, DrawerMenuGroup, DrawerMenuGroupLabel, DrawerMenuItem, DrawerMenuRadioGroup, DrawerMenuRadioItem, DrawerMenuSeparator, DrawerMenuTrigger, DrawerPanel, DrawerPopup, DrawerPortal, DrawerPrimitive, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, DropdownMenuAddon, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneActions, DropzoneContent, DropzoneDescription, DropzoneIcon, DropzoneTitle, DropzoneTrigger, DsI18nProvider, EmojiPicker, EmojiPickerCategories, EmojiPickerContent, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Filter, FilterClearAllButton, FilterGroup, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, List, ListCol, ListRow, NotificationQueueProvider, NotificationSlot, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, SUPPORTED_LANGUAGES, ScrollArea, ScrollAreaPrimitive, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Stepper, StepperContent, StepperCounter, StepperPanel, StepperProgress, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, alertVariants, anchorVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useComboboxAnchor, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
|