@abumble/design-system 0.0.6 → 0.0.8
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/assets/crane.svg.js +5 -0
- package/dist/assets/crane.svg.js.map +1 -0
- package/dist/components/Banner/Banner.d.ts +22 -0
- package/dist/components/Banner/Banner.d.ts.map +1 -0
- package/dist/components/Banner/Banner.js +76 -0
- package/dist/components/Banner/Banner.js.map +1 -0
- package/dist/components/Banner/index.d.ts +2 -0
- package/dist/components/Banner/index.d.ts.map +1 -0
- package/dist/components/Banner.js +7 -0
- package/dist/components/Banner.js.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +12 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +104 -0
- package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/components/Breadcrumb/index.d.ts +2 -0
- package/dist/components/Breadcrumb/index.d.ts.map +1 -0
- package/dist/components/Breadcrumb.js +11 -0
- package/dist/components/Breadcrumb.js.map +1 -0
- package/dist/{src/components → components}/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/Button.js +53 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Button.js +6 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/Card/Card.d.ts +10 -0
- package/dist/components/Card/Card.d.ts.map +1 -0
- package/dist/components/Card/Card.js +89 -0
- package/dist/components/Card/Card.js.map +1 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Card/index.d.ts.map +1 -0
- package/dist/components/Card.js +11 -0
- package/dist/components/Card.js.map +1 -0
- package/dist/components/Carousel/Carousel.d.ts +20 -0
- package/dist/components/Carousel/Carousel.d.ts.map +1 -0
- package/dist/components/Carousel/Carousel.js +178 -0
- package/dist/components/Carousel/Carousel.js.map +1 -0
- package/dist/components/Carousel/index.d.ts +2 -0
- package/dist/components/Carousel/index.d.ts.map +1 -0
- package/dist/components/Carousel.js +9 -0
- package/dist/components/Carousel.js.map +1 -0
- package/dist/components/CodeDisplay/CodeDisplay.d.ts +15 -0
- package/dist/components/CodeDisplay/CodeDisplay.d.ts.map +1 -0
- package/dist/components/CodeDisplay/CodeDisplay.js +22 -0
- package/dist/components/CodeDisplay/CodeDisplay.js.map +1 -0
- package/dist/components/CodeDisplay/index.d.ts +2 -0
- package/dist/components/CodeDisplay/index.d.ts.map +1 -0
- package/dist/components/CodeDisplay.js +5 -0
- package/dist/components/CodeDisplay.js.map +1 -0
- package/dist/components/Collapsible/Collapsible.d.ts +6 -0
- package/dist/components/Collapsible/Collapsible.d.ts.map +1 -0
- package/dist/components/Collapsible/Collapsible.js +35 -0
- package/dist/components/Collapsible/Collapsible.js.map +1 -0
- package/dist/components/Collapsible/index.d.ts +2 -0
- package/dist/components/Collapsible/index.d.ts.map +1 -0
- package/dist/components/Collapsible.js +7 -0
- package/dist/components/Collapsible.js.map +1 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts +26 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -0
- package/dist/components/ContextMenu/ContextMenu.js +225 -0
- package/dist/components/ContextMenu/ContextMenu.js.map +1 -0
- package/dist/components/ContextMenu/index.d.ts +2 -0
- package/dist/components/ContextMenu/index.d.ts.map +1 -0
- package/dist/components/ContextMenu.js +19 -0
- package/dist/components/ContextMenu.js.map +1 -0
- package/dist/components/Empty/Empty.d.ts +12 -0
- package/dist/components/Empty/Empty.d.ts.map +1 -0
- package/dist/components/Empty/Empty.js +103 -0
- package/dist/components/Empty/Empty.js.map +1 -0
- package/dist/components/Empty/index.d.ts +2 -0
- package/dist/components/Empty/index.d.ts.map +1 -0
- package/dist/components/Empty.js +10 -0
- package/dist/components/Empty.js.map +1 -0
- package/dist/components/Input/Input.d.ts +4 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Input/Input.js +23 -0
- package/dist/components/Input/Input.js.map +1 -0
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/Input/index.d.ts.map +1 -0
- package/dist/components/Input.js +5 -0
- package/dist/components/Input.js.map +1 -0
- package/dist/components/List/List.d.ts +12 -0
- package/dist/components/List/List.d.ts.map +1 -0
- package/dist/components/List/List.js +64 -0
- package/dist/components/List/List.js.map +1 -0
- package/dist/components/List/index.d.ts +2 -0
- package/dist/components/List/index.d.ts.map +1 -0
- package/dist/components/List.js +7 -0
- package/dist/components/List.js.map +1 -0
- package/dist/components/NotFound/NotFound.d.ts +5 -0
- package/dist/components/NotFound/NotFound.d.ts.map +1 -0
- package/dist/components/NotFound/NotFound.js +17 -0
- package/dist/components/NotFound/NotFound.js.map +1 -0
- package/dist/components/NotFound/index.d.ts +2 -0
- package/dist/components/NotFound/index.d.ts.map +1 -0
- package/dist/components/NotFound.js +5 -0
- package/dist/components/NotFound.js.map +1 -0
- package/dist/components/Popover/Popover.d.ts +8 -0
- package/dist/components/Popover/Popover.d.ts.map +1 -0
- package/dist/components/Popover/Popover.js +46 -0
- package/dist/components/Popover/Popover.js.map +1 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/Popover.js +8 -0
- package/dist/components/Popover.js.map +1 -0
- package/dist/components/Separator/Separator.d.ts +5 -0
- package/dist/components/Separator/Separator.d.ts.map +1 -0
- package/dist/components/Separator/Separator.js +28 -0
- package/dist/components/Separator/Separator.js.map +1 -0
- package/dist/components/Separator/index.d.ts +2 -0
- package/dist/components/Separator/index.d.ts.map +1 -0
- package/dist/components/Separator.js +5 -0
- package/dist/components/Separator.js.map +1 -0
- package/dist/components/Sheet/Sheet.d.ts +14 -0
- package/dist/components/Sheet/Sheet.d.ts.map +1 -0
- package/dist/components/Sheet/Sheet.js +128 -0
- package/dist/components/Sheet/Sheet.js.map +1 -0
- package/dist/components/Sheet/index.d.ts +2 -0
- package/dist/components/Sheet/index.d.ts.map +1 -0
- package/dist/components/Sheet.js +12 -0
- package/dist/components/Sheet.js.map +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +70 -0
- package/dist/components/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/components/Sidebar/Sidebar.js +595 -0
- package/dist/components/Sidebar/Sidebar.js.map +1 -0
- package/dist/components/Sidebar/index.d.ts +2 -0
- package/dist/components/Sidebar/index.d.ts.map +1 -0
- package/dist/components/Sidebar.js +28 -0
- package/dist/components/Sidebar.js.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +7 -0
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.js +31 -0
- package/dist/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/components/Skeleton/index.d.ts +2 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/Skeleton.js +5 -0
- package/dist/components/Skeleton.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.js +57 -0
- package/dist/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/Tooltip.js +8 -0
- package/dist/components/Tooltip.js.map +1 -0
- package/dist/components/UnderConstruction/UnderConstruction.d.ts +4 -0
- package/dist/components/UnderConstruction/UnderConstruction.d.ts.map +1 -0
- package/dist/components/UnderConstruction/UnderConstruction.js +33 -0
- package/dist/components/UnderConstruction/UnderConstruction.js.map +1 -0
- package/dist/components/UnderConstruction/index.d.ts +2 -0
- package/dist/components/UnderConstruction/index.d.ts.map +1 -0
- package/dist/components/UnderConstruction.js +6 -0
- package/dist/components/UnderConstruction.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +15 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/constants.d.ts +2 -0
- package/dist/lib/constants.d.ts.map +1 -0
- package/dist/lib/constants.js +12 -0
- package/dist/lib/constants.js.map +1 -0
- package/dist/lib/types.d.ts +3 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +9 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/main.d.ts.map +1 -0
- package/package.json +134 -20
- package/dist/design-system.es.js +0 -3215
- package/dist/design-system.es.js.map +0 -1
- package/dist/design-system.umd.js +0 -7
- package/dist/design-system.umd.js.map +0 -1
- package/dist/src/components/Button/Button.d.ts.map +0 -1
- package/dist/src/components/Button/index.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -4
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/lib/utils.d.ts.map +0 -1
- package/dist/src/main.d.ts.map +0 -1
- package/dist/tailwind.config.d.ts +0 -25
- package/dist/tailwind.config.d.ts.map +0 -1
- /package/dist/{src/components → components}/Button/index.d.ts +0 -0
- /package/dist/{src/lib → lib}/utils.d.ts +0 -0
- /package/dist/{src/main.d.ts → main.d.ts} +0 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { jsx as a, jsxs as h } from "react/jsx-runtime";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import k from "embla-carousel-react";
|
|
4
|
+
import { ArrowLeft as z, ArrowRight as g } from "lucide-react";
|
|
5
|
+
import { cn as d } from "../../lib/utils.js";
|
|
6
|
+
import { Button as v } from "../Button/Button.js";
|
|
7
|
+
const N = l.createContext(null);
|
|
8
|
+
function m() {
|
|
9
|
+
const o = l.useContext(N);
|
|
10
|
+
if (!o)
|
|
11
|
+
throw new Error("useCarousel must be used within a <Carousel />");
|
|
12
|
+
return o;
|
|
13
|
+
}
|
|
14
|
+
function I({
|
|
15
|
+
orientation: o = "horizontal",
|
|
16
|
+
opts: r,
|
|
17
|
+
setApi: t,
|
|
18
|
+
plugins: s,
|
|
19
|
+
className: c,
|
|
20
|
+
children: i,
|
|
21
|
+
...u
|
|
22
|
+
}) {
|
|
23
|
+
const [p, e] = k(
|
|
24
|
+
{
|
|
25
|
+
...r,
|
|
26
|
+
axis: o === "horizontal" ? "x" : "y"
|
|
27
|
+
},
|
|
28
|
+
s
|
|
29
|
+
), [b, w] = l.useState(!1), [S, y] = l.useState(!1), f = l.useCallback((n) => {
|
|
30
|
+
n && (w(n.canScrollPrev()), y(n.canScrollNext()));
|
|
31
|
+
}, []), x = l.useCallback(() => {
|
|
32
|
+
e?.scrollPrev();
|
|
33
|
+
}, [e]), C = l.useCallback(() => {
|
|
34
|
+
e?.scrollNext();
|
|
35
|
+
}, [e]), P = l.useCallback(
|
|
36
|
+
(n) => {
|
|
37
|
+
n.key === "ArrowLeft" ? (n.preventDefault(), x()) : n.key === "ArrowRight" && (n.preventDefault(), C());
|
|
38
|
+
},
|
|
39
|
+
[x, C]
|
|
40
|
+
);
|
|
41
|
+
return l.useEffect(() => {
|
|
42
|
+
!e || !t || t(e);
|
|
43
|
+
}, [e, t]), l.useEffect(() => {
|
|
44
|
+
if (e)
|
|
45
|
+
return f(e), e.on("reInit", f), e.on("select", f), () => {
|
|
46
|
+
e?.off("select", f);
|
|
47
|
+
};
|
|
48
|
+
}, [e, f]), /* @__PURE__ */ a(
|
|
49
|
+
N.Provider,
|
|
50
|
+
{
|
|
51
|
+
value: {
|
|
52
|
+
carouselRef: p,
|
|
53
|
+
api: e,
|
|
54
|
+
opts: r,
|
|
55
|
+
orientation: o || (r?.axis === "y" ? "vertical" : "horizontal"),
|
|
56
|
+
scrollPrev: x,
|
|
57
|
+
scrollNext: C,
|
|
58
|
+
canScrollPrev: b,
|
|
59
|
+
canScrollNext: S
|
|
60
|
+
},
|
|
61
|
+
children: /* @__PURE__ */ a(
|
|
62
|
+
"div",
|
|
63
|
+
{
|
|
64
|
+
onKeyDownCapture: P,
|
|
65
|
+
className: d("relative", c),
|
|
66
|
+
role: "region",
|
|
67
|
+
"aria-roledescription": "carousel",
|
|
68
|
+
"data-slot": "carousel",
|
|
69
|
+
...u,
|
|
70
|
+
children: i
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
function K({ className: o, ...r }) {
|
|
77
|
+
const { carouselRef: t, orientation: s } = m();
|
|
78
|
+
return /* @__PURE__ */ a(
|
|
79
|
+
"div",
|
|
80
|
+
{
|
|
81
|
+
ref: t,
|
|
82
|
+
className: "overflow-hidden",
|
|
83
|
+
"data-slot": "carousel-content",
|
|
84
|
+
children: /* @__PURE__ */ a(
|
|
85
|
+
"div",
|
|
86
|
+
{
|
|
87
|
+
className: d(
|
|
88
|
+
"flex",
|
|
89
|
+
s === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
|
|
90
|
+
o
|
|
91
|
+
),
|
|
92
|
+
...r
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
function L({ className: o, ...r }) {
|
|
99
|
+
const { orientation: t } = m();
|
|
100
|
+
return /* @__PURE__ */ a(
|
|
101
|
+
"div",
|
|
102
|
+
{
|
|
103
|
+
role: "group",
|
|
104
|
+
"aria-roledescription": "slide",
|
|
105
|
+
"data-slot": "carousel-item",
|
|
106
|
+
className: d(
|
|
107
|
+
"min-w-0 shrink-0 grow-0 basis-full",
|
|
108
|
+
t === "horizontal" ? "pl-4" : "pt-4",
|
|
109
|
+
o
|
|
110
|
+
),
|
|
111
|
+
...r
|
|
112
|
+
}
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
function B({
|
|
116
|
+
className: o,
|
|
117
|
+
variant: r = "outline",
|
|
118
|
+
size: t = "icon",
|
|
119
|
+
...s
|
|
120
|
+
}) {
|
|
121
|
+
const { orientation: c, scrollPrev: i, canScrollPrev: u } = m();
|
|
122
|
+
return /* @__PURE__ */ h(
|
|
123
|
+
v,
|
|
124
|
+
{
|
|
125
|
+
"data-slot": "carousel-previous",
|
|
126
|
+
variant: r,
|
|
127
|
+
size: t,
|
|
128
|
+
className: d(
|
|
129
|
+
"absolute size-8 rounded-full",
|
|
130
|
+
c === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
131
|
+
o
|
|
132
|
+
),
|
|
133
|
+
disabled: !u,
|
|
134
|
+
onClick: i,
|
|
135
|
+
...s,
|
|
136
|
+
children: [
|
|
137
|
+
/* @__PURE__ */ a(z, {}),
|
|
138
|
+
/* @__PURE__ */ a("span", { className: "sr-only", children: "Previous slide" })
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
function q({
|
|
144
|
+
className: o,
|
|
145
|
+
variant: r = "outline",
|
|
146
|
+
size: t = "icon",
|
|
147
|
+
...s
|
|
148
|
+
}) {
|
|
149
|
+
const { orientation: c, scrollNext: i, canScrollNext: u } = m();
|
|
150
|
+
return /* @__PURE__ */ h(
|
|
151
|
+
v,
|
|
152
|
+
{
|
|
153
|
+
"data-slot": "carousel-next",
|
|
154
|
+
variant: r,
|
|
155
|
+
size: t,
|
|
156
|
+
className: d(
|
|
157
|
+
"absolute size-8 rounded-full",
|
|
158
|
+
c === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
159
|
+
o
|
|
160
|
+
),
|
|
161
|
+
disabled: !u,
|
|
162
|
+
onClick: i,
|
|
163
|
+
...s,
|
|
164
|
+
children: [
|
|
165
|
+
/* @__PURE__ */ a(g, {}),
|
|
166
|
+
/* @__PURE__ */ a("span", { className: "sr-only", children: "Next slide" })
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
export {
|
|
172
|
+
I as Carousel,
|
|
173
|
+
K as CarouselContent,
|
|
174
|
+
L as CarouselItem,
|
|
175
|
+
q as CarouselNext,
|
|
176
|
+
B as CarouselPrevious
|
|
177
|
+
};
|
|
178
|
+
//# sourceMappingURL=Carousel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Carousel.js","sources":["../../../src/components/Carousel/Carousel.tsx"],"sourcesContent":["import * as React from \"react\"\nimport useEmblaCarousel, {\n\ttype UseEmblaCarouselType,\n} from \"embla-carousel-react\"\nimport { ArrowLeft, ArrowRight } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"../Button\"\n\ntype CarouselApi = UseEmblaCarouselType[1]\ntype UseCarouselParameters = Parameters<typeof useEmblaCarousel>\ntype CarouselOptions = UseCarouselParameters[0]\ntype CarouselPlugin = UseCarouselParameters[1]\n\ntype CarouselProps = {\n\topts?: CarouselOptions\n\tplugins?: CarouselPlugin\n\torientation?: \"horizontal\" | \"vertical\"\n\tsetApi?: (api: CarouselApi) => void\n}\n\ntype CarouselContextProps = {\n\tcarouselRef: ReturnType<typeof useEmblaCarousel>[0]\n\tapi: ReturnType<typeof useEmblaCarousel>[1]\n\tscrollPrev: () => void\n\tscrollNext: () => void\n\tcanScrollPrev: boolean\n\tcanScrollNext: boolean\n} & CarouselProps\n\nconst CarouselContext = React.createContext<CarouselContextProps | null>(null)\n\nfunction useCarousel() {\n\tconst context = React.useContext(CarouselContext)\n\n\tif (!context) {\n\t\tthrow new Error(\"useCarousel must be used within a <Carousel />\")\n\t}\n\n\treturn context\n}\n\nfunction Carousel({\n\torientation = \"horizontal\",\n\topts,\n\tsetApi,\n\tplugins,\n\tclassName,\n\tchildren,\n\t...props\n}: React.ComponentProps<\"div\"> & CarouselProps) {\n\tconst [carouselRef, api] = useEmblaCarousel(\n\t\t{\n\t\t\t...opts,\n\t\t\taxis: orientation === \"horizontal\" ? \"x\" : \"y\",\n\t\t},\n\t\tplugins\n\t)\n\tconst [canScrollPrev, setCanScrollPrev] = React.useState(false)\n\tconst [canScrollNext, setCanScrollNext] = React.useState(false)\n\n\tconst onSelect = React.useCallback((api: CarouselApi) => {\n\t\tif (!api) return\n\t\tsetCanScrollPrev(api.canScrollPrev())\n\t\tsetCanScrollNext(api.canScrollNext())\n\t}, [])\n\n\tconst scrollPrev = React.useCallback(() => {\n\t\tapi?.scrollPrev()\n\t}, [api])\n\n\tconst scrollNext = React.useCallback(() => {\n\t\tapi?.scrollNext()\n\t}, [api])\n\n\tconst handleKeyDown = React.useCallback(\n\t\t(event: React.KeyboardEvent<HTMLDivElement>) => {\n\t\t\tif (event.key === \"ArrowLeft\") {\n\t\t\t\tevent.preventDefault()\n\t\t\t\tscrollPrev()\n\t\t\t} else if (event.key === \"ArrowRight\") {\n\t\t\t\tevent.preventDefault()\n\t\t\t\tscrollNext()\n\t\t\t}\n\t\t},\n\t\t[scrollPrev, scrollNext]\n\t)\n\n\tReact.useEffect(() => {\n\t\tif (!api || !setApi) return\n\t\tsetApi(api)\n\t}, [api, setApi])\n\n\tReact.useEffect(() => {\n\t\tif (!api) return\n\t\tonSelect(api)\n\t\tapi.on(\"reInit\", onSelect)\n\t\tapi.on(\"select\", onSelect)\n\n\t\treturn () => {\n\t\t\tapi?.off(\"select\", onSelect)\n\t\t}\n\t}, [api, onSelect])\n\n\treturn (\n\t\t<CarouselContext.Provider\n\t\t\tvalue={{\n\t\t\t\tcarouselRef,\n\t\t\t\tapi: api,\n\t\t\t\topts,\n\t\t\t\torientation:\n\t\t\t\t\torientation || (opts?.axis === \"y\" ? \"vertical\" : \"horizontal\"),\n\t\t\t\tscrollPrev,\n\t\t\t\tscrollNext,\n\t\t\t\tcanScrollPrev,\n\t\t\t\tcanScrollNext,\n\t\t\t}}\n\t\t>\n\t\t\t<div\n\t\t\t\tonKeyDownCapture={handleKeyDown}\n\t\t\t\tclassName={cn(\"relative\", className)}\n\t\t\t\trole=\"region\"\n\t\t\t\taria-roledescription=\"carousel\"\n\t\t\t\tdata-slot=\"carousel\"\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t</CarouselContext.Provider>\n\t)\n}\n\nfunction CarouselContent({ className, ...props }: React.ComponentProps<\"div\">) {\n\tconst { carouselRef, orientation } = useCarousel()\n\n\treturn (\n\t\t<div\n\t\t\tref={carouselRef}\n\t\t\tclassName=\"overflow-hidden\"\n\t\t\tdata-slot=\"carousel-content\"\n\t\t>\n\t\t\t<div\n\t\t\t\tclassName={cn(\n\t\t\t\t\t\"flex\",\n\t\t\t\t\torientation === \"horizontal\" ? \"-ml-4\" : \"-mt-4 flex-col\",\n\t\t\t\t\tclassName\n\t\t\t\t)}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t</div>\n\t)\n}\n\nfunction CarouselItem({ className, ...props }: React.ComponentProps<\"div\">) {\n\tconst { orientation } = useCarousel()\n\n\treturn (\n\t\t<div\n\t\t\trole=\"group\"\n\t\t\taria-roledescription=\"slide\"\n\t\t\tdata-slot=\"carousel-item\"\n\t\t\tclassName={cn(\n\t\t\t\t\"min-w-0 shrink-0 grow-0 basis-full\",\n\t\t\t\torientation === \"horizontal\" ? \"pl-4\" : \"pt-4\",\n\t\t\t\tclassName\n\t\t\t)}\n\t\t\t{...props}\n\t\t/>\n\t)\n}\n\nfunction CarouselPrevious({\n\tclassName,\n\tvariant = \"outline\",\n\tsize = \"icon\",\n\t...props\n}: React.ComponentProps<typeof Button>) {\n\tconst { orientation, scrollPrev, canScrollPrev } = useCarousel()\n\n\treturn (\n\t\t<Button\n\t\t\tdata-slot=\"carousel-previous\"\n\t\t\tvariant={variant}\n\t\t\tsize={size}\n\t\t\tclassName={cn(\n\t\t\t\t\"absolute size-8 rounded-full\",\n\t\t\t\torientation === \"horizontal\"\n\t\t\t\t\t? \"top-1/2 -left-12 -translate-y-1/2\"\n\t\t\t\t\t: \"-top-12 left-1/2 -translate-x-1/2 rotate-90\",\n\t\t\t\tclassName\n\t\t\t)}\n\t\t\tdisabled={!canScrollPrev}\n\t\t\tonClick={scrollPrev}\n\t\t\t{...props}\n\t\t>\n\t\t\t<ArrowLeft />\n\t\t\t<span className=\"sr-only\">Previous slide</span>\n\t\t</Button>\n\t)\n}\n\nfunction CarouselNext({\n\tclassName,\n\tvariant = \"outline\",\n\tsize = \"icon\",\n\t...props\n}: React.ComponentProps<typeof Button>) {\n\tconst { orientation, scrollNext, canScrollNext } = useCarousel()\n\n\treturn (\n\t\t<Button\n\t\t\tdata-slot=\"carousel-next\"\n\t\t\tvariant={variant}\n\t\t\tsize={size}\n\t\t\tclassName={cn(\n\t\t\t\t\"absolute size-8 rounded-full\",\n\t\t\t\torientation === \"horizontal\"\n\t\t\t\t\t? \"top-1/2 -right-12 -translate-y-1/2\"\n\t\t\t\t\t: \"-bottom-12 left-1/2 -translate-x-1/2 rotate-90\",\n\t\t\t\tclassName\n\t\t\t)}\n\t\t\tdisabled={!canScrollNext}\n\t\t\tonClick={scrollNext}\n\t\t\t{...props}\n\t\t>\n\t\t\t<ArrowRight />\n\t\t\t<span className=\"sr-only\">Next slide</span>\n\t\t</Button>\n\t)\n}\n\nexport {\n\ttype CarouselApi,\n\tCarousel,\n\tCarouselContent,\n\tCarouselItem,\n\tCarouselPrevious,\n\tCarouselNext,\n}\n"],"names":["CarouselContext","React","useCarousel","context","Carousel","orientation","opts","setApi","plugins","className","children","props","carouselRef","api","useEmblaCarousel","canScrollPrev","setCanScrollPrev","canScrollNext","setCanScrollNext","onSelect","scrollPrev","scrollNext","handleKeyDown","event","jsx","cn","CarouselContent","CarouselItem","CarouselPrevious","variant","size","jsxs","Button","ArrowLeft","CarouselNext","ArrowRight"],"mappings":";;;;;;AA8BA,MAAMA,IAAkBC,EAAM,cAA2C,IAAI;AAE7E,SAASC,IAAc;AACtB,QAAMC,IAAUF,EAAM,WAAWD,CAAe;AAEhD,MAAI,CAACG;AACJ,UAAM,IAAI,MAAM,gDAAgD;AAGjE,SAAOA;AACR;AAEA,SAASC,EAAS;AAAA,E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AK,WAAU,WAAU,UAAA,aAAA,CAAU;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGvC;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/index.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,WAAW,EAChB,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,YAAY,GACZ,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Carousel as r, CarouselContent as s, CarouselItem as u, CarouselNext as C, CarouselPrevious as a } from "./Carousel/Carousel.js";
|
|
2
|
+
export {
|
|
3
|
+
r as Carousel,
|
|
4
|
+
s as CarouselContent,
|
|
5
|
+
u as CarouselItem,
|
|
6
|
+
C as CarouselNext,
|
|
7
|
+
a as CarouselPrevious
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=Carousel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Carousel.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A basic code display component styled with Tailwind CSS.
|
|
3
|
+
* It uses the native <pre> and <code> tags for formatting.
|
|
4
|
+
* @param {string} code The actual code string to display.
|
|
5
|
+
* @param {string} language The language of the code (e.g., 'javascript', 'css').
|
|
6
|
+
* @param {string} title A descriptive title for the code block.
|
|
7
|
+
*/
|
|
8
|
+
interface Props {
|
|
9
|
+
code?: string;
|
|
10
|
+
language?: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
}
|
|
13
|
+
declare function CodeDisplay({ code, language, title, className, children, ...props }: Props & React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export { CodeDisplay };
|
|
15
|
+
//# sourceMappingURL=CodeDisplay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeDisplay.d.ts","sourceRoot":"","sources":["../../../src/components/CodeDisplay/CodeDisplay.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,UAAU,KAAK;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CA2BjH;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { cn as i } from "../../lib/utils.js";
|
|
3
|
+
function l({ code: n, language: r, title: s, className: o, children: c, ...a }) {
|
|
4
|
+
return /* @__PURE__ */ d(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
className: i("bg-background rounded border-container text-sm overflow-hidden my-4", o),
|
|
8
|
+
...a,
|
|
9
|
+
children: [
|
|
10
|
+
(s || r) && /* @__PURE__ */ d("div", { className: "flex justify-between items-center border-b border-stone-300/80 px-4 py-2", children: [
|
|
11
|
+
/* @__PURE__ */ e("span", { className: "text-sm font-medium", children: s }),
|
|
12
|
+
/* @__PURE__ */ e("span", { className: "text-sm", children: r })
|
|
13
|
+
] }),
|
|
14
|
+
/* @__PURE__ */ e("div", { className: "p-4 overflow-auto max-h-256", children: /* @__PURE__ */ e("pre", { className: "m-0 p-0 whitespace-pre-wrap", children: /* @__PURE__ */ e("code", { children: n || c }) }) })
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
l as CodeDisplay
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=CodeDisplay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeDisplay.js","sources":["../../../src/components/CodeDisplay/CodeDisplay.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\";\n\n/**\n * A basic code display component styled with Tailwind CSS.\n * It uses the native <pre> and <code> tags for formatting.\n * @param {string} code The actual code string to display.\n * @param {string} language The language of the code (e.g., 'javascript', 'css').\n * @param {string} title A descriptive title for the code block.\n */\ninterface Props {\n code?: string;\n language?: string;\n title?: string;\n}\n\nfunction CodeDisplay({ code, language, title, className, children, ...props }: Props & React.ComponentProps<\"div\">) {\n return (\n <div\n className={cn(\"bg-background rounded border-container text-sm overflow-hidden my-4\", className)}\n {...props}\n >\n\n {/* Header Bar */}\n {(title || language) &&\n <div className=\"flex justify-between items-center border-b border-stone-300/80 px-4 py-2\">\n <span className=\"text-sm font-medium\">{title}</span>\n <span className=\"text-sm\">\n {language}\n </span>\n </div>\n }\n\n {/* Code Content Area */}\n <div className=\"p-4 overflow-auto max-h-256\">\n <pre className=\"m-0 p-0 whitespace-pre-wrap\">\n <code>\n {code || children}\n </code>\n </pre>\n </div>\n </div>\n );\n};\n\nexport { CodeDisplay };\n\n"],"names":["CodeDisplay","code","language","title","className","children","props","jsxs","cn","jsx"],"mappings":";;AAeA,SAASA,EAAY,EAAE,MAAAC,GAAM,UAAAC,GAAU,OAAAC,GAAO,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAA8C;AAChH,SACI,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,WAAWC,EAAG,uEAAuEJ,CAAS;AAAA,MAC7F,GAAGE;AAAA,MAIF,UAAA;AAAA,SAAAH,KAASD,MACP,gBAAAK,EAAC,OAAA,EAAI,WAAU,4EACX,UAAA;AAAA,UAAA,gBAAAE,EAAC,QAAA,EAAK,WAAU,uBAAuB,UAAAN,GAAM;AAAA,UAC7C,gBAAAM,EAAC,QAAA,EAAK,WAAU,WACX,UAAAP,EAAA,CACL;AAAA,QAAA,GACJ;AAAA,QAIJ,gBAAAO,EAAC,OAAA,EAAI,WAAU,+BACX,UAAA,gBAAAA,EAAC,OAAA,EAAI,WAAU,+BACX,UAAA,gBAAAA,EAAC,QAAA,EACI,UAAAR,KAAQI,EAAA,CACb,GACJ,EAAA,CACJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGZ;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CodeDisplay/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeDisplay.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
2
|
+
declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
6
|
+
//# sourceMappingURL=Collapsible.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Collapsible.d.ts","sourceRoot":"","sources":["../../../src/components/Collapsible/Collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAA;AAEnE,iBAAS,WAAW,CAAC,EACpB,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,2CAExD;AAED,iBAAS,kBAAkB,CAAC,EAC3B,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,2CAOtE;AAED,iBAAS,kBAAkB,CAAC,EAC3B,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,2CAOtE;AAED,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import * as t from "@radix-ui/react-collapsible";
|
|
3
|
+
function i({
|
|
4
|
+
...l
|
|
5
|
+
}) {
|
|
6
|
+
return /* @__PURE__ */ o(t.Root, { "data-slot": "collapsible", ...l });
|
|
7
|
+
}
|
|
8
|
+
function r({
|
|
9
|
+
...l
|
|
10
|
+
}) {
|
|
11
|
+
return /* @__PURE__ */ o(
|
|
12
|
+
t.CollapsibleTrigger,
|
|
13
|
+
{
|
|
14
|
+
"data-slot": "collapsible-trigger",
|
|
15
|
+
...l
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
function a({
|
|
20
|
+
...l
|
|
21
|
+
}) {
|
|
22
|
+
return /* @__PURE__ */ o(
|
|
23
|
+
t.CollapsibleContent,
|
|
24
|
+
{
|
|
25
|
+
"data-slot": "collapsible-content",
|
|
26
|
+
...l
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
i as Collapsible,
|
|
32
|
+
a as CollapsibleContent,
|
|
33
|
+
r as CollapsibleTrigger
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=Collapsible.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Collapsible.js","sources":["../../../src/components/Collapsible/Collapsible.tsx"],"sourcesContent":["import * as CollapsiblePrimitive from \"@radix-ui/react-collapsible\"\n\nfunction Collapsible({\n\t...props\n}: React.ComponentProps<typeof CollapsiblePrimitive.Root>) {\n\treturn <CollapsiblePrimitive.Root data-slot=\"collapsible\" {...props} />\n}\n\nfunction CollapsibleTrigger({\n\t...props\n}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>) {\n\treturn (\n\t\t<CollapsiblePrimitive.CollapsibleTrigger\n\t\t\tdata-slot=\"collapsible-trigger\"\n\t\t\t{...props}\n\t\t/>\n\t)\n}\n\nfunction CollapsibleContent({\n\t...props\n}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>) {\n\treturn (\n\t\t<CollapsiblePrimitive.CollapsibleContent\n\t\t\tdata-slot=\"collapsible-content\"\n\t\t\t{...props}\n\t\t/>\n\t)\n}\n\nexport { Collapsible, CollapsibleContent, CollapsibleTrigger }\n\n"],"names":["Collapsible","props","CollapsiblePrimitive","CollapsibleTrigger","jsx","CollapsibleContent"],"mappings":";;AAEA,SAASA,EAAY;AAAA,EACpB,GAAGC;AACJ,GAA2D;AAC1D,2BAAQC,EAAqB,MAArB,EAA0B,aAAU,eAAe,GAAGD,GAAO;AACtE;AAEA,SAASE,EAAmB;AAAA,EAC3B,GAAGF;AACJ,GAAyE;AACxE,SACC,gBAAAG;AAAA,IAACF,EAAqB;AAAA,IAArB;AAAA,MACA,aAAU;AAAA,MACT,GAAGD;AAAA,IAAA;AAAA,EAAA;AAGP;AAEA,SAASI,EAAmB;AAAA,EAC3B,GAAGJ;AACJ,GAAyE;AACxE,SACC,gBAAAG;AAAA,IAACF,EAAqB;AAAA,IAArB;AAAA,MACA,aAAU;AAAA,MACT,GAAGD;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Collapsible/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Collapsible.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function ContextMenuTrigger({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function ContextMenuGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function ContextMenuPortal({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function ContextMenuSub({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function ContextMenuRadioGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
10
|
+
inset?: boolean;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function ContextMenuSubContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function ContextMenuContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
15
|
+
inset?: boolean;
|
|
16
|
+
variant?: "default" | "destructive";
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function ContextMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function ContextMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
21
|
+
inset?: boolean;
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare function ContextMenuSeparator({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare function ContextMenuShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
26
|
+
//# sourceMappingURL=ContextMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/ContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAA;AAEpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,iBAAS,WAAW,CAAC,EACpB,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,2CAExD;AAED,iBAAS,kBAAkB,CAAC,EAC3B,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,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aA;AAED,iBAAS,uBAAuB,CAAC,EAChC,SAAS,EACT,QAAQ,EACR,OAAO,EACP,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,YAAY,CAAC,2CAmBhE;AAED,iBAAS,oBAAoB,CAAC,EAC7B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,2CAkB7D;AAED,iBAAS,gBAAgB,CAAC,EACzB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,KAAK,CAAC,GAAG;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAA;CACf,2CAYA;AAED,iBAAS,oBAAoB,CAAC,EAC7B,SAAS,EACT,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,2CAQ7D;AAED,iBAAS,mBAAmB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,2CAW9B;AAED,OAAO,EACN,WAAW,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,oBAAoB,EACnM,mBAAmB,EAAE,cAAc,EACnC,qBAAqB,EACrB,qBAAqB,EAAE,kBAAkB,EACzC,CAAA"}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import * as o from "@radix-ui/react-context-menu";
|
|
3
|
+
import { CheckIcon as d, CircleIcon as u, ChevronRightIcon as c } from "lucide-react";
|
|
4
|
+
import "react";
|
|
5
|
+
import { cn as s } from "../../lib/utils.js";
|
|
6
|
+
function p({
|
|
7
|
+
...t
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ e(o.Root, { "data-slot": "context-menu", ...t });
|
|
10
|
+
}
|
|
11
|
+
function g({
|
|
12
|
+
...t
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ e(o.Trigger, { "data-slot": "context-menu-trigger", ...t });
|
|
15
|
+
}
|
|
16
|
+
function v({
|
|
17
|
+
...t
|
|
18
|
+
}) {
|
|
19
|
+
return /* @__PURE__ */ e(o.Group, { "data-slot": "context-menu-group", ...t });
|
|
20
|
+
}
|
|
21
|
+
function b({
|
|
22
|
+
...t
|
|
23
|
+
}) {
|
|
24
|
+
return /* @__PURE__ */ e(o.Portal, { "data-slot": "context-menu-portal", ...t });
|
|
25
|
+
}
|
|
26
|
+
function h({
|
|
27
|
+
...t
|
|
28
|
+
}) {
|
|
29
|
+
return /* @__PURE__ */ e(o.Sub, { "data-slot": "context-menu-sub", ...t });
|
|
30
|
+
}
|
|
31
|
+
function C({
|
|
32
|
+
...t
|
|
33
|
+
}) {
|
|
34
|
+
return /* @__PURE__ */ e(
|
|
35
|
+
o.RadioGroup,
|
|
36
|
+
{
|
|
37
|
+
"data-slot": "context-menu-radio-group",
|
|
38
|
+
...t
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
function z({
|
|
43
|
+
className: t,
|
|
44
|
+
inset: n,
|
|
45
|
+
children: a,
|
|
46
|
+
...r
|
|
47
|
+
}) {
|
|
48
|
+
return /* @__PURE__ */ i(
|
|
49
|
+
o.SubTrigger,
|
|
50
|
+
{
|
|
51
|
+
"data-slot": "context-menu-sub-trigger",
|
|
52
|
+
"data-inset": n,
|
|
53
|
+
className: s(
|
|
54
|
+
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
55
|
+
t
|
|
56
|
+
),
|
|
57
|
+
...r,
|
|
58
|
+
children: [
|
|
59
|
+
a,
|
|
60
|
+
/* @__PURE__ */ e(c, { className: "ml-auto" })
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
function M({
|
|
66
|
+
className: t,
|
|
67
|
+
...n
|
|
68
|
+
}) {
|
|
69
|
+
return /* @__PURE__ */ e(
|
|
70
|
+
o.SubContent,
|
|
71
|
+
{
|
|
72
|
+
"data-slot": "context-menu-sub-content",
|
|
73
|
+
className: s(
|
|
74
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
|
|
75
|
+
t
|
|
76
|
+
),
|
|
77
|
+
...n
|
|
78
|
+
}
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
function N({
|
|
82
|
+
className: t,
|
|
83
|
+
...n
|
|
84
|
+
}) {
|
|
85
|
+
return /* @__PURE__ */ e(o.Portal, { children: /* @__PURE__ */ e(
|
|
86
|
+
o.Content,
|
|
87
|
+
{
|
|
88
|
+
"data-slot": "context-menu-content",
|
|
89
|
+
className: s(
|
|
90
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded shadow-md",
|
|
91
|
+
t
|
|
92
|
+
),
|
|
93
|
+
...n
|
|
94
|
+
}
|
|
95
|
+
) });
|
|
96
|
+
}
|
|
97
|
+
function _({
|
|
98
|
+
className: t,
|
|
99
|
+
inset: n,
|
|
100
|
+
variant: a = "default",
|
|
101
|
+
...r
|
|
102
|
+
}) {
|
|
103
|
+
return /* @__PURE__ */ e(
|
|
104
|
+
o.Item,
|
|
105
|
+
{
|
|
106
|
+
"data-slot": "context-menu-item",
|
|
107
|
+
"data-inset": n,
|
|
108
|
+
"data-variant": a,
|
|
109
|
+
className: s(
|
|
110
|
+
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
111
|
+
t
|
|
112
|
+
),
|
|
113
|
+
...r
|
|
114
|
+
}
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
function I({
|
|
118
|
+
className: t,
|
|
119
|
+
children: n,
|
|
120
|
+
checked: a,
|
|
121
|
+
...r
|
|
122
|
+
}) {
|
|
123
|
+
return /* @__PURE__ */ i(
|
|
124
|
+
o.CheckboxItem,
|
|
125
|
+
{
|
|
126
|
+
"data-slot": "context-menu-checkbox-item",
|
|
127
|
+
className: s(
|
|
128
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
129
|
+
t
|
|
130
|
+
),
|
|
131
|
+
checked: a,
|
|
132
|
+
...r,
|
|
133
|
+
children: [
|
|
134
|
+
/* @__PURE__ */ e("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(o.ItemIndicator, { children: /* @__PURE__ */ e(d, { className: "size-4" }) }) }),
|
|
135
|
+
n
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
function y({
|
|
141
|
+
className: t,
|
|
142
|
+
children: n,
|
|
143
|
+
...a
|
|
144
|
+
}) {
|
|
145
|
+
return /* @__PURE__ */ i(
|
|
146
|
+
o.RadioItem,
|
|
147
|
+
{
|
|
148
|
+
"data-slot": "context-menu-radio-item",
|
|
149
|
+
className: s(
|
|
150
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
151
|
+
t
|
|
152
|
+
),
|
|
153
|
+
...a,
|
|
154
|
+
children: [
|
|
155
|
+
/* @__PURE__ */ e("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(o.ItemIndicator, { children: /* @__PURE__ */ e(u, { className: "size-2 fill-current" }) }) }),
|
|
156
|
+
n
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
function k({
|
|
162
|
+
className: t,
|
|
163
|
+
inset: n,
|
|
164
|
+
...a
|
|
165
|
+
}) {
|
|
166
|
+
return /* @__PURE__ */ e(
|
|
167
|
+
o.Label,
|
|
168
|
+
{
|
|
169
|
+
"data-slot": "context-menu-label",
|
|
170
|
+
"data-inset": n,
|
|
171
|
+
className: s(
|
|
172
|
+
"text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
|
|
173
|
+
t
|
|
174
|
+
),
|
|
175
|
+
...a
|
|
176
|
+
}
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
function S({
|
|
180
|
+
className: t,
|
|
181
|
+
...n
|
|
182
|
+
}) {
|
|
183
|
+
return /* @__PURE__ */ e(
|
|
184
|
+
o.Separator,
|
|
185
|
+
{
|
|
186
|
+
"data-slot": "context-menu-separator",
|
|
187
|
+
className: s("bg-border -mx-1 my-1 h-px", t),
|
|
188
|
+
...n
|
|
189
|
+
}
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
function w({
|
|
193
|
+
className: t,
|
|
194
|
+
...n
|
|
195
|
+
}) {
|
|
196
|
+
return /* @__PURE__ */ e(
|
|
197
|
+
"span",
|
|
198
|
+
{
|
|
199
|
+
"data-slot": "context-menu-shortcut",
|
|
200
|
+
className: s(
|
|
201
|
+
"text-muted-foreground ml-auto text-xs tracking-widest",
|
|
202
|
+
t
|
|
203
|
+
),
|
|
204
|
+
...n
|
|
205
|
+
}
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
export {
|
|
209
|
+
p as ContextMenu,
|
|
210
|
+
I as ContextMenuCheckboxItem,
|
|
211
|
+
N as ContextMenuContent,
|
|
212
|
+
v as ContextMenuGroup,
|
|
213
|
+
_ as ContextMenuItem,
|
|
214
|
+
k as ContextMenuLabel,
|
|
215
|
+
b as ContextMenuPortal,
|
|
216
|
+
C as ContextMenuRadioGroup,
|
|
217
|
+
y as ContextMenuRadioItem,
|
|
218
|
+
S as ContextMenuSeparator,
|
|
219
|
+
w as ContextMenuShortcut,
|
|
220
|
+
h as ContextMenuSub,
|
|
221
|
+
M as ContextMenuSubContent,
|
|
222
|
+
z as ContextMenuSubTrigger,
|
|
223
|
+
g as ContextMenuTrigger
|
|
224
|
+
};
|
|
225
|
+
//# sourceMappingURL=ContextMenu.js.map
|