efficient-shell 5.6.1 → 7.7.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 +270 -64
- package/THIRD_PARTY_NOTICES.md +212 -0
- package/dist/Browser-56LX7FTE.js +43 -0
- package/dist/Calculator-GBKLJHM6.js +29 -0
- package/dist/ConfirmDialog-PS5BXNAT.js +1 -0
- package/dist/CurrencyConverter-ZXY7XNG6.js +21 -0
- package/dist/Documents-SVKR757H.js +52 -0
- package/dist/Files-KSHU7ROB.js +87 -0
- package/dist/Notepad-5GT2GUCJ.js +25 -0
- package/dist/PdfViewer-YVAWFZVH.js +1 -0
- package/dist/PomodoroTimer-GAGDQ4NF.js +91 -0
- package/dist/Preview-YDCDW5NE.js +182 -0
- package/dist/Sidebar-IH6WUPKT.js +44 -0
- package/dist/Spreadsheet-SYR23K4I.js +37 -0
- package/dist/Stock-LH5CR667.js +16 -0
- package/dist/{Weather-RWI6NKB2.js → Weather-MZGIPR2R.js} +35 -35
- package/dist/WorldClock-DLB2RRLI.js +32 -0
- package/dist/apps/index.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/chunk-2ALIPI3D.js +1 -0
- package/dist/{chunk-JXAAZGLJ.js → chunk-2R5RTN5T.js} +1 -1
- package/dist/chunk-43XFZY4K.js +5 -0
- package/dist/chunk-4JGNJYVL.js +10 -0
- package/dist/{chunk-7WC3EOFS.js → chunk-5TOLXFQ6.js} +1 -1
- package/dist/chunk-6SCHK75C.js +108 -0
- package/dist/chunk-7IQ3B77H.js +1 -0
- package/dist/{chunk-TFETN2GI.js → chunk-B4PGVDB6.js} +1 -1
- package/dist/chunk-BUGGBB5J.js +1 -0
- package/dist/chunk-CJHT4VTF.js +91 -0
- package/dist/chunk-CLFUF3BH.js +9 -0
- package/dist/chunk-CQ2DLPPS.js +3 -0
- package/dist/{chunk-X4FJ54PP.js → chunk-FIEA5CGB.js} +1 -1
- package/dist/chunk-G4CTTSAR.js +11 -0
- package/dist/{chunk-YIH6JLMV.js → chunk-HIRMYFOF.js} +2 -2
- package/dist/chunk-JKHXDQEI.js +24 -0
- package/dist/{chunk-KXAUDC3A.js → chunk-JQRIAZDP.js} +35 -35
- package/dist/chunk-KNUR2UEG.js +1 -0
- package/dist/{chunk-WWF2EQXF.js → chunk-KONXUO5I.js} +1 -1
- package/dist/chunk-M4MCXII7.js +6 -0
- package/dist/{chunk-CLPJDJH4.js → chunk-M4TRVJTO.js} +1 -1
- package/dist/chunk-MSGBGLGI.js +29 -0
- package/dist/chunk-N7JTY3LU.js +21 -0
- package/dist/chunk-NODT4F2C.js +13 -0
- package/dist/chunk-OXTM3XZI.js +1 -0
- package/dist/chunk-PJPK2ADX.js +1 -0
- package/dist/chunk-PT4Z3KIA.js +12 -0
- package/dist/chunk-QRCDQPJA.js +1 -0
- package/dist/{chunk-SKB6L53D.js → chunk-QUVE5JZZ.js} +11 -11
- package/dist/{chunk-N3A3GWJI.js → chunk-R2TPTM4O.js} +12 -12
- package/dist/{chunk-GG7AE6OC.js → chunk-RBKIYZ7H.js} +1 -1
- package/dist/chunk-RUHUTZN4.js +1 -0
- package/dist/chunk-TCYS67ND.js +1016 -0
- package/dist/{chunk-AFYQTVZO.js → chunk-UVBK6YSR.js} +1 -1
- package/dist/client-DLm3Fvbc.d.ts +65 -0
- package/dist/file-intake/index.js +1 -1
- package/dist/i18n/index.d.ts +1 -1
- package/dist/icons/efficient-looks.d.ts +1 -1
- package/dist/icons/efficient-looks.js +4 -4
- package/dist/icons/efficient.d.ts +3 -3
- package/dist/icons/efficient.js +3 -3
- package/dist/icons/index.d.ts +12 -12
- package/dist/icons/index.js +1 -1
- package/dist/{index-ZI6vl2Wq.d.ts → index-BkBsXpfV.d.ts} +468 -161
- package/dist/index.d.ts +6 -4
- package/dist/index.js +635 -639
- package/dist/locales/zh-Hans.d.ts +1 -1
- package/dist/locales/zh-Hans.js +1 -1
- package/dist/map/index.js +22 -22
- package/dist/markdown/index.js +6 -6
- package/dist/markup/index.d.ts +460 -36
- package/dist/markup/index.js +1 -1
- package/dist/page-tabs/index.js +5 -5
- package/dist/pdf/index.js +1 -1
- package/dist/{registry-J-TU7zKx.d.ts → registry-Dw6QO2Ch.d.ts} +12 -9
- package/dist/{strings-BVB64Nck.d.ts → strings-BQtq9300.d.ts} +22 -2
- package/dist/telemetry/index.d.ts +39 -0
- package/dist/telemetry/index.js +1 -0
- package/dist/ui/index.d.ts +4 -3
- package/dist/ui/index.js +1 -1
- package/dist/ui.css +110 -75
- package/package.json +7 -21
- package/dist/Browser-RXGEZ77D.js +0 -43
- package/dist/Calculator-MVPKTZZF.js +0 -29
- package/dist/ConfirmDialog-XOYCYFA7.js +0 -1
- package/dist/CurrencyConverter-2IGOOR3I.js +0 -21
- package/dist/Documents-YBLR7WVX.js +0 -52
- package/dist/Files-7XNR5IL2.js +0 -87
- package/dist/Notepad-ZQYQXV75.js +0 -25
- package/dist/PdfViewer-SQVMMA7B.js +0 -1
- package/dist/PomodoroTimer-XIUN4M73.js +0 -91
- package/dist/Preview-YCOA5JPP.js +0 -182
- package/dist/Sidebar-VI7E3EKI.js +0 -44
- package/dist/Spreadsheet-SRAUU3OA.js +0 -37
- package/dist/Stock-7EKOAQ7C.js +0 -16
- package/dist/WorldClock-CEHWDFEO.js +0 -32
- package/dist/chunk-3HJTOINK.js +0 -1
- package/dist/chunk-4SWPNARR.js +0 -5
- package/dist/chunk-5ABLFFC5.js +0 -24
- package/dist/chunk-6LTDJKIL.js +0 -138
- package/dist/chunk-F6B3J3GW.js +0 -6
- package/dist/chunk-HZZNJHRH.js +0 -1
- package/dist/chunk-IMMHJIV5.js +0 -29
- package/dist/chunk-OGXU7QFW.js +0 -12
- package/dist/chunk-P4CIOJHP.js +0 -3
- package/dist/chunk-RBDGN4YU.js +0 -9
- package/dist/chunk-RC2EG6P4.js +0 -1026
- package/dist/chunk-RL626E7Q.js +0 -13
- package/dist/chunk-RMJZOKHY.js +0 -10
- package/dist/chunk-SFCDHHQP.js +0 -1
- package/dist/chunk-TNBCUZVE.js +0 -1
- package/dist/chunk-VWBQ2P5G.js +0 -108
- package/dist/chunk-XWSWYMGM.js +0 -2
- package/dist/chunk-YGC7AX3X.js +0 -11
- package/dist/chunk-Z7D6Y5WA.js +0 -21
- package/dist/icons/heroicons.d.ts +0 -6
- package/dist/icons/heroicons.js +0 -1
- package/dist/icons/lucide.d.ts +0 -6
- package/dist/icons/lucide.js +0 -1
|
@@ -2,10 +2,11 @@ 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
4
|
import { g as TimeAgoOptions } from './index-CHufemKB.js';
|
|
5
|
+
import './markup/index.js';
|
|
5
6
|
import { useFileIntake, FileIntakeLimits, FileRejection } from './file-intake/index.js';
|
|
6
7
|
import './icons/index.js';
|
|
7
|
-
import './registry-
|
|
8
|
-
import { S as ShellStringsOverride } from './strings-
|
|
8
|
+
import './registry-Dw6QO2Ch.js';
|
|
9
|
+
import { S as ShellStringsOverride } from './strings-BQtq9300.js';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Button styling — the class strings `Button` and `IconButton` wear, and the
|
|
@@ -37,8 +38,17 @@ import { S as ShellStringsOverride } from './strings-BVB64Nck.js';
|
|
|
37
38
|
* borrows `ghost`'s weight and keeps only the colour. The colour is the point:
|
|
38
39
|
* it lets someone tell what the button costs WITHOUT reading it, which under
|
|
39
40
|
* time pressure is what actually happens.
|
|
41
|
+
*
|
|
42
|
+
* `secondary-danger` is the same idea for a footer of OUTLINED buttons: a
|
|
43
|
+
* destructive action beside `secondary` ones, e.g. Delete beside Archive, with
|
|
44
|
+
* Update as the one `primary`. Bare red text there looks like a link that
|
|
45
|
+
* fell out of the row, so it takes `secondary`'s whole shape — border, height,
|
|
46
|
+
* padding, radius — and changes only the colour: a red border, red text, and
|
|
47
|
+
* on hover the light red wash `ghost-danger` has. Pick by the row: quiet
|
|
48
|
+
* `ghost` buttons around it → `ghost-danger`; outlined ones → this; the one
|
|
49
|
+
* action a confirm dialog asks for → `danger`.
|
|
40
50
|
*/
|
|
41
|
-
type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'ghost-danger' | 'danger' | 'link';
|
|
51
|
+
type ButtonVariant = 'primary' | 'secondary' | 'secondary-danger' | 'ghost' | 'ghost-danger' | 'danger' | 'warning' | 'link';
|
|
42
52
|
/**
|
|
43
53
|
* `sm`/`md`/`lg` are the desktop scale. The `touch-*` rungs are for a finger on
|
|
44
54
|
* glass — a till, a warehouse tablet — and are a SEPARATE ladder on purpose:
|
|
@@ -57,6 +67,13 @@ interface ButtonClassesOptions {
|
|
|
57
67
|
size?: ButtonSize;
|
|
58
68
|
/** Stretch to the full width of the container (`w-full`). */
|
|
59
69
|
block?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* A toggle that is on: the accent wash and ink in place of a `ghost` or
|
|
72
|
+
* `secondary` look, as `iconButtonClasses` has it. `Button` sets it from its
|
|
73
|
+
* own `pressed` or `aria-pressed`. `primary`, `danger`, `secondary-danger`,
|
|
74
|
+
* `ghost-danger` and `link` ignore it.
|
|
75
|
+
*/
|
|
76
|
+
pressed?: boolean;
|
|
60
77
|
/**
|
|
61
78
|
* Appended last, exactly as `Button` appends its `className`. For layout —
|
|
62
79
|
* a margin, `shrink-0` — never a second padding, colour or display: those
|
|
@@ -116,7 +133,7 @@ interface ButtonClassesOptions {
|
|
|
116
133
|
* function: call it in a `'use client'` module. A server component that
|
|
117
134
|
* imports it receives a reference it cannot call.
|
|
118
135
|
*/
|
|
119
|
-
declare function buttonClasses({ variant, size, block, className, }?: ButtonClassesOptions): string;
|
|
136
|
+
declare function buttonClasses({ variant, size, block, pressed, className, }?: ButtonClassesOptions): string;
|
|
120
137
|
/** What `iconButtonClasses` takes: `IconButton`'s look props. */
|
|
121
138
|
interface IconButtonClassesOptions {
|
|
122
139
|
/**
|
|
@@ -131,7 +148,8 @@ interface IconButtonClassesOptions {
|
|
|
131
148
|
* A toggle that is on: the accent wash and ink in place of a `ghost` or
|
|
132
149
|
* `secondary` look. `IconButton` sets it from its own `aria-pressed`; an
|
|
133
150
|
* icon-only link that stands for a state takes it here. `primary` and
|
|
134
|
-
* `danger` are already filled and ignore it
|
|
151
|
+
* `danger` are already filled and ignore it, and so do the two red looks,
|
|
152
|
+
* `ghost-danger` and `secondary-danger`: a destructive action is not a toggle.
|
|
135
153
|
*/
|
|
136
154
|
pressed?: boolean;
|
|
137
155
|
/** Appended last; the same rule as `ButtonClassesOptions.className`. */
|
|
@@ -160,6 +178,17 @@ interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'cla
|
|
|
160
178
|
rightIcon?: ReactNode;
|
|
161
179
|
/** Stretch to the full width of the container. */
|
|
162
180
|
block?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* Wear the pressed look without saying `aria-pressed` — for a button whose
|
|
183
|
+
* state is said another way, or only in its label ("Pop-out open"). The same
|
|
184
|
+
* prop and the same look as `IconButton`'s: a `ghost` or `secondary` button
|
|
185
|
+
* takes the accent wash and ink (`secondary` keeps its border, tinted, so it
|
|
186
|
+
* does not move). With `aria-pressed` true (or `'true'`) the look follows on
|
|
187
|
+
* its own. Set, this wins over `aria-pressed` for the look (never for what is
|
|
188
|
+
* said). Every other variant (the filled ones, `secondary-danger`,
|
|
189
|
+
* `ghost-danger`, `link`) ignores it.
|
|
190
|
+
*/
|
|
191
|
+
pressed?: boolean;
|
|
163
192
|
className?: string;
|
|
164
193
|
/**
|
|
165
194
|
* Why this button is disabled, rendered as text BESIDE it — never as a
|
|
@@ -258,6 +287,9 @@ declare const INPUT_BASE: string;
|
|
|
258
287
|
declare function inputClasses(opts?: {
|
|
259
288
|
invalid?: boolean;
|
|
260
289
|
size?: InputSize;
|
|
290
|
+
/** A box that grows with its content — a textarea, a tag field whose chips
|
|
291
|
+
* wrap. It takes `INPUT_SIZES_MULTILINE`: padding, no fixed height. */
|
|
292
|
+
multiline?: boolean;
|
|
261
293
|
/** The read-only ground (`bg-gray-50`) in place of the field's white. */
|
|
262
294
|
readOnly?: boolean;
|
|
263
295
|
className?: string;
|
|
@@ -1074,6 +1106,17 @@ interface CalendarProps {
|
|
|
1074
1106
|
* two clicks rather than a hundred presses of PageUp. On by default.
|
|
1075
1107
|
*/
|
|
1076
1108
|
quickJump?: boolean;
|
|
1109
|
+
/**
|
|
1110
|
+
* Days with something on them (`YYYY-MM-DD`): a dot under the number, as
|
|
1111
|
+
* the taskbar clock marks days that have items.
|
|
1112
|
+
*/
|
|
1113
|
+
markedDates?: readonly string[];
|
|
1114
|
+
/**
|
|
1115
|
+
* Drawn and paged, not picked: the days are not buttons and `onSelect` is
|
|
1116
|
+
* never called. `value` is still drawn as the chosen day (the taskbar clock
|
|
1117
|
+
* shows today this way when its host gives it nothing to do with a day).
|
|
1118
|
+
*/
|
|
1119
|
+
readOnly?: boolean;
|
|
1077
1120
|
/** Names the grid. Defaults to the month and year on show. */
|
|
1078
1121
|
'aria-label'?: string;
|
|
1079
1122
|
className?: string;
|
|
@@ -1082,7 +1125,7 @@ interface CalendarProps {
|
|
|
1082
1125
|
declare function toKey(d: Date): string;
|
|
1083
1126
|
/** The local Date for a `YYYY-MM-DD`, or null. Never `new Date(string)`. */
|
|
1084
1127
|
declare function fromKey(key: string | null | undefined): Date | null;
|
|
1085
|
-
declare function Calendar({ value, endValue, mode, onSelect, min, max, month, defaultMonth, onMonthChange, weekStartsOn: weekStartsOnProp, quickJump, 'aria-label': ariaLabel, className, }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
1128
|
+
declare function Calendar({ value, endValue, mode, onSelect, min, max, month, defaultMonth, onMonthChange, weekStartsOn: weekStartsOnProp, quickJump, markedDates, readOnly, 'aria-label': ariaLabel, className, }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
1086
1129
|
|
|
1087
1130
|
interface TimePickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'className' | 'size' | 'type' | 'value' | 'onChange' | 'min' | 'max'> {
|
|
1088
1131
|
/** An `HH:MM` / `HH:MM:SS` string, a Date (local wall-clock time is read), or nothing. */
|
|
@@ -1390,7 +1433,19 @@ interface TileButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>,
|
|
|
1390
1433
|
}
|
|
1391
1434
|
declare const TileButton: react.ForwardRefExoticComponent<TileButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1392
1435
|
|
|
1393
|
-
|
|
1436
|
+
/**
|
|
1437
|
+
* `sm` / `md` / `lg` are the control-height ladder, 24 / 32 / 40
|
|
1438
|
+
* (`--control-height-*`, owner 2026-10-12). `touch` is the finger rung, the
|
|
1439
|
+
* same 56 as `Button size="touch"`: the touch ladder is separate from the
|
|
1440
|
+
* desktop one on purpose (forms/buttonStyles.ts says why).
|
|
1441
|
+
*/
|
|
1442
|
+
type ChoiceSize = 'sm' | 'md' | 'lg' | 'touch';
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* `sm` / `md` / `lg` are 24 / 32 / 40 tall, the control-height ladder; `touch`
|
|
1446
|
+
* is 56, the same as `Button size="touch"`.
|
|
1447
|
+
*/
|
|
1448
|
+
type SegmentedSize = ChoiceSize;
|
|
1394
1449
|
interface SegmentedOption<T extends string = string> {
|
|
1395
1450
|
value: T;
|
|
1396
1451
|
label: ReactNode;
|
|
@@ -1785,9 +1840,17 @@ interface WidthsBarProps {
|
|
|
1785
1840
|
readOnly?: boolean;
|
|
1786
1841
|
/** Dimmed, out of the tab order, never written. */
|
|
1787
1842
|
disabled?: boolean;
|
|
1843
|
+
/**
|
|
1844
|
+
* Draw the hint and "Reset to equal" under the bar (the default). `false`
|
|
1845
|
+
* for a host that draws its own reset and hint — a settings field with a
|
|
1846
|
+
* reset in its heading row and a hint that folds away: the bar then draws
|
|
1847
|
+
* nothing under itself. The hint is still there for screen readers, as
|
|
1848
|
+
* visually hidden text the group and every field are described by.
|
|
1849
|
+
*/
|
|
1850
|
+
footer?: boolean;
|
|
1788
1851
|
className?: string;
|
|
1789
1852
|
}
|
|
1790
|
-
declare function WidthsBar({ count, value, onChange, label, 'aria-labelledby': labelledBy, readOnly, disabled, className, }: WidthsBarProps): react_jsx_runtime.JSX.Element;
|
|
1853
|
+
declare function WidthsBar({ count, value, onChange, label, 'aria-labelledby': labelledBy, readOnly, disabled, footer, className, }: WidthsBarProps): react_jsx_runtime.JSX.Element;
|
|
1791
1854
|
|
|
1792
1855
|
type PopoverAlign = 'start' | 'end';
|
|
1793
1856
|
type PopoverSide = 'top' | 'bottom';
|
|
@@ -2144,29 +2207,6 @@ interface TextLinkFieldProps {
|
|
|
2144
2207
|
*/
|
|
2145
2208
|
declare function TextLinkField({ label, text, onTextChange, link, onLinkChange, kinds, rules, filtersFor, textPlaceholder, readOnly, className, }: TextLinkFieldProps): react_jsx_runtime.JSX.Element;
|
|
2146
2209
|
|
|
2147
|
-
/**
|
|
2148
|
-
* Which addresses a link may carry — the kit's ONE rule for it.
|
|
2149
|
-
*
|
|
2150
|
-
* Folded in from efficient-easel's markup grammar (`src/markup`, where the
|
|
2151
|
-
* link window, the paste filter and the storefront renderers all asked it), so
|
|
2152
|
-
* the rule has one home in the kit: `LinkPicker` refuses a typed address with
|
|
2153
|
-
* it, `MarkdownLite` writes no `href` that fails it, and a host renderer that
|
|
2154
|
-
* writes an `href` of its own should ask it too.
|
|
2155
|
-
*
|
|
2156
|
-
* A pure module that imports nothing, so a renderer can take it without the
|
|
2157
|
-
* rest of the kit's graph.
|
|
2158
|
-
*/
|
|
2159
|
-
/**
|
|
2160
|
-
* True for an address a link may carry: `http`, `https`, `mailto` or `tel`, or
|
|
2161
|
-
* one with no scheme at all (`/tyres`, `#top`, `terms.html`, `//cdn…`).
|
|
2162
|
-
* Anything else — `javascript:`, `data:`, `file:` — is refused, and so is an
|
|
2163
|
-
* address with any space or control character in it, because browsers drop
|
|
2164
|
-
* those before they read the scheme (`java\tscript:` runs as `javascript:`).
|
|
2165
|
-
*
|
|
2166
|
-
* The address is taken as it is: trim what a person typed first.
|
|
2167
|
-
*/
|
|
2168
|
-
declare function isSafeLinkHref(href: string): boolean;
|
|
2169
|
-
|
|
2170
2210
|
/** One of the four corners {@link CornersInputProps} offers. */
|
|
2171
2211
|
interface CornerOption {
|
|
2172
2212
|
/**
|
|
@@ -2420,17 +2460,58 @@ interface SearchableSelectBaseProps {
|
|
|
2420
2460
|
disabled?: boolean;
|
|
2421
2461
|
/** Optional id for label-for wiring. */
|
|
2422
2462
|
id?: string;
|
|
2463
|
+
/**
|
|
2464
|
+
* The field is a FILTER on a list page ("All Suppliers"). While it holds a
|
|
2465
|
+
* value it wears the "on" look — the accent border and a light accent fill,
|
|
2466
|
+
* as a `FilterBar` chip that is set — so the page shows at a glance which
|
|
2467
|
+
* filters narrow the list. Empty, or disabled, it is a plain field.
|
|
2468
|
+
*
|
|
2469
|
+
* It also lets the open list grow wider than the field, to fit long names
|
|
2470
|
+
* (as `multiple` does), and keeps the chosen label in the field while the
|
|
2471
|
+
* list is open. Default false: a form field, which keeps its list exactly as
|
|
2472
|
+
* wide as itself, like a native `<select>`.
|
|
2473
|
+
*/
|
|
2474
|
+
filter?: boolean;
|
|
2423
2475
|
/** When true, the user can submit a value that isn't in `options` —
|
|
2424
2476
|
* pressing Enter or clicking outside with non-empty search text
|
|
2425
2477
|
* fires `onChange` with the typed string. The trigger then displays
|
|
2426
2478
|
* that free-text value as-is. Default false: only listed options
|
|
2427
2479
|
* can be picked, typing only filters. */
|
|
2428
2480
|
allowFreeText?: boolean;
|
|
2481
|
+
/**
|
|
2482
|
+
* Offer the typed text as a row of its own at the END of the open list, in
|
|
2483
|
+
* the words this gives for it ("Use “PO-9” as manual PO#"), and save typed
|
|
2484
|
+
* text ONLY when that row is picked: pressed, or reached with the arrow keys
|
|
2485
|
+
* and taken with Enter. Leaving the field, Tab, Enter on no row and a press
|
|
2486
|
+
* outside then drop the typed text instead of saving it, so a half-typed
|
|
2487
|
+
* search never becomes the value. The row is not drawn while nothing is
|
|
2488
|
+
* typed, or while the typed text is exactly an option's label (that option
|
|
2489
|
+
* is the one to pick). It turns free text on by itself: `allowFreeText` is
|
|
2490
|
+
* not needed. A value saved this way shows as it was typed.
|
|
2491
|
+
*/
|
|
2492
|
+
freeTextOption?: (text: string) => ReactNode;
|
|
2429
2493
|
/** Optional notifier fired whenever the user-typed search text changes
|
|
2430
2494
|
* (including resets to ''). Lets a parent debounce the value and feed
|
|
2431
2495
|
* a server-side query, so this component can still front a list that
|
|
2432
2496
|
* is too large to load up-front. */
|
|
2433
2497
|
onSearchChange?: (text: string) => void;
|
|
2498
|
+
/**
|
|
2499
|
+
* A search is running (the server behind `onSearchChange`). The open list
|
|
2500
|
+
* says "Searching..." on a line above the options — not "No matches", which
|
|
2501
|
+
* is not true yet. Options still listed (the last answer) stay pickable.
|
|
2502
|
+
* Wins over `error`: a retry in flight is searching again.
|
|
2503
|
+
*/
|
|
2504
|
+
loading?: boolean;
|
|
2505
|
+
/**
|
|
2506
|
+
* The search failed, in the caller's words ("Couldn't search your catalog.").
|
|
2507
|
+
* The open list says it on a line above the options, in place of "No
|
|
2508
|
+
* matches" — a failed search is not "no such thing". Options still listed
|
|
2509
|
+
* (a search that half failed) stay under it.
|
|
2510
|
+
*/
|
|
2511
|
+
error?: string;
|
|
2512
|
+
/** With `error`: a "Try again" button on its line, which calls this. The
|
|
2513
|
+
* press keeps focus in the field and the list open. */
|
|
2514
|
+
onRetry?: () => void;
|
|
2434
2515
|
/** Optional content rendered inside the trigger's right edge — to the
|
|
2435
2516
|
* left of the clear button — when the dropdown is closed. Use for
|
|
2436
2517
|
* compact status pills that should read alongside the selected label.
|
|
@@ -2473,9 +2554,15 @@ interface SearchableSelectProps extends SearchableSelectBaseProps {
|
|
|
2473
2554
|
* array — the same contract as `Select`'s `multiple`. A press, Enter on the
|
|
2474
2555
|
* active option, toggles it and leaves the list open (and the typed filter
|
|
2475
2556
|
* standing) so the next can be toggled; each chosen option wears the check
|
|
2476
|
-
* `Select` draws.
|
|
2477
|
-
*
|
|
2478
|
-
*
|
|
2557
|
+
* `Select` draws. With `allowFreeText`, Enter (or moving on) adds the typed
|
|
2558
|
+
* words as one more value.
|
|
2559
|
+
*
|
|
2560
|
+
* Closed, the field lists the chosen labels in the options' order while they
|
|
2561
|
+
* fit, then a count of the rest — "AA, AC, MF +3" — and a Tooltip on hover
|
|
2562
|
+
* lists them all. Open, the field shows the same until the person types, and
|
|
2563
|
+
* a "Clear all" row tops the list while anything is chosen (the "×" clears
|
|
2564
|
+
* them all too). The open list may grow wider than the field to fit its
|
|
2565
|
+
* options, up to the kit's popup width and inside the owning window.
|
|
2479
2566
|
*/
|
|
2480
2567
|
interface SearchableSelectMultipleProps extends SearchableSelectBaseProps {
|
|
2481
2568
|
multiple: true;
|
|
@@ -2487,7 +2574,14 @@ declare function SearchableSelect(props: SearchableSelectProps | SearchableSelec
|
|
|
2487
2574
|
interface TagInputOption {
|
|
2488
2575
|
value: string;
|
|
2489
2576
|
label: string;
|
|
2577
|
+
/** Secondary text drawn greyed at the right of the option in the open list
|
|
2578
|
+
* — a procedure's name beside its code. Typing it finds the option too.
|
|
2579
|
+
* The chip shows `label` only. Same name and look as `SearchableOption`'s. */
|
|
2580
|
+
sublabel?: string;
|
|
2490
2581
|
}
|
|
2582
|
+
/** A chip's colour: `accent` is the default blue, `danger` the status red —
|
|
2583
|
+
* a value that is chosen but wrong here (a code no chosen sheet supports). */
|
|
2584
|
+
type TagInputTone = 'accent' | 'danger';
|
|
2491
2585
|
interface TagInputProps {
|
|
2492
2586
|
value: string[];
|
|
2493
2587
|
onChange: (value: string[]) => void;
|
|
@@ -2504,12 +2598,33 @@ interface TagInputProps {
|
|
|
2504
2598
|
/** Optional id for label-for wiring, applied to the inner text input. */
|
|
2505
2599
|
id?: string;
|
|
2506
2600
|
className?: string;
|
|
2601
|
+
/** A chip's tone, by its value. `undefined` (or no function) is `accent`,
|
|
2602
|
+
* the look every chip had. A value that is not an option gets one too. */
|
|
2603
|
+
tone?: (value: string) => TagInputTone | undefined;
|
|
2604
|
+
/** A chip's own tooltip, by its value — the kit's `Tooltip`, shown on hover
|
|
2605
|
+
* and when the chip's × has focus. `undefined` draws none. */
|
|
2606
|
+
tooltip?: (value: string) => ReactNode | undefined;
|
|
2607
|
+
/**
|
|
2608
|
+
* Split typed or pasted text into one chip per piece, on this pattern —
|
|
2609
|
+
* `/[\s,/]+/` takes "AA, AC" and "AA/AC" as two. Each piece that is
|
|
2610
|
+
* finished (a separator after it) becomes a chip at once; the last one
|
|
2611
|
+
* waits for Enter, Tab, comma or leaving the field, as typed text does. A
|
|
2612
|
+
* piece that is an option's label or value (any case) takes that option;
|
|
2613
|
+
* any other piece is a chip only with `allowFreeText`, and is dropped
|
|
2614
|
+
* without it. Default: no split, the text is one piece.
|
|
2615
|
+
*/
|
|
2616
|
+
split?: RegExp;
|
|
2507
2617
|
}
|
|
2508
|
-
declare function TagInput({ value, onChange, options, placeholder, allowFreeText, invalid, disabled, id, className, }: TagInputProps): react_jsx_runtime.JSX.Element;
|
|
2618
|
+
declare function TagInput({ value, onChange, options, placeholder, allowFreeText, invalid, disabled, id, className, tone, tooltip, split, }: TagInputProps): react_jsx_runtime.JSX.Element;
|
|
2509
2619
|
|
|
2510
2620
|
/** How much room the card gives its contents. `md` is the desktop default;
|
|
2511
2621
|
* `lg` suits a touch layout, where the same density reads as cramped. */
|
|
2512
2622
|
type CardPadding = 'none' | 'sm' | 'md' | 'lg';
|
|
2623
|
+
/** The card's tone, in the kit's words. `neutral` is the plain card;
|
|
2624
|
+
* `warning` is one that needs attention (`Banner`, `StatusBadge`); `current`
|
|
2625
|
+
* is the one in a list that is the current one (`DataTable`'s row and
|
|
2626
|
+
* `DropdownMenu`'s link say `current` for the same thing). */
|
|
2627
|
+
type CardTone = 'neutral' | 'warning' | 'current';
|
|
2513
2628
|
interface CardProps {
|
|
2514
2629
|
/** The body. Optional: a card that is only a header draws no body (see below). */
|
|
2515
2630
|
children?: ReactNode;
|
|
@@ -2529,7 +2644,7 @@ interface CardProps {
|
|
|
2529
2644
|
/** Apply default padding to the body. Default true; set false to fill edge-to-edge. */
|
|
2530
2645
|
/**
|
|
2531
2646
|
* Render the header as a real heading at this level, and the card as a
|
|
2532
|
-
* region named by it.
|
|
2647
|
+
* region named by it (unless `aria-label` names it; see there).
|
|
2533
2648
|
*
|
|
2534
2649
|
* A card with a title IS a region of the page — the thing a screen-reader
|
|
2535
2650
|
* user jumps between, and the thing a heading list is for. Without this the
|
|
@@ -2555,11 +2670,15 @@ interface CardProps {
|
|
|
2555
2670
|
*/
|
|
2556
2671
|
headerActions?: ReactNode;
|
|
2557
2672
|
/**
|
|
2558
|
-
* Names the card as a region
|
|
2559
|
-
* whose title lives outside it, or which has none.
|
|
2673
|
+
* Names the card as a region. Without a heading it is the only name — a
|
|
2674
|
+
* card whose title lives outside it, or which has none.
|
|
2560
2675
|
*
|
|
2561
|
-
*
|
|
2562
|
-
*
|
|
2676
|
+
* With `headingLevel` it still wins: the caller wrote it on purpose, and a
|
|
2677
|
+
* visible title is often a count that changes with every filter ("12
|
|
2678
|
+
* contractors") while the region's name should stay put ("Contractors of
|
|
2679
|
+
* the business"). The title stays a real heading in the outline. The card
|
|
2680
|
+
* still carries ONE name — `aria-label` alone, no `aria-labelledby` beside
|
|
2681
|
+
* it. Empty, it is no name, and the heading names the card as before.
|
|
2563
2682
|
*/
|
|
2564
2683
|
'aria-label'?: string;
|
|
2565
2684
|
padded?: boolean;
|
|
@@ -2577,13 +2696,29 @@ interface CardProps {
|
|
|
2577
2696
|
* a div inside the one already there just to say so.
|
|
2578
2697
|
*/
|
|
2579
2698
|
bodyClassName?: string;
|
|
2699
|
+
/**
|
|
2700
|
+
* `warning` draws the border amber (the kit's warning colour, as `Banner`
|
|
2701
|
+
* uses), for a card that needs attention — a count waiting for sign-off.
|
|
2702
|
+
* Only the border changes. Say why in the card's words too: a colour alone
|
|
2703
|
+
* tells a screen reader nothing.
|
|
2704
|
+
*
|
|
2705
|
+
* `current` marks the one card in a list that is the current one — the
|
|
2706
|
+
* current round of a sample order. The header sits on a light-blue band
|
|
2707
|
+
* with a blue title (the kit's selection blue: a pressed `IconButton`'s wash
|
|
2708
|
+
* and ink), the description a step darker to keep 4.5:1 on the band, and
|
|
2709
|
+
* the card carries `aria-current="true"`. Without a header only
|
|
2710
|
+
* `aria-current` is set.
|
|
2711
|
+
*
|
|
2712
|
+
* Default `neutral`, the plain card.
|
|
2713
|
+
*/
|
|
2714
|
+
tone?: CardTone;
|
|
2580
2715
|
/**
|
|
2581
2716
|
* Inline style for the surface. For values that cannot be a class: an
|
|
2582
2717
|
* animation delay computed per item, a measured height.
|
|
2583
2718
|
*/
|
|
2584
2719
|
style?: CSSProperties;
|
|
2585
2720
|
}
|
|
2586
|
-
declare function Card({ children, header, description, footer, padded, padding, headingLevel, headerActions, 'aria-label': ariaLabel, className, bodyClassName, style, }: CardProps): react_jsx_runtime.JSX.Element;
|
|
2721
|
+
declare function Card({ children, header, description, footer, padded, padding, headingLevel, headerActions, 'aria-label': ariaLabel, className, bodyClassName, style, tone, }: CardProps): react_jsx_runtime.JSX.Element;
|
|
2587
2722
|
interface StatCardProps {
|
|
2588
2723
|
label: ReactNode;
|
|
2589
2724
|
value: ReactNode;
|
|
@@ -2760,6 +2895,18 @@ declare const CONTROL_HEIGHTS: {
|
|
|
2760
2895
|
readonly lg: 40;
|
|
2761
2896
|
};
|
|
2762
2897
|
type ControlSize = keyof typeof CONTROL_HEIGHTS;
|
|
2898
|
+
/**
|
|
2899
|
+
* Row heights (Lewis, 2026-10-13, picked on the demo desktop): an exception
|
|
2900
|
+
* to the control ladder for list and menu rows and for the window bar. A menu
|
|
2901
|
+
* row, a start-menu row, a sidebar row, the sidebar search and a drop-down
|
|
2902
|
+
* list's option row are 36 at the medium menu size; the main window bar is
|
|
2903
|
+
* 44. Controls (buttons, fields, selects) stay on the ladder above.
|
|
2904
|
+
* `--row-height-menu` and `--row-height-window-bar` in `ui.css`.
|
|
2905
|
+
*/
|
|
2906
|
+
declare const ROW_HEIGHTS: {
|
|
2907
|
+
readonly menu: 36;
|
|
2908
|
+
readonly windowBar: 44;
|
|
2909
|
+
};
|
|
2763
2910
|
/**
|
|
2764
2911
|
* Whether a Tailwind spacing step (the `3` of a padding of step 3) lands on the
|
|
2765
2912
|
* scale. Tailwind steps are 4px each: `0.5` is 2px, `12` is 48px. `0` and `px`
|
|
@@ -3157,6 +3304,8 @@ interface AccordionProps {
|
|
|
3157
3304
|
declare function Accordion({ items, defaultOpenIds, openIds, onOpenChange, allowMultiple, className, }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
3158
3305
|
|
|
3159
3306
|
interface TooltipProps {
|
|
3307
|
+
/** What the bubble says. Empty (`null`, `undefined`, `false`, `''`): no
|
|
3308
|
+
* bubble, and the trigger is described by nothing. */
|
|
3160
3309
|
content: ReactNode;
|
|
3161
3310
|
/** The side it prefers. Taken whenever it has room; otherwise the bubble
|
|
3162
3311
|
* flips to the opposite side, and slides along the side it is on to keep
|
|
@@ -5375,14 +5524,16 @@ interface IconRailButtonProps {
|
|
|
5375
5524
|
declare function IconRailButton({ label, icon, active, disabled, onClick, badge, tooltipSide, className, }: IconRailButtonProps): react_jsx_runtime.JSX.Element;
|
|
5376
5525
|
|
|
5377
5526
|
type ResizeHandleSide = 'left' | 'right';
|
|
5378
|
-
|
|
5379
|
-
|
|
5527
|
+
/** Where a stacked pane sits, for a `horizontal` handle. */
|
|
5528
|
+
type ResizeHandleStackSide = 'top' | 'bottom';
|
|
5529
|
+
/** Which way the handle's LINE runs, as `Divider`'s `orientation` and
|
|
5530
|
+
* `aria-orientation` say it. */
|
|
5531
|
+
type ResizeHandleOrientation = 'vertical' | 'horizontal';
|
|
5532
|
+
interface ResizeHandleBaseProps {
|
|
5533
|
+
/** The panel's size now, in px: its width, or its height when horizontal. */
|
|
5380
5534
|
width: number;
|
|
5381
|
-
/** A new
|
|
5535
|
+
/** A new size, already clamped to `min`–`max` and rounded. */
|
|
5382
5536
|
onResize: (width: number) => void;
|
|
5383
|
-
/** Which side of the screen the panel is on. `left`: the handle is on its
|
|
5384
|
-
* right edge and dragging right grows it. `right`: the mirror. */
|
|
5385
|
-
side: ResizeHandleSide;
|
|
5386
5537
|
min: number;
|
|
5387
5538
|
max: number;
|
|
5388
5539
|
/** What double-click and Enter reset to. Default `min`. */
|
|
@@ -5400,7 +5551,22 @@ interface ResizeHandleProps {
|
|
|
5400
5551
|
/** Added to the positioned box — a host that pins it somewhere else. */
|
|
5401
5552
|
className?: string;
|
|
5402
5553
|
}
|
|
5403
|
-
|
|
5554
|
+
type ResizeHandleProps = ResizeHandleBaseProps & ({
|
|
5555
|
+
/** `vertical` (the default): a grip on a side panel's edge, dragged left
|
|
5556
|
+
* and right. `horizontal`: a grip between stacked panes, dragged up and
|
|
5557
|
+
* down. */
|
|
5558
|
+
orientation?: 'vertical';
|
|
5559
|
+
/** Which side of the screen the panel is on. `left`: the handle is on its
|
|
5560
|
+
* right edge and dragging right grows it. `right`: the mirror. */
|
|
5561
|
+
side: ResizeHandleSide;
|
|
5562
|
+
} | {
|
|
5563
|
+
orientation: 'horizontal';
|
|
5564
|
+
/** Where the pane is in its stack. `top`: the handle is on its bottom
|
|
5565
|
+
* edge and dragging down grows it. `bottom`: the mirror (a message box
|
|
5566
|
+
* under a thread grows as its top edge goes up). */
|
|
5567
|
+
side: ResizeHandleStackSide;
|
|
5568
|
+
});
|
|
5569
|
+
declare function ResizeHandle({ width, onResize, orientation, side, min, max, defaultWidth, step, storageKey, label, hint, controls, className, }: ResizeHandleProps): react_jsx_runtime.JSX.Element;
|
|
5404
5570
|
|
|
5405
5571
|
/**
|
|
5406
5572
|
* Two presentations:
|
|
@@ -5872,40 +6038,83 @@ declare function sanitizeRecent(value: unknown): SearchResult[];
|
|
|
5872
6038
|
* components that stack against each other. A leaf that imports nothing, like
|
|
5873
6039
|
* `escapeInterceptors.ts`, because the kit's popups read it.
|
|
5874
6040
|
*
|
|
5875
|
-
*
|
|
5876
|
-
*
|
|
5877
|
-
*
|
|
5878
|
-
*
|
|
5879
|
-
*
|
|
5880
|
-
*
|
|
5881
|
-
*
|
|
5882
|
-
*
|
|
5883
|
-
*
|
|
5884
|
-
*
|
|
6041
|
+
* IN HUNDREDS (owner ruling, 2026-10-12, chosen on a mockup of a desktop with
|
|
6042
|
+
* every layer open at once). The numbers had grown one at a time — 240, 250,
|
|
6043
|
+
* 260, 300, 400, 999, 1100, 1200, 2000, 9999, 10000 — with gaps nobody could
|
|
6044
|
+
* plan a new layer into, and windows climbing 10 per open window from 50, so
|
|
6045
|
+
* the twentieth window reached the taskbar. Now each layer owns a hundred and
|
|
6046
|
+
* the window stack owns a thousand. A new layer goes between two hundreds, and
|
|
6047
|
+
* into this table: no component writes a stack order of its own above the
|
|
6048
|
+
* in-box layers (`tests/zLayersHundreds.test.ts` holds the kit to it).
|
|
6049
|
+
*
|
|
6050
|
+
* Three orders changed with the move, because Lewis asked for them: a menu is
|
|
6051
|
+
* never covered (menus ARE the popup layer, above dialogs and toasts); tooltips
|
|
6052
|
+
* sit on top; and a pinned window no longer covers the taskbar, the sidebar or
|
|
6053
|
+
* a menu. Everything else keeps the order it had.
|
|
6054
|
+
*
|
|
6055
|
+
* Applied as inline `zIndex` from here, or as `z-(--z-<layer>)` from the
|
|
6056
|
+
* matching custom property in `ui.css` — never as a Tailwind `z-[…]` class
|
|
6057
|
+
* built from these numbers: an interpolated class name is invisible to the
|
|
6058
|
+
* consumer's Tailwind scan and would generate no rule at all.
|
|
5885
6059
|
*
|
|
5886
6060
|
* Bottom to top:
|
|
5887
6061
|
*
|
|
5888
|
-
*
|
|
5889
|
-
*
|
|
5890
|
-
*
|
|
5891
|
-
*
|
|
5892
|
-
*
|
|
5893
|
-
*
|
|
5894
|
-
*
|
|
5895
|
-
*
|
|
5896
|
-
*
|
|
5897
|
-
*
|
|
5898
|
-
*
|
|
5899
|
-
*
|
|
5900
|
-
*
|
|
6062
|
+
* raised / sticky / inBox 10 / 20 / 30 inside ONE box only: a sticky
|
|
6063
|
+
* table head, a drag handle, a chart's hover dot
|
|
6064
|
+
* snapPreview 900 the outline of where a dragged window will snap;
|
|
6065
|
+
* under every window, as it always was
|
|
6066
|
+
* window 1000 base of the window stack; each window above adds
|
|
6067
|
+
* windowStep 2 (`Modal`'s activation order; its panel is one higher)
|
|
6068
|
+
* peek 1999 the window the taskbar hover lifts over the others
|
|
6069
|
+
* pinnedWindow 2000 an always-on-top window
|
|
6070
|
+
* desktopWidget 2100 the version watermark, the PerfStats HUD, a sticky
|
|
6071
|
+
* note kept on top: over windows, under the chrome
|
|
6072
|
+
* taskbar 2200 the taskbar and the window tab bar
|
|
6073
|
+
* sidebar 2300 the fixed sidebar; the full-screen start menu on a phone
|
|
6074
|
+
* taskbarPreview 2350 the taskbar's hover thumbnails: over the taskbar, and
|
|
6075
|
+
* UNDER every menu — a right-click menu opened on the
|
|
6076
|
+
* hovered tab must never open underneath them
|
|
6077
|
+
* startMenu 2400 the start menu, over the whole window stack
|
|
6078
|
+
* restoreTab 2500 the tab that brings back a minimized inline window
|
|
6079
|
+
* expose 2600 Exposé's backdrop; its tiles and labels sit +10 … +30
|
|
6080
|
+
* overlay 2700 full-screen surfaces that interrupt: the search palette,
|
|
6081
|
+
* `Dialog`, `Drawer`, the shortcut sheet, the startup
|
|
6082
|
+
* and logout screens
|
|
6083
|
+
* toast 2800 toasts, the notification card, the update banner
|
|
6084
|
+
* popup / menu 2900 menus and portalled popups (context menus, listboxes,
|
|
6085
|
+
* calendars, the server status card) — above the overlay
|
|
6086
|
+
* layer, so one opened from inside a dialog or the
|
|
6087
|
+
* palette is not drawn behind it. Popups close when an
|
|
6088
|
+
* overlay opens (`overlayEvents`), which is what stops
|
|
6089
|
+
* one from floating over an overlay opened on top of it.
|
|
6090
|
+
* hint 3000 tooltips
|
|
6091
|
+
*
|
|
6092
|
+
* Not layers, and left as literals on purpose: the drag shield `Modal` lays
|
|
6093
|
+
* over the page during a move or resize (the browser's maximum, so it covers
|
|
6094
|
+
* third-party iframes too), and stacking orders local to one element (Exposé's
|
|
6095
|
+
* click catcher inside a window, a tooltip's arrow inside the tooltip).
|
|
5901
6096
|
*/
|
|
5902
6097
|
declare const Z_LAYERS: {
|
|
5903
|
-
readonly
|
|
5904
|
-
readonly
|
|
5905
|
-
readonly
|
|
5906
|
-
readonly
|
|
5907
|
-
readonly
|
|
5908
|
-
readonly
|
|
6098
|
+
readonly raised: 10;
|
|
6099
|
+
readonly sticky: 20;
|
|
6100
|
+
readonly inBox: 30;
|
|
6101
|
+
readonly snapPreview: 900;
|
|
6102
|
+
readonly window: 1000;
|
|
6103
|
+
readonly windowStep: 2;
|
|
6104
|
+
readonly peek: 1999;
|
|
6105
|
+
readonly pinnedWindow: 2000;
|
|
6106
|
+
readonly desktopWidget: 2100;
|
|
6107
|
+
readonly taskbar: 2200;
|
|
6108
|
+
readonly sidebar: 2300;
|
|
6109
|
+
readonly taskbarPreview: 2350;
|
|
6110
|
+
readonly startMenu: 2400;
|
|
6111
|
+
readonly restoreTab: 2500;
|
|
6112
|
+
readonly expose: 2600;
|
|
6113
|
+
readonly overlay: 2700;
|
|
6114
|
+
readonly toast: 2800;
|
|
6115
|
+
readonly popup: 2900;
|
|
6116
|
+
readonly menu: 2900;
|
|
6117
|
+
readonly hint: 3000;
|
|
5909
6118
|
};
|
|
5910
6119
|
type ZLayer = keyof typeof Z_LAYERS;
|
|
5911
6120
|
|
|
@@ -6578,7 +6787,10 @@ declare function arcPath(cx: number, cy: number, inner: number, outer: number, s
|
|
|
6578
6787
|
* 1. **Slots are assigned in fixed order and never cycled.** Color follows the
|
|
6579
6788
|
* entity, not its rank — a reader who learned "Acme is blue" must not see
|
|
6580
6789
|
* Acme repainted when a filter drops the row above it. A ninth series is
|
|
6581
|
-
* never a generated hue
|
|
6790
|
+
* never a generated hue, and it is never cut either: it draws in the
|
|
6791
|
+
* de-emphasis ink until the reader gives it a colour from the legend
|
|
6792
|
+
* (`assignSeriesSlots` / `toggleSeriesSlot`). Only a part-to-whole pie
|
|
6793
|
+
* folds its tail into "Other", because its slices must sum to the whole.
|
|
6582
6794
|
*
|
|
6583
6795
|
* 2. **Series color does NOT follow the accent theme.** themes.css remaps the
|
|
6584
6796
|
* blue accent utilities for the pink/green/grey/blue variants and the custom
|
|
@@ -6605,7 +6817,7 @@ declare function arcPath(cx: number, cy: number, inner: number, outer: number, s
|
|
|
6605
6817
|
* visible labels or a table view, which is why `ChartFrame` takes a `table`
|
|
6606
6818
|
* slot rather than leaving it to each caller's good intentions.
|
|
6607
6819
|
*/
|
|
6608
|
-
/** How many categorical slots exist. A 9th series
|
|
6820
|
+
/** How many categorical slots exist. A 9th series draws grey until the reader colours it. */
|
|
6609
6821
|
declare const SERIES_SLOT_COUNT = 8;
|
|
6610
6822
|
/**
|
|
6611
6823
|
* CSS custom properties for the categorical slots, in assignment order.
|
|
@@ -6639,8 +6851,8 @@ declare const CHART_INK: {
|
|
|
6639
6851
|
*
|
|
6640
6852
|
* Past the eighth slot this returns the de-emphasis ink rather than wrapping:
|
|
6641
6853
|
* a cycled 9th hue is indistinguishable from an existing slot under CVD, and
|
|
6642
|
-
* silently returning one would hide the modelling mistake.
|
|
6643
|
-
*
|
|
6854
|
+
* silently returning one would hide the modelling mistake. The series stays on
|
|
6855
|
+
* the chart in grey; a legend toggle can give it a slot.
|
|
6644
6856
|
*/
|
|
6645
6857
|
declare function seriesColor(index: number): string;
|
|
6646
6858
|
/**
|
|
@@ -6648,6 +6860,38 @@ declare function seriesColor(index: number): string;
|
|
|
6648
6860
|
* slot. Explicit wins, because a caller naming a colour has a reason.
|
|
6649
6861
|
*/
|
|
6650
6862
|
declare function resolveSeriesColor(index: number, explicit?: string, tone?: StatusTone): string;
|
|
6863
|
+
/**
|
|
6864
|
+
* Which categorical slot each series holds, by key. A series with no entry
|
|
6865
|
+
* draws in the de-emphasis ink.
|
|
6866
|
+
*
|
|
6867
|
+
* For a chart with more series than slots (a price comparison across ten
|
|
6868
|
+
* supplier sheets): every series stays on the chart, the first eight hold the
|
|
6869
|
+
* eight colours, and a click on a legend entry gives a grey series a colour
|
|
6870
|
+
* or frees one (`toggleSeriesSlot`). A cycled ninth hue is never handed out,
|
|
6871
|
+
* for the reason `seriesColor` gives.
|
|
6872
|
+
*/
|
|
6873
|
+
type SeriesSlots = Readonly<Record<string, number>>;
|
|
6874
|
+
/**
|
|
6875
|
+
* Slots for `keys`, keeping every slot `previous` already gave a key that is
|
|
6876
|
+
* still present, so a series keeps its colour while others come and go. New
|
|
6877
|
+
* keys take the lowest free slots in list order until the eight are gone.
|
|
6878
|
+
*/
|
|
6879
|
+
declare function assignSeriesSlots(keys: readonly string[], previous?: SeriesSlots,
|
|
6880
|
+
/** How many slots this chart may hand out: 8, or 3 for an all-pairs form (scatter, radar). */
|
|
6881
|
+
slotCount?: number): SeriesSlots;
|
|
6882
|
+
/**
|
|
6883
|
+
* A click on a legend entry: a coloured series gives its slot back; a grey
|
|
6884
|
+
* one takes the lowest free slot. With all eight taken, a grey series stays
|
|
6885
|
+
* grey — free a colour first.
|
|
6886
|
+
*/
|
|
6887
|
+
declare function toggleSeriesSlot(slots: SeriesSlots, key: string, slotCount?: number): SeriesSlots;
|
|
6888
|
+
/**
|
|
6889
|
+
* A series' colour on a chart that clears fewer slots than eight: explicit
|
|
6890
|
+
* colour, then status tone, then its slot if it is one of the first
|
|
6891
|
+
* `slotCount`, else the de-emphasis ink. The series is still drawn; only its
|
|
6892
|
+
* hue is withheld until the caller gives it one.
|
|
6893
|
+
*/
|
|
6894
|
+
declare function resolveSeriesColorWithin(index: number, slotCount: number, explicit?: string, tone?: StatusTone): string;
|
|
6651
6895
|
|
|
6652
6896
|
/**
|
|
6653
6897
|
* Shared chart types. The charts are dependency-free inline SVG/CSS — color
|
|
@@ -6669,64 +6913,6 @@ interface SparklineProps {
|
|
|
6669
6913
|
className?: string;
|
|
6670
6914
|
style?: CSSProperties;
|
|
6671
6915
|
}
|
|
6672
|
-
interface BarChartProps {
|
|
6673
|
-
data: number[];
|
|
6674
|
-
/** Optional labels under each bar. */
|
|
6675
|
-
labels?: string[];
|
|
6676
|
-
height?: number;
|
|
6677
|
-
/** Bar color. Defaults to `currentColor`. */
|
|
6678
|
-
color?: string;
|
|
6679
|
-
/** Per-bar color overrides. */
|
|
6680
|
-
colors?: string[];
|
|
6681
|
-
/** Value mapped to a full-height bar. Defaults to the max of `data`. */
|
|
6682
|
-
max?: number;
|
|
6683
|
-
/** Gap between bars, in px. */
|
|
6684
|
-
gap?: number;
|
|
6685
|
-
className?: string;
|
|
6686
|
-
style?: CSSProperties;
|
|
6687
|
-
}
|
|
6688
|
-
interface LineChartSeries {
|
|
6689
|
-
data: number[];
|
|
6690
|
-
/** Shown in the legend (`showLegend`) and in point tooltips. */
|
|
6691
|
-
label?: string;
|
|
6692
|
-
/** Line color. Defaults to `currentColor`. */
|
|
6693
|
-
color?: string;
|
|
6694
|
-
/** Area fill under this line. Omit for a bare line. */
|
|
6695
|
-
fill?: string;
|
|
6696
|
-
}
|
|
6697
|
-
interface LineChartProps {
|
|
6698
|
-
/** One or more series drawn over the same x positions. */
|
|
6699
|
-
series: LineChartSeries[];
|
|
6700
|
-
/** X-axis labels rendered under the plot, one per data point. */
|
|
6701
|
-
labels?: string[];
|
|
6702
|
-
height?: number;
|
|
6703
|
-
strokeWidth?: number;
|
|
6704
|
-
showDots?: boolean;
|
|
6705
|
-
/** Value at the top of the plot. Defaults to the max across all series. */
|
|
6706
|
-
max?: number;
|
|
6707
|
-
/** Value at the bottom of the plot. Defaults to the min across all series. */
|
|
6708
|
-
min?: number;
|
|
6709
|
-
/** Max / mid / min values in a left gutter, with faint reference lines. */
|
|
6710
|
-
showScale?: boolean;
|
|
6711
|
-
/** Color-dot legend above the plot, from the series' `label`s. */
|
|
6712
|
-
showLegend?: boolean;
|
|
6713
|
-
className?: string;
|
|
6714
|
-
style?: CSSProperties;
|
|
6715
|
-
}
|
|
6716
|
-
interface DonutSegment {
|
|
6717
|
-
label: string;
|
|
6718
|
-
value: number;
|
|
6719
|
-
color?: string;
|
|
6720
|
-
}
|
|
6721
|
-
interface DonutChartProps {
|
|
6722
|
-
segments: DonutSegment[];
|
|
6723
|
-
size?: number;
|
|
6724
|
-
thickness?: number;
|
|
6725
|
-
/** Rendered in the hole, e.g. a total. */
|
|
6726
|
-
centerLabel?: ReactNode;
|
|
6727
|
-
className?: string;
|
|
6728
|
-
style?: CSSProperties;
|
|
6729
|
-
}
|
|
6730
6916
|
/** One reserved state colour. Never doubles as a categorical slot. */
|
|
6731
6917
|
type ChartStatusTone = StatusTone;
|
|
6732
6918
|
/**
|
|
@@ -6748,6 +6934,11 @@ interface ChartLegendEntry {
|
|
|
6748
6934
|
tone?: ChartStatusTone;
|
|
6749
6935
|
/** Match the mark: `bar` for a line series, `square` for an area or column. */
|
|
6750
6936
|
swatch?: ChartLegendSwatch;
|
|
6937
|
+
/**
|
|
6938
|
+
* With `ChartFrame`'s `onLegendClick`, whether this entry is switched on
|
|
6939
|
+
* (for example, holds a colour). Read out as the button's pressed state.
|
|
6940
|
+
*/
|
|
6941
|
+
pressed?: boolean;
|
|
6751
6942
|
}
|
|
6752
6943
|
interface TimeSeriesSeries {
|
|
6753
6944
|
/** Stable identity. Colour follows this, never the row's current rank. */
|
|
@@ -6812,6 +7003,18 @@ interface TimeSeriesChartProps {
|
|
|
6812
7003
|
max?: number;
|
|
6813
7004
|
yTickCount?: number;
|
|
6814
7005
|
formatValue?: (value: number) => string;
|
|
7006
|
+
/**
|
|
7007
|
+
* Formats the value under the pointer, when it should say more than the
|
|
7008
|
+
* axis: `$13,412.50` in the tooltip, `$13k` on the axis. Defaults to
|
|
7009
|
+
* `formatValue`.
|
|
7010
|
+
*/
|
|
7011
|
+
formatTooltipValue?: (value: number) => string;
|
|
7012
|
+
/**
|
|
7013
|
+
* The tooltip's title per bucket, when it should say more than the axis
|
|
7014
|
+
* label: "01:00" on the axis, "Tue 14 Oct, 01:00 AEST" under the pointer.
|
|
7015
|
+
* Defaults to `labels`.
|
|
7016
|
+
*/
|
|
7017
|
+
tooltipLabels?: string[];
|
|
6815
7018
|
yAxisLabel?: string;
|
|
6816
7019
|
/**
|
|
6817
7020
|
* Horizontal rules across the plot — a warn level, a critical level, an SLO
|
|
@@ -6894,6 +7097,12 @@ interface RankedBarsProps {
|
|
|
6894
7097
|
barHeight?: number;
|
|
6895
7098
|
rowGap?: number;
|
|
6896
7099
|
animate?: boolean;
|
|
7100
|
+
/**
|
|
7101
|
+
* The face the row names are set in. `sans` (default) for names people
|
|
7102
|
+
* read — customers, brands, stages. `mono` for strings that are code —
|
|
7103
|
+
* routes, part numbers, keys — where equal-width characters line up.
|
|
7104
|
+
*/
|
|
7105
|
+
labelFont?: 'sans' | 'mono';
|
|
6897
7106
|
className?: string;
|
|
6898
7107
|
emptyLabel?: string;
|
|
6899
7108
|
}
|
|
@@ -6972,6 +7181,13 @@ interface ChartFrameProps {
|
|
|
6972
7181
|
interactiveLegend?: boolean;
|
|
6973
7182
|
/** Fallback swatch for entries that do not name their own. */
|
|
6974
7183
|
legendSwatch?: ChartLegendSwatch;
|
|
7184
|
+
/**
|
|
7185
|
+
* Make each legend entry a toggle: a click (or Enter / Space) calls this
|
|
7186
|
+
* with the entry's key, and each entry's `pressed` is read out. For a chart
|
|
7187
|
+
* with more series than colours, pair it with `assignSeriesSlots` and
|
|
7188
|
+
* `toggleSeriesSlot` so a click gives a series a colour or frees one.
|
|
7189
|
+
*/
|
|
7190
|
+
onLegendClick?: (key: string) => void;
|
|
6975
7191
|
/** Match the skeleton to the chart it stands in for. */
|
|
6976
7192
|
skeletonVariant?: 'area' | 'bars';
|
|
6977
7193
|
/** The skeleton's height. Defaults to a chart-sized block. */
|
|
@@ -7073,10 +7289,38 @@ interface ColumnSeries {
|
|
|
7073
7289
|
data: (number | null)[];
|
|
7074
7290
|
color?: string;
|
|
7075
7291
|
tone?: ChartStatusTone;
|
|
7292
|
+
/**
|
|
7293
|
+
* A state colour per column, by index into `data` — for categories that
|
|
7294
|
+
* carry a state of their own (days overdue, an overdrawn account). `null`
|
|
7295
|
+
* or a missing entry falls back to the series' colour. A state, never an
|
|
7296
|
+
* identity: give a different identity its own series.
|
|
7297
|
+
*/
|
|
7298
|
+
pointTones?: (ChartStatusTone | null | undefined)[];
|
|
7299
|
+
/** An explicit colour per column. Wins over `pointTones`. */
|
|
7300
|
+
pointColors?: (string | null | undefined)[];
|
|
7076
7301
|
}
|
|
7077
7302
|
interface ColumnChartProps {
|
|
7078
7303
|
series: ColumnSeries[];
|
|
7079
7304
|
labels: string[];
|
|
7305
|
+
/**
|
|
7306
|
+
* Print each column's value above it — a stack's total, once. For a short
|
|
7307
|
+
* chart the reader should not have to hover to read. Off in `percent` mode,
|
|
7308
|
+
* where the plot carries shares and the tooltip carries the counts.
|
|
7309
|
+
*/
|
|
7310
|
+
valueLabels?: boolean;
|
|
7311
|
+
/**
|
|
7312
|
+
* Pick a category: a click in its band (an empty band too), or Enter /
|
|
7313
|
+
* Space on the band the arrow keys are on. For a chart that opens the list
|
|
7314
|
+
* behind a column.
|
|
7315
|
+
*/
|
|
7316
|
+
onSelect?: (index: number) => void;
|
|
7317
|
+
/**
|
|
7318
|
+
* A floor for the value axis, for a chart whose interest is the spread
|
|
7319
|
+
* near the top (the price comparison starts at $50). Columns grow from the
|
|
7320
|
+
* floor; a value under it draws nothing. Omit it and the axis starts at 0,
|
|
7321
|
+
* which is right for almost every column chart.
|
|
7322
|
+
*/
|
|
7323
|
+
min?: number;
|
|
7080
7324
|
stacked?: boolean;
|
|
7081
7325
|
/** See `TimeSeriesChartProps.stackMode`. */
|
|
7082
7326
|
stackMode?: ChartStackMode;
|
|
@@ -7084,6 +7328,18 @@ interface ColumnChartProps {
|
|
|
7084
7328
|
width?: number;
|
|
7085
7329
|
max?: number;
|
|
7086
7330
|
formatValue?: (value: number) => string;
|
|
7331
|
+
/**
|
|
7332
|
+
* Formats the value under the pointer, when it should say more than the
|
|
7333
|
+
* axis: `$13,412.50` in the tooltip, `$13k` on the axis. Defaults to
|
|
7334
|
+
* `formatValue`.
|
|
7335
|
+
*/
|
|
7336
|
+
formatTooltipValue?: (value: number) => string;
|
|
7337
|
+
/**
|
|
7338
|
+
* The tooltip's title per bucket, when it should say more than the axis
|
|
7339
|
+
* label: "01:00" on the axis, "Tue 14 Oct, 01:00 AEST" under the pointer.
|
|
7340
|
+
* Defaults to `labels`.
|
|
7341
|
+
*/
|
|
7342
|
+
tooltipLabels?: string[];
|
|
7087
7343
|
yAxisLabel?: string;
|
|
7088
7344
|
className?: string;
|
|
7089
7345
|
emptyLabel?: string;
|
|
@@ -7325,6 +7581,10 @@ interface PieSegment {
|
|
|
7325
7581
|
tone?: ChartStatusTone;
|
|
7326
7582
|
}
|
|
7327
7583
|
interface PieChartProps {
|
|
7584
|
+
/**
|
|
7585
|
+
* In a STABLE order — workflow order, or alphabetical — because each
|
|
7586
|
+
* segment's colour is its place in this list, not its rank by size.
|
|
7587
|
+
*/
|
|
7328
7588
|
segments: PieSegment[];
|
|
7329
7589
|
/** `pie` · `ring` · `rose` (Nightingale: equal angles, radius carries value). */
|
|
7330
7590
|
variant?: 'pie' | 'ring' | 'rose';
|
|
@@ -7466,12 +7726,6 @@ interface ChordChartProps {
|
|
|
7466
7726
|
|
|
7467
7727
|
declare function Sparkline({ data, width, height, stroke, fill, strokeWidth, showDots, className, style, }: SparklineProps): react_jsx_runtime.JSX.Element | null;
|
|
7468
7728
|
|
|
7469
|
-
declare function BarChart({ data, labels, height, color, colors, max, gap, className, style, }: BarChartProps): react_jsx_runtime.JSX.Element | null;
|
|
7470
|
-
|
|
7471
|
-
declare function DonutChart({ segments, size, thickness, centerLabel, className, style }: DonutChartProps): react_jsx_runtime.JSX.Element;
|
|
7472
|
-
|
|
7473
|
-
declare function LineChart({ series, labels, height, strokeWidth, showDots, max, min, showScale, showLegend, className, style, }: LineChartProps): react_jsx_runtime.JSX.Element | null;
|
|
7474
|
-
|
|
7475
7729
|
declare function DashboardTemplate(): react_jsx_runtime.JSX.Element;
|
|
7476
7730
|
|
|
7477
7731
|
declare function DataTablePage(): react_jsx_runtime.JSX.Element;
|
|
@@ -7505,8 +7759,9 @@ interface ErrorBoundaryProps {
|
|
|
7505
7759
|
*/
|
|
7506
7760
|
actions?: ReactNode;
|
|
7507
7761
|
/**
|
|
7508
|
-
* Called with the caught error
|
|
7509
|
-
*
|
|
7762
|
+
* Called with the caught error, for a consumer's own logger. The shell's
|
|
7763
|
+
* client telemetry (`startClientTelemetry`) already records it when the host
|
|
7764
|
+
* started one; without either, a crash is only ever a `console.error` in a
|
|
7510
7765
|
* browser nobody is looking at.
|
|
7511
7766
|
*/
|
|
7512
7767
|
onError?: (error: Error, info: ErrorInfo) => void;
|
|
@@ -7954,6 +8209,13 @@ declare const ALT_SHIFT_D: "⌥⇧D" | "Alt+Shift+D";
|
|
|
7954
8209
|
declare const ALT_SHIFT_E: "⌥⇧E" | "Alt+Shift+E";
|
|
7955
8210
|
declare const ALT_SHIFT_N: "⌥⇧N" | "Alt+Shift+N";
|
|
7956
8211
|
type KbdSize = 'sm' | 'md';
|
|
8212
|
+
/**
|
|
8213
|
+
* What the chip sits on, in the kit's tone words. `neutral` is the grey chip
|
|
8214
|
+
* on a plain surface. `accent` is the chip on an accent fill — a primary or a
|
|
8215
|
+
* submit button, or a link-coloured one — and is the `kbd-submit` chip. `warning`
|
|
8216
|
+
* is the chip on an amber (warning) button.
|
|
8217
|
+
*/
|
|
8218
|
+
type KbdTone = 'neutral' | 'accent' | 'warning';
|
|
7957
8219
|
interface KbdProps {
|
|
7958
8220
|
/**
|
|
7959
8221
|
* The shortcut, already written \u2014 one of the constants above, or any string
|
|
@@ -7968,6 +8230,15 @@ interface KbdProps {
|
|
|
7968
8230
|
* primary action, where it has to be readable at a glance.
|
|
7969
8231
|
*/
|
|
7970
8232
|
size?: KbdSize;
|
|
8233
|
+
/**
|
|
8234
|
+
* `neutral` (the default) is the grey chip. `accent` is the chip inside a
|
|
8235
|
+
* primary or submit button: it wears `kbd-submit` (the accent tint every
|
|
8236
|
+
* theme moves) and NO colour utility of its own, because the dark and accent
|
|
8237
|
+
* themes remap a colour utility as `!important` and it would win over the
|
|
8238
|
+
* class. `warning` is an amber chip for an amber button. Both coloured tones
|
|
8239
|
+
* take their ink from the button, as the hand-written chips did.
|
|
8240
|
+
*/
|
|
8241
|
+
tone?: KbdTone;
|
|
7971
8242
|
/**
|
|
7972
8243
|
* Layered on, not replacing: a consumer that themes the badge (the admin
|
|
7973
8244
|
* portal tints the submit one with its accent) adds its own class here and
|
|
@@ -7984,17 +8255,16 @@ interface KbdProps {
|
|
|
7984
8255
|
* ("Save \u2318\u23CE") and a second name there would be read as part of the
|
|
7985
8256
|
* button's own.
|
|
7986
8257
|
*/
|
|
7987
|
-
declare function Kbd({ keys, size, className }: KbdProps): react_jsx_runtime.JSX.Element;
|
|
8258
|
+
declare function Kbd({ keys, size, tone, className }: KbdProps): react_jsx_runtime.JSX.Element;
|
|
7988
8259
|
|
|
7989
8260
|
/**
|
|
7990
8261
|
* Scale primitives — the piece the existing charts never needed.
|
|
7991
8262
|
*
|
|
7992
|
-
* `Sparkline
|
|
7993
|
-
*
|
|
7994
|
-
*
|
|
7995
|
-
*
|
|
7996
|
-
*
|
|
7997
|
-
* whatever aspect ratio the container happens to have.
|
|
8263
|
+
* `Sparkline` is decorative: a stretched `0 0 100 100` viewBox, `aria-hidden`,
|
|
8264
|
+
* no axis, numbers carried as text elsewhere on the page. That is the right
|
|
8265
|
+
* shape for a dashboard tile and the wrong one for a chart someone reads values
|
|
8266
|
+
* off, because a stretched viewBox stretches TEXT — an axis label in it is
|
|
8267
|
+
* squashed or smeared by whatever aspect ratio the container happens to have.
|
|
7998
8268
|
*
|
|
7999
8269
|
* So the analytical charts draw in real pixel space, and that means they need
|
|
8000
8270
|
* scales. The split is borrowed from visx, which separates `@visx/scale` and
|
|
@@ -8076,6 +8346,32 @@ declare function ladderScale(levels: number[], range: Range): LadderScale;
|
|
|
8076
8346
|
* power of ten. Without it an axis tops out at 16.55 and prints 16.55, 8.28, 0.
|
|
8077
8347
|
*/
|
|
8078
8348
|
declare function niceMax(value: number): number;
|
|
8349
|
+
/** A value axis: its two ends and the ticks to print between them. */
|
|
8350
|
+
interface NiceAxis {
|
|
8351
|
+
lo: number;
|
|
8352
|
+
hi: number;
|
|
8353
|
+
ticks: number[];
|
|
8354
|
+
}
|
|
8355
|
+
/**
|
|
8356
|
+
* A value axis built from a round STEP rather than a round top.
|
|
8357
|
+
*
|
|
8358
|
+
* `niceMax` rounds the top on its own, which leaves the step to fall where it
|
|
8359
|
+
* may: a 58,000 peak rounds up to 100,000, so a busy window spends almost half
|
|
8360
|
+
* its plot on emptiness, and a peak of 9 rounds to 10 and is then cut into
|
|
8361
|
+
* quarters, so a count axis prints 2.5 and 7.5 — values no count can take, and
|
|
8362
|
+
* which a whole-number formatter then prints as 3 and 8, a lie on the axis.
|
|
8363
|
+
*
|
|
8364
|
+
* This picks the smallest 1 / 2 / 2.5 / 5 step that covers the data in at most
|
|
8365
|
+
* `intervals` steps, and puts both ends on a multiple of it. Zero is on the
|
|
8366
|
+
* axis, because a bar grows from it, unless `zero: false` (an axis with a
|
|
8367
|
+
* floor, which spans only the data). `integer` skips any step a count cannot
|
|
8368
|
+
* take.
|
|
8369
|
+
*/
|
|
8370
|
+
declare function niceAxis(min: number, max: number, { intervals, integer, zero }?: {
|
|
8371
|
+
intervals?: number;
|
|
8372
|
+
integer?: boolean;
|
|
8373
|
+
zero?: boolean;
|
|
8374
|
+
}): NiceAxis;
|
|
8079
8375
|
declare function logScale(domain: [number, number], range: Range): LinearScale;
|
|
8080
8376
|
interface AngleScale {
|
|
8081
8377
|
(index: number): number;
|
|
@@ -8283,13 +8579,13 @@ declare function autoHighlightIndex(values: (number | null | undefined)[], mode?
|
|
|
8283
8579
|
|
|
8284
8580
|
declare function usePlotWidth(ref: RefObject<HTMLElement | null>, fallback?: number): number;
|
|
8285
8581
|
|
|
8286
|
-
declare function RankedBars({ rows, max, formatValue: formatValueProp, emphasisKey, highlight, emphasisTone, barHeight, rowGap, animate, className, emptyLabel: emptyLabelProp, }: RankedBarsProps): react_jsx_runtime.JSX.Element;
|
|
8582
|
+
declare function RankedBars({ rows, max, formatValue: formatValueProp, emphasisKey, highlight, emphasisTone, barHeight, rowGap, animate, labelFont, className, emptyLabel: emptyLabelProp, }: RankedBarsProps): react_jsx_runtime.JSX.Element;
|
|
8287
8583
|
|
|
8288
8584
|
declare function Meter({ value, segments, objective, label, detail, formatValue: formatValueProp, tone, className, unavailableLabel: unavailableLabelProp, }: MeterProps): react_jsx_runtime.JSX.Element;
|
|
8289
8585
|
|
|
8290
8586
|
declare function StatTile({ label, value, unit, delta, deltaTone, trend, trendTone, footnote, className, }: StatTileProps): react_jsx_runtime.JSX.Element;
|
|
8291
8587
|
|
|
8292
|
-
declare function ChartFrame({ title, subtitle, legend, table, tableLabel, busy, loading, skeletonVariant, skeletonHeight, interactiveLegend, legendSwatch, actions, children, className, }: ChartFrameProps): react_jsx_runtime.JSX.Element;
|
|
8588
|
+
declare function ChartFrame({ title, subtitle, legend, table, tableLabel, busy, loading, skeletonVariant, skeletonHeight, interactiveLegend, legendSwatch, onLegendClick, actions, children, className, }: ChartFrameProps): react_jsx_runtime.JSX.Element;
|
|
8293
8589
|
|
|
8294
8590
|
declare function ChartTooltip({ variant, title, rows, footnote, emphasisKey, className, }: ChartTooltipProps): react_jsx_runtime.JSX.Element;
|
|
8295
8591
|
|
|
@@ -8335,17 +8631,28 @@ interface CartesianPlotProps {
|
|
|
8335
8631
|
xTickAnchor?: 'center' | 'start';
|
|
8336
8632
|
/** Rendered inside the clipped plot area. */
|
|
8337
8633
|
children: (geometry: PlotGeometry) => ReactNode;
|
|
8634
|
+
/**
|
|
8635
|
+
* Rendered above the plot and NOT clipped — for text that sits just over a
|
|
8636
|
+
* mark (a value on a column), which the clip would cut at the top edge.
|
|
8637
|
+
*/
|
|
8638
|
+
overlay?: (geometry: PlotGeometry) => ReactNode;
|
|
8338
8639
|
/** Rendered above the plot when a band is hovered or focused. */
|
|
8339
8640
|
tooltip?: (index: number) => ReactNode;
|
|
8641
|
+
/**
|
|
8642
|
+
* Pick a band: a click anywhere in it — an empty band too, which is often
|
|
8643
|
+
* the number someone wants to confirm — or Enter / Space on the band the
|
|
8644
|
+
* arrow keys are on.
|
|
8645
|
+
*/
|
|
8646
|
+
onSelect?: (index: number) => void;
|
|
8340
8647
|
ariaLabel: string;
|
|
8341
8648
|
className?: string;
|
|
8342
8649
|
emptyLabel?: string;
|
|
8343
8650
|
}
|
|
8344
|
-
declare function CartesianPlot({ labels, values, height, width: widthProp, bandPadding, min, max, yTickCount, formatValue: formatValueProp, yAxisLabel, xTickAnchor, children, tooltip, ariaLabel, className, emptyLabel: emptyLabelProp, }: CartesianPlotProps): react_jsx_runtime.JSX.Element;
|
|
8651
|
+
declare function CartesianPlot({ labels, values, height, width: widthProp, bandPadding, min, max, yTickCount, formatValue: formatValueProp, yAxisLabel, xTickAnchor, children, overlay, tooltip, onSelect, ariaLabel, className, emptyLabel: emptyLabelProp, }: CartesianPlotProps): react_jsx_runtime.JSX.Element;
|
|
8345
8652
|
|
|
8346
|
-
declare function TimeSeriesChart({ series, labels, height, stacked, stackMode, levels, curve, tension, max, yTickCount, formatValue: formatValueProp, yAxisLabel, referenceLines, labelEndpoints, dots, dotVariant, pulse, brush, range, onRangeChange, loading, animate, reveal, fillVariant, gridStyle, width: widthProp, className, emptyLabel: emptyLabelProp, }: TimeSeriesChartProps): react_jsx_runtime.JSX.Element;
|
|
8653
|
+
declare function TimeSeriesChart({ series, labels, height, stacked, stackMode, levels, curve, tension, max, yTickCount, formatValue: formatValueProp, formatTooltipValue, tooltipLabels, yAxisLabel, referenceLines, labelEndpoints, dots, dotVariant, pulse, brush, range, onRangeChange, loading, animate, reveal, fillVariant, gridStyle, width: widthProp, className, emptyLabel: emptyLabelProp, }: TimeSeriesChartProps): react_jsx_runtime.JSX.Element;
|
|
8347
8654
|
|
|
8348
|
-
declare function ColumnChart({ series, labels, stacked, stackMode, height, width, max, formatValue: formatValueProp, yAxisLabel, className, emptyLabel, radius, loading, animate, glow, emphasise, activeKey, highlight, }: ColumnChartProps): react_jsx_runtime.JSX.Element;
|
|
8655
|
+
declare function ColumnChart({ series, labels, stacked, stackMode, height, width, max, formatValue: formatValueProp, yAxisLabel, className, emptyLabel, radius, loading, animate, glow, emphasise, activeKey, highlight, valueLabels, onSelect, min, formatTooltipValue, tooltipLabels, }: ColumnChartProps): react_jsx_runtime.JSX.Element;
|
|
8349
8656
|
|
|
8350
8657
|
/** All-pairs colour separation holds for three slots, not eight. */
|
|
8351
8658
|
declare const SCATTER_SERIES_CAP = 3;
|
|
@@ -8379,10 +8686,10 @@ declare function SunburstChart({ nodes, size, innerRadius, ringGap, formatValue:
|
|
|
8379
8686
|
|
|
8380
8687
|
declare function SankeyChart({ nodes, links, height, width: widthProp, nodeWidth, nodePadding, formatValue: formatValueProp, className, emptyLabel: emptyLabelProp, }: SankeyChartProps): react_jsx_runtime.JSX.Element;
|
|
8381
8688
|
|
|
8382
|
-
declare function ChordChart({ labels, matrix, size, maxNodes, padAngle, arcWidth, formatValue: formatValueProp, className, emptyLabel: emptyLabelProp, }: ChordChartProps): react_jsx_runtime.JSX.Element;
|
|
8689
|
+
declare function ChordChart({ labels: labelsProp, matrix: matrixProp, size, maxNodes, padAngle, arcWidth, formatValue: formatValueProp, className, emptyLabel: emptyLabelProp, }: ChordChartProps): react_jsx_runtime.JSX.Element;
|
|
8383
8690
|
|
|
8384
8691
|
/** Package version, injected by tsup at build time. Stays as an empty
|
|
8385
8692
|
* string when the source is consumed without a build (e.g. tests). */
|
|
8386
8693
|
declare const VERSION: string;
|
|
8387
8694
|
|
|
8388
|
-
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 };
|
|
8695
|
+
export { Breadcrumbs 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, type BorderRole as M, type BoxPlotBox as N, BoxPlotChart as O, type PaginatedResponse as P, type BoxPlotChartProps as Q, BrandAssetEditor as R, type SearchConfig as S, type BrandAssetEditorProps as T, type BrandAssetPreview as U, BrandMark as V, type BrandMarkProps as W, type BrandMarkSlot as X, type BrandMarkSurface as Y, type BrandMarkTreatment as Z, type BreadcrumbItem as _, type SortState as a, ChordChart as a$, type BreadcrumbsProps as a0, BudgetBar as a1, type BudgetBarProps as a2, type BudgetState as a3, Button as a4, type ButtonClassesOptions as a5, type ButtonProps as a6, type ButtonSize as a7, type ButtonVariant as a8, CHART_INK as a9, type ChartBrushProps as aA, type ChartCurve as aB, ChartDefs as aC, type ChartDefsProps as aD, ChartDot as aE, type ChartDotProps as aF, type ChartDotVariant as aG, type ChartFillVariant as aH, ChartFrame as aI, type ChartFrameProps as aJ, ChartHighlightProvider as aK, type ChartLegendEntry as aL, type ChartLegendSwatch as aM, type ChartRange as aN, type ChartReferenceLine as aO, type ChartRevealDirection as aP, ChartSkeleton as aQ, type ChartSkeletonProps as aR, type ChartStatusTone as aS, type ChartStrokeVariant as aT, ChartTooltip as aU, type ChartTooltipProps as aV, type ChartTooltipRow as aW, ChatTemplate as aX, Checkbox as aY, type CheckboxProps as aZ, CheckoutTemplate as a_, CMD_A as aa, CMD_DOT as ab, CMD_ENTER as ac, CMD_K as ad, CMD_S as ae, COLUMN_COUNT_MAX as af, COLUMN_COUNT_WIDTHS as ag, COLUMN_SHARES_EQUAL as ah, COLUMN_SHARE_MIN as ai, CONTROL_HEIGHTS as aj, CORNERS as ak, Calendar as al, type CalendarMode as am, type CalendarProps as an, type Candle as ao, CandlestickChart as ap, type CandlestickChartProps as aq, Card as ar, type CardPadding as as, type CardProps as at, type CardTone as au, CartesianPlot as av, type CartesianPlotProps as aw, type CellStyle as ax, type ChartBackgroundVariant as ay, ChartBrush as az, ALT_SHIFT_D as b, Drawer as b$, type ChordChartProps as b0, ColorPicker as b1, ColorPickerPanel as b2, type ColorPickerPanelProps as b3, type ColorPickerProps as b4, type ColorPreset as b5, ColorSwatch as b6, type ColorSwatchProps as b7, type ColorSwatchSize as b8, ColoredBadge as b9, DataTable as bA, type DataTableColumn as bB, type DataTableColumnGroup as bC, type DataTableHeader as bD, DataTablePage as bE, type DataTableProps as bF, type DataTableRowLink as bG, type DataTableRowProps as bH, DatePicker as bI, type DatePickerProps as bJ, DateRangePicker as bK, type DateRangePickerProps as bL, DateTimePicker as bM, type DateTimePickerProps as bN, type DescriptionColumns as bO, type DescriptionItem as bP, DescriptionList as bQ, type DescriptionListProps as bR, Dialog as bS, type DialogProps as bT, type DialogSize as bU, type DisplayChipItem as bV, DisplayChips as bW, type DisplayChipsProps as bX, Divider as bY, type DividerProps as bZ, type DividerSpacing as b_, type ColoredBadgeProps as ba, ColumnChart as bb, type ColumnChartProps as bc, type ColumnSeries as bd, type ColumnShares as be, ComposerAttachments as bf, type ComposerAttachmentsProps as bg, ConfirmProvider as bh, ContainerFillChart as bi, type ContainerFillChartProps as bj, type ContainerFillItem as bk, ContextMenu as bl, type ContextMenuPoint as bm, type ContextMenuProps as bn, type ContextMenuState as bo, type ControlSize as bp, type CornerOption as bq, type Corners as br, CornersInput as bs, type CornersInputProps as bt, CountBadge as bu, type CountBadgeProps as bv, type CountBadgeTone as bw, type Curve as bx, DAY_MS as by, DashboardTemplate as bz, ALT_SHIFT_E as c, HexInput as c$, type DrawerProps as c0, type DrawerSide as c1, type DrawerSize as c2, DropdownMenu as c3, type DropdownMenuAlign as c4, type DropdownMenuCheckboxItem as c5, type DropdownMenuDividerItem as c6, type DropdownMenuEntry as c7, type DropdownMenuItem as c8, type DropdownMenuLabelItem as c9, type FormError as cA, FormErrorSummary as cB, type FormErrorSummaryProps as cC, FormField as cD, type FormFieldProps as cE, FormLayoutPage as cF, FunnelChart as cG, type FunnelChartProps as cH, type FunnelStage as cI, GLASS_DIVIDER as cJ, GLASS_INPUT_BG as cK, GROUP_COLORS as cL, GROUP_COLORS_SOLID as cM, GalleryTemplate as cN, type Gap as cO, type GlassOptions as cP, GlobalSearch as cQ, type GlobalSearchProps as cR, Grid as cS, type GridCols as cT, type GridColumn as cU, type GridProps as cV, HeatmapChart as cW, type HeatmapChartProps as cX, HelpCenter as cY, type HelpCenterDoc as cZ, type HelpCenterProps as c_, type DropdownMenuLinkItem as ca, type DropdownMenuProps as cb, type DropdownMenuRadioItem as cc, type DropdownMenuSide as cd, type DropdownPositionOptions as ce, ELEVATION_LEVELS as cf, ENGLISH as cg, ENTER as ch, EditableGrid as ci, type EditableGridProps as cj, type ElevationLevel as ck, EmailTemplate as cl, EmptyState as cm, type EmptyStateProps as cn, EmptyValue as co, type EmptyValueProps as cp, ErrorBoundary as cq, type ErrorBoundaryProps as cr, ErrorPage as cs, type ErrorPageProps as ct, FONT_WEIGHTS as cu, type FileIntake as cv, FilePicker as cw, type FilePickerProps as cx, type FillVariant as cy, type FontWeightRole as cz, ALT_SHIFT_N as d, MAX_FRACTION_DIGITS as d$, type HistogramBin as d0, HistogramChart as d1, type HistogramChartProps as d2, type Hsv as d3, INPUT_BASE as d4, INPUT_SIZES as d5, IconButton as d6, type IconButtonClassesOptions as d7, type IconButtonProps as d8, IconRail as d9, type LabelProps as dA, type LadderScale as dB, LanguagePanel as dC, type LanguagePanelProps as dD, LanguageSelect as dE, type LanguageSelectProps as dF, type LinearScale as dG, type LinkFilter as dH, type LinkFilterField as dI, type LinkKindChoice as dJ, type LinkOption as dK, type LinkOptionGroup as dL, LinkPicker as dM, type LinkPickerFieldProps as dN, type LinkPickerProps as dO, type LinkPickerWindowProps as dP, type LinkRules as dQ, type LinkTarget as dR, type ListDrop as dS, ListFooter as dT, ListLoadError as dU, type ListLoadErrorProps as dV, type ListMove as dW, ListRow as dX, type ListRowProps as dY, LoadingSpinner as dZ, type LoadingSpinnerProps as d_, IconRailButton as da, type IconRailButtonProps as db, type IconRailLabels as dc, type IconRailLabelsShown as dd, type IconRailOrientation as de, type IconRailProps as df, ImageFocusPoint as dg, type ImageFocusPointProps as dh, Inline as di, type InlineProps as dj, Input as dk, InputNumber as dl, type InputNumberProps as dm, type InputProps as dn, type InputSize as dp, type Justify as dq, Kanban as dr, type KanbanColumn as ds, type KanbanProps as dt, Kbd as du, type KbdProps as dv, type KbdSize as dw, type KbdTone as dx, Label as dy, type LabelClassesOptions as dz, APP_UPDATE_POLL_MS as e, type PublicPortalBranding as e$, MENU_MAX_HEIGHT as e0, MOD as e1, MOTION as e2, MOTION_DURATIONS as e3, Markdown as e4, type MarkdownProps as e5, MediaUploadField as e6, type MediaUploadFieldProps as e7, MediaUploadGrid as e8, type MediaUploadGridItem as e9, type ParagraphProps as eA, PieChart as eB, type PieChartProps as eC, type PieSegment as eD, type PlotGeometry as eE, type Point as eF, Popover as eG, type PopoverAlign as eH, type PopoverProps as eI, type PopoverRenderProps as eJ, type PopoverSide as eK, PopupMenu as eL, PopupMenuDivider as eM, PopupMenuItem as eN, type PopupMenuItemProps as eO, PopupMenuLabel as eP, type PopupMenuProps as eQ, PopupSubmenu as eR, type PopupSubmenuProps as eS, type PortalBrandingContextValue as eT, PortalBrandingProvider as eU, type PortalBrandingProviderProps as eV, ProductionTimeline as eW, type ProductionTimelineProps as eX, type ProductionTimelineSnapshot as eY, type ProgressItem as eZ, type PublicPortal as e_, type MediaUploadGridProps as ea, type MenuPos as eb, Meter as ec, type MeterProps as ed, MetricBar as ee, type MetricBarProps as ef, type Milestone as eg, type MilestoneKind as eh, MilestoneTimeline as ei, type MilestoneTimelineProps as ej, type MotionSpeed as ek, NATIVE_MENU_ATTR as el, NEXT_CHUNK_PATH_PREFIX as em, NativeSelect as en, type NiceAxis as eo, NumericKeypad as ep, type NumericKeypadProps as eq, OVERLAY_OPEN_EVENT as er, POPUP_MAX_WIDTH as es, POST_PRODUCTION_STATUSES as et, PageHeader as eu, type PageHeaderProps as ev, Pagination as ew, type PaginationProps as ex, PaperclipGlyph as ey, Paragraph as ez, Accordion as f, type SearchableSelectMultipleProps as f$, RADAR_SERIES_CAP as f0, RADIUS_ROLES as f1, ROW_HEIGHTS as f2, type RadarAxis as f3, RadarChart as f4, type RadarChartProps as f5, type RadarSeries as f6, RadialBarChart as f7, type RadialBarChartProps as f8, type RadialBarRow as f9, SERIES_VARS as fA, SHELL_LANGUAGE_STORAGE_KEY as fB, SHIFT as fC, SPACING_ROLES as fD, SPACING_SCALE as fE, STAGES as fF, STALE_CHUNK_RELOAD_COOLDOWN_MS as fG, STALE_CHUNK_RELOAD_KEY as fH, STATUS_VARS as fI, SankeyChart as fJ, type SankeyChartProps as fK, type SankeyLink as fL, type SankeyNode as fM, ScatterChart as fN, type ScatterChartProps as fO, type ScatterPoint as fP, type ScatterSeries as fQ, type SearchListRoute as fR, type SearchProvider as fS, type SearchQuickAction as fT, type SearchResponse as fU, type SearchResult as fV, type SearchableItem as fW, type SearchableOption as fX, type SearchableOptionGroup as fY, SearchableSelect as fZ, type SearchableSelectBaseProps as f_, Radio as fa, RadioGroup as fb, type RadioGroupOption as fc, type RadioGroupOrientation as fd, type RadioGroupProps as fe, type RadioProps as ff, type RadiusRole as fg, type Range as fh, RangeChart as fi, type RangeChartProps as fj, type RangeRow as fk, RankedBars as fl, type RankedBarsProps as fm, type RankedBarsRow as fn, ResizeHandle as fo, type ResizeHandleOrientation as fp, type ResizeHandleProps as fq, type ResizeHandleSide as fr, type ResizeHandleStackSide as fs, type ResolvedPortalBrandAsset as ft, Result as fu, type ResultProps as fv, type ResultStatus as fw, type RevealDirection as fx, SCATTER_SERIES_CAP as fy, SERIES_SLOT_COUNT as fz, type AccordionItem as g, StatusBadgeProvider as g$, type SearchableSelectProps as g0, Segmented as g1, type SegmentedOption as g2, type SegmentedProps as g3, type SegmentedSize as g4, Select as g5, type SelectBaseProps as g6, type SelectItem as g7, type SelectMultipleProps as g8, type SelectOption as g9, type SkeletonVariant as gA, Slider as gB, type SliderProps as gC, type SliderSize as gD, Snippet as gE, type SnippetProps as gF, type SnippetSize as gG, type SnippetVariant as gH, SortableList as gI, type SortableListProps as gJ, type SortableListSpacing as gK, type SpacingRole as gL, type SpacingStep as gM, Sparkline as gN, type SparklineProps as gO, Stack as gP, type StackProps as gQ, type StaleChunkReloadOptions as gR, StatCard as gS, type StatCardProps as gT, StatTile as gU, type StatTileProps as gV, Statistic as gW, type StatisticProps as gX, type StatisticSize as gY, type StatisticTone as gZ, StatusBadge as g_, type SelectOptionGroup as ga, type SelectProps as gb, type SemanticGroup as gc, type SeriesSlots as gd, SettingRow as ge, type SettingRowProps as gf, type SeverityTone as gg, type ShellContextKind as gh, type ShellContextTarget as gi, type ShellLanguage as gj, ShellLanguageProvider as gk, type ShellLanguageState as gl, type ShellPrefsAdapter as gm, ShellPrefsProvider as gn, SidebarActionButton as go, type SidebarActionButtonProps as gp, SidebarGroupLabel as gq, type SidebarGroupLabelProps as gr, SidebarLayout as gs, type SidebarLayoutProps as gt, SidebarNavGroup as gu, type SidebarNavGroupProps as gv, SidebarNavItem as gw, type SidebarNavItemProps as gx, Skeleton as gy, type SkeletonProps as gz, type AccordionProps as h, TreeEmptySlot as h$, type StatusEmphasis as h0, type StepItem as h1, Stepper as h2, type StepperProps as h3, type StrokeVariant as h4, SunburstChart as h5, type SunburstChartProps as h6, type SunburstNode as h7, Switch as h8, type SwitchProps 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 SwitchSize as ha, TYPE_SCALE as hb, type TabItem as hc, Tabs as hd, type TabsProps as he, TagInput as hf, type TagInputOption as hg, type TagInputProps as hh, type TagInputTone 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, groupColors 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, assignSeriesSlots as iB, autoHighlightIndex as iC, backspace as iD, bandScale as iE, binValues as iF, budgetState as iG, bumpPath as iH, buttonClasses as iI, calcOverall as iJ, calcReportOverall as iK, colorFill as iL, colorSwatchClasses as iM, columnSharesWidths as iN, confirm as iO, confirmDestructive as iP, curvePath as iQ, dashFor as iR, describeContextTarget as iS, dismissPopups as iT, fillFor as iU, fillId as iV, fmtSliderDate as iW, fromKey as iX, glassStyle as iY, glowId as iZ, groundId 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, useFocusTrap as j$, hexToHsv as j0, highlightOpacity as j1, hsvToHex as j2, iconButtonClasses as j3, inputClasses as j4, installStaleChunkReload as j5, isMac as j6, isSeverityTone as j7, isSpacingStep as j8, isStaleChunkError as j9, resolveCorners as jA, resolvePortalBrandAsset as jB, resolveSeriesColor as jC, resolveSeriesColorWithin as jD, resolveShellLanguage as jE, resolveTheme as jF, sanitizeRecent as jG, saveShellLanguage as jH, seriesColor as jI, severityOf as jJ, splinePath as jK, squarify as jL, stagger as jM, stepPath as jN, tabButtonId as jO, tabPanelId as jP, toKey as jQ, toDayMs as jR, toISODate as jS, toast as jT, toggleSeriesSlot as jU, useAppUpdate as jV, useClickOutside as jW, useConfirm as jX, useContextMenu as jY, useDebouncedValue as jZ, useDropdownPosition 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, niceAxis as jm, niceMax as jn, openGlobalSearch as jo, parseHexColor as jp, polygonPoints as jq, popupBounds as jr, prompt as js, pushRecent as jt, radiusScale as ju, readSavedShellLanguage as jv, registerModalEscapeInterceptor as jw, resolveBrandMarkTreatment as jx, resolveColumnShares as jy, resolveColumnWidths as jz, type AlignmentGridProps as k, useHighlight as k0, useIsMobile as k1, useLocalStoragePrefs as k2, usePlotWidth as k3, usePortalBranding as k4, useProductionTimeline as k5, useScrollLock as k6, useShellLanguage as k7, useShellPrefs as k8, useStatusLabel as k9, useTheme as ka, 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 };
|