highsoft-ui 1.0.176 → 1.0.178
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +38 -0
- package/dist/Accordion-NPNV0Rdr.js +73 -0
- package/dist/{Breadcrumb-CyaMrJfW.js → Breadcrumb-BQzfkMH0.js} +2 -2
- package/dist/{BrowserFrame-_qNod9an.js → BrowserFrame-Bs2fIKzy.js} +4 -4
- package/dist/{Button-DFcjZsF4.js → Button-DtCIaVhq.js} +1 -1
- package/dist/{ButtonGroup-dTeFICBP.js → ButtonGroup-6tLQmpEH.js} +1 -1
- package/dist/{Checkbox-X7FrR_6F.js → Checkbox-CqFkzrVk.js} +1 -1
- package/dist/{CodeBlock-rPC0sIvR.js → CodeBlock-BM_Vefdj.js} +4 -4
- package/dist/{CookiePolicyModal-D-IOZSoU.js → CookiePolicyModal-BXIr4v-D.js} +2 -2
- package/dist/{CopyCode-DS2T69as.js → CopyCode-4IXo0bTs.js} +2 -2
- package/dist/{Dropdown-Ck7IASlc.js → Dropdown-BgY76epB.js} +1 -1
- package/dist/{Footer-8oEBlwJ5.js → Footer-hAk1PceF.js} +7 -7
- package/dist/{FooterBottom-BPuLsXI1.js → FooterBottom-CT_vF7Wo.js} +1 -1
- package/dist/{FooterHelp-99gRcRar.js → FooterHelp-VHhF9ED6.js} +1 -1
- package/dist/{FooterLinks-DXTz-d8e.js → FooterLinks-DsCivmiy.js} +2 -2
- package/dist/{Header-DqE0a41T.js → Header-CEV_MWep.js} +24 -24
- package/dist/{InputGrouped-DNiMvxxa.js → InputGrouped-y1UNKVd4.js} +11 -11
- package/dist/{Label-DTIv_3zs.js → Label-DwiX1ZiD.js} +1 -1
- package/dist/{List-CdwPhveO.js → List-gHC2SJgK.js} +1 -1
- package/dist/{LogoCarousel-BsmxIlzx.js → LogoCarousel-e-1WK43R.js} +3 -3
- package/dist/{NewsletterSignup-CTbjNSnk.js → NewsletterSignup-Dk1cwk-W.js} +2 -2
- package/dist/{Notification-CTSGBhJk.js → Notification-D93nzw6M.js} +3 -3
- package/dist/{PrefPanel-CwrWfi3R.js → PrefPanel-DTbo6QDa.js} +7 -7
- package/dist/{PrevNextNav-BwP-lRaG.js → PrevNextNav-C406puU6.js} +2 -2
- package/dist/{RoadmapDetails-B-2pgXHz.js → RoadmapDetails-DIByXo2r.js} +5 -5
- package/dist/{SearchDropdown-g3g30peB.js → SearchDropdown-cml8LqKq.js} +1 -1
- package/dist/{VideoPlayer-C0pHiwYx.js → VideoPlayer-Cg9MFkP5.js} +7 -7
- package/dist/{VideoPlayerModal-Bh2u5h8g.js → VideoPlayerModal-BzYnI2f2.js} +2 -2
- package/dist/{YoutubeModal-B6yOEOaP.js → YoutubeModal-8iX4sMik.js} +1 -1
- package/dist/components/Accordion/index.js +2 -0
- 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/Figure/ZoomImage.js +2 -2
- 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/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/PromoBanner/index.js +2 -2
- package/dist/components/RoadmapDetails/index.js +1 -1
- package/dist/components/Search/SearchDialog.js +12 -12
- package/dist/components/Search/index.js +2 -2
- 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 +10 -10
- 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/{create-element-DHbI55TT.js → create-element-ChcNUMOL.js} +1 -1
- package/dist/{esm-DQBytmnt.js → esm-CqcQTziN.js} +57 -29
- package/dist/highsoft-ui.css +1 -1
- package/dist/lib/components/Accordion/index.d.ts +24 -0
- package/dist/lib/main.d.ts +2 -0
- package/dist/main.js +57 -56
- package/dist/{prism-light-D9OePufj.js → prism-light-B3J0jr_a.js} +1 -1
- package/dist/scss/variables.scss +24 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { DetailsHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
/** The title element: `<h2>`–`<h6>`. Unset, the title is plain text. */
|
|
3
|
+
export type AccordionHeadingLevel = 2 | 3 | 4 | 5 | 6;
|
|
4
|
+
export interface AccordionProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
/** Renders every item's title as an `<h2>`–`<h6>` (default: plain text). An item's own `headingLevel` wins. */
|
|
6
|
+
headingLevel?: AccordionHeadingLevel;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const Accordion: import('react').ForwardRefExoticComponent<AccordionProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export interface AccordionItemProps extends Omit<DetailsHTMLAttributes<HTMLDetailsElement>, 'title' | 'open' | 'onToggle'> {
|
|
11
|
+
/** The headline. It is the `<summary>`: a click anywhere on it opens or closes the item. */
|
|
12
|
+
title: ReactNode;
|
|
13
|
+
/** Renders the title as an `<h2>`–`<h6>` inside the summary. Defaults to the Accordion's, else plain text. */
|
|
14
|
+
headingLevel?: AccordionHeadingLevel;
|
|
15
|
+
/** Controlled open state. Pair with `onOpenChange`. */
|
|
16
|
+
open?: boolean;
|
|
17
|
+
/** Initial open state when uncontrolled (default `false`) */
|
|
18
|
+
defaultOpen?: boolean;
|
|
19
|
+
/** Called with the new state whenever the item opens or closes */
|
|
20
|
+
onOpenChange?: (open: boolean) => void;
|
|
21
|
+
/** The body shown while open: text, links, a row of Buttons */
|
|
22
|
+
children?: ReactNode;
|
|
23
|
+
}
|
|
24
|
+
export declare const AccordionItem: import('react').ForwardRefExoticComponent<AccordionItemProps & import('react').RefAttributes<HTMLDetailsElement>>;
|
package/dist/lib/main.d.ts
CHANGED
|
@@ -17,6 +17,8 @@ export type { InputGroupedProps, SelectGroupedProps, FormGroupProps, FormRowProp
|
|
|
17
17
|
export type { BoxProps } from './components/Box';
|
|
18
18
|
export type { HeaderProps, HeaderPosition, SubHeaderItem } from './components/Header';
|
|
19
19
|
export { Box } from './components/Box';
|
|
20
|
+
export { Accordion, AccordionItem } from './components/Accordion';
|
|
21
|
+
export type { AccordionProps, AccordionItemProps, AccordionHeadingLevel } from './components/Accordion';
|
|
20
22
|
export { BrowserFrame } from './components/BrowserFrame';
|
|
21
23
|
export type { BrowserFrameProps, BrowserFrameAction } from './components/BrowserFrame';
|
|
22
24
|
export { Figure } from './components/Figure';
|
package/dist/main.js
CHANGED
|
@@ -1,59 +1,60 @@
|
|
|
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 { t as a } from "./Box-BZgeSeCV.js";
|
|
3
|
-
import { t as o } from "./Button-
|
|
4
|
-
import {
|
|
5
|
-
import { n as c } from "./
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import {
|
|
23
|
-
import { n as j, t as M } from "./
|
|
24
|
-
import {
|
|
25
|
-
import { t as
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { t as
|
|
32
|
-
import { t as
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { n as Q, t as $ } from "./
|
|
39
|
-
import {
|
|
40
|
-
import { t as
|
|
41
|
-
import { t as
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
3
|
+
import { t as o } from "./Button-DtCIaVhq.js";
|
|
4
|
+
import { n as s } from "./Typography-DI1AkqiO.js";
|
|
5
|
+
import { n as c, t as l } from "./Accordion-NPNV0Rdr.js";
|
|
6
|
+
import { t as u } from "./BrowserFrame-Bs2fIKzy.js";
|
|
7
|
+
import { t as d } from "./Icon-DJTgdvsG.js";
|
|
8
|
+
import { Figure as f } from "./components/Figure/index.js";
|
|
9
|
+
import { t as p } from "./CopyCode-4IXo0bTs.js";
|
|
10
|
+
import { t as m } from "./FrameworkIcon-B8GmMx0r.js";
|
|
11
|
+
import { t as h } from "./CodeBlock-BM_Vefdj.js";
|
|
12
|
+
import { n as g, t as _ } from "./ClientLogo-Dj7K48YL.js";
|
|
13
|
+
import { t as v } from "./LogoCarousel-e-1WK43R.js";
|
|
14
|
+
import { t as y } from "./Link-CYR92_U0.js";
|
|
15
|
+
import { t as b } from "./ProductIcon-Cr6E2K9a.js";
|
|
16
|
+
import { t as x } from "./ButtonGroup-6tLQmpEH.js";
|
|
17
|
+
import { t as S } from "./InputSolo-CbnsJlJu.js";
|
|
18
|
+
import { t as C } from "./SearchDropdown-cml8LqKq.js";
|
|
19
|
+
import { i as w, n as T, r as E, t as D } from "./InputGrouped-y1UNKVd4.js";
|
|
20
|
+
import { t as O } from "./Container-BDssaLig.js";
|
|
21
|
+
import { t as k } from "./DiscordInvite-DfPVlJ5G.js";
|
|
22
|
+
import { t as A } from "./Heading-DNDHqYWO.js";
|
|
23
|
+
import { n as j, t as M } from "./List-gHC2SJgK.js";
|
|
24
|
+
import { n as N, t as P } from "./Features-BQ5o3wcc.js";
|
|
25
|
+
import { t as F } from "./Logo-Bz0G2G-k.js";
|
|
26
|
+
import { t as I } from "./NewsletterSignup-Dk1cwk-W.js";
|
|
27
|
+
import { n as L, r as R, t as z } from "./Dropdown-BgY76epB.js";
|
|
28
|
+
import { t as B } from "./PrefPanel-DTbo6QDa.js";
|
|
29
|
+
import { n as V, t as H } from "./Label-DwiX1ZiD.js";
|
|
30
|
+
import { VideoCover as U } from "./components/VideoCover/index.js";
|
|
31
|
+
import { t as W } from "./VideoPlayer-Cg9MFkP5.js";
|
|
32
|
+
import { t as G } from "./VideoPlayerModal-BzYnI2f2.js";
|
|
33
|
+
import { t as K } from "./Footer-hAk1PceF.js";
|
|
34
|
+
import { n as q } from "./GPTInput-g460kfc6.js";
|
|
35
|
+
import { t as J } from "./Notification-D93nzw6M.js";
|
|
36
|
+
import { n as Y, t as X } from "./Header-CEV_MWep.js";
|
|
37
|
+
import { t as Z } from "./Tabs-TRXBM5Zr.js";
|
|
38
|
+
import { n as Q, t as $ } from "./RadioBox-C7bDjItJ.js";
|
|
39
|
+
import { n as ee, t as te } from "./Checkbox-CqFkzrVk.js";
|
|
40
|
+
import { t as ne } from "./Toggle-BHjptO7-.js";
|
|
41
|
+
import { t as re } from "./ToggleCard-kMpxzTnh.js";
|
|
42
|
+
import { t as ie } from "./ToggleList-Dh7wb2-W.js";
|
|
43
|
+
import { Modal as ae } from "./components/Modal/index.js";
|
|
44
|
+
import { t as oe } from "./RoadmapDetails-DIByXo2r.js";
|
|
45
|
+
import { ModalContactFooter as se } from "./components/Modal/ModalContactFooter.js";
|
|
46
|
+
import { useOptionalSidebarLayout as ce, useSidebarLayout as le } from "./components/Sidebar/context.js";
|
|
47
|
+
import { SidebarLayout as ue, SidebarMain as de } from "./components/Sidebar/SidebarLayout.js";
|
|
48
|
+
import { SidebarResizer as fe } from "./components/Sidebar/SidebarResizer.js";
|
|
49
|
+
import { Sidebar as pe, SidebarBody as me, SidebarHeader as he, SidebarSection as ge } from "./components/Sidebar/Sidebar.js";
|
|
50
|
+
import { SidebarSwitcher as _e } from "./components/Sidebar/SidebarSwitcher.js";
|
|
51
|
+
import { NavItem as ve } from "./components/Sidebar/NavItem.js";
|
|
52
|
+
import { NavGroup as ye } from "./components/Sidebar/NavGroup.js";
|
|
53
|
+
import { NavDisclosure as be } from "./components/Sidebar/NavDisclosure.js";
|
|
53
54
|
import "./components/Sidebar/index.js";
|
|
54
|
-
import { t as
|
|
55
|
-
import { PromoBanner as
|
|
56
|
-
import { t as
|
|
57
|
-
import { t as
|
|
58
|
-
import { ThemeLoader as
|
|
59
|
-
export { a as Box,
|
|
55
|
+
import { t as xe } from "./PrevNextNav-C406puU6.js";
|
|
56
|
+
import { PromoBanner as Se } from "./components/PromoBanner/index.js";
|
|
57
|
+
import { t as Ce } from "./Breadcrumb-BQzfkMH0.js";
|
|
58
|
+
import { t as we } from "./TableOfContents-d26S7KYx.js";
|
|
59
|
+
import { ThemeLoader as Te, themeLoaderScript as Ee } from "./components/ThemeLoader/index.js";
|
|
60
|
+
export { l as Accordion, c as AccordionItem, a as Box, Ce as Breadcrumb, u as BrowserFrame, o as Button, x as ButtonGroup, te as Checkbox, ee as CheckboxGroup, _ as ClientLogo, h as CodeBlock, O as Container, p as CopyCode, k as DiscordInvite, z as Dropdown, L as DropdownItem, R as DropdownSeparator, P as FeatureItem, N as Features, f as Figure, K as Footer, D as FormGroup, T as FormRow, m as FrameworkIcon, q as GPTInput, X as Header, A as Heading, d as Icon, E as InputGrouped, S as InputSolo, H as Label, y as Link, M as List, j as ListItem, F as Logo, v as LogoCarousel, ae as Modal, se as ModalContactFooter, be as NavDisclosure, ye as NavGroup, ve as NavItem, V as NewTag, I as NewsletterSignup, J as Notification, B as PrefPanel, xe as PrevNextNav, b as ProductIcon, Se as PromoBanner, $ as RadioBox, Q as RadioBoxGroup, oe as RoadmapDetails, C as SearchDropdown, w as SelectGrouped, pe as Sidebar, me as SidebarBody, he as SidebarHeader, ue as SidebarLayout, de as SidebarMain, fe as SidebarResizer, ge as SidebarSection, _e as SidebarSwitcher, Y as SubHeader, we as TableOfContents, Z as Tabs, Te as ThemeLoader, i as ThemeProvider, ne as Toggle, re as ToggleCard, ie as ToggleList, s as Typography, U as VideoCover, W as VideoPlayer, G as VideoPlayerModal, g as clientLogoLabels, Ee as themeLoaderScript, n as useClipboard, t as useNextTheme, ce as useOptionalSidebarLayout, le 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-ChcNUMOL.js";
|
|
3
3
|
import r from "react";
|
|
4
4
|
//#region node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
5
5
|
function i(e, t) {
|
package/dist/scss/variables.scss
CHANGED
|
@@ -765,6 +765,18 @@ $body-1000: var(--typography-size-1000);
|
|
|
765
765
|
--HS-text-brand-default: var(--primitives-brand-500);
|
|
766
766
|
--HS-text-brand-default-alt: var(--primitives-brand-600);
|
|
767
767
|
--HS-text-brand-selected: var(--primitives-brand-800);
|
|
768
|
+
/* Header surfaces and focus; SubHeader text follows header/sub in Figma. */
|
|
769
|
+
--HS-header-main-background: var(--primitives-neutral-0);
|
|
770
|
+
--HS-header-main-border: var(--primitives-neutral-50);
|
|
771
|
+
--HS-header-focus: var(--primitives-brand-500);
|
|
772
|
+
--HS-header-mobile-background: var(--primitives-neutral-0);
|
|
773
|
+
--HS-header-mobile-overlay: var(--primitives-neutral-1000);
|
|
774
|
+
--HS-header-sub-background: var(--primitives-neutral-0);
|
|
775
|
+
--HS-header-sub-border: var(--primitives-neutral-50);
|
|
776
|
+
--HS-header-sub-focus: var(--primitives-brand-500);
|
|
777
|
+
--HS-header-sub-default: var(--primitives-neutral-1000);
|
|
778
|
+
--HS-header-sub-selected: var(--primitives-brand-700);
|
|
779
|
+
--HS-header-sub-hover: var(--HS-header-sub-selected);
|
|
768
780
|
--HS-text-success-Primary: var(--primitives-success-700);
|
|
769
781
|
--HS-text-success-Secondary: var(--primitives-success-500);
|
|
770
782
|
--HS-text-success-default-alt: var(--primitives-success-1000);
|
|
@@ -889,6 +901,18 @@ $body-1000: var(--typography-size-1000);
|
|
|
889
901
|
--HS-text-brand-default: var(--primitives-brand-500);
|
|
890
902
|
--HS-text-brand-default-alt: var(--primitives-brand-400);
|
|
891
903
|
--HS-text-brand-selected: var(--primitives-brand-50);
|
|
904
|
+
/* Preserve the existing dark navigation palette. */
|
|
905
|
+
--HS-header-main-background: var(--primitives-neutral-900);
|
|
906
|
+
--HS-header-main-border: var(--primitives-neutral-800);
|
|
907
|
+
--HS-header-focus: var(--primitives-brand-500);
|
|
908
|
+
--HS-header-mobile-background: var(--primitives-neutral-900);
|
|
909
|
+
--HS-header-mobile-overlay: var(--primitives-neutral-1000);
|
|
910
|
+
--HS-header-sub-background: var(--primitives-neutral-900);
|
|
911
|
+
--HS-header-sub-border: var(--primitives-neutral-800);
|
|
912
|
+
--HS-header-sub-focus: var(--primitives-brand-500);
|
|
913
|
+
--HS-header-sub-default: var(--primitives-neutral-25);
|
|
914
|
+
--HS-header-sub-selected: var(--primitives-brand-400);
|
|
915
|
+
--HS-header-sub-hover: var(--HS-header-sub-selected);
|
|
892
916
|
--HS-text-success-Primary: var(--primitives-success-300);
|
|
893
917
|
--HS-text-success-Secondary: var(--primitives-success-500);
|
|
894
918
|
--HS-text-success-default-alt: var(--primitives-neutral-0);
|