highsoft-ui 1.0.62 → 1.0.64

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,16 +1,16 @@
1
- import { jsx as t, jsxs as u } from "react/jsx-runtime";
2
- import { forwardRef as y } 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({
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
12
  }, s, {
13
- children: /* @__PURE__ */ t("path", {
13
+ children: /* @__PURE__ */ n("path", {
14
14
  stroke: "currentColor",
15
15
  strokeLinecap: "round",
16
16
  strokeLinejoin: "round",
@@ -19,62 +19,62 @@ var h = function(s) {
19
19
  })
20
20
  }));
21
21
  };
22
- const f = "_button_6y1d6_300", z = "_content_6y1d6_342", g = "_neutral_6y1d6_348", b = "_loading_6y1d6_366", w = "_white_6y1d6_372", x = "_transparent_6y1d6_396", v = "_plain_6y1d6_420", L = "_brand_6y1d6_444", k = "_success_6y1d6_468", M = "_attention_6y1d6_492", j = "_danger_6y1d6_516", N = "_full_6y1d6_654", B = "_loader_6y1d6_662", C = "_spin_6y1d6_1", n = {
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,
23
25
  button: f,
24
26
  content: z,
25
- neutral: g,
26
- loading: b,
27
- white: w,
28
- transparent: x,
29
- plain: v,
30
- brand: L,
31
- success: k,
32
- attention: M,
33
- danger: j,
34
- "size-50": "_size-50_6y1d6_540",
35
- "size-100": "_size-100_6y1d6_559",
36
- "size-200": "_size-200_6y1d6_578",
37
- "size-300": "_size-300_6y1d6_597",
38
- "size-400": "_size-400_6y1d6_616",
39
- "size-500": "_size-500_6y1d6_635",
40
- full: N,
41
- loader: B,
42
- spin: C
43
- }, q = y(
27
+ danger: g,
28
+ full: b,
29
+ loader: w,
30
+ loading: x,
31
+ neutral: v,
32
+ plain: L,
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,
40
+ success: M,
41
+ transparent: j,
42
+ white: N
43
+ }, W = H(
44
44
  ({
45
- children: _,
45
+ children: e,
46
46
  variant: s = "neutral",
47
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__ */ u(
55
- i,
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
- d,
60
- n.button,
61
- n[s],
62
- n[`size-${o}`],
59
+ l,
60
+ t.button,
61
+ t[s],
62
+ t[`size-${o}`],
63
63
  {
64
- [n.full]: a,
65
- [n.loading]: e
64
+ [t.full]: i,
65
+ [t.loading]: a
66
66
  }
67
67
  ),
68
- disabled: r || e,
69
- ref: l,
70
- ...c,
68
+ disabled: c || a,
69
+ ref: u,
70
+ ...d,
71
71
  children: [
72
- e && /* @__PURE__ */ t("span", { className: n.loader, children: /* @__PURE__ */ t(h, {}) }),
73
- /* @__PURE__ */ t("span", { className: n.content, children: _ })
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 })