highsoft-ui 1.0.176 → 1.0.178

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 (78) hide show
  1. package/CLAUDE.md +38 -0
  2. package/dist/Accordion-NPNV0Rdr.js +73 -0
  3. package/dist/{Breadcrumb-CyaMrJfW.js → Breadcrumb-BQzfkMH0.js} +2 -2
  4. package/dist/{BrowserFrame-_qNod9an.js → BrowserFrame-Bs2fIKzy.js} +4 -4
  5. package/dist/{Button-DFcjZsF4.js → Button-DtCIaVhq.js} +1 -1
  6. package/dist/{ButtonGroup-dTeFICBP.js → ButtonGroup-6tLQmpEH.js} +1 -1
  7. package/dist/{Checkbox-X7FrR_6F.js → Checkbox-CqFkzrVk.js} +1 -1
  8. package/dist/{CodeBlock-rPC0sIvR.js → CodeBlock-BM_Vefdj.js} +4 -4
  9. package/dist/{CookiePolicyModal-D-IOZSoU.js → CookiePolicyModal-BXIr4v-D.js} +2 -2
  10. package/dist/{CopyCode-DS2T69as.js → CopyCode-4IXo0bTs.js} +2 -2
  11. package/dist/{Dropdown-Ck7IASlc.js → Dropdown-BgY76epB.js} +1 -1
  12. package/dist/{Footer-8oEBlwJ5.js → Footer-hAk1PceF.js} +7 -7
  13. package/dist/{FooterBottom-BPuLsXI1.js → FooterBottom-CT_vF7Wo.js} +1 -1
  14. package/dist/{FooterHelp-99gRcRar.js → FooterHelp-VHhF9ED6.js} +1 -1
  15. package/dist/{FooterLinks-DXTz-d8e.js → FooterLinks-DsCivmiy.js} +2 -2
  16. package/dist/{Header-DqE0a41T.js → Header-CEV_MWep.js} +24 -24
  17. package/dist/{InputGrouped-DNiMvxxa.js → InputGrouped-y1UNKVd4.js} +11 -11
  18. package/dist/{Label-DTIv_3zs.js → Label-DwiX1ZiD.js} +1 -1
  19. package/dist/{List-CdwPhveO.js → List-gHC2SJgK.js} +1 -1
  20. package/dist/{LogoCarousel-BsmxIlzx.js → LogoCarousel-e-1WK43R.js} +3 -3
  21. package/dist/{NewsletterSignup-CTbjNSnk.js → NewsletterSignup-Dk1cwk-W.js} +2 -2
  22. package/dist/{Notification-CTSGBhJk.js → Notification-D93nzw6M.js} +3 -3
  23. package/dist/{PrefPanel-CwrWfi3R.js → PrefPanel-DTbo6QDa.js} +7 -7
  24. package/dist/{PrevNextNav-BwP-lRaG.js → PrevNextNav-C406puU6.js} +2 -2
  25. package/dist/{RoadmapDetails-B-2pgXHz.js → RoadmapDetails-DIByXo2r.js} +5 -5
  26. package/dist/{SearchDropdown-g3g30peB.js → SearchDropdown-cml8LqKq.js} +1 -1
  27. package/dist/{VideoPlayer-C0pHiwYx.js → VideoPlayer-Cg9MFkP5.js} +7 -7
  28. package/dist/{VideoPlayerModal-Bh2u5h8g.js → VideoPlayerModal-BzYnI2f2.js} +2 -2
  29. package/dist/{YoutubeModal-B6yOEOaP.js → YoutubeModal-8iX4sMik.js} +1 -1
  30. package/dist/components/Accordion/index.js +2 -0
  31. package/dist/components/Breadcrumb/index.js +1 -1
  32. package/dist/components/BrowserFrame/index.js +1 -1
  33. package/dist/components/Button/index.js +1 -1
  34. package/dist/components/ButtonGroup/index.js +1 -1
  35. package/dist/components/Checkbox/index.js +1 -1
  36. package/dist/components/CodeBlock/index.js +1 -1
  37. package/dist/components/CopyCode/index.js +1 -1
  38. package/dist/components/Dropdown/index.js +1 -1
  39. package/dist/components/Figure/ZoomImage.js +2 -2
  40. package/dist/components/Footer/CookiePolicyModal.js +1 -1
  41. package/dist/components/Footer/FooterBottom.js +1 -1
  42. package/dist/components/Footer/FooterHelp.js +1 -1
  43. package/dist/components/Footer/FooterLinks.js +1 -1
  44. package/dist/components/Footer/YoutubeModal.js +1 -1
  45. package/dist/components/Footer/index.js +1 -1
  46. package/dist/components/Header/index.js +1 -1
  47. package/dist/components/InputGrouped/index.js +1 -1
  48. package/dist/components/Label/index.js +1 -1
  49. package/dist/components/List/index.js +1 -1
  50. package/dist/components/LogoCarousel/index.js +1 -1
  51. package/dist/components/Modal/ModalContactFooter.js +2 -2
  52. package/dist/components/Modal/index.js +2 -2
  53. package/dist/components/NewsletterSignup/index.js +1 -1
  54. package/dist/components/Notification/index.js +1 -1
  55. package/dist/components/PrefPanel/index.js +1 -1
  56. package/dist/components/PrevNextNav/index.js +1 -1
  57. package/dist/components/PromoBanner/index.js +2 -2
  58. package/dist/components/RoadmapDetails/index.js +1 -1
  59. package/dist/components/Search/SearchDialog.js +12 -12
  60. package/dist/components/Search/index.js +2 -2
  61. package/dist/components/SearchDropdown/index.js +1 -1
  62. package/dist/components/Sidebar/NavDisclosure.js +1 -1
  63. package/dist/components/Sidebar/NavGroup.js +1 -1
  64. package/dist/components/Sidebar/Sidebar.js +10 -10
  65. package/dist/components/Sidebar/SidebarLayout.js +1 -1
  66. package/dist/components/Sidebar/SidebarSwitcher.js +1 -1
  67. package/dist/components/VideoCover/index.js +1 -1
  68. package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
  69. package/dist/components/VideoPlayer/index.js +1 -1
  70. package/dist/{create-element-DHbI55TT.js → create-element-ChcNUMOL.js} +1 -1
  71. package/dist/{esm-DQBytmnt.js → esm-CqcQTziN.js} +57 -29
  72. package/dist/highsoft-ui.css +1 -1
  73. package/dist/lib/components/Accordion/index.d.ts +24 -0
  74. package/dist/lib/main.d.ts +2 -0
  75. package/dist/main.js +57 -56
  76. package/dist/{prism-light-D9OePufj.js → prism-light-B3J0jr_a.js} +1 -1
  77. package/dist/scss/variables.scss +24 -0
  78. package/package.json +1 -1
