@lglab/compose-ui 0.2.0 → 0.4.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/accordion.d.ts.map +1 -1
- package/dist/components/alert-dialog.d.ts +64 -0
- package/dist/components/alert-dialog.d.ts.map +1 -0
- package/dist/components/button.d.ts +1 -5
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/drawer.d.ts.map +1 -1
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +301 -224
- package/dist/lib/button-variants.d.ts.map +1 -1
- package/dist/styles/default.css +6 -0
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../src/components/accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../src/components/accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACrE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,CAAA;AAEzE,QAAA,MAAM,aAAa;8BAA6B,kBAAkB;;CAEjE,CAAA;AAQD,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,IAAI,CAAC,CAAA;AAEzE,QAAA,MAAM,aAAa;8BAA6B,kBAAkB;;CAOjE,CAAA;AAQD,KAAK,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,MAAM,CAAC,CAAA;AAE7E,QAAA,MAAM,eAAe;8BAA6B,oBAAoB;;CAErE,CAAA;AAQD,KAAK,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,CAAA;AAE/E,QAAA,MAAM,gBAAgB;wCAAuC,qBAAqB;;CAYjF,CAAA;AAQD,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,KAAK,CAAC,CAAA;AAE3E,QAAA,MAAM,cAAc;8BAA6B,mBAAmB;;CAUnE,CAAA;AAQD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,cAAc,EAAE,CAAA;AAE1F,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,GACpB,CAAA"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { AlertDialog as BaseAlertDialog } from '@base-ui/react/alert-dialog';
|
|
2
|
+
import { ButtonSize, ButtonVariant } from '../lib/button-variants';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
type AlertDialogRootProps = React.ComponentProps<typeof BaseAlertDialog.Root>;
|
|
5
|
+
declare const AlertDialogRoot: {
|
|
6
|
+
(props: AlertDialogRootProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
type AlertDialogTriggerProps = React.ComponentProps<typeof BaseAlertDialog.Trigger> & {
|
|
10
|
+
/** Visual style variant */
|
|
11
|
+
variant?: ButtonVariant;
|
|
12
|
+
/** Size of the trigger button */
|
|
13
|
+
size?: ButtonSize;
|
|
14
|
+
};
|
|
15
|
+
declare const AlertDialogTrigger: {
|
|
16
|
+
({ className, variant, size, ...props }: AlertDialogTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
type AlertDialogPortalProps = React.ComponentProps<typeof BaseAlertDialog.Portal>;
|
|
20
|
+
declare const AlertDialogPortal: {
|
|
21
|
+
(props: AlertDialogPortalProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
type AlertDialogBackdropProps = React.ComponentProps<typeof BaseAlertDialog.Backdrop>;
|
|
25
|
+
declare const AlertDialogBackdrop: {
|
|
26
|
+
({ className, ...props }: AlertDialogBackdropProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
29
|
+
type AlertDialogViewportProps = React.ComponentProps<typeof BaseAlertDialog.Viewport>;
|
|
30
|
+
declare const AlertDialogViewport: {
|
|
31
|
+
({ className, ...props }: AlertDialogViewportProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
displayName: string;
|
|
33
|
+
};
|
|
34
|
+
type AlertDialogPopupProps = React.ComponentProps<typeof BaseAlertDialog.Popup> & {
|
|
35
|
+
/** Size of the alert dialog popup */
|
|
36
|
+
size?: 'sm' | 'default' | 'lg' | 'xl' | 'full';
|
|
37
|
+
};
|
|
38
|
+
declare const AlertDialogPopup: {
|
|
39
|
+
({ className, size, ...props }: AlertDialogPopupProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
displayName: string;
|
|
41
|
+
};
|
|
42
|
+
type AlertDialogTitleProps = React.ComponentProps<typeof BaseAlertDialog.Title>;
|
|
43
|
+
declare const AlertDialogTitle: {
|
|
44
|
+
({ className, ...props }: AlertDialogTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
displayName: string;
|
|
46
|
+
};
|
|
47
|
+
type AlertDialogDescriptionProps = React.ComponentProps<typeof BaseAlertDialog.Description>;
|
|
48
|
+
declare const AlertDialogDescription: {
|
|
49
|
+
({ className, ...props }: AlertDialogDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
displayName: string;
|
|
51
|
+
};
|
|
52
|
+
type AlertDialogCloseProps = React.ComponentProps<typeof BaseAlertDialog.Close> & {
|
|
53
|
+
/** Visual style variant */
|
|
54
|
+
variant?: ButtonVariant;
|
|
55
|
+
/** Size of the close button */
|
|
56
|
+
size?: ButtonSize;
|
|
57
|
+
};
|
|
58
|
+
declare const AlertDialogClose: {
|
|
59
|
+
({ className, variant, size, ...props }: AlertDialogCloseProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
displayName: string;
|
|
61
|
+
};
|
|
62
|
+
export { AlertDialogRoot, AlertDialogTrigger, AlertDialogPortal, AlertDialogBackdrop, AlertDialogViewport, AlertDialogPopup, AlertDialogTitle, AlertDialogDescription, AlertDialogClose, };
|
|
63
|
+
export type { AlertDialogRootProps, AlertDialogTriggerProps, AlertDialogPortalProps, AlertDialogBackdropProps, AlertDialogViewportProps, AlertDialogPopupProps, AlertDialogTitleProps, AlertDialogDescriptionProps, AlertDialogCloseProps, };
|
|
64
|
+
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../src/components/alert-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAE5E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EACL,KAAK,UAAU,EACf,KAAK,aAAa,EAEnB,MAAM,wBAAwB,CAAA;AAO/B,KAAK,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAA;AAE7E,QAAA,MAAM,eAAe;YAAW,oBAAoB;;CAEnD,CAAA;AAQD,KAAK,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG;IACpF,2BAA2B;IAC3B,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,iCAAiC;IACjC,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB,CAAA;AAED,QAAA,MAAM,kBAAkB;6CAKrB,uBAAuB;;CAOzB,CAAA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,CAAA;AAQD,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,GACjB,CAAA;AAED,YAAY,EACV,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,GACtB,CAAA"}
|
|
@@ -6,13 +6,9 @@ type ButtonProps = React.ComponentProps<typeof BaseButton> & {
|
|
|
6
6
|
variant?: ButtonVariant;
|
|
7
7
|
/** Size of the button */
|
|
8
8
|
size?: ButtonSize;
|
|
9
|
-
/** Show loading state */
|
|
10
|
-
loading?: boolean;
|
|
11
|
-
/** Content to show when loading */
|
|
12
|
-
loadingText?: string;
|
|
13
9
|
};
|
|
14
10
|
declare const Button: {
|
|
15
|
-
({ className, variant, size,
|
|
11
|
+
({ className, variant, size, disabled, children, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
16
12
|
displayName: string;
|
|
17
13
|
};
|
|
18
14
|
export { Button };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EACL,KAAK,UAAU,EACf,KAAK,aAAa,EAEnB,MAAM,wBAAwB,CAAA;AAG/B,KAAK,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,GAAG;IAC3D,2BAA2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OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,CAAA;AAEhE,YAAY,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,cAAc,GACf,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
export { Button } from './components/button';
|
|
2
|
+
export { AlertDialogRoot, AlertDialogTrigger, AlertDialogPortal, AlertDialogBackdrop, AlertDialogViewport, AlertDialogPopup, AlertDialogTitle, AlertDialogDescription, AlertDialogClose, } from './components/alert-dialog';
|
|
3
|
+
export { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
2
4
|
export { ScrollAreaRoot, ScrollAreaViewport, ScrollAreaContent, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner, } from './components/scroll-area';
|
|
3
5
|
export { TabsRoot, TabsList, TabsTab, TabsIndicator, TabsPanel } from './components/tabs';
|
|
4
6
|
export { DialogRoot, DialogTrigger, DialogPortal, DialogBackdrop, DialogPopup, DialogTitle, DialogDescription, DialogClose, DialogHeader, DialogFooter, } from './components/dialog';
|
|
5
7
|
export { DrawerRoot, DrawerTrigger, DrawerPortal, DrawerBackdrop, DrawerPopup, DrawerTitle, DrawerDescription, DrawerClose, DrawerHeader, DrawerContent, DrawerFooter, } from './components/drawer';
|
|
6
8
|
export { AccordionRoot, AccordionItem, AccordionHeader, AccordionTrigger, AccordionPanel, } from './components/accordion';
|
|
7
9
|
export type { ButtonProps } from './components/button';
|
|
10
|
+
export type { AlertDialogRootProps, AlertDialogTriggerProps, AlertDialogPortalProps, AlertDialogBackdropProps, AlertDialogViewportProps, AlertDialogPopupProps, AlertDialogTitleProps, AlertDialogDescriptionProps, AlertDialogCloseProps, } from './components/alert-dialog';
|
|
8
11
|
export type { ScrollAreaRootProps, ScrollAreaViewportProps, ScrollAreaContentProps, ScrollAreaScrollbarProps, ScrollAreaThumbProps, ScrollAreaCornerProps, } from './components/scroll-area';
|
|
9
12
|
export type { TabsRootProps, TabsListProps, TabsTabProps, TabsIndicatorProps, TabsPanelProps, } from './components/tabs';
|
|
10
13
|
export type { DialogRootProps, DialogTriggerProps, DialogPortalProps, DialogBackdropProps, DialogPopupProps, DialogTitleProps, DialogDescriptionProps, DialogCloseProps, DialogHeaderProps, DialogFooterProps, } from './components/dialog';
|
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,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACzF,OAAO,EACL,UAAU,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,YAAY,GACb,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,UAAU,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,YAAY,GACb,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,aAAa,EACb,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,cAAc,GACf,MAAM,wBAAwB,CAAA;AAE/B,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,YAAY,EACV,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,0BAA0B,CAAA;AACjC,YAAY,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,cAAc,GACf,MAAM,mBAAmB,CAAA;AAC1B,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,wBAAwB,CAAA"}
|
|
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,EACL,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACzF,OAAO,EACL,UAAU,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,YAAY,GACb,MAAM,qBAAqB,CAAA;AAC5B,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
1
|
"use client";
|
|
2
|
-
import { jsx as t
|
|
3
|
-
import { Button as
|
|
4
|
-
import { LoaderCircle as N, ChevronDown as h } from "lucide-react";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { Button as f } from "@base-ui/react/button";
|
|
5
4
|
import { cva as n } from "class-variance-authority";
|
|
6
|
-
import { clsx as
|
|
7
|
-
import { twMerge as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
import { clsx as b } from "clsx";
|
|
6
|
+
import { twMerge as y } from "tailwind-merge";
|
|
7
|
+
import { AlertDialog as i } from "@base-ui/react/alert-dialog";
|
|
8
|
+
import { AlertDialog as Va } from "@base-ui/react/alert-dialog";
|
|
9
|
+
import { ScrollArea as c } from "@base-ui/react/scroll-area";
|
|
10
|
+
import { Tabs as g } from "@base-ui/react/tabs";
|
|
11
|
+
import { Dialog as l } from "@base-ui/react/dialog";
|
|
12
|
+
import { Accordion as u } from "@base-ui/react/accordion";
|
|
13
|
+
const d = n(
|
|
14
14
|
[
|
|
15
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all
|
|
15
|
+
"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"
|
|
16
16
|
],
|
|
17
17
|
{
|
|
18
18
|
variants: {
|
|
@@ -39,79 +39,167 @@ const u = n(
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
|
-
function r(...
|
|
43
|
-
return
|
|
42
|
+
function r(...a) {
|
|
43
|
+
return y(b(a));
|
|
44
44
|
}
|
|
45
|
-
const
|
|
46
|
-
className:
|
|
47
|
-
variant:
|
|
45
|
+
const N = ({
|
|
46
|
+
className: a,
|
|
47
|
+
variant: e,
|
|
48
48
|
size: o,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
children: g,
|
|
53
|
-
...b
|
|
49
|
+
disabled: s,
|
|
50
|
+
children: p,
|
|
51
|
+
...m
|
|
54
52
|
}) => /* @__PURE__ */ t(
|
|
55
|
-
|
|
53
|
+
f,
|
|
56
54
|
{
|
|
57
|
-
className: r(
|
|
58
|
-
disabled:
|
|
59
|
-
...
|
|
60
|
-
children:
|
|
61
|
-
/* @__PURE__ */ t(N, { className: "animate-spin" }),
|
|
62
|
-
p ?? g
|
|
63
|
-
] }) : g
|
|
55
|
+
className: r(d({ variant: e, size: o }), a),
|
|
56
|
+
disabled: s,
|
|
57
|
+
...m,
|
|
58
|
+
children: p
|
|
64
59
|
}
|
|
65
60
|
);
|
|
66
|
-
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
const
|
|
70
|
-
|
|
61
|
+
N.displayName = "Button";
|
|
62
|
+
const v = (a) => /* @__PURE__ */ t(i.Root, { ...a });
|
|
63
|
+
v.displayName = "AlertDialogRoot";
|
|
64
|
+
const x = ({
|
|
65
|
+
className: a,
|
|
66
|
+
variant: e,
|
|
67
|
+
size: o,
|
|
68
|
+
...s
|
|
69
|
+
}) => /* @__PURE__ */ t(
|
|
70
|
+
i.Trigger,
|
|
71
|
+
{
|
|
72
|
+
className: r(d({ variant: e, size: o }), a),
|
|
73
|
+
...s
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
x.displayName = "AlertDialogTrigger";
|
|
77
|
+
const D = (a) => /* @__PURE__ */ t(i.Portal, { ...a });
|
|
78
|
+
D.displayName = "AlertDialogPortal";
|
|
79
|
+
const h = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
80
|
+
i.Backdrop,
|
|
81
|
+
{
|
|
82
|
+
className: r(
|
|
83
|
+
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
84
|
+
"transition-opacity duration-200",
|
|
85
|
+
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
86
|
+
a
|
|
87
|
+
),
|
|
88
|
+
...e
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
h.displayName = "AlertDialogBackdrop";
|
|
92
|
+
const w = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
93
|
+
i.Viewport,
|
|
94
|
+
{
|
|
95
|
+
className: r("fixed inset-0 z-50 flex items-center justify-center p-4", a),
|
|
96
|
+
...e
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
w.displayName = "AlertDialogViewport";
|
|
100
|
+
const A = n(
|
|
101
|
+
[
|
|
102
|
+
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
103
|
+
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
104
|
+
"transition-all duration-200",
|
|
105
|
+
"data-[starting-style]:scale-95 data-[starting-style]:opacity-0",
|
|
106
|
+
"data-[ending-style]:scale-95 data-[ending-style]:opacity-0",
|
|
107
|
+
"top-[calc(50%+1.25rem*var(--nested-dialogs))] scale-[calc(1-0.1*var(--nested-dialogs))]",
|
|
108
|
+
"data-[nested-dialog-open]:after:absolute data-[nested-dialog-open]:after:inset-0 data-[nested-dialog-open]:after:rounded-[inherit] data-[nested-dialog-open]:after:bg-black/5"
|
|
109
|
+
],
|
|
110
|
+
{
|
|
111
|
+
variants: {
|
|
112
|
+
size: {
|
|
113
|
+
sm: "w-sm",
|
|
114
|
+
default: "w-lg",
|
|
115
|
+
lg: "w-2xl",
|
|
116
|
+
xl: "w-4xl",
|
|
117
|
+
full: "h-[calc(100vh-2rem)]"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
defaultVariants: {
|
|
121
|
+
size: "default"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
), T = ({ className: a, size: e, ...o }) => /* @__PURE__ */ t(
|
|
125
|
+
i.Popup,
|
|
71
126
|
{
|
|
72
|
-
className: r(
|
|
73
|
-
...
|
|
127
|
+
className: r(A({ size: e }), a),
|
|
128
|
+
...o
|
|
74
129
|
}
|
|
75
130
|
);
|
|
76
|
-
|
|
77
|
-
const
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
131
|
+
T.displayName = "AlertDialogPopup";
|
|
132
|
+
const k = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
133
|
+
i.Title,
|
|
134
|
+
{
|
|
135
|
+
className: r("text-lg font-semibold leading-none tracking-tight", a),
|
|
136
|
+
...e
|
|
137
|
+
}
|
|
138
|
+
);
|
|
139
|
+
k.displayName = "AlertDialogTitle";
|
|
140
|
+
const z = ({ className: a, ...e }) => /* @__PURE__ */ t(i.Description, { className: r("mt-2", a), ...e });
|
|
141
|
+
z.displayName = "AlertDialogDescription";
|
|
142
|
+
const P = ({
|
|
143
|
+
className: a,
|
|
144
|
+
variant: e,
|
|
145
|
+
size: o,
|
|
146
|
+
...s
|
|
147
|
+
}) => /* @__PURE__ */ t(
|
|
148
|
+
i.Close,
|
|
149
|
+
{
|
|
150
|
+
className: r(d({ variant: e ?? "outline", size: o }), a),
|
|
151
|
+
...s
|
|
152
|
+
}
|
|
153
|
+
);
|
|
154
|
+
P.displayName = "AlertDialogClose";
|
|
155
|
+
const V = ({ className: a, ...e }) => /* @__PURE__ */ t(c.Root, { className: r("relative", a), ...e });
|
|
156
|
+
V.displayName = "ScrollAreaRoot";
|
|
157
|
+
const R = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
158
|
+
c.Viewport,
|
|
159
|
+
{
|
|
160
|
+
className: r("h-full overscroll-contain pr-3", a),
|
|
161
|
+
...e
|
|
162
|
+
}
|
|
163
|
+
);
|
|
164
|
+
R.displayName = "ScrollAreaViewport";
|
|
165
|
+
const C = ({ className: a, ...e }) => /* @__PURE__ */ t(c.Content, { className: r("min-w-full", a), ...e });
|
|
166
|
+
C.displayName = "ScrollAreaContent";
|
|
167
|
+
const S = ({
|
|
168
|
+
className: a,
|
|
169
|
+
orientation: e = "vertical",
|
|
82
170
|
...o
|
|
83
171
|
}) => /* @__PURE__ */ t(
|
|
84
|
-
|
|
172
|
+
c.Scrollbar,
|
|
85
173
|
{
|
|
86
174
|
className: r(
|
|
87
175
|
"flex touch-none select-none p-0.5 transition-colors duration-150 ease-out",
|
|
88
176
|
"data-hovering:bg-muted/50",
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
177
|
+
e === "vertical" && "h-full w-2.5",
|
|
178
|
+
e === "horizontal" && "h-2.5 w-full flex-col",
|
|
179
|
+
a
|
|
92
180
|
),
|
|
93
|
-
orientation:
|
|
181
|
+
orientation: e,
|
|
94
182
|
...o
|
|
95
183
|
}
|
|
96
184
|
);
|
|
97
|
-
|
|
98
|
-
const
|
|
99
|
-
|
|
185
|
+
S.displayName = "ScrollAreaScrollbar";
|
|
186
|
+
const B = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
187
|
+
c.Thumb,
|
|
100
188
|
{
|
|
101
189
|
className: r(
|
|
102
190
|
"relative flex-1 rounded-full bg-border transition-colors",
|
|
103
191
|
"hover:bg-muted-foreground/50",
|
|
104
|
-
|
|
192
|
+
a
|
|
105
193
|
),
|
|
106
|
-
...
|
|
194
|
+
...e
|
|
107
195
|
}
|
|
108
196
|
);
|
|
109
|
-
|
|
110
|
-
const
|
|
111
|
-
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
const
|
|
197
|
+
B.displayName = "ScrollAreaThumb";
|
|
198
|
+
const H = ({ className: a, ...e }) => /* @__PURE__ */ t(c.Corner, { className: r("bg-muted/50", a), ...e });
|
|
199
|
+
H.displayName = "ScrollAreaCorner";
|
|
200
|
+
const I = ({ className: a, ...e }) => /* @__PURE__ */ t(g.Root, { className: r("flex flex-col", a), ...e });
|
|
201
|
+
I.displayName = "TabsRoot";
|
|
202
|
+
const j = n(
|
|
115
203
|
["relative inline-flex w-fit items-center gap-1", "rounded-lg bg-muted p-1"],
|
|
116
204
|
{
|
|
117
205
|
variants: {
|
|
@@ -124,21 +212,19 @@ const R = n(
|
|
|
124
212
|
orientation: "horizontal"
|
|
125
213
|
}
|
|
126
214
|
}
|
|
127
|
-
),
|
|
128
|
-
|
|
215
|
+
), F = ({ className: a, orientation: e = "horizontal", ...o }) => /* @__PURE__ */ t(
|
|
216
|
+
g.List,
|
|
129
217
|
{
|
|
130
|
-
className: r(
|
|
218
|
+
className: r(j({ orientation: e }), a),
|
|
131
219
|
...o
|
|
132
220
|
}
|
|
133
221
|
);
|
|
134
|
-
|
|
135
|
-
const
|
|
222
|
+
F.displayName = "TabsList";
|
|
223
|
+
const L = n(
|
|
136
224
|
[
|
|
137
225
|
"relative z-10 inline-flex items-center justify-center whitespace-nowrap",
|
|
138
226
|
"rounded-md px-3 py-1.5 text-sm font-medium",
|
|
139
227
|
"transition-all duration-200",
|
|
140
|
-
"outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
141
|
-
"data-[disabled]:pointer-events-none data-[disabled]:opacity-70",
|
|
142
228
|
"text-foreground/80",
|
|
143
229
|
"data-[active]:text-foreground",
|
|
144
230
|
"hover:text-foreground"
|
|
@@ -155,9 +241,9 @@ const B = n(
|
|
|
155
241
|
size: "default"
|
|
156
242
|
}
|
|
157
243
|
}
|
|
158
|
-
),
|
|
159
|
-
|
|
160
|
-
const
|
|
244
|
+
), _ = ({ className: a, size: e, ...o }) => /* @__PURE__ */ t(g.Tab, { className: r(L({ size: e }), a), ...o });
|
|
245
|
+
_.displayName = "TabsTab";
|
|
246
|
+
const M = n(
|
|
161
247
|
["absolute rounded-md bg-background shadow-sm", "transition-all duration-200 ease-out"],
|
|
162
248
|
{
|
|
163
249
|
variants: {
|
|
@@ -170,60 +256,49 @@ const I = n(
|
|
|
170
256
|
orientation: "horizontal"
|
|
171
257
|
}
|
|
172
258
|
}
|
|
173
|
-
),
|
|
174
|
-
className:
|
|
175
|
-
orientation:
|
|
259
|
+
), $ = ({
|
|
260
|
+
className: a,
|
|
261
|
+
orientation: e = "horizontal",
|
|
176
262
|
...o
|
|
177
263
|
}) => /* @__PURE__ */ t(
|
|
178
|
-
|
|
264
|
+
g.Indicator,
|
|
179
265
|
{
|
|
180
|
-
className: r(
|
|
266
|
+
className: r(M({ orientation: e }), a),
|
|
181
267
|
...o
|
|
182
268
|
}
|
|
183
269
|
);
|
|
184
|
-
|
|
185
|
-
const
|
|
186
|
-
|
|
270
|
+
$.displayName = "TabsIndicator";
|
|
271
|
+
const q = ({ className: a, ...e }) => /* @__PURE__ */ t(g.Panel, { className: r("mt-2 ring-offset-background", a), ...e });
|
|
272
|
+
q.displayName = "TabsPanel";
|
|
273
|
+
const E = (a) => /* @__PURE__ */ t(l.Root, { ...a });
|
|
274
|
+
E.displayName = "DialogRoot";
|
|
275
|
+
const G = ({ className: a, variant: e, size: o, ...s }) => /* @__PURE__ */ t(
|
|
276
|
+
l.Trigger,
|
|
187
277
|
{
|
|
188
|
-
className: r(
|
|
189
|
-
"mt-2 ring-offset-background",
|
|
190
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
191
|
-
e
|
|
192
|
-
),
|
|
193
|
-
...a
|
|
194
|
-
}
|
|
195
|
-
);
|
|
196
|
-
F.displayName = "TabsPanel";
|
|
197
|
-
const L = (e) => /* @__PURE__ */ t(i.Root, { ...e });
|
|
198
|
-
L.displayName = "DialogRoot";
|
|
199
|
-
const _ = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
|
|
200
|
-
i.Trigger,
|
|
201
|
-
{
|
|
202
|
-
className: r(u({ variant: a, size: o }), e),
|
|
278
|
+
className: r(d({ variant: e, size: o }), a),
|
|
203
279
|
...s
|
|
204
280
|
}
|
|
205
281
|
);
|
|
206
|
-
|
|
207
|
-
const
|
|
208
|
-
|
|
209
|
-
const
|
|
210
|
-
|
|
282
|
+
G.displayName = "DialogTrigger";
|
|
283
|
+
const J = (a) => /* @__PURE__ */ t(l.Portal, { ...a });
|
|
284
|
+
J.displayName = "DialogPortal";
|
|
285
|
+
const K = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
286
|
+
l.Backdrop,
|
|
211
287
|
{
|
|
212
288
|
className: r(
|
|
213
289
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
214
290
|
"transition-opacity duration-200",
|
|
215
291
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
216
|
-
|
|
292
|
+
a
|
|
217
293
|
),
|
|
218
|
-
...
|
|
294
|
+
...e
|
|
219
295
|
}
|
|
220
296
|
);
|
|
221
|
-
|
|
222
|
-
const
|
|
297
|
+
K.displayName = "DialogBackdrop";
|
|
298
|
+
const O = n(
|
|
223
299
|
[
|
|
224
300
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
225
301
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
226
|
-
"outline-none",
|
|
227
302
|
"transition-all duration-200",
|
|
228
303
|
"data-[starting-style]:scale-95 data-[starting-style]:opacity-0",
|
|
229
304
|
"data-[ending-style]:scale-95 data-[ending-style]:opacity-0",
|
|
@@ -244,74 +319,73 @@ const q = n(
|
|
|
244
319
|
size: "default"
|
|
245
320
|
}
|
|
246
321
|
}
|
|
247
|
-
),
|
|
248
|
-
|
|
322
|
+
), Q = ({ className: a, size: e, ...o }) => /* @__PURE__ */ t(
|
|
323
|
+
l.Popup,
|
|
249
324
|
{
|
|
250
|
-
className: r(
|
|
325
|
+
className: r(O({ size: e }), a),
|
|
251
326
|
...o
|
|
252
327
|
}
|
|
253
328
|
);
|
|
254
|
-
|
|
255
|
-
const
|
|
256
|
-
|
|
329
|
+
Q.displayName = "DialogPopup";
|
|
330
|
+
const U = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
331
|
+
l.Title,
|
|
257
332
|
{
|
|
258
|
-
className: r("text-lg font-semibold leading-none tracking-tight",
|
|
259
|
-
...
|
|
333
|
+
className: r("text-lg font-semibold leading-none tracking-tight", a),
|
|
334
|
+
...e
|
|
260
335
|
}
|
|
261
336
|
);
|
|
262
|
-
|
|
263
|
-
const
|
|
264
|
-
|
|
265
|
-
const
|
|
266
|
-
|
|
337
|
+
U.displayName = "DialogTitle";
|
|
338
|
+
const W = ({ className: a, ...e }) => /* @__PURE__ */ t(l.Description, { className: r("mt-2", a), ...e });
|
|
339
|
+
W.displayName = "DialogDescription";
|
|
340
|
+
const X = ({ className: a, variant: e, size: o, ...s }) => /* @__PURE__ */ t(
|
|
341
|
+
l.Close,
|
|
267
342
|
{
|
|
268
|
-
className: r(
|
|
343
|
+
className: r(d({ variant: e ?? "outline", size: o }), a),
|
|
269
344
|
...s
|
|
270
345
|
}
|
|
271
346
|
);
|
|
272
|
-
|
|
273
|
-
const
|
|
274
|
-
|
|
275
|
-
const
|
|
347
|
+
X.displayName = "DialogClose";
|
|
348
|
+
const Y = ({ className: a, ...e }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1 mb-5", a), ...e });
|
|
349
|
+
Y.displayName = "DialogHeader";
|
|
350
|
+
const Z = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
276
351
|
"div",
|
|
277
352
|
{
|
|
278
353
|
className: r(
|
|
279
354
|
"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
280
|
-
|
|
355
|
+
a
|
|
281
356
|
),
|
|
282
|
-
...
|
|
357
|
+
...e
|
|
283
358
|
}
|
|
284
359
|
);
|
|
285
|
-
|
|
286
|
-
const
|
|
287
|
-
|
|
288
|
-
const
|
|
289
|
-
|
|
360
|
+
Z.displayName = "DialogFooter";
|
|
361
|
+
const aa = (a) => /* @__PURE__ */ t(l.Root, { ...a });
|
|
362
|
+
aa.displayName = "DrawerRoot";
|
|
363
|
+
const ea = ({ className: a, variant: e, size: o, ...s }) => /* @__PURE__ */ t(
|
|
364
|
+
l.Trigger,
|
|
290
365
|
{
|
|
291
|
-
className: r(
|
|
366
|
+
className: r(d({ variant: e, size: o }), a),
|
|
292
367
|
...s
|
|
293
368
|
}
|
|
294
369
|
);
|
|
295
|
-
|
|
296
|
-
const
|
|
297
|
-
|
|
298
|
-
const
|
|
299
|
-
|
|
370
|
+
ea.displayName = "DrawerTrigger";
|
|
371
|
+
const ta = (a) => /* @__PURE__ */ t(l.Portal, { ...a });
|
|
372
|
+
ta.displayName = "DrawerPortal";
|
|
373
|
+
const ra = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
374
|
+
l.Backdrop,
|
|
300
375
|
{
|
|
301
376
|
className: r(
|
|
302
377
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
303
378
|
"transition-opacity duration-300",
|
|
304
379
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
305
|
-
|
|
380
|
+
a
|
|
306
381
|
),
|
|
307
|
-
...
|
|
382
|
+
...e
|
|
308
383
|
}
|
|
309
384
|
);
|
|
310
|
-
|
|
311
|
-
const
|
|
385
|
+
ra.displayName = "DrawerBackdrop";
|
|
386
|
+
const oa = n(
|
|
312
387
|
[
|
|
313
388
|
"fixed z-50 flex flex-col bg-background p-6 shadow-lg",
|
|
314
|
-
"outline-none",
|
|
315
389
|
"transition-transform duration-300 ease-out",
|
|
316
390
|
"scale-[calc(1-0.1*var(--nested-dialogs))]",
|
|
317
391
|
"data-[nested-dialog-open]:after:absolute data-[nested-dialog-open]:after:inset-0 data-[nested-dialog-open]:after:rounded-[inherit] data-[nested-dialog-open]:after:bg-black/5"
|
|
@@ -345,117 +419,120 @@ const Z = n(
|
|
|
345
419
|
side: "right"
|
|
346
420
|
}
|
|
347
421
|
}
|
|
348
|
-
),
|
|
349
|
-
|
|
422
|
+
), la = ({ className: a, side: e, ...o }) => /* @__PURE__ */ t(
|
|
423
|
+
l.Popup,
|
|
350
424
|
{
|
|
351
|
-
className: r(
|
|
425
|
+
className: r(oa({ side: e }), a),
|
|
352
426
|
...o
|
|
353
427
|
}
|
|
354
428
|
);
|
|
355
|
-
|
|
356
|
-
const
|
|
357
|
-
|
|
429
|
+
la.displayName = "DrawerPopup";
|
|
430
|
+
const sa = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
431
|
+
l.Title,
|
|
358
432
|
{
|
|
359
|
-
className: r("text-lg font-semibold leading-none tracking-tight",
|
|
360
|
-
...
|
|
433
|
+
className: r("text-lg font-semibold leading-none tracking-tight", a),
|
|
434
|
+
...e
|
|
361
435
|
}
|
|
362
436
|
);
|
|
363
|
-
|
|
364
|
-
const
|
|
365
|
-
|
|
366
|
-
const
|
|
367
|
-
|
|
437
|
+
sa.displayName = "DrawerTitle";
|
|
438
|
+
const ia = ({ className: a, ...e }) => /* @__PURE__ */ t(l.Description, { className: r("", a), ...e });
|
|
439
|
+
ia.displayName = "DrawerDescription";
|
|
440
|
+
const na = ({ className: a, variant: e, size: o, ...s }) => /* @__PURE__ */ t(
|
|
441
|
+
l.Close,
|
|
368
442
|
{
|
|
369
|
-
className: r(
|
|
443
|
+
className: r(d({ variant: e ?? "outline", size: o }), a),
|
|
370
444
|
...s
|
|
371
445
|
}
|
|
372
446
|
);
|
|
373
|
-
|
|
374
|
-
const
|
|
375
|
-
|
|
376
|
-
const
|
|
377
|
-
|
|
378
|
-
const
|
|
379
|
-
|
|
380
|
-
const
|
|
381
|
-
|
|
382
|
-
const
|
|
383
|
-
|
|
384
|
-
{
|
|
385
|
-
className: r("border-b border-border last:border-b-0",
|
|
386
|
-
...
|
|
447
|
+
na.displayName = "DrawerClose";
|
|
448
|
+
const da = ({ className: a, ...e }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1.5", a), ...e });
|
|
449
|
+
da.displayName = "DrawerHeader";
|
|
450
|
+
const ca = ({ className: a, ...e }) => /* @__PURE__ */ t("div", { className: r("py-5", a), ...e });
|
|
451
|
+
ca.displayName = "DrawerContent";
|
|
452
|
+
const ga = ({ className: a, ...e }) => /* @__PURE__ */ t("div", { className: r("", a), ...e });
|
|
453
|
+
ga.displayName = "DrawerFooter";
|
|
454
|
+
const ua = ({ className: a, ...e }) => /* @__PURE__ */ t(u.Root, { className: r("w-full", a), ...e });
|
|
455
|
+
ua.displayName = "AccordionRoot";
|
|
456
|
+
const pa = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
457
|
+
u.Item,
|
|
458
|
+
{
|
|
459
|
+
className: r("border-b border-border last:border-b-0", a),
|
|
460
|
+
...e
|
|
387
461
|
}
|
|
388
462
|
);
|
|
389
|
-
|
|
390
|
-
const
|
|
391
|
-
|
|
392
|
-
const
|
|
393
|
-
|
|
463
|
+
pa.displayName = "AccordionItem";
|
|
464
|
+
const ma = ({ className: a, ...e }) => /* @__PURE__ */ t(u.Header, { className: r("flex", a), ...e });
|
|
465
|
+
ma.displayName = "AccordionHeader";
|
|
466
|
+
const fa = ({ className: a, children: e, ...o }) => /* @__PURE__ */ t(
|
|
467
|
+
u.Trigger,
|
|
394
468
|
{
|
|
395
469
|
className: r(
|
|
396
470
|
"flex flex-1 items-center justify-between py-3 font-medium",
|
|
397
|
-
|
|
398
|
-
"outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
399
|
-
"data-disabled:pointer-events-none data-disabled:opacity-80",
|
|
400
|
-
"[&[data-panel-open]_svg:last-child]:rotate-180",
|
|
401
|
-
e
|
|
471
|
+
a
|
|
402
472
|
),
|
|
403
473
|
...o,
|
|
404
|
-
children:
|
|
405
|
-
a,
|
|
406
|
-
/* @__PURE__ */ t(h, { className: "h-5 w-5 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
407
|
-
]
|
|
474
|
+
children: e
|
|
408
475
|
}
|
|
409
476
|
);
|
|
410
|
-
|
|
411
|
-
const
|
|
412
|
-
|
|
477
|
+
fa.displayName = "AccordionTrigger";
|
|
478
|
+
const ba = ({ className: a, ...e }) => /* @__PURE__ */ t(
|
|
479
|
+
u.Panel,
|
|
413
480
|
{
|
|
414
481
|
className: r(
|
|
415
482
|
"overflow-hidden duration-200 h-(--accordion-panel-height) transition-height ease-out data-ending-style:h-0 data-starting-style:h-0",
|
|
416
|
-
|
|
483
|
+
a
|
|
417
484
|
),
|
|
418
|
-
...
|
|
485
|
+
...e
|
|
419
486
|
}
|
|
420
487
|
);
|
|
421
|
-
|
|
488
|
+
ba.displayName = "AccordionPanel";
|
|
422
489
|
export {
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
U as
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
490
|
+
ma as AccordionHeader,
|
|
491
|
+
pa as AccordionItem,
|
|
492
|
+
ba as AccordionPanel,
|
|
493
|
+
ua as AccordionRoot,
|
|
494
|
+
fa as AccordionTrigger,
|
|
495
|
+
Va as AlertDialog,
|
|
496
|
+
h as AlertDialogBackdrop,
|
|
497
|
+
P as AlertDialogClose,
|
|
498
|
+
z as AlertDialogDescription,
|
|
499
|
+
T as AlertDialogPopup,
|
|
500
|
+
D as AlertDialogPortal,
|
|
501
|
+
v as AlertDialogRoot,
|
|
502
|
+
k as AlertDialogTitle,
|
|
503
|
+
x as AlertDialogTrigger,
|
|
504
|
+
w as AlertDialogViewport,
|
|
505
|
+
N as Button,
|
|
506
|
+
K as DialogBackdrop,
|
|
507
|
+
X as DialogClose,
|
|
508
|
+
W as DialogDescription,
|
|
509
|
+
Z as DialogFooter,
|
|
510
|
+
Y as DialogHeader,
|
|
511
|
+
Q as DialogPopup,
|
|
512
|
+
J as DialogPortal,
|
|
513
|
+
E as DialogRoot,
|
|
514
|
+
U as DialogTitle,
|
|
515
|
+
G as DialogTrigger,
|
|
516
|
+
ra as DrawerBackdrop,
|
|
517
|
+
na as DrawerClose,
|
|
518
|
+
ca as DrawerContent,
|
|
519
|
+
ia as DrawerDescription,
|
|
520
|
+
ga as DrawerFooter,
|
|
521
|
+
da as DrawerHeader,
|
|
522
|
+
la as DrawerPopup,
|
|
523
|
+
ta as DrawerPortal,
|
|
524
|
+
aa as DrawerRoot,
|
|
525
|
+
sa as DrawerTitle,
|
|
526
|
+
ea as DrawerTrigger,
|
|
527
|
+
C as ScrollAreaContent,
|
|
528
|
+
H as ScrollAreaCorner,
|
|
529
|
+
V as ScrollAreaRoot,
|
|
530
|
+
S as ScrollAreaScrollbar,
|
|
531
|
+
B as ScrollAreaThumb,
|
|
532
|
+
R as ScrollAreaViewport,
|
|
533
|
+
$ as TabsIndicator,
|
|
534
|
+
F as TabsList,
|
|
535
|
+
q as TabsPanel,
|
|
536
|
+
I as TabsRoot,
|
|
537
|
+
_ as TabsTab
|
|
461
538
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-variants.d.ts","sourceRoot":"","sources":["../../src/lib/button-variants.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,WAAW,GACX,SAAS,GACT,OAAO,GACP,aAAa,GACb,MAAM,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;AAEjF,eAAO,MAAM,cAAc;;;
|
|
1
|
+
{"version":3,"file":"button-variants.d.ts","sourceRoot":"","sources":["../../src/lib/button-variants.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,WAAW,GACX,SAAS,GACT,OAAO,GACP,aAAa,GACb,MAAM,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;AAEjF,eAAO,MAAM,cAAc;;;8EA8B1B,CAAA"}
|
package/dist/styles/default.css
CHANGED
|
@@ -76,6 +76,12 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
@layer base {
|
|
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-80;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
79
85
|
@media (prefers-reduced-motion: reduce) {
|
|
80
86
|
*,
|
|
81
87
|
*::before,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lglab/compose-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "A collection of components built with Base UI & Tailwind CSS",
|
|
5
5
|
"author": "LGLab",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
],
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@base-ui/react": "^1.0.0",
|
|
39
|
+
"@types/react": "^18 || ^19",
|
|
39
40
|
"class-variance-authority": "^0.7.1",
|
|
40
41
|
"clsx": "^2.1.1",
|
|
41
|
-
"react": "^19",
|
|
42
|
-
"react-dom": "^19
|
|
42
|
+
"react": "^18 || ^19",
|
|
43
|
+
"react-dom": "^18 || ^19",
|
|
43
44
|
"tailwind-merge": "^3.4.0",
|
|
44
|
-
"tailwindcss": "^4.0.0"
|
|
45
|
-
"lucide-react": "^0.562.0"
|
|
45
|
+
"tailwindcss": "^4.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^25.0.3",
|