highsoft-ui 1.0.126 → 1.0.128

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.
Files changed (61) hide show
  1. package/dist/{Button-CJp__tle.js → Button-FtTHXgq3.js} +1 -1
  2. package/dist/{ButtonGroup-CfNp_xXf.js → ButtonGroup-eZng2GQy.js} +1 -1
  3. package/dist/Checkbox-CMWwWnbI.js +153 -0
  4. package/dist/{CookiePolicyModal-BN_AXefZ.js → CookiePolicyModal-_zwtaOvm.js} +3 -3
  5. package/dist/{CopyCode-BLXf0o74.js → CopyCode-C7iHMVIg.js} +2 -2
  6. package/dist/Dropdown-B6J7ph3w.js +817 -0
  7. package/dist/{Footer-BsddrH6J.js → Footer-Q3Z-Synu.js} +8 -8
  8. package/dist/{FooterBottom-ybvI6wyw.js → FooterBottom-Dbr8oMdf.js} +1 -1
  9. package/dist/{FooterHelp-D88w95D4.js → FooterHelp-BsApOrYf.js} +1 -1
  10. package/dist/{FooterLinks-B8QP6uKP.js → FooterLinks-Dx7GBu-X.js} +2 -2
  11. package/dist/{Header-B8todalU.js → Header-DxauB1pI.js} +41 -41
  12. package/dist/{InputGrouped-jbMns5qa.js → InputGrouped-B9jyncxb.js} +13 -13
  13. package/dist/{Label-bbLlUYRM.js → Label-BHGkcLu9.js} +1 -1
  14. package/dist/{NewsletterSignup-DEgL93rH.js → NewsletterSignup-jPKQLKvl.js} +4 -4
  15. package/dist/{Notification-CuVjbJzV.js → Notification-CO-mX_7b.js} +3 -3
  16. package/dist/PrefPanel-D-xcKbcr.js +253 -0
  17. package/dist/{Search-BcX6xtAY.js → Search-DokUD0o9.js} +972 -1171
  18. package/dist/{YoutubeModal-C58qsc27.js → YoutubeModal-T25hkIhQ.js} +3 -3
  19. package/dist/components/Button/index.js +1 -1
  20. package/dist/components/ButtonGroup/index.js +1 -1
  21. package/dist/components/Checkbox/index.js +2 -0
  22. package/dist/components/CopyCode/index.js +1 -1
  23. package/dist/components/Dropdown/index.js +2 -0
  24. package/dist/components/Footer/CookiePolicyModal.js +1 -1
  25. package/dist/components/Footer/FooterBottom.js +1 -1
  26. package/dist/components/Footer/FooterHelp.js +1 -1
  27. package/dist/components/Footer/FooterLinks.js +1 -1
  28. package/dist/components/Footer/YoutubeModal.js +1 -1
  29. package/dist/components/Footer/index.js +1 -1
  30. package/dist/components/GPTInput/index.js +1 -1
  31. package/dist/components/Header/index.js +1 -1
  32. package/dist/components/InputGrouped/index.js +1 -1
  33. package/dist/components/Label/index.js +1 -1
  34. package/dist/components/Modal/ModalContactFooter.js +37 -0
  35. package/dist/components/Modal/index.js +94 -0
  36. package/dist/components/NewsletterSignup/index.js +1 -1
  37. package/dist/components/Notification/index.js +1 -1
  38. package/dist/components/PrefPanel/index.js +1 -1
  39. package/dist/components/RadioBox/index.js +1 -1
  40. package/dist/components/Search/index.js +1 -1
  41. package/dist/components/Tabs/index.js +1 -1
  42. package/dist/{dist-O77K9Ele.js → dist-9h8Pur86.js} +62 -62
  43. package/dist/dist-BMBUb7XY.js +208 -0
  44. package/dist/dist-MBZ50zVE.js +1303 -0
  45. package/dist/{dist-D4rcQ6qo.js → dist-SfVqm611.js} +1 -1
  46. package/dist/{es2015-BE1Gei7w.js → es2015-CJyFgdNb.js} +1 -1
  47. package/dist/{esm-T3Xn_ZHF.js → esm-vjQoQCu2.js} +46 -18
  48. package/dist/highsoft-ui.css +1 -1
  49. package/dist/lib/components/Checkbox/index.d.ts +54 -0
  50. package/dist/lib/components/Dropdown/index.d.ts +67 -0
  51. package/dist/lib/components/Modal/ModalContactFooter.d.ts +21 -0
  52. package/dist/lib/components/Modal/index.d.ts +41 -0
  53. package/dist/lib/main.d.ts +8 -0
  54. package/dist/main.js +19 -15
  55. package/dist/scss/variables.scss +84 -0
  56. package/dist/styles.module-BZplfYRW.js +17 -0
  57. package/package.json +1 -1
  58. package/dist/PrefPanel-CPWoS-hm.js +0 -1548
  59. /package/dist/{GPTInput-CZF0-SfI.js → GPTInput-Cgu6_F53.js} +0 -0
  60. /package/dist/{RadioBox-C_KZn7fw.js → RadioBox-B9rLrNTK.js} +0 -0
  61. /package/dist/{Tabs-CNkFaolf.js → Tabs-DanjfIHP.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  import { r as e } from "./utils-BCI5dixg.js";
2
- import { A as t, N as n } from "./esm-T3Xn_ZHF.js";
3
- import { t as r } from "./Button-CJp__tle.js";
2
+ import { F as t, M as n } from "./esm-vjQoQCu2.js";
3
+ import { t as r } from "./Button-FtTHXgq3.js";
4
4
  import { t as i } from "./Container-mH6tG_kR.js";
5
5
  import { t as a } from "./DiscordInvite-CR7g5hay.js";
6
6
  import { t as o } from "./Logo-BRXxiQk8.js";
7
- import { t as s } from "./NewsletterSignup-DEgL93rH.js";
8
- import { t as c } from "./FooterBottom-ybvI6wyw.js";
9
- import { t as l } from "./FooterHelp-D88w95D4.js";
10
- import { t as u } from "./FooterLinks-B8QP6uKP.js";
11
- import { t as d } from "./YoutubeModal-C58qsc27.js";
7
+ import { t as s } from "./NewsletterSignup-jPKQLKvl.js";
8
+ import { t as c } from "./FooterBottom-Dbr8oMdf.js";
9
+ import { t as l } from "./FooterHelp-BsApOrYf.js";
10
+ import { t as u } from "./FooterLinks-Dx7GBu-X.js";
11
+ import { t as d } from "./YoutubeModal-T25hkIhQ.js";
12
12
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
13
13
  var m = {
14
14
  discordCard: "_4W4F3q_discordCard",
@@ -29,7 +29,7 @@ function g() {
29
29
  return /* @__PURE__ */ p(r, {
30
30
  variant: "neutral",
31
31
  onClick: () => i(o),
32
- children: [o, f(a ? n : t, {})]
32
+ children: [o, f(a ? t : n, {})]
33
33
  });
34
34
  }
35
35
  function _({ link: e = "a", host: t = "https://www.highcharts.com" }) {
@@ -1,7 +1,7 @@
1
1
  import { a as e, t } from "./utils-BCI5dixg.js";
2
2
  import { a as n, c as r, i, n as a, o, r as s, s as c, t as l } from "./fa-Ci5IATkb.js";
3
3
  import { t as u } from "./Typography-Dw2_XzMu.js";
4
- import { t as d } from "./CookiePolicyModal-BN_AXefZ.js";
4
+ import { t as d } from "./CookiePolicyModal-_zwtaOvm.js";
5
5
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
6
6
  //#region node_modules/react-icons/fa6/index.mjs
7
7
  function h(e) {
@@ -1,5 +1,5 @@
1
1
  import { a as e, t } from "./utils-BCI5dixg.js";
2
- import { d as n, o as r } from "./esm-T3Xn_ZHF.js";
2
+ import { d as n, o as r } from "./esm-vjQoQCu2.js";
3
3
  import { t as i } from "./Icon-Dwo9ZDNX.js";
4
4
  import { o as a, r as o } from "./fa-Ci5IATkb.js";
5
5
  import { t as s } from "./Typography-Dw2_XzMu.js";
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./clsx-D7D_XZ_-.js";
2
- import { x as t } from "./esm-T3Xn_ZHF.js";
2
+ import { C as t } from "./esm-vjQoQCu2.js";
3
3
  import { t as n } from "./Icon-Dwo9ZDNX.js";
4
4
  import { t as r } from "./Typography-Dw2_XzMu.js";
5
- import { t as i } from "./Label-bbLlUYRM.js";
5
+ import { t as i } from "./Label-BHGkcLu9.js";
6
6
  import a from "./components/icons/MadeInNorway.js";
7
7
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
8
8
  var c = {
@@ -1,13 +1,13 @@
1
1
  import { a as e, d as t, i as n, o as r, u as i } from "./utils-BCI5dixg.js";
2
2
  import { t as a } from "./clsx-D7D_XZ_-.js";
3
- import { I as o, P as s, c, m as l, r as u, s as d, t as f, v as p, w as m, y as h, z as g } from "./esm-T3Xn_ZHF.js";
4
- import { t as _ } from "./Button-CJp__tle.js";
3
+ import { E as o, I as s, R as c, V as l, c as u, m as d, r as f, s as p, t as m, v as h, y as g } from "./esm-vjQoQCu2.js";
4
+ import { t as _ } from "./Button-FtTHXgq3.js";
5
5
  import { t as v } from "./Container-mH6tG_kR.js";
6
6
  import { t as y } from "./Logo-BRXxiQk8.js";
7
- import { t as b } from "./Search-BcX6xtAY.js";
8
- import { t as x } from "./PrefPanel-CPWoS-hm.js";
9
- import { t as S } from "./Label-bbLlUYRM.js";
10
- import { t as C } from "./Notification-CuVjbJzV.js";
7
+ import { t as b } from "./PrefPanel-D-xcKbcr.js";
8
+ import { t as x } from "./Search-DokUD0o9.js";
9
+ import { t as S } from "./Label-BHGkcLu9.js";
10
+ import { t as C } from "./Notification-CO-mX_7b.js";
11
11
  import { useEffect as w, useRef as T, useState as E } from "react";
12
12
  import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
13
13
  var A = {
@@ -80,27 +80,27 @@ var A = {
80
80
  {
81
81
  title: "Demos",
82
82
  url: "https://www.highcharts.com/demo",
83
- icon: /* @__PURE__ */ O(l, {})
83
+ icon: /* @__PURE__ */ O(d, {})
84
84
  },
85
85
  {
86
86
  title: "Support",
87
87
  url: "https://www.highcharts.com/support/",
88
- icon: /* @__PURE__ */ O(p, {})
88
+ icon: /* @__PURE__ */ O(h, {})
89
89
  },
90
90
  {
91
91
  title: "Resources",
92
92
  url: "https://www.highcharts.com/resources/",
93
- icon: /* @__PURE__ */ O(m, {})
93
+ icon: /* @__PURE__ */ O(o, {})
94
94
  },
95
95
  {
96
96
  title: "Pricing",
97
97
  url: "https://shop.highcharts.com/",
98
- icon: /* @__PURE__ */ O(o, {})
98
+ icon: /* @__PURE__ */ O(c, {})
99
99
  },
100
100
  {
101
101
  title: "Blog",
102
102
  url: "https://www.highcharts.com/blog/home/",
103
- icon: /* @__PURE__ */ O(g, {})
103
+ icon: /* @__PURE__ */ O(l, {})
104
104
  }
105
105
  ];
106
106
  function B(e, t) {
@@ -193,17 +193,17 @@ function Y() {
193
193
  e && R(M, e);
194
194
  }, [e]), null;
195
195
  }
196
- function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host: l = "https://www.highcharts.com", pathname: p, cssVariable: m, position: g = "sticky" }) {
196
+ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host: c = "https://www.highcharts.com", pathname: l, cssVariable: d, position: h = "sticky" }) {
197
197
  let S = e("(max-width: 374px)"), w = e("(max-width: 849px)"), M = e("(max-width: 1300px)"), N = G(t), P = T(null), [F, L] = E(!1), [V, H] = E([]);
198
198
  n(() => {
199
199
  let e = P.current;
200
200
  if (!e) return;
201
201
  let n = t?.length ? N ? U : W : 0, r = 82 + V.length * 48 + n, i = -(82 + V.length * 48);
202
- if (g === "static") return e.style.transform = "", m && document.documentElement.style.setProperty("--header-bottom", `${r}px`), () => {
203
- e.style.transform = "", m && document.documentElement.style.removeProperty("--header-bottom");
202
+ if (h === "static") return e.style.transform = "", d && document.documentElement.style.setProperty("--header-bottom", `${r}px`), () => {
203
+ e.style.transform = "", d && document.documentElement.style.removeProperty("--header-bottom");
204
204
  };
205
205
  let a = window.scrollY, o = 0, s = null, c = null, l = () => {
206
- c = null, !(!e || s === o) && (e.style.transform = `translate3d(0, ${o}px, 0)`, m && document.documentElement.style.setProperty("--header-bottom", `${r + o}px`), s = o);
206
+ c = null, !(!e || s === o) && (e.style.transform = `translate3d(0, ${o}px, 0)`, d && document.documentElement.style.setProperty("--header-bottom", `${r + o}px`), s = o);
207
207
  };
208
208
  l();
209
209
  let u = () => {
@@ -211,19 +211,19 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
211
211
  a = e, o = Math.min(0, Math.max(i, o - t)), c === null && (c = window.requestAnimationFrame(l));
212
212
  };
213
213
  return window.addEventListener("scroll", u, { passive: !0 }), () => {
214
- window.removeEventListener("scroll", u), c !== null && cancelAnimationFrame(c), e.style.transform = "", m && document.documentElement.style.removeProperty("--header-bottom");
214
+ window.removeEventListener("scroll", u), c !== null && cancelAnimationFrame(c), e.style.transform = "", d && document.documentElement.style.removeProperty("--header-bottom");
215
215
  };
216
216
  }, [
217
- m,
217
+ d,
218
218
  N,
219
219
  V.length,
220
- g,
220
+ h,
221
221
  t?.length
222
222
  ]), n(() => {
223
223
  if (!o.length) return;
224
224
  let e = I();
225
225
  H(e ? o.filter((t) => !t.id || !e.closed.includes(t.id)) : o);
226
- }, [l, o]);
226
+ }, [c, o]);
227
227
  let q = (e) => {
228
228
  if (e.preventDefault(), !(e.nativeEvent instanceof KeyboardEvent) || e.nativeEvent.code === "Enter" || e.nativeEvent.code === "Space") {
229
229
  let e = document.querySelector("main");
@@ -266,7 +266,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
266
266
  }),
267
267
  /* @__PURE__ */ O(s, {
268
268
  className: A.logo,
269
- href: B("https://www.highcharts.com/", l),
269
+ href: B("https://www.highcharts.com/", c),
270
270
  children: /* @__PURE__ */ O(y, { showText: !M || w && !S })
271
271
  }),
272
272
  /* @__PURE__ */ O("ul", {
@@ -275,7 +275,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
275
275
  variant: "plain",
276
276
  size: 300,
277
277
  as: s,
278
- href: B(t, l),
278
+ href: B(t, c),
279
279
  children: e
280
280
  }) }, n))
