highsoft-ui 1.0.47 → 1.0.48
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/Check-Cm4roSEj.js +23 -0
- package/dist/components/Button/index.js +78 -5
- package/dist/components/Footer/index.d.ts +5 -0
- package/dist/components/Footer/index.js +607 -0
- package/dist/components/Header/index.js +4 -4
- package/dist/components/Logo/index.d.ts +1 -1
- package/dist/components/Logo/index.js +17 -21
- package/dist/components/NewTag/index.d.ts +8 -0
- package/dist/components/NewTag/index.js +54 -0
- package/dist/components/Notification/index.js +2 -2
- package/dist/components/PrefPanel/index.js +529 -537
- package/dist/extends-hS2Bh-Yp.js +12 -0
- package/dist/highsoft-ui.css +1 -1
- package/dist/{index-CRjV8IBy.js → index-CUjEIxqY.js} +10 -9
- package/dist/main.d.ts +2 -0
- package/dist/main.js +19 -15
- package/dist/utils-xhWUdTOZ.js +132 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +6 -20
- package/package.json +3 -2
- package/dist/index-DAWHN3cH.js +0 -85
- package/dist/index-DKE1ODpv.js +0 -89
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { _ as t } from "./extends-hS2Bh-Yp.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
4
|
+
var h = function(o) {
|
|
5
|
+
return /* @__PURE__ */ r("svg", t({
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: 24,
|
|
8
|
+
height: 24,
|
|
9
|
+
fill: "none",
|
|
10
|
+
viewBox: "0 0 24 24"
|
|
11
|
+
}, o, {
|
|
12
|
+
children: /* @__PURE__ */ r("path", {
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
strokeLinecap: "round",
|
|
15
|
+
strokeLinejoin: "round",
|
|
16
|
+
strokeWidth: 2,
|
|
17
|
+
d: "M20 6 9 17l-5-5"
|
|
18
|
+
})
|
|
19
|
+
}));
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
h as C
|
|
23
|
+
};
|
|
@@ -1,7 +1,80 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../clsx-OuTLNxxd.js";
|
|
4
|
-
import {
|
|
1
|
+
import { jsx as t, jsxs as z } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as u } from "react";
|
|
3
|
+
import { c as p } from "../../clsx-OuTLNxxd.js";
|
|
4
|
+
import { _ as m } from "../../extends-hS2Bh-Yp.js";
|
|
5
|
+
var h = function(s) {
|
|
6
|
+
return /* @__PURE__ */ t("svg", m({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
fill: "none",
|
|
11
|
+
viewBox: "0 0 24 24"
|
|
12
|
+
}, s, {
|
|
13
|
+
children: /* @__PURE__ */ t("path", {
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeLinecap: "round",
|
|
16
|
+
strokeLinejoin: "round",
|
|
17
|
+
strokeWidth: 2,
|
|
18
|
+
d: "M12 2v4m0 12v4M6 12H2m20 0h-4m1.0784 7.0784L16.25 16.25M19.0784 5 16.25 7.8283m-11.3284 11.25L7.75 16.25M4.9216 5 7.75 7.8283"
|
|
19
|
+
})
|
|
20
|
+
}));
|
|
21
|
+
};
|
|
22
|
+
const f = "_button_1d72z_270", g = "_content_1d72z_312", b = "_neutral_1d72z_318", w = "_loading_1d72z_336", x = "_white_1d72z_342", v = "_transparent_1d72z_366", L = "_plain_1d72z_390", k = "_brand_1d72z_414", M = "_success_1d72z_438", j = "_attention_1d72z_462", N = "_danger_1d72z_486", B = "_full_1d72z_624", y = "_loader_1d72z_632", C = "_spin_1d72z_1", n = {
|
|
23
|
+
button: f,
|
|
24
|
+
content: g,
|
|
25
|
+
neutral: b,
|
|
26
|
+
loading: w,
|
|
27
|
+
white: x,
|
|
28
|
+
transparent: v,
|
|
29
|
+
plain: L,
|
|
30
|
+
brand: k,
|
|
31
|
+
success: M,
|
|
32
|
+
attention: j,
|
|
33
|
+
danger: N,
|
|
34
|
+
"size-50": "_size-50_1d72z_510",
|
|
35
|
+
"size-100": "_size-100_1d72z_529",
|
|
36
|
+
"size-200": "_size-200_1d72z_548",
|
|
37
|
+
"size-300": "_size-300_1d72z_567",
|
|
38
|
+
"size-400": "_size-400_1d72z_586",
|
|
39
|
+
"size-500": "_size-500_1d72z_605",
|
|
40
|
+
full: B,
|
|
41
|
+
loader: y,
|
|
42
|
+
spin: C
|
|
43
|
+
}, q = u(
|
|
44
|
+
({
|
|
45
|
+
children: _,
|
|
46
|
+
variant: s = "neutral",
|
|
47
|
+
size: o = 200,
|
|
48
|
+
fullWidth: a = !1,
|
|
49
|
+
loading: e,
|
|
50
|
+
as: i = "button",
|
|
51
|
+
disabled: r,
|
|
52
|
+
className: d,
|
|
53
|
+
...c
|
|
54
|
+
}, l) => /* @__PURE__ */ z(
|
|
55
|
+
i,
|
|
56
|
+
{
|
|
57
|
+
className: p(
|
|
58
|
+
"hsui-button",
|
|
59
|
+
d,
|
|
60
|
+
n.button,
|
|
61
|
+
n[s],
|
|
62
|
+
n[`size-${o}`],
|
|
63
|
+
{
|
|
64
|
+
[n.full]: a,
|
|
65
|
+
[n.loading]: e
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
disabled: r || e,
|
|
69
|
+
ref: l,
|
|
70
|
+
...c,
|
|
71
|
+
children: [
|
|
72
|
+
e && /* @__PURE__ */ t("span", { className: n.loader, children: /* @__PURE__ */ t(h, {}) }),
|
|
73
|
+
/* @__PURE__ */ t("span", { className: n.content, children: _ })
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
);
|
|
5
78
|
export {
|
|
6
|
-
|
|
79
|
+
q as Button
|
|
7
80
|
};
|