highsoft-ui 1.0.166 → 1.0.168

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.
Files changed (94) hide show
  1. package/CLAUDE.md +41 -0
  2. package/dist/{BrowserFrame-BWKH-jYq.js → BrowserFrame-CisPLoTR.js} +3 -2
  3. package/dist/{Button-Ckhn8DSF.js → Button-CdrrwvXk.js} +1 -1
  4. package/dist/{ButtonGroup-DJ9-E38n.js → ButtonGroup-JtJaVLlu.js} +2 -1
  5. package/dist/{Checkbox-D1mlWTmw.js → Checkbox-DU_KGp-P.js} +2 -1
  6. package/dist/{CodeBlock-C2W0T4RT.js → CodeBlock-CGBo8nwy.js} +6 -5
  7. package/dist/{CookiePolicyModal-CPNTKMHc.js → CookiePolicyModal-xPb4G_hM.js} +4 -3
  8. package/dist/{CopyCode-BOehQAZN.js → CopyCode-72gVieQO.js} +4 -3
  9. package/dist/{DiscordInvite-CLYxexdH.js → DiscordInvite-DfPVlJ5G.js} +1 -0
  10. package/dist/{Dropdown-Cjl8RQ5Y.js → Dropdown-DLRtYhFa.js} +5 -4
  11. package/dist/{Footer-DLMNyBXC.js → Footer-B5lSjhAD.js} +10 -9
  12. package/dist/{FooterBottom-ZK9F7wLx.js → FooterBottom-B8GCRg2o.js} +4 -3
  13. package/dist/{FooterHelp-Csfq-quf.js → FooterHelp-D5X2Pco9.js} +4 -3
  14. package/dist/{FooterLinks-CGoBeReu.js → FooterLinks-CCW29MM7.js} +3 -3
  15. package/dist/{GPTInput-C0YG1990.js → GPTInput-g460kfc6.js} +1 -0
  16. package/dist/{Header-Pe6siDNx.js → Header-CQKgp8xy.js} +33 -32
  17. package/dist/{InputGrouped-BLtnqxWc.js → InputGrouped-DLghbzO7.js} +3 -2
  18. package/dist/{InputSolo-DUdKtZjX.js → InputSolo-CbnsJlJu.js} +1 -0
  19. package/dist/{Label-KDdBAgyD.js → Label-B-Xt6XQQ.js} +1 -1
  20. package/dist/List-B1zRI6pm.js +81 -0
  21. package/dist/{LogoCarousel-CJShpLJo.js → LogoCarousel-TbyB0ot0.js} +4 -3
  22. package/dist/{NewsletterSignup-g8wPQ7NZ.js → NewsletterSignup-BPLup66s.js} +8 -7
  23. package/dist/{Notification-DQostuW6.js → Notification-DtqcW5FH.js} +4 -3
  24. package/dist/{PrefPanel-Cf-xZ261.js → PrefPanel-6oTpfC5q.js} +6 -5
  25. package/dist/{PrevNextNav-Cd6_IdPd.js → PrevNextNav-XaxS2FTm.js} +1 -1
  26. package/dist/{RadioBox-o1Ssyj0s.js → RadioBox-C7bDjItJ.js} +1 -0
  27. package/dist/{RoadmapDetails-DMrLLty1.js → RoadmapDetails-CLQzIxv7.js} +4 -3
  28. package/dist/{SearchDropdown-BA7CPuRf.js → SearchDropdown-Ow5_Hu21.js} +3 -2
  29. package/dist/{Tabs-BuDaPqdN.js → Tabs-TRXBM5Zr.js} +2 -1
  30. package/dist/{Typography-AvvBRu-u.js → Typography-DI1AkqiO.js} +1 -1
  31. package/dist/{VideoCover-DlhRqr4Q.js → VideoCover-25FfvhPg.js} +3 -2
  32. package/dist/{VideoPlayer-De_ejf8u.js → VideoPlayer-CB2lOh95.js} +7 -6
  33. package/dist/{VideoPlayerModal-DNUIn0jM.js → VideoPlayerModal-CVJbPd6n.js} +5 -4
  34. package/dist/{YoutubeModal-D_pHHwxa.js → YoutubeModal-j51vfjYk.js} +2 -2
  35. package/dist/components/BrowserFrame/index.js +1 -1
  36. package/dist/components/Button/index.js +1 -1
  37. package/dist/components/ButtonGroup/index.js +1 -1
  38. package/dist/components/Checkbox/index.js +1 -1
  39. package/dist/components/CodeBlock/index.js +1 -1
  40. package/dist/components/CopyCode/index.js +1 -1
  41. package/dist/components/DiscordInvite/index.js +1 -1
  42. package/dist/components/Dropdown/index.js +1 -1
  43. package/dist/components/Footer/CookiePolicyModal.js +1 -1
  44. package/dist/components/Footer/FooterBottom.js +1 -1
  45. package/dist/components/Footer/FooterHelp.js +1 -1
  46. package/dist/components/Footer/FooterLinks.js +1 -1
  47. package/dist/components/Footer/YoutubeModal.js +1 -1
  48. package/dist/components/Footer/index.js +1 -1
  49. package/dist/components/GPTInput/index.js +1 -1
  50. package/dist/components/Header/index.js +1 -1
  51. package/dist/components/InputGrouped/index.js +1 -1
  52. package/dist/components/InputSolo/index.js +1 -1
  53. package/dist/components/Label/index.js +1 -1
  54. package/dist/components/List/index.js +2 -0
  55. package/dist/components/LogoCarousel/index.js +1 -1
  56. package/dist/components/Modal/ModalContactFooter.js +3 -3
  57. package/dist/components/Modal/index.js +4 -3
  58. package/dist/components/NewsletterSignup/index.js +1 -1
  59. package/dist/components/Notification/index.js +1 -1
  60. package/dist/components/PrefPanel/index.js +1 -1
  61. package/dist/components/PrevNextNav/index.js +1 -1
  62. package/dist/components/RadioBox/index.js +1 -1
  63. package/dist/components/RoadmapDetails/index.js +1 -1
  64. package/dist/{Search-Cy79c2sN.js → components/Search/SearchDialog.js} +610 -627
  65. package/dist/components/Search/index.js +39 -2
  66. package/dist/components/SearchDropdown/index.js +1 -1
  67. package/dist/components/Sidebar/NavDisclosure.js +1 -1
  68. package/dist/components/Sidebar/NavGroup.js +1 -1
  69. package/dist/components/Sidebar/Sidebar.js +3 -3
  70. package/dist/components/Sidebar/SidebarLayout.js +3 -3
  71. package/dist/components/Sidebar/SidebarSwitcher.js +1 -1
  72. package/dist/components/Tabs/index.js +1 -1
  73. package/dist/components/Typography/index.js +2 -2
  74. package/dist/components/VideoCover/index.js +1 -1
  75. package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
  76. package/dist/components/VideoPlayer/index.js +1 -1
  77. package/dist/components/VideoPlayer/useMediaEngine.js +1 -0
  78. package/dist/{create-element-BNkLOXrc.js → create-element-DvDqDt-f.js} +1 -1
  79. package/dist/{dist-CE9LFbij.js → dist-BAH-0dTg.js} +2 -1
  80. package/dist/{dist-B04QoImH.js → dist-D5nNWgEm.js} +2 -1
  81. package/dist/{dist-f0z6DapB.js → dist-DWZ0DflU.js} +2 -1
  82. package/dist/{dist-J9cXmrDi.js → dist-an9z21ra.js} +1 -1
  83. package/dist/{es2015-DWa0ZZ7A.js → es2015-DGI5uxql.js} +1 -0
  84. package/dist/{esm-u0DqOC56.js → esm-zUd-Cmgs.js} +73 -59
  85. package/dist/highsoft-ui.css +1 -1
  86. package/dist/lib/components/List/index.d.ts +35 -0
  87. package/dist/lib/components/Search/SearchDialog.d.ts +4 -0
  88. package/dist/lib/components/Typography/index.d.ts +1 -0
  89. package/dist/lib/main.d.ts +2 -0
  90. package/dist/main.js +42 -41
  91. package/dist/{prism-light-CAkriFcS.js → prism-light-oph9ikSp.js} +1 -1
  92. package/dist/{utils-K9S_6_Eq.js → utils-bAjntFD8.js} +1 -0
  93. package/dist/utils.js +1 -1
  94. package/package.json +2 -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,7 @@
