highsoft-ui 1.0.188 → 1.0.190
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 +8 -4
- package/dist/{Accordion-NPNV0Rdr.js → Accordion-BAuBLmE3.js} +2 -2
- package/dist/{Breadcrumb-BQzfkMH0.js → Breadcrumb-DyHxzIHZ.js} +4 -4
- package/dist/{BrowserFrame-Bs2fIKzy.js → BrowserFrame-BPBOv1Tk.js} +5 -5
- package/dist/{Button-DtCIaVhq.js → Button-C45Uhxsb.js} +1 -1
- package/dist/{ButtonGroup-6tLQmpEH.js → ButtonGroup-CiqrtZuw.js} +1 -1
- package/dist/{Checkbox-CqFkzrVk.js → Checkbox-CVftEg1_.js} +1 -1
- package/dist/{CodeBlock-BM_Vefdj.js → CodeBlock-B3wBSBYj.js} +4 -4
- package/dist/{CookiePolicyModal-BXIr4v-D.js → CookiePolicyModal-DjSphVoO.js} +2 -2
- package/dist/{CopyCode-4IXo0bTs.js → CopyCode-CUpfwNcv.js} +2 -2
- package/dist/{Dropdown-BgY76epB.js → Dropdown-CrVLfZiy.js} +2 -2
- package/dist/{Features-BQ5o3wcc.js → Features-Cgcbnv5_.js} +1 -1
- package/dist/{Footer-BjrF6d17.js → Footer-DzsWk7mZ.js} +7 -7
- package/dist/{FooterBottom-CT_vF7Wo.js → FooterBottom-Dr8pA9M3.js} +1 -1
- package/dist/{FooterHelp-VHhF9ED6.js → FooterHelp-CTJGT2jE.js} +2 -2
- package/dist/{FooterLinks-wFTLUi2R.js → FooterLinks-WUB3E0CX.js} +3 -3
- package/dist/{Header-Dbi8eOiH.js → Header-LQoKnhWx.js} +16 -16
- package/dist/Icon-BUgFags4.js +37 -0
- package/dist/{InputGrouped-B3WGuESX.js → InputGrouped-Ddlan78b.js} +3 -3
- package/dist/{Label-DwiX1ZiD.js → Label-BE2jiXll.js} +1 -1
- package/dist/List-DsP9RBn1.js +88 -0
- package/dist/{LogoCarousel-e-1WK43R.js → LogoCarousel-DZCklh0c.js} +3 -3
- package/dist/{NewsletterSignup-Dk1cwk-W.js → NewsletterSignup-DZNPeWVb.js} +5 -5
- package/dist/{Notification-D93nzw6M.js → Notification-BSUYpeGy.js} +3 -3
- package/dist/{PrefPanel-DTbo6QDa.js → PrefPanel-Dqu4mVyV.js} +7 -7
- package/dist/{PrevNextNav-C406puU6.js → PrevNextNav-ChtdXmcy.js} +2 -2
- package/dist/{ProductNotice-BfI0v5Ag.js → ProductNotice-DnQEPFsx.js} +2 -2
- package/dist/{RoadmapDetails-DIByXo2r.js → RoadmapDetails-BgX6JZ4M.js} +5 -5
- package/dist/{SearchDropdown-cml8LqKq.js → SearchDropdown-DeqQ84uc.js} +2 -2
- package/dist/VideoPlayer-DmgXtaQU.js +456 -0
- package/dist/{VideoPlayerModal-BzYnI2f2.js → VideoPlayerModal-bQthGzgn.js} +2 -2
- package/dist/{YoutubeModal-8iX4sMik.js → YoutubeModal-CAsJ5oKk.js} +1 -1
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/Breadcrumb/index.js +1 -1
- 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/Features/index.js +1 -1
- package/dist/components/Figure/ZoomImage.js +3 -3
- 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/Icon/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 +1 -1
- package/dist/components/LogoCarousel/index.js +1 -1
- package/dist/components/Modal/ModalContactFooter.js +2 -2
- package/dist/components/Modal/index.js +2 -2
- 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/ProductNotice/index.js +1 -1
- package/dist/components/PromoBanner/index.js +19 -19
- package/dist/components/RoadmapDetails/index.js +1 -1
- package/dist/components/Search/SearchDialog.js +8 -8
- package/dist/components/Search/index.js +2 -2
- package/dist/components/SearchDropdown/index.js +1 -1
- package/dist/components/Sidebar/NavDisclosure.js +2 -2
- package/dist/components/Sidebar/NavGroup.js +2 -2
- package/dist/components/Sidebar/Sidebar.js +11 -11
- package/dist/components/Sidebar/SidebarLayout.js +1 -1
- package/dist/components/Sidebar/SidebarSwitcher.js +2 -2
- package/dist/components/VideoCover/index.js +115 -102
- package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
- package/dist/components/VideoPlayer/index.js +1 -1
- package/dist/{create-element-ChcNUMOL.js → create-element-BP8g1yS0.js} +1 -1
- package/dist/{esm-CqcQTziN.js → esm-BMNJ2hLn.js} +79 -51
- package/dist/highsoft-ui.css +1 -1
- package/dist/lib/components/Icon/index.d.ts +4 -2
- package/dist/lib/components/VideoCover/index.d.ts +5 -2
- package/dist/main.js +26 -26
- package/dist/{prism-light-B3J0jr_a.js → prism-light-9X-EbG8v.js} +1 -1
- package/dist/{styles.module-BnKyCO6_.js → styles.module-G9LPGB5g.js} +2 -0
- package/package.json +1 -1
- package/dist/Icon-DJTgdvsG.js +0 -36
- package/dist/List-gHC2SJgK.js +0 -81
- package/dist/VideoPlayer-Cg9MFkP5.js +0 -456
package/CLAUDE.md
CHANGED
|
@@ -366,7 +366,7 @@ A settings list: `ToggleCard` rows in one frame with hairline dividers, each a w
|
|
|
366
366
|
- **Weights:** `"normal"`, `"medium"`, `"semi"`
|
|
367
367
|
|
|
368
368
|
### List
|
|
369
|
-
Bulleted or numbered list at the body-text sizes. Bullets are icons
|
|
369
|
+
Bulleted or numbered list at the body-text sizes. Bullets are icons at `Icon`'s size and stroke scale; numbers are plain decimals.
|
|
370
370
|
```tsx
|
|
371
371
|
import { ShoppingCart01, Check, XClose } from '@untitled-ui/icons-react'
|
|
372
372
|
|
|
@@ -388,16 +388,19 @@ import { ShoppingCart01, Check, XClose } from '@untitled-ui/icons-react'
|
|
|
388
388
|
</List>
|
|
389
389
|
```
|
|
390
390
|
- **`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.
|
|
391
|
-
- **`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.
|
|
391
|
+
- **`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 for one digit (and wider for longer numbers, see below), right-aligned, medium weight.
|
|
392
392
|
- **`icon`:** the bullet, an `@untitled-ui/icons-react` component (default `ArrowRight`). `ListItem` takes its own `icon` to override one row.
|
|
393
393
|
- **`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.
|
|
394
394
|
- **`start`:** first number of a `number` list.
|
|
395
|
-
- Rows have a 10px gap between marker and text and 4px block padding; a wrapping item keeps its marker beside the first line.
|
|
395
|
+
- Rows have a 10px gap between marker and text and 4px block padding; a wrapping item keeps its marker beside the first line, and an empty item keeps a full row (one line plus the padding), so its marker never overlaps the next one.
|
|
396
|
+
- **Markup:** no wrapper spans. A bullet item is `<li><svg class="…marker" aria-hidden="true">…</svg>children</li>`; a number item is `<li>children</li>`, its numeral a counter on the `<li>`'s `::before`. The `<li>` is a block inset by the marker column plus the gap, with the marker absolutely positioned in that inset, so children are ordinary inline content: `<strong>`, `<a>` or a `Typography` span stay inside the sentence. Don't make the `<li>` a flex or grid container — every child would become its own item and the sentence would break apart.
|
|
397
|
+
- **Long numbers:** `List` counts its element children, including items grouped in React fragments, and uses `start` to set `--hsui-list-digits` on the `<ol>`. The numeral column grows by `1ch` for each extra digit, so all rows share the same text edge and the full marker fits inside a clipping parent. If a child component renders multiple items, set `--hsui-list-digits` from the actual item count.
|
|
398
|
+
- **Server-rendered copies** must output the same markup with the hashed `item`/`marker` classes (the WordPress `hs-ui-list-item` block's `render.php`). A numbered list that can pass 9 also needs `--hsui-list-digits` in the `<ol>`'s style, the character count of its widest number (the `hs-ui-list` block's `render.php` knows its `start` and its inner blocks). Without it the column stays one digit wide and longer numerals hang past its start. Markup that still wraps the icon in `marker` > `hsui-icon` spans keeps rendering correctly; the `content` class no longer exists.
|
|
396
399
|
- **No nesting.** Indented sub-lists are not part of the design and get no styling — flatten the content, or use consecutive lists under headings.
|
|
397
400
|
|
|
398
401
|
**Accessibility:**
|
|
399
402
|
- 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.
|
|
400
|
-
- The icon marker is `aria-hidden
|
|
403
|
+
- The icon marker is `aria-hidden`, and the numeral is a CSS counter with empty alternative text (`content: counter(hsui-list) '.' / ''`), which keeps it out of the accessibility tree: Chrome otherwise exposes generated content as text and "2." would be read on top of the position. The ordinal comes from the `<ol>` itself. Browsers without the alternative-text syntax use the plain `content` declaration before it. Don't put meaning in the icon alone: a check/cross per row needs the words to say included or not.
|
|
401
404
|
- 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.
|
|
402
405
|
|
|
403
406
|
### Features
|
|
@@ -468,6 +471,7 @@ import { ChevronRight } from '@untitled-ui/icons-react'
|
|
|
468
471
|
```
|
|
469
472
|
- **`name`:** the icon component from `@untitled-ui/icons-react`
|
|
470
473
|
- **`size`:** `12` | `16` | `20` | `24` (default) | `32` | `40` | `52` | `64` | `72` — each maps to a stroke width (16 → 1.33, 20 → 1.67, 24 → 2), which is what keeps icons visually consistent at different sizes
|
|
474
|
+
- **`bare`:** renders the SVG directly and applies `className` to it. `ListItem` uses this for its bullet marker.
|
|
471
475
|
- The size is applied as an **inline style on the `<svg>`**, not just attributes — so ancestor rules like Button/Label's `svg { width: … }` (or app-global svg CSS) can't shrink the icon out from under its wrapper.
|
|
472
476
|
- Icons passed to `Button`/`Label` via `iconLeft`/`iconRight` don't need this — those components size raw SVG children themselves.
|
|
473
477
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as r } from "./Button-
|
|
3
|
+
import { C as t, M as n } from "./esm-BMNJ2hLn.js";
|
|
4
|
+
import { t as r } from "./Button-C45Uhxsb.js";
|
|
5
5
|
import { n as i } from "./Typography-DI1AkqiO.js";
|
|
6
6
|
import { createContext as a, forwardRef as o, useContext as s, useMemo as c } from "react";
|
|
7
7
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as r } from "./Button-
|
|
4
|
-
import { t as i } from "./Icon-
|
|
2
|
+
import { dt as t, nt as n } from "./esm-BMNJ2hLn.js";
|
|
3
|
+
import { t as r } from "./Button-C45Uhxsb.js";
|
|
4
|
+
import { t as i } from "./Icon-BUgFags4.js";
|
|
5
5
|
import { forwardRef as a } from "react";
|
|
6
6
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
7
|
var c = {
|
|
@@ -23,7 +23,7 @@ var c = {
|
|
|
23
23
|
"aria-hidden": "true",
|
|
24
24
|
children: "/"
|
|
25
25
|
}) : /* @__PURE__ */ o(i, {
|
|
26
|
-
name: l === "arrow" ?
|
|
26
|
+
name: l === "arrow" ? t : n,
|
|
27
27
|
size: 12,
|
|
28
28
|
className: c.sep,
|
|
29
29
|
"aria-hidden": "true"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as a } from "./Button-
|
|
3
|
+
import { H as t, N as n, V as r, Y as i } from "./esm-BMNJ2hLn.js";
|
|
4
|
+
import { t as a } from "./Button-C45Uhxsb.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,13 +52,13 @@ 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 ?
|
|
55
|
+
iconRight: d(V ? n : i, {}),
|
|
56
56
|
onClick: Y,
|
|
57
57
|
children: y ?? (V ? "Exit fullscreen" : "Fullscreen")
|
|
58
58
|
}) : G ? /* @__PURE__ */ d(a, {
|
|
59
59
|
variant: "soft",
|
|
60
60
|
size: 100,
|
|
61
|
-
iconRight: /* @__PURE__ */ d(
|
|
61
|
+
iconRight: /* @__PURE__ */ d(t, {}),
|
|
62
62
|
href: G,
|
|
63
63
|
target: "_blank",
|
|
64
64
|
rel: "noreferrer",
|
|
@@ -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(
|
|
120
|
+
iconRight: /* @__PURE__ */ d(r, {}),
|
|
121
121
|
href: e.href,
|
|
122
122
|
target: "_blank",
|
|
123
123
|
rel: "noreferrer",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import {
|
|
3
|
+
import { R as t } from "./esm-BMNJ2hLn.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 {
|
|
5
|
-
import { t as a } from "./Button-
|
|
4
|
+
import { Z as r, ot as i } from "./esm-BMNJ2hLn.js";
|
|
5
|
+
import { t as a } from "./Button-C45Uhxsb.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-
|
|
27
|
-
import("./create-element-
|
|
26
|
+
import("./prism-light-9X-EbG8v.js"),
|
|
27
|
+
import("./create-element-BP8g1yS0.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-
|
|
3
|
-
import { t } from "./Button-
|
|
2
|
+
import { n as e } from "./esm-BMNJ2hLn.js";
|
|
3
|
+
import { t } from "./Button-C45Uhxsb.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 {
|
|
5
|
-
import { t as a } from "./Button-
|
|
4
|
+
import { Z as r, ot as i } from "./esm-BMNJ2hLn.js";
|
|
5
|
+
import { t as a } from "./Button-C45Uhxsb.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,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as n } from "./Icon-
|
|
3
|
+
import { ot as t } from "./esm-BMNJ2hLn.js";
|
|
4
|
+
import { t as n } from "./Icon-BUgFags4.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";
|
|
7
7
|
import { a as T, i as E, n as ee, r as te, t as ne } from "./dist-D5nNWgEm.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
3
|
import { t } from "./Typography-DI1AkqiO.js";
|
|
4
|
-
import { t as n } from "./Icon-
|
|
4
|
+
import { t as n } from "./Icon-BUgFags4.js";
|
|
5
5
|
import { createContext as r, forwardRef as i, useContext as a } from "react";
|
|
6
6
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
7
|
var c = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as e } from "./utils-bAjntFD8.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as r } from "./Button-
|
|
3
|
+
import { Q as t, ot as n } from "./esm-BMNJ2hLn.js";
|
|
4
|
+
import { t as r } from "./Button-C45Uhxsb.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-
|
|
9
|
-
import { t as c } from "./FooterBottom-
|
|
10
|
-
import { t as l } from "./FooterHelp-
|
|
11
|
-
import { t as u } from "./FooterLinks-
|
|
12
|
-
import { t as d } from "./YoutubeModal-
|
|
8
|
+
import { t as s } from "./NewsletterSignup-DZNPeWVb.js";
|
|
9
|
+
import { t as c } from "./FooterBottom-Dr8pA9M3.js";
|
|
10
|
+
import { t as l } from "./FooterHelp-CTJGT2jE.js";
|
|
11
|
+
import { t as u } from "./FooterLinks-WUB3E0CX.js";
|
|
12
|
+
import { t as d } from "./YoutubeModal-CAsJ5oKk.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-
|
|
5
|
+
import { t as d } from "./CookiePolicyModal-DjSphVoO.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,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as e, t } from "./utils-bAjntFD8.js";
|
|
3
|
-
import { _ as n, f as r } from "./esm-
|
|
3
|
+
import { _ as n, f as r } from "./esm-BMNJ2hLn.js";
|
|
4
4
|
import { n as i } from "./Typography-DI1AkqiO.js";
|
|
5
|
-
import { t as a } from "./Icon-
|
|
5
|
+
import { t as a } from "./Icon-BUgFags4.js";
|
|
6
6
|
import { o, r as s } from "./fa-B95RwBpz.js";
|
|
7
7
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
8
|
var u = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import {
|
|
2
|
+
import { B as t } from "./esm-BMNJ2hLn.js";
|
|
3
3
|
import { n } from "./Typography-DI1AkqiO.js";
|
|
4
|
-
import { t as r } from "./Icon-
|
|
5
|
-
import { t as i } from "./Label-
|
|
4
|
+
import { t as r } from "./Icon-BUgFags4.js";
|
|
5
|
+
import { t as i } from "./Label-BE2jiXll.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 {
|
|
5
|
-
import { t as _ } from "./Button-
|
|
4
|
+
import { F as o, G as s, P as c, S as l, c as u, lt as d, m as f, n as p, p as m, pt as h, st as g } from "./esm-BMNJ2hLn.js";
|
|
5
|
+
import { t as _ } from "./Button-C45Uhxsb.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-
|
|
9
|
-
import { t as x } from "./Label-
|
|
10
|
-
import { t as S } from "./Notification-
|
|
8
|
+
import { t as b } from "./PrefPanel-Dqu4mVyV.js";
|
|
9
|
+
import { t as x } from "./Label-BE2jiXll.js";
|
|
10
|
+
import { t as S } from "./Notification-BSUYpeGy.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,32 +76,32 @@ var A = {
|
|
|
76
76
|
{
|
|
77
77
|
title: "Products",
|
|
78
78
|
url: "https://www.highcharts.com/products/",
|
|
79
|
-
icon: /* @__PURE__ */ O(
|
|
79
|
+
icon: /* @__PURE__ */ O(g, {})
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
title: "Demos",
|
|
83
83
|
url: "https://www.highcharts.com/demo",
|
|
84
|
-
icon: /* @__PURE__ */ O(
|
|
84
|
+
icon: /* @__PURE__ */ O(l, {})
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
title: "Support",
|
|
88
88
|
url: "https://www.highcharts.com/support/",
|
|
89
|
-
icon: /* @__PURE__ */ O(
|
|
89
|
+
icon: /* @__PURE__ */ O(c, {})
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
title: "Resources",
|
|
93
93
|
url: "https://www.highcharts.com/resources/",
|
|
94
|
-
icon: /* @__PURE__ */ O(
|
|
94
|
+
icon: /* @__PURE__ */ O(s, {})
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
title: "Pricing",
|
|
98
98
|
url: "https://shop.highcharts.com/",
|
|
99
|
-
icon: /* @__PURE__ */ O(
|
|
99
|
+
icon: /* @__PURE__ */ O(d, {})
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
title: "Blog",
|
|
103
103
|
url: "https://www.highcharts.com/blog/home/",
|
|
104
|
-
icon: /* @__PURE__ */ O(
|
|
104
|
+
icon: /* @__PURE__ */ O(h, {})
|
|
105
105
|
}
|
|
106
106
|
];
|
|
107
107
|
function B(e, t) {
|
|
@@ -180,7 +180,7 @@ function Y() {
|
|
|
180
180
|
e && R(M, e);
|
|
181
181
|
}, [e]), null;
|
|
182
182
|
}
|
|
183
|
-
function X({ subItems: t, children: r, notifications:
|
|
183
|
+
function X({ subItems: t, children: r, notifications: s = J, link: c = "a", host: l = "https://www.highcharts.com", pathname: d, cssVariable: h, position: g = "sticky" }) {
|
|
184
184
|
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([]);
|
|
185
185
|
n(() => {
|
|
186
186
|
let e = P.current;
|
|
@@ -207,10 +207,10 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
|
|
|
207
207
|
g,
|
|
208
208
|
t?.length
|
|
209
209
|
]), n(() => {
|
|
210
|
-
if (!
|
|
210
|
+
if (!s.length) return;
|
|
211
211
|
let e = I();
|
|
212
|
-
H(e ?
|
|
213
|
-
}, [l,
|
|
212
|
+
H(e ? s.filter((t) => !t.id || !e.closed.includes(t.id)) : s);
|
|
213
|
+
}, [l, s]);
|
|
214
214
|
let q = (e) => {
|
|
215
215
|
if (e.preventDefault(), !(e.nativeEvent instanceof KeyboardEvent) || e.nativeEvent.code === "Enter" || e.nativeEvent.code === "Space") {
|
|
216
216
|
let e = document.querySelector("main");
|
|
@@ -299,7 +299,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: c = "a", host
|
|
|
299
299
|
variant: F ? "soft" : "transparent",
|
|
300
300
|
className: A.menu,
|
|
301
301
|
onClick: X,
|
|
302
|
-
children: [F ? "Close" : "Menu", O(F ? p :
|
|
302
|
+
children: [F ? "Close" : "Menu", O(F ? p : o, {})]
|
|
303
303
|
}) })
|
|
304
304
|
]
|
|
305
305
|
})
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
var n = { icon: "_2G93rW_icon" }, r = {
|
|
4
|
+
12: 1,
|
|
5
|
+
16: 1.33,
|
|
6
|
+
20: 1.67,
|
|
7
|
+
24: 2,
|
|
8
|
+
32: 2.66,
|
|
9
|
+
40: 3,
|
|
10
|
+
52: 4.33,
|
|
11
|
+
64: 5.33,
|
|
12
|
+
72: 6
|
|
13
|
+
};
|
|
14
|
+
function i({ name: i, size: a = 24, bare: o = !1, className: s, strokeWidth: c, style: l, ...u }) {
|
|
15
|
+
let d = /* @__PURE__ */ t(i, {
|
|
16
|
+
width: a,
|
|
17
|
+
height: a,
|
|
18
|
+
strokeWidth: c ?? r[a],
|
|
19
|
+
style: {
|
|
20
|
+
width: a,
|
|
21
|
+
height: a,
|
|
22
|
+
...l
|
|
23
|
+
},
|
|
24
|
+
...o && { className: s },
|
|
25
|
+
...u
|
|
26
|
+
});
|
|
27
|
+
return o ? d : /* @__PURE__ */ t("span", {
|
|
28
|
+
className: e("hsui-icon", n.icon, s),
|
|
29
|
+
style: {
|
|
30
|
+
width: a,
|
|
31
|
+
height: a
|
|
32
|
+
},
|
|
33
|
+
children: d
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { i as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as i } from "./Button-
|
|
3
|
+
import { J as t, it as n, q as r } from "./esm-BMNJ2hLn.js";
|
|
4
|
+
import { t as i } from "./Button-C45Uhxsb.js";
|
|
5
5
|
import { forwardRef as a, useCallback as o, useEffect as s, useId 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 = {
|
|
@@ -138,7 +138,7 @@ var _ = a(({ label: n, required: a = !1, helpText: m, showHelpText: h = !1, labe
|
|
|
138
138
|
e.stopPropagation(), K((e) => !e);
|
|
139
139
|
},
|
|
140
140
|
"aria-label": G ? "Hide password" : "Show password",
|
|
141
|
-
children: d(G ?
|
|
141
|
+
children: d(G ? r : t, {})
|
|
142
142
|
}),
|
|
143
143
|
y
|
|
144
144
|
]
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
3
|
+
import { dt as t } from "./esm-BMNJ2hLn.js";
|
|
4
|
+
import { t as n } from "./Typography-DI1AkqiO.js";
|
|
5
|
+
import { t as r } from "./Icon-BUgFags4.js";
|
|
6
|
+
import { Children as i, Fragment as a, createContext as o, forwardRef as s, isValidElement as c, useContext as l } from "react";
|
|
7
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
8
|
+
var f = {
|
|
9
|
+
bullet: "SZRYAG_bullet",
|
|
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
|
+
}, p = {
|
|
20
|
+
50: 12,
|
|
21
|
+
75: 12,
|
|
22
|
+
100: 12,
|
|
23
|
+
200: 16,
|
|
24
|
+
300: 16
|
|
25
|
+
}, m = o(null);
|
|
26
|
+
function h(e) {
|
|
27
|
+
let t = 0;
|
|
28
|
+
return i.forEach(e, (e) => {
|
|
29
|
+
c(e) && (t += e.type === a ? h(e.props.children) : 1);
|
|
30
|
+
}), t;
|
|
31
|
+
}
|
|
32
|
+
function g(e, t = 1) {
|
|
33
|
+
let n = h(e), r = t + Math.max(n, 1) - 1;
|
|
34
|
+
return Math.max(String(t).length, String(r).length);
|
|
35
|
+
}
|
|
36
|
+
var _ = s(({ variant: r = "bullet", size: i = 200, icon: a = t, color: o = "primary", iconColor: s, start: c, className: l, style: d, children: p, ...h }, _) => {
|
|
37
|
+
let v = r === "number" ? g(p, c) : 1, y = {
|
|
38
|
+
"--hsui-list-color": n[o],
|
|
39
|
+
...s && { "--hsui-list-icon-color": n[s] },
|
|
40
|
+
...c !== void 0 && { "--hsui-list-start": c - 1 },
|
|
41
|
+
...v > 1 && { "--hsui-list-digits": v },
|
|
42
|
+
...d
|
|
43
|
+
}, b = {
|
|
44
|
+
ref: _,
|
|
45
|
+
role: "list",
|
|
46
|
+
className: e("hsui-list", l, f.list, f[r], f[`size-${i}`]),
|
|
47
|
+
style: y,
|
|
48
|
+
...h
|
|
49
|
+
};
|
|
50
|
+
return /* @__PURE__ */ u(m.Provider, {
|
|
51
|
+
value: {
|
|
52
|
+
variant: r,
|
|
53
|
+
size: i,
|
|
54
|
+
icon: a
|
|
55
|
+
},
|
|
56
|
+
children: r === "number" ? /* @__PURE__ */ u("ol", {
|
|
57
|
+
...b,
|
|
58
|
+
start: c,
|
|
59
|
+
children: p
|
|
60
|
+
}) : /* @__PURE__ */ u("ul", {
|
|
61
|
+
...b,
|
|
62
|
+
children: p
|
|
63
|
+
})
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
_.displayName = "List";
|
|
67
|
+
var v = s(({ icon: i, iconColor: a, className: o, style: s, children: c, ...h }, g) => {
|
|
68
|
+
let _ = l(m), v = _?.variant ?? "bullet", y = _?.size ?? 200, b = i ?? _?.icon ?? t, x = a ? {
|
|
69
|
+
"--hsui-list-icon-color": n[a],
|
|
70
|
+
...s
|
|
71
|
+
} : s;
|
|
72
|
+
return /* @__PURE__ */ d("li", {
|
|
73
|
+
className: e("hsui-list-item", o, f.item),
|
|
74
|
+
ref: g,
|
|
75
|
+
style: x,
|
|
76
|
+
...h,
|
|
77
|
+
children: [v === "bullet" && /* @__PURE__ */ u(r, {
|
|
78
|
+
name: b,
|
|
79
|
+
size: p[y],
|
|
80
|
+
bare: !0,
|
|
81
|
+
className: f.marker,
|
|
82
|
+
"aria-hidden": "true"
|
|
83
|
+
}), c]
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
v.displayName = "ListItem";
|
|
87
|
+
//#endregion
|
|
88
|
+
export { v as n, _ as t };
|
|
@@ -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 {
|
|
5
|
-
import { t as i } from "./Button-
|
|
4
|
+
import { O as n, w as r } from "./esm-BMNJ2hLn.js";
|
|
5
|
+
import { t as i } from "./Button-C45Uhxsb.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 ?
|
|
111
|
+
iconLeft: d(I ? r : n, {}),
|
|
112
112
|
children: I ? w : C
|
|
113
113
|
})
|
|
114
114
|
] }), /* @__PURE__ */ d("section", {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { l as e } from "./utils-bAjntFD8.js";
|
|
3
3
|
import { t } from "./clsx-BWCAbrjV.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as a } from "./Button-
|
|
4
|
+
import { W as n, at as r, pt as i } from "./esm-BMNJ2hLn.js";
|
|
5
|
+
import { t as a } from "./Button-C45Uhxsb.js";
|
|
6
6
|
import { n as o } from "./Typography-DI1AkqiO.js";
|
|
7
|
-
import { t as s } from "./Icon-
|
|
7
|
+
import { t as s } from "./Icon-BUgFags4.js";
|
|
8
8
|
import { t as c } from "./Link-CYR92_U0.js";
|
|
9
9
|
import { t as l } from "./InputSolo-CbnsJlJu.js";
|
|
10
10
|
import { useEffect as u, useRef as d, useState as f } from "react";
|
|
@@ -73,7 +73,7 @@ function g({ link: g = "a", privacyUrl: _ = "https://www.highcharts.com/privacy/
|
|
|
73
73
|
"data-theme": L ? "light" : void 0,
|
|
74
74
|
children: [
|
|
75
75
|
/* @__PURE__ */ m("h2", { children: [/* @__PURE__ */ p(s, {
|
|
76
|
-
name:
|
|
76
|
+
name: i,
|
|
77
77
|
size: 12
|
|
78
78
|
}), "Stay in the Loop"] }),
|
|
79
79
|
L ? /* @__PURE__ */ m("div", {
|
|
@@ -105,7 +105,7 @@ function g({ link: g = "a", privacyUrl: _ = "https://www.highcharts.com/privacy/
|
|
|
105
105
|
variant: "success",
|
|
106
106
|
disabled: !0,
|
|
107
107
|
children: [/* @__PURE__ */ p(s, {
|
|
108
|
-
name:
|
|
108
|
+
name: r,
|
|
109
109
|
size: 16
|
|
110
110
|
}), "You’re in"]
|
|
111
111
|
}) : /* @__PURE__ */ p(a, {
|
|
@@ -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-
|
|
4
|
-
import { t as n } from "./Button-
|
|
3
|
+
import { n as t } from "./esm-BMNJ2hLn.js";
|
|
4
|
+
import { t as n } from "./Button-C45Uhxsb.js";
|
|
5
5
|
import { t as r } from "./Container-BDssaLig.js";
|
|
6
|
-
import { t as i } from "./Label-
|
|
6
|
+
import { t as i } from "./Label-BE2jiXll.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 = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as e, o as t } from "./utils-bAjntFD8.js";
|
|
3
3
|
import { t as n } from "./clsx-BWCAbrjV.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as c } from "./Button-
|
|
4
|
+
import { A as r, g as i, k as a, ot as o, u as s } from "./esm-BMNJ2hLn.js";
|
|
5
|
+
import { t as c } from "./Button-C45Uhxsb.js";
|
|
6
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
7
|
import { a as S, i as te, n as C, r as w, t as T } from "./dist-D5nNWgEm.js";
|
|
8
8
|
import * as E from "react";
|
|
@@ -204,11 +204,11 @@ function $({ children: e, id: t, ...r }) {
|
|
|
204
204
|
}), /* @__PURE__ */ k("label", {
|
|
205
205
|
htmlFor: t,
|
|
206
206
|
className: Q.radio,
|
|
207
|
-
children: [e, /* @__PURE__ */ O(
|
|
207
|
+
children: [e, /* @__PURE__ */ O(o, { className: Q.check })]
|
|
208
208
|
})] });
|
|
209
209
|
}
|
|
210
210
|
function de() {
|
|
211
|
-
let { theme: n, systemTheme:
|
|
211
|
+
let { theme: n, systemTheme: o, setTheme: l } = e(), u = t();
|
|
212
212
|
return /* @__PURE__ */ k(oe, { children: [/* @__PURE__ */ O(ce, {
|
|
213
213
|
asChild: !0,
|
|
214
214
|
children: /* @__PURE__ */ k(c, {
|
|
@@ -228,9 +228,9 @@ function de() {
|
|
|
228
228
|
checked: n === "system",
|
|
229
229
|
onChange: () => l("system"),
|
|
230
230
|
children: [
|
|
231
|
-
/* @__PURE__ */ O(
|
|
231
|
+
/* @__PURE__ */ O(r, {}),
|
|
232
232
|
"Auto (",
|
|
233
|
-
|
|
233
|
+
o,
|
|
234
234
|
")"
|
|
235
235
|
]
|
|
236
236
|
}),
|
|
@@ -246,7 +246,7 @@ function de() {
|
|
|
246
246
|
name: "theme",
|
|
247
247
|
checked: n === "dark",
|
|
248
248
|
onChange: () => l("dark"),
|
|
249
|
-
children: [/* @__PURE__ */ O(
|
|
249
|
+
children: [/* @__PURE__ */ O(a, {}), "Dark"]
|
|
250
250
|
})
|
|
251
251
|
] })
|
|
252
252
|
}) })] });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./clsx-BWCAbrjV.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as r } from "./Icon-
|
|
2
|
+
import { nt as t, rt as n } from "./esm-BMNJ2hLn.js";
|
|
3
|
+
import { t as r } from "./Icon-BUgFags4.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";
|
|
6
6
|
var c = {
|