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

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 (298) hide show
  1. package/dist/{app-shell-D54YkU7E.js → app-shell-DsWhsSMU.js} +3 -2
  2. package/dist/app-shell.js +1 -1
  3. package/dist/attachment-TZykYNu5.js +300 -0
  4. package/dist/attachment.js +2 -2
  5. package/dist/{avatar-group-bJaZE1_C.js → avatar-group-Bzmmj2HI.js} +2 -1
  6. package/dist/avatar-group.js +1 -1
  7. package/dist/{carousel-B9nMK7Yf.js → carousel-CRNz-T3g.js} +1 -1
  8. package/dist/carousel.js +1 -1
  9. package/dist/{command-palette-C90CzfQi.js → command-palette-Bgf5tfCI.js} +160 -156
  10. package/dist/command-palette.js +1 -1
  11. package/dist/{data-grid-D106baPp.js → data-grid-DUft3rJb.js} +1 -1
  12. package/dist/data-grid.js +1 -1
  13. package/dist/{data-list-BA0xrySM.js → data-list-Dv3orBtf.js} +15 -15
  14. package/dist/data-list.js +1 -1
  15. package/dist/detail-panel-Cke3ZFU3.js +342 -0
  16. package/dist/detail-panel.js +2 -2
  17. package/dist/docs/action-bar.examples.md +768 -0
  18. package/dist/docs/action-bar.json +74 -50
  19. package/dist/docs/action-bar.md +49 -311
  20. package/dist/docs/app-shell.examples.md +1221 -64
  21. package/dist/docs/app-shell.json +92 -60
  22. package/dist/docs/app-shell.md +92 -57
  23. package/dist/docs/attachment.examples.md +689 -0
  24. package/dist/docs/attachment.json +69 -37
  25. package/dist/docs/attachment.md +44 -203
  26. package/dist/docs/avatar-group.json +111 -23
  27. package/dist/docs/avatar-group.md +487 -28
  28. package/dist/docs/button-group.json +98 -2
  29. package/dist/docs/button-group.md +411 -8
  30. package/dist/docs/calendar.examples.md +512 -0
  31. package/dist/docs/calendar.json +72 -24
  32. package/dist/docs/calendar.md +18 -147
  33. package/dist/docs/carousel.examples.md +868 -0
  34. package/dist/docs/carousel.json +58 -50
  35. package/dist/docs/carousel.md +66 -300
  36. package/dist/docs/cascader.examples.md +1269 -0
  37. package/dist/docs/cascader.json +72 -16
  38. package/dist/docs/cascader.md +78 -154
  39. package/dist/docs/chart.examples.md +734 -24
  40. package/dist/docs/chart.json +93 -13
  41. package/dist/docs/chart.md +28 -7
  42. package/dist/docs/clock.json +71 -15
  43. package/dist/docs/clock.md +326 -21
  44. package/dist/docs/code-block.json +79 -55
  45. package/dist/docs/code-block.md +417 -74
  46. package/dist/docs/color-picker.json +60 -12
  47. package/dist/docs/color-picker.md +245 -22
  48. package/dist/docs/column-manager.examples.md +764 -0
  49. package/dist/docs/column-manager.json +68 -12
  50. package/dist/docs/column-manager.md +44 -203
  51. package/dist/docs/command-palette.examples.md +747 -0
  52. package/dist/docs/command-palette.json +48 -24
  53. package/dist/docs/command-palette.md +60 -339
  54. package/dist/docs/currency-field.examples.md +355 -73
  55. package/dist/docs/currency-field.json +96 -64
  56. package/dist/docs/currency-field.md +57 -50
  57. package/dist/docs/dashboard-grid.examples.md +629 -0
  58. package/dist/docs/dashboard-grid.json +64 -16
  59. package/dist/docs/dashboard-grid.md +34 -152
  60. package/dist/docs/data-list.examples.md +1556 -0
  61. package/dist/docs/data-list.json +58 -18
  62. package/dist/docs/data-list.md +139 -224
  63. package/dist/docs/date-field.examples.md +543 -0
  64. package/dist/docs/date-field.json +64 -24
  65. package/dist/docs/date-field.md +22 -168
  66. package/dist/docs/datetime-field.examples.md +699 -0
  67. package/dist/docs/datetime-field.json +79 -31
  68. package/dist/docs/datetime-field.md +24 -269
  69. package/dist/docs/datetime-range-picker.examples.md +682 -0
  70. package/dist/docs/datetime-range-picker.json +117 -61
  71. package/dist/docs/datetime-range-picker.md +59 -224
  72. package/dist/docs/description-list.examples.md +652 -0
  73. package/dist/docs/description-list.json +49 -25
  74. package/dist/docs/description-list.md +33 -188
  75. package/dist/docs/detail-panel.examples.md +1177 -0
  76. package/dist/docs/detail-panel.json +69 -53
  77. package/dist/docs/detail-panel.md +114 -324
  78. package/dist/docs/entity-picker.examples.md +1037 -0
  79. package/dist/docs/entity-picker.json +66 -18
  80. package/dist/docs/entity-picker.md +56 -246
  81. package/dist/docs/event-calendar.examples.md +749 -49
  82. package/dist/docs/event-calendar.json +46 -22
  83. package/dist/docs/event-calendar.md +81 -11
  84. package/dist/docs/field-group.examples.md +554 -0
  85. package/dist/docs/field-group.json +98 -34
  86. package/dist/docs/field-group.md +55 -133
  87. package/dist/docs/filter-bar.examples.md +772 -0
  88. package/dist/docs/filter-bar.json +41 -25
  89. package/dist/docs/filter-bar.md +42 -246
  90. package/dist/docs/form.examples.md +579 -0
  91. package/dist/docs/form.json +87 -39
  92. package/dist/docs/form.md +53 -177
  93. package/dist/docs/fullscreen.examples.md +558 -0
  94. package/dist/docs/fullscreen.json +58 -18
  95. package/dist/docs/fullscreen.md +50 -169
  96. package/dist/docs/highlight.json +57 -25
  97. package/dist/docs/highlight.md +402 -50
  98. package/dist/docs/icon.json +85 -5
  99. package/dist/docs/icon.md +401 -10
  100. package/dist/docs/image.examples.md +670 -0
  101. package/dist/docs/image.json +44 -28
  102. package/dist/docs/image.md +24 -176
  103. package/dist/docs/import-export-center.examples.md +1280 -0
  104. package/dist/docs/import-export-center.json +67 -27
  105. package/dist/docs/import-export-center.md +121 -226
  106. package/dist/docs/list-item.examples.md +769 -0
  107. package/dist/docs/list-item.json +110 -38
  108. package/dist/docs/list-item.md +84 -201
  109. package/dist/docs/listbox.examples.md +858 -0
  110. package/dist/docs/listbox.json +76 -28
  111. package/dist/docs/listbox.md +41 -263
  112. package/dist/docs/markdown.json +79 -55
  113. package/dist/docs/markdown.md +581 -85
  114. package/dist/docs/media-viewer.examples.md +1038 -0
  115. package/dist/docs/media-viewer.json +70 -15
  116. package/dist/docs/media-viewer.md +84 -135
  117. package/dist/docs/message-scroller.examples.md +1193 -0
  118. package/dist/docs/message-scroller.json +41 -17
  119. package/dist/docs/message-scroller.md +80 -134
  120. package/dist/docs/message.examples.md +944 -0
  121. package/dist/docs/message.json +64 -16
  122. package/dist/docs/message.md +34 -326
  123. package/dist/docs/meter.json +58 -26
  124. package/dist/docs/meter.md +312 -32
  125. package/dist/docs/navigation-menu.examples.md +1107 -0
  126. package/dist/docs/navigation-menu.json +57 -41
  127. package/dist/docs/navigation-menu.md +105 -298
  128. package/dist/docs/notification-center.examples.md +1045 -0
  129. package/dist/docs/notification-center.json +71 -15
  130. package/dist/docs/notification-center.md +76 -266
  131. package/dist/docs/otp-input.examples.md +490 -0
  132. package/dist/docs/otp-input.json +65 -25
  133. package/dist/docs/otp-input.md +20 -191
  134. package/dist/docs/page-header.examples.md +1041 -0
  135. package/dist/docs/page-header.json +75 -43
  136. package/dist/docs/page-header.md +79 -291
  137. package/dist/docs/page.examples.md +633 -0
  138. package/dist/docs/page.json +48 -16
  139. package/dist/docs/page.md +62 -129
  140. package/dist/docs/prompt-composer.examples.md +630 -0
  141. package/dist/docs/prompt-composer.json +66 -18
  142. package/dist/docs/prompt-composer.md +35 -161
  143. package/dist/docs/prose.json +69 -37
  144. package/dist/docs/prose.md +393 -75
  145. package/dist/docs/rating.examples.md +525 -0
  146. package/dist/docs/rating.json +92 -28
  147. package/dist/docs/rating.md +27 -241
  148. package/dist/docs/saved-views.examples.md +1108 -0
  149. package/dist/docs/saved-views.json +53 -21
  150. package/dist/docs/saved-views.md +86 -171
  151. package/dist/docs/scroll-area.examples.md +837 -0
  152. package/dist/docs/scroll-area.json +64 -24
  153. package/dist/docs/scroll-area.md +57 -140
  154. package/dist/docs/section.examples.md +676 -0
  155. package/dist/docs/section.json +68 -20
  156. package/dist/docs/section.md +39 -162
  157. package/dist/docs/segmented-control.examples.md +480 -0
  158. package/dist/docs/segmented-control.json +76 -28
  159. package/dist/docs/segmented-control.md +20 -191
  160. package/dist/docs/side-navigation.examples.md +1468 -0
  161. package/dist/docs/side-navigation.json +53 -53
  162. package/dist/docs/side-navigation.md +79 -354
  163. package/dist/docs/slider.examples.md +505 -0
  164. package/dist/docs/slider.json +91 -51
  165. package/dist/docs/slider.md +47 -212
  166. package/dist/docs/sparkline.json +60 -36
  167. package/dist/docs/sparkline.md +447 -71
  168. package/dist/docs/split-button.examples.md +509 -0
  169. package/dist/docs/split-button.json +73 -41
  170. package/dist/docs/split-button.md +64 -194
  171. package/dist/docs/splitter.examples.md +921 -0
  172. package/dist/docs/splitter.json +94 -46
  173. package/dist/docs/splitter.md +75 -182
  174. package/dist/docs/stat-card.examples.md +725 -0
  175. package/dist/docs/stat-card.json +89 -41
  176. package/dist/docs/stat-card.md +55 -227
  177. package/dist/docs/status-indicator.json +80 -32
  178. package/dist/docs/status-indicator.md +409 -65
  179. package/dist/docs/stepper.json +53 -21
  180. package/dist/docs/stepper.md +369 -48
  181. package/dist/docs/table-of-contents.examples.md +550 -0
  182. package/dist/docs/table-of-contents.json +60 -28
  183. package/dist/docs/table-of-contents.md +70 -205
  184. package/dist/docs/tags-input.examples.md +541 -0
  185. package/dist/docs/tags-input.json +64 -16
  186. package/dist/docs/tags-input.md +15 -262
  187. package/dist/docs/time-field.examples.md +587 -0
  188. package/dist/docs/time-field.json +69 -29
  189. package/dist/docs/time-field.md +21 -223
  190. package/dist/docs/time-picker.json +117 -53
  191. package/dist/docs/time-picker.md +499 -54
  192. package/dist/docs/time-range-picker.examples.md +750 -0
  193. package/dist/docs/time-range-picker.json +139 -75
  194. package/dist/docs/time-range-picker.md +63 -225
  195. package/dist/docs/timeline.examples.md +617 -0
  196. package/dist/docs/timeline.json +44 -28
  197. package/dist/docs/timeline.md +34 -208
  198. package/dist/docs/toolbar.json +56 -16
  199. package/dist/docs/toolbar.md +357 -63
  200. package/dist/docs/top-navigation.examples.md +1206 -140
  201. package/dist/docs/top-navigation.json +49 -33
  202. package/dist/docs/top-navigation.md +87 -36
  203. package/dist/docs/tour.examples.md +960 -0
  204. package/dist/docs/tour.json +57 -25
  205. package/dist/docs/tour.md +60 -244
  206. package/dist/docs/transfer.examples.md +631 -0
  207. package/dist/docs/transfer.json +80 -16
  208. package/dist/docs/transfer.md +41 -170
  209. package/dist/docs/typography.json +96 -0
  210. package/dist/docs/typography.md +352 -4
  211. package/dist/docs/upload.examples.md +555 -53
  212. package/dist/docs/upload.json +62 -30
  213. package/dist/docs/upload.md +46 -11
  214. package/dist/docs/wizard.examples.md +1389 -0
  215. package/dist/docs/wizard.json +89 -49
  216. package/dist/docs/wizard.md +122 -263
  217. package/dist/{entity-picker-CC4VoC3p.js → entity-picker-C78f3Z0o.js} +9 -6
  218. package/dist/entity-picker.js +1 -1
  219. package/dist/{event-calendar-CjmF_e0H.js → event-calendar-DJPoCi-O.js} +1 -1
  220. package/dist/event-calendar.js +1 -1
  221. package/dist/{filter-bar-B3QJD7SZ.js → filter-bar-D61wiQFP.js} +1 -1
  222. package/dist/filter-bar.js +1 -1
  223. package/dist/{import-export-center-CW8YVZev.js → import-export-center-mqvmlzwB.js} +44 -36
  224. package/dist/import-export-center.js +1 -1
  225. package/dist/index.js +58 -58
  226. package/dist/{markdown-BdskE4-L.js → markdown-8CtV4k44.js} +2 -2
  227. package/dist/markdown.js +1 -1
  228. package/dist/{media-viewer-zEXcwfEY.js → media-viewer-C_cbuAq-.js} +64 -60
  229. package/dist/media-viewer.js +2 -2
  230. package/dist/message-P91bEGyV.js +455 -0
  231. package/dist/message.js +2 -2
  232. package/dist/{page-header-DmwBGwlm.js → page-header-jeAIQSZM.js} +103 -108
  233. package/dist/page-header.js +1 -1
  234. package/dist/section-CVTQdWBl.js +216 -0
  235. package/dist/section.js +2 -2
  236. package/dist/{segmented-control-CbK7SurB.js → segmented-control-BSMVjukr.js} +1 -1
  237. package/dist/segmented-control.js +1 -1
  238. package/dist/{side-navigation-CKRETc8E.js → side-navigation-BQzBxz2B.js} +179 -179
  239. package/dist/side-navigation.js +1 -1
  240. package/dist/{stat-card-CL3Xe6pV.js → stat-card-BpGZiFbG.js} +12 -14
  241. package/dist/stat-card.js +1 -1
  242. package/dist/{stepper-DHdrANZI.js → stepper-Cxb_tHnA.js} +130 -127
  243. package/dist/stepper.js +2 -2
  244. package/dist/styles/carousel.css +1 -1
  245. package/dist/styles/index.css +1 -1
  246. package/dist/styles.css +1 -1
  247. package/dist/{timeline-BiL2CXfn.js → timeline-ZngK6zLC.js} +9 -6
  248. package/dist/timeline.js +1 -1
  249. package/dist/top-navigation-YSEQzBhD.js +744 -0
  250. package/dist/top-navigation.js +2 -2
  251. package/dist/{transfer-sKUvmEKe.js → transfer-Cv5yQuTN.js} +1 -1
  252. package/dist/transfer.js +1 -1
  253. package/dist/types/attachment/attachment-parts.d.ts +24 -11
  254. package/dist/types/attachment/attachment-parts.d.ts.map +1 -1
  255. package/dist/types/attachment/attachment.d.ts +3 -3
  256. package/dist/types/attachment/attachment.d.ts.map +1 -1
  257. package/dist/types/avatar-group/avatar-group.d.ts.map +1 -1
  258. package/dist/types/carousel/carousel-parts.d.ts +2 -2
  259. package/dist/types/command-palette/command-palette.d.ts.map +1 -1
  260. package/dist/types/data-list/data-list.d.ts.map +1 -1
  261. package/dist/types/detail-panel/detail-panel-parts.d.ts +10 -3
  262. package/dist/types/detail-panel/detail-panel-parts.d.ts.map +1 -1
  263. package/dist/types/detail-panel/detail-panel.d.ts.map +1 -1
  264. package/dist/types/detail-panel/detail-panel.types.d.ts +7 -0
  265. package/dist/types/detail-panel/detail-panel.types.d.ts.map +1 -1
  266. package/dist/types/entity-picker/entity-picker.d.ts.map +1 -1
  267. package/dist/types/import-export-center/import-export-center.d.ts.map +1 -1
  268. package/dist/types/media-viewer/index.d.ts +2 -2
  269. package/dist/types/media-viewer/index.d.ts.map +1 -1
  270. package/dist/types/media-viewer/media-viewer-bar.d.ts +3 -1
  271. package/dist/types/media-viewer/media-viewer-bar.d.ts.map +1 -1
  272. package/dist/types/media-viewer/media-viewer.types.d.ts +1 -0
  273. package/dist/types/media-viewer/media-viewer.types.d.ts.map +1 -1
  274. package/dist/types/message/message-parts.d.ts +7 -0
  275. package/dist/types/message/message-parts.d.ts.map +1 -1
  276. package/dist/types/message/message.d.ts.map +1 -1
  277. package/dist/types/page-header/page-header-parts.d.ts.map +1 -1
  278. package/dist/types/section/section-parts.d.ts +16 -8
  279. package/dist/types/section/section-parts.d.ts.map +1 -1
  280. package/dist/types/section/section.d.ts.map +1 -1
  281. package/dist/types/segmented-control/segmented-control-parts.d.ts.map +1 -1
  282. package/dist/types/side-navigation/side-navigation-parts.d.ts.map +1 -1
  283. package/dist/types/stat-card/stat-card-delta.d.ts.map +1 -1
  284. package/dist/types/stat-card/stat-card-parts.d.ts +3 -3
  285. package/dist/types/stat-card/stat-card-parts.d.ts.map +1 -1
  286. package/dist/types/stepper/stepper-parts.d.ts +11 -2
  287. package/dist/types/stepper/stepper-parts.d.ts.map +1 -1
  288. package/dist/types/stepper/stepper.d.ts.map +1 -1
  289. package/dist/types/timeline/timeline-parts.d.ts.map +1 -1
  290. package/dist/types/top-navigation/top-navigation.d.ts.map +1 -1
  291. package/dist/{wizard-4c0X7Bx_.js → wizard-Dfryz1id.js} +214 -214
  292. package/dist/wizard.js +1 -1
  293. package/package.json +6 -6
  294. package/dist/attachment-MqczA38F.js +0 -292
  295. package/dist/detail-panel-EImAtksY.js +0 -327
  296. package/dist/message-D1Dd6Y2k.js +0 -452
  297. package/dist/section-D_qOfdxR.js +0 -213
  298. package/dist/top-navigation-D8IHPOmm.js +0 -744
