@slotted/react 0.1.0-beta.41 → 0.1.0-beta.42

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 (286) hide show
  1. package/dist/{accordion-n5D6mcmS.js → accordion-xW-aFeGb.js} +1 -1
  2. package/dist/accordion.js +1 -1
  3. package/dist/{action-bar-Cq4dt4hP.js → action-bar-BSUuY6pJ.js} +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/{action-sheet-dNnB26br.js → action-sheet-BouG2qh_.js} +1 -1
  6. package/dist/action-sheet.js +1 -1
  7. package/dist/{app-shell-DyPHYe4K.js → app-shell-D54YkU7E.js} +126 -110
  8. package/dist/app-shell.js +2 -2
  9. package/dist/{calendar-DRuJ7z0H.js → calendar-YQ784o4d.js} +139 -123
  10. package/dist/calendar.js +1 -1
  11. package/dist/{cascader-CivJ76VR.js → cascader-fq8fNWSr.js} +1 -1
  12. package/dist/cascader.js +1 -1
  13. package/dist/{chart-CgXbG6gZ.js → chart-vedR0BDN.js} +1 -1
  14. package/dist/chart.js +1 -1
  15. package/dist/{checkbox-D3E4gzMe.js → checkbox-DsJhlB5c.js} +3 -3
  16. package/dist/{checkbox-group-Dg5YN3fx.js → checkbox-group-pvX9R_yS.js} +2 -2
  17. package/dist/checkbox-group.js +1 -1
  18. package/dist/checkbox.js +1 -1
  19. package/dist/{collapsible-CT4_3aXm.js → collapsible-KzBs5HvA.js} +2 -2
  20. package/dist/collapsible.js +1 -1
  21. package/dist/{color-picker-CeOl4ikV.js → color-picker-i-MJ5VVs.js} +4 -4
  22. package/dist/color-picker.js +1 -1
  23. package/dist/{column-manager-CnOhzVGP.js → column-manager-D028QbfO.js} +5 -5
  24. package/dist/column-manager.js +1 -1
  25. package/dist/{combobox-C2qlkTw6.js → combobox-599heRN_.js} +1 -1
  26. package/dist/combobox.js +1 -1
  27. package/dist/{context-menu-WiKS4Zwv.js → context-menu-WM_tT9hz.js} +1 -1
  28. package/dist/context-menu.js +1 -1
  29. package/dist/{currency-field-LAawS9qo.js → currency-field-rS36pjCO.js} +1 -1
  30. package/dist/currency-field.js +1 -1
  31. package/dist/{dashboard-grid-Zzqmbzqq.js → dashboard-grid-Dh2Q3IQv.js} +2 -2
  32. package/dist/dashboard-grid.js +1 -1
  33. package/dist/{data-grid-Y5aX9njc.js → data-grid-D106baPp.js} +17 -17
  34. package/dist/data-grid.js +1 -1
  35. package/dist/{data-list-CyEq7M2D.js → data-list-BA0xrySM.js} +2 -2
  36. package/dist/data-list.js +1 -1
  37. package/dist/{date-field-CxubN_3u.js → date-field-BZ5JcvXJ.js} +1 -1
  38. package/dist/date-field.js +1 -1
  39. package/dist/{date-picker-6hj83x5D.js → date-picker-BvEbsbJC.js} +4 -4
  40. package/dist/date-picker.js +2 -2
  41. package/dist/{date-range-picker-CBWnFTgL.js → date-range-picker-uIr-yReE.js} +5 -5
  42. package/dist/date-range-picker.js +1 -1
  43. package/dist/{datetime-field-GMIqBuTa.js → datetime-field-DDs3mV9Z.js} +1 -1
  44. package/dist/datetime-field.js +1 -1
  45. package/dist/{datetime-picker-DwUYd3zF.js → datetime-picker-DDYXqrjm.js} +6 -6
  46. package/dist/datetime-picker.js +1 -1
  47. package/dist/{datetime-range-picker-CX_tBt6b.js → datetime-range-picker-CFTHW771.js} +6 -6
  48. package/dist/datetime-range-picker.js +1 -1
  49. package/dist/docs/accordion.examples.md +743 -0
  50. package/dist/docs/accordion.json +84 -28
  51. package/dist/docs/accordion.md +56 -152
  52. package/dist/docs/action-sheet.examples.md +771 -0
  53. package/dist/docs/action-sheet.json +91 -51
  54. package/dist/docs/action-sheet.md +72 -233
  55. package/dist/docs/app-shell.json +7 -0
  56. package/dist/docs/app-shell.md +1 -0
  57. package/dist/docs/breadcrumb.json +64 -16
  58. package/dist/docs/breadcrumb.md +489 -56
  59. package/dist/docs/collapsible.examples.md +575 -0
  60. package/dist/docs/collapsible.json +89 -49
  61. package/dist/docs/collapsible.md +47 -197
  62. package/dist/docs/context-menu.json +58 -18
  63. package/dist/docs/context-menu.md +442 -77
  64. package/dist/docs/field.json +15 -1
  65. package/dist/docs/field.md +3 -1
  66. package/dist/docs/floating-panel.json +56 -0
  67. package/dist/docs/floating-panel.md +329 -8
  68. package/dist/docs/hover-card.json +65 -17
  69. package/dist/docs/hover-card.md +422 -64
  70. package/dist/docs/loading-overlay.examples.md +577 -0
  71. package/dist/docs/loading-overlay.json +55 -23
  72. package/dist/docs/loading-overlay.md +49 -168
  73. package/dist/docs/menu.json +67 -0
  74. package/dist/docs/menu.md +8 -1
  75. package/dist/docs/menubar.json +55 -15
  76. package/dist/docs/menubar.md +488 -42
  77. package/dist/docs/pagination.json +89 -33
  78. package/dist/docs/pagination.md +462 -55
  79. package/dist/docs/popover.json +1 -1
  80. package/dist/docs/popover.md +1 -1
  81. package/dist/docs/select.json +55 -1
  82. package/dist/docs/select.md +7 -2
  83. package/dist/docs/toggle-group.examples.md +584 -0
  84. package/dist/docs/toggle-group.json +84 -20
  85. package/dist/docs/toggle-group.md +17 -182
  86. package/dist/docs/toggle.json +93 -37
  87. package/dist/docs/toggle.md +304 -51
  88. package/dist/{drawer-Du1aC1px.js → drawer-CQagePr_.js} +256 -256
  89. package/dist/drawer.js +1 -1
  90. package/dist/{entity-picker-BwJX0gNJ.js → entity-picker-CC4VoC3p.js} +2 -2
  91. package/dist/entity-picker.js +1 -1
  92. package/dist/{event-calendar-DzlL95E4.js → event-calendar-CjmF_e0H.js} +5 -5
  93. package/dist/event-calendar.js +1 -1
  94. package/dist/field-C-HRhke0.js +421 -0
  95. package/dist/{field-group-7zV68b3d.js → field-group-CU0PasvW.js} +1 -1
  96. package/dist/field-group.js +1 -1
  97. package/dist/field.js +1 -1
  98. package/dist/{filter-bar-DMuP5P6e.js → filter-bar-B3QJD7SZ.js} +11 -11
  99. package/dist/filter-bar.js +1 -1
  100. package/dist/{hover-card-CWCSZ5_p.js → hover-card-CTItbEfH.js} +2 -2
  101. package/dist/hover-card.js +1 -1
  102. package/dist/{import-export-center-DzAUMTq5.js → import-export-center-CW8YVZev.js} +1 -1
  103. package/dist/import-export-center.js +1 -1
  104. package/dist/index.js +132 -132
  105. package/dist/{listbox-CWU3DiEt.js → listbox-ZqiJ2yer.js} +1 -1
  106. package/dist/listbox.js +1 -1
  107. package/dist/{markdown-7wOBMXTl.js → markdown-BdskE4-L.js} +1 -1
  108. package/dist/markdown.js +1 -1
  109. package/dist/menu-parts-DXs5YuUA.js +932 -0
  110. package/dist/menu.js +1 -1
  111. package/dist/{menubar-k8Q4_p9l.js → menubar-CVoAFc6r.js} +2 -2
  112. package/dist/menubar.js +1 -1
  113. package/dist/{multi-select-DEd_92BC.js → multi-select-Dc2d6dDB.js} +1 -1
  114. package/dist/multi-select.js +1 -1
  115. package/dist/{number-field-BJKoidAE.js → number-field-BQ54hXmk.js} +1 -1
  116. package/dist/number-field.js +1 -1
  117. package/dist/{otp-input-Czz9Z6dQ.js → otp-input-DRooqa3f.js} +1 -1
  118. package/dist/otp-input.js +1 -1
  119. package/dist/{pagination-D0PUAFYm.js → pagination-BRXuyPzo.js} +1 -1
  120. package/dist/pagination.js +1 -1
  121. package/dist/{picker-frame-CT5WNEnw.js → picker-frame-B6sPCP5Y.js} +1 -1
  122. package/dist/{popover-B2t__iNO.js → popover-1DlOu95x.js} +198 -197
  123. package/dist/popover.js +1 -1
  124. package/dist/{prompt-composer-Lsfcz_i9.js → prompt-composer-tYIs39rn.js} +1 -1
  125. package/dist/prompt-composer.js +1 -1
  126. package/dist/{radio-group-_ZRUgcI5.js → radio-group-AW3xcYYh.js} +2 -2
  127. package/dist/radio-group.js +1 -1
  128. package/dist/{rating-C6AkIIUi.js → rating-h3qdHLNi.js} +1 -1
  129. package/dist/rating.js +1 -1
  130. package/dist/{saved-views-zM-DxT1F.js → saved-views-nqn0SDXn.js} +4 -4
  131. package/dist/saved-views.js +1 -1
  132. package/dist/{segmented-control-D52GeOlS.js → segmented-control-CbK7SurB.js} +2 -2
  133. package/dist/segmented-control.js +1 -1
  134. package/dist/select-d448Wkzb.js +1124 -0
  135. package/dist/select.js +1 -1
  136. package/dist/{side-navigation-CtZuP87S.js → side-navigation-CKRETc8E.js} +99 -99
  137. package/dist/side-navigation.js +1 -1
  138. package/dist/{slider-DQqQ0skr.js → slider-DQ2CnxTO.js} +1 -1
  139. package/dist/slider.js +1 -1
  140. package/dist/{split-button-BYowsA6Q.js → split-button-D4MPKSB2.js} +1 -1
  141. package/dist/split-button.js +1 -1
  142. package/dist/styles/action-bar.css +1 -1
  143. package/dist/styles/app-shell.css +1 -1
  144. package/dist/styles/cascader.css +2 -0
  145. package/dist/styles/chart.css +1 -1
  146. package/dist/styles/checkbox-group.css +2 -0
  147. package/dist/styles/checkbox.css +2 -0
  148. package/dist/styles/color-picker.css +3 -3
  149. package/dist/styles/column-manager.css +2 -2
  150. package/dist/styles/combobox.css +2 -0
  151. package/dist/styles/context-menu.css +1 -1
  152. package/dist/styles/currency-field.css +2 -0
  153. package/dist/styles/dashboard-grid.css +2 -2
  154. package/dist/styles/data-grid.css +4 -4
  155. package/dist/styles/data-list.css +3 -1
  156. package/dist/styles/date-field.css +2 -0
  157. package/dist/styles/date-picker.css +3 -1
  158. package/dist/styles/date-range-picker.css +3 -1
  159. package/dist/styles/datetime-field.css +2 -0
  160. package/dist/styles/datetime-picker.css +3 -1
  161. package/dist/styles/datetime-range-picker.css +3 -1
  162. package/dist/styles/entity-picker.css +3 -1
  163. package/dist/styles/event-calendar.css +2 -2
  164. package/dist/styles/field-group.css +2 -0
  165. package/dist/styles/field.css +2 -0
  166. package/dist/styles/filter-bar.css +4 -4
  167. package/dist/styles/floating-panel.css +1 -1
  168. package/dist/styles/hover-card.css +1 -1
  169. package/dist/styles/import-export-center.css +3 -3
  170. package/dist/styles/index.css +9 -9
  171. package/dist/styles/listbox.css +2 -0
  172. package/dist/styles/markdown.css +2 -0
  173. package/dist/styles/menu.css +1 -1
  174. package/dist/styles/menubar.css +1 -1
  175. package/dist/styles/multi-select.css +2 -0
  176. package/dist/styles/number-field.css +2 -0
  177. package/dist/styles/otp-input.css +2 -0
  178. package/dist/styles/pagination.css +1 -1
  179. package/dist/styles/popover.css +1 -1
  180. package/dist/styles/prompt-composer.css +2 -0
  181. package/dist/styles/radio-group.css +2 -0
  182. package/dist/styles/rating.css +2 -0
  183. package/dist/styles/saved-views.css +3 -3
  184. package/dist/styles/segmented-control.css +2 -0
  185. package/dist/styles/select.css +3 -1
  186. package/dist/styles/side-navigation.css +1 -1
  187. package/dist/styles/slider.css +2 -0
  188. package/dist/styles/split-button.css +1 -1
  189. package/dist/styles/switch.css +2 -0
  190. package/dist/styles/table.css +3 -3
  191. package/dist/styles/tags-input.css +2 -0
  192. package/dist/styles/text-field.css +2 -0
  193. package/dist/styles/textarea.css +2 -0
  194. package/dist/styles/time-field.css +2 -0
  195. package/dist/styles/time-picker.css +3 -1
  196. package/dist/styles/time-range-picker.css +3 -1
  197. package/dist/styles/toggle-group.css +3 -1
  198. package/dist/styles/toolbar.css +1 -1
  199. package/dist/styles/top-navigation.css +1 -1
  200. package/dist/styles/transfer.css +2 -0
  201. package/dist/styles/upload.css +2 -0
  202. package/dist/styles.css +1 -1
  203. package/dist/{switch-CcZAVLiW.js → switch-DxMukg7F.js} +1 -1
  204. package/dist/switch.js +1 -1
  205. package/dist/{table-D4oX9Gvn.js → table-BecApjeD.js} +13 -13
  206. package/dist/table.js +1 -1
  207. package/dist/{tags-input-O87zTh7h.js → tags-input-CqCeLtk-.js} +1 -1
  208. package/dist/tags-input.js +1 -1
  209. package/dist/{text-field-Cnjc7LB5.js → text-field-CMOkJ9Z6.js} +1 -1
  210. package/dist/text-field.js +1 -1
  211. package/dist/{textarea-DcA7jwOM.js → textarea-DfqPfXTr.js} +1 -1
  212. package/dist/textarea.js +1 -1
  213. package/dist/{time-field-BanhrUvf.js → time-field-GyLQsxcc.js} +1 -1
  214. package/dist/time-field.js +1 -1
  215. package/dist/{time-picker-Cu1iV039.js → time-picker-CGHPnust.js} +3 -3
  216. package/dist/time-picker.js +1 -1
  217. package/dist/{time-range-picker-sdbaFJFN.js → time-range-picker-BMRtAqPy.js} +4 -4
  218. package/dist/time-range-picker.js +1 -1
  219. package/dist/{toggle-zDTD5G3H.js → toggle-DSEEtL3Y.js} +7 -2
  220. package/dist/{toggle-group-D7GQyNQP.js → toggle-group-DZEWkVRo.js} +8 -3
  221. package/dist/toggle-group.js +1 -1
  222. package/dist/toggle.js +1 -1
  223. package/dist/{toolbar-DOV4BKY8.js → toolbar-BP7ka6lN.js} +1 -1
  224. package/dist/toolbar.js +1 -1
  225. package/dist/{top-navigation-D3rpgBV2.js → top-navigation-D8IHPOmm.js} +1 -1
  226. package/dist/top-navigation.js +1 -1
  227. package/dist/{transfer-CuLlF_nY.js → transfer-sKUvmEKe.js} +5 -5
  228. package/dist/transfer.js +1 -1
  229. package/dist/types/app-shell/app-shell-parts.d.ts +7 -0
  230. package/dist/types/app-shell/app-shell-parts.d.ts.map +1 -1
  231. package/dist/types/app-shell/index.d.ts +1 -1
  232. package/dist/types/app-shell/index.d.ts.map +1 -1
  233. package/dist/types/calendar/calendar.d.ts.map +1 -1
  234. package/dist/types/calendar/use-clock-today.d.ts +10 -0
  235. package/dist/types/calendar/use-clock-today.d.ts.map +1 -0
  236. package/dist/types/field/field-defaults.d.ts +1 -1
  237. package/dist/types/field/field-defaults.d.ts.map +1 -1
  238. package/dist/types/field/field-help-sheet.d.ts +15 -0
  239. package/dist/types/field/field-help-sheet.d.ts.map +1 -0
  240. package/dist/types/field/field-parts.d.ts +1 -1
  241. package/dist/types/field/field-parts.d.ts.map +1 -1
  242. package/dist/types/field/field.types.d.ts +11 -0
  243. package/dist/types/field/field.types.d.ts.map +1 -1
  244. package/dist/types/field/index.d.ts +1 -1
  245. package/dist/types/field/index.d.ts.map +1 -1
  246. package/dist/types/menu/index.d.ts +1 -1
  247. package/dist/types/menu/index.d.ts.map +1 -1
  248. package/dist/types/menu/menu-defaults.d.ts.map +1 -1
  249. package/dist/types/menu/menu-parts.d.ts.map +1 -1
  250. package/dist/types/menu/menu-sheet-step.d.ts +6 -0
  251. package/dist/types/menu/menu-sheet-step.d.ts.map +1 -0
  252. package/dist/types/menu/menu.d.ts +1 -1
  253. package/dist/types/menu/menu.d.ts.map +1 -1
  254. package/dist/types/menu/menu.types.d.ts +15 -0
  255. package/dist/types/menu/menu.types.d.ts.map +1 -1
  256. package/dist/types/menu/use-menu-sheet.d.ts +9 -0
  257. package/dist/types/menu/use-menu-sheet.d.ts.map +1 -0
  258. package/dist/types/pagination/pagination-parts.d.ts.map +1 -1
  259. package/dist/types/picker-panel/picker-layer.d.ts +4 -1
  260. package/dist/types/picker-panel/picker-layer.d.ts.map +1 -1
  261. package/dist/types/picker-panel/use-picker-layer.d.ts.map +1 -1
  262. package/dist/types/popover/popover-parts.d.ts.map +1 -1
  263. package/dist/types/select/index.d.ts +1 -1
  264. package/dist/types/select/index.d.ts.map +1 -1
  265. package/dist/types/select/select-defaults.d.ts.map +1 -1
  266. package/dist/types/select/select-parts.d.ts.map +1 -1
  267. package/dist/types/select/select.d.ts +6 -2
  268. package/dist/types/select/select.d.ts.map +1 -1
  269. package/dist/types/select/select.types.d.ts +9 -0
  270. package/dist/types/select/select.types.d.ts.map +1 -1
  271. package/dist/types/select/use-select-sheet.d.ts +9 -0
  272. package/dist/types/select/use-select-sheet.d.ts.map +1 -0
  273. package/dist/types/toggle/toggle.d.ts.map +1 -1
  274. package/dist/types/toggle/toggle.types.d.ts +4 -1
  275. package/dist/types/toggle/toggle.types.d.ts.map +1 -1
  276. package/dist/types/toggle-group/toggle-group-parts.d.ts.map +1 -1
  277. package/dist/types/toggle-group/toggle-group.types.d.ts +4 -1
  278. package/dist/types/toggle-group/toggle-group.types.d.ts.map +1 -1
  279. package/dist/{upload-CPl38p-S.js → upload-CuMOaPK3.js} +1 -1
  280. package/dist/upload.js +1 -1
  281. package/dist/{use-date-picker-DWV7KWS7.js → use-date-picker-DdSX3RE4.js} +2 -2
  282. package/dist/{use-picker-draft-BJlHcb6J.js → use-picker-draft-I_pxqYsc.js} +48 -35
  283. package/package.json +6 -6
  284. package/dist/field-vOVzvq5t.js +0 -368
  285. package/dist/menu-parts-DgL617_H.js +0 -814
  286. package/dist/select-BkUuIVBK.js +0 -1017
