@dodopayments/ui 1.7.0 → 1.7.2

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.
Files changed (116) hide show
  1. package/ai/component-registry.json +253 -13
  2. package/ai/component-registry.md +2 -1
  3. package/ai/components/app-top-bar.md +2 -2
  4. package/ai/components/avatar.md +3 -0
  5. package/ai/components/brand-logos.md +1 -1
  6. package/ai/components/celebration-dialog.md +66 -0
  7. package/ai/components/code-block.md +2 -1
  8. package/ai/components/data-grid.md +1 -1
  9. package/ai/components/list-toolbar.md +3 -1
  10. package/ai/components/page-header.md +13 -11
  11. package/ai/components/payment-logos.md +5 -4
  12. package/ai/components/segmented-control.md +14 -1
  13. package/ai/components/sidebar.md +20 -2
  14. package/ai/components/spinner.md +2 -0
  15. package/ai/skills/dodo-design/SKILL.md +11 -6
  16. package/dist/components/app-top-bar/app-top-bar.d.ts +2 -2
  17. package/dist/components/app-top-bar/app-top-bar.d.ts.map +1 -1
  18. package/dist/components/app-top-bar/app-top-bar.js +14 -9
  19. package/dist/components/app-top-bar/app-top-bar.js.map +1 -1
  20. package/dist/components/avatar/avatar.d.ts +22 -1
  21. package/dist/components/avatar/avatar.d.ts.map +1 -1
  22. package/dist/components/avatar/avatar.js +13 -3
  23. package/dist/components/avatar/avatar.js.map +1 -1
  24. package/dist/components/brand-logos/brand-artwork.d.ts +10 -0
  25. package/dist/components/brand-logos/brand-artwork.d.ts.map +1 -1
  26. package/dist/components/brand-logos/brand-artwork.js +10 -0
  27. package/dist/components/brand-logos/brand-artwork.js.map +1 -1
  28. package/dist/components/brand-logos/brand-logos.d.ts +1 -1
  29. package/dist/components/brand-logos/brand-logos.d.ts.map +1 -1
  30. package/dist/components/brand-logos/brand-logos.js +4 -0
  31. package/dist/components/brand-logos/brand-logos.js.map +1 -1
  32. package/dist/components/celebration-dialog/celebration-dialog.d.ts +23 -0
  33. package/dist/components/celebration-dialog/celebration-dialog.d.ts.map +1 -0
  34. package/dist/components/celebration-dialog/celebration-dialog.js +158 -0
  35. package/dist/components/celebration-dialog/celebration-dialog.js.map +1 -0
  36. package/dist/components/celebration-dialog/index.d.ts +2 -0
  37. package/dist/components/celebration-dialog/index.d.ts.map +1 -0
  38. package/dist/components/celebration-dialog/index.js +2 -0
  39. package/dist/components/celebration-dialog/index.js.map +1 -0
  40. package/dist/components/code-block/code-block.d.ts +7 -2
  41. package/dist/components/code-block/code-block.d.ts.map +1 -1
  42. package/dist/components/code-block/code-block.js +30 -4
  43. package/dist/components/code-block/code-block.js.map +1 -1
  44. package/dist/components/code-block/highlight-code.d.ts +10 -0
  45. package/dist/components/code-block/highlight-code.d.ts.map +1 -0
  46. package/dist/components/code-block/highlight-code.js +45 -0
  47. package/dist/components/code-block/highlight-code.js.map +1 -0
  48. package/dist/components/data-grid/data-grid.d.ts +1 -1
  49. package/dist/components/data-grid/data-grid.js +2 -2
  50. package/dist/components/data-grid/data-grid.js.map +1 -1
  51. package/dist/components/list-toolbar/list-toolbar.d.ts +3 -1
  52. package/dist/components/list-toolbar/list-toolbar.d.ts.map +1 -1
  53. package/dist/components/list-toolbar/list-toolbar.js +13 -2
  54. package/dist/components/list-toolbar/list-toolbar.js.map +1 -1
  55. package/dist/components/page-header/page-header.d.ts +11 -7
  56. package/dist/components/page-header/page-header.d.ts.map +1 -1
  57. package/dist/components/page-header/page-header.js +34 -11
  58. package/dist/components/page-header/page-header.js.map +1 -1
  59. package/dist/components/payment-logos/payment-logos.d.ts +8 -3
  60. package/dist/components/payment-logos/payment-logos.d.ts.map +1 -1
  61. package/dist/components/payment-logos/payment-logos.js +5 -5
  62. package/dist/components/payment-logos/payment-logos.js.map +1 -1
  63. package/dist/components/radio-group/radio-group.d.ts +2 -2
  64. package/dist/components/radio-group/radio-group.js +5 -5
  65. package/dist/components/radio-group/radio-group.js.map +1 -1
  66. package/dist/components/segmented-control/index.d.ts +1 -1
  67. package/dist/components/segmented-control/index.d.ts.map +1 -1
  68. package/dist/components/segmented-control/index.js +1 -1
  69. package/dist/components/segmented-control/index.js.map +1 -1
  70. package/dist/components/segmented-control/segmented-control.d.ts +19 -0
  71. package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
  72. package/dist/components/segmented-control/segmented-control.js +28 -7
  73. package/dist/components/segmented-control/segmented-control.js.map +1 -1
  74. package/dist/components/select/select.d.ts.map +1 -1
  75. package/dist/components/select/select.js +8 -2
  76. package/dist/components/select/select.js.map +1 -1
  77. package/dist/components/sidebar/index.d.ts +1 -1
  78. package/dist/components/sidebar/index.d.ts.map +1 -1
  79. package/dist/components/sidebar/index.js +1 -1
  80. package/dist/components/sidebar/index.js.map +1 -1
  81. package/dist/components/sidebar/sidebar.d.ts +29 -3
  82. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  83. package/dist/components/sidebar/sidebar.js +67 -22
  84. package/dist/components/sidebar/sidebar.js.map +1 -1
  85. package/dist/components/spinner/spinner.d.ts +12 -1
  86. package/dist/components/spinner/spinner.d.ts.map +1 -1
  87. package/dist/components/spinner/spinner.js +2 -2
  88. package/dist/components/spinner/spinner.js.map +1 -1
  89. package/dist/index.d.ts +1 -0
  90. package/dist/index.d.ts.map +1 -1
  91. package/dist/index.js +1 -0
  92. package/dist/index.js.map +1 -1
  93. package/dist/lib/cn-tables.js +5 -5
  94. package/dist/lib/cn-tables.js.map +1 -1
  95. package/dist/primitives/lib/segmented-control.js +2 -2
  96. package/dist/primitives/lib/segmented-control.js.map +1 -1
  97. package/dist/primitives/ui/alert-dialog.js +1 -1
  98. package/dist/primitives/ui/alert-dialog.js.map +1 -1
  99. package/dist/primitives/ui/dialog.d.ts.map +1 -1
  100. package/dist/primitives/ui/dialog.js +6 -3
  101. package/dist/primitives/ui/dialog.js.map +1 -1
  102. package/dist/primitives/ui/sheet.js +4 -4
  103. package/dist/primitives/ui/sheet.js.map +1 -1
  104. package/dist/primitives/ui/sidebar.js +2 -2
  105. package/dist/primitives/ui/sidebar.js.map +1 -1
  106. package/dist/primitives/ui/switch.d.ts +2 -2
  107. package/dist/primitives/ui/switch.d.ts.map +1 -1
  108. package/dist/primitives/ui/switch.js +2 -2
  109. package/dist/primitives/ui/switch.js.map +1 -1
  110. package/dist/primitives/ui/table.js +4 -4
  111. package/dist/primitives/ui/table.js.map +1 -1
  112. package/dist/styles/extensions.css +9 -0
  113. package/dist/styles/theme.css +67 -0
  114. package/dist/styles/tokens.css +97 -67
  115. package/dist/styles/tokens.test.tsx +147 -0
  116. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://dodo-ui.dev/schema/component-registry.json",
