@incognia/cosmik 1.0.11 → 2.0.0-alpha.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/Badge/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts.map +1 -1
- package/dist/Toggle/index.d.ts +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 +38 -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/dist/{cosmik-theme.css → src/cosmik-theme.css} +68 -66
- 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/index9.js
CHANGED
|
@@ -1,40 +1,162 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
function
|
|
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
|
-
|
|
40
|
-
|
|
1
|
+
import { __commonJSMin as e, __require as t } from "./index2.js";
|
|
2
|
+
//#region node_modules/.pnpm/react@19.1.1/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
3
|
+
var n = /* @__PURE__ */ e(((e) => {
|
|
4
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
5
|
+
function n(e) {
|
|
6
|
+
if (e == null) return null;
|
|
7
|
+
if (typeof e == "function") return e.$$typeof === O ? null : e.displayName || e.name || null;
|
|
8
|
+
if (typeof e == "string") return e;
|
|
9
|
+
switch (e) {
|
|
10
|
+
case _: return "Fragment";
|
|
11
|
+
case y: return "Profiler";
|
|
12
|
+
case v: return "StrictMode";
|
|
13
|
+
case C: return "Suspense";
|
|
14
|
+
case w: return "SuspenseList";
|
|
15
|
+
case D: return "Activity";
|
|
16
|
+
}
|
|
17
|
+
if (typeof e == "object") switch (typeof e.tag == "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), e.$$typeof) {
|
|
18
|
+
case g: return "Portal";
|
|
19
|
+
case x: return (e.displayName || "Context") + ".Provider";
|
|
20
|
+
case b: return (e._context.displayName || "Context") + ".Consumer";
|
|
21
|
+
case S:
|
|
22
|
+
var t = e.render;
|
|
23
|
+
return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
|
|
24
|
+
case T: return t = e.displayName || null, t === null ? n(e.type) || "Memo" : t;
|
|
25
|
+
case E:
|
|
26
|
+
t = e._payload, e = e._init;
|
|
27
|
+
try {
|
|
28
|
+
return n(e(t));
|
|
29
|
+
} catch {}
|
|
30
|
+
}
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
function r(e) {
|
|
34
|
+
return "" + e;
|
|
35
|
+
}
|
|
36
|
+
function i(e) {
|
|
37
|
+
try {
|
|
38
|
+
r(e);
|
|
39
|
+
var t = !1;
|
|
40
|
+
} catch {
|
|
41
|
+
t = !0;
|
|
42
|
+
}
|
|
43
|
+
if (t) {
|
|
44
|
+
t = console;
|
|
45
|
+
var n = t.error, i = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
46
|
+
return n.call(t, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", i), r(e);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function a(e) {
|
|
50
|
+
if (e === _) return "<>";
|
|
51
|
+
if (typeof e == "object" && e && e.$$typeof === E) return "<...>";
|
|
52
|
+
try {
|
|
53
|
+
var t = n(e);
|
|
54
|
+
return t ? "<" + t + ">" : "<...>";
|
|
55
|
+
} catch {
|
|
56
|
+
return "<...>";
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function o() {
|
|
60
|
+
var e = k.A;
|
|
61
|
+
return e === null ? null : e.getOwner();
|
|
62
|
+
}
|
|
63
|
+
function s() {
|
|
64
|
+
return Error("react-stack-top-frame");
|
|
65
|
+
}
|
|
66
|
+
function c(e) {
|
|
67
|
+
if (A.call(e, "key")) {
|
|
68
|
+
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
69
|
+
if (t && t.isReactWarning) return !1;
|
|
70
|
+
}
|
|
71
|
+
return e.key !== void 0;
|
|
72
|
+
}
|
|
73
|
+
function l(e, t) {
|
|
74
|
+
function n() {
|
|
75
|
+
N || (N = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", t));
|
|
76
|
+
}
|
|
77
|
+
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
78
|
+
get: n,
|
|
79
|
+
configurable: !0
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
function u() {
|
|
83
|
+
var e = n(this.type);
|
|
84
|
+
return P[e] || (P[e] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")), e = this.props.ref, e === void 0 ? null : e;
|
|
85
|
+
}
|
|
86
|
+
function d(e, t, n, r, i, a, o, s) {
|
|
87
|
+
return n = a.ref, e = {
|
|
88
|
+
$$typeof: h,
|
|
89
|
+
type: e,
|
|
90
|
+
key: t,
|
|
91
|
+
props: a,
|
|
92
|
+
_owner: i
|
|
93
|
+
}, (n === void 0 ? null : n) === null ? Object.defineProperty(e, "ref", {
|
|
94
|
+
enumerable: !1,
|
|
95
|
+
value: null
|
|
96
|
+
}) : Object.defineProperty(e, "ref", {
|
|
97
|
+
enumerable: !1,
|
|
98
|
+
get: u
|
|
99
|
+
}), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
100
|
+
configurable: !1,
|
|
101
|
+
enumerable: !1,
|
|
102
|
+
writable: !0,
|
|
103
|
+
value: 0
|
|
104
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
105
|
+
configurable: !1,
|
|
106
|
+
enumerable: !1,
|
|
107
|
+
writable: !0,
|
|
108
|
+
value: null
|
|
109
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
110
|
+
configurable: !1,
|
|
111
|
+
enumerable: !1,
|
|
112
|
+
writable: !0,
|
|
113
|
+
value: o
|
|
114
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
115
|
+
configurable: !1,
|
|
116
|
+
enumerable: !1,
|
|
117
|
+
writable: !0,
|
|
118
|
+
value: s
|
|
119
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
120
|
+
}
|
|
121
|
+
function f(e, t, r, a, s, u, f, m) {
|
|
122
|
+
var h = t.children;
|
|
123
|
+
if (h !== void 0) if (a) if (j(h)) {
|
|
124
|
+
for (a = 0; a < h.length; a++) p(h[a]);
|
|
125
|
+
Object.freeze && Object.freeze(h);
|
|
126
|
+
} else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
127
|
+
else p(h);
|
|
128
|
+
if (A.call(t, "key")) {
|
|
129
|
+
h = n(e);
|
|
130
|
+
var g = Object.keys(t).filter(function(e) {
|
|
131
|
+
return e !== "key";
|
|
132
|
+
});
|
|
133
|
+
a = 0 < g.length ? "{key: someKey, " + g.join(": ..., ") + ": ...}" : "{key: someKey}", L[h + a] || (g = 0 < g.length ? "{" + g.join(": ..., ") + ": ...}" : "{}", console.error("A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", a, h, g, h), L[h + a] = !0);
|
|
134
|
+
}
|
|
135
|
+
if (h = null, r !== void 0 && (i(r), h = "" + r), c(t) && (i(t.key), h = "" + t.key), "key" in t) for (var _ in r = {}, t) _ !== "key" && (r[_] = t[_]);
|
|
136
|
+
else r = t;
|
|
137
|
+
return h && l(r, typeof e == "function" ? e.displayName || e.name || "Unknown" : e), d(e, h, u, s, o(), r, f, m);
|
|
138
|
+
}
|
|
139
|
+
function p(e) {
|
|
140
|
+
typeof e == "object" && e && e.$$typeof === h && e._store && (e._store.validated = 1);
|
|
141
|
+
}
|
|
142
|
+
var m = t("react"), h = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), b = Symbol.for("react.consumer"), x = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), D = Symbol.for("react.activity"), O = Symbol.for("react.client.reference"), k = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, j = Array.isArray, M = console.createTask ? console.createTask : function() {
|
|
143
|
+
return null;
|
|
144
|
+
};
|
|
145
|
+
m = { react_stack_bottom_frame: function(e) {
|
|
146
|
+
return e();
|
|
147
|
+
} };
|
|
148
|
+
var N, P = {}, F = m.react_stack_bottom_frame.bind(m, s)(), I = M(a(s)), L = {};
|
|
149
|
+
e.Fragment = _, e.jsx = function(e, t, n, r, i) {
|
|
150
|
+
var o = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
151
|
+
return f(e, t, n, !1, r, i, o ? Error("react-stack-top-frame") : F, o ? M(a(e)) : I);
|
|
152
|
+
}, e.jsxs = function(e, t, n, r, i) {
|
|
153
|
+
var o = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
154
|
+
return f(e, t, n, !0, r, i, o ? Error("react-stack-top-frame") : F, o ? M(a(e)) : I);
|
|
155
|
+
};
|
|
156
|
+
})();
|
|
157
|
+
}));
|
|
158
|
+
//#endregion
|
|
159
|
+
export default n();
|
|
160
|
+
export { n as require_react_jsx_runtime_development };
|
|
161
|
+
|
|
162
|
+
//# 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\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;"}
|
|
1
|
+
{"version":3,"file":"index9.js","names":[],"sources":["../node_modules/.pnpm/react@19.1.1/node_modules/react/cjs/react-jsx-runtime.development.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n"],"x_google_ignoreList":[0],"mappings":";;;CAWA,AAAA,QAAA,IAAA,aAAA,iBACG,WAAY;EACX,SAAS,EAAyB,GAAM;GACtC,IAAY,KAAR,MAAc,OAAO;GACzB,IAAmB,OAAO,KAAtB,YACF,OAAO,EA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GAC1B,IAAyB,EAAM,yBAAyB,KAC1D,GACA,CACF,EAAE,GACE,IAAwB,EAAW,EAAY,CAAY,CAAC,GAC5D,IAAwB,CAAC;EAkB7B,AAjBA,EAAQ,WAAW,GACnB,EAAQ,MAAM,SAAU,GAAM,GAAQ,GAAU,GAAQ,GAAM;GAC5D,IAAI,IACF,MAAM,EAAqB;GAC7B,OAAO,EACL,GACA,GACA,GACA,CAAC,GACD,GACA,GACA,IACI,MAAM,uBAAuB,IAC7B,GACJ,IAAmB,EAAW,EAAY,CAAI,CAAC,IAAI,CACrD;EACF,GACA,EAAQ,OAAO,SAAU,GAAM,GAAQ,GAAU,GAAQ,GAAM;GAC7D,IAAI,IACF,MAAM,EAAqB;GAC7B,OAAO,EACL,GACA,GACA,GACA,CAAC,GACD,GACA,GACA,IACI,MAAM,uBAAuB,IAC7B,GACJ,IAAmB,EAAW,EAAY,CAAI,CAAC,IAAI,CACrD;EACF;CACF,GAAG"}
|
|
@@ -6,77 +6,78 @@
|
|
|
6
6
|
--color-transparent: transparent;
|
|
7
7
|
--color-white: #ffffff;
|
|
8
8
|
|
|
9
|
-
--color-gray-50: #
|
|
10
|
-
--color-gray-100: #
|
|
11
|
-
--color-gray-200: #
|
|
12
|
-
--color-gray-300: #
|
|
13
|
-
--color-gray-400: #
|
|
14
|
-
--color-gray-500: #
|
|
15
|
-
--color-gray-600: #
|
|
16
|
-
--color-gray-700: #
|
|
17
|
-
--color-gray-800: #
|
|
18
|
-
--color-gray-900: #
|
|
19
|
-
|
|
20
|
-
--color-green-50: #
|
|
21
|
-
--color-green-100: #
|
|
22
|
-
--color-green-200: #
|
|
23
|
-
--color-green-300: #
|
|
24
|
-
--color-green-400: #
|
|
25
|
-
--color-green-500: #
|
|
26
|
-
--color-green-600: #
|
|
9
|
+
--color-gray-50: #fafbfc;
|
|
10
|
+
--color-gray-100: #f5f6f7;
|
|
11
|
+
--color-gray-200: #eeeff0;
|
|
12
|
+
--color-gray-300: #e3e4e5;
|
|
13
|
+
--color-gray-400: #d7d8d9;
|
|
14
|
+
--color-gray-500: #bdbebf;
|
|
15
|
+
--color-gray-600: #9e9fa0;
|
|
16
|
+
--color-gray-700: #757677;
|
|
17
|
+
--color-gray-800: #616263;
|
|
18
|
+
--color-gray-900: #3d3e3f;
|
|
19
|
+
|
|
20
|
+
--color-green-50: #f3faf1;
|
|
21
|
+
--color-green-100: #c9eec1;
|
|
22
|
+
--color-green-200: #b0e3a6;
|
|
23
|
+
--color-green-300: #a1d795;
|
|
24
|
+
--color-green-400: #85cf74;
|
|
25
|
+
--color-green-500: #6cb75b;
|
|
26
|
+
--color-green-600: #599d4a;
|
|
27
27
|
--color-green-700: #47823a;
|
|
28
|
-
--color-green-800: #
|
|
28
|
+
--color-green-800: #366a2a;
|
|
29
29
|
--color-green-900: #2a5121;
|
|
30
30
|
|
|
31
|
-
--color-
|
|
32
|
-
--color-
|
|
33
|
-
--color-
|
|
34
|
-
--color-
|
|
35
|
-
--color-
|
|
36
|
-
--color-
|
|
37
|
-
--color-
|
|
38
|
-
--color-
|
|
39
|
-
--color-
|
|
40
|
-
--color-
|
|
41
|
-
|
|
42
|
-
--color-purple-50: #
|
|
43
|
-
--color-purple-100: #
|
|
44
|
-
--color-purple-200: #
|
|
45
|
-
--color-purple-300: #
|
|
46
|
-
--color-purple-400: #
|
|
47
|
-
--color-purple-500: #
|
|
48
|
-
--color-purple-600: #
|
|
49
|
-
--color-purple-700: #
|
|
31
|
+
--color-red-50: #fdf0f2;
|
|
32
|
+
--color-red-100: #f9d1d7;
|
|
33
|
+
--color-red-200: #f4a3af;
|
|
34
|
+
--color-red-300: #f07789;
|
|
35
|
+
--color-red-400: #ec4a6a;
|
|
36
|
+
--color-red-500: #e42e5c;
|
|
37
|
+
--color-red-600: #d72857;
|
|
38
|
+
--color-red-700: #c92c46;
|
|
39
|
+
--color-red-800: #b12a3e;
|
|
40
|
+
--color-red-900: #9d2134;
|
|
41
|
+
|
|
42
|
+
--color-purple-50: #fcf2fc;
|
|
43
|
+
--color-purple-100: #eedff0;
|
|
44
|
+
--color-purple-200: #d9c5dc;
|
|
45
|
+
--color-purple-300: #c5b1c8;
|
|
46
|
+
--color-purple-400: #ab93ae;
|
|
47
|
+
--color-purple-500: #977e9a;
|
|
48
|
+
--color-purple-600: #846888;
|
|
49
|
+
--color-purple-700: #6f5073;
|
|
50
50
|
--color-purple-800: #5c4060;
|
|
51
|
-
--color-purple-900: #
|
|
51
|
+
--color-purple-900: #4a304d;
|
|
52
52
|
|
|
53
|
-
--color-robinblue-50: #
|
|
54
|
-
--color-robinblue-100: #
|
|
53
|
+
--color-robinblue-50: #eff9f9;
|
|
54
|
+
--color-robinblue-100: #c6e6e4;
|
|
55
55
|
--color-robinblue-200: #a0d5d2;
|
|
56
|
-
--color-robinblue-300: #
|
|
57
|
-
--color-robinblue-400: #
|
|
58
|
-
--color-robinblue-500: #
|
|
56
|
+
--color-robinblue-300: #79c1c8;
|
|
57
|
+
--color-robinblue-400: #54b2bb;
|
|
58
|
+
--color-robinblue-500: #0095a3;
|
|
59
59
|
--color-robinblue-600: #007a85;
|
|
60
60
|
--color-robinblue-700: #006771;
|
|
61
|
-
--color-robinblue-800: #
|
|
62
|
-
--color-robinblue-900: #
|
|
63
|
-
|
|
64
|
-
--color-
|
|
65
|
-
--color-
|
|
66
|
-
--color-
|
|
67
|
-
--color-
|
|
68
|
-
--color-
|
|
69
|
-
--color-
|
|
70
|
-
--color-
|
|
71
|
-
--color-
|
|
72
|
-
--color-
|
|
73
|
-
--color-
|
|
74
|
-
|
|
75
|
-
--color-
|
|
76
|
-
--color-
|
|
77
|
-
--color-
|
|
78
|
-
--color-
|
|
79
|
-
--color-
|
|
61
|
+
--color-robinblue-800: #004f56;
|
|
62
|
+
--color-robinblue-900: #003b40;
|
|
63
|
+
|
|
64
|
+
--color-orange-50: #fdf4e6;
|
|
65
|
+
--color-orange-100: #ffe4b8;
|
|
66
|
+
--color-orange-200: #fad69b;
|
|
67
|
+
--color-orange-300: #f0b975;
|
|
68
|
+
--color-orange-400: #eb994c;
|
|
69
|
+
--color-orange-500: #e78223;
|
|
70
|
+
--color-orange-600: #df7514;
|
|
71
|
+
--color-orange-700: #c85f1a;
|
|
72
|
+
--color-orange-800: #b64715;
|
|
73
|
+
--color-orange-900: #a03f10;
|
|
74
|
+
|
|
75
|
+
--color-dataviz-purple: #9a2e94;
|
|
76
|
+
--color-dataviz-magenta: #de425b;
|
|
77
|
+
--color-dataviz-yellow: #ffd024;
|
|
78
|
+
--color-dataviz-orange: #e78223;
|
|
79
|
+
--color-dataviz-robinblue: #0095a3;
|
|
80
|
+
--color-dataviz-green: #7dbb4e;
|
|
80
81
|
|
|
81
82
|
--spacing-*: initial;
|
|
82
83
|
--spacing: 0.25rem;
|
|
@@ -103,12 +104,13 @@
|
|
|
103
104
|
--text-*: initial;
|
|
104
105
|
--text-sm: 12px;
|
|
105
106
|
--text-sm-line-height: 16px;
|
|
106
|
-
--text-
|
|
107
|
-
--text-
|
|
107
|
+
--text-md: 14px;
|
|
108
|
+
--text-md-line-height: 20px;
|
|
108
109
|
--text-lg: 18px;
|
|
109
110
|
--text-lg-line-height: 24px;
|
|
110
111
|
--text-xl: 20px;
|
|
111
112
|
--text-xl-line-height: 28px;
|
|
113
|
+
--text-base: var(--text-md);
|
|
112
114
|
|
|
113
115
|
--leading-*: initial;
|
|
114
116
|
--leading-14: 14px;
|
|
@@ -119,7 +121,7 @@
|
|
|
119
121
|
|
|
120
122
|
--radius-*: initial;
|
|
121
123
|
--radius-none: 0;
|
|
122
|
-
--radius:
|
|
124
|
+
--radius: 8px;
|
|
123
125
|
--radius-full: 9999px;
|
|
124
126
|
|
|
125
127
|
--shadow-*: initial;
|
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": "
|
|
4
|
+
"version": "2.0.0-alpha.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -24,39 +24,38 @@
|
|
|
24
24
|
"react-dom": "^19.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@
|
|
28
|
-
"@storybook/addon-
|
|
29
|
-
"@storybook/addon-
|
|
30
|
-
"@storybook/
|
|
31
|
-
"@storybook/
|
|
32
|
-
"@tailwindcss/vite": "^4.
|
|
27
|
+
"@eslint/js": "^10.0.1",
|
|
28
|
+
"@storybook/addon-docs": "^10.3.6",
|
|
29
|
+
"@storybook/addon-links": "^10.3.6",
|
|
30
|
+
"@storybook/addon-themes": "^10.3.6",
|
|
31
|
+
"@storybook/react-vite": "^10.3.6",
|
|
32
|
+
"@tailwindcss/vite": "^4.3.0",
|
|
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
36
|
"@types/react": "^19.1.13",
|
|
37
37
|
"@types/react-dom": "^19.1.9",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
39
|
-
"@typescript-eslint/parser": "^
|
|
40
|
-
"@vitejs/plugin-react": "^
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^8.59.3",
|
|
39
|
+
"@typescript-eslint/parser": "^8.59.3",
|
|
40
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
41
41
|
"class-variance-authority": "^0.7.1",
|
|
42
42
|
"clsx": "^2.1.1",
|
|
43
43
|
"color": "^5.0.0",
|
|
44
|
-
"eslint": "^
|
|
45
|
-
"eslint-plugin-react-hooks": "^
|
|
46
|
-
"eslint-plugin-
|
|
47
|
-
"eslint-plugin-storybook": "^9.1.20",
|
|
44
|
+
"eslint": "^10.3.0",
|
|
45
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
46
|
+
"eslint-plugin-storybook": "^10.3.6",
|
|
48
47
|
"gh-pages": "^6.3.0",
|
|
49
48
|
"husky": "^9.1.7",
|
|
50
49
|
"lint-staged": "^15.5.2",
|
|
51
50
|
"prettier": "^3.6.2",
|
|
52
|
-
"storybook": "^
|
|
51
|
+
"storybook": "^10.3.6",
|
|
53
52
|
"tailwind-merge": "^3.3.1",
|
|
54
|
-
"tailwindcss": "^4.
|
|
53
|
+
"tailwindcss": "^4.2.4",
|
|
55
54
|
"tw-animate-css": "^1.3.7",
|
|
56
55
|
"typescript": "^5.9.2",
|
|
57
|
-
"
|
|
58
|
-
"vite
|
|
59
|
-
"vite-plugin-static-copy": "^
|
|
56
|
+
"unplugin-dts": "^1.0.1",
|
|
57
|
+
"vite": "^8.0.14",
|
|
58
|
+
"vite-plugin-static-copy": "^4.1.0"
|
|
60
59
|
},
|
|
61
60
|
"dependencies": {
|
|
62
61
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
@@ -89,9 +88,12 @@
|
|
|
89
88
|
"prettier --write ."
|
|
90
89
|
]
|
|
91
90
|
},
|
|
91
|
+
"engines": {
|
|
92
|
+
"node": ">=24.13"
|
|
93
|
+
},
|
|
92
94
|
"scripts": {
|
|
93
95
|
"build": "vite build",
|
|
94
|
-
"lint": "eslint . --
|
|
96
|
+
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
|
|
95
97
|
"storybook": "storybook dev -p 6006",
|
|
96
98
|
"build-storybook": "storybook build",
|
|
97
99
|
"deploy-storybook": "pnpm build-storybook && touch ./storybook-static/.nojekyll && gh-pages -d storybook-static -t true"
|
package/dist/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index3.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index37.cjs"),c=require("./index38.cjs"),r=require("lucide-react"),i=require("./index39.cjs"),u=c.cva("relative w-full rounded flex items-center [&>svg]:shrink-0",{variants:{variant:{info:"bg-gray-900/8 [&>svg]:text-gray-700",success:"bg-green-50 [&>svg]:text-green-500",error:"bg-magenta-50 [&>svg]:text-magenta-500",warning:"bg-yellow-50 [&>svg]:text-yellow-500"},size:{sm:"py-8 px-12 gap-x-8",md:"p-16 gap-x-12"}},defaultVariants:{variant:"info",size:"md"}}),x={info:e.jsxRuntimeExports.jsx(r.LucideInfo,{}),success:e.jsxRuntimeExports.jsx(r.LucideCheck,{}),error:e.jsxRuntimeExports.jsx(r.LucideAlertCircle,{}),warning:e.jsxRuntimeExports.jsx(r.LucideAlertTriangle,{})};function g({className:s,variant:t,size:n,icon:l,children:a,...o}){return e.jsxRuntimeExports.jsxs("div",{"data-slot":"alert",role:"alert",className:i.cn(u({variant:t,size:n}),s),...o,children:[l||(t?x[t]:null),e.jsxRuntimeExports.jsx("div",{className:"block w-full",children:a})]})}function d({className:s,...t}){return e.jsxRuntimeExports.jsx("h3",{"data-slot":"alert-title",className:i.cn("col-start-2 line-clamp-1 min-h-16 font-semibold tracking-tight",s),...t})}function m({className:s,...t}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"alert-description",className:i.cn("col-start-2 grid justify-items-start gap-1 [&_p]:leading-relaxed",s),...t})}exports.Alert=g;exports.AlertDescription=m;exports.AlertTitle=d;
|
|
2
|
-
//# sourceMappingURL=index3.cjs.map
|
package/dist/index3.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index3.cjs","sources":["../src/Alert/index.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority'\nimport {\n LucideAlertCircle,\n LucideAlertTriangle,\n LucideCheck,\n LucideInfo\n} from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst alertVariants = cva(\n 'relative w-full rounded flex items-center [&>svg]:shrink-0',\n {\n variants: {\n variant: {\n info: 'bg-gray-900/8 [&>svg]:text-gray-700',\n success: 'bg-green-50 [&>svg]:text-green-500',\n error: 'bg-magenta-50 [&>svg]:text-magenta-500',\n warning: 'bg-yellow-50 [&>svg]:text-yellow-500'\n },\n size: {\n sm: 'py-8 px-12 gap-x-8',\n md: 'p-16 gap-x-12'\n }\n },\n defaultVariants: {\n variant: 'info',\n size: 'md'\n }\n }\n)\n\nconst VariantToLucideIcon = {\n info: <LucideInfo />,\n success: <LucideCheck />,\n error: <LucideAlertCircle />,\n warning: <LucideAlertTriangle />\n}\n\nfunction Alert({\n className,\n variant,\n size,\n icon,\n children,\n ...props\n}: React.ComponentProps<'div'> &\n VariantProps<typeof alertVariants> & {\n icon?: React.ReactNode\n }) {\n return (\n <div\n data-slot=\"alert\"\n role=\"alert\"\n className={cn(alertVariants({ variant, size }), className)}\n {...props}\n >\n {icon || (variant ? VariantToLucideIcon[variant] : null)}\n <div className=\"block w-full\">{children}</div>\n </div>\n )\n}\n\nfunction AlertTitle({ className, ...props }: React.ComponentProps<'h3'>) {\n return (\n <h3\n data-slot=\"alert-title\"\n className={cn(\n 'col-start-2 line-clamp-1 min-h-16 font-semibold tracking-tight',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDescription({\n className,\n ...props\n}: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"alert-description\"\n className={cn(\n 'col-start-2 grid justify-items-start gap-1 [&_p]:leading-relaxed',\n className\n )}\n {...props}\n />\n )\n}\n\nexport { Alert, AlertDescription, AlertTitle }\n"],"names":["alertVariants","cva","VariantToLucideIcon","LucideInfo","LucideCheck","LucideAlertCircle","LucideAlertTriangle","Alert","className","variant","size","icon","children","props","jsxs","cn","jsx","AlertTitle","AlertDescription"],"mappings":"iMAUMA,EAAgBC,EAAAA,IACpB,6DACA,CACE,SAAU,CACR,QAAS,CACP,KAAM,sCACN,QAAS,qCACT,MAAO,yCACP,QAAS,sCAAA,EAEX,KAAM,CACJ,GAAI,qBACJ,GAAI,eAAA,CACN,EAEF,gBAAiB,CACf,QAAS,OACT,KAAM,IAAA,CACR,CAEJ,EAEMC,EAAsB,CAC1B,6BAAOC,EAAAA,WAAA,EAAW,EAClB,gCAAUC,EAAAA,YAAA,EAAY,EACtB,8BAAQC,EAAAA,kBAAA,EAAkB,EAC1B,gCAAUC,EAAAA,oBAAA,CAAA,CAAoB,CAChC,EAEA,SAASC,EAAM,CACb,UAAAC,EACA,QAAAC,EACA,KAAAC,EACA,KAAAC,EACA,SAAAC,EACA,GAAGC,CACL,EAGK,CACH,OACEC,EAAAA,kBAAAA,KAAC,MAAA,CACC,YAAU,QACV,KAAK,QACL,UAAWC,EAAAA,GAAGf,EAAc,CAAE,QAAAS,EAAS,KAAAC,CAAA,CAAM,EAAGF,CAAS,EACxD,GAAGK,EAEH,SAAA,CAAAF,IAASF,EAAUP,EAAoBO,CAAO,EAAI,MACnDO,EAAAA,kBAAAA,IAAC,MAAA,CAAI,UAAU,eAAgB,SAAAJ,CAAA,CAAS,CAAA,CAAA,CAAA,CAG9C,CAEA,SAASK,EAAW,CAAE,UAAAT,EAAW,GAAGK,GAAqC,CACvE,OACEG,EAAAA,kBAAAA,IAAC,KAAA,CACC,YAAU,cACV,UAAWD,EAAAA,GACT,iEACAP,CAAA,EAED,GAAGK,CAAA,CAAA,CAGV,CAEA,SAASK,EAAiB,CACxB,UAAAV,EACA,GAAGK,CACL,EAAgC,CAC9B,OACEG,EAAAA,kBAAAA,IAAC,MAAA,CACC,YAAU,oBACV,UAAWD,EAAAA,GACT,mEACAP,CAAA,EAED,GAAGK,CAAA,CAAA,CAGV"}
|
package/dist/index3.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { j as t } from "./index37.js";
|
|
2
|
-
import { cva as o } from "./index38.js";
|
|
3
|
-
import { LucideAlertTriangle as c, LucideAlertCircle as g, LucideCheck as m, LucideInfo as d } from "lucide-react";
|
|
4
|
-
import { cn as s } from "./index39.js";
|
|
5
|
-
const u = o(
|
|
6
|
-
"relative w-full rounded flex items-center [&>svg]:shrink-0",
|
|
7
|
-
{
|
|
8
|
-
variants: {
|
|
9
|
-
variant: {
|
|
10
|
-
info: "bg-gray-900/8 [&>svg]:text-gray-700",
|
|
11
|
-
success: "bg-green-50 [&>svg]:text-green-500",
|
|
12
|
-
error: "bg-magenta-50 [&>svg]:text-magenta-500",
|
|
13
|
-
warning: "bg-yellow-50 [&>svg]:text-yellow-500"
|
|
14
|
-
},
|
|
15
|
-
size: {
|
|
16
|
-
sm: "py-8 px-12 gap-x-8",
|
|
17
|
-
md: "p-16 gap-x-12"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
defaultVariants: {
|
|
21
|
-
variant: "info",
|
|
22
|
-
size: "md"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
), x = {
|
|
26
|
-
info: /* @__PURE__ */ t.jsx(d, {}),
|
|
27
|
-
success: /* @__PURE__ */ t.jsx(m, {}),
|
|
28
|
-
error: /* @__PURE__ */ t.jsx(g, {}),
|
|
29
|
-
warning: /* @__PURE__ */ t.jsx(c, {})
|
|
30
|
-
};
|
|
31
|
-
function b({
|
|
32
|
-
className: r,
|
|
33
|
-
variant: e,
|
|
34
|
-
size: a,
|
|
35
|
-
icon: i,
|
|
36
|
-
children: l,
|
|
37
|
-
...n
|
|
38
|
-
}) {
|
|
39
|
-
return /* @__PURE__ */ t.jsxs(
|
|
40
|
-
"div",
|
|
41
|
-
{
|
|
42
|
-
"data-slot": "alert",
|
|
43
|
-
role: "alert",
|
|
44
|
-
className: s(u({ variant: e, size: a }), r),
|
|
45
|
-
...n,
|
|
46
|
-
children: [
|
|
47
|
-
i || (e ? x[e] : null),
|
|
48
|
-
/* @__PURE__ */ t.jsx("div", { className: "block w-full", children: l })
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
|
-
function h({ className: r, ...e }) {
|
|
54
|
-
return /* @__PURE__ */ t.jsx(
|
|
55
|
-
"h3",
|
|
56
|
-
{
|
|
57
|
-
"data-slot": "alert-title",
|
|
58
|
-
className: s(
|
|
59
|
-
"col-start-2 line-clamp-1 min-h-16 font-semibold tracking-tight",
|
|
60
|
-
r
|
|
61
|
-
),
|
|
62
|
-
...e
|
|
63
|
-
}
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
function w({
|
|
67
|
-
className: r,
|
|
68
|
-
...e
|
|
69
|
-
}) {
|
|
70
|
-
return /* @__PURE__ */ t.jsx(
|
|
71
|
-
"div",
|
|
72
|
-
{
|
|
73
|
-
"data-slot": "alert-description",
|
|
74
|
-
className: s(
|
|
75
|
-
"col-start-2 grid justify-items-start gap-1 [&_p]:leading-relaxed",
|
|
76
|
-
r
|
|
77
|
-
),
|
|
78
|
-
...e
|
|
79
|
-
}
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
export {
|
|
83
|
-
b as Alert,
|
|
84
|
-
w as AlertDescription,
|
|
85
|
-
h as AlertTitle
|
|
86
|
-
};
|
|
87
|
-
//# sourceMappingURL=index3.js.map
|
package/dist/index3.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index3.js","sources":["../src/Alert/index.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority'\nimport {\n LucideAlertCircle,\n LucideAlertTriangle,\n LucideCheck,\n LucideInfo\n} from 'lucide-react'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst alertVariants = cva(\n 'relative w-full rounded flex items-center [&>svg]:shrink-0',\n {\n variants: {\n variant: {\n info: 'bg-gray-900/8 [&>svg]:text-gray-700',\n success: 'bg-green-50 [&>svg]:text-green-500',\n error: 'bg-magenta-50 [&>svg]:text-magenta-500',\n warning: 'bg-yellow-50 [&>svg]:text-yellow-500'\n },\n size: {\n sm: 'py-8 px-12 gap-x-8',\n md: 'p-16 gap-x-12'\n }\n },\n defaultVariants: {\n variant: 'info',\n size: 'md'\n }\n }\n)\n\nconst VariantToLucideIcon = {\n info: <LucideInfo />,\n success: <LucideCheck />,\n error: <LucideAlertCircle />,\n warning: <LucideAlertTriangle />\n}\n\nfunction Alert({\n className,\n variant,\n size,\n icon,\n children,\n ...props\n}: React.ComponentProps<'div'> &\n VariantProps<typeof alertVariants> & {\n icon?: React.ReactNode\n }) {\n return (\n <div\n data-slot=\"alert\"\n role=\"alert\"\n className={cn(alertVariants({ variant, size }), className)}\n {...props}\n >\n {icon || (variant ? VariantToLucideIcon[variant] : null)}\n <div className=\"block w-full\">{children}</div>\n </div>\n )\n}\n\nfunction AlertTitle({ className, ...props }: React.ComponentProps<'h3'>) {\n return (\n <h3\n data-slot=\"alert-title\"\n className={cn(\n 'col-start-2 line-clamp-1 min-h-16 font-semibold tracking-tight',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDescription({\n className,\n ...props\n}: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"alert-description\"\n className={cn(\n 'col-start-2 grid justify-items-start gap-1 [&_p]:leading-relaxed',\n className\n )}\n {...props}\n />\n )\n}\n\nexport { Alert, AlertDescription, AlertTitle }\n"],"names":["alertVariants","cva","VariantToLucideIcon","LucideInfo","LucideCheck","LucideAlertCircle","LucideAlertTriangle","Alert","className","variant","size","icon","children","props","jsxs","cn","jsx","AlertTitle","AlertDescription"],"mappings":";;;;AAUA,MAAMA,IAAgBC;AAAA,EACpB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,MAAM;AAAA,QACN,SAAS;AAAA,QACT,OAAO;AAAA,QACP,SAAS;AAAA,MAAA;AAAA,MAEX,MAAM;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,MAAA;AAAA,IACN;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IAAA;AAAA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