@@ -22,14 +22,25 @@ import {
22
22
 
23
23
  ## Minimal example
24
24
 
25
- Excerpt — not a complete module
25
+ Example
26
26
 
27
27
  ```tsx
28
- <Pagination count={482} page={page} onPageChange={setPage}>
29
- <PaginationPrevious />
30
- <PaginationItems />
31
- <PaginationNext />
32
- </Pagination>;
28
+ import {
29
+ Pagination,
30
+ PaginationItems,
31
+ PaginationNext,
32
+ PaginationPrevious,
33
+ } from '@slotted/react/pagination';
34
+
35
+ export default function PaginationBasic() {
36
+ return (
37
+ <Pagination aria-label="Invoices" count={482} defaultPage={12}>
38
+ <PaginationPrevious />
39
+ <PaginationItems />
40
+ <PaginationNext />
41
+ </Pagination>
42
+ );
43
+ }
33
44
  ```
34
45
 
35
46
  ## Anatomy
@@ -54,24 +65,24 @@ Excerpt — not a complete module
54
65
 
55
66
  | Name | Type | Default | Applies to | Description |
56
67
  | --- | --- | --- | --- | --- |
57
- | `count` | `number` | — | Pagination | How many items the collection holds. It has no default: left out entirely, the total is unknown, no page numbers are drawn, and the family invents none |
58
- | `page` | `number` | — | Pagination | Present means controlled, for the life of the component |
59
- | `defaultPage` | `number` | 1 | Pagination | The page an uncontrolled paginator starts from, read once |
60
- | `pageSize` | `number` | — | Pagination | Present means controlled, like page |
61
- | `defaultPageSize` | `number` | 20 | Pagination | The page size it starts from, read once |
62
- | `pageSizeOptions` | `readonly number[]` | [10, 20, 50, 100] | Pagination | What the page-size control offers |
63
- | `siblingCount` | `number` | 1 | Pagination | Pages drawn either side of the current one |
64
- | `boundaryCount` | `number` | 1 | Pagination | Pages drawn at each end of the row |
65
- | `itemHref` | `(page: number) => string` | — | Pagination | Turns every page and every trigger into an anchor with a real destination |
66
- | `messages` | `Partial<PaginationMessages>` | — | Pagination | Words laid over the language in force, key by key: the landmark's name (label), every control and both sentences |
67
- | `live` | `'polite' \| 'off'` | polite | Pagination | Whether the range announces a page change |
68
- | `disabled` | `boolean` | false | Pagination | Takes every control away without taking the row out of the page |
69
- | `loading` | `boolean` | false | Pagination | A page change in flight: every move is refused, the row keeps its size, and the root says aria-busy |
68
+ | `count` | `number` | — | Pagination | How many items the collection holds. It has no default: left out entirely, the total is unknown, no page numbers are drawn, and no total is invented. |
69
+ | `page` | `number` | — | Pagination | Present means controlled, for the life of the component. |
70
+ | `defaultPage` | `number` | 1 | Pagination | The page an uncontrolled paginator starts from, read once. |
71
+ | `pageSize` | `number` | — | Pagination | Present means controlled, like page. |
72
+ | `defaultPageSize` | `number` | 20 | Pagination | The page size it starts from, read once. |
73
+ | `pageSizeOptions` | `readonly number[]` | [10, 20, 50, 100] | Pagination | What the page-size control offers. |
74
+ | `siblingCount` | `number` | 1 | Pagination | Pages drawn either side of the current one. |
75
+ | `boundaryCount` | `number` | 1 | Pagination | Pages drawn at each end of the row. |
76
+ | `itemHref` | `(page: number) => string` | — | Pagination | Turns every page and every trigger into an anchor with a real destination. |
77
+ | `messages` | `Partial<PaginationMessages>` | — | Pagination | Words laid over the language in force, key by key: the landmark's name (label), every control and both sentences. |
78
+ | `live` | `'polite' \| 'off'` | polite | Pagination | Whether the range announces a page change. |
79
+ | `disabled` | `boolean` | false | Pagination | Takes every control away without taking the row out of the page. |
80
+ | `loading` | `boolean` | false | Pagination | A page change in flight: every move is refused, the row keeps its size, and the root says aria-busy. |
70
81
  | `render` | `(props) => ReactNode` | — | every part | Substitutes the rendered element. Every data attribute is handed to it, so a router link keeps them. |
71
- | `ref` | `Ref<HTMLElement>` | — | every part | Reaches the element, and focus() with it |
82
+ | `ref` | `Ref<HTMLElement>` | — | every part | Reaches the element, and focus() with it. |
72
83
  | `onClick` | `MouseEventHandler` | — | every trigger | Composed rather than replaced. Call preventDefault to keep the page where it is. |
73
- | `usePagination()` | `() => PaginationContextValue` | — | inside a Pagination | goToPage, next, previous, setPageSize, and the arithmetic they came from: page, pages, range, items |
74
- | `PaginationDefaultsProvider` | `siblingCount \| boundaryCount \| defaultPageSize \| pageSizeOptions \| live` | — | Application | Sets those five once for everything below it; a prop on the paginator still wins |
84
+ | `usePagination()` | `() => PaginationContextValue` | — | inside a Pagination | goToPage, next, previous, setPageSize, and the arithmetic they came from: page, pages, range, items. |
85
+ | `PaginationDefaultsProvider` | `siblingCount \| boundaryCount \| defaultPageSize \| pageSizeOptions \| live` | — | Application | Sets those five once for everything below it; a prop on the paginator still wins. |
75
86
 
76
87
  ## Events
77
88
 
@@ -86,8 +97,8 @@ Excerpt — not a complete module
86
97
  - The range is a polite live region, and it is the only one: one region announcing one sentence is the whole of the announcement, so a page change is not read out twice.
87
98
  - In link mode a trigger at a bound renders an anchor with no destination and aria-disabled, rather than a disabled anchor — there is no such thing, and one that kept its href would still navigate on a middle click.
88
99
  - The page size is a native select wrapped by its own label, which gives the control its accessible name from the platform and needs no generated id; its popup follows the color scheme the theme already emits.
89
- - Below the family own breakpoint the numbered row gives way to the summary. Both are always in the DOM and exactly one is displayed, so nothing is announced twice — and the range is only hidden where a summary exists to replace it.
90
- - Focus stays on the control that was pressed. When pressing it makes it unavailable — Next on the second-to-last page — focus moves to the nearest control that survives, because losing focus to the body after activating a control is what the guide means by preserving position predictably.
100
+ - Below 22rem of its own inline size the numbered row gives way to the summary. Both are always in the DOM and exactly one is displayed, so nothing is announced twice — and the range is only hidden where a summary exists to replace it.
101
+ - Focus stays on the control that was pressed. When pressing it makes it unavailable — Next on the second-to-last page — focus moves to the nearest control that survives, because focus that falls to the body after a press discards the reader’s position.
91
102
  - The figures are tabular and every cell is at least as wide as it is tall, so page 9 and page 8 942 are the same target and the row does not move under the pointer.
92
103
 
93
104
  ## Tokens
@@ -96,6 +107,20 @@ Excerpt — not a complete module
96
107
 
97
108
  ## Examples
98
109
 
110
+ ### Playground
111
+
112
+ Every input on one paginator, driven by the controls below the canvas. Change count and watch the row keep its length while the numbers inside it move.
113
+
114
+ Excerpt — not a complete module
115
+
116
+ ```tsx
117
+ <Pagination count={482} page={page} onPageChange={setPage}>
118
+ <PaginationPrevious />
119
+ <PaginationItems />
120
+ <PaginationNext />
121
+ </Pagination>;
122
+ ```
123
+
99
124
  ### The row of page numbers
100
125
 
101
126
  siblingCount widens the run around the current page and boundaryCount the runs at each end. The row holds one length at every page, so nothing beside it shifts as the reader walks.
@@ -110,30 +135,71 @@ Excerpt — not a complete module
110
135
 
111
136
  ### A total the server does not know
112
137
 
113
- Leave count out and there are no page numbers to draw, so none are drawn. Two triggers and a sentence are the whole paginator, and the family invents no total.
138
+ Leave count out and there are no page numbers to draw, so none are drawn. Two triggers and a sentence are the whole paginator, and no total is invented.
114
139
 
115
- Excerpt — not a complete module
140
+ Example
116
141
 
117
142
  ```tsx
118
- <Pagination onPageChange={fetchPage}>
119
- <PaginationPrevious />
120
- <PaginationStatus>Showing the first 20 results</PaginationStatus>
121
- <PaginationNext />
122
- </Pagination>;
143
+ import { useState } from 'react';
144
+
145
+ import {
146
+ Pagination,
147
+ PaginationNext,
148
+ PaginationPrevious,
149
+ PaginationStatus,
150
+ } from '@slotted/react/pagination';
151
+
152
+ export default function PaginationCursor() {
153
+ const [page, setPage] = useState(1);
154
+
155
+ return (
156
+ <Pagination aria-label="Shipments" page={page} onPageChange={setPage}>
157
+ <PaginationPrevious />
158
+ <PaginationStatus>Shipments, page {page}</PaginationStatus>
159
+ <PaginationNext />
160
+ </Pagination>
161
+ );
162
+ }
123
163
  ```
124
164
 
125
165
  ### Which items this page holds
126
166
 
127
167
  The sentence the numbers do not say, in a polite live region so a page change is announced once. Replace the wording through messages, or the whole sentence with children.
128
168
 
129
- Excerpt — not a complete module
169
+ Example
130
170
 
131
171
  ```tsx
132
- <PaginationStatus />;
133
-
134
- <Pagination count={482} messages={{ range: '{start}–{end} de {count}' }}>
135
- <PaginationStatus />
136
- </Pagination>;
172
+ import {
173
+ Pagination,
174
+ PaginationNext,
175
+ PaginationPrevious,
176
+ PaginationStatus,
177
+ } from '@slotted/react/pagination';
178
+ import { Stack } from '@slotted/react/stack';
179
+ import { Text } from '@slotted/react/typography';
180
+
181
+ export default function PaginationRange() {
182
+ return (
183
+ <Stack gap={4}>
184
+ <Text size="sm" tone="muted">
185
+ The range is announced after each page change
186
+ </Text>
187
+ <Pagination aria-label="Invoices, announced" count={482} defaultPage={2}>
188
+ <PaginationPrevious />
189
+ <PaginationStatus />
190
+ <PaginationNext />
191
+ </Pagination>
192
+ <Text size="sm" tone="muted">
193
+ The range is displayed and never announced
194
+ </Text>
195
+ <Pagination aria-label="Invoices, silent" count={482} defaultPage={2} live="off">
196
+ <PaginationPrevious />
197
+ <PaginationStatus />
198
+ <PaginationNext />
199
+ </Pagination>
200
+ </Stack>
201
+ );
202
+ }
137
203
  ```
138
204
 
139
205
  ### How many rows a page holds
@@ -152,40 +218,142 @@ Excerpt — not a complete module
152
218
 
153
219
  itemHref turns every page and every trigger into an anchor, so a middle click opens page four in a tab and a crawler can follow the row. Without it they are buttons.
154
220
 
155
- Excerpt — not a complete module
221
+ Example
156
222
 
157
223
  ```tsx
158
- <Pagination count={482} itemHref={(page) => `/invoices?page=${page}`}>
159
- <PaginationItems />
160
- </Pagination>;
224
+ import {
225
+ Pagination,
226
+ PaginationItems,
227
+ PaginationNext,
228
+ PaginationPrevious,
229
+ } from '@slotted/react/pagination';
230
+
231
+ export default function PaginationLinks() {
232
+ return (
233
+ <Pagination aria-label="Invoices" count={482} itemHref={(page) => `#invoices-page-${page}`}>
234
+ <PaginationPrevious />
235
+ <PaginationItems />
236
+ <PaginationNext />
237
+ </Pagination>
238
+ );
239
+ }
161
240
  ```
162
241
 
163
242
  ### Narrow enough that the row will not fit
164
243
 
165
- Below 22rem of the paginator own inline size the numbered row gives way to the summary and the triggers stay. It is a container query, so the same paginator on a wide page never compacts.
244
+ Below 22rem of its own inline size the numbered row gives way to the summary and the triggers stay. It is a container query, so the same paginator on a wide page never compacts.
166
245
 
167
- Excerpt — not a complete module
246
+ Example
168
247
 
169
248
  ```tsx