3
3
  "name": "@dodopayments/ui",
4
- "version": "1.7.0",
4
+ "version": "1.7.2",
5
5
  "components": [
6
6
  {
7
7
  "slug": "alert",
@@ -662,6 +662,24 @@
662
662
  ],
663
663
  "default": "\"md\""
664
664
  },
665
+ {
666
+ "name": "variant",
667
+ "type": "\"person\" | \"logo\"",
668
+ "required": false,
669
+ "description": "",
670
+ "source": "dodo",
671
+ "values": [
672
+ {
673
+ "value": "person",
674
+ "description": "A person: a circle. The default."
675
+ },
676
+ {
677
+ "value": "logo",
678
+ "description": "A business or store logo: a square with 8px corners."
679
+ }
680
+ ],
681
+ "default": "\"person\""
682
+ },
665
683
  {
666
684
  "name": "render",
667
685
  "type": "ReactElement<unknown, string | JSXElementConstructor<any>> | ComponentRenderFn<HTMLProps, AvatarRootState>",
@@ -792,6 +810,24 @@
792
810
  }
793
811
  ],
794
812
  "default": "\"md\""
813
+ },
814
+ {
815
+ "name": "variant",
816
+ "type": "\"person\" | \"logo\"",
817
+ "required": false,
818
+ "description": "",
819
+ "source": "dodo",
820
+ "values": [
821
+ {
822
+ "value": "person",
823
+ "description": "A person: a circle. The default."
824
+ },
825
+ {
826
+ "value": "logo",
827
+ "description": "A business or store logo: a square with 8px corners."
828
+ }
829
+ ],
830
+ "default": "\"person\""
795
831
  }
796
832
  ]
797
833
  },
@@ -912,6 +948,24 @@
912
948
  }
913
949
  ],
914
950
  "default": "\"md\""
951
+ },
952
+ {
953
+ "name": "variant",
954
+ "type": "\"person\" | \"logo\"",
955
+ "required": false,
956
+ "description": "",
957
+ "source": "dodo",
958
+ "values": [
959
+ {
960
+ "value": "person",
961
+ "description": "A person: a circle. The default."
962
+ },
963
+ {
964
+ "value": "logo",
965
+ "description": "A business or store logo: a square with 8px corners."
966
+ }
967
+ ],
968
+ "default": "\"person\""
915
969
  }
916
970
  ]
917
971
  }
@@ -10173,7 +10227,7 @@
10173
10227
  "name": "language",
10174
10228
  "type": "string",
10175
10229
  "required": false,
10176
- "description": "Language name, exposed as `data-language` on the root. `json` and the shells (`bash`, `sh`, `zsh`) are coloured.",
10230
+ "description": "Language name, exposed as `data-language` on the root. `json`, the shells (`bash`, `sh`, `zsh`), JavaScript, TypeScript and Python are coloured.",
10177
10231
  "source": "dodo"
10178
10232
  },
10179
10233
  {
@@ -10216,6 +10270,13 @@
10216
10270
  "description": "Shown in Content/Tertiary when `code` is empty.",
10217
10271
  "source": "dodo"
10218
10272
  },
10273
+ {
10274
+ "name": "sensitive",
10275
+ "type": "boolean",
10276
+ "required": false,
10277
+ "description": "`code` is a secret, e.g. an API key shown once: the copy button never puts it in a hidden textarea page scripts\ncould read, as CopyButton's `sensitive`.",
10278
+ "source": "dodo"
10279
+ },
10219
10280
  {
10220
10281
  "name": "showHeader",
10221
10282
  "type": "boolean",
@@ -10667,7 +10728,7 @@
10667
10728
  },
10668
10729
  {
10669
10730
  "name": "DataGridColumnHeader",
10670
- "description": "Column header label (.Table header cell): Labels/Secondary in Content/Secondary, with 12px icons 4\napart. For sortable columns it is a button that cycles ascending → descending → unsorted and shows an\narrow for the current direction (a neutral caret when unsorted). The arrow fades in and turns on a\nspring when the direction changes. It is disabled while the grid is loading. Non-sortable columns\nrender plain text. `help` adds an info icon with a tooltip.",
10731
+ "description": "Column header label (.Table header cell): Labels/Secondary in Content/Primary, with 12px icons 4\napart. For sortable columns it is a button that cycles ascending → descending → unsorted and shows an\narrow for the current direction (a neutral caret when unsorted). The arrow fades in and turns on a\nspring when the direction changes. It is disabled while the grid is loading. Non-sortable columns\nrender plain text. `help` adds an info icon with a tooltip.",
10671
10732
  "props": [
10672
10733
  {
10673
10734
  "name": "column",
@@ -18568,7 +18629,7 @@
18568
18629
  "type": "boolean",
18569
18630
  "required": false,
18570
18631
  "default": "true",
18571
- "description": "Show the Dodo AI button (violet magic icon, Nucleo add-magic).",
18632
+ "description": "Show the Dodo AI button (violet sparkle, Nucleo `add-magic`).",
18572
18633
  "source": "dodo"
18573
18634
  },
18574
18635
  {
@@ -18613,7 +18674,7 @@
18613
18674
  "name": "user",
18614
18675
  "type": "AppTopBarUser",
18615
18676
  "required": false,
18616
- "description": "Shows the user's avatar instead of the user icon on the account button.",
18677
+ "description": "Shows the user's avatar instead of the user icon on the account button: a 36px rounded square, as tall as the icon buttons beside it.",
18617
18678
  "source": "dodo"
18618
18679
  }
18619
18680
  ]
@@ -20070,6 +20131,9 @@
20070
20131
  "importPath": "@dodopayments/ui/sidebar",
20071
20132
  "exports": [
20072
20133
  "Sidebar",
20134
+ "SidebarBanner",
20135
+ "SidebarBusinessList",
20136
+ "SidebarBusinessListProps",
20073
20137
  "SidebarBusinessSwitcher",
20074
20138
  "SidebarBusinessSwitcherProps",
20075
20139
  "SidebarContent",
@@ -20118,9 +20182,27 @@
20118
20182
  }
20119
20183
  ]
