highsoft-ui 1.0.166 → 1.0.168
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 +41 -0
- package/dist/{BrowserFrame-BWKH-jYq.js → BrowserFrame-CisPLoTR.js} +3 -2
- package/dist/{Button-Ckhn8DSF.js → Button-CdrrwvXk.js} +1 -1
- package/dist/{ButtonGroup-DJ9-E38n.js → ButtonGroup-JtJaVLlu.js} +2 -1
- package/dist/{Checkbox-D1mlWTmw.js → Checkbox-DU_KGp-P.js} +2 -1
- package/dist/{CodeBlock-C2W0T4RT.js → CodeBlock-CGBo8nwy.js} +6 -5
- package/dist/{CookiePolicyModal-CPNTKMHc.js → CookiePolicyModal-xPb4G_hM.js} +4 -3
- package/dist/{CopyCode-BOehQAZN.js → CopyCode-72gVieQO.js} +4 -3
- package/dist/{DiscordInvite-CLYxexdH.js → DiscordInvite-DfPVlJ5G.js} +1 -0
- package/dist/{Dropdown-Cjl8RQ5Y.js → Dropdown-DLRtYhFa.js} +5 -4
- package/dist/{Footer-DLMNyBXC.js → Footer-B5lSjhAD.js} +10 -9
- package/dist/{FooterBottom-ZK9F7wLx.js → FooterBottom-B8GCRg2o.js} +4 -3
- package/dist/{FooterHelp-Csfq-quf.js → FooterHelp-D5X2Pco9.js} +4 -3
- package/dist/{FooterLinks-CGoBeReu.js → FooterLinks-CCW29MM7.js} +3 -3
- package/dist/{GPTInput-C0YG1990.js → GPTInput-g460kfc6.js} +1 -0
- package/dist/{Header-Pe6siDNx.js → Header-CQKgp8xy.js} +33 -32
- package/dist/{InputGrouped-BLtnqxWc.js → InputGrouped-DLghbzO7.js} +3 -2
- package/dist/{InputSolo-DUdKtZjX.js → InputSolo-CbnsJlJu.js} +1 -0
- package/dist/{Label-KDdBAgyD.js → Label-B-Xt6XQQ.js} +1 -1
- package/dist/List-B1zRI6pm.js +81 -0
- package/dist/{LogoCarousel-CJShpLJo.js → LogoCarousel-TbyB0ot0.js} +4 -3
- package/dist/{NewsletterSignup-g8wPQ7NZ.js → NewsletterSignup-BPLup66s.js} +8 -7
- package/dist/{Notification-DQostuW6.js → Notification-DtqcW5FH.js} +4 -3
- package/dist/{PrefPanel-Cf-xZ261.js → PrefPanel-6oTpfC5q.js} +6 -5
- package/dist/{PrevNextNav-Cd6_IdPd.js → PrevNextNav-XaxS2FTm.js} +1 -1
- package/dist/{RadioBox-o1Ssyj0s.js → RadioBox-C7bDjItJ.js} +1 -0
- package/dist/{RoadmapDetails-DMrLLty1.js → RoadmapDetails-CLQzIxv7.js} +4 -3
- package/dist/{SearchDropdown-BA7CPuRf.js → SearchDropdown-Ow5_Hu21.js} +3 -2
- package/dist/{Tabs-BuDaPqdN.js → Tabs-TRXBM5Zr.js} +2 -1
- package/dist/{Typography-AvvBRu-u.js → Typography-DI1AkqiO.js} +1 -1
- package/dist/{VideoCover-DlhRqr4Q.js → VideoCover-25FfvhPg.js} +3 -2
- package/dist/{VideoPlayer-De_ejf8u.js → VideoPlayer-CB2lOh95.js} +7 -6
- package/dist/{VideoPlayerModal-DNUIn0jM.js → VideoPlayerModal-CVJbPd6n.js} +5 -4
- package/dist/{YoutubeModal-D_pHHwxa.js → YoutubeModal-j51vfjYk.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/DiscordInvite/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/GPTInput/index.js +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/components/InputGrouped/index.js +1 -1
- package/dist/components/InputSolo/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/List/index.js +2 -0
- package/dist/components/LogoCarousel/index.js +1 -1
- package/dist/components/Modal/ModalContactFooter.js +3 -3
- package/dist/components/Modal/index.js +4 -3
- 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/RadioBox/index.js +1 -1
- package/dist/components/RoadmapDetails/index.js +1 -1
- package/dist/{Search-Cy79c2sN.js → components/Search/SearchDialog.js} +610 -627
- package/dist/components/Search/index.js +39 -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 +3 -3
- package/dist/components/Sidebar/SidebarLayout.js +3 -3
- package/dist/components/Sidebar/SidebarSwitcher.js +1 -1
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Typography/index.js +2 -2
- 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 +1 -0
- package/dist/{create-element-BNkLOXrc.js → create-element-DvDqDt-f.js} +1 -1
- package/dist/{dist-CE9LFbij.js → dist-BAH-0dTg.js} +2 -1
- package/dist/{dist-B04QoImH.js → dist-D5nNWgEm.js} +2 -1
- package/dist/{dist-f0z6DapB.js → dist-DWZ0DflU.js} +2 -1
- package/dist/{dist-J9cXmrDi.js → dist-an9z21ra.js} +1 -1
- package/dist/{es2015-DWa0ZZ7A.js → es2015-DGI5uxql.js} +1 -0
- package/dist/{esm-u0DqOC56.js → esm-zUd-Cmgs.js} +73 -59
- package/dist/highsoft-ui.css +1 -1
- package/dist/lib/components/List/index.d.ts +35 -0
- package/dist/lib/components/Search/SearchDialog.d.ts +4 -0
- package/dist/lib/components/Typography/index.d.ts +1 -0
- package/dist/lib/main.d.ts +2 -0
- package/dist/main.js +42 -41
- package/dist/{prism-light-CAkriFcS.js → prism-light-oph9ikSp.js} +1 -1
- package/dist/{utils-K9S_6_Eq.js → utils-bAjntFD8.js} +1 -0
- package/dist/utils.js +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FC, HTMLAttributes, LiHTMLAttributes, ReactNode, SVGProps } from 'react';
|
|
2
|
+
import { TypographyColor } from '../Typography';
|
|
3
|
+
export type ListSize = 50 | 75 | 100 | 200 | 300;
|
|
4
|
+
/**
|
|
5
|
+
* `bullet` renders a `<ul>` whose marker is an icon; `number` renders an
|
|
6
|
+
* `<ol>` with decimal numerals. Numbers are the only ordered style — no
|
|
7
|
+
* letters, roman numerals or symbols.
|
|
8
|
+
*/
|
|
9
|
+
export type ListVariant = 'bullet' | 'number';
|
|
10
|
+
/** A marker icon: any component from `@untitled-ui/icons-react`. */
|
|
11
|
+
export type ListIcon = FC<SVGProps<SVGSVGElement>>;
|
|
12
|
+
export interface ListProps extends Omit<HTMLAttributes<HTMLUListElement | HTMLOListElement>, 'color'> {
|
|
13
|
+
/** `bullet` (default) — icon markers in a `<ul>`; `number` — decimal numerals in an `<ol>` */
|
|
14
|
+
variant?: ListVariant;
|
|
15
|
+
/** Text size — the typography sizes 50, 75, 100, 200 (default) and 300. The marker scales with it. */
|
|
16
|
+
size?: ListSize;
|
|
17
|
+
/** Bullet icon, an `@untitled-ui/icons-react` component (default `ArrowRight`). Bullet lists only; `ListItem` can override it per item. */
|
|
18
|
+
icon?: ListIcon;
|
|
19
|
+
/** Text color (default `primary`) */
|
|
20
|
+
color?: TypographyColor;
|
|
21
|
+
/** Marker color — the icon or the numeral. Defaults to `color`; `ListItem` can override it per item. */
|
|
22
|
+
iconColor?: TypographyColor;
|
|
23
|
+
/** First number of a `number` list (default `1`) */
|
|
24
|
+
start?: number;
|
|
25
|
+
children?: ReactNode;
|
|
26
|
+
}
|
|
27
|
+
export declare const List: import('react').ForwardRefExoticComponent<ListProps & import('react').RefAttributes<HTMLOListElement | HTMLUListElement>>;
|
|
28
|
+
export interface ListItemProps extends Omit<LiHTMLAttributes<HTMLLIElement>, 'color'> {
|
|
29
|
+
/** Override the list's bullet icon for this item (bullet lists only) */
|
|
30
|
+
icon?: ListIcon;
|
|
31
|
+
/** Override the marker color for this item */
|
|
32
|
+
iconColor?: TypographyColor;
|
|
33
|
+
children?: ReactNode;
|
|
34
|
+
}
|
|
35
|
+
export declare const ListItem: import('react').ForwardRefExoticComponent<ListItemProps & import('react').RefAttributes<HTMLLIElement>>;
|
|
@@ -2,6 +2,7 @@ import { HTMLAttributes, ElementType, ReactNode } from 'react';
|
|
|
2
2
|
export type TypographySize = 50 | 75 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;
|
|
3
3
|
export type TypographyWeight = 'normal' | 'medium' | 'semi';
|
|
4
4
|
export type TypographyColor = 'primary' | 'secondary' | 'tertiary' | 'brand' | 'brandAlt' | 'brandSelected' | 'successPrimary' | 'successSecondary' | 'successAlt' | 'attention' | 'attentionAlt' | 'danger';
|
|
5
|
+
export declare const TYPOGRAPHY_COLOR_MAP: Record<TypographyColor, string>;
|
|
5
6
|
export interface TypographyProps extends HTMLAttributes<HTMLElement> {
|
|
6
7
|
children?: ReactNode;
|
|
7
8
|
size?: TypographySize;
|
package/dist/lib/main.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export type { DiscordInviteProps } from './components/DiscordInvite';
|
|
|
6
6
|
export type { HeadingProps, HeadingLevel } from './components/Heading';
|
|
7
7
|
export type { TypographyProps, TypographyColor, TypographySize, TypographyWeight } from './components/Typography';
|
|
8
8
|
export type { IconProps, IconSize } from './components/Icon';
|
|
9
|
+
export type { ListProps, ListItemProps, ListSize, ListVariant, ListIcon } from './components/List';
|
|
9
10
|
export type { LinkProps, LinkVariant } from './components/Link';
|
|
10
11
|
export type { ProductIconProps, ProductIconTheme, ProductIconName } from './components/ProductIcon';
|
|
11
12
|
export type { FrameworkIconProps, FrameworkIconTheme, FrameworkIconName } from './components/FrameworkIcon';
|
|
@@ -38,6 +39,7 @@ export { Container } from './components/Container';
|
|
|
38
39
|
export { DiscordInvite } from './components/DiscordInvite';
|
|
39
40
|
export { Heading } from './components/Heading';
|
|
40
41
|
export { Typography } from './components/Typography';
|
|
42
|
+
export { List, ListItem } from './components/List';
|
|
41
43
|
export { Footer } from './components/Footer';
|
|
42
44
|
export { GPTInput } from './components/GPTInput';
|
|
43
45
|
export { Header, SubHeader } from './components/Header';
|
package/dist/main.js
CHANGED
|
@@ -1,50 +1,51 @@
|
|
|
1
|
-
import { c as e, d as t, r as n, s as r, u as i } from "./utils-
|
|
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 { t as s } from "./BrowserFrame-
|
|
5
|
-
import { t as c } from "./CopyCode-
|
|
3
|
+
import { t as o } from "./Button-CdrrwvXk.js";
|
|
4
|
+
import { t as s } from "./BrowserFrame-CisPLoTR.js";
|
|
5
|
+
import { t as c } from "./CopyCode-72gVieQO.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-CGBo8nwy.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-TbyB0ot0.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-
|
|
14
|
-
import { t as v } from "./InputSolo-
|
|
15
|
-
import { t as y } from "./SearchDropdown-
|
|
16
|
-
import { i as b, n as x, r as S, t as C } from "./InputGrouped-
|
|
13
|
+
import { t as _ } from "./ButtonGroup-JtJaVLlu.js";
|
|
14
|
+
import { t as v } from "./InputSolo-CbnsJlJu.js";
|
|
15
|
+
import { t as y } from "./SearchDropdown-Ow5_Hu21.js";
|
|
16
|
+
import { i as b, n as x, r as S, t as C } from "./InputGrouped-DLghbzO7.js";
|
|
17
17
|
import { t as w } from "./Container-BDssaLig.js";
|
|
18
|
-
import { t as T } from "./DiscordInvite-
|
|
18
|
+
import { t as T } from "./DiscordInvite-DfPVlJ5G.js";
|
|
19
19
|
import { t as E } from "./Heading-DNDHqYWO.js";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { t as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import { t as
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { n as q, t as J } from "./
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
20
|
+
import { n as D } from "./Typography-DI1AkqiO.js";
|
|
21
|
+
import { n as O, t as k } from "./List-B1zRI6pm.js";
|
|
22
|
+
import { t as A } from "./Logo-Bz0G2G-k.js";
|
|
23
|
+
import { t as j } from "./NewsletterSignup-BPLup66s.js";
|
|
24
|
+
import { n as M, r as N, t as P } from "./Dropdown-DLRtYhFa.js";
|
|
25
|
+
import { t as F } from "./PrefPanel-6oTpfC5q.js";
|
|
26
|
+
import { n as I, t as L } from "./Label-B-Xt6XQQ.js";
|
|
27
|
+
import { t as R } from "./VideoCover-25FfvhPg.js";
|
|
28
|
+
import { t as z } from "./VideoPlayer-CB2lOh95.js";
|
|
29
|
+
import { t as B } from "./VideoPlayerModal-CVJbPd6n.js";
|
|
30
|
+
import { t as V } from "./Footer-B5lSjhAD.js";
|
|
31
|
+
import { n as H } from "./GPTInput-g460kfc6.js";
|
|
32
|
+
import { t as U } from "./Notification-DtqcW5FH.js";
|
|
33
|
+
import { n as W, t as G } from "./Header-CQKgp8xy.js";
|
|
34
|
+
import { t as K } from "./Tabs-TRXBM5Zr.js";
|
|
35
|
+
import { n as q, t as J } from "./RadioBox-C7bDjItJ.js";
|
|
36
|
+
import { n as Y, t as X } from "./Checkbox-DU_KGp-P.js";
|
|
37
|
+
import { Modal as Z } from "./components/Modal/index.js";
|
|
38
|
+
import { t as Q } from "./RoadmapDetails-CLQzIxv7.js";
|
|
39
|
+
import { ModalContactFooter as $ } from "./components/Modal/ModalContactFooter.js";
|
|
40
|
+
import { useOptionalSidebarLayout as ee, useSidebarLayout as te } from "./components/Sidebar/context.js";
|
|
41
|
+
import { SidebarLayout as ne, SidebarMain as re } from "./components/Sidebar/SidebarLayout.js";
|
|
42
|
+
import { SidebarResizer as ie } from "./components/Sidebar/SidebarResizer.js";
|
|
43
|
+
import { Sidebar as ae, SidebarBody as oe, SidebarHeader as se, SidebarSection as ce } from "./components/Sidebar/Sidebar.js";
|
|
44
|
+
import { SidebarSwitcher as le } from "./components/Sidebar/SidebarSwitcher.js";
|
|
45
|
+
import { NavItem as ue } from "./components/Sidebar/NavItem.js";
|
|
46
|
+
import { NavGroup as de } from "./components/Sidebar/NavGroup.js";
|
|
47
|
+
import { NavDisclosure as fe } from "./components/Sidebar/NavDisclosure.js";
|
|
47
48
|
import "./components/Sidebar/index.js";
|
|
48
|
-
import { t as
|
|
49
|
-
import { ThemeLoader as
|
|
50
|
-
export { a as Box, s as BrowserFrame, o as Button, _ as ButtonGroup,
|
|
49
|
+
import { t as pe } from "./PrevNextNav-XaxS2FTm.js";
|
|
50
|
+
import { ThemeLoader as me, themeLoaderScript as he } from "./components/ThemeLoader/index.js";
|
|
51
|
+
export { a as Box, s as BrowserFrame, o as Button, _ as ButtonGroup, X as Checkbox, Y as CheckboxGroup, f as ClientLogo, u as CodeBlock, w as Container, c as CopyCode, T as DiscordInvite, P as Dropdown, M as DropdownItem, N as DropdownSeparator, V as Footer, C as FormGroup, x as FormRow, l as FrameworkIcon, H as GPTInput, G as Header, E as Heading, m as Icon, S as InputGrouped, v as InputSolo, L as Label, h as Link, k as List, O as ListItem, A as Logo, p as LogoCarousel, Z as Modal, $ as ModalContactFooter, fe as NavDisclosure, de as NavGroup, ue as NavItem, I as NewTag, j as NewsletterSignup, U as Notification, F as PrefPanel, pe as PrevNextNav, g as ProductIcon, J as RadioBox, q as RadioBoxGroup, Q as RoadmapDetails, y as SearchDropdown, b as SelectGrouped, ae as Sidebar, oe as SidebarBody, se as SidebarHeader, ne as SidebarLayout, re as SidebarMain, ie as SidebarResizer, ce as SidebarSection, le as SidebarSwitcher, W as SubHeader, K as Tabs, me as ThemeLoader, i as ThemeProvider, D as Typography, R as VideoCover, z as VideoPlayer, B as VideoPlayerModal, d as clientLogoLabels, he as themeLoaderScript, n as useClipboard, t as useNextTheme, ee as useOptionalSidebarLayout, te 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-DvDqDt-f.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/utils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./utils-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./utils-bAjntFD8.js";
|
|
2
2
|
export { c as breakpoints, i as emailRegex, o as useClipboard, n as useIsomorphicLayoutEffect, e as useMediaQuery, a as useMounted, s as useSuccessFlash, t as useTheme, r as validateEmail };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "highsoft-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.168",
|
|
4
4
|
"description": "Highsoft UI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
"prettier": "^3.5.3",
|
|
113
113
|
"react": "^19.2.0",
|
|
114
114
|
"react-dom": "^19.2.0",
|
|
115
|
+
"rollup-preserve-directives": "^1.1.3",
|
|
115
116
|
"sass": "^1.75.0",
|
|
116
117
|
"storybook": "^10.2.19",
|
|
117
118
|
"stylelint": "^17.0.0",
|