@oneplatformdev/ui 0.1.10-32 → 0.1.10-33

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.1.10-33 (2025-10-02)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated @oneplatformdev/utils to 0.1.1-82
6
+ - Updated @oneplatformdev/hooks to 0.1.0-68
7
+ - Updated @oneplatformdev/tokens to 0.0.1-55
8
+
1
9
  ## 0.1.10-32 (2025-10-02)
2
10
 
3
11
  This was a version bump only for @oneplatformdev/ui to align it with other projects, there were no code changes.
@@ -1,23 +1,16 @@
1
- import { default as React } from 'react';
2
- import * as DialogPrimitive from '@radix-ui/react-dialog';
3
- declare const Dialog: (props: React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
4
- declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
- declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
6
- declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
7
- declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
1
+ import * as React from "react";
2
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
3
+ declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
9
9
  showCloseButton?: boolean;
10
- preventAutoFocus?: boolean;
11
- } & React.RefAttributes<HTMLDivElement>>;
12
- declare const DialogHeader: {
13
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- };
16
- declare const DialogFooter: {
17
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
18
- displayName: string;
19
- };
20
- declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
21
- declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
22
- export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
+ declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
13
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
14
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
15
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogPrimitive };
23
16
  //# sourceMappingURL=Dialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/Dialog/Dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAM1D,QAAA,MAAM,MAAM,GACV,OAAO,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,4CAInE,CAAC;AAEF,QAAA,MAAM,aAAa,8GAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,6CAAyB,CAAC;AAE5C,QAAA,MAAM,WAAW,4GAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa,8JAYjB,CAAC;AAGH,QAAA,MAAM,aAAa;sBAGG,OAAO;uBACN,OAAO;wCAuE7B,CAAC;AAGF,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAC;AAGF,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAC;AAGF,QAAA,MAAM,WAAW,oKAYf,CAAC;AAGH,QAAA,MAAM,iBAAiB,8KASrB,CAAC;AAGH,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAC"}
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/Dialog/Dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAKzD,iBAAS,MAAM,CAAC,EACE,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAEnE;AAED,iBAAS,aAAa,CAAC,EACE,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CAE7E;AAED,iBAAS,YAAY,CAAC,EACE,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,2CAE3E;AAED,iBAAS,WAAW,CAAC,EACE,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEzE;AAED,iBAAS,aAAa,CAAC,EACE,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CAW7E;AAED,iBAAS,aAAa,CAAC,EACE,SAAS,EACT,QAAQ,EACR,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG;IAC/E,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,2CAyBA;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQzE;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWzE;AAED,iBAAS,WAAW,CAAC,EACE,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAQzE;AAED,iBAAS,iBAAiB,CAAC,EACE,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,2CAQrF;AAED,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,EACb,eAAe,EAChB,CAAA"}
package/Dialog/Dialog.js CHANGED
@@ -1,147 +1,138 @@
1
- import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
- import i, { useState as y, useRef as N } from "react";
3
- import * as a from "@radix-ui/react-dialog";
4
- import { XIcon as D } from "lucide-react";
5
- import { cn as l, composeRefs as h } from "@oneplatformdev/utils";
6
- import { DialogOverlayScope as b } from "./DialogOverlayScope.js";
7
- const P = (e) => {
8
- const { modal: t, ...s } = e;
9
- return /* @__PURE__ */ o(a.Root, { modal: t, ...s });
10
- }, S = a.Trigger, v = a.Portal, H = a.Close, d = i.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ o(
11
- a.Overlay,
12
- {
13
- ref: s,
14
- className: l(
15
- "fixed inset-0 z-40 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
16
- e
17
- ),
18
- ...t
19
- }
20
- ));
21
- d.displayName = a.Overlay.displayName;
22
- const w = i.forwardRef(
23
- ({
24
- className: e,
25
- children: t,
26
- showCloseButton: s = !0,
27
- onOpenAutoFocus: c,
28
- preventAutoFocus: f,
29
- ...m
30
- }, p) => {
31
- const [u, g] = y(null), x = N(null);
32
- return /* @__PURE__ */ o(v, { children: /* @__PURE__ */ n(d, { children: [
33
- /* @__PURE__ */ o(b, { value: u, children: /* @__PURE__ */ n(
34
- a.Content,
35
- {
36
- ref: (r) => {
37
- r && h(p, x)(r);
38
- },
39
- className: l(
40
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg",
41
- "duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
42
- "max-w-[90%] max-h-[90%] overflow-hidden",
43
- "bg-[#FCFCFC] border border-[#E8E9EB] rounded-[16px]",
44
- e
45
- ),
46
- onOpenAutoFocus: (r) => (f && r.preventDefault(), c?.(r)),
47
- ...m,
48
- children: [
49
- t,
50
- s && /* @__PURE__ */ n(
51
- a.Close,
52
- {
53
- "aria-label": "Close",
54
- className: l(
55
- "absolute right-4 top-4 rounded-sm ring-offset-background w-10 aspect-square",
56
- "flex items-center justify-center",
57
- "data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
58
- "opacity-70 hover:opacity-100",
59
- // 'focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2',
60
- "focus:outline-hidden focus:ring-0 focus:ring-ring focus:ring-offset-2",
61
- "hover:bg-accent",
62
- "disabled:pointer-events-none",
63
- "transition-opacity"
64
- ),
65
- children: [
66
- /* @__PURE__ */ o(D, { className: "h-4 w-4" }),
67
- /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
68
- ]
69
- }
70
- )
71
- ]
72
- }
73
- ) }),
74
- /* @__PURE__ */ o(
75
- "div",
76
- {
77
- ref: (r) => {
78
- r && g(r);
79
- }
80
- }
81
- )
82
- ] }) });
83
- }
84
- );
85
- w.displayName = a.Content.displayName;
86
- const C = ({
87
- className: e,
1
+ import { jsx as a, jsxs as i } from "react/jsx-runtime";
2
+ import * as o from "@radix-ui/react-dialog";
3
+ import { XIcon as r } from "lucide-react";
4
+ import { cn as n } from "@oneplatformdev/utils";
5
+ function m({
88
6
  ...t
89
- }) => /* @__PURE__ */ o(
90
- "div",
91
- {
92
- className: l(
93
- "flex flex-col space-y-1.5 text-center sm:text-left",
94
- e
95
- ),
96
- ...t
97
- }
98
- );
99
- C.displayName = "DialogHeader";
100
- const R = ({
101
- className: e,
7
+ }) {
8
+ return /* @__PURE__ */ a(o.Root, { "data-slot": "dialog", ...t });
9
+ }
10
+ function p({
102
11
  ...t
103
- }) => /* @__PURE__ */ o(
104
- "div",
105
- {
106
- className: l(
107
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
108
- e
109
- ),
110
- ...t
111
- }
112
- );
113
- R.displayName = "DialogFooter";
114
- const F = i.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ o(
115
- a.Title,
116
- {
117
- ref: s,
118
- className: l(
119
- "text-lg font-semibold leading-none tracking-tight",
120
- e
121
- ),
122
- ...t
123
- }
124
- ));
125
- F.displayName = a.Title.displayName;
126
- const O = i.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ o(
127
- a.Description,
128
- {
129
- ref: s,
130
- className: l("text-sm text-muted-foreground", e),
131
- ...t
132
- }
133
- ));
134
- O.displayName = a.Description.displayName;
12
+ }) {
13
+ return /* @__PURE__ */ a(o.Trigger, { "data-slot": "dialog-trigger", ...t });
14
+ }
15
+ function d({
16
+ ...t
17
+ }) {
18
+ return /* @__PURE__ */ a(o.Portal, { "data-slot": "dialog-portal", ...t });
19
+ }
20
+ function x({
21
+ ...t
22
+ }) {
23
+ return /* @__PURE__ */ a(o.Close, { "data-slot": "dialog-close", ...t });
24
+ }
25
+ function g({
26
+ className: t,
27
+ ...e
28
+ }) {
29
+ return /* @__PURE__ */ a(
30
+ o.Overlay,
31
+ {
32
+ "data-slot": "dialog-overlay",
33
+ className: n(
34
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
35
+ t
36
+ ),
37
+ ...e
38
+ }
39
+ );
40
+ }
41
+ function v({
42
+ className: t,
43
+ children: e,
44
+ showCloseButton: l = !0,
45
+ ...s
46
+ }) {
47
+ return /* @__PURE__ */ i(d, { "data-slot": "dialog-portal", children: [
48
+ /* @__PURE__ */ a(g, {}),
49
+ /* @__PURE__ */ i(
50
+ o.Content,
51
+ {
52
+ "data-slot": "dialog-content",
53
+ className: n(
54
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
55
+ t
56
+ ),
57
+ ...s,
58
+ children: [
59
+ e,
60
+ l && /* @__PURE__ */ i(
61
+ o.Close,
62
+ {
63
+ "data-slot": "dialog-close",
64
+ className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
65
+ children: [
66
+ /* @__PURE__ */ a(r, {}),
67
+ /* @__PURE__ */ a("span", { className: "sr-only", children: "Close" })
68
+ ]
69
+ }
70
+ )
71
+ ]
72
+ }
73
+ )
74
+ ] });
75
+ }
76
+ function D({ className: t, ...e }) {
77
+ return /* @__PURE__ */ a(
78
+ "div",
79
+ {
80
+ "data-slot": "dialog-header",
81
+ className: n("flex flex-col gap-2 text-center sm:text-left", t),
82
+ ...e
83
+ }
84
+ );
85
+ }
86
+ function h({ className: t, ...e }) {
87
+ return /* @__PURE__ */ a(
88
+ "div",
89
+ {
90
+ "data-slot": "dialog-footer",
91
+ className: n(
92
+ "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
93
+ t
94
+ ),
95
+ ...e
96
+ }
97
+ );
98
+ }
99
+ function b({
100
+ className: t,
101
+ ...e
102
+ }) {
103
+ return /* @__PURE__ */ a(
104
+ o.Title,
105
+ {
106
+ "data-slot": "dialog-title",
107
+ className: n("text-lg leading-none font-semibold", t),
108
+ ...e
109
+ }
110
+ );
111
+ }
112
+ function y({
113
+ className: t,
114
+ ...e
115
+ }) {
116
+ return /* @__PURE__ */ a(
117
+ o.Description,
118
+ {
119
+ "data-slot": "dialog-description",
120
+ className: n("text-muted-foreground text-sm", t),
121
+ ...e
122
+ }
123
+ );
124
+ }
135
125
  export {
136
- P as Dialog,
137
- H as DialogClose,
138
- w as DialogContent,
139
- O as DialogDescription,
140
- R as DialogFooter,
141
- C as DialogHeader,
142
- d as DialogOverlay,
143
- v as DialogPortal,
144
- F as DialogTitle,
145
- S as DialogTrigger
126
+ m as Dialog,
127
+ x as DialogClose,
128
+ v as DialogContent,
129
+ y as DialogDescription,
130
+ h as DialogFooter,
131
+ D as DialogHeader,
132
+ g as DialogOverlay,
133
+ d as DialogPortal,
134
+ o as DialogPrimitive,
135
+ b as DialogTitle,
136
+ p as DialogTrigger
146
137
  };