@@ -172,7 +172,7 @@
172
172
  "part": "count",
173
173
  "element": "span",
174
174
  "required": false,
175
- "purpose": "A quantity beside a destination, drawn by the family as tabular figures in the muted ink. Never cut. Hidden in the rail, where the mark carries a dot."
175
+ "purpose": "A quantity beside a destination, drawn by SideNavigation as tabular figures in the muted ink. Never cut. Hidden in the rail, where the mark carries a dot."
176
176
  },
177
177
  {
178
178
  "part": "indicator",
@@ -217,147 +217,147 @@
217
217
  "type": "string | null",
218
218
  "defaultValue": "—",
219
219
  "appliesTo": "SideNavigation",
220
- "description": "The current destination’s value. Present means the consumer owns it; a link that states current itself still wins"
220
+ "description": "The current destination’s value. Present means the consumer owns it; a link that states current itself still wins."
221
221
  },
222
222
  {
223
223
  "name": "defaultValue",
224
224
  "type": "string | null",
225
225
  "defaultValue": "—",
226
226
  "appliesTo": "SideNavigation",
227
- "description": "The destination an uncontrolled column starts on, read once"
227
+ "description": "The destination an uncontrolled column starts on, read once."
228
228
  },
229
229
  {
230
230
  "name": "expanded",
231
231
  "type": "readonly string[]",
232
232
  "defaultValue": "—",
233
233
  "appliesTo": "SideNavigation",
234
- "description": "The set of open groups. Present means the consumer owns it"
234
+ "description": "The set of open groups. Present means the consumer owns it."
235
235
  },
