@lglab/compose-ui 0.3.0 → 0.5.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.
@@ -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;AAQD,KAAK,sBAAsB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,CAAA;AAEjF,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;CAEvD,CAAA;AAQD,KAAK,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,CAAA;AAErF,QAAA,MAAM,mBAAmB;8BAA6B,wBAAwB;;CAY7E,CAAA;AAQD,KAAK,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,CAAA;AAErF,QAAA,MAAM,mBAAmB;8BAA6B,wBAAwB;;CAO7E,CAAA;AAkCD,KAAK,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,GAAG;IAChF,qCAAqC;IACrC,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAA;CAC/C,CAAA;AAED,QAAA,MAAM,gBAAgB;oCAAmC,qBAAqB;;CAO7E,CAAA;AAQD,KAAK,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,CAAA;AAE/E,QAAA,MAAM,gBAAgB;8BAA6B,qBAAqB;;CAOvE,CAAA;AAQD,KAAK,2BAA2B,GAAG,KAAK,CAAC,cAAc,CACrD,OAAO,eAAe,CAAC,WAAW,CACnC,CAAA;AAED,QAAA,MAAM,sBAAsB;8BAA6B,2BAA2B;;CAEnF,CAAA;AAQD,KAAK,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,GAAG;IAChF,2BAA2B;IAC3B,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,+BAA+B;IAC/B,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB,CAAA;AAED,QAAA,MAAM,gBAAgB;6CAKnB,qBAAqB;;CAOvB,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"}
@@ -0,0 +1,38 @@
1
+ import { Avatar as BaseAvatar } from '@base-ui/react/avatar';
2
+ import * as React from 'react';
3
+ type AvatarSize = 'sm' | 'default' | 'lg';
4
+ type AvatarRootProps = React.ComponentProps<typeof BaseAvatar.Root> & {
5
+ /** Size of the avatar */
6
+ size?: AvatarSize;
7
+ };
8
+ declare const AvatarRoot: {
9
+ ({ className, size, ...props }: AvatarRootProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
12
+ type AvatarImageProps = React.ComponentProps<typeof BaseAvatar.Image>;
13
+ declare const AvatarImage: {
14
+ ({ className, ...props }: AvatarImageProps): import("react/jsx-runtime").JSX.Element;
15
+ displayName: string;
16
+ };
17
+ type AvatarFallbackProps = React.ComponentProps<typeof BaseAvatar.Fallback>;
18
+ declare const AvatarFallback: {
19
+ ({ className, ...props }: AvatarFallbackProps): import("react/jsx-runtime").JSX.Element;
20
+ displayName: string;
21
+ };
22
+ type AvatarStackProps = {
23
+ /** ARIA label for the avatar stack list */
24
+ 'aria-label': string;
25
+ /** Maximum number of avatars to display before showing overflow indicator */
26
+ maxVisible?: number;
27
+ /** Additional CSS classes */
28
+ className?: string;
29
+ /** Avatar components to display */
30
+ children: React.ReactNode;
31
+ };
32
+ declare const AvatarStack: {
33
+ ({ "aria-label": ariaLabel, maxVisible, className, children, }: AvatarStackProps): import("react/jsx-runtime").JSX.Element;
34
+ displayName: string;
35
+ };
36
+ export { AvatarRoot, AvatarImage, AvatarFallback, AvatarStack };
37
+ export type { AvatarRootProps, AvatarImageProps, AvatarFallbackProps, AvatarStackProps };
38
+ //# sourceMappingURL=avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAE5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AA4B9B,KAAK,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;AAMzC,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG;IACpE,yBAAyB;IACzB,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB,CAAA;AAED,QAAA,MAAM,UAAU;oCAAmC,eAAe;;CAIjE,CAAA;AAQD,KAAK,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,KAAK,CAAC,CAAA;AAErE,QAAA,MAAM,WAAW;8BAA6B,gBAAgB;;CAO7D,CAAA;AAQD,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAA;AAE3E,QAAA,MAAM,cAAc;8BAA6B,mBAAmB;;CAUnE,CAAA;AAQD,KAAK,gBAAgB,GAAG;IACtB,2CAA2C;IAC3C,YAAY,EAAE,MAAM,CAAA;IACpB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,mCAAmC;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,CAAA;AAED,QAAA,MAAM,WAAW;oEAKd,gBAAgB;;CAyClB,CAAA;AAQD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,CAAA;AAE/D,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,10 +1,16 @@
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';
4
+ export { AvatarRoot, AvatarImage, AvatarFallback, AvatarStack } from './components/avatar';
5
+ export { Avatar } from '@base-ui/react/avatar';
2
6
  export { ScrollAreaRoot, ScrollAreaViewport, ScrollAreaContent, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner, } from './components/scroll-area';
3
7
  export { TabsRoot, TabsList, TabsTab, TabsIndicator, TabsPanel } from './components/tabs';
4
8
  export { DialogRoot, DialogTrigger, DialogPortal, DialogBackdrop, DialogPopup, DialogTitle, DialogDescription, DialogClose, DialogHeader, DialogFooter, } from './components/dialog';
5
9
  export { DrawerRoot, DrawerTrigger, DrawerPortal, DrawerBackdrop, DrawerPopup, DrawerTitle, DrawerDescription, DrawerClose, DrawerHeader, DrawerContent, DrawerFooter, } from './components/drawer';
6
10
  export { AccordionRoot, AccordionItem, AccordionHeader, AccordionTrigger, AccordionPanel, } from './components/accordion';
7
11
  export type { ButtonProps } from './components/button';
12
+ export type { AlertDialogRootProps, AlertDialogTriggerProps, AlertDialogPortalProps, AlertDialogBackdropProps, AlertDialogViewportProps, AlertDialogPopupProps, AlertDialogTitleProps, AlertDialogDescriptionProps, AlertDialogCloseProps, } from './components/alert-dialog';
13
+ export type { AvatarRootProps, AvatarImageProps, AvatarFallbackProps, AvatarStackProps, } from './components/avatar';
8
14
  export type { ScrollAreaRootProps, ScrollAreaViewportProps, ScrollAreaContentProps, ScrollAreaScrollbarProps, ScrollAreaThumbProps, ScrollAreaCornerProps, } from './components/scroll-area';
9
15
  export type { TabsRootProps, TabsListProps, TabsTabProps, TabsIndicatorProps, TabsPanelProps, } from './components/tabs';
10
16
  export type { DialogRootProps, DialogTriggerProps, DialogPortalProps, DialogBackdropProps, DialogPopupProps, DialogTitleProps, DialogDescriptionProps, DialogCloseProps, DialogHeaderProps, DialogFooterProps, } from './components/dialog';
@@ -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,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC1F,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAC9C,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,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,2BAA2B,CAAA;AAClC,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,qBAAqB,CAAA;AAC5B,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"}
package/dist/index.es.js CHANGED
@@ -1,14 +1,19 @@
1
1
  "use client";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import { Button as p } from "@base-ui/react/button";
2
+ import { jsx as t, jsxs as x } from "react/jsx-runtime";
3
+ import { Button as T } from "@base-ui/react/button";
4
4
  import { cva as n } from "class-variance-authority";
5
- import { clsx as f } from "clsx";
6
- import { twMerge as b } from "tailwind-merge";
7
- import { ScrollArea as i } from "@base-ui/react/scroll-area";
8
- import { Tabs as d } from "@base-ui/react/tabs";
9
- import { Dialog as s } from "@base-ui/react/dialog";
10
- import { Accordion as c } from "@base-ui/react/accordion";
11
- const u = n(
5
+ import { clsx as z } from "clsx";
6
+ import { twMerge as P } from "tailwind-merge";
7
+ import { AlertDialog as i } from "@base-ui/react/alert-dialog";
8
+ import { AlertDialog as Je } from "@base-ui/react/alert-dialog";
9
+ import { Avatar as b } from "@base-ui/react/avatar";
10
+ import { Avatar as Oe } from "@base-ui/react/avatar";
11
+ import * as h from "react";
12
+ import { ScrollArea as c } from "@base-ui/react/scroll-area";
13
+ import { Tabs as p } from "@base-ui/react/tabs";
14
+ import { Dialog as l } from "@base-ui/react/dialog";
15
+ import { Accordion as f } from "@base-ui/react/accordion";
16
+ const d = n(
12
17
  [
13
18
  "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"
14
19
  ],
@@ -38,43 +43,205 @@ const u = n(
38
43
  }
39
44
  );
40
45
  function r(...e) {
41
- return b(f(e));
46
+ return P(z(e));
42
47
  }
43
- const y = ({
48
+ const C = ({
44
49
  className: e,
45
50
  variant: a,
46
51
  size: o,
47
- disabled: l,
48
- children: m,
49
- ...g
52
+ disabled: s,
53
+ children: u,
54
+ ...m
50
55
  }) => /* @__PURE__ */ t(
51
- p,
56
+ T,
52
57
  {
53
- className: r(u({ variant: a, size: o }), e),
54
- disabled: l,
55
- ...g,
56
- children: m
58
+ className: r(d({ variant: a, size: o }), e),
59
+ disabled: s,
60
+ ...m,
61
+ children: u
57
62
  }
58
63
  );
59
- y.displayName = "Button";
60
- const v = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Root, { className: r("relative", e), ...a });
61
- v.displayName = "ScrollAreaRoot";
62
- const N = ({ className: e, ...a }) => /* @__PURE__ */ t(
64
+ C.displayName = "Button";
65
+ const R = (e) => /* @__PURE__ */ t(i.Root, { ...e });
66
+ R.displayName = "AlertDialogRoot";
67
+ const V = ({
68
+ className: e,
69
+ variant: a,
70
+ size: o,
71
+ ...s
72
+ }) => /* @__PURE__ */ t(
73
+ i.Trigger,
74
+ {
75
+ className: r(d({ variant: a, size: o }), e),
76
+ ...s
77
+ }
78
+ );
79
+ V.displayName = "AlertDialogTrigger";
80
+ const S = (e) => /* @__PURE__ */ t(i.Portal, { ...e });
81
+ S.displayName = "AlertDialogPortal";
82
+ const B = ({ className: e, ...a }) => /* @__PURE__ */ t(
83
+ i.Backdrop,
84
+ {
85
+ className: r(
86
+ "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
87
+ "transition-opacity duration-200",
88
+ "data-starting-style:opacity-0 data-ending-style:opacity-0",
89
+ e
90
+ ),
91
+ ...a
92
+ }
93
+ );
94
+ B.displayName = "AlertDialogBackdrop";
95
+ const j = ({ className: e, ...a }) => /* @__PURE__ */ t(
63
96
  i.Viewport,
97
+ {
98
+ className: r("fixed inset-0 z-50 flex items-center justify-center p-4", e),
99
+ ...a
100
+ }
101
+ );
102
+ j.displayName = "AlertDialogViewport";
103
+ const F = n(
104
+ [
105
+ "fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
106
+ "w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
107
+ "transition-all duration-200",
108
+ "data-[starting-style]:scale-95 data-[starting-style]:opacity-0",
109
+ "data-[ending-style]:scale-95 data-[ending-style]:opacity-0",
110
+ "top-[calc(50%+1.25rem*var(--nested-dialogs))] scale-[calc(1-0.1*var(--nested-dialogs))]",
111
+ "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"
112
+ ],
113
+ {
114
+ variants: {
115
+ size: {
116
+ sm: "w-sm",
117
+ default: "w-lg",
118
+ lg: "w-2xl",
119
+ xl: "w-4xl",
120
+ full: "h-[calc(100vh-2rem)]"
121
+ }
122
+ },
123
+ defaultVariants: {
124
+ size: "default"
125
+ }
126
+ }
127
+ ), I = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
128
+ i.Popup,
129
+ {
130
+ className: r(F({ size: a }), e),
131
+ ...o
132
+ }
133
+ );
134
+ I.displayName = "AlertDialogPopup";
135
+ const H = ({ className: e, ...a }) => /* @__PURE__ */ t(
136
+ i.Title,
137
+ {
138
+ className: r("text-lg font-semibold leading-none tracking-tight", e),
139
+ ...a
140
+ }
141
+ );
142
+ H.displayName = "AlertDialogTitle";
143
+ const L = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Description, { className: r("mt-2", e), ...a });
144
+ L.displayName = "AlertDialogDescription";
145
+ const _ = ({
146
+ className: e,
147
+ variant: a,
148
+ size: o,
149
+ ...s
150
+ }) => /* @__PURE__ */ t(
151
+ i.Close,
152
+ {
153
+ className: r(d({ variant: a ?? "outline", size: o }), e),
154
+ ...s
155
+ }
156
+ );
157
+ _.displayName = "AlertDialogClose";
158
+ const w = n(
159
+ [
160
+ "relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
161
+ "bg-muted text-foreground",
162
+ "border-2 border-background"
163
+ ],
164
+ {
165
+ variants: {
166
+ size: {
167
+ sm: "size-8 text-xs",
168
+ default: "size-10 text-sm",
169
+ lg: "size-12 text-base"
170
+ }
171
+ },
172
+ defaultVariants: {
173
+ size: "default"
174
+ }
175
+ }
176
+ ), D = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(b.Root, { className: r(w({ size: a }), e), ...o });
177
+ D.displayName = "AvatarRoot";
178
+ const M = ({ className: e, ...a }) => /* @__PURE__ */ t(
179
+ b.Image,
180
+ {
181
+ className: r("aspect-square h-full w-full object-cover", e),
182
+ ...a
183
+ }
184
+ );
185
+ M.displayName = "AvatarImage";
186
+ const q = ({ className: e, ...a }) => /* @__PURE__ */ t(
187
+ b.Fallback,
188
+ {
189
+ className: r(
190
+ "flex h-full w-full items-center justify-center font-medium",
191
+ e
192
+ ),
193
+ ...a
194
+ }
195
+ );
196
+ q.displayName = "AvatarFallback";
197
+ const E = ({
198
+ "aria-label": e,
199
+ maxVisible: a,
200
+ className: o,
201
+ children: s
202
+ }) => {
203
+ const u = h.Children.toArray(s), m = u.length, y = a !== void 0 ? Math.min(a, m) : m, v = m - y, A = u.slice(0, y), k = (() => {
204
+ const g = u[0];
205
+ return h.isValidElement(g) && g.type === D ? g.props.size ?? "default" : "default";
206
+ })();
207
+ return /* @__PURE__ */ x("ul", { "aria-label": e, className: r("flex -space-x-2", o), children: [
208
+ A.map((g, N) => /* @__PURE__ */ t("li", { children: g }, N)),
209
+ v > 0 && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ x(
210
+ "span",
211
+ {
212
+ className: r(
213
+ "relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
214
+ "bg-muted text-foreground border-2 border-background",
215
+ "font-medium",
216
+ w({ size: k })
217
+ ),
218
+ children: [
219
+ "+",
220
+ v
221
+ ]
222
+ }
223
+ ) })
224
+ ] });
225
+ };
226
+ E.displayName = "AvatarStack";
227
+ const $ = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Root, { className: r("relative", e), ...a });
228
+ $.displayName = "ScrollAreaRoot";
229
+ const G = ({ className: e, ...a }) => /* @__PURE__ */ t(
230
+ c.Viewport,
64
231
  {
65
232
  className: r("h-full overscroll-contain pr-3", e),
66
233
  ...a
67
234
  }
68
235
  );
