@incognia/cosmik 0.40.2-beta.2 → 1.0.0-beta.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/Alert/index.d.ts +7 -6
- package/dist/Alert/index.d.ts.map +1 -1
- package/dist/AlertDialog/index.d.ts +16 -22
- package/dist/AlertDialog/index.d.ts.map +1 -1
- package/dist/Calendar/index.d.ts +4 -7
- package/dist/Calendar/index.d.ts.map +1 -1
- package/dist/Card/index.d.ts +8 -7
- package/dist/Card/index.d.ts.map +1 -1
- package/dist/Checkbox/index.d.ts +1 -1
- package/dist/Checkbox/index.d.ts.map +1 -1
- package/dist/Command/index.d.ts +17 -49
- package/dist/Command/index.d.ts.map +1 -1
- package/dist/Dialog/index.d.ts +13 -18
- package/dist/Dialog/index.d.ts.map +1 -1
- package/dist/DropdownMenu/index.d.ts +19 -21
- package/dist/DropdownMenu/index.d.ts.map +1 -1
- package/dist/Input/index.d.ts +1 -3
- package/dist/Input/index.d.ts.map +1 -1
- package/dist/Label/index.d.ts +1 -2
- package/dist/Label/index.d.ts.map +1 -1
- package/dist/Pagination/index.d.ts +11 -26
- package/dist/Pagination/index.d.ts.map +1 -1
- package/dist/Popover/index.d.ts +5 -5
- package/dist/Popover/index.d.ts.map +1 -1
- package/dist/Progress/index.d.ts +1 -1
- package/dist/Progress/index.d.ts.map +1 -1
- package/dist/RadioGroup/index.d.ts +2 -2
- package/dist/RadioGroup/index.d.ts.map +1 -1
- package/dist/Select/index.d.ts +12 -10
- package/dist/Select/index.d.ts.map +1 -1
- package/dist/Separator/index.d.ts +1 -1
- package/dist/Separator/index.d.ts.map +1 -1
- package/dist/Switch/index.d.ts +2 -2
- package/dist/Switch/index.d.ts.map +1 -1
- package/dist/Table/index.d.ts +11 -11
- package/dist/Table/index.d.ts.map +1 -1
- package/dist/Tabs/index.d.ts +4 -4
- package/dist/Tabs/index.d.ts.map +1 -1
- package/dist/TagInput/index.d.ts +4 -5
- package/dist/TagInput/index.d.ts.map +1 -1
- package/dist/Textarea/index.d.ts +1 -3
- package/dist/Textarea/index.d.ts.map +1 -1
- package/dist/Toggle/index.d.ts +1 -6
- package/dist/Toggle/index.d.ts.map +1 -1
- package/dist/VerticalNavigationMenu/index.d.ts +8 -6
- package/dist/VerticalNavigationMenu/index.d.ts.map +1 -1
- package/dist/cosmik.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +148 -147
- package/dist/index10.cjs +1 -1
- package/dist/index10.cjs.map +1 -1
- package/dist/index10.js +181 -128
- package/dist/index10.js.map +1 -1
- package/dist/index11.cjs +1 -1
- package/dist/index11.cjs.map +1 -1
- package/dist/index11.js +121 -93
- package/dist/index11.js.map +1 -1
- package/dist/index12.cjs +1 -1
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +224 -139
- package/dist/index12.js.map +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +9 -11
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +1 -1
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +20 -17
- package/dist/index16.js.map +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +102 -92
- package/dist/index19.js.map +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +42 -22
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +1 -1
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +29 -24
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +1 -1
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +43 -29
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +1 -1
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +180 -128
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +1 -1
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +23 -20
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +1 -1
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +3 -3
- package/dist/index25.js.map +1 -1
- package/dist/index27.cjs +1 -1
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +6 -6
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.cjs.map +1 -1
- package/dist/index28.js +27 -23
- package/dist/index28.js.map +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +124 -104
- package/dist/index29.js.map +1 -1
- package/dist/index3.cjs +1 -1
- package/dist/index3.cjs.map +1 -1
- package/dist/index3.js +60 -30
- package/dist/index3.js.map +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +62 -42
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +72 -69
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +1 -1
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +9 -11
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +1 -1
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +27 -19
- package/dist/index33.js.map +1 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +77 -49
- package/dist/index36.js.map +1 -1
- package/dist/index4.cjs +1 -1
- package/dist/index4.cjs.map +1 -1
- package/dist/index4.js +141 -99
- package/dist/index4.js.map +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +3 -3
- package/dist/index42.js.map +1 -1
- package/dist/index44.cjs +4 -4
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +24 -17
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +4 -12
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +193 -550
- package/dist/index45.js.map +1 -1
- package/dist/index7.cjs +1 -1
- package/dist/index7.cjs.map +1 -1
- package/dist/index7.js +173 -51
- package/dist/index7.js.map +1 -1
- package/dist/index8.cjs +1 -1
- package/dist/index8.cjs.map +1 -1
- package/dist/index8.js +87 -44
- package/dist/index8.js.map +1 -1
- package/dist/index9.cjs +1 -1
- package/dist/index9.cjs.map +1 -1
- package/dist/index9.js +36 -32
- package/dist/index9.js.map +1 -1
- package/package.json +16 -16
package/dist/index8.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index8.cjs","sources":["../src/Card/index.tsx"],"sourcesContent":["import * as React from 'react'\nimport { cn } from '../lib/utils'\n\
|
|
1
|
+
{"version":3,"file":"index8.cjs","sources":["../src/Card/index.tsx"],"sourcesContent":["import * as React from 'react'\nimport { cn } from '../lib/utils'\n\nfunction Card({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card\"\n className={cn(\n 'bg-white flex flex-col gap-24 rounded border border-gray-900/8 py-24',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-header\"\n className={cn(\n '@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-4 px-24 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-24',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-title\"\n className={cn('leading-none font-medium', className)}\n {...props}\n />\n )\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-description\"\n className={cn('text-gray-700 text-sm', className)}\n {...props}\n />\n )\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-action\"\n className={cn(\n 'col-start-2 row-span-2 row-start-1 self-start justify-self-end',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-content\"\n className={cn('px-24', className)}\n {...props}\n />\n )\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-footer\"\n className={cn('flex items-center px-24 [.border-t]:pt-24', className)}\n {...props}\n />\n )\n}\n\nexport {\n Card,\n CardAction,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle\n}\n"],"names":["Card","className","props","jsx","cn","CardHeader","CardTitle","CardDescription","CardAction","CardContent","CardFooter"],"mappings":"4IAGA,SAASA,EAAK,CAAE,UAAAC,EAAW,GAAGC,GAAsC,CAClE,OACEC,EAAAA,kBAAAA,IAAC,MAAA,CACC,YAAU,OACV,UAAWC,EAAAA,GACT,uEACAH,CAAA,EAED,GAAGC,CAAA,CAAA,CAGV,CAEA,SAASG,EAAW,CAAE,UAAAJ,EAAW,GAAGC,GAAsC,CACxE,OACEC,EAAAA,kBAAAA,IAAC,MAAA,CACC,YAAU,cACV,UAAWC,EAAAA,GACT,6JACAH,CAAA,EAED,GAAGC,CAAA,CAAA,CAGV,CAEA,SAASI,EAAU,CAAE,UAAAL,EAAW,GAAGC,GAAsC,CACvE,OACEC,EAAAA,kBAAAA,IAAC,MAAA,CACC,YAAU,aACV,UAAWC,EAAAA,GAAG,2BAA4BH,CAAS,EAClD,GAAGC,CAAA,CAAA,CAGV,CAEA,SAASK,EAAgB,CAAE,UAAAN,EAAW,GAAGC,GAAsC,CAC7E,OACEC,EAAAA,kBAAAA,IAAC,MAAA,CACC,YAAU,mBACV,UAAWC,EAAAA,GAAG,wBAAyBH,CAAS,EAC/C,GAAGC,CAAA,CAAA,CAGV,CAEA,SAASM,EAAW,CAAE,UAAAP,EAAW,GAAGC,GAAsC,CACxE,OACEC,EAAAA,kBAAAA,IAAC,MAAA,CACC,YAAU,cACV,UAAWC,EAAAA,GACT,iEACAH,CAAA,EAED,GAAGC,CAAA,CAAA,CAGV,CAEA,SAASO,EAAY,CAAE,UAAAR,EAAW,GAAGC,GAAsC,CACzE,OACEC,EAAAA,kBAAAA,IAAC,MAAA,CACC,YAAU,eACV,UAAWC,EAAAA,GAAG,QAASH,CAAS,EAC/B,GAAGC,CAAA,CAAA,CAGV,CAEA,SAASQ,EAAW,CAAE,UAAAT,EAAW,GAAGC,GAAsC,CACxE,OACEC,EAAAA,kBAAAA,IAAC,MAAA,CACC,YAAU,cACV,UAAWC,EAAAA,GAAG,4CAA6CH,CAAS,EACnE,GAAGC,CAAA,CAAA,CAGV"}
|
package/dist/index8.js
CHANGED
|
@@ -1,48 +1,91 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import { j as r } from "./index37.js";
|
|
2
|
+
import { cn as e } from "./index39.js";
|
|
3
|
+
function d({ className: t, ...a }) {
|
|
4
|
+
return /* @__PURE__ */ r.jsx(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
"data-slot": "card",
|
|
8
|
+
className: e(
|
|
9
|
+
"bg-white flex flex-col gap-24 rounded border border-gray-900/8 py-24",
|
|
10
|
+
t
|
|
11
|
+
),
|
|
12
|
+
...a
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
function n({ className: t, ...a }) {
|
|
17
|
+
return /* @__PURE__ */ r.jsx(
|
|
18
|
+
"div",
|
|
19
|
+
{
|
|
20
|
+
"data-slot": "card-header",
|
|
21
|
+
className: e(
|
|
22
|
+
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-4 px-24 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-24",
|
|
23
|
+
t
|
|
24
|
+
),
|
|
25
|
+
...a
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
function i({ className: t, ...a }) {
|
|
30
|
+
return /* @__PURE__ */ r.jsx(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
"data-slot": "card-title",
|
|
34
|
+
className: e("leading-none font-medium", t),
|
|
35
|
+
...a
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
function c({ className: t, ...a }) {
|
|
40
|
+
return /* @__PURE__ */ r.jsx(
|
|
41
|
+
"div",
|
|
42
|
+
{
|
|
43
|
+
"data-slot": "card-description",
|
|
44
|
+
className: e("text-gray-700 text-sm", t),
|
|
45
|
+
...a
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
function l({ className: t, ...a }) {
|
|
50
|
+
return /* @__PURE__ */ r.jsx(
|
|
51
|
+
"div",
|
|
52
|
+
{
|
|
53
|
+
"data-slot": "card-action",
|
|
54
|
+
className: e(
|
|
55
|
+
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
|
|
56
|
+
t
|
|
57
|
+
),
|
|
58
|
+
...a
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
function u({ className: t, ...a }) {
|
|
63
|
+
return /* @__PURE__ */ r.jsx(
|
|
64
|
+
"div",
|
|
65
|
+
{
|
|
66
|
+
"data-slot": "card-content",
|
|
67
|
+
className: e("px-24", t),
|
|
68
|
+
...a
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
function f({ className: t, ...a }) {
|
|
73
|
+
return /* @__PURE__ */ r.jsx(
|
|
74
|
+
"div",
|
|
75
|
+
{
|
|
76
|
+
"data-slot": "card-footer",
|
|
77
|
+
className: e("flex items-center px-24 [.border-t]:pt-24", t),
|
|
78
|
+
...a
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
}
|
|
40
82
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
83
|
+
d as Card,
|
|
84
|
+
l as CardAction,
|
|
85
|
+
u as CardContent,
|
|
86
|
+
c as CardDescription,
|
|
44
87
|
f as CardFooter,
|
|
45
|
-
|
|
46
|
-
|
|
88
|
+
n as CardHeader,
|
|
89
|
+
i as CardTitle
|
|
47
90
|
};
|
|
48
91
|
//# sourceMappingURL=index8.js.map
|
package/dist/index8.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index8.js","sources":["../src/Card/index.tsx"],"sourcesContent":["import * as React from 'react'\nimport { cn } from '../lib/utils'\n\
|
|
1
|
+
{"version":3,"file":"index8.js","sources":["../src/Card/index.tsx"],"sourcesContent":["import * as React from 'react'\nimport { cn } from '../lib/utils'\n\nfunction Card({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card\"\n className={cn(\n 'bg-white flex flex-col gap-24 rounded border border-gray-900/8 py-24',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-header\"\n className={cn(\n '@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-4 px-24 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-24',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-title\"\n className={cn('leading-none font-medium', className)}\n {...props}\n />\n )\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-description\"\n className={cn('text-gray-700 text-sm', className)}\n {...props}\n />\n )\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-action\"\n className={cn(\n 'col-start-2 row-span-2 row-start-1 self-start justify-self-end',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-content\"\n className={cn('px-24', className)}\n {...props}\n />\n )\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"card-footer\"\n className={cn('flex items-center px-24 [.border-t]:pt-24', className)}\n {...props}\n />\n )\n}\n\nexport {\n Card,\n CardAction,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle\n}\n"],"names":["Card","className","props","jsx","cn","CardHeader","CardTitle","CardDescription","CardAction","CardContent","CardFooter"],"mappings":";;AAGA,SAASA,EAAK,EAAE,WAAAC,GAAW,GAAGC,KAAsC;AAClE,SACEC,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAW,EAAE,WAAAJ,GAAW,GAAGC,KAAsC;AACxE,SACEC,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASI,EAAU,EAAE,WAAAL,GAAW,GAAGC,KAAsC;AACvE,SACEC,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,4BAA4BH,CAAS;AAAA,MAClD,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASK,EAAgB,EAAE,WAAAN,GAAW,GAAGC,KAAsC;AAC7E,SACEC,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,yBAAyBH,CAAS;AAAA,MAC/C,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASM,EAAW,EAAE,WAAAP,GAAW,GAAGC,KAAsC;AACxE,SACEC,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASO,EAAY,EAAE,WAAAR,GAAW,GAAGC,KAAsC;AACzE,SACEC,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,SAASH,CAAS;AAAA,MAC/B,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASQ,EAAW,EAAE,WAAAT,GAAW,GAAGC,KAAsC;AACxE,SACEC,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,6CAA6CH,CAAS;AAAA,MACnE,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/index9.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index37.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index37.cjs"),n=require("@radix-ui/react-checkbox"),s=require("lucide-react"),d=require("./index39.cjs");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const c=o(n);function u({className:e,...t}){return r.jsxRuntimeExports.jsx(c.Root,{"data-slot":"checkbox",className:d.cn("peer h-16 w-16 shrink-0 rounded border border-gray-900/24","disabled:cursor-not-allowed disabled:bg-transparent","disabled:data-[state=checked]:bg-gray-900/8 disabled:data-[state=checked]:text-gray-800 disabled:opacity-64","disabled:data-[state=indeterminate]:bg-gray-900/8 disabled:data-[state=indeterminate]:text-gray-800","data-[state=checked]:bg-purple-700 data-[state=checked]:text-white","data-[state=indeterminate]:bg-purple-700 data-[state=indeterminate]:text-white","hover:bg-gray-900/8 hover:data-[state=checked]:bg-purple-800 hover:data-[state=indeterminate]:bg-purple-800","focus-visible:outline-none focus:bg-gray-900/16 focus:data-[state=checked]:bg-purple-900 focus:data-[state=indeterminate]:bg-purple-900","active:bg-gray-900/16 active:data-[state=checked]:bg-purple-900 active:data-[state=indeterminate]:bg-purple-900",e),...t,children:r.jsxRuntimeExports.jsx(c.Indicator,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:t.checked=="indeterminate"?r.jsxRuntimeExports.jsx(s.Minus,{className:"h-[14px] w-[14px]"}):r.jsxRuntimeExports.jsx(s.Check,{className:"h-[14px] w-[14px]"})})})}exports.Checkbox=u;
|
|
2
2
|
//# sourceMappingURL=index9.cjs.map
|
package/dist/index9.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index9.cjs","sources":["../src/Checkbox/index.tsx"],"sourcesContent":["'use client'\n\nimport * as CheckboxPrimitive from '@radix-ui/react-checkbox'\nimport { Check, Minus } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\
|
|
1
|
+
{"version":3,"file":"index9.cjs","sources":["../src/Checkbox/index.tsx"],"sourcesContent":["'use client'\n\nimport * as CheckboxPrimitive from '@radix-ui/react-checkbox'\nimport { Check, Minus } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nfunction Checkbox({\n className,\n ...props\n}: React.ComponentProps<typeof CheckboxPrimitive.Root>) {\n return (\n <CheckboxPrimitive.Root\n data-slot=\"checkbox\"\n className={cn(\n 'peer h-16 w-16 shrink-0 rounded border border-gray-900/24',\n 'disabled:cursor-not-allowed disabled:bg-transparent',\n 'disabled:data-[state=checked]:bg-gray-900/8 disabled:data-[state=checked]:text-gray-800 disabled:opacity-64',\n 'disabled:data-[state=indeterminate]:bg-gray-900/8 disabled:data-[state=indeterminate]:text-gray-800',\n 'data-[state=checked]:bg-purple-700 data-[state=checked]:text-white',\n 'data-[state=indeterminate]:bg-purple-700 data-[state=indeterminate]:text-white',\n 'hover:bg-gray-900/8 hover:data-[state=checked]:bg-purple-800 hover:data-[state=indeterminate]:bg-purple-800',\n 'focus-visible:outline-none focus:bg-gray-900/16 focus:data-[state=checked]:bg-purple-900 focus:data-[state=indeterminate]:bg-purple-900',\n 'active:bg-gray-900/16 active:data-[state=checked]:bg-purple-900 active:data-[state=indeterminate]:bg-purple-900',\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n data-slot=\"checkbox-indicator\"\n className=\"flex items-center justify-center text-current transition-none\"\n >\n {props.checked == 'indeterminate' ? (\n <Minus className=\"h-[14px] w-[14px]\" />\n ) : (\n <Check className=\"h-[14px] w-[14px]\" />\n )}\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n )\n}\nexport { Checkbox }\n"],"names":["Checkbox","className","props","jsx","CheckboxPrimitive","cn","Minus","Check"],"mappings":"seAOA,SAASA,EAAS,CAChB,UAAAC,EACA,GAAGC,CACL,EAAwD,CACtD,OACEC,EAAAA,kBAAAA,IAACC,EAAkB,KAAlB,CACC,YAAU,WACV,UAAWC,EAAAA,GACT,4DACA,sDACA,8GACA,sGACA,qEACA,iFACA,8GACA,0IACA,kHACAJ,CAAA,EAED,GAAGC,EAEJ,SAAAC,EAAAA,kBAAAA,IAACC,EAAkB,UAAlB,CACC,YAAU,qBACV,UAAU,gEAET,SAAAF,EAAM,SAAW,gBAChBC,EAAAA,kBAAAA,IAACG,EAAAA,MAAA,CAAM,UAAU,mBAAA,CAAoB,EAErCH,EAAAA,kBAAAA,IAACI,EAAAA,MAAA,CAAM,UAAU,mBAAA,CAAoB,CAAA,CAAA,CAEzC,CAAA,CAGN"}
|
package/dist/index9.js
CHANGED
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
import { j as e } from "./index37.js";
|
|
2
|
-
import * as
|
|
3
|
-
import { Minus as
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
t
|
|
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
|
-
|
|
2
|
+
import * as a from "@radix-ui/react-checkbox";
|
|
3
|
+
import { Minus as d, Check as i } from "lucide-react";
|
|
4
|
+
import { cn as s } from "./index39.js";
|
|
5
|
+
function b({
|
|
6
|
+
className: r,
|
|
7
|
+
...t
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ e.jsx(
|
|
10
|
+
a.Root,
|
|
11
|
+
{
|
|
12
|
+
"data-slot": "checkbox",
|
|
13
|
+
className: s(
|
|
14
|
+
"peer h-16 w-16 shrink-0 rounded border border-gray-900/24",
|
|
15
|
+
"disabled:cursor-not-allowed disabled:bg-transparent",
|
|
16
|
+
"disabled:data-[state=checked]:bg-gray-900/8 disabled:data-[state=checked]:text-gray-800 disabled:opacity-64",
|
|
17
|
+
"disabled:data-[state=indeterminate]:bg-gray-900/8 disabled:data-[state=indeterminate]:text-gray-800",
|
|
18
|
+
"data-[state=checked]:bg-purple-700 data-[state=checked]:text-white",
|
|
19
|
+
"data-[state=indeterminate]:bg-purple-700 data-[state=indeterminate]:text-white",
|
|
20
|
+
"hover:bg-gray-900/8 hover:data-[state=checked]:bg-purple-800 hover:data-[state=indeterminate]:bg-purple-800",
|
|
21
|
+
"focus-visible:outline-none focus:bg-gray-900/16 focus:data-[state=checked]:bg-purple-900 focus:data-[state=indeterminate]:bg-purple-900",
|
|
22
|
+
"active:bg-gray-900/16 active:data-[state=checked]:bg-purple-900 active:data-[state=indeterminate]:bg-purple-900",
|
|
23
|
+
r
|
|
24
|
+
),
|
|
25
|
+
...t,
|
|
26
|
+
children: /* @__PURE__ */ e.jsx(
|
|
27
|
+
a.Indicator,
|
|
28
|
+
{
|
|
29
|
+
"data-slot": "checkbox-indicator",
|
|
30
|
+
className: "flex items-center justify-center text-current transition-none",
|
|
31
|
+
children: t.checked == "indeterminate" ? /* @__PURE__ */ e.jsx(d, { className: "h-[14px] w-[14px]" }) : /* @__PURE__ */ e.jsx(i, { className: "h-[14px] w-[14px]" })
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
}
|
|
33
37
|
export {
|
|
34
|
-
|
|
38
|
+
b as Checkbox
|
|
35
39
|
};
|
|
36
40
|
//# sourceMappingURL=index9.js.map
|
package/dist/index9.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index9.js","sources":["../src/Checkbox/index.tsx"],"sourcesContent":["'use client'\n\nimport * as CheckboxPrimitive from '@radix-ui/react-checkbox'\nimport { Check, Minus } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\
|
|
1
|
+
{"version":3,"file":"index9.js","sources":["../src/Checkbox/index.tsx"],"sourcesContent":["'use client'\n\nimport * as CheckboxPrimitive from '@radix-ui/react-checkbox'\nimport { Check, Minus } from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nfunction Checkbox({\n className,\n ...props\n}: React.ComponentProps<typeof CheckboxPrimitive.Root>) {\n return (\n <CheckboxPrimitive.Root\n data-slot=\"checkbox\"\n className={cn(\n 'peer h-16 w-16 shrink-0 rounded border border-gray-900/24',\n 'disabled:cursor-not-allowed disabled:bg-transparent',\n 'disabled:data-[state=checked]:bg-gray-900/8 disabled:data-[state=checked]:text-gray-800 disabled:opacity-64',\n 'disabled:data-[state=indeterminate]:bg-gray-900/8 disabled:data-[state=indeterminate]:text-gray-800',\n 'data-[state=checked]:bg-purple-700 data-[state=checked]:text-white',\n 'data-[state=indeterminate]:bg-purple-700 data-[state=indeterminate]:text-white',\n 'hover:bg-gray-900/8 hover:data-[state=checked]:bg-purple-800 hover:data-[state=indeterminate]:bg-purple-800',\n 'focus-visible:outline-none focus:bg-gray-900/16 focus:data-[state=checked]:bg-purple-900 focus:data-[state=indeterminate]:bg-purple-900',\n 'active:bg-gray-900/16 active:data-[state=checked]:bg-purple-900 active:data-[state=indeterminate]:bg-purple-900',\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n data-slot=\"checkbox-indicator\"\n className=\"flex items-center justify-center text-current transition-none\"\n >\n {props.checked == 'indeterminate' ? (\n <Minus className=\"h-[14px] w-[14px]\" />\n ) : (\n <Check className=\"h-[14px] w-[14px]\" />\n )}\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n )\n}\nexport { Checkbox }\n"],"names":["Checkbox","className","props","jsx","CheckboxPrimitive","cn","Minus","Check"],"mappings":";;;;AAOA,SAASA,EAAS;AAAA,EAChB,WAAAC;AAAA,EACA,GAAGC;AACL,GAAwD;AACtD,SACEC,gBAAAA,EAAAA;AAAAA,IAACC,EAAkB;AAAA,IAAlB;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACAJ;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,MAEJ,UAAAC,gBAAAA,EAAAA;AAAAA,QAACC,EAAkB;AAAA,QAAlB;AAAA,UACC,aAAU;AAAA,UACV,WAAU;AAAA,UAET,UAAAF,EAAM,WAAW,kBAChBC,gBAAAA,EAAAA,IAACG,GAAA,EAAM,WAAU,oBAAA,CAAoB,IAErCH,gBAAAA,EAAAA,IAACI,GAAA,EAAM,WAAU,oBAAA,CAAoB;AAAA,QAAA;AAAA,MAAA;AAAA,IAEzC;AAAA,EAAA;AAGN;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"homepage": "https://inloco.github.io/cosmik",
|
|
3
3
|
"name": "@incognia/cosmik",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.0-beta.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -20,21 +20,21 @@
|
|
|
20
20
|
"./package.json": "./package.json"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"react": "^
|
|
24
|
-
"react-dom": "^
|
|
23
|
+
"react": "^19.0.0",
|
|
24
|
+
"react-dom": "^19.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@storybook/addon-docs": "^9.1.
|
|
28
|
-
"@storybook/addon-links": "^9.1.
|
|
29
|
-
"@storybook/addon-themes": "^9.1.
|
|
30
|
-
"@storybook/react-vite": "^9.1.
|
|
27
|
+
"@storybook/addon-docs": "^9.1.7",
|
|
28
|
+
"@storybook/addon-links": "^9.1.7",
|
|
29
|
+
"@storybook/addon-themes": "^9.1.7",
|
|
30
|
+
"@storybook/react-vite": "^9.1.7",
|
|
31
31
|
"@storybook/testing-library": "^0.2.2",
|
|
32
32
|
"@tailwindcss/vite": "^4.1.13",
|
|
33
33
|
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
|
|
34
34
|
"@types/color": "^3.0.6",
|
|
35
35
|
"@types/node": "^20.19.11",
|
|
36
|
-
"@types/react": "^
|
|
37
|
-
"@types/react-dom": "^
|
|
36
|
+
"@types/react": "^19.1.13",
|
|
37
|
+
"@types/react-dom": "^19.1.9",
|
|
38
38
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
39
39
|
"@typescript-eslint/parser": "^6.21.0",
|
|
40
40
|
"@vitejs/plugin-react": "^5.0.1",
|
|
@@ -44,17 +44,17 @@
|
|
|
44
44
|
"eslint": "^8.57.1",
|
|
45
45
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
46
46
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
47
|
-
"eslint-plugin-storybook": "^9.1.
|
|
47
|
+
"eslint-plugin-storybook": "^9.1.7",
|
|
48
48
|
"gh-pages": "^6.3.0",
|
|
49
49
|
"husky": "^9.1.7",
|
|
50
50
|
"lint-staged": "^15.5.2",
|
|
51
51
|
"prettier": "^3.6.2",
|
|
52
|
-
"storybook": "^9.1.
|
|
52
|
+
"storybook": "^9.1.7",
|
|
53
53
|
"tailwind-merge": "^3.3.1",
|
|
54
54
|
"tailwindcss": "^4.1.13",
|
|
55
55
|
"tw-animate-css": "^1.3.7",
|
|
56
56
|
"typescript": "^5.9.2",
|
|
57
|
-
"vite": "^7.1.
|
|
57
|
+
"vite": "^7.1.5",
|
|
58
58
|
"vite-plugin-dts": "^4.5.4",
|
|
59
59
|
"vite-plugin-static-copy": "^3.1.2"
|
|
60
60
|
},
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
"@radix-ui/react-toggle": "^1.1.10",
|
|
77
77
|
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
78
78
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
79
|
-
"cmdk": "^
|
|
80
|
-
"date-fns": "^
|
|
79
|
+
"cmdk": "^1.1.1",
|
|
80
|
+
"date-fns": "^4.1.0",
|
|
81
81
|
"lucide-react": "^0.540.0",
|
|
82
|
-
"react-day-picker": "^
|
|
83
|
-
"sonner": "^
|
|
82
|
+
"react-day-picker": "^9.11.0",
|
|
83
|
+
"sonner": "^2.0.7"
|
|
84
84
|
},
|
|
85
85
|
"lint-staged": {
|
|
86
86
|
"**/*.{js,jsx,ts,tsx,json}": [
|