@clasing/ui 2.7.4 → 2.8.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-aFyTFGVU.js → badge-DBOcqSZb.js} +7 -7
- package/dist/{button-BMh8vaQL.js → button-DSpGxL2e.js} +14 -15
- package/dist/{card-aAzRmGVH.js → card-zTCfwTcL.js} +1 -1
- package/dist/{chip-BmqvnZuy.js → chip-DOCdEBBS.js} +8 -8
- package/dist/{clasing-icon-CJQQN554.js → clasing-icon-zhfWTLFn.js} +1 -1
- package/dist/{command-peXi2dFX.js → command-Cq3FhQXv.js} +2 -2
- package/dist/components/{accordion.es.js → accordion.js} +1 -1
- package/dist/components/{alert-dialog.es.js → alert-dialog.js} +2 -2
- package/dist/components/{alert.es.js → alert.js} +3 -3
- package/dist/components/{avatar.es.js → avatar.js} +1 -1
- package/dist/components/badge.js +4 -0
- package/dist/components/blocks/{interactive-card.es.js → interactive-card.js} +12 -12
- package/dist/components/blocks/{selectable-chips.es.js → selectable-chips.js} +3 -3
- package/dist/components/{breadcrumb.es.js → breadcrumb.js} +1 -1
- package/dist/components/{button-group.es.js → button-group.js} +6 -6
- package/dist/components/button.js +5 -0
- package/dist/components/{calendar.es.js → calendar.js} +2 -2
- package/dist/components/{card.es.js → card.js} +1 -1
- package/dist/components/{chart.es.js → chart.js} +1 -1
- package/dist/components/{checkbox.es.js → checkbox.js} +1 -1
- package/dist/components/chip.js +5 -0
- package/dist/components/clasing-icon.js +4 -0
- package/dist/components/{collapsible.es.js → collapsible.js} +1 -1
- package/dist/components/{command.es.js → command.js} +1 -1
- package/dist/components/{context-menu.es.js → context-menu.js} +8 -8
- package/dist/components/{dialog.es.js → dialog.js} +1 -1
- package/dist/components/divider.js +4 -0
- package/dist/components/{drawer.es.js → drawer.js} +1 -1
- package/dist/components/{dropdown-menu.es.js → dropdown-menu.js} +39 -39
- package/dist/components/{form.es.js → form.js} +2 -2
- package/dist/components/{hover-card.es.js → hover-card.js} +1 -1
- package/dist/components/{input-otp.es.js → input-otp.js} +1 -1
- package/dist/components/input.js +4 -0
- package/dist/components/{kbd.es.js → kbd.js} +1 -1
- package/dist/components/label.js +4 -0
- package/dist/components/{menubar.es.js → menubar.js} +2 -2
- package/dist/components/{multi-select.es.js → multi-select.js} +5 -5
- package/dist/components/{navigation-menu.es.js → navigation-menu.js} +2 -2
- package/dist/components/{phone-input.es.js → phone-input.js} +5 -5
- package/dist/components/{popover.es.js → popover.js} +1 -1
- package/dist/components/{progress.es.js → progress.js} +1 -1
- package/dist/components/{resizable.es.js → resizable.js} +1 -1
- package/dist/components/scroll-area.js +5 -0
- package/dist/components/{select.es.js → select.js} +1 -1
- package/dist/components/{sheet.es.js → sheet.js} +1 -1
- package/dist/components/{skeleton.es.js → skeleton.js} +1 -1
- package/dist/components/{slider.es.js → slider.js} +1 -1
- package/dist/components/{sonner.es.js → sonner.js} +2 -2
- package/dist/components/{switch.es.js → switch.js} +8 -8
- package/dist/components/{table.es.js → table.js} +1 -1
- package/dist/components/{textarea.es.js → textarea.js} +8 -8
- package/dist/components/{toggle-group.es.js → toggle-group.js} +2 -2
- package/dist/components/toggle.js +5 -0
- package/dist/components/{tooltip.es.js → tooltip.js} +1 -1
- package/dist/{dialog-CdmsVmRe.js → dialog-BcR6vjTs.js} +1 -1
- package/dist/{divider-DumyhJI_.js → divider-DnPsAXol.js} +1 -1
- package/dist/index-C_XDkVGm.js +270 -0
- package/dist/{input-9_pd3W-1.js → input-C0PAOim8.js} +4 -4
- package/dist/{label-BteX4MEt.js → label-CnZHCbRc.js} +1 -1
- package/dist/{popover-eQq2Is-I.js → popover-CLQxfbEi.js} +1 -1
- package/dist/{scroll-area-CJy_EOqT.js → scroll-area-DQenuQib.js} +1 -1
- package/dist/{toggle-DuhnqdDT.js → toggle-Bj6sVNqF.js} +5 -5
- package/dist/{tooltip-BYeLeBei.js → tooltip-CC_kyHTm.js} +1 -1
- package/dist/ui.css +17 -9
- package/package.json +53 -106
- package/dist/badge-DK9gdPpu.cjs +0 -91
- package/dist/button-CBGIJZh6.cjs +0 -70
- package/dist/card-DkYKwjsA.cjs +0 -12
- package/dist/chip-BlWb6w16.cjs +0 -17
- package/dist/clasing-icon-CHt2Otn8.cjs +0 -1
- package/dist/command-DNjJookC.cjs +0 -35
- package/dist/components/accordion.cjs.js +0 -20
- package/dist/components/alert-dialog.cjs.js +0 -17
- package/dist/components/alert.cjs.js +0 -6
- package/dist/components/avatar.cjs.js +0 -1
- package/dist/components/badge.cjs.js +0 -1
- package/dist/components/badge.es.js +0 -4
- package/dist/components/blocks/interactive-card.cjs.js +0 -5
- package/dist/components/blocks/selectable-chips.cjs.js +0 -1
- package/dist/components/breadcrumb.cjs.js +0 -1
- package/dist/components/button-group.cjs.js +0 -1
- package/dist/components/button.cjs.js +0 -1
- package/dist/components/button.es.js +0 -5
- package/dist/components/calendar.cjs.js +0 -73
- package/dist/components/card.cjs.js +0 -1
- package/dist/components/chart.cjs.js +0 -32
- package/dist/components/checkbox.cjs.js +0 -15
- package/dist/components/chip.cjs.js +0 -1
- package/dist/components/chip.es.js +0 -5
- package/dist/components/clasing-icon.cjs.js +0 -1
- package/dist/components/clasing-icon.es.js +0 -4
- package/dist/components/collapsible.cjs.js +0 -10
- package/dist/components/command.cjs.js +0 -1
- package/dist/components/context-menu.cjs.js +0 -70
- package/dist/components/dialog.cjs.js +0 -1
- package/dist/components/divider.cjs.js +0 -1
- package/dist/components/divider.es.js +0 -4
- package/dist/components/drawer.cjs.js +0 -42
- package/dist/components/dropdown-menu.cjs.js +0 -70
- package/dist/components/form.cjs.js +0 -1
- package/dist/components/hover-card.cjs.js +0 -13
- package/dist/components/input-otp.cjs.js +0 -19
- package/dist/components/input.cjs.js +0 -1
- package/dist/components/input.es.js +0 -4
- package/dist/components/kbd.cjs.js +0 -9
- package/dist/components/label.cjs.js +0 -1
- package/dist/components/label.es.js +0 -4
- package/dist/components/menubar.cjs.js +0 -74
- package/dist/components/multi-select.cjs.js +0 -22
- package/dist/components/navigation-menu.cjs.js +0 -70
- package/dist/components/phone-input.cjs.js +0 -21
- package/dist/components/popover.cjs.js +0 -1
- package/dist/components/progress.cjs.js +0 -1
- package/dist/components/resizable.cjs.js +0 -22
- package/dist/components/scroll-area.cjs.js +0 -1
- package/dist/components/scroll-area.es.js +0 -5
- package/dist/components/select.cjs.js +0 -56
- package/dist/components/sheet.cjs.js +0 -36
- package/dist/components/skeleton.cjs.js +0 -1
- package/dist/components/slider.cjs.js +0 -23
- package/dist/components/sonner.cjs.js +0 -15
- package/dist/components/switch.cjs.js +0 -19
- package/dist/components/table.cjs.js +0 -20
- package/dist/components/textarea.cjs.js +0 -22
- package/dist/components/toggle-group.cjs.js +0 -12
- package/dist/components/toggle.cjs.js +0 -1
- package/dist/components/toggle.es.js +0 -5
- package/dist/components/tooltip.cjs.js +0 -1
- package/dist/dialog-BUaX7IId.cjs +0 -28
- package/dist/divider-D4EfIlt3.cjs +0 -1
- package/dist/hooks/useOutsideClick.cjs.js +0 -1
- package/dist/index-Bfismeyo.cjs +0 -6
- package/dist/index-BmhzhLcV.cjs +0 -1
- package/dist/index-CnqageB2.js +0 -34
- package/dist/index-CwFDnnd3.js +0 -3197
- package/dist/input-DKYrdSsU.cjs +0 -28
- package/dist/label-O3mSiGyx.cjs +0 -7
- package/dist/popover-A1-x5q-F.cjs +0 -13
- package/dist/scroll-area-DFyIQG6Z.cjs +0 -6
- package/dist/toggle-BdWGPLza.cjs +0 -21
- package/dist/tooltip-BZWEHWmU.cjs +0 -14
- package/dist/utils/types.cjs.js +0 -1
- /package/dist/hooks/{useOutsideClick.es.js → useOutsideClick.js} +0 -0
- /package/dist/utils/{types.es.js → types.js} +0 -0
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import K from "react";
|
|
2
|
+
import ee from "clsx";
|
|
3
|
+
import { twMerge as re } from "tailwind-merge";
|
|
4
|
+
var v = { exports: {} }, d = {};
|
|
5
|
+
var I;
|
|
6
|
+
function te() {
|
|
7
|
+
if (I) return d;
|
|
8
|
+
I = 1;
|
|
9
|
+
var u = /* @__PURE__ */ Symbol.for("react.transitional.element"), E = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
10
|
+
function c(i, o, s) {
|
|
11
|
+
var f = null;
|
|
12
|
+
if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
|
|
13
|
+
s = {};
|
|
14
|
+
for (var m in o)
|
|
15
|
+
m !== "key" && (s[m] = o[m]);
|
|
16
|
+
} else s = o;
|
|
17
|
+
return o = s.ref, {
|
|
18
|
+
$$typeof: u,
|
|
19
|
+
type: i,
|
|
20
|
+
key: f,
|
|
21
|
+
ref: o !== void 0 ? o : null,
|
|
22
|
+
props: s
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
return d.Fragment = E, d.jsx = c, d.jsxs = c, d;
|
|
26
|
+
}
|
|
27
|
+
var _ = {};
|
|
28
|
+
var $;
|
|
29
|
+
function ne() {
|
|
30
|
+
return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
31
|
+
function u(e) {
|
|
32
|
+
if (e == null) return null;
|
|
33
|
+
if (typeof e == "function")
|
|
34
|
+
return e.$$typeof === H ? null : e.displayName || e.name || null;
|
|
35
|
+
if (typeof e == "string") return e;
|
|
36
|
+
switch (e) {
|
|
37
|
+
case p:
|
|
38
|
+
return "Fragment";
|
|
39
|
+
case U:
|
|
40
|
+
return "Profiler";
|
|
41
|
+
case W:
|
|
42
|
+
return "StrictMode";
|
|
43
|
+
case z:
|
|
44
|
+
return "Suspense";
|
|
45
|
+
case G:
|
|
46
|
+
return "SuspenseList";
|
|
47
|
+
case B:
|
|
48
|
+
return "Activity";
|
|
49
|
+
}
|
|
50
|
+
if (typeof e == "object")
|
|
51
|
+
switch (typeof e.tag == "number" && console.error(
|
|
52
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
53
|
+
), e.$$typeof) {
|
|
54
|
+
case L:
|
|
55
|
+
return "Portal";
|
|
56
|
+
case V:
|
|
57
|
+
return e.displayName || "Context";
|
|
58
|
+
case J:
|
|
59
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
60
|
+
case q:
|
|
61
|
+
var r = e.render;
|
|
62
|
+
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
63
|
+
case X:
|
|
64
|
+
return r = e.displayName || null, r !== null ? r : u(e.type) || "Memo";
|
|
65
|
+
case T:
|
|
66
|
+
r = e._payload, e = e._init;
|
|
67
|
+
try {
|
|
68
|
+
return u(e(r));
|
|
69
|
+
} catch {
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
function E(e) {
|
|
75
|
+
return "" + e;
|
|
76
|
+
}
|
|
77
|
+
function c(e) {
|
|
78
|
+
try {
|
|
79
|
+
E(e);
|
|
80
|
+
var r = !1;
|
|
81
|
+
} catch {
|
|
82
|
+
r = !0;
|
|
83
|
+
}
|
|
84
|
+
if (r) {
|
|
85
|
+
r = console;
|
|
86
|
+
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
87
|
+
return t.call(
|
|
88
|
+
r,
|
|
89
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
90
|
+
n
|
|
91
|
+
), E(e);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function i(e) {
|
|
95
|
+
if (e === p) return "<>";
|
|
96
|
+
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
97
|
+
return "<...>";
|
|
98
|
+
try {
|
|
99
|
+
var r = u(e);
|
|
100
|
+
return r ? "<" + r + ">" : "<...>";
|
|
101
|
+
} catch {
|
|
102
|
+
return "<...>";
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
function o() {
|
|
106
|
+
var e = k.A;
|
|
107
|
+
return e === null ? null : e.getOwner();
|
|
108
|
+
}
|
|
109
|
+
function s() {
|
|
110
|
+
return Error("react-stack-top-frame");
|
|
111
|
+
}
|
|
112
|
+
function f(e) {
|
|
113
|
+
if (j.call(e, "key")) {
|
|
114
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
115
|
+
if (r && r.isReactWarning) return !1;
|
|
116
|
+
}
|
|
117
|
+
return e.key !== void 0;
|
|
118
|
+
}
|
|
119
|
+
function m(e, r) {
|
|
120
|
+
function t() {
|
|
121
|
+
g || (g = !0, console.error(
|
|
122
|
+
"%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)",
|
|
123
|
+
r
|
|
124
|
+
));
|
|
125
|
+
}
|
|
126
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
127
|
+
get: t,
|
|
128
|
+
configurable: !0
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
function D() {
|
|
132
|
+
var e = u(this.type);
|
|
133
|
+
return h[e] || (h[e] = !0, console.error(
|
|
134
|
+
"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."
|
|
135
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
136
|
+
}
|
|
137
|
+
function M(e, r, t, n, b, A) {
|
|
138
|
+
var a = t.ref;
|
|
139
|
+
return e = {
|
|
140
|
+
$$typeof: y,
|
|
141
|
+
type: e,
|
|
142
|
+
key: r,
|
|
143
|
+
props: t,
|
|
144
|
+
_owner: n
|
|
145
|
+
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
146
|
+
enumerable: !1,
|
|
147
|
+
get: D
|
|
148
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
149
|
+
configurable: !1,
|
|
150
|
+
enumerable: !1,
|
|
151
|
+
writable: !0,
|
|
152
|
+
value: 0
|
|
153
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
154
|
+
configurable: !1,
|
|
155
|
+
enumerable: !1,
|
|
156
|
+
writable: !0,
|
|
157
|
+
value: null
|
|
158
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
159
|
+
configurable: !1,
|
|
160
|
+
enumerable: !1,
|
|
161
|
+
writable: !0,
|
|
162
|
+
value: b
|
|
163
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
164
|
+
configurable: !1,
|
|
165
|
+
enumerable: !1,
|
|
166
|
+
writable: !0,
|
|
167
|
+
value: A
|
|
168
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
169
|
+
}
|
|
170
|
+
function P(e, r, t, n, b, A) {
|
|
171
|
+
var a = r.children;
|
|
172
|
+
if (a !== void 0)
|
|
173
|
+
if (n)
|
|
174
|
+
if (Z(a)) {
|
|
175
|
+
for (n = 0; n < a.length; n++)
|
|
176
|
+
w(a[n]);
|
|
177
|
+
Object.freeze && Object.freeze(a);
|
|
178
|
+
} else
|
|
179
|
+
console.error(
|
|
180
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
181
|
+
);
|
|
182
|
+
else w(a);
|
|
183
|
+
if (j.call(r, "key")) {
|
|
184
|
+
a = u(e);
|
|
185
|
+
var l = Object.keys(r).filter(function(Q) {
|
|
186
|
+
return Q !== "key";
|
|
187
|
+
});
|
|
188
|
+
n = 0 < l.length ? "{key: someKey, " + l.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (l = 0 < l.length ? "{" + l.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
189
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
190
|
+
let props = %s;
|
|
191
|
+
<%s {...props} />
|
|
192
|
+
React keys must be passed directly to JSX without using spread:
|
|
193
|
+
let props = %s;
|
|
194
|
+
<%s key={someKey} {...props} />`,
|
|
195
|
+
n,
|
|
196
|
+
a,
|
|
197
|
+
l,
|
|
198
|
+
a
|
|
199
|
+
), Y[a + n] = !0);
|
|
200
|
+
}
|
|
201
|
+
if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
|
|
202
|
+
t = {};
|
|
203
|
+
for (var S in r)
|
|
204
|
+
S !== "key" && (t[S] = r[S]);
|
|
205
|
+
} else t = r;
|
|
206
|
+
return a && m(
|
|
207
|
+
t,
|
|
208
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
209
|
+
), M(
|
|
210
|
+
e,
|
|
211
|
+
a,
|
|
212
|
+
t,
|
|
213
|
+
o(),
|
|
214
|
+
b,
|
|
215
|
+
A
|
|
216
|
+
);
|
|
217
|
+
}
|
|
218
|
+
function w(e) {
|
|
219
|
+
x(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? x(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
220
|
+
}
|
|
221
|
+
function x(e) {
|
|
222
|
+
return typeof e == "object" && e !== null && e.$$typeof === y;
|
|
223
|
+
}
|
|
224
|
+
var R = K, y = /* @__PURE__ */ Symbol.for("react.transitional.element"), L = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), U = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), q = /* @__PURE__ */ Symbol.for("react.forward_ref"), z = /* @__PURE__ */ Symbol.for("react.suspense"), G = /* @__PURE__ */ Symbol.for("react.suspense_list"), X = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), B = /* @__PURE__ */ Symbol.for("react.activity"), H = /* @__PURE__ */ Symbol.for("react.client.reference"), k = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
225
|
+
return null;
|
|
226
|
+
};
|
|
227
|
+
R = {
|
|
228
|
+
react_stack_bottom_frame: function(e) {
|
|
229
|
+
return e();
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
var g, h = {}, N = R.react_stack_bottom_frame.bind(
|
|
233
|
+
R,
|
|
234
|
+
s
|
|
235
|
+
)(), C = O(i(s)), Y = {};
|
|
236
|
+
_.Fragment = p, _.jsx = function(e, r, t) {
|
|
237
|
+
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
238
|
+
return P(
|
|
239
|
+
e,
|
|
240
|
+
r,
|
|
241
|
+
t,
|
|
242
|
+
!1,
|
|
243
|
+
n ? Error("react-stack-top-frame") : N,
|
|
244
|
+
n ? O(i(e)) : C
|
|
245
|
+
);
|
|
246
|
+
}, _.jsxs = function(e, r, t) {
|
|
247
|
+
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
248
|
+
return P(
|
|
249
|
+
e,
|
|
250
|
+
r,
|
|
251
|
+
t,
|
|
252
|
+
!0,
|
|
253
|
+
n ? Error("react-stack-top-frame") : N,
|
|
254
|
+
n ? O(i(e)) : C
|
|
255
|
+
);
|
|
256
|
+
};
|
|
257
|
+
})()), _;
|
|
258
|
+
}
|
|
259
|
+
var F;
|
|
260
|
+
function ae() {
|
|
261
|
+
return F || (F = 1, process.env.NODE_ENV === "production" ? v.exports = te() : v.exports = ne()), v.exports;
|
|
262
|
+
}
|
|
263
|
+
var le = ae();
|
|
264
|
+
function ce(...u) {
|
|
265
|
+
return re(ee(u));
|
|
266
|
+
}
|
|
267
|
+
export {
|
|
268
|
+
ce as c,
|
|
269
|
+
le as j
|
|
270
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as r, c as o } from "./index-
|
|
1
|
+
import { j as r, c as o } from "./index-C_XDkVGm.js";
|
|
2
2
|
import { EyeSlashIcon as f, EyeIcon as g } from "@phosphor-icons/react";
|
|
3
|
-
import {
|
|
3
|
+
import { cva as b } from "class-variance-authority";
|
|
4
4
|
import * as m from "react";
|
|
5
|
-
import { B as
|
|
5
|
+
import { B as x } from "./button-DSpGxL2e.js";
|
|
6
6
|
const d = b(
|
|
7
7
|
`
|
|
8
8
|
flex w-full min-w-0 rounded-md border border-input bg-transparent
|
|
@@ -93,7 +93,7 @@ function y({
|
|
|
93
93
|
}
|
|
94
94
|
),
|
|
95
95
|
e === "password" && /* @__PURE__ */ r.jsx(
|
|
96
|
-
|
|
96
|
+
x,
|
|
97
97
|
{
|
|
98
98
|
variant: "secondary",
|
|
99
99
|
type: "button",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as a, c as i } from "./index-C_XDkVGm.js";
|
|
2
2
|
import * as o from "@radix-ui/react-toggle";
|
|
3
|
-
import {
|
|
3
|
+
import { cva as s } from "class-variance-authority";
|
|
4
4
|
const d = s(
|
|
5
5
|
`
|
|
6
6
|
inline-flex items-center justify-center gap-2 rounded-md paragraph-sm
|
|
@@ -46,14 +46,14 @@ function c({
|
|
|
46
46
|
className: e,
|
|
47
47
|
variant: t,
|
|
48
48
|
size: r,
|
|
49
|
-
...
|
|
49
|
+
...n
|
|
50
50
|
}) {
|
|
51
|
-
return /* @__PURE__ */
|
|
51
|
+
return /* @__PURE__ */ a.jsx(
|
|
52
52
|
o.Root,
|
|
53
53
|
{
|
|
54
54
|
"data-slot": "toggle",
|
|
55
55
|
className: i(d({ variant: t, size: r, className: e })),
|
|
56
|
-
...
|
|
56
|
+
...n
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
59
|
}
|
package/dist/ui.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import 'tailwindcss';
|
|
2
2
|
@import 'tw-animate-css';
|
|
3
3
|
|
|
4
|
-
@source '
|
|
4
|
+
@source './src/**/*.{ts,tsx}';
|
|
5
5
|
|
|
6
6
|
@custom-variant dark (&:is(.dark *));
|
|
7
7
|
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
--primary-foreground: var(--color-neutral-100);
|
|
303
303
|
--secondary: var(--color-neutral-200);
|
|
304
304
|
--secondary-foreground: var(--foreground);
|
|
305
|
-
--muted: var(--color-neutral-
|
|
305
|
+
--muted: var(--color-neutral-100);
|
|
306
306
|
--muted-foreground: var(--color-neutral-500);
|
|
307
307
|
--accent: var(--color-neutral-200);
|
|
308
308
|
--accent-foreground: var(--color-neutral-900);
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
--info-foreground: var(--color-blue-700);
|
|
317
317
|
--border: var(--color-neutral-200);
|
|
318
318
|
--input: var(--color-neutral-300);
|
|
319
|
-
--ring: var(--color-
|
|
319
|
+
--ring: var(--color-ring-default);
|
|
320
320
|
--sidebar: var(--background);
|
|
321
321
|
--sidebar-foreground: var(--foreground);
|
|
322
322
|
--sidebar-primary: var(--primary);
|
|
@@ -331,9 +331,9 @@
|
|
|
331
331
|
.dark {
|
|
332
332
|
--background: var(--color-neutral-900);
|
|
333
333
|
--foreground: var(--color-neutral-100);
|
|
334
|
-
--card: var(--color-neutral-
|
|
334
|
+
--card: var(--color-neutral-900);
|
|
335
335
|
--card-foreground: var(--foreground);
|
|
336
|
-
--popover: var(--color-neutral-
|
|
336
|
+
--popover: var(--color-neutral-900);
|
|
337
337
|
--popover-foreground: var(--foreground);
|
|
338
338
|
--primary: var(--color-neutral-100);
|
|
339
339
|
--primary-foreground: var(--color-neutral-900);
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
--secondary-foreground: var(--color-neutral-100);
|
|
342
342
|
--muted: var(--color-neutral-800);
|
|
343
343
|
--muted-foreground: var(--color-neutral-400);
|
|
344
|
-
--accent: var(--color-neutral-
|
|
344
|
+
--accent: var(--color-neutral-700);
|
|
345
345
|
--accent-foreground: var(--color-neutral-100);
|
|
346
346
|
--destructive: var(--color-red-900);
|
|
347
347
|
--destructive-foreground: var(--color-red-200);
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
--info-foreground: var(--color-blue-200);
|
|
354
354
|
--border: var(--color-neutral-700);
|
|
355
355
|
--input: var(--color-neutral-700);
|
|
356
|
-
--ring: var(--color-
|
|
356
|
+
--ring: var(--color-ring-default);
|
|
357
357
|
--sidebar: var(--color-neutral-900);
|
|
358
358
|
--sidebar-foreground: var(--foreground);
|
|
359
359
|
--sidebar-primary: var(--primary);
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
--sidebar-accent: var(--accent);
|
|
362
362
|
--sidebar-accent-foreground: var(--accent-foreground);
|
|
363
363
|
--sidebar-border: var(--border);
|
|
364
|
-
--surface: var(--color-neutral-
|
|
364
|
+
--surface: var(--color-neutral-900);
|
|
365
365
|
--surface-foreground: var(--foreground);
|
|
366
366
|
}
|
|
367
367
|
/*
|
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
@apply border-border outline-ring/50;
|
|
386
386
|
}
|
|
387
387
|
::selection {
|
|
388
|
-
@apply bg-
|
|
388
|
+
@apply bg-blue-500/20 dark:bg-blue-500/10 text-blue-500 dark:text-blue-800;
|
|
389
389
|
}
|
|
390
390
|
html {
|
|
391
391
|
@apply scroll-smooth;
|
|
@@ -711,3 +711,11 @@ input[type='color']::-webkit-color-swatch {
|
|
|
711
711
|
::-webkit-scrollbar-thumb:hover {
|
|
712
712
|
background-color: var(--color-neutral-200);
|
|
713
713
|
}
|
|
714
|
+
|
|
715
|
+
@utility active-card {
|
|
716
|
+
@apply border-info-foreground! bg-info lg:hover:bg-info/50 dark:bg-info/50 dark:hover:bg-info/20;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
@utility focusable-item {
|
|
720
|
+
@apply transition-[color,background-color,box-shadow] focus-visible:ring-[3px] focus-visible:ring-ring-default focus-visible:ring-offset-1 focus-visible:outline-hidden;
|
|
721
|
+
}
|