20120
20184
  },
20185
+ {
20186
+ "name": "SidebarBanner",
20187
+ "description": "Full-width strips above the whole app shell (a `TestModeBanner`, an impersonation or action strip). Place it first\ninside `SidebarProvider`. From 1024px it is fixed to the top of the window and the docked sidebar and the inset\nstart below it (its height is `--sidebar-top` on the provider, for a page that sizes itself to the window); below\nthat it sits at the top of the page, above the inset. With nothing in it, it takes no space.",
20188
+ "props": []
20189
+ },
20190
+ {
20191
+ "name": "SidebarBusinessList",
20192
+ "description": "The other businesses in the business Menu, as old-main: the label, then the rows (40 tall, 8 apart) in a list that\nscrolls past 212 tall with faded edges, so \"Add new business\", Settings and Sign out under it stay in view.",
20193
+ "props": [
20194
+ {
20195
+ "name": "label",
20196
+ "type": "ReactNode",
20197
+ "required": true,
20198
+ "description": "The group's label, e.g. \"Other businesses\". It stays put while the rows scroll.",
20199
+ "source": "dodo"
20200
+ }
20201
+ ]
20202
+ },
20121
20203
  {
20122
20204
  "name": "SidebarBusinessSwitcher",
20123
- "description": "The business switcher at the top of the sidebar (Figma `.Business switcher`): a 44px white row with a 24px\navatar, the name (truncates), an optional `badge` and an up-down chevron; the same 24px avatar alone on the icon rail. Opens the business Menu\n(`children`) 8px below. Put it in `SidebarHeader`.",
20205
+ "description": "The business switcher at the top of the sidebar (Figma `.Business switcher`): a 44px white row with a 24px\navatar, the name (truncates), an optional `badge` and an up-down chevron; the same 24px avatar alone on the icon rail. Opens the business Menu\n8px below: the current business (logo and name) on top, then `children`. Put it in `SidebarHeader`.",
20124
20206
  "props": [
20125
20207
  {
20126
20208
  "name": "name",
@@ -20136,6 +20218,13 @@
20136
20218
  "description": "After the name, e.g. the member's role as a neutral `Badge`. Hidden on the icon rail.",
20137
20219
  "source": "dodo"
20138
20220
  },
20221
+ {
20222
+ "name": "footer",
20223
+ "type": "ReactNode",
20224
+ "required": false,
20225
+ "description": "Items on the grey strip under the white panel, such as Settings and Sign out.",
20226
+ "source": "dodo"
20227
+ },
20139
20228
  {
20140
20229
  "name": "logoUrl",
20141
20230
  "type": "string",
@@ -20436,6 +20525,13 @@
20436
20525
  "description": "The mode on the first render (uncontrolled).",
20437
20526
  "source": "dodo"
20438
20527
  },
20528
+ {
20529
+ "name": "labels",
20530
+ "type": "{ test?: string | undefined; live?: string | undefined; }",
20531
+ "required": false,
20532
+ "description": "The two halves' text, e.g. \"Test mode\" and \"Live mode\". The badge on the icon rail keeps the short words.",
20533
+ "source": "dodo"
20534
+ },
20439
20535
  {
20440
20536
  "name": "mode",
20441
20537
  "type": "\"test\" | \"live\"",
@@ -21293,6 +21389,22 @@
21293
21389
  "default": "\"Loading...\"",
21294
21390
  "description": "Accessible label announced by screen readers.",
21295
21391
  "source": "dodo"
21392
+ },
21393
+ {
21394
+ "name": "size",
21395
+ "type": "\"md\" | \"lg\"",
21396
+ "required": false,
21397
+ "default": "\"md\"",
21398
+ "description": "`md` 20 × 20, in a panel or a status line; `lg` 48 × 48, alone in the middle of a page that is still loading.",
21399
+ "source": "dodo"
21400
+ },
21401
+ {
21402
+ "name": "tone",
21403
+ "type": "\"info\" | \"brand\"",
21404
+ "required": false,
21405
+ "default": "\"brand\"",
21406
+ "description": "The arc's colour: `brand` (Content/Brand-primary) or `info` (Surface/Accent-primary blue, the dashboard's\nfull-page loader).",
21407
+ "source": "dodo"
21296
21408
  }
21297
21409
  ]
21298
21410
  }
@@ -21619,6 +21731,8 @@
21619
21731
  "SegmentedControlGroupProps",
21620
21732
  "SegmentedControlItem",
21621
21733
  "SegmentedControlItemProps",
21734
+ "SegmentedControlMenu",
21735
+ "SegmentedControlMenuProps",
21622
21736
  "SegmentedControlOption",
21623
21737
  "SegmentedControlProps",
21624
21738
  "SegmentedControlSize",
@@ -21911,6 +22025,40 @@
21911
22025
  "source": "base-ui"
21912
22026
  }
21913
22027
  ]