236
236
  {
237
237
  "name": "defaultExpanded",
238
238
  "type": "readonly string[]",
239
239
  "defaultValue": "—",
240
240
  "appliesTo": "SideNavigation",
241
- "description": "The groups an uncontrolled column starts with open, read once"
241
+ "description": "The groups an uncontrolled column starts with open, read once."
242
242
  },
243
243
  {
244
244
  "name": "flyout",
245
245
  "type": "string | null",
246
246
  "defaultValue": "—",
247
247
  "appliesTo": "SideNavigation",
248
- "description": "The one group presented beside the rail. Present means the consumer owns it; it never writes into expanded"
248
+ "description": "The one group presented beside the rail. Present means the consumer owns it; it never writes into expanded."
249
249
  },
250
250
  {
251
251
  "name": "defaultFlyout",
252
252
  "type": "string | null",
253
253
  "defaultValue": "—",
254
254
  "appliesTo": "SideNavigation",
255
- "description": "The group an uncontrolled column starts with in the flyout, read once"
255
+ "description": "The group an uncontrolled column starts with in the flyout, read once."
256
256
  },
257
257
  {
258
258
  "name": "size",
259
259
  "type": "'sm' | 'md' | 'lg'",
260
260
  "defaultValue": "md",
261
261
  "appliesTo": "SideNavigation, SideNavigationDefaultsProvider",
262
- "description": "The row height. md reads the geometry app-shell publishes, with the control scale as the fallback; sm and lg read their own steps"
262
+ "description": "The row height. md reads the geometry app-shell publishes, with the control scale as the fallback; sm and lg read their own steps."
263
263
  },
264
264
  {
265
265
  "name": "mode",
266
266
  "type": "'auto' | 'expanded' | 'compact'",
267
267
  "defaultValue": "auto",
268
268
  "appliesTo": "SideNavigation, SideNavigationDefaultsProvider",
269
- "description": "auto is a rail below compactAt pixels of the root’s own width and a labelled column above; the other two force one"
269
+ "description": "auto is a rail below compactAt pixels of the root’s own width and a labelled column above; the other two force one."
270
270
  },
271
271
  {
272
272
  "name": "truncate",
273
273
  "type": "'end' | 'middle' | 'none'",
274
274
  "defaultValue": "end",
275
275
  "appliesTo": "SideNavigation, SideNavigationDefaultsProvider",
276
- "description": "Where a label that does not fit is cut. end is the stylesheet’s ellipsis; middle keeps the start and the tail; none wraps. A cut label opens the tooltip with the whole text"
276
+ "description": "Where a label that does not fit is cut. end is the stylesheet’s ellipsis; middle keeps the start and the tail; none wraps. A cut label opens the tooltip with the whole text."
277
277
  },
278
278
  {
279
279
  "name": "multiple",
280
280
  "type": "boolean",
281
281
  "defaultValue": "true",
282
282
  "appliesTo": "SideNavigation, SideNavigationDefaultsProvider",
283
- "description": "Whether more than one group may be open at once. Off, opening one closes the rest"
283
+ "description": "Whether more than one group may be open at once. Off, opening one closes the rest."
284
284
  },
285
285
  {
286
286
  "name": "autoExpand",
287
287
  "type": "boolean",
288
288
  "defaultValue": "true",
289
289
  "appliesTo": "SideNavigation, SideNavigationDefaultsProvider",
290
- "description": "Whether the ancestors of the current destination open by themselves, with the reason select"
290
+ "description": "Whether the ancestors of the current destination open by themselves, with the reason select."
291
291
  },