281
281
  }),
@@ -285,34 +285,34 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
285
285
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
286
286
  variant: "transparent",
287
287
  as: s,
288
- href: B("https://www.highcharts.com/chat/gpt/", l),
288
+ href: B("https://www.highcharts.com/chat/gpt/", c),
289
289
  children: [/* @__PURE__ */ O("span", {
290
290
  className: A.gpt,
291
291
  children: "Highcharts GPT"
292
- }), /* @__PURE__ */ O(d, {})]
292
+ }), /* @__PURE__ */ O(p, {})]
293
293
  }) }),
294
- /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(b, {}) }),
295
294
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(x, {}) }),
295
+ /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(b, {}) }),
296
296
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
297
297
  className: A.cta,
298
298
  variant: "success",
299
299
  as: s,
300
- href: B("https://shop.highcharts.com/", l),
300
+ href: B("https://shop.highcharts.com/", c),
301
301
  "aria-label": "Buy Now",
302
- children: [/* @__PURE__ */ O(c, {}), "Buy Now"]
302
+ children: [/* @__PURE__ */ O(u, {}), "Buy Now"]
303
303
  }) }),
304
304
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
305
305
  className: A.cta,
306
306
  variant: "brand",
307
307
  as: s,
308
- href: B("https://www.highcharts.com/download/", l),
309
- children: [/* @__PURE__ */ O(u, {}), "Try for Free"]
308
+ href: B("https://www.highcharts.com/download/", c),
309
+ children: [/* @__PURE__ */ O(f, {}), "Try for Free"]
310
310
  }) }),
