@brightlocal/ui-components 2.4.0 → 2.6.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/component-meta.json +6 -4
- package/dist/blocks/data-table.cjs +1 -1
- package/dist/blocks/data-table.js +23 -23
- package/dist/blocks/sidebar.cjs +1 -1
- package/dist/blocks/sidebar.d.ts +77 -3
- package/dist/blocks/sidebar.d.ts.map +1 -1
- package/dist/blocks/sidebar.js +403 -283
- package/dist/global-layout.cjs +1 -1
- package/dist/global-layout.d.ts +65 -21
- package/dist/global-layout.d.ts.map +1 -1
- package/dist/global-layout.js +128 -66
- package/dist/hooks/use-mobile.cjs +1 -1
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -1
- package/dist/hooks/use-mobile.js +17 -12
- package/dist/index.cjs +1 -1
- package/dist/index.js +356 -347
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +6 -6
- package/dist/table.d.ts.map +1 -1
- package/dist/table.js +37 -34
- package/package.json +1 -1
- package/src/blocks/data-table.tsx +2 -2
- package/src/blocks/sidebar.tsx +259 -21
- package/src/components/global-layout.tsx +190 -42
- package/src/components/table.tsx +75 -27
- package/src/hooks/use-mobile.ts +7 -1
package/dist/global-layout.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),v=require("react"),d=require("@brightlocal/ui-components/lib/utils"),i=require("./header.cjs");function w(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const e in a)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(a,e);Object.defineProperty(t,e,o.get?o:{enumerable:!0,get:()=>a[e]})}}return t.default=a,Object.freeze(t)}const c=w(v),G={xl:"var(--ds-breakpoint-xl)",lg:"var(--ds-breakpoint-lg)",sm:"var(--ds-breakpoint-sm)"},u=c.forwardRef(({className:a,variant:t="xl",maxWidth:e,dataHook:o,trackingEl:l,trackingLabel:n,children:r,...x},g)=>{const h=e!=null?typeof e=="number"?`${e}px`:e:G[t];return s.jsx("div",{ref:g,className:d.cn("py-section-sm pl-section-sm flex h-dvh w-full flex-col overflow-hidden",a),"data-hook":o,"data-slot":"global-layout","data-tracking-el":l,"data-tracking-label":n,...x,children:s.jsx("div",{className:"mx-auto flex h-full w-full","data-slot":"global-container",style:{maxWidth:h},children:r})})});u.displayName="GlobalLayout";const L="256px",b=c.forwardRef(({className:a,width:t=L,dataHook:e,children:o,...l},n)=>{const r=typeof t=="number"?`${t}px`:t;return s.jsx("aside",{ref:n,className:d.cn("focus-visible:shadow-default hidden h-full shrink-0 overflow-y-auto outline-none lg:block",a),"data-hook":e,"data-slot":"sidebar-container",style:{width:r},tabIndex:0,...l,children:o})});b.displayName="GlobalLayoutSidebar";const k={lg:"var(--ds-breakpoint-lg)",md:"var(--ds-breakpoint-md)",sm:"var(--ds-breakpoint-sm)"},f=c.forwardRef(({className:a,variant:t="lg",padding:e,dataHook:o,children:l,...n},r)=>s.jsx("div",{ref:r,className:d.cn("focus-visible:shadow-default flex h-full min-h-0 min-w-0 flex-1 overflow-y-auto outline-none",a),"data-hook":o,"data-slot":"content-wrapper",tabIndex:0,...n,children:s.jsx("div",{className:"pr-section-sm mx-auto w-full","data-slot":"content-container",style:{maxWidth:k[t],padding:e},children:l})}));f.displayName="GlobalLayoutContent";const y=c.forwardRef(({className:a,dataHook:t,trackingEl:e,trackingLabel:o,children:l,...n},r)=>s.jsx(i.Header,{ref:r,className:d.cn("px-content justify-between gap-6 pb-9",a),"data-slot":"content-header",dataHook:t,trackingEl:e,trackingLabel:o,...n,children:l}));y.displayName="GlobalLayoutContentHeader";const p=c.forwardRef(({className:a,dataHook:t,trackingEl:e,trackingLabel:o,children:l,...n},r)=>s.jsx("div",{ref:r,className:d.cn("px-content flex flex-col gap-6",a),"data-hook":t,"data-slot":"content-body","data-tracking-el":e,"data-tracking-label":o,...n,children:l}));p.displayName="GlobalLayoutContentBody";const m=c.forwardRef(({className:a,dataHook:t,trackingEl:e,trackingLabel:o,children:l,...n},r)=>s.jsx(i.Header,{ref:r,className:d.cn("gap-2.5 px-2.5 py-2 lg:hidden",a),"data-slot":"mobile-header",dataHook:t,trackingEl:e,trackingLabel:o,...n,children:l}));m.displayName="GlobalLayoutMobileHeader";exports.GlobalLayout=u;exports.GlobalLayoutContent=f;exports.GlobalLayoutContentBody=p;exports.GlobalLayoutContentHeader=y;exports.GlobalLayoutMobileHeader=m;exports.GlobalLayoutSidebar=b;
|
package/dist/global-layout.d.ts
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* - Mobile (< 768px): Full width content, no sidebar
|
|
8
|
-
* - Tablet (768px - 1023px): Full width content, no sidebar
|
|
9
|
-
* - Desktop (≥ 1024px): Sidebar + content with max-width container
|
|
10
|
-
*
|
|
11
|
-
* @see https://ui.shadcn.com/docs/components/sidebar for sidebar patterns
|
|
3
|
+
* Container width variants for GlobalLayout, matching Figma GlobalContainer `width` property.
|
|
4
|
+
* - "xl": 1280px max-width
|
|
5
|
+
* - "lg": 1024px max-width
|
|
6
|
+
* - "sm": 640px max-width
|
|
12
7
|
*/
|
|
8
|
+
type ContainerVariant = "xl" | "lg" | "sm";
|
|
13
9
|
interface GlobalLayoutProps extends React.ComponentProps<"div"> {
|
|
14
10
|
/**
|
|
15
11
|
* Data hook for automated testing (required)
|
|
@@ -24,7 +20,12 @@ interface GlobalLayoutProps extends React.ComponentProps<"div"> {
|
|
|
24
20
|
*/
|
|
25
21
|
trackingLabel?: string;
|
|
26
22
|
/**
|
|
27
|
-
*
|
|
23
|
+
* Container max-width variant, matching Figma GlobalContainer `width` property.
|
|
24
|
+
* @default "xl"
|
|
25
|
+
*/
|
|
26
|
+
variant?: ContainerVariant;
|
|
27
|
+
/**
|
|
28
|
+
* Custom maximum width for the global container. Overrides `variant` when set.
|
|
28
29
|
*/
|
|
29
30
|
maxWidth?: string | number;
|
|
30
31
|
}
|
|
@@ -41,22 +42,20 @@ interface GlobalLayoutSidebarProps extends React.ComponentProps<"aside"> {
|
|
|
41
42
|
}
|
|
42
43
|
declare const GlobalLayoutSidebar: React.ForwardRefExoticComponent<Omit<GlobalLayoutSidebarProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
43
44
|
/**
|
|
44
|
-
* Content width variants for GlobalLayoutContent
|
|
45
|
-
* - "
|
|
46
|
-
* - "md":
|
|
47
|
-
* - "sm":
|
|
45
|
+
* Content width variants for GlobalLayoutContent, matching Figma Content `width` property.
|
|
46
|
+
* - "lg": 1024px max-width
|
|
47
|
+
* - "md": 768px max-width
|
|
48
|
+
* - "sm": 640px max-width
|
|
48
49
|
*/
|
|
49
|
-
type ContentVariant = "
|
|
50
|
+
type ContentVariant = "lg" | "md" | "sm";
|
|
50
51
|
interface GlobalLayoutContentProps extends React.ComponentProps<"div"> {
|
|
51
52
|
/**
|
|
52
53
|
* Data hook for automated testing
|
|
53
54
|
*/
|
|
54
55
|
dataHook?: string;
|
|
55
56
|
/**
|
|
56
|
-
* Content width variant
|
|
57
|
-
*
|
|
58
|
-
* - "md": 768px max-width (medium)
|
|
59
|
-
* - "sm": 374px max-width (small)
|
|
57
|
+
* Content max-width variant, matching Figma Content `width` property.
|
|
58
|
+
* @default "lg"
|
|
60
59
|
*/
|
|
61
60
|
variant?: ContentVariant;
|
|
62
61
|
/**
|
|
@@ -65,6 +64,51 @@ interface GlobalLayoutContentProps extends React.ComponentProps<"div"> {
|
|
|
65
64
|
padding?: string;
|
|
66
65
|
}
|
|
67
66
|
declare const GlobalLayoutContent: React.ForwardRefExoticComponent<Omit<GlobalLayoutContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
interface GlobalLayoutContentHeaderProps extends React.ComponentProps<"header"> {
|
|
68
|
+
/**
|
|
69
|
+
* Data hook for automated testing (required)
|
|
70
|
+
*/
|
|
71
|
+
dataHook: string;
|
|
72
|
+
/**
|
|
73
|
+
* Tracking element identifier for analytics
|
|
74
|
+
*/
|
|
75
|
+
trackingEl?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Tracking label for analytics context
|
|
78
|
+
*/
|
|
79
|
+
trackingLabel?: string;
|
|
80
|
+
}
|
|
81
|
+
declare const GlobalLayoutContentHeader: React.ForwardRefExoticComponent<Omit<GlobalLayoutContentHeaderProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
82
|
+
interface GlobalLayoutContentBodyProps extends React.ComponentProps<"div"> {
|
|
83
|
+
/**
|
|
84
|
+
* Data hook for automated testing
|
|
85
|
+
*/
|
|
86
|
+
dataHook?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Tracking element identifier for analytics
|
|
89
|
+
*/
|
|
90
|
+
trackingEl?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Tracking label for analytics context
|
|
93
|
+
*/
|
|
94
|
+
trackingLabel?: string;
|
|
95
|
+
}
|
|
96
|
+
declare const GlobalLayoutContentBody: React.ForwardRefExoticComponent<Omit<GlobalLayoutContentBodyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
97
|
+
interface GlobalLayoutMobileHeaderProps extends React.ComponentProps<"header"> {
|
|
98
|
+
/**
|
|
99
|
+
* Data hook for automated testing (required)
|
|
100
|
+
*/
|
|
101
|
+
dataHook: string;
|
|
102
|
+
/**
|
|
103
|
+
* Tracking element identifier for analytics
|
|
104
|
+
*/
|
|
105
|
+
trackingEl?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Tracking label for analytics context
|
|
108
|
+
*/
|
|
109
|
+
trackingLabel?: string;
|
|
110
|
+
}
|
|
111
|
+
declare const GlobalLayoutMobileHeader: React.ForwardRefExoticComponent<Omit<GlobalLayoutMobileHeaderProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
112
|
+
export { GlobalLayout, GlobalLayoutSidebar, GlobalLayoutContent, GlobalLayoutContentHeader, GlobalLayoutContentBody, GlobalLayoutMobileHeader, };
|
|
113
|
+
export type { ContainerVariant, ContentVariant, GlobalLayoutProps, GlobalLayoutSidebarProps, GlobalLayoutContentProps, GlobalLayoutContentHeaderProps, GlobalLayoutContentBodyProps, GlobalLayoutMobileHeaderProps, };
|
|
70
114
|
//# sourceMappingURL=global-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-layout.d.ts","sourceRoot":"","sources":["../../src/components/global-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"global-layout.d.ts","sourceRoot":"","sources":["../../src/components/global-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;GAKG;AACH,KAAK,gBAAgB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAQ3C,UAAU,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;IAC7D;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAED,QAAA,MAAM,YAAY,uGA4CjB,CAAC;AAOF,UAAU,wBAAyB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC;IACtE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAED,QAAA,MAAM,mBAAmB,2GAsBvB,CAAC;AAIH;;;;;GAKG;AACH,KAAK,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAQzC,UAAU,wBAAyB,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;IACpE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,mBAAmB,8GAiCxB,CAAC;AAIF,UAAU,8BAA+B,SAAQ,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC;IAC7E;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,QAAA,MAAM,yBAAyB,iHAsB9B,CAAC;AAIF,UAAU,4BAA6B,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;IACxE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,QAAA,MAAM,uBAAuB,kHAsB5B,CAAC;AAIF,UAAU,6BAA8B,SAAQ,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC;IAC5E;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,QAAA,MAAM,wBAAwB,gHAsB7B,CAAC;AAIF,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,GACzB,CAAC;AAEF,YAAY,EACV,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,wBAAwB,EACxB,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,6BAA6B,GAC9B,CAAC"}
|
package/dist/global-layout.js
CHANGED
|
@@ -1,37 +1,43 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { cn as
|
|
4
|
-
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import * as s from "react";
|
|
3
|
+
import { cn as i } from "@brightlocal/ui-components/lib/utils";
|
|
4
|
+
import { Header as c } from "./header.js";
|
|
5
|
+
const m = {
|
|
6
|
+
xl: "var(--ds-breakpoint-xl)",
|
|
7
|
+
lg: "var(--ds-breakpoint-lg)",
|
|
8
|
+
sm: "var(--ds-breakpoint-sm)"
|
|
9
|
+
}, p = s.forwardRef(
|
|
5
10
|
({
|
|
6
11
|
className: t,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
variant: o = "xl",
|
|
13
|
+
maxWidth: a,
|
|
14
|
+
dataHook: e,
|
|
15
|
+
trackingEl: l,
|
|
16
|
+
trackingLabel: n,
|
|
17
|
+
children: r,
|
|
18
|
+
...f
|
|
19
|
+
}, u) => {
|
|
20
|
+
const b = a != null ? typeof a == "number" ? `${a}px` : a : m[o];
|
|
21
|
+
return /* @__PURE__ */ d(
|
|
16
22
|
"div",
|
|
17
23
|
{
|
|
18
|
-
ref:
|
|
19
|
-
className:
|
|
20
|
-
"flex
|
|
24
|
+
ref: u,
|
|
25
|
+
className: i(
|
|
26
|
+
"py-section-sm pl-section-sm flex h-dvh w-full flex-col overflow-hidden",
|
|
21
27
|
t
|
|
22
28
|
),
|
|
23
|
-
"data-hook":
|
|
29
|
+
"data-hook": e,
|
|
24
30
|
"data-slot": "global-layout",
|
|
25
|
-
"data-tracking-el":
|
|
26
|
-
"data-tracking-label":
|
|
27
|
-
...
|
|
28
|
-
children: /* @__PURE__ */
|
|
31
|
+
"data-tracking-el": l,
|
|
32
|
+
"data-tracking-label": n,
|
|
33
|
+
...f,
|
|
34
|
+
children: /* @__PURE__ */ d(
|
|
29
35
|
"div",
|
|
30
36
|
{
|
|
31
|
-
className: "mx-auto flex
|
|
37
|
+
className: "mx-auto flex h-full w-full",
|
|
32
38
|
"data-slot": "global-container",
|
|
33
|
-
style: { maxWidth:
|
|
34
|
-
children:
|
|
39
|
+
style: { maxWidth: b },
|
|
40
|
+
children: r
|
|
35
41
|
}
|
|
36
42
|
)
|
|
37
43
|
}
|
|
@@ -39,56 +45,112 @@ const f = "1280px", p = i.forwardRef(
|
|
|
39
45
|
}
|
|
40
46
|
);
|
|
41
47
|
p.displayName = "GlobalLayout";
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
return /* @__PURE__ */
|
|
48
|
+
const y = "256px", x = s.forwardRef(({ className: t, width: o = y, dataHook: a, children: e, ...l }, n) => {
|
|
49
|
+
const r = typeof o == "number" ? `${o}px` : o;
|
|
50
|
+
return /* @__PURE__ */ d(
|
|
45
51
|
"aside",
|
|
46
52
|
{
|
|
47
53
|
ref: n,
|
|
48
|
-
className:
|
|
49
|
-
|
|
54
|
+
className: i(
|
|
55
|
+
"focus-visible:shadow-default hidden h-full shrink-0 overflow-y-auto outline-none lg:block",
|
|
56
|
+
t
|
|
57
|
+
),
|
|
58
|
+
"data-hook": a,
|
|
50
59
|
"data-slot": "sidebar-container",
|
|
51
|
-
style: { width:
|
|
52
|
-
|
|
53
|
-
|
|
60
|
+
style: { width: r },
|
|
61
|
+
tabIndex: 0,
|
|
62
|
+
...l,
|
|
63
|
+
children: e
|
|
54
64
|
}
|
|
55
65
|
);
|
|
56
66
|
});
|
|
57
|
-
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
67
|
+
x.displayName = "GlobalLayoutSidebar";
|
|
68
|
+
const h = {
|
|
69
|
+
lg: "var(--ds-breakpoint-lg)",
|
|
70
|
+
md: "var(--ds-breakpoint-md)",
|
|
71
|
+
sm: "var(--ds-breakpoint-sm)"
|
|
72
|
+
}, v = s.forwardRef(
|
|
73
|
+
({ className: t, variant: o = "lg", padding: a, dataHook: e, children: l, ...n }, r) => /* @__PURE__ */ d(
|
|
74
|
+
"div",
|
|
75
|
+
{
|
|
76
|
+
ref: r,
|
|
77
|
+
className: i(
|
|
78
|
+
"focus-visible:shadow-default flex h-full min-h-0 min-w-0 flex-1 overflow-y-auto outline-none",
|
|
79
|
+
t
|
|
80
|
+
),
|
|
81
|
+
"data-hook": e,
|
|
82
|
+
"data-slot": "content-wrapper",
|
|
83
|
+
tabIndex: 0,
|
|
84
|
+
...n,
|
|
85
|
+
children: /* @__PURE__ */ d(
|
|
86
|
+
"div",
|
|
87
|
+
{
|
|
88
|
+
className: "pr-section-sm mx-auto w-full",
|
|
89
|
+
"data-slot": "content-container",
|
|
90
|
+
style: {
|
|
91
|
+
maxWidth: h[o],
|
|
92
|
+
padding: a
|
|
93
|
+
},
|
|
94
|
+
children: l
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
}
|
|
98
|
+
)
|
|
99
|
+
);
|
|
100
|
+
v.displayName = "GlobalLayoutContent";
|
|
101
|
+
const w = s.forwardRef(
|
|
102
|
+
({ className: t, dataHook: o, trackingEl: a, trackingLabel: e, children: l, ...n }, r) => /* @__PURE__ */ d(
|
|
103
|
+
c,
|
|
104
|
+
{
|
|
105
|
+
ref: r,
|
|
106
|
+
className: i("px-content justify-between gap-6 pb-9", t),
|
|
107
|
+
"data-slot": "content-header",
|
|
108
|
+
dataHook: o,
|
|
109
|
+
trackingEl: a,
|
|
110
|
+
trackingLabel: e,
|
|
111
|
+
...n,
|
|
112
|
+
children: l
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
);
|
|
116
|
+
w.displayName = "GlobalLayoutContentHeader";
|
|
117
|
+
const g = s.forwardRef(
|
|
118
|
+
({ className: t, dataHook: o, trackingEl: a, trackingLabel: e, children: l, ...n }, r) => /* @__PURE__ */ d(
|
|
119
|
+
"div",
|
|
120
|
+
{
|
|
121
|
+
ref: r,
|
|
122
|
+
className: i("px-content flex flex-col gap-6", t),
|
|
123
|
+
"data-hook": o,
|
|
124
|
+
"data-slot": "content-body",
|
|
125
|
+
"data-tracking-el": a,
|
|
126
|
+
"data-tracking-label": e,
|
|
127
|
+
...n,
|
|
128
|
+
children: l
|
|
129
|
+
}
|
|
130
|
+
)
|
|
131
|
+
);
|
|
132
|
+
g.displayName = "GlobalLayoutContentBody";
|
|
133
|
+
const k = s.forwardRef(
|
|
134
|
+
({ className: t, dataHook: o, trackingEl: a, trackingLabel: e, children: l, ...n }, r) => /* @__PURE__ */ d(
|
|
135
|
+
c,
|
|
136
|
+
{
|
|
137
|
+
ref: r,
|
|
138
|
+
className: i("gap-2.5 px-2.5 py-2 lg:hidden", t),
|
|
139
|
+
"data-slot": "mobile-header",
|
|
140
|
+
dataHook: o,
|
|
141
|
+
trackingEl: a,
|
|
142
|
+
trackingLabel: e,
|
|
143
|
+
...n,
|
|
144
|
+
children: l
|
|
145
|
+
}
|
|
146
|
+
)
|
|
88
147
|
);
|
|
89
|
-
|
|
148
|
+
k.displayName = "GlobalLayoutMobileHeader";
|
|
90
149
|
export {
|
|
91
150
|
p as GlobalLayout,
|
|
92
|
-
|
|
93
|
-
|
|
151
|
+
v as GlobalLayoutContent,
|
|
152
|
+
g as GlobalLayoutContentBody,
|
|
153
|
+
w as GlobalLayoutContentHeader,
|
|
154
|
+
k as GlobalLayoutMobileHeader,
|
|
155
|
+
x as GlobalLayoutSidebar
|
|
94
156
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const c=a(u),s=640;function i(){if(typeof document>"u")return s;const e=getComputedStyle(document.documentElement).getPropertyValue("--ds-breakpoint-sm").trim(),t=parseInt(e,10);return Number.isNaN(t)?s:t}function d(){return typeof window<"u"&&window.innerWidth<i()}function l(){const[e,t]=c.useState(void 0);return c.useEffect(()=>{const n=i(),o=window.matchMedia(`(max-width: ${n-1}px)`),r=()=>{t(window.innerWidth<n)};return o.addEventListener("change",r),t(window.innerWidth<n),()=>o.removeEventListener("change",r)},[]),!!e}exports.getMobileBreakpoint=i;exports.isMobileViewport=d;exports.useIsMobile=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-mobile.d.ts","sourceRoot":"","sources":["../../src/hooks/use-mobile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-mobile.d.ts","sourceRoot":"","sources":["../../src/hooks/use-mobile.ts"],"names":[],"mappings":"AAKA,wBAAgB,mBAAmB,IAAI,MAAM,CAS5C;AAED,wBAAgB,gBAAgB,IAAI,OAAO,CAI1C;AAED,wBAAgB,WAAW,YAiB1B"}
|
package/dist/hooks/use-mobile.js
CHANGED
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
|
-
const
|
|
3
|
-
function
|
|
4
|
-
if (typeof document > "u") return
|
|
5
|
-
const
|
|
6
|
-
return Number.isNaN(e) ?
|
|
2
|
+
const d = 640;
|
|
3
|
+
function s() {
|
|
4
|
+
if (typeof document > "u") return d;
|
|
5
|
+
const n = getComputedStyle(document.documentElement).getPropertyValue("--ds-breakpoint-sm").trim(), e = parseInt(n, 10);
|
|
6
|
+
return Number.isNaN(e) ? d : e;
|
|
7
|
+
}
|
|
8
|
+
function u() {
|
|
9
|
+
return typeof window < "u" && window.innerWidth < s();
|
|
7
10
|
}
|
|
8
|
-
function
|
|
9
|
-
const [
|
|
11
|
+
function a() {
|
|
12
|
+
const [n, e] = r.useState(
|
|
10
13
|
void 0
|
|
11
14
|
);
|
|
12
15
|
return r.useEffect(() => {
|
|
13
|
-
const
|
|
14
|
-
e(window.innerWidth <
|
|
16
|
+
const t = s(), o = window.matchMedia(`(max-width: ${t - 1}px)`), i = () => {
|
|
17
|
+
e(window.innerWidth < t);
|
|
15
18
|
};
|
|
16
|
-
return o.addEventListener("change", i), e(window.innerWidth <
|
|
17
|
-
}, []), !!
|
|
19
|
+
return o.addEventListener("change", i), e(window.innerWidth < t), () => o.removeEventListener("change", i);
|
|
20
|
+
}, []), !!n;
|
|
18
21
|
}
|
|
19
22
|
export {
|
|
20
|
-
|
|
23
|
+
s as getMobileBreakpoint,
|
|
24
|
+
u as isMobileViewport,
|
|
25
|
+
a as useIsMobile
|
|
21
26
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./accordion.cjs"),C=require("./alert.cjs"),l=require("./alert-dialog.cjs"),te=require("./aspect-ratio.cjs"),H=require("./avatar.cjs"),re=require("./badge.cjs"),I=require("./breadcrumb.cjs"),_=require("./button.cjs"),z=require("./calendar.cjs"),O=require("./callout.cjs"),M=require("./card.cjs"),h=require("./carousel.cjs"),y=require("./chart.cjs"),V=require("./centred-layout.cjs"),oe=require("./checkbox.cjs"),W=require("./chip.cjs"),k=require("./collapsible.cjs"),i=require("./combobox.cjs"),S=require("./command.cjs"),L=require("./date-picker.cjs"),o=require("./context-menu.cjs"),ae=require("./description.cjs"),b=require("./dialog.cjs"),p=require("./drawer.cjs"),r=require("./dropdown-menu.cjs"),d=require("./field.cjs"),E=require("./global-layout.cjs"),ne=require("./header.cjs"),F=require("./hover-card.cjs"),X=require("./input.cjs"),A=require("./input-chip.cjs"),x=require("./input-group.cjs"),T=require("./input-otp.cjs"),Y=require("./label.cjs"),ie=require("./link.cjs"),m=require("./list.cjs"),ue=require("./logo.cjs"),a=require("./menubar.cjs"),D=require("./navigation-menu.cjs"),c=require("./pagination.cjs"),R=require("./input-password.cjs"),v=require("./popover.cjs"),le=require("./progress.cjs"),U=require("./radio-group.cjs"),pe=require("./rating.cjs"),j=require("./resizable.cjs"),$=require("./scroll-area.cjs"),s=require("./select.cjs"),J=require("./separator.cjs"),g=require("./sheet.cjs"),be=require("./skeleton.cjs"),de=require("./slider.cjs"),K=require("./sonner.cjs"),w=require("./split-layout.cjs"),se=require("./switch.cjs"),P=require("./table.cjs"),B=require("./tabs.cjs"),ge=require("./text-reveal-motion.cjs"),ce=require("./textarea.cjs"),Q=require("./toggle.cjs"),Z=require("./toggle-group.cjs"),f=require("./tooltip.cjs"),n=require("./typography.cjs"),u=require("./blocks/data-table.cjs"),G=require("./blocks/input-list.cjs"),e=require("./blocks/sidebar.cjs"),Ce=require("./hooks/use-debounce.cjs"),Se=require("./hooks/use-mobile.cjs"),Te=require("./hooks/use-prefers-reduced-motion.cjs"),me=require("./lib/utils.cjs"),t=require("recharts"),N=require("input-otp"),ee=require("@tanstack/react-table");exports.Accordion=q.Accordion;exports.AccordionContent=q.AccordionContent;exports.AccordionItem=q.AccordionItem;exports.AccordionTrigger=q.AccordionTrigger;exports.Alert=C.Alert;exports.AlertDescription=C.AlertDescription;exports.AlertDestructive=C.AlertDestructive;exports.AlertInfo=C.AlertInfo;exports.AlertSuccess=C.AlertSuccess;exports.AlertTitle=C.AlertTitle;exports.AlertWarning=C.AlertWarning;exports.alertVariants=C.alertVariants;exports.AlertDialog=l.AlertDialog;exports.AlertDialogAction=l.AlertDialogAction;exports.AlertDialogCancel=l.AlertDialogCancel;exports.AlertDialogContent=l.AlertDialogContent;exports.AlertDialogDescription=l.AlertDialogDescription;exports.AlertDialogFooter=l.AlertDialogFooter;exports.AlertDialogHeader=l.AlertDialogHeader;exports.AlertDialogOverlay=l.AlertDialogOverlay;exports.AlertDialogPortal=l.AlertDialogPortal;exports.AlertDialogTitle=l.AlertDialogTitle;exports.AlertDialogTrigger=l.AlertDialogTrigger;exports.AspectRatio=te.AspectRatio;exports.Avatar=H.Avatar;exports.AvatarFallback=H.AvatarFallback;exports.AvatarImage=H.AvatarImage;exports.Badge=re.Badge;exports.Breadcrumb=I.Breadcrumb;exports.BreadcrumbEllipsis=I.BreadcrumbEllipsis;exports.BreadcrumbItem=I.BreadcrumbItem;exports.BreadcrumbLink=I.BreadcrumbLink;exports.BreadcrumbList=I.BreadcrumbList;exports.BreadcrumbPage=I.BreadcrumbPage;exports.BreadcrumbSeparator=I.BreadcrumbSeparator;exports.Button=_.Button;exports.ButtonVariants=_.ButtonVariants;exports.Calendar=z.Calendar;exports.CalendarDayButton=z.CalendarDayButton;exports.Callout=O.Callout;exports.CalloutCitation=O.CalloutCitation;exports.CalloutHeading=O.CalloutHeading;exports.calloutVariants=O.calloutVariants;exports.Card=M.Card;exports.CardAction=M.CardAction;exports.CardContent=M.CardContent;exports.CardDescription=M.CardDescription;exports.CardFooter=M.CardFooter;exports.CardHeader=M.CardHeader;exports.CardTitle=M.CardTitle;exports.Carousel=h.Carousel;exports.CarouselContent=h.CarouselContent;exports.CarouselDots=h.CarouselDots;exports.CarouselItem=h.CarouselItem;exports.CarouselNext=h.CarouselNext;exports.CarouselPrevious=h.CarouselPrevious;exports.ChartContainer=y.ChartContainer;exports.ChartLegend=y.ChartLegend;exports.ChartLegendContent=y.ChartLegendContent;exports.ChartStyle=y.ChartStyle;exports.ChartTooltip=y.ChartTooltip;exports.ChartTooltipContent=y.ChartTooltipContent;exports.CentredLayout=V.CentredLayout;exports.CentredLayoutContent=V.CentredLayoutContent;exports.CentredLayoutHeader=V.CentredLayoutHeader;exports.Checkbox=oe.Checkbox;exports.Chip=W.Chip;exports.chipVariants=W.chipVariants;exports.Collapsible=k.Collapsible;exports.CollapsibleContent=k.CollapsibleContent;exports.CollapsibleTrigger=k.CollapsibleTrigger;exports.Combobox=i.Combobox;exports.ComboboxContent=i.ComboboxContent;exports.ComboboxEmpty=i.ComboboxEmpty;exports.ComboboxGroup=i.ComboboxGroup;exports.ComboboxInput=i.ComboboxInput;exports.ComboboxItem=i.ComboboxItem;exports.ComboboxList=i.ComboboxList;exports.ComboboxLoading=i.ComboboxLoading;exports.ComboboxSeparator=i.ComboboxSeparator;exports.ComboboxTrigger=i.ComboboxTrigger;exports.ComboboxValue=i.ComboboxValue;exports.ComboboxVirtualList=i.ComboboxVirtualList;exports.Command=S.Command;exports.CommandEmpty=S.CommandEmpty;exports.CommandGroup=S.CommandGroup;exports.CommandInput=S.CommandInput;exports.CommandItem=S.CommandItem;exports.CommandList=S.CommandList;exports.CommandSeparator=S.CommandSeparator;exports.CommandShortcut=S.CommandShortcut;exports.DEFAULT_DATE_PRESETS=L.DEFAULT_DATE_PRESETS;exports.DatePickerCalendar=L.DatePickerCalendar;exports.DatePickerContent=L.DatePickerContent;exports.DatePickerPresets=L.DatePickerPresets;exports.DatePickerRoot=L.DatePickerRoot;exports.DatePickerTrigger=L.DatePickerTrigger;exports.ContextMenu=o.ContextMenu;exports.ContextMenuCheckboxItem=o.ContextMenuCheckboxItem;exports.ContextMenuContent=o.ContextMenuContent;exports.ContextMenuGroup=o.ContextMenuGroup;exports.ContextMenuItem=o.ContextMenuItem;exports.ContextMenuLabel=o.ContextMenuLabel;exports.ContextMenuPortal=o.ContextMenuPortal;exports.ContextMenuRadioGroup=o.ContextMenuRadioGroup;exports.ContextMenuRadioItem=o.ContextMenuRadioItem;exports.ContextMenuSeparator=o.ContextMenuSeparator;exports.ContextMenuShortcut=o.ContextMenuShortcut;exports.ContextMenuSub=o.ContextMenuSub;exports.ContextMenuSubContent=o.ContextMenuSubContent;exports.ContextMenuSubTrigger=o.ContextMenuSubTrigger;exports.ContextMenuTrigger=o.ContextMenuTrigger;exports.Description=ae.Description;exports.Dialog=b.Dialog;exports.DialogClose=b.DialogClose;exports.DialogContent=b.DialogContent;exports.DialogDescription=b.DialogDescription;exports.DialogFooter=b.DialogFooter;exports.DialogHeader=b.DialogHeader;exports.DialogOverlay=b.DialogOverlay;exports.DialogPortal=b.DialogPortal;exports.DialogTitle=b.DialogTitle;exports.DialogTrigger=b.DialogTrigger;exports.Drawer=p.Drawer;exports.DrawerBody=p.DrawerBody;exports.DrawerClose=p.DrawerClose;exports.DrawerContent=p.DrawerContent;exports.DrawerDescription=p.DrawerDescription;exports.DrawerFooter=p.DrawerFooter;exports.DrawerHeader=p.DrawerHeader;exports.DrawerOverlay=p.DrawerOverlay;exports.DrawerPortal=p.DrawerPortal;exports.DrawerTitle=p.DrawerTitle;exports.DrawerTrigger=p.DrawerTrigger;exports.DropdownMenu=r.DropdownMenu;exports.DropdownMenuCheckboxItem=r.DropdownMenuCheckboxItem;exports.DropdownMenuContent=r.DropdownMenuContent;exports.DropdownMenuGroup=r.DropdownMenuGroup;exports.DropdownMenuItem=r.DropdownMenuItem;exports.DropdownMenuLabel=r.DropdownMenuLabel;exports.DropdownMenuPortal=r.DropdownMenuPortal;exports.DropdownMenuRadioGroup=r.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=r.DropdownMenuRadioItem;exports.DropdownMenuSeparator=r.DropdownMenuSeparator;exports.DropdownMenuShortcut=r.DropdownMenuShortcut;exports.DropdownMenuSub=r.DropdownMenuSub;exports.DropdownMenuSubContent=r.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=r.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=r.DropdownMenuTrigger;exports.DropdownMenuTriggerAvatar=r.DropdownMenuTriggerAvatar;exports.Field=d.Field;exports.FieldContent=d.FieldContent;exports.FieldDescription=d.FieldDescription;exports.FieldError=d.FieldError;exports.FieldErrorIcon=d.FieldErrorIcon;exports.FieldGroup=d.FieldGroup;exports.FieldLabel=d.FieldLabel;exports.FieldLegend=d.FieldLegend;exports.FieldSet=d.FieldSet;exports.fieldLegendVariants=d.fieldLegendVariants;exports.GlobalLayout=E.GlobalLayout;exports.GlobalLayoutContent=E.GlobalLayoutContent;exports.GlobalLayoutSidebar=E.GlobalLayoutSidebar;exports.Header=ne.Header;exports.HoverCard=F.HoverCard;exports.HoverCardContent=F.HoverCardContent;exports.HoverCardTrigger=F.HoverCardTrigger;exports.Input=X.Input;exports.inputVariants=X.inputVariants;exports.InputChip=A.InputChip;exports.InputChipInput=A.InputChipInput;exports.InputChipItems=A.InputChipItems;exports.inputChipInputVariants=A.inputChipInputVariants;exports.inputChipVariants=A.inputChipVariants;exports.useInputChipContext=A.useInputChipContext;exports.InputGroup=x.InputGroup;exports.InputGroupAddon=x.InputGroupAddon;exports.InputGroupButton=x.InputGroupButton;exports.InputGroupInput=x.InputGroupInput;exports.inputGroupButtonVariants=x.inputGroupButtonVariants;exports.inputGroupVariants=x.inputGroupVariants;exports.InputOTP=T.InputOTP;exports.InputOTPDigitsOnly=T.InputOTPDigitsOnly;exports.InputOTPGroup=T.InputOTPGroup;exports.InputOTPSeparator=T.InputOTPSeparator;exports.InputOTPSimple=T.InputOTPSimple;exports.InputOTPSlot=T.InputOTPSlot;exports.InputOTPWithSeparator=T.InputOTPWithSeparator;exports.InputOTPWithSpacing=T.InputOTPWithSpacing;exports.Label=Y.Label;exports.labelVariants=Y.labelVariants;exports.Link=ie.Link;exports.Item=m.Item;exports.ItemActions=m.ItemActions;exports.ItemContent=m.ItemContent;exports.ItemDescription=m.ItemDescription;exports.ItemMedia=m.ItemMedia;exports.ItemTitle=m.ItemTitle;exports.List=m.List;exports.itemVariants=m.itemVariants;exports.Logo=ue.Logo;exports.Menubar=a.Menubar;exports.MenubarCheckboxItem=a.MenubarCheckboxItem;exports.MenubarContent=a.MenubarContent;exports.MenubarItem=a.MenubarItem;exports.MenubarLabel=a.MenubarLabel;exports.MenubarMenu=a.MenubarMenu;exports.MenubarRadioGroup=a.MenubarRadioGroup;exports.MenubarRadioItem=a.MenubarRadioItem;exports.MenubarSeparator=a.MenubarSeparator;exports.MenubarShortcut=a.MenubarShortcut;exports.MenubarSub=a.MenubarSub;exports.MenubarSubContent=a.MenubarSubContent;exports.MenubarSubTrigger=a.MenubarSubTrigger;exports.MenubarTrigger=a.MenubarTrigger;exports.NavigationMenu=D.NavigationMenu;exports.NavigationMenuContent=D.NavigationMenuContent;exports.NavigationMenuIndicator=D.NavigationMenuIndicator;exports.NavigationMenuItem=D.NavigationMenuItem;exports.NavigationMenuLink=D.NavigationMenuLink;exports.NavigationMenuList=D.NavigationMenuList;exports.NavigationMenuTrigger=D.NavigationMenuTrigger;exports.NavigationMenuViewport=D.NavigationMenuViewport;exports.Pagination=c.Pagination;exports.PaginationButton=c.PaginationButton;exports.PaginationContent=c.PaginationContent;exports.PaginationEllipsis=c.PaginationEllipsis;exports.PaginationItem=c.PaginationItem;exports.PaginationLink=c.PaginationLink;exports.PaginationNext=c.PaginationNext;exports.PaginationPrevious=c.PaginationPrevious;exports.usePagination=c.usePagination;exports.DEFAULT_STRENGTH_LEVELS=R.DEFAULT_STRENGTH_LEVELS;exports.InputPasswordField=R.InputPasswordField;exports.InputPasswordRoot=R.InputPasswordRoot;exports.InputPasswordStrength=R.InputPasswordStrength;exports.InputPasswordToggle=R.InputPasswordToggle;exports.calculatePasswordStrength=R.calculatePasswordStrength;exports.Popover=v.Popover;exports.PopoverAnchor=v.PopoverAnchor;exports.PopoverContent=v.PopoverContent;exports.PopoverTrigger=v.PopoverTrigger;exports.Progress=le.Progress;exports.RadioGroup=U.RadioGroup;exports.RadioGroupItem=U.RadioGroupItem;exports.Rating=pe.Rating;exports.ResizableHandle=j.ResizableHandle;exports.ResizablePanel=j.ResizablePanel;exports.ResizablePanelGroup=j.ResizablePanelGroup;exports.ScrollArea=$.ScrollArea;exports.ScrollBar=$.ScrollBar;exports.Select=s.Select;exports.SelectContent=s.SelectContent;exports.SelectGroup=s.SelectGroup;exports.SelectItem=s.SelectItem;exports.SelectLabel=s.SelectLabel;exports.SelectScrollDownButton=s.SelectScrollDownButton;exports.SelectScrollUpButton=s.SelectScrollUpButton;exports.SelectSeparator=s.SelectSeparator;exports.SelectTrigger=s.SelectTrigger;exports.SelectValue=s.SelectValue;exports.Separator=J.Separator;exports.SeparatorWithText=J.SeparatorWithText;exports.Sheet=g.Sheet;exports.SheetClose=g.SheetClose;exports.SheetContent=g.SheetContent;exports.SheetDescription=g.SheetDescription;exports.SheetFooter=g.SheetFooter;exports.SheetHeader=g.SheetHeader;exports.SheetOverlay=g.SheetOverlay;exports.SheetPortal=g.SheetPortal;exports.SheetTitle=g.SheetTitle;exports.SheetTrigger=g.SheetTrigger;exports.Skeleton=be.Skeleton;exports.Slider=de.Slider;exports.Sonner=K.Sonner;exports.sonner=K.sonner;exports.SplitLayout=w.SplitLayout;exports.SplitLayoutContentLeft=w.SplitLayoutContentLeft;exports.SplitLayoutContentRight=w.SplitLayoutContentRight;exports.SplitLayoutHeader=w.SplitLayoutHeader;exports.SplitLayoutImage=w.SplitLayoutImage;exports.Switch=se.Switch;exports.Table=P.Table;exports.TableBody=P.TableBody;exports.TableCaption=P.TableCaption;exports.TableCell=P.TableCell;exports.TableFooter=P.TableFooter;exports.TableHead=P.TableHead;exports.TableHeader=P.TableHeader;exports.TableRow=P.TableRow;exports.Tabs=B.Tabs;exports.TabsContent=B.TabsContent;exports.TabsList=B.TabsList;exports.TabsTrigger=B.TabsTrigger;exports.TextRevealMotion=ge.TextRevealMotion;exports.Textarea=ce.Textarea;exports.Toggle=Q.Toggle;exports.toggleVariants=Q.toggleVariants;exports.ToggleGroup=Z.ToggleGroup;exports.ToggleGroupItem=Z.ToggleGroupItem;exports.Tooltip=f.Tooltip;exports.TooltipContent=f.TooltipContent;exports.TooltipProvider=f.TooltipProvider;exports.TooltipTrigger=f.TooltipTrigger;exports.TypographyBlockquote=n.TypographyBlockquote;exports.TypographyCode=n.TypographyCode;exports.TypographyH1=n.TypographyH1;exports.TypographyH2=n.TypographyH2;exports.TypographyH3=n.TypographyH3;exports.TypographyH4=n.TypographyH4;exports.TypographyInlineCode=n.TypographyInlineCode;exports.TypographyLarge=n.TypographyLarge;exports.TypographyLead=n.TypographyLead;exports.TypographyList=n.TypographyList;exports.TypographyMuted=n.TypographyMuted;exports.TypographyP=n.TypographyP;exports.TypographySmall=n.TypographySmall;exports.blockquoteVariants=n.blockquoteVariants;exports.DataTable=u.DataTable;exports.DataTableColumnHeader=u.DataTableColumnHeader;exports.DataTablePagination=u.DataTablePagination;exports.DataTableRowActions=u.DataTableRowActions;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=G.InputList;exports.InputListAddButton=G.InputListAddButton;exports.InputListInput=G.InputListInput;exports.InputListItems=G.InputListItems;exports.useInputListContext=G.useInputListContext;exports.Sidebar=e.Sidebar;exports.SidebarCollapseIcon=e.SidebarCollapseIcon;exports.SidebarCollapseIconType=e.SidebarCollapseIconType;exports.SidebarCollapsible=e.SidebarCollapsible;exports.SidebarContent=e.SidebarContent;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.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.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.SidebarProvider=e.SidebarProvider;exports.SidebarRail=e.SidebarRail;exports.SidebarSeparator=e.SidebarSeparator;exports.SidebarSide=e.SidebarSide;exports.SidebarTrigger=e.SidebarTrigger;exports.SidebarVariant=e.SidebarVariant;exports.useSidebar=e.useSidebar;exports.useDebounce=Ce.useDebounce;exports.useIsMobile=Se.useIsMobile;exports.usePrefersReducedMotion=Te.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:()=>N.REGEXP_ONLY_CHARS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS",{enumerable:!0,get:()=>N.REGEXP_ONLY_DIGITS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS_AND_CHARS",{enumerable:!0,get:()=>N.REGEXP_ONLY_DIGITS_AND_CHARS});Object.defineProperty(exports,"createColumnHelper",{enumerable:!0,get:()=>ee.createColumnHelper});Object.defineProperty(exports,"flexRender",{enumerable:!0,get:()=>ee.flexRender});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./accordion.cjs"),C=require("./alert.cjs"),l=require("./alert-dialog.cjs"),re=require("./aspect-ratio.cjs"),V=require("./avatar.cjs"),oe=require("./badge.cjs"),P=require("./breadcrumb.cjs"),z=require("./button.cjs"),W=require("./calendar.cjs"),v=require("./callout.cjs"),I=require("./card.cjs"),y=require("./carousel.cjs"),h=require("./chart.cjs"),k=require("./centred-layout.cjs"),ae=require("./checkbox.cjs"),X=require("./chip.cjs"),E=require("./collapsible.cjs"),i=require("./combobox.cjs"),S=require("./command.cjs"),L=require("./date-picker.cjs"),o=require("./context-menu.cjs"),ne=require("./description.cjs"),p=require("./dialog.cjs"),b=require("./drawer.cjs"),r=require("./dropdown-menu.cjs"),d=require("./field.cjs"),A=require("./global-layout.cjs"),ie=require("./header.cjs"),F=require("./hover-card.cjs"),Y=require("./input.cjs"),x=require("./input-chip.cjs"),G=require("./input-group.cjs"),T=require("./input-otp.cjs"),U=require("./label.cjs"),ue=require("./link.cjs"),m=require("./list.cjs"),le=require("./logo.cjs"),a=require("./menubar.cjs"),D=require("./navigation-menu.cjs"),c=require("./pagination.cjs"),w=require("./input-password.cjs"),B=require("./popover.cjs"),be=require("./progress.cjs"),$=require("./radio-group.cjs"),pe=require("./rating.cjs"),j=require("./resizable.cjs"),J=require("./scroll-area.cjs"),s=require("./select.cjs"),K=require("./separator.cjs"),g=require("./sheet.cjs"),de=require("./skeleton.cjs"),se=require("./slider.cjs"),Q=require("./sonner.cjs"),R=require("./split-layout.cjs"),ge=require("./switch.cjs"),M=require("./table.cjs"),H=require("./tabs.cjs"),ce=require("./text-reveal-motion.cjs"),Ce=require("./textarea.cjs"),Z=require("./toggle.cjs"),ee=require("./toggle-group.cjs"),f=require("./tooltip.cjs"),n=require("./typography.cjs"),u=require("./blocks/data-table.cjs"),q=require("./blocks/input-list.cjs"),e=require("./blocks/sidebar.cjs"),Se=require("./hooks/use-debounce.cjs"),N=require("./hooks/use-mobile.cjs"),Te=require("./hooks/use-prefers-reduced-motion.cjs"),me=require("./lib/utils.cjs"),t=require("recharts"),_=require("input-otp"),te=require("@tanstack/react-table");exports.Accordion=O.Accordion;exports.AccordionContent=O.AccordionContent;exports.AccordionItem=O.AccordionItem;exports.AccordionTrigger=O.AccordionTrigger;exports.Alert=C.Alert;exports.AlertDescription=C.AlertDescription;exports.AlertDestructive=C.AlertDestructive;exports.AlertInfo=C.AlertInfo;exports.AlertSuccess=C.AlertSuccess;exports.AlertTitle=C.AlertTitle;exports.AlertWarning=C.AlertWarning;exports.alertVariants=C.alertVariants;exports.AlertDialog=l.AlertDialog;exports.AlertDialogAction=l.AlertDialogAction;exports.AlertDialogCancel=l.AlertDialogCancel;exports.AlertDialogContent=l.AlertDialogContent;exports.AlertDialogDescription=l.AlertDialogDescription;exports.AlertDialogFooter=l.AlertDialogFooter;exports.AlertDialogHeader=l.AlertDialogHeader;exports.AlertDialogOverlay=l.AlertDialogOverlay;exports.AlertDialogPortal=l.AlertDialogPortal;exports.AlertDialogTitle=l.AlertDialogTitle;exports.AlertDialogTrigger=l.AlertDialogTrigger;exports.AspectRatio=re.AspectRatio;exports.Avatar=V.Avatar;exports.AvatarFallback=V.AvatarFallback;exports.AvatarImage=V.AvatarImage;exports.Badge=oe.Badge;exports.Breadcrumb=P.Breadcrumb;exports.BreadcrumbEllipsis=P.BreadcrumbEllipsis;exports.BreadcrumbItem=P.BreadcrumbItem;exports.BreadcrumbLink=P.BreadcrumbLink;exports.BreadcrumbList=P.BreadcrumbList;exports.BreadcrumbPage=P.BreadcrumbPage;exports.BreadcrumbSeparator=P.BreadcrumbSeparator;exports.Button=z.Button;exports.ButtonVariants=z.ButtonVariants;exports.Calendar=W.Calendar;exports.CalendarDayButton=W.CalendarDayButton;exports.Callout=v.Callout;exports.CalloutCitation=v.CalloutCitation;exports.CalloutHeading=v.CalloutHeading;exports.calloutVariants=v.calloutVariants;exports.Card=I.Card;exports.CardAction=I.CardAction;exports.CardContent=I.CardContent;exports.CardDescription=I.CardDescription;exports.CardFooter=I.CardFooter;exports.CardHeader=I.CardHeader;exports.CardTitle=I.CardTitle;exports.Carousel=y.Carousel;exports.CarouselContent=y.CarouselContent;exports.CarouselDots=y.CarouselDots;exports.CarouselItem=y.CarouselItem;exports.CarouselNext=y.CarouselNext;exports.CarouselPrevious=y.CarouselPrevious;exports.ChartContainer=h.ChartContainer;exports.ChartLegend=h.ChartLegend;exports.ChartLegendContent=h.ChartLegendContent;exports.ChartStyle=h.ChartStyle;exports.ChartTooltip=h.ChartTooltip;exports.ChartTooltipContent=h.ChartTooltipContent;exports.CentredLayout=k.CentredLayout;exports.CentredLayoutContent=k.CentredLayoutContent;exports.CentredLayoutHeader=k.CentredLayoutHeader;exports.Checkbox=ae.Checkbox;exports.Chip=X.Chip;exports.chipVariants=X.chipVariants;exports.Collapsible=E.Collapsible;exports.CollapsibleContent=E.CollapsibleContent;exports.CollapsibleTrigger=E.CollapsibleTrigger;exports.Combobox=i.Combobox;exports.ComboboxContent=i.ComboboxContent;exports.ComboboxEmpty=i.ComboboxEmpty;exports.ComboboxGroup=i.ComboboxGroup;exports.ComboboxInput=i.ComboboxInput;exports.ComboboxItem=i.ComboboxItem;exports.ComboboxList=i.ComboboxList;exports.ComboboxLoading=i.ComboboxLoading;exports.ComboboxSeparator=i.ComboboxSeparator;exports.ComboboxTrigger=i.ComboboxTrigger;exports.ComboboxValue=i.ComboboxValue;exports.ComboboxVirtualList=i.ComboboxVirtualList;exports.Command=S.Command;exports.CommandEmpty=S.CommandEmpty;exports.CommandGroup=S.CommandGroup;exports.CommandInput=S.CommandInput;exports.CommandItem=S.CommandItem;exports.CommandList=S.CommandList;exports.CommandSeparator=S.CommandSeparator;exports.CommandShortcut=S.CommandShortcut;exports.DEFAULT_DATE_PRESETS=L.DEFAULT_DATE_PRESETS;exports.DatePickerCalendar=L.DatePickerCalendar;exports.DatePickerContent=L.DatePickerContent;exports.DatePickerPresets=L.DatePickerPresets;exports.DatePickerRoot=L.DatePickerRoot;exports.DatePickerTrigger=L.DatePickerTrigger;exports.ContextMenu=o.ContextMenu;exports.ContextMenuCheckboxItem=o.ContextMenuCheckboxItem;exports.ContextMenuContent=o.ContextMenuContent;exports.ContextMenuGroup=o.ContextMenuGroup;exports.ContextMenuItem=o.ContextMenuItem;exports.ContextMenuLabel=o.ContextMenuLabel;exports.ContextMenuPortal=o.ContextMenuPortal;exports.ContextMenuRadioGroup=o.ContextMenuRadioGroup;exports.ContextMenuRadioItem=o.ContextMenuRadioItem;exports.ContextMenuSeparator=o.ContextMenuSeparator;exports.ContextMenuShortcut=o.ContextMenuShortcut;exports.ContextMenuSub=o.ContextMenuSub;exports.ContextMenuSubContent=o.ContextMenuSubContent;exports.ContextMenuSubTrigger=o.ContextMenuSubTrigger;exports.ContextMenuTrigger=o.ContextMenuTrigger;exports.Description=ne.Description;exports.Dialog=p.Dialog;exports.DialogClose=p.DialogClose;exports.DialogContent=p.DialogContent;exports.DialogDescription=p.DialogDescription;exports.DialogFooter=p.DialogFooter;exports.DialogHeader=p.DialogHeader;exports.DialogOverlay=p.DialogOverlay;exports.DialogPortal=p.DialogPortal;exports.DialogTitle=p.DialogTitle;exports.DialogTrigger=p.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=r.DropdownMenu;exports.DropdownMenuCheckboxItem=r.DropdownMenuCheckboxItem;exports.DropdownMenuContent=r.DropdownMenuContent;exports.DropdownMenuGroup=r.DropdownMenuGroup;exports.DropdownMenuItem=r.DropdownMenuItem;exports.DropdownMenuLabel=r.DropdownMenuLabel;exports.DropdownMenuPortal=r.DropdownMenuPortal;exports.DropdownMenuRadioGroup=r.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=r.DropdownMenuRadioItem;exports.DropdownMenuSeparator=r.DropdownMenuSeparator;exports.DropdownMenuShortcut=r.DropdownMenuShortcut;exports.DropdownMenuSub=r.DropdownMenuSub;exports.DropdownMenuSubContent=r.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=r.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=r.DropdownMenuTrigger;exports.DropdownMenuTriggerAvatar=r.DropdownMenuTriggerAvatar;exports.Field=d.Field;exports.FieldContent=d.FieldContent;exports.FieldDescription=d.FieldDescription;exports.FieldError=d.FieldError;exports.FieldErrorIcon=d.FieldErrorIcon;exports.FieldGroup=d.FieldGroup;exports.FieldLabel=d.FieldLabel;exports.FieldLegend=d.FieldLegend;exports.FieldSet=d.FieldSet;exports.fieldLegendVariants=d.fieldLegendVariants;exports.GlobalLayout=A.GlobalLayout;exports.GlobalLayoutContent=A.GlobalLayoutContent;exports.GlobalLayoutContentBody=A.GlobalLayoutContentBody;exports.GlobalLayoutContentHeader=A.GlobalLayoutContentHeader;exports.GlobalLayoutMobileHeader=A.GlobalLayoutMobileHeader;exports.GlobalLayoutSidebar=A.GlobalLayoutSidebar;exports.Header=ie.Header;exports.HoverCard=F.HoverCard;exports.HoverCardContent=F.HoverCardContent;exports.HoverCardTrigger=F.HoverCardTrigger;exports.Input=Y.Input;exports.inputVariants=Y.inputVariants;exports.InputChip=x.InputChip;exports.InputChipInput=x.InputChipInput;exports.InputChipItems=x.InputChipItems;exports.inputChipInputVariants=x.inputChipInputVariants;exports.inputChipVariants=x.inputChipVariants;exports.useInputChipContext=x.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=T.InputOTP;exports.InputOTPDigitsOnly=T.InputOTPDigitsOnly;exports.InputOTPGroup=T.InputOTPGroup;exports.InputOTPSeparator=T.InputOTPSeparator;exports.InputOTPSimple=T.InputOTPSimple;exports.InputOTPSlot=T.InputOTPSlot;exports.InputOTPWithSeparator=T.InputOTPWithSeparator;exports.InputOTPWithSpacing=T.InputOTPWithSpacing;exports.Label=U.Label;exports.labelVariants=U.labelVariants;exports.Link=ue.Link;exports.Item=m.Item;exports.ItemActions=m.ItemActions;exports.ItemContent=m.ItemContent;exports.ItemDescription=m.ItemDescription;exports.ItemMedia=m.ItemMedia;exports.ItemTitle=m.ItemTitle;exports.List=m.List;exports.itemVariants=m.itemVariants;exports.Logo=le.Logo;exports.Menubar=a.Menubar;exports.MenubarCheckboxItem=a.MenubarCheckboxItem;exports.MenubarContent=a.MenubarContent;exports.MenubarItem=a.MenubarItem;exports.MenubarLabel=a.MenubarLabel;exports.MenubarMenu=a.MenubarMenu;exports.MenubarRadioGroup=a.MenubarRadioGroup;exports.MenubarRadioItem=a.MenubarRadioItem;exports.MenubarSeparator=a.MenubarSeparator;exports.MenubarShortcut=a.MenubarShortcut;exports.MenubarSub=a.MenubarSub;exports.MenubarSubContent=a.MenubarSubContent;exports.MenubarSubTrigger=a.MenubarSubTrigger;exports.MenubarTrigger=a.MenubarTrigger;exports.NavigationMenu=D.NavigationMenu;exports.NavigationMenuContent=D.NavigationMenuContent;exports.NavigationMenuIndicator=D.NavigationMenuIndicator;exports.NavigationMenuItem=D.NavigationMenuItem;exports.NavigationMenuLink=D.NavigationMenuLink;exports.NavigationMenuList=D.NavigationMenuList;exports.NavigationMenuTrigger=D.NavigationMenuTrigger;exports.NavigationMenuViewport=D.NavigationMenuViewport;exports.Pagination=c.Pagination;exports.PaginationButton=c.PaginationButton;exports.PaginationContent=c.PaginationContent;exports.PaginationEllipsis=c.PaginationEllipsis;exports.PaginationItem=c.PaginationItem;exports.PaginationLink=c.PaginationLink;exports.PaginationNext=c.PaginationNext;exports.PaginationPrevious=c.PaginationPrevious;exports.usePagination=c.usePagination;exports.DEFAULT_STRENGTH_LEVELS=w.DEFAULT_STRENGTH_LEVELS;exports.InputPasswordField=w.InputPasswordField;exports.InputPasswordRoot=w.InputPasswordRoot;exports.InputPasswordStrength=w.InputPasswordStrength;exports.InputPasswordToggle=w.InputPasswordToggle;exports.calculatePasswordStrength=w.calculatePasswordStrength;exports.Popover=B.Popover;exports.PopoverAnchor=B.PopoverAnchor;exports.PopoverContent=B.PopoverContent;exports.PopoverTrigger=B.PopoverTrigger;exports.Progress=be.Progress;exports.RadioGroup=$.RadioGroup;exports.RadioGroupItem=$.RadioGroupItem;exports.Rating=pe.Rating;exports.ResizableHandle=j.ResizableHandle;exports.ResizablePanel=j.ResizablePanel;exports.ResizablePanelGroup=j.ResizablePanelGroup;exports.ScrollArea=J.ScrollArea;exports.ScrollBar=J.ScrollBar;exports.Select=s.Select;exports.SelectContent=s.SelectContent;exports.SelectGroup=s.SelectGroup;exports.SelectItem=s.SelectItem;exports.SelectLabel=s.SelectLabel;exports.SelectScrollDownButton=s.SelectScrollDownButton;exports.SelectScrollUpButton=s.SelectScrollUpButton;exports.SelectSeparator=s.SelectSeparator;exports.SelectTrigger=s.SelectTrigger;exports.SelectValue=s.SelectValue;exports.Separator=K.Separator;exports.SeparatorWithText=K.SeparatorWithText;exports.Sheet=g.Sheet;exports.SheetClose=g.SheetClose;exports.SheetContent=g.SheetContent;exports.SheetDescription=g.SheetDescription;exports.SheetFooter=g.SheetFooter;exports.SheetHeader=g.SheetHeader;exports.SheetOverlay=g.SheetOverlay;exports.SheetPortal=g.SheetPortal;exports.SheetTitle=g.SheetTitle;exports.SheetTrigger=g.SheetTrigger;exports.Skeleton=de.Skeleton;exports.Slider=se.Slider;exports.Sonner=Q.Sonner;exports.sonner=Q.sonner;exports.SplitLayout=R.SplitLayout;exports.SplitLayoutContentLeft=R.SplitLayoutContentLeft;exports.SplitLayoutContentRight=R.SplitLayoutContentRight;exports.SplitLayoutHeader=R.SplitLayoutHeader;exports.SplitLayoutImage=R.SplitLayoutImage;exports.Switch=ge.Switch;exports.Table=M.Table;exports.TableBody=M.TableBody;exports.TableCaption=M.TableCaption;exports.TableCell=M.TableCell;exports.TableFooter=M.TableFooter;exports.TableHead=M.TableHead;exports.TableHeader=M.TableHeader;exports.TableRow=M.TableRow;exports.Tabs=H.Tabs;exports.TabsContent=H.TabsContent;exports.TabsList=H.TabsList;exports.TabsTrigger=H.TabsTrigger;exports.TextRevealMotion=ce.TextRevealMotion;exports.Textarea=Ce.Textarea;exports.Toggle=Z.Toggle;exports.toggleVariants=Z.toggleVariants;exports.ToggleGroup=ee.ToggleGroup;exports.ToggleGroupItem=ee.ToggleGroupItem;exports.Tooltip=f.Tooltip;exports.TooltipContent=f.TooltipContent;exports.TooltipProvider=f.TooltipProvider;exports.TooltipTrigger=f.TooltipTrigger;exports.TypographyBlockquote=n.TypographyBlockquote;exports.TypographyCode=n.TypographyCode;exports.TypographyH1=n.TypographyH1;exports.TypographyH2=n.TypographyH2;exports.TypographyH3=n.TypographyH3;exports.TypographyH4=n.TypographyH4;exports.TypographyInlineCode=n.TypographyInlineCode;exports.TypographyLarge=n.TypographyLarge;exports.TypographyLead=n.TypographyLead;exports.TypographyList=n.TypographyList;exports.TypographyMuted=n.TypographyMuted;exports.TypographyP=n.TypographyP;exports.TypographySmall=n.TypographySmall;exports.blockquoteVariants=n.blockquoteVariants;exports.DataTable=u.DataTable;exports.DataTableColumnHeader=u.DataTableColumnHeader;exports.DataTablePagination=u.DataTablePagination;exports.DataTableRowActions=u.DataTableRowActions;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.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.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.SidebarProvider=e.SidebarProvider;exports.SidebarRail=e.SidebarRail;exports.SidebarSeparator=e.SidebarSeparator;exports.SidebarSide=e.SidebarSide;exports.SidebarTrigger=e.SidebarTrigger;exports.SidebarVariant=e.SidebarVariant;exports.useSidebar=e.useSidebar;exports.useDebounce=Se.useDebounce;exports.getMobileBreakpoint=N.getMobileBreakpoint;exports.isMobileViewport=N.isMobileViewport;exports.useIsMobile=N.useIsMobile;exports.usePrefersReducedMotion=Te.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:()=>_.REGEXP_ONLY_CHARS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS",{enumerable:!0,get:()=>_.REGEXP_ONLY_DIGITS});Object.defineProperty(exports,"REGEXP_ONLY_DIGITS_AND_CHARS",{enumerable:!0,get:()=>_.REGEXP_ONLY_DIGITS_AND_CHARS});Object.defineProperty(exports,"createColumnHelper",{enumerable:!0,get:()=>te.createColumnHelper});Object.defineProperty(exports,"flexRender",{enumerable:!0,get:()=>te.flexRender});
|