147
138
  //# sourceMappingURL=Dialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.js","sources":["../../src/Dialog/Dialog.tsx"],"sourcesContent":["'use client';\n\nimport React, { useRef, useState } from 'react';\nimport * as DialogPrimitive from '@radix-ui/react-dialog';\nimport { XIcon } from 'lucide-react';\n\nimport { cn, composeRefs } from '@oneplatformdev/utils';\nimport { DialogOverlayScope } from './DialogOverlayScope';\n\nconst Dialog = (\n props: React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>\n) => {\n const { modal, ...rest } = props;\n return <DialogPrimitive.Root modal={modal} {...rest} />;\n};\n\nconst DialogTrigger = DialogPrimitive.Trigger;\n\nconst DialogPortal = DialogPrimitive.Portal;\n\nconst DialogClose = DialogPrimitive.Close;\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n 'fixed inset-0 z-40 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className\n )}\n {...props}\n />\n));\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName;\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean;\n preventAutoFocus?: boolean;\n }\n>(\n (\n {\n className,\n children,\n showCloseButton = true,\n onOpenAutoFocus,\n preventAutoFocus,\n ...props\n },\n forwardedRef\n ) => {\n const [container, setContainer] = useState<HTMLElement | null>(null);\n const localRef = useRef<HTMLDivElement>(null);\n return (\n <DialogPortal>\n <DialogOverlay>\n <DialogOverlayScope value={container}>\n <DialogPrimitive.Content\n ref={(node) => {\n if (!node) return;\n composeRefs<HTMLDivElement>(forwardedRef, localRef)(node);\n }}\n className={cn(\n 'fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg',\n 'duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg',\n 'max-w-[90%] max-h-[90%] overflow-hidden',\n 'bg-[#FCFCFC] border border-[#E8E9EB] rounded-[16px]',\n className\n )}\n onOpenAutoFocus={(event) => {\n if (preventAutoFocus) event.preventDefault();\n return onOpenAutoFocus?.(event);\n }}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n aria-label=\"Close\"\n className={cn(\n 'absolute right-4 top-4 rounded-sm ring-offset-background w-10 aspect-square',\n 'flex items-center justify-center',\n 'data-[state=open]:bg-accent data-[state=open]:text-muted-foreground',\n 'opacity-70 hover:opacity-100',\n // 'focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2',\n 'focus:outline-hidden focus:ring-0 focus:ring-ring focus:ring-offset-2',\n 'hover:bg-accent',\n 'disabled:pointer-events-none',\n 'transition-opacity'\n )}\n >\n <XIcon className=\"h-4 w-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogOverlayScope>\n\n <div\n ref={(node) => {\n if (!node) return;\n setContainer(node);\n }}\n />\n </DialogOverlay>\n </DialogPortal>\n );\n }\n);\nDialogContent.displayName = DialogPrimitive.Content.displayName;\n\nconst DialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col space-y-1.5 text-center sm:text-left',\n className\n )}\n {...props}\n />\n);\nDialogHeader.displayName = 'DialogHeader';\n\nconst DialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2',\n className\n )}\n {...props}\n />\n);\nDialogFooter.displayName = 'DialogFooter';\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn(\n 'text-lg font-semibold leading-none tracking-tight',\n className\n )}\n {...props}\n />\n));\nDialogTitle.displayName = DialogPrimitive.Title.displayName;\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n));\nDialogDescription.displayName = DialogPrimitive.Description.displayName;\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n};\n"],"names":["Dialog","props","modal","rest","DialogPrimitive","DialogTrigger","DialogPortal","DialogClose","DialogOverlay","React","className","ref","jsx","cn","DialogContent","children","showCloseButton","onOpenAutoFocus","preventAutoFocus","forwardedRef","container","setContainer","useState","localRef","useRef","jsxs","DialogOverlayScope","node","composeRefs","event","XIcon","DialogHeader","DialogFooter","DialogTitle","DialogDescription"],"mappings":";;;;;;AASA,MAAMA,IAAS,CACbC,MACG;AACH,QAAM,EAAE,OAAAC,GAAO,GAAGC,EAAA,IAASF;AAC3B,2BAAQG,EAAgB,MAAhB,EAAqB,OAAAF,GAAe,GAAGC,GAAM;AACvD,GAEME,IAAgBD,EAAgB,SAEhCE,IAAeF,EAAgB,QAE/BG,IAAcH,EAAgB,OAE9BI,IAAgBC,EAAM,WAG1B,CAAC,EAAE,WAAAC,GAAW,GAAGT,EAAA,GAASU,MAC1B,gBAAAC;AAAA,EAACR,EAAgB;AAAA,EAAhB;AAAA,IACC,KAAAO;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAH;AAAA,IAAA;AAAA,IAED,GAAGT;AAAA,EAAA;AACN,CACD;AACDO,EAAc,cAAcJ,EAAgB,QAAQ;AAEpD,MAAMU,IAAgBL,EAAM;AAAA,EAO1B,CACE;AAAA,IACE,WAAAC;AAAA,IACA,UAAAK;AAAA,IACA,iBAAAC,IAAkB;AAAA,IAClB,iBAAAC;AAAA,IACA,kBAAAC;AAAA,IACA,GAAGjB;AAAA,EAAA,GAELkB,MACG;AACH,UAAM,CAACC,GAAWC,CAAY,IAAIC,EAA6B,IAAI,GAC7DC,IAAWC,EAAuB,IAAI;AAC5C,WACE,gBAAAZ,EAACN,GAAA,EACC,UAAA,gBAAAmB,EAACjB,GAAA,EACC,UAAA;AAAA,MAAA,gBAAAI,EAACc,GAAA,EAAmB,OAAON,GACzB,UAAA,gBAAAK;AAAA,QAACrB,EAAgB;AAAA,QAAhB;AAAA,UACC,KAAK,CAACuB,MAAS;AACb,YAAKA,KACLC,EAA4BT,GAAcI,CAAQ,EAAEI,CAAI;AAAA,UAC1D;AAAA,UACA,WAAWd;AAAA,YACT;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACAH;AAAA,UAAA;AAAA,UAEF,iBAAiB,CAACmB,OACZX,OAAwB,eAAA,GACrBD,IAAkBY,CAAK;AAAA,UAE/B,GAAG5B;AAAA,UAEH,UAAA;AAAA,YAAAc;AAAA,YACAC,KACC,gBAAAS;AAAA,cAACrB,EAAgB;AAAA,cAAhB;AAAA,gBACC,cAAW;AAAA,gBACX,WAAWS;AAAA,kBACT;AAAA,kBACA;AAAA,kBACA;AAAA,kBACA;AAAA;AAAA,kBAEA;AAAA,kBACA;AAAA,kBACA;AAAA,kBACA;AAAA,gBAAA;AAAA,gBAGF,UAAA;AAAA,kBAAA,gBAAAD,EAACkB,GAAA,EAAM,WAAU,UAAA,CAAU;AAAA,kBAC3B,gBAAAlB,EAAC,QAAA,EAAK,WAAU,WAAU,UAAA,QAAA,CAAK;AAAA,gBAAA;AAAA,cAAA;AAAA,YAAA;AAAA,UACjC;AAAA,QAAA;AAAA,MAAA,GAGN;AAAA,MAEA,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,KAAK,CAACe,MAAS;AACb,YAAKA,KACLN,EAAaM,CAAI;AAAA,UACnB;AAAA,QAAA;AAAA,MAAA;AAAA,IACF,EAAA,CACF,EAAA,CACF;AAAA,EAEJ;AACF;AACAb,EAAc,cAAcV,EAAgB,QAAQ;AAEpD,MAAM2B,IAAe,CAAC;AAAA,EACpB,WAAArB;AAAA,EACA,GAAGT;AACL,MACE,gBAAAW;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC;AAAA,MACT;AAAA,MACAH;AAAA,IAAA;AAAA,IAED,GAAGT;AAAA,EAAA;AACN;AAEF8B,EAAa,cAAc;AAE3B,MAAMC,IAAe,CAAC;AAAA,EACpB,WAAAtB;AAAA,EACA,GAAGT;AACL,MACE,gBAAAW;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC;AAAA,MACT;AAAA,MACAH;AAAA,IAAA;AAAA,IAED,GAAGT;AAAA,EAAA;AACN;AAEF+B,EAAa,cAAc;AAE3B,MAAMC,IAAcxB,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGT,EAAA,GAASU,MAC1B,gBAAAC;AAAA,EAACR,EAAgB;AAAA,EAAhB;AAAA,IACC,KAAAO;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAH;AAAA,IAAA;AAAA,IAED,GAAGT;AAAA,EAAA;AACN,CACD;AACDgC,EAAY,cAAc7B,EAAgB,MAAM;AAEhD,MAAM8B,IAAoBzB,EAAM,WAG9B,CAAC,EAAE,WAAAC,GAAW,GAAGT,EAAA,GAASU,MAC1B,gBAAAC;AAAA,EAACR,EAAgB;AAAA,EAAhB;AAAA,IACC,KAAAO;AAAA,IACA,WAAWE,EAAG,iCAAiCH,CAAS;AAAA,IACvD,GAAGT;AAAA,EAAA;AACN,CACD;AACDiC,EAAkB,cAAc9B,EAAgB,YAAY;"}