170
- // The summary is always rendered beside the row; the container query
171
- // decides which of the two is displayed.
172
- <PaginationItems />;
249
+ import { Card, CardBody, CardHeader } from '@slotted/react/card';
250
+ import { Grid } from '@slotted/react/grid';
251
+ import {
252
+ Pagination,
253
+ PaginationItems,
254
+ PaginationNext,
255
+ PaginationPrevious,
256
+ } from '@slotted/react/pagination';
257
+ import { Heading } from '@slotted/react/typography';
258
+
259
+ export default function PaginationCompact() {
260
+ return (
261
+ <Grid columns={3} gap={4} minItemWidth="xs">
262
+ <Card>
263
+ <CardHeader>
264
+ <Heading level={2} size="md">
265
+ Receiving
266
+ </Heading>
267
+ </CardHeader>
268
+ <CardBody>
269
+ <Pagination aria-label="Receiving queue" count={140} defaultPage={3}>
270
+ <PaginationPrevious />
271
+ <PaginationItems />
272
+ <PaginationNext />
273
+ </Pagination>
274
+ </CardBody>
275
+ </Card>
276
+
277
+ <Card>
278
+ <CardHeader>
279
+ <Heading level={2} size="md">
280
+ Picking
281
+ </Heading>
282
+ </CardHeader>
283
+ <CardBody>
284
+ <Pagination aria-label="Picking queue" count={482} defaultPage={12}>
285
+ <PaginationPrevious />
286
+ <PaginationItems />
287
+ <PaginationNext />
288
+ </Pagination>
289
+ </CardBody>
290
+ </Card>
291
+
292
+ <Card>
293
+ <CardHeader>
294
+ <Heading level={2} size="md">
295
+ Packing
296
+ </Heading>
297
+ </CardHeader>
298
+ <CardBody>
299
+ <Pagination aria-label="Packing queue" count={96} defaultPage={2}>
300
+ <PaginationPrevious />
301
+ <PaginationItems />
302
+ <PaginationNext />
303
+ </Pagination>
304
+ </CardBody>
305
+ </Card>
306
+ </Grid>
307
+ );
308
+ }
173
309
  ```
174
310
 
175
311
  ### States
176
312
 
177
313
  A trigger at a bound is unavailable, a page change in flight refuses every move and keeps the row width, and a disabled paginator mutes the current chip without losing its shape.
178
314
 
179
- Excerpt — not a complete module
315
+ Example
180
316
 
181
317
  ```tsx
