@mediaradar/design-components 0.58.0 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/approved-components.json +1 -1
- package/dist/index.cjs +262 -119
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +157 -29
- package/dist/index.d.ts +157 -29
- package/dist/index.js +283 -143
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { ReactNode, HTMLAttributes, RefObject, ButtonHTMLAttributes, Ref, ReactElement, MouseEventHandler, InputHTMLAttributes, ComponentType } from 'react';
|
|
2
|
+
import { ReactNode, HTMLAttributes, RefObject, ButtonHTMLAttributes, Ref, ReactElement, MouseEventHandler, InputHTMLAttributes, AnchorHTMLAttributes, ComponentType } from 'react';
|
|
3
3
|
import { LucideIcon } from 'lucide-react';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -2393,7 +2393,12 @@ type SortState<K extends string> = {
|
|
|
2393
2393
|
* since the useful first look differs by column: counts and dates want the
|
|
2394
2394
|
* largest or newest first, names want A→Z.
|
|
2395
2395
|
*/
|
|
2396
|
-
declare function cycleSort<K extends string>(current: SortState<K>, key: K, firstDir?: SortDir
|
|
2396
|
+
declare function cycleSort<K extends string>(current: SortState<K>, key: K, firstDir?: SortDir,
|
|
2397
|
+
/**
|
|
2398
|
+
* The table's default sort. The third click returns here instead of to
|
|
2399
|
+
* "unsorted", so the table is never in an order nobody chose (UXD-196).
|
|
2400
|
+
*/
|
|
2401
|
+
fallback?: SortState<K>): SortState<K>;
|
|
2397
2402
|
/**
|
|
2398
2403
|
* `SortState` in the shape SortButton takes. SortButton wants a non-null
|
|
2399
2404
|
* object and reads `key: null` as "no column active".
|
|
@@ -2430,6 +2435,12 @@ interface SortButtonProps<K extends string> extends CommonProps {
|
|
|
2430
2435
|
sortable?: boolean;
|
|
2431
2436
|
/** Matches the column's alignment, so a label that wraps lines up with the cells under it. */
|
|
2432
2437
|
align?: "left" | "center" | "right";
|
|
2438
|
+
/**
|
|
2439
|
+
* What the column means, for a non-obvious measure ("Share of the set's
|
|
2440
|
+
* total spend"). The label gets a dotted underline and this shows on hover
|
|
2441
|
+
* and keyboard focus; a click still sorts. One or two sentences, plain text.
|
|
2442
|
+
*/
|
|
2443
|
+
description?: string;
|
|
2433
2444
|
/**
|
|
2434
2445
|
* Optional prefix for the button's `data-testid` (`${testIdPrefix}-sort-${sortKey}`, on the root `<button>`;
|
|
2435
2446
|
* the plain-text form for `sortable={false}` gets none). Omit for no test-id wiring.
|
|
@@ -2442,14 +2453,18 @@ interface SortButtonProps<K extends string> extends CommonProps {
|
|
|
2442
2453
|
* @status stable
|
|
2443
2454
|
* @audited 2026-11-12
|
|
2444
2455
|
* @description Design-system rule: every sortable table column header uses
|
|
2445
|
-
* this exact icon/color treatment.
|
|
2446
|
-
*
|
|
2447
|
-
*
|
|
2448
|
-
*
|
|
2449
|
-
*
|
|
2456
|
+
* this exact icon/color treatment. The sorted column always shows its
|
|
2457
|
+
* direction arrow (ArrowUp/ArrowDown) in the brand action blue, including a
|
|
2458
|
+
* table's default sort before anyone clicks. Every other sortable column's
|
|
2459
|
+
* ArrowUpDown is hidden until the header is hovered or focused (faint on
|
|
2460
|
+
* touch screens, which can't hover); its space is always kept, so nothing
|
|
2461
|
+
* shifts. A header with a `description` gets a dotted underline and shows
|
|
2462
|
+
* the description on hover and focus (UXD-196).
|
|
2463
|
+
* @tokens text-text-tertiary, text-brand-primaryAction, hover:text-text-primary, focus-visible:outline-border-focus, decoration-text-tertiary
|
|
2450
2464
|
* @dependencies lucide-react
|
|
2451
2465
|
* @behavior Pair with `cycleSort`/`sortProp` (exported alongside) for the
|
|
2452
|
-
* standard
|
|
2466
|
+
* standard cycle — sort, reverse, then back to the table's default sort
|
|
2467
|
+
* (or unsorted when it has none). `disabled` keeps
|
|
2453
2468
|
* the column's inherited header color rather than dimming it — the column
|
|
2454
2469
|
* isn't unavailable, there's just no data under it.
|
|
2455
2470
|
* `sortable={false}` renders just the label, for a column that is never
|
|
@@ -3501,8 +3516,22 @@ interface DataTableColumn<T, K extends string = string> {
|
|
|
3501
3516
|
label: string;
|
|
3502
3517
|
/** What one row shows in this column. Free content: text, a logo, a Tag, a Delta. */
|
|
3503
3518
|
cell: (row: T) => ReactNode;
|
|
3504
|
-
/**
|
|
3519
|
+
/**
|
|
3520
|
+
* Figures: amounts, counts, percentages, changes. Right-aligned (header
|
|
3521
|
+
* too), lining figures, a fixed width. Not dates: they're words now
|
|
3522
|
+
* ("Nov 4, 2026") and sit left like text.
|
|
3523
|
+
*/
|
|
3505
3524
|
numeric?: boolean;
|
|
3525
|
+
/** The rank (1, 2, 3 …) before the name: narrow, right-aligned, grey. */
|
|
3526
|
+
rank?: boolean;
|
|
3527
|
+
/**
|
|
3528
|
+
* What the column means, for a non-obvious measure only ("Share of the
|
|
3529
|
+
* set's total spend"). Dotted underline on the header; shows on hover and
|
|
3530
|
+
* focus. One or two sentences from the shared glossary.
|
|
3531
|
+
*/
|
|
3532
|
+
info?: string;
|
|
3533
|
+
/** Why a cell is empty when `cell` returns nothing. Default "No data". */
|
|
3534
|
+
missing?: string;
|
|
3506
3535
|
/**
|
|
3507
3536
|
* `fill` takes what's left (the default for text columns); `sm` 96, `md` 144
|
|
3508
3537
|
* (the default for numeric columns) and `lg` 192 are fixed.
|
|
@@ -3518,16 +3547,45 @@ interface DataTableProps<T, K extends string = string> extends CommonProps {
|
|
|
3518
3547
|
rows: T[];
|
|
3519
3548
|
/** A stable key per row -- an id, not the index. */
|
|
3520
3549
|
rowKey: (row: T) => string;
|
|
3521
|
-
/**
|
|
3550
|
+
/**
|
|
3551
|
+
* The table's title, "Top publishers". Drawn above the frame as a Section
|
|
3552
|
+
* heading, so the frame starts with the header band. With `variant="chart"`
|
|
3553
|
+
* (a dashboard) it sits inside the frame, styled like the chart Card.
|
|
3554
|
+
* Leave out for a table the page already names.
|
|
3555
|
+
*/
|
|
3522
3556
|
title?: ReactNode;
|
|
3523
|
-
/** One
|
|
3557
|
+
/** One line under the title. */
|
|
3524
3558
|
subtitle?: ReactNode;
|
|
3525
|
-
/** Right
|
|
3559
|
+
/** Right of the title: a "View all" link, an export Button. */
|
|
3526
3560
|
action?: ReactNode;
|
|
3561
|
+
/**
|
|
3562
|
+
* `chart` for a table on a dashboard, beside chart cards: the title goes
|
|
3563
|
+
* inside the frame and matches the chart Card's (15px title, subtitle,
|
|
3564
|
+
* padding). Default: the title goes above the frame.
|
|
3565
|
+
*/
|
|
3566
|
+
variant?: "default" | "chart";
|
|
3567
|
+
/** Heading level of an outside `title`. Default `h2`; `h3` under a section heading. */
|
|
3568
|
+
titleAs?: "h2" | "h3";
|
|
3527
3569
|
/** Names the table for screen readers when there's no `title`. */
|
|
3528
3570
|
"aria-label"?: string;
|
|
3529
3571
|
sort?: SortState<K>;
|
|
3530
3572
|
onSortChange?: (sort: SortState<K>) => void;
|
|
3573
|
+
/**
|
|
3574
|
+
* The order the table opens in (main figure highest first; names A–Z;
|
|
3575
|
+
* dates newest first). Its arrow shows before anyone clicks, and the third
|
|
3576
|
+
* click on a column comes back to it. Start `sort` here, and keep `sort`
|
|
3577
|
+
* in the page address so refresh and shared links keep it.
|
|
3578
|
+
*/
|
|
3579
|
+
defaultSort?: SortState<K>;
|
|
3580
|
+
/**
|
|
3581
|
+
* Rows that open in place (a trend, the top publishers). A chevron at the
|
|
3582
|
+
* start of the row opens it, and so does a click anywhere else on the row.
|
|
3583
|
+
*/
|
|
3584
|
+
renderExpanded?: (row: T) => ReactNode;
|
|
3585
|
+
/** Which rows can open. Default: every row, when `renderExpanded` is set. */
|
|
3586
|
+
canExpand?: (row: T) => boolean;
|
|
3587
|
+
/** Names a row for the chevron's screen-reader label ("Show details for Nike"). */
|
|
3588
|
+
rowLabel?: (row: T) => string;
|
|
3531
3589
|
/** `default` for tables people read and act on; `compact` for reference data and long lists. */
|
|
3532
3590
|
density?: DataTableDensity;
|
|
3533
3591
|
/** Shows skeleton rows in the real columns, at the real row height. */
|
|
@@ -3544,48 +3602,89 @@ interface DataTableProps<T, K extends string = string> extends CommonProps {
|
|
|
3544
3602
|
/** `data-testid` on the frame; each sortable header's button gets `${testIdPrefix}-sort-<key>`. */
|
|
3545
3603
|
testIdPrefix?: string;
|
|
3546
3604
|
}
|
|
3605
|
+
/**
|
|
3606
|
+
* The grey dash for a missing value. Hover says why ("No data", "New this
|
|
3607
|
+
* period"); screen readers hear the reason, not "dash". Return it from a
|
|
3608
|
+
* `cell` for a reason other than the column's `missing`.
|
|
3609
|
+
*/
|
|
3610
|
+
declare function NoValue({ reason }: {
|
|
3611
|
+
reason?: string;
|
|
3612
|
+
}): react.JSX.Element;
|
|
3613
|
+
/**
|
|
3614
|
+
* The entity name in a row, as a real link to its overview: plain text at
|
|
3615
|
+
* rest, underlined on hover, so Cmd/Ctrl-click opens a new tab.
|
|
3616
|
+
*/
|
|
3617
|
+
declare function TableLink({ className, ...props }: AnchorHTMLAttributes<HTMLAnchorElement>): react.JSX.Element;
|
|
3547
3618
|
/**
|
|
3548
3619
|
* @pattern DataTable
|
|
3549
3620
|
* @since 0.24.0
|
|
3550
3621
|
* @status stable
|
|
3551
|
-
* @description The shared table: a card frame
|
|
3552
|
-
*
|
|
3622
|
+
* @description The shared table: a card frame that starts with the header
|
|
3623
|
+
* band (its title sits above it as a Section heading; on a dashboard,
|
|
3624
|
+
* `variant="chart"` puts it inside, like the chart Card), then rows with hairline dividers and a hover wash, and the empty
|
|
3553
3625
|
* and loading states. Each screen describes its columns -- label, cell,
|
|
3554
3626
|
* numeric, width, sortable -- and the shell draws them, so a column can't be
|
|
3555
3627
|
* mis-aligned or mis-padded. Body 13px, header 11px uppercase and
|
|
3556
3628
|
* letterspaced in secondary ink on the subtle band. Text columns fill the
|
|
3557
|
-
* width; numeric columns are fixed, right-aligned and use
|
|
3558
|
-
* figures sit together at the right edge.
|
|
3629
|
+
* width; numeric columns are fixed, right-aligned (header included) and use
|
|
3630
|
+
* lining figures, so figures sit together at the right edge. Dates are text
|
|
3631
|
+
* and sit left. A cell with nothing to show is a grey dash that says why on
|
|
3632
|
+
* hover. The default sort's arrow shows before anyone clicks. Rows can open
|
|
3633
|
+
* in place, and the name links to the entity's overview (UXD-196).
|
|
3559
3634
|
* @variant default - Default. Tables people read and act on.
|
|
3560
3635
|
* @variant compact - Reference data and long lists.
|
|
3561
3636
|
* @tokens rounded-card, border, border-border-default, bg-surface,
|
|
3562
|
-
* p-card-padding, text-
|
|
3637
|
+
* p-card-padding, text-panel-title, text-xs, text-text-tertiary, gap-3,
|
|
3563
3638
|
* text-left, border-collapse, bg-subtle, text-micro, font-semibold, uppercase,
|
|
3564
3639
|
* tracking-wider, text-text-secondary, text-right, text-dense,
|
|
3565
3640
|
* text-text-primary, hover:bg-subtle, tabular-nums, rounded-full,
|
|
3566
|
-
* animate-pulse, border-t
|
|
3641
|
+
* animate-pulse, border-t, decoration-text-tertiary, rounded-control,
|
|
3642
|
+
* focus-visible:outline-border-focus
|
|
3567
3643
|
* @behavior Sorting: a `sortable` column's header gets a SortButton; clicks
|
|
3568
|
-
* cycle the column's `firstDir`, then the reverse, then
|
|
3569
|
-
* (`cycleSort`), and call `onSortChange`. The
|
|
3644
|
+
* cycle the column's `firstDir`, then the reverse, then back to
|
|
3645
|
+
* `defaultSort` (`cycleSort`), and call `onSortChange`. The sorted column
|
|
3646
|
+
* always shows its arrow; the others show theirs on hover and focus. The table doesn't sort the rows
|
|
3570
3647
|
* itself: sort them before passing `rows`. `loading` keeps the header and
|
|
3571
3648
|
* draws `loadingRows` skeleton rows. An empty `rows` keeps the header and
|
|
3572
3649
|
* shows `empty` in one cell across every column, padded 48px top and bottom
|
|
3573
|
-
* and 24px at the sides (pass a bare stack such as NoResultsEmptyState).
|
|
3650
|
+
* and 24px at the sides (pass a bare stack such as NoResultsEmptyState).
|
|
3651
|
+
* A `cell` that returns nothing shows `NoValue` with the column's `missing`
|
|
3652
|
+
* reason ("No data"); return `<NoValue reason="New this period" />` for
|
|
3653
|
+
* another reason. A real zero is "0", never a dash.
|
|
3654
|
+
* With `renderExpanded`, a chevron at the row's start opens the row; a click
|
|
3655
|
+
* anywhere else on it does too, except on its own controls (links, buttons,
|
|
3656
|
+
* checkboxes, menus) or while selecting text. Several rows can be open;
|
|
3657
|
+
* sorting or paging closes them. Rows that can't open have no pointer.
|
|
3658
|
+
* `maxHeight` makes the body
|
|
3574
3659
|
* scroll under a pinned header; wide tables always scroll sideways rather than
|
|
3575
3660
|
* squeeze.
|
|
3576
3661
|
* @a11y A real <table>. Named by `title` (aria-labelledby) or `aria-label`.
|
|
3577
3662
|
* Sorted columns carry aria-sort on the header cell; the sort control is a
|
|
3578
|
-
* button inside it. `
|
|
3663
|
+
* button inside it. A header's `info` shows on hover and keyboard focus and
|
|
3664
|
+
* is announced with it. The row's chevron is a button with aria-expanded and
|
|
3665
|
+
* a label naming the row ("Show details for Nike"); the row click is only a
|
|
3666
|
+
* shortcut for it. `NoValue` reads its reason, not "dash". `loading` sets aria-busy.
|
|
3579
3667
|
* @use for every table of rows and columns, in a page or in a card.
|
|
3580
|
-
* @use `title`
|
|
3668
|
+
* @use `title` for the table's name: it sits above the frame as a Section
|
|
3669
|
+
* heading, with `subtitle` and `action` beside it. On a dashboard, beside
|
|
3670
|
+
* chart cards, add `variant="chart"` to put it inside, matching them. The table runs edge to edge;
|
|
3581
3671
|
* never put it inside a padded Card.
|
|
3582
|
-
* @use `numeric` for amounts, counts, percentages and dates,
|
|
3583
|
-
*
|
|
3672
|
+
* @use `numeric` for amounts, counts, percentages and changes (not dates),
|
|
3673
|
+
* written by `formatMoney` / `formatCount` / `formatPercent`, and `Delta` in
|
|
3674
|
+
* the cell of a change column. A bar or badge beside a figure goes before
|
|
3675
|
+
* it, so the figure ends at the right edge.
|
|
3676
|
+
* @use `rank` for a 1, 2, 3 … column before the name.
|
|
3677
|
+
* @use a total column right after the name, styled like every other figure:
|
|
3678
|
+
* no fill, no bold.
|
|
3679
|
+
* @use `info` only for non-obvious measures (share of spend, index), never
|
|
3680
|
+
* an icon in the header.
|
|
3681
|
+
* @use `TableLink` for the name, to the entity's overview; end an expanded
|
|
3682
|
+
* row with a "View overview" link.
|
|
3584
3683
|
* @use `footer={<Pager />}` in a card; `TablePagination` after a full-page table.
|
|
3585
3684
|
* @avoid a hand-built <table> -- the padding and header drift is what this
|
|
3586
3685
|
* replaces.
|
|
3587
|
-
* @avoid zebra stripes or a
|
|
3588
|
-
*
|
|
3686
|
+
* @avoid zebra stripes, or a row click that navigates: a row click only
|
|
3687
|
+
* opens the row, and only the name goes to another page.
|
|
3589
3688
|
* @avoid a layout of label/value pairs -- that's a description list, not a table.
|
|
3590
3689
|
* @usage
|
|
3591
3690
|
* ```tsx
|
|
@@ -3604,7 +3703,7 @@ interface DataTableProps<T, K extends string = string> extends CommonProps {
|
|
|
3604
3703
|
* />
|
|
3605
3704
|
* ```
|
|
3606
3705
|
*/
|
|
3607
|
-
declare function DataTable<T, K extends string = string>({ columns, rows, rowKey, title, subtitle, action, sort, onSortChange, density, loading, loadingRows, empty, maxHeight, footer, className, testIdPrefix, ...rest }: DataTableProps<T, K>): react.JSX.Element;
|
|
3706
|
+
declare function DataTable<T, K extends string = string>({ columns, rows, rowKey, title, subtitle, action, variant, titleAs, sort, onSortChange, defaultSort, renderExpanded, canExpand, rowLabel, density, loading, loadingRows, empty, maxHeight, footer, className, testIdPrefix, ...rest }: DataTableProps<T, K>): react.JSX.Element;
|
|
3608
3707
|
|
|
3609
3708
|
type MediaType = "TV" | "CTV" | "Digital" | "Social" | "Radio" | "Newspaper" | "Magazine";
|
|
3610
3709
|
interface MediaLabelProps extends CommonProps {
|
|
@@ -4101,4 +4200,33 @@ declare function formatMoneyFull(value: number | null | undefined, opts?: MoneyF
|
|
|
4101
4200
|
*/
|
|
4102
4201
|
declare function formatPercent(value: number | null | undefined, _opts?: NumberFormatOptions): string;
|
|
4103
4202
|
|
|
4104
|
-
|
|
4203
|
+
/**
|
|
4204
|
+
* @pattern Figure
|
|
4205
|
+
* @since 0.59.0
|
|
4206
|
+
* @description One amount or count, written short ("$448.7M") with the full
|
|
4207
|
+
* figure ("$448,700,000") on hover, as the numbers rule (COPY-04) asks
|
|
4208
|
+
* wherever a figure is shortened. Figures under 10,000 are already in full
|
|
4209
|
+
* and get no hover. A missing value is the grey dash with its reason.
|
|
4210
|
+
* @variant kind: money | count
|
|
4211
|
+
* @tokens text-text-tertiary
|
|
4212
|
+
* @dependencies Tooltip, NoValue
|
|
4213
|
+
* @a11y Screen readers hear the full figure, not the short one: "$448.7M"
|
|
4214
|
+
* could be read as "448.7 meters".
|
|
4215
|
+
* @use in table cells, KPI tiles and cards: anywhere a single amount or count shows.
|
|
4216
|
+
* @avoid writing figures by hand or with `toLocaleString`.
|
|
4217
|
+
* @usage
|
|
4218
|
+
* ```tsx
|
|
4219
|
+
* <Figure value={448_700_000} />
|
|
4220
|
+
* <Figure value={12_400} kind="count" language="en-GB" />
|
|
4221
|
+
* ```
|
|
4222
|
+
*/
|
|
4223
|
+
interface FigureProps extends MoneyFormatOptions {
|
|
4224
|
+
value: number | null | undefined;
|
|
4225
|
+
/** `money` (default) or `count`. */
|
|
4226
|
+
kind?: "money" | "count";
|
|
4227
|
+
/** Why the value is missing, when it is. Default "No data". */
|
|
4228
|
+
missing?: string;
|
|
4229
|
+
}
|
|
4230
|
+
declare function Figure({ value, kind, missing, ...opts }: FigureProps): react.JSX.Element;
|
|
4231
|
+
|
|
4232
|
+
export { AISpark, type AISparkProps, AdvertiserNoResults, type AdvertiserNoResultsProps, AdvertiserQuickFilter, type AdvertiserQuickFilterProps, AdvertiserSearchPrompt, type AdvertiserSearchPromptProps, AllFiltersButton, type AllFiltersButtonProps, type AxisMonthLabel, Badge, type BadgeKind, type BadgeProps, type BadgeTone, BarChartPlaceholder, type BarChartPlaceholderProps, BarList, type BarListProps, type BarListRow, Button, type ButtonProps, Card, type CardProps, ChartLegend, type ChartLegendProps, CheckBox, CheckBoxBox, type CheckBoxBoxProps, type CheckBoxProps, ChipContent, type ChipContentProps, type ChipVariant, type CommonProps, CopyButton, type CopyButtonProps, type Currency, DEFAULT_SEARCH_MATCH, DataScopeFilter, type DataScopeFilterProps, DataTable, type DataTableColumn, type DataTableColumnWidth, type DataTableDensity, type DataTableProps, type DateFormatOptions, type DateGranularity, type DateOrder, DateRangeFilter, type DateRangeFilterProps, type DateRangeFormatOptions, DateRangePicker, type DateRangePickerProps, Delta, type DeltaProps, Drawer, type DrawerProps, type DrawerSize, EmptyState, type EmptyStateProps, type EmptyStateSize, Figure, type FigureProps, FilterChipBar, type FilterChipBarProps, FilterDrawer, type FilterDrawerProps, type FilterDrawerSection, FilterDropdownFooter, type FilterDropdownFooterProps, Freshness, type FreshnessLevel, type FreshnessProps, InfoTip, type InfoTipProps, InlineMessage, type InlineMessageProps, type InlineMessageTone, LegendItem, type LegendItemProps, type LegendMark, LineChartPlaceholder, type LineChartPlaceholderProps, MediaLabel, type MediaLabelProps, type MediaType, Menu, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, MenuSeparator, Modal, type ModalProps, type ModalSize, type MoneyFormatOptions, MultiSelectFilter, type MultiSelectFilterProps, type MultiSelectGroup, NO_RESULTS_BODY, NO_RESULTS_TITLE, NO_VALUE, NameListModal, type NameListModalProps, type NoResultsAction, NoResultsEmptyState, type NoResultsEmptyStateProps, NoValue, type NumberFormatOptions, PRIMARY_ACTION_CLASS, PageHeader, type PageHeaderProps, Pager, type PagerProps, type PickerColumn, type PickerFilter, type PickerRow, PieChartPlaceholder, type PieChartPlaceholderProps, PrimaryBadge, type PrimaryBadgeProps, type PubBreak, PublisherBreakdownList, type PublisherBreakdownListProps, QUIET_ACTION_CLASS, SearchBar, type SearchBarProps, type SearchBarSize, type SearchBarVariant, type SearchMatchMode, type SearchMatchValue, type SearchScope, SectionHeading, type SectionHeadingProps, SectionRail, type SectionRailProps, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, type SegmentedOption, SelectAllVisible, type SelectAllVisibleProps, SelectFilter, type SelectFilterProps, SelectedSection, type SelectedSectionProps, SelectionPicker, type SelectionPickerAccountList, type SelectionPickerProps, SortButton, type SortButtonProps, type SortDir, type SortState, StackedColumnPlaceholder, type StackedColumnPlaceholderProps, StatStrip, type StatStripProps, StatTile, type StatTileProps, SuggestionChip, type SuggestionChipProps, type SummaryGroup, type SummaryGroupItemValue, type TabItem, TableLink, TablePagination, type TablePaginationProps, Tabs, type TabsProps, Tag, type TagProps, TextField, type TextFieldProps, type TextFieldSize, Toast, type ToastProps, type ToastTone, Toggle, ToggleChip, type ToggleChipProps, type ToggleProps, Tooltip, type TooltipProps, WorkspaceAvatar, type WorkspaceAvatarProps, WorkspaceSelectedCard, type WorkspaceSelectedCardProps, ariaSortFor, buttonVariants, chipTriggerClass, cycleSort, defaultDateOrder, formatCount, formatCountFull, formatDate, formatDateRange, formatDateTime, formatIsoDate, formatMoney, formatMoneyFull, formatMonth, formatMonthAxis, formatOpenRange, formatPercent, formatQuarter, formatRelative, formatTime, formatWeek, noResultsBody, resolveRange, sortProp };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { ReactNode, HTMLAttributes, RefObject, ButtonHTMLAttributes, Ref, ReactElement, MouseEventHandler, InputHTMLAttributes, ComponentType } from 'react';
|
|
2
|
+
import { ReactNode, HTMLAttributes, RefObject, ButtonHTMLAttributes, Ref, ReactElement, MouseEventHandler, InputHTMLAttributes, AnchorHTMLAttributes, ComponentType } from 'react';
|
|
3
3
|
import { LucideIcon } from 'lucide-react';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -2393,7 +2393,12 @@ type SortState<K extends string> = {
|
|
|
2393
2393
|
* since the useful first look differs by column: counts and dates want the
|
|
2394
2394
|
* largest or newest first, names want A→Z.
|
|
2395
2395
|
*/
|
|
2396
|
-
declare function cycleSort<K extends string>(current: SortState<K>, key: K, firstDir?: SortDir
|
|
2396
|
+
declare function cycleSort<K extends string>(current: SortState<K>, key: K, firstDir?: SortDir,
|
|
2397
|
+
/**
|
|
2398
|
+
* The table's default sort. The third click returns here instead of to
|
|
2399
|
+
* "unsorted", so the table is never in an order nobody chose (UXD-196).
|
|
2400
|
+
*/
|
|
2401
|
+
fallback?: SortState<K>): SortState<K>;
|
|
2397
2402
|
/**
|
|
2398
2403
|
* `SortState` in the shape SortButton takes. SortButton wants a non-null
|
|
2399
2404
|
* object and reads `key: null` as "no column active".
|
|
@@ -2430,6 +2435,12 @@ interface SortButtonProps<K extends string> extends CommonProps {
|
|
|
2430
2435
|
sortable?: boolean;
|
|
2431
2436
|
/** Matches the column's alignment, so a label that wraps lines up with the cells under it. */
|
|
2432
2437
|
align?: "left" | "center" | "right";
|
|
2438
|
+
/**
|
|
2439
|
+
* What the column means, for a non-obvious measure ("Share of the set's
|
|
2440
|
+
* total spend"). The label gets a dotted underline and this shows on hover
|
|
2441
|
+
* and keyboard focus; a click still sorts. One or two sentences, plain text.
|
|
2442
|
+
*/
|
|
2443
|
+
description?: string;
|
|
2433
2444
|
/**
|
|
2434
2445
|
* Optional prefix for the button's `data-testid` (`${testIdPrefix}-sort-${sortKey}`, on the root `<button>`;
|
|
2435
2446
|
* the plain-text form for `sortable={false}` gets none). Omit for no test-id wiring.
|
|
@@ -2442,14 +2453,18 @@ interface SortButtonProps<K extends string> extends CommonProps {
|
|
|
2442
2453
|
* @status stable
|
|
2443
2454
|
* @audited 2026-11-12
|
|
2444
2455
|
* @description Design-system rule: every sortable table column header uses
|
|
2445
|
-
* this exact icon/color treatment.
|
|
2446
|
-
*
|
|
2447
|
-
*
|
|
2448
|
-
*
|
|
2449
|
-
*
|
|
2456
|
+
* this exact icon/color treatment. The sorted column always shows its
|
|
2457
|
+
* direction arrow (ArrowUp/ArrowDown) in the brand action blue, including a
|
|
2458
|
+
* table's default sort before anyone clicks. Every other sortable column's
|
|
2459
|
+
* ArrowUpDown is hidden until the header is hovered or focused (faint on
|
|
2460
|
+
* touch screens, which can't hover); its space is always kept, so nothing
|
|
2461
|
+
* shifts. A header with a `description` gets a dotted underline and shows
|
|
2462
|
+
* the description on hover and focus (UXD-196).
|
|
2463
|
+
* @tokens text-text-tertiary, text-brand-primaryAction, hover:text-text-primary, focus-visible:outline-border-focus, decoration-text-tertiary
|
|
2450
2464
|
* @dependencies lucide-react
|
|
2451
2465
|
* @behavior Pair with `cycleSort`/`sortProp` (exported alongside) for the
|
|
2452
|
-
* standard
|
|
2466
|
+
* standard cycle — sort, reverse, then back to the table's default sort
|
|
2467
|
+
* (or unsorted when it has none). `disabled` keeps
|
|
2453
2468
|
* the column's inherited header color rather than dimming it — the column
|
|
2454
2469
|
* isn't unavailable, there's just no data under it.
|
|
2455
2470
|
* `sortable={false}` renders just the label, for a column that is never
|
|
@@ -3501,8 +3516,22 @@ interface DataTableColumn<T, K extends string = string> {
|
|
|
3501
3516
|
label: string;
|
|
3502
3517
|
/** What one row shows in this column. Free content: text, a logo, a Tag, a Delta. */
|
|
3503
3518
|
cell: (row: T) => ReactNode;
|
|
3504
|
-
/**
|
|
3519
|
+
/**
|
|
3520
|
+
* Figures: amounts, counts, percentages, changes. Right-aligned (header
|
|
3521
|
+
* too), lining figures, a fixed width. Not dates: they're words now
|
|
3522
|
+
* ("Nov 4, 2026") and sit left like text.
|
|
3523
|
+
*/
|
|
3505
3524
|
numeric?: boolean;
|
|
3525
|
+
/** The rank (1, 2, 3 …) before the name: narrow, right-aligned, grey. */
|
|
3526
|
+
rank?: boolean;
|
|
3527
|
+
/**
|
|
3528
|
+
* What the column means, for a non-obvious measure only ("Share of the
|
|
3529
|
+
* set's total spend"). Dotted underline on the header; shows on hover and
|
|
3530
|
+
* focus. One or two sentences from the shared glossary.
|
|
3531
|
+
*/
|
|
3532
|
+
info?: string;
|
|
3533
|
+
/** Why a cell is empty when `cell` returns nothing. Default "No data". */
|
|
3534
|
+
missing?: string;
|
|
3506
3535
|
/**
|
|
3507
3536
|
* `fill` takes what's left (the default for text columns); `sm` 96, `md` 144
|
|
3508
3537
|
* (the default for numeric columns) and `lg` 192 are fixed.
|
|
@@ -3518,16 +3547,45 @@ interface DataTableProps<T, K extends string = string> extends CommonProps {
|
|
|
3518
3547
|
rows: T[];
|
|
3519
3548
|
/** A stable key per row -- an id, not the index. */
|
|
3520
3549
|
rowKey: (row: T) => string;
|
|
3521
|
-
/**
|
|
3550
|
+
/**
|
|
3551
|
+
* The table's title, "Top publishers". Drawn above the frame as a Section
|
|
3552
|
+
* heading, so the frame starts with the header band. With `variant="chart"`
|
|
3553
|
+
* (a dashboard) it sits inside the frame, styled like the chart Card.
|
|
3554
|
+
* Leave out for a table the page already names.
|
|
3555
|
+
*/
|
|
3522
3556
|
title?: ReactNode;
|
|
3523
|
-
/** One
|
|
3557
|
+
/** One line under the title. */
|
|
3524
3558
|
subtitle?: ReactNode;
|
|
3525
|
-
/** Right
|
|
3559
|
+
/** Right of the title: a "View all" link, an export Button. */
|
|
3526
3560
|
action?: ReactNode;
|
|
3561
|
+
/**
|
|
3562
|
+
* `chart` for a table on a dashboard, beside chart cards: the title goes
|
|
3563
|
+
* inside the frame and matches the chart Card's (15px title, subtitle,
|
|
3564
|
+
* padding). Default: the title goes above the frame.
|
|
3565
|
+
*/
|
|
3566
|
+
variant?: "default" | "chart";
|
|
3567
|
+
/** Heading level of an outside `title`. Default `h2`; `h3` under a section heading. */
|
|
3568
|
+
titleAs?: "h2" | "h3";
|
|
3527
3569
|
/** Names the table for screen readers when there's no `title`. */
|
|
3528
3570
|
"aria-label"?: string;
|
|
3529
3571
|
sort?: SortState<K>;
|
|
3530
3572
|
onSortChange?: (sort: SortState<K>) => void;
|
|
3573
|
+
/**
|
|
3574
|
+
* The order the table opens in (main figure highest first; names A–Z;
|
|
3575
|
+
* dates newest first). Its arrow shows before anyone clicks, and the third
|
|
3576
|
+
* click on a column comes back to it. Start `sort` here, and keep `sort`
|
|
3577
|
+
* in the page address so refresh and shared links keep it.
|
|
3578
|
+
*/
|
|
3579
|
+
defaultSort?: SortState<K>;
|
|
3580
|
+
/**
|
|
3581
|
+
* Rows that open in place (a trend, the top publishers). A chevron at the
|
|
3582
|
+
* start of the row opens it, and so does a click anywhere else on the row.
|
|
3583
|
+
*/
|
|
3584
|
+
renderExpanded?: (row: T) => ReactNode;
|
|
3585
|
+
/** Which rows can open. Default: every row, when `renderExpanded` is set. */
|
|
3586
|
+
canExpand?: (row: T) => boolean;
|
|
3587
|
+
/** Names a row for the chevron's screen-reader label ("Show details for Nike"). */
|
|
3588
|
+
rowLabel?: (row: T) => string;
|
|
3531
3589
|
/** `default` for tables people read and act on; `compact` for reference data and long lists. */
|
|
3532
3590
|
density?: DataTableDensity;
|
|
3533
3591
|
/** Shows skeleton rows in the real columns, at the real row height. */
|
|
@@ -3544,48 +3602,89 @@ interface DataTableProps<T, K extends string = string> extends CommonProps {
|
|
|
3544
3602
|
/** `data-testid` on the frame; each sortable header's button gets `${testIdPrefix}-sort-<key>`. */
|
|
3545
3603
|
testIdPrefix?: string;
|
|
3546
3604
|
}
|
|
3605
|
+
/**
|
|
3606
|
+
* The grey dash for a missing value. Hover says why ("No data", "New this
|
|
3607
|
+
* period"); screen readers hear the reason, not "dash". Return it from a
|
|
3608
|
+
* `cell` for a reason other than the column's `missing`.
|
|
3609
|
+
*/
|
|
3610
|
+
declare function NoValue({ reason }: {
|
|
3611
|
+
reason?: string;
|
|
3612
|
+
}): react.JSX.Element;
|
|
3613
|
+
/**
|
|
3614
|
+
* The entity name in a row, as a real link to its overview: plain text at
|
|
3615
|
+
* rest, underlined on hover, so Cmd/Ctrl-click opens a new tab.
|
|
3616
|
+
*/
|
|
3617
|
+
declare function TableLink({ className, ...props }: AnchorHTMLAttributes<HTMLAnchorElement>): react.JSX.Element;
|
|
3547
3618
|
/**
|
|
3548
3619
|
* @pattern DataTable
|
|
3549
3620
|
* @since 0.24.0
|
|
3550
3621
|
* @status stable
|
|
3551
|
-
* @description The shared table: a card frame
|
|
3552
|
-
*
|
|
3622
|
+
* @description The shared table: a card frame that starts with the header
|
|
3623
|
+
* band (its title sits above it as a Section heading; on a dashboard,
|
|
3624
|
+
* `variant="chart"` puts it inside, like the chart Card), then rows with hairline dividers and a hover wash, and the empty
|
|
3553
3625
|
* and loading states. Each screen describes its columns -- label, cell,
|
|
3554
3626
|
* numeric, width, sortable -- and the shell draws them, so a column can't be
|
|
3555
3627
|
* mis-aligned or mis-padded. Body 13px, header 11px uppercase and
|
|
3556
3628
|
* letterspaced in secondary ink on the subtle band. Text columns fill the
|
|
3557
|
-
* width; numeric columns are fixed, right-aligned and use
|
|
3558
|
-
* figures sit together at the right edge.
|
|
3629
|
+
* width; numeric columns are fixed, right-aligned (header included) and use
|
|
3630
|
+
* lining figures, so figures sit together at the right edge. Dates are text
|
|
3631
|
+
* and sit left. A cell with nothing to show is a grey dash that says why on
|
|
3632
|
+
* hover. The default sort's arrow shows before anyone clicks. Rows can open
|
|
3633
|
+
* in place, and the name links to the entity's overview (UXD-196).
|
|
3559
3634
|
* @variant default - Default. Tables people read and act on.
|
|
3560
3635
|
* @variant compact - Reference data and long lists.
|
|
3561
3636
|
* @tokens rounded-card, border, border-border-default, bg-surface,
|
|
3562
|
-
* p-card-padding, text-
|
|
3637
|
+
* p-card-padding, text-panel-title, text-xs, text-text-tertiary, gap-3,
|
|
3563
3638
|
* text-left, border-collapse, bg-subtle, text-micro, font-semibold, uppercase,
|
|
3564
3639
|
* tracking-wider, text-text-secondary, text-right, text-dense,
|
|
3565
3640
|
* text-text-primary, hover:bg-subtle, tabular-nums, rounded-full,
|
|
3566
|
-
* animate-pulse, border-t
|
|
3641
|
+
* animate-pulse, border-t, decoration-text-tertiary, rounded-control,
|
|
3642
|
+
* focus-visible:outline-border-focus
|
|
3567
3643
|
* @behavior Sorting: a `sortable` column's header gets a SortButton; clicks
|
|
3568
|
-
* cycle the column's `firstDir`, then the reverse, then
|
|
3569
|
-
* (`cycleSort`), and call `onSortChange`. The
|
|
3644
|
+
* cycle the column's `firstDir`, then the reverse, then back to
|
|
3645
|
+
* `defaultSort` (`cycleSort`), and call `onSortChange`. The sorted column
|
|
3646
|
+
* always shows its arrow; the others show theirs on hover and focus. The table doesn't sort the rows
|
|
3570
3647
|
* itself: sort them before passing `rows`. `loading` keeps the header and
|
|
3571
3648
|
* draws `loadingRows` skeleton rows. An empty `rows` keeps the header and
|
|
3572
3649
|
* shows `empty` in one cell across every column, padded 48px top and bottom
|
|
3573
|
-
* and 24px at the sides (pass a bare stack such as NoResultsEmptyState).
|
|
3650
|
+
* and 24px at the sides (pass a bare stack such as NoResultsEmptyState).
|
|
3651
|
+
* A `cell` that returns nothing shows `NoValue` with the column's `missing`
|
|
3652
|
+
* reason ("No data"); return `<NoValue reason="New this period" />` for
|
|
3653
|
+
* another reason. A real zero is "0", never a dash.
|
|
3654
|
+
* With `renderExpanded`, a chevron at the row's start opens the row; a click
|
|
3655
|
+
* anywhere else on it does too, except on its own controls (links, buttons,
|
|
3656
|
+
* checkboxes, menus) or while selecting text. Several rows can be open;
|
|
3657
|
+
* sorting or paging closes them. Rows that can't open have no pointer.
|
|
3658
|
+
* `maxHeight` makes the body
|
|
3574
3659
|
* scroll under a pinned header; wide tables always scroll sideways rather than
|
|
3575
3660
|
* squeeze.
|
|
3576
3661
|
* @a11y A real <table>. Named by `title` (aria-labelledby) or `aria-label`.
|
|
3577
3662
|
* Sorted columns carry aria-sort on the header cell; the sort control is a
|
|
3578
|
-
* button inside it. `
|
|
3663
|
+
* button inside it. A header's `info` shows on hover and keyboard focus and
|
|
3664
|
+
* is announced with it. The row's chevron is a button with aria-expanded and
|
|
3665
|
+
* a label naming the row ("Show details for Nike"); the row click is only a
|
|
3666
|
+
* shortcut for it. `NoValue` reads its reason, not "dash". `loading` sets aria-busy.
|
|
3579
3667
|
* @use for every table of rows and columns, in a page or in a card.
|
|
3580
|
-
* @use `title`
|
|
3668
|
+
* @use `title` for the table's name: it sits above the frame as a Section
|
|
3669
|
+
* heading, with `subtitle` and `action` beside it. On a dashboard, beside
|
|
3670
|
+
* chart cards, add `variant="chart"` to put it inside, matching them. The table runs edge to edge;
|
|
3581
3671
|
* never put it inside a padded Card.
|
|
3582
|
-
* @use `numeric` for amounts, counts, percentages and dates,
|
|
3583
|
-
*
|
|
3672
|
+
* @use `numeric` for amounts, counts, percentages and changes (not dates),
|
|
3673
|
+
* written by `formatMoney` / `formatCount` / `formatPercent`, and `Delta` in
|
|
3674
|
+
* the cell of a change column. A bar or badge beside a figure goes before
|
|
3675
|
+
* it, so the figure ends at the right edge.
|
|
3676
|
+
* @use `rank` for a 1, 2, 3 … column before the name.
|
|
3677
|
+
* @use a total column right after the name, styled like every other figure:
|
|
3678
|
+
* no fill, no bold.
|
|
3679
|
+
* @use `info` only for non-obvious measures (share of spend, index), never
|
|
3680
|
+
* an icon in the header.
|
|
3681
|
+
* @use `TableLink` for the name, to the entity's overview; end an expanded
|
|
3682
|
+
* row with a "View overview" link.
|
|
3584
3683
|
* @use `footer={<Pager />}` in a card; `TablePagination` after a full-page table.
|
|
3585
3684
|
* @avoid a hand-built <table> -- the padding and header drift is what this
|
|
3586
3685
|
* replaces.
|
|
3587
|
-
* @avoid zebra stripes or a
|
|
3588
|
-
*
|
|
3686
|
+
* @avoid zebra stripes, or a row click that navigates: a row click only
|
|
3687
|
+
* opens the row, and only the name goes to another page.
|
|
3589
3688
|
* @avoid a layout of label/value pairs -- that's a description list, not a table.
|
|
3590
3689
|
* @usage
|
|
3591
3690
|
* ```tsx
|
|
@@ -3604,7 +3703,7 @@ interface DataTableProps<T, K extends string = string> extends CommonProps {
|
|
|
3604
3703
|
* />
|
|
3605
3704
|
* ```
|
|
3606
3705
|
*/
|
|
3607
|
-
declare function DataTable<T, K extends string = string>({ columns, rows, rowKey, title, subtitle, action, sort, onSortChange, density, loading, loadingRows, empty, maxHeight, footer, className, testIdPrefix, ...rest }: DataTableProps<T, K>): react.JSX.Element;
|
|
3706
|
+
declare function DataTable<T, K extends string = string>({ columns, rows, rowKey, title, subtitle, action, variant, titleAs, sort, onSortChange, defaultSort, renderExpanded, canExpand, rowLabel, density, loading, loadingRows, empty, maxHeight, footer, className, testIdPrefix, ...rest }: DataTableProps<T, K>): react.JSX.Element;
|
|
3608
3707
|
|
|
3609
3708
|
type MediaType = "TV" | "CTV" | "Digital" | "Social" | "Radio" | "Newspaper" | "Magazine";
|
|
3610
3709
|
interface MediaLabelProps extends CommonProps {
|
|
@@ -4101,4 +4200,33 @@ declare function formatMoneyFull(value: number | null | undefined, opts?: MoneyF
|
|
|
4101
4200
|
*/
|
|
4102
4201
|
declare function formatPercent(value: number | null | undefined, _opts?: NumberFormatOptions): string;
|
|
4103
4202
|
|
|
4104
|
-
|
|
4203
|
+
/**
|
|
4204
|
+
* @pattern Figure
|
|
4205
|
+
* @since 0.59.0
|
|
4206
|
+
* @description One amount or count, written short ("$448.7M") with the full
|
|
4207
|
+
* figure ("$448,700,000") on hover, as the numbers rule (COPY-04) asks
|
|
4208
|
+
* wherever a figure is shortened. Figures under 10,000 are already in full
|
|
4209
|
+
* and get no hover. A missing value is the grey dash with its reason.
|
|
4210
|
+
* @variant kind: money | count
|
|
4211
|
+
* @tokens text-text-tertiary
|
|
4212
|
+
* @dependencies Tooltip, NoValue
|
|
4213
|
+
* @a11y Screen readers hear the full figure, not the short one: "$448.7M"
|
|
4214
|
+
* could be read as "448.7 meters".
|
|
4215
|
+
* @use in table cells, KPI tiles and cards: anywhere a single amount or count shows.
|
|
4216
|
+
* @avoid writing figures by hand or with `toLocaleString`.
|
|
4217
|
+
* @usage
|
|
4218
|
+
* ```tsx
|
|
4219
|
+
* <Figure value={448_700_000} />
|
|
4220
|
+
* <Figure value={12_400} kind="count" language="en-GB" />
|
|
4221
|
+
* ```
|
|
4222
|
+
*/
|
|
4223
|
+
interface FigureProps extends MoneyFormatOptions {
|
|
4224
|
+
value: number | null | undefined;
|
|
4225
|
+
/** `money` (default) or `count`. */
|
|
4226
|
+
kind?: "money" | "count";
|
|
4227
|
+
/** Why the value is missing, when it is. Default "No data". */
|
|
4228
|
+
missing?: string;
|
|
4229
|
+
}
|
|
4230
|
+
declare function Figure({ value, kind, missing, ...opts }: FigureProps): react.JSX.Element;
|
|
4231
|
+
|
|
4232
|
+
export { AISpark, type AISparkProps, AdvertiserNoResults, type AdvertiserNoResultsProps, AdvertiserQuickFilter, type AdvertiserQuickFilterProps, AdvertiserSearchPrompt, type AdvertiserSearchPromptProps, AllFiltersButton, type AllFiltersButtonProps, type AxisMonthLabel, Badge, type BadgeKind, type BadgeProps, type BadgeTone, BarChartPlaceholder, type BarChartPlaceholderProps, BarList, type BarListProps, type BarListRow, Button, type ButtonProps, Card, type CardProps, ChartLegend, type ChartLegendProps, CheckBox, CheckBoxBox, type CheckBoxBoxProps, type CheckBoxProps, ChipContent, type ChipContentProps, type ChipVariant, type CommonProps, CopyButton, type CopyButtonProps, type Currency, DEFAULT_SEARCH_MATCH, DataScopeFilter, type DataScopeFilterProps, DataTable, type DataTableColumn, type DataTableColumnWidth, type DataTableDensity, type DataTableProps, type DateFormatOptions, type DateGranularity, type DateOrder, DateRangeFilter, type DateRangeFilterProps, type DateRangeFormatOptions, DateRangePicker, type DateRangePickerProps, Delta, type DeltaProps, Drawer, type DrawerProps, type DrawerSize, EmptyState, type EmptyStateProps, type EmptyStateSize, Figure, type FigureProps, FilterChipBar, type FilterChipBarProps, FilterDrawer, type FilterDrawerProps, type FilterDrawerSection, FilterDropdownFooter, type FilterDropdownFooterProps, Freshness, type FreshnessLevel, type FreshnessProps, InfoTip, type InfoTipProps, InlineMessage, type InlineMessageProps, type InlineMessageTone, LegendItem, type LegendItemProps, type LegendMark, LineChartPlaceholder, type LineChartPlaceholderProps, MediaLabel, type MediaLabelProps, type MediaType, Menu, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, MenuSeparator, Modal, type ModalProps, type ModalSize, type MoneyFormatOptions, MultiSelectFilter, type MultiSelectFilterProps, type MultiSelectGroup, NO_RESULTS_BODY, NO_RESULTS_TITLE, NO_VALUE, NameListModal, type NameListModalProps, type NoResultsAction, NoResultsEmptyState, type NoResultsEmptyStateProps, NoValue, type NumberFormatOptions, PRIMARY_ACTION_CLASS, PageHeader, type PageHeaderProps, Pager, type PagerProps, type PickerColumn, type PickerFilter, type PickerRow, PieChartPlaceholder, type PieChartPlaceholderProps, PrimaryBadge, type PrimaryBadgeProps, type PubBreak, PublisherBreakdownList, type PublisherBreakdownListProps, QUIET_ACTION_CLASS, SearchBar, type SearchBarProps, type SearchBarSize, type SearchBarVariant, type SearchMatchMode, type SearchMatchValue, type SearchScope, SectionHeading, type SectionHeadingProps, SectionRail, type SectionRailProps, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, type SegmentedOption, SelectAllVisible, type SelectAllVisibleProps, SelectFilter, type SelectFilterProps, SelectedSection, type SelectedSectionProps, SelectionPicker, type SelectionPickerAccountList, type SelectionPickerProps, SortButton, type SortButtonProps, type SortDir, type SortState, StackedColumnPlaceholder, type StackedColumnPlaceholderProps, StatStrip, type StatStripProps, StatTile, type StatTileProps, SuggestionChip, type SuggestionChipProps, type SummaryGroup, type SummaryGroupItemValue, type TabItem, TableLink, TablePagination, type TablePaginationProps, Tabs, type TabsProps, Tag, type TagProps, TextField, type TextFieldProps, type TextFieldSize, Toast, type ToastProps, type ToastTone, Toggle, ToggleChip, type ToggleChipProps, type ToggleProps, Tooltip, type TooltipProps, WorkspaceAvatar, type WorkspaceAvatarProps, WorkspaceSelectedCard, type WorkspaceSelectedCardProps, ariaSortFor, buttonVariants, chipTriggerClass, cycleSort, defaultDateOrder, formatCount, formatCountFull, formatDate, formatDateRange, formatDateTime, formatIsoDate, formatMoney, formatMoneyFull, formatMonth, formatMonthAxis, formatOpenRange, formatPercent, formatQuarter, formatRelative, formatTime, formatWeek, noResultsBody, resolveRange, sortProp };
|