1
+ {"version":3,"file":"Dialog.js","sources":["../../src/Dialog/Dialog.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\"\nimport { XIcon } from \"lucide-react\"\n\nimport { cn } from \"@oneplatformdev/utils\"\n\nfunction Dialog({\n ...props\n }: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />\n}\n\nfunction DialogTrigger({\n ...props\n }: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />\n}\n\nfunction DialogPortal({\n ...props\n }: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />\n}\n\nfunction DialogClose({\n ...props\n }: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />\n}\n\nfunction DialogOverlay({\n className,\n ...props\n }: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n \"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n }: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n \"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg\",\n className\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n className=\"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\"\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n )\n}\n\nfunction DialogHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"dialog-header\"\n className={cn(\"flex flex-col gap-2 text-center sm:text-left\", className)}\n {...props}\n />\n )\n}\n\nfunction DialogFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"dialog-footer\"\n className={cn(\n \"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction DialogTitle({\n className,\n ...props\n }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return (\n <DialogPrimitive.Title\n data-slot=\"dialog-title\"\n className={cn(\"text-lg leading-none font-semibold\", className)}\n {...props}\n />\n )\n}\n\nfunction DialogDescription({\n className,\n ...props\n }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return (\n <DialogPrimitive.Description\n data-slot=\"dialog-description\"\n className={cn(\"text-muted-foreground text-sm\", className)}\n {...props}\n />\n )\n}\n\nexport {\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n DialogPrimitive\n}\n"],"names":["Dialog","props","DialogPrimitive","DialogTrigger","DialogPortal","DialogClose","DialogOverlay","className","jsx","cn","DialogContent","children","showCloseButton","jsxs","XIcon","DialogHeader","DialogFooter","DialogTitle","DialogDescription"],"mappings":";;;;AAQA,SAASA,EAAO;AAAA,EACE,GAAGC;AACL,GAAsD;AACpE,2BAAQC,EAAgB,MAAhB,EAAqB,aAAU,UAAU,GAAGD,GAAO;AAC7D;AAEA,SAASE,EAAc;AAAA,EACE,GAAGF;AACL,GAAyD;AAC9E,2BAAQC,EAAgB,SAAhB,EAAwB,aAAU,kBAAkB,GAAGD,GAAO;AACxE;AAEA,SAASG,EAAa;AAAA,EACE,GAAGH;AACL,GAAwD;AAC5E,2BAAQC,EAAgB,QAAhB,EAAuB,aAAU,iBAAiB,GAAGD,GAAO;AACtE;AAEA,SAASI,EAAY;AAAA,EACE,GAAGJ;AACL,GAAuD;AAC1E,2BAAQC,EAAgB,OAAhB,EAAsB,aAAU,gBAAgB,GAAGD,GAAO;AACpE;AAEA,SAASK,EAAc;AAAA,EACE,WAAAC;AAAA,EACA,GAAGN;AACL,GAAyD;AAC9E,SACE,gBAAAO;AAAA,IAACN,EAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,WAAWO;AAAA,QACT;AAAA,QACAF;AAAA,MAAA;AAAA,MAED,GAAGN;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASS,EAAc;AAAA,EACE,WAAAH;AAAA,EACA,UAAAI;AAAA,EACA,iBAAAC,IAAkB;AAAA,EAClB,GAAGX;AACL,GAEpB;AACD,SACE,gBAAAY,EAACT,GAAA,EAAa,aAAU,iBACtB,UAAA;AAAA,IAAA,gBAAAI,EAACF,GAAA,EAAc;AAAA,IACf,gBAAAO;AAAA,MAACX,EAAgB;AAAA,MAAhB;AAAA,QACC,aAAU;AAAA,QACV,WAAWO;AAAA,UACT;AAAA,UACAF;AAAA,QAAA;AAAA,QAED,GAAGN;AAAA,QAEH,UAAA;AAAA,UAAAU;AAAA,UACAC,KACC,gBAAAC;AAAA,YAACX,EAAgB;AAAA,YAAhB;AAAA,cACC,aAAU;AAAA,cACV,WAAU;AAAA,cAEV,UAAA;AAAA,gBAAA,gBAAAM,EAACM,GAAA,EAAM;AAAA,gBACP,gBAAAN,EAAC,QAAA,EAAK,WAAU,WAAU,UAAA,QAAA,CAAK;AAAA,cAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACjC;AAAA,MAAA;AAAA,IAAA;AAAA,EAEJ,GACF;AAEJ;AAEA,SAASO,EAAa,EAAE,WAAAR,GAAW,GAAGN,KAAsC;AAC1E,SACE,gBAAAO;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,gDAAgDF,CAAS;AAAA,MACtE,GAAGN;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASe,EAAa,EAAE,WAAAT,GAAW,GAAGN,KAAsC;AAC1E,SACE,gBAAAO;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAF;AAAA,MAAA;AAAA,MAED,GAAGN;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASgB,EAAY;AAAA,EACE,WAAAV;AAAA,EACA,GAAGN;AACL,GAAuD;AAC1E,SACE,gBAAAO;AAAA,IAACN,EAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,WAAWO,EAAG,sCAAsCF,CAAS;AAAA,MAC5D,GAAGN;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASiB,EAAkB;AAAA,EACE,WAAAX;AAAA,EACA,GAAGN;AACL,GAA6D;AACtF,SACE,gBAAAO;AAAA,IAACN,EAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,WAAWO,EAAG,iCAAiCF,CAAS;AAAA,MACvD,GAAGN;AAAA,IAAA;AAAA,EAAA;AAGV;"}
package/Dialog/index.js CHANGED
@@ -1,18 +1,20 @@
1
- import { Dialog as l, DialogClose as e, DialogContent as i, DialogDescription as r, DialogFooter as g, DialogHeader as D, DialogOverlay as t, DialogPortal as n, DialogTitle as C, DialogTrigger as p } from "./Dialog.js";
2
- import { DialogOverlayContainerContext as y, DialogOverlayScope as O, useDialogOverlayContainer as s } from "./DialogOverlayScope.js";
1
+ import { Dialog as e, DialogClose as l, DialogContent as r, DialogDescription as t, DialogFooter as g, DialogHeader as D, DialogOverlay as n, DialogPortal as m, DialogTitle as p, DialogTrigger as v } from "./Dialog.js";
2
+ import { DialogOverlayContainerContext as C, DialogOverlayScope as x, useDialogOverlayContainer as y } from "./DialogOverlayScope.js";
3
+ import * as o from "@radix-ui/react-dialog";
3
4
  export {
4
- l as Dialog,
5
- e as DialogClose,
6
- i as DialogContent,
7
- r as DialogDescription,
5
+ e as Dialog,
6
+ l as DialogClose,
7
+ r as DialogContent,
8
+ t as DialogDescription,
8
9
  g as DialogFooter,
9
10
  D as DialogHeader,
10
- t as DialogOverlay,
11
- y as DialogOverlayContainerContext,
12
- O as DialogOverlayScope,
13
- n as DialogPortal,
14
- C as DialogTitle,
15
- p as DialogTrigger,
16
- s as useDialogOverlayContainer
11
+ n as DialogOverlay,
12
+ C as DialogOverlayContainerContext,
13
+ x as DialogOverlayScope,
14
+ m as DialogPortal,
15
+ o as DialogPrimitive,
16
+ p as DialogTitle,
17
+ v as DialogTrigger,
18
+ y as useDialogOverlayContainer
17
19
  };