package/CLAUDE.md CHANGED
@@ -158,6 +158,42 @@ The foundational layout component. Use it instead of raw `<div>` with inline sty
158
158
  - **`hoverable`:** adds animated border-highlight + shadow-lift on hover using `--animations-fade-fast` and `--animations-bounce-default`
159
159
  - **`as`:** polymorphic — render as any HTML element
160
160
 
161
+ ### Accordion
162
+ A stack of collapsible sections. Each `AccordionItem` is a native `<details>` with its headline in the `<summary>`, so opening, closing and the keyboard come from the browser (and, where supported, find-in-page opens an item whose body holds a match).
163
+ ```tsx
164
+ import { LinkExternal01 } from '@untitled-ui/icons-react'
165
+
166
+ <Accordion>
167
+ <AccordionItem title="Typescript">
168
+ <p>Typed from the ground up…</p>
169
+ </AccordionItem>
170
+ <AccordionItem title="Dynamic and Customizable" defaultOpen>
171
+ <p>Body text with a <Link href="/docs">link</Link>.</p>
172
+ <Button variant="brand" size={300} href="/docs" iconRight={<LinkExternal01 />}>Button link</Button>
173
+ </AccordionItem>
174
+ </Accordion>
175
+
176
+ // Titles as <h3>, same look — for items that are sections of the page
177
+ <Accordion headingLevel={3}>…</Accordion>
178
+
179
+ // Controlled
180
+ <AccordionItem title="Shipping" open={open} onOpenChange={setOpen}>…</AccordionItem>
181
+ ```
182
+ - **`Accordion`:** a flex column with 8px between items (`--item-spacing-400`). Each item opens and closes on its own; there is no one-open-at-a-time mode. **`headingLevel`** (`2`–`6`) renders every item's title as that heading; unset, titles are plain text (`<span>`).
183
+ - **`AccordionItem`:** **`title`** (the headline, `ReactNode`), **`children`** (the body), **`headingLevel`** (overrides the Accordion's for this item), **`defaultOpen`** or controlled **`open`** + **`onOpenChange(open)`**. Other props and the ref go to the `<details>`. Uncontrolled, `defaultOpen` is rendered as the `open` attribute, so server HTML is already open. Controlled, a summary click calls `onOpenChange` instead of toggling, and changes the browser makes on its own (find-in-page) are reported through `onOpenChange` too.
184
+ - **States, from Figma:** closed items are transparent with a 1px `--HS-surface-ui-border-100` stroke and a `--HS-text-secondary-default` title, so they sit on the page. Open: `--HS-surface-ui-background-0` card, `--HS-surface-ui-border-200`, primary title. Hover (pointer devices only, `@media (hover: hover)`): background-0 card, `--HS-surface-ui-border-300`, primary title, and the indicator takes the transparent Button hover. Keyboard focus: background-0 card and the two-tone ring (the `a11y-focus-ring` mixin with the Figma "Focus/A11Y" 5px outer).
185
+ - **Title element:** the title is `Typography` 400 semi rendered as a `<span>` or, with `headingLevel`, an `<h2>`–`<h6>` — same look either way (margins and any site-wide heading font are reset). There is no paragraph option, unlike the blocks' "Title element" setting: `<summary>` accepts phrasing or heading content, and a `<p>` is neither. The Storybook **Title element** control maps to this prop.
186
+ - **Geometry:** 8px radius, 22px padding inside the stroke, title 20px semi (`Typography` 400) with the line centred on the indicator, 20px between headline and body, body 18px secondary (`Typography` 300) with 24px between its children. The body's end inset is the indicator column (32 + 8px), so its text lines up under the title (Figma draws 47px). Below a 480px card (container query) the body takes the full width.
187
+ - **Indicator:** plus when closed, minus when open — the size-200 transparent `Button` rendered as an `aria-hidden` `<span>` with its role and tab stop removed, because a `<button>` inside `<summary>` is invalid nested interaction.
188
+ - **Body children:** a flex column aligned to the start, so a `Button` keeps its width; direct children's block margins are reset at zero specificity (`:where`), so the gap sets the rhythm and a class margin still wins. Wrap several Buttons in a row element.
189
+ - **Motion:** the body's height animates on `--animations-bounce-default` through `::details-content` + `interpolate-size` (Chrome 129+, Safari 18.4+; others snap) and is instant under `prefers-reduced-motion`. **Colours are not transitioned**, for the same reason as ButtonGroup: a colour transition fades the list behind the page on a `data-theme` flip.
190
+
191
+ **Accessibility:**
192
+ - The `<summary>` is the item's one control: the browser announces it as a button with its expanded state, and Space/Enter toggle it. The whole closed card is the click target; an open body isn't, so its text can be selected and its links and Buttons work as usual.
193
+ - The indicator is `aria-hidden`, so the button is named by the title alone. A closed body is out of the tab order and the accessibility tree.
194
+ - **Headings:** set `headingLevel` when the items are sections of the page, at the level that fits the outline (`3` under a section's `<h2>`), rather than putting a `Heading` inside `title`. Leave it unset for a list of short questions or options. The heading sits inside the `<summary>`, which is valid HTML, but screen readers differ: some list it in their headings navigation, others treat the summary as a button and read only its text. So write the title to work as a button name too.
195
+ - Focus is drawn on the card edge (`:has(> summary:focus-visible)`) rather than on the summary, since the card is what you click. The ring is the background-coloured gap + brand outer, as on the other form controls.
196
+
161
197
  ### Button
162
198
  ```tsx
163
199
  <Button variant="brand" size={300}>Primary action</Button>
@@ -735,6 +771,8 @@ A `<figure>` with a `<figcaption>`: an image, or any wrapped content (a `Browser
735
771
  <Footer />
736
772
  ```
737
773
 
774
+ Header-owned colors use dedicated `--HS-header-*` tokens: `main-background`, `main-border`, `focus`, `mobile-background`, `mobile-overlay`, `sub-background`, `sub-border`, `sub-focus`, `sub-default`, `sub-selected`, and `sub-hover`. Submenu text maps to neutral-1000 / brand-700 in light mode, matching Figma's `header/sub` colors, and neutral-25 / brand-400 in dark mode. Hover matches selected by default. Backgrounds, dividers and focus retain their previous palette. Keep primitive references in token definitions, not component styles; do not change global surface or text tokens to retint navigation. Composed Buttons, Labels, Logos and ProductIcons retain their own component tokens. The standard **Playground** and **Sub Navigation** stories expose only view and icon controls, with theme selection in the toolbar. Test CSS color overrides in **Harmony UI / Templates / Header / Token Playground**; these story-only controls select existing primitives, and “default” restores the theme's value. They are not public Header props.
775
+
738
776
  ### Notification
739
777
  Full-width banner at the top of the page (the Header renders these). Supports a single item or a rotating carousel, an optional link, and dismissal.
740
778
  ```tsx
@@ -0,0 +1,73 @@
1
+ "use client";
2
+ import { t as e } from "./clsx-BWCAbrjV.js";
3
+ import { S as t, j as n } from "./esm-CqcQTziN.js";
4
+ import { t as r } from "./Button-DtCIaVhq.js";
5
+ import { n as i } from "./Typography-DI1AkqiO.js";
6
+ import { createContext as a, forwardRef as o, useContext as s, useMemo as c } from "react";
7
+ import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
8
+ var f = {
9
+ accordion: "_5-LWIa_accordion",
10
+ content: "_5-LWIa_content",
11
+ indicator: "_5-LWIa_indicator",
12
+ item: "_5-LWIa_item",
13
+ minus: "_5-LWIa_minus",
14
+ plus: "_5-LWIa_plus",
15
+ summary: "_5-LWIa_summary",
16
+ title: "_5-LWIa_title"
17
+ }, p = a({}), m = o(({ headingLevel: t, className: n, children: r, ...i }, a) => {
18
+ let o = c(() => ({ headingLevel: t }), [t]);
19
+ return /* @__PURE__ */ u(p.Provider, {
20
+ value: o,
21
+ children: /* @__PURE__ */ u("div", {
22
+ ref: a,
23
+ className: e("hsui-accordion", n, f.accordion),
24
+ ...i,
25
+ children: r
26
+ })
27
+ });
28
+ });
29
+ m.displayName = "Accordion";
30
+ var h = o(({ title: a, headingLevel: o, open: c, defaultOpen: m = !1, onOpenChange: h, className: g, children: _, ...v }, y) => {
31
+ let b = s(p), x = o ?? b.headingLevel, S = c !== void 0, C = (e) => {
32
+ S && (e.preventDefault(), h?.(!c));
33
+ };
34
+ return /* @__PURE__ */ d("details", {
35
+ ref: y,
36
+ open: S ? c : m,
37
+ className: e("hsui-accordion-item", g, f.item),
38
+ onToggle: (e) => {
39
+ let t = e.currentTarget.open;
40
+ S && t === c || h?.(t);
41
+ },
42
+ ...v,
43
+ children: [/* @__PURE__ */ d("summary", {
44
+ className: f.summary,
45
+ onClick: C,
46
+ children: [/* @__PURE__ */ u(i, {
47
+ as: x ? `h${x}` : "span",
48
+ size: 400,
49
+ weight: "semi",
50
+ className: f.title,
51
+ children: a
52
+ }), /* @__PURE__ */ u(r, {
53
+ as: "span",
54
+ variant: "transparent",
55
+ size: 200,
56
+ className: f.indicator,
57
+ role: void 0,
58
+ tabIndex: void 0,
59
+ "aria-hidden": "true",
60
+ iconLeft: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(t, { className: f.plus }), /* @__PURE__ */ u(n, { className: f.minus })] })
61
+ })]
62
+ }), /* @__PURE__ */ u(i, {
63
+ as: "div",
64
+ size: 300,
65
+ color: "secondary",
66
+ className: f.content,
67
+ children: _
68
+ })]
69
+ });
70
+ });
71
+ h.displayName = "AccordionItem";
72
+ //#endregion
73
+ export { h as n, m as t };
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { Q as t, st as n } from "./esm-DQBytmnt.js";
3
- import { t as r } from "./Button-DFcjZsF4.js";
2
+ import { et as t, lt as n } from "./esm-CqcQTziN.js";
3
+ import { t as r } from "./Button-DtCIaVhq.js";
4
4
  import { t as i } from "./Icon-DJTgdvsG.js";
