highsoft-ui 1.0.187 → 1.0.189

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 (52) hide show
  1. package/CLAUDE.md +8 -4
  2. package/dist/{Breadcrumb-BQzfkMH0.js → Breadcrumb-Diyjpqys.js} +1 -1
  3. package/dist/{Dropdown-BgY76epB.js → Dropdown-DoQBagdU.js} +1 -1
  4. package/dist/{Features-BQ5o3wcc.js → Features-Cgcbnv5_.js} +1 -1
  5. package/dist/{Footer-BjrF6d17.js → Footer-J3MxvPPO.js} +4 -4
  6. package/dist/{FooterHelp-VHhF9ED6.js → FooterHelp-BMGx8Hk_.js} +1 -1
  7. package/dist/{FooterLinks-wFTLUi2R.js → FooterLinks-Bl9DTxcj.js} +1 -1
  8. package/dist/Icon-BUgFags4.js +37 -0
  9. package/dist/List-_Ahztqfe.js +88 -0
  10. package/dist/{NewsletterSignup-Dk1cwk-W.js → NewsletterSignup-BY5-NuDn.js} +1 -1
  11. package/dist/{PrevNextNav-C406puU6.js → PrevNextNav-ChqvTQGz.js} +1 -1
  12. package/dist/ProductIconFrame-CGrI3X4C.js +38 -0
  13. package/dist/ProductNotice-BfI0v5Ag.js +158 -0
  14. package/dist/{SearchDropdown-cml8LqKq.js → SearchDropdown-X_PX34tw.js} +1 -1
  15. package/dist/{VideoPlayer-Cg9MFkP5.js → VideoPlayer-DRtH0Ah7.js} +1 -1
  16. package/dist/{VideoPlayerModal-BzYnI2f2.js → VideoPlayerModal-DhH0G9cJ.js} +1 -1
  17. package/dist/{YoutubeModal-8iX4sMik.js → YoutubeModal-DcnPW63b.js} +1 -1
  18. package/dist/components/Breadcrumb/index.js +1 -1
  19. package/dist/components/Dropdown/index.js +1 -1
  20. package/dist/components/Features/index.js +1 -1
  21. package/dist/components/Figure/ZoomImage.js +1 -1
  22. package/dist/components/Footer/FooterHelp.js +1 -1
  23. package/dist/components/Footer/FooterLinks.js +1 -1
  24. package/dist/components/Footer/YoutubeModal.js +1 -1
  25. package/dist/components/Footer/index.js +1 -1
  26. package/dist/components/Icon/index.js +1 -1
  27. package/dist/components/List/index.js +1 -1
  28. package/dist/components/NewsletterSignup/index.js +1 -1
  29. package/dist/components/PrevNextNav/index.js +1 -1
  30. package/dist/components/ProductIcon/ProductIconFrame.js +2 -0
  31. package/dist/components/ProductIcon/index.js +54 -2
  32. package/dist/components/ProductNotice/index.js +1 -1
  33. package/dist/components/SearchDropdown/index.js +1 -1
  34. package/dist/components/Sidebar/NavDisclosure.js +1 -1
  35. package/dist/components/Sidebar/NavGroup.js +1 -1
  36. package/dist/components/Sidebar/Sidebar.js +1 -1
  37. package/dist/components/Sidebar/SidebarSwitcher.js +1 -1
  38. package/dist/components/VideoCover/index.js +1 -1
  39. package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
  40. package/dist/components/VideoPlayer/index.js +1 -1
  41. package/dist/highsoft-ui.css +1 -1
  42. package/dist/lib/components/Icon/index.d.ts +4 -2
  43. package/dist/lib/components/ProductIcon/ProductIconFrame.d.ts +24 -0
  44. package/dist/lib/components/ProductIcon/index.d.ts +3 -0
  45. package/dist/lib/components/ProductNotice/index.d.ts +21 -2
  46. package/dist/lib/main.d.ts +3 -1
  47. package/dist/main.js +51 -50
  48. package/package.json +5 -1
  49. package/dist/Icon-DJTgdvsG.js +0 -36
  50. package/dist/List-gHC2SJgK.js +0 -81
  51. package/dist/ProductIcon-Cr6E2K9a.js +0 -75
  52. package/dist/ProductNotice-CtgDdo5_.js +0 -144
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 rendered through `Icon`; numbers are plain decimals.
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` 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.
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
  import { t as e } from "./clsx-BWCAbrjV.js";
2
2
  import { et as t, lt as n } from "./esm-CqcQTziN.js";
3
3
  import { t as r } from "./Button-DtCIaVhq.js";
4
- import { t as i } from "./Icon-DJTgdvsG.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 = {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
3
  import { it as t } from "./esm-CqcQTziN.js";
4
- import { t as n } from "./Icon-DJTgdvsG.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-DJTgdvsG.js";
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 = {
@@ -5,11 +5,11 @@ 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-Dk1cwk-W.js";
8
+ import { t as s } from "./NewsletterSignup-BY5-NuDn.js";
9
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-wFTLUi2R.js";
12
- import { t as d } from "./YoutubeModal-8iX4sMik.js";
10
+ import { t as l } from "./FooterHelp-BMGx8Hk_.js";
11
+ import { t as u } from "./FooterLinks-Bl9DTxcj.js";
12
+ import { t as d } from "./YoutubeModal-DcnPW63b.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 { _ as n, f as r } from "./esm-CqcQTziN.js";
4
4
  import { n as i } from "./Typography-DI1AkqiO.js";
5
- import { t as a } from "./Icon-DJTgdvsG.js";
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,7 +1,7 @@
1
1
  import { t as e } from "./clsx-BWCAbrjV.js";
2
2
  import { z as t } from "./esm-CqcQTziN.js";
3
3
  import { n } from "./Typography-DI1AkqiO.js";
4
- import { t as r } from "./Icon-DJTgdvsG.js";
4
+ import { t as r } from "./Icon-BUgFags4.js";
5
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 = {
@@ -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 };
@@ -0,0 +1,88 @@
1
+ "use client";
2
+ import { t as e } from "./clsx-BWCAbrjV.js";
3
+ import { lt as t } from "./esm-CqcQTziN.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 };
@@ -4,7 +4,7 @@ import { t } from "./clsx-BWCAbrjV.js";
4
4
  import { U as n, dt as r, rt as i } from "./esm-CqcQTziN.js";
5
5
  import { t as a } from "./Button-DtCIaVhq.js";
6
6
  import { n as o } from "./Typography-DI1AkqiO.js";
7
- import { t as s } from "./Icon-DJTgdvsG.js";
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";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./clsx-BWCAbrjV.js";
2
2
  import { et as t, tt as n } from "./esm-CqcQTziN.js";
3
- import { t as r } from "./Icon-DJTgdvsG.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 = {
@@ -0,0 +1,38 @@
1
+ import { t as e } from "./clsx-BWCAbrjV.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ var n = {
4
+ boxInner: "dUDeZG_boxInner",
5
+ boxOuter: "dUDeZG_boxOuter",
6
+ icon: "dUDeZG_icon",
7
+ svg: "dUDeZG_svg"
8
+ };
9
+ //#endregion
10
+ //#region lib/components/ProductIcon/ProductIconFrame.tsx
11
+ function r({ icon: r, size: i = 24, box: a = !1, className: o, style: s, ...c }) {
12
+ let l = /* @__PURE__ */ t("span", {
13
+ className: e("hsui-product-icon", n.icon, o),
14
+ style: {
15
+ width: i,
16
+ height: i
17
+ },
18
+ children: /* @__PURE__ */ t(r, {
19
+ width: i,
20
+ height: i,
21
+ style: {
22
+ width: i,
23
+ height: i,
24
+ ...s
25
+ },
26
+ ...c
27
+ })
28
+ });
29
+ return a ? /* @__PURE__ */ t("span", {
30
+ className: n.boxOuter,
31
+ children: /* @__PURE__ */ t("span", {
32
+ className: n.boxInner,
33
+ children: l
34
+ })
35
+ }) : l;
36
+ }
37
+ //#endregion
38
+ export { r as t };
@@ -0,0 +1,158 @@
1
+ "use client";
2
+ import { useTracker as e } from "./tracking.js";
3
+ import { t } from "./Box-BZgeSeCV.js";
4
+ import { t as n } from "./clsx-BWCAbrjV.js";
5
+ import { r } from "./esm-CqcQTziN.js";
6
+ import { t as i } from "./Button-DtCIaVhq.js";
7
+ import { n as a } from "./Typography-DI1AkqiO.js";
8
+ import o from "./components/ProductIcon/icons/monochrome/Core.js";
9
+ import s from "./components/ProductIcon/icons/monochrome/Dashboards.js";
10
+ import c from "./components/ProductIcon/icons/monochrome/Gantt.js";
11
+ import l from "./components/ProductIcon/icons/monochrome/Grid.js";
12
+ import u from "./components/ProductIcon/icons/monochrome/Maps.js";
13
+ import d from "./components/ProductIcon/icons/monochrome/Orbit.js";
14
+ import f from "./components/ProductIcon/icons/monochrome/Stock.js";
15
+ import p from "./components/ProductIcon/icons/monochrome/Morningstar.js";
16
+ import { t as m } from "./ProductIconFrame-CGrI3X4C.js";
17
+ import { trackProductNotice as h } from "./components/ProductNotice/tracking.js";
18
+ import { useEffect as g, useRef as _, useState as v } from "react";
19
+ import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
20
+ var S = {
21
+ actions: "hJxRhW_actions",
22
+ compactActions: "hJxRhW_compactActions",
23
+ compactClose: "hJxRhW_compactClose",
24
+ compactText: "hJxRhW_compactText",
25
+ content: "hJxRhW_content",
26
+ icon: "hJxRhW_icon",
27
+ message: "hJxRhW_message",
28
+ notice: "hJxRhW_notice",
29
+ "product-notice": "hJxRhW_product-notice",
30
+ surface: "hJxRhW_surface",
31
+ title: "hJxRhW_title",
32
+ wideActions: "hJxRhW_wideActions",
33
+ wideText: "hJxRhW_wideText"
34
+ }, C = {
35
+ core: o,
36
+ stock: f,
37
+ maps: u,
38
+ gantt: c,
39
+ dashboards: s,
40
+ grid: l,
41
+ orbit: d,
42
+ morningstar: p
43
+ };
44
+ function w({ product: o, icon: s, title: c, description: l, compactDescription: u, actions: d, closable: f = !0, onClose: p, closeLabel: w = "Close", tracking: T, tracker: E, className: D, ...O }) {
45
+ let k = _(null), [A, j] = v(!1), M = e(E), N = s ? void 0 : o ?? "orbit", P = _({
46
+ tracking: T,
47
+ promoted: N,
48
+ send: M
49
+ });
50
+ if (g(() => {
51
+ P.current = {
52
+ tracking: T,
53
+ promoted: N,
54
+ send: M
55
+ };
56
+ }), g(() => {
57
+ let e = k.current;
58
+ if (!e) return;
59
+ let t = !1, n = () => {
60
+ t || (t = !0, h(P.current.send, P.current.tracking, "view", P.current.promoted));
61
+ };
62
+ if (typeof IntersectionObserver > "u") {
63
+ n();
64
+ return;
65
+ }
66
+ let r = new IntersectionObserver((e) => {
67
+ e.some((e) => e.isIntersecting) && (r.disconnect(), n());
68
+ }, { threshold: .5 });
69
+ return r.observe(e), () => r.disconnect();
70
+ }, []), A) return null;
71
+ let F = () => {
72
+ h(M, T, "close", N), j(!0), p?.();
73
+ }, I = (d ?? []).slice(0, 2).filter((e) => !!e), L = (e) => I.map((t, n) => {
74
+ let { onClick: r, ...a } = t.buttonProps ?? {};
75
+ return /* @__PURE__ */ b(i, {
76
+ ...a,
77
+ variant: "transparent",
78
+ size: e,
79
+ href: t.href,
80
+ iconLeft: t.iconLeft,
81
+ iconRight: t.iconRight,
82
+ onClick: (e) => {
83
+ t.tracking !== !1 && h(M, T, "click", N, {
84
+ ...t.tracking,
85
+ defaults: {
86
+ link_text: t.label,
87
+ link_url: t.href
88
+ }
89
+ }), t.onClick?.(e), r?.(e);
90
+ },
91
+ children: t.label
92
+ }, `${t.label}-${n}`);
93
+ }), R = (e) => /* @__PURE__ */ b(i, {
94
+ variant: "plain",
95
+ size: e,
96
+ "aria-label": w,
97
+ onClick: F,
98
+ children: /* @__PURE__ */ b(r, {})
99
+ });
100
+ return /* @__PURE__ */ b("div", {
101
+ ref: k,
102
+ className: n("hsui-product-notice", S.notice, D),
103
+ ...O,
104
+ children: /* @__PURE__ */ x(t, {
105
+ border: !0,
106
+ radius: 8,
107
+ padding: 300,
108
+ shadow: 100,
109
+ className: S.surface,
110
+ children: [
111
+ /* @__PURE__ */ x("div", {
112
+ className: S.content,
113
+ children: [/* @__PURE__ */ b("span", {
114
+ className: S.icon,
115
+ "aria-hidden": "true",
116
+ children: s ?? /* @__PURE__ */ b(m, {
117
+ icon: C[N ?? "orbit"],
118
+ size: 24
119
+ })
120
+ }), /* @__PURE__ */ x(a, {
121
+ as: "p",
122
+ size: 200,
123
+ className: S.message,
124
+ style: { "--hsui-typography-color": "var(--product-notice-text)" },
125
+ children: [
126
+ c != null && /* @__PURE__ */ b("strong", {
127
+ className: S.title,
128
+ children: c
129
+ }),
130
+ c != null && (l != null || u != null) && " ",
131
+ u == null ? l : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("span", {
132
+ className: S.wideText,
133
+ children: l
134
+ }), /* @__PURE__ */ b("span", {
135
+ className: S.compactText,
136
+ children: u
137
+ })] })
138
+ ]
139
+ })]
140
+ }),
141
+ (I.length > 0 || f) && /* @__PURE__ */ x("div", {
142
+ className: n(S.actions, S.wideActions),
143
+ children: [L(100), f && R(100)]
144
+ }),
145
+ f && /* @__PURE__ */ b("div", {
146
+ className: S.compactClose,
147
+ children: R(200)
148
+ }),
149
+ I.length > 0 && /* @__PURE__ */ b("div", {
150
+ className: n(S.actions, S.compactActions),
151
+ children: L(200)
152
+ })
153
+ ]
154
+ })
155
+ });
156
+ }
157
+ //#endregion
158
+ export { w as t };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
3
  import { v as t } from "./esm-CqcQTziN.js";
4
- import { t as n } from "./Icon-DJTgdvsG.js";
4
+ import { t as n } from "./Icon-BUgFags4.js";
5
5
  import { t as r } from "./InputSolo-CbnsJlJu.js";
6
6
  import { useCallback as i, useEffect as a, useId as o, useMemo as s, useRef as c, useState as l } from "react";
7
7
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as e } from "./clsx-BWCAbrjV.js";
3
3
  import { E as t, F as n, M as r, a as i, i as a, mt as o, n as s, o as ee, s as c, w as l } from "./esm-CqcQTziN.js";
4
- import { t as u } from "./Icon-DJTgdvsG.js";
4
+ import { t as u } from "./Icon-BUgFags4.js";
5
5
  import { detectProvider as d, providerPosterUrl as f, useMediaEngine as p } from "./components/VideoPlayer/useMediaEngine.js";
6
6
  import { forwardRef as m, useCallback as h, useEffect as g, useId as _, useImperativeHandle as v, useRef as y, useState as b } from "react";
7
7
  import { jsx as x, jsxs as S } from "react/jsx-runtime";
@@ -2,7 +2,7 @@
2
2
  import { r as e } from "./esm-CqcQTziN.js";
3
3
  import { t } from "./dist-an9z21ra.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
- import { t as l } from "./VideoPlayer-Cg9MFkP5.js";
5
+ import { t as l } from "./VideoPlayer-DRtH0Ah7.js";
6
6
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
7
7
  var f = {
8
8
  close: "ig0T5q_close",
@@ -1,6 +1,6 @@
1
1
  import { s as e } from "./fa-B95RwBpz.js";
2
2
  import { VideoCover as t } from "./components/VideoCover/index.js";
3
- import { t as n } from "./VideoPlayerModal-BzYnI2f2.js";
3
+ import { t as n } from "./VideoPlayerModal-DhH0G9cJ.js";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  var a = {
6
6
  youtube: "elwCNG_youtube",
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Breadcrumb-BQzfkMH0.js";
1
+ import { t as e } from "../../Breadcrumb-Diyjpqys.js";
2
2
  export { e as Breadcrumb };
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "../../Dropdown-BgY76epB.js";
1
+ import { n as e, r as t, t as n } from "../../Dropdown-DoQBagdU.js";
2
2
  export { n as Dropdown, e as DropdownItem, t as DropdownSeparator };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../Features-BQ5o3wcc.js";
1
+ import { n as e, t } from "../../Features-Cgcbnv5_.js";
2
2
  export { t as FeatureItem, e as Features };
@@ -3,7 +3,7 @@ import { n as e, t } from "../../esm-CqcQTziN.js";
3
3
  import { t as n } from "../../Button-DtCIaVhq.js";
4
4
  import { n as r } from "../../Typography-DI1AkqiO.js";
5
5
  import { n as i, t as a } from "../../ImagePair-BH6ZnPcE.js";
6
- import { t as o } from "../../Icon-DJTgdvsG.js";
6
+ import { t as o } from "../../Icon-BUgFags4.js";
7
7
  import { useCallback as s, useRef as c } from "react";
8
8
  import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
9
9
  //#region lib/components/Figure/ZoomImage.tsx
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../FooterHelp-VHhF9ED6.js";
1
+ import { t as e } from "../../FooterHelp-BMGx8Hk_.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../FooterLinks-wFTLUi2R.js";
1
+ import { t as e } from "../../FooterLinks-Bl9DTxcj.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../YoutubeModal-8iX4sMik.js";
1
+ import { t as e } from "../../YoutubeModal-DcnPW63b.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Footer-BjrF6d17.js";
1
+ import { t as e } from "../../Footer-J3MxvPPO.js";
2
2
  export { e as Footer };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Icon-DJTgdvsG.js";
1
+ import { t as e } from "../../Icon-BUgFags4.js";
2
2
  export { e as Icon };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../List-gHC2SJgK.js";
1
+ import { n as e, t } from "../../List-_Ahztqfe.js";
2
2
  export { t as List, e as ListItem };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../NewsletterSignup-Dk1cwk-W.js";
1
+ import { t as e } from "../../NewsletterSignup-BY5-NuDn.js";
2
2
  export { e as NewsletterSignup };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../PrevNextNav-C406puU6.js";
1
+ import { t as e } from "../../PrevNextNav-ChqvTQGz.js";
2
2
  export { e as PrevNextNav };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../ProductIconFrame-CGrI3X4C.js";
2
+ export { e as ProductIconFrame };
@@ -1,2 +1,54 @@
1
- import { t as e } from "../../ProductIcon-Cr6E2K9a.js";
2
- export { e as ProductIcon };
1
+ import { t as e } from "./icons/multi/index.js";
2
+ import { t } from "./icons/monochrome/index.js";
3
+ import { t as n } from "./icons/grayscale/index.js";
4
+ import { t as r } from "./icons/line/index.js";
5
+ import { t as i } from "../../ProductIconFrame-CGrI3X4C.js";
6
+ import { jsx as a } from "react/jsx-runtime";
7
+ //#region lib/components/ProductIcon/index.tsx
8
+ var o = {
9
+ core: "Core",
10
+ stock: "Stock",
11
+ maps: "Maps",
12
+ gantt: "Gantt",
13
+ dashboards: "Dashboards",
14
+ grid: "Grid",
15
+ orbit: "Orbit",
16
+ morningstar: "Morningstar",
17
+ demos: "Demos",
18
+ docs: "Docs",
19
+ API: "Api",
20
+ changelog: "Changelog",
21
+ roadmap: "Roadmap",
22
+ "chart chooser": "ChartChooser",
23
+ hca: "Hca",
24
+ a11y: "Accessibility",
25
+ "edu license": "EduLicense",
26
+ gpt: "Gpt",
27
+ editor: "Editor",
28
+ "export server": "ExportServer",
29
+ python: "Python",
30
+ lab: "Lab",
31
+ support: "Support",
32
+ "custom projects": "CustomProjects",
33
+ "case studies": "CaseStudies",
34
+ license: "License",
35
+ "ADV+": "Advantageplus"
36
+ }, s = {
37
+ multi: e,
38
+ monochrome: t,
39
+ grayscale: n,
40
+ line: r
41
+ };
42
+ function c({ icon: e, theme: t = "multi", size: n = 24, box: r = !1, className: c, style: l, ...u }) {
43
+ let d = o[e], f = s[t][d];
44
+ return f ? /* @__PURE__ */ a(i, {
45
+ icon: f,
46
+ size: n,
47
+ box: r,
48
+ className: c,
49
+ style: l,
50
+ ...u
51
+ }) : (console.warn(`ProductIcon: No icon found for "${e}" with theme "${t}"`), null);
52
+ }
53
+ //#endregion
54
+ export { c as ProductIcon };
@@ -1,4 +1,4 @@
1
1
  import "../../tracking.js";
2
2
  import { PRODUCT_NOTICE_EVENTS as e } from "./tracking.js";
3
- import { t } from "../../ProductNotice-CtgDdo5_.js";
3
+ import { t } from "../../ProductNotice-BfI0v5Ag.js";
4
4
  export { e as PRODUCT_NOTICE_EVENTS, t as ProductNotice };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../SearchDropdown-cml8LqKq.js";
1
+ import { t as e } from "../../SearchDropdown-X_PX34tw.js";
2
2
  export { e as SearchDropdown };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as e } from "../../clsx-BWCAbrjV.js";
3
3
  import { et as t } from "../../esm-CqcQTziN.js";
4
- import { t as n } from "../../Icon-DJTgdvsG.js";
4
+ import { t as n } from "../../Icon-BUgFags4.js";
5
5
  import { t as r } from "../../styles.module-B9V15An9.js";
6
6
  import { useId as i, useState as a } from "react";
7
7
  import { jsx as o, jsxs as s } from "react/jsx-runtime";