highsoft-ui 1.0.81 → 1.0.83
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/Footer/index.js +19 -13
- package/dist/components/Header/index.d.ts +2 -2
- package/dist/components/Header/index.js +205 -200
- package/dist/components/Logo/index.d.ts +1 -2
- package/dist/components/Logo/index.js +30 -27
- package/dist/components/PrefPanel/index.js +1 -1
- package/dist/highsoft-ui.css +1 -1
- package/dist/main.js +1 -1
- package/dist/{utils-C7rfowvr.js → utils-CT0G9Gzw.js} +44 -43
- package/dist/utils.js +1 -1
- package/package.json +1 -1
|
@@ -5,5 +5,4 @@ export interface LogoProps extends SVGProps<SVGSVGElement> {
|
|
|
5
5
|
light?: boolean;
|
|
6
6
|
withLink?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare function Logo({ title, light, showText, withLink, ...props }: LogoProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const ThemedLogo: (props: LogoProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function Logo({ title, light, showText, withLink, className, ...props }: LogoProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
const n = "xkIiMq_logo", p = {
|
|
4
|
+
logo: n
|
|
5
|
+
};
|
|
6
|
+
function a({
|
|
7
|
+
title: r = "Highcharts",
|
|
8
|
+
light: c,
|
|
6
9
|
showText: s = !0,
|
|
7
10
|
withLink: f = !1,
|
|
8
|
-
|
|
11
|
+
className: e,
|
|
12
|
+
...h
|
|
9
13
|
}) {
|
|
10
|
-
const
|
|
14
|
+
const o = c === void 0 ? "currentColor" : c ? "#18171c" : "#f7f7f8", l = /* @__PURE__ */ i(
|
|
11
15
|
"svg",
|
|
12
16
|
{
|
|
13
17
|
version: "1.1",
|
|
@@ -20,10 +24,11 @@ function d({
|
|
|
20
24
|
y: "0px",
|
|
21
25
|
viewBox: s ? "10 10 384 65" : "10 10 69 65",
|
|
22
26
|
xmlSpace: "preserve",
|
|
23
|
-
|
|
27
|
+
className: d(p.logo, e),
|
|
28
|
+
...h,
|
|
24
29
|
children: [
|
|
25
|
-
/* @__PURE__ */ t("title", { id: "logo-highcharts-title", children:
|
|
26
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ t("title", { id: "logo-highcharts-title", children: r }),
|
|
31
|
+
/* @__PURE__ */ i("g", { id: "symbol", transform: "translate(10, 10) scale(1)", children: [
|
|
27
32
|
/* @__PURE__ */ t(
|
|
28
33
|
"polygon",
|
|
29
34
|
{
|
|
@@ -109,7 +114,7 @@ function d({
|
|
|
109
114
|
}
|
|
110
115
|
)
|
|
111
116
|
] }),
|
|
112
|
-
s && /* @__PURE__ */
|
|
117
|
+
s && /* @__PURE__ */ i(
|
|
113
118
|
"g",
|
|
114
119
|
{
|
|
115
120
|
id: "text-highcharts",
|
|
@@ -118,7 +123,7 @@ function d({
|
|
|
118
123
|
/* @__PURE__ */ t(
|
|
119
124
|
"path",
|
|
120
125
|
{
|
|
121
|
-
fill:
|
|
126
|
+
fill: o,
|
|
122
127
|
d: "M20.7189956665039,14.058000671386722 h-17.02 v9.77 c0,1.037 -0.8130000000000002,1.851 -1.8490000000000002,1.851 c-1.037,0 -1.85,-0.8130000000000002 -1.85,-1.851 V2.07100067138672 c0,-1.037 0.8130000000000002,-1.852 1.85,-1.852 c1.036,0 1.8490000000000002,0.8130000000000002 1.8490000000000002,1.852 v8.436 h17.02 v-8.436 c0,-1.037 0.8140000000000002,-1.852 1.85,-1.852 c1.036,0 1.85,0.8130000000000002 1.85,1.852 v21.754 c0,1.037 -0.8140000000000002,1.851 -1.85,1.851 c-1.036,0 -1.85,-0.8130000000000002 -1.85,-1.851 V14.058000671386722 z",
|
|
123
128
|
id: "svg_2",
|
|
124
129
|
strokeWidth: "0px",
|
|
@@ -128,7 +133,7 @@ function d({
|
|
|
128
133
|
/* @__PURE__ */ t(
|
|
129
134
|
"path",
|
|
130
135
|
{
|
|
131
|
-
fill:
|
|
136
|
+
fill: o,
|
|
132
137
|
d: "M39.21699566650392,23.825000671386718 c0,1.037 -0.8140000000000002,1.851 -1.852,1.851 s-1.852,-0.8130000000000002 -1.852,-1.851 V2.07100067138672 c0,-1.037 0.8140000000000002,-1.852 1.852,-1.852 s1.852,0.8130000000000002 1.852,1.852 V23.825000671386718 z",
|
|
133
138
|
id: "svg_3",
|
|
134
139
|
strokeWidth: "0px",
|
|
@@ -138,7 +143,7 @@ function d({
|
|
|
138
143
|
/* @__PURE__ */ t(
|
|
139
144
|
"path",
|
|
140
145
|
{
|
|
141
|
-
fill:
|
|
146
|
+
fill: o,
|
|
142
147
|
d: "M66.3689956665039,14.724000671386719 c0,-1.036 0.8140000000000002,-1.774 1.852,-1.774 c1.034,0 1.852,0.8130000000000002 1.852,1.8490000000000002 v5.847 c0,0.4440000000000001 -0.22600000000000006,1.109 -0.5950000000000002,1.479 c-2.367,2.369 -5.549,3.773 -9.176,3.773 c-7.178,0 -12.949,-5.771 -12.949,-12.948 c0,-7.181 5.771,-12.949 12.949,-12.949 c3.6270000000000002,0 6.809,1.405 9.176,3.771 c0.7380000000000002,0.7400000000000002 0.7380000000000002,1.852 0,2.592 c-0.7410000000000002,0.7380000000000002 -1.9220000000000002,0.8130000000000002 -2.6630000000000003,0.07200000000000002 c-1.702,-1.6990000000000005 -3.923,-2.736 -6.513,-2.736 c-5.104,0 -9.249,4.144 -9.249,9.25 c0,5.104 4.146,9.25 9.249,9.25 c2.367,0 4.441,-0.8130000000000002 6.067,-2.222 V14.724000671386719 z",
|
|
143
148
|
id: "svg_4",
|
|
144
149
|
strokeWidth: "0px",
|
|
@@ -148,7 +153,7 @@ function d({
|
|
|
148
153
|
/* @__PURE__ */ t(
|
|
149
154
|
"path",
|
|
150
155
|
{
|
|
151
|
-
fill:
|
|
156
|
+
fill: o,
|
|
152
157
|
d: "M100.40599566650391,14.058000671386722 h-17.019 v9.77 c0,1.037 -0.8170000000000002,1.851 -1.852,1.851 c-1.037,0 -1.8490000000000002,-0.8130000000000002 -1.8490000000000002,-1.851 V2.07100067138672 c0,-1.037 0.812,-1.852 1.8490000000000002,-1.852 c1.034,0 1.852,0.8130000000000002 1.852,1.852 v8.436 h17.019 v-8.436 c0,-1.037 0.8130000000000002,-1.852 1.8490000000000002,-1.852 c1.037,0 1.852,0.8130000000000002 1.852,1.852 v21.754 c0,1.037 -0.8130000000000002,1.851 -1.852,1.851 c-1.033,0 -1.8490000000000002,-0.8130000000000002 -1.8490000000000002,-1.851 V14.058000671386722 z",
|
|
153
158
|
id: "svg_5",
|
|
154
159
|
strokeWidth: "0px",
|
|
@@ -158,7 +163,7 @@ function d({
|
|
|
158
163
|
/* @__PURE__ */ t(
|
|
159
164
|
"path",
|
|
160
165
|
{
|
|
161
|
-
fill:
|
|
166
|
+
fill: o,
|
|
162
167
|
d: "M125.19199566650391,25.898000671386725 c-7.182,0 -12.949,-5.771 -12.949,-12.948 c0,-7.181 5.77,-12.949 12.949,-12.949 c3.6270000000000002,0 6.809,1.405 9.176,3.771 c0.7380000000000002,0.7400000000000002 0.7380000000000002,1.852 0,2.592 c-0.7410000000000002,0.7380000000000002 -1.925,0.8130000000000002 -2.6660000000000004,0.07200000000000002 c-1.6990000000000005,-1.6990000000000005 -3.92,-2.736 -6.51,-2.736 c-5.106,0 -9.249,4.144 -9.249,9.25 c0,5.104 4.143,9.25 9.249,9.25 c2.59,0 4.884,-0.9620000000000002 6.586,-2.664 c0.7400000000000002,-0.7410000000000002 1.8490000000000002,-0.7410000000000002 2.59,0 c0.7380000000000002,0.7380000000000002 0.7380000000000002,1.85 0,2.589 C131.9999956665039,24.49200067138672 128.81799566650392,25.898000671386725 125.19199566650391,25.898000671386725 z",
|
|
163
168
|
id: "svg_6",
|
|
164
169
|
strokeWidth: "0px",
|
|
@@ -168,7 +173,7 @@ function d({
|
|
|
168
173
|
/* @__PURE__ */ t(
|
|
169
174
|
"path",
|
|
170
175
|
{
|
|
171
|
-
fill:
|
|
176
|
+
fill: o,
|
|
172
177
|
d: "M163.81299566650392,14.058000671386722 h-17.02 v9.77 c0,1.037 -0.8130000000000002,1.851 -1.852,1.851 c-1.034,0 -1.85,-0.8130000000000002 -1.85,-1.851 V2.07100067138672 c0,-1.037 0.8130000000000002,-1.852 1.85,-1.852 c1.035,0 1.852,0.8130000000000002 1.852,1.852 v8.436 h17.02 v-8.436 c0,-1.037 0.8130000000000002,-1.852 1.8530000000000002,-1.852 c1.034,0 1.8490000000000002,0.8130000000000002 1.8490000000000002,1.852 v21.754 c0,1.037 -0.8130000000000002,1.851 -1.8490000000000002,1.851 c-1.037,0 -1.8530000000000002,-0.8130000000000002 -1.8530000000000002,-1.851 V14.058000671386722 z",
|
|
173
178
|
id: "svg_7",
|
|
174
179
|
strokeWidth: "0px",
|
|
@@ -178,7 +183,7 @@ function d({
|
|
|
178
183
|
/* @__PURE__ */ t(
|
|
179
184
|
"path",
|
|
180
185
|
{
|
|
181
|
-
fill:
|
|
186
|
+
fill: o,
|
|
182
187
|
d: "M191.0019956665039,1.8490006713867189 l10.507,20.646 c0.22300000000000006,0.4430000000000001 0.4450000000000001,1.036 0.4450000000000001,1.554 c0,1.036 -0.6680000000000003,1.6280000000000001 -1.702,1.6280000000000001 c-0.7410000000000002,0 -1.481,-0.22200000000000006 -2.001,-1.258 l-3.253,-6.438 h-13.547 l-3.183,6.438 c-0.517,1.036 -1.256,1.258 -1.994,1.258 c-1.037,0 -1.702,-0.5930000000000002 -1.702,-1.6280000000000001 c0,-0.519 0.22000000000000006,-1.109 0.4420000000000001,-1.554 l10.506,-20.646 c0.6680000000000003,-1.405 2.002,-1.6280000000000001 2.74,-1.6280000000000001 C189.0039956665039,0.22100067138671875 190.33399566650388,0.4420006713867153 191.0019956665039,1.8490006713867189 zM183.22899566650392,14.429000671386717 h9.988 l-4.957,-9.99 L183.22899566650392,14.429000671386717 z",
|
|
183
188
|
id: "svg_8",
|
|
184
189
|
strokeWidth: "0px",
|
|
@@ -188,7 +193,7 @@ function d({
|
|
|
188
193
|
/* @__PURE__ */ t(
|
|
189
194
|
"path",
|
|
190
195
|
{
|
|
191
|
-
fill:
|
|
196
|
+
fill: o,
|
|
192
197
|
d: "M222.4029956665039,0.369000671386722 c4.441,0 8.064,3.255 8.064,7.694 c0,3.923 -2.813,6.884 -6.511,7.549 l6.731,7.104 c0.6640000000000003,0.6660000000000003 0.8890000000000002,1.85 0.14600000000000005,2.516 c-0.7360000000000002,0.7410000000000002 -2.145,0.521 -2.886,-0.2960000000000001 l-8.729,-9.176 h-6.511 v8.142 c0,1.034 -0.8150000000000002,1.774 -1.854,1.774 c-1.033,0 -1.85,-0.8130000000000002 -1.85,-1.851 V2.2190006713867163 c0,-1.035 0.8140000000000002,-1.85 1.85,-1.85 H222.4029956665039 zM212.71199566650392,3.9210006713867216 v8.288 h9.691 c2.59,0 4.367,-1.776 4.367,-4.146 c0,-2.365 -1.7770000000000001,-4.144 -4.367,-4.144 L212.71199566650392,3.9210006713867216 L212.71199566650392,3.9210006713867216 z",
|
|
193
198
|
id: "svg_9",
|
|
194
199
|
strokeWidth: "0px",
|
|
@@ -198,7 +203,7 @@ function d({
|
|
|
198
203
|
/* @__PURE__ */ t(
|
|
199
204
|
"path",
|
|
200
205
|
{
|
|
201
|
-
fill:
|
|
206
|
+
fill: o,
|
|
202
207
|
d: "M247.29099566650393,3.9210006713867216 h-9.249 c-1.033,0 -1.8490000000000002,-0.7400000000000002 -1.8490000000000002,-1.776 c0,-1.034 0.8130000000000002,-1.7730000000000001 1.8490000000000002,-1.7730000000000001 h22.201 c1.037,0 1.852,0.7400000000000002 1.852,1.7730000000000001 c0,1.037 -0.8130000000000002,1.776 -1.852,1.776 h-9.249 V23.826000671386723 c0,1.037 -0.8130000000000002,1.851 -1.8490000000000002,1.851 c-1.037,0 -1.854,-0.8130000000000002 -1.854,-1.851 V3.9210006713867216 z",
|
|
203
208
|
id: "svg_10",
|
|
204
209
|
strokeWidth: "0px",
|
|
@@ -208,14 +213,14 @@ function d({
|
|
|
208
213
|
/* @__PURE__ */ t(
|
|
209
214
|
"path",
|
|
210
215
|
{
|
|
211
|
-
fill:
|
|
216
|
+
fill: o,
|
|
212
217
|
d: "M270.9679956665039,10.359000671386724 c0,-9.25 5.698,-10.359 9.99,-10.359 c1.035,0 1.85,0.8130000000000002 1.85,1.85 c0,1.036 -0.8130000000000002,1.851 -1.85,1.851 c-3.479,0 -6.29,0.7380000000000002 -6.29,6.66 v5.18 c0,9.25 -5.698,10.358 -9.989,10.358 c-1.035,0 -1.85,-0.8130000000000002 -1.85,-1.85 s0.8140000000000002,-1.85 1.85,-1.85 c3.479,0 6.289,-0.7400000000000002 6.289,-6.66 V10.359000671386724 z",
|
|
213
218
|
id: "svg_11",
|
|
214
219
|
strokeWidth: "0px",
|
|
215
220
|
stroke: "#f0f0f0"
|
|
216
221
|
}
|
|
217
222
|
),
|
|
218
|
-
/* @__PURE__ */
|
|
223
|
+
/* @__PURE__ */ i("g", { transform: "translate(280, 20) scale(0.03)", children: [
|
|
219
224
|
/* @__PURE__ */ t(
|
|
220
225
|
"circle",
|
|
221
226
|
{
|
|
@@ -223,7 +228,7 @@ function d({
|
|
|
223
228
|
cy: "100",
|
|
224
229
|
r: "88.5",
|
|
225
230
|
fill: "none",
|
|
226
|
-
stroke:
|
|
231
|
+
stroke: o,
|
|
227
232
|
strokeWidth: "20"
|
|
228
233
|
}
|
|
229
234
|
),
|
|
@@ -233,7 +238,7 @@ function d({
|
|
|
233
238
|
d: "M94.6 92C100.1 92 104.1 90.9 106.5 88.8C108.9 86.8 110.2 83.4 110.2 78.6C110.2 73.9 108.9 70.6 106.5 68.5C104.1 66.5 100.1 65.5 94.6 65.5L83.4 65.5L83.4 92L94.6 92M83.4 110.3L83.4 149.3L56.8 149.3L56.8 46.2L97.4 46.2C111 46.2 120.9 48.5 127.2 53.1C133.6 57.6 136.7 64.8 136.7 74.7C136.7 81.5 135.1 87.1 131.8 91.5C128.5 95.8 123.6 99.1 116.9 101.1C120.6 102 123.8 103.9 126.7 106.8C129.6 109.7 132.5 114.1 135.4 120.1L149.9 149.3L121.6 149.3L109 123.7C106.5 118.6 103.9 115 101.3 113.2C98.7 111.3 95.2 110.3 90.9 110.3L83.4 110.3",
|
|
234
239
|
strokeWidth: "0px",
|
|
235
240
|
stroke: "#f0f0f0",
|
|
236
|
-
fill:
|
|
241
|
+
fill: o
|
|
237
242
|
}
|
|
238
243
|
)
|
|
239
244
|
] })
|
|
@@ -245,8 +250,6 @@ function d({
|
|
|
245
250
|
);
|
|
246
251
|
return f ? /* @__PURE__ */ t("a", { href: "https://www.highcharts.com", children: l }) : l;
|
|
247
252
|
}
|
|
248
|
-
const k = (o) => /* @__PURE__ */ t(d, { light: h() === "light", ...o });
|
|
249
253
|
export {
|
|
250
|
-
|
|
251
|
-
k as ThemedLogo
|
|
254
|
+
a as Logo
|
|
252
255
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as w, jsxs as q, Fragment as ne } from "react/jsx-runtime";
|
|
2
|
-
import { z as Qe, b as qe } from "../../utils-
|
|
2
|
+
import { z as Qe, b as qe } from "../../utils-CT0G9Gzw.js";
|
|
3
3
|
import * as g from "react";
|
|
4
4
|
import { useLayoutEffect as Ge } from "react";
|
|
5
5
|
import { C as Ue } from "../../Check-Cm4roSEj.js";
|