292
292
  {
293
293
  "name": "guides",
294
294
  "type": "boolean",
295
295
  "defaultValue": "true",
296
296
  "appliesTo": "SideNavigation, SideNavigationDefaultsProvider",
297
- "description": "Whether a guide runs down each open group, under the parent’s mark or on its text edge"
297
+ "description": "Whether a guide runs down each open group, under the parent’s mark or on its text edge."
298
298
  },
299
299
  {
300
300
  "name": "landmark",
301
301
  "type": "boolean",
302
302
  "defaultValue": "true",
303
303
  "appliesTo": "SideNavigation, SideNavigationDefaultsProvider",
304
- "description": "Whether the root is a nav. Unstated, it is one on its own and a div inside app-shell, whose nav region is already the landmark"
304
+ "description": "Whether the root is a nav. Unstated, it is one on its own and a div inside app-shell, whose nav region is already the landmark."
305
305
  },
306
306
  {
307
307
  "name": "compactAt",
308
308
  "type": "number",
309
309
  "defaultValue": "96",
310
310
  "appliesTo": "SideNavigation, SideNavigationDefaultsProvider",
311
- "description": "The width, in CSS pixels, under which mode=\"auto\" is compact. The stylesheet’s own breakpoint is the same number"
311
+ "description": "The width, in CSS pixels, under which mode=\"auto\" is compact. The stylesheet’s own breakpoint is the same number."
312
312
  },
313
313
  {
314
314
  "name": "messages",
315
315
  "type": "Partial<SideNavigationMessages>",
316
316
  "defaultValue": "—",
317
317
  "appliesTo": "SideNavigation",
318
- "description": "Words laid over the language in force: the landmark’s name when the consumer gives no aria-label (navigation)"
318
+ "description": "Words laid over the language in force: the landmark’s name when the consumer gives no aria-label (navigation)."
319
319
  },
320
320
  {
321
321
  "name": "value",
322
322
  "type": "string",
323
323
  "defaultValue": "—",
324
324
  "appliesTo": "SideNavigationItem",
325
- "description": "The item’s identity: what value, expanded and flyout name it by. Reaches the DOM as data-value"
325
+ "description": "The item’s identity: what value, expanded and flyout name it by. Reaches the DOM as data-value."
326
326
  },
327
327
  {
328
328
  "name": "disabled",
329
329
  "type": "boolean",
330
330
  "defaultValue": "false",
331
331
  "appliesTo": "SideNavigationItem",
332
- "description": "The row refuses the press and keeps its href, its name and its place in the tab order; the trigger takes the native attribute"
332
+ "description": "The row refuses the press and keeps its href, its name and its place in the tab order; the trigger takes the native attribute."
333
333
  },
334
334
  {
335
335
  "name": "current",
336
336
  "type": "boolean",
337
337
  "defaultValue": "—",
338
338
  "appliesTo": "SideNavigationLink",
339
- "description": "Stated on the row itself — what a router’s link writes — it wins over the root’s value"
339
+ "description": "Stated on the row itself — what a router’s link writes — it wins over the root’s value."
340
340
  },
341
341
  {
342
342
  "name": "current",
343
343
  "type": "boolean",
344
344
  "defaultValue": "—",
345
345
  "appliesTo": "SideNavigationTrigger",
346
- "description": "A trigger that is the whole row is a destination too: its item is current when the root’s value names it, and a stated current wins over the value. It writes aria-current=\"page\" on the trigger"
346
+ "description": "A trigger that is the whole row is a destination too: its item is current when the root’s value names it, and a stated current wins over the value. It writes aria-current=\"page\" on the trigger."
347
347
  },
348
348
  {
349
349
  "name": "href",
350
350
  "type": "string",
351
351
  "defaultValue": "—",
352
352
  "appliesTo": "SideNavigationLink",
353
- "description": "The destination. Without one the row is a button: a command in the column, never current"
353
+ "description": "The destination. Without one the row is a button: a command in the column, never current."
354
354
  },
355
355
  {
356
356
  "name": "labelSize",
357
357
  "type": "number | string",
358
358
  "defaultValue": "60%",
359
359
  "appliesTo": "SideNavigationSkeleton",
360
- "description": "How wide the label’s bar is drawn"
360
+ "description": "How wide the label’s bar is drawn."
361
361
  }
362
362
  ],
363
363
  "composition": [
@@ -366,35 +366,35 @@
366
366
  "type": "(props) => ReactNode",
367
367
  "defaultValue": "—",
368
368
  "appliesTo": "every part but indicator, skeleton and flyout",
369
- "description": "Substitutes the element and hands it every attribute: a router’s link as the row, a button for a command, a section as an aside"
369
+ "description": "Substitutes the element and hands it every attribute: a router’s link as the row, a button for a command, a section as an aside."
370
370
  },
371
371
  {
372
372
  "name": "ref",
373
373
  "type": "Ref<SideNavigationHandle> on the root, Ref<HTMLElement> on every part",
374
374
  "defaultValue": "—",
375
375
  "appliesTo": "every part",
376
- "description": "The root’s handle carries focus(), expand(value), collapse(value) and the root element; every other ref reaches the element itself"
376
+ "description": "The root’s handle carries focus(), expand(value), collapse(value) and the root element; every other ref reaches the element itself."
377
377
  },
378
378
  {
379
379
  "name": "useSideNavigation()",
380
380
  "type": "() => SideNavigationContextValue",
381
381
  "defaultValue": "—",
382
382
  "appliesTo": "inside SideNavigation",
383
- "description": "What the parts read: the axes, whether the column is compact, the three values and the requests that move them"
383
+ "description": "What the parts read: the axes, whether the column is compact, the three values and the requests that move them."
384
384
  },
385
385
  {
386
386
  "name": "useSideNavigationItem()",
387
387
  "type": "() => SideNavigationItemContextValue",
388
388
  "defaultValue": "—",
389
389
  "appliesTo": "inside SideNavigationItem",
390
- "description": "What a row reads: its value, whether it is expanded, current or holds the current destination, its identifiers"
390
+ "description": "What a row reads: its value, whether it is expanded, current or holds the current destination, its identifiers."
391
391
  },
392
392
  {
393
393
  "name": "SideNavigationDefaultsProvider",
394
394
  "type": "{ size, mode, truncate, multiple, autoExpand, guides, landmark, compactAt }",
395
395
  "defaultValue": "—",
396
396
  "appliesTo": "a subtree",
397
- "description": "The decisions an application takes once. A column that states any of them itself still wins"
397
+ "description": "The decisions an application takes once. A column that states any of them itself still wins."
398
398
  }
399
399
  ],
400
400
  "events": [
@@ -416,7 +416,7 @@
416
416
  {
417
417
  "name": "onClick, onFocus, onKeyDown on every row",
418
418
  "payload": "the element’s own events",
419
- "when": "Whenever the a or button fires them. The consumer’s handler runs first, and preventDefault() in onClick refuses the family’s part."
419
+ "when": "Whenever the a or button fires them. The consumer’s handler runs first, and preventDefault() in onClick refuses SideNavigation’s own handling."
420
420
  }
421
421
  ],
