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.
@@ -1,89 +0,0 @@
1
- import { jsx as _, jsxs as u } from "react/jsx-runtime";
2
- import { forwardRef as p } from "react";
3
- import { c as g } from "./clsx-OuTLNxxd.js";
4
- function r() {
5
- return r = Object.assign ? Object.assign.bind() : function(s) {
6
- for (var n = 1; n < arguments.length; n++) {
7
- var e = arguments[n];
8
- for (var o in e) ({}).hasOwnProperty.call(e, o) && (s[o] = e[o]);
9
- }
10
- return s;
11
- }, r.apply(null, arguments);
12
- }
13
- var m = function(n) {
14
- return /* @__PURE__ */ _("svg", r({
15
- xmlns: "http://www.w3.org/2000/svg",
16
- width: 24,
17
- height: 24,
18
- fill: "none",
19
- viewBox: "0 0 24 24"
20
- }, n, {
21
- children: /* @__PURE__ */ _("path", {
22
- stroke: "currentColor",
23
- strokeLinecap: "round",
24
- strokeLinejoin: "round",
25
- strokeWidth: 2,
26
- 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"
27
- })
28
- }));
29
- };
30
- const f = "_button_1d72z_270", h = "_content_1d72z_312", b = "_neutral_1d72z_318", w = "_loading_1d72z_336", v = "_white_1d72z_342", x = "_transparent_1d72z_366", L = "_plain_1d72z_390", j = "_brand_1d72z_414", k = "_success_1d72z_438", M = "_attention_1d72z_462", y = "_danger_1d72z_486", B = "_full_1d72z_624", N = "_loader_1d72z_632", O = "_spin_1d72z_1", t = {
31
- button: f,
32
- content: h,
33
- neutral: b,
34
- loading: w,
35
- white: v,
36
- transparent: x,
37
- plain: L,
38
- brand: j,
39
- success: k,
40
- attention: M,
41
- danger: y,
42
- "size-50": "_size-50_1d72z_510",
43
- "size-100": "_size-100_1d72z_529",
44
- "size-200": "_size-200_1d72z_548",
45
- "size-300": "_size-300_1d72z_567",
46
- "size-400": "_size-400_1d72z_586",
47
- "size-500": "_size-500_1d72z_605",
48
- full: B,
49
- loader: N,
50
- spin: O
51
- }, R = p(
52
- ({
53
- children: s,
54
- variant: n = "neutral",
55
- size: e = 200,
56
- fullWidth: o = !1,
57
- loading: a,
58
- as: i = "button",
59
- disabled: d,
60
- className: c,
61
- ...l
62
- }, z) => /* @__PURE__ */ u(
63
- i,
64
- {
65
- className: g(
66
- "hsui-button",
67
- c,
68
- t.button,
69
- t[n],
70
- t[`size-${e}`],
71
- {
72
- [t.full]: o,
73
- [t.loading]: a
74
- }
75
- ),
76
- disabled: d || a,
77
- ref: z,
78
- ...l,
79
- children: [
80
- a && /* @__PURE__ */ _("span", { className: t.loader, children: /* @__PURE__ */ _(m, {}) }),
81
- /* @__PURE__ */ _("span", { className: t.content, children: s })
82
- ]
83
- }
84
- )
85
- );
86
- export {
87
- R as B,
88
- r as _
89
- };