69
- N.displayName = "ScrollAreaViewport";
70
- const x = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Content, { className: r("min-w-full", e), ...a });
71
- x.displayName = "ScrollAreaContent";
72
- const h = ({
236
+ G.displayName = "ScrollAreaViewport";
237
+ const J = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Content, { className: r("min-w-full", e), ...a });
238
+ J.displayName = "ScrollAreaContent";
239
+ const K = ({
73
240
  className: e,
74
241
  orientation: a = "vertical",
75
242
  ...o
76
243
  }) => /* @__PURE__ */ t(
77
- i.Scrollbar,
244
+ c.Scrollbar,
78
245
  {
79
246
  className: r(
80
247
  "flex touch-none select-none p-0.5 transition-colors duration-150 ease-out",
@@ -87,9 +254,9 @@ const h = ({
87
254
  ...o
88
255
  }
89
256
  );
90
- h.displayName = "ScrollAreaScrollbar";
91
- const w = ({ className: e, ...a }) => /* @__PURE__ */ t(
92
- i.Thumb,
257
+ K.displayName = "ScrollAreaScrollbar";
258
+ const O = ({ className: e, ...a }) => /* @__PURE__ */ t(
259
+ c.Thumb,
93
260
  {
94
261
  className: r(
95
262
  "relative flex-1 rounded-full bg-border transition-colors",
@@ -99,12 +266,12 @@ const w = ({ className: e, ...a }) => /* @__PURE__ */ t(
99
266
  ...a
100
267
  }
101
268
  );
102
- w.displayName = "ScrollAreaThumb";
103
- const D = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Corner, { className: r("bg-muted/50", e), ...a });
104
- D.displayName = "ScrollAreaCorner";
105
- const T = ({ className: e, ...a }) => /* @__PURE__ */ t(d.Root, { className: r("flex flex-col", e), ...a });
106
- T.displayName = "TabsRoot";
107
- const k = n(
269
+ O.displayName = "ScrollAreaThumb";
270
+ const Q = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Corner, { className: r("bg-muted/50", e), ...a });
271
+ Q.displayName = "ScrollAreaCorner";
272
+ const U = ({ className: e, ...a }) => /* @__PURE__ */ t(p.Root, { className: r("flex flex-col", e), ...a });
273
+ U.displayName = "TabsRoot";
274
+ const W = n(
108
275
  ["relative inline-flex w-fit items-center gap-1", "rounded-lg bg-muted p-1"],
109
276
  {
110
277
  variants: {
@@ -117,15 +284,15 @@ const k = n(
117
284
  orientation: "horizontal"
118
285
  }
119
286
  }
120
- ), A = ({ className: e, orientation: a = "horizontal", ...o }) => /* @__PURE__ */ t(
121
- d.List,
287
+ ), X = ({ className: e, orientation: a = "horizontal", ...o }) => /* @__PURE__ */ t(
288
+ p.List,
122
289
  {
123
- className: r(k({ orientation: a }), e),
290
+ className: r(W({ orientation: a }), e),
124
291
  ...o
125
292
  }
126
293
  );
127
- A.displayName = "TabsList";
128
- const z = n(
294
+ X.displayName = "TabsList";
295
+ const Y = n(
129
296
  [
130
297
  "relative z-10 inline-flex items-center justify-center whitespace-nowrap",
131
298
  "rounded-md px-3 py-1.5 text-sm font-medium",
@@ -146,9 +313,9 @@ const z = n(
146
313
  size: "default"
147
314
  }
148
315
  }
149
- ), P = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(d.Tab, { className: r(z({ size: a }), e), ...o });
150
- P.displayName = "TabsTab";
151
- const S = n(
316
+ ), Z = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(p.Tab, { className: r(Y({ size: a }), e), ...o });
317
+ Z.displayName = "TabsTab";
318
+ const ee = n(
152
319
  ["absolute rounded-md bg-background shadow-sm", "transition-all duration-200 ease-out"],
153
320
  {
154
321
  variants: {
@@ -161,34 +328,34 @@ const S = n(
161
328
  orientation: "horizontal"
162
329
  }
163
330
  }
164
- ), R = ({
331
+ ), ae = ({
165
332
  className: e,
166
333
  orientation: a = "horizontal",
167
334
  ...o
168
335
  }) => /* @__PURE__ */ t(
169
- d.Indicator,
336
+ p.Indicator,
170
337
  {
171
- className: r(S({ orientation: a }), e),
338
+ className: r(ee({ orientation: a }), e),
172
339
  ...o
173
340
  }
174
341
  );
175
- R.displayName = "TabsIndicator";
176
- const V = ({ className: e, ...a }) => /* @__PURE__ */ t(d.Panel, { className: r("mt-2 ring-offset-background", e), ...a });
177
- V.displayName = "TabsPanel";
178
- const C = (e) => /* @__PURE__ */ t(s.Root, { ...e });
179
- C.displayName = "DialogRoot";
180
- const B = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
181
- s.Trigger,
342
+ ae.displayName = "TabsIndicator";
343
+ const te = ({ className: e, ...a }) => /* @__PURE__ */ t(p.Panel, { className: r("mt-2 ring-offset-background", e), ...a });
344
+ te.displayName = "TabsPanel";
345
+ const re = (e) => /* @__PURE__ */ t(l.Root, { ...e });
346
+ re.displayName = "DialogRoot";
347
+ const oe = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
348
+ l.Trigger,
182
349
  {
183
- className: r(u({ variant: a, size: o }), e),
184
- ...l
350
+ className: r(d({ variant: a, size: o }), e),
351
+ ...s
185
352
  }
186
353
  );
187
- B.displayName = "DialogTrigger";
188
- const H = (e) => /* @__PURE__ */ t(s.Portal, { ...e });
189
- H.displayName = "DialogPortal";
190
- const I = ({ className: e, ...a }) => /* @__PURE__ */ t(
191
- s.Backdrop,
354
+ oe.displayName = "DialogTrigger";
355
+ const le = (e) => /* @__PURE__ */ t(l.Portal, { ...e });
356
+ le.displayName = "DialogPortal";
357
+ const se = ({ className: e, ...a }) => /* @__PURE__ */ t(
358
+ l.Backdrop,
192
359
  {
193
360
  className: r(
194
361
  "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
@@ -199,8 +366,8 @@ const I = ({ className: e, ...a }) => /* @__PURE__ */ t(
199
366
  ...a
200
367
  }
201
368
  );
202
- I.displayName = "DialogBackdrop";
203
- const j = n(
369
+ se.displayName = "DialogBackdrop";
370
+ const ie = n(
204
371
  [
205
372
  "fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
206
373
  "w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
@@ -224,35 +391,35 @@ const j = n(
224
391
  size: "default"
225
392
  }
226
393
  }
227
- ), F = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
228
- s.Popup,
394
+ ), ne = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
395
+ l.Popup,
229
396
  {
230
- className: r(j({ size: a }), e),
397
+ className: r(ie({ size: a }), e),
231
398
  ...o
232
399
  }
233
400
  );
234
- F.displayName = "DialogPopup";
235
- const L = ({ className: e, ...a }) => /* @__PURE__ */ t(
236
- s.Title,
401
+ ne.displayName = "DialogPopup";
402
+ const de = ({ className: e, ...a }) => /* @__PURE__ */ t(
403
+ l.Title,
237
404
  {
238
405
  className: r("text-lg font-semibold leading-none tracking-tight", e),
239
406
  ...a
240
407
  }
241
408
  );
242
- L.displayName = "DialogTitle";
243
- const _ = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Description, { className: r("mt-2", e), ...a });
244
- _.displayName = "DialogDescription";
245
- const M = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
246
- s.Close,
409
+ de.displayName = "DialogTitle";
410
+ const ce = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Description, { className: r("mt-2", e), ...a });
411
+ ce.displayName = "DialogDescription";
412
+ const ue = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
413
+ l.Close,
247
414
  {
248
- className: r(u({ variant: a ?? "outline", size: o }), e),
249
- ...l
415
+ className: r(d({ variant: a ?? "outline", size: o }), e),
416
+ ...s
250
417
  }
251
418
  );
252
- M.displayName = "DialogClose";
253
- const $ = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1 mb-5", e), ...a });
254
- $.displayName = "DialogHeader";
255
- const q = ({ className: e, ...a }) => /* @__PURE__ */ t(
419
+ ue.displayName = "DialogClose";
420
+ const me = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1 mb-5", e), ...a });
421
+ me.displayName = "DialogHeader";
422
+ const ge = ({ className: e, ...a }) => /* @__PURE__ */ t(
256
423
  "div",
257
424
  {
258
425
  className: r(
@@ -262,21 +429,21 @@ const q = ({ className: e, ...a }) => /* @__PURE__ */ t(
262
429
  ...a
263
430
  }
264
431
  );
265
- q.displayName = "DialogFooter";
266
- const E = (e) => /* @__PURE__ */ t(s.Root, { ...e });
267
- E.displayName = "DrawerRoot";
268
- const G = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
269
- s.Trigger,
432
+ ge.displayName = "DialogFooter";
433
+ const pe = (e) => /* @__PURE__ */ t(l.Root, { ...e });
434
+ pe.displayName = "DrawerRoot";
435
+ const fe = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
436
+ l.Trigger,
270
437
  {
271
- className: r(u({ variant: a, size: o }), e),
272
- ...l
438
+ className: r(d({ variant: a, size: o }), e),
439
+ ...s
273
440
  }
274
441
  );
275
- G.displayName = "DrawerTrigger";
276
- const J = (e) => /* @__PURE__ */ t(s.Portal, { ...e });
277
- J.displayName = "DrawerPortal";
278
- const K = ({ className: e, ...a }) => /* @__PURE__ */ t(
279
- s.Backdrop,
442
+ fe.displayName = "DrawerTrigger";
443
+ const be = (e) => /* @__PURE__ */ t(l.Portal, { ...e });
444
+ be.displayName = "DrawerPortal";
445
+ const ye = ({ className: e, ...a }) => /* @__PURE__ */ t(
446
+ l.Backdrop,
280
447
  {
281
448
  className: r(
282
449
  "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
@@ -287,8 +454,8 @@ const K = ({ className: e, ...a }) => /* @__PURE__ */ t(
287
454
  ...a
288
455
  }
289
456
  );
290
- K.displayName = "DrawerBackdrop";
291
- const O = n(
457
+ ye.displayName = "DrawerBackdrop";
458
+ const ve = n(
292
459
  [
293
460
  "fixed z-50 flex flex-col bg-background p-6 shadow-lg",
294
461
  "transition-transform duration-300 ease-out",
@@ -324,52 +491,52 @@ const O = n(
324
491
  side: "right"
325
492
  }
326
493
  }
327
- ), Q = ({ className: e, side: a, ...o }) => /* @__PURE__ */ t(
328
- s.Popup,
494
+ ), Ne = ({ className: e, side: a, ...o }) => /* @__PURE__ */ t(
495
+ l.Popup,
329
496
  {
330
- className: r(O({ side: a }), e),
497
+ className: r(ve({ side: a }), e),
331
498
  ...o
332
499
  }
333
500
  );
334
- Q.displayName = "DrawerPopup";
335
- const U = ({ className: e, ...a }) => /* @__PURE__ */ t(
336
- s.Title,
501
+ Ne.displayName = "DrawerPopup";
502
+ const xe = ({ className: e, ...a }) => /* @__PURE__ */ t(
503
+ l.Title,
337
504
  {
338
505
  className: r("text-lg font-semibold leading-none tracking-tight", e),
339
506
  ...a
340
507
  }
341
508
  );
342
- U.displayName = "DrawerTitle";
343
- const W = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Description, { className: r("", e), ...a });
344
- W.displayName = "DrawerDescription";
345
- const X = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
346
- s.Close,
509
+ xe.displayName = "DrawerTitle";
510
+ const he = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Description, { className: r("", e), ...a });
511
+ he.displayName = "DrawerDescription";
512
+ const we = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
513
+ l.Close,
347
514
  {
348
- className: r(u({ variant: a ?? "outline", size: o }), e),
349
- ...l
515
+ className: r(d({ variant: a ?? "outline", size: o }), e),
516
+ ...s
350
517
  }
351
518
  );
352
- X.displayName = "DrawerClose";
353
- const Y = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1.5", e), ...a });
354
- Y.displayName = "DrawerHeader";
355
- const Z = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("py-5", e), ...a });
356
- Z.displayName = "DrawerContent";
357
- const ee = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("", e), ...a });
358
- ee.displayName = "DrawerFooter";
359
- const ae = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Root, { className: r("w-full", e), ...a });
360
- ae.displayName = "AccordionRoot";
361
- const te = ({ className: e, ...a }) => /* @__PURE__ */ t(
362
- c.Item,
519
+ we.displayName = "DrawerClose";
520
+ const De = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1.5", e), ...a });
521
+ De.displayName = "DrawerHeader";
522
+ const Ae = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("py-5", e), ...a });
523
+ Ae.displayName = "DrawerContent";
524
+ const ke = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("", e), ...a });
525
+ ke.displayName = "DrawerFooter";
526
+ const Te = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Root, { className: r("w-full", e), ...a });
527
+ Te.displayName = "AccordionRoot";
528
+ const ze = ({ className: e, ...a }) => /* @__PURE__ */ t(
529
+ f.Item,
363
530
  {
364
531
  className: r("border-b border-border last:border-b-0", e),
365
532
  ...a
366
533
  }
367
534
  );
368
- te.displayName = "AccordionItem";
369
- const re = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Header, { className: r("flex", e), ...a });
370
- re.displayName = "AccordionHeader";
371
- const oe = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
372
- c.Trigger,
535
+ ze.displayName = "AccordionItem";
536
+ const Pe = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Header, { className: r("flex", e), ...a });
537
+ Pe.displayName = "AccordionHeader";
538
+ const Ce = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
539
+ f.Trigger,
373
540
  {
374
541
  className: r(
375
542
  "flex flex-1 items-center justify-between py-3 font-medium",
@@ -379,9 +546,9 @@ const oe = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
379
546
  children: a
380
547
  }
381
548
  );
382
- oe.displayName = "AccordionTrigger";
383
- const se = ({ className: e, ...a }) => /* @__PURE__ */ t(
384
- c.Panel,
549
+ Ce.displayName = "AccordionTrigger";
550
+ const Re = ({ className: e, ...a }) => /* @__PURE__ */ t(
551
+ f.Panel,
385
552
  {
386
553
  className: r(
387
554
  "overflow-hidden duration-200 h-(--accordion-panel-height) transition-height ease-out data-ending-style:h-0 data-starting-style:h-0",
@@ -390,44 +557,59 @@ const se = ({ className: e, ...a }) => /* @__PURE__ */ t(
390
557
  ...a
391
558
  }
392
559
  );
393
- se.displayName = "AccordionPanel";
560
+ Re.displayName = "AccordionPanel";
394
561
  export {
395
- re as AccordionHeader,
396
- te as AccordionItem,
397
- se as AccordionPanel,
398
- ae as AccordionRoot,
399
- oe as AccordionTrigger,
400
- y as Button,
401
- I as DialogBackdrop,
402
- M as DialogClose,
403
- _ as DialogDescription,
404
- q as DialogFooter,
405
- $ as DialogHeader,
406
- F as DialogPopup,
407
- H as DialogPortal,
408
- C as DialogRoot,
409
- L as DialogTitle,
410
- B as DialogTrigger,
411
- K as DrawerBackdrop,
412
- X as DrawerClose,
413
- Z as DrawerContent,
414
- W as DrawerDescription,
415
- ee as DrawerFooter,
416
- Y as DrawerHeader,
417
- Q as DrawerPopup,
418
- J as DrawerPortal,
419
- E as DrawerRoot,
420
- U as DrawerTitle,
421
- G as DrawerTrigger,
422
- x as ScrollAreaContent,
423
- D as ScrollAreaCorner,
424
- v as ScrollAreaRoot,
425
- h as ScrollAreaScrollbar,
426
- w as ScrollAreaThumb,
427
- N as ScrollAreaViewport,
428
- R as TabsIndicator,
429
- A as TabsList,
430
- V as TabsPanel,
431
- T as TabsRoot,
432
- P as TabsTab
562
+ Pe as AccordionHeader,
563
+ ze as AccordionItem,
564
+ Re as AccordionPanel,
565
+ Te as AccordionRoot,
566
+ Ce as AccordionTrigger,
567
+ Je as AlertDialog,
568
+ B as AlertDialogBackdrop,
569
+ _ as AlertDialogClose,
570
+ L as AlertDialogDescription,
571
+ I as AlertDialogPopup,
572
+ S as AlertDialogPortal,
573
+ R as AlertDialogRoot,
574
+ H as AlertDialogTitle,
575
+ V as AlertDialogTrigger,
576
+ j as AlertDialogViewport,
577
+ Oe as Avatar,
578
+ q as AvatarFallback,
579
+ M as AvatarImage,
580
+ D as AvatarRoot,
581
+ E as AvatarStack,
582
+ C as Button,
583
+ se as DialogBackdrop,
584
+ ue as DialogClose,
585
+ ce as DialogDescription,
586
+ ge as DialogFooter,
587
+ me as DialogHeader,
588
+ ne as DialogPopup,
589
+ le as DialogPortal,
590
+ re as DialogRoot,
591
+ de as DialogTitle,
592
+ oe as DialogTrigger,
593
+ ye as DrawerBackdrop,
594
+ we as DrawerClose,
595
+ Ae as DrawerContent,
596
+ he as DrawerDescription,
597
+ ke as DrawerFooter,
598
+ De as DrawerHeader,
599
+ Ne as DrawerPopup,
600
+ be as DrawerPortal,
601
+ pe as DrawerRoot,
602
+ xe as DrawerTitle,
603
+ fe as DrawerTrigger,
604
+ J as ScrollAreaContent,
605
+ Q as ScrollAreaCorner,
606
+ $ as ScrollAreaRoot,
607
+ K as ScrollAreaScrollbar,
608
+ O as ScrollAreaThumb,
609
+ G as ScrollAreaViewport,
610
+ ae as TabsIndicator,
611
+ X as TabsList,
612
+ te as TabsPanel,
613
+ U as TabsRoot,
614
+ Z as TabsTab
433
615
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lglab/compose-ui",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "A collection of components built with Base UI & Tailwind CSS",
5
5
  "author": "LGLab",
6
6
  "license": "MIT",