highsoft-ui 1.0.10 → 1.0.12
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.
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Button/index.js +23 -23
- package/dist/components/GPTInput/index.d.ts +2 -2
- package/dist/components/GPTInput/index.js +15 -15
- package/dist/components/Header/index.d.ts +10 -9
- package/dist/components/Header/index.js +135 -136
- package/dist/components/Logo/index.js +7 -9
- package/dist/components/Notification/index.d.ts +2 -2
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +385 -386
- package/dist/highsoft-ui.css +1 -1
- package/dist/{index-CYCXI8lK.js → index-CcO3hfIY.js} +11 -11
- package/dist/main.js +1 -1
- package/dist/scss/variables.scss +9 -13
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +17 -10
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { J as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { N as
|
|
6
|
-
import { c as
|
|
1
|
+
import { jsx as e, jsxs as o, Fragment as P } from "react/jsx-runtime";
|
|
2
|
+
import { useState as b, useEffect as V } from "react";
|
|
3
|
+
import { J as q } from "../../index-CMegByeX.js";
|
|
4
|
+
import { _ as l } from "../../extends-hS2Bh-Yp.js";
|
|
5
|
+
import { N as z, X as J } from "../../index-CcO3hfIY.js";
|
|
6
|
+
import { c as p } from "../../clsx-OuTLNxxd.js";
|
|
7
7
|
import { Button as c } from "../Button/index.js";
|
|
8
8
|
import { Container as H } from "../Container/index.js";
|
|
9
|
-
import { ThemedLogo as
|
|
10
|
-
import { PrefPanel as
|
|
11
|
-
import { useMediaQuery as
|
|
12
|
-
var
|
|
13
|
-
return /* @__PURE__ */ e("svg",
|
|
9
|
+
import { ThemedLogo as x } from "../Logo/index.js";
|
|
10
|
+
import { PrefPanel as M } from "../PrefPanel/index.js";
|
|
11
|
+
import { useMediaQuery as k } from "../../utils.js";
|
|
12
|
+
var U = function(t) {
|
|
13
|
+
return /* @__PURE__ */ e("svg", l({
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
15
|
width: 24,
|
|
16
16
|
height: 24,
|
|
@@ -25,8 +25,8 @@ var J = function(t) {
|
|
|
25
25
|
d: "M18.5 16c1.933 0 3.5-2.9101 3.5-6.5C22 5.9102 20.433 3 18.5 3m0 13c-1.933 0-3.5-2.9101-3.5-6.5C15 5.9102 16.567 3 18.5 3m0 13L5.4435 13.6261c-.9275-.1686-1.3912-.253-1.7662-.4371a3 3 0 0 1-1.5632-1.8731C2 10.914 2 10.4427 2 9.5s0-1.414.1141-1.816a3 3 0 0 1 1.5632-1.873c.375-.1841.8388-.2685 1.7662-.4371L18.5 3M5 14l.3939 5.514c.0374.5236.056.7855.17.9839a1 1 0 0 0 .4324.4026c.206.0995.4685.0995.9935.0995h1.7824c.6001 0 .9002 0 1.1223-.1197a1 1 0 0 0 .4397-.4748c.1023-.2306.0793-.5298.0333-1.1282L10 14.5"
|
|
26
26
|
})
|
|
27
27
|
}));
|
|
28
|
-
},
|
|
29
|
-
return /* @__PURE__ */ e("svg",
|
|
28
|
+
}, A = function(t) {
|
|
29
|
+
return /* @__PURE__ */ e("svg", l({
|
|
30
30
|
xmlns: "http://www.w3.org/2000/svg",
|
|
31
31
|
width: 24,
|
|
32
32
|
height: 24,
|
|
@@ -41,8 +41,8 @@ var J = function(t) {
|
|
|
41
41
|
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"
|
|
42
42
|
})
|
|
43
43
|
}));
|
|
44
|
-
},
|
|
45
|
-
return /* @__PURE__ */ e("svg",
|
|
44
|
+
}, G = function(t) {
|
|
45
|
+
return /* @__PURE__ */ e("svg", l({
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg",
|
|
47
47
|
width: 24,
|
|
48
48
|
height: 24,
|
|
@@ -57,8 +57,8 @@ var J = function(t) {
|
|
|
57
57
|
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"
|
|
58
58
|
})
|
|
59
59
|
}));
|
|
60
|
-
},
|
|
61
|
-
return /* @__PURE__ */ e("svg",
|
|
60
|
+
}, F = function(t) {
|
|
61
|
+
return /* @__PURE__ */ e("svg", l({
|
|
62
62
|
xmlns: "http://www.w3.org/2000/svg",
|
|
63
63
|
width: 24,
|
|
64
64
|
height: 24,
|
|
@@ -73,8 +73,8 @@ var J = function(t) {
|
|
|
73
73
|
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"
|
|
74
74
|
})
|
|
75
75
|
}));
|
|
76
|
-
},
|
|
77
|
-
return /* @__PURE__ */ e("svg",
|
|
76
|
+
}, Q = function(t) {
|
|
77
|
+
return /* @__PURE__ */ e("svg", l({
|
|
78
78
|
xmlns: "http://www.w3.org/2000/svg",
|
|
79
79
|
width: 24,
|
|
80
80
|
height: 24,
|
|
@@ -89,8 +89,8 @@ var J = function(t) {
|
|
|
89
89
|
d: "M3 12h12M3 6h18M3 18h18"
|
|
90
90
|
})
|
|
91
91
|
}));
|
|
92
|
-
},
|
|
93
|
-
return /* @__PURE__ */ e("svg",
|
|
92
|
+
}, X = function(t) {
|
|
93
|
+
return /* @__PURE__ */ e("svg", l({
|
|
94
94
|
xmlns: "http://www.w3.org/2000/svg",
|
|
95
95
|
width: 24,
|
|
96
96
|
height: 24,
|
|
@@ -105,8 +105,8 @@ var J = function(t) {
|
|
|
105
105
|
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"
|
|
106
106
|
})
|
|
107
107
|
}));
|
|
108
|
-
},
|
|
109
|
-
return /* @__PURE__ */ e("svg",
|
|
108
|
+
}, $ = function(t) {
|
|
109
|
+
return /* @__PURE__ */ e("svg", l({
|
|
110
110
|
xmlns: "http://www.w3.org/2000/svg",
|
|
111
111
|
width: 24,
|
|
112
112
|
height: 24,
|
|
@@ -122,7 +122,7 @@ var J = function(t) {
|
|
|
122
122
|
})
|
|
123
123
|
}));
|
|
124
124
|
}, N = function(t) {
|
|
125
|
-
return /* @__PURE__ */ e("svg",
|
|
125
|
+
return /* @__PURE__ */ e("svg", l({
|
|
126
126
|
xmlns: "http://www.w3.org/2000/svg",
|
|
127
127
|
width: 24,
|
|
128
128
|
height: 24,
|
|
@@ -137,8 +137,8 @@ var J = function(t) {
|
|
|
137
137
|
d: "m21 21-4.35-4.35M19 11c0 4.4183-3.5817 8-8 8s-8-3.5817-8-8 3.5817-8 8-8 8 3.5817 8 8"
|
|
138
138
|
})
|
|
139
139
|
}));
|
|
140
|
-
},
|
|
141
|
-
return /* @__PURE__ */ e("svg",
|
|
140
|
+
}, S = function(t) {
|
|
141
|
+
return /* @__PURE__ */ e("svg", l({
|
|
142
142
|
xmlns: "http://www.w3.org/2000/svg",
|
|
143
143
|
width: 24,
|
|
144
144
|
height: 24,
|
|
@@ -153,8 +153,8 @@ var J = function(t) {
|
|
|
153
153
|
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"
|
|
154
154
|
})
|
|
155
155
|
}));
|
|
156
|
-
},
|
|
157
|
-
return /* @__PURE__ */ e("svg",
|
|
156
|
+
}, L = function(t) {
|
|
157
|
+
return /* @__PURE__ */ e("svg", l({
|
|
158
158
|
xmlns: "http://www.w3.org/2000/svg",
|
|
159
159
|
width: 24,
|
|
160
160
|
height: 24,
|
|
@@ -170,7 +170,7 @@ var J = function(t) {
|
|
|
170
170
|
})
|
|
171
171
|
}));
|
|
172
172
|
}, T = function(t) {
|
|
173
|
-
return /* @__PURE__ */ e("svg",
|
|
173
|
+
return /* @__PURE__ */ e("svg", l({
|
|
174
174
|
xmlns: "http://www.w3.org/2000/svg",
|
|
175
175
|
width: 24,
|
|
176
176
|
height: 24,
|
|
@@ -186,108 +186,108 @@ var J = function(t) {
|
|
|
186
186
|
})
|
|
187
187
|
}));
|
|
188
188
|
};
|
|
189
|
-
const
|
|
190
|
-
header:
|
|
191
|
-
outer:
|
|
192
|
-
main:
|
|
193
|
-
container:
|
|
194
|
-
links:
|
|
195
|
-
buttons:
|
|
196
|
-
menu:
|
|
197
|
-
logo:
|
|
198
|
-
sub: e1,
|
|
189
|
+
const D = "_header_1lvm8_285", E = "_outer_1lvm8_296", R = "_main_1lvm8_305", I = "_container_1lvm8_309", K = "_links_1lvm8_315", Y = "_buttons_1lvm8_316", Z = "_menu_1lvm8_324", e1 = "_logo_1lvm8_329", t1 = "_subContainer_1lvm8_341", r1 = "_selected_1lvm8_369", n1 = "_subTag_1lvm8_381", o1 = "_mobileOverlay_1lvm8_399", s1 = "_show_1lvm8_1", i1 = "_open_1lvm8_411", a1 = "_mobile_1lvm8_399", c1 = "_slideUp_1lvm8_1", l1 = "_sub_1lvm8_341", h1 = "_gpt_1lvm8_477", r = {
|
|
190
|
+
header: D,
|
|
191
|
+
outer: E,
|
|
192
|
+
main: R,
|
|
193
|
+
container: I,
|
|
194
|
+
links: K,
|
|
195
|
+
buttons: Y,
|
|
196
|
+
menu: Z,
|
|
197
|
+
logo: e1,
|
|
199
198
|
subContainer: t1,
|
|
200
|
-
selected:
|
|
201
|
-
subTag:
|
|
202
|
-
"subTag-success": "_subTag-
|
|
203
|
-
"subTag-brand": "_subTag-
|
|
204
|
-
mobileOverlay:
|
|
199
|
+
selected: r1,
|
|
200
|
+
subTag: n1,
|
|
201
|
+
"subTag-success": "_subTag-success_1lvm8_386",
|
|
202
|
+
"subTag-brand": "_subTag-brand_1lvm8_390",
|
|
203
|
+
mobileOverlay: o1,
|
|
205
204
|
show: s1,
|
|
206
205
|
open: i1,
|
|
207
206
|
mobile: a1,
|
|
208
207
|
slideUp: c1,
|
|
208
|
+
sub: l1,
|
|
209
209
|
gpt: h1
|
|
210
210
|
}, B = [
|
|
211
211
|
{
|
|
212
212
|
title: "Products",
|
|
213
213
|
url: "https://highcharts.com/products/",
|
|
214
|
-
icon: /* @__PURE__ */ e(
|
|
214
|
+
icon: /* @__PURE__ */ e(G, {})
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
217
|
title: "Demos",
|
|
218
218
|
url: "https://www.highcharts.com/demo",
|
|
219
|
-
icon: /* @__PURE__ */ e(
|
|
219
|
+
icon: /* @__PURE__ */ e($, {})
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
title: "Support",
|
|
223
223
|
url: "https://www.highcharts.com/support/",
|
|
224
|
-
icon: /* @__PURE__ */ e(
|
|
224
|
+
icon: /* @__PURE__ */ e(X, {})
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
227
|
title: "Resources",
|
|
228
228
|
url: "https://www.highcharts.com/",
|
|
229
|
-
icon: /* @__PURE__ */ e(
|
|
229
|
+
icon: /* @__PURE__ */ e(F, {})
|
|
230
230
|
},
|
|
231
231
|
{
|
|
232
232
|
title: "Pricing",
|
|
233
233
|
url: "https://shop.highcharts.com/",
|
|
234
|
-
icon: /* @__PURE__ */ e(
|
|
234
|
+
icon: /* @__PURE__ */ e(A, {})
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
237
|
title: "Blog",
|
|
238
238
|
url: "https://www.highcharts.com/blog/",
|
|
239
|
-
icon: /* @__PURE__ */ e(
|
|
239
|
+
icon: /* @__PURE__ */ e(U, {})
|
|
240
240
|
}
|
|
241
241
|
];
|
|
242
|
-
function
|
|
243
|
-
return /* @__PURE__ */ e("div", { className:
|
|
244
|
-
({ title: t, url:
|
|
242
|
+
function d1({ items: n }) {
|
|
243
|
+
return /* @__PURE__ */ e("div", { className: p(r.sub, r.outer), children: /* @__PURE__ */ e(H, { className: r.subContainer, as: "ul", children: n.map(
|
|
244
|
+
({ title: t, url: m, icon: a, tag: u, tagVariant: v = "success", link: g = "a" }, d) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ o(g, { href: m, children: [
|
|
245
245
|
a,
|
|
246
|
-
/* @__PURE__ */
|
|
246
|
+
/* @__PURE__ */ o("span", { children: [
|
|
247
247
|
t,
|
|
248
|
-
|
|
248
|
+
u && /* @__PURE__ */ e(
|
|
249
249
|
"span",
|
|
250
250
|
{
|
|
251
|
-
className:
|
|
252
|
-
|
|
253
|
-
|
|
251
|
+
className: p(
|
|
252
|
+
r.subTag,
|
|
253
|
+
r[`subTag-${v}`]
|
|
254
254
|
),
|
|
255
|
-
children:
|
|
255
|
+
children: u
|
|
256
256
|
}
|
|
257
257
|
)
|
|
258
258
|
] })
|
|
259
|
-
] }) },
|
|
259
|
+
] }) }, d)
|
|
260
260
|
) }) });
|
|
261
261
|
}
|
|
262
|
-
function
|
|
263
|
-
subItems:
|
|
262
|
+
function x1({
|
|
263
|
+
subItems: n,
|
|
264
264
|
children: t,
|
|
265
|
-
notifications:
|
|
265
|
+
notifications: m = [],
|
|
266
266
|
// TODO: Fetch these from the internets
|
|
267
267
|
link: a = "a"
|
|
268
268
|
}) {
|
|
269
|
-
const
|
|
270
|
-
|
|
271
|
-
if (
|
|
269
|
+
const u = k("(max-width: 374px)"), v = k("(max-width: 849px)"), g = k("(min-width: 850px) and (max-width: 999px)"), [d, W] = b(!1), [w, f] = b([]);
|
|
270
|
+
V(() => {
|
|
271
|
+
if (m.length) {
|
|
272
272
|
const i = localStorage.getItem("notifications");
|
|
273
273
|
if (i) {
|
|
274
|
-
const
|
|
274
|
+
const h = JSON.parse(i);
|
|
275
275
|
f(
|
|
276
|
-
|
|
277
|
-
(s) => !s.id || !
|
|
276
|
+
m.filter(
|
|
277
|
+
(s) => !s.id || !h.closed.includes(s.id)
|
|
278
278
|
)
|
|
279
279
|
);
|
|
280
280
|
} else
|
|
281
|
-
f(
|
|
281
|
+
f(m);
|
|
282
282
|
}
|
|
283
|
-
}, [
|
|
284
|
-
const
|
|
285
|
-
|
|
286
|
-
},
|
|
287
|
-
f(
|
|
288
|
-
const
|
|
289
|
-
if (
|
|
290
|
-
const s = JSON.parse(
|
|
283
|
+
}, [m]);
|
|
284
|
+
const C = () => {
|
|
285
|
+
W(!d);
|
|
286
|
+
}, j = (i) => {
|
|
287
|
+
f(w.filter((s) => !s.id || s.id !== i));
|
|
288
|
+
const h = localStorage.getItem("notifications");
|
|
289
|
+
if (h) {
|
|
290
|
+
const s = JSON.parse(h);
|
|
291
291
|
s.closed.includes(i) || (s.closed.push(i), localStorage.setItem("notifications", JSON.stringify(s)));
|
|
292
292
|
} else
|
|
293
293
|
localStorage.setItem(
|
|
@@ -297,50 +297,38 @@ function b1({
|
|
|
297
297
|
})
|
|
298
298
|
);
|
|
299
299
|
};
|
|
300
|
-
return /* @__PURE__ */ e(
|
|
301
|
-
|
|
302
|
-
({ id: i, title:
|
|
303
|
-
|
|
300
|
+
return /* @__PURE__ */ e(q, { children: /* @__PURE__ */ o("header", { className: r.header, children: [
|
|
301
|
+
w == null ? void 0 : w.map(
|
|
302
|
+
({ id: i, title: h, description: s, variant: _, closable: O }, y) => /* @__PURE__ */ e(
|
|
303
|
+
z,
|
|
304
304
|
{
|
|
305
305
|
description: s,
|
|
306
306
|
variant: _,
|
|
307
|
-
closable:
|
|
308
|
-
onClose: () =>
|
|
309
|
-
children:
|
|
307
|
+
closable: O,
|
|
308
|
+
onClose: () => j(i),
|
|
309
|
+
children: h
|
|
310
310
|
},
|
|
311
|
-
|
|
311
|
+
y
|
|
312
312
|
)
|
|
313
313
|
),
|
|
314
|
-
/* @__PURE__ */ e("div", { className:
|
|
315
|
-
/* @__PURE__ */ e(a, { className:
|
|
316
|
-
/* @__PURE__ */ e("
|
|
317
|
-
/* @__PURE__ */
|
|
318
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ e("div", { className: p(r.main, r.outer), children: /* @__PURE__ */ o(H, { as: "nav", className: r.container, children: [
|
|
315
|
+
/* @__PURE__ */ e(a, { className: r.logo, href: "https://www.highcharts.com/", children: /* @__PURE__ */ e(x, { showText: !g && !u }) }),
|
|
316
|
+
/* @__PURE__ */ e("ul", { className: r.links, children: B.map(({ title: i, url: h }, s) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(c, { variant: "plain", size: 300, as: a, href: h, children: i }) }, s)) }),
|
|
317
|
+
/* @__PURE__ */ o("div", { className: r.buttons, children: [
|
|
318
|
+
/* @__PURE__ */ o(
|
|
319
319
|
c,
|
|
320
320
|
{
|
|
321
321
|
variant: "transparent",
|
|
322
322
|
as: a,
|
|
323
323
|
href: "https://www.highcharts.com/chat/gpt/",
|
|
324
324
|
children: [
|
|
325
|
-
/* @__PURE__ */ e("span", { className:
|
|
326
|
-
/* @__PURE__ */ e(
|
|
327
|
-
]
|
|
328
|
-
}
|
|
329
|
-
),
|
|
330
|
-
/* @__PURE__ */ e(c, { variant: "transparent", children: /* @__PURE__ */ e(N, {}) }),
|
|
331
|
-
/* @__PURE__ */ e(x, {}),
|
|
332
|
-
/* @__PURE__ */ n(
|
|
333
|
-
c,
|
|
334
|
-
{
|
|
335
|
-
variant: d ? "white" : "transparent",
|
|
336
|
-
className: o.menu,
|
|
337
|
-
onClick: k,
|
|
338
|
-
children: [
|
|
339
|
-
d ? "Close" : "Menu",
|
|
340
|
-
d ? /* @__PURE__ */ e(z, {}) : /* @__PURE__ */ e(F, {})
|
|
325
|
+
/* @__PURE__ */ e("span", { className: r.gpt, children: "Highcharts GPT" }),
|
|
326
|
+
/* @__PURE__ */ e(S, {})
|
|
341
327
|
]
|
|
342
328
|
}
|
|
343
329
|
),
|
|
330
|
+
/* @__PURE__ */ e(c, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(N, {}) }),
|
|
331
|
+
/* @__PURE__ */ e(M, {}),
|
|
344
332
|
/* @__PURE__ */ e(
|
|
345
333
|
c,
|
|
346
334
|
{
|
|
@@ -350,65 +338,77 @@ function b1({
|
|
|
350
338
|
children: /* @__PURE__ */ e(T, {})
|
|
351
339
|
}
|
|
352
340
|
),
|
|
353
|
-
/* @__PURE__ */
|
|
341
|
+
/* @__PURE__ */ o(
|
|
354
342
|
c,
|
|
355
343
|
{
|
|
356
344
|
variant: "success",
|
|
357
345
|
as: a,
|
|
358
346
|
href: "https://www.highcharts.com/download/",
|
|
359
347
|
children: [
|
|
360
|
-
/* @__PURE__ */ e(
|
|
348
|
+
/* @__PURE__ */ e(L, {}),
|
|
361
349
|
"Get started"
|
|
362
350
|
]
|
|
363
351
|
}
|
|
352
|
+
),
|
|
353
|
+
/* @__PURE__ */ o(
|
|
354
|
+
c,
|
|
355
|
+
{
|
|
356
|
+
variant: d ? "white" : "transparent",
|
|
357
|
+
className: r.menu,
|
|
358
|
+
onClick: C,
|
|
359
|
+
children: [
|
|
360
|
+
d ? "Close" : "Menu",
|
|
361
|
+
d ? /* @__PURE__ */ e(J, {}) : /* @__PURE__ */ e(Q, {})
|
|
362
|
+
]
|
|
363
|
+
}
|
|
364
364
|
)
|
|
365
365
|
] })
|
|
366
366
|
] }) }),
|
|
367
|
-
!!(
|
|
367
|
+
!!(n != null && n.length) && /* @__PURE__ */ e(d1, { items: n }),
|
|
368
368
|
t,
|
|
369
|
-
|
|
369
|
+
v && /* @__PURE__ */ o(P, { children: [
|
|
370
370
|
/* @__PURE__ */ e(
|
|
371
371
|
"div",
|
|
372
372
|
{
|
|
373
|
-
className:
|
|
374
|
-
onClick:
|
|
373
|
+
className: p(r.mobileOverlay, { [r.open]: d }),
|
|
374
|
+
onClick: C
|
|
375
375
|
}
|
|
376
376
|
),
|
|
377
|
-
/* @__PURE__ */
|
|
377
|
+
/* @__PURE__ */ o(
|
|
378
378
|
"nav",
|
|
379
379
|
{
|
|
380
|
-
className:
|
|
381
|
-
[
|
|
380
|
+
className: p(r.mobile, {
|
|
381
|
+
[r.open]: d
|
|
382
382
|
}),
|
|
383
383
|
children: [
|
|
384
|
-
/* @__PURE__ */
|
|
384
|
+
/* @__PURE__ */ o("div", { className: r.container, children: [
|
|
385
385
|
/* @__PURE__ */ e(
|
|
386
386
|
a,
|
|
387
387
|
{
|
|
388
|
-
className:
|
|
388
|
+
className: r.logo,
|
|
389
389
|
href: "https://www.highcharts.com/",
|
|
390
|
-
children: /* @__PURE__ */ e(
|
|
390
|
+
children: /* @__PURE__ */ e(x, { showText: !u })
|
|
391
391
|
}
|
|
392
392
|
),
|
|
393
|
-
/* @__PURE__ */
|
|
394
|
-
/* @__PURE__ */
|
|
393
|
+
/* @__PURE__ */ o("div", { className: r.buttons, children: [
|
|
394
|
+
/* @__PURE__ */ o(
|
|
395
395
|
c,
|
|
396
396
|
{
|
|
397
397
|
variant: "transparent",
|
|
398
398
|
as: a,
|
|
399
399
|
href: "https://www.highcharts.com/chat/gpt/",
|
|
400
400
|
children: [
|
|
401
|
-
/* @__PURE__ */ e("span", { className:
|
|
402
|
-
/* @__PURE__ */ e(
|
|
401
|
+
/* @__PURE__ */ e("span", { className: r.gpt, children: "Highcharts GPT" }),
|
|
402
|
+
/* @__PURE__ */ e(S, {})
|
|
403
403
|
]
|
|
404
404
|
}
|
|
405
405
|
),
|
|
406
|
-
/* @__PURE__ */ e(c, { variant: "transparent", children: /* @__PURE__ */ e(N, {}) }),
|
|
407
|
-
/* @__PURE__ */ e(
|
|
406
|
+
/* @__PURE__ */ e(c, { variant: "transparent", "aria-label": "Search", children: /* @__PURE__ */ e(N, {}) }),
|
|
407
|
+
/* @__PURE__ */ e(M, {})
|
|
408
408
|
] })
|
|
409
409
|
] }),
|
|
410
|
-
/* @__PURE__ */
|
|
411
|
-
/* @__PURE__ */
|
|
410
|
+
/* @__PURE__ */ o("div", { className: r.buttons, children: [
|
|
411
|
+
/* @__PURE__ */ o(
|
|
412
412
|
c,
|
|
413
413
|
{
|
|
414
414
|
variant: "brand",
|
|
@@ -421,7 +421,7 @@ function b1({
|
|
|
421
421
|
]
|
|
422
422
|
}
|
|
423
423
|
),
|
|
424
|
-
/* @__PURE__ */
|
|
424
|
+
/* @__PURE__ */ o(
|
|
425
425
|
c,
|
|
426
426
|
{
|
|
427
427
|
variant: "success",
|
|
@@ -429,27 +429,26 @@ function b1({
|
|
|
429
429
|
as: a,
|
|
430
430
|
href: "https://www.highcharts.com/download/",
|
|
431
431
|
children: [
|
|
432
|
-
/* @__PURE__ */ e(
|
|
432
|
+
/* @__PURE__ */ e(L, {}),
|
|
433
433
|
"Get started"
|
|
434
434
|
]
|
|
435
435
|
}
|
|
436
436
|
)
|
|
437
437
|
] }),
|
|
438
|
-
/* @__PURE__ */ e("
|
|
438
|
+
/* @__PURE__ */ e("ul", { className: r.links, children: B.map(({ title: i, url: h, icon: s }, _) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ o(
|
|
439
439
|
c,
|
|
440
440
|
{
|
|
441
441
|
variant: "plain",
|
|
442
442
|
size: 500,
|
|
443
443
|
fullWidth: !0,
|
|
444
444
|
as: a,
|
|
445
|
-
href:
|
|
445
|
+
href: h,
|
|
446
446
|
children: [
|
|
447
447
|
s,
|
|
448
448
|
i
|
|
449
449
|
]
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
)) })
|
|
450
|
+
}
|
|
451
|
+
) }, _)) })
|
|
453
452
|
]
|
|
454
453
|
}
|
|
455
454
|
)
|
|
@@ -457,6 +456,6 @@ function b1({
|
|
|
457
456
|
] }) });
|
|
458
457
|
}
|
|
459
458
|
export {
|
|
460
|
-
|
|
461
|
-
|
|
459
|
+
x1 as Header,
|
|
460
|
+
d1 as SubHeader
|
|
462
461
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { z as h } from "../../index-CMegByeX.js";
|
|
3
|
-
import {
|
|
4
|
-
function
|
|
3
|
+
import { useMounted as d } from "../../utils.js";
|
|
4
|
+
function n({
|
|
5
5
|
title: s = "Highcharts",
|
|
6
6
|
light: l,
|
|
7
7
|
showText: o = !0,
|
|
@@ -246,13 +246,11 @@ function p({
|
|
|
246
246
|
);
|
|
247
247
|
return e ? /* @__PURE__ */ t("a", { href: "https://www.highcharts.com", children: r }) : r;
|
|
248
248
|
}
|
|
249
|
-
function
|
|
250
|
-
const { resolvedTheme: l } = h(),
|
|
251
|
-
return n
|
|
252
|
-
e(!0);
|
|
253
|
-
}, []), /* @__PURE__ */ t(p, { light: !o || l === "light", ...s });
|
|
249
|
+
function a(s) {
|
|
250
|
+
const { resolvedTheme: l } = h(), o = d();
|
|
251
|
+
return /* @__PURE__ */ t(n, { light: !o || l === "light", ...s });
|
|
254
252
|
}
|
|
255
253
|
export {
|
|
256
|
-
|
|
257
|
-
|
|
254
|
+
n as Logo,
|
|
255
|
+
a as ThemedLogo
|
|
258
256
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export type NotificationVariant =
|
|
3
|
-
export declare function Notification({ children, variant, description, closable, onClose
|
|
2
|
+
export type NotificationVariant = 'default' | 'success' | 'danger' | 'attention';
|
|
3
|
+
export declare function Notification({ children, variant, description, closable, onClose }: {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
variant?: NotificationVariant;
|
|
6
6
|
description?: string;
|