@incognia/cosmik 1.0.11 → 1.1.1
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 +70 -193
- package/dist/index10.js.map +1 -1
- package/dist/index11.cjs +2 -2
- package/dist/index11.cjs.map +1 -1
- package/dist/index11.js +97 -139
- package/dist/index11.js.map +1 -1
- package/dist/index12.cjs +2 -2
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +57 -229
- package/dist/index12.js.map +1 -1
- package/dist/index13.cjs +2 -2
- package/dist/index13.cjs.map +1 -1
- package/dist/index13.js +22 -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 +89 -25
- package/dist/index14.js.map +1 -1
- package/dist/index15.cjs +2 -2
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +89 -26
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +2 -2
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +125 -23
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +2 -2
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +37 -60
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +2 -2
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +75 -22
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +2 -2
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +68 -108
- package/dist/index19.js.map +1 -1
- package/dist/index2.cjs +1 -0
- package/dist/index20.cjs +2 -2
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +28 -45
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +2 -2
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +15 -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 +16 -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 +51 -186
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +2 -2
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +9 -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 +24 -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 +68 -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 +22 -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 +29 -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 +89 -127
- package/dist/index29.js.map +1 -1
- package/dist/index3.js +16 -85
- package/dist/index3.js.map +1 -1
- package/dist/index30.cjs +2 -2
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +18 -65
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +2 -2
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +82 -87
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +2 -2
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +12 -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 +44 -94
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +2 -2
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +20 -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 +66 -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 +59 -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 +73 -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 +15 -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 +86 -15
- package/dist/index39.js.map +1 -1
- package/dist/index4.cjs +2 -2
- package/dist/index4.cjs.map +1 -1
- package/dist/index4.js +34 -159
- package/dist/index4.js.map +1 -1
- package/dist/index40.cjs +2 -2
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +51 -119
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +2 -2
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +48 -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 +84 -11
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +2 -2
- package/dist/index43.cjs.map +1 -1
- package/dist/index5.cjs +2 -2
- package/dist/index5.cjs.map +1 -1
- package/dist/index5.js +1586 -79
- package/dist/index5.js.map +1 -1
- package/dist/index6.cjs +2 -2
- package/dist/index6.cjs.map +1 -1
- package/dist/index6.js +15 -164
- package/dist/index6.js.map +1 -1
- package/dist/index7.cjs +2 -2
- package/dist/index7.cjs.map +1 -1
- package/dist/index7.js +60 -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 +156 -90
- package/dist/index8.js.map +1 -1
- package/dist/index9.cjs +2 -2
- package/dist/index9.cjs.map +1 -1
- package/dist/index9.js +92 -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/index43.js +0 -5
- package/dist/index43.js.map +0 -1
- package/dist/index44.cjs +0 -2
- package/dist/index44.cjs.map +0 -1
- package/dist/index44.js +0 -27
- package/dist/index44.js.map +0 -1
- package/dist/index45.cjs +0 -7
- package/dist/index45.cjs.map +0 -1
- package/dist/index45.js +0 -239
- package/dist/index45.js.map +0 -1
- package/dist/index46.cjs +0 -2
- package/dist/index46.cjs.map +0 -1
- package/dist/index46.js +0 -17
- package/dist/index46.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.js
CHANGED
|
@@ -1,18 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { cn as e } from "./index6.js";
|
|
2
|
+
import { Button as t } from "./index8.js";
|
|
3
|
+
import { ChevronLeftIcon as n, ChevronRightIcon as r, MoreHorizontalIcon as i } from "lucide-react";
|
|
4
|
+
import "react";
|
|
5
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
6
|
+
//#region src/Pagination/index.tsx
|
|
7
|
+
function o({ className: t, ...n }) {
|
|
8
|
+
return /* @__PURE__ */ a("nav", {
|
|
9
|
+
role: "navigation",
|
|
10
|
+
"aria-label": "pagination",
|
|
11
|
+
"data-slot": "pagination",
|
|
12
|
+
className: e("mx-auto flex w-full justify-center", t),
|
|
13
|
+
...n
|
|
14
|
+
});
|
|
14
15
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
function s({ className: t, ...n }) {
|
|
17
|
+
return /* @__PURE__ */ a("ul", {
|
|
18
|
+
"data-slot": "pagination-content",
|
|
19
|
+
className: e("flex flex-row items-center gap-8", t),
|
|
20
|
+
...n
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function c({ ...e }) {
|
|
24
|
+
return /* @__PURE__ */ a("li", {
|
|
25
|
+
"data-slot": "pagination-item",
|
|
26
|
+
...e
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function l({ className: n, isActive: r, ...i }) {
|
|
30
|
+
return /* @__PURE__ */ a(t, {
|
|
31
|
+
"aria-current": r ? "page" : void 0,
|
|
32
|
+
"data-slot": "pagination-button",
|
|
33
|
+
"data-active": r,
|
|
34
|
+
variant: "filled",
|
|
35
|
+
intent: r ? "primary" : "secondary",
|
|
36
|
+
size: "icon",
|
|
37
|
+
className: e({ "bg-purple-800 hover:bg-purple-800 focus:bg-purple-800 active:bg-purple-800": r }, n),
|
|
38
|
+
...i
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function u({ className: e, ...t }) {
|
|
42
|
+
return /* @__PURE__ */ a(l, {
|
|
43
|
+
"aria-label": "Go to previous page",
|
|
44
|
+
className: e,
|
|
45
|
+
...t,
|
|
46
|
+
children: /* @__PURE__ */ a(n, { className: "size-16" })
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function d({ className: e, ...t }) {
|
|
50
|
+
return /* @__PURE__ */ a(l, {
|
|
51
|
+
"aria-label": "Go to next page",
|
|
52
|
+
className: e,
|
|
53
|
+
...t,
|
|
54
|
+
children: /* @__PURE__ */ a(r, { className: "size-16" })
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
function f({ className: t, ...n }) {
|
|
58
|
+
return /* @__PURE__ */ a("span", {
|
|
59
|
+
"aria-hidden": !0,
|
|
60
|
+
"data-slot": "pagination-ellipsis",
|
|
61
|
+
className: e("flex size-32 items-center justify-center", t),
|
|
62
|
+
...n,
|
|
63
|
+
children: /* @__PURE__ */ a(i, { className: "size-16" })
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
export { o as Pagination, l as PaginationButton, s as PaginationContent, f as PaginationEllipsis, c as PaginationItem, d as PaginationNext, u as PaginationPrevious };
|
|
68
|
+
|
|
69
|
+
//# 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/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":";;;;;;AASA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,kBAAC,OAAD;EACE,MAAK;EACL,cAAW;EACX,aAAU;EACV,WAAW,EAAG,sCAAsC,CAAS;EAC7D,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAkB,EACzB,cACA,GAAG,KAC0B;CAC7B,OACE,kBAAC,MAAD;EACE,aAAU;EACV,WAAW,EAAG,oCAAoC,CAAS;EAC3D,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAe,EAAE,GAAG,KAAqC;CAChE,OAAO,kBAAC,MAAD;EAAI,aAAU;EAAkB,GAAI;CAAQ,CAAA;AACrD;AAMA,SAAS,EAAiB,EACxB,cACA,aACA,GAAG,KACqB;CACxB,OACE,kBAAC,GAAD;EACE,gBAAc,IAAW,SAAS,KAAA;EAClC,aAAU;EACV,eAAa;EACb,SAAQ;EACR,QAAQ,IAAW,YAAY;EAC/B,MAAK;EACL,WAAW,EACT,EACE,8EACE,EACJ,GACA,CACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAmB,EAC1B,cACA,GAAG,KAC6C;CAChD,OACE,kBAAC,GAAD;EACE,cAAW;EACA;EACX,GAAI;YAEJ,kBAAC,GAAD,EAAiB,WAAU,UAAW,CAAA;CACtB,CAAA;AAEtB;AAEA,SAAS,EAAe,EACtB,cACA,GAAG,KAC6C;CAChD,OACE,kBAAC,GAAD;EACE,cAAW;EACA;EACX,GAAI;YAEJ,kBAAC,GAAD,EAAkB,WAAU,UAAW,CAAA;CACvB,CAAA;AAEtB;AAEA,SAAS,EAAmB,EAC1B,cACA,GAAG,KAC4B;CAC/B,OACE,kBAAC,QAAD;EACE,eAAA;EACA,aAAU;EACV,WAAW,EAAG,4CAA4C,CAAS;EACnE,GAAI;YAEJ,kBAAC,GAAD,EAAoB,WAAU,UAAW,CAAA;CACrC,CAAA;AAEV"}
|
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("./index9.cjs");let r=require("lucide-react"),i=require("react");i=e.__toESM(i,1);let a=require("react/jsx-runtime");function o({className:e,...n}){return(0,a.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:t.cn(`mx-auto flex w-full justify-center`,e),...n})}function s({className:e,...n}){return(0,a.jsx)(`ul`,{"data-slot":`pagination-content`,className:t.cn(`flex flex-row items-center gap-8`,e),...n})}function c({...e}){return(0,a.jsx)(`li`,{"data-slot":`pagination-item`,...e})}function l({className:e,isActive:r,...i}){return(0,a.jsx)(n.Button,{"aria-current":r?`page`:void 0,"data-slot":`pagination-button`,"data-active":r,variant:`filled`,intent:r?`primary`:`secondary`,size:`icon`,className:t.cn({"bg-purple-800 hover:bg-purple-800 focus:bg-purple-800 active:bg-purple-800":r},e),...i})}function u({className:e,...t}){return(0,a.jsx)(l,{"aria-label":`Go to previous page`,className:e,...t,children:(0,a.jsx)(r.ChevronLeftIcon,{className:`size-16`})})}function d({className:e,...t}){return(0,a.jsx)(l,{"aria-label":`Go to next page`,className:e,...t,children:(0,a.jsx)(r.ChevronRightIcon,{className:`size-16`})})}function f({className:e,...n}){return(0,a.jsx)(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:t.cn(`flex size-32 items-center justify-center`,e),...n,children:(0,a.jsx)(r.MoreHorizontalIcon,{className:`size-16`})})}exports.Pagination=o,exports.PaginationButton=l,exports.PaginationContent=s,exports.PaginationEllipsis=f,exports.PaginationItem=c,exports.PaginationNext=d,exports.PaginationPrevious=u;
|
|
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/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":"yLASA,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"}
|
package/dist/index27.js
CHANGED
|
@@ -1,36 +1,22 @@
|
|
|
1
|
-
|
|
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
|
-
icons: {
|
|
25
|
-
success: /* @__PURE__ */ e.jsx(n, { size: 20, className: "text-green-800" }),
|
|
26
|
-
warning: /* @__PURE__ */ e.jsx(a, { size: 20, className: "text-yellow-600" }),
|
|
27
|
-
error: /* @__PURE__ */ e.jsx(o, { size: 20, className: "text-magenta-600" }),
|
|
28
|
-
close: /* @__PURE__ */ e.jsx(r, { size: 16 })
|
|
29
|
-
},
|
|
30
|
-
...s
|
|
31
|
-
}
|
|
32
|
-
);
|
|
33
|
-
export {
|
|
34
|
-
u as Toaster
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=index27.js.map
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "./index6.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
5
|
+
import * as n from "@radix-ui/react-progress";
|
|
6
|
+
//#region src/Progress/index.tsx
|
|
7
|
+
function r({ className: r, value: i, ...a }) {
|
|
8
|
+
return /* @__PURE__ */ t(n.Root, {
|
|
9
|
+
"data-slot": "progress",
|
|
10
|
+
className: e("relative h-16 w-full overflow-hidden rounded-full bg-gray-900/8", r),
|
|
11
|
+
...a,
|
|
12
|
+
children: /* @__PURE__ */ t(n.Indicator, {
|
|
13
|
+
"data-slot": "progress-indicator",
|
|
14
|
+
className: "h-full w-full flex-1 bg-purple-700 transition-all",
|
|
15
|
+
style: { transform: `translateX(-${100 - (i || 0)}%)` }
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { r as Progress };
|
|
21
|
+
|
|
22
|
+
//# 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/Progress/index.tsx"],"sourcesContent":["'use client'\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nfunction Progress({\n className,\n value,\n ...props\n}: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n className={cn(\n 'relative h-16 w-full overflow-hidden rounded-full bg-gray-900/8',\n className\n )}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"h-full w-full flex-1 bg-purple-700 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n )\n}\n\nexport { Progress }\n"],"mappings":";;;;;;AAMA,SAAS,EAAS,EAChB,cACA,UACA,GAAG,KACmD;CACtD,OACE,kBAAC,EAAkB,MAAnB;EACE,aAAU;EACV,WAAW,EACT,mEACA,CACF;EACA,GAAI;YAEJ,kBAAC,EAAkB,WAAnB;GACE,aAAU;GACV,WAAU;GACV,OAAO,EAAE,WAAW,eAAe,OAAO,KAAS,GAAG,IAAI;EAC3D,CAAA;CACqB,CAAA;AAE5B"}
|
package/dist/index28.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use
|
|
2
|
-
//# sourceMappingURL=index28.cjs.map
|
|
1
|
+
"use client";const e=require("./index2.cjs"),t=require("./index7.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime"),i=require("@radix-ui/react-progress");i=e.__toESM(i,1);function a({className:e,value:n,...a}){return(0,r.jsx)(i.Root,{"data-slot":`progress`,className:t.cn(`relative h-16 w-full overflow-hidden rounded-full bg-gray-900/8`,e),...a,children:(0,r.jsx)(i.Indicator,{"data-slot":`progress-indicator`,className:`h-full w-full flex-1 bg-purple-700 transition-all`,style:{transform:`translateX(-${100-(n||0)}%)`}})})}exports.Progress=a;
|
|
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/Progress/index.tsx"],"sourcesContent":["'use client'\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nfunction Progress({\n className,\n value,\n ...props\n}: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n className={cn(\n 'relative h-16 w-full overflow-hidden rounded-full bg-gray-900/8',\n className\n )}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"h-full w-full flex-1 bg-purple-700 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n )\n}\n\nexport { Progress }\n"],"mappings":"yMAMA,SAAS,EAAS,CAChB,YACA,QACA,GAAG,GACmD,CACtD,OACE,EAAA,EAAA,KAAC,EAAkB,KAAnB,CACE,YAAU,WACV,UAAW,EAAA,GACT,kEACA,CACF,EACA,GAAI,YAEJ,EAAA,EAAA,KAAC,EAAkB,UAAnB,CACE,YAAU,qBACV,UAAU,oDACV,MAAO,CAAE,UAAW,eAAe,KAAO,GAAS,GAAG,GAAI,CAC3D,CAAA,CACqB,CAAA,CAE5B"}
|
package/dist/index28.js
CHANGED
|
@@ -1,34 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
+
"use client";
|
|
2
|
+
import { cn as e } from "./index6.js";
|
|
3
|
+
import { CircleIcon as t } from "lucide-react";
|
|
4
|
+
import "react";
|
|
5
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
6
|
+
import * as r from "@radix-ui/react-radio-group";
|
|
7
|
+
//#region src/RadioGroup/index.tsx
|
|
8
|
+
function i({ className: t, ...i }) {
|
|
9
|
+
return /* @__PURE__ */ n(r.Root, {
|
|
10
|
+
"data-slot": "radio-group",
|
|
11
|
+
className: e("grid gap-8", t),
|
|
12
|
+
...i
|
|
13
|
+
});
|
|
30
14
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
15
|
+
function a({ className: i, ...a }) {
|
|
16
|
+
return /* @__PURE__ */ n(r.Item, {
|
|
17
|
+
"data-slot": "radio-group-item",
|
|
18
|
+
className: e("aspect-square bg-white peer group h-16 w-16 rounded-full border border-gray-900/16 hover:bg-gray-900/8 active:bg-gray-900/16 disabled:cursor-not-allowed disabled:opacity-64 disabled:bg-white", "data-[state=checked]:bg-white data-[state=checked]:border-purple-700 data-[state=checked]:hover:border-purple-800 data-[state=checked]:active:border-purple-900", i),
|
|
19
|
+
...a,
|
|
20
|
+
children: /* @__PURE__ */ n(r.Indicator, {
|
|
21
|
+
"data-slot": "radio-group-indicator",
|
|
22
|
+
className: "relative flex items-center justify-center",
|
|
23
|
+
children: /* @__PURE__ */ n(t, { className: "fill-purple-700 text-purple-700 group-hover:fill-purple-800 group-hover:text-purple-800 group-active:fill-purple-900 group-active:text-purple-900 absolute top-1/2 left-1/2 size-[10px] -translate-x-1/2 -translate-y-1/2" })
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
export { i as RadioGroup, a as RadioGroupItem };
|
|
29
|
+
|
|
30
|
+
//# 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/RadioGroup/index.tsx"],"sourcesContent":["'use client'\n\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport { CircleIcon } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nfunction RadioGroup({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return (\n <RadioGroupPrimitive.Root\n data-slot=\"radio-group\"\n className={cn('grid gap-8', className)}\n {...props}\n />\n )\n}\n\nfunction RadioGroupItem({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n 'aspect-square bg-white peer group h-16 w-16 rounded-full border border-gray-900/16 hover:bg-gray-900/8 active:bg-gray-900/16 disabled:cursor-not-allowed disabled:opacity-64 disabled:bg-white',\n 'data-[state=checked]:bg-white data-[state=checked]:border-purple-700 data-[state=checked]:hover:border-purple-800 data-[state=checked]:active:border-purple-900',\n\n className\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"relative flex items-center justify-center\"\n >\n <CircleIcon className=\"fill-purple-700 text-purple-700 group-hover:fill-purple-800 group-hover:text-purple-800 group-active:fill-purple-900 group-active:text-purple-900 absolute top-1/2 left-1/2 size-[10px] -translate-x-1/2 -translate-y-1/2\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n )\n}\n\nexport { RadioGroup, RadioGroupItem }\n"],"mappings":";;;;;;;AAOA,SAAS,EAAW,EAClB,cACA,GAAG,KACqD;CACxD,OACE,kBAAC,EAAoB,MAArB;EACE,aAAU;EACV,WAAW,EAAG,cAAc,CAAS;EACrC,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAe,EACtB,cACA,GAAG,KACqD;CACxD,OACE,kBAAC,EAAoB,MAArB;EACE,aAAU;EACV,WAAW,EACT,kMACA,mKAEA,CACF;EACA,GAAI;YAEJ,kBAAC,EAAoB,WAArB;GACE,aAAU;GACV,WAAU;aAEV,kBAAC,GAAD,EAAY,WAAU,4NAA6N,CAAA;EACtN,CAAA;CACP,CAAA;AAE9B"}
|
package/dist/index29.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use
|
|
2
|
-
//# sourceMappingURL=index29.cjs.map
|
|
1
|
+
"use client";const e=require("./index2.cjs"),t=require("./index7.cjs");let n=require("lucide-react"),r=require("react");r=e.__toESM(r,1);let i=require("react/jsx-runtime"),a=require("@radix-ui/react-radio-group");a=e.__toESM(a,1);function o({className:e,...n}){return(0,i.jsx)(a.Root,{"data-slot":`radio-group`,className:t.cn(`grid gap-8`,e),...n})}function s({className:e,...r}){return(0,i.jsx)(a.Item,{"data-slot":`radio-group-item`,className:t.cn(`aspect-square bg-white peer group h-16 w-16 rounded-full border border-gray-900/16 hover:bg-gray-900/8 active:bg-gray-900/16 disabled:cursor-not-allowed disabled:opacity-64 disabled:bg-white`,`data-[state=checked]:bg-white data-[state=checked]:border-purple-700 data-[state=checked]:hover:border-purple-800 data-[state=checked]:active:border-purple-900`,e),...r,children:(0,i.jsx)(a.Indicator,{"data-slot":`radio-group-indicator`,className:`relative flex items-center justify-center`,children:(0,i.jsx)(n.CircleIcon,{className:`fill-purple-700 text-purple-700 group-hover:fill-purple-800 group-hover:text-purple-800 group-active:fill-purple-900 group-active:text-purple-900 absolute top-1/2 left-1/2 size-[10px] -translate-x-1/2 -translate-y-1/2`})})})}exports.RadioGroup=o,exports.RadioGroupItem=s;
|
|
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/RadioGroup/index.tsx"],"sourcesContent":["'use client'\n\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport { CircleIcon } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nfunction RadioGroup({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return (\n <RadioGroupPrimitive.Root\n data-slot=\"radio-group\"\n className={cn('grid gap-8', className)}\n {...props}\n />\n )\n}\n\nfunction RadioGroupItem({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n 'aspect-square bg-white peer group h-16 w-16 rounded-full border border-gray-900/16 hover:bg-gray-900/8 active:bg-gray-900/16 disabled:cursor-not-allowed disabled:opacity-64 disabled:bg-white',\n 'data-[state=checked]:bg-white data-[state=checked]:border-purple-700 data-[state=checked]:hover:border-purple-800 data-[state=checked]:active:border-purple-900',\n\n className\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"relative flex items-center justify-center\"\n >\n <CircleIcon className=\"fill-purple-700 text-purple-700 group-hover:fill-purple-800 group-hover:text-purple-800 group-active:fill-purple-900 group-active:text-purple-900 absolute top-1/2 left-1/2 size-[10px] -translate-x-1/2 -translate-y-1/2\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n )\n}\n\nexport { RadioGroup, RadioGroupItem }\n"],"mappings":"sOAOA,SAAS,EAAW,CAClB,YACA,GAAG,GACqD,CACxD,OACE,EAAA,EAAA,KAAC,EAAoB,KAArB,CACE,YAAU,cACV,UAAW,EAAA,GAAG,aAAc,CAAS,EACrC,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAe,CACtB,YACA,GAAG,GACqD,CACxD,OACE,EAAA,EAAA,KAAC,EAAoB,KAArB,CACE,YAAU,mBACV,UAAW,EAAA,GACT,iMACA,kKAEA,CACF,EACA,GAAI,YAEJ,EAAA,EAAA,KAAC,EAAoB,UAArB,CACE,YAAU,wBACV,UAAU,sDAEV,EAAA,EAAA,KAAC,EAAA,WAAD,CAAY,UAAU,2NAA6N,CAAA,CACtN,CAAA,CACP,CAAA,CAE9B"}
|
package/dist/index29.js
CHANGED
|
@@ -1,135 +1,97 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "./index6.js";
|
|
3
|
+
import { CheckIcon as t, ChevronDownIcon as n, ChevronUpIcon as r } from "lucide-react";
|
|
4
|
+
import "react";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
import * as o from "@radix-ui/react-select";
|
|
7
|
+
//#region src/Select/index.tsx
|
|
8
|
+
function s({ ...e }) {
|
|
9
|
+
return /* @__PURE__ */ i(o.Root, {
|
|
10
|
+
"data-slot": "select",
|
|
11
|
+
...e
|
|
12
|
+
});
|
|
13
13
|
}
|
|
14
|
-
function
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
className: r("bg-gray-200 text-left text-sm", t),
|
|
20
|
-
...e
|
|
21
|
-
}
|
|
22
|
-
);
|
|
14
|
+
function c({ ...e }) {
|
|
15
|
+
return /* @__PURE__ */ i(o.Group, {
|
|
16
|
+
"data-slot": "select-group",
|
|
17
|
+
...e
|
|
18
|
+
});
|
|
23
19
|
}
|
|
24
|
-
function
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
);
|
|
20
|
+
function l({ ...e }) {
|
|
21
|
+
return /* @__PURE__ */ i(o.Value, {
|
|
22
|
+
"data-slot": "select-value",
|
|
23
|
+
...e
|
|
24
|
+
});
|
|
43
25
|
}
|
|
44
|
-
function
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
26
|
+
function u({ className: t, children: r, ...s }) {
|
|
27
|
+
return /* @__PURE__ */ a(o.Trigger, {
|
|
28
|
+
"data-slot": "select-trigger",
|
|
29
|
+
className: e("border border-gray-900/24 data-[placeholder]:text-gray-700 [&_svg:not([class*='text-'])]:text-gray-700", "focus-visible:outline-none focus:shadow-field-active", "flex h-[36px] w-full items-center justify-between rounded bg-white pl-16 pr-12 text-left whitespace-nowrap transition-[color,box-shadow]", "disabled:cursor-not-allowed disabled:opacity-64 disabled:shadow-none", "*:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-8", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-16", "hover:shadow-field-hover", "active:shadow-field-active", "data-[state=open]:shadow-field-active", t),
|
|
30
|
+
...s,
|
|
31
|
+
children: [r, /* @__PURE__ */ i(o.Icon, {
|
|
32
|
+
asChild: !0,
|
|
33
|
+
children: /* @__PURE__ */ i(n, { className: "size-16 opacity-64 shrink-0 ml-4" })
|
|
34
|
+
})]
|
|
35
|
+
});
|
|
53
36
|
}
|
|
54
|
-
function
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
37
|
+
function d({ className: t, children: n, position: r = "popper", ...s }) {
|
|
38
|
+
return /* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ a(o.Content, {
|
|
39
|
+
"data-slot": "select-content",
|
|
40
|
+
className: e("bg-white", "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2", "data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", "relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded border shadow-200", r === "popper" && "data-[side=bottom]:translate-y-4 data-[side=left]:-translate-x-4 data-[side=right]:translate-x-4 data-[side=top]:-translate-y-4", t),
|
|
41
|
+
position: r,
|
|
42
|
+
...s,
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ i(h, {}),
|
|
45
|
+
/* @__PURE__ */ i(o.Viewport, {
|
|
46
|
+
className: e(r === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-4"),
|
|
47
|
+
children: n
|
|
48
|
+
}),
|
|
49
|
+
/* @__PURE__ */ i(g, {})
|
|
50
|
+
]
|
|
51
|
+
}) });
|
|
66
52
|
}
|
|
67
|
-
function
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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
|
-
);
|
|
53
|
+
function f({ className: t, ...n }) {
|
|
54
|
+
return /* @__PURE__ */ i(o.Label, {
|
|
55
|
+
"data-slot": "select-label",
|
|
56
|
+
className: e("px-16 py-8 pr-8 font-semibold", t),
|
|
57
|
+
...n
|
|
58
|
+
});
|
|
95
59
|
}
|
|
96
|
-
function
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
t
|
|
107
|
-
),
|
|
108
|
-
...e
|
|
109
|
-
}
|
|
110
|
-
);
|
|
60
|
+
function p({ className: n, children: r, ...s }) {
|
|
61
|
+
return /* @__PURE__ */ a(o.Item, {
|
|
62
|
+
"data-slot": "select-item",
|
|
63
|
+
className: e("relative flex w-full cursor-default items-center gap-8 py-8 pl-16 pr-32 outline-none select-none", "hover:bg-gray-200", "data-[disabled]:pointer-events-none data-[disabled]:opacity-64 [&_svg]:pointer-events-none [&_svg]:shrink-0", "data-[state=checked]:bg-purple-800 data-[state=checked]:text-white hover:data-[state=checked]:bg-purple-800", "[&_svg:not([class*='size-'])]:size-16 *:[span]:last:flex *:[span]:last:flex-col *:[span]:last:gap-8", n),
|
|
64
|
+
...s,
|
|
65
|
+
children: [/* @__PURE__ */ i("span", {
|
|
66
|
+
className: "absolute right-8 top-8 flex size-16 items-center justify-center",
|
|
67
|
+
children: /* @__PURE__ */ i(o.ItemIndicator, { children: /* @__PURE__ */ i(t, { className: "size-16" }) })
|
|
68
|
+
}), /* @__PURE__ */ i(o.ItemText, { children: r })]
|
|
69
|
+
});
|
|
111
70
|
}
|
|
112
|
-
function
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
{
|
|
119
|
-
"data-slot": "table-caption",
|
|
120
|
-
className: r("mt-16 text-sm text-gray-700", t),
|
|
121
|
-
...e
|
|
122
|
-
}
|
|
123
|
-
);
|
|
71
|
+
function m({ className: t, ...n }) {
|
|
72
|
+
return /* @__PURE__ */ i(o.Separator, {
|
|
73
|
+
"data-slot": "select-separator",
|
|
74
|
+
className: e("bg-gray-900/24 pointer-events-none -mx-4 my-4 h-px", t),
|
|
75
|
+
...n
|
|
76
|
+
});
|
|
124
77
|
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
78
|
+
function h({ className: t, ...n }) {
|
|
79
|
+
return /* @__PURE__ */ i(o.ScrollUpButton, {
|
|
80
|
+
"data-slot": "select-scroll-up-button",
|
|
81
|
+
className: e("flex cursor-default items-center justify-center py-4", t),
|
|
82
|
+
...n,
|
|
83
|
+
children: /* @__PURE__ */ i(r, { className: "size-16" })
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
function g({ className: t, ...r }) {
|
|
87
|
+
return /* @__PURE__ */ i(o.ScrollDownButton, {
|
|
88
|
+
"data-slot": "select-scroll-down-button",
|
|
89
|
+
className: e("flex cursor-default items-center justify-center py-4", t),
|
|
90
|
+
...r,
|
|
91
|
+
children: /* @__PURE__ */ i(n, { className: "size-16" })
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
//#endregion
|
|
95
|
+
export { s as Select, d as SelectContent, c as SelectGroup, p as SelectItem, f as SelectLabel, g as SelectScrollDownButton, h as SelectScrollUpButton, m as SelectSeparator, u as SelectTrigger, l as SelectValue };
|
|
96
|
+
|
|
97
|
+
//# sourceMappingURL=index29.js.map
|