422
422
  "accessibility": [
@@ -530,7 +530,7 @@
530
530
  {
531
531
  "id": "anatomy",
532
532
  "title": "Every part, drawn as its own name",
533
- "note": "The frame with no product in it: each part the contract declares, labelled, so the family’s box can be told from the product’s content.",
533
+ "note": "The frame with no product in it: each part the contract declares, labelled, so the box SideNavigation draws can be told from the product’s content.",
534
534
  "language": "tsx",
535
535
  "source": "<SideNavigation>\n <SideNavigationSection>\n <SideNavigationSectionLabel>section-label</SideNavigationSectionLabel>\n <SideNavigationList>\n <SideNavigationItem value=\"row\">\n <SideNavigationLink href=\"/row\">\n <SideNavigationIcon>…</SideNavigationIcon>\n <SideNavigationLabel>label</SideNavigationLabel>\n <SideNavigationDescription>description</SideNavigationDescription>\n <SideNavigationCount>12</SideNavigationCount>\n </SideNavigationLink>\n <SideNavigationActions>…</SideNavigationActions>\n </SideNavigationItem>\n <SideNavigationItem value=\"branch\">\n <SideNavigationTrigger>\n <SideNavigationLabel>trigger</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>…</SideNavigationGroup>\n </SideNavigationItem>\n <SideNavigationDivider />\n <SideNavigationSkeleton />\n </SideNavigationList>\n </SideNavigationSection>\n</SideNavigation>;\n",
536
536
  "verdict": "excerpt"
@@ -540,40 +540,40 @@
540
540
  "title": "Groups that open and close",
541
541
  "note": "A trigger is the whole row and its group opens on a track that grows to its own height; the chevron turns from along the line to down. Under multiple=false the sibling closes.",
542
542
  "language": "tsx",
543
- "source": "<SideNavigationItem value=\"deliveries\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Truck />\n </SideNavigationIcon>\n <SideNavigationLabel>Deliveries</SideNavigationLabel>\n <SideNavigationCount>38</SideNavigationCount>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"today\">\n <SideNavigationLink href=\"/deliveries/today\">\n <SideNavigationLabel>Today</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n</SideNavigationItem>;\n",
544
- "verdict": "excerpt"
543
+ "source": "import { Badge } from '@slotted/react/badge';\nimport { Glyph, Icon } from '@slotted/react/icon';\nimport {\n SideNavigation,\n SideNavigationCount,\n SideNavigationEnd,\n SideNavigationGroup,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n SideNavigationTrigger,\n} from '@slotted/react/side-navigation';\n\nexport default function SideNavigationGroups() {\n return (\n <SideNavigation defaultExpanded={['orders']}>\n <SideNavigationList>\n <SideNavigationItem value=\"overview\">\n <SideNavigationLink href=\"#overview\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Overview</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"orders\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n <SideNavigationCount>128</SideNavigationCount>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"all-orders\">\n <SideNavigationLink href=\"#all-orders\">\n <SideNavigationLabel>All orders</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"awaiting-pickup\">\n <SideNavigationLink href=\"#awaiting-pickup\">\n <SideNavigationLabel>Awaiting pickup</SideNavigationLabel>\n <SideNavigationCount>14</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"late\">\n <SideNavigationLink href=\"#late\">\n <SideNavigationLabel>Late</SideNavigationLabel>\n <SideNavigationEnd>\n <Badge tone=\"danger\" size=\"sm\">\n 3\n </Badge>\n </SideNavigationEnd>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"shipped\">\n <SideNavigationLink href=\"#shipped\">\n <SideNavigationLabel>Shipped</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n <SideNavigationItem value=\"inventory\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-archive\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Inventory</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"stock-levels\">\n <SideNavigationLink href=\"#stock-levels\">\n <SideNavigationLabel>Stock levels</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"transfers\">\n <SideNavigationLink href=\"#transfers\">\n <SideNavigationLabel>Transfers</SideNavigationLabel>\n <SideNavigationCount>5</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"cycle-counts\">\n <SideNavigationLink href=\"#cycle-counts\">\n <SideNavigationLabel>Cycle counts</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n );\n}\n",
544
+ "verdict": "example"
545
545
  },
546
546
  {
547
547
  "id": "hybrid",
548
548
  "title": "A destination that is also a parent",
549
549
  "note": "The APG hybrid row: the link navigates and a mark-only trigger beside it opens the children, named by the row’s label. Five levels deep, the indent below the marked level is a constant step.",
550
550
  "language": "tsx",
551
- "source": "<SideNavigationItem value=\"reports\">\n <SideNavigationLink href=\"/reports\">\n <SideNavigationIcon>\n <ChartNoAxesColumn />\n </SideNavigationIcon>\n <SideNavigationLabel>Reports</SideNavigationLabel>\n </SideNavigationLink>\n <SideNavigationTrigger />\n <SideNavigationGroup>…</SideNavigationGroup>\n</SideNavigationItem>;\n",
552
- "verdict": "excerpt"
551
+ "source": "import { Glyph, Icon } from '@slotted/react/icon';\nimport {\n SideNavigation,\n SideNavigationGroup,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n SideNavigationTrigger,\n} from '@slotted/react/side-navigation';\n\nexport default function SideNavigationHybrid() {\n return (\n <SideNavigation defaultValue=\"sales-summary\" defaultExpanded={['reports', 'margin']}>\n <SideNavigationList>\n <SideNavigationItem value=\"overview\">\n <SideNavigationLink href=\"#overview\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Overview</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"reports\">\n <SideNavigationLink href=\"#reports\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-spreadsheet\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Reports</SideNavigationLabel>\n </SideNavigationLink>\n <SideNavigationTrigger />\n <SideNavigationGroup>\n <SideNavigationItem value=\"sales-summary\">\n <SideNavigationLink href=\"#sales-summary\">\n <SideNavigationLabel>Sales summary</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"margin\">\n <SideNavigationLink href=\"#margin\">\n <SideNavigationLabel>Margin analysis</SideNavigationLabel>\n </SideNavigationLink>\n <SideNavigationTrigger />\n <SideNavigationGroup>\n <SideNavigationItem value=\"margin-by-product\">\n <SideNavigationLink href=\"#margin-by-product\">\n <SideNavigationLabel>By product</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"margin-by-region\">\n <SideNavigationLink href=\"#margin-by-region\">\n <SideNavigationLabel>By region</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"margin-by-carrier\">\n <SideNavigationLink href=\"#margin-by-carrier\">\n <SideNavigationLabel>By carrier</SideNavigationLabel>\n </SideNavigationLink>\n <SideNavigationTrigger />\n <SideNavigationGroup>\n <SideNavigationItem value=\"carrier-ground\">\n <SideNavigationLink href=\"#carrier-ground\">\n <SideNavigationLabel>Ground</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"carrier-air\">\n <SideNavigationLink href=\"#carrier-air\">\n <SideNavigationLabel>Air freight</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n <SideNavigationItem value=\"forecast\">\n <SideNavigationLink href=\"#forecast\">\n <SideNavigationLabel>Demand forecast</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n );\n}\n",
552
+ "verdict": "example"
553
553
  },
554
554
  {
555
555
  "id": "sections",
556
556
  "title": "Sections, a divider and a command",
557
557
  "note": "Two titled sections under one root, a divider between rows that keeps the list a list, and a row that is a button — a command in the column, never current.",
558
558
  "language": "tsx",
559
- "source": "<SideNavigation>\n <SideNavigationSection>\n <SideNavigationSectionLabel>Operations</SideNavigationSectionLabel>\n <SideNavigationList>…</SideNavigationList>\n </SideNavigationSection>\n <SideNavigationSection>\n <SideNavigationSectionLabel>Administration</SideNavigationSectionLabel>\n <SideNavigationList>\n <SideNavigationDivider />\n <SideNavigationItem value=\"new\">\n <SideNavigationLink onClick={() => openDialog()}>\n <SideNavigationIcon>\n <Plus />\n </SideNavigationIcon>\n <SideNavigationLabel>New load</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigationSection>\n</SideNavigation>;\n",
560
- "verdict": "excerpt"
559
+ "source": "import { useState } from 'react';\n\nimport { Glyph, Icon } from '@slotted/react/icon';\nimport { Kbd } from '@slotted/react/kbd';\nimport {\n SideNavigation,\n SideNavigationCount,\n SideNavigationDivider,\n SideNavigationEnd,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n SideNavigationSection,\n SideNavigationSectionLabel,\n} from '@slotted/react/side-navigation';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\n\nexport default function SideNavigationSections() {\n const [last, setLast] = useState('None yet');\n\n return (\n <Stack gap={4}>\n <SideNavigation defaultValue=\"orders\">\n <SideNavigationSection>\n <SideNavigationSectionLabel>Operations</SideNavigationSectionLabel>\n <SideNavigationList>\n <SideNavigationItem value=\"orders\">\n <SideNavigationLink href=\"#orders\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n <SideNavigationCount>128</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"shipments\">\n <SideNavigationLink href=\"#shipments\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"calendar\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Shipments</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"returns\">\n <SideNavigationLink href=\"#returns\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"rotate-ccw\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Returns</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigationSection>\n <SideNavigationSection>\n <SideNavigationSectionLabel>Finance</SideNavigationSectionLabel>\n <SideNavigationList>\n <SideNavigationItem value=\"invoices\">\n <SideNavigationLink href=\"#invoices\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Invoices</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"payouts\">\n <SideNavigationLink href=\"#payouts\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Payouts</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationDivider />\n <SideNavigationItem value=\"new-order\">\n <SideNavigationLink onClick={() => setLast('New order')}>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"plus\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>New order</SideNavigationLabel>\n <SideNavigationEnd>\n <Kbd>N</Kbd>\n </SideNavigationEnd>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigationSection>\n </SideNavigation>\n <Text size=\"sm\" tone=\"muted\">\n Last command: {last}\n </Text>\n </Stack>\n );\n}\n",
560
+ "verdict": "example"
561
561
  },
562
562
  {
563
563
  "id": "current",
564
564
  "title": "Where the reader is",
565
565
  "note": "value on the root names the destination and a press asks it to move; a link that states current itself wins. The parent of a hidden destination is marked until its group opens, and autoExpand opens it. With a router, usePressSelection paints the press before the route renders: the item is current at once, and the navigation runs after the frame that shows it. A click carrying a modifier key is left to the browser.",
566
566
  "language": "tsx",
567
- "source": "const { pathname } = useLocation();\nconst navigate = useNavigate();\nconst { selected, select } = usePressSelection(pathname);\n\nconst press = (to: string) => (event: MouseEvent) => {\n if (event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) {\n return;\n }\n event.preventDefault();\n select(to, () => navigate(to));\n};\n\n<SideNavigation value={selected ?? null}>\n …\n <SideNavigationItem value=\"/orders\">\n <SideNavigationLink href=\"/orders\" onClick={press('/orders')}>\n Orders\n </SideNavigationLink>\n </SideNavigationItem>\n</SideNavigation>;\n",
568
- "verdict": "excerpt"
567
+ "source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport { Glyph, Icon } from '@slotted/react/icon';\nimport { Inline } from '@slotted/react/inline';\nimport {\n SideNavigation,\n SideNavigationGroup,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n SideNavigationTrigger,\n} from '@slotted/react/side-navigation';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\n\nexport default function SideNavigationCurrent() {\n const [value, setValue] = useState<string | null>('overview');\n\n return (\n <Stack gap={4}>\n <SideNavigation value={value} onValueChange={setValue}>\n <SideNavigationList>\n <SideNavigationItem value=\"overview\">\n <SideNavigationLink href=\"#overview\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Overview</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"orders\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"all-orders\">\n <SideNavigationLink href=\"#all-orders\">\n <SideNavigationLabel>All orders</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"late\">\n <SideNavigationLink href=\"#late\">\n <SideNavigationLabel>Late</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"shipped\">\n <SideNavigationLink href=\"#shipped\">\n <SideNavigationLabel>Shipped</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n <SideNavigationItem value=\"customers\">\n <SideNavigationLink href=\"#customers\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"person\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Customers</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n <Inline gap={2}>\n <Button size=\"sm\" onClick={() => setValue('late')}>\n Late orders\n </Button>\n <Button size=\"sm\" onClick={() => setValue('overview')}>\n Overview\n </Button>\n </Inline>\n <Text size=\"sm\" tone=\"muted\">\n Current: {value}\n </Text>\n </Stack>\n );\n}\n",
568
+ "verdict": "example"
569
569
  },
570
570
  {
571
571
  "id": "compact",
572
572
  "title": "The rail",
573
573
  "note": "Under mode=\"compact\" — or under 96 pixels of its own width — every part but the mark leaves the eye; the label stays in the DOM, a tooltip repeats it, and a row with a count carries a dot.",
574
574
  "language": "tsx",
575
- "source": "<SideNavigation mode=\"compact\" defaultValue=\"loads\">\n …\n</SideNavigation>;\n",
576
- "verdict": "excerpt"
575
+ "source": "import { Badge } from '@slotted/react/badge';\nimport { Glyph, Icon } from '@slotted/react/icon';\nimport { Inline } from '@slotted/react/inline';\nimport {\n SideNavigation,\n SideNavigationCount,\n SideNavigationEnd,\n SideNavigationGroup,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n SideNavigationTrigger,\n} from '@slotted/react/side-navigation';\n\nexport default function SideNavigationCompact() {\n return (\n <Inline gap={8}>\n <SideNavigation mode=\"compact\" defaultValue=\"orders\" aria-label=\"Rail\">\n <SideNavigationList>\n <SideNavigationItem value=\"overview\">\n <SideNavigationLink href=\"#overview\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Overview</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"orders\">\n <SideNavigationLink href=\"#orders\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n <SideNavigationCount>128</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"returns\">\n <SideNavigationLink href=\"#returns\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"rotate-ccw\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Returns</SideNavigationLabel>\n <SideNavigationEnd>\n <Badge tone=\"warning\" size=\"sm\">\n 7\n </Badge>\n </SideNavigationEnd>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"reports\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-spreadsheet\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Reports</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"sales-summary\">\n <SideNavigationLink href=\"#sales-summary\">\n <SideNavigationLabel>Sales summary</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"margin-analysis\">\n <SideNavigationLink href=\"#margin-analysis\">\n <SideNavigationLabel>Margin analysis</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n <SideNavigation mode=\"expanded\" defaultValue=\"orders\" aria-label=\"Labelled column\">\n <SideNavigationList>\n <SideNavigationItem value=\"overview\">\n <SideNavigationLink href=\"#overview\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Overview</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"orders\">\n <SideNavigationLink href=\"#orders\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n <SideNavigationCount>128</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"returns\">\n <SideNavigationLink href=\"#returns\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"rotate-ccw\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Returns</SideNavigationLabel>\n <SideNavigationEnd>\n <Badge tone=\"warning\" size=\"sm\">\n 7\n </Badge>\n </SideNavigationEnd>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"reports\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-spreadsheet\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Reports</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"sales-summary\">\n <SideNavigationLink href=\"#sales-summary\">\n <SideNavigationLabel>Sales summary</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"margin-analysis\">\n <SideNavigationLink href=\"#margin-analysis\">\n <SideNavigationLabel>Margin analysis</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n </Inline>\n );\n}\n",
576
+ "verdict": "example"
577
577
  },
578
578
  {
579
579
  "id": "flyout",
@@ -588,48 +588,48 @@
588
588
  "title": "Three row heights",
589
589
  "note": "md reads the row geometry app-shell publishes, so a column in the shell stands on the shell’s own edges; sm and lg read the control scale, and all three move with density.",
590
590
  "language": "tsx",
591
- "source": "<SideNavigation size=\"sm\">…</SideNavigation>;\n",
592
- "verdict": "excerpt"
591
+ "source": "import { Glyph, Icon } from '@slotted/react/icon';\nimport { Inline } from '@slotted/react/inline';\nimport {\n SideNavigation,\n SideNavigationCount,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n} from '@slotted/react/side-navigation';\n\nexport default function SideNavigationSize() {\n return (\n <Inline gap={8}>\n <SideNavigation size=\"sm\" aria-label=\"Small\" defaultValue=\"orders\">\n <SideNavigationList>\n <SideNavigationItem value=\"overview\">\n <SideNavigationLink href=\"#overview\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Overview</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"orders\">\n <SideNavigationLink href=\"#orders\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n <SideNavigationCount>128</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"customers\">\n <SideNavigationLink href=\"#customers\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"person\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Customers</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n <SideNavigation size=\"md\" aria-label=\"Medium\" defaultValue=\"orders\">\n <SideNavigationList>\n <SideNavigationItem value=\"overview\">\n <SideNavigationLink href=\"#overview\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Overview</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"orders\">\n <SideNavigationLink href=\"#orders\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n <SideNavigationCount>128</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"customers\">\n <SideNavigationLink href=\"#customers\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"person\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Customers</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n <SideNavigation size=\"lg\" aria-label=\"Large\" defaultValue=\"orders\">\n <SideNavigationList>\n <SideNavigationItem value=\"overview\">\n <SideNavigationLink href=\"#overview\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Overview</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"orders\">\n <SideNavigationLink href=\"#orders\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n <SideNavigationCount>128</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"customers\">\n <SideNavigationLink href=\"#customers\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"person\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Customers</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n </Inline>\n );\n}\n",
592
+ "verdict": "example"
593
593
  },
