efficient-shell 5.1.0 → 5.6.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/README.md +229 -31
- package/THIRD_PARTY_NOTICES.md +32 -0
- package/dist/{Browser-WUVL7ZSM.js → Browser-6QB2QTO7.js} +18 -18
- package/dist/Calculator-KOWRV2VK.js +29 -0
- package/dist/ConfirmDialog-32NLLK4K.js +1 -0
- package/dist/{CurrencyConverter-LF2WHJW4.js → CurrencyConverter-YJ47A3L5.js} +7 -7
- package/dist/{Documents-MB4TJGNY.js → Documents-TGGI2QBV.js} +26 -26
- package/dist/Files-KSDK3EO4.js +87 -0
- package/dist/{Notepad-UQSG5BE3.js → Notepad-EKB6FJPR.js} +11 -11
- package/dist/PdfViewer-KW5B44AX.js +1 -0
- package/dist/{PomodoroTimer-XARF7DO3.js → PomodoroTimer-RD5GRRA5.js} +20 -20
- package/dist/{Preview-LETK6AJS.js → Preview-AQVXKT2I.js} +32 -32
- package/dist/Sidebar-VYXN5YIJ.js +44 -0
- package/dist/{Spreadsheet-RCHOM2RE.js → Spreadsheet-INXG5UMI.js} +8 -8
- package/dist/{Stock-25FQMI2G.js → Stock-CBQN2IJF.js} +3 -3
- package/dist/{Weather-KLQ55R64.js → Weather-2EVUTIXX.js} +16 -16
- package/dist/{WorldClock-RMPU7D2M.js → WorldClock-TZUF7MOB.js} +6 -6
- package/dist/apps/index.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/{chunk-LTGIQ7HO.js → chunk-3GPU3JOW.js} +14 -14
- package/dist/{chunk-DBB4DB7J.js → chunk-3HJTOINK.js} +1 -1
- package/dist/{chunk-MDI265RK.js → chunk-4SWPNARR.js} +4 -4
- package/dist/{chunk-XUF7VW4U.js → chunk-6LTDJKIL.js} +72 -70
- package/dist/chunk-AP2QEJXQ.js +1 -0
- package/dist/{chunk-FA6E75W5.js → chunk-CLPJDJH4.js} +1 -1
- package/dist/{chunk-2TP4GK53.js → chunk-FROOMUJ7.js} +6 -6
- package/dist/{chunk-H5NEXQTX.js → chunk-GG7AE6OC.js} +1 -1
- package/dist/{chunk-6TCHOT4R.js → chunk-HRLPFUPB.js} +1 -1
- package/dist/{chunk-N3W6PH55.js → chunk-JEM73E4C.js} +11 -11
- package/dist/{chunk-P4SGJTK3.js → chunk-JXAAZGLJ.js} +1 -1
- package/dist/{chunk-4KLBITSY.js → chunk-KXAUDC3A.js} +28 -28
- package/dist/{chunk-TMZVVRTA.js → chunk-L5XA5MLK.js} +43 -43
- package/dist/{chunk-5LCZFVE4.js → chunk-MLYC5VQI.js} +2 -2
- package/dist/{chunk-HKLW5KTW.js → chunk-N3A3GWJI.js} +8 -8
- package/dist/{chunk-LY2G6LHW.js → chunk-PKEQ7XOH.js} +1 -1
- package/dist/{chunk-2KTBZE5F.js → chunk-R4XSSHDI.js} +1 -1
- package/dist/{chunk-XNHYCOPO.js → chunk-RCHCT7AO.js} +1 -1
- package/dist/chunk-RDQ7OXUA.js +1026 -0
- package/dist/{chunk-LMIQV3NB.js → chunk-RL626E7Q.js} +2 -2
- package/dist/{chunk-ZDF5AR5W.js → chunk-RMJZOKHY.js} +9 -9
- package/dist/{chunk-DXNCJBGY.js → chunk-SKB6L53D.js} +11 -11
- package/dist/{chunk-JK2KQ4PF.js → chunk-TFETN2GI.js} +1 -1
- package/dist/chunk-TNBCUZVE.js +1 -0
- package/dist/chunk-WOEFPBQF.js +1 -0
- package/dist/chunk-WRBXEZFN.js +1 -0
- package/dist/chunk-XWSWYMGM.js +2 -0
- package/dist/{chunk-GPNNQIRY.js → chunk-Z2353HNE.js} +5 -5
- package/dist/{chunk-VOY6TCS2.js → chunk-ZUCYJAQH.js} +18 -18
- package/dist/file-intake/index.js +1 -1
- package/dist/format/index.d.ts +1 -1
- package/dist/format/index.js +1 -1
- package/dist/i18n/index.d.ts +1 -1
- package/dist/icons/efficient-looks.d.ts +28 -0
- package/dist/icons/efficient-looks.js +920 -0
- package/dist/icons/efficient.d.ts +746 -298
- package/dist/icons/efficient.js +336 -470
- package/dist/icons/heroicons.d.ts +1 -1
- package/dist/icons/index.d.ts +10 -4
- package/dist/icons/index.js +1 -1
- package/dist/icons/lucide.d.ts +1 -1
- package/dist/{index-CzMz_Y9A.d.ts → index-BgM75MC6.d.ts} +617 -68
- package/dist/{index-DpUDK9zG.d.ts → index-CHufemKB.d.ts} +69 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +504 -504
- package/dist/locales/zh-Hans.d.ts +1 -1
- package/dist/locales/zh-Hans.js +1 -1
- package/dist/map/index.js +5 -5
- package/dist/markdown/index.js +1 -1
- package/dist/page-tabs/index.js +5 -5
- package/dist/pdf/index.js +1 -1
- package/dist/{registry-FHdUeVww.d.ts → registry-J-TU7zKx.d.ts} +14 -4
- package/dist/{strings-BEuOOURI.d.ts → strings-BVB64Nck.d.ts} +61 -0
- package/dist/ui/index.d.ts +4 -4
- package/dist/ui/index.js +1 -1
- package/dist/ui.css +124 -1
- package/package.json +8 -2
- package/dist/Calculator-E2CBADVF.js +0 -29
- package/dist/ConfirmDialog-ZM364NPI.js +0 -1
- package/dist/Files-JQYIBZEP.js +0 -87
- package/dist/PdfViewer-4VGNBBED.js +0 -1
- package/dist/Sidebar-VR4QYFQU.js +0 -44
- package/dist/chunk-3JK2LSFU.js +0 -1
- package/dist/chunk-FWOPZB6I.js +0 -1
- package/dist/chunk-LOXV3J6X.js +0 -1005
- package/dist/chunk-OBMR6BEP.js +0 -1
- package/dist/chunk-YKZHOXI4.js +0 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, LabelHTMLAttributes, CSSProperties, RefObject, ElementType, MouseEvent as MouseEvent$1, HTMLAttributes, Ref, Component, ErrorInfo } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { g as TimeAgoOptions } from './index-CHufemKB.js';
|
|
4
5
|
import { useFileIntake, FileIntakeLimits, FileRejection } from './file-intake/index.js';
|
|
5
6
|
import './icons/index.js';
|
|
6
|
-
import './registry-
|
|
7
|
-
import { S as ShellStringsOverride } from './strings-
|
|
8
|
-
import { c as TimeAgoOptions } from './index-DpUDK9zG.js';
|
|
7
|
+
import './registry-J-TU7zKx.js';
|
|
8
|
+
import { S as ShellStringsOverride } from './strings-BVB64Nck.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Button styling — the class strings `Button` and `IconButton` wear, and the
|
|
@@ -604,8 +604,11 @@ interface FormFieldProps {
|
|
|
604
604
|
declare function FormField({ label, htmlFor, labelId, hint, error, required, className, children, }: FormFieldProps): react_jsx_runtime.JSX.Element;
|
|
605
605
|
|
|
606
606
|
interface FormError {
|
|
607
|
-
/**
|
|
608
|
-
|
|
607
|
+
/**
|
|
608
|
+
* id of the offending control — the link focuses and scrolls to it.
|
|
609
|
+
* Omit it for an error with no control behind it; it is then plain text.
|
|
610
|
+
*/
|
|
611
|
+
fieldId?: string;
|
|
609
612
|
message: ReactNode;
|
|
610
613
|
}
|
|
611
614
|
interface FormErrorSummaryProps {
|
|
@@ -1008,6 +1011,23 @@ interface DateRangePickerProps {
|
|
|
1008
1011
|
min?: string | null;
|
|
1009
1012
|
/** The latest day that can be chosen, `YYYY-MM-DD`; the mirror of `min`. */
|
|
1010
1013
|
max?: string | null;
|
|
1014
|
+
/**
|
|
1015
|
+
* The whole control is inert: the trigger is a disabled button, the panel
|
|
1016
|
+
* cannot open (an open one closes), the Clear × goes, and the field takes
|
|
1017
|
+
* the kit's disabled look (`opacity-60`, `cursor-not-allowed`). The hidden
|
|
1018
|
+
* inputs (`name`) are disabled too, so — like a disabled
|
|
1019
|
+
* `<input type="date">` — the range is not posted. For a filter that waits
|
|
1020
|
+
* while its page reloads.
|
|
1021
|
+
*/
|
|
1022
|
+
disabled?: boolean;
|
|
1023
|
+
/**
|
|
1024
|
+
* Let Apply commit a range with only ONE end set — "from 1 August", "up to
|
|
1025
|
+
* 30 June" — the way two separate date fields could. In the panel the From
|
|
1026
|
+
* and To boxes become buttons that choose which end the next day sets; the
|
|
1027
|
+
* start is chosen first, as before. `onChange` gets `''` for the open end.
|
|
1028
|
+
* Off by default: Apply needs both ends.
|
|
1029
|
+
*/
|
|
1030
|
+
allowOpenEnd?: boolean;
|
|
1011
1031
|
}
|
|
1012
1032
|
/**
|
|
1013
1033
|
* Serialise a Date to `YYYY-MM-DD`, reading its LOCAL calendar fields.
|
|
@@ -1019,7 +1039,7 @@ interface DateRangePickerProps {
|
|
|
1019
1039
|
* back one day for every user east of Greenwich.
|
|
1020
1040
|
*/
|
|
1021
1041
|
declare function toISODate(d: Date): string;
|
|
1022
|
-
declare function DateRangePicker({ from, to, onChange, formatDisplay: formatDisplayProp, clearable: clearableProp, required, name, id, 'aria-labelledby': ariaLabelledBy, 'aria-label': ariaLabel, weekStartsOn, placeholder: placeholderProp, fullWidth, min, max, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
1042
|
+
declare function DateRangePicker({ from, to, onChange, formatDisplay: formatDisplayProp, clearable: clearableProp, required, name, id, 'aria-labelledby': ariaLabelledBy, 'aria-label': ariaLabel, weekStartsOn, placeholder: placeholderProp, fullWidth, min, max, disabled, allowOpenEnd, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
1023
1043
|
|
|
1024
1044
|
type CalendarMode = 'single' | 'range';
|
|
1025
1045
|
interface CalendarProps {
|
|
@@ -1634,6 +1654,139 @@ interface DisplayChipsProps<T extends string = string> {
|
|
|
1634
1654
|
}
|
|
1635
1655
|
declare function DisplayChips<T extends string = string>({ items, onChange, label, className, 'aria-labelledby': labelledBy, 'aria-describedby': describedBy, }: DisplayChipsProps<T>): react_jsx_runtime.JSX.Element;
|
|
1636
1656
|
|
|
1657
|
+
/**
|
|
1658
|
+
* How a row's columns divide its width — as plain data.
|
|
1659
|
+
*
|
|
1660
|
+
* Moved here from efficient-admin-portal `src/components/email/columnRatio.ts`
|
|
1661
|
+
* (the shares half; origin/main 3c9fbe1ff), so the widths a row is drawn at,
|
|
1662
|
+
* the widths a panel edits and the widths a test reads come from ONE place
|
|
1663
|
+
* (harness UI-24). Pure and React-free on purpose: a renderer that never
|
|
1664
|
+
* draws the panel still has to lay a row out from it. The panel that edits it
|
|
1665
|
+
* is `WidthsBar` (./WidthsBar).
|
|
1666
|
+
*
|
|
1667
|
+
* Generic rather than an email's: a row of 1 to `COLUMN_COUNT_MAX` columns.
|
|
1668
|
+
* The admin's two-column RATIO tiles (`3:7` … `7:3`) are a different control
|
|
1669
|
+
* with a different stored value, and they stay in the admin.
|
|
1670
|
+
*
|
|
1671
|
+
* ── The stored value ──
|
|
1672
|
+
* The FIRST `count - 1` shares only — whole percentages of the row, left to
|
|
1673
|
+
* right. The last column is DERIVED: it is whatever the others leave. A
|
|
1674
|
+
* stored full set could be hand-edited into shares that do not add up to a
|
|
1675
|
+
* row, and there is no good answer for what such a row should do; a derived
|
|
1676
|
+
* last column CANNOT fail to fill, so this has no invalid state, no sum check
|
|
1677
|
+
* and no error message anywhere in it — which is the whole point of the
|
|
1678
|
+
* shape, not an accident of it.
|
|
1679
|
+
*
|
|
1680
|
+
* A value means something at exactly ONE count: a pair is a three-column
|
|
1681
|
+
* value, and at two or four columns it is inert. That is what lets a host
|
|
1682
|
+
* hide the control without clearing it — a row walked 3 → 2 → 3 renders
|
|
1683
|
+
* correctly at every step and comes back to what was chosen.
|
|
1684
|
+
*
|
|
1685
|
+
* PERSISTED by hosts (the campaign designer stores it on every three-column
|
|
1686
|
+
* Section as `columnShares`), so the meaning is fixed: share of one hundred,
|
|
1687
|
+
* first column first.
|
|
1688
|
+
*/
|
|
1689
|
+
/** The most columns a row is planned for (the Box panel's Columns box is 1–4). */
|
|
1690
|
+
declare const COLUMN_COUNT_MAX = 4;
|
|
1691
|
+
/**
|
|
1692
|
+
* THE NARROWEST a column may get, as a share of the row.
|
|
1693
|
+
*
|
|
1694
|
+
* At a 600px email content width 10% is 60px — about a small image or two
|
|
1695
|
+
* short words. Below that a column holds nothing and the row looks broken
|
|
1696
|
+
* where nobody can fix it. Enforced on READ (`resolveColumnShares`), not only
|
|
1697
|
+
* in the panel: the panel is not the only writer a saved layout has.
|
|
1698
|
+
*/
|
|
1699
|
+
declare const COLUMN_SHARE_MIN = 10;
|
|
1700
|
+
/**
|
|
1701
|
+
* A row's stored widths: the first `count - 1` shares, whole percentages,
|
|
1702
|
+
* first column first. The last column is derived. See the top of this file.
|
|
1703
|
+
*/
|
|
1704
|
+
type ColumnShares = number[];
|
|
1705
|
+
/**
|
|
1706
|
+
* The equal widths, as the strings a row is drawn with.
|
|
1707
|
+
*
|
|
1708
|
+
* Three columns cannot divide 100 evenly, so the first cell carries the
|
|
1709
|
+
* spare hundredth — the rounding rows have always shipped with.
|
|
1710
|
+
*
|
|
1711
|
+
* THESE STRINGS ARE THE BACK-COMPAT GUARANTEE, not a convenience: every
|
|
1712
|
+
* three-column campaign already saved renders exactly `33.34% / 33.33% /
|
|
1713
|
+
* 33.33%`, so a row carrying no widths has to resolve to this array itself
|
|
1714
|
+
* rather than to a freshly computed `33.33` × 3 — which would be a different
|
|
1715
|
+
* byte in every three-column email in the system.
|
|
1716
|
+
*/
|
|
1717
|
+
declare const COLUMN_COUNT_WIDTHS: Readonly<Record<number, readonly string[]>>;
|
|
1718
|
+
/**
|
|
1719
|
+
* The equal shares the PANEL shows for a row that has chosen nothing, by
|
|
1720
|
+
* count: what `WidthsBar` puts in its boxes.
|
|
1721
|
+
*
|
|
1722
|
+
* A display figure, never a stored one. Writing `[34, 33]` into a row would
|
|
1723
|
+
* move it off the `33.34% / 33.33% / 33.33%` strings above and onto
|
|
1724
|
+
* `34% / 33% / 33%` — close enough to look identical and different enough to
|
|
1725
|
+
* change every three-column email in the system. Absent is what equal widths
|
|
1726
|
+
* ARE, which is why "Reset to equal" CLEARS the value rather than writing
|
|
1727
|
+
* this one back.
|
|
1728
|
+
*/
|
|
1729
|
+
declare const COLUMN_SHARES_EQUAL: Readonly<Record<number, readonly number[]>>;
|
|
1730
|
+
/**
|
|
1731
|
+
* Whatever a row carries → shares it can lay out at `count` columns, or
|
|
1732
|
+
* nothing.
|
|
1733
|
+
*
|
|
1734
|
+
* `undefined` is a real answer and the common one: "this row never chose",
|
|
1735
|
+
* which resolves to the exact equal strings rather than to a computed split.
|
|
1736
|
+
* Anything unusable lands there too — a value of the wrong length (a full set
|
|
1737
|
+
* of shares is the shape this refuses), a string, a NaN, a count with nothing
|
|
1738
|
+
* to choose (1) or more than the kit plans for.
|
|
1739
|
+
*
|
|
1740
|
+
* A usable value is CLAMPED here rather than merely in the panel, and the
|
|
1741
|
+
* clamp is what guarantees the derived last column clears the floor: each
|
|
1742
|
+
* share may take at most what the shares before it leave, less a floor for
|
|
1743
|
+
* every column after it. So an EARLIER column wins a squeeze and the next one
|
|
1744
|
+
* gives way — one rule, shared by the panel, so what a merchant watches the
|
|
1745
|
+
* boxes do to each other is exactly what a hand-edited layout is held to.
|
|
1746
|
+
*/
|
|
1747
|
+
declare function resolveColumnShares(value: unknown, count: number): ColumnShares | undefined;
|
|
1748
|
+
/**
|
|
1749
|
+
* A stored value → the `count` column widths, in order. The last is the rest
|
|
1750
|
+
* of the row, so they always make a whole one; a row that has chosen nothing
|
|
1751
|
+
* gets the equal strings above, untouched and byte for byte.
|
|
1752
|
+
*/
|
|
1753
|
+
declare function columnSharesWidths(value: unknown, count: number): string[];
|
|
1754
|
+
/**
|
|
1755
|
+
* The widths for a row of `count` columns — the one resolver a renderer
|
|
1756
|
+
* calls. A count of 1, a count past `COLUMN_COUNT_MAX` and a value that means
|
|
1757
|
+
* nothing at this count all come back as the equal strings (a count with no
|
|
1758
|
+
* table, as one full column), so the fallback and the back-compat guarantee
|
|
1759
|
+
* are one rule rather than two that have to be kept in step.
|
|
1760
|
+
*
|
|
1761
|
+
* A host that also stores a two-column ratio (the campaign designer) answers
|
|
1762
|
+
* two columns from it before it calls this.
|
|
1763
|
+
*/
|
|
1764
|
+
declare function resolveColumnWidths(count: number, shares?: unknown): string[];
|
|
1765
|
+
|
|
1766
|
+
interface WidthsBarProps {
|
|
1767
|
+
/** How many columns the row has, 1 to `COLUMN_COUNT_MAX` (4). One column
|
|
1768
|
+
* draws the bar alone: there is nothing to share. */
|
|
1769
|
+
count: number;
|
|
1770
|
+
/**
|
|
1771
|
+
* What the row stores — `ColumnShares`, or nothing. Typed `unknown` because
|
|
1772
|
+
* a saved layout is not the only writer: anything that is not usable shares
|
|
1773
|
+
* for `count` shows as equal widths, and a usable value shows clamped.
|
|
1774
|
+
*/
|
|
1775
|
+
value: unknown;
|
|
1776
|
+
/** The new shares, already clamped to the floor — or `undefined` when
|
|
1777
|
+
* "Reset to equal" clears the value. */
|
|
1778
|
+
onChange: (next: ColumnShares | undefined) => void;
|
|
1779
|
+
/** The group's accessible name ("Widths"). Required unless `aria-labelledby` is given. */
|
|
1780
|
+
label?: string;
|
|
1781
|
+
'aria-labelledby'?: string;
|
|
1782
|
+
/** Shown and focusable, never written (a sent campaign). */
|
|
1783
|
+
readOnly?: boolean;
|
|
1784
|
+
/** Dimmed, out of the tab order, never written. */
|
|
1785
|
+
disabled?: boolean;
|
|
1786
|
+
className?: string;
|
|
1787
|
+
}
|
|
1788
|
+
declare function WidthsBar({ count, value, onChange, label, 'aria-labelledby': labelledBy, readOnly, disabled, className, }: WidthsBarProps): react_jsx_runtime.JSX.Element;
|
|
1789
|
+
|
|
1637
1790
|
type PopoverAlign = 'start' | 'end';
|
|
1638
1791
|
type PopoverSide = 'top' | 'bottom';
|
|
1639
1792
|
/** What a function child is handed. */
|
|
@@ -1843,73 +1996,290 @@ interface ImageFocusPointProps {
|
|
|
1843
1996
|
}
|
|
1844
1997
|
declare function ImageFocusPoint({ value, onChange, label, image, hint, emptyText, actions, disabled, id, className, }: ImageFocusPointProps): react_jsx_runtime.JSX.Element;
|
|
1845
1998
|
|
|
1999
|
+
/** One thing a link can point at: the URL it writes and the name it shows. */
|
|
2000
|
+
type LinkOption = {
|
|
2001
|
+
value: string;
|
|
2002
|
+
label: string;
|
|
2003
|
+
};
|
|
2004
|
+
/** Options under one heading — the anchors of one page. */
|
|
2005
|
+
type LinkOptionGroup = {
|
|
2006
|
+
label: string;
|
|
2007
|
+
options: readonly LinkOption[];
|
|
2008
|
+
};
|
|
2009
|
+
/** One filter on a link onto the product listing, or none. */
|
|
2010
|
+
type LinkFilter = {
|
|
2011
|
+
param: string;
|
|
2012
|
+
value: string;
|
|
2013
|
+
} | null;
|
|
2014
|
+
/** A filter a listing link may offer, with the values it may take. */
|
|
2015
|
+
type LinkFilterField = {
|
|
2016
|
+
param: string;
|
|
2017
|
+
label: string;
|
|
2018
|
+
values: readonly LinkOption[];
|
|
2019
|
+
};
|
|
2020
|
+
/** What a kind's target box is: a list, a list in groups, or a typed address. */
|
|
2021
|
+
type LinkTarget = {
|
|
2022
|
+
type: 'select';
|
|
2023
|
+
options: readonly LinkOption[];
|
|
2024
|
+
placeholder: string;
|
|
2025
|
+
} | {
|
|
2026
|
+
type: 'groups';
|
|
2027
|
+
groups: readonly LinkOptionGroup[];
|
|
2028
|
+
placeholder: string;
|
|
2029
|
+
} | {
|
|
2030
|
+
type: 'text';
|
|
2031
|
+
};
|
|
2032
|
+
/** One entry of the Link type list, with everything its target box offers. */
|
|
2033
|
+
type LinkKindChoice = {
|
|
2034
|
+
/** The kind's key — what `rules.kindOf` answers. */
|
|
2035
|
+
value: string;
|
|
2036
|
+
/** Its name in the list ("Page", "Blog post"), and its target box's name. */
|
|
2037
|
+
label: string;
|
|
2038
|
+
target: LinkTarget;
|
|
2039
|
+
/** A quiet line under the boxes while this kind is chosen. */
|
|
2040
|
+
hint?: string;
|
|
2041
|
+
/** Left out of the list while its target has nothing to pick — unless the
|
|
2042
|
+
* saved link is this kind, so a link is never shown as something it is not. */
|
|
2043
|
+
hideWhenEmpty?: boolean;
|
|
2044
|
+
};
|
|
1846
2045
|
/**
|
|
1847
|
-
*
|
|
1848
|
-
*
|
|
1849
|
-
*
|
|
1850
|
-
*
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
/**
|
|
1872
|
-
|
|
1873
|
-
/**
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
/**
|
|
1879
|
-
|
|
2046
|
+
* Everything the picker needs to know about a URL — and it knows nothing else.
|
|
2047
|
+
* A host hands in its own rules (the storefront's come from
|
|
2048
|
+
* `efficient-web-builder/links`), so a new kind or a new filter never changes
|
|
2049
|
+
* this file.
|
|
2050
|
+
*/
|
|
2051
|
+
type LinkRules = {
|
|
2052
|
+
/** Which kind a saved URL is. */
|
|
2053
|
+
kindOf: (url: string) => string;
|
|
2054
|
+
/** The target a URL points at, with any listing filter taken off. */
|
|
2055
|
+
targetOf: (url: string) => string;
|
|
2056
|
+
/** The filter a URL carries onto the listing, or null. */
|
|
2057
|
+
readFilter: (url: string) => LinkFilter;
|
|
2058
|
+
/** The URL of a target with this filter written on (or cleared). */
|
|
2059
|
+
withFilter: (url: string, filter: LinkFilter) => string;
|
|
2060
|
+
/** May this typed address be saved? Default: `isSafeLinkHref` on the
|
|
2061
|
+
* trimmed text — the kit's own rule. */
|
|
2062
|
+
isSafe?: (url: string) => boolean;
|
|
2063
|
+
};
|
|
2064
|
+
interface LinkPickerBaseProps {
|
|
2065
|
+
/** The saved link, or `''`. In the window, the link it opens on. */
|
|
2066
|
+
value: string;
|
|
2067
|
+
/** The Link type list, in order, each with what its target box offers.
|
|
2068
|
+
* Leave it out for a typed address alone, with no type list. */
|
|
2069
|
+
kinds?: readonly LinkKindChoice[];
|
|
2070
|
+
/** Required with `kinds`; a typed address alone needs none. */
|
|
2071
|
+
rules?: LinkRules;
|
|
2072
|
+
/**
|
|
2073
|
+
* The filters a link onto this target may carry, or null when the target is
|
|
2074
|
+
* not the product listing. Asked only for a kind whose target is a list.
|
|
2075
|
+
*/
|
|
2076
|
+
filtersFor?: (target: string) => readonly LinkFilterField[] | null;
|
|
2077
|
+
/** The whole control's accessible name — "Button link", "Where “Wheels” goes".
|
|
2078
|
+
* In the window, the window's name (default: the catalogue's "Link"). */
|
|
2079
|
+
label?: string;
|
|
2080
|
+
readOnly?: boolean;
|
|
2081
|
+
/** What the empty address box says. Default: the catalogue's. */
|
|
2082
|
+
placeholder?: string;
|
|
2083
|
+
/** On the root: a host places the window with it (the copy box floats it
|
|
2084
|
+
* under its toolbar). */
|
|
2085
|
+
className?: string;
|
|
2086
|
+
}
|
|
2087
|
+
/** FIELD: every choice is written at once. */
|
|
2088
|
+
interface LinkPickerFieldProps extends LinkPickerBaseProps {
|
|
2089
|
+
/**
|
|
2090
|
+
* The new link, and — when a thing was PICKED — its name, so a host can fill
|
|
2091
|
+
* its own label with it (the admin's menu item does). No name when the link
|
|
2092
|
+
* was typed or cleared.
|
|
2093
|
+
*/
|
|
2094
|
+
onChange: (url: string, name?: string) => void;
|
|
2095
|
+
onApply?: never;
|
|
2096
|
+
onCancel?: never;
|
|
2097
|
+
onRemove?: never;
|
|
2098
|
+
}
|
|
2099
|
+
/** WINDOW: nothing is written until Apply. */
|
|
2100
|
+
interface LinkPickerWindowProps extends LinkPickerBaseProps {
|
|
2101
|
+
onChange?: never;
|
|
2102
|
+
/** Apply (or Enter): a checked link, and its name when it was picked. */
|
|
2103
|
+
onApply: (url: string, name?: string) => void;
|
|
2104
|
+
/** Cancel or Escape: nothing is written. The host closes the window and
|
|
2105
|
+
* gives the caret back. */
|
|
2106
|
+
onCancel: () => void;
|
|
2107
|
+
/** Given, the window offers Remove — pass it on a link that exists. */
|
|
2108
|
+
onRemove?: () => void;
|
|
2109
|
+
}
|
|
2110
|
+
type LinkPickerProps = LinkPickerFieldProps | LinkPickerWindowProps;
|
|
2111
|
+
declare function LinkPicker(props: LinkPickerProps): react_jsx_runtime.JSX.Element | null;
|
|
2112
|
+
interface TextLinkFieldProps {
|
|
2113
|
+
/** The setting's name — "Button", "Secondary button". Names the text box
|
|
2114
|
+
* ("Button text") and the link row ("Button link: /wheels"). */
|
|
2115
|
+
label: string;
|
|
2116
|
+
/** The words, as typed. */
|
|
2117
|
+
text: string;
|
|
2118
|
+
onTextChange: (text: string) => void;
|
|
2119
|
+
/** Where it goes, or `''`. */
|
|
2120
|
+
link: string;
|
|
2121
|
+
/** A new link from the window's Apply (with its name when it was picked),
|
|
2122
|
+
* or `''` from Remove. */
|
|
2123
|
+
onLinkChange: (url: string, name?: string) => void;
|
|
2124
|
+
/** As `LinkPicker`'s: the kinds, the host's rules and the listing's filters. */
|
|
2125
|
+
kinds?: readonly LinkKindChoice[];
|
|
2126
|
+
rules?: LinkRules;
|
|
2127
|
+
filtersFor?: (target: string) => readonly LinkFilterField[] | null;
|
|
2128
|
+
/** What the empty text box says. */
|
|
2129
|
+
textPlaceholder?: string;
|
|
2130
|
+
readOnly?: boolean;
|
|
2131
|
+
className?: string;
|
|
1880
2132
|
}
|
|
1881
2133
|
/**
|
|
1882
|
-
*
|
|
1883
|
-
*
|
|
1884
|
-
*
|
|
2134
|
+
* TextLinkField — a button's words and where it goes, in ONE box (Lewis, final
|
|
2135
|
+
* check 2026-10-10, item 4: Wix's "Text & Link"). The top line is the kit's
|
|
2136
|
+
* `Input`; the line under it shows the link and opens `LinkPicker`'s window
|
|
2137
|
+
* under the box, in the panel's own flow (a settings panel scrolls, and a
|
|
2138
|
+
* floating window would be clipped by the edge it scrolls under).
|
|
2139
|
+
*
|
|
2140
|
+
* The window, not a second set of boxes: the link half IS `LinkPicker`, so
|
|
2141
|
+
* every kind, filter and refusal it has is here too.
|
|
1885
2142
|
*/
|
|
1886
|
-
declare function
|
|
1887
|
-
|
|
1888
|
-
* keyboard and the same point set by a press are the same bytes. */
|
|
1889
|
-
declare function formatFocal(x: number, y: number): string;
|
|
2143
|
+
declare function TextLinkField({ label, text, onTextChange, link, onLinkChange, kinds, rules, filtersFor, textPlaceholder, readOnly, className, }: TextLinkFieldProps): react_jsx_runtime.JSX.Element;
|
|
2144
|
+
|
|
1890
2145
|
/**
|
|
1891
|
-
*
|
|
1892
|
-
*
|
|
1893
|
-
*
|
|
2146
|
+
* Which addresses a link may carry — the kit's ONE rule for it.
|
|
2147
|
+
*
|
|
2148
|
+
* Folded in from efficient-easel's markup grammar (`src/markup`, where the
|
|
2149
|
+
* link window, the paste filter and the storefront renderers all asked it), so
|
|
2150
|
+
* the rule has one home in the kit: `LinkPicker` refuses a typed address with
|
|
2151
|
+
* it, `MarkdownLite` writes no `href` that fails it, and a host renderer that
|
|
2152
|
+
* writes an `href` of its own should ask it too.
|
|
2153
|
+
*
|
|
2154
|
+
* A pure module that imports nothing, so a renderer can take it without the
|
|
2155
|
+
* rest of the kit's graph.
|
|
1894
2156
|
*/
|
|
1895
|
-
declare function nudgeFocal(value: string | undefined | null, key: string, coarse?: boolean): string | null;
|
|
1896
2157
|
/**
|
|
1897
|
-
*
|
|
1898
|
-
*
|
|
1899
|
-
*
|
|
1900
|
-
*
|
|
1901
|
-
*
|
|
2158
|
+
* True for an address a link may carry: `http`, `https`, `mailto` or `tel`, or
|
|
2159
|
+
* one with no scheme at all (`/tyres`, `#top`, `terms.html`, `//cdn…`).
|
|
2160
|
+
* Anything else — `javascript:`, `data:`, `file:` — is refused, and so is an
|
|
2161
|
+
* address with any space or control character in it, because browsers drop
|
|
2162
|
+
* those before they read the scheme (`java\tscript:` runs as `javascript:`).
|
|
1902
2163
|
*
|
|
1903
|
-
*
|
|
1904
|
-
* captured) and `-14% 130%` is a value nobody can see or meant. A picture with
|
|
1905
|
-
* no size yet answers the centre rather than `NaN`.
|
|
2164
|
+
* The address is taken as it is: trim what a person typed first.
|
|
1906
2165
|
*/
|
|
1907
|
-
declare function
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
2166
|
+
declare function isSafeLinkHref(href: string): boolean;
|
|
2167
|
+
|
|
2168
|
+
/** One of the four corners {@link CornersInputProps} offers. */
|
|
2169
|
+
interface CornerOption {
|
|
2170
|
+
/**
|
|
2171
|
+
* What the host stores when this corner is on. Also the React key, so the
|
|
2172
|
+
* four must be distinct. `tl` · `tr` · `br` · `bl` turn the glyph to their
|
|
2173
|
+
* corner; any other value draws it as `tl` does.
|
|
2174
|
+
*/
|
|
2175
|
+
value: string;
|
|
2176
|
+
/** The cell's accessible name — "Top left". Read aloud on its own, so it
|
|
2177
|
+
* names the CORNER and never the value behind it. */
|
|
2178
|
+
label: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* This corner cannot be chosen. The caller's arithmetic decides it (a box
|
|
2181
|
+
* whose neighbour already rounds that edge), never this component. Off
|
|
2182
|
+
* rather than absent: four cells that became three would read as a control
|
|
2183
|
+
* that had broken.
|
|
2184
|
+
*/
|
|
2185
|
+
disabled?: boolean;
|
|
2186
|
+
/** What the hover name says. Falls back to {@link label}; on a closed
|
|
2187
|
+
* corner it is the REASON, read on focus as on hover. */
|
|
2188
|
+
title?: string;
|
|
2189
|
+
}
|
|
2190
|
+
interface CornersInputProps {
|
|
2191
|
+
/** The group's accessible name. NOT drawn — the visible label belongs to the
|
|
2192
|
+
* row around it. */
|
|
2193
|
+
label: string;
|
|
2194
|
+
/**
|
|
2195
|
+
* The corners that are ON, already resolved by the host: this component has
|
|
2196
|
+
* no opinion about what an absent or empty value means.
|
|
2197
|
+
*/
|
|
2198
|
+
value: readonly string[];
|
|
2199
|
+
/** The four cells, in the order they are drawn. No default: the names and
|
|
2200
|
+
* the stored values are the host's. */
|
|
2201
|
+
corners: readonly CornerOption[];
|
|
2202
|
+
/** The new set, in the order the cells were pressed. The host normalises. */
|
|
2203
|
+
onChange: (next: string[]) => void;
|
|
2204
|
+
/**
|
|
2205
|
+
* The radius, in px, drawn in the number box at the front of the row —
|
|
2206
|
+
* `null` while it is unset (the box shows `radiusPlaceholder`). The box is
|
|
2207
|
+
* drawn only when {@link onRadiusChange} is given; without it the row is the
|
|
2208
|
+
* four corners alone.
|
|
2209
|
+
*/
|
|
2210
|
+
radius?: number | null;
|
|
2211
|
+
/** A typed or stepped radius, or `null` when the box is emptied. */
|
|
2212
|
+
onRadiusChange?: (next: number | null) => void;
|
|
2213
|
+
/** The radius box's accessible name. Default: the catalogue's "Corner radius". */
|
|
2214
|
+
radiusLabel?: string;
|
|
2215
|
+
/** Bounds and step of the radius. Default 0, none, 1. */
|
|
2216
|
+
radiusMin?: number;
|
|
2217
|
+
radiusMax?: number;
|
|
2218
|
+
radiusStep?: number;
|
|
2219
|
+
/** What the empty radius box shows and means — the inherited number, or
|
|
2220
|
+
* "Auto". A number here is where the first step starts. */
|
|
2221
|
+
radiusPlaceholder?: string;
|
|
2222
|
+
/**
|
|
2223
|
+
* The whole row is off: the radius box is disabled and every corner is off
|
|
2224
|
+
* (`aria-disabled`, so the keyboard still reaches it), the set still shown.
|
|
2225
|
+
*/
|
|
2226
|
+
disabled?: boolean;
|
|
2227
|
+
/** Why the row is off. Each corner says it on hover and on focus, and it is
|
|
2228
|
+
* each corner's description. */
|
|
2229
|
+
disabledReason?: string;
|
|
2230
|
+
/** A DOM id for the group, so a host can point a label at it. */
|
|
2231
|
+
id?: string;
|
|
2232
|
+
className?: string;
|
|
2233
|
+
}
|
|
2234
|
+
declare function CornersInput({ label, value, corners, onChange, radius, onRadiusChange, radiusLabel, radiusMin, radiusMax, radiusStep, radiusPlaceholder, disabled, disabledReason, id, className, }: CornersInputProps): react_jsx_runtime.JSX.Element;
|
|
2235
|
+
|
|
2236
|
+
/** One of the nine positions {@link AlignmentGridProps} offers. */
|
|
2237
|
+
interface AlignmentPoint {
|
|
2238
|
+
/** What the host stores when this cell is pressed. Also the React key, so
|
|
2239
|
+
* the nine must be distinct. */
|
|
2240
|
+
value: string;
|
|
2241
|
+
/** The cell's accessible name — "Top left", "Centre". Read aloud on its own,
|
|
2242
|
+
* so it names the POSITION and never the value behind it. */
|
|
2243
|
+
label: string;
|
|
2244
|
+
/**
|
|
2245
|
+
* This position cannot be chosen. The caller's arithmetic decides it (a
|
|
2246
|
+
* position that already holds all it can draw), never this component. Off
|
|
2247
|
+
* rather than absent: nine squares that became eight would read as a
|
|
2248
|
+
* control that had broken.
|
|
2249
|
+
*/
|
|
2250
|
+
disabled?: boolean;
|
|
2251
|
+
/** What the hover name says. Falls back to {@link label}; on a closed cell
|
|
2252
|
+
* it is the REASON, read on focus as on hover. */
|
|
2253
|
+
title?: string;
|
|
2254
|
+
/** Drawn IN PLACE OF the cell's dot — a direction arrow from the icon set.
|
|
2255
|
+
* Silent (`aria-hidden`): the cell already names its position. */
|
|
2256
|
+
icon?: ReactNode;
|
|
2257
|
+
}
|
|
2258
|
+
interface AlignmentGridProps {
|
|
2259
|
+
/** The radiogroup's accessible name. NOT drawn — the visible label belongs to
|
|
2260
|
+
* the row around it. */
|
|
2261
|
+
label: string;
|
|
2262
|
+
/** The chosen position, already resolved by the host: this component has no
|
|
2263
|
+
* opinion about what an absent value means. */
|
|
2264
|
+
value: string;
|
|
2265
|
+
/**
|
|
2266
|
+
* The nine cells, in reading order — top left first, bottom right last. No
|
|
2267
|
+
* default: a block's anchor and a picture's crop store different values, and
|
|
2268
|
+
* the names are the host's.
|
|
2269
|
+
*/
|
|
2270
|
+
points: readonly AlignmentPoint[];
|
|
2271
|
+
onChange: (next: string) => void;
|
|
2272
|
+
/** Every cell is off (`aria-disabled`, still reachable by the keyboard); the
|
|
2273
|
+
* chosen one is still shown. */
|
|
2274
|
+
disabled?: boolean;
|
|
2275
|
+
/** Why the grid is off. Each cell says it on hover and on focus, and it is
|
|
2276
|
+
* each cell's description. */
|
|
2277
|
+
disabledReason?: string;
|
|
2278
|
+
/** A DOM id for the radiogroup, so a host can point a label at it. */
|
|
2279
|
+
id?: string;
|
|
2280
|
+
className?: string;
|
|
2281
|
+
}
|
|
2282
|
+
declare function AlignmentGrid({ label, value, points, onChange, disabled, disabledReason, id, className, }: AlignmentGridProps): react_jsx_runtime.JSX.Element;
|
|
1913
2283
|
|
|
1914
2284
|
interface FilePickerProps {
|
|
1915
2285
|
files: File[];
|
|
@@ -2139,7 +2509,8 @@ declare function TagInput({ value, onChange, options, placeholder, allowFreeText
|
|
|
2139
2509
|
* `lg` suits a touch layout, where the same density reads as cramped. */
|
|
2140
2510
|
type CardPadding = 'none' | 'sm' | 'md' | 'lg';
|
|
2141
2511
|
interface CardProps {
|
|
2142
|
-
|
|
2512
|
+
/** The body. Optional: a card that is only a header draws no body (see below). */
|
|
2513
|
+
children?: ReactNode;
|
|
2143
2514
|
/** Title row above the body, divided by a hairline. */
|
|
2144
2515
|
header?: ReactNode;
|
|
2145
2516
|
/**
|
|
@@ -2304,6 +2675,169 @@ interface DividerProps {
|
|
|
2304
2675
|
}
|
|
2305
2676
|
declare function Divider({ orientation, children, align, spacing, className, }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
2306
2677
|
|
|
2678
|
+
/**
|
|
2679
|
+
* The spacing scale, its named roles, and the control-height ladder — the
|
|
2680
|
+
* numbers behind the `--space-*` and `--control-height-*` custom properties in
|
|
2681
|
+
* `ui.css`. `tests/spacingTokens.test.ts` holds the two to each other.
|
|
2682
|
+
*
|
|
2683
|
+
* Owner ruling, 2026-10-12: every margin, padding and gap is one of ten steps,
|
|
2684
|
+
* all multiples of 4 except 2, which is kept for hairline gaps only. 6 and 10
|
|
2685
|
+
* were left out on purpose — with them, 8 / 10 / 12 sit too close to choose
|
|
2686
|
+
* between and the code drifts back to picking at random.
|
|
2687
|
+
*
|
|
2688
|
+
* A seventh-and-a-half step is a new ruling, not a new entry here.
|
|
2689
|
+
*
|
|
2690
|
+
* A leaf that imports nothing, like `shell/zLayers.ts`, so `efficient-shell-ui-check`
|
|
2691
|
+
* (a Node program) can take the scale from here too.
|
|
2692
|
+
*/
|
|
2693
|
+
/** The ten steps, in px, smallest first. */
|
|
2694
|
+
declare const SPACING_SCALE: readonly [2, 4, 8, 12, 16, 20, 24, 32, 40, 48];
|
|
2695
|
+
type SpacingStep = (typeof SPACING_SCALE)[number];
|
|
2696
|
+
/**
|
|
2697
|
+
* One step per common use, so nobody chooses between neighbours.
|
|
2698
|
+
*
|
|
2699
|
+
* Apps and portals (owner, 2026-10-12, chosen on a mockup of a sales-order
|
|
2700
|
+
* window): form rows 12 and card padding 16 match the editor-panel rule
|
|
2701
|
+
* rather than today's most common values (16 and 12).
|
|
2702
|
+
*
|
|
2703
|
+
* Editor panels (owner, 2026-10-02): the smaller the number, the more two
|
|
2704
|
+
* things are ONE thing; the bigger, the more they are two.
|
|
2705
|
+
*
|
|
2706
|
+
* Each is `--space-<role in kebab case>` in `ui.css`.
|
|
2707
|
+
*/
|
|
2708
|
+
declare const SPACING_ROLES: {
|
|
2709
|
+
/** Icon to its word inside a button, a row, a tab. */
|
|
2710
|
+
readonly iconGap: 8;
|
|
2711
|
+
/** Icon to its word inside something small: a badge, a small button. */
|
|
2712
|
+
readonly iconGapSm: 4;
|
|
2713
|
+
/** Side padding of a small control. */
|
|
2714
|
+
readonly controlXSm: 8;
|
|
2715
|
+
/** Side padding of a control: button, field, select, chip. */
|
|
2716
|
+
readonly controlX: 12;
|
|
2717
|
+
/** Side padding of a large control. */
|
|
2718
|
+
readonly controlXLg: 16;
|
|
2719
|
+
/** Side padding of a table cell. */
|
|
2720
|
+
readonly cellX: 12;
|
|
2721
|
+
/** A label to the field it names. */
|
|
2722
|
+
readonly label: 4;
|
|
2723
|
+
/** Between the buttons of a toolbar or a button row. */
|
|
2724
|
+
readonly toolbar: 8;
|
|
2725
|
+
/** Between the rows of a form, or items stacked in a list. */
|
|
2726
|
+
readonly formRow: 12;
|
|
2727
|
+
/** Inside a card. */
|
|
2728
|
+
readonly card: 16;
|
|
2729
|
+
/** Between the big blocks of a page. */
|
|
2730
|
+
readonly block: 16;
|
|
2731
|
+
/** A page's side gutter. */
|
|
2732
|
+
readonly gutter: 16;
|
|
2733
|
+
/** Editor panel: between the buttons of one group (B · I · U · S). */
|
|
2734
|
+
readonly panelGroup: 2;
|
|
2735
|
+
/** Editor panel: a sub-name to its control; the cells of one group. */
|
|
2736
|
+
readonly panelSub: 4;
|
|
2737
|
+
/** Editor panel: between the layers of ONE setting. */
|
|
2738
|
+
readonly panelLayer: 8;
|
|
2739
|
+
/** Editor panel: between rows under one heading. */
|
|
2740
|
+
readonly panelRow: 12;
|
|
2741
|
+
/** Editor panel: its own padding. */
|
|
2742
|
+
readonly panelPad: 16;
|
|
2743
|
+
/** Editor panel: its padding when narrower than 260px. */
|
|
2744
|
+
readonly panelPadNarrow: 12;
|
|
2745
|
+
/** Editor panel: between two settings. */
|
|
2746
|
+
readonly panelSetting: 32;
|
|
2747
|
+
};
|
|
2748
|
+
type SpacingRole = keyof typeof SPACING_ROLES;
|
|
2749
|
+
/**
|
|
2750
|
+
* Control heights (owner, 2026-10-12): a button, field, select, segmented
|
|
2751
|
+
* control, filter chip, sidebar row or menu row takes its height from this
|
|
2752
|
+
* ladder rather than from top and bottom padding, which is what let a field
|
|
2753
|
+
* come out at 34 beside a 32 button. `--control-height-<size>` in `ui.css`.
|
|
2754
|
+
*/
|
|
2755
|
+
declare const CONTROL_HEIGHTS: {
|
|
2756
|
+
readonly sm: 24;
|
|
2757
|
+
readonly md: 32;
|
|
2758
|
+
readonly lg: 40;
|
|
2759
|
+
};
|
|
2760
|
+
type ControlSize = keyof typeof CONTROL_HEIGHTS;
|
|
2761
|
+
/**
|
|
2762
|
+
* Whether a Tailwind spacing step (the `3` of a padding of step 3) lands on the
|
|
2763
|
+
* scale. Tailwind steps are 4px each: `0.5` is 2px, `12` is 48px. `0` and `px`
|
|
2764
|
+
* (a 1px hairline nudge, as in a negative one-pixel margin) are geometry rather
|
|
2765
|
+
* than spacing and pass. (No utility is written out in this file: the brand
|
|
2766
|
+
* stylesheet is compiled by scanning the repository, so a class named in a
|
|
2767
|
+
* comment would ship in it.)
|
|
2768
|
+
*/
|
|
2769
|
+
declare function isSpacingStep(step: string): boolean;
|
|
2770
|
+
|
|
2771
|
+
/**
|
|
2772
|
+
* Type, weight, motion and border width — the numbers behind the
|
|
2773
|
+
* `--text-3xs` / `--text-2xs` theme keys and the `--weight-*`, `--motion-*` and
|
|
2774
|
+
* `--border-*` custom properties in `ui.css`.
|
|
2775
|
+
* `tests/typeMotionTokens.test.ts` holds the two to each other.
|
|
2776
|
+
*
|
|
2777
|
+
* Owner rulings, 2026-10-12, each chosen on a mockup:
|
|
2778
|
+
*
|
|
2779
|
+
* type 9 / 11 / 12 / 14 / 16 / 18 / 20 / 24 / 30, for portals and editor
|
|
2780
|
+
* panels alike. 12 and up are Tailwind's steps (xs … 3xl); 9 and 11
|
|
2781
|
+
* are the new 3xs and 2xs. 10 goes to 9 (a pill, grey uppercase
|
|
2782
|
+
* micro text in a card) or 11 (everything else); 13 goes to 14.
|
|
2783
|
+
* weight 400 body · 500 controls, labels, emphasis · 600 headings ·
|
|
2784
|
+
* 700 big figures. 300, 750 and 800 go to the nearest.
|
|
2785
|
+
* motion 120ms for hover and press, 160ms for opening and closing.
|
|
2786
|
+
* border 1 hairline · 2 strong (a selected tab's rule, a dashed empty
|
|
2787
|
+
* state) · 4 accent bar.
|
|
2788
|
+
*
|
|
2789
|
+
* A leaf that imports nothing. No utility is written out in this file: the
|
|
2790
|
+
* brand stylesheet is compiled by scanning the repository, so a class named in
|
|
2791
|
+
* a comment would ship in it.
|
|
2792
|
+
*/
|
|
2793
|
+
/** Font sizes in px, smallest first. */
|
|
2794
|
+
declare const TYPE_SCALE: readonly [9, 11, 12, 14, 16, 18, 20, 24, 30];
|
|
2795
|
+
type TypeStep = (typeof TYPE_SCALE)[number];
|
|
2796
|
+
/** `--weight-<role>` in `ui.css`. */
|
|
2797
|
+
declare const FONT_WEIGHTS: {
|
|
2798
|
+
readonly body: 400;
|
|
2799
|
+
readonly control: 500;
|
|
2800
|
+
readonly heading: 600;
|
|
2801
|
+
readonly figure: 700;
|
|
2802
|
+
};
|
|
2803
|
+
type FontWeightRole = keyof typeof FONT_WEIGHTS;
|
|
2804
|
+
/** Durations in ms; `--motion-<speed>` in `ui.css`. */
|
|
2805
|
+
declare const MOTION_DURATIONS: {
|
|
2806
|
+
readonly fast: 120;
|
|
2807
|
+
readonly base: 160;
|
|
2808
|
+
};
|
|
2809
|
+
type MotionSpeed = keyof typeof MOTION_DURATIONS;
|
|
2810
|
+
/** Border widths in px; `--border-<role>` in `ui.css`. */
|
|
2811
|
+
declare const BORDER_WIDTHS: {
|
|
2812
|
+
readonly hairline: 1;
|
|
2813
|
+
readonly strong: 2;
|
|
2814
|
+
readonly accent: 4;
|
|
2815
|
+
};
|
|
2816
|
+
type BorderRole = keyof typeof BORDER_WIDTHS;
|
|
2817
|
+
|
|
2818
|
+
/**
|
|
2819
|
+
* Radius roles and elevation levels — the names behind `--radius-<role>` and
|
|
2820
|
+
* `--elevation-<level>` in `ui.css`. Names only: the values live once, in the
|
|
2821
|
+
* stylesheet, and an inline style reads them as `var(--elevation-popup)`.
|
|
2822
|
+
* `tests/elevationTokens.test.ts` holds the two lists to the stylesheet.
|
|
2823
|
+
*
|
|
2824
|
+
* Owner rulings, 2026-10-12, each chosen on a mockup:
|
|
2825
|
+
*
|
|
2826
|
+
* radius control 6 · card 8 · panel 12 · popup 16 · window 16, at the
|
|
2827
|
+
* Corners setting's soft value; square and round rescale them.
|
|
2828
|
+
* `panel` is new: an editor's side panel drew 12 with no role.
|
|
2829
|
+
* elevation none · raised · panel · popup · dialog. Each level has one job:
|
|
2830
|
+
* raised — a card or field that sits a little up; panel — a
|
|
2831
|
+
* floating editor panel or a sticky bar; popup — menus, lists,
|
|
2832
|
+
* toasts, tooltips; dialog — dialogs and drawers.
|
|
2833
|
+
*
|
|
2834
|
+
* A leaf that imports nothing.
|
|
2835
|
+
*/
|
|
2836
|
+
declare const RADIUS_ROLES: readonly ["control", "card", "panel", "popup", "window"];
|
|
2837
|
+
type RadiusRole = (typeof RADIUS_ROLES)[number];
|
|
2838
|
+
declare const ELEVATION_LEVELS: readonly ["none", "raised", "panel", "popup", "dialog"];
|
|
2839
|
+
type ElevationLevel = (typeof ELEVATION_LEVELS)[number];
|
|
2840
|
+
|
|
2307
2841
|
type SkeletonVariant = 'text' | 'rect' | 'circle';
|
|
2308
2842
|
interface SkeletonProps {
|
|
2309
2843
|
variant?: SkeletonVariant;
|
|
@@ -2478,7 +3012,12 @@ interface AvatarGroupProps {
|
|
|
2478
3012
|
}
|
|
2479
3013
|
declare function AvatarGroup({ children, max, size, className }: AvatarGroupProps): react_jsx_runtime.JSX.Element;
|
|
2480
3014
|
|
|
2481
|
-
|
|
3015
|
+
/**
|
|
3016
|
+
* `neutral` is a note that is none of the other four — "Prices exclude GST",
|
|
3017
|
+
* "This record is read only". It is grey in the kit's neutral, the same wash
|
|
3018
|
+
* and ink as a neutral status badge, and draws the info glyph.
|
|
3019
|
+
*/
|
|
3020
|
+
type BannerTone = 'info' | 'success' | 'warning' | 'danger' | 'neutral';
|
|
2482
3021
|
/**
|
|
2483
3022
|
* How loudly the banner speaks.
|
|
2484
3023
|
*
|
|
@@ -5269,6 +5808,16 @@ interface SearchConfig {
|
|
|
5269
5808
|
* a group's heading are re-read in the language the page is in now. */
|
|
5270
5809
|
typeLabels?: Record<string, string>;
|
|
5271
5810
|
placeholder?: string;
|
|
5811
|
+
/**
|
|
5812
|
+
* Open on ⌘K / Ctrl+K. Default `true`. Pass `false` where the page owns
|
|
5813
|
+
* that key — an embedded API reference with its own ⌘K search. Only the key
|
|
5814
|
+
* goes: a search button that calls `openGlobalSearch()` still opens the
|
|
5815
|
+
* overlay, and Escape still closes it.
|
|
5816
|
+
*
|
|
5817
|
+
* A ⌘K that something nearer the user already handled (`preventDefault()`)
|
|
5818
|
+
* is left alone either way; this is for a page whose handler does not.
|
|
5819
|
+
*/
|
|
5820
|
+
hotkey?: boolean;
|
|
5272
5821
|
}
|
|
5273
5822
|
interface GlobalSearchProps extends Partial<SearchConfig> {
|
|
5274
5823
|
/**
|
|
@@ -5295,7 +5844,7 @@ interface GlobalSearchProps extends Partial<SearchConfig> {
|
|
|
5295
5844
|
* (Sidebar mode's rail). A no-op when no `GlobalSearch` is mounted.
|
|
5296
5845
|
*/
|
|
5297
5846
|
declare function openGlobalSearch(): void;
|
|
5298
|
-
declare function GlobalSearch({ providers, typeIcons, typeLabels, listRoutes, placeholder: placeholderProp, quickActions, onSelect, recent, onRecord, favorites, }?: GlobalSearchProps): react.ReactPortal | null;
|
|
5847
|
+
declare function GlobalSearch({ providers, typeIcons, typeLabels, listRoutes, placeholder: placeholderProp, quickActions, onSelect, recent, onRecord, favorites, hotkey, }?: GlobalSearchProps): react.ReactPortal | null;
|
|
5299
5848
|
|
|
5300
5849
|
/**
|
|
5301
5850
|
* What the ⌘K palette lists, and how the keyboard moves through it.
|
|
@@ -7834,4 +8383,4 @@ declare function ChordChart({ labels, matrix, size, maxNodes, padAngle, arcWidth
|
|
|
7834
8383
|
* string when the source is consumed without a build (e.g. tests). */
|
|
7835
8384
|
declare const VERSION: string;
|
|
7836
8385
|
|
|
7837
|
-
export { type BudgetBarProps as $, ALT as A, type BackgroundVariant as B, type ColumnDef as C, type BandScale as D, Banner as E, type BannerEmphasis as F, type BannerProps as G, type BannerTone as H, BarChart as I, type BarChartProps as J, type BoxPlotBox as K, BoxPlotChart as L, type BoxPlotChartProps as M, BrandAssetEditor as N, type BrandAssetEditorProps as O, type PaginatedResponse as P, type BrandAssetPreview as Q, BrandMark as R, type SearchConfig as S, type BrandMarkProps as T, type BrandMarkSlot as U, type BrandMarkSurface as V, type BrandMarkTreatment as W, type BreadcrumbItem as X, Breadcrumbs as Y, type BreadcrumbsProps as Z, BudgetBar as _, type SortState as a, type ColorSwatchSize as a$, type BudgetState as a0, Button as a1, type ButtonClassesOptions as a2, type ButtonProps as a3, type ButtonSize as a4, type ButtonVariant as a5, CHART_INK as a6, CMD_A as a7, CMD_DOT as a8, CMD_ENTER as a9, type ChartFrameProps as aA, ChartHighlightProvider as aB, type ChartLegendEntry as aC, type ChartLegendSwatch as aD, type ChartRange as aE, type ChartReferenceLine as aF, type ChartRevealDirection as aG, ChartSkeleton as aH, type ChartSkeletonProps as aI, type ChartStatusTone as aJ, type ChartStrokeVariant as aK, ChartTooltip as aL, type ChartTooltipProps as aM, type ChartTooltipRow as aN, ChatTemplate as aO, Checkbox as aP, type CheckboxProps as aQ, CheckoutTemplate as aR, ChordChart as aS, type ChordChartProps as aT, ColorPicker as aU, ColorPickerPanel as aV, type ColorPickerPanelProps as aW, type ColorPickerProps as aX, type ColorPreset as aY, ColorSwatch as aZ, type ColorSwatchProps as a_, CMD_K as aa, CMD_S as ab, CORNERS as ac, Calendar as ad, type CalendarMode as ae, type CalendarProps as af, type Candle as ag, CandlestickChart as ah, type CandlestickChartProps as ai, Card as aj, type CardPadding as ak, type CardProps as al, CartesianPlot as am, type CartesianPlotProps as an, type CellStyle as ao, type ChartBackgroundVariant as ap, ChartBrush as aq, type ChartBrushProps as ar, type ChartCurve as as, ChartDefs as at, type ChartDefsProps as au, ChartDot as av, type ChartDotProps as aw, type ChartDotVariant as ax, type ChartFillVariant as ay, ChartFrame as az, ALT_SHIFT_D as b, type DropdownMenuLinkItem as b$, ColoredBadge as b0, type ColoredBadgeProps as b1, ColumnChart as b2, type ColumnChartProps as b3, type ColumnSeries as b4, ComposerAttachments as b5, type ComposerAttachmentsProps as b6, ConfirmProvider as b7, ContainerFillChart as b8, type ContainerFillChartProps as b9, type DescriptionColumns as bA, type DescriptionItem as bB, DescriptionList as bC, type DescriptionListProps as bD, Dialog as bE, type DialogProps as bF, type DialogSize as bG, type DisplayChipItem as bH, DisplayChips as bI, type DisplayChipsProps as bJ, Divider as bK, type DividerProps as bL, type DividerSpacing as bM, DonutChart as bN, type DonutChartProps as bO, type DonutSegment as bP, Drawer as bQ, type DrawerProps as bR, type DrawerSide as bS, type DrawerSize as bT, DropdownMenu as bU, type DropdownMenuAlign as bV, type DropdownMenuCheckboxItem as bW, type DropdownMenuDividerItem as bX, type DropdownMenuEntry as bY, type DropdownMenuItem as bZ, type DropdownMenuLabelItem as b_, type ContainerFillItem as ba, ContextMenu as bb, type ContextMenuPoint as bc, type ContextMenuProps as bd, type ContextMenuState as be, type Corners as bf, CountBadge as bg, type CountBadgeProps as bh, type CountBadgeTone as bi, type Curve as bj, DAY_MS as bk, DashboardTemplate as bl, DataTable as bm, type DataTableColumn as bn, type DataTableColumnGroup as bo, type DataTableHeader as bp, DataTablePage as bq, type DataTableProps as br, type DataTableRowLink as bs, type DataTableRowProps as bt, DatePicker as bu, type DatePickerProps as bv, DateRangePicker as bw, type DateRangePickerProps as bx, DateTimePicker as by, type DateTimePickerProps as bz, ALT_SHIFT_E as c, IconRailButton as c$, type DropdownMenuProps as c0, type DropdownMenuRadioItem as c1, type DropdownMenuSide as c2, type DropdownPositionOptions as c3, ENGLISH as c4, ENTER as c5, EditableGrid as c6, type EditableGridProps as c7, EmailTemplate as c8, EmptyState as c9, GROUP_COLORS as cA, GROUP_COLORS_SOLID as cB, GalleryTemplate as cC, type Gap as cD, type GlassOptions as cE, GlobalSearch as cF, type GlobalSearchProps as cG, Grid as cH, type GridCols as cI, type GridColumn as cJ, type GridProps as cK, HeatmapChart as cL, type HeatmapChartProps as cM, HelpCenter as cN, type HelpCenterDoc as cO, type HelpCenterProps as cP, HexInput as cQ, type HistogramBin as cR, HistogramChart as cS, type HistogramChartProps as cT, type Hsv as cU, INPUT_BASE as cV, INPUT_SIZES as cW, IconButton as cX, type IconButtonClassesOptions as cY, type IconButtonProps as cZ, IconRail as c_, type EmptyStateProps as ca, EmptyValue as cb, type EmptyValueProps as cc, ErrorBoundary as cd, type ErrorBoundaryProps as ce, ErrorPage as cf, type ErrorPageProps as cg, FOCAL_DEFAULT as ch, FOCAL_NUDGE_COARSE as ci, FOCAL_NUDGE_STEP as cj, type FileIntake as ck, FilePicker as cl, type FilePickerProps as cm, type FillVariant as cn, type FocalPoint as co, type FormError as cp, FormErrorSummary as cq, type FormErrorSummaryProps as cr, FormField as cs, type FormFieldProps as ct, FormLayoutPage as cu, FunnelChart as cv, type FunnelChartProps as cw, type FunnelStage as cx, GLASS_DIVIDER as cy, GLASS_INPUT_BG as cz, ALT_SHIFT_N as d, NATIVE_MENU_ATTR as d$, type IconRailButtonProps as d0, type IconRailLabels as d1, type IconRailLabelsShown as d2, type IconRailOrientation as d3, type IconRailProps as d4, ImageFocusPoint as d5, type ImageFocusPointProps as d6, Inline as d7, type InlineProps as d8, Input as d9, ListLoadError as dA, type ListLoadErrorProps as dB, type ListMove as dC, ListRow as dD, type ListRowProps as dE, LoadingSpinner as dF, type LoadingSpinnerProps as dG, MAX_FRACTION_DIGITS as dH, MENU_MAX_HEIGHT as dI, MOD as dJ, MOTION as dK, Markdown as dL, type MarkdownProps as dM, MediaUploadField as dN, type MediaUploadFieldProps as dO, MediaUploadGrid as dP, type MediaUploadGridItem as dQ, type MediaUploadGridProps as dR, type MenuPos as dS, Meter as dT, type MeterProps as dU, MetricBar as dV, type MetricBarProps as dW, type Milestone as dX, type MilestoneKind as dY, MilestoneTimeline as dZ, type MilestoneTimelineProps as d_, InputNumber as da, type InputNumberProps as db, type InputProps as dc, type InputSize as dd, type Justify as de, Kanban as df, type KanbanColumn as dg, type KanbanProps as dh, Kbd as di, type KbdProps as dj, type KbdSize as dk, Label as dl, type LabelClassesOptions as dm, type LabelProps as dn, type LadderScale as dp, LanguagePanel as dq, type LanguagePanelProps as dr, LanguageSelect as ds, type LanguageSelectProps as dt, LineChart as du, type LineChartProps as dv, type LineChartSeries as dw, type LinearScale as dx, type ListDrop as dy, ListFooter as dz, APP_UPDATE_POLL_MS as e, type ResizeHandleProps as e$, NEXT_CHUNK_PATH_PREFIX as e0, NativeSelect as e1, NumericKeypad as e2, type NumericKeypadProps as e3, OVERLAY_OPEN_EVENT as e4, POPUP_MAX_WIDTH as e5, POST_PRODUCTION_STATUSES as e6, PageHeader as e7, type PageHeaderProps as e8, Pagination as e9, type ProductionTimelineProps as eA, type ProductionTimelineSnapshot as eB, type ProgressItem as eC, type PublicPortal as eD, type PublicPortalBranding as eE, RADAR_SERIES_CAP as eF, type RadarAxis as eG, RadarChart as eH, type RadarChartProps as eI, type RadarSeries as eJ, RadialBarChart as eK, type RadialBarChartProps as eL, type RadialBarRow as eM, Radio as eN, RadioGroup as eO, type RadioGroupOption as eP, type RadioGroupOrientation as eQ, type RadioGroupProps as eR, type RadioProps as eS, type Range as eT, RangeChart as eU, type RangeChartProps as eV, type RangeRow as eW, RankedBars as eX, type RankedBarsProps as eY, type RankedBarsRow as eZ, ResizeHandle as e_, type PaginationProps as ea, PaperclipGlyph as eb, Paragraph as ec, type ParagraphProps as ed, PieChart as ee, type PieChartProps as ef, type PieSegment as eg, type PlotGeometry as eh, type Point as ei, Popover as ej, type PopoverAlign as ek, type PopoverProps as el, type PopoverRenderProps as em, type PopoverSide as en, PopupMenu as eo, PopupMenuDivider as ep, PopupMenuItem as eq, type PopupMenuItemProps as er, PopupMenuLabel as es, type PopupMenuProps as et, PopupSubmenu as eu, type PopupSubmenuProps as ev, type PortalBrandingContextValue as ew, PortalBrandingProvider as ex, type PortalBrandingProviderProps as ey, ProductionTimeline as ez, Accordion as f, SidebarNavGroup as f$, type ResizeHandleSide as f0, type ResolvedPortalBrandAsset as f1, Result as f2, type ResultProps as f3, type ResultStatus as f4, type RevealDirection as f5, SCATTER_SERIES_CAP as f6, SERIES_SLOT_COUNT as f7, SERIES_VARS as f8, SHELL_LANGUAGE_STORAGE_KEY as f9, type SegmentedOption as fA, type SegmentedProps as fB, type SegmentedSize as fC, Select as fD, type SelectBaseProps as fE, type SelectItem as fF, type SelectMultipleProps as fG, type SelectOption as fH, type SelectOptionGroup as fI, type SelectProps as fJ, type SemanticGroup as fK, SettingRow as fL, type SettingRowProps as fM, type SeverityTone as fN, type ShellContextKind as fO, type ShellContextTarget as fP, type ShellLanguage as fQ, ShellLanguageProvider as fR, type ShellLanguageState as fS, type ShellPrefsAdapter as fT, ShellPrefsProvider as fU, SidebarActionButton as fV, type SidebarActionButtonProps as fW, SidebarGroupLabel as fX, type SidebarGroupLabelProps as fY, SidebarLayout as fZ, type SidebarLayoutProps as f_, SHIFT as fa, STAGES as fb, STALE_CHUNK_RELOAD_COOLDOWN_MS as fc, STALE_CHUNK_RELOAD_KEY as fd, STATUS_VARS as fe, SankeyChart as ff, type SankeyChartProps as fg, type SankeyLink as fh, type SankeyNode as fi, ScatterChart as fj, type ScatterChartProps as fk, type ScatterPoint as fl, type ScatterSeries as fm, type SearchListRoute as fn, type SearchProvider as fo, type SearchQuickAction as fp, type SearchResponse as fq, type SearchResult as fr, type SearchableItem as fs, type SearchableOption as ft, type SearchableOptionGroup as fu, SearchableSelect as fv, type SearchableSelectBaseProps as fw, type SearchableSelectMultipleProps as fx, type SearchableSelectProps as fy, Segmented as fz, type AccordionItem as g, TimeSeriesChart as g$, type SidebarNavGroupProps as g0, SidebarNavItem as g1, type SidebarNavItemProps as g2, Skeleton as g3, type SkeletonProps as g4, type SkeletonVariant as g5, Slider as g6, type SliderProps as g7, type SliderSize as g8, Snippet as g9, SunburstChart as gA, type SunburstChartProps as gB, type SunburstNode as gC, Switch as gD, type SwitchProps as gE, type SwitchSize as gF, type TabItem as gG, Tabs as gH, type TabsProps as gI, TagInput as gJ, type TagInputOption as gK, type TagInputProps as gL, Text as gM, type TextProps as gN, type TextSize as gO, type TextTone as gP, type TextWeight as gQ, Textarea as gR, type TextareaProps as gS, type Theme as gT, TileButton as gU, type TileButtonProps as gV, type TileSize as gW, TimeAgo as gX, type TimeAgoProps as gY, TimePicker as gZ, type TimePickerProps as g_, type SnippetProps as ga, type SnippetSize as gb, type SnippetVariant as gc, SortableList as gd, type SortableListProps as ge, type SortableListSpacing as gf, Sparkline as gg, type SparklineProps as gh, Stack as gi, type StackProps as gj, type StaleChunkReloadOptions as gk, StatCard as gl, type StatCardProps as gm, StatTile as gn, type StatTileProps as go, Statistic as gp, type StatisticProps as gq, type StatisticSize as gr, type StatisticTone as gs, StatusBadge as gt, StatusBadgeProvider as gu, type StatusEmphasis as gv, type StepItem as gw, Stepper as gx, type StepperProps as gy, type StrokeVariant as gz, type AccordionProps as h, budgetState as h$, type TimeSeriesChartProps as h0, type TimeSeriesSeries as h1, type TimelineMarker as h2, type TimelineMarkerKind as h3, type TimelineReport as h4, type TimelineScrubProgress as h5, TimelineTrack as h6, type TimelineTrackItem as h7, type TimelineTrackKind as h8, type TimelineTrackPending as h9, type TreeSeamProps as hA, TreemapChart as hB, type TreemapChartProps as hC, type TreemapItem as hD, type TreemapTile as hE, type UseAppUpdateOptions as hF, type UseContextMenu as hG, type UseProductionTimelineOpts as hH, VERSION as hI, VITE_PRELOAD_ERROR_EVENT as hJ, WaterfallChart as hK, type WaterfallChartProps as hL, type WaterfallStep as hM, type ZLayer as hN, Z_LAYERS as hO, angleScale as hP, appendKey as hQ, applyCorners as hR, applyIconSet as hS, applyThemePrefs as hT, arcPath as hU, areaBetween as hV, areaFrom as hW, autoHighlightIndex as hX, backspace as hY, bandScale as hZ, binValues as h_, type TimelineTrackPhase as ha, type TimelineTrackPlayback as hb, type TimelineTrackProps as hc, type TimelineTrackThumb as hd, Title as he, type TitleLevel as hf, type TitleProps as hg, type ToastOptions as hh, type ToastPlacement as hi, Tooltip as hj, type TooltipProps as hk, TopNav as hl, type TopNavItem as hm, type TopNavProps as hn, Tree as ho, type TreeDrop as hp, TreeEmptySlot as hq, type TreeEmptySlotProps as hr, TreeGroup as hs, TreeGroupLabel as ht, type TreeGroupProps as hu, type TreeMove as hv, type TreeProps as hw, TreeRow as hx, type TreeRowProps as hy, TreeSeam as hz, type Align as i, sanitizeRecent as i$, bumpPath as i0, buttonClasses as i1, calcOverall as i2, calcReportOverall as i3, colorFill as i4, colorSwatchClasses as i5, confirm as i6, confirmDestructive as i7, curvePath as i8, dashFor as i9, languageSelectWidth as iA, leavesContextMenuAlone as iB, linearPath as iC, linearScale as iD, logScale as iE, maskId as iF, matchShellLanguage as iG, mediaFileName as iH, monotonePath as iI, niceMax as iJ, nudgeFocal as iK, openGlobalSearch as iL, parseFocal as iM, parseHexColor as iN, polygonPoints as iO, popupBounds as iP, prompt as iQ, pushRecent as iR, radiusScale as iS, readSavedShellLanguage as iT, registerModalEscapeInterceptor as iU, resolveBrandMarkTreatment as iV, resolveCorners as iW, resolvePortalBrandAsset as iX, resolveSeriesColor as iY, resolveShellLanguage as iZ, resolveTheme as i_, describeContextTarget as ia, dismissPopups as ib, fillFor as ic, fillId as id, fmtSliderDate as ie, focalFromRect as ig, formatFocal as ih, fromKey as ii, glassStyle as ij, glowId as ik, groundId as il, groupColors as im, hexToHsv as io, highlightOpacity as ip, hsvToHex as iq, iconButtonClasses as ir, inputClasses as is, installStaleChunkReload as it, isMac as iu, isSeverityTone as iv, isStaleChunkError as iw, keepsNativeMenu as ix, labelClasses as iy, ladderScale as iz, type AngleScale as j, saveShellLanguage as j0, seriesColor as j1, severityOf as j2, splinePath as j3, squarify as j4, stagger as j5, stepPath as j6, tabButtonId as j7, tabPanelId as j8, toKey as j9, toDayMs as ja, toISODate as jb, toast as jc, useAppUpdate as jd, useClickOutside as je, useConfirm as jf, useContextMenu as jg, useDebouncedValue as jh, useDropdownPosition as ji, useFocusTrap as jj, useHighlight as jk, useIsMobile as jl, useLocalStoragePrefs as jm, usePlotWidth as jn, usePortalBranding as jo, useProductionTimeline as jp, useScrollLock as jq, useShellLanguage as jr, useShellPrefs as js, useStatusLabel as jt, useTheme as ju, AppUpdateBanner as k, type AppUpdateBannerProps as l, AttachButton as m, type AttachButtonProps as n, AttachmentDropZone as o, type AttachmentDropZoneProps as p, AttachmentList as q, type AttachmentListProps as r, AuthScreen as s, type AuthScreenProps as t, Avatar as u, AvatarGroup as v, type AvatarGroupProps as w, type AvatarProps as x, type AvatarSize as y, type AvatarStatus as z };
|
|
8386
|
+
export { type BrandMarkTreatment as $, ALT as A, type AvatarProps as B, type ColumnDef as C, type AvatarSize as D, type AvatarStatus as E, BORDER_WIDTHS as F, type BackgroundVariant as G, type BandScale as H, Banner as I, type BannerEmphasis as J, type BannerProps as K, type BannerTone as L, BarChart as M, type BarChartProps as N, type BorderRole as O, type PaginatedResponse as P, type BoxPlotBox as Q, BoxPlotChart as R, type SearchConfig as S, type BoxPlotChartProps as T, BrandAssetEditor as U, type BrandAssetEditorProps as V, type BrandAssetPreview as W, BrandMark as X, type BrandMarkProps as Y, type BrandMarkSlot as Z, type BrandMarkSurface as _, type SortState as a, CheckoutTemplate as a$, type BreadcrumbItem as a0, Breadcrumbs as a1, type BreadcrumbsProps as a2, BudgetBar as a3, type BudgetBarProps as a4, type BudgetState as a5, Button as a6, type ButtonClassesOptions as a7, type ButtonProps as a8, type ButtonSize as a9, ChartBrush as aA, type ChartBrushProps as aB, type ChartCurve as aC, ChartDefs as aD, type ChartDefsProps as aE, ChartDot as aF, type ChartDotProps as aG, type ChartDotVariant as aH, type ChartFillVariant as aI, ChartFrame as aJ, type ChartFrameProps as aK, ChartHighlightProvider as aL, type ChartLegendEntry as aM, type ChartLegendSwatch as aN, type ChartRange as aO, type ChartReferenceLine as aP, type ChartRevealDirection as aQ, ChartSkeleton as aR, type ChartSkeletonProps as aS, type ChartStatusTone as aT, type ChartStrokeVariant as aU, ChartTooltip as aV, type ChartTooltipProps as aW, type ChartTooltipRow as aX, ChatTemplate as aY, Checkbox as aZ, type CheckboxProps as a_, type ButtonVariant as aa, CHART_INK as ab, CMD_A as ac, CMD_DOT as ad, CMD_ENTER as ae, CMD_K as af, CMD_S as ag, COLUMN_COUNT_MAX as ah, COLUMN_COUNT_WIDTHS as ai, COLUMN_SHARES_EQUAL as aj, COLUMN_SHARE_MIN as ak, CONTROL_HEIGHTS as al, CORNERS as am, Calendar as an, type CalendarMode as ao, type CalendarProps as ap, type Candle as aq, CandlestickChart as ar, type CandlestickChartProps as as, Card as at, type CardPadding as au, type CardProps as av, CartesianPlot as aw, type CartesianPlotProps as ax, type CellStyle as ay, type ChartBackgroundVariant as az, ALT_SHIFT_D as b, type DividerSpacing as b$, ChordChart as b0, type ChordChartProps as b1, ColorPicker as b2, ColorPickerPanel as b3, type ColorPickerPanelProps as b4, type ColorPickerProps as b5, type ColorPreset as b6, ColorSwatch as b7, type ColorSwatchProps as b8, type ColorSwatchSize as b9, DashboardTemplate as bA, DataTable as bB, type DataTableColumn as bC, type DataTableColumnGroup as bD, type DataTableHeader as bE, DataTablePage as bF, type DataTableProps as bG, type DataTableRowLink as bH, type DataTableRowProps as bI, DatePicker as bJ, type DatePickerProps as bK, DateRangePicker as bL, type DateRangePickerProps as bM, DateTimePicker as bN, type DateTimePickerProps as bO, type DescriptionColumns as bP, type DescriptionItem as bQ, DescriptionList as bR, type DescriptionListProps as bS, Dialog as bT, type DialogProps as bU, type DialogSize as bV, type DisplayChipItem as bW, DisplayChips as bX, type DisplayChipsProps as bY, Divider as bZ, type DividerProps as b_, ColoredBadge as ba, type ColoredBadgeProps as bb, ColumnChart as bc, type ColumnChartProps as bd, type ColumnSeries as be, type ColumnShares as bf, ComposerAttachments as bg, type ComposerAttachmentsProps as bh, ConfirmProvider as bi, ContainerFillChart as bj, type ContainerFillChartProps as bk, type ContainerFillItem as bl, ContextMenu as bm, type ContextMenuPoint as bn, type ContextMenuProps as bo, type ContextMenuState as bp, type ControlSize as bq, type CornerOption as br, type Corners as bs, CornersInput as bt, type CornersInputProps as bu, CountBadge as bv, type CountBadgeProps as bw, type CountBadgeTone as bx, type Curve as by, DAY_MS as bz, ALT_SHIFT_E as c, type HeatmapChartProps as c$, DonutChart as c0, type DonutChartProps as c1, type DonutSegment as c2, Drawer as c3, type DrawerProps as c4, type DrawerSide as c5, type DrawerSize as c6, DropdownMenu as c7, type DropdownMenuAlign as c8, type DropdownMenuCheckboxItem as c9, FilePicker as cA, type FilePickerProps as cB, type FillVariant as cC, type FontWeightRole as cD, type FormError as cE, FormErrorSummary as cF, type FormErrorSummaryProps as cG, FormField as cH, type FormFieldProps as cI, FormLayoutPage as cJ, FunnelChart as cK, type FunnelChartProps as cL, type FunnelStage as cM, GLASS_DIVIDER as cN, GLASS_INPUT_BG as cO, GROUP_COLORS as cP, GROUP_COLORS_SOLID as cQ, GalleryTemplate as cR, type Gap as cS, type GlassOptions as cT, GlobalSearch as cU, type GlobalSearchProps as cV, Grid as cW, type GridCols as cX, type GridColumn as cY, type GridProps as cZ, HeatmapChart as c_, type DropdownMenuDividerItem as ca, type DropdownMenuEntry as cb, type DropdownMenuItem as cc, type DropdownMenuLabelItem as cd, type DropdownMenuLinkItem as ce, type DropdownMenuProps as cf, type DropdownMenuRadioItem as cg, type DropdownMenuSide as ch, type DropdownPositionOptions as ci, ELEVATION_LEVELS as cj, ENGLISH as ck, ENTER as cl, EditableGrid as cm, type EditableGridProps as cn, type ElevationLevel as co, EmailTemplate as cp, EmptyState as cq, type EmptyStateProps as cr, EmptyValue as cs, type EmptyValueProps as ct, ErrorBoundary as cu, type ErrorBoundaryProps as cv, ErrorPage as cw, type ErrorPageProps as cx, FONT_WEIGHTS as cy, type FileIntake as cz, ALT_SHIFT_N as d, type ListLoadErrorProps as d$, HelpCenter as d0, type HelpCenterDoc as d1, type HelpCenterProps as d2, HexInput as d3, type HistogramBin as d4, HistogramChart as d5, type HistogramChartProps as d6, type Hsv as d7, INPUT_BASE as d8, INPUT_SIZES as d9, type KbdSize as dA, Label as dB, type LabelClassesOptions as dC, type LabelProps as dD, type LadderScale as dE, LanguagePanel as dF, type LanguagePanelProps as dG, LanguageSelect as dH, type LanguageSelectProps as dI, LineChart as dJ, type LineChartProps as dK, type LineChartSeries as dL, type LinearScale as dM, type LinkFilter as dN, type LinkFilterField as dO, type LinkKindChoice as dP, type LinkOption as dQ, type LinkOptionGroup as dR, LinkPicker as dS, type LinkPickerFieldProps as dT, type LinkPickerProps as dU, type LinkPickerWindowProps as dV, type LinkRules as dW, type LinkTarget as dX, type ListDrop as dY, ListFooter as dZ, ListLoadError as d_, IconButton as da, type IconButtonClassesOptions as db, type IconButtonProps as dc, IconRail as dd, IconRailButton as de, type IconRailButtonProps as df, type IconRailLabels as dg, type IconRailLabelsShown as dh, type IconRailOrientation as di, type IconRailProps as dj, ImageFocusPoint as dk, type ImageFocusPointProps as dl, Inline as dm, type InlineProps as dn, Input as dp, InputNumber as dq, type InputNumberProps as dr, type InputProps as ds, type InputSize as dt, type Justify as du, Kanban as dv, type KanbanColumn as dw, type KanbanProps as dx, Kbd as dy, type KbdProps as dz, APP_UPDATE_POLL_MS as e, ProductionTimeline as e$, type ListMove as e0, ListRow as e1, type ListRowProps as e2, LoadingSpinner as e3, type LoadingSpinnerProps as e4, MAX_FRACTION_DIGITS as e5, MENU_MAX_HEIGHT as e6, MOD as e7, MOTION as e8, MOTION_DURATIONS as e9, type PageHeaderProps as eA, Pagination as eB, type PaginationProps as eC, PaperclipGlyph as eD, Paragraph as eE, type ParagraphProps as eF, PieChart as eG, type PieChartProps as eH, type PieSegment as eI, type PlotGeometry as eJ, type Point as eK, Popover as eL, type PopoverAlign as eM, type PopoverProps as eN, type PopoverRenderProps as eO, type PopoverSide as eP, PopupMenu as eQ, PopupMenuDivider as eR, PopupMenuItem as eS, type PopupMenuItemProps as eT, PopupMenuLabel as eU, type PopupMenuProps as eV, PopupSubmenu as eW, type PopupSubmenuProps as eX, type PortalBrandingContextValue as eY, PortalBrandingProvider as eZ, type PortalBrandingProviderProps as e_, Markdown as ea, type MarkdownProps as eb, MediaUploadField as ec, type MediaUploadFieldProps as ed, MediaUploadGrid as ee, type MediaUploadGridItem as ef, type MediaUploadGridProps as eg, type MenuPos as eh, Meter as ei, type MeterProps as ej, MetricBar as ek, type MetricBarProps as el, type Milestone as em, type MilestoneKind as en, MilestoneTimeline as eo, type MilestoneTimelineProps as ep, type MotionSpeed as eq, NATIVE_MENU_ATTR as er, NEXT_CHUNK_PATH_PREFIX as es, NativeSelect as et, NumericKeypad as eu, type NumericKeypadProps as ev, OVERLAY_OPEN_EVENT as ew, POPUP_MAX_WIDTH as ex, POST_PRODUCTION_STATUSES as ey, PageHeader as ez, Accordion as f, SearchableSelect as f$, type ProductionTimelineProps as f0, type ProductionTimelineSnapshot as f1, type ProgressItem as f2, type PublicPortal as f3, type PublicPortalBranding as f4, RADAR_SERIES_CAP as f5, RADIUS_ROLES as f6, type RadarAxis as f7, RadarChart as f8, type RadarChartProps as f9, SCATTER_SERIES_CAP as fA, SERIES_SLOT_COUNT as fB, SERIES_VARS as fC, SHELL_LANGUAGE_STORAGE_KEY as fD, SHIFT as fE, SPACING_ROLES as fF, SPACING_SCALE as fG, STAGES as fH, STALE_CHUNK_RELOAD_COOLDOWN_MS as fI, STALE_CHUNK_RELOAD_KEY as fJ, STATUS_VARS as fK, SankeyChart as fL, type SankeyChartProps as fM, type SankeyLink as fN, type SankeyNode as fO, ScatterChart as fP, type ScatterChartProps as fQ, type ScatterPoint as fR, type ScatterSeries as fS, type SearchListRoute as fT, type SearchProvider as fU, type SearchQuickAction as fV, type SearchResponse as fW, type SearchResult as fX, type SearchableItem as fY, type SearchableOption as fZ, type SearchableOptionGroup as f_, type RadarSeries as fa, RadialBarChart as fb, type RadialBarChartProps as fc, type RadialBarRow as fd, Radio as fe, RadioGroup as ff, type RadioGroupOption as fg, type RadioGroupOrientation as fh, type RadioGroupProps as fi, type RadioProps as fj, type RadiusRole as fk, type Range as fl, RangeChart as fm, type RangeChartProps as fn, type RangeRow as fo, RankedBars as fp, type RankedBarsProps as fq, type RankedBarsRow as fr, ResizeHandle as fs, type ResizeHandleProps as ft, type ResizeHandleSide as fu, type ResolvedPortalBrandAsset as fv, Result as fw, type ResultProps as fx, type ResultStatus as fy, type RevealDirection as fz, type AccordionItem as g, StatusBadge as g$, type SearchableSelectBaseProps as g0, type SearchableSelectMultipleProps as g1, type SearchableSelectProps as g2, Segmented as g3, type SegmentedOption as g4, type SegmentedProps as g5, type SegmentedSize as g6, Select as g7, type SelectBaseProps as g8, type SelectItem as g9, type SkeletonProps as gA, type SkeletonVariant as gB, Slider as gC, type SliderProps as gD, type SliderSize as gE, Snippet as gF, type SnippetProps as gG, type SnippetSize as gH, type SnippetVariant as gI, SortableList as gJ, type SortableListProps as gK, type SortableListSpacing as gL, type SpacingRole as gM, type SpacingStep as gN, Sparkline as gO, type SparklineProps as gP, Stack as gQ, type StackProps as gR, type StaleChunkReloadOptions as gS, StatCard as gT, type StatCardProps as gU, StatTile as gV, type StatTileProps as gW, Statistic as gX, type StatisticProps as gY, type StatisticSize as gZ, type StatisticTone as g_, type SelectMultipleProps as ga, type SelectOption as gb, type SelectOptionGroup as gc, type SelectProps as gd, type SemanticGroup as ge, SettingRow as gf, type SettingRowProps as gg, type SeverityTone as gh, type ShellContextKind as gi, type ShellContextTarget as gj, type ShellLanguage as gk, ShellLanguageProvider as gl, type ShellLanguageState as gm, type ShellPrefsAdapter as gn, ShellPrefsProvider as go, SidebarActionButton as gp, type SidebarActionButtonProps as gq, SidebarGroupLabel as gr, type SidebarGroupLabelProps as gs, SidebarLayout as gt, type SidebarLayoutProps as gu, SidebarNavGroup as gv, type SidebarNavGroupProps as gw, SidebarNavItem as gx, type SidebarNavItemProps as gy, Skeleton as gz, type AccordionProps as h, TreeEmptySlot as h$, StatusBadgeProvider as h0, type StatusEmphasis as h1, type StepItem as h2, Stepper as h3, type StepperProps as h4, type StrokeVariant as h5, SunburstChart as h6, type SunburstChartProps as h7, type SunburstNode as h8, Switch as h9, TimeSeriesChart as hA, type TimeSeriesChartProps as hB, type TimeSeriesSeries as hC, type TimelineMarker as hD, type TimelineMarkerKind as hE, type TimelineReport as hF, type TimelineScrubProgress as hG, TimelineTrack as hH, type TimelineTrackItem as hI, type TimelineTrackKind as hJ, type TimelineTrackPending as hK, type TimelineTrackPhase as hL, type TimelineTrackPlayback as hM, type TimelineTrackProps as hN, type TimelineTrackThumb as hO, Title as hP, type TitleLevel as hQ, type TitleProps as hR, type ToastOptions as hS, type ToastPlacement as hT, Tooltip as hU, type TooltipProps as hV, TopNav as hW, type TopNavItem as hX, type TopNavProps as hY, Tree as hZ, type TreeDrop as h_, type SwitchProps as ha, type SwitchSize as hb, TYPE_SCALE as hc, type TabItem as hd, Tabs as he, type TabsProps as hf, TagInput as hg, type TagInputOption as hh, type TagInputProps as hi, Text as hj, TextLinkField as hk, type TextLinkFieldProps as hl, type TextProps as hm, type TextSize as hn, type TextTone as ho, type TextWeight as hp, Textarea as hq, type TextareaProps as hr, type Theme as hs, TileButton as ht, type TileButtonProps as hu, type TileSize as hv, TimeAgo as hw, type TimeAgoProps as hx, TimePicker as hy, type TimePickerProps as hz, type Align as i, hexToHsv as i$, type TreeEmptySlotProps as i0, TreeGroup as i1, TreeGroupLabel as i2, type TreeGroupProps as i3, type TreeMove as i4, type TreeProps as i5, TreeRow as i6, type TreeRowProps as i7, TreeSeam as i8, type TreeSeamProps as i9, areaFrom as iA, autoHighlightIndex as iB, backspace as iC, bandScale as iD, binValues as iE, budgetState as iF, bumpPath as iG, buttonClasses as iH, calcOverall as iI, calcReportOverall as iJ, colorFill as iK, colorSwatchClasses as iL, columnSharesWidths as iM, confirm as iN, confirmDestructive as iO, curvePath as iP, dashFor as iQ, describeContextTarget as iR, dismissPopups as iS, fillFor as iT, fillId as iU, fmtSliderDate as iV, fromKey as iW, glassStyle as iX, glowId as iY, groundId as iZ, groupColors as i_, TreemapChart as ia, type TreemapChartProps as ib, type TreemapItem as ic, type TreemapTile as id, type TypeStep as ie, type UseAppUpdateOptions as ig, type UseContextMenu as ih, type UseProductionTimelineOpts as ii, VERSION as ij, VITE_PRELOAD_ERROR_EVENT as ik, WaterfallChart as il, type WaterfallChartProps as im, type WaterfallStep as io, WidthsBar as ip, type WidthsBarProps as iq, type ZLayer as ir, Z_LAYERS as is, angleScale as it, appendKey as iu, applyCorners as iv, applyIconSet as iw, applyThemePrefs as ix, arcPath as iy, areaBetween as iz, AlignmentGrid as j, useLocalStoragePrefs as j$, highlightOpacity as j0, hsvToHex as j1, iconButtonClasses as j2, inputClasses as j3, installStaleChunkReload as j4, isMac as j5, isSafeLinkHref as j6, isSeverityTone as j7, isSpacingStep as j8, isStaleChunkError as j9, resolvePortalBrandAsset as jA, resolveSeriesColor as jB, resolveShellLanguage as jC, resolveTheme as jD, sanitizeRecent as jE, saveShellLanguage as jF, seriesColor as jG, severityOf as jH, splinePath as jI, squarify as jJ, stagger as jK, stepPath as jL, tabButtonId as jM, tabPanelId as jN, toKey as jO, toDayMs as jP, toISODate as jQ, toast as jR, useAppUpdate as jS, useClickOutside as jT, useConfirm as jU, useContextMenu as jV, useDebouncedValue as jW, useDropdownPosition as jX, useFocusTrap as jY, useHighlight as jZ, useIsMobile as j_, keepsNativeMenu as ja, labelClasses as jb, ladderScale as jc, languageSelectWidth as jd, leavesContextMenuAlone as je, linearPath as jf, linearScale as jg, logScale as jh, maskId as ji, matchShellLanguage as jj, mediaFileName as jk, monotonePath as jl, niceMax as jm, openGlobalSearch as jn, parseHexColor as jo, polygonPoints as jp, popupBounds as jq, prompt as jr, pushRecent as js, radiusScale as jt, readSavedShellLanguage as ju, registerModalEscapeInterceptor as jv, resolveBrandMarkTreatment as jw, resolveColumnShares as jx, resolveColumnWidths as jy, resolveCorners as jz, type AlignmentGridProps as k, usePlotWidth as k0, usePortalBranding as k1, useProductionTimeline as k2, useScrollLock as k3, useShellLanguage as k4, useShellPrefs as k5, useStatusLabel as k6, useTheme as k7, type AlignmentPoint as l, type AngleScale as m, AppUpdateBanner as n, type AppUpdateBannerProps as o, AttachButton as p, type AttachButtonProps as q, AttachmentDropZone as r, type AttachmentDropZoneProps as s, AttachmentList as t, type AttachmentListProps as u, AuthScreen as v, type AuthScreenProps as w, Avatar as x, AvatarGroup as y, type AvatarGroupProps as z };
|