highsoft-ui 1.0.67 → 1.0.68
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 +23 -23
- package/package.json +1 -1
|
@@ -2,12 +2,12 @@ import { jsx as r, jsxs as a, Fragment as O } from "react/jsx-runtime";
|
|
|
2
2
|
import * as l from "react";
|
|
3
3
|
import C, { useRef as $, useState as P, useEffect as Pt } from "react";
|
|
4
4
|
import { A as Ot } from "../../Announcement03-obPaH4LK.js";
|
|
5
|
-
import { P as D, d as St, c as Et, e as j, a as
|
|
5
|
+
import { P as D, d as St, c as Et, e as j, a as U, f as S, g as z, h as Mt, R as At, j as Rt, i as It, k as Lt, F as Gt, D as kt, l as Tt, C as jt } from "../../index-CM3YgRXK.js";
|
|
6
6
|
import { _ as G } from "../../extends-hS2Bh-Yp.js";
|
|
7
7
|
import { c as M } from "../../clsx-OuTLNxxd.js";
|
|
8
8
|
import { Button as K } from "../Button/index.js";
|
|
9
|
-
import { Container as
|
|
10
|
-
import { ThemedLogo as
|
|
9
|
+
import { Container as Ut } from "../Container/index.js";
|
|
10
|
+
import { ThemedLogo as zt } from "../Logo/index.js";
|
|
11
11
|
import { NewTag as Ft } from "../NewTag/index.js";
|
|
12
12
|
import Wt from "../icons/MadeInNorway.js";
|
|
13
13
|
import { a as J, c as Bt, v as Y } from "../../utils-C7rfowvr.js";
|
|
@@ -87,7 +87,7 @@ var Ht = function(e) {
|
|
|
87
87
|
clip: "rect(0, 0, 0, 0)",
|
|
88
88
|
whiteSpace: "nowrap",
|
|
89
89
|
wordWrap: "normal"
|
|
90
|
-
}), qt = "VisuallyHidden",
|
|
90
|
+
}), qt = "VisuallyHidden", Q = l.forwardRef(
|
|
91
91
|
(t, e) => /* @__PURE__ */ r(
|
|
92
92
|
D.span,
|
|
93
93
|
{
|
|
@@ -97,8 +97,8 @@ var Ht = function(e) {
|
|
|
97
97
|
}
|
|
98
98
|
)
|
|
99
99
|
);
|
|
100
|
-
|
|
101
|
-
var Zt =
|
|
100
|
+
Q.displayName = qt;
|
|
101
|
+
var Zt = Q, k = "Dialog", [X, yr] = Et(k), [Kt, w] = X(k), tt = (t) => {
|
|
102
102
|
const {
|
|
103
103
|
__scopeDialog: e,
|
|
104
104
|
children: o,
|
|
@@ -132,7 +132,7 @@ var Zt = X, k = "Dialog", [Q, yr] = Et(k), [Kt, w] = Q(k), tt = (t) => {
|
|
|
132
132
|
tt.displayName = k;
|
|
133
133
|
var et = "DialogTrigger", rt = l.forwardRef(
|
|
134
134
|
(t, e) => {
|
|
135
|
-
const { __scopeDialog: o, ...n } = t, i = w(et, o), s =
|
|
135
|
+
const { __scopeDialog: o, ...n } = t, i = w(et, o), s = U(e, i.triggerRef);
|
|
136
136
|
return /* @__PURE__ */ r(
|
|
137
137
|
D.button,
|
|
138
138
|
{
|
|
@@ -149,27 +149,27 @@ var et = "DialogTrigger", rt = l.forwardRef(
|
|
|
149
149
|
}
|
|
150
150
|
);
|
|
151
151
|
rt.displayName = et;
|
|
152
|
-
var F = "DialogPortal", [
|
|
152
|
+
var F = "DialogPortal", [Qt, ot] = X(F, {
|
|
153
153
|
forceMount: void 0
|
|
154
154
|
}), nt = (t) => {
|
|
155
155
|
const { __scopeDialog: e, forceMount: o, children: n, container: i } = t, s = w(F, e);
|
|
156
|
-
return /* @__PURE__ */ r(
|
|
156
|
+
return /* @__PURE__ */ r(Qt, { scope: e, forceMount: o, children: l.Children.map(n, (u) => /* @__PURE__ */ r(z, { present: o || s.open, children: /* @__PURE__ */ r(Mt, { asChild: !0, container: i, children: u }) })) });
|
|
157
157
|
};
|
|
158
158
|
nt.displayName = F;
|
|
159
159
|
var R = "DialogOverlay", st = l.forwardRef(
|
|
160
160
|
(t, e) => {
|
|
161
161
|
const o = ot(R, t.__scopeDialog), { forceMount: n = o.forceMount, ...i } = t, s = w(R, t.__scopeDialog);
|
|
162
|
-
return s.modal ? /* @__PURE__ */ r(
|
|
162
|
+
return s.modal ? /* @__PURE__ */ r(z, { present: n || s.open, children: /* @__PURE__ */ r(te, { ...i, ref: e }) }) : null;
|
|
163
163
|
}
|
|
164
164
|
);
|
|
165
165
|
st.displayName = R;
|
|
166
|
-
var
|
|
166
|
+
var Xt = Rt("DialogOverlay.RemoveScroll"), te = l.forwardRef(
|
|
167
167
|
(t, e) => {
|
|
168
168
|
const { __scopeDialog: o, ...n } = t, i = w(R, o);
|
|
169
169
|
return (
|
|
170
170
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
171
171
|
// ie. when `Overlay` and `Content` are siblings
|
|
172
|
-
/* @__PURE__ */ r(At, { as:
|
|
172
|
+
/* @__PURE__ */ r(At, { as: Xt, allowPinchZoom: !0, shards: [i.contentRef], children: /* @__PURE__ */ r(
|
|
173
173
|
D.div,
|
|
174
174
|
{
|
|
175
175
|
"data-state": B(i.open),
|
|
@@ -183,13 +183,13 @@ var Qt = Rt("DialogOverlay.RemoveScroll"), te = l.forwardRef(
|
|
|
183
183
|
), _ = "DialogContent", it = l.forwardRef(
|
|
184
184
|
(t, e) => {
|
|
185
185
|
const o = ot(_, t.__scopeDialog), { forceMount: n = o.forceMount, ...i } = t, s = w(_, t.__scopeDialog);
|
|
186
|
-
return /* @__PURE__ */ r(
|
|
186
|
+
return /* @__PURE__ */ r(z, { present: n || s.open, children: s.modal ? /* @__PURE__ */ r(ee, { ...i, ref: e }) : /* @__PURE__ */ r(re, { ...i, ref: e }) });
|
|
187
187
|
}
|
|
188
188
|
);
|
|
189
189
|
it.displayName = _;
|
|
190
190
|
var ee = l.forwardRef(
|
|
191
191
|
(t, e) => {
|
|
192
|
-
const o = w(_, t.__scopeDialog), n = l.useRef(null), i =
|
|
192
|
+
const o = w(_, t.__scopeDialog), n = l.useRef(null), i = U(e, o.contentRef, n);
|
|
193
193
|
return l.useEffect(() => {
|
|
194
194
|
const s = n.current;
|
|
195
195
|
if (s) return It(s);
|
|
@@ -237,7 +237,7 @@ var ee = l.forwardRef(
|
|
|
237
237
|
}
|
|
238
238
|
), at = l.forwardRef(
|
|
239
239
|
(t, e) => {
|
|
240
|
-
const { __scopeDialog: o, trapFocus: n, onOpenAutoFocus: i, onCloseAutoFocus: s, ...u } = t, p = w(_, o), h = l.useRef(null), f =
|
|
240
|
+
const { __scopeDialog: o, trapFocus: n, onOpenAutoFocus: i, onCloseAutoFocus: s, ...u } = t, p = w(_, o), h = l.useRef(null), f = U(e, h);
|
|
241
241
|
return Lt(), /* @__PURE__ */ a(O, { children: [
|
|
242
242
|
/* @__PURE__ */ r(
|
|
243
243
|
Gt,
|
|
@@ -451,7 +451,7 @@ function vt(t) {
|
|
|
451
451
|
function De(t) {
|
|
452
452
|
return y({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z" }, child: [] }] })(t);
|
|
453
453
|
}
|
|
454
|
-
const Ne = "wUsx_G_bottom", Pe = "wUsx_G_bottomLinks", Oe = "wUsx_G_discord", Se = "wUsx_G_discordAvatars", Ee = "wUsx_G_discordAvatarStatus", Me = "wUsx_G_discordContent", Ae = "wUsx_G_discordJoin", Re = "wUsx_G_discordMembers", Ie = "wUsx_G_discordPlus", Le = "wUsx_G_error", Ge = "wUsx_G_footer", ke = "wUsx_G_help", Te = "wUsx_G_helpBall", je = "wUsx_G_helpContent",
|
|
454
|
+
const Ne = "wUsx_G_bottom", Pe = "wUsx_G_bottomLinks", Oe = "wUsx_G_discord", Se = "wUsx_G_discordAvatars", Ee = "wUsx_G_discordAvatarStatus", Me = "wUsx_G_discordContent", Ae = "wUsx_G_discordJoin", Re = "wUsx_G_discordMembers", Ie = "wUsx_G_discordPlus", Le = "wUsx_G_error", Ge = "wUsx_G_footer", ke = "wUsx_G_help", Te = "wUsx_G_helpBall", je = "wUsx_G_helpContent", Ue = "wUsx_G_helpItem", ze = "wUsx_G_helpWays", Fe = "wUsx_G_highcharts", We = "wUsx_G_links", Be = "wUsx_G_logo", He = "wUsx_G_newsletter", Ve = "wUsx_G_newsletterContent", $e = "wUsx_G_newsletterError", Je = "wUsx_G_norway", Ye = "wUsx_G_notCharts", qe = "wUsx_G_online", Ze = "wUsx_G_socials", Ke = "wUsx_G_success", Qe = "wUsx_G_tabletBottomLeft", Xe = "wUsx_G_tagged", tr = "wUsx_G_top", er = "wUsx_G_youtube", rr = "wUsx_G_youtubeContent", or = "wUsx_G_youtubeOverlay", c = {
|
|
455
455
|
bottom: Ne,
|
|
456
456
|
bottomLinks: Pe,
|
|
457
457
|
discord: Oe,
|
|
@@ -466,8 +466,8 @@ const Ne = "wUsx_G_bottom", Pe = "wUsx_G_bottomLinks", Oe = "wUsx_G_discord", Se
|
|
|
466
466
|
help: ke,
|
|
467
467
|
helpBall: Te,
|
|
468
468
|
helpContent: je,
|
|
469
|
-
helpItem:
|
|
470
|
-
helpWays:
|
|
469
|
+
helpItem: Ue,
|
|
470
|
+
helpWays: ze,
|
|
471
471
|
highcharts: Fe,
|
|
472
472
|
links: We,
|
|
473
473
|
logo: Be,
|
|
@@ -479,8 +479,8 @@ const Ne = "wUsx_G_bottom", Pe = "wUsx_G_bottomLinks", Oe = "wUsx_G_discord", Se
|
|
|
479
479
|
online: qe,
|
|
480
480
|
socials: Ze,
|
|
481
481
|
success: Ke,
|
|
482
|
-
tabletBottomLeft:
|
|
483
|
-
tagged:
|
|
482
|
+
tabletBottomLeft: Qe,
|
|
483
|
+
tagged: Xe,
|
|
484
484
|
top: tr,
|
|
485
485
|
youtube: er,
|
|
486
486
|
youtubeContent: rr,
|
|
@@ -869,7 +869,7 @@ function _r({
|
|
|
869
869
|
/* @__PURE__ */ r(t, { href: "#", children: "Sitemap" })
|
|
870
870
|
] })
|
|
871
871
|
] }), V = /* @__PURE__ */ r("ul", { className: c.socials, children: ir.map(({ icon: g, url: d, label: m }, v) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r("a", { href: d, "aria-label": m, children: g }) }, v)) });
|
|
872
|
-
return /* @__PURE__ */ a(
|
|
872
|
+
return /* @__PURE__ */ a(Ut, { as: "footer", className: c.footer, children: [
|
|
873
873
|
/* @__PURE__ */ a("div", { className: c.top, children: [
|
|
874
874
|
/* @__PURE__ */ a("div", { className: c.highcharts, children: [
|
|
875
875
|
/* @__PURE__ */ r(
|
|
@@ -877,7 +877,7 @@ function _r({
|
|
|
877
877
|
{
|
|
878
878
|
className: c.logo,
|
|
879
879
|
href: A("https://www.highcharts.com/", e),
|
|
880
|
-
children: /* @__PURE__ */ r(
|
|
880
|
+
children: /* @__PURE__ */ r(zt, {})
|
|
881
881
|
}
|
|
882
882
|
),
|
|
883
883
|
/* @__PURE__ */ r("p", { children: "We make it easy for developers to create charts and dashboards for web and mobile platforms." }),
|
|
@@ -902,7 +902,7 @@ function _r({
|
|
|
902
902
|
{
|
|
903
903
|
width: "100%",
|
|
904
904
|
height: "100%",
|
|
905
|
-
src: "https://
|
|
905
|
+
src: "https://player.vimeo.com/video/955924808?autoplay=1",
|
|
906
906
|
allow: "autoplay",
|
|
907
907
|
allowFullScreen: !0
|
|
908
908
|
}
|