@mediaradar/design-components 0.38.0 → 0.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -5,6 +5,7 @@ import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  /**
7
7
  * @pattern InfoTip
8
+ * @status stable
8
9
  * @description Info tooltip — a small info glyph that opens a portalled,
9
10
  * viewport-clamped bubble. Mirrors the Publisher Intel header affordance so
10
11
  * page subtitles can collapse into the eyebrow.
@@ -53,6 +54,7 @@ declare function InfoTip({ text, size, label, trigger }: InfoTipProps): react.JS
53
54
 
54
55
  /**
55
56
  * @pattern AdvertiserQuickFilter
57
+ * @status stable
56
58
  * @description Search-first quick filter. Mirrors the standard filter-chip
57
59
  * shape (two-line caption + value + chevron) but never preloads the option
58
60
  * list -- users must search first, since the advertiser pool is effectively
@@ -138,6 +140,7 @@ declare function AdvertiserQuickFilter({ caption, options, selected, onChange, a
138
140
 
139
141
  /**
140
142
  * @pattern AdvertiserSearchPrompt
143
+ * @status stable
141
144
  * @description Pre-search empty state for a search-first picker — shown the
142
145
  * moment the tray opens, before anything has been typed. Used for option
143
146
  * pools too large to preload (the advertiser list is effectively endless),
@@ -193,6 +196,7 @@ interface BadgeProps {
193
196
  }
194
197
  /**
195
198
  * @pattern Badge
199
+ * @status stable
196
200
  * @description The one small label that annotates something else: a count on
197
201
  * a filter, a status, a category, an AI marker, a flag over artwork. Two
198
202
  * props -- `tone` (what kind of thing) and `kind` (shape and case) -- which
@@ -262,6 +266,7 @@ interface DeltaProps {
262
266
  }
263
267
  /**
264
268
  * @pattern Delta
269
+ * @status stable
265
270
  * @description A change over time -- the +6.2% / -2.1% beside a figure. Green
266
271
  * up, red down, always with an explicit sign.
267
272
  * @props
@@ -301,6 +306,7 @@ declare function Delta({ value, suffix, arrow, period, className }: DeltaProps):
301
306
 
302
307
  /**
303
308
  * @pattern CheckBox
309
+ * @status stable
304
310
  * @audited 2026-11-12
305
311
  * @description Tri-state checkbox rendered as a `<button>` (not a native
306
312
  * `<input type="checkbox">`), so it can carry an indeterminate "some but not
@@ -383,6 +389,7 @@ interface CheckBoxProps {
383
389
  declare function CheckBox({ checked, indeterminate, onChange, ariaLabel, disabled, stopPropagation, testId, title, className, }: CheckBoxProps): react.JSX.Element;
384
390
  /**
385
391
  * @pattern CheckBoxBox
392
+ * @status stable
386
393
  * @description Presentational checkbox -- draws the same box as `CheckBox`
387
394
  * and nothing else. Use it when an ancestor already carries the interaction
388
395
  * and the checkbox semantics (a clickable option row, a `<label>`), since a
@@ -561,6 +568,7 @@ declare function DateRangeFilter({ caption, defaultValue, value: controlledValue
561
568
 
562
569
  /**
563
570
  * @pattern SearchBar
571
+ * @status stable
564
572
  * @description Filter-bar keyword search. 'default' is a plain keyword
565
573
  * input; 'filterable' adds an attached match-type dropdown sharing one
566
574
  * bordered control, mirroring the legacy Creative Intel search + match-type
@@ -645,6 +653,7 @@ declare function SearchBar({ placeholder, value, onChange, variant, size, matchV
645
653
 
646
654
  /**
647
655
  * @pattern SectionRail
656
+ * @status stable
648
657
  * @audited 2026-11-12
649
658
  * @description Generic titled section wrapper for a row of cards — a
650
659
  * horizontal scroll rail on mobile/tablet (snap, bleeds to edges), a
@@ -696,6 +705,7 @@ declare function SectionRail({ title, titleSerif, subtitle, viewAllLabel, viewAl
696
705
 
697
706
  /**
698
707
  * @pattern DataScopeFilter
708
+ * @status stable
699
709
  * @description "Data" scope chip -- toggles the filter bar between All data
700
710
  * and Final-only data (data that's finalized across the selected media
701
711
  * formats, for stable report-ready numbers). One boolean, one control,
@@ -734,6 +744,7 @@ declare function DataScopeFilter({ value, onChange, align }: DataScopeFilterProp
734
744
 
735
745
  /**
736
746
  * @pattern SelectFilter
747
+ * @status stable
737
748
  * @description Single-select filter chip -- the caption-over-value trigger
738
749
  * shape shared with AdvertiserQuickFilter/DateRangeFilter, opening a
739
750
  * lightweight listbox of plain string options. Portal-rendered to
@@ -925,6 +936,7 @@ declare const PRIMARY_ACTION_CLASS = "rounded-control bg-brand-primaryAction px-
925
936
  declare const QUIET_ACTION_CLASS = "rounded-control text-[13px] font-medium text-text-link transition-colors hover:underline focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-border-focus";
926
937
  /**
927
938
  * @pattern NoResultsEmptyState
939
+ * @status stable
928
940
  * @description Guided empty state for a query that returned nothing.
929
941
  * Deliberately one state for two causes, because the user can't tell them
930
942
  * apart and the fix is the same either way -- loosen the filters or widen the
@@ -1171,6 +1183,7 @@ declare function PieChartPlaceholder({ height, legendRows }: PieChartPlaceholder
1171
1183
 
1172
1184
  /**
1173
1185
  * @pattern StackedColumnPlaceholder
1186
+ * @status stable
1174
1187
  * @audited 2026-11-12
1175
1188
  * @description Neutral, dataless stand-in for a 100% stacked column -- a
1176
1189
  * single banded column beside a blank legend. `axis` follows the live card
@@ -1207,6 +1220,7 @@ declare function StackedColumnPlaceholder({ height, width, legendRows, axis, }:
1207
1220
 
1208
1221
  /**
1209
1222
  * @pattern Tooltip
1223
+ * @status stable
1210
1224
  * @description Portalled hover/focus tooltip. Two ways to attach a trigger:
1211
1225
  * wrap `children` (the default -- an inline trigger, e.g. a truncated table
1212
1226
  * cell or a chart legend entry), or pass `anchorRef` for an element that
@@ -1320,6 +1334,7 @@ declare function Tooltip({ label, children, anchorRef, className, whenTruncated,
1320
1334
 
1321
1335
  /**
1322
1336
  * @pattern AdvertiserNoResults
1337
+ * @status stable
1323
1338
  * @description Shown when a search-first picker's search returns nothing --
1324
1339
  * gives an actionable next step rather than just a bare "no results"
1325
1340
  * message. Named for its original (and still primary) use across
@@ -1684,6 +1699,7 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantPr
1684
1699
  }
1685
1700
  /**
1686
1701
  * @pattern Button
1702
+ * @status stable
1687
1703
  * @description The one control for every clickable action, from the main call
1688
1704
  * to action on a screen down to a quiet toolbar utility. Six variants
1689
1705
  * (primary, secondary, ghost, danger, dangerGhost, link) across four sizes
@@ -1758,6 +1774,7 @@ interface FilterDropdownFooterProps {
1758
1774
  }
1759
1775
  /**
1760
1776
  * @pattern FilterDropdownFooter
1777
+ * @status stable
1761
1778
  * @description Fixed Apply/Clear All footer for quick-filter dropdowns —
1762
1779
  * pinned below the (independently scrollable) option list so it's always
1763
1780
  * visible. Shared by the Media/Advertiser/Date/Group By/Time Increment quick
@@ -1805,6 +1822,7 @@ interface NameListModalProps {
1805
1822
  }
1806
1823
  /**
1807
1824
  * @pattern NameListModal
1825
+ * @status stable
1808
1826
  * @description Create/rename dialog — a name field, and optionally a few
1809
1827
  * checkboxes under it. Shared by the Account Lists table and the list detail
1810
1828
  * page so create/rename look identical; `fieldLabel`/`placeholder` relabel it
@@ -1845,6 +1863,7 @@ interface ChipContentProps {
1845
1863
  }
1846
1864
  /**
1847
1865
  * @pattern ChipTrigger
1866
+ * @status stable
1848
1867
  * @description Shared foundation for filter-bar chip triggers — pairs
1849
1868
  * `chipTriggerClass` with `ChipContent` for the caption/value/icon layout, so
1850
1869
  * every dropdown chip across the app matches.
@@ -1886,6 +1905,7 @@ interface FilterChipBarProps<T extends ChipLike> {
1886
1905
  }
1887
1906
  /**
1888
1907
  * @pattern FilterChipBar
1908
+ * @status stable
1889
1909
  * @description Applied-filter chips — wrap freely across as many rows as
1890
1910
  * needed, every chip shown. Each chip reveals its filter category on hover
1891
1911
  * (tooltip + outline). "Clear all" trails the chips. Generic over the
@@ -1959,6 +1979,7 @@ interface SortButtonProps<K extends string> {
1959
1979
  }
1960
1980
  /**
1961
1981
  * @pattern SortButton
1982
+ * @status stable
1962
1983
  * @audited 2026-11-12
1963
1984
  * @description Design-system rule: every sortable table column header uses
1964
1985
  * this exact icon/color treatment. Sortable-but-inactive columns show a
@@ -2007,6 +2028,7 @@ interface PagerProps {
2007
2028
  }
2008
2029
  /**
2009
2030
  * @pattern Pager
2031
+ * @status stable
2010
2032
  * @description Compact prev/next pager with a windowed page-number list —
2011
2033
  * shows every page up to 7 total, otherwise 1 … current±1 … last with
2012
2034
  * ellipsis gaps, each number formatted for the locale ("14,433"). Shared by
@@ -2049,6 +2071,7 @@ interface WorkspaceAvatarProps {
2049
2071
  }
2050
2072
  /**
2051
2073
  * @pattern WorkspaceAvatar
2074
+ * @status stable
2052
2075
  * @audited 2026-11-12
2053
2076
  * @description The square tile that identifies a workspace in a switch
2054
2077
  * list — first 1–2 word initials of the workspace name. Pass no name for
@@ -2093,6 +2116,7 @@ interface ToastProps {
2093
2116
  }
2094
2117
  /**
2095
2118
  * @pattern Toast
2119
+ * @status stable
2096
2120
  * @description Transient feedback about the page or the task: "12 accounts
2097
2121
  * removed", "Export started". Floats at the bottom of the window so it never
2098
2122
  * pushes the page around, dismisses itself, and may carry one action.
@@ -2178,6 +2202,7 @@ declare function Tag({ children, className }: TagProps): react.JSX.Element;
2178
2202
 
2179
2203
  /**
2180
2204
  * @pattern TablePagination
2205
+ * @status stable
2181
2206
  * @audited 2026-11-12
2182
2207
  * @description Full table-footer pagination bar: a rows-per-page select, a
2183
2208
  * first/prev/pages/next/last pager, and the resolved "1 – 25 of N results"
@@ -2286,6 +2311,7 @@ interface MultiSelectGroup {
2286
2311
  }
2287
2312
  /**
2288
2313
  * @pattern MultiSelectFilter
2314
+ * @status stable
2289
2315
  * @description Quick-access multi-select chip — mirrors the DateRangeFilter
2290
2316
  * button shape (two-line caption + value with a chevron) and opens a
2291
2317
  * searchable checkbox popover. Used for the page-level Media type /
@@ -2406,6 +2432,7 @@ interface ToggleProps {
2406
2432
  }
2407
2433
  /**
2408
2434
  * @pattern Toggle
2435
+ * @status stable
2409
2436
  * @description The app's on/off switch. Use it for a setting that takes effect
2410
2437
  * as a state the user keeps — "only include enriched creatives", "email me a
2411
2438
  * digest" — where a checkbox would read as an item being ticked off a list.
@@ -2441,6 +2468,7 @@ interface AISparkProps {
2441
2468
  }
2442
2469
  /**
2443
2470
  * @pattern AISpark
2471
+ * @status stable
2444
2472
  * @description Assistant glyph — the lucide Sparkles icon stroked with the
2445
2473
  * MR orange→violet assistant gradient. Each instance scopes its own gradient
2446
2474
  * id, and the stops follow light/dark mode.
@@ -2458,6 +2486,7 @@ interface FreshnessProps {
2458
2486
  }
2459
2487
  /**
2460
2488
  * @pattern Freshness
2489
+ * @status stable
2461
2490
  * @audited 2026-11-12
2462
2491
  * @description Freshness dot — prefixed to card meta rows so a row of 4
2463
2492
  * timestamps stops reading as a wall of identical text. Color carries the
@@ -2488,6 +2517,7 @@ interface SectionHeadingProps {
2488
2517
  }
2489
2518
  /**
2490
2519
  * @pattern SectionHeading
2520
+ * @status stable
2491
2521
  * @description The title of a section within a page -- "Start from a template",
2492
2522
  * "Saved reports". One size everywhere (16px semibold), so every page's sections
2493
2523
  * read at the same level under the page title. Optional one-line description
@@ -2545,6 +2575,7 @@ interface PageHeaderProps {
2545
2575
  }
2546
2576
  /**
2547
2577
  * @pattern PageHeader
2578
+ * @status stable
2548
2579
  * @description The top of a page: its title (the page's only h1), an optional
2549
2580
  * one-line description under it, and the page's main actions on the right.
2550
2581
  * Title 20px over a 14px description, 2px apart, so the two read as one unit;
@@ -2600,6 +2631,7 @@ interface ModalProps {
2600
2631
  }
2601
2632
  /**
2602
2633
  * @pattern Modal
2634
+ * @status stable
2603
2635
  * @description A dialog over a dimmed page: title, optional one-line
2604
2636
  * description, content, and a footer of buttons. Four widths -- sm 440 for a
2605
2637
  * confirm, md 640 for a form, lg 880 for a table or a list, xl 1200 for a
@@ -2661,6 +2693,7 @@ interface EmptyStateProps {
2661
2693
  }
2662
2694
  /**
2663
2695
  * @pattern EmptyState
2696
+ * @status stable
2664
2697
  * @description What shows where content would be: an icon, a title saying
2665
2698
  * what's empty, one line on what to do next, and one action. Two sizes -- sm
2666
2699
  * inside a table, card or dropdown; md when it fills a page or a panel.
@@ -2710,6 +2743,7 @@ interface TabsProps<T extends string = string> {
2710
2743
  }
2711
2744
  /**
2712
2745
  * @pattern Tabs
2746
+ * @status stable
2713
2747
  * @description Underline tabs that switch between the sections of one page --
2714
2748
  * Overview, Creative, Contacts. The selected tab is semibold with a brand
2715
2749
  * underline; the row sits on a hairline. For switching how the same data is
@@ -2758,6 +2792,7 @@ interface SegmentedControlProps<T extends string = string> {
2758
2792
  }
2759
2793
  /**
2760
2794
  * @pattern SegmentedControl
2795
+ * @status stable
2761
2796
  * @description A pill of 2 to 4 options that switches how the same data is
2762
2797
  * shown -- Spend / Share, Chart / Table, Weekly / Monthly. The selected option
2763
2798
  * is a raised white pill. Heights match the control scale: sm 32, md 40. For
@@ -2802,6 +2837,7 @@ interface TextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "si
2802
2837
  }
2803
2838
  /**
2804
2839
  * @pattern TextField
2840
+ * @status stable
2805
2841
  * @description A single-line text input with an optional label, hint and
2806
2842
  * error. Same heights as Button -- sm 32, md 40, lg 44 -- so a field and a
2807
2843
  * button side by side line up. 13px text, the strong border every control you
@@ -2849,6 +2885,7 @@ interface DrawerProps {
2849
2885
  }
2850
2886
  /**
2851
2887
  * @pattern Drawer
2888
+ * @status stable
2852
2889
  * @description A panel that slides in from the right over the dimmed page:
2853
2890
  * title, optional one-line description, a scrolling body, and an optional
2854
2891
  * footer pinned at the bottom. Three widths -- sm 440 for filters, md 640 for
@@ -2952,6 +2989,7 @@ interface DataTableProps<T, K extends string = string> {
2952
2989
  }
2953
2990
  /**
2954
2991
  * @pattern DataTable
2992
+ * @status stable
2955
2993
  * @description The shared table: a card frame, an optional title row, the
2956
2994
  * header band, rows with hairline dividers and a hover wash, and the empty
2957
2995
  * and loading states. Each screen describes its columns -- label, cell,
@@ -3019,6 +3057,7 @@ interface MediaLabelProps {
3019
3057
  }
3020
3058
  /**
3021
3059
  * @pattern MediaLabel
3060
+ * @status stable
3022
3061
  * @description The small solid label naming a creative's media type -- TV,
3023
3062
  * CTV, Digital, Social, Radio, Newspaper, Magazine -- usually laid over the
3024
3063
  * corner of a thumbnail. One colour per type, from the `color.media.*`
@@ -3058,6 +3097,7 @@ interface SuggestionChipProps extends Omit<ButtonHTMLAttributes<HTMLButtonElemen
3058
3097
  }
3059
3098
  /**
3060
3099
  * @pattern SuggestionChip
3100
+ * @status stable
3061
3101
  * @description An outlined grey pill offering a ready-made search or
3062
3102
  * question: "Or try: Luxury SUV brands", an AI follow-up, a "Did you mean".
3063
3103
  * Clicking it runs that suggestion. Text only, normal case.
@@ -3096,6 +3136,7 @@ interface ToggleChipProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>,
3096
3136
  }
3097
3137
  /**
3098
3138
  * @pattern ToggleChip
3139
+ * @status stable
3099
3140
  * @description A pill you switch on and off, in a row where several can be
3100
3141
  * on at once: countries, media types, quick filters. On, it takes a pale
3101
3142
  * tint of the brand blue, a brand border and a tick before the label, so the state
@@ -3136,6 +3177,7 @@ interface CopyButtonProps {
3136
3177
  }
3137
3178
  /**
3138
3179
  * @pattern CopyButton
3180
+ * @status stable
3139
3181
  * @description Copies a value to the clipboard and confirms on the button
3140
3182
  * itself: the copy icon becomes a green tick for two seconds (a labelled
3141
3183
  * button also reads "Copied"), then it's ready again. Two looks -- icon only,
@@ -3177,6 +3219,7 @@ interface InlineMessageProps {
3177
3219
  }
3178
3220
  /**
3179
3221
  * @pattern InlineMessage
3222
+ * @status stable
3180
3223
  * @description A message that sits in the page, next to what it's about, and
3181
3224
  * stays until it's dealt with: "A similar organization already exists",
3182
3225
  * "3 rows couldn't be matched". Icon, a short title, an optional line, and
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  /**
7
7
  * @pattern InfoTip
8
+ * @status stable
8
9
  * @description Info tooltip — a small info glyph that opens a portalled,
9
10
  * viewport-clamped bubble. Mirrors the Publisher Intel header affordance so
10
11
  * page subtitles can collapse into the eyebrow.
@@ -53,6 +54,7 @@ declare function InfoTip({ text, size, label, trigger }: InfoTipProps): react.JS
53
54
 
54
55
  /**
55
56
  * @pattern AdvertiserQuickFilter
57
+ * @status stable
56
58
  * @description Search-first quick filter. Mirrors the standard filter-chip
57
59
  * shape (two-line caption + value + chevron) but never preloads the option
58
60
  * list -- users must search first, since the advertiser pool is effectively
@@ -138,6 +140,7 @@ declare function AdvertiserQuickFilter({ caption, options, selected, onChange, a
138
140
 
139
141
  /**
140
142
  * @pattern AdvertiserSearchPrompt
143
+ * @status stable
141
144
  * @description Pre-search empty state for a search-first picker — shown the
142
145
  * moment the tray opens, before anything has been typed. Used for option
143
146
  * pools too large to preload (the advertiser list is effectively endless),
@@ -193,6 +196,7 @@ interface BadgeProps {
193
196
  }
194
197
  /**
195
198
  * @pattern Badge
199
+ * @status stable
196
200
  * @description The one small label that annotates something else: a count on
197
201
  * a filter, a status, a category, an AI marker, a flag over artwork. Two
198
202
  * props -- `tone` (what kind of thing) and `kind` (shape and case) -- which
@@ -262,6 +266,7 @@ interface DeltaProps {
262
266
  }
263
267
  /**
264
268
  * @pattern Delta
269
+ * @status stable
265
270
  * @description A change over time -- the +6.2% / -2.1% beside a figure. Green
266
271
  * up, red down, always with an explicit sign.
267
272
  * @props
@@ -301,6 +306,7 @@ declare function Delta({ value, suffix, arrow, period, className }: DeltaProps):
301
306
 
302
307
  /**
303
308
  * @pattern CheckBox
309
+ * @status stable
304
310
  * @audited 2026-11-12
305
311
  * @description Tri-state checkbox rendered as a `<button>` (not a native
306
312
  * `<input type="checkbox">`), so it can carry an indeterminate "some but not
@@ -383,6 +389,7 @@ interface CheckBoxProps {
383
389
  declare function CheckBox({ checked, indeterminate, onChange, ariaLabel, disabled, stopPropagation, testId, title, className, }: CheckBoxProps): react.JSX.Element;
384
390
  /**
385
391
  * @pattern CheckBoxBox
392
+ * @status stable
386
393
  * @description Presentational checkbox -- draws the same box as `CheckBox`
387
394
  * and nothing else. Use it when an ancestor already carries the interaction
388
395
  * and the checkbox semantics (a clickable option row, a `<label>`), since a
@@ -561,6 +568,7 @@ declare function DateRangeFilter({ caption, defaultValue, value: controlledValue
561
568
 
562
569
  /**
563
570
  * @pattern SearchBar
571
+ * @status stable
564
572
  * @description Filter-bar keyword search. 'default' is a plain keyword
565
573
  * input; 'filterable' adds an attached match-type dropdown sharing one
566
574
  * bordered control, mirroring the legacy Creative Intel search + match-type
@@ -645,6 +653,7 @@ declare function SearchBar({ placeholder, value, onChange, variant, size, matchV
645
653
 
646
654
  /**
647
655
  * @pattern SectionRail
656
+ * @status stable
648
657
  * @audited 2026-11-12
649
658
  * @description Generic titled section wrapper for a row of cards — a
650
659
  * horizontal scroll rail on mobile/tablet (snap, bleeds to edges), a
@@ -696,6 +705,7 @@ declare function SectionRail({ title, titleSerif, subtitle, viewAllLabel, viewAl
696
705
 
697
706
  /**
698
707
  * @pattern DataScopeFilter
708
+ * @status stable
699
709
  * @description "Data" scope chip -- toggles the filter bar between All data
700
710
  * and Final-only data (data that's finalized across the selected media
701
711
  * formats, for stable report-ready numbers). One boolean, one control,
@@ -734,6 +744,7 @@ declare function DataScopeFilter({ value, onChange, align }: DataScopeFilterProp
734
744
 
735
745
  /**
736
746
  * @pattern SelectFilter
747
+ * @status stable
737
748
  * @description Single-select filter chip -- the caption-over-value trigger
738
749
  * shape shared with AdvertiserQuickFilter/DateRangeFilter, opening a
739
750
  * lightweight listbox of plain string options. Portal-rendered to
@@ -925,6 +936,7 @@ declare const PRIMARY_ACTION_CLASS = "rounded-control bg-brand-primaryAction px-
925
936
  declare const QUIET_ACTION_CLASS = "rounded-control text-[13px] font-medium text-text-link transition-colors hover:underline focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-border-focus";
926
937
  /**
927
938
  * @pattern NoResultsEmptyState
939
+ * @status stable
928
940
  * @description Guided empty state for a query that returned nothing.
929
941
  * Deliberately one state for two causes, because the user can't tell them
930
942
  * apart and the fix is the same either way -- loosen the filters or widen the
@@ -1171,6 +1183,7 @@ declare function PieChartPlaceholder({ height, legendRows }: PieChartPlaceholder
1171
1183
 
1172
1184
  /**
1173
1185
  * @pattern StackedColumnPlaceholder
1186
+ * @status stable
1174
1187
  * @audited 2026-11-12
1175
1188
  * @description Neutral, dataless stand-in for a 100% stacked column -- a
1176
1189
  * single banded column beside a blank legend. `axis` follows the live card
@@ -1207,6 +1220,7 @@ declare function StackedColumnPlaceholder({ height, width, legendRows, axis, }:
1207
1220
 
1208
1221
  /**
1209
1222
  * @pattern Tooltip
1223
+ * @status stable
1210
1224
  * @description Portalled hover/focus tooltip. Two ways to attach a trigger:
1211
1225
  * wrap `children` (the default -- an inline trigger, e.g. a truncated table
1212
1226
  * cell or a chart legend entry), or pass `anchorRef` for an element that
@@ -1320,6 +1334,7 @@ declare function Tooltip({ label, children, anchorRef, className, whenTruncated,
1320
1334
 
1321
1335
  /**
1322
1336
  * @pattern AdvertiserNoResults
1337
+ * @status stable
1323
1338
  * @description Shown when a search-first picker's search returns nothing --
1324
1339
  * gives an actionable next step rather than just a bare "no results"
1325
1340
  * message. Named for its original (and still primary) use across
@@ -1684,6 +1699,7 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantPr
1684
1699
  }
1685
1700
  /**
1686
1701
  * @pattern Button
1702
+ * @status stable
1687
1703
  * @description The one control for every clickable action, from the main call
1688
1704
  * to action on a screen down to a quiet toolbar utility. Six variants
1689
1705
  * (primary, secondary, ghost, danger, dangerGhost, link) across four sizes
@@ -1758,6 +1774,7 @@ interface FilterDropdownFooterProps {
1758
1774
  }
1759
1775
  /**
1760
1776
  * @pattern FilterDropdownFooter
1777
+ * @status stable
1761
1778
  * @description Fixed Apply/Clear All footer for quick-filter dropdowns —
1762
1779
  * pinned below the (independently scrollable) option list so it's always
1763
1780
  * visible. Shared by the Media/Advertiser/Date/Group By/Time Increment quick
@@ -1805,6 +1822,7 @@ interface NameListModalProps {
1805
1822
  }
1806
1823
  /**
1807
1824
  * @pattern NameListModal
1825
+ * @status stable
1808
1826
  * @description Create/rename dialog — a name field, and optionally a few
1809
1827
  * checkboxes under it. Shared by the Account Lists table and the list detail
1810
1828
  * page so create/rename look identical; `fieldLabel`/`placeholder` relabel it
@@ -1845,6 +1863,7 @@ interface ChipContentProps {
1845
1863
  }
1846
1864
  /**
1847
1865
  * @pattern ChipTrigger
1866
+ * @status stable
1848
1867
  * @description Shared foundation for filter-bar chip triggers — pairs
1849
1868
  * `chipTriggerClass` with `ChipContent` for the caption/value/icon layout, so
1850
1869
  * every dropdown chip across the app matches.
@@ -1886,6 +1905,7 @@ interface FilterChipBarProps<T extends ChipLike> {
1886
1905
  }
1887
1906
  /**
1888
1907
  * @pattern FilterChipBar
1908
+ * @status stable
1889
1909
  * @description Applied-filter chips — wrap freely across as many rows as
1890
1910
  * needed, every chip shown. Each chip reveals its filter category on hover
1891
1911
  * (tooltip + outline). "Clear all" trails the chips. Generic over the
@@ -1959,6 +1979,7 @@ interface SortButtonProps<K extends string> {
1959
1979
  }
1960
1980
  /**
1961
1981
  * @pattern SortButton
1982
+ * @status stable
1962
1983
  * @audited 2026-11-12
1963
1984
  * @description Design-system rule: every sortable table column header uses
1964
1985
  * this exact icon/color treatment. Sortable-but-inactive columns show a
@@ -2007,6 +2028,7 @@ interface PagerProps {
2007
2028
  }
2008
2029
  /**
2009
2030
  * @pattern Pager
2031
+ * @status stable
2010
2032
  * @description Compact prev/next pager with a windowed page-number list —
2011
2033
  * shows every page up to 7 total, otherwise 1 … current±1 … last with
2012
2034
  * ellipsis gaps, each number formatted for the locale ("14,433"). Shared by
@@ -2049,6 +2071,7 @@ interface WorkspaceAvatarProps {
2049
2071
  }
2050
2072
  /**
2051
2073
  * @pattern WorkspaceAvatar
2074
+ * @status stable
2052
2075
  * @audited 2026-11-12
2053
2076
  * @description The square tile that identifies a workspace in a switch
2054
2077
  * list — first 1–2 word initials of the workspace name. Pass no name for
@@ -2093,6 +2116,7 @@ interface ToastProps {
2093
2116
  }
2094
2117
  /**
2095
2118
  * @pattern Toast
2119
+ * @status stable
2096
2120
  * @description Transient feedback about the page or the task: "12 accounts
2097
2121
  * removed", "Export started". Floats at the bottom of the window so it never
2098
2122
  * pushes the page around, dismisses itself, and may carry one action.
@@ -2178,6 +2202,7 @@ declare function Tag({ children, className }: TagProps): react.JSX.Element;
2178
2202
 
2179
2203
  /**
2180
2204
  * @pattern TablePagination
2205
+ * @status stable
2181
2206
  * @audited 2026-11-12
2182
2207
  * @description Full table-footer pagination bar: a rows-per-page select, a
2183
2208
  * first/prev/pages/next/last pager, and the resolved "1 – 25 of N results"
@@ -2286,6 +2311,7 @@ interface MultiSelectGroup {
2286
2311
  }
2287
2312
  /**
2288
2313
  * @pattern MultiSelectFilter
2314
+ * @status stable
2289
2315
  * @description Quick-access multi-select chip — mirrors the DateRangeFilter
2290
2316
  * button shape (two-line caption + value with a chevron) and opens a
2291
2317
  * searchable checkbox popover. Used for the page-level Media type /
@@ -2406,6 +2432,7 @@ interface ToggleProps {
2406
2432
  }
2407
2433
  /**
2408
2434
  * @pattern Toggle
2435
+ * @status stable
2409
2436
  * @description The app's on/off switch. Use it for a setting that takes effect
2410
2437
  * as a state the user keeps — "only include enriched creatives", "email me a
2411
2438
  * digest" — where a checkbox would read as an item being ticked off a list.
@@ -2441,6 +2468,7 @@ interface AISparkProps {
2441
2468
  }
2442
2469
  /**
2443
2470
  * @pattern AISpark
2471
+ * @status stable
2444
2472
  * @description Assistant glyph — the lucide Sparkles icon stroked with the
2445
2473
  * MR orange→violet assistant gradient. Each instance scopes its own gradient
2446
2474
  * id, and the stops follow light/dark mode.
@@ -2458,6 +2486,7 @@ interface FreshnessProps {
2458
2486
  }
2459
2487
  /**
2460
2488
  * @pattern Freshness
2489
+ * @status stable
2461
2490
  * @audited 2026-11-12
2462
2491
  * @description Freshness dot — prefixed to card meta rows so a row of 4
2463
2492
  * timestamps stops reading as a wall of identical text. Color carries the
@@ -2488,6 +2517,7 @@ interface SectionHeadingProps {
2488
2517
  }
2489
2518
  /**
2490
2519
  * @pattern SectionHeading
2520
+ * @status stable
2491
2521
  * @description The title of a section within a page -- "Start from a template",
2492
2522
  * "Saved reports". One size everywhere (16px semibold), so every page's sections
2493
2523
  * read at the same level under the page title. Optional one-line description
@@ -2545,6 +2575,7 @@ interface PageHeaderProps {
2545
2575
  }
2546
2576
  /**
2547
2577
  * @pattern PageHeader
2578
+ * @status stable
2548
2579
  * @description The top of a page: its title (the page's only h1), an optional
2549
2580
  * one-line description under it, and the page's main actions on the right.
2550
2581
  * Title 20px over a 14px description, 2px apart, so the two read as one unit;
@@ -2600,6 +2631,7 @@ interface ModalProps {
2600
2631
  }
2601
2632
  /**
2602
2633
  * @pattern Modal
2634
+ * @status stable
2603
2635
  * @description A dialog over a dimmed page: title, optional one-line
2604
2636
  * description, content, and a footer of buttons. Four widths -- sm 440 for a
2605
2637
  * confirm, md 640 for a form, lg 880 for a table or a list, xl 1200 for a
@@ -2661,6 +2693,7 @@ interface EmptyStateProps {
2661
2693
  }
2662
2694
  /**
2663
2695
  * @pattern EmptyState
2696
+ * @status stable
2664
2697
  * @description What shows where content would be: an icon, a title saying
2665
2698
  * what's empty, one line on what to do next, and one action. Two sizes -- sm
2666
2699
  * inside a table, card or dropdown; md when it fills a page or a panel.
@@ -2710,6 +2743,7 @@ interface TabsProps<T extends string = string> {
2710
2743
  }
2711
2744
  /**
2712
2745
  * @pattern Tabs
2746
+ * @status stable
2713
2747
  * @description Underline tabs that switch between the sections of one page --
2714
2748
  * Overview, Creative, Contacts. The selected tab is semibold with a brand
2715
2749
  * underline; the row sits on a hairline. For switching how the same data is
@@ -2758,6 +2792,7 @@ interface SegmentedControlProps<T extends string = string> {
2758
2792
  }
2759
2793
  /**
2760
2794
  * @pattern SegmentedControl
2795
+ * @status stable
2761
2796
  * @description A pill of 2 to 4 options that switches how the same data is
2762
2797
  * shown -- Spend / Share, Chart / Table, Weekly / Monthly. The selected option
2763
2798
  * is a raised white pill. Heights match the control scale: sm 32, md 40. For
@@ -2802,6 +2837,7 @@ interface TextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "si
2802
2837
  }
2803
2838
  /**
2804
2839
  * @pattern TextField
2840
+ * @status stable
2805
2841
  * @description A single-line text input with an optional label, hint and
2806
2842
  * error. Same heights as Button -- sm 32, md 40, lg 44 -- so a field and a
2807
2843
  * button side by side line up. 13px text, the strong border every control you
@@ -2849,6 +2885,7 @@ interface DrawerProps {
2849
2885
  }
2850
2886
  /**
2851
2887
  * @pattern Drawer
2888
+ * @status stable
2852
2889
  * @description A panel that slides in from the right over the dimmed page:
2853
2890
  * title, optional one-line description, a scrolling body, and an optional
2854
2891
  * footer pinned at the bottom. Three widths -- sm 440 for filters, md 640 for
@@ -2952,6 +2989,7 @@ interface DataTableProps<T, K extends string = string> {
2952
2989
  }
2953
2990
  /**
2954
2991
  * @pattern DataTable
2992
+ * @status stable
2955
2993
  * @description The shared table: a card frame, an optional title row, the
2956
2994
  * header band, rows with hairline dividers and a hover wash, and the empty
2957
2995
  * and loading states. Each screen describes its columns -- label, cell,
@@ -3019,6 +3057,7 @@ interface MediaLabelProps {
3019
3057
  }
3020
3058
  /**
3021
3059
  * @pattern MediaLabel
3060
+ * @status stable
3022
3061
  * @description The small solid label naming a creative's media type -- TV,
3023
3062
  * CTV, Digital, Social, Radio, Newspaper, Magazine -- usually laid over the
3024
3063
  * corner of a thumbnail. One colour per type, from the `color.media.*`
@@ -3058,6 +3097,7 @@ interface SuggestionChipProps extends Omit<ButtonHTMLAttributes<HTMLButtonElemen
3058
3097
  }
3059
3098
  /**
3060
3099
  * @pattern SuggestionChip
3100
+ * @status stable
3061
3101
  * @description An outlined grey pill offering a ready-made search or
3062
3102
  * question: "Or try: Luxury SUV brands", an AI follow-up, a "Did you mean".
3063
3103
  * Clicking it runs that suggestion. Text only, normal case.
@@ -3096,6 +3136,7 @@ interface ToggleChipProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>,
3096
3136
  }
3097
3137
  /**
3098
3138
  * @pattern ToggleChip
3139
+ * @status stable
3099
3140
  * @description A pill you switch on and off, in a row where several can be
3100
3141
  * on at once: countries, media types, quick filters. On, it takes a pale
3101
3142
  * tint of the brand blue, a brand border and a tick before the label, so the state
@@ -3136,6 +3177,7 @@ interface CopyButtonProps {
3136
3177
  }
3137
3178
  /**
3138
3179
  * @pattern CopyButton
3180
+ * @status stable
3139
3181
  * @description Copies a value to the clipboard and confirms on the button
3140
3182
  * itself: the copy icon becomes a green tick for two seconds (a labelled
3141
3183
  * button also reads "Copied"), then it's ready again. Two looks -- icon only,
@@ -3177,6 +3219,7 @@ interface InlineMessageProps {
3177
3219
  }
3178
3220
  /**
3179
3221
  * @pattern InlineMessage
3222
+ * @status stable
3180
3223
  * @description A message that sits in the page, next to what it's about, and
3181
3224
  * stays until it's dealt with: "A similar organization already exists",
3182
3225
  * "3 rows couldn't be matched". Icon, a short title, an optional line, and