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.
Files changed (87) hide show
  1. package/CLAUDE.md +8 -4
  2. package/dist/{Accordion-NPNV0Rdr.js → Accordion-BAuBLmE3.js} +2 -2
  3. package/dist/{Breadcrumb-BQzfkMH0.js → Breadcrumb-DyHxzIHZ.js} +4 -4
  4. package/dist/{BrowserFrame-Bs2fIKzy.js → BrowserFrame-BPBOv1Tk.js} +5 -5
  5. package/dist/{Button-DtCIaVhq.js → Button-C45Uhxsb.js} +1 -1
  6. package/dist/{ButtonGroup-6tLQmpEH.js → ButtonGroup-CiqrtZuw.js} +1 -1
  7. package/dist/{Checkbox-CqFkzrVk.js → Checkbox-CVftEg1_.js} +1 -1
  8. package/dist/{CodeBlock-BM_Vefdj.js → CodeBlock-B3wBSBYj.js} +4 -4
  9. package/dist/{CookiePolicyModal-BXIr4v-D.js → CookiePolicyModal-DjSphVoO.js} +2 -2
  10. package/dist/{CopyCode-4IXo0bTs.js → CopyCode-CUpfwNcv.js} +2 -2
  11. package/dist/{Dropdown-BgY76epB.js → Dropdown-CrVLfZiy.js} +2 -2
  12. package/dist/{Features-BQ5o3wcc.js → Features-Cgcbnv5_.js} +1 -1
  13. package/dist/{Footer-BjrF6d17.js → Footer-DzsWk7mZ.js} +7 -7
  14. package/dist/{FooterBottom-CT_vF7Wo.js → FooterBottom-Dr8pA9M3.js} +1 -1
  15. package/dist/{FooterHelp-VHhF9ED6.js → FooterHelp-CTJGT2jE.js} +2 -2
  16. package/dist/{FooterLinks-wFTLUi2R.js → FooterLinks-WUB3E0CX.js} +3 -3
  17. package/dist/{Header-Dbi8eOiH.js → Header-LQoKnhWx.js} +16 -16
  18. package/dist/Icon-BUgFags4.js +37 -0
  19. package/dist/{InputGrouped-B3WGuESX.js → InputGrouped-Ddlan78b.js} +3 -3
  20. package/dist/{Label-DwiX1ZiD.js → Label-BE2jiXll.js} +1 -1
  21. package/dist/List-DsP9RBn1.js +88 -0
  22. package/dist/{LogoCarousel-e-1WK43R.js → LogoCarousel-DZCklh0c.js} +3 -3
  23. package/dist/{NewsletterSignup-Dk1cwk-W.js → NewsletterSignup-DZNPeWVb.js} +5 -5
  24. package/dist/{Notification-D93nzw6M.js → Notification-BSUYpeGy.js} +3 -3
  25. package/dist/{PrefPanel-DTbo6QDa.js → PrefPanel-Dqu4mVyV.js} +7 -7
  26. package/dist/{PrevNextNav-C406puU6.js → PrevNextNav-ChtdXmcy.js} +2 -2
  27. package/dist/{ProductNotice-BfI0v5Ag.js → ProductNotice-DnQEPFsx.js} +2 -2
  28. package/dist/{RoadmapDetails-DIByXo2r.js → RoadmapDetails-BgX6JZ4M.js} +5 -5
  29. package/dist/{SearchDropdown-cml8LqKq.js → SearchDropdown-DeqQ84uc.js} +2 -2
  30. package/dist/VideoPlayer-DmgXtaQU.js +456 -0
  31. package/dist/{VideoPlayerModal-BzYnI2f2.js → VideoPlayerModal-bQthGzgn.js} +2 -2
  32. package/dist/{YoutubeModal-8iX4sMik.js → YoutubeModal-CAsJ5oKk.js} +1 -1
  33. package/dist/components/Accordion/index.js +1 -1
  34. package/dist/components/Breadcrumb/index.js +1 -1
  35. package/dist/components/BrowserFrame/index.js +1 -1
  36. package/dist/components/Button/index.js +1 -1
  37. package/dist/components/ButtonGroup/index.js +1 -1
  38. package/dist/components/Checkbox/index.js +1 -1
  39. package/dist/components/CodeBlock/index.js +1 -1
  40. package/dist/components/CopyCode/index.js +1 -1
  41. package/dist/components/Dropdown/index.js +1 -1
  42. package/dist/components/Features/index.js +1 -1
  43. package/dist/components/Figure/ZoomImage.js +3 -3
  44. package/dist/components/Footer/CookiePolicyModal.js +1 -1
  45. package/dist/components/Footer/FooterBottom.js +1 -1
  46. package/dist/components/Footer/FooterHelp.js +1 -1
  47. package/dist/components/Footer/FooterLinks.js +1 -1
  48. package/dist/components/Footer/YoutubeModal.js +1 -1
  49. package/dist/components/Footer/index.js +1 -1
  50. package/dist/components/Header/index.js +1 -1
  51. package/dist/components/Icon/index.js +1 -1
  52. package/dist/components/InputGrouped/index.js +1 -1
  53. package/dist/components/Label/index.js +1 -1
  54. package/dist/components/List/index.js +1 -1
  55. package/dist/components/LogoCarousel/index.js +1 -1
  56. package/dist/components/Modal/ModalContactFooter.js +2 -2
  57. package/dist/components/Modal/index.js +2 -2
  58. package/dist/components/NewsletterSignup/index.js +1 -1
  59. package/dist/components/Notification/index.js +1 -1
  60. package/dist/components/PrefPanel/index.js +1 -1
  61. package/dist/components/PrevNextNav/index.js +1 -1
  62. package/dist/components/ProductNotice/index.js +1 -1
  63. package/dist/components/PromoBanner/index.js +19 -19
  64. package/dist/components/RoadmapDetails/index.js +1 -1
  65. package/dist/components/Search/SearchDialog.js +8 -8
  66. package/dist/components/Search/index.js +2 -2
  67. package/dist/components/SearchDropdown/index.js +1 -1
  68. package/dist/components/Sidebar/NavDisclosure.js +2 -2
  69. package/dist/components/Sidebar/NavGroup.js +2 -2
  70. package/dist/components/Sidebar/Sidebar.js +11 -11
  71. package/dist/components/Sidebar/SidebarLayout.js +1 -1
  72. package/dist/components/Sidebar/SidebarSwitcher.js +2 -2
  73. package/dist/components/VideoCover/index.js +115 -102
  74. package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
  75. package/dist/components/VideoPlayer/index.js +1 -1
  76. package/dist/{create-element-ChcNUMOL.js → create-element-BP8g1yS0.js} +1 -1
  77. package/dist/{esm-CqcQTziN.js → esm-BMNJ2hLn.js} +79 -51
  78. package/dist/highsoft-ui.css +1 -1
  79. package/dist/lib/components/Icon/index.d.ts +4 -2
  80. package/dist/lib/components/VideoCover/index.d.ts +5 -2
  81. package/dist/main.js +26 -26
  82. package/dist/{prism-light-B3J0jr_a.js → prism-light-9X-EbG8v.js} +1 -1
  83. package/dist/{styles.module-BnKyCO6_.js → styles.module-G9LPGB5g.js} +2 -0
  84. package/package.json +1 -1
  85. package/dist/Icon-DJTgdvsG.js +0 -36
  86. package/dist/List-gHC2SJgK.js +0 -81
  87. package/dist/VideoPlayer-Cg9MFkP5.js +0 -456