18
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
package/index.js CHANGED
@@ -1,374 +1,376 @@
1
- import { Accordion as e, AccordionContent as t, AccordionItem as a, AccordionTrigger as n } from "./Accordion/Accordion.js";
2
- import { Alert as p, AlertDescription as l, AlertTitle as m } from "./Alert/Alert.js";
3
- import { AlertDialogAction as d, AlertDialogCancel as g, AlertDialogContent as b, AlertDialogDescription as x, AlertDialogFooter as f, AlertDialogHeader as S, AlertDialogOverlay as s, AlertDialogPortal as C, AlertDialogRoot as T, AlertDialogTitle as D, AlertDialogTrigger as c } from "./AlertDialog/AlertDialogRoot.js";
4
- import { AlertDialog as P } from "./AlertDialog/AlertDialog.js";
5
- import { AreaChart as A } from "./AreaChart/AreaChart.js";
1
+ import { Accordion as t, AccordionContent as a, AccordionItem as n, AccordionTrigger as i } from "./Accordion/Accordion.js";
2
+ import { Alert as l, AlertDescription as m, AlertTitle as u } from "./Alert/Alert.js";
3
+ import { AlertDialogAction as g, AlertDialogCancel as b, AlertDialogContent as x, AlertDialogDescription as f, AlertDialogFooter as S, AlertDialogHeader as s, AlertDialogOverlay as C, AlertDialogPortal as T, AlertDialogRoot as D, AlertDialogTitle as c, AlertDialogTrigger as M } from "./AlertDialog/AlertDialogRoot.js";
4
+ import { AlertDialog as I } from "./AlertDialog/AlertDialog.js";
5
+ import { AreaChart as v } from "./AreaChart/AreaChart.js";
6
6
  import { Aside as w } from "./Aside/Aside.js";
7
- import { AsideSidebar as F } from "./Aside/AsideSidebar.js";
8
- import { AspectRatio as R } from "./AspectRatio/AspectRatio.js";
9
- import { Avatar as G, AvatarFallback as k, AvatarImage as H } from "./Avatar/Avatar.js";
10
- import { Badge as N } from "./Badge/Badge.js";
11
- import { badgeVariants as V } from "./Badge/badgeVariants.js";
12
- import { Breadcrumb as z, BreadcrumbEllipsis as _, BreadcrumbItem as U, BreadcrumbLink as Y, BreadcrumbList as j, BreadcrumbPage as q, BreadcrumbSeparator as J } from "./Breadcrumb/Breadcrumb.js";
13
- import { Button as Q } from "./Button/Button.js";
14
- import { buttonVariants as X } from "./Button/buttonVariants.js";
15
- import { ButtonIcon as $ } from "./ButtonIcon/ButtonIcon.js";
16
- import { buttonIconVariants as ro } from "./ButtonIcon/buttonIconVariants.js";
17
- import { Calendar as to } from "./Calendar/Calendar.js";
18
- import { Card as no, CardContent as io, CardDescription as po, CardFooter as lo, CardHeader as mo, CardTitle as uo } from "./Card/Card.js";
19
- import { Carousel as bo, CarouselContent as xo, CarouselItem as fo, CarouselNext as So, CarouselPrevious as so } from "./Carousel/Carousel.js";
20
- import { ChartContainer as To, ChartLegend as Do, ChartLegendContent as co, ChartStyle as Mo, ChartTooltip as Po, ChartTooltipContent as Io } from "./Chart/Chart.js";
21
- import { Checkbox as vo, CheckboxLabel as wo } from "./Checkbox/Checkbox.js";
22
- import { Collapsible as Fo, CollapsibleContent as Lo, CollapsibleTrigger as Ro } from "./Collapsible/Collapsible.js";
23
- import { Combobox as Go } from "./Combobox/Combobox.js";
24
- import { Command as Ho, CommandDialog as yo, CommandEmpty as No, CommandGroup as Oo, CommandInput as Vo, CommandItem as Eo, CommandList as zo, CommandSeparator as _o, CommandShortcut as Uo } from "./Command/Command.js";
25
- import { DataTable as jo } from "./DataTable/DataTable.js";
26
- import { DatePicker as Jo } from "./DatePicker/DatePicker.js";
27
- import { Dialog as Qo, DialogClose as Wo, DialogContent as Xo, DialogDescription as Zo, DialogFooter as $o, DialogHeader as or, DialogOverlay as rr, DialogPortal as er, DialogTitle as tr, DialogTrigger as ar } from "./Dialog/Dialog.js";
28
- import { DialogOverlayContainerContext as ir, DialogOverlayScope as pr, useDialogOverlayContainer as lr } from "./Dialog/DialogOverlayScope.js";
29
- import { Drawer as ur, DrawerClose as dr, DrawerContent as gr, DrawerDescription as br, DrawerFooter as xr, DrawerHeader as fr, DrawerOverlay as Sr, DrawerPortal as sr, DrawerTitle as Cr, DrawerTrigger as Tr } from "./Drawer/Drawer.js";
30
- import { DropdownMenu as cr, DropdownMenuCheckboxItem as Mr, DropdownMenuContent as Pr, DropdownMenuGroup as Ir, DropdownMenuItem as Ar, DropdownMenuLabel as vr, DropdownMenuPortal as wr, DropdownMenuRadioGroup as hr, DropdownMenuRadioItem as Fr, DropdownMenuSeparator as Lr, DropdownMenuShortcut as Rr, DropdownMenuSub as Br, DropdownMenuSubContent as Gr, DropdownMenuSubTrigger as kr, DropdownMenuTrigger as Hr } from "./DropdownMenu/DropdownMenu.js";
31
- import { Form as Nr, FormControl as Or, FormDescription as Vr, FormField as Er, FormItem as zr, FormLabel as _r, FormMessage as Ur, useFormField as Yr } from "./Form/Form.js";
32
- import { FormRenderControl as qr } from "./Form/FormRenderControl.js";
33
- import { FormCheckbox as Kr } from "./FormCheckbox/FormCheckbox.js";
34
- import { FormCombobox as Wr } from "./FormCombobox/FormCombobox.js";
35
- import { FormDatePicker as Zr } from "./FormDatePicker/FormDatePicker.js";
36
- import { FormInput as oe } from "./FormInput/FormInput.js";
37
- import { FormSelect as ee } from "./FormSelect/FormSelect.js";
38
- import { FormTextarea as ae } from "./FormTextarea/FormTextarea.js";
39
- import { Header as ie } from "./Header/Header.js";
40
- import { HoverCard as le, HoverCardContent as me, HoverCardTrigger as ue } from "./HoverCard/HoverCard.js";
41
- import { BaseInput as ge, Input as be, PasswordInput as xe } from "./Input/Input.js";
42
- import { InputOTP as Se, InputOTPGroup as se, InputOTPSeparator as Ce, InputOTPSlot as Te } from "./InputOTP/InputOTP.js";
43
- import { Label as ce } from "./Label/Label.js";
44
- import { labelVariants as Pe } from "./Label/labelVariants.js";
45
- import { LazyLoader as Ae } from "./LazyLoader/LazyLoader.js";
7
+ import { AsideSidebar as L } from "./Aside/AsideSidebar.js";
8
+ import { AspectRatio as B } from "./AspectRatio/AspectRatio.js";
9
+ import { Avatar as k, AvatarFallback as H, AvatarImage as y } from "./Avatar/Avatar.js";
10
+ import { Badge as O } from "./Badge/Badge.js";
11
+ import { badgeVariants as E } from "./Badge/badgeVariants.js";
12
+ import { Breadcrumb as _, BreadcrumbEllipsis as U, BreadcrumbItem as Y, BreadcrumbLink as j, BreadcrumbList as q, BreadcrumbPage as J, BreadcrumbSeparator as K } from "./Breadcrumb/Breadcrumb.js";
13
+ import { Button as W } from "./Button/Button.js";
14
+ import { buttonVariants as Z } from "./Button/buttonVariants.js";
15
+ import { ButtonIcon as oo } from "./ButtonIcon/ButtonIcon.js";
16
+ import { buttonIconVariants as eo } from "./ButtonIcon/buttonIconVariants.js";
17
+ import { Calendar as ao } from "./Calendar/Calendar.js";
18
+ import { Card as io, CardContent as po, CardDescription as lo, CardFooter as mo, CardHeader as uo, CardTitle as go } from "./Card/Card.js";
19
+ import { Carousel as xo, CarouselContent as fo, CarouselItem as So, CarouselNext as so, CarouselPrevious as Co } from "./Carousel/Carousel.js";
20
+ import { ChartContainer as Do, ChartLegend as co, ChartLegendContent as Mo, ChartStyle as Po, ChartTooltip as Io, ChartTooltipContent as Ao } from "./Chart/Chart.js";
21
+ import { Checkbox as ho, CheckboxLabel as wo } from "./Checkbox/Checkbox.js";
22
+ import { Collapsible as Lo, CollapsibleContent as Ro, CollapsibleTrigger as Bo } from "./Collapsible/Collapsible.js";
23
+ import { Combobox as ko } from "./Combobox/Combobox.js";
24
+ import { Command as yo, CommandDialog as No, CommandEmpty as Oo, CommandGroup as Vo, CommandInput as Eo, CommandItem as zo, CommandList as _o, CommandSeparator as Uo, CommandShortcut as Yo } from "./Command/Command.js";
25
+ import { DataTable as qo } from "./DataTable/DataTable.js";
26
+ import { DatePicker as Ko } from "./DatePicker/DatePicker.js";
27
+ import { Dialog as Wo, DialogClose as Xo, DialogContent as Zo, DialogDescription as $o, DialogFooter as or, DialogHeader as rr, DialogOverlay as er, DialogPortal as tr, DialogTitle as ar, DialogTrigger as nr } from "./Dialog/Dialog.js";
28
+ import { DialogOverlayContainerContext as pr, DialogOverlayScope as lr, useDialogOverlayContainer as mr } from "./Dialog/DialogOverlayScope.js";
29
+ import { Drawer as dr, DrawerClose as gr, DrawerContent as br, DrawerDescription as xr, DrawerFooter as fr, DrawerHeader as Sr, DrawerOverlay as sr, DrawerPortal as Cr, DrawerTitle as Tr, DrawerTrigger as Dr } from "./Drawer/Drawer.js";
30
+ import { DropdownMenu as Mr, DropdownMenuCheckboxItem as Pr, DropdownMenuContent as Ir, DropdownMenuGroup as Ar, DropdownMenuItem as vr, DropdownMenuLabel as hr, DropdownMenuPortal as wr, DropdownMenuRadioGroup as Fr, DropdownMenuRadioItem as Lr, DropdownMenuSeparator as Rr, DropdownMenuShortcut as Br, DropdownMenuSub as Gr, DropdownMenuSubContent as kr, DropdownMenuSubTrigger as Hr, DropdownMenuTrigger as yr } from "./DropdownMenu/DropdownMenu.js";
31
+ import { Form as Or, FormControl as Vr, FormDescription as Er, FormField as zr, FormItem as _r, FormLabel as Ur, FormMessage as Yr, useFormField as jr } from "./Form/Form.js";
32
+ import { FormRenderControl as Jr } from "./Form/FormRenderControl.js";
33
+ import { FormCheckbox as Qr } from "./FormCheckbox/FormCheckbox.js";
34
+ import { FormCombobox as Xr } from "./FormCombobox/FormCombobox.js";
35
+ import { FormDatePicker as $r } from "./FormDatePicker/FormDatePicker.js";
36
+ import { FormInput as re } from "./FormInput/FormInput.js";
37
+ import { FormSelect as te } from "./FormSelect/FormSelect.js";
38
+ import { FormTextarea as ne } from "./FormTextarea/FormTextarea.js";
39
+ import { Header as pe } from "./Header/Header.js";
40
+ import { HoverCard as me, HoverCardContent as ue, HoverCardTrigger as de } from "./HoverCard/HoverCard.js";
41
+ import { BaseInput as be, Input as xe, PasswordInput as fe } from "./Input/Input.js";
42
+ import { InputOTP as se, InputOTPGroup as Ce, InputOTPSeparator as Te, InputOTPSlot as De } from "./InputOTP/InputOTP.js";
43
+ import { Label as Me } from "./Label/Label.js";
44
+ import { labelVariants as Ie } from "./Label/labelVariants.js";
45
+ import { LazyLoader as ve } from "./LazyLoader/LazyLoader.js";
46
46
  import { LoadedIcon as we } from "./LoadedIcon/LoadedIcon.js";