5
5
  import { forwardRef as a } from "react";
6
6
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
- import { A as t, K as n, R as r, z as i } from "./esm-DQBytmnt.js";
4
- import { t as a } from "./Button-DFcjZsF4.js";
3
+ import { B as t, J as n, M as r, V as i } from "./esm-CqcQTziN.js";
4
+ import { t as a } from "./Button-DtCIaVhq.js";
5
5
  import { forwardRef as o, useCallback as s, useEffect as c, useRef as l, useState as u } from "react";
6
6
  import { jsx as d, jsxs as f } from "react/jsx-runtime";
7
7
  var p = {
@@ -52,7 +52,7 @@ var h = o(({ variant: o = "full", src: h, displayUrl: g, href: _, action: v = "v
52
52
  }, [G]), X = o === "full" && v !== "none" ? v === "fullscreen" ? /* @__PURE__ */ d(a, {
53
53
  variant: "soft",
54
54
  size: 100,
55
- iconRight: d(V ? t : n, {}),
55
+ iconRight: d(V ? r : n, {}),
56
56
  onClick: Y,
57
57
  children: y ?? (V ? "Exit fullscreen" : "Fullscreen")
58
58
  }) : G ? /* @__PURE__ */ d(a, {
@@ -117,7 +117,7 @@ var h = o(({ variant: o = "full", src: h, displayUrl: g, href: _, action: v = "v
117
117
  children: S.map((e) => /* @__PURE__ */ d(a, {
118
118
  variant: "soft",
119
119
  size: 100,
120
- iconRight: /* @__PURE__ */ d(r, {}),
120
+ iconRight: /* @__PURE__ */ d(t, {}),
121
121
  href: e.href,
122
122
  target: "_blank",
123
123
  rel: "noreferrer",
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { I as t } from "./esm-DQBytmnt.js";
2
+ import { R as t } from "./esm-CqcQTziN.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,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
- import { t } from "./Button-DFcjZsF4.js";
3
+ import { t } from "./Button-DtCIaVhq.js";
4
4
  import { useEffect as n, useState as r } from "react";
5
5
  import { jsx as i } from "react/jsx-runtime";
6
6
  var a = {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
- import { F as t } from "./esm-DQBytmnt.js";
3
+ import { L as t } from "./esm-CqcQTziN.js";
4
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";
5
5
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
6
6
  var d = {
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { r as e, s as t } from "./utils-bAjntFD8.js";
3
3
  import { t as n } from "./clsx-BWCAbrjV.js";
4
- import { J as r, nt as i } from "./esm-DQBytmnt.js";
5
- import { t as a } from "./Button-DFcjZsF4.js";
4
+ import { X as r, it as i } from "./esm-CqcQTziN.js";
5
+ import { t as a } from "./Button-DtCIaVhq.js";
6
6
  import { t as o } from "./FrameworkIcon-B8GmMx0r.js";
7
7
  import { Fragment as s, forwardRef as c, useCallback as l, useEffect as u, useMemo as d, useState as f } from "react";
8
8
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
@@ -23,8 +23,8 @@ var h = {
23
23
  }, g = null;
24
24
  function _() {
25
25
  return g ||= Promise.all([
26
- import("./prism-light-D9OePufj.js"),
27
- import("./create-element-DHbI55TT.js").then((e) => e.n),
26
+ import("./prism-light-B3J0jr_a.js"),
27
+ import("./create-element-ChcNUMOL.js").then((e) => e.n),
28
28
  import("./jsx-B57trbk8.js"),
29
29
  import("./tsx-CJFgwLf7.js"),
30
30
  import("./json-Bfzk2Msc.js"),
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { n as e } from "./esm-DQBytmnt.js";
3
- import { t } from "./Button-DFcjZsF4.js";
2
+ import { n as e } from "./esm-CqcQTziN.js";
3
+ import { t } from "./Button-DtCIaVhq.js";
4
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";
5
5
  import { useEffect as l, useRef as u, useState as d } from "react";
6
6
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { r as e, s as t } from "./utils-bAjntFD8.js";
3
3
  import { t as n } from "./clsx-BWCAbrjV.js";
4
- import { J as r, nt as i } from "./esm-DQBytmnt.js";
5
- import { t as a } from "./Button-DFcjZsF4.js";
4
+ import { X as r, it as i } from "./esm-CqcQTziN.js";
5
+ import { t as a } from "./Button-DtCIaVhq.js";
6
6
  import { forwardRef as o, useCallback as s } from "react";
7
7
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
8
  var u = {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
- import { nt as t } from "./esm-DQBytmnt.js";
3
+ import { it as t } from "./esm-CqcQTziN.js";
4
4
  import { t as n } from "./Icon-DJTgdvsG.js";
5
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
6
  import { a as b, i as x, n as S, r as C, t as w } from "./dist-BAH-0dTg.js";
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import { r as e } from "./utils-bAjntFD8.js";
3
- import { Y as t, nt as n } from "./esm-DQBytmnt.js";
4
- import { t as r } from "./Button-DFcjZsF4.js";
3
+ import { Z as t, it as n } from "./esm-CqcQTziN.js";
4
+ import { t as r } from "./Button-DtCIaVhq.js";
5
5
  import { t as i } from "./Container-BDssaLig.js";
6
6
  import { t as a } from "./DiscordInvite-DfPVlJ5G.js";
7
7
  import { t as o } from "./Logo-Bz0G2G-k.js";
8
- import { t as s } from "./NewsletterSignup-CTbjNSnk.js";
9
- import { t as c } from "./FooterBottom-BPuLsXI1.js";
10
- import { t as l } from "./FooterHelp-99gRcRar.js";
11
- import { t as u } from "./FooterLinks-DXTz-d8e.js";
12
- import { t as d } from "./YoutubeModal-B6yOEOaP.js";
8
+ import { t as s } from "./NewsletterSignup-Dk1cwk-W.js";
9
+ import { t as c } from "./FooterBottom-CT_vF7Wo.js";
10
+ import { t as l } from "./FooterHelp-VHhF9ED6.js";
11
+ import { t as u } from "./FooterLinks-DsCivmiy.js";
12
+ import { t as d } from "./YoutubeModal-8iX4sMik.js";
13
13
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
14
14
  var m = {
15
15
  discordCard: "_4W4F3q_discordCard",
@@ -2,7 +2,7 @@
2
2
  import { a as e, t } from "./utils-bAjntFD8.js";
3
3
  import { n } from "./Typography-DI1AkqiO.js";
4
4
  import { a as r, c as i, i as a, n as o, o as s, r as c, s as l, t as u } from "./fa-B95RwBpz.js";
5
- import { t as d } from "./CookiePolicyModal-D-IOZSoU.js";
5
+ import { t as d } from "./CookiePolicyModal-BXIr4v-D.js";
6
6
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
7
7
  //#region node_modules/react-icons/fa6/index.mjs
8
8
  function h(e) {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { a as e, t } from "./utils-bAjntFD8.js";
3
- import { _ as n, f as r } from "./esm-DQBytmnt.js";
3
+ import { _ as n, f as r } from "./esm-CqcQTziN.js";
4
4
  import { n as i } from "./Typography-DI1AkqiO.js";
5
5
  import { t as a } from "./Icon-DJTgdvsG.js";
6
6
  import { o, r as s } from "./fa-B95RwBpz.js";
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { L as t } from "./esm-DQBytmnt.js";
2
+ import { z as t } from "./esm-CqcQTziN.js";
3
3
  import { n } from "./Typography-DI1AkqiO.js";
4
4
  import { t as r } from "./Icon-DJTgdvsG.js";
5
- import { t as i } from "./Label-DTIv_3zs.js";
5
+ import { t as i } from "./Label-DwiX1ZiD.js";
6
6
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
7
  var s = {
8
8
  externalIcon: "N4RQEq_externalIcon",
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { a as e, d as t, i as n, o as r, u as i } from "./utils-bAjntFD8.js";
3
3
  import { t as a } from "./clsx-BWCAbrjV.js";
4
- import { H as o, M as s, at as c, c as l, j as u, lt as d, m as f, n as p, p as m, rt as h, x as g } from "./esm-DQBytmnt.js";
5
- import { t as _ } from "./Button-DFcjZsF4.js";
4
+ import { N as o, P as s, W as c, at as l, c as u, dt as d, m as f, n as p, p as m, st as h, x as g } from "./esm-CqcQTziN.js";
5
+ import { t as _ } from "./Button-DtCIaVhq.js";
6
6
  import { t as v } from "./Container-BDssaLig.js";
7
7
  import { t as y } from "./Logo-Bz0G2G-k.js";
8
- import { t as b } from "./PrefPanel-CwrWfi3R.js";
9
- import { t as x } from "./Label-DTIv_3zs.js";
10
- import { t as S } from "./Notification-CTSGBhJk.js";
8
+ import { t as b } from "./PrefPanel-DTbo6QDa.js";
9
+ import { t as x } from "./Label-DwiX1ZiD.js";
10
+ import { t as S } from "./Notification-D93nzw6M.js";
11
11
  import { Search as C } from "./components/Search/index.js";
12
12
  import { useEffect as w, useRef as T, useState as E } from "react";
13
13
  import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
@@ -76,7 +76,7 @@ var A = {
76
76
  {
77
77
  title: "Products",
78
78
  url: "https://www.highcharts.com/products/",
79
- icon: /* @__PURE__ */ O(h, {})
79
+ icon: /* @__PURE__ */ O(l, {})
80
80
  },
81
81
  {
82
82
  title: "Demos",
@@ -86,17 +86,17 @@ var A = {
86
86
  {
87
87
  title: "Support",
88
88
  url: "https://www.highcharts.com/support/",
89
- icon: /* @__PURE__ */ O(u, {})
89
+ icon: /* @__PURE__ */ O(o, {})
90
90
  },
91
91
  {
92
92
  title: "Resources",
93
93
  url: "https://www.highcharts.com/resources/",
94
- icon: /* @__PURE__ */ O(o, {})
94
+ icon: /* @__PURE__ */ O(c, {})
95
95
  },
96
96
  {
97
97
  title: "Pricing",
98
98
  url: "https://shop.highcharts.com/",
99
- icon: /* @__PURE__ */ O(c, {})
99
+ icon: /* @__PURE__ */ O(h, {})
100
100
  },
101
101
  {
102
102
  title: "Blog",
@@ -194,7 +194,7 @@ function Y() {
194
194
  e && R(M, e);
195
195
  }, [e]), null;
196
196
  }
197
- function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host: u = "https://www.highcharts.com", pathname: d, cssVariable: h, position: g = "sticky" }) {
197
+ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host: l = "https://www.highcharts.com", pathname: d, cssVariable: h, position: g = "sticky" }) {
198
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([]);
199
199
  n(() => {
200
200
  let e = P.current;
@@ -224,7 +224,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
224
224
  if (!o.length) return;
225
225
  let e = I();
226
226
  H(e ? o.filter((t) => !t.id || !e.closed.includes(t.id)) : o);
227
- }, [u, o]);
227
+ }, [l, o]);
228
228
  let q = (e) => {
229
229
  if (e.preventDefault(), !(e.nativeEvent instanceof KeyboardEvent) || e.nativeEvent.code === "Enter" || e.nativeEvent.code === "Space") {
230
230
  let e = document.querySelector("main");
@@ -267,7 +267,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
267
267
  }),
268
268
  /* @__PURE__ */ O(c, {
269
269
  className: A.logo,
270
- href: B("https://www.highcharts.com/", u),
270
+ href: B("https://www.highcharts.com/", l),
271
271
  children: /* @__PURE__ */ O(y, { showText: !M || w && !x })
272
272
  }),
273
273
  /* @__PURE__ */ O("ul", {
@@ -276,7 +276,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
276
276
  variant: "plain",
277
277
  size: 300,
278
278
  as: c,
279
- href: B(t, u),
279
+ href: B(t, l),
280
280
  children: e
281
281
  }) }, n))
282
282
  }),
@@ -286,7 +286,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
286
286
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
287
287
  variant: "transparent",
288
288
  as: c,
289
- href: B("https://www.highcharts.com/chat/gpt/", u),
289
+ href: B("https://www.highcharts.com/chat/gpt/", l),
290
290
  children: [/* @__PURE__ */ O("span", {
291
291
  className: A.gpt,
292
292
  children: "Highcharts Assist"
@@ -298,7 +298,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
298
298
  className: A.cta,
299
299
  variant: "success",
300
300
  as: c,
301
- href: B("https://shop.highcharts.com/", u),
301
+ href: B("https://shop.highcharts.com/", l),
302
302
  "aria-label": "Buy Now",
303
303
  children: [/* @__PURE__ */ O(f, {}), "Buy Now"]
304
304
  }) }),
@@ -306,8 +306,8 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
306
306
  className: A.cta,
307
307
  variant: "brand",
308
308
  as: c,
309
- href: B("https://www.highcharts.com/download/", u),
310
- children: [/* @__PURE__ */ O(l, {}), "Try for Free"]
309
+ href: B("https://www.highcharts.com/download/", l),
310
+ children: [/* @__PURE__ */ O(u, {}), "Try for Free"]
311
311
  }) }),
312
312
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
313
313
  variant: F ? "soft" : "transparent",
@@ -323,7 +323,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
323
323
  !!t?.length && /* @__PURE__ */ O(K, {
324
324
  items: t,
325
325
  link: c,
326
- host: u,
326
+ host: l,
327
327
  pathname: d
328
328
  }),
329
329
  r
@@ -338,7 +338,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
338
338
  className: A.container,
339
339
  children: [/* @__PURE__ */ O(c, {
340
340
  className: A.logo,
341
- href: B("https://www.highcharts.com/", u),
341
+ href: B("https://www.highcharts.com/", l),
342
342
  children: /* @__PURE__ */ O(y, { showText: !x })
343
343
  }), /* @__PURE__ */ k("ul", {
344
344
  className: A.buttons,
@@ -346,7 +346,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
346
346
  /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
347
347
  variant: "transparent",
348
348
  as: c,
349
- href: B("https://www.highcharts.com/chat/gpt/", u),
349
+ href: B("https://www.highcharts.com/chat/gpt/", l),
350
350
  children: [/* @__PURE__ */ O("span", {
351
351
  className: A.gpt,
352
352
  children: "Highcharts Assist"
@@ -363,14 +363,14 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
363
363
  variant: "brand",
364
364
  fullWidth: !0,
365
365
  as: c,
366
- href: B("https://shop.highcharts.com/", u),
366
+ href: B("https://shop.highcharts.com/", l),
367
367
  children: [/* @__PURE__ */ O(f, {}), "Buy Now"]
368
368
  }) }), /* @__PURE__ */ O("li", { children: /* @__PURE__ */ k(_, {
369
369
  variant: "success",
370
370
  fullWidth: !0,
371
371
  as: c,
372
- href: B("https://www.highcharts.com/download/", u),
373
- children: [/* @__PURE__ */ O(l, {}), "Try for Free"]
372
+ href: B("https://www.highcharts.com/download/", l),
373
+ children: [/* @__PURE__ */ O(u, {}), "Try for Free"]
374
374
  }) })]
375
375
  }),
376
376
  /* @__PURE__ */ O("ul", {
@@ -380,7 +380,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
380
380
  size: 500,
381
381
  fullWidth: !0,
382
382
  as: c,
383
- href: B(t, u),
383
+ href: B(t, l),
384
384
  children: [n, e]
385
385
  }) }, r))
386
386
  })
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
- import { G as t, W as n, et as r } from "./esm-DQBytmnt.js";
4
- import { t as i } from "./Button-DFcjZsF4.js";
3
+ import { K as t, nt as n, q as r } from "./esm-CqcQTziN.js";
4
+ import { t as i } from "./Button-DtCIaVhq.js";
5
5
  import { forwardRef as a, useCallback as o, useEffect as s, useRef as c, useState as l } from "react";
6
6
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
7
7
  var f = {
@@ -42,7 +42,7 @@ function m({ children: t, className: n }) {
42
42
  children: t
43
43
  });
44
44
  }
