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.
@@ -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 {};
@@ -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 { 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";
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 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 };
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.168",
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": "ISC",
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",