highsoft-ui 1.0.80 → 1.0.81

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.
@@ -8,12 +8,11 @@ export interface SubHeaderItem {
8
8
  tag?: ReactNode;
9
9
  tagVariant?: 'success' | 'brand';
10
10
  }
11
- export declare function SubHeader({ items, link: Link, host, pathname, waitForMount }: {
11
+ export declare function SubHeader({ items, link: Link, host, pathname }: {
12
12
  items: Array<SubHeaderItem>;
13
13
  link?: ElementType;
14
14
  host?: string;
15
15
  pathname?: string;
16
- waitForMount?: boolean;
17
16
  }): import("react/jsx-runtime").JSX.Element;
18
17
  export interface Notification {
19
18
  id?: string;
@@ -1,18 +1,18 @@
1
- import { jsx as e, jsxs as i, Fragment as J } from "react/jsx-runtime";
2
- import { useRef as U, useState as T, useEffect as H } from "react";
3
- import { a as Q, J as F, b as G } from "../../utils-C7rfowvr.js";
1
+ import { jsx as e, jsxs as i, Fragment as A } from "react/jsx-runtime";
2
+ import { useRef as J, useState as L, useEffect as T } from "react";
3
+ import { a as M, J as U, b as G } from "../../utils-C7rfowvr.js";
4
4
  import { A as R } from "../../Announcement03-obPaH4LK.js";
5
5
  import { _ as m } from "../../extends-hS2Bh-Yp.js";
6
6
  import { X as $ } from "../../XClose-CCu1vrNS.js";
7
- import { c as C } from "../../clsx-OuTLNxxd.js";
7
+ import { c as _ } from "../../clsx-OuTLNxxd.js";
8
8
  import { Button as d } from "../Button/index.js";
9
- import { Container as z } from "../Container/index.js";
10
- import { ThemedLogo as I } from "../Logo/index.js";
11
- import { NewTag as Y } from "../NewTag/index.js";
12
- import { Notification as D } from "../Notification/index.js";
13
- import { Search as P } from "../Search/index.js";
9
+ import { Container as V } from "../Container/index.js";
10
+ import { ThemedLogo as H } from "../Logo/index.js";
11
+ import { NewTag as F } from "../NewTag/index.js";
12
+ import { Notification as Y } from "../Notification/index.js";
13
+ import { Search as I } from "../Search/index.js";
14
14
  import { PrefPanel as W } from "../PrefPanel/index.js";
15
- var K = function(o) {
15
+ var D = function(o) {
16
16
  return /* @__PURE__ */ e("svg", m({
17
17
  xmlns: "http://www.w3.org/2000/svg",
18
18
  width: 24,
@@ -28,7 +28,7 @@ var K = function(o) {
28
28
  d: "M6 11v4m12-6v4m-1-9c2.4487 0 3.7731.3748 4.4321.6654.0878.0388.1317.0581.2583.179.0759.0724.2145.285.2501.3837.0595.1646.0595.2546.0595.4346v10.7484c0 .9088 0 1.3632-.1363 1.5968-.1386.2375-.2723.348-.5318.4393-.255.0897-.7699-.0092-1.7997-.2071A13.45 13.45 0 0 0 17 18c-3 0-6 2-10 2-2.4487 0-3.7731-.3748-4.4321-.6654-.0878-.0388-.1317-.0581-.2583-.179-.076-.0724-.2145-.285-.2501-.3837C2 18.6073 2 18.5173 2 18.3373V7.5889c0-.9088 0-1.3632.1363-1.5968.1386-.2375.2723-.348.5318-.4393.255-.0898.77.0092 1.7997.207A13.44 13.44 0 0 0 7 6c3 0 6-2 10-2m-2.5 8c0 1.3807-1.1193 2.5-2.5 2.5S9.5 13.3807 9.5 12s1.1193-2.5 2.5-2.5 2.5 1.1193 2.5 2.5"
29
29
  })
30
30
  }));
31
- }, X = function(o) {
31
+ }, K = function(o) {
32
32
  return /* @__PURE__ */ e("svg", m({
33
33
  xmlns: "http://www.w3.org/2000/svg",
34
34
  width: 24,
@@ -44,7 +44,7 @@ var K = function(o) {
44
44
  d: "M11 3H7.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.2798 3 6.1198 3 7.8v8.4c0 1.6802 0 2.5202.327 3.162a3 3 0 0 0 1.311 1.311C5.2798 21 6.1198 21 7.8 21h8.4c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.7202 21 17.8802 21 16.2V13m-9-5h4v4m-.5-8.5V2m3.9393 2.5607L20.5 3.5m.0103 5h1.5M3 13.3471c.652.1007 1.3199.1529 2 .1529 4.3864 0 8.2653-2.1724 10.6197-5.5"
45
45
  })
46
46
  }));
47
- }, Z = function(o) {
47
+ }, X = function(o) {
48
48
  return /* @__PURE__ */ e("svg", m({
49
49
  xmlns: "http://www.w3.org/2000/svg",
50
50
  width: 24,
@@ -60,7 +60,7 @@ var K = function(o) {
60
60
  d: "M14 2.2695v4.1306c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.7599 8 15.0399 8 15.6 8h4.1305M16 13H8m8 4H8m2-8H8m6-7H8.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.2798 4 5.1198 4 6.8v10.4c0 1.6802 0 2.5202.327 3.162a3 3 0 0 0 1.311 1.311C6.2798 22 7.1198 22 8.8 22h6.4c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 19.7202 20 18.8802 20 17.2V8z"
61
61
  })
62
62
  }));
63
- }, ee = function(o) {
63
+ }, Z = function(o) {
64
64
  return /* @__PURE__ */ e("svg", m({
65
65
  xmlns: "http://www.w3.org/2000/svg",
66
66
  width: 24,
@@ -76,7 +76,7 @@ var K = function(o) {
76
76
  d: "M3 12h12M3 6h18M3 18h18"
77
77
  })
78
78
  }));
79
- }, te = function(o) {
79
+ }, ee = function(o) {
80
80
  return /* @__PURE__ */ e("svg", m({
81
81
  xmlns: "http://www.w3.org/2000/svg",
82
82
  width: 24,
@@ -92,7 +92,7 @@ var K = function(o) {
92
92
  d: "M10 8.0022a2.2485 2.2485 0 0 1 2.501-1.4698 2.248 2.248 0 0 1 1.8682 2.2193c0 1.4989-2.2483 2.2483-2.2483 2.2483m.029 3h.01M7 18v2.3355c0 .5329 0 .7993.1092.9361a.5.5 0 0 0 .3913.1881c.1751-.0002.3832-.1666.7993-.4995l2.3854-1.9084c.4873-.3898.731-.5847 1.0023-.7233a3 3 0 0 1 .7617-.2672C12.7477 18 13.0597 18 13.6837 18H16.2c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 15.7202 21 14.8802 21 13.2V7.8c0-1.6802 0-2.5202-.327-3.162a3 3 0 0 0-1.311-1.311C18.7202 3 17.8802 3 16.2 3H7.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.2798 3 6.1198 3 7.8V14c0 .93 0 1.395.1022 1.7765a3 3 0 0 0 2.1213 2.1213C5.605 18 6.07 18 7 18"
93
93
  })
94
94
  }));