45
- var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labelIcon: h, iconRight: g, button: _, hasError: v = !1, success: y = !1, disabled: b = !1, className: x, wrapperClassName: S, type: C, onFocus: w, onBlur: T, onChange: E, value: D, defaultValue: O, ...k }, A) => {
45
+ var h = a(({ label: n, required: a = !1, helpText: p, showHelpText: m = !1, labelIcon: h, iconRight: g, button: _, hasError: v = !1, success: y = !1, disabled: b = !1, className: x, wrapperClassName: S, type: C, onFocus: w, onBlur: T, onChange: E, value: D, defaultValue: O, ...k }, A) => {
46
46
  let j = c(null), M = A || j, [N, P] = l(!1), [F, I] = l(!1), [L, R] = l(!1), z = C === "password", [B, V] = l(O === void 0 ? "" : String(O)), H = D !== void 0, U = H ? String(D).length > 0 : B.length > 0, W = o((e) => {
47
47
  P(!0), w?.(e);
48
48
  }, [w]), G = o((e) => {
@@ -82,14 +82,14 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
82
82
  children: [/* @__PURE__ */ d("div", {
83
83
  className: f.leftContent,
84
84
  children: [
85
- r && /* @__PURE__ */ d("div", {
85
+ n && /* @__PURE__ */ d("div", {
86
86
  className: f.labelRow,
87
87
  children: [h && /* @__PURE__ */ u("span", {
88
88
  className: f.labelIcon,
89
89
  children: h
90
90
  }), /* @__PURE__ */ d("span", {
91
91
  className: f.label,
92
- children: [r, a && /* @__PURE__ */ u("span", {
92
+ children: [n, a && /* @__PURE__ */ u("span", {
93
93
  className: f.required,
94
94
  children: " *"
95
95
  })]
@@ -100,7 +100,7 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
100
100
  type: Y,
101
101
  className: e(f.inputElement, x),
102
102
  disabled: b,
103
- "aria-label": r,
103
+ "aria-label": n,
104
104
  "aria-required": a,
105
105
  "aria-invalid": v,
106
106
  value: D,
@@ -131,7 +131,7 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
131
131
  e.stopPropagation(), R((e) => !e);
132
132
  },
133
133
  "aria-label": L ? "Hide password" : "Show password",
134
- children: u(L ? n : t, {})
134
+ children: u(L ? t : r, {})
135
135
  }),
136
136
  _
137
137
  ]
@@ -140,7 +140,7 @@ var h = a(({ label: r, required: a = !1, helpText: p, showHelpText: m = !1, labe
140
140
  });
141
141
  });
142
142
  h.displayName = "InputGrouped";
143
- var g = a(({ label: t, required: n = !1, helpText: i, showHelpText: a = !1, labelIcon: s, hasError: p = !1, success: m = !1, disabled: h = !1, className: g, wrapperClassName: _, placeholder: v, children: y, onFocus: b, onBlur: x, onChange: S, value: C, defaultValue: w, ...T }, E) => {
143
+ var g = a(({ label: t, required: r = !1, helpText: i, showHelpText: a = !1, labelIcon: s, hasError: p = !1, success: m = !1, disabled: h = !1, className: g, wrapperClassName: _, placeholder: v, children: y, onFocus: b, onBlur: x, onChange: S, value: C, defaultValue: w, ...T }, E) => {
144
144
  let D = c(null), O = E || D, [k, A] = l(!1), [j, M] = l(!1), [N, P] = l(w === void 0 ? "" : String(w)), F = C !== void 0, I = F ? String(C).length > 0 : N.length > 0, L = o((e) => {
145
145
  A(!0), b?.(e);
146
146
  }, [b]), R = o((e) => {
@@ -180,7 +180,7 @@ var g = a(({ label: t, required: n = !1, helpText: i, showHelpText: a = !1, labe
180
180
  children: s
181
181
  }), /* @__PURE__ */ d("span", {
182
182
  className: f.label,
183
- children: [t, n && /* @__PURE__ */ u("span", {
183
+ children: [t, r && /* @__PURE__ */ u("span", {
184
184
  className: f.required,
185
185
  children: " *"
186
186
  })]
@@ -191,7 +191,7 @@ var g = a(({ label: t, required: n = !1, helpText: i, showHelpText: a = !1, labe
191
191
  className: e(f.inputElement, f.selectElement, g),
192
192
  disabled: h,
193
193
  "aria-label": t,
194
- "aria-required": n,
194
+ "aria-required": r,
195
195
  "aria-invalid": p,
196
196
  value: C,
197
197
  defaultValue: w,
@@ -215,7 +215,7 @@ var g = a(({ label: t, required: n = !1, helpText: i, showHelpText: a = !1, labe
215
215
  className: f.rightContent,
216
216
  children: /* @__PURE__ */ u("span", {
217
217
  className: e(f.iconRight, f.chevron),
218
- children: /* @__PURE__ */ u(r, {})
218
+ children: /* @__PURE__ */ u(n, {})
219
219
  })
220
220
  })]
221
221
  })
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./clsx-BWCAbrjV.js";
2
- import { d as t } from "./esm-DQBytmnt.js";
2
+ import { d as t } from "./esm-CqcQTziN.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  var i = {
5
5
  attention: "UwHMOW_attention",
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
- import { st as t } from "./esm-DQBytmnt.js";
3
+ import { lt as t } from "./esm-CqcQTziN.js";
4
4
  import { t as n } from "./Typography-DI1AkqiO.js";
5
5
  import { t as r } from "./Icon-DJTgdvsG.js";
6
6
  import { createContext as i, forwardRef as a, useContext as o } from "react";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { a as e } from "./utils-bAjntFD8.js";
3
3
  import { t } from "./clsx-BWCAbrjV.js";
4
- import { E as n, S as r } from "./esm-DQBytmnt.js";
5
- import { t as i } from "./Button-DFcjZsF4.js";
4
+ import { C as n, D as r } from "./esm-CqcQTziN.js";
5
+ import { t as i } from "./Button-DtCIaVhq.js";
6
6
  import { n as a, t as o } from "./ClientLogo-Dj7K48YL.js";
7
7
  import { useEffect as s, useRef as c, useState as l } from "react";
8
8
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -108,7 +108,7 @@ function h({ logos: h = m, size: g = 28, gap: _ = 64, speed: v = 40, direction:
108
108
  size: 50,
109
109
  className: p.pauseButton,
110
110
  onClick: () => L((e) => !e),
111
- iconLeft: d(I ? r : n, {}),
111
+ iconLeft: d(I ? n : r, {}),
112
112
  children: I ? w : C
113
113
  })
114
114
  ] }), /* @__PURE__ */ d("section", {
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { l as e } from "./utils-bAjntFD8.js";
3
3
  import { t } from "./clsx-BWCAbrjV.js";
4
- import { V as n, lt as r, tt as i } from "./esm-DQBytmnt.js";
5
- import { t as a } from "./Button-DFcjZsF4.js";
4
+ import { U as n, dt as r, rt as i } from "./esm-CqcQTziN.js";
5
+ import { t as a } from "./Button-DtCIaVhq.js";
6
6
  import { n as o } from "./Typography-DI1AkqiO.js";
7
7
  import { t as s } from "./Icon-DJTgdvsG.js";
8
8
  import { t as c } from "./Link-CYR92_U0.js";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
- import { n as t } from "./esm-DQBytmnt.js";
4
- import { t as n } from "./Button-DFcjZsF4.js";
3
+ import { n as t } from "./esm-CqcQTziN.js";
4
+ import { t as n } from "./Button-DtCIaVhq.js";
5
5
  import { t as r } from "./Container-BDssaLig.js";
6
- import { t as i } from "./Label-DTIv_3zs.js";
6
+ import { t as i } from "./Label-DwiX1ZiD.js";
7
7
  import { useEffect as a, useState as o } from "react";
8
8
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
9
9
  var u = {