@brightlocal/ui-components 2.17.0 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -1
- package/component-meta.json +20 -7
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts +23 -2
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.js +21 -19
- package/dist/blocks/input-list.cjs +2 -2
- package/dist/blocks/input-list.d.ts.map +1 -1
- package/dist/blocks/input-list.js +64 -63
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts +22 -2
- package/dist/card.d.ts.map +1 -1
- package/dist/card.js +93 -72
- package/dist/chip.cjs +1 -1
- package/dist/chip.d.ts.map +1 -1
- package/dist/chip.js +1 -7
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts +23 -3
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.js +44 -42
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts +10 -0
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.js +30 -29
- package/dist/field.cjs +1 -1
- package/dist/field.d.ts +5 -1
- package/dist/field.d.ts.map +1 -1
- package/dist/field.js +9 -7
- package/dist/hooks/use-prefers-reduced-motion.cjs +1 -1
- package/dist/hooks/use-prefers-reduced-motion.d.ts +25 -2
- package/dist/hooks/use-prefers-reduced-motion.d.ts.map +1 -1
- package/dist/hooks/use-prefers-reduced-motion.js +17 -11
- package/dist/index.cjs +1 -1
- package/dist/index.js +38 -37
- package/dist/link.cjs +1 -1
- package/dist/link.d.ts +13 -2
- package/dist/link.d.ts.map +1 -1
- package/dist/link.js +110 -53
- package/dist/map.cjs +1 -1
- package/dist/map.d.ts.map +1 -1
- package/dist/map.js +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.js +26 -25
- package/dist/rating.cjs +1 -1
- package/dist/rating.d.ts.map +1 -1
- package/dist/rating.js +27 -21
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +17 -2
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.js +29 -27
- package/package.json +1 -1
- package/src/blocks/input-list.tsx +8 -1
- package/src/components/alert-dialog.tsx +38 -4
- package/src/components/card.tsx +56 -9
- package/src/components/chip.tsx +1 -4
- package/src/components/dialog.tsx +39 -6
- package/src/components/dropdown-menu.tsx +7 -1
- package/src/components/field.tsx +6 -0
- package/src/components/link.tsx +103 -27
- package/src/components/map.tsx +1 -2
- package/src/components/progress.tsx +12 -6
- package/src/components/rating.tsx +4 -1
- package/src/components/sheet.tsx +30 -5
- package/src/hooks/use-prefers-reduced-motion.ts +35 -5
package/dist/dropdown-menu.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),z=require("react"),P=require("@radix-ui/react-dropdown-menu"),c=require("@brightlocal/icons"),l=require("@brightlocal/ui-components/lib/utils");function m(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=m(z),r=m(P);function f({...e}){return o.jsx(r.Root,{...e})}f.displayName="DropdownMenu";function g({...e}){return o.jsx(r.Portal,{...e})}g.displayName="DropdownMenuPortal";const w=u.forwardRef(({className:e,dataHook:t,trackingEl:n,trackingLabel:a,...
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),z=require("react"),P=require("@radix-ui/react-dropdown-menu"),c=require("@brightlocal/icons"),l=require("@brightlocal/ui-components/lib/utils");function m(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=m(z),r=m(P);function f({...e}){return o.jsx(r.Root,{...e})}f.displayName="DropdownMenu";function g({...e}){return o.jsx(r.Portal,{...e})}g.displayName="DropdownMenuPortal";const w=u.forwardRef(({className:e,dataHook:t,trackingEl:n,trackingLabel:a,...d},s)=>o.jsx(r.Trigger,{ref:s,className:e,"data-slot":"dropdown-menu-trigger","data-tracking-el":n,"data-tracking-label":a,...t!=null&&{"data-hook":t},...d}));w.displayName="DropdownMenuTrigger";const x=u.forwardRef(({className:e,sideOffset:t=4,align:n="start",dataHook:a,trackingEl:d,trackingLabel:s,...i},p)=>o.jsx(r.Portal,{children:o.jsx(r.Content,{ref:p,align:n,className:l.cn(["bg-popover text-popover-foreground","z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem]","origin-(--radix-dropdown-menu-content-transform-origin)","overflow-x-hidden overflow-y-auto","rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2"],e),"data-hook":a,"data-slot":"dropdown-menu-content","data-tracking-el":d,"data-tracking-label":s,sideOffset:t,...i})}));x.displayName="DropdownMenuContent";function b({...e}){return o.jsx(r.Group,{...e})}b.displayName="DropdownMenuGroup";const h=u.forwardRef(({className:e,inset:t,dataHook:n,trackingEl:a,trackingLabel:d,...s},i)=>o.jsx(r.Item,{ref:i,className:l.cn(["relative flex cursor-default items-center gap-2 self-stretch select-none","rounded-sm px-2 py-1.5 text-sm leading-normal outline-hidden","[&>span]:overflow-hidden [&>span]:text-ellipsis [&>span]:whitespace-nowrap","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","data-[inset]:pl-8","[&_svg]:pointer-events-none [&_svg]:shrink-0"],e),"data-hook":n,"data-inset":t,"data-slot":"dropdown-menu-item","data-tracking-el":a,"data-tracking-label":d,...s}));h.displayName="DropdownMenuItem";const D=u.forwardRef(({className:e,children:t,checked:n,dataHook:a,trackingEl:d,trackingLabel:s,...i},p)=>o.jsxs(r.CheckboxItem,{ref:p,checked:n,className:l.cn(["relative flex cursor-default items-center gap-2 select-none","rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&_svg]:pointer-events-none [&_svg]:shrink-0"],e),"data-hook":a,"data-slot":"dropdown-menu-checkbox-item","data-tracking-el":d,"data-tracking-label":s,...i,children:[o.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:o.jsx(r.ItemIndicator,{children:o.jsx(c.Check,{})})}),t]}));D.displayName="DropdownMenuCheckboxItem";function M({...e}){return o.jsx(r.RadioGroup,{...e})}M.displayName="DropdownMenuRadioGroup";const v=u.forwardRef(({className:e,children:t,dataHook:n,trackingEl:a,trackingLabel:d,...s},i)=>o.jsxs(r.RadioItem,{ref:i,className:l.cn(["relative flex cursor-default items-center gap-2 select-none","rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&_svg]:pointer-events-none [&_svg]:shrink-0"],e),"data-hook":n,"data-slot":"dropdown-menu-radio-item","data-tracking-el":a,"data-tracking-label":d,...s,children:[o.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:o.jsx(r.ItemIndicator,{children:o.jsx(c.Circle,{className:"fill-current",size:8})})}),t]}));v.displayName="DropdownMenuRadioItem";const y=u.forwardRef(({className:e,inset:t,dataHook:n,...a},d)=>o.jsx(r.Label,{ref:d,className:l.cn(["px-2 py-1.5 text-sm leading-normal font-semibold","data-[inset]:pl-8"],e),"data-hook":n,"data-inset":t,"data-slot":"dropdown-menu-label",...a}));y.displayName="DropdownMenuLabel";const j=u.forwardRef(({className:e,...t},n)=>o.jsx(r.Separator,{ref:n,className:l.cn(["bg-border -mx-1 my-1 h-px"],e),"data-slot":"dropdown-menu-separator",...t}));j.displayName="DropdownMenuSeparator";function N({className:e,...t}){return o.jsx("span",{className:l.cn(["text-popover-foreground ml-auto text-xs leading-normal opacity-60"],e),"data-slot":"dropdown-menu-shortcut",...t})}N.displayName="DropdownMenuShortcut";function k({...e}){return o.jsx(r.Sub,{...e})}k.displayName="DropdownMenuSub";const R=u.forwardRef(({className:e,inset:t,children:n,dataHook:a,trackingEl:d,trackingLabel:s,...i},p)=>o.jsxs(r.SubTrigger,{ref:p,className:l.cn(["flex cursor-default items-center gap-2 select-none","rounded-sm px-2 py-1.5 text-sm outline-hidden","focus:bg-accent focus:text-accent-foreground","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","data-[inset]:pl-8","[&_svg]:pointer-events-none [&_svg]:shrink-0"],e),"data-hook":a,"data-inset":t,"data-slot":"dropdown-menu-sub-trigger","data-tracking-el":d,"data-tracking-label":s,...i,children:[n,o.jsx(c.ChevronRight,{className:"ml-auto"})]}));R.displayName="DropdownMenuSubTrigger";const S=u.forwardRef(({className:e,...t},n)=>o.jsx(r.SubContent,{ref:n,className:l.cn(["bg-popover text-popover-foreground","z-50 min-w-[8rem]","origin-(--radix-dropdown-menu-content-transform-origin)","overflow-hidden rounded-md border p-1 shadow-lg","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2"],e),"data-slot":"dropdown-menu-sub-content",...t}));S.displayName="DropdownMenuSubContent";const C=u.forwardRef(({className:e,dataHook:t,trackingEl:n,trackingLabel:a,avatar:d,title:s,description:i,disabled:p,ariaLabel:I,...T},_)=>o.jsxs(r.Trigger,{ref:_,"aria-label":I??s,className:l.cn(["flex items-center gap-2 rounded-lg border px-3 py-2","bg-popover shadow-sm","outline-none","hover:bg-accent","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","disabled:pointer-events-none disabled:opacity-50"],e),"data-hook":t,"data-slot":"dropdown-menu-trigger-avatar","data-tracking-el":n,"data-tracking-label":a,disabled:p,...T,children:[d,o.jsxs("div",{className:"flex min-w-0 flex-1 flex-col items-start",children:[o.jsx("span",{className:"w-full overflow-hidden text-sm leading-normal font-semibold text-ellipsis whitespace-nowrap",children:s}),i&&o.jsx("span",{className:"text-muted-foreground w-full overflow-hidden text-xs leading-normal text-ellipsis whitespace-nowrap",children:i})]}),o.jsx(c.ChevronsUpDown,{className:"text-muted-foreground opacity-50"})]}));C.displayName="DropdownMenuTriggerAvatar";exports.DropdownMenu=f;exports.DropdownMenuCheckboxItem=D;exports.DropdownMenuContent=x;exports.DropdownMenuGroup=b;exports.DropdownMenuItem=h;exports.DropdownMenuLabel=y;exports.DropdownMenuPortal=g;exports.DropdownMenuRadioGroup=M;exports.DropdownMenuRadioItem=v;exports.DropdownMenuSeparator=j;exports.DropdownMenuShortcut=N;exports.DropdownMenuSub=k;exports.DropdownMenuSubContent=S;exports.DropdownMenuSubTrigger=R;exports.DropdownMenuTrigger=w;exports.DropdownMenuTriggerAvatar=C;
|
package/dist/dropdown-menu.d.ts
CHANGED
|
@@ -192,6 +192,11 @@ declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<Dropdo
|
|
|
192
192
|
trackingLabel?: string;
|
|
193
193
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
194
194
|
type DropdownMenuLabelProps = React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {
|
|
195
|
+
/**
|
|
196
|
+
* Data hook for automated testing
|
|
197
|
+
* @example "dropdown-menu-label"
|
|
198
|
+
*/
|
|
199
|
+
dataHook?: string;
|
|
195
200
|
/**
|
|
196
201
|
* Indent the label (for hierarchical menus)
|
|
197
202
|
*/
|
|
@@ -201,6 +206,11 @@ type DropdownMenuLabelProps = React.ComponentPropsWithoutRef<typeof DropdownMenu
|
|
|
201
206
|
* Label/header for menu sections
|
|
202
207
|
*/
|
|
203
208
|
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
209
|
+
/**
|
|
210
|
+
* Data hook for automated testing
|
|
211
|
+
* @example "dropdown-menu-label"
|
|
212
|
+
*/
|
|
213
|
+
dataHook?: string;
|
|
204
214
|
/**
|
|
205
215
|
* Indent the label (for hierarchical menus)
|
|
206
216
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../src/components/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAUvE;;GAEG;AACH,iBAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,2CAEzD;kBAJQ,YAAY;;;AAQrB;;GAEG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,MAAM,CAAC,2CAE3D;kBAJQ,kBAAkB;;;AAQ3B,KAAK,wBAAwB,GAAG,KAAK,CAAC,wBAAwB,CAC5D,OAAO,qBAAqB,CAAC,OAAO,CACrC,GAAG;IACF;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;I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|
16
16
|
}
|
|
17
17
|
D.displayName = "DropdownMenuPortal";
|
|
18
|
-
const N = l.forwardRef(({ className: e, dataHook: o, trackingEl: a, trackingLabel: r, ...
|
|
18
|
+
const N = l.forwardRef(({ className: e, dataHook: o, trackingEl: a, trackingLabel: r, ...d }, s) => /* @__PURE__ */ t(
|
|
19
19
|
n.Trigger,
|
|
20
20
|
{
|
|
21
|
-
ref:
|
|
21
|
+
ref: s,
|
|
22
22
|
className: e,
|
|
23
23
|
"data-slot": "dropdown-menu-trigger",
|
|
24
24
|
"data-tracking-el": a,
|
|
25
25
|
"data-tracking-label": r,
|
|
26
26
|
...o != null && { "data-hook": o },
|
|
27
|
-
...
|
|
27
|
+
...d
|
|
28
28
|
}
|
|
29
29
|
));
|
|
30
30
|
N.displayName = "DropdownMenuTrigger";
|
|
@@ -34,8 +34,8 @@ const M = l.forwardRef(
|
|
|
34
34
|
sideOffset: o = 4,
|
|
35
35
|
align: a = "start",
|
|
36
36
|
dataHook: r,
|
|
37
|
-
trackingEl:
|
|
38
|
-
trackingLabel:
|
|
37
|
+
trackingEl: d,
|
|
38
|
+
trackingLabel: s,
|
|
39
39
|
...i
|
|
40
40
|
}, u) => /* @__PURE__ */ t(n.Portal, { children: /* @__PURE__ */ t(
|
|
41
41
|
n.Content,
|
|
@@ -62,8 +62,8 @@ const M = l.forwardRef(
|
|
|
62
62
|
),
|
|
63
63
|
"data-hook": r,
|
|
64
64
|
"data-slot": "dropdown-menu-content",
|
|
65
|
-
"data-tracking-el":
|
|
66
|
-
"data-tracking-label":
|
|
65
|
+
"data-tracking-el": d,
|
|
66
|
+
"data-tracking-label": s,
|
|
67
67
|
sideOffset: o,
|
|
68
68
|
...i
|
|
69
69
|
}
|
|
@@ -77,7 +77,7 @@ function y({
|
|
|
77
77
|
}
|
|
78
78
|
y.displayName = "DropdownMenuGroup";
|
|
79
79
|
const k = l.forwardRef(
|
|
80
|
-
({ className: e, inset: o, dataHook: a, trackingEl: r, trackingLabel:
|
|
80
|
+
({ className: e, inset: o, dataHook: a, trackingEl: r, trackingLabel: d, ...s }, i) => /* @__PURE__ */ t(
|
|
81
81
|
n.Item,
|
|
82
82
|
{
|
|
83
83
|
ref: i,
|
|
@@ -100,8 +100,8 @@ const k = l.forwardRef(
|
|
|
100
100
|
"data-inset": o,
|
|
101
101
|
"data-slot": "dropdown-menu-item",
|
|
102
102
|
"data-tracking-el": r,
|
|
103
|
-
"data-tracking-label":
|
|
104
|
-
...
|
|
103
|
+
"data-tracking-label": d,
|
|
104
|
+
...s
|
|
105
105
|
}
|
|
106
106
|
)
|
|
107
107
|
);
|
|
@@ -112,8 +112,8 @@ const R = l.forwardRef(
|
|
|
112
112
|
children: o,
|
|
113
113
|
checked: a,
|
|
114
114
|
dataHook: r,
|
|
115
|
-
trackingEl:
|
|
116
|
-
trackingLabel:
|
|
115
|
+
trackingEl: d,
|
|
116
|
+
trackingLabel: s,
|
|
117
117
|
...i
|
|
118
118
|
}, u) => /* @__PURE__ */ c(
|
|
119
119
|
n.CheckboxItem,
|
|
@@ -133,8 +133,8 @@ const R = l.forwardRef(
|
|
|
133
133
|
),
|
|
134
134
|
"data-hook": r,
|
|
135
135
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
136
|
-
"data-tracking-el":
|
|
137
|
-
"data-tracking-label":
|
|
136
|
+
"data-tracking-el": d,
|
|
137
|
+
"data-tracking-label": s,
|
|
138
138
|
...i,
|
|
139
139
|
children: [
|
|
140
140
|
/* @__PURE__ */ t("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ t(n.ItemIndicator, { children: /* @__PURE__ */ t(w, {}) }) }),
|
|
@@ -151,7 +151,7 @@ function S({
|
|
|
151
151
|
}
|
|
152
152
|
S.displayName = "DropdownMenuRadioGroup";
|
|
153
153
|
const C = l.forwardRef(
|
|
154
|
-
({ className: e, children: o, dataHook: a, trackingEl: r, trackingLabel:
|
|
154
|
+
({ className: e, children: o, dataHook: a, trackingEl: r, trackingLabel: d, ...s }, i) => /* @__PURE__ */ c(
|
|
155
155
|
n.RadioItem,
|
|
156
156
|
{
|
|
157
157
|
ref: i,
|
|
@@ -169,8 +169,8 @@ const C = l.forwardRef(
|
|
|
169
169
|
"data-hook": a,
|
|
170
170
|
"data-slot": "dropdown-menu-radio-item",
|
|
171
171
|
"data-tracking-el": r,
|
|
172
|
-
"data-tracking-label":
|
|
173
|
-
...
|
|
172
|
+
"data-tracking-label": d,
|
|
173
|
+
...s,
|
|
174
174
|
children: [
|
|
175
175
|
/* @__PURE__ */ t("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ t(n.ItemIndicator, { children: /* @__PURE__ */ t(b, { className: "fill-current", size: 8 }) }) }),
|
|
176
176
|
o
|
|
@@ -179,10 +179,10 @@ const C = l.forwardRef(
|
|
|
179
179
|
)
|
|
180
180
|
);
|
|
181
181
|
C.displayName = "DropdownMenuRadioItem";
|
|
182
|
-
const I = l.forwardRef(({ className: e, inset: o,
|
|
182
|
+
const I = l.forwardRef(({ className: e, inset: o, dataHook: a, ...r }, d) => /* @__PURE__ */ t(
|
|
183
183
|
n.Label,
|
|
184
184
|
{
|
|
185
|
-
ref:
|
|
185
|
+
ref: d,
|
|
186
186
|
className: p(
|
|
187
187
|
[
|
|
188
188
|
"px-2 py-1.5 text-sm leading-normal font-semibold",
|
|
@@ -190,9 +190,10 @@ const I = l.forwardRef(({ className: e, inset: o, ...a }, r) => /* @__PURE__ */
|
|
|
190
190
|
],
|
|
191
191
|
e
|
|
192
192
|
),
|
|
193
|
+
"data-hook": a,
|
|
193
194
|
"data-inset": o,
|
|
194
195
|
"data-slot": "dropdown-menu-label",
|
|
195
|
-
...
|
|
196
|
+
...r
|
|
196
197
|
}
|
|
197
198
|
));
|
|
198
199
|
I.displayName = "DropdownMenuLabel";
|
|
@@ -235,8 +236,8 @@ const G = l.forwardRef(
|
|
|
235
236
|
inset: o,
|
|
236
237
|
children: a,
|
|
237
238
|
dataHook: r,
|
|
238
|
-
trackingEl:
|
|
239
|
-
trackingLabel:
|
|
239
|
+
trackingEl: d,
|
|
240
|
+
trackingLabel: s,
|
|
240
241
|
...i
|
|
241
242
|
}, u) => /* @__PURE__ */ c(
|
|
242
243
|
n.SubTrigger,
|
|
@@ -257,8 +258,8 @@ const G = l.forwardRef(
|
|
|
257
258
|
"data-hook": r,
|
|
258
259
|
"data-inset": o,
|
|
259
260
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
260
|
-
"data-tracking-el":
|
|
261
|
-
"data-tracking-label":
|
|
261
|
+
"data-tracking-el": d,
|
|
262
|
+
"data-tracking-label": s,
|
|
262
263
|
...i,
|
|
263
264
|
children: [
|
|
264
265
|
a,
|
|
@@ -300,8 +301,8 @@ const j = l.forwardRef(
|
|
|
300
301
|
dataHook: o,
|
|
301
302
|
trackingEl: a,
|
|
302
303
|
trackingLabel: r,
|
|
303
|
-
avatar:
|
|
304
|
-
title:
|
|
304
|
+
avatar: d,
|
|
305
|
+
title: s,
|
|
305
306
|
description: i,
|
|
306
307
|
disabled: u,
|
|
307
308
|
ariaLabel: m,
|
|
@@ -310,7 +311,7 @@ const j = l.forwardRef(
|
|
|
310
311
|
n.Trigger,
|
|
311
312
|
{
|
|
312
313
|
ref: g,
|
|
313
|
-
"aria-label": m ??
|
|
314
|
+
"aria-label": m ?? s,
|
|
314
315
|
className: p(
|
|
315
316
|
[
|
|
316
317
|
"flex items-center gap-2 rounded-lg border px-3 py-2",
|
|
@@ -329,9 +330,9 @@ const j = l.forwardRef(
|
|
|
329
330
|
disabled: u,
|
|
330
331
|
...f,
|
|
331
332
|
children: [
|
|
332
|
-
|
|
333
|
+
d,
|
|
333
334
|
/* @__PURE__ */ c("div", { className: "flex min-w-0 flex-1 flex-col items-start", children: [
|
|
334
|
-
/* @__PURE__ */ t("span", { className: "w-full overflow-hidden text-sm leading-normal font-semibold text-ellipsis whitespace-nowrap", children:
|
|
335
|
+
/* @__PURE__ */ t("span", { className: "w-full overflow-hidden text-sm leading-normal font-semibold text-ellipsis whitespace-nowrap", children: s }),
|
|
335
336
|
i && /* @__PURE__ */ t("span", { className: "text-muted-foreground w-full overflow-hidden text-xs leading-normal text-ellipsis whitespace-nowrap", children: i })
|
|
336
337
|
] }),
|
|
337
338
|
/* @__PURE__ */ t(x, { className: "text-muted-foreground opacity-50" })
|
package/dist/field.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),g=require("class-variance-authority"),p=require("@brightlocal/icons"),r=require("@brightlocal/ui-components/lib/utils"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),g=require("class-variance-authority"),p=require("@brightlocal/icons"),r=require("@brightlocal/ui-components/lib/utils"),h=require("./description.cjs"),b=require("@brightlocal/ui-components/label");function n({className:e,...a}){return l.jsx("fieldset",{className:r.cn("flex flex-col gap-6","has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",e),"data-slot":"field-set",...a})}n.displayName="FieldSet";const m=["legend","label"];function v({className:e,variant:a="legend",...t}){return l.jsx("legend",{className:r.cn("mb-3 font-medium","data-[variant=legend]:text-base","data-[variant=label]:text-sm",e),"data-slot":"field-legend","data-variant":a,...t})}function x({className:e,...a}){return l.jsx("div",{className:r.cn("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4",e),"data-slot":"field-group",...a})}const _=g.cva(["group/field flex w-full gap-2","[[data-slot=radio-group]_&]:relative [[data-slot=radio-group]_&]:cursor-pointer [[data-slot=radio-group]_&]:gap-3 [[data-slot=radio-group]_&]:has-[[data-disabled]]:cursor-not-allowed","[[data-slot=radio-group]_&_[data-slot=field-label]]:after:absolute [[data-slot=radio-group]_&_[data-slot=field-label]]:after:inset-0 [[data-slot=radio-group]_&_[data-slot=field-label]]:after:cursor-pointer [[data-slot=radio-group]_&:has([data-disabled])_[data-slot=field-label]]:after:cursor-not-allowed","has-[>[role=checkbox]]:gap-3","has-[>[role=checkbox]]:[&_[data-slot=field-label]]:leading-normal"],{variants:{orientation:{vertical:["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],horizontal:["grid grid-cols-[auto_1fr] items-center gap-x-2","[&>[data-slot=field-description]]:col-start-2 [&>[data-slot=field-error]]:col-start-2","has-[>[data-slot=field-content]]:items-start"],responsive:["flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:grid @md/field-group:grid-cols-[auto_1fr] @md/field-group:items-center @md/field-group:[&>*]:w-auto","@md/field-group:[&>[data-slot=field-description]]:col-start-2 @md/field-group:[&>[data-slot=field-error]]:col-start-2","@md/field-group:has-[>[data-slot=field-content]]:items-start"]},variant:{default:[],box:["relative cursor-pointer gap-3","rounded-lg border border-border bg-background p-3","transition-colors","[&_[data-slot=field-label]]:after:absolute [&_[data-slot=field-label]]:after:inset-0 [&_[data-slot=field-label]]:after:cursor-pointer","has-[:focus-visible]:shadow-default has-[:focus-visible]:border-ring","has-[[data-state=checked]:not([role=switch])]:border-primary has-[[data-state=checked]:not([role=switch])]:bg-primary/10","dark:has-[[data-state=checked]:not([role=switch])]:bg-alpha-10","has-[[data-disabled]]:cursor-not-allowed","[&:has([data-disabled])_[data-slot=field-label]]:after:cursor-not-allowed","[[aria-invalid=true]_&]:border-destructive-40","[[aria-invalid=true]_&]:has-[:focus-visible]:border-destructive-40 [[aria-invalid=true]_&]:has-[:focus-visible]:shadow-destructive","has-[[aria-invalid=true]]:border-destructive-40","has-[[aria-invalid=true]:focus-visible]:border-destructive-40 has-[[aria-invalid=true]:focus-visible]:shadow-destructive"]}},defaultVariants:{orientation:"vertical",variant:"default"}});function k({className:e,orientation:a="vertical",variant:t="default",align:d="start",dataHook:i,...o}){return l.jsx("div",{className:r.cn(_({orientation:a,variant:t}),d==="end"&&a==="horizontal"&&"grid-cols-[1fr_auto]",e),"data-hook":i,"data-orientation":a,"data-slot":"field","data-variant":t,role:"group",...o})}function w({className:e,...a}){return l.jsx("div",{className:r.cn("group/field-content flex flex-1 flex-col gap-1.5 leading-snug","[[data-variant=boxIconVertical]_&]:items-center [[data-variant=boxIconVertical]_&]:text-center",e),"data-slot":"field-content",...a})}function F({className:e,htmlFor:a,dataHook:t,...d}){return l.jsx(b.Label,{className:r.cn("group/field-label peer/field-label w-fit","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4","has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10",e),"data-hook":t,"data-slot":"field-label",htmlFor:a,...d})}function j({className:e,dataHook:a,...t}){return l.jsx(h.Description,{className:r.cn("mt-2","group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",e),"data-hook":a,"data-slot":"field-description",...t})}function y({icon:e=p.AlertCircle,className:a,...t}){return l.jsx(e,{"aria-hidden":"true",className:r.cn("inline-block shrink-0 align-text-bottom",a),...t})}function N({className:e,dataHook:a,children:t,errors:d,...i}){const o=d?.filter(s=>!!s?.message);if(!t&&(!o||o.length===0))return null;const c=r.cn("text-destructive-foreground text-sm font-normal leading-5","mt-2","group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",e),u=o&&o.length>1;return l.jsx("div",{className:c,"data-hook":a,"data-slot":"field-error",role:"alert",...i,children:u?l.jsx("ul",{className:"list-disc space-y-1 pl-4",children:o.map((s,f)=>l.jsx("li",{children:s.message},f))}):l.jsx("p",{className:"m-0",children:t||o?.[0]?.message})})}exports.Field=k;exports.FieldContent=w;exports.FieldDescription=j;exports.FieldError=N;exports.FieldErrorIcon=y;exports.FieldGroup=x;exports.FieldLabel=F;exports.FieldLegend=v;exports.FieldSet=n;exports.fieldLegendVariants=m;
|
package/dist/field.d.ts
CHANGED
|
@@ -23,6 +23,10 @@ declare const fieldVariants: (props?: ({
|
|
|
23
23
|
* Props for the Field component
|
|
24
24
|
*/
|
|
25
25
|
interface FieldProps extends React.ComponentProps<"div">, VariantProps<typeof fieldVariants> {
|
|
26
|
+
/**
|
|
27
|
+
* Data hook for automated testing
|
|
28
|
+
*/
|
|
29
|
+
dataHook?: string;
|
|
26
30
|
/**
|
|
27
31
|
* Controls the grid column sizing for horizontal orientation.
|
|
28
32
|
* - `"start"` (default): `auto 1fr` — control left, content right
|
|
@@ -30,7 +34,7 @@ interface FieldProps extends React.ComponentProps<"div">, VariantProps<typeof fi
|
|
|
30
34
|
*/
|
|
31
35
|
align?: "start" | "end";
|
|
32
36
|
}
|
|
33
|
-
declare function Field({ className, orientation, variant, align, ...props }: FieldProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
declare function Field({ className, orientation, variant, align, dataHook, ...props }: FieldProps): import("react/jsx-runtime").JSX.Element;
|
|
34
38
|
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
35
39
|
interface FieldLabelProps extends LabelProps {
|
|
36
40
|
/**
|
package/dist/field.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../src/components/field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGnE,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE1E,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,2CAY1E;kBAZQ,QAAQ;;;AAgBjB,UAAU,gBAAiB,SAAQ,KAAK,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;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,UAAU,eAAgB,SAAQ,IAAI,CACpC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAC3B,UAAU,CACX;IACC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;CAC5C;AAED,UAAU,mBAAoB,SAAQ,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC;IAC5D;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;CACzC;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,iBAAS,cAAc,CAAC,EACtB,IAAI,EAAE,IAAkB,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAQrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,GAAG,KAAK,EACT,EAAE,eAAe,kDAyCjB;AAED,OAAO,EACL,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,QAAQ,EACR,YAAY,GACb,CAAC;AAEF,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,CAAC"}
|
package/dist/field.js
CHANGED
|
@@ -3,8 +3,8 @@ import { cva as u } from "class-variance-authority";
|
|
|
3
3
|
import { AlertCircle as g } from "@brightlocal/icons";
|
|
4
4
|
import { cn as r } from "@brightlocal/ui-components/lib/utils";
|
|
5
5
|
import { Description as p } from "./description.js";
|
|
6
|
-
import { Label as
|
|
7
|
-
function
|
|
6
|
+
import { Label as h } from "@brightlocal/ui-components/label";
|
|
7
|
+
function m({ className: t, ...a }) {
|
|
8
8
|
return /* @__PURE__ */ l(
|
|
9
9
|
"fieldset",
|
|
10
10
|
{
|
|
@@ -18,7 +18,7 @@ function h({ className: t, ...a }) {
|
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
m.displayName = "FieldSet";
|
|
22
22
|
const y = ["legend", "label"];
|
|
23
23
|
function F({
|
|
24
24
|
className: t,
|
|
@@ -115,7 +115,8 @@ function z({
|
|
|
115
115
|
orientation: a = "vertical",
|
|
116
116
|
variant: e = "default",
|
|
117
117
|
align: d = "start",
|
|
118
|
-
|
|
118
|
+
dataHook: i,
|
|
119
|
+
...o
|
|
119
120
|
}) {
|
|
120
121
|
return /* @__PURE__ */ l(
|
|
121
122
|
"div",
|
|
@@ -125,11 +126,12 @@ function z({
|
|
|
125
126
|
d === "end" && a === "horizontal" && "grid-cols-[1fr_auto]",
|
|
126
127
|
t
|
|
127
128
|
),
|
|
129
|
+
"data-hook": i,
|
|
128
130
|
"data-orientation": a,
|
|
129
131
|
"data-slot": "field",
|
|
130
132
|
"data-variant": e,
|
|
131
133
|
role: "group",
|
|
132
|
-
...
|
|
134
|
+
...o
|
|
133
135
|
}
|
|
134
136
|
);
|
|
135
137
|
}
|
|
@@ -155,7 +157,7 @@ function I({
|
|
|
155
157
|
...d
|
|
156
158
|
}) {
|
|
157
159
|
return /* @__PURE__ */ l(
|
|
158
|
-
|
|
160
|
+
h,
|
|
159
161
|
{
|
|
160
162
|
className: r(
|
|
161
163
|
// Base label styles from primitives are inherited via Label component
|
|
@@ -249,6 +251,6 @@ export {
|
|
|
249
251
|
V as FieldGroup,
|
|
250
252
|
I as FieldLabel,
|
|
251
253
|
F as FieldLegend,
|
|
252
|
-
|
|
254
|
+
m as FieldSet,
|
|
253
255
|
y as fieldLegendVariants
|
|
254
256
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),r="(prefers-reduced-motion: reduce)",o=n.createContext(null);function c(e){const t=window.matchMedia(r);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function s(){return window.matchMedia(r).matches}function u(){return!1}function d(){const e=n.useContext(o),t=n.useSyncExternalStore(c,s,u);return e??t}exports.ReducedMotionOverrideContext=o;exports.usePrefersReducedMotion=d;
|
|
@@ -1,6 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Optional override for the resolved reduced-motion value.
|
|
3
|
+
*
|
|
4
|
+
* - `null` (default): no override — {@link usePrefersReducedMotion} follows the
|
|
5
|
+
* OS/browser `prefers-reduced-motion` preference.
|
|
6
|
+
* - `true` / `false`: force the resolved value, ignoring the OS. Intended for
|
|
7
|
+
* tools that need to preview both states without changing OS settings (e.g.
|
|
8
|
+
* the Storybook "Reduce Motion" toolbar) — **not** for production app code.
|
|
9
|
+
*
|
|
10
|
+
* The override takes precedence so a component can never tell whether the value
|
|
11
|
+
* came from the OS or an override.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ReducedMotionOverrideContext: import('react').Context<boolean | null>;
|
|
14
|
+
/**
|
|
15
|
+
* Returns `true` when reduced motion should be applied.
|
|
16
|
+
*
|
|
17
|
+
* Resolves from a layered source: an optional override (via
|
|
18
|
+
* {@link ReducedMotionOverrideContext}) wins; with no override it follows the
|
|
19
|
+
* OS/browser `prefers-reduced-motion` media query and updates in real time. The
|
|
20
|
+
* consuming component only ever sees the final boolean and cannot tell which
|
|
21
|
+
* layer produced it.
|
|
22
|
+
*
|
|
23
|
+
* Use it to gate any animation — framer-motion, CSS classes, or SVG. Note that
|
|
24
|
+
* raw CSS `@media (prefers-reduced-motion)` / Tailwind `motion-reduce:` bypass
|
|
25
|
+
* this hook (and any override) because they read the OS directly.
|
|
26
|
+
*
|
|
4
27
|
* SSR-safe: defaults to `false` on the server.
|
|
5
28
|
*/
|
|
6
29
|
export declare function usePrefersReducedMotion(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-prefers-reduced-motion.d.ts","sourceRoot":"","sources":["../../src/hooks/use-prefers-reduced-motion.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-prefers-reduced-motion.d.ts","sourceRoot":"","sources":["../../src/hooks/use-prefers-reduced-motion.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,4BAA4B,yCAAsC,CAAC;AAgBhF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,IAAI,OAAO,CAQjD"}
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
function
|
|
4
|
-
const
|
|
5
|
-
return
|
|
1
|
+
import { createContext as r, useContext as o, useSyncExternalStore as c } from "react";
|
|
2
|
+
const n = "(prefers-reduced-motion: reduce)", s = r(null);
|
|
3
|
+
function i(e) {
|
|
4
|
+
const t = window.matchMedia(n);
|
|
5
|
+
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
return window.matchMedia(
|
|
7
|
+
function u() {
|
|
8
|
+
return window.matchMedia(n).matches;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function d() {
|
|
11
11
|
return !1;
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
|
|
13
|
+
function f() {
|
|
14
|
+
const e = o(s), t = c(
|
|
15
|
+
i,
|
|
16
|
+
u,
|
|
17
|
+
d
|
|
18
|
+
);
|
|
19
|
+
return e ?? t;
|
|
15
20
|
}
|
|
16
21
|
export {
|
|
17
|
-
|
|
22
|
+
s as ReducedMotionOverrideContext,
|
|
23
|
+
f as usePrefersReducedMotion
|
|
18
24
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./accordion.cjs"),M=require("./alert.cjs"),p=require("./alert-dialog.cjs"),oe=require("./aspect-ratio.cjs"),F=require("./avatar.cjs"),ae=require("./badge.cjs"),L=require("./breadcrumb.cjs"),W=require("./button.cjs"),X=require("./calendar.cjs"),H=require("./callout.cjs"),P=require("./card.cjs"),A=require("./carousel.cjs"),x=require("./chart.cjs"),N=require("./centred-layout.cjs"),ne=require("./checkbox.cjs"),U=require("./chip.cjs"),j=require("./collapsible.cjs"),l=require("./combobox.cjs"),d=require("./command.cjs"),w=require("./date-picker.cjs"),a=require("./context-menu.cjs"),ie=require("./description.cjs"),s=require("./dialog.cjs"),b=require("./drawer.cjs"),o=require("./dropdown-menu.cjs"),g=require("./field.cjs"),h=require("./global-layout.cjs"),ue=require("./header.cjs"),_=require("./hover-card.cjs"),$=require("./input.cjs"),k=require("./input-chip.cjs"),G=require("./input-group.cjs"),D=require("./input-otp.cjs"),J=require("./label.cjs"),le=require("./link.cjs"),S=require("./list.cjs"),pe=require("./logo.cjs"),r=require("./map.cjs"),n=require("./menubar.cjs"),I=require("./navigation-menu.cjs"),T=require("./pagination.cjs"),v=require("./input-password.cjs"),V=require("./popover.cjs"),be=require("./progress.cjs"),K=require("./radio-group.cjs"),de=require("./rating.cjs"),z=require("./resizable.cjs"),Q=require("./scroll-area.cjs"),C=require("./select.cjs"),Z=require("./separator.cjs"),c=require("./sheet.cjs"),se=require("./skeleton.cjs"),ge=require("./slider.cjs"),ee=require("./sonner.cjs"),R=require("./split-layout.cjs"),m=require("./stepper.cjs"),Ce=require("./switch.cjs"),y=require("./table.cjs"),f=require("./tabs.cjs"),ce=require("./text-reveal-motion.cjs"),Se=require("./textarea.cjs"),te=require("./toggle.cjs"),re=require("./toggle-group.cjs"),E=require("./tooltip.cjs"),i=require("./typography.cjs"),u=require("./blocks/data-table.cjs"),q=require("./blocks/input-list.cjs"),e=require("./blocks/sidebar.cjs"),Te=require("./hooks/use-debounce.cjs"),B=require("./hooks/use-breakpoint.cjs"),me=require("./hooks/use-prefers-reduced-motion.cjs"),Me=require("./lib/utils.cjs"),t=require("recharts"),Y=require("input-otp");exports.Accordion=O.Accordion;exports.AccordionContent=O.AccordionContent;exports.AccordionItem=O.AccordionItem;exports.AccordionTrigger=O.AccordionTrigger;exports.Alert=M.Alert;exports.AlertDescription=M.AlertDescription;exports.AlertDestructive=M.AlertDestructive;exports.AlertInfo=M.AlertInfo;exports.AlertSuccess=M.AlertSuccess;exports.AlertTitle=M.AlertTitle;exports.AlertWarning=M.AlertWarning;exports.alertVariants=M.alertVariants;exports.AlertDialog=p.AlertDialog;exports.AlertDialogAction=p.AlertDialogAction;exports.AlertDialogCancel=p.AlertDialogCancel;exports.AlertDialogContent=p.AlertDialogContent;exports.AlertDialogDescription=p.AlertDialogDescription;exports.AlertDialogFooter=p.AlertDialogFooter;exports.AlertDialogHeader=p.AlertDialogHeader;exports.AlertDialogOverlay=p.AlertDialogOverlay;exports.AlertDialogPortal=p.AlertDialogPortal;exports.AlertDialogTitle=p.AlertDialogTitle;exports.AlertDialogTrigger=p.AlertDialogTrigger;exports.AspectRatio=oe.AspectRatio;exports.Avatar=F.Avatar;exports.AvatarFallback=F.AvatarFallback;exports.AvatarImage=F.AvatarImage;exports.Badge=ae.Badge;exports.Breadcrumb=L.Breadcrumb;exports.BreadcrumbEllipsis=L.BreadcrumbEllipsis;exports.BreadcrumbItem=L.BreadcrumbItem;exports.BreadcrumbLink=L.BreadcrumbLink;exports.BreadcrumbList=L.BreadcrumbList;exports.BreadcrumbPage=L.BreadcrumbPage;exports.BreadcrumbSeparator=L.BreadcrumbSeparator;exports.Button=W.Button;exports.ButtonVariants=W.ButtonVariants;exports.Calendar=X.Calendar;exports.CalendarDayButton=X.CalendarDayButton;exports.Callout=H.Callout;exports.CalloutCitation=H.CalloutCitation;exports.CalloutHeading=H.CalloutHeading;exports.calloutVariants=H.calloutVariants;exports.Card=P.Card;exports.CardAction=P.CardAction;exports.CardContent=P.CardContent;exports.CardDescription=P.CardDescription;exports.CardFooter=P.CardFooter;exports.CardHeader=P.CardHeader;exports.CardMedia=P.CardMedia;exports.CardTitle=P.CardTitle;exports.Carousel=A.Carousel;exports.CarouselContent=A.CarouselContent;exports.CarouselDots=A.CarouselDots;exports.CarouselItem=A.CarouselItem;exports.CarouselNext=A.CarouselNext;exports.CarouselPrevious=A.CarouselPrevious;exports.ChartContainer=x.ChartContainer;exports.ChartLegend=x.ChartLegend;exports.ChartLegendContent=x.ChartLegendContent;exports.ChartStyle=x.ChartStyle;exports.ChartTooltip=x.ChartTooltip;exports.ChartTooltipContent=x.ChartTooltipContent;exports.CentredLayout=N.CentredLayout;exports.CentredLayoutContent=N.CentredLayoutContent;exports.CentredLayoutHeader=N.CentredLayoutHeader;exports.Checkbox=ne.Checkbox;exports.Chip=U.Chip;exports.chipVariants=U.chipVariants;exports.Collapsible=j.Collapsible;exports.CollapsibleContent=j.CollapsibleContent;exports.CollapsibleTrigger=j.CollapsibleTrigger;exports.Combobox=l.Combobox;exports.ComboboxContent=l.ComboboxContent;exports.ComboboxEmpty=l.ComboboxEmpty;exports.ComboboxGroup=l.ComboboxGroup;exports.ComboboxInput=l.ComboboxInput;exports.ComboboxItem=l.ComboboxItem;exports.ComboboxList=l.ComboboxList;exports.ComboboxLoading=l.ComboboxLoading;exports.ComboboxSeparator=l.ComboboxSeparator;exports.ComboboxTrigger=l.ComboboxTrigger;exports.ComboboxValue=l.ComboboxValue;exports.ComboboxVirtualList=l.ComboboxVirtualList;exports.Command=d.Command;exports.CommandEmpty=d.CommandEmpty;exports.CommandGroup=d.CommandGroup;exports.CommandInput=d.CommandInput;exports.CommandItem=d.CommandItem;exports.CommandList=d.CommandList;exports.CommandSeparator=d.CommandSeparator;exports.CommandShortcut=d.CommandShortcut;exports.CommandVirtualItem=d.CommandVirtualItem;exports.CommandVirtualList=d.CommandVirtualList;exports.DEFAULT_DATE_PRESETS=w.DEFAULT_DATE_PRESETS;exports.DatePickerCalendar=w.DatePickerCalendar;exports.DatePickerContent=w.DatePickerContent;exports.DatePickerPresets=w.DatePickerPresets;exports.DatePickerRoot=w.DatePickerRoot;exports.DatePickerTrigger=w.DatePickerTrigger;exports.ContextMenu=a.ContextMenu;exports.ContextMenuCheckboxItem=a.ContextMenuCheckboxItem;exports.ContextMenuContent=a.ContextMenuContent;exports.ContextMenuGroup=a.ContextMenuGroup;exports.ContextMenuItem=a.ContextMenuItem;exports.ContextMenuLabel=a.ContextMenuLabel;exports.ContextMenuPortal=a.ContextMenuPortal;exports.ContextMenuRadioGroup=a.ContextMenuRadioGroup;exports.ContextMenuRadioItem=a.ContextMenuRadioItem;exports.ContextMenuSeparator=a.ContextMenuSeparator;exports.ContextMenuShortcut=a.ContextMenuShortcut;exports.ContextMenuSub=a.ContextMenuSub;exports.ContextMenuSubContent=a.ContextMenuSubContent;exports.ContextMenuSubTrigger=a.ContextMenuSubTrigger;exports.ContextMenuTrigger=a.ContextMenuTrigger;exports.Description=ie.Description;exports.Dialog=s.Dialog;exports.DialogClose=s.DialogClose;exports.DialogContent=s.DialogContent;exports.DialogDescription=s.DialogDescription;exports.DialogFooter=s.DialogFooter;exports.DialogHeader=s.DialogHeader;exports.DialogOverlay=s.DialogOverlay;exports.DialogPortal=s.DialogPortal;exports.DialogTitle=s.DialogTitle;exports.DialogTrigger=s.DialogTrigger;exports.Drawer=b.Drawer;exports.DrawerBody=b.DrawerBody;exports.DrawerClose=b.DrawerClose;exports.DrawerContent=b.DrawerContent;exports.DrawerDescription=b.DrawerDescription;exports.DrawerFooter=b.DrawerFooter;exports.DrawerHeader=b.DrawerHeader;exports.DrawerOverlay=b.DrawerOverlay;exports.DrawerPortal=b.DrawerPortal;exports.DrawerTitle=b.DrawerTitle;exports.DrawerTrigger=b.DrawerTrigger;exports.DropdownMenu=o.DropdownMenu;exports.DropdownMenuCheckboxItem=o.DropdownMenuCheckboxItem;exports.DropdownMenuContent=o.DropdownMenuContent;exports.DropdownMenuGroup=o.DropdownMenuGroup;exports.DropdownMenuItem=o.DropdownMenuItem;exports.DropdownMenuLabel=o.DropdownMenuLabel;exports.DropdownMenuPortal=o.DropdownMenuPortal;exports.DropdownMenuRadioGroup=o.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=o.DropdownMenuRadioItem;exports.DropdownMenuSeparator=o.DropdownMenuSeparator;exports.DropdownMenuShortcut=o.DropdownMenuShortcut;exports.DropdownMenuSub=o.DropdownMenuSub;exports.DropdownMenuSubContent=o.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=o.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=o.DropdownMenuTrigger;exports.DropdownMenuTriggerAvatar=o.DropdownMenuTriggerAvatar;exports.Field=g.Field;exports.FieldContent=g.FieldContent;exports.FieldDescription=g.FieldDescription;exports.FieldError=g.FieldError;exports.FieldErrorIcon=g.FieldErrorIcon;exports.FieldGroup=g.FieldGroup;exports.FieldLabel=g.FieldLabel;exports.FieldLegend=g.FieldLegend;exports.FieldSet=g.FieldSet;exports.fieldLegendVariants=g.fieldLegendVariants;exports.GlobalLayout=h.GlobalLayout;exports.GlobalLayoutContent=h.GlobalLayoutContent;exports.GlobalLayoutContentActions=h.GlobalLayoutContentActions;exports.GlobalLayoutContentBody=h.GlobalLayoutContentBody;exports.GlobalLayoutContentHeader=h.GlobalLayoutContentHeader;exports.GlobalLayoutMobileHeader=h.GlobalLayoutMobileHeader;exports.GlobalLayoutSidebar=h.GlobalLayoutSidebar;exports.Header=ue.Header;exports.HoverCard=_.HoverCard;exports.HoverCardContent=_.HoverCardContent;exports.HoverCardTrigger=_.HoverCardTrigger;exports.Input=$.Input;exports.inputVariants=$.inputVariants;exports.InputChip=k.InputChip;exports.InputChipInput=k.InputChipInput;exports.InputChipItems=k.InputChipItems;exports.useInputChipContext=k.useInputChipContext;exports.InputGroup=G.InputGroup;exports.InputGroupAddon=G.InputGroupAddon;exports.InputGroupButton=G.InputGroupButton;exports.InputGroupInput=G.InputGroupInput;exports.inputGroupButtonVariants=G.inputGroupButtonVariants;exports.inputGroupVariants=G.inputGroupVariants;exports.InputOTP=D.InputOTP;exports.InputOTPDigitsOnly=D.InputOTPDigitsOnly;exports.InputOTPGroup=D.InputOTPGroup;exports.InputOTPSeparator=D.InputOTPSeparator;exports.InputOTPSimple=D.InputOTPSimple;exports.InputOTPSlot=D.InputOTPSlot;exports.InputOTPWithSeparator=D.InputOTPWithSeparator;exports.InputOTPWithSpacing=D.InputOTPWithSpacing;exports.Label=J.Label;exports.labelVariants=J.labelVariants;exports.Link=le.Link;exports.Item=S.Item;exports.ItemActions=S.ItemActions;exports.ItemContent=S.ItemContent;exports.ItemDescription=S.ItemDescription;exports.ItemMedia=S.ItemMedia;exports.ItemSubheader=S.ItemSubheader;exports.ItemTitle=S.ItemTitle;exports.List=S.List;exports.itemVariants=S.itemVariants;exports.Logo=pe.Logo;exports.MAP_STYLES=r.MAP_STYLES;exports.MapClusterPin=r.MapClusterPin;exports.MapControlButton=r.MapControlButton;exports.MapErrorState=r.MapErrorState;exports.MapGridPin=r.MapGridPin;exports.MapLegend=r.MapLegend;exports.MapLegendItem=r.MapLegendItem;exports.MapLoadingState=r.MapLoadingState;exports.MapLocationPin=r.MapLocationPin;exports.MapPopover=r.MapPopover;exports.MapPopoverAnchor=r.MapPopoverAnchor;exports.MapPopoverContent=r.MapPopoverContent;exports.MapTypeId=r.MapTypeId;exports.clusterPinHexColors=r.clusterPinHexColors;exports.createClusterPinElement=r.createClusterPinElement;exports.createClusterPinSvg=r.createClusterPinSvg;exports.mapGridPinColorMap=r.mapGridPinColorMap;exports.resolveClusterPinColors=r.resolveClusterPinColors;exports.useMapPopoverClick=r.useMapPopoverClick;exports.useMapStyles=r.useMapStyles;exports.Menubar=n.Menubar;exports.MenubarCheckboxItem=n.MenubarCheckboxItem;exports.MenubarContent=n.MenubarContent;exports.MenubarItem=n.MenubarItem;exports.MenubarLabel=n.MenubarLabel;exports.MenubarMenu=n.MenubarMenu;exports.MenubarRadioGroup=n.MenubarRadioGroup;exports.MenubarRadioItem=n.MenubarRadioItem;exports.MenubarSeparator=n.MenubarSeparator;exports.MenubarShortcut=n.MenubarShortcut;exports.MenubarSub=n.MenubarSub;exports.MenubarSubContent=n.MenubarSubContent;exports.MenubarSubTrigger=n.MenubarSubTrigger;exports.MenubarTrigger=n.MenubarTrigger;exports.NavigationMenu=I.NavigationMenu;exports.NavigationMenuContent=I.NavigationMenuContent;exports.NavigationMenuIndicator=I.NavigationMenuIndicator;exports.NavigationMenuItem=I.NavigationMenuItem;exports.NavigationMenuLink=I.NavigationMenuLink;exports.NavigationMenuList=I.NavigationMenuList;exports.NavigationMenuTrigger=I.NavigationMenuTrigger;exports.NavigationMenuViewport=I.NavigationMenuViewport;exports.Pagination=T.Pagination;exports.PaginationButton=T.PaginationButton;exports.PaginationContent=T.PaginationContent;exports.PaginationEllipsis=T.PaginationEllipsis;exports.PaginationItem=T.PaginationItem;exports.PaginationLink=T.PaginationLink;exports.PaginationNext=T.PaginationNext;exports.PaginationPrevious=T.PaginationPrevious;exports.usePagination=T.usePagination;exports.DEFAULT_STRENGTH_LEVELS=v.DEFAULT_STRENGTH_LEVELS;exports.InputPasswordField=v.InputPasswordField;exports.InputPasswordRoot=v.InputPasswordRoot;exports.InputPasswordStrength=v.InputPasswordStrength;exports.InputPasswordToggle=v.InputPasswordToggle;exports.calculatePasswordStrength=v.calculatePasswordStrength;exports.Popover=V.Popover;exports.PopoverAnchor=V.PopoverAnchor;exports.PopoverContent=V.PopoverContent;exports.PopoverTrigger=V.PopoverTrigger;exports.Progress=be.Progress;exports.RadioGroup=K.RadioGroup;exports.RadioGroupItem=K.RadioGroupItem;exports.Rating=de.Rating;exports.ResizableHandle=z.ResizableHandle;exports.ResizablePanel=z.ResizablePanel;exports.ResizablePanelGroup=z.ResizablePanelGroup;exports.ScrollArea=Q.ScrollArea;exports.ScrollBar=Q.ScrollBar;exports.Select=C.Select;exports.SelectContent=C.SelectContent;exports.SelectGroup=C.SelectGroup;exports.SelectItem=C.SelectItem;exports.SelectLabel=C.SelectLabel;exports.SelectScrollDownButton=C.SelectScrollDownButton;exports.SelectScrollUpButton=C.SelectScrollUpButton;exports.SelectSeparator=C.SelectSeparator;exports.SelectTrigger=C.SelectTrigger;exports.SelectValue=C.SelectValue;exports.Separator=Z.Separator;exports.SeparatorWithText=Z.SeparatorWithText;exports.Sheet=c.Sheet;exports.SheetClose=c.SheetClose;exports.SheetContent=c.SheetContent;exports.SheetDescription=c.SheetDescription;exports.SheetFooter=c.SheetFooter;exports.SheetHeader=c.SheetHeader;exports.SheetOverlay=c.SheetOverlay;exports.SheetPortal=c.SheetPortal;exports.SheetTitle=c.SheetTitle;exports.SheetTrigger=c.SheetTrigger;exports.Skeleton=se.Skeleton;exports.Slider=ge.Slider;exports.Sonner=ee.Sonner;exports.sonner=ee.sonner;exports.SplitLayout=R.SplitLayout;exports.SplitLayoutContentLeft=R.SplitLayoutContentLeft;exports.SplitLayoutContentRight=R.SplitLayoutContentRight;exports.SplitLayoutHeader=R.SplitLayoutHeader;exports.SplitLayoutImage=R.SplitLayoutImage;exports.Stepper=m.Stepper;exports.StepperContent=m.StepperContent;exports.StepperDescription=m.StepperDescription;exports.StepperIndicator=m.StepperIndicator;exports.StepperItem=m.StepperItem;exports.StepperNav=m.StepperNav;exports.StepperSeparator=m.StepperSeparator;exports.StepperTitle=m.StepperTitle;exports.StepperTrigger=m.StepperTrigger;exports.Switch=Ce.Switch;exports.Table=y.Table;exports.TableBody=y.TableBody;exports.TableCaption=y.TableCaption;exports.TableCell=y.TableCell;exports.TableFooter=y.TableFooter;exports.TableHead=y.TableHead;exports.TableHeader=y.TableHeader;exports.TableRow=y.TableRow;exports.Tabs=f.Tabs;exports.TabsContent=f.TabsContent;exports.TabsList=f.TabsList;exports.TabsTrigger=f.TabsTrigger;exports.TextRevealMotion=ce.TextRevealMotion;exports.Textarea=Se.Textarea;exports.Toggle=te.Toggle;exports.toggleVariants=te.toggleVariants;exports.ToggleGroup=re.ToggleGroup;exports.ToggleGroupItem=re.ToggleGroupItem;exports.Tooltip=E.Tooltip;exports.TooltipContent=E.TooltipContent;exports.TooltipProvider=E.TooltipProvider;exports.TooltipTrigger=E.TooltipTrigger;exports.TypographyBlockquote=i.TypographyBlockquote;exports.TypographyCode=i.TypographyCode;exports.TypographyH1=i.TypographyH1;exports.TypographyH2=i.TypographyH2;exports.TypographyH3=i.TypographyH3;exports.TypographyH4=i.TypographyH4;exports.TypographyInlineCode=i.TypographyInlineCode;exports.TypographyLarge=i.TypographyLarge;exports.TypographyLead=i.TypographyLead;exports.TypographyList=i.TypographyList;exports.TypographyMuted=i.TypographyMuted;exports.TypographyP=i.TypographyP;exports.TypographySmall=i.TypographySmall;exports.DataTable=u.DataTable;exports.DataTableColumnHeader=u.DataTableColumnHeader;exports.DataTablePagination=u.DataTablePagination;exports.DataTablePaginationNav=u.DataTablePaginationNav;exports.DataTablePaginationRowCount=u.DataTablePaginationRowCount;exports.DataTableSearch=u.DataTableSearch;exports.DataTableSelectAllCheckbox=u.DataTableSelectAllCheckbox;exports.DataTableSelectRowCheckbox=u.DataTableSelectRowCheckbox;exports.DataTableToolbar=u.DataTableToolbar;exports.DataTableToolbarLeft=u.DataTableToolbarLeft;exports.DataTableToolbarRight=u.DataTableToolbarRight;exports.VirtualizedDataTable=u.VirtualizedDataTable;exports.useDataTable=u.useDataTable;exports.InputList=q.InputList;exports.InputListAddButton=q.InputListAddButton;exports.InputListInput=q.InputListInput;exports.InputListItems=q.InputListItems;exports.useInputListContext=q.useInputListContext;exports.Sidebar=e.Sidebar;exports.SidebarAccountDropdown=e.SidebarAccountDropdown;exports.SidebarCollapseIcon=e.SidebarCollapseIcon;exports.SidebarCollapseIconType=e.SidebarCollapseIconType;exports.SidebarCollapsible=e.SidebarCollapsible;exports.SidebarContent=e.SidebarContent;exports.SidebarDrawer=e.SidebarDrawer;exports.SidebarFooter=e.SidebarFooter;exports.SidebarGroup=e.SidebarGroup;exports.SidebarGroupAction=e.SidebarGroupAction;exports.SidebarGroupContent=e.SidebarGroupContent;exports.SidebarGroupLabel=e.SidebarGroupLabel;exports.SidebarGroupLabelSize=e.SidebarGroupLabelSize;exports.SidebarGroupLabelVariant=e.SidebarGroupLabelVariant;exports.SidebarHeader=e.SidebarHeader;exports.SidebarHeaderButton=e.SidebarHeaderButton;exports.SidebarInboxItem=e.SidebarInboxItem;exports.SidebarInput=e.SidebarInput;exports.SidebarInset=e.SidebarInset;exports.SidebarMenu=e.SidebarMenu;exports.SidebarMenuAction=e.SidebarMenuAction;exports.SidebarMenuBadge=e.SidebarMenuBadge;exports.SidebarMenuButton=e.SidebarMenuButton;exports.SidebarMenuButtonSize=e.SidebarMenuButtonSize;exports.SidebarMenuButtonVariant=e.SidebarMenuButtonVariant;exports.SidebarMenuCollapsible=e.SidebarMenuCollapsible;exports.SidebarMenuCollapsibleContent=e.SidebarMenuCollapsibleContent;exports.SidebarMenuCollapsibleTrigger=e.SidebarMenuCollapsibleTrigger;exports.SidebarMenuItem=e.SidebarMenuItem;exports.SidebarMenuSkeleton=e.SidebarMenuSkeleton;exports.SidebarMenuSub=e.SidebarMenuSub;exports.SidebarMenuSubButton=e.SidebarMenuSubButton;exports.SidebarMenuSubButtonSize=e.SidebarMenuSubButtonSize;exports.SidebarMenuSubItem=e.SidebarMenuSubItem;exports.SidebarMenuSubVariant=e.SidebarMenuSubVariant;exports.SidebarPopoverMenu=e.SidebarPopoverMenu;exports.SidebarPopoverMenuItem=e.SidebarPopoverMenuItem;exports.SidebarPopoverTrigger=e.SidebarPopoverTrigger;exports.SidebarProvider=e.SidebarProvider;exports.SidebarRail=e.SidebarRail;exports.SidebarSeparator=e.SidebarSeparator;exports.SidebarSide=e.SidebarSide;exports.SidebarSwitcher=e.SidebarSwitcher;exports.SidebarTrigger=e.SidebarTrigger;exports.SidebarVariant=e.SidebarVariant;exports.useSidebar=e.useSidebar;exports.useDebounce=Te.useDebounce;exports.getBreakpointValue=B.getBreakpointValue;exports.getMobileBreakpoint=B.getBreakpointValue;exports.isBelowBreakpoint=B.isBelowBreakpoint;exports.isMobileViewport=B.isBelowBreakpoint;exports.useIsBelowBreakpoint=B.useIsBelowBreakpoint;exports.useIsMobile=B.useIsBelowBreakpoint;exports.usePrefersReducedMotion=me.usePrefersReducedMotion;exports.cn=Me.cn;Object.defineProperty(exports,"Area",{enumerable:!0,get:()=>t.Area});Object.defineProperty(exports,"AreaChart",{enumerable:!0,get:()=>t.AreaChart});Object.defineProperty(exports,"Bar",{enumerable:!0,get:()=>t.Bar});Object.defineProperty(exports,"BarChart",{enumerable:!0,get:()=>t.BarChart});Object.defineProperty(exports,"CartesianGrid",{enumerable:!0,get:()=>t.CartesianGrid});Object.defineProperty(exports,"Cell",{enumerable:!0,get:()=>t.Cell});Object.defineProperty(exports,"ChartLabel",{enumerable:!0,get:()=>t.Label});Object.defineProperty(exports,"ChartsLegend",{enumerable:!0,get:()=>t.Legend});Object.defineProperty(exports,"ChartsTooltip",{enumerable:!0,get:()=>t.Tooltip});Object.defineProperty(exports,"Customized",{enumerable:!0,get:()=>t.Customized});Object.defineProperty(exports,"LabelList",{enumerable:!0,get:()=>t.LabelList});Object.defineProperty(exports,"Line",{enumerable:!0,get:()=>t.Line});Object.defineProperty(exports,"LineChart",{enumerable:!0,get:()=>t.LineChart});Object.defineProperty(exports,"Pie",{enumerable:!0,get:()=>t.Pie});Object.defineProperty(exports,"PieChart",{enumerable:!0,get:()=>t.PieChart});Object.defineProperty(exports,"PolarAngleAxis",{enumerable:!0,get:()=>t.PolarAngleAxis});Object.defineProperty(exports,"PolarGrid",{enumerable:!0,get:()=>t.PolarGrid});Object.defineProperty(exports,"PolarRadiusAxis",{enumerable:!0,get:()=>t.PolarRadiusAxis});Object.defineProperty(exports,"Radar",{enumerable:!0,get:()=>t.Radar});Object.defineProperty(exports,"RadarChart",{enumerable:!0,get:()=>t.RadarChart});Object.defineProperty(exports,"RadialBar",{enumerable:!0,get:()=>t.RadialBar});Object.defineProperty(exports,"RadialBarChart",{enumerable:!0,get:()=>t.RadialBarChart});Object.defineProperty(exports,"Rectangle",{enumerable:!0,get:()=>t.Rectangle});Object.defineProperty(exports,"ReferenceLine",{enumerable:!0,get:()=>t.ReferenceLine});Object.defineProperty(exports,"ResponsiveContainer",{enumerable:!0,get:()=>t.ResponsiveContainer});Object.defineProperty(exports,"Sector",{enumerable:!0,get:()=>t.Sector});Object.defineProperty(exports,"XAxis",{enumerable:!0,get:()=>t.XAxis});Object.defineProperty(exports,"YAxis",{enumerable:!0,get:()=>t.YAxis});Object.defineProperty(exports,"REGEXP_ONLY_CHARS",{enumerable:!0,get:()=>Y.REGEXP_ONLY_CHARS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS",{enumerable:!0,get:()=>Y.REGEXP_ONLY_DIGITS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS_AND_CHARS",{enumerable:!0,get:()=>Y.REGEXP_ONLY_DIGITS_AND_CHARS});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./accordion.cjs"),M=require("./alert.cjs"),p=require("./alert-dialog.cjs"),ae=require("./aspect-ratio.cjs"),F=require("./avatar.cjs"),ne=require("./badge.cjs"),L=require("./breadcrumb.cjs"),W=require("./button.cjs"),X=require("./calendar.cjs"),H=require("./callout.cjs"),P=require("./card.cjs"),A=require("./carousel.cjs"),x=require("./chart.cjs"),N=require("./centred-layout.cjs"),ie=require("./checkbox.cjs"),U=require("./chip.cjs"),j=require("./collapsible.cjs"),l=require("./combobox.cjs"),b=require("./command.cjs"),w=require("./date-picker.cjs"),a=require("./context-menu.cjs"),ue=require("./description.cjs"),s=require("./dialog.cjs"),d=require("./drawer.cjs"),o=require("./dropdown-menu.cjs"),g=require("./field.cjs"),h=require("./global-layout.cjs"),le=require("./header.cjs"),_=require("./hover-card.cjs"),$=require("./input.cjs"),k=require("./input-chip.cjs"),v=require("./input-group.cjs"),D=require("./input-otp.cjs"),J=require("./label.cjs"),pe=require("./link.cjs"),S=require("./list.cjs"),de=require("./logo.cjs"),r=require("./map.cjs"),n=require("./menubar.cjs"),I=require("./navigation-menu.cjs"),T=require("./pagination.cjs"),G=require("./input-password.cjs"),V=require("./popover.cjs"),be=require("./progress.cjs"),K=require("./radio-group.cjs"),se=require("./rating.cjs"),z=require("./resizable.cjs"),Q=require("./scroll-area.cjs"),C=require("./select.cjs"),Z=require("./separator.cjs"),c=require("./sheet.cjs"),ge=require("./skeleton.cjs"),Ce=require("./slider.cjs"),ee=require("./sonner.cjs"),R=require("./split-layout.cjs"),m=require("./stepper.cjs"),ce=require("./switch.cjs"),y=require("./table.cjs"),f=require("./tabs.cjs"),Se=require("./text-reveal-motion.cjs"),Te=require("./textarea.cjs"),te=require("./toggle.cjs"),re=require("./toggle-group.cjs"),E=require("./tooltip.cjs"),i=require("./typography.cjs"),u=require("./blocks/data-table.cjs"),q=require("./blocks/input-list.cjs"),e=require("./blocks/sidebar.cjs"),me=require("./hooks/use-debounce.cjs"),B=require("./hooks/use-breakpoint.cjs"),oe=require("./hooks/use-prefers-reduced-motion.cjs"),Me=require("./lib/utils.cjs"),t=require("recharts"),Y=require("input-otp");exports.Accordion=O.Accordion;exports.AccordionContent=O.AccordionContent;exports.AccordionItem=O.AccordionItem;exports.AccordionTrigger=O.AccordionTrigger;exports.Alert=M.Alert;exports.AlertDescription=M.AlertDescription;exports.AlertDestructive=M.AlertDestructive;exports.AlertInfo=M.AlertInfo;exports.AlertSuccess=M.AlertSuccess;exports.AlertTitle=M.AlertTitle;exports.AlertWarning=M.AlertWarning;exports.alertVariants=M.alertVariants;exports.AlertDialog=p.AlertDialog;exports.AlertDialogAction=p.AlertDialogAction;exports.AlertDialogCancel=p.AlertDialogCancel;exports.AlertDialogContent=p.AlertDialogContent;exports.AlertDialogDescription=p.AlertDialogDescription;exports.AlertDialogFooter=p.AlertDialogFooter;exports.AlertDialogHeader=p.AlertDialogHeader;exports.AlertDialogOverlay=p.AlertDialogOverlay;exports.AlertDialogPortal=p.AlertDialogPortal;exports.AlertDialogTitle=p.AlertDialogTitle;exports.AlertDialogTrigger=p.AlertDialogTrigger;exports.AspectRatio=ae.AspectRatio;exports.Avatar=F.Avatar;exports.AvatarFallback=F.AvatarFallback;exports.AvatarImage=F.AvatarImage;exports.Badge=ne.Badge;exports.Breadcrumb=L.Breadcrumb;exports.BreadcrumbEllipsis=L.BreadcrumbEllipsis;exports.BreadcrumbItem=L.BreadcrumbItem;exports.BreadcrumbLink=L.BreadcrumbLink;exports.BreadcrumbList=L.BreadcrumbList;exports.BreadcrumbPage=L.BreadcrumbPage;exports.BreadcrumbSeparator=L.BreadcrumbSeparator;exports.Button=W.Button;exports.ButtonVariants=W.ButtonVariants;exports.Calendar=X.Calendar;exports.CalendarDayButton=X.CalendarDayButton;exports.Callout=H.Callout;exports.CalloutCitation=H.CalloutCitation;exports.CalloutHeading=H.CalloutHeading;exports.calloutVariants=H.calloutVariants;exports.Card=P.Card;exports.CardAction=P.CardAction;exports.CardContent=P.CardContent;exports.CardDescription=P.CardDescription;exports.CardFooter=P.CardFooter;exports.CardHeader=P.CardHeader;exports.CardMedia=P.CardMedia;exports.CardTitle=P.CardTitle;exports.Carousel=A.Carousel;exports.CarouselContent=A.CarouselContent;exports.CarouselDots=A.CarouselDots;exports.CarouselItem=A.CarouselItem;exports.CarouselNext=A.CarouselNext;exports.CarouselPrevious=A.CarouselPrevious;exports.ChartContainer=x.ChartContainer;exports.ChartLegend=x.ChartLegend;exports.ChartLegendContent=x.ChartLegendContent;exports.ChartStyle=x.ChartStyle;exports.ChartTooltip=x.ChartTooltip;exports.ChartTooltipContent=x.ChartTooltipContent;exports.CentredLayout=N.CentredLayout;exports.CentredLayoutContent=N.CentredLayoutContent;exports.CentredLayoutHeader=N.CentredLayoutHeader;exports.Checkbox=ie.Checkbox;exports.Chip=U.Chip;exports.chipVariants=U.chipVariants;exports.Collapsible=j.Collapsible;exports.CollapsibleContent=j.CollapsibleContent;exports.CollapsibleTrigger=j.CollapsibleTrigger;exports.Combobox=l.Combobox;exports.ComboboxContent=l.ComboboxContent;exports.ComboboxEmpty=l.ComboboxEmpty;exports.ComboboxGroup=l.ComboboxGroup;exports.ComboboxInput=l.ComboboxInput;exports.ComboboxItem=l.ComboboxItem;exports.ComboboxList=l.ComboboxList;exports.ComboboxLoading=l.ComboboxLoading;exports.ComboboxSeparator=l.ComboboxSeparator;exports.ComboboxTrigger=l.ComboboxTrigger;exports.ComboboxValue=l.ComboboxValue;exports.ComboboxVirtualList=l.ComboboxVirtualList;exports.Command=b.Command;exports.CommandEmpty=b.CommandEmpty;exports.CommandGroup=b.CommandGroup;exports.CommandInput=b.CommandInput;exports.CommandItem=b.CommandItem;exports.CommandList=b.CommandList;exports.CommandSeparator=b.CommandSeparator;exports.CommandShortcut=b.CommandShortcut;exports.CommandVirtualItem=b.CommandVirtualItem;exports.CommandVirtualList=b.CommandVirtualList;exports.DEFAULT_DATE_PRESETS=w.DEFAULT_DATE_PRESETS;exports.DatePickerCalendar=w.DatePickerCalendar;exports.DatePickerContent=w.DatePickerContent;exports.DatePickerPresets=w.DatePickerPresets;exports.DatePickerRoot=w.DatePickerRoot;exports.DatePickerTrigger=w.DatePickerTrigger;exports.ContextMenu=a.ContextMenu;exports.ContextMenuCheckboxItem=a.ContextMenuCheckboxItem;exports.ContextMenuContent=a.ContextMenuContent;exports.ContextMenuGroup=a.ContextMenuGroup;exports.ContextMenuItem=a.ContextMenuItem;exports.ContextMenuLabel=a.ContextMenuLabel;exports.ContextMenuPortal=a.ContextMenuPortal;exports.ContextMenuRadioGroup=a.ContextMenuRadioGroup;exports.ContextMenuRadioItem=a.ContextMenuRadioItem;exports.ContextMenuSeparator=a.ContextMenuSeparator;exports.ContextMenuShortcut=a.ContextMenuShortcut;exports.ContextMenuSub=a.ContextMenuSub;exports.ContextMenuSubContent=a.ContextMenuSubContent;exports.ContextMenuSubTrigger=a.ContextMenuSubTrigger;exports.ContextMenuTrigger=a.ContextMenuTrigger;exports.Description=ue.Description;exports.Dialog=s.Dialog;exports.DialogClose=s.DialogClose;exports.DialogContent=s.DialogContent;exports.DialogDescription=s.DialogDescription;exports.DialogFooter=s.DialogFooter;exports.DialogHeader=s.DialogHeader;exports.DialogOverlay=s.DialogOverlay;exports.DialogPortal=s.DialogPortal;exports.DialogTitle=s.DialogTitle;exports.DialogTrigger=s.DialogTrigger;exports.Drawer=d.Drawer;exports.DrawerBody=d.DrawerBody;exports.DrawerClose=d.DrawerClose;exports.DrawerContent=d.DrawerContent;exports.DrawerDescription=d.DrawerDescription;exports.DrawerFooter=d.DrawerFooter;exports.DrawerHeader=d.DrawerHeader;exports.DrawerOverlay=d.DrawerOverlay;exports.DrawerPortal=d.DrawerPortal;exports.DrawerTitle=d.DrawerTitle;exports.DrawerTrigger=d.DrawerTrigger;exports.DropdownMenu=o.DropdownMenu;exports.DropdownMenuCheckboxItem=o.DropdownMenuCheckboxItem;exports.DropdownMenuContent=o.DropdownMenuContent;exports.DropdownMenuGroup=o.DropdownMenuGroup;exports.DropdownMenuItem=o.DropdownMenuItem;exports.DropdownMenuLabel=o.DropdownMenuLabel;exports.DropdownMenuPortal=o.DropdownMenuPortal;exports.DropdownMenuRadioGroup=o.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=o.DropdownMenuRadioItem;exports.DropdownMenuSeparator=o.DropdownMenuSeparator;exports.DropdownMenuShortcut=o.DropdownMenuShortcut;exports.DropdownMenuSub=o.DropdownMenuSub;exports.DropdownMenuSubContent=o.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=o.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=o.DropdownMenuTrigger;exports.DropdownMenuTriggerAvatar=o.DropdownMenuTriggerAvatar;exports.Field=g.Field;exports.FieldContent=g.FieldContent;exports.FieldDescription=g.FieldDescription;exports.FieldError=g.FieldError;exports.FieldErrorIcon=g.FieldErrorIcon;exports.FieldGroup=g.FieldGroup;exports.FieldLabel=g.FieldLabel;exports.FieldLegend=g.FieldLegend;exports.FieldSet=g.FieldSet;exports.fieldLegendVariants=g.fieldLegendVariants;exports.GlobalLayout=h.GlobalLayout;exports.GlobalLayoutContent=h.GlobalLayoutContent;exports.GlobalLayoutContentActions=h.GlobalLayoutContentActions;exports.GlobalLayoutContentBody=h.GlobalLayoutContentBody;exports.GlobalLayoutContentHeader=h.GlobalLayoutContentHeader;exports.GlobalLayoutMobileHeader=h.GlobalLayoutMobileHeader;exports.GlobalLayoutSidebar=h.GlobalLayoutSidebar;exports.Header=le.Header;exports.HoverCard=_.HoverCard;exports.HoverCardContent=_.HoverCardContent;exports.HoverCardTrigger=_.HoverCardTrigger;exports.Input=$.Input;exports.inputVariants=$.inputVariants;exports.InputChip=k.InputChip;exports.InputChipInput=k.InputChipInput;exports.InputChipItems=k.InputChipItems;exports.useInputChipContext=k.useInputChipContext;exports.InputGroup=v.InputGroup;exports.InputGroupAddon=v.InputGroupAddon;exports.InputGroupButton=v.InputGroupButton;exports.InputGroupInput=v.InputGroupInput;exports.inputGroupButtonVariants=v.inputGroupButtonVariants;exports.inputGroupVariants=v.inputGroupVariants;exports.InputOTP=D.InputOTP;exports.InputOTPDigitsOnly=D.InputOTPDigitsOnly;exports.InputOTPGroup=D.InputOTPGroup;exports.InputOTPSeparator=D.InputOTPSeparator;exports.InputOTPSimple=D.InputOTPSimple;exports.InputOTPSlot=D.InputOTPSlot;exports.InputOTPWithSeparator=D.InputOTPWithSeparator;exports.InputOTPWithSpacing=D.InputOTPWithSpacing;exports.Label=J.Label;exports.labelVariants=J.labelVariants;exports.Link=pe.Link;exports.Item=S.Item;exports.ItemActions=S.ItemActions;exports.ItemContent=S.ItemContent;exports.ItemDescription=S.ItemDescription;exports.ItemMedia=S.ItemMedia;exports.ItemSubheader=S.ItemSubheader;exports.ItemTitle=S.ItemTitle;exports.List=S.List;exports.itemVariants=S.itemVariants;exports.Logo=de.Logo;exports.MAP_STYLES=r.MAP_STYLES;exports.MapClusterPin=r.MapClusterPin;exports.MapControlButton=r.MapControlButton;exports.MapErrorState=r.MapErrorState;exports.MapGridPin=r.MapGridPin;exports.MapLegend=r.MapLegend;exports.MapLegendItem=r.MapLegendItem;exports.MapLoadingState=r.MapLoadingState;exports.MapLocationPin=r.MapLocationPin;exports.MapPopover=r.MapPopover;exports.MapPopoverAnchor=r.MapPopoverAnchor;exports.MapPopoverContent=r.MapPopoverContent;exports.MapTypeId=r.MapTypeId;exports.clusterPinHexColors=r.clusterPinHexColors;exports.createClusterPinElement=r.createClusterPinElement;exports.createClusterPinSvg=r.createClusterPinSvg;exports.mapGridPinColorMap=r.mapGridPinColorMap;exports.resolveClusterPinColors=r.resolveClusterPinColors;exports.useMapPopoverClick=r.useMapPopoverClick;exports.useMapStyles=r.useMapStyles;exports.Menubar=n.Menubar;exports.MenubarCheckboxItem=n.MenubarCheckboxItem;exports.MenubarContent=n.MenubarContent;exports.MenubarItem=n.MenubarItem;exports.MenubarLabel=n.MenubarLabel;exports.MenubarMenu=n.MenubarMenu;exports.MenubarRadioGroup=n.MenubarRadioGroup;exports.MenubarRadioItem=n.MenubarRadioItem;exports.MenubarSeparator=n.MenubarSeparator;exports.MenubarShortcut=n.MenubarShortcut;exports.MenubarSub=n.MenubarSub;exports.MenubarSubContent=n.MenubarSubContent;exports.MenubarSubTrigger=n.MenubarSubTrigger;exports.MenubarTrigger=n.MenubarTrigger;exports.NavigationMenu=I.NavigationMenu;exports.NavigationMenuContent=I.NavigationMenuContent;exports.NavigationMenuIndicator=I.NavigationMenuIndicator;exports.NavigationMenuItem=I.NavigationMenuItem;exports.NavigationMenuLink=I.NavigationMenuLink;exports.NavigationMenuList=I.NavigationMenuList;exports.NavigationMenuTrigger=I.NavigationMenuTrigger;exports.NavigationMenuViewport=I.NavigationMenuViewport;exports.Pagination=T.Pagination;exports.PaginationButton=T.PaginationButton;exports.PaginationContent=T.PaginationContent;exports.PaginationEllipsis=T.PaginationEllipsis;exports.PaginationItem=T.PaginationItem;exports.PaginationLink=T.PaginationLink;exports.PaginationNext=T.PaginationNext;exports.PaginationPrevious=T.PaginationPrevious;exports.usePagination=T.usePagination;exports.DEFAULT_STRENGTH_LEVELS=G.DEFAULT_STRENGTH_LEVELS;exports.InputPasswordField=G.InputPasswordField;exports.InputPasswordRoot=G.InputPasswordRoot;exports.InputPasswordStrength=G.InputPasswordStrength;exports.InputPasswordToggle=G.InputPasswordToggle;exports.calculatePasswordStrength=G.calculatePasswordStrength;exports.Popover=V.Popover;exports.PopoverAnchor=V.PopoverAnchor;exports.PopoverContent=V.PopoverContent;exports.PopoverTrigger=V.PopoverTrigger;exports.Progress=be.Progress;exports.RadioGroup=K.RadioGroup;exports.RadioGroupItem=K.RadioGroupItem;exports.Rating=se.Rating;exports.ResizableHandle=z.ResizableHandle;exports.ResizablePanel=z.ResizablePanel;exports.ResizablePanelGroup=z.ResizablePanelGroup;exports.ScrollArea=Q.ScrollArea;exports.ScrollBar=Q.ScrollBar;exports.Select=C.Select;exports.SelectContent=C.SelectContent;exports.SelectGroup=C.SelectGroup;exports.SelectItem=C.SelectItem;exports.SelectLabel=C.SelectLabel;exports.SelectScrollDownButton=C.SelectScrollDownButton;exports.SelectScrollUpButton=C.SelectScrollUpButton;exports.SelectSeparator=C.SelectSeparator;exports.SelectTrigger=C.SelectTrigger;exports.SelectValue=C.SelectValue;exports.Separator=Z.Separator;exports.SeparatorWithText=Z.SeparatorWithText;exports.Sheet=c.Sheet;exports.SheetClose=c.SheetClose;exports.SheetContent=c.SheetContent;exports.SheetDescription=c.SheetDescription;exports.SheetFooter=c.SheetFooter;exports.SheetHeader=c.SheetHeader;exports.SheetOverlay=c.SheetOverlay;exports.SheetPortal=c.SheetPortal;exports.SheetTitle=c.SheetTitle;exports.SheetTrigger=c.SheetTrigger;exports.Skeleton=ge.Skeleton;exports.Slider=Ce.Slider;exports.Sonner=ee.Sonner;exports.sonner=ee.sonner;exports.SplitLayout=R.SplitLayout;exports.SplitLayoutContentLeft=R.SplitLayoutContentLeft;exports.SplitLayoutContentRight=R.SplitLayoutContentRight;exports.SplitLayoutHeader=R.SplitLayoutHeader;exports.SplitLayoutImage=R.SplitLayoutImage;exports.Stepper=m.Stepper;exports.StepperContent=m.StepperContent;exports.StepperDescription=m.StepperDescription;exports.StepperIndicator=m.StepperIndicator;exports.StepperItem=m.StepperItem;exports.StepperNav=m.StepperNav;exports.StepperSeparator=m.StepperSeparator;exports.StepperTitle=m.StepperTitle;exports.StepperTrigger=m.StepperTrigger;exports.Switch=ce.Switch;exports.Table=y.Table;exports.TableBody=y.TableBody;exports.TableCaption=y.TableCaption;exports.TableCell=y.TableCell;exports.TableFooter=y.TableFooter;exports.TableHead=y.TableHead;exports.TableHeader=y.TableHeader;exports.TableRow=y.TableRow;exports.Tabs=f.Tabs;exports.TabsContent=f.TabsContent;exports.TabsList=f.TabsList;exports.TabsTrigger=f.TabsTrigger;exports.TextRevealMotion=Se.TextRevealMotion;exports.Textarea=Te.Textarea;exports.Toggle=te.Toggle;exports.toggleVariants=te.toggleVariants;exports.ToggleGroup=re.ToggleGroup;exports.ToggleGroupItem=re.ToggleGroupItem;exports.Tooltip=E.Tooltip;exports.TooltipContent=E.TooltipContent;exports.TooltipProvider=E.TooltipProvider;exports.TooltipTrigger=E.TooltipTrigger;exports.TypographyBlockquote=i.TypographyBlockquote;exports.TypographyCode=i.TypographyCode;exports.TypographyH1=i.TypographyH1;exports.TypographyH2=i.TypographyH2;exports.TypographyH3=i.TypographyH3;exports.TypographyH4=i.TypographyH4;exports.TypographyInlineCode=i.TypographyInlineCode;exports.TypographyLarge=i.TypographyLarge;exports.TypographyLead=i.TypographyLead;exports.TypographyList=i.TypographyList;exports.TypographyMuted=i.TypographyMuted;exports.TypographyP=i.TypographyP;exports.TypographySmall=i.TypographySmall;exports.DataTable=u.DataTable;exports.DataTableColumnHeader=u.DataTableColumnHeader;exports.DataTablePagination=u.DataTablePagination;exports.DataTablePaginationNav=u.DataTablePaginationNav;exports.DataTablePaginationRowCount=u.DataTablePaginationRowCount;exports.DataTableSearch=u.DataTableSearch;exports.DataTableSelectAllCheckbox=u.DataTableSelectAllCheckbox;exports.DataTableSelectRowCheckbox=u.DataTableSelectRowCheckbox;exports.DataTableToolbar=u.DataTableToolbar;exports.DataTableToolbarLeft=u.DataTableToolbarLeft;exports.DataTableToolbarRight=u.DataTableToolbarRight;exports.VirtualizedDataTable=u.VirtualizedDataTable;exports.useDataTable=u.useDataTable;exports.InputList=q.InputList;exports.InputListAddButton=q.InputListAddButton;exports.InputListInput=q.InputListInput;exports.InputListItems=q.InputListItems;exports.useInputListContext=q.useInputListContext;exports.Sidebar=e.Sidebar;exports.SidebarAccountDropdown=e.SidebarAccountDropdown;exports.SidebarCollapseIcon=e.SidebarCollapseIcon;exports.SidebarCollapseIconType=e.SidebarCollapseIconType;exports.SidebarCollapsible=e.SidebarCollapsible;exports.SidebarContent=e.SidebarContent;exports.SidebarDrawer=e.SidebarDrawer;exports.SidebarFooter=e.SidebarFooter;exports.SidebarGroup=e.SidebarGroup;exports.SidebarGroupAction=e.SidebarGroupAction;exports.SidebarGroupContent=e.SidebarGroupContent;exports.SidebarGroupLabel=e.SidebarGroupLabel;exports.SidebarGroupLabelSize=e.SidebarGroupLabelSize;exports.SidebarGroupLabelVariant=e.SidebarGroupLabelVariant;exports.SidebarHeader=e.SidebarHeader;exports.SidebarHeaderButton=e.SidebarHeaderButton;exports.SidebarInboxItem=e.SidebarInboxItem;exports.SidebarInput=e.SidebarInput;exports.SidebarInset=e.SidebarInset;exports.SidebarMenu=e.SidebarMenu;exports.SidebarMenuAction=e.SidebarMenuAction;exports.SidebarMenuBadge=e.SidebarMenuBadge;exports.SidebarMenuButton=e.SidebarMenuButton;exports.SidebarMenuButtonSize=e.SidebarMenuButtonSize;exports.SidebarMenuButtonVariant=e.SidebarMenuButtonVariant;exports.SidebarMenuCollapsible=e.SidebarMenuCollapsible;exports.SidebarMenuCollapsibleContent=e.SidebarMenuCollapsibleContent;exports.SidebarMenuCollapsibleTrigger=e.SidebarMenuCollapsibleTrigger;exports.SidebarMenuItem=e.SidebarMenuItem;exports.SidebarMenuSkeleton=e.SidebarMenuSkeleton;exports.SidebarMenuSub=e.SidebarMenuSub;exports.SidebarMenuSubButton=e.SidebarMenuSubButton;exports.SidebarMenuSubButtonSize=e.SidebarMenuSubButtonSize;exports.SidebarMenuSubItem=e.SidebarMenuSubItem;exports.SidebarMenuSubVariant=e.SidebarMenuSubVariant;exports.SidebarPopoverMenu=e.SidebarPopoverMenu;exports.SidebarPopoverMenuItem=e.SidebarPopoverMenuItem;exports.SidebarPopoverTrigger=e.SidebarPopoverTrigger;exports.SidebarProvider=e.SidebarProvider;exports.SidebarRail=e.SidebarRail;exports.SidebarSeparator=e.SidebarSeparator;exports.SidebarSide=e.SidebarSide;exports.SidebarSwitcher=e.SidebarSwitcher;exports.SidebarTrigger=e.SidebarTrigger;exports.SidebarVariant=e.SidebarVariant;exports.useSidebar=e.useSidebar;exports.useDebounce=me.useDebounce;exports.getBreakpointValue=B.getBreakpointValue;exports.getMobileBreakpoint=B.getBreakpointValue;exports.isBelowBreakpoint=B.isBelowBreakpoint;exports.isMobileViewport=B.isBelowBreakpoint;exports.useIsBelowBreakpoint=B.useIsBelowBreakpoint;exports.useIsMobile=B.useIsBelowBreakpoint;exports.ReducedMotionOverrideContext=oe.ReducedMotionOverrideContext;exports.usePrefersReducedMotion=oe.usePrefersReducedMotion;exports.cn=Me.cn;Object.defineProperty(exports,"Area",{enumerable:!0,get:()=>t.Area});Object.defineProperty(exports,"AreaChart",{enumerable:!0,get:()=>t.AreaChart});Object.defineProperty(exports,"Bar",{enumerable:!0,get:()=>t.Bar});Object.defineProperty(exports,"BarChart",{enumerable:!0,get:()=>t.BarChart});Object.defineProperty(exports,"CartesianGrid",{enumerable:!0,get:()=>t.CartesianGrid});Object.defineProperty(exports,"Cell",{enumerable:!0,get:()=>t.Cell});Object.defineProperty(exports,"ChartLabel",{enumerable:!0,get:()=>t.Label});Object.defineProperty(exports,"ChartsLegend",{enumerable:!0,get:()=>t.Legend});Object.defineProperty(exports,"ChartsTooltip",{enumerable:!0,get:()=>t.Tooltip});Object.defineProperty(exports,"Customized",{enumerable:!0,get:()=>t.Customized});Object.defineProperty(exports,"LabelList",{enumerable:!0,get:()=>t.LabelList});Object.defineProperty(exports,"Line",{enumerable:!0,get:()=>t.Line});Object.defineProperty(exports,"LineChart",{enumerable:!0,get:()=>t.LineChart});Object.defineProperty(exports,"Pie",{enumerable:!0,get:()=>t.Pie});Object.defineProperty(exports,"PieChart",{enumerable:!0,get:()=>t.PieChart});Object.defineProperty(exports,"PolarAngleAxis",{enumerable:!0,get:()=>t.PolarAngleAxis});Object.defineProperty(exports,"PolarGrid",{enumerable:!0,get:()=>t.PolarGrid});Object.defineProperty(exports,"PolarRadiusAxis",{enumerable:!0,get:()=>t.PolarRadiusAxis});Object.defineProperty(exports,"Radar",{enumerable:!0,get:()=>t.Radar});Object.defineProperty(exports,"RadarChart",{enumerable:!0,get:()=>t.RadarChart});Object.defineProperty(exports,"RadialBar",{enumerable:!0,get:()=>t.RadialBar});Object.defineProperty(exports,"RadialBarChart",{enumerable:!0,get:()=>t.RadialBarChart});Object.defineProperty(exports,"Rectangle",{enumerable:!0,get:()=>t.Rectangle});Object.defineProperty(exports,"ReferenceLine",{enumerable:!0,get:()=>t.ReferenceLine});Object.defineProperty(exports,"ResponsiveContainer",{enumerable:!0,get:()=>t.ResponsiveContainer});Object.defineProperty(exports,"Sector",{enumerable:!0,get:()=>t.Sector});Object.defineProperty(exports,"XAxis",{enumerable:!0,get:()=>t.XAxis});Object.defineProperty(exports,"YAxis",{enumerable:!0,get:()=>t.YAxis});Object.defineProperty(exports,"REGEXP_ONLY_CHARS",{enumerable:!0,get:()=>Y.REGEXP_ONLY_CHARS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS",{enumerable:!0,get:()=>Y.REGEXP_ONLY_DIGITS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS_AND_CHARS",{enumerable:!0,get:()=>Y.REGEXP_ONLY_DIGITS_AND_CHARS});
|