95
- }, ne = function(o) {
95
+ }, te = function(o) {
96
96
  return /* @__PURE__ */ e("svg", m({
97
97
  xmlns: "http://www.w3.org/2000/svg",
98
98
  width: 24,
@@ -124,7 +124,7 @@ var K = function(o) {
124
124
  d: "M4.5 22v-5m0-10V2M2 4.5h5m-5 15h5M13 3l-1.7342 4.5089c-.282.7332-.423 1.0998-.6423 1.4082a3 3 0 0 1-.7064.7064c-.3084.2193-.675.3603-1.4082.6423L4 12l4.5089 1.7342c.7332.282 1.0998.423 1.4082.6423.2733.1943.5121.4331.7064.7064.2193.3084.3603.675.6423 1.4082L13 21l1.7342-4.5089c.282-.7332.423-1.0998.6423-1.4082a3 3 0 0 1 .7064-.7064c.3084-.2193.675-.3603 1.4082-.6423L22 12l-4.5089-1.7342c-.7332-.282-1.0998-.423-1.4082-.6423a3 3 0 0 1-.7064-.7064c-.2193-.3084-.3603-.675-.6423-1.4082z"
125
125
  })
126
126
  }));
127
- }, E = function(o) {
127
+ }, P = function(o) {
128
128
  return /* @__PURE__ */ e("svg", m({
129
129
  xmlns: "http://www.w3.org/2000/svg",
130
130
  width: 24,
@@ -140,7 +140,7 @@ var K = function(o) {
140
140
  d: "m7 15 3-3-3-3m6 6h4m-9.2 6h8.4c1.6802 0 2.5202 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.7202 21 17.8802 21 16.2V7.8c0-1.6802 0-2.5202-.327-3.162a3 3 0 0 0-1.311-1.311C18.7202 3 17.8802 3 16.2 3H7.8c-1.6802 0-2.5202 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.2798 3 6.1198 3 7.8v8.4c0 1.6802 0 2.5202.327 3.162a3 3 0 0 0 1.311 1.311C5.2798 21 6.1198 21 7.8 21"
141
141
  })
142
142
  }));