@@ -20,7 +20,9 @@ export interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'name'> {
20
20
  name: FC<SVGProps<SVGSVGElement>>;
21
21
  /** Size in pixels — must be a design-system size (12 | 16 | 20 | 24 | 32 | 40 | 52 | 64 | 72) */
22
22
  size?: IconSize;
23
- /** Additional class name */
23
+ /** Render the SVG directly without the wrapper span. */
24
+ bare?: boolean;
25
+ /** Class name for the wrapper, or for the SVG when bare. */
24
26
  className?: string;
25
27
  }
26
- export declare function Icon({ name: IconComponent, size, className, strokeWidth: strokeWidthProp, style, ...props }: IconProps): import("react").JSX.Element;
28
+ export declare function Icon({ name: IconComponent, size, bare, className, strokeWidth: strokeWidthProp, style, ...props }: IconProps): import("react").JSX.Element;
@@ -56,8 +56,11 @@ export interface VideoCoverProps {
56
56
  * instead (size the parent to shape the cover).
57
57
  */
58
58
  aspectRatio?: string;
59
- /** Corner radius in px. Default `0`. */
60
- radius?: number;
59
+ /**
60
+ * Corner radius in px or as a CSS border-radius value, including a design
61
+ * token such as `var(--border_radius-size-8)`. Defaults to the 0 px token.
62
+ */
63
+ radius?: CSSProperties['borderRadius'];
61
64
  /**
62
65
  * Show a small always-visible playback toggle in the corner (WCAG 2.2.2
63
66
  * "Pause, Stop, Hide"). Three states: pause while the video plays, replay
package/dist/main.js CHANGED
@@ -1,49 +1,49 @@
1
1
  import { c as e, d as t, r as n, s as r, u as i } from "./utils-bAjntFD8.js";
2
2
  import { TrackingProvider as a, dataLayerTracker as o, gtagTracker as s, useTracker as c } from "./tracking.js";
3
3
  import { t as l } from "./Box-BZgeSeCV.js";
4
- import { t as u } from "./Button-DtCIaVhq.js";
4
+ import { t as u } from "./Button-C45Uhxsb.js";
5
5
  import { n as d } from "./Typography-DI1AkqiO.js";
6
- import { n as f, t as p } from "./Accordion-NPNV0Rdr.js";
7
- import { t as m } from "./BrowserFrame-Bs2fIKzy.js";
8
- import { t as h } from "./Icon-DJTgdvsG.js";
6
+ import { n as f, t as p } from "./Accordion-BAuBLmE3.js";
7
+ import { t as m } from "./BrowserFrame-BPBOv1Tk.js";
8
+ import { t as h } from "./Icon-BUgFags4.js";
9
9
  import { Figure as g } from "./components/Figure/index.js";
10
- import { t as _ } from "./CopyCode-4IXo0bTs.js";
10
+ import { t as _ } from "./CopyCode-CUpfwNcv.js";
11
11
  import { t as v } from "./FrameworkIcon-B8GmMx0r.js";
12
- import { t as y } from "./CodeBlock-BM_Vefdj.js";
12
+ import { t as y } from "./CodeBlock-B3wBSBYj.js";
13
13
  import { n as b, t as x } from "./ClientLogo-Dj7K48YL.js";
14
- import { t as S } from "./LogoCarousel-e-1WK43R.js";
14
+ import { t as S } from "./LogoCarousel-DZCklh0c.js";
15
15
  import { t as C } from "./Link-CYR92_U0.js";
16
16
  import { t as w } from "./ProductIconFrame-CGrI3X4C.js";
17
17
  import { ProductIcon as T } from "./components/ProductIcon/index.js";
18
- import { t as E } from "./ButtonGroup-6tLQmpEH.js";
18
+ import { t as E } from "./ButtonGroup-CiqrtZuw.js";
19
19
  import { t as D } from "./InputSolo-CbnsJlJu.js";
20
- import { t as O } from "./SearchDropdown-cml8LqKq.js";
21
- import { i as k, n as A, r as j, t as M } from "./InputGrouped-B3WGuESX.js";
20
+ import { t as O } from "./SearchDropdown-DeqQ84uc.js";
21
+ import { i as k, n as A, r as j, t as M } from "./InputGrouped-Ddlan78b.js";
22
22
  import { t as N } from "./Container-BDssaLig.js";
23
23
  import { t as P } from "./DiscordInvite-DfPVlJ5G.js";
24
24
  import { t as F } from "./Heading-DNDHqYWO.js";
25
- import { n as I, t as L } from "./List-gHC2SJgK.js";
26
- import { n as R, t as z } from "./Features-BQ5o3wcc.js";
25
+ import { n as I, t as L } from "./List-DsP9RBn1.js";
26
+ import { n as R, t as z } from "./Features-Cgcbnv5_.js";
27
27
  import { t as B } from "./Logo-Bz0G2G-k.js";
28
- import { t as V } from "./NewsletterSignup-Dk1cwk-W.js";
29
- import { n as H, r as U, t as W } from "./Dropdown-BgY76epB.js";
30
- import { t as G } from "./PrefPanel-DTbo6QDa.js";
31
- import { n as K, t as q } from "./Label-DwiX1ZiD.js";
28
+ import { t as V } from "./NewsletterSignup-DZNPeWVb.js";
29
+ import { n as H, r as U, t as W } from "./Dropdown-CrVLfZiy.js";
30
+ import { t as G } from "./PrefPanel-Dqu4mVyV.js";
31
+ import { n as K, t as q } from "./Label-BE2jiXll.js";
32
32
  import { VideoCover as J } from "./components/VideoCover/index.js";
33
- import { t as Y } from "./VideoPlayer-Cg9MFkP5.js";
34
- import { t as X } from "./VideoPlayerModal-BzYnI2f2.js";
35
- import { t as Z } from "./Footer-BjrF6d17.js";
33
+ import { t as Y } from "./VideoPlayer-DmgXtaQU.js";
34
+ import { t as X } from "./VideoPlayerModal-bQthGzgn.js";
35
+ import { t as Z } from "./Footer-DzsWk7mZ.js";
36
36
  import { n as Q } from "./GPTInput-g460kfc6.js";
37
- import { t as $ } from "./Notification-D93nzw6M.js";
38
- import { n as ee, t as te } from "./Header-Dbi8eOiH.js";
37
+ import { t as $ } from "./Notification-BSUYpeGy.js";
38
+ import { n as ee, t as te } from "./Header-LQoKnhWx.js";
39
39
  import { t as ne } from "./Tabs-TRXBM5Zr.js";
40
40
  import { n as re, t as ie } from "./RadioBox-C7bDjItJ.js";
41
- import { n as ae, t as oe } from "./Checkbox-CqFkzrVk.js";
41
+ import { n as ae, t as oe } from "./Checkbox-CVftEg1_.js";
42
42
  import { t as se } from "./Toggle-BHjptO7-.js";
43
43
  import { t as ce } from "./ToggleCard-kMpxzTnh.js";
44
44
  import { t as le } from "./ToggleList-Dh7wb2-W.js";
45
45
  import { Modal as ue } from "./components/Modal/index.js";
46
- import { t as de } from "./RoadmapDetails-DIByXo2r.js";
46
+ import { t as de } from "./RoadmapDetails-BgX6JZ4M.js";
47
47
  import { ModalContactFooter as fe } from "./components/Modal/ModalContactFooter.js";
48
48
  import { useOptionalSidebarLayout as pe, useSidebarLayout as me } from "./components/Sidebar/context.js";
49
49
  import { SidebarLayout as he, SidebarMain as ge } from "./components/Sidebar/SidebarLayout.js";
@@ -54,13 +54,13 @@ import { NavItem as Ce } from "./components/Sidebar/NavItem.js";
54
54
  import { NavGroup as we } from "./components/Sidebar/NavGroup.js";
55
55
  import { NavDisclosure as Te } from "./components/Sidebar/NavDisclosure.js";
56
56
  import "./components/Sidebar/index.js";
57
- import { t as Ee } from "./PrevNextNav-C406puU6.js";
57
+ import { t as Ee } from "./PrevNextNav-ChtdXmcy.js";
58
58
  import { productFraming as De } from "./components/PromoBanner/product-framing.js";
59
59
  import { promoBannerProducts as Oe } from "./components/PromoBanner/products.js";
60
60
  import { PromoBanner as ke } from "./components/PromoBanner/index.js";
61
61
  import { PRODUCT_NOTICE_EVENTS as Ae } from "./components/ProductNotice/tracking.js";
62
- import { t as je } from "./ProductNotice-BfI0v5Ag.js";
63
- import { t as Me } from "./Breadcrumb-BQzfkMH0.js";
62
+ import { t as je } from "./ProductNotice-DnQEPFsx.js";
63
+ import { t as Me } from "./Breadcrumb-DyHxzIHZ.js";
64
64
  import { t as Ne } from "./TableOfContents-d26S7KYx.js";
65
65
  import { ThemeLoader as Pe, themeLoaderScript as Fe } from "./components/ThemeLoader/index.js";
66
66
  export { p as Accordion, f as AccordionItem, l as Box, Me as Breadcrumb, m as BrowserFrame, u as Button, E as ButtonGroup, oe as Checkbox, ae as CheckboxGroup, x as ClientLogo, y as CodeBlock, N as Container, _ as CopyCode, P as DiscordInvite, W as Dropdown, H as DropdownItem, U as DropdownSeparator, z as FeatureItem, R as Features, g as Figure, Z as Footer, M as FormGroup, A as FormRow, v as FrameworkIcon, Q as GPTInput, te as Header, F as Heading, h as Icon, j as InputGrouped, D as InputSolo, q as Label, C as Link, L as List, I as ListItem, B as Logo, S as LogoCarousel, ue as Modal, fe as ModalContactFooter, Te as NavDisclosure, we as NavGroup, Ce as NavItem, K as NewTag, V as NewsletterSignup, $ as Notification, Ae as PRODUCT_NOTICE_EVENTS, G as PrefPanel, Ee as PrevNextNav, T as ProductIcon, w as ProductIconFrame, je as ProductNotice, ke as PromoBanner, ie as RadioBox, re as RadioBoxGroup, de as RoadmapDetails, O as SearchDropdown, k as SelectGrouped, ve as Sidebar, ye as SidebarBody, be as SidebarHeader, he as SidebarLayout, ge as SidebarMain, _e as SidebarResizer, xe as SidebarSection, Se as SidebarSwitcher, ee as SubHeader, Ne as TableOfContents, ne as Tabs, Pe as ThemeLoader, i as ThemeProvider, se as Toggle, ce as ToggleCard, le as ToggleList, a as TrackingProvider, d as Typography, J as VideoCover, Y as VideoPlayer, X as VideoPlayerModal, b as clientLogoLabels, o as dataLayerTracker, s as gtagTracker, De as promoBannerFraming, Oe as promoBannerProducts, Fe as themeLoaderScript, n as useClipboard, t as useNextTheme, pe as useOptionalSidebarLayout, me as useSidebarLayout, r as useSuccessFlash, e as useTheme, c as useTracker };
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "./chunk-jwUa06l-.js";
2
- import { r as t, t as n } from "./create-element-ChcNUMOL.js";
2
+ import { r as t, t as n } from "./create-element-BP8g1yS0.js";
3
3
  import r from "react";
4
4
  //#region node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
5
5
  function i(e, t) {
@@ -4,6 +4,8 @@ var e = {
4
4
  cover: "a1m2bq_cover",
5
5
  figure: "a1m2bq_figure",
6
6
  hoverZoom: "a1m2bq_hoverZoom",
7
+ playbackArtwork: "a1m2bq_playbackArtwork",
8
+ playbackButton: "a1m2bq_playbackButton",
7
9
  playControl: "a1m2bq_playControl",
8
10
  poster: "a1m2bq_poster",
9
11
  reduced: "a1m2bq_reduced",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "highsoft-ui",
3
- "version": "1.0.188",
3
+ "version": "1.0.190",
4
4
  "description": "Highsoft UI",
5
5
  "type": "module",
6
6
  "repository": {
@@ -1,36 +0,0 @@
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, className: o, strokeWidth: s, style: c, ...l }) {
15
- let u = s ?? r[a];
16
- return /* @__PURE__ */ t("span", {
17
- className: e("hsui-icon", n.icon, o),
18
- style: {
19
- width: a,
20
- height: a
21
- },
22
- children: /* @__PURE__ */ t(i, {
23
- width: a,
24
- height: a,
25
- strokeWidth: u,
26
- style: {
27
- width: a,
28
- height: a,
29
- ...c
30
- },
31
- ...l
32
- })
33
- });
34
- }
35
- //#endregion
36
- export { i as t };
@@ -1,81 +0,0 @@
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-DJTgdvsG.js";
6
- import { createContext as i, forwardRef as a, useContext as o } from "react";
7
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
8
- var l = {
9
- bullet: "SZRYAG_bullet",
10
- content: "SZRYAG_content",
11
- item: "SZRYAG_item",
12
- list: "SZRYAG_list",
13
- marker: "SZRYAG_marker",
14
- number: "SZRYAG_number",
15
- "size-100": "SZRYAG_size-100",
16
- "size-200": "SZRYAG_size-200",
17
- "size-300": "SZRYAG_size-300",
18
- "size-50": "SZRYAG_size-50",
19
- "size-75": "SZRYAG_size-75"
20
- }, u = {
21
- 50: 12,
22
- 75: 12,
23
- 100: 12,
24
- 200: 16,
25
- 300: 16
26
- }, d = i(null), f = a(({ variant: r = "bullet", size: i = 200, icon: a = t, color: o = "primary", iconColor: c, start: u, className: f, style: p, children: m, ...h }, g) => {
27
- let _ = {
28
- "--hsui-list-color": n[o],
29
- ...c && { "--hsui-list-icon-color": n[c] },
30
- ...u !== void 0 && { "--hsui-list-start": u - 1 },
31
- ...p
32
- }, v = {
33
- ref: g,
34
- role: "list",
35
- className: e("hsui-list", f, l.list, l[r], l[`size-${i}`]),
36
- style: _,
37
- ...h
38
- };
39
- return /* @__PURE__ */ s(d.Provider, {
40
- value: {
41
- variant: r,
42
- size: i,
43
- icon: a
44
- },
45
- children: r === "number" ? /* @__PURE__ */ s("ol", {
46
- ...v,
47
- start: u,
48
- children: m
49
- }) : /* @__PURE__ */ s("ul", {
50
- ...v,
51
- children: m
52
- })
53
- });
54
- });
55
- f.displayName = "List";
56
- var p = a(({ icon: i, iconColor: a, className: f, style: p, children: m, ...h }, g) => {
57
- let _ = o(d), v = _?.variant ?? "bullet", y = _?.size ?? 200, b = i ?? _?.icon ?? t, x = a ? {
58
- "--hsui-list-icon-color": n[a],
59
- ...p
60
- } : p;
61
- return /* @__PURE__ */ c("li", {
62
- className: e("hsui-list-item", f, l.item),
63
- ref: g,
64
- style: x,
65
- ...h,
66
- children: [/* @__PURE__ */ s("span", {
67
- className: l.marker,
68
- "aria-hidden": "true",
69
- children: v === "bullet" && /* @__PURE__ */ s(r, {
70
- name: b,
71
- size: u[y]
72
- })
73
- }), /* @__PURE__ */ s("span", {
74
- className: l.content,
75
- children: m
76
- })]
77
- });
78
- });
79
- p.displayName = "ListItem";
80
- //#endregion
81
- export { p as n, f as t };