594
594
  {
595
595
  "id": "states",
596
596
  "title": "The states a row can be in",
597
597
  "note": "Current, expanded, open, disabled, and the hover, press and focus every row answers. A disabled destination keeps its href and its name, and refuses the press.",
598
598
  "language": "tsx",
599
- "source": "<SideNavigationItem disabled value=\"billing\">\n <SideNavigationLink href=\"/billing\">\n <SideNavigationIcon>\n <CreditCard />\n </SideNavigationIcon>\n <SideNavigationLabel>Billing</SideNavigationLabel>\n <SideNavigationDescription>Available on the Team plan</SideNavigationDescription>\n </SideNavigationLink>\n</SideNavigationItem>;\n",
600
- "verdict": "excerpt"
599
+ "source": "import { Glyph, Icon } from '@slotted/react/icon';\nimport {\n SideNavigation,\n SideNavigationDescription,\n SideNavigationGroup,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n SideNavigationTrigger,\n} from '@slotted/react/side-navigation';\n\nexport default function SideNavigationStates() {\n return (\n <SideNavigation defaultValue=\"late\" defaultExpanded={['orders']}>\n <SideNavigationList>\n <SideNavigationItem value=\"overview\">\n <SideNavigationLink href=\"#overview\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Overview</SideNavigationLabel>\n <SideNavigationDescription>Today at all warehouses</SideNavigationDescription>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"orders\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"late\">\n <SideNavigationLink href=\"#late\">\n <SideNavigationLabel>Late</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"shipped\">\n <SideNavigationLink href=\"#shipped\">\n <SideNavigationLabel>Shipped</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n <SideNavigationItem value=\"billing\" disabled>\n <SideNavigationLink href=\"#billing\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Billing</SideNavigationLabel>\n <SideNavigationDescription>Available on the Team plan</SideNavigationDescription>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"integrations\" disabled>\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"pin\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Integrations</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"carriers\">\n <SideNavigationLink href=\"#carriers\">\n <SideNavigationLabel>Carriers</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n );\n}\n",
600
+ "verdict": "example"
601
601
  },