47
- import { LoadingMask as Fe } from "./LoadingMask/LoadingMask.js";
48
- import { RenderLoadingMask as Re } from "./LoadingMask/RenderLoadingMask.js";
49
- import { LoadingProgress as Ge } from "./LoadingProgress/LoadingProgress.js";
50
- import { loadingProgressVariants as He } from "./LoadingProgress/loadingProgressVariants.js";
51
- import { Menubar as Ne, MenubarCheckboxItem as Oe, MenubarContent as Ve, MenubarGroup as Ee, MenubarItem as ze, MenubarLabel as _e, MenubarMenu as Ue, MenubarPortal as Ye, MenubarRadioGroup as je, MenubarRadioItem as qe, MenubarSeparator as Je, MenubarShortcut as Ke, MenubarSub as Qe, MenubarSubContent as We, MenubarSubTrigger as Xe, MenubarTrigger as Ze } from "./Menubar/Menubar.js";
52
- import { NavigationMenu as ot, NavigationMenuContent as rt, NavigationMenuIndicator as et, NavigationMenuItem as tt, NavigationMenuLink as at, NavigationMenuList as nt, NavigationMenuTrigger as it, NavigationMenuViewport as pt } from "./NavigationMenu/NavigationMenu.js";
53
- import { navigationMenuVariants as mt } from "./NavigationMenu/navigationMenuVariants.js";
54
- import { Pagination as dt, PaginationContent as gt, PaginationEllipsis as bt, PaginationItem as xt, PaginationLink as ft, PaginationNext as St, PaginationPrevious as st } from "./Pagination/Pagination.js";
55
- import { Popover as Tt, PopoverAnchor as Dt, PopoverContent as ct, PopoverTrigger as Mt } from "./Popover/Popover.js";
56
- import { Progress as It } from "./Progress/Progress.js";
57
- import { RadioGroup as vt, RadioGroupItem as wt, RadioGroupLabel as ht } from "./RadioGroup/RadioGroup.js";
58
- import { ResizableHandle as Lt, ResizablePanel as Rt, ResizablePanelGroup as Bt } from "./Resizable/Resizable.js";
59
- import { ScrollArea as kt, ScrollBar as Ht } from "./ScrollArea/ScrollArea.js";
60
- import { Search as Nt } from "./Search/Search.js";
61
- import { SelectContent as Vt, SelectGroup as Et, SelectItem as zt, SelectLabel as _t, SelectRoot as Ut, SelectScrollDownButton as Yt, SelectScrollUpButton as jt, SelectSeparator as qt, SelectTrigger as Jt, SelectValue as Kt } from "./Select/SelectRoot.js";
62
- import { Select as Wt } from "./Select/Select.js";
63
- import { Separator as Zt } from "./Separator/Separator.js";
64
- import { Sheet as oa, SheetClose as ra, SheetContent as ea, SheetDescription as ta, SheetFooter as aa, SheetHeader as na, SheetOverlay as ia, SheetPortal as pa, SheetTitle as la, SheetTrigger as ma } from "./Sheet/Sheet.js";
65
- import { Sidebar as da, SidebarContent as ga, SidebarFooter as ba, SidebarGroup as xa, SidebarGroupAction as fa, SidebarGroupContent as Sa, SidebarGroupLabel as sa, SidebarHeader as Ca, SidebarInput as Ta, SidebarInset as Da, SidebarMenu as ca, SidebarMenuAction as Ma, SidebarMenuBadge as Pa, SidebarMenuButton as Ia, SidebarMenuItem as Aa, SidebarMenuSkeleton as va, SidebarMenuSub as wa, SidebarMenuSubButton as ha, SidebarMenuSubItem as Fa, SidebarProvider as La, SidebarRail as Ra, SidebarSeparator as Ba, SidebarTrigger as Ga, useSidebar as ka } from "./Sidebar/Sidebar.js";
66
- import { Skeleton as ya } from "./Skeleton/Skeleton.js";
67
- import { Slider as Oa } from "./Slider/Slider.js";
68
- import { Sonner as Ea } from "./Sonner/Sonner.js";
69
- import { Switch as _a } from "./Switch/Switch.js";
70
- import { Table as Ya, TableBody as ja, TableCaption as qa, TableCell as Ja, TableFooter as Ka, TableHead as Qa, TableHeader as Wa, TableRow as Xa } from "./Table/Table.js";
71
- import { TabsContent as $a, TabsList as on, TabsRoot as rn, TabsTrigger as en } from "./Tabs/TabsRoot.js";
72
- import { TabRender as an, Tabs as nn } from "./Tabs/Tabs.js";
73
- import { Textarea as ln } from "./Textarea/Textarea.js";
74
- import { ThemeProvider as un } from "./Theme/ThemeProvider.js";
75
- import { ThemeModeToggle as gn } from "./Theme/ThemeModeToggle.js";
76
- import { Toast as xn, ToastAction as fn, ToastClose as Sn, ToastDescription as sn, ToastProvider as Cn, ToastTitle as Tn, ToastViewport as Dn } from "./Toast/Toast.js";
77
- import { reducer as Mn, toast as Pn, useNotify as In, useToast as An } from "./Toast/useToast.js";
47
+ import { LoadingMask as Le } from "./LoadingMask/LoadingMask.js";
48
+ import { RenderLoadingMask as Be } from "./LoadingMask/RenderLoadingMask.js";
49
+ import { LoadingProgress as ke } from "./LoadingProgress/LoadingProgress.js";
50
+ import { loadingProgressVariants as ye } from "./LoadingProgress/loadingProgressVariants.js";
51
+ import { Menubar as Oe, MenubarCheckboxItem as Ve, MenubarContent as Ee, MenubarGroup as ze, MenubarItem as _e, MenubarLabel as Ue, MenubarMenu as Ye, MenubarPortal as je, MenubarRadioGroup as qe, MenubarRadioItem as Je, MenubarSeparator as Ke, MenubarShortcut as Qe, MenubarSub as We, MenubarSubContent as Xe, MenubarSubTrigger as Ze, MenubarTrigger as $e } from "./Menubar/Menubar.js";
52
+ import { NavigationMenu as rt, NavigationMenuContent as et, NavigationMenuIndicator as tt, NavigationMenuItem as at, NavigationMenuLink as nt, NavigationMenuList as it, NavigationMenuTrigger as pt, NavigationMenuViewport as lt } from "./NavigationMenu/NavigationMenu.js";
53
+ import { navigationMenuVariants as ut } from "./NavigationMenu/navigationMenuVariants.js";
54
+ import { Pagination as gt, PaginationContent as bt, PaginationEllipsis as xt, PaginationItem as ft, PaginationLink as St, PaginationNext as st, PaginationPrevious as Ct } from "./Pagination/Pagination.js";
55
+ import { Popover as Dt, PopoverAnchor as ct, PopoverContent as Mt, PopoverTrigger as Pt } from "./Popover/Popover.js";
56
+ import { Progress as At } from "./Progress/Progress.js";
57
+ import { RadioGroup as ht, RadioGroupItem as wt, RadioGroupLabel as Ft } from "./RadioGroup/RadioGroup.js";
58
+ import { ResizableHandle as Rt, ResizablePanel as Bt, ResizablePanelGroup as Gt } from "./Resizable/Resizable.js";
59
+ import { ScrollArea as Ht, ScrollBar as yt } from "./ScrollArea/ScrollArea.js";
60
+ import { Search as Ot } from "./Search/Search.js";
61
+ import { SelectContent as Et, SelectGroup as zt, SelectItem as _t, SelectLabel as Ut, SelectRoot as Yt, SelectScrollDownButton as jt, SelectScrollUpButton as qt, SelectSeparator as Jt, SelectTrigger as Kt, SelectValue as Qt } from "./Select/SelectRoot.js";
62
+ import { Select as Xt } from "./Select/Select.js";
63
+ import { Separator as $t } from "./Separator/Separator.js";
64
+ import { Sheet as ra, SheetClose as ea, SheetContent as ta, SheetDescription as aa, SheetFooter as na, SheetHeader as ia, SheetOverlay as pa, SheetPortal as la, SheetTitle as ma, SheetTrigger as ua } from "./Sheet/Sheet.js";
65
+ import { Sidebar as ga, SidebarContent as ba, SidebarFooter as xa, SidebarGroup as fa, SidebarGroupAction as Sa, SidebarGroupContent as sa, SidebarGroupLabel as Ca, SidebarHeader as Ta, SidebarInput as Da, SidebarInset as ca, SidebarMenu as Ma, SidebarMenuAction as Pa, SidebarMenuBadge as Ia, SidebarMenuButton as Aa, SidebarMenuItem as va, SidebarMenuSkeleton as ha, SidebarMenuSub as wa, SidebarMenuSubButton as Fa, SidebarMenuSubItem as La, SidebarProvider as Ra, SidebarRail as Ba, SidebarSeparator as Ga, SidebarTrigger as ka, useSidebar as Ha } from "./Sidebar/Sidebar.js";
66
+ import { Skeleton as Na } from "./Skeleton/Skeleton.js";
67
+ import { Slider as Va } from "./Slider/Slider.js";
68
+ import { Sonner as za } from "./Sonner/Sonner.js";
69
+ import { Switch as Ua } from "./Switch/Switch.js";
70
+ import { Table as ja, TableBody as qa, TableCaption as Ja, TableCell as Ka, TableFooter as Qa, TableHead as Wa, TableHeader as Xa, TableRow as Za } from "./Table/Table.js";
71
+ import { TabsContent as on, TabsList as rn, TabsRoot as en, TabsTrigger as tn } from "./Tabs/TabsRoot.js";
72
+ import { TabRender as nn, Tabs as pn } from "./Tabs/Tabs.js";
73
+ import { Textarea as mn } from "./Textarea/Textarea.js";
74
+ import { ThemeProvider as dn } from "./Theme/ThemeProvider.js";
75
+ import { ThemeModeToggle as bn } from "./Theme/ThemeModeToggle.js";
76
+ import { Toast as fn, ToastAction as Sn, ToastClose as sn, ToastDescription as Cn, ToastProvider as Tn, ToastTitle as Dn, ToastViewport as cn } from "./Toast/Toast.js";
77
+ import { reducer as Pn, toast as In, useNotify as An, useToast as vn } from "./Toast/useToast.js";
78
78
  import { Toaster as wn } from "./Toaster/Toaster.js";
