highsoft-ui 1.0.168 → 1.0.170
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 +56 -0
- package/LICENSE.txt +11 -0
- package/README.md +4 -0
- package/dist/Features-BS-_cksu.js +93 -0
- package/dist/components/Features/index.js +2 -0
- package/dist/highsoft-ui.css +1 -1
- package/dist/lib/components/Features/index.d.ts +38 -0
- package/dist/lib/main.d.ts +2 -0
- package/dist/main.js +30 -29
- package/package.json +3 -3
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FC, HTMLAttributes, ReactNode, SVGProps } from 'react';
|
|
2
|
+
import { TypographyColor } from '../Typography';
|
|
3
|
+
/** A feature icon: any component from `@untitled-ui/icons-react`. */
|
|
4
|
+
export type FeatureIcon = FC<SVGProps<SVGSVGElement>>;
|
|
5
|
+
/** Heading level for a feature title rendered as a run-in heading. */
|
|
6
|
+
export type FeatureHeadingLevel = 2 | 3 | 4 | 5 | 6;
|
|
7
|
+
/** Maximum columns in a `Features` grid. */
|
|
8
|
+
export type FeaturesColumns = 1 | 2 | 3 | 4;
|
|
9
|
+
/**
|
|
10
|
+
* Description color. `secondary` passes WCAG AA on every surface in both
|
|
11
|
+
* themes; `tertiary` is lighter but only reaches 4.5:1 on a white
|
|
12
|
+
* (background-0) surface.
|
|
13
|
+
*/
|
|
14
|
+
export type FeatureDescriptionColor = Extract<TypographyColor, 'secondary' | 'tertiary'>;
|
|
15
|
+
interface FeatureColorProps {
|
|
16
|
+
/** Icon color, a text color token (default `primary`) */
|
|
17
|
+
iconColor?: TypographyColor;
|
|
18
|
+
/** Description color: `secondary` (default) or the lighter `tertiary`, for white/background-0 surfaces only */
|
|
19
|
+
descriptionColor?: FeatureDescriptionColor;
|
|
20
|
+
}
|
|
21
|
+
export interface FeaturesProps extends HTMLAttributes<HTMLUListElement>, FeatureColorProps {
|
|
22
|
+
/** Maximum number of columns (default `3`). Columns drop out as the container narrows. */
|
|
23
|
+
columns?: FeaturesColumns;
|
|
24
|
+
children?: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
export declare const Features: import('react').ForwardRefExoticComponent<FeaturesProps & import('react').RefAttributes<HTMLUListElement>>;
|
|
27
|
+
export interface FeatureItemProps extends Omit<HTMLAttributes<HTMLElement>, 'title' | 'color'>, FeatureColorProps {
|
|
28
|
+
/** The icon, an `@untitled-ui/icons-react` component. Its size is fixed by the design. */
|
|
29
|
+
icon: FeatureIcon;
|
|
30
|
+
/** The run-in title, set semibold in primary text ahead of the description */
|
|
31
|
+
title: ReactNode;
|
|
32
|
+
/** Render the title as an `<h2>`–`<h6>` instead of `<strong>`, for features that are page sections */
|
|
33
|
+
headingLevel?: FeatureHeadingLevel;
|
|
34
|
+
/** The description — may contain inline content such as links */
|
|
35
|
+
children?: ReactNode;
|
|
36
|
+
}
|
|
37
|
+
export declare const FeatureItem: import('react').ForwardRefExoticComponent<FeatureItemProps & import('react').RefAttributes<HTMLElement>>;
|
|
38
|
+
export {};
|
package/dist/lib/main.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ 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
9
|
export type { ListProps, ListItemProps, ListSize, ListVariant, ListIcon } from './components/List';
|
|
10
|
+
export type { FeaturesProps, FeaturesColumns, FeatureItemProps, FeatureIcon, FeatureHeadingLevel, FeatureDescriptionColor } from './components/Features';
|
|
10
11
|
export type { LinkProps, LinkVariant } from './components/Link';
|
|
11
12
|
export type { ProductIconProps, ProductIconTheme, ProductIconName } from './components/ProductIcon';
|
|
12
13
|
export type { FrameworkIconProps, FrameworkIconTheme, FrameworkIconName } from './components/FrameworkIcon';
|
|
@@ -40,6 +41,7 @@ export { DiscordInvite } from './components/DiscordInvite';
|
|
|
40
41
|
export { Heading } from './components/Heading';
|
|
41
42
|
export { Typography } from './components/Typography';
|
|
42
43
|
export { List, ListItem } from './components/List';
|
|
44
|
+
export { Features, FeatureItem } from './components/Features';
|
|
43
45
|
export { Footer } from './components/Footer';
|
|
44
46
|
export { GPTInput } from './components/GPTInput';
|
|
45
47
|
export { Header, SubHeader } from './components/Header';
|
package/dist/main.js
CHANGED
|
@@ -19,33 +19,34 @@ import { t as T } from "./DiscordInvite-DfPVlJ5G.js";
|
|
|
19
19
|
import { t as E } from "./Heading-DNDHqYWO.js";
|
|
20
20
|
import { n as D } from "./Typography-DI1AkqiO.js";
|
|
21
21
|
import { n as O, t as k } from "./List-B1zRI6pm.js";
|
|
22
|
-
import {
|
|
23
|
-
import { t as
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { t as
|
|
29
|
-
import { t as
|
|
30
|
-
import { t as
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { n as Y, t as X } from "./
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
22
|
+
import { n as A, t as j } from "./Features-BS-_cksu.js";
|
|
23
|
+
import { t as M } from "./Logo-Bz0G2G-k.js";
|
|
24
|
+
import { t as N } from "./NewsletterSignup-BPLup66s.js";
|
|
25
|
+
import { n as P, r as F, t as I } from "./Dropdown-DLRtYhFa.js";
|
|
26
|
+
import { t as L } from "./PrefPanel-6oTpfC5q.js";
|
|
27
|
+
import { n as R, t as z } from "./Label-B-Xt6XQQ.js";
|
|
28
|
+
import { t as B } from "./VideoCover-25FfvhPg.js";
|
|
29
|
+
import { t as V } from "./VideoPlayer-CB2lOh95.js";
|
|
30
|
+
import { t as H } from "./VideoPlayerModal-CVJbPd6n.js";
|
|
31
|
+
import { t as U } from "./Footer-B5lSjhAD.js";
|
|
32
|
+
import { n as W } from "./GPTInput-g460kfc6.js";
|
|
33
|
+
import { t as G } from "./Notification-DtqcW5FH.js";
|
|
34
|
+
import { n as K, t as q } from "./Header-CQKgp8xy.js";
|
|
35
|
+
import { t as J } from "./Tabs-TRXBM5Zr.js";
|
|
36
|
+
import { n as Y, t as X } from "./RadioBox-C7bDjItJ.js";
|
|
37
|
+
import { n as Z, t as Q } from "./Checkbox-DU_KGp-P.js";
|
|
38
|
+
import { Modal as $ } from "./components/Modal/index.js";
|
|
39
|
+
import { t as ee } from "./RoadmapDetails-CLQzIxv7.js";
|
|
40
|
+
import { ModalContactFooter as te } from "./components/Modal/ModalContactFooter.js";
|
|
41
|
+
import { useOptionalSidebarLayout as ne, useSidebarLayout as re } from "./components/Sidebar/context.js";
|
|
42
|
+
import { SidebarLayout as ie, SidebarMain as ae } from "./components/Sidebar/SidebarLayout.js";
|
|
43
|
+
import { SidebarResizer as oe } from "./components/Sidebar/SidebarResizer.js";
|
|
44
|
+
import { Sidebar as se, SidebarBody as ce, SidebarHeader as le, SidebarSection as ue } from "./components/Sidebar/Sidebar.js";
|
|
45
|
+
import { SidebarSwitcher as de } from "./components/Sidebar/SidebarSwitcher.js";
|
|
46
|
+
import { NavItem as fe } from "./components/Sidebar/NavItem.js";
|
|
47
|
+
import { NavGroup as pe } from "./components/Sidebar/NavGroup.js";
|
|
48
|
+
import { NavDisclosure as me } from "./components/Sidebar/NavDisclosure.js";
|
|
48
49
|
import "./components/Sidebar/index.js";
|
|
49
|
-
import { t as
|
|
50
|
-
import { ThemeLoader as
|
|
51
|
-
export { a as Box, s as BrowserFrame, o as Button, _ as ButtonGroup,
|
|
50
|
+
import { t as he } from "./PrevNextNav-XaxS2FTm.js";
|
|
51
|
+
import { ThemeLoader as ge, themeLoaderScript as _e } from "./components/ThemeLoader/index.js";
|
|
52
|
+
export { a as Box, s as BrowserFrame, o as Button, _ as ButtonGroup, Q as Checkbox, Z as CheckboxGroup, f as ClientLogo, u as CodeBlock, w as Container, c as CopyCode, T as DiscordInvite, I as Dropdown, P as DropdownItem, F as DropdownSeparator, j as FeatureItem, A as Features, U as Footer, C as FormGroup, x as FormRow, l as FrameworkIcon, W as GPTInput, q as Header, E as Heading, m as Icon, S as InputGrouped, v as InputSolo, z as Label, h as Link, k as List, O as ListItem, M as Logo, p as LogoCarousel, $ as Modal, te as ModalContactFooter, me as NavDisclosure, pe as NavGroup, fe as NavItem, R as NewTag, N as NewsletterSignup, G as Notification, L as PrefPanel, he as PrevNextNav, g as ProductIcon, X as RadioBox, Y as RadioBoxGroup, ee as RoadmapDetails, y as SearchDropdown, b as SelectGrouped, se as Sidebar, ce as SidebarBody, le as SidebarHeader, ie as SidebarLayout, ae as SidebarMain, oe as SidebarResizer, ue as SidebarSection, de as SidebarSwitcher, K as SubHeader, J as Tabs, ge as ThemeLoader, i as ThemeProvider, D as Typography, B as VideoCover, V as VideoPlayer, H as VideoPlayerModal, d as clientLogoLabels, _e as themeLoaderScript, n as useClipboard, t as useNextTheme, ne as useOptionalSidebarLayout, re as useSidebarLayout, r as useSuccessFlash, e as useTheme };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "highsoft-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.170",
|
|
4
4
|
"description": "Highsoft UI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
]
|
|
69
69
|
},
|
|
70
70
|
"keywords": [],
|
|
71
|
-
"author": "",
|
|
72
|
-
"license": "
|
|
71
|
+
"author": "Highsoft AS <support@highcharts.com> (http://www.highcharts.com/about)",
|
|
72
|
+
"license": "https://www.highcharts.com/license",
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@astrojs/react": "^6.0.0",
|
|
75
75
|
"@paper-design/shaders-react": "^0.0.76",
|