highsoft-ui 1.0.3 → 1.0.4
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/README.md +75 -9
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Button/index.js +37 -36
- package/dist/components/Header/index.js +113 -89
- package/dist/components/PrefPanel/index.js +136 -139
- package/dist/highsoft-ui.css +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -7,35 +7,102 @@ npm i
|
|
|
7
7
|
npm run dev
|
|
8
8
|
```
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
This will run the test application located in `src` that uses the component library located in `lib`.
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
1. Install the package:
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
npm i highsoft-ui
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
2. Load the the css somehow:
|
|
21
|
+
|
|
22
|
+
```scss
|
|
23
|
+
@import 'highsoft-ui/css';
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
3. Use the components:
|
|
27
|
+
|
|
28
|
+
```js
|
|
29
|
+
import { Button } from 'highsoft-ui';
|
|
30
|
+
// ...
|
|
31
|
+
<Button variant="brand" size={300}>Hello</Button>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### PHP
|
|
35
|
+
|
|
36
|
+
How to use components that need hydration (running client-side react) in PHP.
|
|
37
|
+
This mostly applies to the wordpress block gang.
|
|
13
38
|
|
|
14
39
|
1. Build script
|
|
40
|
+
|
|
41
|
+
`ui.ts`:
|
|
15
42
|
```js
|
|
16
|
-
import { Header
|
|
43
|
+
import { Header } from 'highsoft-ui';
|
|
17
44
|
import { render } from 'highsoft-ui/php';
|
|
18
45
|
|
|
19
46
|
render('react.php', {
|
|
20
47
|
header: <Header />,
|
|
21
|
-
|
|
48
|
+
some_other_component: <Header
|
|
49
|
+
subItems={[
|
|
50
|
+
{
|
|
51
|
+
title: "Core",
|
|
52
|
+
url: "https://www.highcharts.com/products/highcharts/",
|
|
53
|
+
icon: <CoreIcon />,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
title: "Stock",
|
|
57
|
+
url: "https://www.highcharts.com/products/stock/",
|
|
58
|
+
icon: <StockIcon />,
|
|
59
|
+
},
|
|
60
|
+
]}
|
|
61
|
+
/>
|
|
22
62
|
});
|
|
23
63
|
```
|
|
24
64
|
|
|
65
|
+
Run it with `tsx`:
|
|
66
|
+
```sh
|
|
67
|
+
npx tsx ui.ts
|
|
68
|
+
```
|
|
69
|
+
|
|
25
70
|
2. PHP template
|
|
71
|
+
|
|
26
72
|
```php
|
|
27
|
-
|
|
73
|
+
include_once 'react.php';
|
|
28
74
|
// ...
|
|
29
|
-
|
|
75
|
+
hsui_header();
|
|
76
|
+
?>
|
|
77
|
+
|
|
78
|
+
<div>
|
|
79
|
+
<h2>Wordpress <3</h2>
|
|
80
|
+
<?php hsui_some_other_component(); ?>
|
|
81
|
+
</div>
|
|
30
82
|
```
|
|
31
83
|
|
|
32
|
-
3. Client bundle
|
|
84
|
+
3. Client JS bundle
|
|
85
|
+
|
|
33
86
|
```js
|
|
34
87
|
import { Header } from 'highsoft-ui';
|
|
35
88
|
import { hydrate } from 'highsoft-ui/php';
|
|
36
89
|
|
|
37
90
|
hydrate({
|
|
38
|
-
|
|
91
|
+
header: <Header />,
|
|
92
|
+
some_other_component: <Header
|
|
93
|
+
subItems={[
|
|
94
|
+
{
|
|
95
|
+
title: "Core",
|
|
96
|
+
url: "https://www.highcharts.com/products/highcharts/",
|
|
97
|
+
icon: <CoreIcon />,
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
title: "Stock",
|
|
101
|
+
url: "https://www.highcharts.com/products/stock/",
|
|
102
|
+
icon: <StockIcon />,
|
|
103
|
+
},
|
|
104
|
+
]}
|
|
105
|
+
/>
|
|
39
106
|
});
|
|
40
107
|
```
|
|
41
108
|
|
|
@@ -78,7 +145,6 @@ hydrate({
|
|
|
78
145
|
- Turns off all rules that are unnecessary or might conflict with Prettier.
|
|
79
146
|
- this config only turns rules off
|
|
80
147
|
|
|
81
|
-
|
|
82
148
|
### Husky
|
|
83
149
|
|
|
84
150
|
- Automatically lint your commit messages, code, and run tests upon committing or pushing.
|
|
@@ -8,4 +8,4 @@ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
8
8
|
as?: ElementType;
|
|
9
9
|
[prop: string]: any;
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
11
|
+
export declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as c } from "react";
|
|
2
3
|
import { c as i } from "../../clsx-OuTLNxxd.js";
|
|
3
|
-
const
|
|
4
|
-
button:
|
|
5
|
-
content:
|
|
6
|
-
neutral:
|
|
7
|
-
white:
|
|
8
|
-
transparent:
|
|
9
|
-
plain:
|
|
10
|
-
brand:
|
|
11
|
-
success:
|
|
12
|
-
attention:
|
|
13
|
-
danger:
|
|
14
|
-
"size-50": "_size-
|
|
15
|
-
"size-100": "_size-
|
|
16
|
-
"size-200": "_size-
|
|
17
|
-
"size-300": "_size-
|
|
18
|
-
"size-400": "_size-
|
|
19
|
-
"size-500": "_size-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
o,
|
|
4
|
+
const d = "_button_ej6jd_17", u = "_content_ej6jd_33", z = "_neutral_ej6jd_40", l = "_white_ej6jd_57", p = "_transparent_ej6jd_76", b = "_plain_ej6jd_98", m = "_brand_ej6jd_123", f = "_success_ej6jd_140", h = "_attention_ej6jd_155", w = "_danger_ej6jd_170", t = {
|
|
5
|
+
button: d,
|
|
6
|
+
content: u,
|
|
7
|
+
neutral: z,
|
|
8
|
+
white: l,
|
|
9
|
+
transparent: p,
|
|
10
|
+
plain: b,
|
|
11
|
+
brand: m,
|
|
12
|
+
success: f,
|
|
13
|
+
attention: h,
|
|
14
|
+
danger: w,
|
|
15
|
+
"size-50": "_size-50_ej6jd_266",
|
|
16
|
+
"size-100": "_size-100_ej6jd_282",
|
|
17
|
+
"size-200": "_size-200_ej6jd_299",
|
|
18
|
+
"size-300": "_size-300_ej6jd_316",
|
|
19
|
+
"size-400": "_size-400_ej6jd_333",
|
|
20
|
+
"size-500": "_size-500_ej6jd_350"
|
|
21
|
+
}, y = c(
|
|
22
|
+
({
|
|
23
|
+
children: n,
|
|
24
|
+
variant: s = "neutral",
|
|
25
|
+
size: _ = 200,
|
|
26
|
+
as: j = "button",
|
|
27
|
+
className: o,
|
|
28
|
+
...a
|
|
29
|
+
}, r) => /* @__PURE__ */ e(
|
|
30
|
+
j,
|
|
31
31
|
{
|
|
32
32
|
className: i(
|
|
33
|
-
|
|
33
|
+
o,
|
|
34
34
|
t.button,
|
|
35
35
|
t[s],
|
|
36
|
-
t[`size-${
|
|
36
|
+
t[`size-${_}`]
|
|
37
37
|
),
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
ref: r,
|
|
39
|
+
...a,
|
|
40
|
+
children: /* @__PURE__ */ e("span", { className: t.content, children: n })
|
|
40
41
|
}
|
|
41
|
-
)
|
|
42
|
-
|
|
42
|
+
)
|
|
43
|
+
);
|
|
43
44
|
export {
|
|
44
|
-
|
|
45
|
+
y as Button
|
|
45
46
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { J as
|
|
4
|
-
import { _ as
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { useState as b, useEffect as x } from "react";
|
|
3
|
+
import { J as S } from "../../index-CMegByeX.js";
|
|
4
|
+
import { _ as u } from "../../extends-hS2Bh-Yp.js";
|
|
5
5
|
import { c as w } from "../../clsx-OuTLNxxd.js";
|
|
6
|
-
import { Button as
|
|
6
|
+
import { Button as d } from "../Button/index.js";
|
|
7
7
|
import { Container as _ } from "../Container/index.js";
|
|
8
8
|
import { ThemedLogo as C } from "../Logo/index.js";
|
|
9
9
|
import { Notification as M } from "../Notification/index.js";
|
|
10
|
-
import { PrefPanel as
|
|
11
|
-
import { useMediaQuery as
|
|
12
|
-
var L = function(
|
|
13
|
-
return /* @__PURE__ */ t("svg",
|
|
10
|
+
import { PrefPanel as N } from "../PrefPanel/index.js";
|
|
11
|
+
import { useMediaQuery as T } from "../../utils.js";
|
|
12
|
+
var L = function(r) {
|
|
13
|
+
return /* @__PURE__ */ t("svg", u({
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
15
|
width: 24,
|
|
16
16
|
height: 24,
|
|
17
17
|
fill: "none",
|
|
18
18
|
viewBox: "0 0 24 24"
|
|
19
|
-
},
|
|
19
|
+
}, r, {
|
|
20
20
|
children: /* @__PURE__ */ t("path", {
|
|
21
21
|
stroke: "currentColor",
|
|
22
22
|
strokeLinecap: "round",
|
|
@@ -25,14 +25,14 @@ var L = function(n) {
|
|
|
25
25
|
d: "M3 12h12M3 6h18M3 18h18"
|
|
26
26
|
})
|
|
27
27
|
}));
|
|
28
|
-
},
|
|
29
|
-
return /* @__PURE__ */ t("svg",
|
|
28
|
+
}, j = function(r) {
|
|
29
|
+
return /* @__PURE__ */ t("svg", u({
|
|
30
30
|
xmlns: "http://www.w3.org/2000/svg",
|
|
31
31
|
width: 24,
|
|
32
32
|
height: 24,
|
|
33
33
|
fill: "none",
|
|
34
34
|
viewBox: "0 0 24 24"
|
|
35
|
-
},
|
|
35
|
+
}, r, {
|
|
36
36
|
children: /* @__PURE__ */ t("path", {
|
|
37
37
|
stroke: "currentColor",
|
|
38
38
|
strokeLinecap: "round",
|
|
@@ -41,14 +41,14 @@ var L = function(n) {
|
|
|
41
41
|
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"
|
|
42
42
|
})
|
|
43
43
|
}));
|
|
44
|
-
},
|
|
45
|
-
return /* @__PURE__ */ t("svg",
|
|
44
|
+
}, B = function(r) {
|
|
45
|
+
return /* @__PURE__ */ t("svg", u({
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg",
|
|
47
47
|
width: 24,
|
|
48
48
|
height: 24,
|
|
49
49
|
fill: "none",
|
|
50
50
|
viewBox: "0 0 24 24"
|
|
51
|
-
},
|
|
51
|
+
}, r, {
|
|
52
52
|
children: /* @__PURE__ */ t("path", {
|
|
53
53
|
stroke: "currentColor",
|
|
54
54
|
strokeLinecap: "round",
|
|
@@ -57,14 +57,14 @@ var L = function(n) {
|
|
|
57
57
|
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"
|
|
58
58
|
})
|
|
59
59
|
}));
|
|
60
|
-
},
|
|
61
|
-
return /* @__PURE__ */ t("svg",
|
|
60
|
+
}, J = function(r) {
|
|
61
|
+
return /* @__PURE__ */ t("svg", u({
|
|
62
62
|
xmlns: "http://www.w3.org/2000/svg",
|
|
63
63
|
width: 24,
|
|
64
64
|
height: 24,
|
|
65
65
|
fill: "none",
|
|
66
66
|
viewBox: "0 0 24 24"
|
|
67
|
-
},
|
|
67
|
+
}, r, {
|
|
68
68
|
children: /* @__PURE__ */ t("path", {
|
|
69
69
|
stroke: "currentColor",
|
|
70
70
|
strokeLinecap: "round",
|
|
@@ -73,14 +73,14 @@ var L = function(n) {
|
|
|
73
73
|
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"
|
|
74
74
|
})
|
|
75
75
|
}));
|
|
76
|
-
}, P = function(
|
|
77
|
-
return /* @__PURE__ */ t("svg",
|
|
76
|
+
}, P = function(r) {
|
|
77
|
+
return /* @__PURE__ */ t("svg", u({
|
|
78
78
|
xmlns: "http://www.w3.org/2000/svg",
|
|
79
79
|
width: 24,
|
|
80
80
|
height: 24,
|
|
81
81
|
fill: "none",
|
|
82
82
|
viewBox: "0 0 24 24"
|
|
83
|
-
},
|
|
83
|
+
}, r, {
|
|
84
84
|
children: /* @__PURE__ */ t("path", {
|
|
85
85
|
stroke: "currentColor",
|
|
86
86
|
strokeLinecap: "round",
|
|
@@ -90,23 +90,23 @@ var L = function(n) {
|
|
|
90
90
|
})
|
|
91
91
|
}));
|
|
92
92
|
};
|
|
93
|
-
const W = "
|
|
93
|
+
const W = "_header_ggk0t_17", y = "_outer_ggk0t_28", H = "_main_ggk0t_37", O = "_container_ggk0t_41", q = "_links_ggk0t_47", z = "_buttons_ggk0t_48", G = "_menu_ggk0t_53", U = "_logo_ggk0t_57", V = "_sub_ggk0t_69", $ = "_subContainer_ggk0t_73", D = "_selected_ggk0t_95", E = "_subTag_ggk0t_107", Q = "_gpt_ggk0t_140", e = {
|
|
94
94
|
header: W,
|
|
95
|
-
outer:
|
|
96
|
-
main:
|
|
97
|
-
container:
|
|
98
|
-
links:
|
|
99
|
-
buttons:
|
|
100
|
-
menu:
|
|
101
|
-
logo:
|
|
102
|
-
sub:
|
|
103
|
-
subContainer:
|
|
104
|
-
selected:
|
|
105
|
-
subTag:
|
|
106
|
-
"subTag-success": "_subTag-
|
|
107
|
-
"subTag-brand": "_subTag-
|
|
108
|
-
gpt:
|
|
109
|
-
},
|
|
95
|
+
outer: y,
|
|
96
|
+
main: H,
|
|
97
|
+
container: O,
|
|
98
|
+
links: q,
|
|
99
|
+
buttons: z,
|
|
100
|
+
menu: G,
|
|
101
|
+
logo: U,
|
|
102
|
+
sub: V,
|
|
103
|
+
subContainer: $,
|
|
104
|
+
selected: D,
|
|
105
|
+
subTag: E,
|
|
106
|
+
"subTag-success": "_subTag-success_ggk0t_112",
|
|
107
|
+
"subTag-brand": "_subTag-brand_ggk0t_116",
|
|
108
|
+
gpt: Q
|
|
109
|
+
}, R = [
|
|
110
110
|
{
|
|
111
111
|
title: "Products",
|
|
112
112
|
url: "https://highcharts.com/products/"
|
|
@@ -132,102 +132,126 @@ const W = "_header_1pbhn_17", H = "_outer_1pbhn_28", q = "_main_1pbhn_37", y = "
|
|
|
132
132
|
url: "https://www.highcharts.com/blog/"
|
|
133
133
|
}
|
|
134
134
|
];
|
|
135
|
-
function
|
|
136
|
-
return /* @__PURE__ */ t("div", { className: w(
|
|
137
|
-
({ title:
|
|
138
|
-
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
-
|
|
141
|
-
|
|
135
|
+
function A({ items: n }) {
|
|
136
|
+
return /* @__PURE__ */ t("div", { className: w(e.sub, e.outer), children: /* @__PURE__ */ t(_, { className: e.subContainer, as: "ul", children: n.map(
|
|
137
|
+
({ title: r, url: h, icon: c, tag: m, tagVariant: l = "success", link: g = "a" }, p) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ a(g, { href: h, children: [
|
|
138
|
+
c,
|
|
139
|
+
/* @__PURE__ */ a("span", { children: [
|
|
140
|
+
r,
|
|
141
|
+
m && /* @__PURE__ */ t(
|
|
142
142
|
"span",
|
|
143
143
|
{
|
|
144
144
|
className: w(
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
e.subTag,
|
|
146
|
+
e[`subTag-${l}`]
|
|
147
147
|
),
|
|
148
|
-
children:
|
|
148
|
+
children: m
|
|
149
149
|
}
|
|
150
150
|
)
|
|
151
151
|
] })
|
|
152
|
-
] }) },
|
|
152
|
+
] }) }, p)
|
|
153
153
|
) }) });
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
subItems:
|
|
157
|
-
children:
|
|
158
|
-
notifications:
|
|
155
|
+
function ot({
|
|
156
|
+
subItems: n,
|
|
157
|
+
children: r,
|
|
158
|
+
notifications: h = [],
|
|
159
159
|
// TODO: Fetch these from the internets
|
|
160
|
-
link:
|
|
160
|
+
link: c = "a"
|
|
161
161
|
}) {
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
const m = T("(min-width: 850px) and (max-width: 999 px)"), [l, g] = b([]);
|
|
163
|
+
x(() => {
|
|
164
|
+
if (h.length) {
|
|
165
|
+
const o = localStorage.getItem("notifications");
|
|
166
|
+
if (o) {
|
|
167
|
+
const i = JSON.parse(o);
|
|
168
|
+
g(
|
|
169
|
+
h.filter(
|
|
170
|
+
(s) => !s.id || !i.closed.includes(s.id)
|
|
171
|
+
)
|
|
172
|
+
);
|
|
173
|
+
} else
|
|
174
|
+
g(h);
|
|
175
|
+
}
|
|
176
|
+
}, [h]);
|
|
177
|
+
const p = (o) => {
|
|
178
|
+
g(l.filter((s) => !s.id || s.id !== o));
|
|
179
|
+
const i = localStorage.getItem("notifications");
|
|
180
|
+
if (i) {
|
|
181
|
+
const s = JSON.parse(i);
|
|
182
|
+
s.closed.includes(o) || (s.closed.push(o), localStorage.setItem("notifications", JSON.stringify(s)));
|
|
183
|
+
} else
|
|
184
|
+
localStorage.setItem(
|
|
185
|
+
"notifications",
|
|
186
|
+
JSON.stringify({
|
|
187
|
+
closed: [o]
|
|
188
|
+
})
|
|
189
|
+
);
|
|
190
|
+
};
|
|
191
|
+
return /* @__PURE__ */ t(S, { children: /* @__PURE__ */ a("header", { className: e.header, children: [
|
|
192
|
+
l == null ? void 0 : l.map(
|
|
193
|
+
({ id: o, title: i, description: s, variant: f, closable: k }, v) => /* @__PURE__ */ t(
|
|
166
194
|
M,
|
|
167
195
|
{
|
|
168
|
-
description:
|
|
169
|
-
variant:
|
|
170
|
-
closable:
|
|
171
|
-
onClose: () =>
|
|
172
|
-
|
|
173
|
-
i.filter((g) => !g.id || g.id !== h)
|
|
174
|
-
);
|
|
175
|
-
},
|
|
176
|
-
children: p
|
|
196
|
+
description: s,
|
|
197
|
+
variant: f,
|
|
198
|
+
closable: k,
|
|
199
|
+
onClose: () => p(o),
|
|
200
|
+
children: i
|
|
177
201
|
},
|
|
178
202
|
v
|
|
179
203
|
)
|
|
180
204
|
),
|
|
181
|
-
/* @__PURE__ */ t("div", { className: w(
|
|
182
|
-
/* @__PURE__ */ t(
|
|
183
|
-
/* @__PURE__ */ t("div", { className:
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
/* @__PURE__ */
|
|
186
|
-
|
|
205
|
+
/* @__PURE__ */ t("div", { className: w(e.main, e.outer), children: /* @__PURE__ */ a(_, { as: "nav", className: e.container, children: [
|
|
206
|
+
/* @__PURE__ */ t(c, { className: e.logo, href: "https://www.highcharts.com/", children: /* @__PURE__ */ t(C, { showText: !m }) }),
|
|
207
|
+
/* @__PURE__ */ t("div", { className: e.links, children: R.map(({ title: o, url: i }, s) => /* @__PURE__ */ t(d, { variant: "plain", size: 300, as: c, href: i, children: o }, s)) }),
|
|
208
|
+
/* @__PURE__ */ a("div", { className: e.buttons, children: [
|
|
209
|
+
/* @__PURE__ */ a(
|
|
210
|
+
d,
|
|
187
211
|
{
|
|
188
212
|
variant: "transparent",
|
|
189
|
-
as:
|
|
213
|
+
as: c,
|
|
190
214
|
href: "https://www.highcharts.com/chat/gpt/",
|
|
191
215
|
children: [
|
|
192
|
-
/* @__PURE__ */ t("span", { className:
|
|
193
|
-
/* @__PURE__ */ t(
|
|
216
|
+
/* @__PURE__ */ t("span", { className: e.gpt, children: "Highcharts GPT" }),
|
|
217
|
+
/* @__PURE__ */ t(B, {})
|
|
194
218
|
]
|
|
195
219
|
}
|
|
196
220
|
),
|
|
197
|
-
/* @__PURE__ */ t(
|
|
198
|
-
/* @__PURE__ */ t(
|
|
199
|
-
/* @__PURE__ */
|
|
221
|
+
/* @__PURE__ */ t(d, { variant: "transparent", children: /* @__PURE__ */ t(j, {}) }),
|
|
222
|
+
/* @__PURE__ */ t(N, {}),
|
|
223
|
+
/* @__PURE__ */ a(d, { variant: "transparent", className: e.menu, children: [
|
|
200
224
|
"Menu",
|
|
201
225
|
/* @__PURE__ */ t(L, {})
|
|
202
226
|
] }),
|
|
203
227
|
/* @__PURE__ */ t(
|
|
204
|
-
|
|
228
|
+
d,
|
|
205
229
|
{
|
|
206
230
|
variant: "brand",
|
|
207
|
-
as:
|
|
231
|
+
as: c,
|
|
208
232
|
href: "https://shop.highcharts.com/account",
|
|
209
233
|
children: /* @__PURE__ */ t(P, {})
|
|
210
234
|
}
|
|
211
235
|
),
|
|
212
|
-
/* @__PURE__ */
|
|
213
|
-
|
|
236
|
+
/* @__PURE__ */ a(
|
|
237
|
+
d,
|
|
214
238
|
{
|
|
215
239
|
variant: "success",
|
|
216
|
-
as:
|
|
240
|
+
as: c,
|
|
217
241
|
href: "https://www.highcharts.com/download/",
|
|
218
242
|
children: [
|
|
219
|
-
/* @__PURE__ */ t(
|
|
243
|
+
/* @__PURE__ */ t(J, {}),
|
|
220
244
|
"Get started"
|
|
221
245
|
]
|
|
222
246
|
}
|
|
223
247
|
)
|
|
224
248
|
] })
|
|
225
249
|
] }) }),
|
|
226
|
-
!!(
|
|
227
|
-
|
|
250
|
+
!!(n != null && n.length) && /* @__PURE__ */ t(A, { items: n }),
|
|
251
|
+
r
|
|
228
252
|
] }) });
|
|
229
253
|
}
|
|
230
254
|
export {
|
|
231
|
-
|
|
232
|
-
|
|
255
|
+
ot as Header,
|
|
256
|
+
A as SubHeader
|
|
233
257
|
};
|