79
- import { Toggle as Fn, toggleVariants as Ln } from "./Toggle/Toggle.js";
80
- import { ToggleGroup as Bn, ToggleGroupItem as Gn } from "./ToggleGroup/ToggleGroup.js";
81
- import { TooltipContent as Hn, TooltipProvider as yn, TooltipRoot as Nn, TooltipTrigger as On } from "./Tooltip/TooltipRoot.js";
82
- import { Tooltip as En } from "./Tooltip/Tooltip.js";
83
- import { Dropzone as _n } from "./Dropzone/Dropzone.js";
84
- import { DEFAULT_FILE_TYPES as Yn, DEFAULT_IMAGES_TYPES as jn } from "./Dropzone/Dropzone.types.js";
85
- import { FormDropzone as Jn } from "./FormDropzone/FormDropzone.js";
86
- import { TablePagination as Qn } from "./TablePagination/TablePagination.js";
79
+ import { Toggle as Ln, toggleVariants as Rn } from "./Toggle/Toggle.js";
80
+ import { ToggleGroup as Gn, ToggleGroupItem as kn } from "./ToggleGroup/ToggleGroup.js";
81
+ import { TooltipContent as yn, TooltipProvider as Nn, TooltipRoot as On, TooltipTrigger as Vn } from "./Tooltip/TooltipRoot.js";
82
+ import { Tooltip as zn } from "./Tooltip/Tooltip.js";
83
+ import { Dropzone as Un } from "./Dropzone/Dropzone.js";
84
+ import { DEFAULT_FILE_TYPES as jn, DEFAULT_IMAGES_TYPES as qn } from "./Dropzone/Dropzone.types.js";
85
+ import { FormDropzone as Kn } from "./FormDropzone/FormDropzone.js";
86
+ import { TablePagination as Wn } from "./TablePagination/TablePagination.js";
87
+ import * as o from "@radix-ui/react-dialog";
87
88
  export {
88
- e as Accordion,
89
- t as AccordionContent,
90
- a as AccordionItem,
91
- n as AccordionTrigger,
92
- p as Alert,
93
- l as AlertDescription,
94
- P as AlertDialog,
95
- d as AlertDialogAction,
96
- g as AlertDialogCancel,
97
- b as AlertDialogContent,
98
- x as AlertDialogDescription,
99
- f as AlertDialogFooter,
100
- S as AlertDialogHeader,
101
- s as AlertDialogOverlay,
102
- C as AlertDialogPortal,
103
- T as AlertDialogRoot,
104
- D as AlertDialogTitle,
105
- c as AlertDialogTrigger,
106
- m as AlertTitle,
107
- A as AreaChart,
89
+ t as Accordion,
90
+ a as AccordionContent,
91
+ n as AccordionItem,
92
+ i as AccordionTrigger,
93
+ l as Alert,
94
+ m as AlertDescription,
95
+ I as AlertDialog,
96
+ g as AlertDialogAction,
97
+ b as AlertDialogCancel,
98
+ x as AlertDialogContent,
99
+ f as AlertDialogDescription,
100
+ S as AlertDialogFooter,
101
+ s as AlertDialogHeader,
102
+ C as AlertDialogOverlay,
103
+ T as AlertDialogPortal,
104
+ D as AlertDialogRoot,
105
+ c as AlertDialogTitle,
106
+ M as AlertDialogTrigger,
107
+ u as AlertTitle,
108
+ v as AreaChart,
108
109
  w as Aside,
109
- F as AsideSidebar,
110
- R as AspectRatio,
111
- G as Avatar,
112
- k as AvatarFallback,
113
- H as AvatarImage,
114
- N as Badge,
115
- ge as BaseInput,
116
- z as Breadcrumb,
117
- _ as BreadcrumbEllipsis,
118
- U as BreadcrumbItem,
119
- Y as BreadcrumbLink,
120
- j as BreadcrumbList,
121
- q as BreadcrumbPage,
122
- J as BreadcrumbSeparator,
123
- Q as Button,
124
- $ as ButtonIcon,
125
- to as Calendar,
126
- no as Card,
127
- io as CardContent,
128
- po as CardDescription,
129
- lo as CardFooter,
130
- mo as CardHeader,
131
- uo as CardTitle,
132
- bo as Carousel,
133
- xo as CarouselContent,
134
- fo as CarouselItem,
135
- So as CarouselNext,
136
- so as CarouselPrevious,
137
- To as ChartContainer,
138
- Do as ChartLegend,
139
- co as ChartLegendContent,
140
- Mo as ChartStyle,
141
- Po as ChartTooltip,
142
- Io as ChartTooltipContent,
143
- vo as Checkbox,
110
+ L as AsideSidebar,
111
+ B as AspectRatio,
112
+ k as Avatar,
113
+ H as AvatarFallback,
114
+ y as AvatarImage,
115
+ O as Badge,
116
+ be as BaseInput,
117
+ _ as Breadcrumb,
118
+ U as BreadcrumbEllipsis,
119
+ Y as BreadcrumbItem,
120
+ j as BreadcrumbLink,
121
+ q as BreadcrumbList,
122
+ J as BreadcrumbPage,
123
+ K as BreadcrumbSeparator,
124
+ W as Button,
125
+ oo as ButtonIcon,
126
+ ao as Calendar,
127
+ io as Card,
128
+ po as CardContent,
129
+ lo as CardDescription,
130
+ mo as CardFooter,
131
+ uo as CardHeader,
132
+ go as CardTitle,
133
+ xo as Carousel,
134
+ fo as CarouselContent,
135
+ So as CarouselItem,
136
+ so as CarouselNext,
137
+ Co as CarouselPrevious,
138
+ Do as ChartContainer,
139
+ co as ChartLegend,
140
+ Mo as ChartLegendContent,
141
+ Po as ChartStyle,
142
+ Io as ChartTooltip,
143
+ Ao as ChartTooltipContent,
144
+ ho as Checkbox,
144
145
  wo as CheckboxLabel,
145
- Fo as Collapsible,
146
- Lo as CollapsibleContent,
147
- Ro as CollapsibleTrigger,
148
- Go as Combobox,
149
- Ho as Command,
150
- yo as CommandDialog,
151
- No as CommandEmpty,
152
- Oo as CommandGroup,
153
- Vo as CommandInput,
154
- Eo as CommandItem,
155
- zo as CommandList,
156
- _o as CommandSeparator,
157
- Uo as CommandShortcut,
158
- Yn as DEFAULT_FILE_TYPES,
159
- jn as DEFAULT_IMAGES_TYPES,
160
- jo as DataTable,
161
- Jo as DatePicker,
162
- Qo as Dialog,
163
- Wo as DialogClose,
164
- Xo as DialogContent,
165
- Zo as DialogDescription,
166
- $o as DialogFooter,
167
- or as DialogHeader,
168
- rr as DialogOverlay,
169
- ir as DialogOverlayContainerContext,
170
- pr as DialogOverlayScope,
171
- er as DialogPortal,
172
- tr as DialogTitle,
173
- ar as DialogTrigger,
174
- ur as Drawer,
175
- dr as DrawerClose,
176
- gr as DrawerContent,
177
- br as DrawerDescription,
178
- xr as DrawerFooter,
179
- fr as DrawerHeader,
180
- Sr as DrawerOverlay,
181
- sr as DrawerPortal,
182
- Cr as DrawerTitle,
183
- Tr as DrawerTrigger,
184
- cr as DropdownMenu,
185
- Mr as DropdownMenuCheckboxItem,
186
- Pr as DropdownMenuContent,
187
- Ir as DropdownMenuGroup,
188
- Ar as DropdownMenuItem,
189
- vr as DropdownMenuLabel,
146
+ Lo as Collapsible,
147
+ Ro as CollapsibleContent,
148
+ Bo as CollapsibleTrigger,
149
+ ko as Combobox,
150
+ yo as Command,
151
+ No as CommandDialog,
152
+ Oo as CommandEmpty,
153
+ Vo as CommandGroup,
154
+ Eo as CommandInput,
155
+ zo as CommandItem,
156
+ _o as CommandList,
157
+ Uo as CommandSeparator,
158
+ Yo as CommandShortcut,
159
+ jn as DEFAULT_FILE_TYPES,
160
+ qn as DEFAULT_IMAGES_TYPES,
161
+ qo as DataTable,
162
+ Ko as DatePicker,
163
+ Wo as Dialog,
164
+ Xo as DialogClose,
165
+ Zo as DialogContent,
166
+ $o as DialogDescription,
167
+ or as DialogFooter,
168
+ rr as DialogHeader,
169
+ er as DialogOverlay,
170
+ pr as DialogOverlayContainerContext,
171
+ lr as DialogOverlayScope,
172
+ tr as DialogPortal,
173
+ o as DialogPrimitive,
174
+ ar as DialogTitle,
175
+ nr as DialogTrigger,
176
+ dr as Drawer,
177
+ gr as DrawerClose,
178
+ br as DrawerContent,
179
+ xr as DrawerDescription,
180
+ fr as DrawerFooter,
181
+ Sr as DrawerHeader,
182
+ sr as DrawerOverlay,
183
+ Cr as DrawerPortal,
184
+ Tr as DrawerTitle,
185
+ Dr as DrawerTrigger,
186
+ Mr as DropdownMenu,
187
+ Pr as DropdownMenuCheckboxItem,
188
+ Ir as DropdownMenuContent,
189
+ Ar as DropdownMenuGroup,
190
+ vr as DropdownMenuItem,
191
+ hr as DropdownMenuLabel,
190
192
  wr as DropdownMenuPortal,
191
- hr as DropdownMenuRadioGroup,
192
- Fr as DropdownMenuRadioItem,
193
- Lr as DropdownMenuSeparator,
194
- Rr as DropdownMenuShortcut,
195
- Br as DropdownMenuSub,
196
- Gr as DropdownMenuSubContent,
197
- kr as DropdownMenuSubTrigger,
198
- Hr as DropdownMenuTrigger,
199
- _n as Dropzone,
200
- Nr as Form,
201
- Kr as FormCheckbox,
202
- Wr as FormCombobox,
203
- Or as FormControl,
204
- Zr as FormDatePicker,
205
- Vr as FormDescription,
206
- Jn as FormDropzone,
207
- Er as FormField,
208
- oe as FormInput,
209
- zr as FormItem,
210
- _r as FormLabel,
211
- Ur as FormMessage,
212
- qr as FormRenderControl,
213
- ee as FormSelect,
214
- ae as FormTextarea,
215
- ie as Header,
216
- le as HoverCard,
217
- me as HoverCardContent,
218
- ue as HoverCardTrigger,
219
- be as Input,
220
- Se as InputOTP,
221
- se as InputOTPGroup,
222
- Ce as InputOTPSeparator,
223
- Te as InputOTPSlot,
224
- ce as Label,
225
- Ae as LazyLoader,
193
+ Fr as DropdownMenuRadioGroup,
194
+ Lr as DropdownMenuRadioItem,
195
+ Rr as DropdownMenuSeparator,
196
+ Br as DropdownMenuShortcut,
197
+ Gr as DropdownMenuSub,
198
+ kr as DropdownMenuSubContent,
199
+ Hr as DropdownMenuSubTrigger,
200
+ yr as DropdownMenuTrigger,
201
+ Un as Dropzone,
202
+ Or as Form,
203
+ Qr as FormCheckbox,
204
+ Xr as FormCombobox,
205
+ Vr as FormControl,
206
+ $r as FormDatePicker,
207
+ Er as FormDescription,
208
+ Kn as FormDropzone,
209
+ zr as FormField,
210
+ re as FormInput,
211
+ _r as FormItem,
212
+ Ur as FormLabel,
213
+ Yr as FormMessage,
214
+ Jr as FormRenderControl,
215
+ te as FormSelect,
216
+ ne as FormTextarea,
217
+ pe as Header,
218
+ me as HoverCard,
219
+ ue as HoverCardContent,
220
+ de as HoverCardTrigger,
221
+ xe as Input,
222
+ se as InputOTP,
223
+ Ce as InputOTPGroup,
224
+ Te as InputOTPSeparator,
225
+ De as InputOTPSlot,
226
+ Me as Label,
227
+ ve as LazyLoader,
226
228
  we as LoadedIcon,
227
- Fe as LoadingMask,
228
- Ge as LoadingProgress,
229
- Ne as Menubar,
230
- Oe as MenubarCheckboxItem,
231
- Ve as MenubarContent,
232
- Ee as MenubarGroup,
233
- ze as MenubarItem,
234
- _e as MenubarLabel,
235
- Ue as MenubarMenu,
236
- Ye as MenubarPortal,
237
- je as MenubarRadioGroup,
238
- qe as MenubarRadioItem,
239
- Je as MenubarSeparator,
240
- Ke as MenubarShortcut,
241
- Qe as MenubarSub,
242
- We as MenubarSubContent,
243
- Xe as MenubarSubTrigger,
244
- Ze as MenubarTrigger,
245
- ot as NavigationMenu,
246
- rt as NavigationMenuContent,
247
- et as NavigationMenuIndicator,
248
- tt as NavigationMenuItem,
249
- at as NavigationMenuLink,
250
- nt as NavigationMenuList,
251
- it as NavigationMenuTrigger,
252
- pt as NavigationMenuViewport,
253
- dt as Pagination,
254
- gt as PaginationContent,
255
- bt as PaginationEllipsis,
256
- xt as PaginationItem,
257
- ft as PaginationLink,
258
- St as PaginationNext,
259
- st as PaginationPrevious,
260
- xe as PasswordInput,
261
- Tt as Popover,
262
- Dt as PopoverAnchor,
263
- ct as PopoverContent,
264
- Mt as PopoverTrigger,
265
- It as Progress,
266
- vt as RadioGroup,
229
+ Le as LoadingMask,
230
+ ke as LoadingProgress,
231
+ Oe as Menubar,
232
+ Ve as MenubarCheckboxItem,
233
+ Ee as MenubarContent,
234
+ ze as MenubarGroup,
235
+ _e as MenubarItem,
236
+ Ue as MenubarLabel,
237
+ Ye as MenubarMenu,
238
+ je as MenubarPortal,
239
+ qe as MenubarRadioGroup,
240
+ Je as MenubarRadioItem,
241
+ Ke as MenubarSeparator,
242
+ Qe as MenubarShortcut,
243
+ We as MenubarSub,
244
+ Xe as MenubarSubContent,
245
+ Ze as MenubarSubTrigger,
246
+ $e as MenubarTrigger,
247
+ rt as NavigationMenu,
248
+ et as NavigationMenuContent,
249
+ tt as NavigationMenuIndicator,
250
+ at as NavigationMenuItem,
251
+ nt as NavigationMenuLink,
252
+ it as NavigationMenuList,
253
+ pt as NavigationMenuTrigger,
254
+ lt as NavigationMenuViewport,
255
+ gt as Pagination,
256
+ bt as PaginationContent,
257
+ xt as PaginationEllipsis,
258
+ ft as PaginationItem,
259
+ St as PaginationLink,
260
+ st as PaginationNext,
261
+ Ct as PaginationPrevious,
262
+ fe as PasswordInput,
263
+ Dt as Popover,
264
+ ct as PopoverAnchor,
265
+ Mt as PopoverContent,
266
+ Pt as PopoverTrigger,
267
+ At as Progress,
268
+ ht as RadioGroup,
267
269
  wt as RadioGroupItem,
268
- ht as RadioGroupLabel,
269
- Re as RenderLoadingMask,
270
- Lt as ResizableHandle,
271
- Rt as ResizablePanel,
272
- Bt as ResizablePanelGroup,
273
- kt as ScrollArea,
274
- Ht as ScrollBar,
275
- Nt as Search,
276
- Wt as Select,
277
- Vt as SelectContent,
278
- Et as SelectGroup,
279
- zt as SelectItem,
280
- _t as SelectLabel,
281
- Ut as SelectRoot,
282
- Yt as SelectScrollDownButton,
283
- jt as SelectScrollUpButton,
284
- qt as SelectSeparator,
285
- Jt as SelectTrigger,
286
- Kt as SelectValue,
287
- Zt as Separator,
288
- oa as Sheet,
289
- ra as SheetClose,
290
- ea as SheetContent,
291
- ta as SheetDescription,
292
- aa as SheetFooter,
293
- na as SheetHeader,
294
- ia as SheetOverlay,
295
- pa as SheetPortal,
296
- la as SheetTitle,
297
- ma as SheetTrigger,
298
- da as Sidebar,
299
- ga as SidebarContent,
300
- ba as SidebarFooter,
301
- xa as SidebarGroup,
302
- fa as SidebarGroupAction,
303
- Sa as SidebarGroupContent,
304
- sa as SidebarGroupLabel,
305
- Ca as SidebarHeader,
306
- Ta as SidebarInput,
307
- Da as SidebarInset,
308
- ca as SidebarMenu,
309
- Ma as SidebarMenuAction,
310
- Pa as SidebarMenuBadge,
311
- Ia as SidebarMenuButton,
312
- Aa as SidebarMenuItem,
313
- va as SidebarMenuSkeleton,
270
+ Ft as RadioGroupLabel,
271
+ Be as RenderLoadingMask,
272
+ Rt as ResizableHandle,
273
+ Bt as ResizablePanel,
274
+ Gt as ResizablePanelGroup,
275
+ Ht as ScrollArea,
276
+ yt as ScrollBar,
277
+ Ot as Search,
278
+ Xt as Select,
279
+ Et as SelectContent,
280
+ zt as SelectGroup,
281
+ _t as SelectItem,
282
+ Ut as SelectLabel,
283
+ Yt as SelectRoot,
284
+ jt as SelectScrollDownButton,
285
+ qt as SelectScrollUpButton,
286
+ Jt as SelectSeparator,
287
+ Kt as SelectTrigger,
288
+ Qt as SelectValue,
289
+ $t as Separator,
290
+ ra as Sheet,
291
+ ea as SheetClose,
292
+ ta as SheetContent,
293
+ aa as SheetDescription,
294
+ na as SheetFooter,
295
+ ia as SheetHeader,
296
+ pa as SheetOverlay,
297
+ la as SheetPortal,
298
+ ma as SheetTitle,
299
+ ua as SheetTrigger,
300
+ ga as Sidebar,
301
+ ba as SidebarContent,
302
+ xa as SidebarFooter,
303
+ fa as SidebarGroup,
304
+ Sa as SidebarGroupAction,
305
+ sa as SidebarGroupContent,
306
+ Ca as SidebarGroupLabel,
307
+ Ta as SidebarHeader,
308
+ Da as SidebarInput,
309
+ ca as SidebarInset,
310
+ Ma as SidebarMenu,
311
+ Pa as SidebarMenuAction,
312
+ Ia as SidebarMenuBadge,
313
+ Aa as SidebarMenuButton,
314
+ va as SidebarMenuItem,
315
+ ha as SidebarMenuSkeleton,
314
316
  wa as SidebarMenuSub,
315
- ha as SidebarMenuSubButton,
316
- Fa as SidebarMenuSubItem,
317
- La as SidebarProvider,
318
- Ra as SidebarRail,
319
- Ba as SidebarSeparator,
320
- Ga as SidebarTrigger,
321
- ya as Skeleton,
322
- Oa as Slider,
323
- Ea as Sonner,
324
- _a as Switch,
325
- an as TabRender,
326
- Ya as Table,
327
- ja as TableBody,
328
- qa as TableCaption,
329
- Ja as TableCell,
330
- Ka as TableFooter,
331
- Qa as TableHead,
332
- Wa as TableHeader,
333
- Qn as TablePagination,
334
- Xa as TableRow,
335
- nn as Tabs,
336
- $a as TabsContent,
337
- on as TabsList,
338
- rn as TabsRoot,
339
- en as TabsTrigger,
340
- ln as Textarea,
341
- gn as ThemeModeToggle,
342
- un as ThemeProvider,
343
- xn as Toast,
344
- fn as ToastAction,
345
- Sn as ToastClose,
346
- sn as ToastDescription,
347
- Cn as ToastProvider,
348
- Tn as ToastTitle,
349
- Dn as ToastViewport,
317
+ Fa as SidebarMenuSubButton,
318
+ La as SidebarMenuSubItem,
319
+ Ra as SidebarProvider,
320
+ Ba as SidebarRail,
321
+ Ga as SidebarSeparator,
322
+ ka as SidebarTrigger,
323
+ Na as Skeleton,
324
+ Va as Slider,
325
+ za as Sonner,
326
+ Ua as Switch,
327
+ nn as TabRender,
328
+ ja as Table,
329
+ qa as TableBody,
330
+ Ja as TableCaption,
331
+ Ka as TableCell,
332
+ Qa as TableFooter,
333
+ Wa as TableHead,
334
+ Xa as TableHeader,
335
+ Wn as TablePagination,
336
+ Za as TableRow,
337
+ pn as Tabs,
338
+ on as TabsContent,
339
+ rn as TabsList,
340
+ en as TabsRoot,
341
+ tn as TabsTrigger,
342
+ mn as Textarea,
343
+ bn as ThemeModeToggle,
344
+ dn as ThemeProvider,
345
+ fn as Toast,
346
+ Sn as ToastAction,
347
+ sn as ToastClose,
348
+ Cn as ToastDescription,
349
+ Tn as ToastProvider,
350
+ Dn as ToastTitle,
351
+ cn as ToastViewport,
350
352
  wn as Toaster,
351
- Fn as Toggle,
352
- Bn as ToggleGroup,
353
- Gn as ToggleGroupItem,
354
- En as Tooltip,
355
- Hn as TooltipContent,
356
- yn as TooltipProvider,
357
- Nn as TooltipRoot,
358
- On as TooltipTrigger,
359
- V as badgeVariants,
360
- ro as buttonIconVariants,
361
- X as buttonVariants,
362
- Pe as labelVariants,
363
- He as loadingProgressVariants,
364
- mt as navigationMenuVariants,
365
- Mn as reducer,
366
- Pn as toast,
367
- Ln as toggleVariants,
368
- lr as useDialogOverlayContainer,
369
- Yr as useFormField,
370
- In as useNotify,
371
- ka as useSidebar,
372
- An as useToast
353
+ Ln as Toggle,
354
+ Gn as ToggleGroup,
355
+ kn as ToggleGroupItem,
356
+ zn as Tooltip,
357
+ yn as TooltipContent,
358
+ Nn as TooltipProvider,
359
+ On as TooltipRoot,
360
+ Vn as TooltipTrigger,
361
+ E as badgeVariants,
362
+ eo as buttonIconVariants,
363
+ Z as buttonVariants,
364
+ Ie as labelVariants,
365
+ ye as loadingProgressVariants,
366
+ ut as navigationMenuVariants,
367
+ Pn as reducer,
368
+ In as toast,
369
+ Rn as toggleVariants,
370
+ mr as useDialogOverlayContainer,
371
+ jr as useFormField,
372
+ An as useNotify,
373
+ Ha as useSidebar,
374
+ vn as useToast
373
375
  };