22028
+ },
22029
+ {
22030
+ "name": "SegmentedControlMenu",
22031
+ "description": "A segment that opens a menu of further options, for a single-select `segmented` control with more values than\nfit: \"More\" with a 12px caret, 28 tall and padded as the other segments. Picking an option makes it the control's\nvalue; the segment then shows that option, raised under the thumb, and still opens the menu.",
22032
+ "props": [
22033
+ {
22034
+ "name": "items",
22035
+ "type": "readonly { value: string; label: ReactNode; }[]",
22036
+ "required": true,
22037
+ "description": "The options it holds, as `SegmentedControl` values.",
22038
+ "source": "dodo"
22039
+ },
22040
+ {
22041
+ "name": "label",
22042
+ "type": "ReactNode",
22043
+ "required": true,
22044
+ "description": "What the segment says while none of its options is active, e.g. \"More\".",
22045
+ "source": "dodo"
22046
+ },
22047
+ {
22048
+ "name": "aria-label",
22049
+ "type": "string",
22050
+ "required": false,
22051
+ "description": "Accessible name of the segment, e.g. \"More statuses\".",
22052
+ "source": "dodo"
22053
+ },
22054
+ {
22055
+ "name": "className",
22056
+ "type": "string",
22057
+ "required": false,
22058
+ "description": "Additional Tailwind classes, merged last.",
22059
+ "source": "dodo"
22060
+ }
22061
+ ]
21914
22062
  }
21915
22063
  ],
21916
22064
  "examples": [
@@ -24341,7 +24489,7 @@
24341
24489
  },
