highsoft-ui 1.0.166 → 1.0.167
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/CLAUDE.md +41 -0
- package/dist/{BrowserFrame-BWKH-jYq.js → BrowserFrame-BMEB82QL.js} +2 -2
- package/dist/{Button-Ckhn8DSF.js → Button-CdrrwvXk.js} +1 -1
- package/dist/{ButtonGroup-DJ9-E38n.js → ButtonGroup-BLkws_1r.js} +1 -1
- package/dist/{Checkbox-D1mlWTmw.js → Checkbox-CANbP6f1.js} +1 -1
- package/dist/{CodeBlock-C2W0T4RT.js → CodeBlock-uC58F4a0.js} +4 -4
- package/dist/{CookiePolicyModal-CPNTKMHc.js → CookiePolicyModal-BzwB-YHV.js} +2 -2
- package/dist/{CopyCode-BOehQAZN.js → CopyCode-DxxkY2kc.js} +2 -2
- package/dist/{Dropdown-Cjl8RQ5Y.js → Dropdown-QsYaDPOC.js} +1 -1
- package/dist/{Footer-DLMNyBXC.js → Footer-HsmWZqYI.js} +7 -7
- package/dist/{FooterBottom-ZK9F7wLx.js → FooterBottom-DAe43eoh.js} +2 -2
- package/dist/{FooterHelp-Csfq-quf.js → FooterHelp-BB1s4wdX.js} +2 -2
- package/dist/{FooterLinks-CGoBeReu.js → FooterLinks-CCW29MM7.js} +3 -3
- package/dist/{Header-Pe6siDNx.js → Header-CrLwXLXJ.js} +24 -24
- package/dist/{InputGrouped-BLtnqxWc.js → InputGrouped-vToXKD3G.js} +2 -2
- package/dist/{Label-KDdBAgyD.js → Label-B-Xt6XQQ.js} +1 -1
- package/dist/List-DjnBw3VY.js +80 -0
- package/dist/{LogoCarousel-CJShpLJo.js → LogoCarousel-BF0C-ZTk.js} +2 -2
- package/dist/{NewsletterSignup-g8wPQ7NZ.js → NewsletterSignup-BTSzt793.js} +5 -5
- package/dist/{Notification-DQostuW6.js → Notification-Bb5gAUtp.js} +3 -3
- package/dist/{PrefPanel-Cf-xZ261.js → PrefPanel-PUo4GkIF.js} +2 -2
- package/dist/{PrevNextNav-Cd6_IdPd.js → PrevNextNav-XaxS2FTm.js} +1 -1
- package/dist/{RoadmapDetails-DMrLLty1.js → RoadmapDetails-BeOcvtZS.js} +3 -3
- package/dist/{Search-Cy79c2sN.js → Search-BeOH4XUH.js} +5 -5
- package/dist/{SearchDropdown-BA7CPuRf.js → SearchDropdown-LvkKAoM9.js} +1 -1
- package/dist/{Tabs-BuDaPqdN.js → Tabs-B3LZUm4Q.js} +1 -1
- package/dist/{Typography-AvvBRu-u.js → Typography-DI1AkqiO.js} +1 -1
- package/dist/{VideoCover-DlhRqr4Q.js → VideoCover-BSDxeqcs.js} +2 -2
- package/dist/{VideoPlayer-De_ejf8u.js → VideoPlayer-BpvOHF5Z.js} +6 -6
- package/dist/{VideoPlayerModal-DNUIn0jM.js → VideoPlayerModal-CUfLw2MK.js} +2 -2
- package/dist/{YoutubeModal-D_pHHwxa.js → YoutubeModal-3pu-Gx0q.js} +2 -2
- package/dist/components/BrowserFrame/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CodeBlock/index.js +1 -1
- package/dist/components/CopyCode/index.js +1 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/Footer/CookiePolicyModal.js +1 -1
- package/dist/components/Footer/FooterBottom.js +1 -1
- package/dist/components/Footer/FooterHelp.js +1 -1
- package/dist/components/Footer/FooterLinks.js +1 -1
- package/dist/components/Footer/YoutubeModal.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/components/InputGrouped/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/List/index.js +2 -0
- package/dist/components/LogoCarousel/index.js +1 -1
- package/dist/components/Modal/ModalContactFooter.js +3 -3
- package/dist/components/Modal/index.js +3 -3
- package/dist/components/NewsletterSignup/index.js +1 -1
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +1 -1
- package/dist/components/PrevNextNav/index.js +1 -1
- package/dist/components/RoadmapDetails/index.js +1 -1
- package/dist/components/Search/index.js +1 -1
- package/dist/components/SearchDropdown/index.js +1 -1
- package/dist/components/Sidebar/NavDisclosure.js +1 -1
- package/dist/components/Sidebar/NavGroup.js +1 -1
- package/dist/components/Sidebar/Sidebar.js +3 -3
- package/dist/components/Sidebar/SidebarLayout.js +2 -2
- package/dist/components/Sidebar/SidebarSwitcher.js +1 -1
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Typography/index.js +2 -2
- package/dist/components/VideoCover/index.js +1 -1
- package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
- package/dist/components/VideoPlayer/index.js +1 -1
- package/dist/{create-element-BNkLOXrc.js → create-element-DvDqDt-f.js} +1 -1
- package/dist/{esm-u0DqOC56.js → esm-zUd-Cmgs.js} +73 -59
- package/dist/highsoft-ui.css +1 -1
- package/dist/lib/components/List/index.d.ts +35 -0
- package/dist/lib/components/Typography/index.d.ts +1 -0
- package/dist/lib/main.d.ts +2 -0
- package/dist/main.js +39 -38
- package/dist/{prism-light-CAkriFcS.js → prism-light-oph9ikSp.js} +1 -1
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -239,6 +239,41 @@ const viewItems: ButtonGroupItem[] = [
|
|
|
239
239
|
- **Sizes:** `50`, `75`, `100`, `200`, `300`, `400`, `500`, `600`, `700`, `800`, `900`, `1000`
|
|
240
240
|
- **Weights:** `"normal"`, `"medium"`, `"semi"`
|
|
241
241
|
|
|
242
|
+
### List
|
|
243
|
+
Bulleted or numbered list at the body-text sizes. Bullets are icons rendered through `Icon`; numbers are plain decimals.
|
|
244
|
+
```tsx
|
|
245
|
+
import { ShoppingCart01, Check, XClose } from '@untitled-ui/icons-react'
|
|
246
|
+
|
|
247
|
+
<List>
|
|
248
|
+
<ListItem>Internal applications</ListItem>
|
|
249
|
+
<ListItem>Public websites</ListItem>
|
|
250
|
+
</List>
|
|
251
|
+
|
|
252
|
+
// Brand-tinted icon marker, primary text — the plan-card pattern
|
|
253
|
+
<List icon={ShoppingCart01} iconColor="brandAlt" size={200}>…</List>
|
|
254
|
+
|
|
255
|
+
// Numbered, continuing from 4
|
|
256
|
+
<List variant="number" size={100} start={4}>…</List>
|
|
257
|
+
|
|
258
|
+
// Per-item marker: a checklist
|
|
259
|
+
<List icon={Check} iconColor="successPrimary">
|
|
260
|
+
<ListItem>Commercial use</ListItem>
|
|
261
|
+
<ListItem icon={XClose} iconColor="tertiary">Source access (not included)</ListItem>
|
|
262
|
+
</List>
|
|
263
|
+
```
|
|
264
|
+
- **`variant`:** `bullet` (default) renders a `<ul>` with an icon marker; `number` renders an `<ol>` with decimal numerals. Numbers are the only ordered style — no letters, roman numerals or symbols.
|
|
265
|
+
- **`size`:** `50`, `75`, `100`, `200` (default), `300` — the typography sizes. The marker follows: a 16px icon at 300/200, 12px at 100/75/50; the numeral column is 20/16/12px wide, right-aligned, medium weight.
|
|
266
|
+
- **`icon`:** the bullet, an `@untitled-ui/icons-react` component (default `ArrowRight`). `ListItem` takes its own `icon` to override one row.
|
|
267
|
+
- **`color`:** text color, a `TypographyColor` (default `primary`). **`iconColor`:** marker color — the icon or the numeral — defaults to `color`, so a list is one tone unless you say otherwise; `ListItem` `iconColor` overrides one row.
|
|
268
|
+
- **`start`:** first number of a `number` list.
|
|
269
|
+
- Rows have a 10px gap between marker and text and 4px block padding; a wrapping item keeps its marker beside the first line.
|
|
270
|
+
- **No nesting.** Indented sub-lists are not part of the design and get no styling — flatten the content, or use consecutive lists under headings.
|
|
271
|
+
|
|
272
|
+
**Accessibility:**
|
|
273
|
+
- A real `<ul>`/`<ol>` of `<li>`s with an explicit `role="list"`: the markers are custom-drawn (`list-style: none`), and Safari/VoiceOver drops list semantics from an unstyled list without the role. AT announces "list, 3 items" and, for `number`, each item's position.
|
|
274
|
+
- The icon marker is `aria-hidden` and the numeral is a CSS counter, so neither is read as content — the ordinal comes from the `<ol>` itself. Don't put meaning in the icon alone: a check/cross per row needs the words to say included or not.
|
|
275
|
+
- Colors are `--HS-text-*` tokens at body-text contrast and remap in dark mode. Nothing is interactive or focusable, and nothing animates, so there is no keyboard, focus or reduced-motion behaviour to account for.
|
|
276
|
+
|
|
242
277
|
### Link
|
|
243
278
|
```tsx
|
|
244
279
|
<Link href="/page">Default link</Link>
|
|
@@ -964,6 +999,12 @@ All components use the same `iconLeft` / `iconRight` naming:
|
|
|
964
999
|
- **Do** use `danger` only for destructive actions (delete, remove, revoke)
|
|
965
1000
|
- **Don't** use `danger` for "Cancel" or "Go back" — use `neutral` or `transparent`
|
|
966
1001
|
|
|
1002
|
+
### List
|
|
1003
|
+
- **Do** keep text `primary` and put the accent on the marker with `iconColor`
|
|
1004
|
+
- **Don't** nest a `List` inside a `ListItem` — indents aren't supported
|
|
1005
|
+
- **Do** pass an icon component to `icon` for a custom bullet
|
|
1006
|
+
- **Don't** write bullets or numbers into the item text (`•`, `1.`) — the component draws them
|
|
1007
|
+
|
|
967
1008
|
### Label
|
|
968
1009
|
- **Do** use `iconLeft={false}` for plain text labels like version numbers
|
|
969
1010
|
- **Don't** use Label for long text — it's designed for short status/category tags
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import { G as t, L as n, R as r, k as i } from "./esm-
|
|
3
|
-
import { t as a } from "./Button-
|
|
2
|
+
import { G as t, L as n, R as r, k as i } from "./esm-zUd-Cmgs.js";
|
|
3
|
+
import { t as a } from "./Button-CdrrwvXk.js";
|
|
4
4
|
import { forwardRef as o, useCallback as s, useEffect as c, useRef as l, useState as u } from "react";
|
|
5
5
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
6
6
|
var p = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import { P as t } from "./esm-
|
|
2
|
+
import { P as t } from "./esm-zUd-Cmgs.js";
|
|
3
3
|
import { createContext as n, useCallback as r, useContext as i, useEffect as a, useId as o, useRef as s, useState as c } from "react";
|
|
4
4
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
5
5
|
var d = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e, s as t } from "./utils-K9S_6_Eq.js";
|
|
2
2
|
import { t as n } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import { q as r, tt as i } from "./esm-
|
|
4
|
-
import { t as a } from "./Button-
|
|
3
|
+
import { q as r, tt as i } from "./esm-zUd-Cmgs.js";
|
|
4
|
+
import { t as a } from "./Button-CdrrwvXk.js";
|
|
5
5
|
import { t as o } from "./FrameworkIcon-B8GmMx0r.js";
|
|
6
6
|
import { Fragment as s, forwardRef as c, useCallback as l, useEffect as u, useMemo as d, useState as f } from "react";
|
|
7
7
|
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -22,8 +22,8 @@ var h = {
|
|
|
22
22
|
}, g = null;
|
|
23
23
|
function _() {
|
|
24
24
|
return g ||= Promise.all([
|
|
25
|
-
import("./prism-light-
|
|
26
|
-
import("./create-element-
|
|
25
|
+
import("./prism-light-oph9ikSp.js"),
|
|
26
|
+
import("./create-element-DvDqDt-f.js").then((e) => e.n),
|
|
27
27
|
import("./jsx-B57trbk8.js"),
|
|
28
28
|
import("./tsx-CJFgwLf7.js"),
|
|
29
29
|
import("./json-Bfzk2Msc.js"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./esm-
|
|
2
|
-
import { t } from "./Button-
|
|
1
|
+
import { t as e } from "./esm-zUd-Cmgs.js";
|
|
2
|
+
import { t } from "./Button-CdrrwvXk.js";
|
|
3
3
|
import { a as n, i as r, n as i, o as a, r as o, s, t as c } from "./dist-f0z6DapB.js";
|
|
4
4
|
import { useEffect as l, useRef as u, useState as d } from "react";
|
|
5
5
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e, s as t } from "./utils-K9S_6_Eq.js";
|
|
2
2
|
import { t as n } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import { q as r, tt as i } from "./esm-
|
|
4
|
-
import { t as a } from "./Button-
|
|
3
|
+
import { q as r, tt as i } from "./esm-zUd-Cmgs.js";
|
|
4
|
+
import { t as a } from "./Button-CdrrwvXk.js";
|
|
5
5
|
import { forwardRef as o, useCallback as s } from "react";
|
|
6
6
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
7
7
|
var u = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import { tt as t } from "./esm-
|
|
2
|
+
import { tt as t } from "./esm-zUd-Cmgs.js";
|
|
3
3
|
import { t as n } from "./Icon-DJTgdvsG.js";
|
|
4
4
|
import { _ as r, a as i, c as a, d as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, t as g, u as _, v, y } from "./es2015-DWa0ZZ7A.js";
|
|
5
5
|
import { a as b, i as x, n as S, r as C, t as w } from "./dist-CE9LFbij.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as e } from "./utils-K9S_6_Eq.js";
|
|
2
|
-
import { J as t, tt as n } from "./esm-
|
|
3
|
-
import { t as r } from "./Button-
|
|
2
|
+
import { J as t, tt as n } from "./esm-zUd-Cmgs.js";
|
|
3
|
+
import { t as r } from "./Button-CdrrwvXk.js";
|
|
4
4
|
import { t as i } from "./Container-BDssaLig.js";
|
|
5
5
|
import { t as a } from "./DiscordInvite-CLYxexdH.js";
|
|
6
6
|
import { t as o } from "./Logo-Bz0G2G-k.js";
|
|
7
|
-
import { t as s } from "./NewsletterSignup-
|
|
8
|
-
import { t as c } from "./FooterBottom-
|
|
9
|
-
import { t as l } from "./FooterHelp-
|
|
10
|
-
import { t as u } from "./FooterLinks-
|
|
11
|
-
import { t as d } from "./YoutubeModal-
|
|
7
|
+
import { t as s } from "./NewsletterSignup-BTSzt793.js";
|
|
8
|
+
import { t as c } from "./FooterBottom-DAe43eoh.js";
|
|
9
|
+
import { t as l } from "./FooterHelp-BB1s4wdX.js";
|
|
10
|
+
import { t as u } from "./FooterLinks-CCW29MM7.js";
|
|
11
|
+
import { t as d } from "./YoutubeModal-3pu-Gx0q.js";
|
|
12
12
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
13
13
|
var m = {
|
|
14
14
|
discordCard: "_4W4F3q_discordCard",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, t } from "./utils-K9S_6_Eq.js";
|
|
2
2
|
import { a as n, c as r, i, n as a, o, r as s, s as c, t as l } from "./fa-B95RwBpz.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as d } from "./CookiePolicyModal-
|
|
3
|
+
import { n as u } from "./Typography-DI1AkqiO.js";
|
|
4
|
+
import { t as d } from "./CookiePolicyModal-BzwB-YHV.js";
|
|
5
5
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
6
6
|
//#region node_modules/react-icons/fa6/index.mjs
|
|
7
7
|
function h(e) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, t } from "./utils-K9S_6_Eq.js";
|
|
2
|
-
import { d as n, g as r } from "./esm-
|
|
2
|
+
import { d as n, g as r } from "./esm-zUd-Cmgs.js";
|
|
3
3
|
import { t as i } from "./Icon-DJTgdvsG.js";
|
|
4
4
|
import { o as a, r as o } from "./fa-B95RwBpz.js";
|
|
5
|
-
import {
|
|
5
|
+
import { n as s } from "./Typography-DI1AkqiO.js";
|
|
6
6
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
7
7
|
var u = {
|
|
8
8
|
help: "vfdIHG_help",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import { I as t } from "./esm-
|
|
2
|
+
import { I as t } from "./esm-zUd-Cmgs.js";
|
|
3
3
|
import { t as n } from "./Icon-DJTgdvsG.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as i } from "./Label-
|
|
4
|
+
import { n as r } from "./Typography-DI1AkqiO.js";
|
|
5
|
+
import { t as i } from "./Label-B-Xt6XQQ.js";
|
|
6
6
|
import a from "./components/icons/MadeInNorway.js";
|
|
7
7
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
8
|
var c = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as e, d as t, i as n, o as r, u as i } from "./utils-K9S_6_Eq.js";
|
|
2
2
|
import { t as a } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import { A as o, V as s, b as c,
|
|
4
|
-
import { t as _ } from "./Button-
|
|
3
|
+
import { A as o, V as s, b as c, ct as l, f as u, it as d, j as f, nt as p, p as m, s as h, t as g } from "./esm-zUd-Cmgs.js";
|
|
4
|
+
import { t as _ } from "./Button-CdrrwvXk.js";
|
|
5
5
|
import { t as v } from "./Container-BDssaLig.js";
|
|
6
6
|
import { t as y } from "./Logo-Bz0G2G-k.js";
|
|
7
|
-
import { t as b } from "./PrefPanel-
|
|
8
|
-
import { t as x } from "./Search-
|
|
9
|
-
import { t as S } from "./Label-
|
|
10
|
-
import { t as C } from "./Notification-
|
|
7
|
+
import { t as b } from "./PrefPanel-PUo4GkIF.js";
|
|
8
|
+
import { t as x } from "./Search-BeOH4XUH.js";
|
|
9
|
+
import { t as S } from "./Label-B-Xt6XQQ.js";
|
|
10
|
+
import { t as C } from "./Notification-Bb5gAUtp.js";
|
|
11
11
|
import { useEffect as w, useRef as T, useState as E } from "react";
|
|
12
12
|
import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
|
|
13
13
|
var A = {
|
|
@@ -75,7 +75,7 @@ var A = {
|
|
|
75
75
|
{
|
|
76
76
|
title: "Products",
|
|
77
77
|
url: "https://www.highcharts.com/products/",
|
|
78
|
-
icon: /* @__PURE__ */ O(
|
|
78
|
+
icon: /* @__PURE__ */ O(p, {})
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
title: "Demos",
|
|
@@ -95,12 +95,12 @@ var A = {
|
|
|
95
95
|
{
|
|
96
96
|
title: "Pricing",
|
|
97
97
|
url: "https://shop.highcharts.com/",
|
|
98
|
-
icon: /* @__PURE__ */ O(
|
|
98
|
+
icon: /* @__PURE__ */ O(d, {})
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
title: "Blog",
|
|
102
102
|
url: "https://www.highcharts.com/blog/home/",
|
|
103
|
-
icon: /* @__PURE__ */ O(
|
|
103
|
+
icon: /* @__PURE__ */ O(l, {})
|
|
104
104
|
}
|
|
105
105
|
];
|
|
106
106
|
function B(e, t) {
|
|
@@ -193,17 +193,17 @@ function Y() {
|
|
|
193
193
|
e && R(M, e);
|
|
194
194
|
}, [e]), null;
|
|
195
195
|
}
|
|
196
|
-
function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host: c = "https://www.highcharts.com", pathname:
|
|
196
|
+
function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host: c = "https://www.highcharts.com", pathname: l, cssVariable: d, position: p = "sticky" }) {
|
|
197
197
|
let S = e("(max-width: 374px)"), w = e("(max-width: 849px)"), M = e("(max-width: 1300px)"), N = G(t), P = T(null), [F, L] = E(!1), [V, H] = E([]);
|
|
198
198
|
n(() => {
|
|
199
199
|
let e = P.current;
|
|
200
200
|
if (!e) return;
|
|
201
201
|
let n = t?.length ? N ? U : W : 0, r = 82 + V.length * 48 + n, i = -(82 + V.length * 48);
|
|
202
|
-
if (
|
|
203
|
-
e.style.transform = "",
|
|
202
|
+
if (p === "static") return e.style.transform = "", d && document.documentElement.style.setProperty("--header-bottom", `${r}px`), () => {
|
|
203
|
+
e.style.transform = "", d && document.documentElement.style.removeProperty("--header-bottom");
|
|
204
204
|
};
|
|
205
205
|
let a = window.scrollY, o = 0, s = null, c = null, l = () => {
|
|
206
|
-
c = null, !(!e || s === o) && (e.style.transform = `translate3d(0, ${o}px, 0)`,
|
|
206
|
+
c = null, !(!e || s === o) && (e.style.transform = `translate3d(0, ${o}px, 0)`, d && document.documentElement.style.setProperty("--header-bottom", `${r + o}px`), s = o);
|
|
207
207
|
};
|
|
208
208
|
l();
|
|
209
209
|
let u = () => {
|
|
@@ -211,13 +211,13 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
|
|
|
211
211
|
a = e, o = Math.min(0, Math.max(i, o - t)), c === null && (c = window.requestAnimationFrame(l));
|
|
212
212
|
};
|
|
213
213
|
return window.addEventListener("scroll", u, { passive: !0 }), () => {
|
|
214
|
-
window.removeEventListener("scroll", u), c !== null && cancelAnimationFrame(c), e.style.transform = "",
|
|
214
|
+
window.removeEventListener("scroll", u), c !== null && cancelAnimationFrame(c), e.style.transform = "", d && document.documentElement.style.removeProperty("--header-bottom");
|
|
215
215
|
};
|
|
216
216
|
}, [
|
|
217
|
-
|
|
217
|
+
d,
|
|
218
218
|
N,
|
|
219
219
|
V.length,
|
|
220
|
-
|
|
220
|
+
p,
|
|
221
221
|
t?.length
|
|
222
222
|
]), n(() => {
|
|
223
223
|
if (!o.length) return;
|
|
@@ -289,7 +289,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
|
|
|
289
289
|
children: [/* @__PURE__ */ O("span", {
|
|
290
290
|
className: A.gpt,
|
|
291
291
|
children: "Highcharts Assist"
|
|
292
|
-
}), /* @__PURE__ */ O(
|
|
292
|
+
}), /* @__PURE__ */ O(u, {})]
|
|
293
293
|
}) }),
|
|
294
294
|
/* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(x, {}) }),
|
|
295
295
|
/* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(b, {}) }),
|
|
@@ -299,20 +299,20 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
|
|
|
299
299
|
as: s,
|
|
300
300
|
href: B("https://shop.highcharts.com/", c),
|
|
301
301
|
"aria-label": "Buy Now",
|
|
302
|
-
children: [/* @__PURE__ */ O(
|
|
302
|
+
children: [/* @__PURE__ */ O(m, {}), "Buy Now"]
|
|
303
303
|
}) }),
|
|
304
304
|
/* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
|
|
305
305
|
className: A.cta,
|
|
306
306
|
variant: "brand",
|
|
307
307
|
as: s,
|
|
308
308
|
href: B("https://www.highcharts.com/download/", c),
|
|
309
|
-
children: [/* @__PURE__ */ O(
|
|
309
|
+
children: [/* @__PURE__ */ O(h, {}), "Try for Free"]
|
|
310
310
|
}) }),
|
|
311
311
|
/* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
|
|
312
312
|
variant: F ? "soft" : "transparent",
|
|
313
313
|
className: A.menu,
|
|
314
314
|
onClick: X,
|
|
315
|
-
children: [F ? "Close" : "Menu", O(F ? g :
|
|
315
|
+
children: [F ? "Close" : "Menu", O(F ? g : f, {})]
|
|
316
316
|
}) })
|
|
317
317
|
]
|
|
318
318
|
})
|
|
@@ -323,7 +323,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
|
|
|
323
323
|
items: t,
|
|
324
324
|
link: s,
|
|
325
325
|
host: c,
|
|
326
|
-
pathname:
|
|
326
|
+
pathname: l
|
|
327
327
|
}),
|
|
328
328
|
r
|
|
329
329
|
]
|
|
@@ -349,7 +349,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
|
|
|
349
349
|
children: [/* @__PURE__ */ O("span", {
|
|
350
350
|
className: A.gpt,
|
|
351
351
|
children: "Highcharts Assist"
|
|
352
|
-
}), /* @__PURE__ */ O(
|
|
352
|
+
}), /* @__PURE__ */ O(u, {})]
|
|
353
353
|
}) }),
|
|
354
354
|
/* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(x, {}) }),
|
|
355
355
|
/* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(b, {}) })
|
|
@@ -363,13 +363,13 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
|
|
|
363
363
|
fullWidth: !0,
|
|
364
364
|
as: s,
|
|
365
365
|
href: B("https://shop.highcharts.com/", c),
|
|
366
|
-
children: [/* @__PURE__ */ O(
|
|
366
|
+
children: [/* @__PURE__ */ O(m, {}), "Buy Now"]
|
|
367
367
|
}) }), /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
|
|
368
368
|
variant: "success",
|
|
369
369
|
fullWidth: !0,
|
|
370
370
|
as: s,
|
|
371
371
|
href: B("https://www.highcharts.com/download/", c),
|
|
372
|
-
children: [/* @__PURE__ */ O(
|
|
372
|
+
children: [/* @__PURE__ */ O(h, {}), "Try for Free"]
|
|
373
373
|
}) })]
|
|
374
374
|
}),
|
|
375
375
|
/* @__PURE__ */ O("ul", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import { $ as t, U as n, W as r } from "./esm-
|
|
3
|
-
import { t as i } from "./Button-
|
|
2
|
+
import { $ as t, U as n, W as r } from "./esm-zUd-Cmgs.js";
|
|
3
|
+
import { t as i } from "./Button-CdrrwvXk.js";
|
|
4
4
|
import { forwardRef as a, useCallback as o, useEffect as s, useRef as c, useState as l } from "react";
|
|
5
5
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
6
6
|
var f = {
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
+
import { ot as t } from "./esm-zUd-Cmgs.js";
|
|
3
|
+
import { t as n } from "./Icon-DJTgdvsG.js";
|
|
4
|
+
import { t as r } from "./Typography-DI1AkqiO.js";
|
|
5
|
+
import { createContext as i, forwardRef as a, useContext as o } from "react";
|
|
6
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
7
|
+
var l = {
|
|
8
|
+
bullet: "SZRYAG_bullet",
|
|
9
|
+
content: "SZRYAG_content",
|
|
10
|
+
item: "SZRYAG_item",
|
|
11
|
+
list: "SZRYAG_list",
|
|
12
|
+
marker: "SZRYAG_marker",
|
|
13
|
+
number: "SZRYAG_number",
|
|
14
|
+
"size-100": "SZRYAG_size-100",
|
|
15
|
+
"size-200": "SZRYAG_size-200",
|
|
16
|
+
"size-300": "SZRYAG_size-300",
|
|
17
|
+
"size-50": "SZRYAG_size-50",
|
|
18
|
+
"size-75": "SZRYAG_size-75"
|
|
19
|
+
}, u = {
|
|
20
|
+
50: 12,
|
|
21
|
+
75: 12,
|
|
22
|
+
100: 12,
|
|
23
|
+
200: 16,
|
|
24
|
+
300: 16
|
|
25
|
+
}, d = i(null), f = a(({ variant: n = "bullet", size: i = 200, icon: a = t, color: o = "primary", iconColor: c, start: u, className: f, style: p, children: m, ...h }, g) => {
|
|
26
|
+
let _ = {
|
|
27
|
+
"--hsui-list-color": r[o],
|
|
28
|
+
...c && { "--hsui-list-icon-color": r[c] },
|
|
29
|
+
...u !== void 0 && { "--hsui-list-start": u - 1 },
|
|
30
|
+
...p
|
|
31
|
+
}, v = {
|
|
32
|
+
ref: g,
|
|
33
|
+
role: "list",
|
|
34
|
+
className: e("hsui-list", f, l.list, l[n], l[`size-${i}`]),
|
|
35
|
+
style: _,
|
|
36
|
+
...h
|
|
37
|
+
};
|
|
38
|
+
return /* @__PURE__ */ s(d.Provider, {
|
|
39
|
+
value: {
|
|
40
|
+
variant: n,
|
|
41
|
+
size: i,
|
|
42
|
+
icon: a
|
|
43
|
+
},
|
|
44
|
+
children: n === "number" ? /* @__PURE__ */ s("ol", {
|
|
45
|
+
...v,
|
|
46
|
+
start: u,
|
|
47
|
+
children: m
|
|
48
|
+
}) : /* @__PURE__ */ s("ul", {
|
|
49
|
+
...v,
|
|
50
|
+
children: m
|
|
51
|
+
})
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
f.displayName = "List";
|
|
55
|
+
var p = a(({ icon: i, iconColor: a, className: f, style: p, children: m, ...h }, g) => {
|
|
56
|
+
let _ = o(d), v = _?.variant ?? "bullet", y = _?.size ?? 200, b = i ?? _?.icon ?? t, x = a ? {
|
|
57
|
+
"--hsui-list-icon-color": r[a],
|
|
58
|
+
...p
|
|
59
|
+
} : p;
|
|
60
|
+
return /* @__PURE__ */ c("li", {
|
|
61
|
+
className: e("hsui-list-item", f, l.item),
|
|
62
|
+
ref: g,
|
|
63
|
+
style: x,
|
|
64
|
+
...h,
|
|
65
|
+
children: [/* @__PURE__ */ s("span", {
|
|
66
|
+
className: l.marker,
|
|
67
|
+
"aria-hidden": "true",
|
|
68
|
+
children: v === "bullet" && /* @__PURE__ */ s(n, {
|
|
69
|
+
name: b,
|
|
70
|
+
size: u[y]
|
|
71
|
+
})
|
|
72
|
+
}), /* @__PURE__ */ s("span", {
|
|
73
|
+
className: l.content,
|
|
74
|
+
children: m
|
|
75
|
+
})]
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
p.displayName = "ListItem";
|
|
79
|
+
//#endregion
|
|
80
|
+
export { p as n, f as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "./utils-K9S_6_Eq.js";
|
|
2
2
|
import { t } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import { T as n, x as r } from "./esm-
|
|
4
|
-
import { t as i } from "./Button-
|
|
3
|
+
import { T as n, x as r } from "./esm-zUd-Cmgs.js";
|
|
4
|
+
import { t as i } from "./Button-CdrrwvXk.js";
|
|
5
5
|
import { n as a, t as o } from "./ClientLogo-Dj7K48YL.js";
|
|
6
6
|
import { useEffect as s, useRef as c, useState as l } from "react";
|
|
7
7
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { l as e } from "./utils-K9S_6_Eq.js";
|
|
2
2
|
import { t } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import { B as n,
|
|
4
|
-
import { t as a } from "./Button-
|
|
3
|
+
import { B as n, ct as r, et as i } from "./esm-zUd-Cmgs.js";
|
|
4
|
+
import { t as a } from "./Button-CdrrwvXk.js";
|
|
5
5
|
import { t as o } from "./Icon-DJTgdvsG.js";
|
|
6
6
|
import { t as s } from "./Link-CYR92_U0.js";
|
|
7
7
|
import { t as c } from "./InputSolo-DUdKtZjX.js";
|
|
8
|
-
import {
|
|
8
|
+
import { n as l } from "./Typography-DI1AkqiO.js";
|
|
9
9
|
import { useEffect as u, useRef as d, useState as f } from "react";
|
|
10
10
|
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
11
11
|
var h = {
|
|
@@ -72,7 +72,7 @@ function g({ link: g = "a", privacyUrl: _ = "https://www.highcharts.com/privacy/
|
|
|
72
72
|
"data-theme": L ? "light" : void 0,
|
|
73
73
|
children: [
|
|
74
74
|
/* @__PURE__ */ m("h2", { children: [/* @__PURE__ */ p(o, {
|
|
75
|
-
name:
|
|
75
|
+
name: r,
|
|
76
76
|
size: 12
|
|
77
77
|
}), "Stay in the Loop"] }),
|
|
78
78
|
L ? /* @__PURE__ */ m("div", {
|
|
@@ -104,7 +104,7 @@ function g({ link: g = "a", privacyUrl: _ = "https://www.highcharts.com/privacy/
|
|
|
104
104
|
variant: "success",
|
|
105
105
|
disabled: !0,
|
|
106
106
|
children: [/* @__PURE__ */ p(o, {
|
|
107
|
-
name:
|
|
107
|
+
name: i,
|
|
108
108
|
size: 16
|
|
109
109
|
}), "You’re in"]
|
|
110
110
|
}) : /* @__PURE__ */ p(a, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import { t } from "./esm-
|
|
3
|
-
import { t as n } from "./Button-
|
|
2
|
+
import { t } from "./esm-zUd-Cmgs.js";
|
|
3
|
+
import { t as n } from "./Button-CdrrwvXk.js";
|
|
4
4
|
import { t as r } from "./Container-BDssaLig.js";
|
|
5
|
-
import { t as i } from "./Label-
|
|
5
|
+
import { t as i } from "./Label-B-Xt6XQQ.js";
|
|
6
6
|
import { useEffect as a, useState as o } from "react";
|
|
7
7
|
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
8
|
var u = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as e, o as t } from "./utils-K9S_6_Eq.js";
|
|
2
2
|
import { t as n } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import { D as r, E as i, h as a, l as o, tt as s } from "./esm-
|
|
4
|
-
import { t as c } from "./Button-
|
|
3
|
+
import { D as r, E as i, h as a, l as o, tt as s } from "./esm-zUd-Cmgs.js";
|
|
4
|
+
import { t as c } from "./Button-CdrrwvXk.js";
|
|
5
5
|
import { _ as l, a as u, d, h as f, i as p, l as m, m as h, n as ee, o as g, p as _, r as v, t as y, u as b, y as x } from "./es2015-DWa0ZZ7A.js";
|
|
6
6
|
import { a as S, i as te, n as C, r as w, t as T } from "./dist-B04QoImH.js";
|
|
7
7
|
import * as E from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import { Q as t, Z as n } from "./esm-
|
|
2
|
+
import { Q as t, Z as n } from "./esm-zUd-Cmgs.js";
|
|
3
3
|
import { t as r } from "./Icon-DJTgdvsG.js";
|
|
4
4
|
import { forwardRef as i } from "react";
|
|
5
5
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import { $ as t, L as n, N as r, c as i } from "./esm-
|
|
3
|
-
import { t as a } from "./Button-
|
|
4
|
-
import {
|
|
2
|
+
import { $ as t, L as n, N as r, c as i } from "./esm-zUd-Cmgs.js";
|
|
3
|
+
import { t as a } from "./Button-CdrrwvXk.js";
|
|
4
|
+
import { n as o } from "./Typography-DI1AkqiO.js";
|
|
5
5
|
import { useEffect as s, useRef as c } from "react";
|
|
6
6
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
7
7
|
var d = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, i as t, n, o as r, r as i, t as a } from "./chunk-jwUa06l-.js";
|
|
2
|
-
import { C as o, H as s, K as c, at as l,
|
|
3
|
-
import { t as v } from "./Button-
|
|
2
|
+
import { C as o, H as s, K as c, at as l, lt as u, m as d, p as f, rt as p, st as m, v as h, y as g, z as _ } from "./esm-zUd-Cmgs.js";
|
|
3
|
+
import { t as v } from "./Button-CdrrwvXk.js";
|
|
4
4
|
import { d as y, h as b, l as x, m as S, p as C, u as w } from "./es2015-DWa0ZZ7A.js";
|
|
5
5
|
import { t as ee } from "./dist-J9cXmrDi.js";
|
|
6
6
|
import { i as T, n as E, r as D, t as O } from "./dist-CE9LFbij.js";
|
|
@@ -4503,10 +4503,10 @@ function Wt() {
|
|
|
4503
4503
|
}, ue = {
|
|
4504
4504
|
products: /* @__PURE__ */ F(d, {}),
|
|
4505
4505
|
demo: /* @__PURE__ */ F(o, {}),
|
|
4506
|
-
docs: /* @__PURE__ */ F(
|
|
4506
|
+
docs: /* @__PURE__ */ F(p, {}),
|
|
4507
4507
|
blog: /* @__PURE__ */ F(u, {}),
|
|
4508
4508
|
misc: /* @__PURE__ */ F(_, {}),
|
|
4509
|
-
shop: /* @__PURE__ */ F(
|
|
4509
|
+
shop: /* @__PURE__ */ F(f, {}),
|
|
4510
4510
|
file: /* @__PURE__ */ F(s, {})
|
|
4511
4511
|
};
|
|
4512
4512
|
return /* @__PURE__ */ I(ie, {
|
|
@@ -4601,7 +4601,7 @@ function Wt() {
|
|
|
4601
4601
|
className: Z.bottomGroup,
|
|
4602
4602
|
children: [/* @__PURE__ */ I("div", {
|
|
4603
4603
|
className: Z.bottomIcons,
|
|
4604
|
-
children: [/* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(
|
|
4604
|
+
children: [/* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(m, {}) }), /* @__PURE__ */ F("span", { children: /* @__PURE__ */ F(l, {}) })]
|
|
4605
4605
|
}), "Navigate"]
|
|
4606
4606
|
}),
|
|
4607
4607
|
/* @__PURE__ */ I("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import { _ as t } from "./esm-
|
|
2
|
+
import { _ as t } from "./esm-zUd-Cmgs.js";
|
|
3
3
|
import { t as n } from "./Icon-DJTgdvsG.js";
|
|
4
4
|
import { t as r } from "./InputSolo-DUdKtZjX.js";
|
|
5
5
|
import { useCallback as i, useEffect as a, useId as o, useMemo as s, useRef as c, useState as l } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import { t } from "./Typography-
|
|
2
|
+
import { n as t } from "./Typography-DI1AkqiO.js";
|
|
3
3
|
import { useEffect as n, useState as r } from "react";
|
|
4
4
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
5
|
var o = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ut as t } from "./esm-zUd-Cmgs.js";
|
|
3
3
|
import { t as n } from "./Icon-DJTgdvsG.js";
|
|
4
|
-
import {
|
|
4
|
+
import { n as r } from "./Typography-DI1AkqiO.js";
|
|
5
5
|
import { forwardRef as i, useCallback as a, useEffect as o, useRef as s, useState as c } from "react";
|
|
6
6
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
7
7
|
var d = {
|