@synertech/ui 0.42.0 → 0.43.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/.claude/skills/use-synertech-ui/SKILL.md +36 -0
- package/dist/index.cjs +9 -9
- package/dist/index.d.cts +391 -9
- package/dist/index.d.ts +391 -9
- package/dist/index.js +9 -9
- package/dist/styles.css +41 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default, { ReactNode, ReactElement, ComponentPropsWithoutRef, RefObject, ChangeEvent, MouseEvent, Dispatch, SetStateAction, HTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, TdHTMLAttributes } from 'react';
|
|
3
|
+
import react__default, { ReactNode, ReactElement, ComponentPropsWithoutRef, CSSProperties, RefObject, ChangeEvent, MouseEvent, Dispatch, SetStateAction, HTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, TdHTMLAttributes } from 'react';
|
|
4
4
|
import { M as MarkdownEditorComponent } from './types-99-Ej5og.js';
|
|
5
5
|
export { a as MarkdownEditorProps } from './types-99-Ej5og.js';
|
|
6
6
|
|
|
@@ -243,6 +243,34 @@ interface ChartReferenceLine {
|
|
|
243
243
|
color?: string;
|
|
244
244
|
dashed?: boolean;
|
|
245
245
|
}
|
|
246
|
+
/** What every annotation carries. */
|
|
247
|
+
interface ChartAnnotationBase {
|
|
248
|
+
/** The comment itself. Without it an annotation marks a spot and says nothing. */
|
|
249
|
+
label?: string;
|
|
250
|
+
/** Any CSS colour. Defaults to a muted grey, which is what keeps it chrome. */
|
|
251
|
+
color?: string;
|
|
252
|
+
}
|
|
253
|
+
/** A single observation worth commenting, marked where it sits on the plot. */
|
|
254
|
+
interface ChartPointAnnotation extends ChartAnnotationBase {
|
|
255
|
+
type: "point";
|
|
256
|
+
x: ChartXValue;
|
|
257
|
+
/** Value the marker is pinned to, read on the chart's own value axis. */
|
|
258
|
+
y: number;
|
|
259
|
+
}
|
|
260
|
+
/** A moment: a release, a price change, the day the tracking broke. */
|
|
261
|
+
interface ChartLineAnnotation extends ChartAnnotationBase {
|
|
262
|
+
type: "line";
|
|
263
|
+
x: ChartXValue;
|
|
264
|
+
/** Solid instead of dashed — for a boundary rather than an event. */
|
|
265
|
+
dashed?: boolean;
|
|
266
|
+
}
|
|
267
|
+
/** A stretch of the category axis: a campaign, an outage, a closed quarter. */
|
|
268
|
+
interface ChartBandAnnotation extends ChartAnnotationBase {
|
|
269
|
+
type: "band";
|
|
270
|
+
from: ChartXValue;
|
|
271
|
+
to: ChartXValue;
|
|
272
|
+
}
|
|
273
|
+
type ChartAnnotation = ChartPointAnnotation | ChartLineAnnotation | ChartBandAnnotation;
|
|
246
274
|
/** An entry of the legend. */
|
|
247
275
|
interface ChartLegendItem {
|
|
248
276
|
key: string;
|
|
@@ -256,6 +284,13 @@ interface ChartLegendItem {
|
|
|
256
284
|
* series drawn as a line cannot wear the same block as the bars beside it.
|
|
257
285
|
*/
|
|
258
286
|
marker?: "line" | "rect" | "dot";
|
|
287
|
+
/**
|
|
288
|
+
* Texture slot the entry wears, when the chart draws its marks with them.
|
|
289
|
+
*
|
|
290
|
+
* The swatch has to carry both channels the plot carries, or the texture is
|
|
291
|
+
* a pattern the reader cannot map onto anything.
|
|
292
|
+
*/
|
|
293
|
+
pattern?: number;
|
|
259
294
|
}
|
|
260
295
|
/** A tick, already placed on its axis. */
|
|
261
296
|
interface ChartTick {
|
|
@@ -317,6 +352,25 @@ interface AreaChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWit
|
|
|
317
352
|
baseline?: number;
|
|
318
353
|
connectNulls?: boolean;
|
|
319
354
|
referenceLines?: ChartReferenceLine[];
|
|
355
|
+
/**
|
|
356
|
+
* What happened, drawn where it happened: a release, a campaign, an outage.
|
|
357
|
+
*
|
|
358
|
+
* The counterpart of `referenceLines`, which marks a threshold on the value
|
|
359
|
+
* axis. Bands are drawn under the areas, rules and pinned points over them.
|
|
360
|
+
*/
|
|
361
|
+
annotations?: ChartAnnotation[];
|
|
362
|
+
/**
|
|
363
|
+
* Draws each band with a texture on top of its colour.
|
|
364
|
+
*
|
|
365
|
+
* The channel a reader falls back on when the hue fails them: severe colour
|
|
366
|
+
* vision deficiency, a grayscale print, a forced-colours theme. Off by
|
|
367
|
+
* default — it is an accessibility option, not a decoration.
|
|
368
|
+
*
|
|
369
|
+
* Only the bands of a stack take one. An overlay's fill is a 12% wash, thin
|
|
370
|
+
* enough that no texture survives it, and there the identity is carried by
|
|
371
|
+
* the edge line rather than by the surface under it.
|
|
372
|
+
*/
|
|
373
|
+
patterns?: boolean;
|
|
320
374
|
legendToggle?: boolean;
|
|
321
375
|
margin?: Partial<ChartMargin>;
|
|
322
376
|
locale?: string;
|
|
@@ -333,7 +387,7 @@ interface AreaChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWit
|
|
|
333
387
|
* bands, separated by 2px of the surface colour rather than by a border drawn
|
|
334
388
|
* around each one.
|
|
335
389
|
*/
|
|
336
|
-
declare function AreaChart({ data, series, x, y, height, width, size, grid, legend, tooltip, tableView, emphasis, title, description, loading, emptyState, onPointClick, curve, stack, baseline, connectNulls, referenceLines, legendToggle, margin, locale, plotLabel, className, ...props }: AreaChartProps): react_jsx_runtime.JSX.Element;
|
|
390
|
+
declare function AreaChart({ data, series, x, y, height, width, size, grid, legend, tooltip, tableView, emphasis, title, description, loading, emptyState, onPointClick, curve, stack, baseline, connectNulls, referenceLines, annotations, patterns, legendToggle, margin, locale, plotLabel, className, ...props }: AreaChartProps): react_jsx_runtime.JSX.Element;
|
|
337
391
|
|
|
338
392
|
interface AvatarProps extends ComponentPropsWithoutRef<"div"> {
|
|
339
393
|
src?: string;
|
|
@@ -418,7 +472,7 @@ declare function binEdges(values: readonly number[], spec?: BinSpec): number[];
|
|
|
418
472
|
*/
|
|
419
473
|
declare function binValues(values: readonly (number | null | undefined)[], spec?: BinSpec): HistogramBin[];
|
|
420
474
|
|
|
421
|
-
/** Resets the
|
|
475
|
+
/** Resets the one-shot warnings. Test helper. */
|
|
422
476
|
declare function resetBarChartWarnings(): void;
|
|
423
477
|
type BarChartOrientation = CartesianOrientation;
|
|
424
478
|
interface BarChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWithoutRef<"figure">, keyof CartesianChartBaseProps | "children" | "title"> {
|
|
@@ -478,6 +532,28 @@ interface BarChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWith
|
|
|
478
532
|
/** Draws the value at the end of each bar, where it fits without collision. */
|
|
479
533
|
showValues?: boolean;
|
|
480
534
|
referenceLines?: ChartReferenceLine[];
|
|
535
|
+
/**
|
|
536
|
+
* What happened, drawn where it happened: a release, a campaign, an outage.
|
|
537
|
+
*
|
|
538
|
+
* Read on the category axis, so a **vertical** chart alone takes them: the
|
|
539
|
+
* horizontal one runs its categories up the side, and a moment placed there
|
|
540
|
+
* is not a moment any more. They are ignored, with a warning, when the bars
|
|
541
|
+
* are laid out horizontally.
|
|
542
|
+
*/
|
|
543
|
+
annotations?: ChartAnnotation[];
|
|
544
|
+
/**
|
|
545
|
+
* Draws each series with a texture on top of its colour.
|
|
546
|
+
*
|
|
547
|
+
* The channel a reader falls back on when the hue fails them: severe colour
|
|
548
|
+
* vision deficiency, a grayscale print, a forced-colours theme. Off by
|
|
549
|
+
* default — it is an accessibility option, not a decoration, and a textured
|
|
550
|
+
* chart nobody needs textured is just a busier chart.
|
|
551
|
+
*
|
|
552
|
+
* Ignored where the bars are painted by their own value (a lone series
|
|
553
|
+
* against a reference): the ramp measures a magnitude, and a texture can
|
|
554
|
+
* only say which series a mark belongs to.
|
|
555
|
+
*/
|
|
556
|
+
patterns?: boolean;
|
|
481
557
|
legendToggle?: boolean;
|
|
482
558
|
margin?: Partial<ChartMargin>;
|
|
483
559
|
locale?: string;
|
|
@@ -494,7 +570,7 @@ interface BarChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWith
|
|
|
494
570
|
* is read for the length of its mark, and an axis starting at 40 exaggerates
|
|
495
571
|
* every difference on the chart.
|
|
496
572
|
*/
|
|
497
|
-
declare function BarChart({ data, series, x, y, height, width, size, grid, legend, tooltip, tableView, emphasis, title, description, loading, emptyState, onPointClick, orientation, stack, diverging, bins, curve, barSize, sort, showValues, referenceLines, legendToggle, margin, locale, plotLabel, className, ...props }: BarChartProps): react_jsx_runtime.JSX.Element;
|
|
573
|
+
declare function BarChart({ data, series, x, y, height, width, size, grid, legend, tooltip, tableView, emphasis, title, description, loading, emptyState, onPointClick, orientation, stack, diverging, bins, curve, barSize, sort, showValues, referenceLines, annotations, patterns, legendToggle, margin, locale, plotLabel, className, ...props }: BarChartProps): react_jsx_runtime.JSX.Element;
|
|
498
574
|
|
|
499
575
|
type BannerVariant = "notification" | "hero" | "promotion";
|
|
500
576
|
type BannerType = "info" | "success" | "warning" | "error" | "default";
|
|
@@ -1215,6 +1291,135 @@ interface ChartTooltipContentProps {
|
|
|
1215
1291
|
*/
|
|
1216
1292
|
declare function ChartTooltipContent({ title, points }: ChartTooltipContentProps): react_jsx_runtime.JSX.Element;
|
|
1217
1293
|
|
|
1294
|
+
interface ChartAnnotationLayerProps {
|
|
1295
|
+
annotations: readonly ChartAnnotation[];
|
|
1296
|
+
/**
|
|
1297
|
+
* Where an x value lands along the category axis, or `null` when it is not
|
|
1298
|
+
* on the plot at all — an annotation for a date outside the window is
|
|
1299
|
+
* skipped rather than drawn on the edge.
|
|
1300
|
+
*/
|
|
1301
|
+
xAt: (value: ChartXValue) => number | null;
|
|
1302
|
+
/** Where a value lands along the value axis. */
|
|
1303
|
+
yAt: (value: number) => number;
|
|
1304
|
+
/** Size of the plot area. */
|
|
1305
|
+
width: number;
|
|
1306
|
+
height: number;
|
|
1307
|
+
/**
|
|
1308
|
+
* Width of a band on the category axis, `0` on a point placement.
|
|
1309
|
+
*
|
|
1310
|
+
* A band annotation covers whole categories, so it reaches half a band past
|
|
1311
|
+
* the centres its ends resolve to — otherwise "March to May" is drawn from
|
|
1312
|
+
* the middle of March to the middle of May.
|
|
1313
|
+
*/
|
|
1314
|
+
bandwidth?: number;
|
|
1315
|
+
/**
|
|
1316
|
+
* Which half of the layer to draw.
|
|
1317
|
+
*
|
|
1318
|
+
* `under` holds the bands and goes below the marks — a region the data sits
|
|
1319
|
+
* in, not over it. `over` holds the rules and the pinned points, which are
|
|
1320
|
+
* worthless hidden behind an area. A chart renders the component twice, once
|
|
1321
|
+
* on each side of its series.
|
|
1322
|
+
*/
|
|
1323
|
+
layer?: "under" | "over";
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* The annotation layer: what happened, drawn where it happened.
|
|
1327
|
+
*
|
|
1328
|
+
* Laid out behind the marks for the bands and over them for the lines and the
|
|
1329
|
+
* points. A band is a region the data sits in and belongs under it; a line is
|
|
1330
|
+
* a boundary and is worthless hidden behind an area.
|
|
1331
|
+
*
|
|
1332
|
+
* Everything here is chrome by default — grey, thin, dashed. An annotation
|
|
1333
|
+
* that draws the eye more strongly than the data has become the chart.
|
|
1334
|
+
*/
|
|
1335
|
+
declare function ChartAnnotationLayer({ annotations, xAt, yAt, width, height, bandwidth, layer, }: ChartAnnotationLayerProps): react_jsx_runtime.JSX.Element | null;
|
|
1336
|
+
/**
|
|
1337
|
+
* The annotations, as one sentence for the chart's accessible name.
|
|
1338
|
+
*
|
|
1339
|
+
* An SVG marked `role="img"` exposes its name and nothing inside it, so a
|
|
1340
|
+
* caption drawn on the plot is invisible to a screen reader. The comments are
|
|
1341
|
+
* half of what an annotated chart says, so they are appended to the name the
|
|
1342
|
+
* chart already carries rather than left on the picture alone.
|
|
1343
|
+
*/
|
|
1344
|
+
declare function describeAnnotations(annotations: readonly ChartAnnotation[] | undefined, prefix: string): string;
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* The colour a texture is cut through — the chart surface itself.
|
|
1348
|
+
*
|
|
1349
|
+
* Declared in `src/styles/index.css` under both theme scopes, so a stripe is
|
|
1350
|
+
* white on a white panel and gray-800 on a dark one without a component ever
|
|
1351
|
+
* asking which theme is on.
|
|
1352
|
+
*/
|
|
1353
|
+
declare const CHART_SURFACE_COLOR = "var(--color-chart-surface)";
|
|
1354
|
+
/**
|
|
1355
|
+
* The textures, in the order they are handed out.
|
|
1356
|
+
*
|
|
1357
|
+
* One per palette slot, and assigned the same way: by the series' position in
|
|
1358
|
+
* `series`, never by its rank. Hiding a series repaints nothing, and the
|
|
1359
|
+
* texture a reader learnt in the legend is still the one on the plot.
|
|
1360
|
+
*
|
|
1361
|
+
* Every hatch runs at 45° or its mirror at 135°, never horizontal and never
|
|
1362
|
+
* vertical: those two align with the gridlines and with the edges of the
|
|
1363
|
+
* marks, where they read as part of the chrome rather than as a fill. The
|
|
1364
|
+
* first slot is left solid — an untextured mark is itself a texture, and the
|
|
1365
|
+
* easiest of all to tell apart.
|
|
1366
|
+
*/
|
|
1367
|
+
declare const CHART_PATTERNS: readonly ["solid", "diagonal", "diagonal-reverse", "cross", "dots", "diagonal-wide", "diagonal-reverse-wide", "dots-wide"];
|
|
1368
|
+
type ChartPattern = (typeof CHART_PATTERNS)[number];
|
|
1369
|
+
/** The texture at `index`, wrapping around once past the last one. */
|
|
1370
|
+
declare function getPattern(index: number): ChartPattern;
|
|
1371
|
+
/**
|
|
1372
|
+
* Id of the SVG pattern a chart declared for its `index`-th series.
|
|
1373
|
+
*
|
|
1374
|
+
* The base is stripped down to id characters: `useId` returns `:r0:` on React
|
|
1375
|
+
* 18, and a fill pointing at `url(#:r0:-texture-1)` is a fragment reference
|
|
1376
|
+
* browsers are not obliged to resolve.
|
|
1377
|
+
*/
|
|
1378
|
+
declare function patternId(baseId: string, index: number): string;
|
|
1379
|
+
/**
|
|
1380
|
+
* The fill a mark wears.
|
|
1381
|
+
*
|
|
1382
|
+
* The texture when they are on and the slot has one, the flat colour
|
|
1383
|
+
* otherwise — so a chart calls this once and never branches itself.
|
|
1384
|
+
*/
|
|
1385
|
+
declare function patternFill(enabled: boolean, baseId: string, index: number, color: string): string;
|
|
1386
|
+
/** One texture to declare: the slot it belongs to, and the colour it paints. */
|
|
1387
|
+
interface ChartPatternEntry {
|
|
1388
|
+
/** Palette slot of the mark — what `patternFill` is called with. */
|
|
1389
|
+
slot: number;
|
|
1390
|
+
color: string;
|
|
1391
|
+
}
|
|
1392
|
+
interface ChartPatternDefsProps {
|
|
1393
|
+
/** Unique per chart instance — a `useId()`, so two charts never collide. */
|
|
1394
|
+
id: string;
|
|
1395
|
+
/**
|
|
1396
|
+
* The marks to declare a texture for.
|
|
1397
|
+
*
|
|
1398
|
+
* Keyed by slot rather than by position: a pie sorts its slices and a bar
|
|
1399
|
+
* chart hides some of its series, and in both the texture has to keep
|
|
1400
|
+
* following the identity it was handed out to.
|
|
1401
|
+
*/
|
|
1402
|
+
entries: readonly ChartPatternEntry[];
|
|
1403
|
+
}
|
|
1404
|
+
/**
|
|
1405
|
+
* The `<defs>` block holding one texture per series.
|
|
1406
|
+
*
|
|
1407
|
+
* A mark keeps its colour at full strength and the texture is *cut out* of it
|
|
1408
|
+
* in the surface colour, rather than painted over a washed-down fill: a
|
|
1409
|
+
* stacked band has to read as a quantity, and a fill dimmed to make room for
|
|
1410
|
+
* stripes stops doing that.
|
|
1411
|
+
*/
|
|
1412
|
+
declare function ChartPatternDefs({ id, entries }: ChartPatternDefsProps): react_jsx_runtime.JSX.Element;
|
|
1413
|
+
/**
|
|
1414
|
+
* The same texture, in CSS, for the HTML swatch of a legend.
|
|
1415
|
+
*
|
|
1416
|
+
* The legend and the plot have to carry the same two channels, or the texture
|
|
1417
|
+
* becomes noise the reader cannot map onto anything. A gradient reproduces the
|
|
1418
|
+
* SVG tile closely enough at swatch size, and it flips with the theme through
|
|
1419
|
+
* the same surface variable.
|
|
1420
|
+
*/
|
|
1421
|
+
declare function patternBackground(index: number, color: string): CSSProperties;
|
|
1422
|
+
|
|
1218
1423
|
/**
|
|
1219
1424
|
* Number of categorical slots the palette holds.
|
|
1220
1425
|
*
|
|
@@ -1258,8 +1463,14 @@ declare function getSeriesColor(index: number, override?: string): string;
|
|
|
1258
1463
|
declare function resolveSeriesColor(series: ChartSeries, index: number, emphasis?: string): string;
|
|
1259
1464
|
/** Label shown for a series — its own, or its key as a fallback. */
|
|
1260
1465
|
declare function getSeriesLabel(series: ChartSeries): string;
|
|
1261
|
-
/**
|
|
1262
|
-
|
|
1466
|
+
/**
|
|
1467
|
+
* Builds the legend entries of a series list, colours already resolved.
|
|
1468
|
+
*
|
|
1469
|
+
* `patterns` mirrors the chart's own setting: when the marks are textured the
|
|
1470
|
+
* swatches have to be too, since the texture is the channel a reader falls
|
|
1471
|
+
* back on when the hue fails them.
|
|
1472
|
+
*/
|
|
1473
|
+
declare function toLegendItems(series: ChartSeries[], emphasis?: string, patterns?: boolean): ChartLegendItem[];
|
|
1263
1474
|
/** One hue, light to dark: a continuous magnitude (a heat map). */
|
|
1264
1475
|
declare const CHART_SEQUENTIAL_COLORS: readonly ["var(--color-chart-seq-1)", "var(--color-chart-seq-2)", "var(--color-chart-seq-3)", "var(--color-chart-seq-4)", "var(--color-chart-seq-5)", "var(--color-chart-seq-6)"];
|
|
1265
1476
|
/** One hue in ordered steps: ranked bands, brackets, a funnel. */
|
|
@@ -1488,6 +1699,140 @@ declare function ChartFacets({ data, by, values, domain, includeZero, ticks, ord
|
|
|
1488
1699
|
/** Resets the one-shot panel-count warning. Test helper. */
|
|
1489
1700
|
declare function resetFacetWarnings(): void;
|
|
1490
1701
|
|
|
1702
|
+
interface ChartFilterBarProps extends Omit<ComponentPropsWithoutRef<"div">, "title"> {
|
|
1703
|
+
/** Names the row for assistive technology. Defaults to the translated "Filters". */
|
|
1704
|
+
label?: string;
|
|
1705
|
+
/** Pushed to the far end of the row: an export, a refresh, a saved view. */
|
|
1706
|
+
actions?: ReactNode;
|
|
1707
|
+
/** Keeps the row on screen while a long dashboard scrolls under it. */
|
|
1708
|
+
sticky?: boolean;
|
|
1709
|
+
/** The rule under the row, which is what makes it read as a frame. */
|
|
1710
|
+
bordered?: boolean;
|
|
1711
|
+
size?: ChartSize;
|
|
1712
|
+
children: ReactNode;
|
|
1713
|
+
}
|
|
1714
|
+
/**
|
|
1715
|
+
* The filters, in one row above everything they frame.
|
|
1716
|
+
*
|
|
1717
|
+
* Not a chart and barely a component — a rule written down as a layout. A
|
|
1718
|
+
* dashboard filtered per card is a dashboard whose numbers stop agreeing: two
|
|
1719
|
+
* panels answer two questions and nothing on screen says so. One row, above
|
|
1720
|
+
* the charts, applying to all of them, is the only arrangement where a reader
|
|
1721
|
+
* can trust that two figures are comparable.
|
|
1722
|
+
*
|
|
1723
|
+
* It composes what the library already has — `ChartPeriodPicker` for the
|
|
1724
|
+
* window, `Select` and `Dropdown` for the dimensions — rather than growing
|
|
1725
|
+
* controls of its own.
|
|
1726
|
+
*
|
|
1727
|
+
* ```tsx
|
|
1728
|
+
* <ChartFilterBar actions={<Button size="sm">Export</Button>}>
|
|
1729
|
+
* <ChartPeriodPicker value={period} onChange={setPeriod} />
|
|
1730
|
+
* <Select size="sm" options={regions} value={region} onValueChange={setRegion} />
|
|
1731
|
+
* </ChartFilterBar>
|
|
1732
|
+
* ```
|
|
1733
|
+
*/
|
|
1734
|
+
declare function ChartFilterBar({ label, actions, sticky, bordered, size, children, className, ...props }: ChartFilterBarProps): react_jsx_runtime.JSX.Element;
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* The periods a dashboard is read over, resolved to real dates.
|
|
1738
|
+
*
|
|
1739
|
+
* Pure functions on purpose: "the last 30 days" is the kind of thing that is
|
|
1740
|
+
* wrong by one day for a month before anybody notices, and it is much easier
|
|
1741
|
+
* to pin down here than through a rendered picker.
|
|
1742
|
+
*/
|
|
1743
|
+
/** The windows a filter row offers by name. */
|
|
1744
|
+
type ChartPeriodPreset = "7d" | "30d" | "90d" | "12m" | "mtd" | "qtd" | "ytd" | "custom";
|
|
1745
|
+
/** A resolved window: where it came from, and the two dates it covers. */
|
|
1746
|
+
interface ChartPeriod {
|
|
1747
|
+
/** The entry that produced it. `custom` when the dates were picked by hand. */
|
|
1748
|
+
preset: ChartPeriodPreset;
|
|
1749
|
+
from: Date;
|
|
1750
|
+
to: Date;
|
|
1751
|
+
}
|
|
1752
|
+
/** The presets a picker offers when it is not told otherwise. */
|
|
1753
|
+
declare const DEFAULT_CHART_PERIOD_PRESETS: readonly ChartPeriodPreset[];
|
|
1754
|
+
/** Midnight at the start of a day, in the reader's own time zone. */
|
|
1755
|
+
declare function startOfDay(date: Date): Date;
|
|
1756
|
+
/**
|
|
1757
|
+
* The last millisecond of a day.
|
|
1758
|
+
*
|
|
1759
|
+
* A window ending at midnight drops everything that happened during its last
|
|
1760
|
+
* day — the single most common off-by-one in a dashboard.
|
|
1761
|
+
*/
|
|
1762
|
+
declare function endOfDay(date: Date): Date;
|
|
1763
|
+
/**
|
|
1764
|
+
* Resolves a named window against a reference moment.
|
|
1765
|
+
*
|
|
1766
|
+
* "The last 7 days" counts today as one of them, which is what a reader
|
|
1767
|
+
* expects from a figure that includes what happened this morning.
|
|
1768
|
+
*/
|
|
1769
|
+
declare function resolvePeriodPreset(preset: ChartPeriodPreset, now?: Date): {
|
|
1770
|
+
from: Date;
|
|
1771
|
+
to: Date;
|
|
1772
|
+
};
|
|
1773
|
+
/** A named window, resolved into the period a chart is filtered by. */
|
|
1774
|
+
declare function createPeriod(preset: ChartPeriodPreset, now?: Date): ChartPeriod;
|
|
1775
|
+
/**
|
|
1776
|
+
* The two ends of a window as one string.
|
|
1777
|
+
*
|
|
1778
|
+
* `formatRange` is what a locale expects here — it collapses the parts the two
|
|
1779
|
+
* dates share ("1 – 15 March 2026" rather than twice the month and the year).
|
|
1780
|
+
*/
|
|
1781
|
+
declare function formatPeriodRange(from: Date, to: Date, locale?: string): string;
|
|
1782
|
+
/** `true` when two periods cover the same window, to the millisecond. */
|
|
1783
|
+
declare function samePeriod(a: ChartPeriod | undefined, b: ChartPeriod | undefined): boolean;
|
|
1784
|
+
|
|
1785
|
+
interface ChartPeriodPickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange" | "children"> {
|
|
1786
|
+
/** Controlled window. */
|
|
1787
|
+
value?: ChartPeriod;
|
|
1788
|
+
/** Uncontrolled starting window — a resolved period, or a preset to resolve. */
|
|
1789
|
+
defaultValue?: ChartPeriod | ChartPeriodPreset;
|
|
1790
|
+
onChange?: (period: ChartPeriod) => void;
|
|
1791
|
+
/** Which windows to offer, in the order they are listed. */
|
|
1792
|
+
presets?: readonly ChartPeriodPreset[];
|
|
1793
|
+
/** Offers the calendar, for a window the presets do not cover. */
|
|
1794
|
+
custom?: boolean;
|
|
1795
|
+
/** Overrides a preset's caption, without going through the labels provider. */
|
|
1796
|
+
presetLabels?: Partial<Record<ChartPeriodPreset, string>>;
|
|
1797
|
+
/**
|
|
1798
|
+
* The moment the presets are measured from.
|
|
1799
|
+
*
|
|
1800
|
+
* Injected by a test, and by an application that freezes "today" — a report
|
|
1801
|
+
* generated at 3am must not silently change window at midnight.
|
|
1802
|
+
*/
|
|
1803
|
+
now?: Date;
|
|
1804
|
+
/** Bounds of the calendar. A dashboard usually caps it at today. */
|
|
1805
|
+
minDate?: Date;
|
|
1806
|
+
maxDate?: Date;
|
|
1807
|
+
/** Number of months shown side by side by the calendar. */
|
|
1808
|
+
numberOfMonths?: number;
|
|
1809
|
+
weekStartsOn?: CalendarWeekStart;
|
|
1810
|
+
locale?: string;
|
|
1811
|
+
size?: ChartSize;
|
|
1812
|
+
/** Which end of the trigger the panel lines up with. */
|
|
1813
|
+
align?: "start" | "end";
|
|
1814
|
+
disabled?: boolean;
|
|
1815
|
+
/** Names the control when the default "Period" is not specific enough. */
|
|
1816
|
+
label?: string;
|
|
1817
|
+
}
|
|
1818
|
+
/**
|
|
1819
|
+
* The window a dashboard is read over.
|
|
1820
|
+
*
|
|
1821
|
+
* The one filter every dashboard has, and the one the library was missing:
|
|
1822
|
+
* `Calendar` picks a date and hands it back, which is a different job. This
|
|
1823
|
+
* picks a *period*, offers the windows people actually ask for by name, and
|
|
1824
|
+
* falls back to the calendar for the rest.
|
|
1825
|
+
*
|
|
1826
|
+
* It belongs in a `ChartFilterBar` with the other filters, above the charts
|
|
1827
|
+
* and never inside one of them — a period picked per card is how two panels
|
|
1828
|
+
* end up answering two questions without saying so.
|
|
1829
|
+
*
|
|
1830
|
+
* The presets are resolved against `now` rather than against a clock read
|
|
1831
|
+
* somewhere inside: a window is data, and data a component makes up on its own
|
|
1832
|
+
* cannot be tested, frozen or shared between two charts.
|
|
1833
|
+
*/
|
|
1834
|
+
declare function ChartPeriodPicker({ value, defaultValue, onChange, presets, custom, presetLabels, now, minDate, maxDate, numberOfMonths, weekStartsOn, locale, size, align, disabled, label, className, ...props }: ChartPeriodPickerProps): react_jsx_runtime.JSX.Element;
|
|
1835
|
+
|
|
1491
1836
|
/**
|
|
1492
1837
|
* Width a chart draws at before its container has been measured.
|
|
1493
1838
|
*
|
|
@@ -3020,6 +3365,17 @@ interface LineChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWit
|
|
|
3020
3365
|
/** Draws through the gaps instead of breaking the line. */
|
|
3021
3366
|
connectNulls?: boolean;
|
|
3022
3367
|
referenceLines?: ChartReferenceLine[];
|
|
3368
|
+
/**
|
|
3369
|
+
* What happened, drawn where it happened: a release, a campaign, an outage.
|
|
3370
|
+
*
|
|
3371
|
+
* The counterpart of `referenceLines`, which marks a threshold on the value
|
|
3372
|
+
* axis. A spike nobody explained is a question rather than an answer, and
|
|
3373
|
+
* the explanation almost always sits on the time axis.
|
|
3374
|
+
*
|
|
3375
|
+
* The captions are appended to the chart's accessible name, since an SVG
|
|
3376
|
+
* exposes nothing drawn inside it.
|
|
3377
|
+
*/
|
|
3378
|
+
annotations?: ChartAnnotation[];
|
|
3023
3379
|
/** Lets the legend show and hide series. */
|
|
3024
3380
|
legendToggle?: boolean;
|
|
3025
3381
|
margin?: Partial<ChartMargin>;
|
|
@@ -3039,7 +3395,7 @@ interface LineChartProps extends CartesianChartBaseProps, Omit<ComponentPropsWit
|
|
|
3039
3395
|
* invent a correlation the data does not carry; plot them as two charts, or
|
|
3040
3396
|
* index both to a common base.
|
|
3041
3397
|
*/
|
|
3042
|
-
declare function LineChart({ data, series, x, y, height, width, size, grid, legend, tooltip, tableView, emphasis, title, description, loading, emptyState, onPointClick, curve, forecastFrom, forecastLabel, markers, connectNulls, referenceLines, legendToggle, margin, locale, plotLabel, className, ...props }: LineChartProps): react_jsx_runtime.JSX.Element;
|
|
3398
|
+
declare function LineChart({ data, series, x, y, height, width, size, grid, legend, tooltip, tableView, emphasis, title, description, loading, emptyState, onPointClick, curve, forecastFrom, forecastLabel, markers, connectNulls, referenceLines, annotations, legendToggle, margin, locale, plotLabel, className, ...props }: LineChartProps): react_jsx_runtime.JSX.Element;
|
|
3043
3399
|
|
|
3044
3400
|
interface ModalProps {
|
|
3045
3401
|
isOpen: boolean;
|
|
@@ -3152,6 +3508,17 @@ interface PieChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "childr
|
|
|
3152
3508
|
description?: ReactNode;
|
|
3153
3509
|
loading?: boolean;
|
|
3154
3510
|
emptyState?: ReactNode;
|
|
3511
|
+
/**
|
|
3512
|
+
* Draws each slice with a texture on top of its colour.
|
|
3513
|
+
*
|
|
3514
|
+
* The channel a reader falls back on when the hue fails them: severe colour
|
|
3515
|
+
* vision deficiency, a grayscale print, a forced-colours theme. Off by
|
|
3516
|
+
* default — it is an accessibility option, not a decoration.
|
|
3517
|
+
*
|
|
3518
|
+
* The folded tail keeps its flat grey: it is the one slice that is not an
|
|
3519
|
+
* identity, and giving it a texture would make it look like one.
|
|
3520
|
+
*/
|
|
3521
|
+
patterns?: boolean;
|
|
3155
3522
|
locale?: string;
|
|
3156
3523
|
plotLabel?: string;
|
|
3157
3524
|
onSliceClick?: (slice: {
|
|
@@ -3170,7 +3537,7 @@ interface PieChartProps extends Omit<ComponentPropsWithoutRef<"figure">, "childr
|
|
|
3170
3537
|
* over six slices at most, which is why the tail folds into a single bucket
|
|
3171
3538
|
* rather than taking a seventh colour.
|
|
3172
3539
|
*/
|
|
3173
|
-
declare function PieChart({ data, x, value, variant, innerRadius, maxSlices, otherLabel, sort, showLabels, centerLabel, height, width, size, legend, tooltip, tableView, title, description, loading, emptyState, locale, plotLabel, onSliceClick, className, ...props }: PieChartProps): react_jsx_runtime.JSX.Element;
|
|
3540
|
+
declare function PieChart({ data, x, value, variant, innerRadius, maxSlices, otherLabel, sort, showLabels, centerLabel, patterns, height, width, size, legend, tooltip, tableView, title, description, loading, emptyState, locale, plotLabel, onSliceClick, className, ...props }: PieChartProps): react_jsx_runtime.JSX.Element;
|
|
3174
3541
|
|
|
3175
3542
|
type ProgressBarSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
3176
3543
|
type ProgressBarColor = "default" | "primary" | "success" | "warning" | "error" | "info";
|
|
@@ -4243,6 +4610,21 @@ interface UILabels {
|
|
|
4243
4610
|
chartProgress: string;
|
|
4244
4611
|
/** Name of the rule marking today on a schedule. */
|
|
4245
4612
|
chartToday: string;
|
|
4613
|
+
/** Word the annotation captions are announced under in a chart's name. */
|
|
4614
|
+
chartAnnotations: string;
|
|
4615
|
+
/** Accessible name of the filter row above a set of charts. */
|
|
4616
|
+
chartFilters: string;
|
|
4617
|
+
/** Accessible name of the period picker, and its caption when nothing is set. */
|
|
4618
|
+
chartPeriod: string;
|
|
4619
|
+
chartPeriodLast7Days: string;
|
|
4620
|
+
chartPeriodLast30Days: string;
|
|
4621
|
+
chartPeriodLast90Days: string;
|
|
4622
|
+
chartPeriodLast12Months: string;
|
|
4623
|
+
chartPeriodMonthToDate: string;
|
|
4624
|
+
chartPeriodQuarterToDate: string;
|
|
4625
|
+
chartPeriodYearToDate: string;
|
|
4626
|
+
/** Entry opening the calendar, for a window the presets do not cover. */
|
|
4627
|
+
chartPeriodCustom: string;
|
|
4246
4628
|
}
|
|
4247
4629
|
/** English labels, used when no provider is mounted. */
|
|
4248
4630
|
declare const defaultUILabels: UILabels;
|
|
@@ -4328,4 +4710,4 @@ declare function isFocusable(element: HTMLElement): boolean;
|
|
|
4328
4710
|
*/
|
|
4329
4711
|
declare function getFocusableElements(container: HTMLElement): HTMLElement[];
|
|
4330
4712
|
|
|
4331
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionType, type AccordionVariant, AdvanceDetachable, type AdvanceDetachableProps, type AdvanceDetachableRef, type AdvanceDetachableRenderContext, type AggregateFunction, type Align, AreaChart, type AreaChartProps, Avatar, type AvatarProps, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerType, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BinSpec, BoxPlot, type BoxPlotBox, type BoxPlotProps, type BoxPlotQuantileKeys, type BoxStats, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BulletChart, type BulletChartProps, type BulletRow, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, CHART_ALL_PAIRS_LIMIT, CHART_DIVERGING_COLORS, CHART_DIVERGING_DARK_STOPS, CHART_DIVERGING_NEUTRAL_INDEX, CHART_DOWN_COLOR, CHART_MAX_COLOR_CLASSES, CHART_MUTED_COLOR, CHART_ORDINAL_COLORS, CHART_ORDINAL_DARK_STOPS, CHART_PALETTE_SIZE, CHART_SEQUENTIAL_COLORS, CHART_SEQUENTIAL_DARK_STOPS, CHART_SERIES_COLORS, CHART_UP_COLOR, Calendar, type CalendarColor, type CalendarDateRange, type CalendarDayState, type CalendarLabels, type CalendarMode, type CalendarProps, type CalendarSize, type CalendarWeekStart, type Candle, CandlestickChart, type CandlestickChartProps, Card, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, type CartesianChartBaseProps, ChartAxis, type ChartAxisOrientation, type ChartAxisProps, type ChartColorScale, ChartContainer, type ChartContainerProps, type ChartContainerRenderArgs, type ChartCurve, type ChartDatum, type ChartDimensions, type ChartFacetPanel, ChartFacets, type ChartFacetsProps, ChartGrid, type ChartGridLines, type ChartGridProps, ChartLegend, type ChartLegendItem, type ChartLegendMarker, type ChartLegendPosition, type ChartLegendProps, type ChartMargin, type ChartPoint, type ChartPointEvent, type ChartReferenceLine, ChartScaleLegend, type ChartScaleLegendProps, type ChartScaleType, type ChartSeries, type ChartSize, ChartTableView, type ChartTableViewProps, type ChartTick, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipPayload, type ChartTooltipProps, type ChartXAxisConfig, type ChartXValue, type ChartYAxisConfig, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipColor, type ChipProps, type ChipSize, type ChipVariant, CircularProgress, type CircularProgressColor, type CircularProgressProps, type CircularProgressSize, type CircularProgressThickness, type ColumnDef, DEFAULT_CHART_WIDTH, DEFAULT_FIELD_TYPES, DataGrid, type DataGridMode, type DataGridProps, type DataGridRef, type Density, Detachable, type DetachableProps, type DetachableRef, DeviceMockup, type DeviceMockupProps, type DeviceOrientation, type DeviceSize, type DeviceTheme, type DeviceType, type DialogA11yProps, type DialogInitialFocus, type DialogReturnFocus, type DivergingScaleOptions, Divider, type DividerOrientation, type DividerProps, type DividerTextAlign, type DividerVariant, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, Dropdown, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownContextValue, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownLabelProps, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorProps, DropdownSubMenu, DropdownSubMenuContent, type DropdownSubMenuContentProps, type DropdownSubMenuProps, DropdownSubMenuTrigger, type DropdownSubMenuTriggerProps, DropdownTrigger, type DropdownTriggerProps, DumbbellChart, type DumbbellChartProps, type DumbbellRow, type DumbbellSort, FOCUSABLE_SELECTOR, FileSelector, type FileSelectorProps, type FilterOperator, type FilterType, type FilterValue, Footer, FooterBottom, type FooterBottomProps, FooterColumn, type FooterColumnProps, FooterLink, type FooterLinkProps, type FooterProps, FooterSection, type FooterSectionProps, FooterSocial, FooterSocialLink, type FooterSocialLinkProps, type FooterSocialProps, FunnelChart, type FunnelChartProps, type FunnelStage, GanttChart, type GanttChartProps, type GanttTask, Header, type HeaderProps, Heatmap, type HeatmapCell, type HeatmapProps, HelpButton, type HelpButtonProps, type HistogramBin, INERT_IGNORE_ATTRIBUTE, ImageUploader, type ImageUploaderProps, Indicator, type IndicatorColor, type IndicatorPlacement, type IndicatorProps, type IndicatorSize, type IndicatorVariant, Input, type InputProps, Label, type LabelColor, type LabelProps, type LabelSize, type LabelVariant, type LabelWeight, LineChart, type LineChartProps, MarkdownEditorComponent, type MentionData, MentionInput, type MentionInputProps, type MentionInputValue, type MentionSuggestion, Modal, type ModalProps, type NavItem, type NodeRegistryEntry, NumberInput, type NumberInputProps, Pagination, type PaginationConfig, type PaginationProps, PieChart, type PieChartProps, type Position, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant, RadioButton, type RadioButtonProps, ScatterChart, type ScatterChartProps, SchemaEditor, type SchemaEditorProps, type SchemaEditorRef, type SchemaField, type SchemaFieldEvent, type SchemaFieldType, type SchemaRelation, type SchemaRelationCardinality, type SchemaTable, type SchemaTableEvent, type SchemaValue, type SchemaViewport, Select, type SelectOption, type SelectProps, type SelectedFile, type SelectionMode, type SequentialScaleOptions, type Side, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarPosition, type SidebarProps, SidebarSubMenu, type SidebarSubMenuProps, SidebarToggle, type SidebarToggleProps, type SidebarVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderColor, type SliderMark, type SliderProps, type SliderSize, type SortDirection, type SortState, Sparkline, type SparklineProps, StatCard, type StatCardDelta, type StatCardDeltaDirection, type StatCardDeltaTone, StatCardGroup, type StatCardGroupProps, type StatCardProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsColor, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, type TimeTickScale, type TimeUnit, Toast, type ToastPosition, type ToastProps, type ToastType, type ToastVariant, Tooltip, type TooltipPosition, type TooltipProps, type TooltipSize, type TooltipTrigger, type TooltipVariant, type UILabels, UILabelsProvider, type UILabelsProviderProps, type UseChartSizeOptions, type UseChartSizeResult, type UseDialogA11yOptions, type UseDialogA11yResult, type UseKeyboardNavigationOptions, type UsePositioningOptions, WaterfallChart, type WaterfallChartProps, type WaterfallKind, type WaterfallStep, WithHelpButton, type WithHelpButtonProps, Wizard, WizardActions, type WizardActionsProps, type WizardColor, WizardContent, type WizardContentProps, type WizardContextValue, type WizardDirection, WizardNext, type WizardNextProps, type WizardOrientation, WizardPanel, type WizardPanelProps, WizardPrevious, type WizardPreviousProps, type WizardProps, type WizardSize, type WizardStepChangeMeta, type WizardStepDefinition, type WizardStepStatus, WizardSteps, type WizardStepsProps, type WizardVariant, type WorkflowDirection, type WorkflowEdge, WorkflowEditor, type WorkflowEditorProps, type WorkflowEditorRef, type WorkflowNode, type WorkflowNodeAction, type WorkflowNodeActionEvent, type WorkflowNodeActionPosition, type WorkflowNodeEvent, type WorkflowPort, type WorkflowValue, type WorkflowViewport, autoLayoutTables, binEdges, binValues, boxStats, cn, createDefaultField, createDefaultTable, createDivergingScale, createSequentialScale, defaultUILabels, findOwnedLayers, formatTimeTick, frenchUILabels, generateFieldId, generateRelationId, generateSQL, generateTableId, getFocusableElements, getOrdinalColor, getSeriesColor, getSeriesLabel, hideOthers, isElementVisible, isFocusable, niceTimeTicks, quantile, quantileSorted, rampColor, registerFloatingLayer, resetBarChartWarnings, resetDumbbellWarnings, resetFacetWarnings, resolveSeriesColor, sturgesBins, toLegendItems, toTimestamp, useChartSize, useClickOutside, useDialogA11y, useDropdownContext, useFocusItem, useKeyboardNavigation, usePositioning, useSidebar, useUILabels, useWizard };
|
|
4713
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionType, type AccordionVariant, AdvanceDetachable, type AdvanceDetachableProps, type AdvanceDetachableRef, type AdvanceDetachableRenderContext, type AggregateFunction, type Align, AreaChart, type AreaChartProps, Avatar, type AvatarProps, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerType, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BinSpec, BoxPlot, type BoxPlotBox, type BoxPlotProps, type BoxPlotQuantileKeys, type BoxStats, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BulletChart, type BulletChartProps, type BulletRow, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, CHART_ALL_PAIRS_LIMIT, CHART_DIVERGING_COLORS, CHART_DIVERGING_DARK_STOPS, CHART_DIVERGING_NEUTRAL_INDEX, CHART_DOWN_COLOR, CHART_MAX_COLOR_CLASSES, CHART_MUTED_COLOR, CHART_ORDINAL_COLORS, CHART_ORDINAL_DARK_STOPS, CHART_PALETTE_SIZE, CHART_PATTERNS, CHART_SEQUENTIAL_COLORS, CHART_SEQUENTIAL_DARK_STOPS, CHART_SERIES_COLORS, CHART_SURFACE_COLOR, CHART_UP_COLOR, Calendar, type CalendarColor, type CalendarDateRange, type CalendarDayState, type CalendarLabels, type CalendarMode, type CalendarProps, type CalendarSize, type CalendarWeekStart, type Candle, CandlestickChart, type CandlestickChartProps, Card, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, type CartesianChartBaseProps, type ChartAnnotation, type ChartAnnotationBase, ChartAnnotationLayer, type ChartAnnotationLayerProps, ChartAxis, type ChartAxisOrientation, type ChartAxisProps, type ChartBandAnnotation, type ChartColorScale, ChartContainer, type ChartContainerProps, type ChartContainerRenderArgs, type ChartCurve, type ChartDatum, type ChartDimensions, type ChartFacetPanel, ChartFacets, type ChartFacetsProps, ChartFilterBar, type ChartFilterBarProps, ChartGrid, type ChartGridLines, type ChartGridProps, ChartLegend, type ChartLegendItem, type ChartLegendMarker, type ChartLegendPosition, type ChartLegendProps, type ChartLineAnnotation, type ChartMargin, type ChartPattern, ChartPatternDefs, type ChartPatternDefsProps, type ChartPatternEntry, type ChartPeriod, ChartPeriodPicker, type ChartPeriodPickerProps, type ChartPeriodPreset, type ChartPoint, type ChartPointAnnotation, type ChartPointEvent, type ChartReferenceLine, ChartScaleLegend, type ChartScaleLegendProps, type ChartScaleType, type ChartSeries, type ChartSize, ChartTableView, type ChartTableViewProps, type ChartTick, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipPayload, type ChartTooltipProps, type ChartXAxisConfig, type ChartXValue, type ChartYAxisConfig, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipColor, type ChipProps, type ChipSize, type ChipVariant, CircularProgress, type CircularProgressColor, type CircularProgressProps, type CircularProgressSize, type CircularProgressThickness, type ColumnDef, DEFAULT_CHART_PERIOD_PRESETS, DEFAULT_CHART_WIDTH, DEFAULT_FIELD_TYPES, DataGrid, type DataGridMode, type DataGridProps, type DataGridRef, type Density, Detachable, type DetachableProps, type DetachableRef, DeviceMockup, type DeviceMockupProps, type DeviceOrientation, type DeviceSize, type DeviceTheme, type DeviceType, type DialogA11yProps, type DialogInitialFocus, type DialogReturnFocus, type DivergingScaleOptions, Divider, type DividerOrientation, type DividerProps, type DividerTextAlign, type DividerVariant, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, Dropdown, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownContextValue, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownLabelProps, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorProps, DropdownSubMenu, DropdownSubMenuContent, type DropdownSubMenuContentProps, type DropdownSubMenuProps, DropdownSubMenuTrigger, type DropdownSubMenuTriggerProps, DropdownTrigger, type DropdownTriggerProps, DumbbellChart, type DumbbellChartProps, type DumbbellRow, type DumbbellSort, FOCUSABLE_SELECTOR, FileSelector, type FileSelectorProps, type FilterOperator, type FilterType, type FilterValue, Footer, FooterBottom, type FooterBottomProps, FooterColumn, type FooterColumnProps, FooterLink, type FooterLinkProps, type FooterProps, FooterSection, type FooterSectionProps, FooterSocial, FooterSocialLink, type FooterSocialLinkProps, type FooterSocialProps, FunnelChart, type FunnelChartProps, type FunnelStage, GanttChart, type GanttChartProps, type GanttTask, Header, type HeaderProps, Heatmap, type HeatmapCell, type HeatmapProps, HelpButton, type HelpButtonProps, type HistogramBin, INERT_IGNORE_ATTRIBUTE, ImageUploader, type ImageUploaderProps, Indicator, type IndicatorColor, type IndicatorPlacement, type IndicatorProps, type IndicatorSize, type IndicatorVariant, Input, type InputProps, Label, type LabelColor, type LabelProps, type LabelSize, type LabelVariant, type LabelWeight, LineChart, type LineChartProps, MarkdownEditorComponent, type MentionData, MentionInput, type MentionInputProps, type MentionInputValue, type MentionSuggestion, Modal, type ModalProps, type NavItem, type NodeRegistryEntry, NumberInput, type NumberInputProps, Pagination, type PaginationConfig, type PaginationProps, PieChart, type PieChartProps, type Position, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant, RadioButton, type RadioButtonProps, ScatterChart, type ScatterChartProps, SchemaEditor, type SchemaEditorProps, type SchemaEditorRef, type SchemaField, type SchemaFieldEvent, type SchemaFieldType, type SchemaRelation, type SchemaRelationCardinality, type SchemaTable, type SchemaTableEvent, type SchemaValue, type SchemaViewport, Select, type SelectOption, type SelectProps, type SelectedFile, type SelectionMode, type SequentialScaleOptions, type Side, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarPosition, type SidebarProps, SidebarSubMenu, type SidebarSubMenuProps, SidebarToggle, type SidebarToggleProps, type SidebarVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderColor, type SliderMark, type SliderProps, type SliderSize, type SortDirection, type SortState, Sparkline, type SparklineProps, StatCard, type StatCardDelta, type StatCardDeltaDirection, type StatCardDeltaTone, StatCardGroup, type StatCardGroupProps, type StatCardProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsColor, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, type TimeTickScale, type TimeUnit, Toast, type ToastPosition, type ToastProps, type ToastType, type ToastVariant, Tooltip, type TooltipPosition, type TooltipProps, type TooltipSize, type TooltipTrigger, type TooltipVariant, type UILabels, UILabelsProvider, type UILabelsProviderProps, type UseChartSizeOptions, type UseChartSizeResult, type UseDialogA11yOptions, type UseDialogA11yResult, type UseKeyboardNavigationOptions, type UsePositioningOptions, WaterfallChart, type WaterfallChartProps, type WaterfallKind, type WaterfallStep, WithHelpButton, type WithHelpButtonProps, Wizard, WizardActions, type WizardActionsProps, type WizardColor, WizardContent, type WizardContentProps, type WizardContextValue, type WizardDirection, WizardNext, type WizardNextProps, type WizardOrientation, WizardPanel, type WizardPanelProps, WizardPrevious, type WizardPreviousProps, type WizardProps, type WizardSize, type WizardStepChangeMeta, type WizardStepDefinition, type WizardStepStatus, WizardSteps, type WizardStepsProps, type WizardVariant, type WorkflowDirection, type WorkflowEdge, WorkflowEditor, type WorkflowEditorProps, type WorkflowEditorRef, type WorkflowNode, type WorkflowNodeAction, type WorkflowNodeActionEvent, type WorkflowNodeActionPosition, type WorkflowNodeEvent, type WorkflowPort, type WorkflowValue, type WorkflowViewport, autoLayoutTables, binEdges, binValues, boxStats, cn, createDefaultField, createDefaultTable, createDivergingScale, createPeriod, createSequentialScale, defaultUILabels, describeAnnotations, endOfDay, findOwnedLayers, formatPeriodRange, formatTimeTick, frenchUILabels, generateFieldId, generateRelationId, generateSQL, generateTableId, getFocusableElements, getOrdinalColor, getPattern, getSeriesColor, getSeriesLabel, hideOthers, isElementVisible, isFocusable, niceTimeTicks, patternBackground, patternFill, patternId, quantile, quantileSorted, rampColor, registerFloatingLayer, resetBarChartWarnings, resetDumbbellWarnings, resetFacetWarnings, resolvePeriodPreset, resolveSeriesColor, samePeriod, startOfDay, sturgesBins, toLegendItems, toTimestamp, useChartSize, useClickOutside, useDialogA11y, useDropdownContext, useFocusItem, useKeyboardNavigation, usePositioning, useSidebar, useUILabels, useWizard };
|