@incognia/cosmik 1.0.10 → 1.1.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/Tabs/index.d.ts +5 -1
- package/dist/Tabs/index.d.ts.map +1 -1
- package/dist/cosmik.css +3 -1
- package/dist/index.cjs +1 -2
- package/dist/index.js +36 -179
- package/dist/index10.cjs +2 -2
- package/dist/index10.cjs.map +1 -1
- package/dist/index10.js +12 -195
- package/dist/index10.js.map +1 -1
- package/dist/index11.cjs +2 -2
- package/dist/index11.cjs.map +1 -1
- package/dist/index11.js +61 -140
- package/dist/index11.js.map +1 -1
- package/dist/index12.cjs +2 -2
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +156 -228
- package/dist/index12.js.map +1 -1
- package/dist/index13.cjs +2 -2
- package/dist/index13.cjs.map +1 -1
- package/dist/index13.js +92 -119
- package/dist/index13.js.map +1 -1
- package/dist/index14.cjs +2 -2
- package/dist/index14.cjs.map +1 -1
- package/dist/index14.js +71 -24
- package/dist/index14.js.map +1 -1
- package/dist/index15.cjs +2 -2
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +105 -25
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +2 -2
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +57 -22
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +2 -2
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +23 -63
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +2 -2
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +90 -23
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +2 -2
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +83 -102
- package/dist/index19.js.map +1 -1
- package/dist/index2.cjs +1 -0
- package/dist/index2.js +7 -0
- package/dist/index20.cjs +2 -2
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +126 -48
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +2 -2
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +41 -31
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +2 -2
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +76 -46
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +2 -2
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +68 -185
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +2 -2
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +31 -28
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +2 -2
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +17 -132
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +2 -2
- package/dist/index26.cjs.map +1 -1
- package/dist/index26.js +17 -17
- package/dist/index26.js.map +1 -1
- package/dist/index27.cjs +2 -2
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +52 -36
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +2 -2
- package/dist/index28.cjs.map +1 -1
- package/dist/index28.js +10 -33
- package/dist/index28.js.map +1 -1
- package/dist/index29.cjs +2 -2
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +25 -135
- package/dist/index29.js.map +1 -1
- package/dist/index30.cjs +2 -2
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +66 -62
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +2 -2
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +22 -88
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +2 -2
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +30 -23
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +2 -2
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +97 -93
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +2 -2
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +19 -72
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +2 -2
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +81 -62
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +2 -2
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +14 -161
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +2 -2
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +44 -6
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +2 -2
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +22 -36
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +2 -2
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +71 -16
- package/dist/index39.js.map +1 -1
- package/dist/index4.cjs +2 -2
- package/dist/index4.cjs.map +1 -1
- package/dist/index4.js +18 -160
- package/dist/index4.js.map +1 -1
- package/dist/index40.cjs +2 -2
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +58 -120
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +2 -2
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +73 -16
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +2 -2
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +15 -10
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +2 -2
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +87 -5
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +2 -2
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +52 -26
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +2 -7
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +48 -238
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +2 -2
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +85 -17
- package/dist/index46.js.map +1 -1
- package/dist/index5.cjs +2 -2
- package/dist/index5.cjs.map +1 -1
- package/dist/index5.js +34 -80
- package/dist/index5.js.map +1 -1
- package/dist/index6.cjs +2 -2
- package/dist/index6.cjs.map +1 -1
- package/dist/index6.js +1586 -163
- package/dist/index6.js.map +1 -1
- package/dist/index7.cjs +2 -2
- package/dist/index7.cjs.map +1 -1
- package/dist/index7.js +14 -196
- package/dist/index7.js.map +1 -1
- package/dist/index8.cjs +2 -2
- package/dist/index8.cjs.map +1 -1
- package/dist/index8.js +23 -91
- package/dist/index8.js.map +1 -1
- package/dist/index9.cjs +7 -2
- package/dist/index9.cjs.map +1 -1
- package/dist/index9.js +162 -40
- package/dist/index9.js.map +1 -1
- package/package.json +22 -20
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index3.cjs +0 -2
- package/dist/index3.cjs.map +0 -1
- package/dist/index3.js +0 -87
- package/dist/index3.js.map +0 -1
- package/dist/index47.cjs +0 -2
- package/dist/index47.cjs.map +0 -1
- package/dist/index47.js +0 -2732
- package/dist/index47.js.map +0 -1
- package/dist/index48.cjs +0 -2
- package/dist/index48.cjs.map +0 -1
- package/dist/index48.js +0 -5
- package/dist/index48.js.map +0 -1
- package/dist/index49.cjs +0 -2
- package/dist/index49.cjs.map +0 -1
- package/dist/index49.js +0 -5
- package/dist/index49.js.map +0 -1
- /package/dist/{cosmik-theme.css → src/cosmik-theme.css} +0 -0
package/dist/index26.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use
|
|
2
|
-
//# sourceMappingURL=index26.cjs.map
|
|
1
|
+
"use client";const e=require("./index2.cjs"),t=require("./index7.cjs"),n=require("./index10.cjs");let r=require("react");r=e.__toESM(r,1);let i=require("@radix-ui/react-label");i=e.__toESM(i,1);var a=n.default;function o({className:e,...n}){return(0,a.jsx)(i.Root,{"data-slot":`label`,className:t.cn(`flex items-center gap-8 leading-none select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-64 peer-disabled:cursor-not-allowed peer-disabled:opacity-64`,e),...n})}exports.Label=o;
|
|
2
|
+
//# sourceMappingURL=index26.cjs.map
|
package/dist/index26.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index26.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index26.cjs","names":[],"sources":["../src/Label/index.tsx"],"sourcesContent":["'use client'\n\nimport * as LabelPrimitive from '@radix-ui/react-label'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nfunction Label({\n className,\n ...props\n}: React.ComponentProps<typeof LabelPrimitive.Root>) {\n return (\n <LabelPrimitive.Root\n data-slot=\"label\"\n className={cn(\n 'flex items-center gap-8 leading-none select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-64 peer-disabled:cursor-not-allowed peer-disabled:opacity-64',\n className\n )}\n {...props}\n />\n )\n}\n\nexport { Label }\n"],"mappings":"kNAMA,SAAS,EAAM,CACb,YACA,GAAG,GACgD,CACnD,OACE,EAAA,EAAA,KAAC,EAAe,KAAhB,CACE,YAAU,QACV,UAAW,EAAA,GACT,kMACA,CACF,EACA,GAAI,CACL,CAAA,CAEL"}
|
package/dist/index26.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
import { cn as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "./index7.js";
|
|
3
|
+
import { require_jsx_runtime as t } from "./index10.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import * as n from "@radix-ui/react-label";
|
|
6
|
+
//#region src/Label/index.tsx
|
|
7
|
+
var r = t();
|
|
8
|
+
function i({ className: t, ...i }) {
|
|
9
|
+
return /* @__PURE__ */ (0, r.jsx)(n.Root, {
|
|
10
|
+
"data-slot": "label",
|
|
11
|
+
className: e("flex items-center gap-8 leading-none select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-64 peer-disabled:cursor-not-allowed peer-disabled:opacity-64", t),
|
|
12
|
+
...i
|
|
13
|
+
});
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=index26.js.map
|
|
15
|
+
//#endregion
|
|
16
|
+
export { i as Label };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=index26.js.map
|
package/dist/index26.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index26.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index26.js","names":[],"sources":["../src/Label/index.tsx"],"sourcesContent":["'use client'\n\nimport * as LabelPrimitive from '@radix-ui/react-label'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nfunction Label({\n className,\n ...props\n}: React.ComponentProps<typeof LabelPrimitive.Root>) {\n return (\n <LabelPrimitive.Root\n data-slot=\"label\"\n className={cn(\n 'flex items-center gap-8 leading-none select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-64 peer-disabled:cursor-not-allowed peer-disabled:opacity-64',\n className\n )}\n {...props}\n />\n )\n}\n\nexport { Label }\n"],"mappings":";;;;;;;AAMA,SAAS,EAAM,EACb,cACA,GAAG,KACgD;CACnD,OACE,iBAAA,GAAA,EAAA,KAAC,EAAe,MAAhB;EACE,aAAU;EACV,WAAW,EACT,mMACA,CACF;EACA,GAAI;CACL,CAAA;AAEL"}
|
package/dist/index27.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
//# sourceMappingURL=index27.cjs.map
|
|
1
|
+
const e=require("./index2.cjs"),t=require("./index7.cjs"),n=require("./index10.cjs");let r=require("react");r=e.__toESM(r,1);var i=n.default;function a({children:e,className:n,isLoading:r,...a}){return(0,i.jsxs)(`div`,{className:t.cn(`flex h-full`,n),...a,children:[r&&(0,i.jsx)(o,{}),e]})}function o(){return(0,i.jsx)(`div`,{className:`fixed inset-0 bg-gray-400 z-60 h-4`,children:(0,i.jsx)(`div`,{className:`bg-chart-purple h-4 rounded-r animate-page-loader`})})}function s({className:e,...n}){return(0,i.jsx)(`aside`,{className:t.cn(`bg-white flex flex-col shrink-0 border-r border-gray-900/16 sticky h-screen`,e),...n})}function c({className:e,...n}){return(0,i.jsx)(`div`,{className:t.cn(`shrink-0`,e),...n})}function l({className:e,...n}){return(0,i.jsx)(`div`,{className:t.cn(`grow overflow-auto`,e),...n})}function u({className:e,...n}){return(0,i.jsx)(`main`,{className:t.cn(`flex flex-col grow justify-start bg-gray-50 sticky h-screen overflow-hidden`,e),...n})}function d({className:e,...n}){return(0,i.jsx)(`div`,{className:t.cn(`shrink-0 bg-white border-b border-gray-900/16`,e),...n})}exports.Layout=a,exports.LayoutContent=c,exports.LayoutMain=u,exports.LayoutScrollableContent=l,exports.LayoutSidebar=s,exports.LayoutTopbar=d;
|
|
2
|
+
//# sourceMappingURL=index27.cjs.map
|
package/dist/index27.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index27.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index27.cjs","names":[],"sources":["../src/Layout/index.tsx"],"sourcesContent":["import React from 'react'\nimport { cn } from '../lib/utils'\n\ntype LayoutProps = React.HTMLAttributes<HTMLDivElement> & {\n children: React.ReactNode\n className?: string\n}\n\nexport function Layout({\n children,\n className,\n isLoading,\n ...props\n}: LayoutProps & {\n isLoading?: boolean\n}) {\n return (\n <div className={cn('flex h-full', className)} {...props}>\n {isLoading && <LayoutPageLoader />}\n {children}\n </div>\n )\n}\n\nfunction LayoutPageLoader() {\n return (\n <div className=\"fixed inset-0 bg-gray-400 z-60 h-4\">\n <div className=\"bg-chart-purple h-4 rounded-r animate-page-loader\"></div>\n </div>\n )\n}\n\nexport function LayoutSidebar({ className, ...props }: LayoutProps) {\n return (\n <aside\n className={cn(\n 'bg-white flex flex-col shrink-0 border-r border-gray-900/16 sticky h-screen',\n className\n )}\n {...props}\n />\n )\n}\n\nexport function LayoutContent({ className, ...props }: LayoutProps) {\n return <div className={cn('shrink-0', className)} {...props} />\n}\n\nexport function LayoutScrollableContent({ className, ...props }: LayoutProps) {\n return <div className={cn('grow overflow-auto', className)} {...props} />\n}\n\nexport function LayoutMain({ className, ...props }: LayoutProps) {\n return (\n <main\n className={cn(\n 'flex flex-col grow justify-start bg-gray-50 sticky h-screen overflow-hidden',\n className\n )}\n {...props}\n />\n )\n}\n\nexport function LayoutTopbar({ className, ...props }: LayoutProps) {\n return (\n <div\n className={cn('shrink-0 bg-white border-b border-gray-900/16', className)}\n {...props}\n />\n )\n}\n"],"mappings":"6IAQA,SAAgB,EAAO,CACrB,WACA,YACA,YACA,GAAG,GAGF,CACD,OACE,EAAA,EAAA,MAAC,MAAD,CAAK,UAAW,EAAA,GAAG,cAAe,CAAS,EAAG,GAAI,WAAlD,CACG,IAAa,EAAA,EAAA,KAAC,EAAD,CAAmB,CAAA,EAChC,CACE,GAET,CAEA,SAAS,GAAmB,CAC1B,OACE,EAAA,EAAA,KAAC,MAAD,CAAK,UAAU,+CACb,EAAA,EAAA,KAAC,MAAD,CAAK,UAAU,mDAAyD,CAAA,CACrE,CAAA,CAET,CAEA,SAAgB,EAAc,CAAE,YAAW,GAAG,GAAsB,CAClE,OACE,EAAA,EAAA,KAAC,QAAD,CACE,UAAW,EAAA,GACT,8EACA,CACF,EACA,GAAI,CACL,CAAA,CAEL,CAEA,SAAgB,EAAc,CAAE,YAAW,GAAG,GAAsB,CAClE,OAAO,EAAA,EAAA,KAAC,MAAD,CAAK,UAAW,EAAA,GAAG,WAAY,CAAS,EAAG,GAAI,CAAQ,CAAA,CAChE,CAEA,SAAgB,EAAwB,CAAE,YAAW,GAAG,GAAsB,CAC5E,OAAO,EAAA,EAAA,KAAC,MAAD,CAAK,UAAW,EAAA,GAAG,qBAAsB,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC1E,CAEA,SAAgB,EAAW,CAAE,YAAW,GAAG,GAAsB,CAC/D,OACE,EAAA,EAAA,KAAC,OAAD,CACE,UAAW,EAAA,GACT,8EACA,CACF,EACA,GAAI,CACL,CAAA,CAEL,CAEA,SAAgB,EAAa,CAAE,YAAW,GAAG,GAAsB,CACjE,OACE,EAAA,EAAA,KAAC,MAAD,CACE,UAAW,EAAA,GAAG,gDAAiD,CAAS,EACxE,GAAI,CACL,CAAA,CAEL"}
|
package/dist/index27.js
CHANGED
|
@@ -1,36 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
36
|
-
|
|
1
|
+
import { cn as e } from "./index7.js";
|
|
2
|
+
import { require_jsx_runtime as t } from "./index10.js";
|
|
3
|
+
import "react";
|
|
4
|
+
//#region src/Layout/index.tsx
|
|
5
|
+
var n = t();
|
|
6
|
+
function r({ children: t, className: r, isLoading: a, ...o }) {
|
|
7
|
+
return /* @__PURE__ */ (0, n.jsxs)("div", {
|
|
8
|
+
className: e("flex h-full", r),
|
|
9
|
+
...o,
|
|
10
|
+
children: [a && /* @__PURE__ */ (0, n.jsx)(i, {}), t]
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function i() {
|
|
14
|
+
return /* @__PURE__ */ (0, n.jsx)("div", {
|
|
15
|
+
className: "fixed inset-0 bg-gray-400 z-60 h-4",
|
|
16
|
+
children: /* @__PURE__ */ (0, n.jsx)("div", { className: "bg-chart-purple h-4 rounded-r animate-page-loader" })
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function a({ className: t, ...r }) {
|
|
20
|
+
return /* @__PURE__ */ (0, n.jsx)("aside", {
|
|
21
|
+
className: e("bg-white flex flex-col shrink-0 border-r border-gray-900/16 sticky h-screen", t),
|
|
22
|
+
...r
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function o({ className: t, ...r }) {
|
|
26
|
+
return /* @__PURE__ */ (0, n.jsx)("div", {
|
|
27
|
+
className: e("shrink-0", t),
|
|
28
|
+
...r
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function s({ className: t, ...r }) {
|
|
32
|
+
return /* @__PURE__ */ (0, n.jsx)("div", {
|
|
33
|
+
className: e("grow overflow-auto", t),
|
|
34
|
+
...r
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function c({ className: t, ...r }) {
|
|
38
|
+
return /* @__PURE__ */ (0, n.jsx)("main", {
|
|
39
|
+
className: e("flex flex-col grow justify-start bg-gray-50 sticky h-screen overflow-hidden", t),
|
|
40
|
+
...r
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
function l({ className: t, ...r }) {
|
|
44
|
+
return /* @__PURE__ */ (0, n.jsx)("div", {
|
|
45
|
+
className: e("shrink-0 bg-white border-b border-gray-900/16", t),
|
|
46
|
+
...r
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { r as Layout, o as LayoutContent, c as LayoutMain, s as LayoutScrollableContent, a as LayoutSidebar, l as LayoutTopbar };
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=index27.js.map
|
package/dist/index27.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index27.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index27.js","names":[],"sources":["../src/Layout/index.tsx"],"sourcesContent":["import React from 'react'\nimport { cn } from '../lib/utils'\n\ntype LayoutProps = React.HTMLAttributes<HTMLDivElement> & {\n children: React.ReactNode\n className?: string\n}\n\nexport function Layout({\n children,\n className,\n isLoading,\n ...props\n}: LayoutProps & {\n isLoading?: boolean\n}) {\n return (\n <div className={cn('flex h-full', className)} {...props}>\n {isLoading && <LayoutPageLoader />}\n {children}\n </div>\n )\n}\n\nfunction LayoutPageLoader() {\n return (\n <div className=\"fixed inset-0 bg-gray-400 z-60 h-4\">\n <div className=\"bg-chart-purple h-4 rounded-r animate-page-loader\"></div>\n </div>\n )\n}\n\nexport function LayoutSidebar({ className, ...props }: LayoutProps) {\n return (\n <aside\n className={cn(\n 'bg-white flex flex-col shrink-0 border-r border-gray-900/16 sticky h-screen',\n className\n )}\n {...props}\n />\n )\n}\n\nexport function LayoutContent({ className, ...props }: LayoutProps) {\n return <div className={cn('shrink-0', className)} {...props} />\n}\n\nexport function LayoutScrollableContent({ className, ...props }: LayoutProps) {\n return <div className={cn('grow overflow-auto', className)} {...props} />\n}\n\nexport function LayoutMain({ className, ...props }: LayoutProps) {\n return (\n <main\n className={cn(\n 'flex flex-col grow justify-start bg-gray-50 sticky h-screen overflow-hidden',\n className\n )}\n {...props}\n />\n )\n}\n\nexport function LayoutTopbar({ className, ...props }: LayoutProps) {\n return (\n <div\n className={cn('shrink-0 bg-white border-b border-gray-900/16', className)}\n {...props}\n />\n )\n}\n"],"mappings":";;;;;AAQA,SAAgB,EAAO,EACrB,aACA,cACA,cACA,GAAG,KAGF;CACD,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAW,EAAG,eAAe,CAAS;EAAG,GAAI;YAAlD,CACG,KAAa,iBAAA,GAAA,EAAA,KAAC,GAAD,CAAmB,CAAA,GAChC,CACE;;AAET;AAEA,SAAS,IAAmB;CAC1B,OACE,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YACb,iBAAA,GAAA,EAAA,KAAC,OAAD,EAAK,WAAU,oDAAyD,CAAA;CACrE,CAAA;AAET;AAEA,SAAgB,EAAc,EAAE,cAAW,GAAG,KAAsB;CAClE,OACE,iBAAA,GAAA,EAAA,KAAC,SAAD;EACE,WAAW,EACT,+EACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAgB,EAAc,EAAE,cAAW,GAAG,KAAsB;CAClE,OAAO,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAW,EAAG,YAAY,CAAS;EAAG,GAAI;CAAQ,CAAA;AAChE;AAEA,SAAgB,EAAwB,EAAE,cAAW,GAAG,KAAsB;CAC5E,OAAO,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAW,EAAG,sBAAsB,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC1E;AAEA,SAAgB,EAAW,EAAE,cAAW,GAAG,KAAsB;CAC/D,OACE,iBAAA,GAAA,EAAA,KAAC,QAAD;EACE,WAAW,EACT,+EACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAgB,EAAa,EAAE,cAAW,GAAG,KAAsB;CACjE,OACE,iBAAA,GAAA,EAAA,KAAC,OAAD;EACE,WAAW,EAAG,iDAAiD,CAAS;EACxE,GAAI;CACL,CAAA;AAEL"}
|
package/dist/index28.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
//# sourceMappingURL=index28.cjs.map
|
|
1
|
+
const e=require("./index7.cjs");var t=require("./index10.cjs").default;function n({className:n}){return(0,t.jsx)(`div`,{className:e.cn(`absolute top-[18px] w-12 h-12 rounded-full bg-purple-700`,n)})}exports.default=n;
|
|
2
|
+
//# sourceMappingURL=index28.cjs.map
|
package/dist/index28.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index28.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index28.cjs","names":[],"sources":["../src/Loading/LoadingDot.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\n\ntype Props = {\n className?: string\n}\n\nexport default function LoadingDot({ className }: Props) {\n return (\n <div\n className={cn(\n 'absolute top-[18px] w-12 h-12 rounded-full bg-purple-700',\n className\n )}\n ></div>\n )\n}\n"],"mappings":"uEAMA,SAAwB,EAAW,CAAE,aAAoB,CACvD,OACE,EAAA,EAAA,KAAC,MAAD,CACE,UAAW,EAAA,GACT,2DACA,CACF,CACI,CAAA,CAEV"}
|
package/dist/index28.js
CHANGED
|
@@ -1,34 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}) {
|
|
8
|
-
return /* @__PURE__ */ t.jsx(
|
|
9
|
-
e.Root,
|
|
10
|
-
{
|
|
11
|
-
"data-slot": "switch",
|
|
12
|
-
className: a(
|
|
13
|
-
"peer inline-flex h-[20px] w-[36px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors disabled:cursor-not-allowed disabled:opacity-64",
|
|
14
|
-
"data-[state=checked]:bg-purple-700 data-[state=checked]:hover:bg-purple-800 data-[state=checked]:active:bg-purple-900",
|
|
15
|
-
"data-[state=unchecked]:bg-gray-900/16 data-[state=unchecked]:hover:bg-gray-900/24 data-[state=unchecked]:active:bg-gray-900/32",
|
|
16
|
-
r
|
|
17
|
-
),
|
|
18
|
-
...s,
|
|
19
|
-
children: /* @__PURE__ */ t.jsx(
|
|
20
|
-
e.Thumb,
|
|
21
|
-
{
|
|
22
|
-
"data-slot": "switch-thumb",
|
|
23
|
-
className: a(
|
|
24
|
-
"pointer-events-none block size-16 rounded-full bg-white shadow-lg transition-transform data-[state=checked]:translate-x-16 data-[state=unchecked]:translate-x-0"
|
|
25
|
-
)
|
|
26
|
-
}
|
|
27
|
-
)
|
|
28
|
-
}
|
|
29
|
-
);
|
|
1
|
+
import { cn as e } from "./index7.js";
|
|
2
|
+
import { require_jsx_runtime as t } from "./index10.js";
|
|
3
|
+
//#region src/Loading/LoadingDot.tsx
|
|
4
|
+
var n = t();
|
|
5
|
+
function r({ className: t }) {
|
|
6
|
+
return /* @__PURE__ */ (0, n.jsx)("div", { className: e("absolute top-[18px] w-12 h-12 rounded-full bg-purple-700", t) });
|
|
30
7
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
//# sourceMappingURL=index28.js.map
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as default };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=index28.js.map
|
package/dist/index28.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index28.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index28.js","names":[],"sources":["../src/Loading/LoadingDot.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\n\ntype Props = {\n className?: string\n}\n\nexport default function LoadingDot({ className }: Props) {\n return (\n <div\n className={cn(\n 'absolute top-[18px] w-12 h-12 rounded-full bg-purple-700',\n className\n )}\n ></div>\n )\n}\n"],"mappings":";;;;AAMA,SAAwB,EAAW,EAAE,gBAAoB;CACvD,OACE,iBAAA,GAAA,EAAA,KAAC,OAAD,EACE,WAAW,EACT,4DACA,CACF,EACI,CAAA;AAEV"}
|
package/dist/index29.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
//# sourceMappingURL=index29.cjs.map
|
|
1
|
+
const e=require("./index7.cjs"),t=require("./index10.cjs"),n=require("./index28.cjs");var r=t.default;function i({className:t}){return(0,r.jsx)(`div`,{role:`alert`,"aria-busy":!0,className:e.cn(`flex items-center justify-center`,t),children:(0,r.jsxs)(`div`,{className:`inline-block relative w-[76px] h-48`,children:[(0,r.jsx)(n.default,{className:`left-8 animate-loading-ellipsis1`}),(0,r.jsx)(n.default,{className:`left-8 animate-loading-ellipsis2`}),(0,r.jsx)(n.default,{className:`left-32 animate-loading-ellipsis2`}),(0,r.jsx)(n.default,{className:`left-[56px] animate-loading-ellipsis3`})]})})}exports.Loading=i;
|
|
2
|
+
//# sourceMappingURL=index29.cjs.map
|
package/dist/index29.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index29.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index29.cjs","names":[],"sources":["../src/Loading/index.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\nimport LoadingDot from './LoadingDot'\n\ntype Props = {\n className?: string\n}\n\nexport function Loading({ className }: Props) {\n return (\n <div\n role=\"alert\"\n aria-busy={true}\n className={cn('flex items-center justify-center', className)}\n >\n <div className=\"inline-block relative w-[76px] h-48\">\n <LoadingDot className=\"left-8 animate-loading-ellipsis1\" />\n <LoadingDot className=\"left-8 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-32 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-[56px] animate-loading-ellipsis3\" />\n </div>\n </div>\n )\n}\n"],"mappings":"sGAOA,SAAgB,EAAQ,CAAE,aAAoB,CAC5C,OACE,EAAA,EAAA,KAAC,MAAD,CACE,KAAK,QACL,YAAW,GACX,UAAW,EAAA,GAAG,mCAAoC,CAAS,YAE3D,EAAA,EAAA,MAAC,MAAD,CAAK,UAAU,+CAAf,EACE,EAAA,EAAA,KAAC,EAAA,QAAD,CAAY,UAAU,kCAAoC,CAAA,GAC1D,EAAA,EAAA,KAAC,EAAA,QAAD,CAAY,UAAU,kCAAoC,CAAA,GAC1D,EAAA,EAAA,KAAC,EAAA,QAAD,CAAY,UAAU,mCAAqC,CAAA,GAC3D,EAAA,EAAA,KAAC,EAAA,QAAD,CAAY,UAAU,uCAAyC,CAAA,CAC5D,GACF,CAAA,CAET"}
|
package/dist/index29.js
CHANGED
|
@@ -1,135 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
hoverable: e,
|
|
27
|
-
...o
|
|
28
|
-
}) {
|
|
29
|
-
return /* @__PURE__ */ a.jsx(
|
|
30
|
-
"tbody",
|
|
31
|
-
{
|
|
32
|
-
"data-slot": "table-body",
|
|
33
|
-
className: r(
|
|
34
|
-
"bg-white h-full",
|
|
35
|
-
{
|
|
36
|
-
"[&_tr:hover]:bg-gray-100 cursor-pointer": e
|
|
37
|
-
},
|
|
38
|
-
t
|
|
39
|
-
),
|
|
40
|
-
...o
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
function m({ className: t, ...e }) {
|
|
45
|
-
return /* @__PURE__ */ a.jsx(
|
|
46
|
-
"tfoot",
|
|
47
|
-
{
|
|
48
|
-
"data-slot": "table-footer",
|
|
49
|
-
className: r("bg-gray-100", t),
|
|
50
|
-
...e
|
|
51
|
-
}
|
|
52
|
-
);
|
|
53
|
-
}
|
|
54
|
-
function x({ className: t, ...e }) {
|
|
55
|
-
return /* @__PURE__ */ a.jsx(
|
|
56
|
-
"tr",
|
|
57
|
-
{
|
|
58
|
-
"data-slot": "table-row",
|
|
59
|
-
className: r(
|
|
60
|
-
"transition-colors data-[state=selected]:bg-gray-100",
|
|
61
|
-
t
|
|
62
|
-
),
|
|
63
|
-
...e
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
function h({
|
|
68
|
-
className: t,
|
|
69
|
-
children: e,
|
|
70
|
-
sortDirection: o,
|
|
71
|
-
...s
|
|
72
|
-
}) {
|
|
73
|
-
let l;
|
|
74
|
-
return o === "ASC" ? l = n : o === "DESC" && (l = d), /* @__PURE__ */ a.jsxs(
|
|
75
|
-
"th",
|
|
76
|
-
{
|
|
77
|
-
"data-slot": "table-head",
|
|
78
|
-
className: r(
|
|
79
|
-
"first:rounded-l first:pl-24",
|
|
80
|
-
"last:rounded-r last:pr-24",
|
|
81
|
-
"px-12 py-8 font-normal leading-14",
|
|
82
|
-
"whitespace-nowrap",
|
|
83
|
-
{
|
|
84
|
-
"cursor-pointer": !!s?.onClick
|
|
85
|
-
},
|
|
86
|
-
t
|
|
87
|
-
),
|
|
88
|
-
...s,
|
|
89
|
-
children: [
|
|
90
|
-
e,
|
|
91
|
-
l && /* @__PURE__ */ a.jsx(l, { size: 16, className: "inline-block ml-4" })
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
function g({ className: t, ...e }) {
|
|
97
|
-
return /* @__PURE__ */ a.jsx(
|
|
98
|
-
"td",
|
|
99
|
-
{
|
|
100
|
-
"data-slot": "table-cell",
|
|
101
|
-
className: r(
|
|
102
|
-
"first:rounded-l first:pl-24 first:border-l",
|
|
103
|
-
"last:rounded-r last:pr-24 last:border-r",
|
|
104
|
-
"border-gray-900/8 border-y px-12 h-[54px]",
|
|
105
|
-
"whitespace-nowrap",
|
|
106
|
-
t
|
|
107
|
-
),
|
|
108
|
-
...e
|
|
109
|
-
}
|
|
110
|
-
);
|
|
111
|
-
}
|
|
112
|
-
function y({
|
|
113
|
-
className: t,
|
|
114
|
-
...e
|
|
115
|
-
}) {
|
|
116
|
-
return /* @__PURE__ */ a.jsx(
|
|
117
|
-
"caption",
|
|
118
|
-
{
|
|
119
|
-
"data-slot": "table-caption",
|
|
120
|
-
className: r("mt-16 text-sm text-gray-700", t),
|
|
121
|
-
...e
|
|
122
|
-
}
|
|
123
|
-
);
|
|
124
|
-
}
|
|
125
|
-
export {
|
|
126
|
-
u as Table,
|
|
127
|
-
p as TableBody,
|
|
128
|
-
y as TableCaption,
|
|
129
|
-
g as TableCell,
|
|
130
|
-
m as TableFooter,
|
|
131
|
-
h as TableHead,
|
|
132
|
-
f as TableHeader,
|
|
133
|
-
x as TableRow
|
|
134
|
-
};
|
|
135
|
-
//# sourceMappingURL=index29.js.map
|
|
1
|
+
import { cn as e } from "./index7.js";
|
|
2
|
+
import { require_jsx_runtime as t } from "./index10.js";
|
|
3
|
+
import n from "./index28.js";
|
|
4
|
+
//#region src/Loading/index.tsx
|
|
5
|
+
var r = t();
|
|
6
|
+
function i({ className: t }) {
|
|
7
|
+
return /* @__PURE__ */ (0, r.jsx)("div", {
|
|
8
|
+
role: "alert",
|
|
9
|
+
"aria-busy": !0,
|
|
10
|
+
className: e("flex items-center justify-center", t),
|
|
11
|
+
children: /* @__PURE__ */ (0, r.jsxs)("div", {
|
|
12
|
+
className: "inline-block relative w-[76px] h-48",
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ (0, r.jsx)(n, { className: "left-8 animate-loading-ellipsis1" }),
|
|
15
|
+
/* @__PURE__ */ (0, r.jsx)(n, { className: "left-8 animate-loading-ellipsis2" }),
|
|
16
|
+
/* @__PURE__ */ (0, r.jsx)(n, { className: "left-32 animate-loading-ellipsis2" }),
|
|
17
|
+
/* @__PURE__ */ (0, r.jsx)(n, { className: "left-[56px] animate-loading-ellipsis3" })
|
|
18
|
+
]
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { i as Loading };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=index29.js.map
|
package/dist/index29.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index29.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index29.js","names":[],"sources":["../src/Loading/index.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\nimport LoadingDot from './LoadingDot'\n\ntype Props = {\n className?: string\n}\n\nexport function Loading({ className }: Props) {\n return (\n <div\n role=\"alert\"\n aria-busy={true}\n className={cn('flex items-center justify-center', className)}\n >\n <div className=\"inline-block relative w-[76px] h-48\">\n <LoadingDot className=\"left-8 animate-loading-ellipsis1\" />\n <LoadingDot className=\"left-8 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-32 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-[56px] animate-loading-ellipsis3\" />\n </div>\n </div>\n )\n}\n"],"mappings":";;;;;AAOA,SAAgB,EAAQ,EAAE,gBAAoB;CAC5C,OACE,iBAAA,GAAA,EAAA,KAAC,OAAD;EACE,MAAK;EACL,aAAW;EACX,WAAW,EAAG,oCAAoC,CAAS;YAE3D,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,WAAU;aAAf;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAY,WAAU,mCAAoC,CAAA;IAC1D,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAY,WAAU,mCAAoC,CAAA;IAC1D,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAY,WAAU,oCAAqC,CAAA;IAC3D,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAY,WAAU,wCAAyC,CAAA;GAC5D;;CACF,CAAA;AAET"}
|
package/dist/index30.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
//# sourceMappingURL=index30.cjs.map
|
|
1
|
+
const e=require("./index2.cjs"),t=require("./index7.cjs"),n=require("./index10.cjs"),r=require("./index12.cjs");let i=require("lucide-react"),a=require("react");a=e.__toESM(a,1);var o=n.default;function s({className:e,...n}){return(0,o.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:t.cn(`mx-auto flex w-full justify-center`,e),...n})}function c({className:e,...n}){return(0,o.jsx)(`ul`,{"data-slot":`pagination-content`,className:t.cn(`flex flex-row items-center gap-8`,e),...n})}function l({...e}){return(0,o.jsx)(`li`,{"data-slot":`pagination-item`,...e})}function u({className:e,isActive:n,...i}){return(0,o.jsx)(r.Button,{"aria-current":n?`page`:void 0,"data-slot":`pagination-button`,"data-active":n,variant:`filled`,intent:n?`primary`:`secondary`,size:`icon`,className:t.cn({"bg-purple-800 hover:bg-purple-800 focus:bg-purple-800 active:bg-purple-800":n},e),...i})}function d({className:e,...t}){return(0,o.jsx)(u,{"aria-label":`Go to previous page`,className:e,...t,children:(0,o.jsx)(i.ChevronLeftIcon,{className:`size-16`})})}function f({className:e,...t}){return(0,o.jsx)(u,{"aria-label":`Go to next page`,className:e,...t,children:(0,o.jsx)(i.ChevronRightIcon,{className:`size-16`})})}function p({className:e,...n}){return(0,o.jsx)(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:t.cn(`flex size-32 items-center justify-center`,e),...n,children:(0,o.jsx)(i.MoreHorizontalIcon,{className:`size-16`})})}exports.Pagination=s,exports.PaginationButton=u,exports.PaginationContent=c,exports.PaginationEllipsis=p,exports.PaginationItem=l,exports.PaginationNext=f,exports.PaginationPrevious=d;
|
|
2
|
+
//# sourceMappingURL=index30.cjs.map
|
package/dist/index30.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index30.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index30.cjs","names":[],"sources":["../src/Pagination/index.tsx"],"sourcesContent":["import {\n ChevronLeftIcon,\n ChevronRightIcon,\n MoreHorizontalIcon\n} from 'lucide-react'\nimport * as React from 'react'\nimport { Button } from '../Button'\nimport { cn } from '../lib/utils'\n\nfunction Pagination({ className, ...props }: React.ComponentProps<'nav'>) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n )\n}\n\nfunction PaginationContent({\n className,\n ...props\n}: React.ComponentProps<'ul'>) {\n return (\n <ul\n data-slot=\"pagination-content\"\n className={cn('flex flex-row items-center gap-8', className)}\n {...props}\n />\n )\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"pagination-item\" {...props} />\n}\n\ntype PaginationButtonProps = {\n isActive?: boolean\n} & React.ComponentProps<typeof Button>\n\nfunction PaginationButton({\n className,\n isActive,\n ...props\n}: PaginationButtonProps) {\n return (\n <Button\n aria-current={isActive ? 'page' : undefined}\n data-slot=\"pagination-button\"\n data-active={isActive}\n variant=\"filled\"\n intent={isActive ? 'primary' : 'secondary'}\n size=\"icon\"\n className={cn(\n {\n 'bg-purple-800 hover:bg-purple-800 focus:bg-purple-800 active:bg-purple-800':\n isActive\n },\n className\n )}\n {...props}\n />\n )\n}\n\nfunction PaginationPrevious({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationButton>) {\n return (\n <PaginationButton\n aria-label=\"Go to previous page\"\n className={className}\n {...props}\n >\n <ChevronLeftIcon className=\"size-16\" />\n </PaginationButton>\n )\n}\n\nfunction PaginationNext({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationButton>) {\n return (\n <PaginationButton\n aria-label=\"Go to next page\"\n className={className}\n {...props}\n >\n <ChevronRightIcon className=\"size-16\" />\n </PaginationButton>\n )\n}\n\nfunction PaginationEllipsis({\n className,\n ...props\n}: React.ComponentProps<'span'>) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn('flex size-32 items-center justify-center', className)}\n {...props}\n >\n <MoreHorizontalIcon className=\"size-16\" />\n </span>\n )\n}\n\nexport {\n Pagination,\n PaginationButton,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationNext,\n PaginationPrevious\n}\n"],"mappings":"kMASA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OACE,EAAA,EAAA,KAAC,MAAD,CACE,KAAK,aACL,aAAW,aACX,YAAU,aACV,UAAW,EAAA,GAAG,qCAAsC,CAAS,EAC7D,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAkB,CACzB,YACA,GAAG,GAC0B,CAC7B,OACE,EAAA,EAAA,KAAC,KAAD,CACE,YAAU,qBACV,UAAW,EAAA,GAAG,mCAAoC,CAAS,EAC3D,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAe,CAAE,GAAG,GAAqC,CAChE,OAAO,EAAA,EAAA,KAAC,KAAD,CAAI,YAAU,kBAAkB,GAAI,CAAQ,CAAA,CACrD,CAMA,SAAS,EAAiB,CACxB,YACA,WACA,GAAG,GACqB,CACxB,OACE,EAAA,EAAA,KAAC,EAAA,OAAD,CACE,eAAc,EAAW,OAAS,IAAA,GAClC,YAAU,oBACV,cAAa,EACb,QAAQ,SACR,OAAQ,EAAW,UAAY,YAC/B,KAAK,OACL,UAAW,EAAA,GACT,CACE,6EACE,CACJ,EACA,CACF,EACA,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAmB,CAC1B,YACA,GAAG,GAC6C,CAChD,OACE,EAAA,EAAA,KAAC,EAAD,CACE,aAAW,sBACA,YACX,GAAI,YAEJ,EAAA,EAAA,KAAC,EAAA,gBAAD,CAAiB,UAAU,SAAW,CAAA,CACtB,CAAA,CAEtB,CAEA,SAAS,EAAe,CACtB,YACA,GAAG,GAC6C,CAChD,OACE,EAAA,EAAA,KAAC,EAAD,CACE,aAAW,kBACA,YACX,GAAI,YAEJ,EAAA,EAAA,KAAC,EAAA,iBAAD,CAAkB,UAAU,SAAW,CAAA,CACvB,CAAA,CAEtB,CAEA,SAAS,EAAmB,CAC1B,YACA,GAAG,GAC4B,CAC/B,OACE,EAAA,EAAA,KAAC,OAAD,CACE,cAAA,GACA,YAAU,sBACV,UAAW,EAAA,GAAG,2CAA4C,CAAS,EACnE,GAAI,YAEJ,EAAA,EAAA,KAAC,EAAA,mBAAD,CAAoB,UAAU,SAAW,CAAA,CACrC,CAAA,CAEV"}
|