311
311
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
312
312
  variant: F ? "soft" : "transparent",
313
313
  className: A.menu,
314
314
  onClick: X,
315
- children: [F ? "Close" : "Menu", O(F ? f : h, {})]
315
+ children: [F ? "Close" : "Menu", O(F ? m : g, {})]
316
316
  }) })
317
317
  ]
318
318
  })
@@ -322,8 +322,8 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
322
322
  !!t?.length && /* @__PURE__ */ O(K, {
323
323
  items: t,
324
324
  link: s,
325
- host: l,
326
- pathname: p
325
+ host: c,
326
+ pathname: l
327
327
  }),
328
328
  r
329
329
  ]
@@ -337,7 +337,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
337
337
  className: A.container,
338
338
  children: [/* @__PURE__ */ O(s, {
339
339
  className: A.logo,
340
- href: B("https://www.highcharts.com/", l),
340
+ href: B("https://www.highcharts.com/", c),
341
341
  children: /* @__PURE__ */ O(y, { showText: !S })
342
342
  }), /* @__PURE__ */ k("ul", {
343
343
  className: A.buttons,
@@ -345,14 +345,14 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
345
345
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
346
346
  variant: "transparent",
347
347
  as: s,
348
- href: B("https://www.highcharts.com/chat/gpt/", l),
348
+ href: B("https://www.highcharts.com/chat/gpt/", c),
349
349
  children: [/* @__PURE__ */ O("span", {
350
350
  className: A.gpt,
351
351
  children: "Highcharts GPT"
352
- }), /* @__PURE__ */ O(d, {})]
352
+ }), /* @__PURE__ */ O(p, {})]
353
353
  }) }),