24342
24490
  {
24343
24491
  "name": "ListToolbarFilters",
24344
- "description": "Filters (Figma: Button secondary lg with the filter icon) opening a `Popover` sm, 8 below and right-aligned: the\n\"Filter by\" header, your filters in the panel, and Clear / Filter on the strip when `onClear` / `onApply` are set.\nOn mobile it holds every filter and the date range. `count` shows how many filters are applied.",
24492
+ "description": "Filters (Figma: Button secondary lg with the filter icon) opening a `Popover` sm, 8 below and right-aligned: the\n\"Filter by\" header, your filters in the panel, and Clear / Filter on the strip when `onClear` / `onApply` are set.\nSeveral filters (more than one child) sit two to a row, 12 apart, in a 464 wide popover, as Figma's Filter\npopover; one filter keeps the 220 popover. On mobile it holds every filter and the date range. `count` shows how\nmany filters are applied.",
24345
24493
  "props": [
24346
24494
  {
24347
24495
  "name": "className",
@@ -27522,7 +27670,7 @@
27522
27670
  "title": "Page header",
27523
27671
  "category": "Navigation",
27524
27672
  "status": "stable",
27525
- "description": "The title row at the top of every dashboard page (Dodo Nest Page header). `size=\"sm\"` shrinks the title and\nraises the description for list and settings pages. Navigation is none (top-level pages),\n`back` (one level up: a secondary 36px icon button before the title) or `breadcrumb` (two or more levels, above\nthe title). The title is Heading/Secondary with an optional `help` question icon and a `meta` slot for a status\nBadge or Copyable ID; `actions` holds up to two large Buttons on the right; the `description` sits under the title,\nindented past the back button. Rows are 4 apart. Below 576px (or with `breakpoint=\"mobile\"`) the back button stays\nbeside the title and the actions move 8 below the description. No fill: put it first on the\nmain panel, 24 above the first section.",
27673
+ "description": "The title row at the top of every dashboard page (Dodo Nest Page header). `size=\"sm\"` shrinks the title and\nraises the description for list and settings pages. Navigation is none (top-level pages),\n`back` (one level up: a secondary 36px icon button before the title) or `breadcrumb` (two or more levels, above\nthe title). The title is Heading/Primary (Heading/Secondary on the mobile layout) with an optional `help`\nquestion icon and a `meta` slot for a status Badge or Copyable ID; `actions` holds up to two large Buttons on the\nright; the `description` sits under the title, indented past the back button. Rows are 4 apart. Below 576px (or\nwith `breakpoint=\"mobile\"`) the back button stays beside the title and the actions move 8 below the description.\nNo fill: put it first on the main panel, 40 under the App top bar on desktop (24 on mobile) and 24 above the\nfirst section.",
27526
27674
  "importPath": "@dodopayments/ui/page-header",
27527
27675
  "exports": [
27528
27676
  "PageHeader",
@@ -27531,13 +27679,13 @@
27531
27679
  "parts": [
27532
27680
  {
27533
27681
  "name": "PageHeader",
27534
- "description": "The title row at the top of every dashboard page (Dodo Nest Page header). `size=\"sm\"` shrinks the title and\nraises the description for list and settings pages. Navigation is none (top-level pages),\n`back` (one level up: a secondary 36px icon button before the title) or `breadcrumb` (two or more levels, above\nthe title). The title is Heading/Secondary with an optional `help` question icon and a `meta` slot for a status\nBadge or Copyable ID; `actions` holds up to two large Buttons on the right; the `description` sits under the title,\nindented past the back button. Rows are 4 apart. Below 576px (or with `breakpoint=\"mobile\"`) the back button stays\nbeside the title and the actions move 8 below the description. No fill: put it first on the\nmain panel, 24 above the first section.",
27682
+ "description": "The title row at the top of every dashboard page (Dodo Nest Page header). `size=\"sm\"` shrinks the title and\nraises the description for list and settings pages. Navigation is none (top-level pages),\n`back` (one level up: a secondary 36px icon button before the title) or `breadcrumb` (two or more levels, above\nthe title). The title is Heading/Primary (Heading/Secondary on the mobile layout) with an optional `help`\nquestion icon and a `meta` slot for a status Badge or Copyable ID; `actions` holds up to two large Buttons on the\nright; the `description` sits under the title, indented past the back button. Rows are 4 apart. Below 576px (or\nwith `breakpoint=\"mobile\"`) the back button stays beside the title and the actions move 8 below the description.\nNo fill: put it first on the main panel, 40 under the App top bar on desktop (24 on mobile) and 24 above the\nfirst section.",
27535
27683
  "props": [
27536
27684
  {
27537
27685
  "name": "title",
27538
27686
  "type": "ReactNode",
27539
27687
  "required": true,
27540
- "description": "Page title (Heading/Secondary), e.g. \"Transaction details\". Long titles and IDs wrap.",
27688
+ "description": "Page title, e.g. \"Transaction details\": Heading/Primary on the desktop row, Heading/Secondary on the mobile\nlayout (`size=\"sm\"`: Heading/Tertiary). Long titles and IDs wrap.",
27541
27689
  "source": "dodo"
27542
27690
  },
27543
27691
  {
@@ -28492,6 +28640,90 @@
28492
28640
  ],
28493
28641
  "docsUrl": "/blocks/payment-result"
28494
28642
  },
28643
+ {
28644
+ "slug": "celebration-dialog",
28645
+ "title": "Celebration Dialog",
28646
+ "category": "Blocks",
28647
+ "status": "stable",
28648
+ "description": "The dialog that marks a milestone, as the dashboard shows when setup reaches 100% in live mode: a 296px hero of\nmoving green silk with `media` over it, confetti falling across the window behind the card, then the title, the\ndescription and one `action`. No close button: the action, Escape and the scrim all close it. The silk and the\nconfetti stop under `prefers-reduced-motion`. Load it lazily where it rarely opens: it ships a WebGL shader.",
28649
+ "importPath": "@dodopayments/ui/celebration-dialog",
28650
+ "exports": [
28651
+ "CelebrationDialog",
28652
+ "CelebrationDialogProps"
28653
+ ],
28654
+ "parts": [
28655
+ {
28656
+ "name": "CelebrationDialog",
28657
+ "description": "The dialog that marks a milestone, as the dashboard shows when setup reaches 100% in live mode: a 296px hero of\nmoving green silk with `media` over it, confetti falling across the window behind the card, then the title, the\ndescription and one `action`. No close button: the action, Escape and the scrim all close it. The silk and the\nconfetti stop under `prefers-reduced-motion`. Load it lazily where it rarely opens: it ships a WebGL shader.",
28658
+ "props": [
28659
+ {
28660
+ "name": "title",
28661
+ "type": "ReactNode",
28662
+ "required": true,
28663
+ "description": "The heading, e.g. \"You're all set, Ada\". Names the dialog.",
28664
+ "source": "dodo"
28665
+ },
28666
+ {
28667
+ "name": "action",
28668
+ "type": "ReactNode",
28669
+ "required": false,
28670
+ "description": "The one way out, e.g. a `Button size=\"lg\"`. It fills the width.",
28671
+ "source": "dodo"
28672
+ },
28673
+ {
28674
+ "name": "className",
28675
+ "type": "string",
28676
+ "required": false,
28677
+ "description": "Classes for the card.",
28678
+ "source": "dodo"
28679
+ },
28680
+ {
28681
+ "name": "description",
28682
+ "type": "ReactNode",
28683
+ "required": false,
28684
+ "description": "One or two sentences under the title, announced with it.",
28685
+ "source": "dodo"
28686
+ },
28687
+ {
28688
+ "name": "media",
28689
+ "type": "ReactNode",
28690
+ "required": false,
28691
+ "description": "Centred over the hero, e.g. a looping seal animation (a muted `<video>`) or a Featured icon. Decorative.",
28692
+ "source": "dodo"
28693
+ },
28694
+ {
28695
+ "name": "defaultOpen",
28696
+ "type": "boolean",
28697
+ "required": false,
28698
+ "default": "false",
28699
+ "description": "Whether the dialog is initially open.\n\nTo render a controlled dialog, use the `open` prop instead.",
28700
+ "source": "base-ui"
28701
+ },
28702
+ {
28703
+ "name": "onOpenChange",
28704
+ "type": "((open: boolean, eventDetails: DialogRootChangeEventDetails) => void)",
28705
+ "required": false,
28706
+ "description": "Event handler called when the dialog is opened or closed.",
28707
+ "source": "base-ui"
28708
+ },
28709
+ {
28710
+ "name": "open",
28711
+ "type": "boolean",
28712
+ "required": false,
28713
+ "description": "Whether the dialog is currently open.",
28714
+ "source": "base-ui"
28715
+ }
28716
+ ]
28717
+ }
28718
+ ],
28719
+ "examples": [
28720
+ {
28721
+ "name": "celebration-dialog/basic",
28722
+ "code": "\"use client\";\n\nimport { Button } from \"@dodopayments/ui/button\";\nimport { CelebrationDialog } from \"@dodopayments/ui/celebration-dialog\";\nimport { FeaturedIcon } from \"@dodopayments/ui/featured-icon\";\nimport { CircleCheckIcon } from \"@dodopayments/ui/icons\";\nimport { useState } from \"react\";\n\nexport default function CelebrationDialogBasic() {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n <Button variant=\"secondary\" onClick={() => setOpen(true)}>\n Finish setup\n </Button>\n <CelebrationDialog\n open={open}\n onOpenChange={setOpen}\n title=\"You're all set, Ada!\"\n description=\"You've completed every setup step. You're live and ready to grow.\"\n media={<FeaturedIcon look=\"sphere\" tone=\"success\" icon={<CircleCheckIcon />} />}\n action={\n <Button size=\"lg\" onClick={() => setOpen(false)}>\n Let's get started\n </Button>\n }\n />\n </>\n );\n}"
28723
+ }
28724
+ ],
28725
+ "docsUrl": "/blocks/celebration-dialog"
28726
+ },
28495
28727
  {
28496
28728
  "slug": "subscription-card",
28497
28729
  "title": "Subscription Card",
@@ -30905,7 +31137,7 @@
30905
31137
  "props": [
30906
31138
  {
30907
31139
  "name": "brand",
30908
- "type": "\"meta\" | \"cursor\" | \"close\" | \"github\" | \"gitlab\" | \"terraform\" | \"vercel\" | \"google-cloud\" | \"aws\" | \"kubernetes\" | \"google-analytics\" | \"google-tag-manager\" | \"stripe\" | \"adyen\" | \"dodo-payments\" | \"discord\" | \"telegram\" | \"notion\" | \"framer\" | \"figma\" | \"claude\" | \"openai\" | \"opencode\" | \"slack\" | \"microsoft-teams\" | \"hubspot\" | \"salesforce\" | \"resend\" | \"sendgrid\" | \"loops\" | \"customer-io\" | \"segment\" | \"opentelemetry\" | \"zapier\" | \"windmill\"",
31140
+ "type": "\"meta\" | \"cursor\" | \"close\" | \"github\" | \"gitlab\" | \"terraform\" | \"vercel\" | \"google-cloud\" | \"aws\" | \"kubernetes\" | \"google-analytics\" | \"google-tag-manager\" | \"stripe\" | \"adyen\" | \"dodo-payments\" | \"discord\" | \"telegram\" | \"notion\" | \"framer\" | \"figma\" | \"claude\" | \"openai\" | \"opencode\" | \"vscode\" | \"windsurf\" | \"slack\" | \"microsoft-teams\" | \"hubspot\" | \"salesforce\" | \"resend\" | \"sendgrid\" | \"loops\" | \"customer-io\" | \"segment\" | \"opentelemetry\" | \"zapier\" | \"windmill\"",
30909
31141
  "required": true,
30910
31142
  "description": "Which brand's mark to draw.",
30911
31143
  "source": "dodo"
@@ -30933,7 +31165,7 @@
30933
31165
  "title": "Payment logos & flags",
30934
31166
  "category": "Brand",
30935
31167
  "status": "stable",
30936
- "description": "The official logo of a card network, wallet, bank method, BNPL or crypto, 32 × 22 everywhere (tables, detail\npages, settings): the artwork itself with 4px corners and a hairline edge, so every corner reads the same on any\nbackground. Never recoloured; the same in dark mode. `unknown` is a neutral tile with a credit card icon. Named\nafter the brand unless `decorative`. Each logo loads on first use; until then its box holds the space.",
31168
+ "description": "The official logo of a card network, wallet, bank method, BNPL or crypto, 33 × 22 (detail pages, settings) or\n30 × 20 with `size=\"sm\"` (table rows), always 3:2 so the artwork is never cropped: the artwork itself with 4px corners and a hairline edge, so every corner reads the same on any\nbackground. Never recoloured; the same in dark mode. `unknown` is a neutral tile with a credit card icon. Named\nafter the brand unless `decorative`. Each logo loads on first use; until then its box holds the space.",
30937
31169
  "importPath": "@dodopayments/ui/payment-logos",
30938
31170
  "exports": [
30939
31171
  "FLAG_COUNTRIES",
@@ -30953,7 +31185,7 @@
30953
31185
  "parts": [
30954
31186
  {
30955
31187
  "name": "PaymentLogo",
30956
- "description": "The official logo of a card network, wallet, bank method, BNPL or crypto, 32 × 22 everywhere (tables, detail\npages, settings): the artwork itself with 4px corners and a hairline edge, so every corner reads the same on any\nbackground. Never recoloured; the same in dark mode. `unknown` is a neutral tile with a credit card icon. Named\nafter the brand unless `decorative`. Each logo loads on first use; until then its box holds the space.",
31188
+ "description": "The official logo of a card network, wallet, bank method, BNPL or crypto, 33 × 22 (detail pages, settings) or\n30 × 20 with `size=\"sm\"` (table rows), always 3:2 so the artwork is never cropped: the artwork itself with 4px corners and a hairline edge, so every corner reads the same on any\nbackground. Never recoloured; the same in dark mode. `unknown` is a neutral tile with a credit card icon. Named\nafter the brand unless `decorative`. Each logo loads on first use; until then its box holds the space.",
30957
31189
  "props": [
30958
31190
  {
30959
31191
  "name": "brand",
@@ -30968,6 +31200,14 @@
30968
31200
  "required": false,
30969
31201
  "description": "Hide from assistive technology when the text next to it already names the method.",
30970
31202
  "source": "dodo"
31203
+ },
31204
+ {
31205
+ "name": "size",
31206
+ "type": "\"sm\" | \"md\"",
31207
+ "required": false,
31208
+ "default": "\"md\"",
31209
+ "description": "`md` 33 × 22 (detail pages, settings); `sm` 30 × 20, for table rows. Both 3:2, the artwork's own ratio.",
31210
+ "source": "dodo"
30971
31211
  }
30972
31212
  ]
30973
31213
  },
@@ -106,6 +106,7 @@
106
106
  - **Details Panel** (`@dodopayments/ui/details-panel`, Blocks): Read-only facts of a record as labelled values grouped in sections, ported from the dashboard's
107
107
  - **Invoice Document** (`@dodopayments/ui/invoice-document`, Blocks): An invoice as its PDF prints, ported from the dashboard's invoice preview: A4 at 72 dpi (595 wide,
108
108
  - **Payment Result** (`@dodopayments/ui/payment-result`, Blocks): Receipt card for the page a customer lands on after paying, ported from the checkout status page:
109
+ - **Celebration Dialog** (`@dodopayments/ui/celebration-dialog`, Blocks): The dialog that marks a milestone, as the dashboard shows when setup reaches 100% in live mode: a 296px hero of
109
110
  - **Subscription Card** (`@dodopayments/ui/subscription-card`, Blocks): A customer's subscription in the customer portal: name, add-ons and business, the payment method in the top
110
111
  - **Payment Method List** (`@dodopayments/ui/payment-method-list`, Blocks): Card listing saved payment methods or bank accounts, after the customer portal's payment methods
111
112
  - **Plan Picker** (`@dodopayments/ui/plan-picker`, Blocks): Plan chooser for checkout and change-plan flows, ported from the checkout product collection and
@@ -117,7 +118,7 @@
117
118
  - **Product Card** (`@dodopayments/ui/product-card`, Blocks): Storefront product card, ported from the Dodo store front: a square blur-up photo (or
118
119
  - **Record Header** (`@dodopayments/ui/record-header`, Blocks): Hero of a record's detail page (a payment, customer or subscription), not the page title: a
119
120
  - **Brand logos** (`@dodopayments/ui/brand-logos`, Brand): A brand's mark at 16px (size it with `size-*`), e.g. the provider type of a workload identity provider. Black or
120
- - **Payment logos & flags** (`@dodopayments/ui/payment-logos`, Brand): The official logo of a card network, wallet, bank method, BNPL or crypto, 32 × 22 everywhere (tables, detail
121
+ - **Payment logos & flags** (`@dodopayments/ui/payment-logos`, Brand): The official logo of a card network, wallet, bank method, BNPL or crypto, 33 × 22 (detail pages, settings) or
121
122
  - **Card Field** (`@dodopayments/ui/card-field`, Forms): PCI-sensitive card form composing Input/InputGroup and Field errors. Use only when your integration permits raw card inputs, not as a substitute for PSP-hosted fields.
122
123
  - **Wallet Buttons** (`@dodopayments/ui/wallet-buttons`, Forms): Express checkout buttons for Apple Pay, Google Pay and Amazon Pay in the brands' black (white in dark mode) style,
123
124
  - **Checkout Page** (`@dodopayments/ui/checkout-page`, Blocks): Two-column hosted checkout layout, after the Dodo checkout: the merchant brand and order summary on
@@ -38,13 +38,13 @@ search becomes an icon and Games, Milestones or Setup guide, Dodo AI, chat and t
38
38
  | `onToggleTheme` | `((next: AppTopBarTheme) => void)` | - | Called with the theme to switch to when the toggle (or the mobile menu switch) is pressed. |
39
39
  | `searchShortcut` | `boolean` | `true` | Whether the `/` key calls `onSearch`. Turn it off when something else owns `/`, or when several bars share a page. |
40
40
  | `setupGuideProgress` | `number` | `0` | Share of setup done, 0–1: the ring on the Setup guide button. |
41
- | `showAi` | `boolean` | `true` | Show the Dodo AI button (violet magic icon, Nucleo add-magic). |
41
+ | `showAi` | `boolean` | `true` | Show the Dodo AI button (violet sparkle, Nucleo `add-magic`). |
42
42
  | `showGames` | `boolean` | `true` | Show the Dodo Games button. |
43
43
  | `showMilestones` | `boolean` | `true` | Show the Milestones button. |
44
44
  | `showSetupGuide` | `boolean` | `false` | Show the Setup guide button in the Milestones slot, for a business that has not finished setting up. It takes the place of Milestones (never both). |
45
45
  | `support` | `ReactNode` | - | The dashboard's help panel: `AppTopBarSupportItem` rows (Discord, chat, feature requests, docs) in a 300 wide popover over a dot field, 12 below its button with right edges aligned. It replaces the chat button, and stays in the bar on a phone. Without it the chat button calls `onOpenChat`. |
46
46
  | `theme` | `AppTopBarTheme` | - | The theme the page shows: the toggle morphs sun → moon for `"dark"`. Pass it with `onToggleTheme` to control it; without it the toggle keeps its own state from `defaultTheme`. |
47
- | `user` | `AppTopBarUser` | - | Shows the user's avatar instead of the user icon on the account button. |
47
+ | `user` | `AppTopBarUser` | - | Shows the user's avatar instead of the user icon on the account button: a 36px rounded square, as tall as the icon buttons beside it. |
48
48
 
49
49
  ## AppTopBarGamesButton
50
50
 
@@ -16,6 +16,7 @@ A round profile picture with an initials fallback, built on the `Avatar` primiti
16
16
  | --- | --- | --- | --- |
17
17
  | `className` | `string` | - | Additional Tailwind classes, merged last. |
18
18
  | `size` | `"sm" \| "md" \| "xl" \| "2xl"` | `"md"` | `sm`: 24px, previews and inline mentions.<br>`md`: 32px, lists, tables, onboarding and the top bar. The default.<br>`xl`: 56px, the store logo on a Storefront header (mobile).<br>`2xl`: 72px, the store logo on a Storefront header from `md`. |
19
+ | `variant` | `"person" \| "logo"` | `"person"` | `person`: A person: a circle. The default.<br>`logo`: A business or store logo: a square with 8px corners. |
19
20
 
20
21
  Also accepts Base UI props: `render`.
21
22
 
@@ -44,6 +45,7 @@ avatars that do not set their own; `max` collapses the rest into a "+N" count.
44
45
  | `formatOverflowLabel` | `((hiddenCount: number) => string)` | `(count) => `${count} more`` | Screen-reader text for the "+N" count. |
45
46
  | `max` | `number` | - | Show at most this many avatars, followed by a "+N" count of the rest. Avatars inside fragments count one by one. |
46
47
  | `size` | `"sm" \| "md" \| "xl" \| "2xl"` | `"md"` | `sm`: 24px, previews and inline mentions.<br>`md`: 32px, lists, tables, onboarding and the top bar. The default.<br>`xl`: 56px, the store logo on a Storefront header (mobile).<br>`2xl`: 72px, the store logo on a Storefront header from `md`. |
48
+ | `variant` | `"person" \| "logo"` | `"person"` | `person`: A person: a circle. The default.<br>`logo`: A business or store logo: a square with 8px corners. |
47
49
 
48
50
  ## AvatarImage
49
51
 
@@ -75,6 +77,7 @@ a polite announcement after changes. Under reduced motion, the stack changes ins
75
77
  | `max` | `number` | `5` | Show at most this many avatars, followed by a "+N" count of the rest. |
76
78
  | `onOverflowClick` | `((hidden: AvatarPresencePerson[]) => void)` | - | Makes the "+N" count a button. Called with the people it hides, e.g. to open a popover list. |
77
79
  | `size` | `"sm" \| "md" \| "xl" \| "2xl"` | `"md"` | `sm`: 24px, previews and inline mentions.<br>`md`: 32px, lists, tables, onboarding and the top bar. The default.<br>`xl`: 56px, the store logo on a Storefront header (mobile).<br>`2xl`: 72px, the store logo on a Storefront header from `md`. |
80
+ | `variant` | `"person" \| "logo"` | `"person"` | `person`: A person: a circle. The default.<br>`logo`: A business or store logo: a square with 8px corners. |
78
81
 
79
82
  ## Examples
80
83
 
@@ -16,7 +16,7 @@ marks keep their brand colours.
16
16
 
17
17
  | Prop | Type | Default | Description |
18
18
  | --- | --- | --- | --- |
19
- | `brand` (required) | `"meta" \| "cursor" \| "close" \| "github" \| "gitlab" \| "terraform" \| "vercel" \| "google-cloud" \| "aws" \| "kubernetes" \| "google-analytics" \| "google-tag-manager" \| "stripe" \| "adyen" \| "dodo-payments" \| "discord" \| "telegram" \| "notion" \| "framer" \| "figma" \| "claude" \| "openai" \| "opencode" \| "slack" \| "microsoft-teams" \| "hubspot" \| "salesforce" \| "resend" \| "sendgrid" \| "loops" \| "customer-io" \| "segment" \| "opentelemetry" \| "zapier" \| "windmill"` | - | Which brand's mark to draw. |
19
+ | `brand` (required) | `"meta" \| "cursor" \| "close" \| "github" \| "gitlab" \| "terraform" \| "vercel" \| "google-cloud" \| "aws" \| "kubernetes" \| "google-analytics" \| "google-tag-manager" \| "stripe" \| "adyen" \| "dodo-payments" \| "discord" \| "telegram" \| "notion" \| "framer" \| "figma" \| "claude" \| "openai" \| "opencode" \| "vscode" \| "windsurf" \| "slack" \| "microsoft-teams" \| "hubspot" \| "salesforce" \| "resend" \| "sendgrid" \| "loops" \| "customer-io" \| "segment" \| "opentelemetry" \| "zapier" \| "windmill"` | - | Which brand's mark to draw. |
20
20
  | `label` | `string` | - | Names the mark for screen readers (`role="img"`). Leave it out when the brand's name is already next to the mark: the mark is then decorative. |
21
21
 
22
22
  ## Examples
@@ -0,0 +1,66 @@
1
+ # Celebration Dialog
2
+
3
+ The dialog that marks a milestone, as the dashboard shows when setup reaches 100% in live mode: a 296px hero of
4
+ moving green silk with `media` over it, confetti falling across the window behind the card, then the title, the
5
+ description and one `action`. No close button: the action, Escape and the scrim all close it. The silk and the
6
+ confetti stop under `prefers-reduced-motion`. Load it lazily where it rarely opens: it ships a WebGL shader.
7
+
8
+ ```tsx
9
+ import { CelebrationDialog } from "@dodopayments/ui/celebration-dialog";
10
+ ```
11
+
12
+ ## CelebrationDialog
13
+
14
+ The dialog that marks a milestone, as the dashboard shows when setup reaches 100% in live mode: a 296px hero of
15
+ moving green silk with `media` over it, confetti falling across the window behind the card, then the title, the
16
+ description and one `action`. No close button: the action, Escape and the scrim all close it. The silk and the
17
+ confetti stop under `prefers-reduced-motion`. Load it lazily where it rarely opens: it ships a WebGL shader.
18
+
19
+ | Prop | Type | Default | Description |
20
+ | --- | --- | --- | --- |
21
+ | `title` (required) | `ReactNode` | - | The heading, e.g. "You're all set, Ada". Names the dialog. |
22
+ | `action` | `ReactNode` | - | The one way out, e.g. a `Button size="lg"`. It fills the width. |
23
+ | `className` | `string` | - | Classes for the card. |
24
+ | `description` | `ReactNode` | - | One or two sentences under the title, announced with it. |
25
+ | `media` | `ReactNode` | - | Centred over the hero, e.g. a looping seal animation (a muted `<video>`) or a Featured icon. Decorative. |
26
+
27
+ Also accepts Base UI props: `defaultOpen`, `onOpenChange`, `open`.
28
+
29
+ ## Examples
30
+
31
+ ### celebration-dialog/basic
32
+
33
+ ```tsx
34
+ "use client";
35
+
36
+ import { Button } from "@dodopayments/ui/button";
37
+ import { CelebrationDialog } from "@dodopayments/ui/celebration-dialog";
38
+ import { FeaturedIcon } from "@dodopayments/ui/featured-icon";
39
+ import { CircleCheckIcon } from "@dodopayments/ui/icons";
40
+ import { useState } from "react";
41
+
42
+ export default function CelebrationDialogBasic() {
43
+ const [open, setOpen] = useState(false);
44
+
45
+ return (
46
+ <>
47
+ <Button variant="secondary" onClick={() => setOpen(true)}>
48
+ Finish setup
49
+ </Button>
50
+ <CelebrationDialog
51
+ open={open}
52
+ onOpenChange={setOpen}
53
+ title="You're all set, Ada!"
54
+ description="You've completed every setup step. You're live and ready to grow."
55
+ media={<FeaturedIcon look="sphere" tone="success" icon={<CircleCheckIcon />} />}
56
+ action={
57
+ <Button size="lg" onClick={() => setOpen(false)}>
58
+ Let's get started
59
+ </Button>
60
+ }
61
+ />
62
+ </>
63
+ );
64
+ }
65
+ ```
66
+
@@ -24,11 +24,12 @@ mount, so server and client render the same first frame).
24
24
  | `copyLabel` | `string` | `"Copy code"` | Accessible name of the copy button. |
25
25
  | `copyable` | `boolean` | `true` | Show a copy button that copies `code`. It sits in the header, or in the top-right corner without one. |
26
26
  | `defaultLanguage` | `string` | `the first snippet` | With `snippets`: the language shown first when no provider or saved choice applies. |
27
- | `language` | `string` | - | Language name, exposed as `data-language` on the root. `json` and the shells (`bash`, `sh`, `zsh`) are coloured. |
27
+ | `language` | `string` | - | Language name, exposed as `data-language` on the root. `json`, the shells (`bash`, `sh`, `zsh`), JavaScript, TypeScript and Python are coloured. |
28
28
  | `maxHeight` | `string` | `"20rem"` | CSS max-height of the code area. Content beyond it scrolls inside. |
29
29
  | `onLanguageChange` | `((language: string) => void)` | - | With `snippets`: called with the language the reader picks. |
30
30
  | `overflow` | `"scroll" \| "wrap"` | `"scroll"` | `scroll`: Lines keep their layout and the block scrolls sideways (default). Best for code and JSON payloads.<br>`wrap`: Long lines wrap. Best for narrow panels and prose-like output. |
31
31
  | `placeholder` | `string` | - | Shown in Content/Tertiary when `code` is empty. |
32
+ | `sensitive` | `boolean` | - | `code` is a secret, e.g. an API key shown once: the copy button never puts it in a hidden textarea page scripts could read, as CopyButton's `sensitive`. |
32
33
  | `showHeader` | `boolean` | `true when `title` is set` | Show the header: the title (or the language, upper-cased) on the left and the copy button on the right. |
33
34
  | `snippets` | `readonly CodeBlockSnippet[]` | - | The same example in several languages: the header shows one tab per snippet instead of the title, and the copy button copies the snippet shown. Nothing renders when it is empty. |
34
35
  | `storageKey` | `string` | - | With `snippets`: localStorage key that remembers the picked language, shared by every block with the same key on the page. Read after mount (no hydration mismatch). A `CodeBlockProvider` choice wins. |
@@ -54,7 +54,7 @@ the selected rows.
54
54
 
55
55
  ## DataGridColumnHeader
56
56
 
57
- Column header label (.Table header cell): Labels/Secondary in Content/Secondary, with 12px icons 4
57
+ Column header label (.Table header cell): Labels/Secondary in Content/Primary, with 12px icons 4
58
58
  apart. For sortable columns it is a button that cycles ascending → descending → unsorted and shows an
59
59
  arrow for the current direction (a neutral caret when unsorted). The arrow fades in and turns on a
60
60
  spring when the direction changes. It is disabled while the grid is loading. Non-sortable columns
@@ -40,7 +40,9 @@ only its icon; the label still names it.
40
40
 
41
41
  Filters (Figma: Button secondary lg with the filter icon) opening a `Popover` sm, 8 below and right-aligned: the
42
42
  "Filter by" header, your filters in the panel, and Clear / Filter on the strip when `onClear` / `onApply` are set.
43
- On mobile it holds every filter and the date range. `count` shows how many filters are applied.
43
+ Several filters (more than one child) sit two to a row, 12 apart, in a 464 wide popover, as Figma's Filter
44
+ popover; one filter keeps the 220 popover. On mobile it holds every filter and the date range. `count` shows how
45
+ many filters are applied.
44
46
 
45
47
  | Prop | Type | Default | Description |
46
48
  | --- | --- | --- | --- |