1
+ "use client";
1
2
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { G as t, L as n, R as r, k as i } from "./esm-u0DqOC56.js";
3
- import { t as a } from "./Button-Ckhn8DSF.js";
3
+ import { G as t, L as n, R as r, k as i } from "./esm-zUd-Cmgs.js";
4
+ import { t as a } from "./Button-CdrrwvXk.js";
4
5
  import { forwardRef as o, useCallback as s, useEffect as c, useRef as l, useState as u } from "react";
5
6
  import { jsx as d, jsxs as f } from "react/jsx-runtime";
6
7
  var p = {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { F as t } from "./esm-u0DqOC56.js";
2
+ import { F as t } from "./esm-zUd-Cmgs.js";
3
3
  import { forwardRef as n } from "react";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  var a = {
@@ -1,5 +1,6 @@
1
+ "use client";
1
2
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { t } from "./Button-Ckhn8DSF.js";
3
+ import { t } from "./Button-CdrrwvXk.js";
3
4
  import { useEffect as n, useState as r } from "react";
4
5
  import { jsx as i } from "react/jsx-runtime";
5
6
  var a = {
@@ -1,5 +1,6 @@
1
+ "use client";
1
2
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { P as t } from "./esm-u0DqOC56.js";
3
+ import { P as t } from "./esm-zUd-Cmgs.js";
3
4
  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
5
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
5
6
  var d = {
@@ -1,7 +1,8 @@
1
- import { r as e, s as t } from "./utils-K9S_6_Eq.js";
1
+ "use client";
2
+ import { r as e, s as t } from "./utils-bAjntFD8.js";
2
3
  import { t as n } from "./clsx-BWCAbrjV.js";
3
- import { q as r, tt as i } from "./esm-u0DqOC56.js";
4
- import { t as a } from "./Button-Ckhn8DSF.js";
4
+ import { q as r, tt as i } from "./esm-zUd-Cmgs.js";
5
+ import { t as a } from "./Button-CdrrwvXk.js";
5
6
  import { t as o } from "./FrameworkIcon-B8GmMx0r.js";
6
7
  import { Fragment as s, forwardRef as c, useCallback as l, useEffect as u, useMemo as d, useState as f } from "react";
7
8
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
@@ -22,8 +23,8 @@ var h = {
22
23
  }, g = null;
23
24
  function _() {
24
25
  return g ||= Promise.all([
25
- import("./prism-light-CAkriFcS.js"),
26
- import("./create-element-BNkLOXrc.js").then((e) => e.n),
26
+ import("./prism-light-oph9ikSp.js"),
27
+ import("./create-element-DvDqDt-f.js").then((e) => e.n),
27
28
  import("./jsx-B57trbk8.js"),
28
29
  import("./tsx-CJFgwLf7.js"),
29
30
  import("./json-Bfzk2Msc.js"),
@@ -1,6 +1,7 @@
1
- import { t as e } from "./esm-u0DqOC56.js";
2
- import { t } from "./Button-Ckhn8DSF.js";
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";
1
+ "use client";
2
+ import { t as e } from "./esm-zUd-Cmgs.js";
3
+ import { t } from "./Button-CdrrwvXk.js";
4
+ import { a as n, i as r, n as i, o as a, r as o, s, t as c } from "./dist-DWZ0DflU.js";
4
5
  import { useEffect as l, useRef as u, useState as d } from "react";
5
6
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
6
7
  var m = {
@@ -1,7 +1,8 @@
1
- import { r as e, s as t } from "./utils-K9S_6_Eq.js";
1
+ "use client";
2
+ import { r as e, s as t } from "./utils-bAjntFD8.js";
2
3
  import { t as n } from "./clsx-BWCAbrjV.js";
3
- import { q as r, tt as i } from "./esm-u0DqOC56.js";
4
- import { t as a } from "./Button-Ckhn8DSF.js";
4
+ import { q as r, tt as i } from "./esm-zUd-Cmgs.js";
5
+ import { t as a } from "./Button-CdrrwvXk.js";
5
6
  import { forwardRef as o, useCallback as s } from "react";
6
7
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
7
8
  var u = {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { t as e } from "./clsx-BWCAbrjV.js";
2
3
  import { t } from "./fa-B95RwBpz.js";
3
4
  import { useEffect as n, useRef as r, useState as i } from "react";
@@ -1,9 +1,10 @@
1
+ "use client";
1
2
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { tt as t } from "./esm-u0DqOC56.js";
3
+ import { tt as t } from "./esm-zUd-Cmgs.js";
3
4
  import { t as n } from "./Icon-DJTgdvsG.js";
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
- import { a as b, i as x, n as S, r as C, t as w } from "./dist-CE9LFbij.js";
6
- import { a as T, i as E, n as ee, r as te, t as ne } from "./dist-B04QoImH.js";
5
+ 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-DGI5uxql.js";
6
+ import { a as b, i as x, n as S, r as C, t as w } from "./dist-BAH-0dTg.js";
7
+ import { a as T, i as E, n as ee, r as te, t as ne } from "./dist-D5nNWgEm.js";
7
8
  import * as D from "react";
8
9
  import { createContext as re, useContext as O, useRef as ie } from "react";
9
10
  import { jsx as k, jsxs as A } from "react/jsx-runtime";
@@ -1,14 +1,15 @@
1
- import { r as e } from "./utils-K9S_6_Eq.js";
2
- import { J as t, tt as n } from "./esm-u0DqOC56.js";
3
- import { t as r } from "./Button-Ckhn8DSF.js";
1
+ "use client";
2
+ import { r as e } from "./utils-bAjntFD8.js";
3
+ import { J as t, tt as n } from "./esm-zUd-Cmgs.js";
4
+ import { t as r } from "./Button-CdrrwvXk.js";
4
5
  import { t as i } from "./Container-BDssaLig.js";
5
- import { t as a } from "./DiscordInvite-CLYxexdH.js";
6
+ import { t as a } from "./DiscordInvite-DfPVlJ5G.js";
6
7
  import { t as o } from "./Logo-Bz0G2G-k.js";
7
- import { t as s } from "./NewsletterSignup-g8wPQ7NZ.js";
8
- import { t as c } from "./FooterBottom-ZK9F7wLx.js";
9
- import { t as l } from "./FooterHelp-Csfq-quf.js";
10
- import { t as u } from "./FooterLinks-CGoBeReu.js";
11
- import { t as d } from "./YoutubeModal-D_pHHwxa.js";
8
+ import { t as s } from "./NewsletterSignup-BPLup66s.js";
9
+ import { t as c } from "./FooterBottom-B8GCRg2o.js";
10
+ import { t as l } from "./FooterHelp-D5X2Pco9.js";
11
+ import { t as u } from "./FooterLinks-CCW29MM7.js";
12
+ import { t as d } from "./YoutubeModal-j51vfjYk.js";
12
13
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
13
14
  var m = {
14
15
  discordCard: "_4W4F3q_discordCard",
@@ -1,7 +1,8 @@
1
- import { a as e, t } from "./utils-K9S_6_Eq.js";
1
+ "use client";
2
+ import { a as e, t } from "./utils-bAjntFD8.js";
2
3
  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 { t as u } from "./Typography-AvvBRu-u.js";
4
- import { t as d } from "./CookiePolicyModal-CPNTKMHc.js";
4
+ import { n as u } from "./Typography-DI1AkqiO.js";
5
+ import { t as d } from "./CookiePolicyModal-xPb4G_hM.js";
5
6
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
6
7
  //#region node_modules/react-icons/fa6/index.mjs
7
8
  function h(e) {
@@ -1,8 +1,9 @@
1
- import { a as e, t } from "./utils-K9S_6_Eq.js";
2
- import { d as n, g as r } from "./esm-u0DqOC56.js";
1
+ "use client";
2
+ import { a as e, t } from "./utils-bAjntFD8.js";
3
+ import { d as n, g as r } from "./esm-zUd-Cmgs.js";
3
4
  import { t as i } from "./Icon-DJTgdvsG.js";
4
5
  import { o as a, r as o } from "./fa-B95RwBpz.js";
5
- import { t as s } from "./Typography-AvvBRu-u.js";
6
+ import { n as s } from "./Typography-DI1AkqiO.js";
6
7
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
7
8
  var u = {
8
9
  help: "vfdIHG_help",
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { I as t } from "./esm-u0DqOC56.js";
2
+ import { I as t } from "./esm-zUd-Cmgs.js";
3
3
  import { t as n } from "./Icon-DJTgdvsG.js";
4
- import { t as r } from "./Typography-AvvBRu-u.js";
5
- import { t as i } from "./Label-KDdBAgyD.js";
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,3 +1,4 @@
1
+ "use client";
1
2
  import { t as e } from "./clsx-BWCAbrjV.js";
2
3
  import t from "./components/icons/Bubble.js";
3
4
  import n from "./components/icons/Plane.js";
@@ -1,13 +1,14 @@
1
- import { a as e, d as t, i as n, o as r, u as i } from "./utils-K9S_6_Eq.js";
1
+ "use client";
2
+ import { a as e, d as t, i as n, o as r, u as i } from "./utils-bAjntFD8.js";
2
3
  import { t as a } from "./clsx-BWCAbrjV.js";
3
- import { A as o, V as s, b as c, f as l, it as u, j as d, nt as f, p, s as m, st as h, t as g } from "./esm-u0DqOC56.js";
4
- import { t as _ } from "./Button-Ckhn8DSF.js";
4
+ 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";
5
+ import { t as _ } from "./Button-CdrrwvXk.js";
5
6
  import { t as v } from "./Container-BDssaLig.js";
6
7
  import { t as y } from "./Logo-Bz0G2G-k.js";
7
- import { t as b } from "./PrefPanel-Cf-xZ261.js";
8
- import { t as x } from "./Search-Cy79c2sN.js";
9
- import { t as S } from "./Label-KDdBAgyD.js";
10
- import { t as C } from "./Notification-DQostuW6.js";
8
+ import { t as b } from "./PrefPanel-6oTpfC5q.js";
9
+ import { t as x } from "./Label-B-Xt6XQQ.js";
10
+ import { t as S } from "./Notification-DtqcW5FH.js";
11
+ import { Search as C } from "./components/Search/index.js";
11
12
  import { useEffect as w, useRef as T, useState as E } from "react";
12
13
  import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
13
14
  var A = {
@@ -75,7 +76,7 @@ var A = {
75
76
  {
76
77
  title: "Products",
77
78
  url: "https://www.highcharts.com/products/",
78
- icon: /* @__PURE__ */ O(f, {})
79
+ icon: /* @__PURE__ */ O(p, {})
79
80
  },
80
81
  {
81
82
  title: "Demos",
@@ -95,12 +96,12 @@ var A = {
95
96
  {
96
97
  title: "Pricing",
97
98
  url: "https://shop.highcharts.com/",
98
- icon: /* @__PURE__ */ O(u, {})
99
+ icon: /* @__PURE__ */ O(d, {})
99
100
  },
100
101
  {
101
102
  title: "Blog",
102
103
  url: "https://www.highcharts.com/blog/home/",
103
- icon: /* @__PURE__ */ O(h, {})
104
+ icon: /* @__PURE__ */ O(l, {})
104
105
  }
105
106
  ];
106
107
  function B(e, t) {
@@ -126,7 +127,7 @@ function K({ items: e, link: t = "a", host: n = "https://www.highcharts.com", pa
126
127
  className: a(A.subContainer, { [A.compact]: !s }),
127
128
  as: "ul",
128
129
  children: e.map(({ title: e, url: r, prefixMatch: s, icon: c, selectedIcon: l, tag: u, tagVariant: d = "success" }, f) => {
129
- let p = i || typeof window < "u" && window.location.pathname, m = typeof window < "u" && window.location.origin || "http://example.com", h = new URL(r, m), g = p && (!!i || o) && h.origin === m && (s ? p.startsWith(h.pathname) : h.pathname === p), _ = !!(c || l), v = typeof u == "string" || typeof u == "number" ? /* @__PURE__ */ O(S, {
130
+ let p = i || typeof window < "u" && window.location.pathname, m = typeof window < "u" && window.location.origin || "http://example.com", h = new URL(r, m), g = p && (!!i || o) && h.origin === m && (s ? p.startsWith(h.pathname) : h.pathname === p), _ = !!(c || l), v = typeof u == "string" || typeof u == "number" ? /* @__PURE__ */ O(x, {
130
131
  variant: d,
131
132
  iconLeft: !1,
132
133
  children: u
@@ -193,17 +194,17 @@ function Y() {
193
194
  e && R(M, e);
194
195
  }, [e]), null;
195
196
  }
196
- function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host: c = "https://www.highcharts.com", pathname: u, cssVariable: f, position: h = "sticky" }) {
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([]);
197
+ 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" }) {
198
+ let x = 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
199
  n(() => {
199
200
  let e = P.current;
200
201
  if (!e) return;
201
202
  let n = t?.length ? N ? U : W : 0, r = 82 + V.length * 48 + n, i = -(82 + V.length * 48);
202
- if (h === "static") return e.style.transform = "", f && document.documentElement.style.setProperty("--header-bottom", `${r}px`), () => {
203
- e.style.transform = "", f && document.documentElement.style.removeProperty("--header-bottom");
203
+ if (p === "static") return e.style.transform = "", d && document.documentElement.style.setProperty("--header-bottom", `${r}px`), () => {
204
+ e.style.transform = "", d && document.documentElement.style.removeProperty("--header-bottom");
204
205
  };
205
206
  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)`, f && document.documentElement.style.setProperty("--header-bottom", `${r + o}px`), s = o);
207
+ 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
208
  };
208
209
  l();
209
210
  let u = () => {
@@ -211,13 +212,13 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
211
212
  a = e, o = Math.min(0, Math.max(i, o - t)), c === null && (c = window.requestAnimationFrame(l));
212
213
  };
213
214
  return window.addEventListener("scroll", u, { passive: !0 }), () => {
214
- window.removeEventListener("scroll", u), c !== null && cancelAnimationFrame(c), e.style.transform = "", f && document.documentElement.style.removeProperty("--header-bottom");
215
+ window.removeEventListener("scroll", u), c !== null && cancelAnimationFrame(c), e.style.transform = "", d && document.documentElement.style.removeProperty("--header-bottom");
215
216
  };
216
217
  }, [
217
- f,
218
+ d,
218
219
  N,
219
220
  V.length,
220
- h,
221
+ p,
221
222
  t?.length
222
223
  ]), n(() => {
223
224
  if (!o.length) return;
@@ -242,7 +243,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
242
243
  className: A.content,
243
244
  ref: P,
244
245
  children: [
245
- V?.map(({ id: e, content: t, variant: n, closable: r }, i) => /* @__PURE__ */ O(C, {
246
+ V?.map(({ id: e, content: t, variant: n, closable: r }, i) => /* @__PURE__ */ O(S, {
246
247
  id: e,
247
248
  content: t,
248
249
  variant: n,
@@ -267,7 +268,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
267
268
  /* @__PURE__ */ O(s, {
268
269
  className: A.logo,
269
270
  href: B("https://www.highcharts.com/", c),
270
- children: /* @__PURE__ */ O(y, { showText: !M || w && !S })
271
+ children: /* @__PURE__ */ O(y, { showText: !M || w && !x })
271
272
  }),
272
273
  /* @__PURE__ */ O("ul", {
273
274
  className: A.links,
@@ -289,9 +290,9 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
289
290
  children: [/* @__PURE__ */ O("span", {
290
291
  className: A.gpt,
291
292
  children: "Highcharts Assist"
292
- }), /* @__PURE__ */ O(l, {})]
293
+ }), /* @__PURE__ */ O(u, {})]
293
294
  }) }),
294
- /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(x, {}) }),
295
+ /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(C, {}) }),
295
296
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(b, {}) }),
296
297
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
297
298
  className: A.cta,
@@ -299,20 +300,20 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
299
300
  as: s,
300
301
  href: B("https://shop.highcharts.com/", c),
301
302
  "aria-label": "Buy Now",
302
- children: [/* @__PURE__ */ O(p, {}), "Buy Now"]
303
+ children: [/* @__PURE__ */ O(m, {}), "Buy Now"]
303
304
  }) }),
304
305
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
305
306
  className: A.cta,
306
307
  variant: "brand",
307
308
  as: s,
308
309
  href: B("https://www.highcharts.com/download/", c),
309
- children: [/* @__PURE__ */ O(m, {}), "Try for Free"]
310
+ children: [/* @__PURE__ */ O(h, {}), "Try for Free"]
310
311
  }) }),
311
312
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
312
313
  variant: F ? "soft" : "transparent",
313
314
  className: A.menu,
314
315
  onClick: X,
315
- children: [F ? "Close" : "Menu", O(F ? g : d, {})]
316
+ children: [F ? "Close" : "Menu", O(F ? g : f, {})]
316
317
  }) })
317
318
  ]
318
319
  })
@@ -323,7 +324,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
323
324
  items: t,
324
325
  link: s,
325
326
  host: c,
326
- pathname: u
327
+ pathname: l
327
328
  }),
328
329
  r
329
330
  ]
@@ -338,7 +339,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
338
339
  children: [/* @__PURE__ */ O(s, {
339
340
  className: A.logo,
340
341
  href: B("https://www.highcharts.com/", c),
341
- children: /* @__PURE__ */ O(y, { showText: !S })
342
+ children: /* @__PURE__ */ O(y, { showText: !x })
342
343
  }), /* @__PURE__ */ k("ul", {
343
344
  className: A.buttons,
344
345
  children: [
@@ -349,9 +350,9 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
349
350
  children: [/* @__PURE__ */ O("span", {
350
351
  className: A.gpt,
351
352
  children: "Highcharts Assist"
352
- }), /* @__PURE__ */ O(l, {})]
353
+ }), /* @__PURE__ */ O(u, {})]
353
354
  }) }),
354
- /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(x, {}) }),
355
+ /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(C, {}) }),
355
356
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(b, {}) })
356
357
  ]
357
358
  })]
@@ -363,13 +364,13 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
363
364
  fullWidth: !0,
364
365
  as: s,
365
366
  href: B("https://shop.highcharts.com/", c),
366
- children: [/* @__PURE__ */ O(p, {}), "Buy Now"]
367
+ children: [/* @__PURE__ */ O(m, {}), "Buy Now"]
367
368
  }) }), /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
368
369
  variant: "success",
369
370
  fullWidth: !0,
370
371
  as: s,
371
372
  href: B("https://www.highcharts.com/download/", c),
372
- children: [/* @__PURE__ */ O(m, {}), "Try for Free"]
373
+ children: [/* @__PURE__ */ O(h, {}), "Try for Free"]
373
374
  }) })]
374
375
  }),
375
376
  /* @__PURE__ */ O("ul", {
@@ -1,6 +1,7 @@
1
+ "use client";
1
2
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { $ as t, U as n, W as r } from "./esm-u0DqOC56.js";
3
- import { t as i } from "./Button-Ckhn8DSF.js";
3
+ import { $ as t, U as n, W as r } from "./esm-zUd-Cmgs.js";
4
+ import { t as i } from "./Button-CdrrwvXk.js";
4
5
  import { forwardRef as a, useCallback as o, useEffect as s, useRef as c, useState as l } from "react";
5
6
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
6
7
  var f = {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { t as e } from "./clsx-BWCAbrjV.js";
2
3
  import { forwardRef as t, useCallback as n, useEffect as r, useId as i, useRef as a, useState as o } from "react";
3
4
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { u as t } from "./esm-u0DqOC56.js";
2
+ import { u as t } from "./esm-zUd-Cmgs.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  var i = {
5
5
  attention: "UwHMOW_attention",
@@ -0,0 +1,81 @@
1
+ "use client";
2
+ import { t as e } from "./clsx-BWCAbrjV.js";
3
+ import { ot as t } from "./esm-zUd-Cmgs.js";
4
+ import { t as n } from "./Icon-DJTgdvsG.js";
5
+ import { t as r } from "./Typography-DI1AkqiO.js";
6
+ import { createContext as i, forwardRef as a, useContext as o } from "react";
7
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
8
+ var l = {
9
+ bullet: "SZRYAG_bullet",
10
+ content: "SZRYAG_content",
11
+ item: "SZRYAG_item",
12
+ list: "SZRYAG_list",
13
+ marker: "SZRYAG_marker",
14
+ number: "SZRYAG_number",
15
+ "size-100": "SZRYAG_size-100",
16
+ "size-200": "SZRYAG_size-200",
17
+ "size-300": "SZRYAG_size-300",
18
+ "size-50": "SZRYAG_size-50",
19
+ "size-75": "SZRYAG_size-75"
20
+ }, u = {
21
+ 50: 12,
22
+ 75: 12,
23
+ 100: 12,
24
+ 200: 16,
25
+ 300: 16
26
+ }, 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) => {
27
+ let _ = {
28
+ "--hsui-list-color": r[o],
29
+ ...c && { "--hsui-list-icon-color": r[c] },
30
+ ...u !== void 0 && { "--hsui-list-start": u - 1 },
31
+ ...p
32
+ }, v = {
33
+ ref: g,
34
+ role: "list",
35
+ className: e("hsui-list", f, l.list, l[n], l[`size-${i}`]),
36
+ style: _,
37
+ ...h
38
+ };
39
+ return /* @__PURE__ */ s(d.Provider, {
40
+ value: {
41
+ variant: n,
42
+ size: i,
43
+ icon: a
44
+ },
45
+ children: n === "number" ? /* @__PURE__ */ s("ol", {
46
+ ...v,
47
+ start: u,
48
+ children: m
49
+ }) : /* @__PURE__ */ s("ul", {
50
+ ...v,
51
+ children: m
52
+ })
53
+ });
54
+ });
55
+ f.displayName = "List";
56
+ var p = a(({ icon: i, iconColor: a, className: f, style: p, children: m, ...h }, g) => {
57
+ let _ = o(d), v = _?.variant ?? "bullet", y = _?.size ?? 200, b = i ?? _?.icon ?? t, x = a ? {
58
+ "--hsui-list-icon-color": r[a],
59
+ ...p
60
+ } : p;
61
+ return /* @__PURE__ */ c("li", {
62
+ className: e("hsui-list-item", f, l.item),
63
+ ref: g,
64
+ style: x,
65
+ ...h,
66
+ children: [/* @__PURE__ */ s("span", {
67
+ className: l.marker,
68
+ "aria-hidden": "true",
69
+ children: v === "bullet" && /* @__PURE__ */ s(n, {
70
+ name: b,
71
+ size: u[y]
72
+ })
73
+ }), /* @__PURE__ */ s("span", {
74
+ className: l.content,
75
+ children: m
76
+ })]
77
+ });
78
+ });
79
+ p.displayName = "ListItem";
80
+ //#endregion
81
+ export { p as n, f as t };
@@ -1,7 +1,8 @@
1
- import { a as e } from "./utils-K9S_6_Eq.js";
1
+ "use client";
2
+ import { a as e } from "./utils-bAjntFD8.js";
2
3
  import { t } from "./clsx-BWCAbrjV.js";
3
- import { T as n, x as r } from "./esm-u0DqOC56.js";
4
- import { t as i } from "./Button-Ckhn8DSF.js";
4
+ import { T as n, x as r } from "./esm-zUd-Cmgs.js";
5
+ import { t as i } from "./Button-CdrrwvXk.js";
5
6
  import { n as a, t as o } from "./ClientLogo-Dj7K48YL.js";
6
7
  import { useEffect as s, useRef as c, useState as l } from "react";
7
8
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -1,11 +1,12 @@
1
- import { l as e } from "./utils-K9S_6_Eq.js";
1
+ "use client";
2
+ import { l as e } from "./utils-bAjntFD8.js";
2
3
  import { t } from "./clsx-BWCAbrjV.js";
3
- import { B as n, et as r, st as i } from "./esm-u0DqOC56.js";
4
- import { t as a } from "./Button-Ckhn8DSF.js";
4
+ import { B as n, ct as r, et as i } from "./esm-zUd-Cmgs.js";
5
+ import { t as a } from "./Button-CdrrwvXk.js";
5
6
  import { t as o } from "./Icon-DJTgdvsG.js";
6
7
  import { t as s } from "./Link-CYR92_U0.js";
7
- import { t as c } from "./InputSolo-DUdKtZjX.js";
8
- import { t as l } from "./Typography-AvvBRu-u.js";
8
+ import { t as c } from "./InputSolo-CbnsJlJu.js";
9
+ import { n as l } from "./Typography-DI1AkqiO.js";
9
10
  import { useEffect as u, useRef as d, useState as f } from "react";
10
11
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
11
12
  var h = {
@@ -72,7 +73,7 @@ function g({ link: g = "a", privacyUrl: _ = "https://www.highcharts.com/privacy/
72
73
  "data-theme": L ? "light" : void 0,
73
74
  children: [
74
75
  /* @__PURE__ */ m("h2", { children: [/* @__PURE__ */ p(o, {
75
- name: i,
76
+ name: r,
76
77
  size: 12
77
78
  }), "Stay in the Loop"] }),
78
79
  L ? /* @__PURE__ */ m("div", {
@@ -104,7 +105,7 @@ function g({ link: g = "a", privacyUrl: _ = "https://www.highcharts.com/privacy/
104
105
  variant: "success",
105
106
  disabled: !0,
106
107
  children: [/* @__PURE__ */ p(o, {
107
- name: r,
108
+ name: i,
108
109
  size: 16
109
110
  }), "You’re in"]
110
111
  }) : /* @__PURE__ */ p(a, {
@@ -1,8 +1,9 @@
1
+ "use client";
1
2
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { t } from "./esm-u0DqOC56.js";
3
- import { t as n } from "./Button-Ckhn8DSF.js";
3
+ import { t } from "./esm-zUd-Cmgs.js";
4
+ import { t as n } from "./Button-CdrrwvXk.js";
4
5
  import { t as r } from "./Container-BDssaLig.js";
5
- import { t as i } from "./Label-KDdBAgyD.js";
6
+ import { t as i } from "./Label-B-Xt6XQQ.js";
6
7
  import { useEffect as a, useState as o } from "react";
7
8
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
8
9
  var u = {
@@ -1,9 +1,10 @@
1
- import { d as e, o as t } from "./utils-K9S_6_Eq.js";
1
+ "use client";
2
+ import { d as e, o as t } from "./utils-bAjntFD8.js";
2
3
  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-u0DqOC56.js";
4
- import { t as c } from "./Button-Ckhn8DSF.js";
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
- import { a as S, i as te, n as C, r as w, t as T } from "./dist-B04QoImH.js";
4
+ import { D as r, E as i, h as a, l as o, tt as s } from "./esm-zUd-Cmgs.js";
5
+ import { t as c } from "./Button-CdrrwvXk.js";
6
+ 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-DGI5uxql.js";
7
+ import { a as S, i as te, n as C, r as w, t as T } from "./dist-D5nNWgEm.js";
7
8
  import * as E from "react";
8
9
  import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
9
10
  //#region node_modules/@radix-ui/react-popover/dist/index.mjs
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { Q as t, Z as n } from "./esm-u0DqOC56.js";
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,3 +1,4 @@
1
+ "use client";
1
2
  import { t as e } from "./clsx-BWCAbrjV.js";
2
3
  import { createContext as t, useCallback as n, useContext as r, useId as i, useState as a } from "react";
3
4
  import { jsx as o, jsxs as s } from "react/jsx-runtime";