highsoft-ui 1.0.164 → 1.0.166
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 +38 -2
- package/dist/{BrowserFrame-BSM0R7PQ.js → BrowserFrame-BWKH-jYq.js} +2 -2
- package/dist/{Button-BCbWIPg1.js → Button-Ckhn8DSF.js} +1 -1
- package/dist/{ButtonGroup-DGEDf4ic.js → ButtonGroup-DJ9-E38n.js} +1 -1
- package/dist/{Checkbox-CO0SRaAZ.js → Checkbox-D1mlWTmw.js} +1 -1
- package/dist/{CodeBlock-Ugik4xMM.js → CodeBlock-C2W0T4RT.js} +5 -5
- package/dist/{CookiePolicyModal-TdrVbP_E.js → CookiePolicyModal-CPNTKMHc.js} +2 -2
- package/dist/{CopyCode-_sKjpGqB.js → CopyCode-BOehQAZN.js} +3 -3
- package/dist/{Dropdown-LiG-JAoo.js → Dropdown-Cjl8RQ5Y.js} +1 -1
- package/dist/{Footer-DzIGLnEz.js → Footer-DLMNyBXC.js} +7 -7
- package/dist/{FooterBottom-CRe2Mvjd.js → FooterBottom-ZK9F7wLx.js} +1 -1
- package/dist/{FooterHelp-CTSvficW.js → FooterHelp-Csfq-quf.js} +1 -1
- package/dist/{FooterLinks-BoDdQUWb.js → FooterLinks-CGoBeReu.js} +2 -2
- package/dist/{Header-CTO6Y6oH.js → Header-Pe6siDNx.js} +20 -20
- package/dist/{InputGrouped-y0JyshpR.js → InputGrouped-BLtnqxWc.js} +2 -2
- package/dist/{Label-k6e4Rqb-.js → Label-KDdBAgyD.js} +1 -1
- package/dist/{LogoCarousel-pRYdmphl.js → LogoCarousel-CJShpLJo.js} +2 -2
- package/dist/{NewsletterSignup-BrmQ7pXZ.js → NewsletterSignup-g8wPQ7NZ.js} +4 -4
- package/dist/{Notification-BFLAktZo.js → Notification-DQostuW6.js} +3 -3
- package/dist/{PrefPanel-CHkc6r6b.js → PrefPanel-Cf-xZ261.js} +7 -7
- package/dist/PrevNextNav-Cd6_IdPd.js +62 -0
- package/dist/{RoadmapDetails-BWt0J4Pn.js → RoadmapDetails-DMrLLty1.js} +5 -5
- package/dist/{Search-D29JM1a_.js → Search-Cy79c2sN.js} +5 -5
- package/dist/{SearchDropdown-BSUAlaMY.js → SearchDropdown-BA7CPuRf.js} +1 -1
- package/dist/{VideoCover-C18NhQcY.js → VideoCover-DlhRqr4Q.js} +1 -1
- package/dist/{VideoPlayer-UM4M4C5b.js → VideoPlayer-De_ejf8u.js} +5 -5
- package/dist/{VideoPlayerModal-IRwjMLoy.js → VideoPlayerModal-DNUIn0jM.js} +2 -2
- package/dist/{YoutubeModal-BOnH866s.js → YoutubeModal-D_pHHwxa.js} +2 -2
- 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/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/InputGrouped/index.js +1 -1
- package/dist/components/Label/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 +2 -0
- package/dist/components/RoadmapDetails/index.js +1 -1
- package/dist/components/Search/index.js +1 -1
- package/dist/components/SearchDropdown/index.js +1 -1
- package/dist/components/Sidebar/NavDisclosure.js +1 -1
- package/dist/components/Sidebar/NavGroup.js +1 -1
- package/dist/components/Sidebar/Sidebar.js +4 -4
- package/dist/components/Sidebar/SidebarLayout.js +1 -1
- package/dist/components/Sidebar/SidebarSwitcher.js +1 -1
- package/dist/components/VideoCover/index.js +1 -1
- package/dist/components/VideoPlayer/VideoPlayerModal.js +1 -1
- package/dist/components/VideoPlayer/index.js +1 -1
- package/dist/components/VideoPlayer/useMediaEngine.js +92 -88
- package/dist/{create-element-DxkdwAGs.js → create-element-BNkLOXrc.js} +1 -1
- package/dist/{esm-CUgR2iUX.js → esm-u0DqOC56.js} +65 -51
- package/dist/highsoft-ui.css +1 -1
- package/dist/lib/components/PrevNextNav/index.d.ts +44 -0
- package/dist/lib/components/VideoPlayer/useMediaEngine.d.ts +6 -0
- package/dist/lib/main.d.ts +2 -0
- package/dist/main.js +23 -22
- package/dist/{prism-light-Czk1yGD_.js → prism-light-CAkriFcS.js} +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
/** One side of the footer — a link card to the previous or next page. */
|
|
3
|
+
export interface PrevNextNavItem {
|
|
4
|
+
/** Link destination. Omit when the link element takes its target from `linkProps` (e.g. react-router's `to`). */
|
|
5
|
+
href?: string;
|
|
6
|
+
/** The page's name, shown under the "Previous"/"Next" label. */
|
|
7
|
+
title: ReactNode;
|
|
8
|
+
/** Extra props forwarded to the link element (`target`, `onClick`, `to`, …). */
|
|
9
|
+
linkProps?: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
/** The optional centered link back to the section overview. */
|
|
12
|
+
export interface PrevNextNavBack {
|
|
13
|
+
/** Link destination. Omit when the link element takes its target from `linkProps`. */
|
|
14
|
+
href?: string;
|
|
15
|
+
/** Button text, e.g. "All Highcharts Core versions". */
|
|
16
|
+
label: ReactNode;
|
|
17
|
+
/** Extra props forwarded to the link element. */
|
|
18
|
+
linkProps?: Record<string, unknown>;
|
|
19
|
+
}
|
|
20
|
+
export interface PrevNextNavProps extends HTMLAttributes<HTMLElement> {
|
|
21
|
+
/**
|
|
22
|
+
* Link component for all three slots — `'a'` by default; pass a framework
|
|
23
|
+
* Link (`as={NextLink}`) for SPA navigation, like NavItem.
|
|
24
|
+
*/
|
|
25
|
+
as?: ElementType;
|
|
26
|
+
/** The previous page. Omit at the first page — a disabled "—" card keeps the grid balanced. */
|
|
27
|
+
prev?: PrevNextNavItem;
|
|
28
|
+
/** The next page. Omit at the last page. */
|
|
29
|
+
next?: PrevNextNavItem;
|
|
30
|
+
/** Centered overview link between the cards. Omit to render just prev/next. */
|
|
31
|
+
back?: PrevNextNavBack;
|
|
32
|
+
/** Overline on the prev card. Default `'Previous'`. */
|
|
33
|
+
prevLabel?: ReactNode;
|
|
34
|
+
/** Overline on the next card. Default `'Next'`. */
|
|
35
|
+
nextLabel?: ReactNode;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Previous / next footer navigation — two link cards in a three-slot grid
|
|
39
|
+
* (`1fr auto 1fr`) with an optional centered back-to-overview button. At an
|
|
40
|
+
* edge the missing side renders as a disabled "—" card so the grid keeps its
|
|
41
|
+
* shape. Renders nothing when neither `prev` nor `next` is given. Below 850px
|
|
42
|
+
* the cards sit side by side and the back button spans underneath.
|
|
43
|
+
*/
|
|
44
|
+
export declare const PrevNextNav: import('react').ForwardRefExoticComponent<PrevNextNavProps & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -13,6 +13,12 @@ export interface MediaState {
|
|
|
13
13
|
muted: boolean;
|
|
14
14
|
}
|
|
15
15
|
export declare function detectProvider(src?: string, hasSources?: boolean): MediaProvider;
|
|
16
|
+
/**
|
|
17
|
+
* Sources served from youtube-nocookie.com opted into YouTube's
|
|
18
|
+
* privacy-enhanced mode; keep that domain for the embed rather than
|
|
19
|
+
* downgrading to youtube.com.
|
|
20
|
+
*/
|
|
21
|
+
export declare function youtubeEmbedHost(src?: string): string | undefined;
|
|
16
22
|
/**
|
|
17
23
|
* An unbranded still frame for a provider's start screen, used to mask the
|
|
18
24
|
* embed's own (branded) poster before playback begins. YouTube exposes a
|
package/dist/lib/main.d.ts
CHANGED
|
@@ -64,6 +64,8 @@ export { Notification } from './components/Notification';
|
|
|
64
64
|
export { SidebarLayout, SidebarMain, Sidebar, SidebarHeader, SidebarBody, SidebarSection, SidebarSwitcher, SidebarResizer, NavItem, NavGroup, NavDisclosure, useSidebarLayout, useOptionalSidebarLayout } from './components/Sidebar';
|
|
65
65
|
export type { SidebarLayoutProps, SidebarProps, SidebarSectionProps, SidebarSwitcherProps, NavItemProps, NavGroupProps, NavDisclosureProps, SidebarLayoutContextValue } from './components/Sidebar';
|
|
66
66
|
export { PrefPanel } from './components/PrefPanel';
|
|
67
|
+
export { PrevNextNav } from './components/PrevNextNav';
|
|
68
|
+
export type { PrevNextNavProps, PrevNextNavItem, PrevNextNavBack } from './components/PrevNextNav';
|
|
67
69
|
export { VideoPlayer } from './components/VideoPlayer';
|
|
68
70
|
export type { VideoPlayerProps, VideoPlayerSource, VideoPlayerTrack } from './components/VideoPlayer';
|
|
69
71
|
export { VideoPlayerModal } from './components/VideoPlayer/VideoPlayerModal';
|
package/dist/main.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import { c as e, d as t, r as n, s as r, u as i } from "./utils-K9S_6_Eq.js";
|
|
2
2
|
import { t as a } from "./Box-BZgeSeCV.js";
|
|
3
|
-
import { t as o } from "./Button-
|
|
4
|
-
import { t as s } from "./BrowserFrame-
|
|
5
|
-
import { t as c } from "./CopyCode-
|
|
3
|
+
import { t as o } from "./Button-Ckhn8DSF.js";
|
|
4
|
+
import { t as s } from "./BrowserFrame-BWKH-jYq.js";
|
|
5
|
+
import { t as c } from "./CopyCode-BOehQAZN.js";
|
|
6
6
|
import { t as l } from "./FrameworkIcon-B8GmMx0r.js";
|
|
7
|
-
import { t as u } from "./CodeBlock-
|
|
7
|
+
import { t as u } from "./CodeBlock-C2W0T4RT.js";
|
|
8
8
|
import { n as d, t as f } from "./ClientLogo-Dj7K48YL.js";
|
|
9
|
-
import { t as p } from "./LogoCarousel-
|
|
9
|
+
import { t as p } from "./LogoCarousel-CJShpLJo.js";
|
|
10
10
|
import { t as m } from "./Icon-DJTgdvsG.js";
|
|
11
11
|
import { t as h } from "./Link-CYR92_U0.js";
|
|
12
12
|
import { t as g } from "./ProductIcon-C5yvnjHr.js";
|
|
13
|
-
import { t as _ } from "./ButtonGroup-
|
|
13
|
+
import { t as _ } from "./ButtonGroup-DJ9-E38n.js";
|
|
14
14
|
import { t as v } from "./InputSolo-DUdKtZjX.js";
|
|
15
|
-
import { t as y } from "./SearchDropdown-
|
|
16
|
-
import { i as b, n as x, r as S, t as C } from "./InputGrouped-
|
|
15
|
+
import { t as y } from "./SearchDropdown-BA7CPuRf.js";
|
|
16
|
+
import { i as b, n as x, r as S, t as C } from "./InputGrouped-BLtnqxWc.js";
|
|
17
17
|
import { t as w } from "./Container-BDssaLig.js";
|
|
18
18
|
import { t as T } from "./DiscordInvite-CLYxexdH.js";
|
|
19
19
|
import { t as E } from "./Heading-DNDHqYWO.js";
|
|
20
20
|
import { t as D } from "./Typography-AvvBRu-u.js";
|
|
21
21
|
import { t as O } from "./Logo-Bz0G2G-k.js";
|
|
22
|
-
import { t as k } from "./NewsletterSignup-
|
|
23
|
-
import { n as A, r as j, t as M } from "./Dropdown-
|
|
24
|
-
import { t as N } from "./PrefPanel-
|
|
25
|
-
import { n as P, t as F } from "./Label-
|
|
26
|
-
import { t as I } from "./VideoCover-
|
|
27
|
-
import { t as L } from "./VideoPlayer-
|
|
28
|
-
import { t as R } from "./VideoPlayerModal-
|
|
29
|
-
import { t as z } from "./Footer-
|
|
22
|
+
import { t as k } from "./NewsletterSignup-g8wPQ7NZ.js";
|
|
23
|
+
import { n as A, r as j, t as M } from "./Dropdown-Cjl8RQ5Y.js";
|
|
24
|
+
import { t as N } from "./PrefPanel-Cf-xZ261.js";
|
|
25
|
+
import { n as P, t as F } from "./Label-KDdBAgyD.js";
|
|
26
|
+
import { t as I } from "./VideoCover-DlhRqr4Q.js";
|
|
27
|
+
import { t as L } from "./VideoPlayer-De_ejf8u.js";
|
|
28
|
+
import { t as R } from "./VideoPlayerModal-DNUIn0jM.js";
|
|
29
|
+
import { t as z } from "./Footer-DLMNyBXC.js";
|
|
30
30
|
import { n as B } from "./GPTInput-C0YG1990.js";
|
|
31
|
-
import { t as V } from "./Notification-
|
|
32
|
-
import { n as H, t as U } from "./Header-
|
|
31
|
+
import { t as V } from "./Notification-DQostuW6.js";
|
|
32
|
+
import { n as H, t as U } from "./Header-Pe6siDNx.js";
|
|
33
33
|
import { t as W } from "./Tabs-BuDaPqdN.js";
|
|
34
34
|
import { n as G, t as K } from "./RadioBox-o1Ssyj0s.js";
|
|
35
|
-
import { n as q, t as J } from "./Checkbox-
|
|
35
|
+
import { n as q, t as J } from "./Checkbox-D1mlWTmw.js";
|
|
36
36
|
import { Modal as Y } from "./components/Modal/index.js";
|
|
37
|
-
import { t as X } from "./RoadmapDetails-
|
|
37
|
+
import { t as X } from "./RoadmapDetails-DMrLLty1.js";
|
|
38
38
|
import { ModalContactFooter as Z } from "./components/Modal/ModalContactFooter.js";
|
|
39
39
|
import { useOptionalSidebarLayout as Q, useSidebarLayout as $ } from "./components/Sidebar/context.js";
|
|
40
40
|
import { SidebarLayout as ee, SidebarMain as te } from "./components/Sidebar/SidebarLayout.js";
|
|
@@ -45,5 +45,6 @@ import { NavItem as ce } from "./components/Sidebar/NavItem.js";
|
|
|
45
45
|
import { NavGroup as le } from "./components/Sidebar/NavGroup.js";
|
|
46
46
|
import { NavDisclosure as ue } from "./components/Sidebar/NavDisclosure.js";
|
|
47
47
|
import "./components/Sidebar/index.js";
|
|
48
|
-
import {
|
|
49
|
-
|
|
48
|
+
import { t as de } from "./PrevNextNav-Cd6_IdPd.js";
|
|
49
|
+
import { ThemeLoader as fe, themeLoaderScript as pe } from "./components/ThemeLoader/index.js";
|
|
50
|
+
export { a as Box, s as BrowserFrame, o as Button, _ as ButtonGroup, J as Checkbox, q as CheckboxGroup, f as ClientLogo, u as CodeBlock, w as Container, c as CopyCode, T as DiscordInvite, M as Dropdown, A as DropdownItem, j as DropdownSeparator, z as Footer, C as FormGroup, x as FormRow, l as FrameworkIcon, B as GPTInput, U as Header, E as Heading, m as Icon, S as InputGrouped, v as InputSolo, F as Label, h as Link, O as Logo, p as LogoCarousel, Y as Modal, Z as ModalContactFooter, ue as NavDisclosure, le as NavGroup, ce as NavItem, P as NewTag, k as NewsletterSignup, V as Notification, N as PrefPanel, de as PrevNextNav, g as ProductIcon, K as RadioBox, G as RadioBoxGroup, X as RoadmapDetails, y as SearchDropdown, b as SelectGrouped, re as Sidebar, ie as SidebarBody, ae as SidebarHeader, ee as SidebarLayout, te as SidebarMain, ne as SidebarResizer, oe as SidebarSection, se as SidebarSwitcher, H as SubHeader, W as Tabs, fe as ThemeLoader, i as ThemeProvider, D as Typography, I as VideoCover, L as VideoPlayer, R as VideoPlayerModal, d as clientLogoLabels, pe as themeLoaderScript, n as useClipboard, t as useNextTheme, Q as useOptionalSidebarLayout, $ as useSidebarLayout, r as useSuccessFlash, e as useTheme };
|
|
@@ -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-
|
|
2
|
+
import { r as t, t as n } from "./create-element-BNkLOXrc.js";
|
|
3
3
|
import r from "react";
|
|
4
4
|
//#region node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
5
5
|
function i(e, t) {
|