@lglab/compose-ui 0.7.0 → 0.8.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/components/switch.d.ts +15 -0
- package/dist/components/switch.d.ts.map +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +231 -199
- package/dist/styles/default.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Switch as BaseSwitch } from '@base-ui/react/switch';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type SwitchRootProps = React.ComponentProps<typeof BaseSwitch.Root>;
|
|
4
|
+
declare const SwitchRoot: {
|
|
5
|
+
({ className, ...props }: SwitchRootProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
type SwitchThumbProps = React.ComponentProps<typeof BaseSwitch.Thumb>;
|
|
9
|
+
declare const SwitchThumb: {
|
|
10
|
+
({ className, ...props }: SwitchThumbProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
export { SwitchRoot, SwitchThumb };
|
|
14
|
+
export type { SwitchRootProps, SwitchThumbProps };
|
|
15
|
+
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../src/components/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,IAAI,CAAC,CAAA;AAEnE,QAAA,MAAM,UAAU;8BAA6B,eAAe;;CAkB3D,CAAA;AAQD,KAAK,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,KAAK,CAAC,CAAA;AAErE,QAAA,MAAM,WAAW;8BAA6B,gBAAgB;;CAe7D,CAAA;AAQD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,CAAA;AAElC,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,20 +2,19 @@ export { Button } from './components/button';
|
|
|
2
2
|
export { AlertDialogRoot, AlertDialogTrigger, AlertDialogPortal, AlertDialogBackdrop, AlertDialogViewport, AlertDialogPopup, AlertDialogTitle, AlertDialogDescription, AlertDialogClose, } from './components/alert-dialog';
|
|
3
3
|
export { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
4
4
|
export { AvatarRoot, AvatarImage, AvatarFallback, AvatarStack } from './components/avatar';
|
|
5
|
-
export { Avatar } from '@base-ui/react/avatar';
|
|
6
5
|
export { ScrollAreaRoot, ScrollAreaViewport, ScrollAreaContent, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner, } from './components/scroll-area';
|
|
6
|
+
export { SwitchRoot, SwitchThumb } from './components/switch';
|
|
7
7
|
export { TabsRoot, TabsList, TabsTab, TabsIndicator, TabsPanel } from './components/tabs';
|
|
8
8
|
export { DialogRoot, DialogTrigger, DialogPortal, DialogBackdrop, DialogPopup, DialogTitle, DialogDescription, DialogClose, DialogHeader, DialogFooter, } from './components/dialog';
|
|
9
9
|
export { DrawerRoot, DrawerTrigger, DrawerPortal, DrawerBackdrop, DrawerPopup, DrawerTitle, DrawerDescription, DrawerClose, DrawerHeader, DrawerContent, DrawerFooter, } from './components/drawer';
|
|
10
10
|
export { AccordionRoot, AccordionItem, AccordionHeader, AccordionTrigger, AccordionPanel, } from './components/accordion';
|
|
11
11
|
export { MeterRoot, MeterTrack, MeterIndicator, MeterValue, MeterLabel, } from './components/meter';
|
|
12
|
-
export { Meter } from '@base-ui/react/meter';
|
|
13
12
|
export { ProgressRoot, ProgressTrack, ProgressIndicator, ProgressValue, ProgressLabel, } from './components/progress';
|
|
14
|
-
export { Progress } from '@base-ui/react/progress';
|
|
15
13
|
export type { ButtonProps } from './components/button';
|
|
16
14
|
export type { AlertDialogRootProps, AlertDialogTriggerProps, AlertDialogPortalProps, AlertDialogBackdropProps, AlertDialogViewportProps, AlertDialogPopupProps, AlertDialogTitleProps, AlertDialogDescriptionProps, AlertDialogCloseProps, } from './components/alert-dialog';
|
|
17
15
|
export type { AvatarRootProps, AvatarImageProps, AvatarFallbackProps, AvatarStackProps, } from './components/avatar';
|
|
18
16
|
export type { ScrollAreaRootProps, ScrollAreaViewportProps, ScrollAreaContentProps, ScrollAreaScrollbarProps, ScrollAreaThumbProps, ScrollAreaCornerProps, } from './components/scroll-area';
|
|
17
|
+
export type { SwitchRootProps, SwitchThumbProps } from './components/switch';
|
|
19
18
|
export type { TabsRootProps, TabsListProps, TabsTabProps, TabsIndicatorProps, TabsPanelProps, } from './components/tabs';
|
|
20
19
|
export type { DialogRootProps, DialogTriggerProps, DialogPortalProps, DialogBackdropProps, DialogPopupProps, DialogTitleProps, DialogDescriptionProps, DialogCloseProps, DialogHeaderProps, DialogFooterProps, } from './components/dialog';
|
|
21
20
|
export type { DrawerRootProps, DrawerTriggerProps, DrawerPortalProps, DrawerBackdropProps, DrawerPopupProps, DrawerTitleProps, DrawerDescriptionProps, DrawerCloseProps, DrawerHeaderProps, DrawerContentProps, DrawerFooterProps, } from './components/drawer';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC1F,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
package/dist/index.es.js
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as t, jsxs as
|
|
3
|
-
import { Button as
|
|
2
|
+
import { jsx as t, jsxs as k } from "react/jsx-runtime";
|
|
3
|
+
import { Button as R } from "@base-ui/react/button";
|
|
4
4
|
import { cva as d } from "class-variance-authority";
|
|
5
5
|
import { clsx as V } from "clsx";
|
|
6
|
-
import { twMerge as
|
|
6
|
+
import { twMerge as S } from "tailwind-merge";
|
|
7
7
|
import { AlertDialog as n } from "@base-ui/react/alert-dialog";
|
|
8
|
-
import { AlertDialog as
|
|
8
|
+
import { AlertDialog as da } from "@base-ui/react/alert-dialog";
|
|
9
9
|
import { Avatar as w } from "@base-ui/react/avatar";
|
|
10
|
-
import { Avatar as ia } from "@base-ui/react/avatar";
|
|
11
10
|
import * as x from "react";
|
|
12
11
|
import { ScrollArea as m } from "@base-ui/react/scroll-area";
|
|
12
|
+
import { Switch as A } from "@base-ui/react/switch";
|
|
13
13
|
import { Tabs as f } from "@base-ui/react/tabs";
|
|
14
14
|
import { Dialog as s } from "@base-ui/react/dialog";
|
|
15
15
|
import { Accordion as b } from "@base-ui/react/accordion";
|
|
16
16
|
import { Meter as y } from "@base-ui/react/meter";
|
|
17
|
-
import { Meter as da } from "@base-ui/react/meter";
|
|
18
17
|
import { Progress as N } from "@base-ui/react/progress";
|
|
19
|
-
import { Progress as ua } from "@base-ui/react/progress";
|
|
20
18
|
const u = d(
|
|
21
19
|
[
|
|
22
20
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
|
|
@@ -47,7 +45,7 @@ const u = d(
|
|
|
47
45
|
}
|
|
48
46
|
);
|
|
49
47
|
function r(...e) {
|
|
50
|
-
return
|
|
48
|
+
return S(V(e));
|
|
51
49
|
}
|
|
52
50
|
const C = ({
|
|
53
51
|
className: e,
|
|
@@ -57,7 +55,7 @@ const C = ({
|
|
|
57
55
|
children: i,
|
|
58
56
|
...c
|
|
59
57
|
}) => /* @__PURE__ */ t(
|
|
60
|
-
|
|
58
|
+
R,
|
|
61
59
|
{
|
|
62
60
|
className: r(u({ variant: a, size: o }), e),
|
|
63
61
|
disabled: l,
|
|
@@ -66,8 +64,8 @@ const C = ({
|
|
|
66
64
|
}
|
|
67
65
|
);
|
|
68
66
|
C.displayName = "Button";
|
|
69
|
-
const
|
|
70
|
-
|
|
67
|
+
const _ = (e) => /* @__PURE__ */ t(n.Root, { ...e });
|
|
68
|
+
_.displayName = "AlertDialogRoot";
|
|
71
69
|
const I = ({
|
|
72
70
|
className: e,
|
|
73
71
|
variant: a,
|
|
@@ -83,7 +81,7 @@ const I = ({
|
|
|
83
81
|
I.displayName = "AlertDialogTrigger";
|
|
84
82
|
const F = (e) => /* @__PURE__ */ t(n.Portal, { ...e });
|
|
85
83
|
F.displayName = "AlertDialogPortal";
|
|
86
|
-
const
|
|
84
|
+
const B = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
87
85
|
n.Backdrop,
|
|
88
86
|
{
|
|
89
87
|
className: r(
|
|
@@ -95,15 +93,15 @@ const M = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
95
93
|
...a
|
|
96
94
|
}
|
|
97
95
|
);
|
|
98
|
-
|
|
99
|
-
const
|
|
96
|
+
B.displayName = "AlertDialogBackdrop";
|
|
97
|
+
const M = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
100
98
|
n.Viewport,
|
|
101
99
|
{
|
|
102
100
|
className: r("fixed inset-0 z-50 flex items-center justify-center p-4", e),
|
|
103
101
|
...a
|
|
104
102
|
}
|
|
105
103
|
);
|
|
106
|
-
|
|
104
|
+
M.displayName = "AlertDialogViewport";
|
|
107
105
|
const j = d(
|
|
108
106
|
[
|
|
109
107
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
@@ -146,7 +144,7 @@ const H = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
146
144
|
H.displayName = "AlertDialogTitle";
|
|
147
145
|
const q = ({ className: e, ...a }) => /* @__PURE__ */ t(n.Description, { className: r("mt-2", e), ...a });
|
|
148
146
|
q.displayName = "AlertDialogDescription";
|
|
149
|
-
const
|
|
147
|
+
const E = ({
|
|
150
148
|
className: e,
|
|
151
149
|
variant: a,
|
|
152
150
|
size: o,
|
|
@@ -158,8 +156,8 @@ const _ = ({
|
|
|
158
156
|
...l
|
|
159
157
|
}
|
|
160
158
|
);
|
|
161
|
-
|
|
162
|
-
const
|
|
159
|
+
E.displayName = "AlertDialogClose";
|
|
160
|
+
const T = d(
|
|
163
161
|
[
|
|
164
162
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
165
163
|
"bg-muted text-foreground",
|
|
@@ -177,17 +175,17 @@ const k = d(
|
|
|
177
175
|
size: "default"
|
|
178
176
|
}
|
|
179
177
|
}
|
|
180
|
-
),
|
|
181
|
-
|
|
182
|
-
const
|
|
178
|
+
), z = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(w.Root, { className: r(T({ size: a }), e), ...o });
|
|
179
|
+
z.displayName = "AvatarRoot";
|
|
180
|
+
const $ = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
183
181
|
w.Image,
|
|
184
182
|
{
|
|
185
183
|
className: r("aspect-square h-full w-full object-cover", e),
|
|
186
184
|
...a
|
|
187
185
|
}
|
|
188
186
|
);
|
|
189
|
-
|
|
190
|
-
const
|
|
187
|
+
$.displayName = "AvatarImage";
|
|
188
|
+
const G = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
191
189
|
w.Fallback,
|
|
192
190
|
{
|
|
193
191
|
className: r(
|
|
@@ -197,50 +195,50 @@ const $ = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
197
195
|
...a
|
|
198
196
|
}
|
|
199
197
|
);
|
|
200
|
-
|
|
201
|
-
const
|
|
198
|
+
G.displayName = "AvatarFallback";
|
|
199
|
+
const J = ({
|
|
202
200
|
"aria-label": e,
|
|
203
201
|
maxVisible: a,
|
|
204
202
|
className: o,
|
|
205
203
|
children: l
|
|
206
204
|
}) => {
|
|
207
|
-
const i = x.Children.toArray(l), c = i.length, g = a !== void 0 ? Math.min(a, c) : c,
|
|
205
|
+
const i = x.Children.toArray(l), c = i.length, g = a !== void 0 ? Math.min(a, c) : c, h = c - g, v = i.slice(0, g), P = (() => {
|
|
208
206
|
const p = i[0];
|
|
209
|
-
return x.isValidElement(p) && p.type ===
|
|
207
|
+
return x.isValidElement(p) && p.type === z ? p.props.size ?? "default" : "default";
|
|
210
208
|
})();
|
|
211
|
-
return /* @__PURE__ */
|
|
212
|
-
|
|
213
|
-
|
|
209
|
+
return /* @__PURE__ */ k("ul", { "aria-label": e, className: r("flex -space-x-2", o), children: [
|
|
210
|
+
v.map((p, D) => /* @__PURE__ */ t("li", { children: p }, D)),
|
|
211
|
+
h > 0 && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ k(
|
|
214
212
|
"span",
|
|
215
213
|
{
|
|
216
214
|
className: r(
|
|
217
215
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
218
216
|
"bg-muted text-foreground border-2 border-background",
|
|
219
217
|
"font-medium",
|
|
220
|
-
|
|
218
|
+
T({ size: P })
|
|
221
219
|
),
|
|
222
220
|
children: [
|
|
223
221
|
"+",
|
|
224
|
-
|
|
222
|
+
h
|
|
225
223
|
]
|
|
226
224
|
}
|
|
227
225
|
) })
|
|
228
226
|
] });
|
|
229
227
|
};
|
|
230
|
-
|
|
231
|
-
const
|
|
232
|
-
|
|
233
|
-
const
|
|
228
|
+
J.displayName = "AvatarStack";
|
|
229
|
+
const K = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Root, { className: r("relative", e), ...a });
|
|
230
|
+
K.displayName = "ScrollAreaRoot";
|
|
231
|
+
const O = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
234
232
|
m.Viewport,
|
|
235
233
|
{
|
|
236
234
|
className: r("h-full overscroll-contain pr-3", e),
|
|
237
235
|
...a
|
|
238
236
|
}
|
|
239
237
|
);
|
|
240
|
-
|
|
241
|
-
const
|
|
242
|
-
|
|
243
|
-
const
|
|
238
|
+
O.displayName = "ScrollAreaViewport";
|
|
239
|
+
const Q = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Content, { className: r("min-w-full", e), ...a });
|
|
240
|
+
Q.displayName = "ScrollAreaContent";
|
|
241
|
+
const U = ({
|
|
244
242
|
className: e,
|
|
245
243
|
orientation: a = "vertical",
|
|
246
244
|
...o
|
|
@@ -258,8 +256,8 @@ const Q = ({
|
|
|
258
256
|
...o
|
|
259
257
|
}
|
|
260
258
|
);
|
|
261
|
-
|
|
262
|
-
const
|
|
259
|
+
U.displayName = "ScrollAreaScrollbar";
|
|
260
|
+
const W = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
263
261
|
m.Thumb,
|
|
264
262
|
{
|
|
265
263
|
className: r(
|
|
@@ -270,12 +268,47 @@ const U = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
270
268
|
...a
|
|
271
269
|
}
|
|
272
270
|
);
|
|
273
|
-
|
|
274
|
-
const
|
|
275
|
-
|
|
276
|
-
const
|
|
277
|
-
|
|
278
|
-
|
|
271
|
+
W.displayName = "ScrollAreaThumb";
|
|
272
|
+
const X = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Corner, { className: r("bg-muted/50", e), ...a });
|
|
273
|
+
X.displayName = "ScrollAreaCorner";
|
|
274
|
+
const Y = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
275
|
+
A.Root,
|
|
276
|
+
{
|
|
277
|
+
className: r(
|
|
278
|
+
"relative flex h-6 w-10 rounded-full",
|
|
279
|
+
"bg-linear-to-r from-primary from-35% to-muted to-65% bg-size-[6.5rem_100%] bg-position-[100%_0%] bg-no-repeat",
|
|
280
|
+
"p-px",
|
|
281
|
+
"shadow-[inset_0_1.5px_2px] shadow-muted-foreground/20",
|
|
282
|
+
"transition-[background-position,box-shadow] duration-125 ease-[cubic-bezier(0.26,0.75,0.38,0.45)]",
|
|
283
|
+
"data-checked:bg-position-[0%_0%]",
|
|
284
|
+
"dark:from-primary/50 dark:shadow-none",
|
|
285
|
+
"dark:data-checked:bg-foreground",
|
|
286
|
+
"data-disabled:cursor-not-allowed data-disabled:opacity-70",
|
|
287
|
+
e
|
|
288
|
+
),
|
|
289
|
+
...a
|
|
290
|
+
}
|
|
291
|
+
);
|
|
292
|
+
Y.displayName = "SwitchRoot";
|
|
293
|
+
const Z = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
294
|
+
A.Thumb,
|
|
295
|
+
{
|
|
296
|
+
className: r(
|
|
297
|
+
"aspect-square h-full rounded-full bg-background",
|
|
298
|
+
"shadow-[0_0_1px_1px,0_1px_1px,1px_2px_4px_-1px] shadow-muted-foreground/20",
|
|
299
|
+
"transition-all duration-150",
|
|
300
|
+
"data-checked:translate-x-4",
|
|
301
|
+
"dark:shadow-black/25 dark:bg-foreground dark:data-checked:bg-background",
|
|
302
|
+
"data-disabled:opacity-100",
|
|
303
|
+
e
|
|
304
|
+
),
|
|
305
|
+
...a
|
|
306
|
+
}
|
|
307
|
+
);
|
|
308
|
+
Z.displayName = "SwitchThumb";
|
|
309
|
+
const ee = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Root, { className: r("flex flex-col", e), ...a });
|
|
310
|
+
ee.displayName = "TabsRoot";
|
|
311
|
+
const ae = d(
|
|
279
312
|
["relative inline-flex w-fit items-center gap-1", "rounded-lg bg-muted p-1"],
|
|
280
313
|
{
|
|
281
314
|
variants: {
|
|
@@ -288,15 +321,15 @@ const Y = d(
|
|
|
288
321
|
orientation: "horizontal"
|
|
289
322
|
}
|
|
290
323
|
}
|
|
291
|
-
),
|
|
324
|
+
), te = ({ className: e, orientation: a = "horizontal", ...o }) => /* @__PURE__ */ t(
|
|
292
325
|
f.List,
|
|
293
326
|
{
|
|
294
|
-
className: r(
|
|
327
|
+
className: r(ae({ orientation: a }), e),
|
|
295
328
|
...o
|
|
296
329
|
}
|
|
297
330
|
);
|
|
298
|
-
|
|
299
|
-
const
|
|
331
|
+
te.displayName = "TabsList";
|
|
332
|
+
const re = d(
|
|
300
333
|
[
|
|
301
334
|
"relative z-10 inline-flex items-center justify-center whitespace-nowrap",
|
|
302
335
|
"rounded-md px-3 py-1.5 text-sm font-medium",
|
|
@@ -317,9 +350,9 @@ const ee = d(
|
|
|
317
350
|
size: "default"
|
|
318
351
|
}
|
|
319
352
|
}
|
|
320
|
-
),
|
|
321
|
-
|
|
322
|
-
const
|
|
353
|
+
), oe = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(f.Tab, { className: r(re({ size: a }), e), ...o });
|
|
354
|
+
oe.displayName = "TabsTab";
|
|
355
|
+
const le = d(
|
|
323
356
|
["absolute rounded-md bg-background shadow-sm", "transition-all duration-200 ease-out"],
|
|
324
357
|
{
|
|
325
358
|
variants: {
|
|
@@ -332,33 +365,33 @@ const te = d(
|
|
|
332
365
|
orientation: "horizontal"
|
|
333
366
|
}
|
|
334
367
|
}
|
|
335
|
-
),
|
|
368
|
+
), se = ({
|
|
336
369
|
className: e,
|
|
337
370
|
orientation: a = "horizontal",
|
|
338
371
|
...o
|
|
339
372
|
}) => /* @__PURE__ */ t(
|
|
340
373
|
f.Indicator,
|
|
341
374
|
{
|
|
342
|
-
className: r(
|
|
375
|
+
className: r(le({ orientation: a }), e),
|
|
343
376
|
...o
|
|
344
377
|
}
|
|
345
378
|
);
|
|
346
|
-
|
|
347
|
-
const
|
|
348
|
-
|
|
349
|
-
const
|
|
350
|
-
|
|
351
|
-
const
|
|
379
|
+
se.displayName = "TabsIndicator";
|
|
380
|
+
const ie = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Panel, { className: r("mt-2 ring-offset-background", e), ...a });
|
|
381
|
+
ie.displayName = "TabsPanel";
|
|
382
|
+
const ne = (e) => /* @__PURE__ */ t(s.Root, { ...e });
|
|
383
|
+
ne.displayName = "DialogRoot";
|
|
384
|
+
const de = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
|
|
352
385
|
s.Trigger,
|
|
353
386
|
{
|
|
354
387
|
className: r(u({ variant: a, size: o }), e),
|
|
355
388
|
...l
|
|
356
389
|
}
|
|
357
390
|
);
|
|
358
|
-
|
|
359
|
-
const
|
|
360
|
-
|
|
361
|
-
const
|
|
391
|
+
de.displayName = "DialogTrigger";
|
|
392
|
+
const ce = (e) => /* @__PURE__ */ t(s.Portal, { ...e });
|
|
393
|
+
ce.displayName = "DialogPortal";
|
|
394
|
+
const ue = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
362
395
|
s.Backdrop,
|
|
363
396
|
{
|
|
364
397
|
className: r(
|
|
@@ -370,8 +403,8 @@ const ne = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
370
403
|
...a
|
|
371
404
|
}
|
|
372
405
|
);
|
|
373
|
-
|
|
374
|
-
const
|
|
406
|
+
ue.displayName = "DialogBackdrop";
|
|
407
|
+
const me = d(
|
|
375
408
|
[
|
|
376
409
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
377
410
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
@@ -395,35 +428,35 @@ const de = d(
|
|
|
395
428
|
size: "default"
|
|
396
429
|
}
|
|
397
430
|
}
|
|
398
|
-
),
|
|
431
|
+
), ge = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
|
|
399
432
|
s.Popup,
|
|
400
433
|
{
|
|
401
|
-
className: r(
|
|
434
|
+
className: r(me({ size: a }), e),
|
|
402
435
|
...o
|
|
403
436
|
}
|
|
404
437
|
);
|
|
405
|
-
|
|
406
|
-
const
|
|
438
|
+
ge.displayName = "DialogPopup";
|
|
439
|
+
const pe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
407
440
|
s.Title,
|
|
408
441
|
{
|
|
409
442
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
410
443
|
...a
|
|
411
444
|
}
|
|
412
445
|
);
|
|
413
|
-
|
|
414
|
-
const
|
|
415
|
-
|
|
416
|
-
const
|
|
446
|
+
pe.displayName = "DialogTitle";
|
|
447
|
+
const fe = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Description, { className: r("mt-2", e), ...a });
|
|
448
|
+
fe.displayName = "DialogDescription";
|
|
449
|
+
const be = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
|
|
417
450
|
s.Close,
|
|
418
451
|
{
|
|
419
452
|
className: r(u({ variant: a ?? "outline", size: o }), e),
|
|
420
453
|
...l
|
|
421
454
|
}
|
|
422
455
|
);
|
|
423
|
-
|
|
424
|
-
const
|
|
425
|
-
|
|
426
|
-
const
|
|
456
|
+
be.displayName = "DialogClose";
|
|
457
|
+
const ye = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1 mb-5", e), ...a });
|
|
458
|
+
ye.displayName = "DialogHeader";
|
|
459
|
+
const Ne = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
427
460
|
"div",
|
|
428
461
|
{
|
|
429
462
|
className: r(
|
|
@@ -433,20 +466,20 @@ const fe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
433
466
|
...a
|
|
434
467
|
}
|
|
435
468
|
);
|
|
436
|
-
|
|
437
|
-
const
|
|
438
|
-
|
|
439
|
-
const
|
|
469
|
+
Ne.displayName = "DialogFooter";
|
|
470
|
+
const he = (e) => /* @__PURE__ */ t(s.Root, { ...e });
|
|
471
|
+
he.displayName = "DrawerRoot";
|
|
472
|
+
const xe = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
|
|
440
473
|
s.Trigger,
|
|
441
474
|
{
|
|
442
475
|
className: r(u({ variant: a, size: o }), e),
|
|
443
476
|
...l
|
|
444
477
|
}
|
|
445
478
|
);
|
|
446
|
-
|
|
447
|
-
const
|
|
448
|
-
|
|
449
|
-
const
|
|
479
|
+
xe.displayName = "DrawerTrigger";
|
|
480
|
+
const ve = (e) => /* @__PURE__ */ t(s.Portal, { ...e });
|
|
481
|
+
ve.displayName = "DrawerPortal";
|
|
482
|
+
const we = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
450
483
|
s.Backdrop,
|
|
451
484
|
{
|
|
452
485
|
className: r(
|
|
@@ -458,8 +491,8 @@ const ve = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
458
491
|
...a
|
|
459
492
|
}
|
|
460
493
|
);
|
|
461
|
-
|
|
462
|
-
const
|
|
494
|
+
we.displayName = "DrawerBackdrop";
|
|
495
|
+
const De = d(
|
|
463
496
|
[
|
|
464
497
|
"fixed z-50 flex flex-col bg-background p-6 shadow-lg",
|
|
465
498
|
"transition-transform duration-300 ease-out",
|
|
@@ -495,51 +528,51 @@ const xe = d(
|
|
|
495
528
|
side: "right"
|
|
496
529
|
}
|
|
497
530
|
}
|
|
498
|
-
),
|
|
531
|
+
), ke = ({ className: e, side: a, ...o }) => /* @__PURE__ */ t(
|
|
499
532
|
s.Popup,
|
|
500
533
|
{
|
|
501
|
-
className: r(
|
|
534
|
+
className: r(De({ side: a }), e),
|
|
502
535
|
...o
|
|
503
536
|
}
|
|
504
537
|
);
|
|
505
|
-
|
|
506
|
-
const
|
|
538
|
+
ke.displayName = "DrawerPopup";
|
|
539
|
+
const Ae = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
507
540
|
s.Title,
|
|
508
541
|
{
|
|
509
542
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
510
543
|
...a
|
|
511
544
|
}
|
|
512
545
|
);
|
|
513
|
-
|
|
514
|
-
const
|
|
515
|
-
|
|
516
|
-
const
|
|
546
|
+
Ae.displayName = "DrawerTitle";
|
|
547
|
+
const Te = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Description, { className: r("", e), ...a });
|
|
548
|
+
Te.displayName = "DrawerDescription";
|
|
549
|
+
const ze = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
|
|
517
550
|
s.Close,
|
|
518
551
|
{
|
|
519
552
|
className: r(u({ variant: a ?? "outline", size: o }), e),
|
|
520
553
|
...l
|
|
521
554
|
}
|
|
522
555
|
);
|
|
523
|
-
|
|
524
|
-
const
|
|
525
|
-
|
|
526
|
-
const
|
|
527
|
-
|
|
528
|
-
const
|
|
529
|
-
|
|
530
|
-
const
|
|
531
|
-
|
|
532
|
-
const
|
|
556
|
+
ze.displayName = "DrawerClose";
|
|
557
|
+
const Pe = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1.5", e), ...a });
|
|
558
|
+
Pe.displayName = "DrawerHeader";
|
|
559
|
+
const Re = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("py-5", e), ...a });
|
|
560
|
+
Re.displayName = "DrawerContent";
|
|
561
|
+
const Ve = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("", e), ...a });
|
|
562
|
+
Ve.displayName = "DrawerFooter";
|
|
563
|
+
const Se = ({ className: e, ...a }) => /* @__PURE__ */ t(b.Root, { className: r("w-full", e), ...a });
|
|
564
|
+
Se.displayName = "AccordionRoot";
|
|
565
|
+
const Ce = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
533
566
|
b.Item,
|
|
534
567
|
{
|
|
535
568
|
className: r("border-b border-border last:border-b-0", e),
|
|
536
569
|
...a
|
|
537
570
|
}
|
|
538
571
|
);
|
|
539
|
-
|
|
540
|
-
const
|
|
541
|
-
|
|
542
|
-
const
|
|
572
|
+
Ce.displayName = "AccordionItem";
|
|
573
|
+
const _e = ({ className: e, ...a }) => /* @__PURE__ */ t(b.Header, { className: r("flex", e), ...a });
|
|
574
|
+
_e.displayName = "AccordionHeader";
|
|
575
|
+
const Ie = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
|
|
543
576
|
b.Trigger,
|
|
544
577
|
{
|
|
545
578
|
className: r(
|
|
@@ -550,8 +583,8 @@ const Ce = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
|
|
|
550
583
|
children: a
|
|
551
584
|
}
|
|
552
585
|
);
|
|
553
|
-
|
|
554
|
-
const
|
|
586
|
+
Ie.displayName = "AccordionTrigger";
|
|
587
|
+
const Fe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
555
588
|
b.Panel,
|
|
556
589
|
{
|
|
557
590
|
className: r(
|
|
@@ -561,24 +594,24 @@ const Se = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
561
594
|
...a
|
|
562
595
|
}
|
|
563
596
|
);
|
|
564
|
-
|
|
565
|
-
const
|
|
597
|
+
Fe.displayName = "AccordionPanel";
|
|
598
|
+
const Be = ({ className: e, animated: a, value: o, ...l }) => {
|
|
566
599
|
const i = o ?? 0, [c, g] = x.useState(a ? 0 : i);
|
|
567
600
|
return x.useEffect(() => {
|
|
568
601
|
if (a) {
|
|
569
|
-
const
|
|
570
|
-
const
|
|
602
|
+
const h = requestAnimationFrame(() => {
|
|
603
|
+
const v = requestAnimationFrame(() => {
|
|
571
604
|
g(i ?? 0);
|
|
572
605
|
});
|
|
573
|
-
return () => cancelAnimationFrame(
|
|
606
|
+
return () => cancelAnimationFrame(v);
|
|
574
607
|
});
|
|
575
|
-
return () => cancelAnimationFrame(
|
|
608
|
+
return () => cancelAnimationFrame(h);
|
|
576
609
|
} else
|
|
577
610
|
g(i ?? 0);
|
|
578
611
|
}, [a, i]), /* @__PURE__ */ t(y.Root, { className: r("w-full", e), value: c, ...l });
|
|
579
612
|
};
|
|
580
|
-
|
|
581
|
-
const
|
|
613
|
+
Be.displayName = "MeterRoot";
|
|
614
|
+
const Me = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
582
615
|
y.Track,
|
|
583
616
|
{
|
|
584
617
|
className: r(
|
|
@@ -588,8 +621,8 @@ const Fe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
588
621
|
...a
|
|
589
622
|
}
|
|
590
623
|
);
|
|
591
|
-
|
|
592
|
-
const
|
|
624
|
+
Me.displayName = "MeterTrack";
|
|
625
|
+
const je = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
593
626
|
y.Indicator,
|
|
594
627
|
{
|
|
595
628
|
className: r(
|
|
@@ -599,26 +632,26 @@ const Me = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
599
632
|
...a
|
|
600
633
|
}
|
|
601
634
|
);
|
|
602
|
-
|
|
603
|
-
const
|
|
635
|
+
je.displayName = "MeterIndicator";
|
|
636
|
+
const Le = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
604
637
|
y.Value,
|
|
605
638
|
{
|
|
606
639
|
className: r("text-sm font-medium text-foreground", e),
|
|
607
640
|
...a
|
|
608
641
|
}
|
|
609
642
|
);
|
|
610
|
-
|
|
611
|
-
const
|
|
643
|
+
Le.displayName = "MeterValue";
|
|
644
|
+
const He = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
612
645
|
y.Label,
|
|
613
646
|
{
|
|
614
647
|
className: r("text-sm font-medium text-foreground", e),
|
|
615
648
|
...a
|
|
616
649
|
}
|
|
617
650
|
);
|
|
618
|
-
|
|
619
|
-
const
|
|
620
|
-
|
|
621
|
-
const
|
|
651
|
+
He.displayName = "MeterLabel";
|
|
652
|
+
const qe = ({ className: e, ...a }) => /* @__PURE__ */ t(N.Root, { className: r("w-full", e), ...a });
|
|
653
|
+
qe.displayName = "ProgressRoot";
|
|
654
|
+
const Ee = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
622
655
|
N.Track,
|
|
623
656
|
{
|
|
624
657
|
className: r(
|
|
@@ -628,8 +661,8 @@ const He = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
628
661
|
...a
|
|
629
662
|
}
|
|
630
663
|
);
|
|
631
|
-
|
|
632
|
-
const
|
|
664
|
+
Ee.displayName = "ProgressTrack";
|
|
665
|
+
const $e = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
633
666
|
N.Indicator,
|
|
634
667
|
{
|
|
635
668
|
className: r(
|
|
@@ -639,87 +672,86 @@ const qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
639
672
|
...a
|
|
640
673
|
}
|
|
641
674
|
);
|
|
642
|
-
|
|
643
|
-
const
|
|
675
|
+
$e.displayName = "ProgressIndicator";
|
|
676
|
+
const Ge = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
644
677
|
N.Value,
|
|
645
678
|
{
|
|
646
679
|
className: r("text-sm font-medium text-foreground", e),
|
|
647
680
|
...a
|
|
648
681
|
}
|
|
649
682
|
);
|
|
650
|
-
|
|
651
|
-
const
|
|
683
|
+
Ge.displayName = "ProgressValue";
|
|
684
|
+
const Je = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
652
685
|
N.Label,
|
|
653
686
|
{
|
|
654
687
|
className: r("text-sm font-medium text-foreground", e),
|
|
655
688
|
...a
|
|
656
689
|
}
|
|
657
690
|
);
|
|
658
|
-
|
|
691
|
+
Je.displayName = "ProgressLabel";
|
|
659
692
|
export {
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
693
|
+
_e as AccordionHeader,
|
|
694
|
+
Ce as AccordionItem,
|
|
695
|
+
Fe as AccordionPanel,
|
|
696
|
+
Se as AccordionRoot,
|
|
697
|
+
Ie as AccordionTrigger,
|
|
698
|
+
da as AlertDialog,
|
|
699
|
+
B as AlertDialogBackdrop,
|
|
700
|
+
E as AlertDialogClose,
|
|
668
701
|
q as AlertDialogDescription,
|
|
669
702
|
L as AlertDialogPopup,
|
|
670
703
|
F as AlertDialogPortal,
|
|
671
|
-
|
|
704
|
+
_ as AlertDialogRoot,
|
|
672
705
|
H as AlertDialogTitle,
|
|
673
706
|
I as AlertDialogTrigger,
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
$ as
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
G as AvatarStack,
|
|
707
|
+
M as AlertDialogViewport,
|
|
708
|
+
G as AvatarFallback,
|
|
709
|
+
$ as AvatarImage,
|
|
710
|
+
z as AvatarRoot,
|
|
711
|
+
J as AvatarStack,
|
|
680
712
|
C as Button,
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
qe as
|
|
710
|
-
Ee as
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
713
|
+
ue as DialogBackdrop,
|
|
714
|
+
be as DialogClose,
|
|
715
|
+
fe as DialogDescription,
|
|
716
|
+
Ne as DialogFooter,
|
|
717
|
+
ye as DialogHeader,
|
|
718
|
+
ge as DialogPopup,
|
|
719
|
+
ce as DialogPortal,
|
|
720
|
+
ne as DialogRoot,
|
|
721
|
+
pe as DialogTitle,
|
|
722
|
+
de as DialogTrigger,
|
|
723
|
+
we as DrawerBackdrop,
|
|
724
|
+
ze as DrawerClose,
|
|
725
|
+
Re as DrawerContent,
|
|
726
|
+
Te as DrawerDescription,
|
|
727
|
+
Ve as DrawerFooter,
|
|
728
|
+
Pe as DrawerHeader,
|
|
729
|
+
ke as DrawerPopup,
|
|
730
|
+
ve as DrawerPortal,
|
|
731
|
+
he as DrawerRoot,
|
|
732
|
+
Ae as DrawerTitle,
|
|
733
|
+
xe as DrawerTrigger,
|
|
734
|
+
je as MeterIndicator,
|
|
735
|
+
He as MeterLabel,
|
|
736
|
+
Be as MeterRoot,
|
|
737
|
+
Me as MeterTrack,
|
|
738
|
+
Le as MeterValue,
|
|
739
|
+
$e as ProgressIndicator,
|
|
740
|
+
Je as ProgressLabel,
|
|
741
|
+
qe as ProgressRoot,
|
|
742
|
+
Ee as ProgressTrack,
|
|
743
|
+
Ge as ProgressValue,
|
|
744
|
+
Q as ScrollAreaContent,
|
|
745
|
+
X as ScrollAreaCorner,
|
|
746
|
+
K as ScrollAreaRoot,
|
|
747
|
+
U as ScrollAreaScrollbar,
|
|
748
|
+
W as ScrollAreaThumb,
|
|
749
|
+
O as ScrollAreaViewport,
|
|
750
|
+
Y as SwitchRoot,
|
|
751
|
+
Z as SwitchThumb,
|
|
752
|
+
se as TabsIndicator,
|
|
753
|
+
te as TabsList,
|
|
754
|
+
ie as TabsPanel,
|
|
755
|
+
ee as TabsRoot,
|
|
756
|
+
oe as TabsTab
|
|
725
757
|
};
|
package/dist/styles/default.css
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
|
|
79
79
|
@layer base {
|
|
80
80
|
* {
|
|
81
|
-
@apply focus:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 data-disabled:pointer-events-none data-disabled:opacity-
|
|
81
|
+
@apply focus:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 data-disabled:pointer-events-none data-disabled:opacity-70;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|