@acronis-platform/shadcn-uikit 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/app-shell.d.ts +8 -0
- package/dist/components/ui/app-shell.js +69 -0
- package/dist/components/ui/app-shell.js.map +1 -0
- package/dist/components/ui/aspect-ratio.d.ts +3 -0
- package/dist/components/ui/aspect-ratio.js +6 -0
- package/dist/components/ui/aspect-ratio.js.map +1 -0
- package/dist/components/ui/auth-layout.d.ts +16 -0
- package/dist/components/ui/auth-layout.js +55 -0
- package/dist/components/ui/auth-layout.js.map +1 -0
- package/dist/components/ui/collapsible.d.ts +5 -0
- package/dist/components/ui/collapsible.js +8 -0
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/dashboard-layout.d.ts +10 -0
- package/dist/components/ui/dashboard-layout.js +45 -0
- package/dist/components/ui/dashboard-layout.js.map +1 -0
- package/dist/components/ui/grid.d.ts +10 -0
- package/dist/components/ui/grid.js +45 -0
- package/dist/components/ui/grid.js.map +1 -0
- package/dist/components/ui/page-content.d.ts +3 -0
- package/dist/components/ui/page-content.js +11 -0
- package/dist/components/ui/page-content.js.map +1 -0
- package/dist/components/ui/page-header.d.ts +7 -0
- package/dist/components/ui/page-header.js +58 -0
- package/dist/components/ui/page-header.js.map +1 -0
- package/dist/components/ui/section.d.ts +7 -0
- package/dist/components/ui/section.js +35 -0
- package/dist/components/ui/section.js.map +1 -0
- package/dist/components/ui/split-layout.d.ts +10 -0
- package/dist/components/ui/split-layout.js +43 -0
- package/dist/components/ui/split-layout.js.map +1 -0
- package/dist/components/ui/stack.d.ts +13 -0
- package/dist/components/ui/stack.js +61 -0
- package/dist/components/ui/stack.js.map +1 -0
- package/dist/components/ui/visually-hidden.d.ts +3 -0
- package/dist/components/ui/visually-hidden.js +6 -0
- package/dist/components/ui/visually-hidden.js.map +1 -0
- package/dist/components.css +1 -1
- package/dist/index.js +1567 -1519
- package/dist/index.js.map +1 -1
- package/dist/llms.txt +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.8_@types_react-dom@18.3.7_@types_react@18.3.27__@types_7ad113d75fc6204492ebbfa91b49d130/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +44 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.8_@types_react-dom@18.3.7_@types_react@18.3.27__@types_7ad113d75fc6204492ebbfa91b49d130/node_modules/@radix-ui/react-aspect-ratio/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.12_@types_react-dom@18.3.7_@types_react@18.3.27__@types_2ed458bc031b74fc7c96f0da78a6cbcf/node_modules/@radix-ui/react-collapsible/dist/index.js +118 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.12_@types_react-dom@18.3.7_@types_react@18.3.27__@types_2ed458bc031b74fc7c96f0da78a6cbcf/node_modules/@radix-ui/react-collapsible/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@18.3.7_@types_react@18.3.27__@types_rea_64d32f1aa8205b8137d1ae7fefc406b4/node_modules/@radix-ui/react-presence/dist/index.js +72 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@18.3.7_@types_react@18.3.27__@types_rea_64d32f1aa8205b8137d1ae7fefc406b4/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@18.3.7_@types_react@18.3.27__@types_re_fcd3de21280e20c51ab14304cef2fe55/node_modules/@radix-ui/react-primitive/dist/index.js +33 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@18.3.7_@types_react@18.3.27__@types_re_fcd3de21280e20c51ab14304cef2fe55/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.3.27_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +55 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.3.27_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.4_@types_react-dom@18.3.7_@types_react@18.3.27__@ty_8f94b9a79abf42a8b3509cf40a0ac65d/node_modules/@radix-ui/react-visually-hidden/dist/index.js +33 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.4_@types_react-dom@18.3.7_@types_react@18.3.27__@ty_8f94b9a79abf42a8b3509cf40a0ac65d/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/es-toolkit@1.43.0/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +1 -1
- package/dist/node_modules/.pnpm/es-toolkit@1.43.0/node_modules/es-toolkit/dist/object/cloneDeep.js +1 -1
- package/dist/react.d.ts +12 -0
- package/dist/react.js +1556 -1508
- package/dist/react.js.map +1 -1
- package/dist/shadcn-uikit.css +1 -1
- package/dist/utilities.css +1 -1
- package/package.json +4 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const AppShell: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const AppShellSidebar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
4
|
+
declare const AppShellBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const AppShellHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
6
|
+
declare const AppShellMain: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
7
|
+
declare const AppShellFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
8
|
+
export { AppShell, AppShellSidebar, AppShellBody, AppShellHeader, AppShellMain, AppShellFooter, };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
import { cn as p } from "../../lib/utils.js";
|
|
4
|
+
const s = r.forwardRef(({ className: e, ...l }, a) => /* @__PURE__ */ o(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
ref: a,
|
|
8
|
+
className: p("flex min-h-screen w-full bg-background", e),
|
|
9
|
+
...l
|
|
10
|
+
}
|
|
11
|
+
));
|
|
12
|
+
s.displayName = "AppShell";
|
|
13
|
+
const d = r.forwardRef(({ className: e, ...l }, a) => /* @__PURE__ */ o(
|
|
14
|
+
"aside",
|
|
15
|
+
{
|
|
16
|
+
ref: a,
|
|
17
|
+
className: p("flex-shrink-0", e),
|
|
18
|
+
...l
|
|
19
|
+
}
|
|
20
|
+
));
|
|
21
|
+
d.displayName = "AppShellSidebar";
|
|
22
|
+
const f = r.forwardRef(({ className: e, ...l }, a) => /* @__PURE__ */ o(
|
|
23
|
+
"div",
|
|
24
|
+
{
|
|
25
|
+
ref: a,
|
|
26
|
+
className: p("flex flex-1 flex-col overflow-hidden", e),
|
|
27
|
+
...l
|
|
28
|
+
}
|
|
29
|
+
));
|
|
30
|
+
f.displayName = "AppShellBody";
|
|
31
|
+
const i = r.forwardRef(({ className: e, ...l }, a) => /* @__PURE__ */ o(
|
|
32
|
+
"header",
|
|
33
|
+
{
|
|
34
|
+
ref: a,
|
|
35
|
+
className: p(
|
|
36
|
+
"sticky top-0 z-10 flex h-16 items-center border-b bg-background px-6",
|
|
37
|
+
e
|
|
38
|
+
),
|
|
39
|
+
...l
|
|
40
|
+
}
|
|
41
|
+
));
|
|
42
|
+
i.displayName = "AppShellHeader";
|
|
43
|
+
const c = r.forwardRef(({ className: e, ...l }, a) => /* @__PURE__ */ o(
|
|
44
|
+
"main",
|
|
45
|
+
{
|
|
46
|
+
ref: a,
|
|
47
|
+
className: p("flex-1 overflow-auto", e),
|
|
48
|
+
...l
|
|
49
|
+
}
|
|
50
|
+
));
|
|
51
|
+
c.displayName = "AppShellMain";
|
|
52
|
+
const m = r.forwardRef(({ className: e, ...l }, a) => /* @__PURE__ */ o(
|
|
53
|
+
"footer",
|
|
54
|
+
{
|
|
55
|
+
ref: a,
|
|
56
|
+
className: p("border-t bg-background px-6 py-4", e),
|
|
57
|
+
...l
|
|
58
|
+
}
|
|
59
|
+
));
|
|
60
|
+
m.displayName = "AppShellFooter";
|
|
61
|
+
export {
|
|
62
|
+
s as AppShell,
|
|
63
|
+
f as AppShellBody,
|
|
64
|
+
m as AppShellFooter,
|
|
65
|
+
i as AppShellHeader,
|
|
66
|
+
c as AppShellMain,
|
|
67
|
+
d as AppShellSidebar
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=app-shell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-shell.js","sources":["../../../src/components/ui/app-shell.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst AppShell = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('flex min-h-screen w-full bg-background', className)}\n {...props}\n />\n))\nAppShell.displayName = 'AppShell'\n\nconst AppShellSidebar = React.forwardRef<\n HTMLElement,\n React.HTMLAttributes<HTMLElement>\n>(({ className, ...props }, ref) => (\n <aside\n ref={ref}\n className={cn('flex-shrink-0', className)}\n {...props}\n />\n))\nAppShellSidebar.displayName = 'AppShellSidebar'\n\nconst AppShellBody = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('flex flex-1 flex-col overflow-hidden', className)}\n {...props}\n />\n))\nAppShellBody.displayName = 'AppShellBody'\n\nconst AppShellHeader = React.forwardRef<\n HTMLElement,\n React.HTMLAttributes<HTMLElement>\n>(({ className, ...props }, ref) => (\n <header\n ref={ref}\n className={cn(\n 'sticky top-0 z-10 flex h-16 items-center border-b bg-background px-6',\n className\n )}\n {...props}\n />\n))\nAppShellHeader.displayName = 'AppShellHeader'\n\nconst AppShellMain = React.forwardRef<\n HTMLElement,\n React.HTMLAttributes<HTMLElement>\n>(({ className, ...props }, ref) => (\n <main\n ref={ref}\n className={cn('flex-1 overflow-auto', className)}\n {...props}\n />\n))\nAppShellMain.displayName = 'AppShellMain'\n\nconst AppShellFooter = React.forwardRef<\n HTMLElement,\n React.HTMLAttributes<HTMLElement>\n>(({ className, ...props }, ref) => (\n <footer\n ref={ref}\n className={cn('border-t bg-background px-6 py-4', className)}\n {...props}\n />\n))\nAppShellFooter.displayName = 'AppShellFooter'\n\nexport {\n AppShell,\n AppShellSidebar,\n AppShellBody,\n AppShellHeader,\n AppShellMain,\n AppShellFooter,\n}"],"names":["AppShell","React","className","props","ref","jsx","cn","AppShellSidebar","AppShellBody","AppShellHeader","AppShellMain","AppShellFooter"],"mappings":";;;AAIA,MAAMA,IAAWC,EAAM,WAGrB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,0CAA0CJ,CAAS;AAAA,IAChE,GAAGC;AAAA,EAAA;AACN,CACD;AACDH,EAAS,cAAc;AAEvB,MAAMO,IAAkBN,EAAM,WAG5B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,iBAAiBJ,CAAS;AAAA,IACvC,GAAGC;AAAA,EAAA;AACN,CACD;AACDI,EAAgB,cAAc;AAE9B,MAAMC,IAAeP,EAAM,WAGzB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,wCAAwCJ,CAAS;AAAA,IAC9D,GAAGC;AAAA,EAAA;AACN,CACD;AACDK,EAAa,cAAc;AAE3B,MAAMC,IAAiBR,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAJ;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDM,EAAe,cAAc;AAE7B,MAAMC,IAAeT,EAAM,WAGzB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,wBAAwBJ,CAAS;AAAA,IAC9C,GAAGC;AAAA,EAAA;AACN,CACD;AACDO,EAAa,cAAc;AAE3B,MAAMC,IAAiBV,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,oCAAoCJ,CAAS;AAAA,IAC1D,GAAGC;AAAA,EAAA;AACN,CACD;AACDQ,EAAe,cAAc;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Root as o } from "../../node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.8_@types_react-dom@18.3.7_@types_react@18.3.27__@types_7ad113d75fc6204492ebbfa91b49d130/node_modules/@radix-ui/react-aspect-ratio/dist/index.js";
|
|
2
|
+
const p = o;
|
|
3
|
+
export {
|
|
4
|
+
p as AspectRatio
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=aspect-ratio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aspect-ratio.js","sources":["../../../src/components/ui/aspect-ratio.tsx"],"sourcesContent":["import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio'\n\nconst AspectRatio = AspectRatioPrimitive.Root\n\nexport { AspectRatio }\n"],"names":["AspectRatio","AspectRatioPrimitive.Root"],"mappings":";AAEA,MAAMA,IAAcC;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* AuthLayout — A centered card layout for login/signup/forgot-password flows.
|
|
4
|
+
*
|
|
5
|
+
* Anatomy:
|
|
6
|
+
* - AuthLayout (root, full-page centered)
|
|
7
|
+
* - AuthLayoutCard (centered card with max-width)
|
|
8
|
+
* - AuthLayoutLogo (logo/brand slot at top)
|
|
9
|
+
* - (children go here)
|
|
10
|
+
* - AuthLayoutFooter (bottom links/text)
|
|
11
|
+
*/
|
|
12
|
+
declare const AuthLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const AuthLayoutCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
declare const AuthLayoutLogo: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
declare const AuthLayoutFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export { AuthLayout, AuthLayoutCard, AuthLayoutLogo, AuthLayoutFooter };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
import { cn as s } from "../../lib/utils.js";
|
|
4
|
+
const u = r.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ e(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
ref: a,
|
|
8
|
+
className: s(
|
|
9
|
+
"flex min-h-screen w-full items-center justify-center bg-background p-4",
|
|
10
|
+
t
|
|
11
|
+
),
|
|
12
|
+
...o
|
|
13
|
+
}
|
|
14
|
+
));
|
|
15
|
+
u.displayName = "AuthLayout";
|
|
16
|
+
const m = r.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ e(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
ref: a,
|
|
20
|
+
className: s(
|
|
21
|
+
"w-full max-w-sm rounded-lg border bg-card p-6 shadow-sm",
|
|
22
|
+
t
|
|
23
|
+
),
|
|
24
|
+
...o
|
|
25
|
+
}
|
|
26
|
+
));
|
|
27
|
+
m.displayName = "AuthLayoutCard";
|
|
28
|
+
const d = r.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ e(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
ref: a,
|
|
32
|
+
className: s("mb-6 flex justify-center", t),
|
|
33
|
+
...o
|
|
34
|
+
}
|
|
35
|
+
));
|
|
36
|
+
d.displayName = "AuthLayoutLogo";
|
|
37
|
+
const f = r.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ e(
|
|
38
|
+
"div",
|
|
39
|
+
{
|
|
40
|
+
ref: a,
|
|
41
|
+
className: s(
|
|
42
|
+
"mt-6 text-center text-sm text-muted-foreground",
|
|
43
|
+
t
|
|
44
|
+
),
|
|
45
|
+
...o
|
|
46
|
+
}
|
|
47
|
+
));
|
|
48
|
+
f.displayName = "AuthLayoutFooter";
|
|
49
|
+
export {
|
|
50
|
+
u as AuthLayout,
|
|
51
|
+
m as AuthLayoutCard,
|
|
52
|
+
f as AuthLayoutFooter,
|
|
53
|
+
d as AuthLayoutLogo
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=auth-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-layout.js","sources":["../../../src/components/ui/auth-layout.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\n/**\n * AuthLayout — A centered card layout for login/signup/forgot-password flows.\n *\n * Anatomy:\n * - AuthLayout (root, full-page centered)\n * - AuthLayoutCard (centered card with max-width)\n * - AuthLayoutLogo (logo/brand slot at top)\n * - (children go here)\n * - AuthLayoutFooter (bottom links/text)\n */\n\nconst AuthLayout = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'flex min-h-screen w-full items-center justify-center bg-background p-4',\n className\n )}\n {...props}\n />\n))\nAuthLayout.displayName = 'AuthLayout'\n\nconst AuthLayoutCard = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'w-full max-w-sm rounded-lg border bg-card p-6 shadow-sm',\n className\n )}\n {...props}\n />\n))\nAuthLayoutCard.displayName = 'AuthLayoutCard'\n\nconst AuthLayoutLogo = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('mb-6 flex justify-center', className)}\n {...props}\n />\n))\nAuthLayoutLogo.displayName = 'AuthLayoutLogo'\n\nconst AuthLayoutFooter = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'mt-6 text-center text-sm text-muted-foreground',\n className\n )}\n {...props}\n />\n))\nAuthLayoutFooter.displayName = 'AuthLayoutFooter'\n\nexport { AuthLayout, AuthLayoutCard, AuthLayoutLogo, AuthLayoutFooter }"],"names":["AuthLayout","React","className","props","ref","jsx","cn","AuthLayoutCard","AuthLayoutLogo","AuthLayoutFooter"],"mappings":";;;AAeA,MAAMA,IAAaC,EAAM,WAGvB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAJ;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDH,EAAW,cAAc;AAEzB,MAAMO,IAAiBN,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAJ;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDI,EAAe,cAAc;AAE7B,MAAMC,IAAiBP,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,4BAA4BJ,CAAS;AAAA,IAClD,GAAGC;AAAA,EAAA;AACN,CACD;AACDK,EAAe,cAAc;AAE7B,MAAMC,IAAmBR,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAJ;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDM,EAAiB,cAAc;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
2
|
+
declare const Collapsible: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const CollapsibleTrigger: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
declare const CollapsibleContent: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Root as l, CollapsibleTrigger as o, CollapsibleContent as e } from "../../node_modules/.pnpm/@radix-ui_react-collapsible@1.1.12_@types_react-dom@18.3.7_@types_react@18.3.27__@types_2ed458bc031b74fc7c96f0da78a6cbcf/node_modules/@radix-ui/react-collapsible/dist/index.js";
|
|
2
|
+
const t = l, i = o, C = e;
|
|
3
|
+
export {
|
|
4
|
+
t as Collapsible,
|
|
5
|
+
C as CollapsibleContent,
|
|
6
|
+
i as CollapsibleTrigger
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=collapsible.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collapsible.js","sources":["../../../src/components/ui/collapsible.tsx"],"sourcesContent":["'use client'\n\nimport * as CollapsiblePrimitive from '@radix-ui/react-collapsible'\n\nconst Collapsible = CollapsiblePrimitive.Root\nconst CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger\nconst CollapsibleContent = CollapsiblePrimitive.CollapsibleContent\n\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent }\n"],"names":["Collapsible","CollapsiblePrimitive.Root","CollapsibleTrigger","CollapsiblePrimitive.CollapsibleTrigger","CollapsibleContent","CollapsiblePrimitive.CollapsibleContent"],"mappings":";AAIA,MAAMA,IAAcC,GACdC,IAAqBC,GACrBC,IAAqBC;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const dashboardGridVariants: (props?: ({
|
|
4
|
+
cols?: 1 | 2 | 3 | 4 | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
declare const DashboardLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export interface DashboardGridProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof dashboardGridVariants> {
|
|
8
|
+
}
|
|
9
|
+
declare const DashboardGrid: React.ForwardRefExoticComponent<DashboardGridProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export { DashboardLayout, DashboardGrid, dashboardGridVariants, };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { cva as l } from "../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
|
|
4
|
+
import { cn as i } from "../../lib/utils.js";
|
|
5
|
+
const m = l(
|
|
6
|
+
"grid gap-4",
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
cols: {
|
|
10
|
+
1: "grid-cols-1",
|
|
11
|
+
2: "grid-cols-1 md:grid-cols-2",
|
|
12
|
+
3: "grid-cols-1 md:grid-cols-2 lg:grid-cols-3",
|
|
13
|
+
4: "grid-cols-1 md:grid-cols-2 lg:grid-cols-4"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
defaultVariants: {
|
|
17
|
+
cols: 3
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
), t = d.forwardRef(({ className: a, ...r }, o) => /* @__PURE__ */ s(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
ref: o,
|
|
24
|
+
className: i("space-y-6", a),
|
|
25
|
+
...r
|
|
26
|
+
}
|
|
27
|
+
));
|
|
28
|
+
t.displayName = "DashboardLayout";
|
|
29
|
+
const g = d.forwardRef(
|
|
30
|
+
({ className: a, cols: r, ...o }, c) => /* @__PURE__ */ s(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
ref: c,
|
|
34
|
+
className: i(m({ cols: r }), a),
|
|
35
|
+
...o
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
);
|
|
39
|
+
g.displayName = "DashboardGrid";
|
|
40
|
+
export {
|
|
41
|
+
g as DashboardGrid,
|
|
42
|
+
t as DashboardLayout,
|
|
43
|
+
m as dashboardGridVariants
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=dashboard-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard-layout.js","sources":["../../../src/components/ui/dashboard-layout.tsx"],"sourcesContent":["import * as React from 'react'\nimport { cva, type VariantProps } from 'class-variance-authority'\n\nimport { cn } from '@/lib/utils'\n\nconst dashboardGridVariants = cva(\n 'grid gap-4',\n {\n variants: {\n cols: {\n 1: 'grid-cols-1',\n 2: 'grid-cols-1 md:grid-cols-2',\n 3: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3',\n 4: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-4',\n },\n },\n defaultVariants: {\n cols: 3,\n },\n }\n)\n\nconst DashboardLayout = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('space-y-6', className)}\n {...props}\n />\n))\nDashboardLayout.displayName = 'DashboardLayout'\n\nexport interface DashboardGridProps\n extends React.HTMLAttributes<HTMLDivElement>,\n VariantProps<typeof dashboardGridVariants> {}\n\nconst DashboardGrid = React.forwardRef<HTMLDivElement, DashboardGridProps>(\n ({ className, cols, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(dashboardGridVariants({ cols }), className)}\n {...props}\n />\n )\n)\nDashboardGrid.displayName = 'DashboardGrid'\n\nexport {\n DashboardLayout,\n DashboardGrid,\n dashboardGridVariants,\n}"],"names":["dashboardGridVariants","cva","DashboardLayout","React","className","props","ref","jsx","cn","DashboardGrid","cols"],"mappings":";;;;AAKA,MAAMA,IAAwBC;AAAA,EAC5B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,GAAG;AAAA,QACH,GAAG;AAAA,QACH,GAAG;AAAA,QACH,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,IAEF,iBAAiB;AAAA,MACf,MAAM;AAAA,IAAA;AAAA,EACR;AAEJ,GAEMC,IAAkBC,EAAM,WAG5B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,aAAaJ,CAAS;AAAA,IACnC,GAAGC;AAAA,EAAA;AACN,CACD;AACDH,EAAgB,cAAc;AAM9B,MAAMO,IAAgBN,EAAM;AAAA,EAC1B,CAAC,EAAE,WAAAC,GAAW,MAAAM,GAAM,GAAGL,EAAA,GAASC,MAC9B,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,MACA,WAAWE,EAAGR,EAAsB,EAAE,MAAAU,EAAA,CAAM,GAAGN,CAAS;AAAA,MACvD,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AACAI,EAAc,cAAc;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const gridVariants: (props?: ({
|
|
4
|
+
cols?: 1 | 2 | 3 | 4 | 6 | 12 | null | undefined;
|
|
5
|
+
gap?: "none" | "sm" | "lg" | "md" | "xl" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export interface GridProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
|
|
8
|
+
}
|
|
9
|
+
declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export { Grid, gridVariants };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { cva as c } from "../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
|
|
4
|
+
import { cn as a } from "../../lib/utils.js";
|
|
5
|
+
const m = c(
|
|
6
|
+
"grid",
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
cols: {
|
|
10
|
+
1: "grid-cols-1",
|
|
11
|
+
2: "grid-cols-1 sm:grid-cols-2",
|
|
12
|
+
3: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",
|
|
13
|
+
4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4",
|
|
14
|
+
6: "grid-cols-2 sm:grid-cols-3 lg:grid-cols-6",
|
|
15
|
+
12: "grid-cols-4 sm:grid-cols-6 lg:grid-cols-12"
|
|
16
|
+
},
|
|
17
|
+
gap: {
|
|
18
|
+
none: "gap-0",
|
|
19
|
+
sm: "gap-2",
|
|
20
|
+
md: "gap-4",
|
|
21
|
+
lg: "gap-6",
|
|
22
|
+
xl: "gap-8"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
cols: 3,
|
|
27
|
+
gap: "md"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
), p = d.forwardRef(
|
|
31
|
+
({ className: r, cols: s, gap: o, ...g }, i) => /* @__PURE__ */ l(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
ref: i,
|
|
35
|
+
className: a(m({ cols: s, gap: o }), r),
|
|
36
|
+
...g
|
|
37
|
+
}
|
|
38
|
+
)
|
|
39
|
+
);
|
|
40
|
+
p.displayName = "Grid";
|
|
41
|
+
export {
|
|
42
|
+
p as Grid,
|
|
43
|
+
m as gridVariants
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=grid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.js","sources":["../../../src/components/ui/grid.tsx"],"sourcesContent":["import * as React from 'react'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport { cn } from '@/lib/utils'\n\nconst gridVariants = cva(\n 'grid',\n {\n variants: {\n cols: {\n 1: 'grid-cols-1',\n 2: 'grid-cols-1 sm:grid-cols-2',\n 3: 'grid-cols-1 sm:grid-cols-2 lg:grid-cols-3',\n 4: 'grid-cols-1 sm:grid-cols-2 lg:grid-cols-4',\n 6: 'grid-cols-2 sm:grid-cols-3 lg:grid-cols-6',\n 12: 'grid-cols-4 sm:grid-cols-6 lg:grid-cols-12',\n },\n gap: {\n none: 'gap-0',\n sm: 'gap-2',\n md: 'gap-4',\n lg: 'gap-6',\n xl: 'gap-8',\n },\n },\n defaultVariants: {\n cols: 3,\n gap: 'md',\n },\n }\n)\n\nexport interface GridProps\n extends React.HTMLAttributes<HTMLDivElement>,\n VariantProps<typeof gridVariants> {}\n\nconst Grid = React.forwardRef<HTMLDivElement, GridProps>(\n ({ className, cols, gap, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(gridVariants({ cols, gap }), className)}\n {...props}\n />\n )\n)\nGrid.displayName = 'Grid'\n\nexport { Grid, gridVariants }\n"],"names":["gridVariants","cva","Grid","React","className","cols","gap","props","ref","jsx","cn"],"mappings":";;;;AAIA,MAAMA,IAAeC;AAAA,EACnB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,GAAG;AAAA,QACH,GAAG;AAAA,QACH,GAAG;AAAA,QACH,GAAG;AAAA,QACH,GAAG;AAAA,QACH,IAAI;AAAA,MAAA;AAAA,MAEN,KAAK;AAAA,QACH,MAAM;AAAA,QACN,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA;AAAA,IACN;AAAA,IAEF,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,KAAK;AAAA,IAAA;AAAA,EACP;AAEJ,GAMMC,IAAOC,EAAM;AAAA,EACjB,CAAC,EAAE,WAAAC,GAAW,MAAAC,GAAM,KAAAC,GAAK,GAAGC,EAAA,GAASC,MACnC,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,MACA,WAAWE,EAAGV,EAAa,EAAE,MAAAK,GAAM,KAAAC,EAAA,CAAK,GAAGF,CAAS;AAAA,MACnD,GAAGG;AAAA,IAAA;AAAA,EAAA;AAGV;AACAL,EAAK,cAAc;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import * as m from "react";
|
|
3
|
+
import { cn as r } from "../../lib/utils.js";
|
|
4
|
+
const n = m.forwardRef(
|
|
5
|
+
({ className: o, ...a }, e) => /* @__PURE__ */ t("main", { ref: e, className: r("flex-1 p-6", o), ...a })
|
|
6
|
+
);
|
|
7
|
+
n.displayName = "PageContent";
|
|
8
|
+
export {
|
|
9
|
+
n as PageContent
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=page-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-content.js","sources":["../../../src/components/ui/page-content.tsx"],"sourcesContent":["import * as React from 'react'\nimport { cn } from '@/lib/utils'\n\nconst PageContent = React.forwardRef<HTMLElement, React.HTMLAttributes<HTMLElement>>(\n ({ className, ...props }, ref) => (\n <main ref={ref} className={cn('flex-1 p-6', className)} {...props} />\n )\n)\nPageContent.displayName = 'PageContent'\n\nexport { PageContent }"],"names":["PageContent","React","className","props","ref","jsx","cn"],"mappings":";;;AAGA,MAAMA,IAAcC,EAAM;AAAA,EACxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MACxB,gBAAAC,EAAC,QAAA,EAAK,KAAAD,GAAU,WAAWE,EAAG,cAAcJ,CAAS,GAAI,GAAGC,EAAA,CAAO;AAEvE;AACAH,EAAY,cAAc;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const PageHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare const PageHeaderBreadcrumb: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
4
|
+
declare const PageHeaderTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
5
|
+
declare const PageHeaderDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
6
|
+
declare const PageHeaderActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { PageHeader, PageHeaderBreadcrumb, PageHeaderTitle, PageHeaderDescription, PageHeaderActions, };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { cn as o } from "../../lib/utils.js";
|
|
4
|
+
const s = d.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ t(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
ref: r,
|
|
8
|
+
role: "banner",
|
|
9
|
+
className: o("flex flex-col gap-1 pb-4", e),
|
|
10
|
+
...a
|
|
11
|
+
}
|
|
12
|
+
));
|
|
13
|
+
s.displayName = "PageHeader";
|
|
14
|
+
const m = d.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ t(
|
|
15
|
+
"nav",
|
|
16
|
+
{
|
|
17
|
+
ref: r,
|
|
18
|
+
"aria-label": "Breadcrumb",
|
|
19
|
+
className: o("text-sm text-muted-foreground", e),
|
|
20
|
+
...a
|
|
21
|
+
}
|
|
22
|
+
));
|
|
23
|
+
m.displayName = "PageHeaderBreadcrumb";
|
|
24
|
+
const i = d.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ t(
|
|
25
|
+
"h1",
|
|
26
|
+
{
|
|
27
|
+
ref: r,
|
|
28
|
+
className: o("text-2xl font-bold leading-none tracking-tight", e),
|
|
29
|
+
...a
|
|
30
|
+
}
|
|
31
|
+
));
|
|
32
|
+
i.displayName = "PageHeaderTitle";
|
|
33
|
+
const c = d.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ t(
|
|
34
|
+
"p",
|
|
35
|
+
{
|
|
36
|
+
ref: r,
|
|
37
|
+
className: o("text-sm text-muted-foreground", e),
|
|
38
|
+
...a
|
|
39
|
+
}
|
|
40
|
+
));
|
|
41
|
+
c.displayName = "PageHeaderDescription";
|
|
42
|
+
const l = d.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ t(
|
|
43
|
+
"div",
|
|
44
|
+
{
|
|
45
|
+
ref: r,
|
|
46
|
+
className: o("flex items-center gap-2 pt-2", e),
|
|
47
|
+
...a
|
|
48
|
+
}
|
|
49
|
+
));
|
|
50
|
+
l.displayName = "PageHeaderActions";
|
|
51
|
+
export {
|
|
52
|
+
s as PageHeader,
|
|
53
|
+
l as PageHeaderActions,
|
|
54
|
+
m as PageHeaderBreadcrumb,
|
|
55
|
+
c as PageHeaderDescription,
|
|
56
|
+
i as PageHeaderTitle
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=page-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-header.js","sources":["../../../src/components/ui/page-header.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst PageHeader = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n role=\"banner\"\n className={cn('flex flex-col gap-1 pb-4', className)}\n {...props}\n />\n))\nPageHeader.displayName = 'PageHeader'\n\nconst PageHeaderBreadcrumb = React.forwardRef<\n HTMLElement,\n React.HTMLAttributes<HTMLElement>\n>(({ className, ...props }, ref) => (\n <nav\n ref={ref}\n aria-label=\"Breadcrumb\"\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n))\nPageHeaderBreadcrumb.displayName = 'PageHeaderBreadcrumb'\n\nconst PageHeaderTitle = React.forwardRef<\n HTMLHeadingElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h1\n ref={ref}\n className={cn('text-2xl font-bold leading-none tracking-tight', className)}\n {...props}\n />\n))\nPageHeaderTitle.displayName = 'PageHeaderTitle'\n\nconst PageHeaderDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n))\nPageHeaderDescription.displayName = 'PageHeaderDescription'\n\nconst PageHeaderActions = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('flex items-center gap-2 pt-2', className)}\n {...props}\n />\n))\nPageHeaderActions.displayName = 'PageHeaderActions'\n\nexport {\n PageHeader,\n PageHeaderBreadcrumb,\n PageHeaderTitle,\n PageHeaderDescription,\n PageHeaderActions,\n}"],"names":["PageHeader","React","className","props","ref","jsx","cn","PageHeaderBreadcrumb","PageHeaderTitle","PageHeaderDescription","PageHeaderActions"],"mappings":";;;AAIA,MAAMA,IAAaC,EAAM,WAGvB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,MAAK;AAAA,IACL,WAAWE,EAAG,4BAA4BJ,CAAS;AAAA,IAClD,GAAGC;AAAA,EAAA;AACN,CACD;AACDH,EAAW,cAAc;AAEzB,MAAMO,IAAuBN,EAAM,WAGjC,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,cAAW;AAAA,IACX,WAAWE,EAAG,iCAAiCJ,CAAS;AAAA,IACvD,GAAGC;AAAA,EAAA;AACN,CACD;AACDI,EAAqB,cAAc;AAEnC,MAAMC,IAAkBP,EAAM,WAG5B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,kDAAkDJ,CAAS;AAAA,IACxE,GAAGC;AAAA,EAAA;AACN,CACD;AACDK,EAAgB,cAAc;AAE9B,MAAMC,IAAwBR,EAAM,WAGlC,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,iCAAiCJ,CAAS;AAAA,IACvD,GAAGC;AAAA,EAAA;AACN,CACD;AACDM,EAAsB,cAAc;AAEpC,MAAMC,IAAoBT,EAAM,WAG9B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,gCAAgCJ,CAAS;AAAA,IACtD,GAAGC;AAAA,EAAA;AACN,CACD;AACDO,EAAkB,cAAc;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Section: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
3
|
+
declare const SectionHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const SectionTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
5
|
+
declare const SectionDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
6
|
+
declare const SectionContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Section, SectionHeader, SectionTitle, SectionDescription, SectionContent, };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import { cn as n } from "../../lib/utils.js";
|
|
4
|
+
const s = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a("section", { ref: o, className: n("space-y-4", e), ...t }));
|
|
5
|
+
s.displayName = "Section";
|
|
6
|
+
const c = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a("div", { ref: o, className: n("space-y-1", e), ...t }));
|
|
7
|
+
c.displayName = "SectionHeader";
|
|
8
|
+
const r = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a(
|
|
9
|
+
"h2",
|
|
10
|
+
{
|
|
11
|
+
ref: o,
|
|
12
|
+
className: n("text-lg font-semibold leading-none tracking-tight", e),
|
|
13
|
+
...t
|
|
14
|
+
}
|
|
15
|
+
));
|
|
16
|
+
r.displayName = "SectionTitle";
|
|
17
|
+
const m = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a(
|
|
18
|
+
"p",
|
|
19
|
+
{
|
|
20
|
+
ref: o,
|
|
21
|
+
className: n("text-sm text-muted-foreground", e),
|
|
22
|
+
...t
|
|
23
|
+
}
|
|
24
|
+
));
|
|
25
|
+
m.displayName = "SectionDescription";
|
|
26
|
+
const d = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a("div", { ref: o, className: n("pt-2", e), ...t }));
|
|
27
|
+
d.displayName = "SectionContent";
|
|
28
|
+
export {
|
|
29
|
+
s as Section,
|
|
30
|
+
d as SectionContent,
|
|
31
|
+
m as SectionDescription,
|
|
32
|
+
c as SectionHeader,
|
|
33
|
+
r as SectionTitle
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"section.js","sources":["../../../src/components/ui/section.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst Section = React.forwardRef<\n HTMLElement,\n React.HTMLAttributes<HTMLElement>\n>(({ className, ...props }, ref) => (\n <section ref={ref} className={cn('space-y-4', className)} {...props} />\n))\nSection.displayName = 'Section'\n\nconst SectionHeader = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn('space-y-1', className)} {...props} />\n))\nSectionHeader.displayName = 'SectionHeader'\n\nconst SectionTitle = React.forwardRef<\n HTMLHeadingElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h2\n ref={ref}\n className={cn('text-lg font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n))\nSectionTitle.displayName = 'SectionTitle'\n\nconst SectionDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n))\nSectionDescription.displayName = 'SectionDescription'\n\nconst SectionContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn('pt-2', className)} {...props} />\n))\nSectionContent.displayName = 'SectionContent'\n\nexport {\n Section,\n SectionHeader,\n SectionTitle,\n SectionDescription,\n SectionContent,\n}"],"names":["Section","React","className","props","ref","cn","SectionHeader","SectionTitle","jsx","SectionDescription","SectionContent"],"mappings":";;;AAIA,MAAMA,IAAUC,EAAM,WAGpB,CAAC,EAAE,WAAAC,GAAW,GAAGC,KAASC,wBACzB,WAAA,EAAQ,KAAAA,GAAU,WAAWC,EAAG,aAAaH,CAAS,GAAI,GAAGC,GAAO,CACtE;AACDH,EAAQ,cAAc;AAEtB,MAAMM,IAAgBL,EAAM,WAG1B,CAAC,EAAE,WAAAC,GAAW,GAAGC,KAASC,wBACzB,OAAA,EAAI,KAAAA,GAAU,WAAWC,EAAG,aAAaH,CAAS,GAAI,GAAGC,GAAO,CAClE;AACDG,EAAc,cAAc;AAE5B,MAAMC,IAAeN,EAAM,WAGzB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAI;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAJ;AAAA,IACA,WAAWC,EAAG,qDAAqDH,CAAS;AAAA,IAC3E,GAAGC;AAAA,EAAA;AACN,CACD;AACDI,EAAa,cAAc;AAE3B,MAAME,IAAqBR,EAAM,WAG/B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAI;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAJ;AAAA,IACA,WAAWC,EAAG,iCAAiCH,CAAS;AAAA,IACvD,GAAGC;AAAA,EAAA;AACN,CACD;AACDM,EAAmB,cAAc;AAEjC,MAAMC,IAAiBT,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,GAAGC,KAASC,wBACzB,OAAA,EAAI,KAAAA,GAAU,WAAWC,EAAG,QAAQH,CAAS,GAAI,GAAGC,GAAO,CAC7D;AACDO,EAAe,cAAc;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const splitLayoutVariants: (props?: ({
|
|
4
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export interface SplitLayoutProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof splitLayoutVariants> {
|
|
7
|
+
}
|
|
8
|
+
declare const SplitLayout: React.ForwardRefExoticComponent<SplitLayoutProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const SplitLayoutPanel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export { SplitLayout, SplitLayoutPanel, splitLayoutVariants };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { cva as f } from "../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
|
|
4
|
+
import { cn as r } from "../../lib/utils.js";
|
|
5
|
+
const n = f(
|
|
6
|
+
"flex w-full",
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
orientation: {
|
|
10
|
+
horizontal: "flex-row",
|
|
11
|
+
vertical: "flex-col"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
defaultVariants: {
|
|
15
|
+
orientation: "horizontal"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
), s = l.forwardRef(
|
|
19
|
+
({ className: a, orientation: o, ...t }, e) => /* @__PURE__ */ i(
|
|
20
|
+
"div",
|
|
21
|
+
{
|
|
22
|
+
ref: e,
|
|
23
|
+
className: r(n({ orientation: o }), a),
|
|
24
|
+
...t
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
);
|
|
28
|
+
s.displayName = "SplitLayout";
|
|
29
|
+
const m = l.forwardRef(({ className: a, ...o }, t) => /* @__PURE__ */ i(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
ref: t,
|
|
33
|
+
className: r("flex-1 overflow-auto", a),
|
|
34
|
+
...o
|
|
35
|
+
}
|
|
36
|
+
));
|
|
37
|
+
m.displayName = "SplitLayoutPanel";
|
|
38
|
+
export {
|
|
39
|
+
s as SplitLayout,
|
|
40
|
+
m as SplitLayoutPanel,
|
|
41
|
+
n as splitLayoutVariants
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=split-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"split-layout.js","sources":["../../../src/components/ui/split-layout.tsx"],"sourcesContent":["import * as React from 'react'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport { cn } from '@/lib/utils'\n\nconst splitLayoutVariants = cva(\n 'flex w-full',\n {\n variants: {\n orientation: {\n horizontal: 'flex-row',\n vertical: 'flex-col',\n },\n },\n defaultVariants: {\n orientation: 'horizontal',\n },\n }\n)\n\nexport interface SplitLayoutProps\n extends React.HTMLAttributes<HTMLDivElement>,\n VariantProps<typeof splitLayoutVariants> {}\n\nconst SplitLayout = React.forwardRef<HTMLDivElement, SplitLayoutProps>(\n ({ className, orientation, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(splitLayoutVariants({ orientation }), className)}\n {...props}\n />\n )\n)\nSplitLayout.displayName = 'SplitLayout'\n\nconst SplitLayoutPanel = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('flex-1 overflow-auto', className)}\n {...props}\n />\n))\nSplitLayoutPanel.displayName = 'SplitLayoutPanel'\n\nexport { SplitLayout, SplitLayoutPanel, splitLayoutVariants }\n"],"names":["splitLayoutVariants","cva","SplitLayout","React","className","orientation","props","ref","jsx","cn","SplitLayoutPanel"],"mappings":";;;;AAIA,MAAMA,IAAsBC;AAAA,EAC1B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,aAAa;AAAA,QACX,YAAY;AAAA,QACZ,UAAU;AAAA,MAAA;AAAA,IACZ;AAAA,IAEF,iBAAiB;AAAA,MACf,aAAa;AAAA,IAAA;AAAA,EACf;AAEJ,GAMMC,IAAcC,EAAM;AAAA,EACxB,CAAC,EAAE,WAAAC,GAAW,aAAAC,GAAa,GAAGC,EAAA,GAASC,MACrC,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,MACA,WAAWE,EAAGT,EAAoB,EAAE,aAAAK,EAAA,CAAa,GAAGD,CAAS;AAAA,MAC5D,GAAGE;AAAA,IAAA;AAAA,EAAA;AAGV;AACAJ,EAAY,cAAc;AAE1B,MAAMQ,IAAmBP,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,wBAAwBL,CAAS;AAAA,IAC9C,GAAGE;AAAA,EAAA;AACN,CACD;AACDI,EAAiB,cAAc;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const stackVariants: (props?: ({
|
|
4
|
+
direction?: "horizontal" | "vertical" | null | undefined;
|
|
5
|
+
gap?: "none" | "sm" | "lg" | "md" | "xl" | "xs" | null | undefined;
|
|
6
|
+
align?: "center" | "end" | "start" | "stretch" | null | undefined;
|
|
7
|
+
justify?: "center" | "end" | "start" | "between" | null | undefined;
|
|
8
|
+
wrap?: boolean | null | undefined;
|
|
9
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
+
export interface StackProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
|
|
11
|
+
}
|
|
12
|
+
declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export { Stack, stackVariants };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import * as o from "react";
|
|
3
|
+
import { cva as l } from "../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
|
|
4
|
+
import { cn as p } from "../../lib/utils.js";
|
|
5
|
+
const m = l(
|
|
6
|
+
"flex",
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
direction: {
|
|
10
|
+
vertical: "flex-col",
|
|
11
|
+
horizontal: "flex-row"
|
|
12
|
+
},
|
|
13
|
+
gap: {
|
|
14
|
+
none: "gap-0",
|
|
15
|
+
xs: "gap-1",
|
|
16
|
+
sm: "gap-2",
|
|
17
|
+
md: "gap-4",
|
|
18
|
+
lg: "gap-6",
|
|
19
|
+
xl: "gap-8"
|
|
20
|
+
},
|
|
21
|
+
align: {
|
|
22
|
+
start: "items-start",
|
|
23
|
+
center: "items-center",
|
|
24
|
+
end: "items-end",
|
|
25
|
+
stretch: "items-stretch"
|
|
26
|
+
},
|
|
27
|
+
justify: {
|
|
28
|
+
start: "justify-start",
|
|
29
|
+
center: "justify-center",
|
|
30
|
+
end: "justify-end",
|
|
31
|
+
between: "justify-between"
|
|
32
|
+
},
|
|
33
|
+
wrap: {
|
|
34
|
+
true: "flex-wrap",
|
|
35
|
+
false: "flex-nowrap"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
defaultVariants: {
|
|
39
|
+
direction: "vertical",
|
|
40
|
+
gap: "md",
|
|
41
|
+
align: "stretch",
|
|
42
|
+
justify: "start",
|
|
43
|
+
wrap: !1
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
), d = o.forwardRef(
|
|
47
|
+
({ className: t, direction: e, gap: a, align: r, justify: s, wrap: i, ...n }, c) => /* @__PURE__ */ f(
|
|
48
|
+
"div",
|
|
49
|
+
{
|
|
50
|
+
ref: c,
|
|
51
|
+
className: p(m({ direction: e, gap: a, align: r, justify: s, wrap: i }), t),
|
|
52
|
+
...n
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
);
|
|
56
|
+
d.displayName = "Stack";
|
|
57
|
+
export {
|
|
58
|
+
d as Stack,
|
|
59
|
+
m as stackVariants
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=stack.js.map
|