602
602
  {
603
603
  "id": "content",
604
- "title": "Content the family did not choose",
604
+ "title": "Content of any length",
605
605
  "note": "A long label cut at the end with its whole text in the tooltip; the same column cut in the middle, where setembro and outubro stay apart; a URL; a title in another script; and wrapping, on request.",
606
606
  "language": "tsx",
607
- "source": "<SideNavigation truncate=\"middle\">…</SideNavigation>;\n",
608
- "verdict": "excerpt"
607
+ "source": "import { Grid } from '@slotted/react/grid';\nimport { Glyph, Icon } from '@slotted/react/icon';\nimport {\n SideNavigation,\n SideNavigationCount,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n} from '@slotted/react/side-navigation';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\n\nexport default function SideNavigationContent() {\n return (\n <Grid columns={3} gap={4}>\n <Stack gap={2}>\n <Text size=\"sm\" tone=\"muted\">\n truncate=\"end\"\n </Text>\n <SideNavigation truncate=\"end\" aria-label=\"Cut at end\" defaultValue=\"september\">\n <SideNavigationList>\n <SideNavigationItem value=\"config\">\n <SideNavigationLink href=\"#config\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"pencil\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>\n Organization and integrations settings for the Tacoma warehouse\n </SideNavigationLabel>\n <SideNavigationCount>120</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"september\">\n <SideNavigationLink href=\"#september\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Monthly report · September 2026</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"october\">\n <SideNavigationLink href=\"#october\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Monthly report · October 2026</SideNavigationLabel>\n <SideNavigationCount>4</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"url\">\n <SideNavigationLink href=\"#url\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"pin\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>\n https://northwind.example/reports/2026/monthly\n </SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"customers\">\n <SideNavigationLink href=\"#customers\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"person\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>العملاء</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n </Stack>\n <Stack gap={2}>\n <Text size=\"sm\" tone=\"muted\">\n truncate=\"middle\"\n </Text>\n <SideNavigation truncate=\"middle\" aria-label=\"Cut at middle\" defaultValue=\"september\">\n <SideNavigationList>\n <SideNavigationItem value=\"config\">\n <SideNavigationLink href=\"#config\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"pencil\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>\n Organization and integrations settings for the Tacoma warehouse\n </SideNavigationLabel>\n <SideNavigationCount>120</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"september\">\n <SideNavigationLink href=\"#september\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Monthly report · September 2026</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"october\">\n <SideNavigationLink href=\"#october\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Monthly report · October 2026</SideNavigationLabel>\n <SideNavigationCount>4</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"url\">\n <SideNavigationLink href=\"#url\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"pin\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>\n https://northwind.example/reports/2026/monthly\n </SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"customers\">\n <SideNavigationLink href=\"#customers\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"person\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>العملاء</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n </Stack>\n <Stack gap={2}>\n <Text size=\"sm\" tone=\"muted\">\n truncate=\"none\"\n </Text>\n <SideNavigation truncate=\"none\" aria-label=\"Cut at none\" defaultValue=\"september\">\n <SideNavigationList>\n <SideNavigationItem value=\"config\">\n <SideNavigationLink href=\"#config\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"pencil\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>\n Organization and integrations settings for the Tacoma warehouse\n </SideNavigationLabel>\n <SideNavigationCount>120</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"september\">\n <SideNavigationLink href=\"#september\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Monthly report · September 2026</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"october\">\n <SideNavigationLink href=\"#october\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Monthly report · October 2026</SideNavigationLabel>\n <SideNavigationCount>4</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"url\">\n <SideNavigationLink href=\"#url\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"pin\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>\n https://northwind.example/reports/2026/monthly\n </SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"customers\">\n <SideNavigationLink href=\"#customers\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"person\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>العملاء</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n </Stack>\n </Grid>\n );\n}\n",
608
+ "verdict": "example"
609
609
  },
610
610
  {
611
611
  "id": "loading",
612
612
  "title": "A column still arriving",
613
613
  "note": "Skeleton rows in the geometry of the rows they stand for, so nothing moves when the destinations land; the root carries aria-busy.",
614
614
  "language": "tsx",
615
- "source": "<SideNavigation aria-busy=\"true\">\n <SideNavigationList>\n <SideNavigationSkeleton labelSize=\"55%\" />\n <SideNavigationSkeleton labelSize=\"70%\" />\n <SideNavigationSkeleton labelSize=\"45%\" />\n </SideNavigationList>\n</SideNavigation>;\n",
616
- "verdict": "excerpt"
615
+ "source": "import { Glyph, Icon } from '@slotted/react/icon';\nimport {\n SideNavigation,\n SideNavigationGroup,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n SideNavigationSkeleton,\n SideNavigationTrigger,\n} from '@slotted/react/side-navigation';\n\nexport default function SideNavigationLoading() {\n return (\n <SideNavigation aria-busy=\"true\" defaultValue=\"overview\" defaultExpanded={['orders']}>\n <SideNavigationList>\n <SideNavigationItem value=\"overview\">\n <SideNavigationLink href=\"#overview\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Overview</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"orders\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup aria-busy=\"true\">\n <SideNavigationSkeleton labelSize=\"50%\" />\n <SideNavigationSkeleton labelSize=\"65%\" />\n </SideNavigationGroup>\n </SideNavigationItem>\n <SideNavigationSkeleton labelSize=\"55%\" />\n <SideNavigationSkeleton labelSize=\"70%\" />\n <SideNavigationSkeleton labelSize=\"45%\" />\n </SideNavigationList>\n </SideNavigation>\n );\n}\n",
616
+ "verdict": "example"
617
617
  },
