sander-ui 0.1.4 → 0.1.6
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/index.css +1 -1
- package/dist/index.js +53 -51
- package/dist/index10.js +2 -2
- package/dist/index11.js +1 -1
- package/dist/index12.js +44 -43
- package/dist/index13.js +2 -2
- package/dist/index14.js +41 -21
- package/dist/index15.js +22 -19
- package/dist/index16.js +20 -75
- package/dist/index17.js +72 -58
- package/dist/index18.js +56 -35
- package/dist/index19.js +40 -31
- package/dist/index20.js +30 -25
- package/dist/index21.js +26 -18
- package/dist/index22.js +15 -36
- package/dist/index23.js +39 -46
- package/dist/index24.js +39 -124
- package/dist/index25.js +132 -18
- package/dist/index26.js +18 -23
- package/dist/index27.js +23 -55
- package/dist/index28.js +55 -19
- package/dist/index29.js +19 -46
- package/dist/index3.js +2 -2
- package/dist/index30.js +46 -5
- package/dist/index31.js +5 -17
- package/dist/index32.js +17 -8
- package/dist/index33.js +27 -4
- package/dist/index34.js +26 -27
- package/dist/index35.js +24 -23
- package/dist/index36.js +22 -18
- package/dist/index37.js +8 -23
- package/dist/index38.js +14 -8
- package/dist/index39.js +8 -14
- package/dist/index4.js +7 -7
- package/dist/index40.js +7 -8
- package/dist/index41.js +7 -7
- package/dist/index42.js +15 -7
- package/dist/index43.js +4 -26
- package/dist/index44.js +4 -13
- package/dist/index45.js +10 -39
- package/dist/index46.js +20 -22
- package/dist/index47.js +40 -25
- package/dist/index48.js +4 -13
- package/dist/index49.js +18 -20
- package/dist/index5.js +3 -3
- package/dist/index50.js +12 -14
- package/dist/index51.js +17 -4
- package/dist/index52.js +16 -16
- package/dist/index53.js +11 -26
- package/dist/index54.js +25 -14
- package/dist/index55.js +16 -12
- package/dist/index56.js +30 -41
- package/dist/index57.js +15 -4
- package/dist/index58.js +12 -16
- package/dist/index59.js +20 -16
- package/dist/index6.js +3 -3
- package/dist/index60.js +25 -22
- package/dist/index61.js +22 -20
- package/dist/index62.js +16 -16
- package/dist/index63.js +8 -13
- package/dist/index64.js +39 -30
- package/dist/index65.js +23 -35
- package/dist/index66.js +13 -2
- package/dist/index67.js +13 -4
- package/dist/index68.js +35 -21
- package/dist/index69.js +2 -2
- package/dist/index7.js +4 -4
- package/dist/index70.js +4 -2
- package/dist/index71.js +20 -5
- package/dist/index72.js +2 -34
- package/dist/index73.js +2 -12
- package/dist/index74.js +5 -6
- package/dist/index75.js +33 -4
- package/dist/index76.js +14 -0
- package/dist/index77.js +9 -0
- package/dist/index78.js +7 -0
- package/dist/index8.js +12 -12
- package/dist/index9.js +2 -2
- package/package.json +1 -1
package/dist/index66.js
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
const r = "_wrapper_z5w4u_1", e = "_label_z5w4u_6", s = "_select_z5w4u_13", t = "_selectError_z5w4u_37", _ = "_error_z5w4u_46", l = {
|
|
2
|
+
wrapper: r,
|
|
3
|
+
label: e,
|
|
4
|
+
select: s,
|
|
5
|
+
selectError: t,
|
|
6
|
+
error: _
|
|
7
|
+
};
|
|
2
8
|
export {
|
|
3
|
-
|
|
9
|
+
l as default,
|
|
10
|
+
_ as error,
|
|
11
|
+
e as label,
|
|
12
|
+
s as select,
|
|
13
|
+
t as selectError,
|
|
14
|
+
r as wrapper
|
|
4
15
|
};
|
package/dist/index67.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const r = "_wrapper_1aqpy_1", a = "_label_1aqpy_6", e = "_textarea_1aqpy_13", t = "_textareaError_1aqpy_36", _ = "_error_1aqpy_45", o = {
|
|
2
|
+
wrapper: r,
|
|
3
|
+
label: a,
|
|
4
|
+
textarea: e,
|
|
5
|
+
textareaError: t,
|
|
6
|
+
error: _
|
|
7
|
+
};
|
|
4
8
|
export {
|
|
5
|
-
|
|
9
|
+
o as default,
|
|
10
|
+
_ as error,
|
|
11
|
+
a as label,
|
|
12
|
+
e as textarea,
|
|
13
|
+
t as textareaError,
|
|
14
|
+
r as wrapper
|
|
6
15
|
};
|
package/dist/index68.js
CHANGED
|
@@ -1,23 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { __module as s } from "./index69.js";
|
|
2
|
+
var u;
|
|
3
|
+
function c() {
|
|
4
|
+
return u ? s.exports : (u = 1, (function(i) {
|
|
5
|
+
(function() {
|
|
6
|
+
var f = {}.hasOwnProperty;
|
|
7
|
+
function n() {
|
|
8
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
9
|
+
var e = arguments[t];
|
|
10
|
+
e && (r = o(r, a(e)));
|
|
11
|
+
}
|
|
12
|
+
return r;
|
|
13
|
+
}
|
|
14
|
+
function a(r) {
|
|
15
|
+
if (typeof r == "string" || typeof r == "number")
|
|
16
|
+
return r;
|
|
17
|
+
if (typeof r != "object")
|
|
18
|
+
return "";
|
|
19
|
+
if (Array.isArray(r))
|
|
20
|
+
return n.apply(null, r);
|
|
21
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
22
|
+
return r.toString();
|
|
23
|
+
var t = "";
|
|
24
|
+
for (var e in r)
|
|
25
|
+
f.call(r, e) && r[e] && (t = o(t, e));
|
|
26
|
+
return t;
|
|
27
|
+
}
|
|
28
|
+
function o(r, t) {
|
|
29
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
30
|
+
}
|
|
31
|
+
i.exports ? (n.default = n, i.exports = n) : window.classNames = n;
|
|
32
|
+
})();
|
|
33
|
+
})(s), s.exports);
|
|
34
|
+
}
|
|
21
35
|
export {
|
|
22
|
-
|
|
36
|
+
c as __require
|
|
23
37
|
};
|
package/dist/index69.js
CHANGED
package/dist/index7.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as e, jsxs as d, Fragment as N } from "react/jsx-runtime";
|
|
2
|
-
import g from "./
|
|
2
|
+
import g from "./index31.js";
|
|
3
3
|
import { useState as S } from "react";
|
|
4
|
-
import l from "./
|
|
5
|
-
import v from "./
|
|
6
|
-
import x from "./
|
|
4
|
+
import l from "./index62.js";
|
|
5
|
+
import v from "./index63.js";
|
|
6
|
+
import x from "./index44.js";
|
|
7
7
|
const C = () => /* @__PURE__ */ e(x, { className: l.separator }), w = ({
|
|
8
8
|
items: a,
|
|
9
9
|
separator: t,
|
package/dist/index70.js
CHANGED
package/dist/index71.js
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { forwardRef as c, createElement as f } from "react";
|
|
2
|
+
import { mergeClasses as l } from "./index72.js";
|
|
3
|
+
import { toKebabCase as p } from "./index73.js";
|
|
4
|
+
import { toPascalCase as r } from "./index74.js";
|
|
5
|
+
import i from "./index75.js";
|
|
6
|
+
const I = (e, t) => {
|
|
7
|
+
const o = c(
|
|
8
|
+
({ className: a, ...m }, s) => f(i, {
|
|
9
|
+
ref: s,
|
|
10
|
+
iconNode: t,
|
|
11
|
+
className: l(
|
|
12
|
+
`lucide-${p(r(e))}`,
|
|
13
|
+
`lucide-${e}`,
|
|
14
|
+
a
|
|
15
|
+
),
|
|
16
|
+
...m
|
|
17
|
+
})
|
|
18
|
+
);
|
|
19
|
+
return o.displayName = r(e), o;
|
|
5
20
|
};
|
|
6
21
|
export {
|
|
7
|
-
|
|
22
|
+
I as default
|
|
8
23
|
};
|
package/dist/index72.js
CHANGED
|
@@ -1,36 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import A from "./index73.js";
|
|
3
|
-
import { hasA11yProp as b } from "./index74.js";
|
|
4
|
-
import { mergeClasses as c } from "./index69.js";
|
|
5
|
-
const n = l(
|
|
6
|
-
({
|
|
7
|
-
color: m = "currentColor",
|
|
8
|
-
size: t = 24,
|
|
9
|
-
strokeWidth: o = 2,
|
|
10
|
-
absoluteStrokeWidth: s,
|
|
11
|
-
className: f = "",
|
|
12
|
-
children: r,
|
|
13
|
-
iconNode: u,
|
|
14
|
-
...e
|
|
15
|
-
}, p) => a(
|
|
16
|
-
"svg",
|
|
17
|
-
{
|
|
18
|
-
ref: p,
|
|
19
|
-
...A,
|
|
20
|
-
width: t,
|
|
21
|
-
height: t,
|
|
22
|
-
stroke: m,
|
|
23
|
-
strokeWidth: s ? Number(o) * 24 / Number(t) : o,
|
|
24
|
-
className: c("lucide", f),
|
|
25
|
-
...!r && !b(e) && { "aria-hidden": "true" },
|
|
26
|
-
...e
|
|
27
|
-
},
|
|
28
|
-
[
|
|
29
|
-
...u.map(([i, d]) => a(i, d)),
|
|
30
|
-
...Array.isArray(r) ? r : [r]
|
|
31
|
-
]
|
|
32
|
-
)
|
|
33
|
-
);
|
|
1
|
+
const n = (...e) => e.filter((r, t, i) => !!r && r.trim() !== "" && i.indexOf(r) === t).join(" ").trim();
|
|
34
2
|
export {
|
|
35
|
-
n as
|
|
3
|
+
n as mergeClasses
|
|
36
4
|
};
|
package/dist/index73.js
CHANGED
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3
|
-
width: 24,
|
|
4
|
-
height: 24,
|
|
5
|
-
viewBox: "0 0 24 24",
|
|
6
|
-
fill: "none",
|
|
7
|
-
stroke: "currentColor",
|
|
8
|
-
strokeWidth: 2,
|
|
9
|
-
strokeLinecap: "round",
|
|
10
|
-
strokeLinejoin: "round"
|
|
11
|
-
};
|
|
1
|
+
const a = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
12
2
|
export {
|
|
13
|
-
|
|
3
|
+
a as toKebabCase
|
|
14
4
|
};
|
package/dist/index74.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return !1;
|
|
1
|
+
import { toCamelCase as t } from "./index78.js";
|
|
2
|
+
const s = (a) => {
|
|
3
|
+
const e = t(a);
|
|
4
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
6
5
|
};
|
|
7
6
|
export {
|
|
8
|
-
|
|
7
|
+
s as toPascalCase
|
|
9
8
|
};
|
package/dist/index75.js
CHANGED
|
@@ -1,7 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { forwardRef as l, createElement as a } from "react";
|
|
2
|
+
import A from "./index76.js";
|
|
3
|
+
import { hasA11yProp as b } from "./index77.js";
|
|
4
|
+
import { mergeClasses as c } from "./index72.js";
|
|
5
|
+
const n = l(
|
|
6
|
+
({
|
|
7
|
+
color: m = "currentColor",
|
|
8
|
+
size: t = 24,
|
|
9
|
+
strokeWidth: o = 2,
|
|
10
|
+
absoluteStrokeWidth: s,
|
|
11
|
+
className: f = "",
|
|
12
|
+
children: r,
|
|
13
|
+
iconNode: u,
|
|
14
|
+
...e
|
|
15
|
+
}, p) => a(
|
|
16
|
+
"svg",
|
|
17
|
+
{
|
|
18
|
+
ref: p,
|
|
19
|
+
...A,
|
|
20
|
+
width: t,
|
|
21
|
+
height: t,
|
|
22
|
+
stroke: m,
|
|
23
|
+
strokeWidth: s ? Number(o) * 24 / Number(t) : o,
|
|
24
|
+
className: c("lucide", f),
|
|
25
|
+
...!r && !b(e) && { "aria-hidden": "true" },
|
|
26
|
+
...e
|
|
27
|
+
},
|
|
28
|
+
[
|
|
29
|
+
...u.map(([i, d]) => a(i, d)),
|
|
30
|
+
...Array.isArray(r) ? r : [r]
|
|
31
|
+
]
|
|
32
|
+
)
|
|
4
33
|
);
|
|
5
34
|
export {
|
|
6
|
-
|
|
35
|
+
n as default
|
|
7
36
|
};
|
package/dist/index76.js
ADDED
package/dist/index77.js
ADDED
package/dist/index78.js
ADDED
package/dist/index8.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import t from "./
|
|
4
|
-
import { Spinner as b } from "./
|
|
1
|
+
import { jsxs as c, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import s from "./index31.js";
|
|
3
|
+
import t from "./index35.js";
|
|
4
|
+
import { Spinner as b } from "./index23.js";
|
|
5
5
|
const y = ({
|
|
6
|
-
variant:
|
|
7
|
-
size:
|
|
6
|
+
variant: o = "primary",
|
|
7
|
+
size: m = "md",
|
|
8
8
|
type: e = "button",
|
|
9
9
|
loading: r,
|
|
10
10
|
disabled: i,
|
|
11
11
|
children: p,
|
|
12
12
|
className: a,
|
|
13
|
-
...
|
|
14
|
-
}) => /* @__PURE__ */
|
|
13
|
+
...u
|
|
14
|
+
}) => /* @__PURE__ */ c(
|
|
15
15
|
"button",
|
|
16
16
|
{
|
|
17
17
|
type: e,
|
|
18
18
|
disabled: r || i,
|
|
19
19
|
"aria-busy": r || void 0,
|
|
20
|
-
className:
|
|
21
|
-
...
|
|
20
|
+
className: s(t.button, t[o], t[m], a),
|
|
21
|
+
...u,
|
|
22
22
|
children: [
|
|
23
|
-
r ? /* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
23
|
+
r ? /* @__PURE__ */ n(b, { className: t.spinner }) : null,
|
|
24
|
+
/* @__PURE__ */ n("span", { className: s(t.content, { [t.hidden]: r }), children: p })
|
|
25
25
|
]
|
|
26
26
|
}
|
|
27
27
|
);
|
package/dist/index9.js
CHANGED