highsoft-ui 1.0.166 → 1.0.167
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-BMEB82QL.js} +2 -2
- package/dist/{Button-Ckhn8DSF.js → Button-CdrrwvXk.js} +1 -1
- package/dist/{ButtonGroup-DJ9-E38n.js → ButtonGroup-BLkws_1r.js} +1 -1
- package/dist/{Checkbox-D1mlWTmw.js → Checkbox-CANbP6f1.js} +1 -1
- package/dist/{CodeBlock-C2W0T4RT.js → CodeBlock-uC58F4a0.js} +4 -4
- package/dist/{CookiePolicyModal-CPNTKMHc.js → CookiePolicyModal-BzwB-YHV.js} +2 -2
- package/dist/{CopyCode-BOehQAZN.js → CopyCode-DxxkY2kc.js} +2 -2
- package/dist/{Dropdown-Cjl8RQ5Y.js → Dropdown-QsYaDPOC.js} +1 -1
- package/dist/{Footer-DLMNyBXC.js → Footer-HsmWZqYI.js} +7 -7
- package/dist/{FooterBottom-ZK9F7wLx.js → FooterBottom-DAe43eoh.js} +2 -2
- package/dist/{FooterHelp-Csfq-quf.js → FooterHelp-BB1s4wdX.js} +2 -2
- package/dist/{FooterLinks-CGoBeReu.js → FooterLinks-CCW29MM7.js} +3 -3
- package/dist/{Header-Pe6siDNx.js → Header-CrLwXLXJ.js} +24 -24
- package/dist/{InputGrouped-BLtnqxWc.js → InputGrouped-vToXKD3G.js} +2 -2
- package/dist/{Label-KDdBAgyD.js → Label-B-Xt6XQQ.js} +1 -1
- package/dist/List-DjnBw3VY.js +80 -0
- package/dist/{LogoCarousel-CJShpLJo.js → LogoCarousel-BF0C-ZTk.js} +2 -2
- package/dist/{NewsletterSignup-g8wPQ7NZ.js → NewsletterSignup-BTSzt793.js} +5 -5
- package/dist/{Notification-DQostuW6.js → Notification-Bb5gAUtp.js} +3 -3
- package/dist/{PrefPanel-Cf-xZ261.js → PrefPanel-PUo4GkIF.js} +2 -2
- package/dist/{PrevNextNav-Cd6_IdPd.js → PrevNextNav-XaxS2FTm.js} +1 -1
- package/dist/{RoadmapDetails-DMrLLty1.js → RoadmapDetails-BeOcvtZS.js} +3 -3
- package/dist/{Search-Cy79c2sN.js → Search-BeOH4XUH.js} +5 -5
- package/dist/{SearchDropdown-BA7CPuRf.js → SearchDropdown-LvkKAoM9.js} +1 -1
- package/dist/{Tabs-BuDaPqdN.js → Tabs-B3LZUm4Q.js} +1 -1
- package/dist/{Typography-AvvBRu-u.js → Typography-DI1AkqiO.js} +1 -1
- package/dist/{VideoCover-DlhRqr4Q.js → VideoCover-BSDxeqcs.js} +2 -2
- package/dist/{VideoPlayer-De_ejf8u.js → VideoPlayer-BpvOHF5Z.js} +6 -6
- package/dist/{VideoPlayerModal-DNUIn0jM.js → VideoPlayerModal-CUfLw2MK.js} +2 -2
- package/dist/{YoutubeModal-D_pHHwxa.js → YoutubeModal-3pu-Gx0q.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/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 +3 -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/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 +3 -3
- package/dist/components/Sidebar/SidebarLayout.js +2 -2
- 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/{create-element-BNkLOXrc.js → create-element-DvDqDt-f.js} +1 -1
- 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/Typography/index.d.ts +1 -0
- package/dist/lib/main.d.ts +2 -0
- package/dist/main.js +39 -38
- package/dist/{prism-light-CAkriFcS.js → prism-light-oph9ikSp.js} +1 -1
- package/package.json +1 -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
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-CdrrwvXk.js";
|
|
4
|
+
import { t as s } from "./BrowserFrame-BMEB82QL.js";
|
|
5
|
+
import { t as c } from "./CopyCode-DxxkY2kc.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-uC58F4a0.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-BF0C-ZTk.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-BLkws_1r.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-LvkKAoM9.js";
|
|
16
|
+
import { i as b, n as x, r as S, t as C } from "./InputGrouped-vToXKD3G.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
|
-
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-DjnBw3VY.js";
|
|
22
|
+
import { t as A } from "./Logo-Bz0G2G-k.js";
|
|
23
|
+
import { t as j } from "./NewsletterSignup-BTSzt793.js";
|
|
24
|
+
import { n as M, r as N, t as P } from "./Dropdown-QsYaDPOC.js";
|
|
25
|
+
import { t as F } from "./PrefPanel-PUo4GkIF.js";
|
|
26
|
+
import { n as I, t as L } from "./Label-B-Xt6XQQ.js";
|
|
27
|
+
import { t as R } from "./VideoCover-BSDxeqcs.js";
|
|
28
|
+
import { t as z } from "./VideoPlayer-BpvOHF5Z.js";
|
|
29
|
+
import { t as B } from "./VideoPlayerModal-CUfLw2MK.js";
|
|
30
|
+
import { t as V } from "./Footer-HsmWZqYI.js";
|
|
31
|
+
import { n as H } from "./GPTInput-C0YG1990.js";
|
|
32
|
+
import { t as U } from "./Notification-Bb5gAUtp.js";
|
|
33
|
+
import { n as W, t as G } from "./Header-CrLwXLXJ.js";
|
|
34
|
+
import { t as K } from "./Tabs-B3LZUm4Q.js";
|
|
35
|
+
import { n as q, t as J } from "./RadioBox-o1Ssyj0s.js";
|
|
36
|
+
import { n as Y, t as X } from "./Checkbox-CANbP6f1.js";
|
|
37
|
+
import { Modal as Z } from "./components/Modal/index.js";
|
|
38
|
+
import { t as Q } from "./RoadmapDetails-BeOcvtZS.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) {
|