354
- /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(b, {}) }),
355
- /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(x, {}) })
354
+ /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(x, {}) }),
355
+ /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(b, {}) })
356
356
  ]
357
357
  })]
358
358
  }),
@@ -362,14 +362,14 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
362
362
  variant: "brand",
363
363
  fullWidth: !0,
364
364
  as: s,
365
- href: B("https://shop.highcharts.com/", l),
366
- children: [/* @__PURE__ */ O(c, {}), "Buy Now"]
365
+ href: B("https://shop.highcharts.com/", c),
366
+ children: [/* @__PURE__ */ O(u, {}), "Buy Now"]
367
367
  }) }), /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
368
368
  variant: "success",
369
369
  fullWidth: !0,
370
370
  as: s,
371
- href: B("https://www.highcharts.com/download/", l),
372
- children: [/* @__PURE__ */ O(u, {}), "Try for Free"]
371
+ href: B("https://www.highcharts.com/download/", c),
372
+ children: [/* @__PURE__ */ O(f, {}), "Try for Free"]
373
373
  }) })]
374
374
  }),
375
375
  /* @__PURE__ */ O("ul", {
@@ -379,7 +379,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
379
379
  size: 500,
380
380
  fullWidth: !0,
381
381
  as: s,
382
- href: B(t, l),
382
+ href: B(t, c),
383
383
  children: [n, e]
384
384
  }) }, r))
