@jirawatpyk/aura-react 5.32.0 → 5.34.0

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/dist/index.d.cts CHANGED
@@ -1210,6 +1210,10 @@ export interface AppShellProps {
1210
1210
  nav?: React$1.ReactElement | undefined;
1211
1211
  /** Top bar content (title, search, account menu). */
1212
1212
  header?: React$1.ReactNode | undefined;
1213
+ /** 5.33 (DxT Monitor #6): `'lg'` shows the top bar, `header` and all, only below 1024px — where the menu button is —
1214
+ * as when there is no `header`: from lg up it is hidden and `--aura-shell-bar-height` is 0. For apps whose phone
1215
+ * pages have a top bar (brand, avatar) and whose desktop pages don't. Default: the bar shows at every width. */
1216
+ headerHideFrom?: "lg" | undefined;
1213
1217
  children?: React$1.ReactNode | undefined;
1214
1218
  navLabel?: string | undefined;
1215
1219
  menuLabel?: string | undefined;
@@ -1610,6 +1614,70 @@ export interface Theme {
1610
1614
  /** CSS overriding the tokens. No selector: the whole page. A selector (".tenant-acme") scopes it. Load after aura.css. */
1611
1615
  css(selector?: string): string;
1612
1616
  }
1617
+ /** A monitored thing's state on a StatusTile. */
1618
+ export type StatusTileStatus = "down" | "problem" | "maintenance" | "ok";
1619
+ /** A colour for a tile's value or a marker: `danger`, `warning`, `accent` (violet), `neutral` (grey) or `default`
1620
+ * (the text colour). */
1621
+ export type TileTone = "danger" | "warning" | "accent" | "neutral" | "default";
1622
+ /** A small icon at the end of a StatusTile's second line ("SSL expires soon", "Muted"). */
1623
+ export interface StatusTileMarker {
1624
+ icon: IconInput;
1625
+ /** What it means. Read with the tile's name and shown as a tip on hover (a mouse only: on a phone, say it on the
1626
+ * detail page too). */
1627
+ label: string;
1628
+ /** Default `neutral`. */
1629
+ tone?: TileTone | undefined;
1630
+ }
1631
+ export interface StatusTileProps extends Pick<React$1.HTMLAttributes<HTMLElement>, "id" | "style" | "lang" | "dir">, React$1.AriaAttributes, DataAttributes {
1632
+ /** down (red), problem (amber), maintenance (violet) or ok (grey). Each has its own icon too, so colour is never the
1633
+ * only sign. */
1634
+ status: StatusTileStatus;
1635
+ /** The name. Wraps to two lines at most, then ends with "…"; a cut name shows in full in a tip on hover. */
1636
+ title: React$1.ReactNode;
1637
+ /** Top right, tabular figures: "12m", "99.98%", "240 ms". */
1638
+ value?: React$1.ReactNode | undefined;
1639
+ /** The value's colour. Default: the status's (down → danger, problem → warning, maintenance → accent, ok → default). */
1640
+ valueTone?: TileTone | undefined;
1641
+ /** A short second line: "since 09:41", "3 of 4 checks". */
1642
+ meta?: React$1.ReactNode | undefined;
1643
+ /** Small icons at the end of the second line, each with a label. */
1644
+ markers?: ReadonlyArray<StatusTileMarker> | undefined;
1645
+ /** Makes the whole tile a link. Its name is everything the tile says, in reading order. */
1646
+ href?: string | undefined;
1647
+ /** Your router's link (e.g. `next/link`); defaults to AuraProvider's `linkComponent`, then `<a>`. */
1648
+ linkComponent?: React$1.ElementType | undefined;
1649
+ /** The status word read out after the title. Default: the locale's (Down, Problem, Maintenance, OK). */
1650
+ statusLabel?: string | undefined;
1651
+ className?: string | undefined;
1652
+ }
1653
+ export interface TileGridProps extends Pick<React$1.HTMLAttributes<HTMLElement>, "id" | "style" | "lang" | "dir">, React$1.AriaAttributes, DataAttributes {
1654
+ /** Equal columns, responsive like Grid. Default `{ base: 2, md: 3 }` (two on phones, three from 768px). */
1655
+ columns?: Responsive<number> | undefined;
1656
+ /** Each child (and each child of a Fragment) becomes one list item; the grid is a `ul` with an 8px gap. */
1657
+ children?: React$1.ReactNode;
1658
+ className?: string | undefined;
1659
+ }
1660
+ export interface SparklineProps extends Pick<React$1.SVGAttributes<SVGSVGElement>, "id" | "style">, DataAttributes {
1661
+ /** The values, oldest first. `null` (or a value that isn't a finite number) is no point: the line breaks there. */
1662
+ data: ReadonlyArray<number | null | undefined>;
1663
+ /** Which points failed, by the same index as `data`. Shown only when `failures` isn't `none`. */
1664
+ failed?: ReadonlyArray<boolean | null | undefined> | undefined;
1665
+ /** How failed points show: `none` (default), `band` (a red band behind the point) or `ticks` (a red tick at the
1666
+ * foot). */
1667
+ failures?: "none" | "band" | "ticks" | undefined;
1668
+ /** The line's colour. Default `neutral`. */
1669
+ tone?: "neutral" | "accent" | "danger" | "warning" | "positive" | undefined;
1670
+ /** `sm` 80×24 (default), `md` 120×32. */
1671
+ size?: "sm" | "md" | undefined;
1672
+ /** The scale's ends; default the data's own lowest and highest. Give tiles the same ones to compare them. Values
1673
+ * beyond them are drawn at the edge. */
1674
+ min?: number | undefined;
1675
+ max?: number | undefined;
1676
+ /** What the line says, for screen readers ("Response time, last 24 h: 180–420 ms, 2 failures"). Without it the
1677
+ * sparkline is decoration and hidden from them. */
1678
+ label?: string | undefined;
1679
+ className?: string | undefined;
1680
+ }
1613
1681
  /** One SVG child: element name and its attributes. */
1614
1682
  export type IconShape = [
1615
1683
  string,
@@ -1802,6 +1870,10 @@ export declare const Container: React$1.ForwardRefExoticComponent<ContainerProps
1802
1870
  export interface PageHeaderProps extends Pick<React$1.HTMLAttributes<HTMLElement>, "id" | "lang" | "dir" | "role">, React$1.AriaAttributes, DataAttributes {
1803
1871
  /** Small mono line above the title — a section or breadcrumb-like context ("Monitor / Sites"). */
1804
1872
  eyebrow?: React$1.ReactNode | undefined;
1873
+ /** 5.33 (DxT Monitor #7): a `<Breadcrumb>` above the title, 4px from it like the eyebrow, in its own `div` (a `nav`
1874
+ * can't sit in the eyebrow's `p`) and its own 13px sans. Detail pages show a breadcrumb or an eyebrow; with both,
1875
+ * the breadcrumb comes first. */
1876
+ breadcrumb?: React$1.ReactNode | undefined;
1805
1877
  /** The page's heading. */
1806
1878
  title: React$1.ReactNode;
1807
1879
  /** A line under the title — counts, last update, owner. */
@@ -1816,42 +1888,10 @@ export interface PageHeaderProps extends Pick<React$1.HTMLAttributes<HTMLElement
1816
1888
  style?: React$1.CSSProperties | undefined;
1817
1889
  }
1818
1890
  export declare const PageHeader: React$1.ForwardRefExoticComponent<PageHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
1819
- /** AppShell — side navigation + top bar + content. The nav is fixed from lg (1024px) up and a Drawer below it.
1820
- * Which one shows is decided in CSS (4.16), so the server's HTML is already right on a phone and nothing shifts on
1821
- * hydration; JavaScript only opens and closes the drawer. */
1822
- export declare const AppShell: React$1.ForwardRefExoticComponent<AppShellProps & React$1.RefAttributes<HTMLDivElement>>;
1823
- /** ActionBar — a bar stuck to the bottom of the screen or of a card: a status line and the form's or selection's
1824
- * actions. It is `position: sticky`, so it stays in the flow at the end of its parent and never covers the last field. */
1825
- export declare const ActionBar: React$1.ForwardRefExoticComponent<ActionBarProps & React$1.RefAttributes<HTMLDivElement>>;
1826
- /** Separator — a 1px `aura-border-default` rule between groups of content (4.20). Decorative by default (hidden from
1827
- * screen readers); `decorative={false}` makes it a `role="separator"` that is announced. */
1828
- export declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
1829
- /** A static table. Scrolls sideways inside its own box when it is wider than its container. */
1830
- export declare const Table: React$1.ForwardRefExoticComponent<TableProps & React$1.RefAttributes<HTMLTableElement>>;
1831
- export declare const THead: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
1832
- export declare const TBody: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
1833
- export declare const TFoot: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
1834
- export declare const Tr: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
1835
- /** Header cell. `scope` defaults to `col`; pass `scope="row"` for a row header in the body. */
1836
- export declare const Th: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
1837
- /** Data cell. `numeric` right-aligns with tabular figures (money, counts). */
1838
- export declare const Td: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
1839
- /** BottomNav — a phone tab bar: icon over a short label, a count or dot, the current page marked. Fixed to the bottom,
1840
- * padded for the home indicator, with a spacer of the same height in the flow so nothing sits under it. Which
1841
- * breakpoints show it is decided in CSS, so the server's HTML is already right and nothing shifts on hydration. */
1842
- export declare const BottomNav: React$1.ForwardRefExoticComponent<BottomNavProps & React$1.RefAttributes<HTMLElement>>;
1843
- /** Min-width breakpoints in px, mirroring the aura-bp-* tokens. */
1844
- export declare const breakpoints: {
1845
- sm: 640;
1846
- md: 768;
1847
- lg: 1024;
1848
- xl: 1280;
1849
- };
1850
- /** The widest breakpoint the window currently meets: 'base' | 'sm' | 'md' | 'lg' | 'xl'. 'lg' during server render. */
1851
- export declare function useBreakpoint(): Breakpoint;
1852
- /** Pick a value for the current breakpoint from { base, sm, md, lg, xl } (falls back to the next smaller one). */
1853
- export declare function useResponsive<T>(value: Responsive<T>): T | undefined;
1854
- export declare const Surface: React$1.ForwardRefExoticComponent<SurfaceProps & React$1.RefAttributes<HTMLElement>>;
1891
+ /** StatusTile (5.34, DxT Monitor S06): one monitored thing — a status icon and tint, a two-line title, a value at the
1892
+ * top right, a short meta line and marker icons. With `href` the whole tile is one link, named by everything it
1893
+ * says. Put tiles in a TileGrid. Also exported from `/server` (status word in English unless `statusLabel`). */
1894
+ export declare const StatusTile: React$1.ForwardRefExoticComponent<StatusTileProps & React$1.RefAttributes<HTMLElement>>;
1855
1895
  /** Every built-in label. Function entries build the text from their arguments. */
1856
1896
  export interface AuraStrings {
1857
1897
  close: string;
@@ -1941,6 +1981,11 @@ export interface AuraStrings {
1941
1981
  breadcrumbMore: string;
1942
1982
  /** A Stepper step with `status: 'error'` (5.18). */
1943
1983
  stepError: string;
1984
+ /** StatusTile's status words (5.34). */
1985
+ statusDown: string;
1986
+ statusProblem: string;
1987
+ statusMaintenance: string;
1988
+ statusOk: string;
1944
1989
  }
1945
1990
  /** Built-in strings by locale. th and sv also ship as packs (`@jirawatpyk/aura-react/locales/th`, `/sv`, 5.9); in 6.0
1946
1991
  * only en stays built in and a Thai or Swedish app passes its pack to AuraProvider `strings`. */
@@ -1953,6 +1998,44 @@ export declare const STRINGS: {
1953
1998
  th: AuraStrings;
1954
1999
  sv: AuraStrings;
1955
2000
  };
2001
+ export declare const TileGrid: React$1.ForwardRefExoticComponent<TileGridProps & React$1.RefAttributes<HTMLUListElement>>;
2002
+ export declare const Sparkline: React$1.ForwardRefExoticComponent<SparklineProps & React$1.RefAttributes<SVGSVGElement>>;
2003
+ /** AppShell — side navigation + top bar + content. The nav is fixed from lg (1024px) up and a Drawer below it.
2004
+ * Which one shows is decided in CSS (4.16), so the server's HTML is already right on a phone and nothing shifts on
2005
+ * hydration; JavaScript only opens and closes the drawer. */
2006
+ export declare const AppShell: React$1.ForwardRefExoticComponent<AppShellProps & React$1.RefAttributes<HTMLDivElement>>;
2007
+ /** ActionBar — a bar stuck to the bottom of the screen or of a card: a status line and the form's or selection's
2008
+ * actions. It is `position: sticky`, so it stays in the flow at the end of its parent and never covers the last field. */
2009
+ export declare const ActionBar: React$1.ForwardRefExoticComponent<ActionBarProps & React$1.RefAttributes<HTMLDivElement>>;
2010
+ /** Separator — a 1px `aura-border-default` rule between groups of content (4.20). Decorative by default (hidden from
2011
+ * screen readers); `decorative={false}` makes it a `role="separator"` that is announced. */
2012
+ export declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
2013
+ /** A static table. Scrolls sideways inside its own box when it is wider than its container. */
2014
+ export declare const Table: React$1.ForwardRefExoticComponent<TableProps & React$1.RefAttributes<HTMLTableElement>>;
2015
+ export declare const THead: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
2016
+ export declare const TBody: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
2017
+ export declare const TFoot: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
2018
+ export declare const Tr: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
2019
+ /** Header cell. `scope` defaults to `col`; pass `scope="row"` for a row header in the body. */
2020
+ export declare const Th: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
2021
+ /** Data cell. `numeric` right-aligns with tabular figures (money, counts). */
2022
+ export declare const Td: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
2023
+ /** BottomNav — a phone tab bar: icon over a short label, a count or dot, the current page marked. Fixed to the bottom,
2024
+ * padded for the home indicator, with a spacer of the same height in the flow so nothing sits under it. Which
2025
+ * breakpoints show it is decided in CSS, so the server's HTML is already right and nothing shifts on hydration. */
2026
+ export declare const BottomNav: React$1.ForwardRefExoticComponent<BottomNavProps & React$1.RefAttributes<HTMLElement>>;
2027
+ /** Min-width breakpoints in px, mirroring the aura-bp-* tokens. */
2028
+ export declare const breakpoints: {
2029
+ sm: 640;
2030
+ md: 768;
2031
+ lg: 1024;
2032
+ xl: 1280;
2033
+ };
2034
+ /** The widest breakpoint the window currently meets: 'base' | 'sm' | 'md' | 'lg' | 'xl'. 'lg' during server render. */
2035
+ export declare function useBreakpoint(): Breakpoint;
2036
+ /** Pick a value for the current breakpoint from { base, sm, md, lg, xl } (falls back to the next smaller one). */
2037
+ export declare function useResponsive<T>(value: Responsive<T>): T | undefined;
2038
+ export declare const Surface: React$1.ForwardRefExoticComponent<SurfaceProps & React$1.RefAttributes<HTMLElement>>;
1956
2039
  /** What useAuraLocale returns. `locale` and `calendar` are null outside an AuraProvider. */
1957
2040
  export interface AuraLocaleValue {
1958
2041
  locale: "th" | "en" | "sv" | null;
package/dist/index.d.ts CHANGED
@@ -1210,6 +1210,10 @@ export interface AppShellProps {
1210
1210
  nav?: React$1.ReactElement | undefined;
1211
1211
  /** Top bar content (title, search, account menu). */
1212
1212
  header?: React$1.ReactNode | undefined;
1213
+ /** 5.33 (DxT Monitor #6): `'lg'` shows the top bar, `header` and all, only below 1024px — where the menu button is —
1214
+ * as when there is no `header`: from lg up it is hidden and `--aura-shell-bar-height` is 0. For apps whose phone
1215
+ * pages have a top bar (brand, avatar) and whose desktop pages don't. Default: the bar shows at every width. */
1216
+ headerHideFrom?: "lg" | undefined;
1213
1217
  children?: React$1.ReactNode | undefined;
1214
1218
  navLabel?: string | undefined;
1215
1219
  menuLabel?: string | undefined;
@@ -1610,6 +1614,70 @@ export interface Theme {
1610
1614
  /** CSS overriding the tokens. No selector: the whole page. A selector (".tenant-acme") scopes it. Load after aura.css. */
1611
1615
  css(selector?: string): string;
1612
1616
  }
1617
+ /** A monitored thing's state on a StatusTile. */
1618
+ export type StatusTileStatus = "down" | "problem" | "maintenance" | "ok";
1619
+ /** A colour for a tile's value or a marker: `danger`, `warning`, `accent` (violet), `neutral` (grey) or `default`
1620
+ * (the text colour). */
1621
+ export type TileTone = "danger" | "warning" | "accent" | "neutral" | "default";
1622
+ /** A small icon at the end of a StatusTile's second line ("SSL expires soon", "Muted"). */
1623
+ export interface StatusTileMarker {
1624
+ icon: IconInput;
1625
+ /** What it means. Read with the tile's name and shown as a tip on hover (a mouse only: on a phone, say it on the
1626
+ * detail page too). */
1627
+ label: string;
1628
+ /** Default `neutral`. */
1629
+ tone?: TileTone | undefined;
1630
+ }
1631
+ export interface StatusTileProps extends Pick<React$1.HTMLAttributes<HTMLElement>, "id" | "style" | "lang" | "dir">, React$1.AriaAttributes, DataAttributes {
1632
+ /** down (red), problem (amber), maintenance (violet) or ok (grey). Each has its own icon too, so colour is never the
1633
+ * only sign. */
1634
+ status: StatusTileStatus;
1635
+ /** The name. Wraps to two lines at most, then ends with "…"; a cut name shows in full in a tip on hover. */
1636
+ title: React$1.ReactNode;
1637
+ /** Top right, tabular figures: "12m", "99.98%", "240 ms". */
1638
+ value?: React$1.ReactNode | undefined;
1639
+ /** The value's colour. Default: the status's (down → danger, problem → warning, maintenance → accent, ok → default). */
1640
+ valueTone?: TileTone | undefined;
1641
+ /** A short second line: "since 09:41", "3 of 4 checks". */
1642
+ meta?: React$1.ReactNode | undefined;
1643
+ /** Small icons at the end of the second line, each with a label. */
1644
+ markers?: ReadonlyArray<StatusTileMarker> | undefined;
1645
+ /** Makes the whole tile a link. Its name is everything the tile says, in reading order. */
1646
+ href?: string | undefined;
1647
+ /** Your router's link (e.g. `next/link`); defaults to AuraProvider's `linkComponent`, then `<a>`. */
1648
+ linkComponent?: React$1.ElementType | undefined;
1649
+ /** The status word read out after the title. Default: the locale's (Down, Problem, Maintenance, OK). */
1650
+ statusLabel?: string | undefined;
1651
+ className?: string | undefined;
1652
+ }
1653
+ export interface TileGridProps extends Pick<React$1.HTMLAttributes<HTMLElement>, "id" | "style" | "lang" | "dir">, React$1.AriaAttributes, DataAttributes {
1654
+ /** Equal columns, responsive like Grid. Default `{ base: 2, md: 3 }` (two on phones, three from 768px). */
1655
+ columns?: Responsive<number> | undefined;
1656
+ /** Each child (and each child of a Fragment) becomes one list item; the grid is a `ul` with an 8px gap. */
1657
+ children?: React$1.ReactNode;
1658
+ className?: string | undefined;
1659
+ }
1660
+ export interface SparklineProps extends Pick<React$1.SVGAttributes<SVGSVGElement>, "id" | "style">, DataAttributes {
1661
+ /** The values, oldest first. `null` (or a value that isn't a finite number) is no point: the line breaks there. */
1662
+ data: ReadonlyArray<number | null | undefined>;
1663
+ /** Which points failed, by the same index as `data`. Shown only when `failures` isn't `none`. */
1664
+ failed?: ReadonlyArray<boolean | null | undefined> | undefined;
1665
+ /** How failed points show: `none` (default), `band` (a red band behind the point) or `ticks` (a red tick at the
1666
+ * foot). */
1667
+ failures?: "none" | "band" | "ticks" | undefined;
1668
+ /** The line's colour. Default `neutral`. */
1669
+ tone?: "neutral" | "accent" | "danger" | "warning" | "positive" | undefined;
1670
+ /** `sm` 80×24 (default), `md` 120×32. */
1671
+ size?: "sm" | "md" | undefined;
1672
+ /** The scale's ends; default the data's own lowest and highest. Give tiles the same ones to compare them. Values
1673
+ * beyond them are drawn at the edge. */
1674
+ min?: number | undefined;
1675
+ max?: number | undefined;
1676
+ /** What the line says, for screen readers ("Response time, last 24 h: 180–420 ms, 2 failures"). Without it the
1677
+ * sparkline is decoration and hidden from them. */
1678
+ label?: string | undefined;
1679
+ className?: string | undefined;
1680
+ }
1613
1681
  /** One SVG child: element name and its attributes. */
1614
1682
  export type IconShape = [
1615
1683
  string,
@@ -1802,6 +1870,10 @@ export declare const Container: React$1.ForwardRefExoticComponent<ContainerProps
1802
1870
  export interface PageHeaderProps extends Pick<React$1.HTMLAttributes<HTMLElement>, "id" | "lang" | "dir" | "role">, React$1.AriaAttributes, DataAttributes {
1803
1871
  /** Small mono line above the title — a section or breadcrumb-like context ("Monitor / Sites"). */
1804
1872
  eyebrow?: React$1.ReactNode | undefined;
1873
+ /** 5.33 (DxT Monitor #7): a `<Breadcrumb>` above the title, 4px from it like the eyebrow, in its own `div` (a `nav`
1874
+ * can't sit in the eyebrow's `p`) and its own 13px sans. Detail pages show a breadcrumb or an eyebrow; with both,
1875
+ * the breadcrumb comes first. */
1876
+ breadcrumb?: React$1.ReactNode | undefined;
1805
1877
  /** The page's heading. */
1806
1878
  title: React$1.ReactNode;
1807
1879
  /** A line under the title — counts, last update, owner. */
@@ -1816,42 +1888,10 @@ export interface PageHeaderProps extends Pick<React$1.HTMLAttributes<HTMLElement
1816
1888
  style?: React$1.CSSProperties | undefined;
1817
1889
  }
1818
1890
  export declare const PageHeader: React$1.ForwardRefExoticComponent<PageHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
1819
- /** AppShell — side navigation + top bar + content. The nav is fixed from lg (1024px) up and a Drawer below it.
1820
- * Which one shows is decided in CSS (4.16), so the server's HTML is already right on a phone and nothing shifts on
1821
- * hydration; JavaScript only opens and closes the drawer. */
1822
- export declare const AppShell: React$1.ForwardRefExoticComponent<AppShellProps & React$1.RefAttributes<HTMLDivElement>>;
1823
- /** ActionBar — a bar stuck to the bottom of the screen or of a card: a status line and the form's or selection's
1824
- * actions. It is `position: sticky`, so it stays in the flow at the end of its parent and never covers the last field. */
1825
- export declare const ActionBar: React$1.ForwardRefExoticComponent<ActionBarProps & React$1.RefAttributes<HTMLDivElement>>;
1826
- /** Separator — a 1px `aura-border-default` rule between groups of content (4.20). Decorative by default (hidden from
1827
- * screen readers); `decorative={false}` makes it a `role="separator"` that is announced. */
1828
- export declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
1829
- /** A static table. Scrolls sideways inside its own box when it is wider than its container. */
1830
- export declare const Table: React$1.ForwardRefExoticComponent<TableProps & React$1.RefAttributes<HTMLTableElement>>;
1831
- export declare const THead: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
1832
- export declare const TBody: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
1833
- export declare const TFoot: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
1834
- export declare const Tr: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
1835
- /** Header cell. `scope` defaults to `col`; pass `scope="row"` for a row header in the body. */
1836
- export declare const Th: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
1837
- /** Data cell. `numeric` right-aligns with tabular figures (money, counts). */
1838
- export declare const Td: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
1839
- /** BottomNav — a phone tab bar: icon over a short label, a count or dot, the current page marked. Fixed to the bottom,
1840
- * padded for the home indicator, with a spacer of the same height in the flow so nothing sits under it. Which
1841
- * breakpoints show it is decided in CSS, so the server's HTML is already right and nothing shifts on hydration. */
1842
- export declare const BottomNav: React$1.ForwardRefExoticComponent<BottomNavProps & React$1.RefAttributes<HTMLElement>>;
1843
- /** Min-width breakpoints in px, mirroring the aura-bp-* tokens. */
1844
- export declare const breakpoints: {
1845
- sm: 640;
1846
- md: 768;
1847
- lg: 1024;
1848
- xl: 1280;
1849
- };
1850
- /** The widest breakpoint the window currently meets: 'base' | 'sm' | 'md' | 'lg' | 'xl'. 'lg' during server render. */
1851
- export declare function useBreakpoint(): Breakpoint;
1852
- /** Pick a value for the current breakpoint from { base, sm, md, lg, xl } (falls back to the next smaller one). */
1853
- export declare function useResponsive<T>(value: Responsive<T>): T | undefined;
1854
- export declare const Surface: React$1.ForwardRefExoticComponent<SurfaceProps & React$1.RefAttributes<HTMLElement>>;
1891
+ /** StatusTile (5.34, DxT Monitor S06): one monitored thing — a status icon and tint, a two-line title, a value at the
1892
+ * top right, a short meta line and marker icons. With `href` the whole tile is one link, named by everything it
1893
+ * says. Put tiles in a TileGrid. Also exported from `/server` (status word in English unless `statusLabel`). */
1894
+ export declare const StatusTile: React$1.ForwardRefExoticComponent<StatusTileProps & React$1.RefAttributes<HTMLElement>>;
1855
1895
  /** Every built-in label. Function entries build the text from their arguments. */
1856
1896
  export interface AuraStrings {
1857
1897
  close: string;
@@ -1941,6 +1981,11 @@ export interface AuraStrings {
1941
1981
  breadcrumbMore: string;
1942
1982
  /** A Stepper step with `status: 'error'` (5.18). */
1943
1983
  stepError: string;
1984
+ /** StatusTile's status words (5.34). */
1985
+ statusDown: string;
1986
+ statusProblem: string;
1987
+ statusMaintenance: string;
1988
+ statusOk: string;
1944
1989
  }
1945
1990
  /** Built-in strings by locale. th and sv also ship as packs (`@jirawatpyk/aura-react/locales/th`, `/sv`, 5.9); in 6.0
1946
1991
  * only en stays built in and a Thai or Swedish app passes its pack to AuraProvider `strings`. */
@@ -1953,6 +1998,44 @@ export declare const STRINGS: {
1953
1998
  th: AuraStrings;
1954
1999
  sv: AuraStrings;
1955
2000
  };
2001
+ export declare const TileGrid: React$1.ForwardRefExoticComponent<TileGridProps & React$1.RefAttributes<HTMLUListElement>>;
2002
+ export declare const Sparkline: React$1.ForwardRefExoticComponent<SparklineProps & React$1.RefAttributes<SVGSVGElement>>;
2003
+ /** AppShell — side navigation + top bar + content. The nav is fixed from lg (1024px) up and a Drawer below it.
2004
+ * Which one shows is decided in CSS (4.16), so the server's HTML is already right on a phone and nothing shifts on
2005
+ * hydration; JavaScript only opens and closes the drawer. */
2006
+ export declare const AppShell: React$1.ForwardRefExoticComponent<AppShellProps & React$1.RefAttributes<HTMLDivElement>>;
2007
+ /** ActionBar — a bar stuck to the bottom of the screen or of a card: a status line and the form's or selection's
2008
+ * actions. It is `position: sticky`, so it stays in the flow at the end of its parent and never covers the last field. */
2009
+ export declare const ActionBar: React$1.ForwardRefExoticComponent<ActionBarProps & React$1.RefAttributes<HTMLDivElement>>;
2010
+ /** Separator — a 1px `aura-border-default` rule between groups of content (4.20). Decorative by default (hidden from
2011
+ * screen readers); `decorative={false}` makes it a `role="separator"` that is announced. */
2012
+ export declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
2013
+ /** A static table. Scrolls sideways inside its own box when it is wider than its container. */
2014
+ export declare const Table: React$1.ForwardRefExoticComponent<TableProps & React$1.RefAttributes<HTMLTableElement>>;
2015
+ export declare const THead: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
2016
+ export declare const TBody: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
2017
+ export declare const TFoot: React$1.ForwardRefExoticComponent<TableSectionProps & React$1.RefAttributes<HTMLTableSectionElement>>;
2018
+ export declare const Tr: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
2019
+ /** Header cell. `scope` defaults to `col`; pass `scope="row"` for a row header in the body. */
2020
+ export declare const Th: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
2021
+ /** Data cell. `numeric` right-aligns with tabular figures (money, counts). */
2022
+ export declare const Td: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
2023
+ /** BottomNav — a phone tab bar: icon over a short label, a count or dot, the current page marked. Fixed to the bottom,
2024
+ * padded for the home indicator, with a spacer of the same height in the flow so nothing sits under it. Which
2025
+ * breakpoints show it is decided in CSS, so the server's HTML is already right and nothing shifts on hydration. */
2026
+ export declare const BottomNav: React$1.ForwardRefExoticComponent<BottomNavProps & React$1.RefAttributes<HTMLElement>>;
2027
+ /** Min-width breakpoints in px, mirroring the aura-bp-* tokens. */
2028
+ export declare const breakpoints: {
2029
+ sm: 640;
2030
+ md: 768;
2031
+ lg: 1024;
2032
+ xl: 1280;
2033
+ };
2034
+ /** The widest breakpoint the window currently meets: 'base' | 'sm' | 'md' | 'lg' | 'xl'. 'lg' during server render. */
2035
+ export declare function useBreakpoint(): Breakpoint;
2036
+ /** Pick a value for the current breakpoint from { base, sm, md, lg, xl } (falls back to the next smaller one). */
2037
+ export declare function useResponsive<T>(value: Responsive<T>): T | undefined;
2038
+ export declare const Surface: React$1.ForwardRefExoticComponent<SurfaceProps & React$1.RefAttributes<HTMLElement>>;
1956
2039
  /** What useAuraLocale returns. `locale` and `calendar` are null outside an AuraProvider. */
1957
2040
  export interface AuraLocaleValue {
1958
2041
  locale: "th" | "en" | "sv" | null;
@@ -148,6 +148,10 @@ var sv = {
148
148
  },
149
149
  breadcrumbMore: "Visa hela s\xF6kv\xE4gen",
150
150
  stepError: "har fel",
151
+ statusDown: "Nere",
152
+ statusProblem: "Problem",
153
+ statusMaintenance: "Underh\xE5ll",
154
+ statusOk: "OK",
151
155
  accepts: function(list, max) {
152
156
  return [list, max && "h\xF6gst " + max + " per fil"].filter(Boolean).join(", ");
153
157
  }
@@ -89,6 +89,11 @@ export interface AuraStrings {
89
89
  breadcrumbMore: string;
90
90
  /** A Stepper step with `status: 'error'` (5.18). */
91
91
  stepError: string;
92
+ /** StatusTile's status words (5.34). */
93
+ statusDown: string;
94
+ statusProblem: string;
95
+ statusMaintenance: string;
96
+ statusOk: string;
92
97
  }
93
98
  /** Built-in strings by locale. th and sv also ship as packs (`@jirawatpyk/aura-react/locales/th`, `/sv`, 5.9); in 6.0
94
99
  * only en stays built in and a Thai or Swedish app passes its pack to AuraProvider `strings`. */
@@ -89,6 +89,11 @@ export interface AuraStrings {
89
89
  breadcrumbMore: string;
90
90
  /** A Stepper step with `status: 'error'` (5.18). */
91
91
  stepError: string;
92
+ /** StatusTile's status words (5.34). */
93
+ statusDown: string;
94
+ statusProblem: string;
95
+ statusMaintenance: string;
96
+ statusOk: string;
92
97
  }
93
98
  /** Built-in strings by locale. th and sv also ship as packs (`@jirawatpyk/aura-react/locales/th`, `/sv`, 5.9); in 6.0
94
99
  * only en stays built in and a Thai or Swedish app passes its pack to AuraProvider `strings`. */
@@ -148,6 +148,10 @@ var th = {
148
148
  },
149
149
  breadcrumbMore: "\u0E41\u0E2A\u0E14\u0E07\u0E40\u0E2A\u0E49\u0E19\u0E17\u0E32\u0E07\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
150
150
  stepError: "\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14",
151
+ statusDown: "\u0E25\u0E48\u0E21",
152
+ statusProblem: "\u0E21\u0E35\u0E1B\u0E31\u0E0D\u0E2B\u0E32",
153
+ statusMaintenance: "\u0E1B\u0E34\u0E14\u0E1B\u0E23\u0E31\u0E1A\u0E1B\u0E23\u0E38\u0E07",
154
+ statusOk: "\u0E1B\u0E01\u0E15\u0E34",
151
155
  accepts: function(list, max) {
152
156
  return [list, max && "\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19 " + max + " \u0E15\u0E48\u0E2D\u0E44\u0E1F\u0E25\u0E4C"].filter(Boolean).join(" \xB7 ");
153
157
  }
@@ -89,6 +89,11 @@ export interface AuraStrings {
89
89
  breadcrumbMore: string;
90
90
  /** A Stepper step with `status: 'error'` (5.18). */
91
91
  stepError: string;
92
+ /** StatusTile's status words (5.34). */
93
+ statusDown: string;
94
+ statusProblem: string;
95
+ statusMaintenance: string;
96
+ statusOk: string;
92
97
  }
93
98
  /** Built-in strings by locale. th and sv also ship as packs (`@jirawatpyk/aura-react/locales/th`, `/sv`, 5.9); in 6.0
94
99
  * only en stays built in and a Thai or Swedish app passes its pack to AuraProvider `strings`. */
@@ -89,6 +89,11 @@ export interface AuraStrings {
89
89
  breadcrumbMore: string;
90
90
  /** A Stepper step with `status: 'error'` (5.18). */
91
91
  stepError: string;
92
+ /** StatusTile's status words (5.34). */
93
+ statusDown: string;
94
+ statusProblem: string;
95
+ statusMaintenance: string;
96
+ statusOk: string;
92
97
  }
93
98
  /** Built-in strings by locale. th and sv also ship as packs (`@jirawatpyk/aura-react/locales/th`, `/sv`, 5.9); in 6.0
94
99
  * only en stays built in and a Thai or Swedish app passes its pack to AuraProvider `strings`. */