@snksergio/design-system 0.39.1 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/chunks/{avatar-DQYiVRlE.mjs → avatar-DFWEwBKu.mjs} +101 -51
- package/dist-lib/chunks/avatar-DFWEwBKu.mjs.map +1 -0
- package/dist-lib/chunks/{avatar-BiaG9OJS.cjs → avatar-eM5txRFZ.cjs} +53 -1
- package/dist-lib/chunks/avatar-eM5txRFZ.cjs.map +1 -0
- package/dist-lib/chunks/{input-CaC0B-_v.mjs → input-CfmzMYtd.mjs} +2 -2
- package/dist-lib/chunks/{input-CaC0B-_v.mjs.map → input-CfmzMYtd.mjs.map} +1 -1
- package/dist-lib/chunks/{input-DMH5rSP1.cjs → input-az2SuVXQ.cjs} +2 -2
- package/dist-lib/chunks/{input-DMH5rSP1.cjs.map → input-az2SuVXQ.cjs.map} +1 -1
- package/dist-lib/chunks/{kpi-delta-NnEu4oIs.cjs → kpi-delta-DAfakvFp.cjs} +3 -3
- package/dist-lib/chunks/{kpi-delta-NnEu4oIs.cjs.map → kpi-delta-DAfakvFp.cjs.map} +1 -1
- package/dist-lib/chunks/{kpi-delta-CjR0OsdC.mjs → kpi-delta-DaDwKOaP.mjs} +3 -3
- package/dist-lib/chunks/{kpi-delta-CjR0OsdC.mjs.map → kpi-delta-DaDwKOaP.mjs.map} +1 -1
- package/dist-lib/chunks/{page-header-DEGbgT4w.mjs → page-header--cPS_Z-a.mjs} +2 -2
- package/dist-lib/chunks/{page-header-DEGbgT4w.mjs.map → page-header--cPS_Z-a.mjs.map} +1 -1
- package/dist-lib/chunks/{page-header-Cp_9Wog4.cjs → page-header-DvAJoEfb.cjs} +2 -2
- package/dist-lib/chunks/{page-header-Cp_9Wog4.cjs.map → page-header-DvAJoEfb.cjs.map} +1 -1
- package/dist-lib/chunks/{panel-B1xKDbjB.mjs → panel-Bje0kUTh.mjs} +5 -5
- package/dist-lib/chunks/{panel-B1xKDbjB.mjs.map → panel-Bje0kUTh.mjs.map} +1 -1
- package/dist-lib/chunks/{panel-ma7e3s4C.cjs → panel-DtU3KlKY.cjs} +5 -5
- package/dist-lib/chunks/{panel-ma7e3s4C.cjs.map → panel-DtU3KlKY.cjs.map} +1 -1
- package/dist-lib/chunks/{textarea-DivoQmJw.mjs → textarea-BPRIHZVd.mjs} +2 -2
- package/dist-lib/chunks/{textarea-DivoQmJw.mjs.map → textarea-BPRIHZVd.mjs.map} +1 -1
- package/dist-lib/chunks/{textarea-c80RFmMP.cjs → textarea-K20CL_gF.cjs} +2 -2
- package/dist-lib/chunks/{textarea-c80RFmMP.cjs.map → textarea-K20CL_gF.cjs.map} +1 -1
- package/dist-lib/chunks/{tooltip-C3iqVX-X.cjs → toggle-group-BEPs3e0Y.cjs} +145 -86
- package/dist-lib/chunks/toggle-group-BEPs3e0Y.cjs.map +1 -0
- package/dist-lib/chunks/{tooltip-DVxIC67b.mjs → toggle-group-XMO6ReVo.mjs} +219 -158
- package/dist-lib/chunks/toggle-group-XMO6ReVo.mjs.map +1 -0
- package/dist-lib/chunks/{useTheme-BD0nloAv.cjs → useTheme-3iZAognE.cjs} +876 -73
- package/dist-lib/chunks/useTheme-3iZAognE.cjs.map +1 -0
- package/dist-lib/chunks/{useTheme-D1QVzZDW.mjs → useTheme-B3ZakPqk.mjs} +886 -83
- package/dist-lib/chunks/useTheme-B3ZakPqk.mjs.map +1 -0
- package/dist-lib/index.cjs +40 -732
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.mjs +94 -786
- package/dist-lib/index.mjs.map +1 -1
- package/dist-lib/preview/chat.cjs +3 -3
- package/dist-lib/preview/chat.mjs +3 -3
- package/dist-lib/preview/clientes.cjs +6 -6
- package/dist-lib/preview/clientes.mjs +6 -6
- package/dist-lib/preview/dashboard.cjs +4 -4
- package/dist-lib/preview/dashboard.mjs +4 -4
- package/dist-lib/shadcn.cjs +112 -111
- package/dist-lib/shadcn.cjs.map +1 -1
- package/dist-lib/shadcn.mjs +136 -135
- package/dist-lib/src/components/shadcn/input-otp.d.ts +83 -33
- package/dist-lib/src/components/shadcn/input-otp.d.ts.map +1 -1
- package/dist-lib/src/components/ui/AppShell/app-shell.d.ts +1 -1
- package/dist-lib/src/components/ui/AppShell/app-shell.d.ts.map +1 -1
- package/dist-lib/src/components/ui/AppShell/app-shell.styles.d.ts +45 -1
- package/dist-lib/src/components/ui/AppShell/app-shell.styles.d.ts.map +1 -1
- package/dist-lib/src/components/ui/AppShell/app-shell.types.d.ts +106 -3
- package/dist-lib/src/components/ui/AppShell/app-shell.types.d.ts.map +1 -1
- package/dist-lib/src/components/ui/MenuSidebar/index.d.ts +2 -2
- package/dist-lib/src/components/ui/MenuSidebar/index.d.ts.map +1 -1
- package/dist-lib/src/components/ui/SingleMenuSidebar/category.d.ts +1 -1
- package/dist-lib/src/components/ui/SingleMenuSidebar/category.d.ts.map +1 -1
- package/dist-lib/src/components/ui/SingleMenuSidebar/menu-item.d.ts +25 -1
- package/dist-lib/src/components/ui/SingleMenuSidebar/menu-item.d.ts.map +1 -1
- package/dist-lib/src/components/ui/SingleMenuSidebar/single-menu-sidebar.d.ts +1 -1
- package/dist-lib/src/components/ui/SingleMenuSidebar/single-menu-sidebar.d.ts.map +1 -1
- package/dist-lib/src/components/ui/SingleMenuSidebar/single-menu-sidebar.types.d.ts +57 -2
- package/dist-lib/src/components/ui/SingleMenuSidebar/single-menu-sidebar.types.d.ts.map +1 -1
- package/dist-lib/src/utils/nav-link.d.ts.map +1 -0
- package/package.json +207 -206
- package/dist-lib/chunks/avatar-BiaG9OJS.cjs.map +0 -1
- package/dist-lib/chunks/avatar-DQYiVRlE.mjs.map +0 -1
- package/dist-lib/chunks/tooltip-C3iqVX-X.cjs.map +0 -1
- package/dist-lib/chunks/tooltip-DVxIC67b.mjs.map +0 -1
- package/dist-lib/chunks/useTheme-BD0nloAv.cjs.map +0 -1
- package/dist-lib/chunks/useTheme-D1QVzZDW.mjs.map +0 -1
- package/dist-lib/src/components/ui/MenuSidebar/nav-link.d.ts.map +0 -1
- /package/dist-lib/src/{components/ui/MenuSidebar → utils}/nav-link.d.ts +0 -0
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
4
|
-
import { c as cn, t as tv, B as Button } from "./avatar-
|
|
4
|
+
import { c as cn, t as tv, B as Button } from "./avatar-DFWEwBKu.mjs";
|
|
5
5
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
6
6
|
import { ChevronDown, MoreHorizontal, ChevronRight, ArrowLeft, ArrowRight, Check, Circle, Dot } from "lucide-react";
|
|
7
7
|
import { cva } from "class-variance-authority";
|
|
8
8
|
import { Slot } from "@radix-ui/react-slot";
|
|
9
9
|
import useEmblaCarousel from "embla-carousel-react";
|
|
10
|
-
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
11
10
|
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
12
11
|
import { Drawer as Drawer$1 } from "vaul";
|
|
13
12
|
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
|
|
@@ -22,7 +21,6 @@ import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
|
22
21
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
23
22
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
24
23
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
25
|
-
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
26
24
|
const Separator = React.forwardRef(
|
|
27
25
|
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
28
26
|
SeparatorPrimitive.Root,
|
|
@@ -520,9 +518,6 @@ const CarouselNext = React.forwardRef(({ className, ...props }, ref) => {
|
|
|
520
518
|
);
|
|
521
519
|
});
|
|
522
520
|
CarouselNext.displayName = "CarouselNext";
|
|
523
|
-
const Collapsible = CollapsiblePrimitive.Root;
|
|
524
|
-
const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger;
|
|
525
|
-
const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent;
|
|
526
521
|
const ContextMenu = ContextMenuPrimitive.Root;
|
|
527
522
|
const ContextMenuTrigger = ContextMenuPrimitive.Trigger;
|
|
528
523
|
const ContextMenuGroup = ContextMenuPrimitive.Group;
|
|
@@ -759,43 +754,153 @@ const HoverCardContent = React.forwardRef(({ className, align = "center", sideOf
|
|
|
759
754
|
}
|
|
760
755
|
));
|
|
761
756
|
HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
|
|
762
|
-
const
|
|
763
|
-
|
|
757
|
+
const DEFAULTS = {
|
|
758
|
+
variant: "connected",
|
|
759
|
+
size: "md",
|
|
760
|
+
state: "default"
|
|
761
|
+
};
|
|
762
|
+
const InputOTPStyleContext = React.createContext(DEFAULTS);
|
|
763
|
+
const slotVariants = cva(
|
|
764
|
+
[
|
|
765
|
+
"relative flex items-center justify-center",
|
|
766
|
+
// Mesma superfície do input.tsx — ver o cabeçalho.
|
|
767
|
+
"bg-bg-input dark:bg-bg-muted",
|
|
768
|
+
"text-fg-default tabular-nums",
|
|
769
|
+
"transition-[border-color,box-shadow,background-color] outline-none"
|
|
770
|
+
],
|
|
764
771
|
{
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
+
variants: {
|
|
773
|
+
// Quadrado: a altura vem do MESMO token do Input, e a largura acompanha
|
|
774
|
+
// pra o slot não virar retângulo. `size-form-*` = height e width juntos.
|
|
775
|
+
size: {
|
|
776
|
+
xxs: "size-form-xs text-body-sm",
|
|
777
|
+
xs: "size-form-sm text-body-sm",
|
|
778
|
+
sm: "size-form-md text-body-md",
|
|
779
|
+
md: "size-form-lg text-body-md"
|
|
780
|
+
},
|
|
781
|
+
variant: {
|
|
782
|
+
// Colados: cada slot desenha 3 lados; o 1º devolve a borda esquerda, e
|
|
783
|
+
// as pontas recebem radius. Sem isso a fileira mostra borda dupla entre
|
|
784
|
+
// slots vizinhos.
|
|
785
|
+
connected: "border-y border-r first:border-l",
|
|
786
|
+
outlined: "border",
|
|
787
|
+
filled: "border border-transparent",
|
|
788
|
+
// Sem fundo: a linha de baixo É o campo. `rounded-none` explícito
|
|
789
|
+
// porque o radius das pontas do `connected` viria do grupo.
|
|
790
|
+
underline: "border-0 border-b-2 rounded-none bg-transparent dark:bg-transparent"
|
|
791
|
+
},
|
|
792
|
+
// Cor de borda e anel de foco — os MESMOS pares do Input.
|
|
793
|
+
state: {
|
|
794
|
+
default: "border-border-input",
|
|
795
|
+
error: "border-border-danger-muted",
|
|
796
|
+
warning: "border-border-warning-muted",
|
|
797
|
+
success: "border-border-success-muted"
|
|
798
|
+
},
|
|
799
|
+
/** Slot que o cursor está ocupando. O Radix não dá `:focus` aqui: o input
|
|
800
|
+
* real é único e invisível, então o "foco" é estado do contexto do
|
|
801
|
+
* `input-otp`, não do DOM. Daí ser variante e não `focus-visible:`. */
|
|
802
|
+
active: { true: "z-10", false: "" }
|
|
803
|
+
},
|
|
804
|
+
compoundVariants: [
|
|
805
|
+
// Foco = borda verde + anel, igual ao `focus-visible` do Input. Em erro/
|
|
806
|
+
// aviso/sucesso a borda semântica MANDA (o usuário precisa continuar
|
|
807
|
+
// vendo que o campo está inválido enquanto digita), e só o anel muda.
|
|
808
|
+
{ active: true, state: "default", class: "border-border-brand shadow-sh-ring" },
|
|
809
|
+
{ active: true, state: "error", class: "shadow-sh-ring-danger" },
|
|
810
|
+
{ active: true, state: "warning", class: "shadow-sh-ring-warning" },
|
|
811
|
+
{ active: true, state: "success", class: "shadow-sh-ring-success" },
|
|
812
|
+
// Hover só onde há superfície pra reagir.
|
|
813
|
+
{ variant: "connected", class: "hover:bg-bg-input-hover dark:hover:bg-bg-muted-hover" },
|
|
814
|
+
{ variant: "outlined", class: "hover:bg-bg-input-hover dark:hover:bg-bg-muted-hover" },
|
|
815
|
+
{ variant: "filled", class: "bg-bg-muted dark:bg-bg-muted hover:bg-bg-muted-hover" }
|
|
816
|
+
],
|
|
817
|
+
defaultVariants: { size: "md", variant: "connected", state: "default", active: false }
|
|
772
818
|
}
|
|
773
|
-
)
|
|
819
|
+
);
|
|
820
|
+
const groupVariants = cva("flex items-center", {
|
|
821
|
+
variants: {
|
|
822
|
+
variant: {
|
|
823
|
+
// Colados: zero gap, e o radius das pontas é do GRUPO (o slot não sabe se
|
|
824
|
+
// é primeiro/último de um grupo quando há mais de um grupo na tela).
|
|
825
|
+
connected: "gap-0 [&>*:first-child]:rounded-l-radius-lg [&>*:last-child]:rounded-r-radius-lg",
|
|
826
|
+
outlined: "gap-gp-md [&>*]:rounded-radius-lg",
|
|
827
|
+
filled: "gap-gp-md [&>*]:rounded-radius-lg",
|
|
828
|
+
underline: "gap-gp-md"
|
|
829
|
+
},
|
|
830
|
+
// Radius acompanha o size, como no Input: os dois menores usam radius-md.
|
|
831
|
+
size: { xxs: "", xs: "", sm: "", md: "" }
|
|
832
|
+
},
|
|
833
|
+
compoundVariants: [
|
|
834
|
+
{ variant: "connected", size: "xxs", class: "[&>*:first-child]:rounded-l-radius-md [&>*:last-child]:rounded-r-radius-md" },
|
|
835
|
+
{ variant: "connected", size: "xs", class: "[&>*:first-child]:rounded-l-radius-md [&>*:last-child]:rounded-r-radius-md" },
|
|
836
|
+
{ variant: "outlined", size: "xxs", class: "[&>*]:rounded-radius-md" },
|
|
837
|
+
{ variant: "outlined", size: "xs", class: "[&>*]:rounded-radius-md" },
|
|
838
|
+
{ variant: "filled", size: "xxs", class: "[&>*]:rounded-radius-md" },
|
|
839
|
+
{ variant: "filled", size: "xs", class: "[&>*]:rounded-radius-md" }
|
|
840
|
+
],
|
|
841
|
+
defaultVariants: { variant: "connected", size: "md" }
|
|
842
|
+
});
|
|
843
|
+
const InputOTP = React.forwardRef(
|
|
844
|
+
({ className, containerClassName, variant, size, state, ...props }, ref) => {
|
|
845
|
+
const ctx = React.useMemo(
|
|
846
|
+
() => ({
|
|
847
|
+
variant: variant ?? DEFAULTS.variant,
|
|
848
|
+
size: size ?? DEFAULTS.size,
|
|
849
|
+
state: state ?? DEFAULTS.state
|
|
850
|
+
}),
|
|
851
|
+
[variant, size, state]
|
|
852
|
+
);
|
|
853
|
+
return /* @__PURE__ */ jsx(InputOTPStyleContext.Provider, { value: ctx, children: /* @__PURE__ */ jsx(
|
|
854
|
+
OTPInput,
|
|
855
|
+
{
|
|
856
|
+
ref,
|
|
857
|
+
containerClassName: cn(
|
|
858
|
+
"flex items-center gap-gp-md has-[:disabled]:opacity-50",
|
|
859
|
+
containerClassName
|
|
860
|
+
),
|
|
861
|
+
className: cn("disabled:cursor-not-allowed", className),
|
|
862
|
+
...props
|
|
863
|
+
}
|
|
864
|
+
) });
|
|
865
|
+
}
|
|
866
|
+
);
|
|
774
867
|
InputOTP.displayName = "InputOTP";
|
|
775
|
-
const InputOTPGroup = React.forwardRef(({ className, ...props }, ref) =>
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
const inputOTPContext = React.useContext(OTPInputContext);
|
|
779
|
-
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
780
|
-
return /* @__PURE__ */ jsxs(
|
|
781
|
-
"div",
|
|
782
|
-
{
|
|
783
|
-
ref,
|
|
784
|
-
className: cn(
|
|
785
|
-
"relative flex size-form-lg items-center justify-center border-y border-r border-border-default text-body-md text-fg-default transition-all first:rounded-l-radius-md first:border-l last:rounded-r-radius-md",
|
|
786
|
-
isActive && "z-10 ring-4 ring-ring-brand",
|
|
787
|
-
className
|
|
788
|
-
),
|
|
789
|
-
...props,
|
|
790
|
-
children: [
|
|
791
|
-
char,
|
|
792
|
-
hasFakeCaret && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx("div", { className: "h-4 w-px animate-caret-blink bg-fg-default duration-1000" }) })
|
|
793
|
-
]
|
|
794
|
-
}
|
|
795
|
-
);
|
|
868
|
+
const InputOTPGroup = React.forwardRef(({ className, ...props }, ref) => {
|
|
869
|
+
const { variant, size } = React.useContext(InputOTPStyleContext);
|
|
870
|
+
return /* @__PURE__ */ jsx("div", { ref, className: cn(groupVariants({ variant, size }), className), ...props });
|
|
796
871
|
});
|
|
872
|
+
InputOTPGroup.displayName = "InputOTPGroup";
|
|
873
|
+
const InputOTPSlot = React.forwardRef(
|
|
874
|
+
({ index, className, variant, size, state, ...props }, ref) => {
|
|
875
|
+
const ctx = React.useContext(InputOTPStyleContext);
|
|
876
|
+
const otp = React.useContext(OTPInputContext);
|
|
877
|
+
const { char, hasFakeCaret, isActive } = otp.slots[index];
|
|
878
|
+
return /* @__PURE__ */ jsxs(
|
|
879
|
+
"div",
|
|
880
|
+
{
|
|
881
|
+
ref,
|
|
882
|
+
"data-slot": "input-otp-slot",
|
|
883
|
+
"data-active": isActive ? "true" : void 0,
|
|
884
|
+
className: cn(
|
|
885
|
+
slotVariants({
|
|
886
|
+
variant: variant ?? ctx.variant,
|
|
887
|
+
size: size ?? ctx.size,
|
|
888
|
+
state: state ?? ctx.state,
|
|
889
|
+
active: isActive
|
|
890
|
+
}),
|
|
891
|
+
className
|
|
892
|
+
),
|
|
893
|
+
...props,
|
|
894
|
+
children: [
|
|
895
|
+
char,
|
|
896
|
+
hasFakeCaret && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx("div", { className: "h-4 w-px animate-caret-blink bg-fg-default duration-1000" }) })
|
|
897
|
+
]
|
|
898
|
+
}
|
|
899
|
+
);
|
|
900
|
+
}
|
|
901
|
+
);
|
|
797
902
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
798
|
-
const InputOTPSeparator = React.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", className: "text-fg-muted", ...props, children: /* @__PURE__ */ jsx(Dot, {}) }));
|
|
903
|
+
const InputOTPSeparator = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", className: cn("text-fg-muted", className), ...props, children: children ?? /* @__PURE__ */ jsx(Dot, {}) }));
|
|
799
904
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
800
905
|
const labelVariants = cva(
|
|
801
906
|
"text-body-sm font-semibold tracking-[0.01em] text-fg-default dark:text-fg-muted leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
@@ -1302,127 +1407,83 @@ const ToggleGroupItem = React.forwardRef(({ className, children, variant, size,
|
|
|
1302
1407
|
);
|
|
1303
1408
|
});
|
|
1304
1409
|
ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
|
|
1305
|
-
const TooltipProvider = TooltipPrimitive.Provider;
|
|
1306
|
-
const TooltipTrigger = TooltipPrimitive.Trigger;
|
|
1307
|
-
const Tooltip = ({ children, ...props }) => /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsx(TooltipPrimitive.Root, { ...props, children }) });
|
|
1308
|
-
Tooltip.displayName = "Tooltip";
|
|
1309
|
-
const TooltipContent = React.forwardRef(({ className, sideOffset = 6, showArrow = true, children, ...props }, ref) => /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
|
|
1310
|
-
TooltipPrimitive.Content,
|
|
1311
|
-
{
|
|
1312
|
-
ref,
|
|
1313
|
-
sideOffset,
|
|
1314
|
-
className: cn(
|
|
1315
|
-
"z-50 max-w-[16rem] select-none",
|
|
1316
|
-
"bg-bg-emphasis text-fg-default",
|
|
1317
|
-
"rounded-radius-md px-pad-lg py-pad-xs",
|
|
1318
|
-
"text-caption-sm",
|
|
1319
|
-
"shadow-sh-md",
|
|
1320
|
-
"origin-[--radix-tooltip-content-transform-origin]",
|
|
1321
|
-
"data-[state=delayed-open]:animate-in data-[state=instant-open]:animate-in data-[state=closed]:animate-out",
|
|
1322
|
-
"data-[state=closed]:fade-out-0 data-[state=delayed-open]:fade-in-0 data-[state=instant-open]:fade-in-0",
|
|
1323
|
-
"data-[state=closed]:zoom-out-95 data-[state=delayed-open]:zoom-in-95 data-[state=instant-open]:zoom-in-95",
|
|
1324
|
-
"data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2",
|
|
1325
|
-
"data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
1326
|
-
className
|
|
1327
|
-
),
|
|
1328
|
-
...props,
|
|
1329
|
-
children: [
|
|
1330
|
-
children,
|
|
1331
|
-
showArrow && /* @__PURE__ */ jsx(
|
|
1332
|
-
TooltipPrimitive.Arrow,
|
|
1333
|
-
{
|
|
1334
|
-
width: 11,
|
|
1335
|
-
height: 5,
|
|
1336
|
-
className: "fill-bg-emphasis"
|
|
1337
|
-
}
|
|
1338
|
-
)
|
|
1339
|
-
]
|
|
1340
|
-
}
|
|
1341
|
-
) }));
|
|
1342
|
-
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
1343
1410
|
export {
|
|
1344
|
-
|
|
1411
|
+
HoverCardTrigger as $,
|
|
1345
1412
|
Accordion as A,
|
|
1346
1413
|
Badge as B,
|
|
1347
1414
|
Card as C,
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1415
|
+
ContextMenuGroup as D,
|
|
1416
|
+
ContextMenuItem as E,
|
|
1417
|
+
ContextMenuLabel as F,
|
|
1418
|
+
ContextMenuPortal as G,
|
|
1419
|
+
ContextMenuRadioGroup as H,
|
|
1420
|
+
ContextMenuRadioItem as I,
|
|
1421
|
+
ContextMenuSeparator as J,
|
|
1422
|
+
ContextMenuShortcut as K,
|
|
1423
|
+
ContextMenuSub as L,
|
|
1424
|
+
ContextMenuSubContent as M,
|
|
1425
|
+
ContextMenuSubTrigger as N,
|
|
1426
|
+
ContextMenuTrigger as O,
|
|
1427
|
+
Drawer as P,
|
|
1428
|
+
DrawerClose as Q,
|
|
1429
|
+
DrawerContent as R,
|
|
1430
|
+
DrawerDescription as S,
|
|
1431
|
+
DrawerFooter as T,
|
|
1432
|
+
DrawerHeader as U,
|
|
1433
|
+
DrawerOverlay as V,
|
|
1434
|
+
DrawerPortal as W,
|
|
1435
|
+
DrawerTitle as X,
|
|
1436
|
+
DrawerTrigger as Y,
|
|
1437
|
+
HoverCard as Z,
|
|
1438
|
+
HoverCardContent as _,
|
|
1372
1439
|
AccordionContent as a,
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
NavigationMenuTrigger as au,
|
|
1421
|
-
NavigationMenuViewport as av,
|
|
1422
|
-
Progress as aw,
|
|
1423
|
-
RadioGroup as ax,
|
|
1424
|
-
RadioGroupItem as ay,
|
|
1425
|
-
ScrollArea as az,
|
|
1440
|
+
InputOTP as a0,
|
|
1441
|
+
InputOTPGroup as a1,
|
|
1442
|
+
InputOTPSeparator as a2,
|
|
1443
|
+
InputOTPSlot as a3,
|
|
1444
|
+
Label as a4,
|
|
1445
|
+
Menubar as a5,
|
|
1446
|
+
MenubarCheckboxItem as a6,
|
|
1447
|
+
MenubarContent as a7,
|
|
1448
|
+
MenubarGroup as a8,
|
|
1449
|
+
MenubarItem as a9,
|
|
1450
|
+
Tabs as aA,
|
|
1451
|
+
TabsContent as aB,
|
|
1452
|
+
TabsList as aC,
|
|
1453
|
+
TabsTrigger as aD,
|
|
1454
|
+
Toggle as aE,
|
|
1455
|
+
ToggleGroup as aF,
|
|
1456
|
+
ToggleGroupItem as aG,
|
|
1457
|
+
badgeVariants as aH,
|
|
1458
|
+
navigationMenuTriggerStyle as aI,
|
|
1459
|
+
slotVariants as aJ,
|
|
1460
|
+
toggleVariants as aK,
|
|
1461
|
+
MenubarLabel as aa,
|
|
1462
|
+
MenubarMenu as ab,
|
|
1463
|
+
MenubarPortal as ac,
|
|
1464
|
+
MenubarRadioGroup as ad,
|
|
1465
|
+
MenubarRadioItem as ae,
|
|
1466
|
+
MenubarSeparator as af,
|
|
1467
|
+
MenubarShortcut as ag,
|
|
1468
|
+
MenubarSub as ah,
|
|
1469
|
+
MenubarSubContent as ai,
|
|
1470
|
+
MenubarSubTrigger as aj,
|
|
1471
|
+
MenubarTrigger as ak,
|
|
1472
|
+
NavigationMenu as al,
|
|
1473
|
+
NavigationMenuContent as am,
|
|
1474
|
+
NavigationMenuIndicator as an,
|
|
1475
|
+
NavigationMenuItem as ao,
|
|
1476
|
+
NavigationMenuLink as ap,
|
|
1477
|
+
NavigationMenuList as aq,
|
|
1478
|
+
NavigationMenuTrigger as ar,
|
|
1479
|
+
NavigationMenuViewport as as,
|
|
1480
|
+
Progress as at,
|
|
1481
|
+
RadioGroup as au,
|
|
1482
|
+
RadioGroupItem as av,
|
|
1483
|
+
ScrollArea as aw,
|
|
1484
|
+
ScrollBar as ax,
|
|
1485
|
+
Separator as ay,
|
|
1486
|
+
Slider as az,
|
|
1426
1487
|
AccordionItem as b,
|
|
1427
1488
|
AccordionTrigger as c,
|
|
1428
1489
|
Alert as d,
|
|
@@ -1445,8 +1506,8 @@ export {
|
|
|
1445
1506
|
CarouselItem as u,
|
|
1446
1507
|
CarouselNext as v,
|
|
1447
1508
|
CarouselPrevious as w,
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1509
|
+
ContextMenu as x,
|
|
1510
|
+
ContextMenuCheckboxItem as y,
|
|
1511
|
+
ContextMenuContent as z
|
|
1451
1512
|
};
|
|
1452
|
-
//# sourceMappingURL=
|
|
1513
|
+
//# sourceMappingURL=toggle-group-XMO6ReVo.mjs.map
|