highsoft-ui 1.0.63 → 1.0.65

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,15 +1,15 @@
1
- import { jsx as n, jsxs as d } from "react/jsx-runtime";
2
- import { forwardRef as u } from "react";
3
- import { c as p } from "../../clsx-OuTLNxxd.js";
4
- import { _ as h } from "../../extends-hS2Bh-Yp.js";
5
- var f = function(t) {
6
- return /* @__PURE__ */ n("svg", h({
1
+ import { jsx as n, jsxs as _ } from "react/jsx-runtime";
2
+ import { forwardRef as H } from "react";
3
+ import { c as F } from "../../clsx-OuTLNxxd.js";
4
+ import { _ as Q } from "../../extends-hS2Bh-Yp.js";
5
+ var p = function(s) {
6
+ return /* @__PURE__ */ n("svg", Q({
7
7
  xmlns: "http://www.w3.org/2000/svg",
8
8
  width: 24,
9
9
  height: 24,
10
10
  fill: "none",
11
11
  viewBox: "0 0 24 24"
12
- }, t, {
12
+ }, s, {
13
13
  children: /* @__PURE__ */ n("path", {
14
14
  stroke: "currentColor",
15
15
  strokeLinecap: "round",
@@ -19,62 +19,62 @@ var f = function(t) {
19
19
  })
20
20
  }));
21
21
  };
22
- const z = "_button_ss3mr_300", g = "_content_ss3mr_342", b = "_neutral_ss3mr_348", w = "_loading_ss3mr_366", x = "_white_ss3mr_372", v = "_transparent_ss3mr_396", L = "_plain_ss3mr_420", k = "_brand_ss3mr_447", M = "_success_ss3mr_471", j = "_attention_ss3mr_495", N = "_danger_ss3mr_519", B = "_full_ss3mr_657", y = "_loader_ss3mr_665", C = "_spin_ss3mr_1", s = {
23
- button: z,
24
- content: g,
25
- neutral: b,
26
- loading: w,
27
- white: x,
28
- transparent: v,
22
+ const m = "QF-Hta_attention", h = "QF-Hta_brand", f = "QF-Hta_button", z = "QF-Hta_content", g = "QF-Hta_danger", b = "QF-Hta_full", w = "QF-Hta_loader", x = "QF-Hta_loading", v = "QF-Hta_neutral", L = "QF-Hta_plain", k = "QF-Hta_spin", M = "QF-Hta_success", j = "QF-Hta_transparent", N = "QF-Hta_white", t = {
23
+ attention: m,
24
+ brand: h,
25
+ button: f,
26
+ content: z,
27
+ danger: g,
28
+ full: b,
29
+ loader: w,
30
+ loading: x,
31
+ neutral: v,
29
32
  plain: L,
30
- brand: k,
33
+ "size-100": "QF-Hta_size-100",
34
+ "size-200": "QF-Hta_size-200",
35
+ "size-300": "QF-Hta_size-300",
36
+ "size-400": "QF-Hta_size-400",
37
+ "size-50": "QF-Hta_size-50",
38
+ "size-500": "QF-Hta_size-500",
39
+ spin: k,
31
40
  success: M,
32
- attention: j,
33
- danger: N,
34
- "size-50": "_size-50_ss3mr_543",
35
- "size-100": "_size-100_ss3mr_562",
36
- "size-200": "_size-200_ss3mr_581",
37
- "size-300": "_size-300_ss3mr_600",
38
- "size-400": "_size-400_ss3mr_619",
39
- "size-500": "_size-500_ss3mr_638",
40
- full: B,
41
- loader: y,
42
- spin: C
43
- }, q = u(
41
+ transparent: j,
42
+ white: N
43
+ }, W = H(
44
44
  ({
45
45
  children: e,
46
- variant: t = "neutral",
47
- size: _ = 200,
48
- fullWidth: o = !1,
49
- loading: r,
50
- as: a = "button",
51
- disabled: i,
52
- className: c,
53
- ...m
54
- }, l) => /* @__PURE__ */ d(
55
- a,
46
+ variant: s = "neutral",
47
+ size: o = 200,
48
+ fullWidth: i = !1,
49
+ loading: a,
50
+ as: r = "button",
51
+ disabled: c,
52
+ className: l,
53
+ ...d
54
+ }, u) => /* @__PURE__ */ _(
55
+ r,
56
56
  {
57
- className: p(
57
+ className: F(
58
58
  "hsui-button",
59
- c,
60
- s.button,
61
- s[t],
62
- s[`size-${_}`],
59
+ l,
60
+ t.button,
61
+ t[s],
62
+ t[`size-${o}`],
63
63
  {
64
- [s.full]: o,
65
- [s.loading]: r
64
+ [t.full]: i,
65
+ [t.loading]: a
66
66
  }
67
67
  ),
68
- disabled: i || r,
69
- ref: l,
70
- ...m,
68
+ disabled: c || a,
69
+ ref: u,
70
+ ...d,
71
71
  children: [
72
- r && /* @__PURE__ */ n("span", { className: s.loader, children: /* @__PURE__ */ n(f, {}) }),
73
- /* @__PURE__ */ n("span", { className: s.content, children: e })
72
+ a && /* @__PURE__ */ n("span", { className: t.loader, children: /* @__PURE__ */ n(p, {}) }),
73
+ /* @__PURE__ */ n("span", { className: t.content, children: e })
74
74
  ]
75
75
  }
76
76
  )
77
77
  );
78
78
  export {
79
- q as Button
79
+ W as Button
80
80
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as c } from "react";
3
3
  import { c as e } from "../../clsx-OuTLNxxd.js";
4
- const i = "_container_mh6y2_1", m = {
4
+ const i = "mkfCBG_container", m = {
5
5
  container: i
6
6
  }, x = c(
7
7
  ({ children: o, className: r, as: n = "div", ...t }, s) => /* @__PURE__ */ a(n, { className: e(r, m.container), ref: s, ...t, children: o })