618
618
  {
619
619
  "id": "shell",
620
620
  "title": "Inside the shell",
621
621
  "note": "The column in app-shell’s nav region: a div rather than a second landmark, rows on the shell’s published geometry, and the rail read from the region’s own width when the shell collapses.",
622
622
  "language": "tsx",
623
- "source": "<AppShell>\n <AppShellBanner>…</AppShellBanner>\n <AppShellNav>\n <AppShellNavBody>\n <SideNavigation defaultValue=\"orders\">…</SideNavigation>\n </AppShellNavBody>\n </AppShellNav>\n <AppShellMain>…</AppShellMain>\n</AppShell>;\n",
624
- "verdict": "excerpt"
623
+ "source": "import {\n AppShell,\n AppShellBanner,\n AppShellBrand,\n AppShellMain,\n AppShellNav,\n AppShellNavToggle,\n} from '@slotted/react/app-shell';\nimport { Glyph, Icon } from '@slotted/react/icon';\nimport {\n SideNavigation,\n SideNavigationCount,\n SideNavigationGroup,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n SideNavigationSection,\n SideNavigationSectionLabel,\n SideNavigationTrigger,\n} from '@slotted/react/side-navigation';\n\nexport default function SideNavigationShell() {\n return (\n <AppShell>\n <AppShellBanner>\n <AppShellNavToggle />\n <AppShellBrand>Northwind</AppShellBrand>\n </AppShellBanner>\n <AppShellNav>\n <SideNavigation defaultValue=\"orders\" defaultExpanded={['shipments']}>\n <SideNavigationSection>\n <SideNavigationSectionLabel>Operations</SideNavigationSectionLabel>\n <SideNavigationList>\n <SideNavigationItem value=\"orders\">\n <SideNavigationLink href=\"#orders\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n <SideNavigationCount>128</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"shipments\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"calendar\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Shipments</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"late\">\n <SideNavigationLink href=\"#late\">\n <SideNavigationLabel>Late</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"delivered\">\n <SideNavigationLink href=\"#delivered\">\n <SideNavigationLabel>Delivered</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigationSection>\n <SideNavigationSection>\n <SideNavigationSectionLabel>Finance</SideNavigationSectionLabel>\n <SideNavigationList>\n <SideNavigationItem value=\"invoices\">\n <SideNavigationLink href=\"#invoices\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Invoices</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigationSection>\n </SideNavigation>\n </AppShellNav>\n <AppShellMain>\n <h1>Orders</h1>\n </AppShellMain>\n </AppShell>\n );\n}\n",
624
+ "verdict": "example"
625
625
  },
626
626
  {
627
627
  "id": "defaults",
628
628
  "title": "Decided once for an application",
629
629
  "note": "The provider carries the axes for every column under it — a product whose groups open one at a time, with no guides — and a column that states one itself still wins.",
630
630
  "language": "tsx",
631
- "source": "<SideNavigationDefaultsProvider guides={false} multiple={false} truncate=\"middle\">\n <SideNavigation>…</SideNavigation>\n</SideNavigationDefaultsProvider>;\n",
632
- "verdict": "excerpt"
631
+ "source": "import { Glyph, Icon } from '@slotted/react/icon';\nimport {\n SideNavigation,\n SideNavigationDefaultsProvider,\n SideNavigationGroup,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n SideNavigationTrigger,\n} from '@slotted/react/side-navigation';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\n\nexport default function SideNavigationDefaults() {\n return (\n <SideNavigationDefaultsProvider multiple={false} guides={false} truncate=\"middle\">\n <Stack gap={4}>\n <Text size=\"sm\" tone=\"muted\">\n Inherited from the provider\n </Text>\n <SideNavigation defaultExpanded={['orders']} aria-label=\"Inherited\">\n <SideNavigationList>\n <SideNavigationItem value=\"orders\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"late\">\n <SideNavigationLink href=\"#late\">\n <SideNavigationLabel>Late</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"shipped\">\n <SideNavigationLink href=\"#shipped\">\n <SideNavigationLabel>Shipped</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n <SideNavigationItem value=\"inventory\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-archive\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Inventory</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"stock-levels\">\n <SideNavigationLink href=\"#stock-levels\">\n <SideNavigationLabel>Stock levels</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"transfers\">\n <SideNavigationLink href=\"#transfers\">\n <SideNavigationLabel>Transfers</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n <SideNavigationItem value=\"monthly\">\n <SideNavigationLink href=\"#monthly\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>\n Monthly report · September 2026 · Tacoma warehouse\n </SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n <Text size=\"sm\" tone=\"muted\">\n Guides stated on the column\n </Text>\n <SideNavigation guides defaultExpanded={['orders']} aria-label=\"Stated\">\n <SideNavigationList>\n <SideNavigationItem value=\"orders\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"late\">\n <SideNavigationLink href=\"#late\">\n <SideNavigationLabel>Late</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"shipped\">\n <SideNavigationLink href=\"#shipped\">\n <SideNavigationLabel>Shipped</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n <SideNavigationItem value=\"inventory\">\n <SideNavigationTrigger>\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-archive\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Inventory</SideNavigationLabel>\n </SideNavigationTrigger>\n <SideNavigationGroup>\n <SideNavigationItem value=\"stock-levels\">\n <SideNavigationLink href=\"#stock-levels\">\n <SideNavigationLabel>Stock levels</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"transfers\">\n <SideNavigationLink href=\"#transfers\">\n <SideNavigationLabel>Transfers</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationGroup>\n </SideNavigationItem>\n <SideNavigationItem value=\"monthly\">\n <SideNavigationLink href=\"#monthly\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-text\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>\n Monthly report · September 2026 · Tacoma warehouse\n </SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n </Stack>\n </SideNavigationDefaultsProvider>\n );\n}\n",
632
+ "verdict": "example"
633
633
  },
634
634
  {
635
635
  "id": "composition",
@@ -660,7 +660,7 @@
660
660
  "title": "basic.tsx",
661
661
  "note": null,
662
662
  "language": "tsx",
663
- "source": "import {\n SideNavigation,\n SideNavigationCount,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n} from '@slotted/react/side-navigation';\n\nexport default function SideNavigationBasic() {\n return (\n <SideNavigation aria-label=\"Main navigation\" defaultValue=\"loads\">\n <SideNavigationList>\n <SideNavigationItem value=\"dashboard\">\n <SideNavigationLink href=\"/dashboard\">\n <SideNavigationLabel>Dashboard</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"loads\">\n <SideNavigationLink href=\"/loads\">\n <SideNavigationLabel>Loads</SideNavigationLabel>\n <SideNavigationCount>12</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n );\n}\n",
663
+ "source": "import { Glyph, Icon } from '@slotted/react/icon';\nimport {\n SideNavigation,\n SideNavigationCount,\n SideNavigationIcon,\n SideNavigationItem,\n SideNavigationLabel,\n SideNavigationLink,\n SideNavigationList,\n} from '@slotted/react/side-navigation';\n\nexport default function SideNavigationBasic() {\n return (\n <SideNavigation defaultValue=\"orders\">\n <SideNavigationList>\n <SideNavigationItem value=\"overview\">\n <SideNavigationLink href=\"#overview\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"trending-up\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Overview</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"orders\">\n <SideNavigationLink href=\"#orders\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"inbox\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Orders</SideNavigationLabel>\n <SideNavigationCount>128</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"returns\">\n <SideNavigationLink href=\"#returns\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"rotate-ccw\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Returns</SideNavigationLabel>\n <SideNavigationCount>7</SideNavigationCount>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"customers\">\n <SideNavigationLink href=\"#customers\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"person\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Customers</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n <SideNavigationItem value=\"reports\">\n <SideNavigationLink href=\"#reports\">\n <SideNavigationIcon>\n <Icon>\n <Glyph name=\"file-spreadsheet\" />\n </Icon>\n </SideNavigationIcon>\n <SideNavigationLabel>Reports</SideNavigationLabel>\n </SideNavigationLink>\n </SideNavigationItem>\n </SideNavigationList>\n </SideNavigation>\n );\n}\n",
664
664
  "verdict": "example"
665
665
  }
666
666
  ]