182
- <Pagination count={482} loading>
183
- <PaginationItems />
184
- </Pagination>;
185
-
186
- <Pagination count={482} disabled>
187
- <PaginationItems />
188
- </Pagination>;
318
+ import {
319
+ Pagination,
320
+ PaginationItems,
321
+ PaginationNext,
322
+ PaginationPrevious,
323
+ } from '@slotted/react/pagination';
324
+ import { Stack } from '@slotted/react/stack';
325
+ import { Text } from '@slotted/react/typography';
326
+
327
+ export default function PaginationStates() {
328
+ return (
329
+ <Stack gap={4}>
330
+ <Text size="sm" tone="muted">
331
+ At the last page
332
+ </Text>
333
+ <Pagination aria-label="Invoices, last page" count={482} defaultPage={25}>
334
+ <PaginationPrevious />
335
+ <PaginationItems />
336
+ <PaginationNext />
337
+ </Pagination>
338
+ <Text size="sm" tone="muted">
339
+ Loading the next page
340
+ </Text>
341
+ <Pagination aria-label="Invoices, loading" count={482} defaultPage={3} loading>
342
+ <PaginationPrevious />
343
+ <PaginationItems />
344
+ <PaginationNext />
345
+ </Pagination>
346
+ <Text size="sm" tone="muted">
347
+ Disabled
348
+ </Text>
349
+ <Pagination aria-label="Invoices, disabled" count={482} defaultPage={3} disabled>
350
+ <PaginationPrevious />
351
+ <PaginationItems />
352
+ <PaginationNext />
353
+ </Pagination>
354
+ </Stack>
355
+ );
356
+ }
189
357
  ```
190
358
 
191
359
  ### Ten thousand pages
@@ -202,7 +370,7 @@ Excerpt — not a complete module
202
370
 
203
371
  ### Composition
204
372
 
205
- The same family in two arrangements — a numbered row, and the bar a table carries — plus the provider that sets the wording once and the hook that hands you the arithmetic.
373
+ The same parts in two arrangements — a numbered row, and the bar a table carries — plus the provider that sets the wording once and the hook that hands the application the arithmetic.
206
374
 
207
375
  Excerpt — not a complete module
208
376
 
@@ -230,3 +398,242 @@ Excerpt — not a complete module
230
398
  // unavailable, it moves to the nearest control that survived.
231
399
  <PaginationNext />;
232
400
  ```