374
376
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneplatformdev/ui",
3
- "version": "0.1.10-32",
3
+ "version": "0.1.10-33",
4
4
  "description": "UI component library for OnePlatform",
5
5
  "author": "One Platform Development Team",
6
6
  "keywords": [
@@ -47,8 +47,8 @@
47
47
  "!**/*.tsbuildinfo"
48
48
  ],
49
49
  "peerDependencies": {
50
- "react": ">=18",
51
- "react-dom": ">=18",
50
+ "react": ">=19",
51
+ "react-dom": ">=19",
52
52
  "tailwindcss": ">=4.0.0",
53
53
  "tw-animate-css": "^1.3.8",
54
54
  "react-hook-form": "^7.54.2",
@@ -105,8 +105,8 @@
105
105
  "recharts": "^3.2.0",
106
106
  "sonner": "^2.0.7",
107
107
  "vaul": "^1.1.2",
108
- "@oneplatformdev/tokens": "^0.0.1-54",
109
- "@oneplatformdev/hooks": "^0.1.0-67",
110
- "@oneplatformdev/utils": "^0.1.1-81"
108
+ "@oneplatformdev/tokens": "^0.0.1-55",
109
+ "@oneplatformdev/hooks": "^0.1.0-68",
110
+ "@oneplatformdev/utils": "^0.1.1-82"
111
111
  }
112
112
  }