@mks2508/mks-ui 0.1.2 → 0.1.4
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/README.md +96 -60
- package/dist/components/animate-ui/primitives/animate/slot.js +1 -1
- package/dist/components/animate-ui/primitives/base/accordion.js +132 -0
- package/dist/components/animate-ui/primitives/base/alert-dialog.js +132 -0
- package/dist/components/animate-ui/primitives/base/checkbox.js +101 -0
- package/dist/components/animate-ui/primitives/base/dialog.js +132 -0
- package/dist/components/animate-ui/primitives/base/menu.js +266 -0
- package/dist/components/animate-ui/primitives/base/popover.js +109 -0
- package/dist/components/animate-ui/primitives/base/progress.d.ts +14 -14
- package/dist/components/animate-ui/primitives/base/progress.js +63 -0
- package/dist/components/animate-ui/primitives/base/switch.js +1 -1
- package/dist/components/animate-ui/primitives/base/tabs.js +1 -1
- package/dist/components/animate-ui/primitives/base/tooltip.js +116 -0
- package/dist/components/animate-ui/primitives/effects/auto-height.js +1 -1
- package/dist/components/animate-ui/primitives/effects/highlight.js +2 -2
- package/dist/components/animate-ui/primitives/texts/counting-number.js +78 -0
- package/dist/components/ui/accordion.d.ts +9 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion.js +1 -0
- package/dist/components/ui/alert-dialog.d.ts +8 -20
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.js +1 -99
- package/dist/components/ui/auto-height.d.ts +9 -0
- package/dist/components/ui/auto-height.d.ts.map +1 -0
- package/dist/components/ui/auto-height.js +1 -0
- package/dist/components/ui/badge/badge.styles.d.ts +1 -1
- package/dist/components/ui/button/button.js +1 -1
- package/dist/components/ui/button/button.styles.d.ts +2 -2
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/checkbox.d.ts +9 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +1 -0
- package/dist/components/ui/corner-bracket.d.ts +34 -0
- package/dist/components/ui/corner-bracket.d.ts.map +1 -0
- package/dist/components/ui/{devenv-bracket.js → corner-bracket.js} +13 -9
- package/dist/components/ui/counting-number.d.ts +9 -0
- package/dist/components/ui/counting-number.d.ts.map +1 -0
- package/dist/components/ui/counting-number.js +1 -0
- package/dist/components/ui/dialog.d.ts +9 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +1 -0
- package/dist/components/ui/field.js +1 -1
- package/dist/components/ui/highlight.d.ts +9 -0
- package/dist/components/ui/highlight.d.ts.map +1 -0
- package/dist/components/ui/highlight.js +1 -0
- package/dist/components/ui/index.d.ts +14 -3
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +32 -9
- package/dist/components/ui/input-group.js +1 -1
- package/dist/components/ui/menu.d.ts +9 -0
- package/dist/components/ui/menu.d.ts.map +1 -0
- package/dist/components/ui/menu.js +1 -0
- package/dist/components/ui/popover.d.ts +9 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +1 -0
- package/dist/components/ui/progress.d.ts +9 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/progress.js +1 -0
- package/dist/components/ui/slot.d.ts +9 -0
- package/dist/components/ui/slot.d.ts.map +1 -0
- package/dist/components/ui/slot.js +1 -0
- package/dist/components/ui/tooltip.d.ts +9 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +1 -0
- package/dist/hooks/index.d.ts +10 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/use-data-state.js +42 -0
- package/dist/hooks/use-is-in-view.js +20 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -7
- package/package.json +4 -8
- package/src/components/ui/accordion.tsx +9 -0
- package/src/components/ui/alert-dialog.tsx +9 -177
- package/src/components/ui/auto-height.tsx +9 -0
- package/src/components/ui/checkbox.tsx +9 -0
- package/src/components/ui/{devenv-bracket.tsx → corner-bracket.tsx} +12 -8
- package/src/components/ui/counting-number.tsx +9 -0
- package/src/components/ui/dialog.tsx +9 -0
- package/src/components/ui/highlight.tsx +9 -0
- package/src/components/ui/index.ts +20 -5
- package/src/components/ui/menu.tsx +9 -0
- package/src/components/ui/popover.tsx +9 -0
- package/src/components/ui/progress.tsx +9 -0
- package/src/components/ui/slot.tsx +9 -0
- package/src/components/ui/tooltip.tsx +9 -0
- package/src/hooks/index.ts +10 -0
- package/src/index.ts +6 -3
- package/dist/components/ui/devenv-bracket.d.ts +0 -30
- package/dist/components/ui/devenv-bracket.d.ts.map +0 -1
- /package/dist/components/ui/morphing-popover/{morphing-popover.module-yxDDcJHZ.css → morphing-popover.module-CE9GIgKo.css} +0 -0
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { useAutoHeight } from "../../../../hooks/use-auto-height.js";
|
|
4
4
|
import { Slot } from "../animate/slot.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
6
|
import { motion } from "motion/react";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region src/components/animate-ui/primitives/effects/auto-height.tsx
|
|
10
10
|
function AutoHeight({ children, deps = [], transition = {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { cn } from "../../../../lib/utils.js";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
import { AnimatePresence, motion } from "motion/react";
|
|
6
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/components/animate-ui/primitives/effects/highlight.tsx
|
|
9
9
|
const DEFAULT_BOUNDS_OFFSET = {
|
|
@@ -353,4 +353,4 @@ function HighlightItem({ ref, as, children, id, value, className, style, transit
|
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
//#endregion
|
|
356
|
-
export { Highlight, HighlightItem };
|
|
356
|
+
export { Highlight, HighlightItem, useHighlight };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { useIsInView } from "../../../../hooks/use-is-in-view.js";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { useMotionValue, useSpring } from "motion/react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/animate-ui/primitives/texts/counting-number.tsx
|
|
9
|
+
function CountingNumber({ ref, number, fromNumber = 0, padStart = false, inView = false, inViewMargin = "0px", inViewOnce = true, decimalSeparator = ".", transition = {
|
|
10
|
+
stiffness: 90,
|
|
11
|
+
damping: 50
|
|
12
|
+
}, decimalPlaces = 0, delay = 0, initiallyStable = false, ...props }) {
|
|
13
|
+
const { ref: localRef, isInView } = useIsInView(ref, {
|
|
14
|
+
inView,
|
|
15
|
+
inViewOnce,
|
|
16
|
+
inViewMargin
|
|
17
|
+
});
|
|
18
|
+
const numberStr = number.toString();
|
|
19
|
+
const decimals = typeof decimalPlaces === "number" ? decimalPlaces : numberStr.includes(".") ? numberStr.split(".")[1]?.length ?? 0 : 0;
|
|
20
|
+
const motionVal = useMotionValue(initiallyStable ? number : fromNumber);
|
|
21
|
+
const springVal = useSpring(motionVal, transition);
|
|
22
|
+
React.useEffect(() => {
|
|
23
|
+
const timeoutId = setTimeout(() => {
|
|
24
|
+
if (isInView) motionVal.set(number);
|
|
25
|
+
}, delay);
|
|
26
|
+
return () => clearTimeout(timeoutId);
|
|
27
|
+
}, [
|
|
28
|
+
isInView,
|
|
29
|
+
number,
|
|
30
|
+
motionVal,
|
|
31
|
+
delay
|
|
32
|
+
]);
|
|
33
|
+
React.useEffect(() => {
|
|
34
|
+
const unsubscribe = springVal.on("change", (latest) => {
|
|
35
|
+
if (localRef.current) {
|
|
36
|
+
let formatted = decimals > 0 ? latest.toFixed(decimals) : Math.round(latest).toString();
|
|
37
|
+
if (decimals > 0) formatted = formatted.replace(".", decimalSeparator);
|
|
38
|
+
if (padStart) {
|
|
39
|
+
const finalIntLength = Math.floor(Math.abs(number)).toString().length;
|
|
40
|
+
const [intPart, fracPart] = formatted.split(decimalSeparator);
|
|
41
|
+
const paddedInt = intPart?.padStart(finalIntLength, "0") ?? "";
|
|
42
|
+
formatted = fracPart ? `${paddedInt}${decimalSeparator}${fracPart}` : paddedInt;
|
|
43
|
+
}
|
|
44
|
+
localRef.current.textContent = formatted;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
return () => unsubscribe();
|
|
48
|
+
}, [
|
|
49
|
+
springVal,
|
|
50
|
+
decimals,
|
|
51
|
+
padStart,
|
|
52
|
+
number,
|
|
53
|
+
decimalSeparator,
|
|
54
|
+
localRef
|
|
55
|
+
]);
|
|
56
|
+
const finalIntLength = Math.floor(Math.abs(number)).toString().length;
|
|
57
|
+
const formatValue = (val) => {
|
|
58
|
+
let out = decimals > 0 ? val.toFixed(decimals) : Math.round(val).toString();
|
|
59
|
+
if (decimals > 0) out = out.replace(".", decimalSeparator);
|
|
60
|
+
if (padStart) {
|
|
61
|
+
const [intPart, fracPart] = out.split(decimalSeparator);
|
|
62
|
+
const paddedInt = (intPart ?? "").padStart(finalIntLength, "0");
|
|
63
|
+
out = fracPart ? `${paddedInt}${decimalSeparator}${fracPart}` : paddedInt;
|
|
64
|
+
}
|
|
65
|
+
return out;
|
|
66
|
+
};
|
|
67
|
+
const zeroText = padStart ? "0".padStart(finalIntLength, "0") + (decimals > 0 ? decimalSeparator + "0".repeat(decimals) : "") : "0" + (decimals > 0 ? decimalSeparator + "0".repeat(decimals) : "");
|
|
68
|
+
const initialText = initiallyStable ? formatValue(number) : zeroText;
|
|
69
|
+
return /* @__PURE__ */ jsx("span", {
|
|
70
|
+
ref: localRef,
|
|
71
|
+
"data-slot": "counting-number",
|
|
72
|
+
...props,
|
|
73
|
+
children: initialText
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
//#endregion
|
|
78
|
+
export { CountingNumber };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Accordion component - Animate UI primitive re-export.
|
|
3
|
+
*
|
|
4
|
+
* Animated accordion with smooth expand/collapse transitions.
|
|
5
|
+
*
|
|
6
|
+
* @module @mks2508/mks-ui/components/ui/accordion
|
|
7
|
+
*/
|
|
8
|
+
export * from '../../components/animate-ui/primitives/base/accordion';
|
|
9
|
+
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/components/ui/accordion.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,mDAAmD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Accordion, AccordionHeader, AccordionItem, AccordionPanel, AccordionTrigger, useAccordionItem } from "../animate-ui/primitives/base/accordion.js";
|
|
@@ -1,21 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
size?: "default" | "sm";
|
|
10
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare function AlertDialogMedia({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
declare function AlertDialogCancel({ className, variant, children, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Close> & {
|
|
18
|
-
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | "success" | "warning";
|
|
19
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
|
|
1
|
+
/**
|
|
2
|
+
* AlertDialog component - Animate UI primitive re-export.
|
|
3
|
+
*
|
|
4
|
+
* Animated alert dialog with backdrop and motion transitions.
|
|
5
|
+
*
|
|
6
|
+
* @module @mks2508/mks-ui/components/ui/alert-dialog
|
|
7
|
+
*/
|
|
8
|
+
export * from '../../components/animate-ui/primitives/base/alert-dialog';
|
|
21
9
|
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/alert-dialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/alert-dialog.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sDAAsD,CAAC"}
|
|
@@ -1,99 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { cn } from "../../lib/utils.js";
|
|
4
|
-
import { Button } from "./button/button.js";
|
|
5
|
-
import "./button/index.js";
|
|
6
|
-
import "react";
|
|
7
|
-
import { AlertDialog } from "@base-ui/react/alert-dialog";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
|
|
10
|
-
//#region src/components/ui/alert-dialog.tsx
|
|
11
|
-
function AlertDialog$1({ ...props }) {
|
|
12
|
-
return /* @__PURE__ */ jsx(AlertDialog.Root, {
|
|
13
|
-
"data-slot": "alert-dialog",
|
|
14
|
-
...props
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
function AlertDialogTrigger({ ...props }) {
|
|
18
|
-
return /* @__PURE__ */ jsx(AlertDialog.Trigger, {
|
|
19
|
-
"data-slot": "alert-dialog-trigger",
|
|
20
|
-
...props
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
function AlertDialogPortal({ ...props }) {
|
|
24
|
-
return /* @__PURE__ */ jsx(AlertDialog.Portal, {
|
|
25
|
-
"data-slot": "alert-dialog-portal",
|
|
26
|
-
...props
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
function AlertDialogOverlay({ className, ...props }) {
|
|
30
|
-
return /* @__PURE__ */ jsx(AlertDialog.Backdrop, {
|
|
31
|
-
"data-slot": "alert-dialog-overlay",
|
|
32
|
-
className: cn("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50", className),
|
|
33
|
-
...props
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
function AlertDialogContent({ className, size = "default", ...props }) {
|
|
37
|
-
return /* @__PURE__ */ jsxs(AlertDialogPortal, { children: [/* @__PURE__ */ jsx(AlertDialogOverlay, {}), /* @__PURE__ */ jsx(AlertDialog.Popup, {
|
|
38
|
-
"data-slot": "alert-dialog-content",
|
|
39
|
-
"data-size": size,
|
|
40
|
-
className: cn("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 gap-4 rounded-xl p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 outline-none", className),
|
|
41
|
-
...props
|
|
42
|
-
})] });
|
|
43
|
-
}
|
|
44
|
-
function AlertDialogHeader({ className, ...props }) {
|
|
45
|
-
return /* @__PURE__ */ jsx("div", {
|
|
46
|
-
"data-slot": "alert-dialog-header",
|
|
47
|
-
className: cn("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", className),
|
|
48
|
-
...props
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
function AlertDialogFooter({ className, ...props }) {
|
|
52
|
-
return /* @__PURE__ */ jsx("div", {
|
|
53
|
-
"data-slot": "alert-dialog-footer",
|
|
54
|
-
className: cn("bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", className),
|
|
55
|
-
...props
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
function AlertDialogMedia({ className, ...props }) {
|
|
59
|
-
return /* @__PURE__ */ jsx("div", {
|
|
60
|
-
"data-slot": "alert-dialog-media",
|
|
61
|
-
className: cn("bg-muted mb-2 inline-flex size-10 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6", className),
|
|
62
|
-
...props
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function AlertDialogTitle({ className, ...props }) {
|
|
66
|
-
return /* @__PURE__ */ jsx(AlertDialog.Title, {
|
|
67
|
-
"data-slot": "alert-dialog-title",
|
|
68
|
-
className: cn("text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", className),
|
|
69
|
-
...props
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
function AlertDialogDescription({ className, ...props }) {
|
|
73
|
-
return /* @__PURE__ */ jsx(AlertDialog.Description, {
|
|
74
|
-
"data-slot": "alert-dialog-description",
|
|
75
|
-
className: cn("text-muted-foreground *:[a]:hover:text-foreground text-sm text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", className),
|
|
76
|
-
...props
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
function AlertDialogAction({ className, ...props }) {
|
|
80
|
-
return /* @__PURE__ */ jsx(Button, {
|
|
81
|
-
"data-slot": "alert-dialog-action",
|
|
82
|
-
className: cn(className),
|
|
83
|
-
...props
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
function AlertDialogCancel({ className, variant = "outline", children, ...props }) {
|
|
87
|
-
return /* @__PURE__ */ jsx(AlertDialog.Close, {
|
|
88
|
-
"data-slot": "alert-dialog-cancel",
|
|
89
|
-
className: cn(className),
|
|
90
|
-
...props,
|
|
91
|
-
children: /* @__PURE__ */ jsx(Button, {
|
|
92
|
-
variant,
|
|
93
|
-
children: children || "Cancel"
|
|
94
|
-
})
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
//#endregion
|
|
99
|
-
export { AlertDialog$1 as AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
1
|
+
import { AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, useAlertDialog } from "../animate-ui/primitives/base/alert-dialog.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AutoHeight effect - Animate UI primitive re-export.
|
|
3
|
+
*
|
|
4
|
+
* Smooth height auto-resize animation for dynamic content.
|
|
5
|
+
*
|
|
6
|
+
* @module @mks2508/mks-ui/components/ui/auto-height
|
|
7
|
+
*/
|
|
8
|
+
export * from '../../components/animate-ui/primitives/effects/auto-height';
|
|
9
|
+
//# sourceMappingURL=auto-height.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auto-height.d.ts","sourceRoot":"","sources":["../../../src/components/ui/auto-height.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,wDAAwD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { AutoHeight } from "../animate-ui/primitives/effects/auto-height.js";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see {@link https://cva.style/docs/getting-started/variants}
|
|
9
9
|
*/
|
|
10
10
|
export declare const badgeVariants: (props?: ({
|
|
11
|
-
variant?: "
|
|
11
|
+
variant?: "outline" | "default" | "secondary" | "destructive" | null | undefined;
|
|
12
12
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
14
|
/**
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { cn } from "../../../lib/utils.js";
|
|
4
4
|
import { buttonStateStyles, buttonVariants } from "./button.styles.js";
|
|
5
5
|
import * as React from "react";
|
|
6
|
-
import { Button } from "@base-ui/react/button";
|
|
7
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { Button } from "@base-ui/react/button";
|
|
8
8
|
|
|
9
9
|
//#region src/components/ui/button/button.tsx
|
|
10
10
|
/**
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @see {@link https://cva.style/docs/getting-started/variants}
|
|
9
9
|
*/
|
|
10
10
|
export declare const buttonVariants: (props?: ({
|
|
11
|
-
variant?: "
|
|
12
|
-
size?: "default" | "
|
|
11
|
+
variant?: "link" | "outline" | "default" | "secondary" | "destructive" | "ghost" | "success" | "warning" | null | undefined;
|
|
12
|
+
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
14
|
/**
|
|
15
15
|
* Estilos estáticos para el componente Button.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { cva } from "class-variance-authority";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/card.tsx
|
|
7
7
|
const cardVariants = cva("flex flex-col gap-6 rounded-xl border transition-all", {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checkbox component - Animate UI primitive re-export.
|
|
3
|
+
*
|
|
4
|
+
* Animated checkbox with indicator transition.
|
|
5
|
+
*
|
|
6
|
+
* @module @mks2508/mks-ui/components/ui/checkbox
|
|
7
|
+
*/
|
|
8
|
+
export * from '../../components/animate-ui/primitives/base/checkbox';
|
|
9
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,kDAAkD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Checkbox, CheckboxIndicator, useCheckbox } from "../animate-ui/primitives/base/checkbox.js";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Corner Bracket Component
|
|
3
|
+
*
|
|
4
|
+
* Corner bracket decoration for industrial/technical styling.
|
|
5
|
+
*
|
|
6
|
+
* @module @mks2508/mks-ui/components/ui
|
|
7
|
+
*/
|
|
8
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
9
|
+
declare const bracketVariants: (props?: ({
|
|
10
|
+
position?: "br" | "tr" | "tl" | "bl" | null | undefined;
|
|
11
|
+
variant?: "default" | "accent" | null | undefined;
|
|
12
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
|
+
export interface ICornerBracketProps extends Omit<React.SVGProps<SVGSVGElement>, 'variant'>, VariantProps<typeof bracketVariants> {
|
|
14
|
+
size?: number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Corner bracket decoration for industrial/technical UI styling.
|
|
18
|
+
*
|
|
19
|
+
* @param position - Corner position: 'tl' (top-left), 'tr' (top-right), 'bl' (bottom-left), 'br' (bottom-right)
|
|
20
|
+
* @param variant - Visual style: 'default' or 'accent'
|
|
21
|
+
* @param size - Bracket size in pixels (default: 20)
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* <div className="relative p-4">
|
|
26
|
+
* <CornerBracket position="tl" />
|
|
27
|
+
* <CornerBracket position="br" />
|
|
28
|
+
* Content here
|
|
29
|
+
* </div>
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare function CornerBracket({ className, position, variant, size, ...props }: ICornerBracketProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=corner-bracket.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"corner-bracket.d.ts","sourceRoot":"","sources":["../../../src/components/ui/corner-bracket.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,eAAe;;;8EAmBpB,CAAC;AAEF,MAAM,WAAW,mBAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,SAAS,CAAC,EACrD,YAAY,CAAC,OAAO,eAAe,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AASD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,aAAa,CAAC,EAC7B,SAAS,EACT,QAAQ,EACR,OAAO,EACP,IAAS,EACT,GAAG,KAAK,EACR,EAAE,mBAAmB,2CAiBrB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.js";
|
|
2
|
-
import { cva } from "class-variance-authority";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
4
|
|
|
5
|
-
//#region src/components/ui/
|
|
5
|
+
//#region src/components/ui/corner-bracket.tsx
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Corner Bracket Component
|
|
8
8
|
*
|
|
9
|
-
* Corner bracket decoration for
|
|
9
|
+
* Corner bracket decoration for industrial/technical styling.
|
|
10
10
|
*
|
|
11
11
|
* @module @mks2508/mks-ui/components/ui
|
|
12
12
|
*/
|
|
@@ -32,18 +32,22 @@ const PATHS = {
|
|
|
32
32
|
br: "M 20 0 L 5 0 A 5 5 0 0 0 0 5 L 0 20"
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Corner bracket decoration for industrial/technical UI styling.
|
|
36
|
+
*
|
|
37
|
+
* @param position - Corner position: 'tl' (top-left), 'tr' (top-right), 'bl' (bottom-left), 'br' (bottom-right)
|
|
38
|
+
* @param variant - Visual style: 'default' or 'accent'
|
|
39
|
+
* @param size - Bracket size in pixels (default: 20)
|
|
36
40
|
*
|
|
37
41
|
* @example
|
|
38
42
|
* ```tsx
|
|
39
43
|
* <div className="relative p-4">
|
|
40
|
-
* <
|
|
41
|
-
* <
|
|
44
|
+
* <CornerBracket position="tl" />
|
|
45
|
+
* <CornerBracket position="br" />
|
|
42
46
|
* Content here
|
|
43
47
|
* </div>
|
|
44
48
|
* ```
|
|
45
49
|
*/
|
|
46
|
-
function
|
|
50
|
+
function CornerBracket({ className, position, variant, size = 20, ...props }) {
|
|
47
51
|
return /* @__PURE__ */ jsx("svg", {
|
|
48
52
|
width: size,
|
|
49
53
|
height: size,
|
|
@@ -63,4 +67,4 @@ function DevEnvBracket({ className, position, variant, size = 20, ...props }) {
|
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
//#endregion
|
|
66
|
-
export {
|
|
70
|
+
export { CornerBracket };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CountingNumber component - Animate UI primitive re-export.
|
|
3
|
+
*
|
|
4
|
+
* Animated number display with counting/interpolation effect.
|
|
5
|
+
*
|
|
6
|
+
* @module @mks2508/mks-ui/components/ui/counting-number
|
|
7
|
+
*/
|
|
8
|
+
export * from '../../components/animate-ui/primitives/texts/counting-number';
|
|
9
|
+
//# sourceMappingURL=counting-number.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"counting-number.d.ts","sourceRoot":"","sources":["../../../src/components/ui/counting-number.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,0DAA0D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { CountingNumber } from "../animate-ui/primitives/texts/counting-number.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dialog component - Animate UI primitive re-export.
|
|
3
|
+
*
|
|
4
|
+
* Animated modal dialog with backdrop and motion transitions.
|
|
5
|
+
*
|
|
6
|
+
* @module @mks2508/mks-ui/components/ui/dialog
|
|
7
|
+
*/
|
|
8
|
+
export * from '../../components/animate-ui/primitives/base/dialog';
|
|
9
|
+
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dialog.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gDAAgD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Dialog, DialogBackdrop, DialogClose, DialogDescription, DialogFooter, DialogHeader, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, useDialog } from "../animate-ui/primitives/base/dialog.js";
|
|
@@ -4,8 +4,8 @@ import { cn } from "../../lib/utils.js";
|
|
|
4
4
|
import { Label } from "./label.js";
|
|
5
5
|
import { Separator } from "./separator.js";
|
|
6
6
|
import { useMemo } from "react";
|
|
7
|
-
import { cva } from "class-variance-authority";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { cva } from "class-variance-authority";
|
|
9
9
|
|
|
10
10
|
//#region src/components/ui/field.tsx
|
|
11
11
|
function FieldSet({ className, ...props }) {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Highlight effect - Animate UI primitive re-export.
|
|
3
|
+
*
|
|
4
|
+
* Animated highlight effect used by tabs, menus, and other interactive components.
|
|
5
|
+
*
|
|
6
|
+
* @module @mks2508/mks-ui/components/ui/highlight
|
|
7
|
+
*/
|
|
8
|
+
export * from '../../components/animate-ui/primitives/effects/highlight';
|
|
9
|
+
//# sourceMappingURL=highlight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../src/components/ui/highlight.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sDAAsD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Highlight, HighlightItem, useHighlight } from "../animate-ui/primitives/effects/highlight.js";
|
|
@@ -5,7 +5,20 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @module @mks2508/mks-ui/components/ui
|
|
7
7
|
*/
|
|
8
|
+
export * from './accordion';
|
|
8
9
|
export * from './alert-dialog';
|
|
10
|
+
export * from './checkbox';
|
|
11
|
+
export * from './dialog';
|
|
12
|
+
export * from './menu';
|
|
13
|
+
export * from './popover';
|
|
14
|
+
export * from './progress';
|
|
15
|
+
export * from './switch';
|
|
16
|
+
export * from './tabs';
|
|
17
|
+
export * from './tooltip';
|
|
18
|
+
export * from './auto-height';
|
|
19
|
+
export * from './counting-number';
|
|
20
|
+
export * from './highlight';
|
|
21
|
+
export * from './slot';
|
|
9
22
|
export * from './badge';
|
|
10
23
|
export * from './button';
|
|
11
24
|
export * from './card';
|
|
@@ -17,9 +30,7 @@ export * from './input';
|
|
|
17
30
|
export * from './label';
|
|
18
31
|
export * from './select';
|
|
19
32
|
export * from './separator';
|
|
20
|
-
export * from './switch';
|
|
21
|
-
export * from './tabs';
|
|
22
33
|
export * from './textarea';
|
|
23
|
-
export * from './
|
|
34
|
+
export * from './corner-bracket';
|
|
24
35
|
export * from './morphing-popover';
|
|
25
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAG1B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AAGvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAG3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,10 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import "
|
|
4
|
-
import
|
|
1
|
+
import { Accordion, AccordionHeader, AccordionItem, AccordionPanel, AccordionTrigger, useAccordionItem } from "../animate-ui/primitives/base/accordion.js";
|
|
2
|
+
import "./accordion.js";
|
|
3
|
+
import { AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, useAlertDialog } from "../animate-ui/primitives/base/alert-dialog.js";
|
|
4
|
+
import "./alert-dialog.js";
|
|
5
|
+
import { Checkbox, CheckboxIndicator, useCheckbox } from "../animate-ui/primitives/base/checkbox.js";
|
|
6
|
+
import "./checkbox.js";
|
|
7
|
+
import { Dialog, DialogBackdrop, DialogClose, DialogDescription, DialogFooter, DialogHeader, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, useDialog } from "../animate-ui/primitives/base/dialog.js";
|
|
8
|
+
import "./dialog.js";
|
|
9
|
+
import { Highlight, HighlightItem, useHighlight } from "../animate-ui/primitives/effects/highlight.js";
|
|
10
|
+
import { Menu, MenuArrow, MenuCheckboxItem, MenuCheckboxItemIndicator, MenuGroup, MenuGroupLabel, MenuHighlight, MenuHighlightItem, MenuItem, MenuPopup, MenuPortal, MenuPositioner, MenuRadioGroup, MenuRadioItem, MenuRadioItemIndicator, MenuSeparator, MenuShortcut, MenuSubmenu, MenuSubmenuTrigger, MenuTrigger, useMenu, useMenuActiveValue } from "../animate-ui/primitives/base/menu.js";
|
|
11
|
+
import "./menu.js";
|
|
12
|
+
import { Popover, PopoverArrow, PopoverBackdrop, PopoverClose, PopoverDescription, PopoverPopup, PopoverPortal, PopoverPositioner, PopoverTitle, PopoverTrigger, usePopover } from "../animate-ui/primitives/base/popover.js";
|
|
13
|
+
import "./popover.js";
|
|
14
|
+
import { CountingNumber } from "../animate-ui/primitives/texts/counting-number.js";
|
|
15
|
+
import { Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, useProgress } from "../animate-ui/primitives/base/progress.js";
|
|
16
|
+
import "./progress.js";
|
|
17
|
+
import { Switch, SwitchIcon, SwitchThumb, useSwitch } from "../animate-ui/primitives/base/switch.js";
|
|
18
|
+
import "./switch.js";
|
|
19
|
+
import { Slot } from "../animate-ui/primitives/animate/slot.js";
|
|
20
|
+
import { AutoHeight } from "../animate-ui/primitives/effects/auto-height.js";
|
|
21
|
+
import { Tabs, TabsHighlight, TabsHighlightItem, TabsList, TabsPanel, TabsPanels, TabsTab } from "../animate-ui/primitives/base/tabs.js";
|
|
22
|
+
import "./tabs.js";
|
|
23
|
+
import { Tooltip, TooltipArrow, TooltipPopup, TooltipPortal, TooltipPositioner, TooltipProvider, TooltipTrigger, useTooltip } from "../animate-ui/primitives/base/tooltip.js";
|
|
24
|
+
import "./tooltip.js";
|
|
25
|
+
import "./auto-height.js";
|
|
26
|
+
import "./counting-number.js";
|
|
27
|
+
import "./highlight.js";
|
|
28
|
+
import "./slot.js";
|
|
5
29
|
import { badgeVariants } from "./badge/badge.styles.js";
|
|
6
30
|
import { Badge } from "./badge/badge.js";
|
|
7
31
|
import "./badge/index.js";
|
|
32
|
+
import { buttonStateStyles, buttonVariants } from "./button/button.styles.js";
|
|
33
|
+
import { Button } from "./button/button.js";
|
|
34
|
+
import "./button/index.js";
|
|
8
35
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, cardVariants } from "./card.js";
|
|
9
36
|
import { Input } from "./input.js";
|
|
10
37
|
import { Textarea } from "./textarea.js";
|
|
@@ -15,10 +42,6 @@ import { Label } from "./label.js";
|
|
|
15
42
|
import { Separator } from "./separator.js";
|
|
16
43
|
import { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from "./field.js";
|
|
17
44
|
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./select.js";
|
|
18
|
-
import {
|
|
19
|
-
import "./switch.js";
|
|
20
|
-
import { Tabs, TabsHighlight, TabsHighlightItem, TabsList, TabsPanel, TabsPanels, TabsTab } from "../animate-ui/primitives/base/tabs.js";
|
|
21
|
-
import "./tabs.js";
|
|
22
|
-
import { DevEnvBracket } from "./devenv-bracket.js";
|
|
45
|
+
import { CornerBracket } from "./corner-bracket.js";
|
|
23
46
|
import { MorphingPopover, MorphingPopoverWithTarget } from "./morphing-popover/morphing-popover.js";
|
|
24
47
|
import "./morphing-popover/index.js";
|
|
@@ -4,8 +4,8 @@ import "./button/index.js";
|
|
|
4
4
|
import { Input } from "./input.js";
|
|
5
5
|
import { Textarea } from "./textarea.js";
|
|
6
6
|
import "react";
|
|
7
|
-
import { cva } from "class-variance-authority";
|
|
8
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
import { cva } from "class-variance-authority";
|
|
9
9
|
|
|
10
10
|
//#region src/components/ui/input-group.tsx
|
|
11
11
|
function InputGroup({ className, ...props }) {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Menu component - Animate UI primitive re-export.
|
|
3
|
+
*
|
|
4
|
+
* Animated context/trigger menu with motion transitions and highlight effects.
|
|
5
|
+
*
|
|
6
|
+
* @module @mks2508/mks-ui/components/ui/menu
|
|
7
|
+
*/
|
|
8
|
+
export * from '../../components/animate-ui/primitives/base/menu';
|
|
9
|
+
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/menu.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,8CAA8C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Menu, MenuArrow, MenuCheckboxItem, MenuCheckboxItemIndicator, MenuGroup, MenuGroupLabel, MenuHighlight, MenuHighlightItem, MenuItem, MenuPopup, MenuPortal, MenuPositioner, MenuRadioGroup, MenuRadioItem, MenuRadioItemIndicator, MenuSeparator, MenuShortcut, MenuSubmenu, MenuSubmenuTrigger, MenuTrigger, useMenu, useMenuActiveValue } from "../animate-ui/primitives/base/menu.js";
|