401
+
402
+ ### controlled.tsx
403
+
404
+ Example
405
+
406
+ ```tsx
407
+ import { useState } from 'react';
408
+
409
+ import { Button } from '@slotted/react/button';
410
+ import { Inline } from '@slotted/react/inline';
411
+ import {
412
+ Pagination,
413
+ PaginationItems,
414
+ PaginationNext,
415
+ PaginationPrevious,
416
+ type PaginationPageRequest,
417
+ } from '@slotted/react/pagination';
418
+ import { Stack } from '@slotted/react/stack';
419
+ import { Text } from '@slotted/react/typography';
420
+
421
+ export default function PaginationControlled() {
422
+ const [count, setCount] = useState(482);
423
+ const [page, setPage] = useState(25);
424
+ const [reason, setReason] = useState('none yet');
425
+
426
+ const handlePageChange = (next: number, request: PaginationPageRequest) => {
427
+ setPage(next);
428
+ setReason(request.reason);
429
+ };
430
+
431
+ return (
432
+ <Stack gap={4}>
433
+ <Pagination aria-label="Invoices" count={count} page={page} onPageChange={handlePageChange}>
434
+ <PaginationPrevious />
435
+ <PaginationItems />
436
+ <PaginationNext />
437
+ </Pagination>
438
+ <Text size="sm" tone="muted">
439
+ {count} invoices, page {page}. Last change: {reason}.
440
+ </Text>
441
+ <Inline>
442
+ <Button onClick={() => setCount(96)}>Show open invoices</Button>
443
+ <Button onClick={() => setCount(482)}>Show all invoices</Button>
444
+ </Inline>
445
+ </Stack>
446
+ );
447
+ }
448
+ ```
449
+
450
+ ### defaults.tsx
451
+
452
+ Example
453
+
454
+ ```tsx
455
+ import {
456
+ Pagination,
457
+ PaginationDefaultsProvider,
458
+ PaginationItems,
459
+ PaginationPageSize,
460
+ PaginationStatus,
461
+ } from '@slotted/react/pagination';
462
+ import { Stack } from '@slotted/react/stack';
463
+ import { Text } from '@slotted/react/typography';
464
+
465
+ export default function PaginationApplicationDefaults() {
466
+ return (
467
+ <PaginationDefaultsProvider
468
+ defaultPageSize={50}
469
+ pageSizeOptions={[25, 50, 100]}
470
+ siblingCount={2}
471
+ >
472
+ <Stack gap={4}>
473
+ <Text size="sm" tone="muted">
474
+ Inherits two siblings and 50 rows
475
+ </Text>
476
+ <Pagination aria-label="Orders, inherited" count={1200} defaultPage={10}>
477
+ <PaginationPageSize />
478
+ <PaginationStatus />
479
+ <PaginationItems />
480
+ </Pagination>
481
+ <Text size="sm" tone="muted">
482
+ States no siblings and keeps the rest
483
+ </Text>
484
+ <Pagination aria-label="Orders, own row" count={1200} defaultPage={10} siblingCount={0}>
485
+ <PaginationPageSize />
486
+ <PaginationStatus />
487
+ <PaginationItems />
488
+ </Pagination>
489
+ </Stack>
490
+ </PaginationDefaultsProvider>
491
+ );
492
+ }
493
+ ```
494
+
495
+ ### messages.tsx
496
+
497
+ Example
498
+
499
+ ```tsx
500
+ import {
501
+ Pagination,
502
+ PaginationItems,
503
+ PaginationNext,
504
+ PaginationPrevious,
505
+ PaginationStatus,
506
+ } from '@slotted/react/pagination';
507
+
508
+ const messages = {
509
+ label: 'Shipments',
510
+ next: 'Later shipments',
511
+ page: 'Shipments page {page}',
512
+ previous: 'Earlier shipments',
513
+ range: '{start} to {end} of {count} shipments',
514
+ };
515
+
516
+ export default function PaginationMessages() {
517
+ return (
518
+ <Pagination count={482} defaultPage={12} messages={messages}>
519
+ <PaginationPrevious />
520
+ <PaginationItems />
521
+ <PaginationNext />
522
+ <PaginationStatus />
523
+ </Pagination>
524
+ );
525
+ }
526
+ ```
527
+
528
+ ### row.tsx
529
+
530
+ Example
531
+
532
+ ```tsx
533
+ import {
534
+ Pagination,
535
+ PaginationFirst,
536
+ PaginationItems,
537
+ PaginationLast,
538
+ PaginationNext,
539
+ PaginationPrevious,
540
+ } from '@slotted/react/pagination';
541
+ import { Stack } from '@slotted/react/stack';
542
+ import { Text } from '@slotted/react/typography';
543
+
544
+ export default function PaginationRow() {
545
+ return (
546
+ <Stack gap={4}>
547
+ <Text size="sm" tone="muted">
548
+ One page on each side of the current page and at each end
549
+ </Text>
550
+ <Pagination aria-label="Invoices, default row" count={482} defaultPage={12}>
551
+ <PaginationFirst />
552
+ <PaginationPrevious />
553
+ <PaginationItems />
554
+ <PaginationNext />
555
+ <PaginationLast />
556
+ </Pagination>
557
+ <Text size="sm" tone="muted">
558
+ Two pages on each side of the current page and at each end
559
+ </Text>
560
+ <Pagination
561
+ aria-label="Invoices, wide row"
562
+ boundaryCount={2}
563
+ count={482}
564
+ defaultPage={12}
565
+ siblingCount={2}
566
+ >
567
+ <PaginationFirst />
568
+ <PaginationPrevious />
569
+ <PaginationItems />
570
+ <PaginationNext />
571
+ <PaginationLast />
572
+ </Pagination>
573
+ </Stack>
574
+ );
575
+ }
576
+ ```
577
+
578
+ ### rows.tsx
579
+
580
+ Example
581
+
582
+ ```tsx
583
+ import {
584
+ Pagination,
585
+ PaginationNext,
586
+ PaginationPageSize,
587
+ PaginationPrevious,
588
+ PaginationStatus,
589
+ } from '@slotted/react/pagination';
590
+
591
+ export default function PaginationRows() {
592
+ return (
593
+ <Pagination
594
+ aria-label="Orders"
595
+ count={482}
596
+ defaultPage={5}
597
+ defaultPageSize={25}
598
+ pageSizeOptions={[25, 50, 100]}
599
+ >
600
+ <PaginationPageSize label="Orders per page" />
601
+ <PaginationStatus />
602
+ <PaginationPrevious />
603
+ <PaginationNext />
604
+ </Pagination>
605
+ );
606
+ }
607
+ ```
608
+
609
+ ### wiring.tsx
610
+
611
+ Example
612
+
613
+ ```tsx
614
+ import { Button } from '@slotted/react/button';
615
+ import {
616
+ Pagination,
617
+ PaginationItems,
618
+ PaginationNext,
619
+ PaginationPrevious,
620
+ usePagination,
621
+ } from '@slotted/react/pagination';
622
+
623
+ function BackToStart() {
624
+ const { goToPage } = usePagination();
625
+
626
+ return <Button onClick={() => goToPage(1)}>Back to page 1</Button>;
627
+ }
628
+
629
+ export default function PaginationWiring() {
630
+ return (
631
+ <Pagination aria-label="Invoices" count={482} defaultPage={12}>
632
+ <PaginationPrevious />
633
+ <PaginationItems />
634
+ <PaginationNext />
635
+ <BackToStart />
636
+ </Pagination>
637
+ );
638
+ }
639
+ ```
@@ -459,6 +459,7 @@
459
459
  "--slotted-drawer-radius",