385
385
  })
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./clsx-D7D_XZ_-.js";
2
- import { D as t, E as n, j as r } from "./esm-T3Xn_ZHF.js";
3
- import { t as i } from "./Button-CJp__tle.js";
2
+ import { N as t, O as n, k as r } from "./esm-vjQoQCu2.js";
3
+ import { t as i } from "./Button-FtTHXgq3.js";
4
4
  import { forwardRef as a, useCallback as o, useEffect as s, useRef as c, useState as l } from "react";
5
5
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
6
6
  var f = {
@@ -40,7 +40,7 @@ function m({ children: t, className: n }) {
40
40
  children: t
41
41
  });
42
42
  }
43
- var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labelIcon: h, iconRight: g, button: _, hasError: v = !1, success: y = !1, disabled: b = !1, className: x, wrapperClassName: S, type: C, onFocus: w, onBlur: T, value: E, defaultValue: D, ...O }, k) => {
43
+ var h = a(({ label: t, required: a = !1, helpText: p, showHelpText: m = !1, labelIcon: h, iconRight: g, button: _, hasError: v = !1, success: y = !1, disabled: b = !1, className: x, wrapperClassName: S, type: C, onFocus: w, onBlur: T, value: E, defaultValue: D, ...O }, k) => {
44
44
  let A = c(null), j = k || A, [M, N] = l(!1), [P, F] = l(!1), [I, L] = l(!1), R = C === "password", [z, B] = l(D === void 0 ? "" : String(D)), V = E !== void 0, H = V ? String(E).length > 0 : z.length > 0, U = o((e) => {
45
45
  N(!0), w?.(e);
46
46
  }, [w]), W = o((e) => {
@@ -80,14 +80,14 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
80
80
  children: [/* @__PURE__ */ d("div", {
81
81
  className: f.leftContent,
82
82
  children: [
83
- r && /* @__PURE__ */ d("div", {
83
+ t && /* @__PURE__ */ d("div", {
84
84
  className: f.labelRow,
85
85
  children: [h && /* @__PURE__ */ u("span", {
86
86
  className: f.labelIcon,
87
87
  children: h
88
88
  }), /* @__PURE__ */ d("span", {
89
89
  className: f.label,
90
- children: [r, a && /* @__PURE__ */ u("span", {
90
+ children: [t, a && /* @__PURE__ */ u("span", {
91
91
  className: f.required,
92
92
  children: " *"
93
93
  })]
@@ -98,7 +98,7 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
98
98
  type: J,
99
99
  className: e(f.inputElement, x),
100
100
  disabled: b,
101
- "aria-label": r,
101
+ "aria-label": t,
102
102
  "aria-required": a,
103
103
  "aria-invalid": v,
104
104
  value: E,
@@ -129,14 +129,14 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
129
129
  e.stopPropagation(), L((e) => !e);
130
130
  },
131
131
  "aria-label": I ? "Hide password" : "Show password",
132
- children: u(I ? n : t, {})
132
+ children: u(I ? n : r, {})
133
133
  }),
134
134
  _
135
135
  ]
136
136
  })]
137
137
  })
138
138
  });
139
- }), g = a(({ label: t, required: n = !1, helpText: i, showHelpText: a = !1, labelIcon: s, hasError: p = !1, success: m = !1, disabled: h = !1, className: g, wrapperClassName: _, placeholder: v, children: y, onFocus: b, onBlur: x, value: S, defaultValue: C, ...w }, T) => {
139
+ }), g = a(({ label: n, required: r = !1, helpText: i, showHelpText: a = !1, labelIcon: s, hasError: p = !1, success: m = !1, disabled: h = !1, className: g, wrapperClassName: _, placeholder: v, children: y, onFocus: b, onBlur: x, value: S, defaultValue: C, ...w }, T) => {
140
140
  let E = c(null), D = T || E, [O, k] = l(!1), [A, j] = l(!1), [M, N] = l(C === void 0 ? "" : String(C)), P = S !== void 0, F = P ? String(S).length > 0 : M.length > 0, I = o((e) => {
141
141
  k(!0), b?.(e);
142
142
  }, [b]), L = o((e) => {
@@ -169,14 +169,14 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
169
169
  children: [/* @__PURE__ */ d("div", {
170
170
  className: f.leftContent,
171
171
  children: [
172
- t && /* @__PURE__ */ d("div", {
172
+ n && /* @__PURE__ */ d("div", {
173
173
  className: f.labelRow,
174
174
  children: [s && /* @__PURE__ */ u("span", {
175
175
  className: f.labelIcon,
176
176
  children: s
177
177
  }), /* @__PURE__ */ d("span", {
178
178
  className: f.label,
179
- children: [t, n && /* @__PURE__ */ u("span", {
179
+ children: [n, r && /* @__PURE__ */ u("span", {
180
180
  className: f.required,
181
181
  children: " *"
182
182
  })]
@@ -186,8 +186,8 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
186
186
  ref: D,
187
187
  className: e(f.inputElement, f.selectElement, g),
188
188
  disabled: h,
189
- "aria-label": t,
190
- "aria-required": n,
189
+ "aria-label": n,
190
+ "aria-required": r,
191
191
  "aria-invalid": p,
192
192
  value: S,
193
193
  defaultValue: C,
@@ -211,7 +211,7 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
211
211
  className: f.rightContent,
212
212
  children: /* @__PURE__ */ u("span", {
213
213
  className: e(f.iconRight, f.chevron),
214
- children: /* @__PURE__ */ u(r, {})
214
+ children: /* @__PURE__ */ u(t, {})
215
215
  })
216
216
  })]
217
217
  })
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./clsx-D7D_XZ_-.js";
2
- import { a as t } from "./esm-T3Xn_ZHF.js";
2
+ import { a as t } from "./esm-vjQoQCu2.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  var i = {
5
5
  attention: "UwHMOW_attention",
@@ -1,7 +1,7 @@
1
1
  import { l as e } from "./utils-BCI5dixg.js";
2
2
  import { t } from "./clsx-D7D_XZ_-.js";
3
- import { C as n, M as r, z as i } from "./esm-T3Xn_ZHF.js";
4
- import { t as a } from "./Button-CJp__tle.js";
3
+ import { P as n, T as r, V as i } from "./esm-vjQoQCu2.js";
4
+ import { t as a } from "./Button-FtTHXgq3.js";
5
5
  import { t as o } from "./Icon-Dwo9ZDNX.js";
6
6
  import { t as s } from "./Link-DGMiLJES.js";
7
7
  import { t as c } from "./InputSolo-DOZp13Mv.js";
@@ -78,7 +78,7 @@ function g({ link: g = "a", privacyUrl: _ = "https://www.highcharts.com/privacy/
78
78
  L ? /* @__PURE__ */ m("div", {
79
79
  className: h.content,
80
80
  children: [/* @__PURE__ */ p(o, {
81
- name: n,
81
+ name: r,
82
82
  size: 16
83
83
  }), E ? "Check your inbox and confirm your email to finish signing up." : "You’re already subscribed to our newsletter."]
84
84
  }) : /* @__PURE__ */ m("form", {
@@ -104,7 +104,7 @@ function g({ link: g = "a", privacyUrl: _ = "https://www.highcharts.com/privacy/
104
104
  variant: "success",
105
105
  disabled: !0,
106
106
  children: [/* @__PURE__ */ p(o, {
107
- name: r,
107
+ name: n,
108
108
  size: 16
109
109
  }), "You’re in"]
110
110
  }) : /* @__PURE__ */ p(a, {
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./clsx-D7D_XZ_-.js";
2
- import { t } from "./esm-T3Xn_ZHF.js";
3
- import { t as n } from "./Button-CJp__tle.js";
2
+ import { t } from "./esm-vjQoQCu2.js";
3
+ import { t as n } from "./Button-FtTHXgq3.js";
4
4
  import { t as r } from "./Container-mH6tG_kR.js";
5
- import { t as i } from "./Label-bbLlUYRM.js";
5
+ import { t as i } from "./Label-BHGkcLu9.js";
6
6
  import { useEffect as a, useState as o } from "react";
7
7
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
8
8
  var u = {