143
- }, O = function(o) {
143
+ }, E = function(o) {
144
144
  return /* @__PURE__ */ e("svg", m({
145
145
  xmlns: "http://www.w3.org/2000/svg",
146
146
  width: 24,
@@ -157,53 +157,53 @@ var K = function(o) {
157
157
  })
158
158
  }));
159
159
  };
160
- const oe = "m_QBtq_buttons", re = "m_QBtq_container", se = "m_QBtq_gpt", ie = "m_QBtq_header", ce = "m_QBtq_icon", ae = "m_QBtq_icons", le = "m_QBtq_links", he = "m_QBtq_logo", de = "m_QBtq_main", me = "m_QBtq_menu", ue = "m_QBtq_mobile", pe = "m_QBtq_mobileOverlay", we = "m_QBtq_open", ge = "m_QBtq_outer", fe = "m_QBtq_selectableIcon", ve = "m_QBtq_selected", ke = "m_QBtq_selectedIcon", _e = "m_QBtq_skip", Ce = "m_QBtq_sub", be = "m_QBtq_subContainer", xe = "m_QBtq_subTitle", t = {
161
- buttons: oe,
162
- container: re,
163
- gpt: se,
164
- header: ie,
165
- icon: ce,
166
- icons: ae,
167
- links: le,
168
- logo: he,
169
- main: de,
170
- menu: me,
171
- mobile: ue,
172
- mobileOverlay: pe,
173
- open: we,
174
- outer: ge,
175
- selectableIcon: fe,
176
- selected: ve,
177
- selectedIcon: ke,
178
- skip: _e,
179
- sub: Ce,
180
- subContainer: be,
181
- subTitle: xe
182
- }, V = [
160
+ const ne = "m_QBtq_buttons", oe = "m_QBtq_container", re = "m_QBtq_gpt", se = "m_QBtq_header", ie = "m_QBtq_icon", ce = "m_QBtq_icons", ae = "m_QBtq_links", le = "m_QBtq_logo", he = "m_QBtq_main", de = "m_QBtq_menu", me = "m_QBtq_mobile", ue = "m_QBtq_mobileOverlay", pe = "m_QBtq_open", we = "m_QBtq_outer", ge = "m_QBtq_selectableIcon", fe = "m_QBtq_selected", ve = "m_QBtq_selectedIcon", ke = "m_QBtq_skip", _e = "m_QBtq_sub", Ce = "m_QBtq_subContainer", be = "m_QBtq_subTitle", t = {
161
+ buttons: ne,
162
+ container: oe,
163
+ gpt: re,
164
+ header: se,
165
+ icon: ie,
166
+ icons: ce,
167
+ links: ae,
168
+ logo: le,
169
+ main: he,
170
+ menu: de,
171
+ mobile: me,
172
+ mobileOverlay: ue,
173
+ open: pe,
174
+ outer: we,
175
+ selectableIcon: ge,
176
+ selected: fe,
177
+ selectedIcon: ve,
178
+ skip: ke,
179
+ sub: _e,
180
+ subContainer: Ce,
181
+ subTitle: be
182
+ }, O = [
183
183
  {
184
184
  title: "Products",
185
185
  url: "https://www.highcharts.com/products/",
186
- icon: /* @__PURE__ */ e(X, {})
186
+ icon: /* @__PURE__ */ e(K, {})
187
187
  },
188
188
  {
189
189
  title: "Demos",
190
190
  url: "https://www.highcharts.com/demo",
191
- icon: /* @__PURE__ */ e(ne, {})
191
+ icon: /* @__PURE__ */ e(te, {})
192
192
  },
193
193
  {
194
194
  title: "Support",
195
195
  url: "https://www.highcharts.com/support/",
196
- icon: /* @__PURE__ */ e(te, {})
196
+ icon: /* @__PURE__ */ e(ee, {})
197
197
  },
198
198
  {
199
199
  title: "Resources",
200
200
  url: "https://www.highcharts.com/resources/",
201
- icon: /* @__PURE__ */ e(Z, {})
201
+ icon: /* @__PURE__ */ e(X, {})
202
202
  },
203
203
  {
204
204
  title: "Pricing",
205
205
  url: "https://shop.highcharts.com/",
206
- icon: /* @__PURE__ */ e(K, {})
206
+ icon: /* @__PURE__ */ e(D, {})
207
207
  },
208
208
  {
209
209
  title: "Blog",
@@ -214,33 +214,32 @@ const oe = "m_QBtq_buttons", re = "m_QBtq_container", se = "m_QBtq_gpt", ie = "m
214
214
  function h(c, o) {
215
215
  return o ? c.replace(o, "") : c;
216
216
  }
217
- function Be({
217
+ function xe({
218
218
  items: c,
219
219
  link: o = "a",
220
220
  host: p = "https://www.highcharts.com",
221
- pathname: a,
222
- waitForMount: l
221
+ pathname: a
223
222
  }) {
224
- const w = G();
225
- return /* @__PURE__ */ e("div", { className: C(t.sub, t.outer), children: /* @__PURE__ */ e(z, { className: t.subContainer, as: "ul", children: c.map(
226
- ({ title: f, url: b, icon: x, selectedIcon: B, tag: S, tagVariant: v = "success" }, u) => {
227
- const N = typeof window < "u" && window.location.origin || "http://example.com", k = new URL(b, N), _ = (!l || w) && k.origin === N && k.pathname === a;
223
+ const l = G();
224
+ return /* @__PURE__ */ e("div", { className: _(t.sub, t.outer), children: /* @__PURE__ */ e(V, { className: t.subContainer, as: "ul", children: c.map(
225
+ ({ title: N, url: w, icon: C, selectedIcon: b, tag: q, tagVariant: f = "success" }, u) => {
226
+ const x = typeof window < "u" && window.location.origin || "http://example.com", v = new URL(w, x), k = (!!a || l) && v.origin === x && v.pathname === (a || typeof window < "u" && window.location.pathname);
228
227
  return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ i(
229
228
  o,
230
229
  {
231
- href: h(b, p),
232
- className: C({
233
- [t.selectableIcon]: B,
234
- [t.selected]: _
230
+ href: h(w, p),
231
+ className: _({
232
+ [t.selectableIcon]: b,
233
+ [t.selected]: k
235
234
  }),
236
235
  children: [
237
236
  /* @__PURE__ */ i("span", { className: t.icons, children: [
238
- /* @__PURE__ */ e("span", { className: t.selectedIcon, children: B }),
239
- /* @__PURE__ */ e("span", { className: t.icon, children: x })
237
+ /* @__PURE__ */ e("span", { className: t.selectedIcon, children: b }),
238
+ /* @__PURE__ */ e("span", { className: t.icon, children: C })
240
239
  ] }),
241
240
  /* @__PURE__ */ i("span", { className: t.subTitle, children: [
242
- f,
243
- S && /* @__PURE__ */ e(Y, { variant: v, icon: !1 })
241
+ N,
242
+ q && /* @__PURE__ */ e(F, { variant: f, icon: !1 })
244
243
  ] })
245
244
  ]
246
245
  }
@@ -248,53 +247,51 @@ function Be({
248
247
  }
249
248
  ) }) });
250
249
  }
251
- function Oe({
250
+ function Ee({
252
251
  subItems: c,
253
252
  children: o,
254
253
  notifications: p = [],
255
254
  // TODO: Fetch these from the internets
256
255
  link: a = "a",
257
256
  host: l = "https://www.highcharts.com",
258
- pathname: w,
259
- topCssVariable: f
257
+ pathname: N,
258
+ topCssVariable: w
260
259
  }) {
261
- const b = !!w;
262
- w = w || (typeof window < "u" ? window.location.pathname : "");
263
- const x = Q("(max-width: 374px)"), B = Q("(max-width: 849px)"), S = Q("(min-width: 850px) and (max-width: 999px)"), v = U(null), [u, N] = T(!1), [k, _] = T([]);
264
- H(() => {
260
+ const C = M("(max-width: 374px)"), b = M("(max-width: 849px)"), q = M("(min-width: 850px) and (max-width: 999px)"), f = J(null), [u, x] = L(!1), [v, k] = L([]);
261
+ T(() => {
265
262
  let r = window.scrollY, n = -82, s = n;
266
- f && document.documentElement.style.setProperty("--header-top", `${n}px`);
263
+ w && document.documentElement.style.setProperty("--header-top", `${n}px`);
267
264
  const g = () => {
268
- const q = window.scrollY, M = q - r;
269
- n -= M, n < -82 ? n = -82 : n > 0 && (n = 0), v.current && n !== s && (v.current.style.top = `${n}px`, f && document.documentElement.style.setProperty(
265
+ const B = window.scrollY, S = B - r;
266
+ n -= S, n < -82 ? n = -82 : n > 0 && (n = 0), f.current && n !== s && (f.current.style.top = `${n}px`, w && document.documentElement.style.setProperty(
270
267
  "--header-top",
271
268
  `${n}px`
272
- )), r = q, s = n;
269
+ )), r = B, s = n;
273
270
  };
274
271
  return window.addEventListener("scroll", g), () => window.removeEventListener("scroll", g);
275
- }, [f]), H(() => {
272
+ }, [w]), T(() => {
276
273
  if (p.length) {
277
274
  const r = localStorage.getItem("notifications");
278
275
  if (r) {
279
276
  const n = JSON.parse(r);
280
- _(
277
+ k(
281
278
  p.filter(
282
279
  (s) => !s.id || !n.closed.includes(s.id)
283
280
  )
284
281
  );
285
282
  } else
286
- _(p);
283
+ k(p);
287
284
  }
288
285
  }, [p]);
289
- const y = (r) => {
286
+ const Q = (r) => {
290
287
  if (r.preventDefault(), !(r.nativeEvent instanceof KeyboardEvent) || r.nativeEvent.code === "Enter" || r.nativeEvent.code === "Space") {
291
288
  const n = document.querySelector("main");
292
289
  n && (n.scrollIntoView(), n.getAttribute("tabindex") !== "-1" && n.setAttribute("tabindex", "-1"), n.focus());
293
290
  }
294
- }, L = () => {
295
- N(!u);
296
- }, A = (r) => {
297
- _(k.filter((s) => !s.id || s.id !== r));
291
+ }, y = () => {
292
+ x(!u);
293
+ }, z = (r) => {
294
+ k(v.filter((s) => !s.id || s.id !== r));
298
295
  const n = localStorage.getItem("notifications");
299
296
  if (n) {
300
297
  const s = JSON.parse(n);
@@ -307,21 +304,21 @@ function Oe({
307
304
  })
308
305
  );
309
306
  };
310
- return /* @__PURE__ */ e(F, { children: /* @__PURE__ */ i("header", { className: t.header, ref: v, children: [
311
- k?.map(
312
- ({ id: r, title: n, description: s, variant: g, closable: q }, M) => /* @__PURE__ */ e(
313
- D,
307
+ return /* @__PURE__ */ e(U, { children: /* @__PURE__ */ i("header", { className: t.header, ref: f, children: [
308
+ v?.map(
309
+ ({ id: r, title: n, description: s, variant: g, closable: B }, S) => /* @__PURE__ */ e(
310
+ Y,
314
311
  {
315
312
  description: s,
316
313
  variant: g,
317
- closable: q,
318
- onClose: () => A(r),
314
+ closable: B,
315
+ onClose: () => z(r),
319
316
  children: n
320
317
  },
321
- M
318
+ S
322
319
  )
323
320
  ),
324
- /* @__PURE__ */ e("div", { className: C(t.main, t.outer), children: /* @__PURE__ */ i(z, { as: "nav", className: t.container, children: [
321
+ /* @__PURE__ */ e("div", { className: _(t.main, t.outer), children: /* @__PURE__ */ i(V, { as: "nav", className: t.container, children: [
325
322
  /* @__PURE__ */ e(
326
323
  d,
327
324
  {
@@ -329,8 +326,8 @@ function Oe({
329
326
  className: t.skip,
330
327
  size: 500,
331
328
  tabIndex: "0",
332
- onClick: y,
333
- onKeyPress: y,
329
+ onClick: Q,
330
+ onKeyPress: Q,
334
331
  children: "Skip to content"
335
332
  }
336
333
  ),
@@ -339,10 +336,10 @@ function Oe({
339
336
  {
340
337
  className: t.logo,
341
338
  href: h("https://www.highcharts.com/", l),
342
- children: /* @__PURE__ */ e(I, { showText: !S && !x })
339
+ children: /* @__PURE__ */ e(H, { showText: !q && !C })
343
340
  }
344
341
  ),
345
- /* @__PURE__ */ e("ul", { className: t.links, children: V.map(({ title: r, url: n }, s) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
342
+ /* @__PURE__ */ e("ul", { className: t.links, children: O.map(({ title: r, url: n }, s) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
346
343
  d,
347
344
  {
348
345
  variant: "plain",
@@ -368,7 +365,7 @@ function Oe({
368
365
  ]
369
366
  }
370
367
  ),
371
- /* @__PURE__ */ e(P, {}),
368
+ /* @__PURE__ */ e(I, {}),
372
369
  /* @__PURE__ */ e(W, {}),
373
370
  /* @__PURE__ */ e(
374
371
  d,
@@ -377,7 +374,7 @@ function Oe({
377
374
  as: a,
378
375
  href: h("https://shop.highcharts.com/account", l),
379
376
  "aria-label": "Login",
380
- children: /* @__PURE__ */ e(O, {})
377
+ children: /* @__PURE__ */ e(E, {})
381
378
  }
382
379
  ),
383
380
  /* @__PURE__ */ i(
@@ -390,7 +387,7 @@ function Oe({
390
387
  l
391
388
  ),
392
389
  children: [
393
- /* @__PURE__ */ e(E, {}),
390
+ /* @__PURE__ */ e(P, {}),
394
391
  "Get started"
395
392
  ]
396
393
  }
@@ -400,38 +397,37 @@ function Oe({
400
397
  {
401
398
  variant: u ? "white" : "transparent",
402
399
  className: t.menu,
403
- onClick: L,
400
+ onClick: y,
404
401
  children: [
405
402
  u ? "Close" : "Menu",
406
- u ? /* @__PURE__ */ e($, {}) : /* @__PURE__ */ e(ee, {})
403
+ u ? /* @__PURE__ */ e($, {}) : /* @__PURE__ */ e(Z, {})
407
404
  ]
408
405
  }
409
406
  )
410
407
  ] })
411
408
  ] }) }),
412
409
  !!c?.length && /* @__PURE__ */ e(
413
- Be,
410
+ xe,
414
411
  {
415
412
  items: c,
416
413
  link: a,
417
414
  host: l,
418
- pathname: w,
419
- waitForMount: !b
415
+ pathname: N
420
416
  }
421
417
  ),
422
418
  o,
423
- B && /* @__PURE__ */ i(J, { children: [
419
+ b && /* @__PURE__ */ i(A, { children: [
424
420
  /* @__PURE__ */ e(
425
421
  "div",
426
422
  {
427
- className: C(t.mobileOverlay, { [t.open]: u }),
428
- onClick: L
423
+ className: _(t.mobileOverlay, { [t.open]: u }),
424
+ onClick: y
429
425
  }
430
426
  ),
431
427
  /* @__PURE__ */ i(
432
428
  "nav",
433
429
  {
434
- className: C(t.mobile, {
430
+ className: _(t.mobile, {
435
431
  [t.open]: u
436
432
  }),
437
433
  children: [
@@ -441,7 +437,7 @@ function Oe({
441
437
  {
442
438
  className: t.logo,
443
439
  href: h("https://www.highcharts.com/", l),
444
- children: /* @__PURE__ */ e(I, { showText: !x })
440
+ children: /* @__PURE__ */ e(H, { showText: !C })
445
441
  }
446
442
  ),
447
443
  /* @__PURE__ */ i("div", { className: t.buttons, children: [
@@ -460,7 +456,7 @@ function Oe({
460
456
  ]
461
457
  }
462
458
  ),
463
- /* @__PURE__ */ e(P, {}),
459
+ /* @__PURE__ */ e(I, {}),
464
460
  /* @__PURE__ */ e(W, {})
465
461
  ] })
466
462
  ] }),
@@ -476,7 +472,7 @@ function Oe({
476
472
  l
477
473
  ),
478
474
  children: [
479
- /* @__PURE__ */ e(O, {}),
475
+ /* @__PURE__ */ e(E, {}),
480
476
  "Login"
481
477
  ]
482
478
  }
@@ -492,13 +488,13 @@ function Oe({
492
488
  l
493
489
  ),
494
490
  children: [
495
- /* @__PURE__ */ e(E, {}),
491
+ /* @__PURE__ */ e(P, {}),
496
492
  "Get started"
497
493
  ]
498
494
  }
499
495
  )
500
496
  ] }),
501
- /* @__PURE__ */ e("ul", { className: t.links, children: V.map(({ title: r, url: n, icon: s }, g) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ i(
497
+ /* @__PURE__ */ e("ul", { className: t.links, children: O.map(({ title: r, url: n, icon: s }, g) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ i(
502
498
  d,
503
499
  {
504
500
  variant: "plain",
@@ -519,6 +515,6 @@ function Oe({
519
515
  ] }) });
520
516
  }
521
517
  export {
522
- Oe as Header,
523
- Be as SubHeader
518
+ Ee as Header,
519
+ xe as SubHeader
524
520
  };
@@ -5431,7 +5431,7 @@ function ua() {
5431
5431
  /* @__PURE__ */ G("span", { className: we.resultIcon, children: Y.miscCategory && oe[Y.miscCategory] || oe[Y.category] }),
5432
5432
  /* @__PURE__ */ Fe("span", { className: we.resultContent, children: [
5433
5433
  /* @__PURE__ */ G("span", { className: we.resultTitle, children: Y.title }),
5434
- /* @__PURE__ */ G("span", { className: we.resultSubtitle, children: Y.url.replace("https://www.", "") })
5434
+ /* @__PURE__ */ G("span", { className: we.resultSubtitle, children: Y.url.replace("https://www.", "").replace("https://", "") })
5435
5435
  ] })
5436
5436
  ]
5437
5437
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "highsoft-ui",
3
- "version": "1.0.80",
3
+ "version": "1.0.81",
4
4
  "description": "Highsoft UI",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",