460
460
  "--slotted-drawer-resizer-line-color",
461
461
  "--slotted-drawer-scrim",
462
+ "--slotted-drawer-scrim-backdrop-filter",
462
463
  "--slotted-drawer-slide-duration",
463
464
  "--slotted-drawer-slide-easing",
464
465
  "--slotted-drawer-slide-exit-duration",
@@ -502,7 +503,6 @@
502
503
  "--slotted-popover-shadow",
503
504
  "--slotted-popover-surface",
504
505
  "--slotted-popover-text",
505
- "--slotted-radius-full",
506
506
  "--slotted-radius-lg",
507
507
  "--slotted-radius-sm",
508
508
  "--slotted-radius-xs",
@@ -178,7 +178,7 @@ export default function PopoverBasic() {
178
178
 
179
179
  ## Tokens
180
180
 
181
- `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-control-height-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-drawer-border-color`, `--slotted-drawer-radius`, `--slotted-drawer-resizer-line-color`, `--slotted-drawer-scrim`, `--slotted-drawer-slide-duration`, `--slotted-drawer-slide-easing`, `--slotted-drawer-slide-exit-duration`, `--slotted-drawer-slide-exit-easing`, `--slotted-drawer-surface`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-popover-arrow-size`, `--slotted-popover-arrow-tip-radius`, `--slotted-popover-backdrop-filter`, `--slotted-popover-border-color`, `--slotted-popover-gap`, `--slotted-popover-measure`, `--slotted-popover-measure-lg`, `--slotted-popover-measure-sm`, `--slotted-popover-padding-block`, `--slotted-popover-padding-block-lg`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline`, `--slotted-popover-padding-inline-lg`, `--slotted-popover-padding-inline-sm`, `--slotted-popover-radius`, `--slotted-popover-shadow`, `--slotted-popover-surface`, `--slotted-popover-text`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-scrim`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
181
+ `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-control-height-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-drawer-border-color`, `--slotted-drawer-radius`, `--slotted-drawer-resizer-line-color`, `--slotted-drawer-scrim`, `--slotted-drawer-scrim-backdrop-filter`, `--slotted-drawer-slide-duration`, `--slotted-drawer-slide-easing`, `--slotted-drawer-slide-exit-duration`, `--slotted-drawer-slide-exit-easing`, `--slotted-drawer-surface`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-popover-arrow-size`, `--slotted-popover-arrow-tip-radius`, `--slotted-popover-backdrop-filter`, `--slotted-popover-border-color`, `--slotted-popover-gap`, `--slotted-popover-measure`, `--slotted-popover-measure-lg`, `--slotted-popover-measure-sm`, `--slotted-popover-padding-block`, `--slotted-popover-padding-block-lg`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline`, `--slotted-popover-padding-inline-lg`, `--slotted-popover-padding-inline-sm`, `--slotted-popover-radius`, `--slotted-popover-shadow`, `--slotted-popover-surface`, `--slotted-popover-text`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-scrim`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
182
182
 
183
183
  ## Examples
184
184