@canonical/design-system 0.47.0 → 0.49.0-experimental.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (423) hide show
  1. package/README.md +3 -3
  2. package/data/apps/component/file_tree.ttl +1 -2
  3. package/data/apps/component/inline_panel.ttl +2 -3
  4. package/data/apps/component/log.ttl +0 -1
  5. package/data/apps/component/navigation.ttl +0 -1
  6. package/data/apps/component/notification.ttl +0 -1
  7. package/data/apps/component/side_navigation.ttl +678 -5
  8. package/data/apps/component/skeleton_loading.ttl +0 -1
  9. package/data/apps/component/status_bar.ttl +0 -1
  10. package/data/apps/component/toolbar.ttl +0 -1
  11. package/data/apps/group/notifications.ttl +0 -1
  12. package/data/apps/layout/application_layout.ttl +1 -2
  13. package/data/apps/layout/content_layout.ttl +1 -2
  14. package/data/apps/layout/empty_layout.ttl +0 -1
  15. package/data/apps/layout/list_page_layout.ttl +0 -1
  16. package/data/apps/layout/login_layout.ttl +0 -1
  17. package/data/apps/layout/settings_page_layout.ttl +0 -1
  18. package/data/apps/layout/side_panel_form_layout.ttl +0 -1
  19. package/data/apps/layout/view_layout.ttl +0 -1
  20. package/data/apps/pattern/action_bar.ttl +0 -1
  21. package/data/apps/pattern/code_diff.ttl +2 -2
  22. package/data/apps/pattern/data_views.ttl +7 -7
  23. package/data/apps/pattern/datatable.ttl +7 -7
  24. package/data/apps/pattern/destructive_modal.ttl +0 -1
  25. package/data/apps/pattern/drawer.ttl +0 -1
  26. package/data/apps/pattern/keyboard_shortcuts.ttl +0 -1
  27. package/data/apps/pattern/notification_center.ttl +4 -5
  28. package/data/apps/pattern/page_header.ttl +17 -10
  29. package/data/apps/pattern/side_panel.ttl +219 -43
  30. package/data/apps/pattern/sidepanel_stacked.ttl +0 -1
  31. package/data/apps/subcomponent/data_table-action_bar.ttl +1 -1
  32. package/data/apps/subcomponent/data_table-body_cell.ttl +19 -19
  33. package/data/apps/subcomponent/data_table-group_header_row.ttl +1 -1
  34. package/data/apps/subcomponent/data_table-header_cell.ttl +11 -11
  35. package/data/apps/subcomponent/data_table-pagination_bar.ttl +7 -7
  36. package/data/apps/subcomponent/data_table-persistent_selection.ttl +2 -2
  37. package/data/apps/subcomponent/data_table-settings_menu.ttl +3 -3
  38. package/data/apps/subcomponent/data_views-filters.ttl +0 -1
  39. package/data/apps/subcomponent/data_views-saved_views.ttl +0 -1
  40. package/data/apps/subcomponent/data_views-sort_panel.ttl +0 -1
  41. package/data/apps/subcomponent/drawer-content.ttl +0 -1
  42. package/data/apps/subcomponent/drawer-footer.ttl +0 -1
  43. package/data/apps/subcomponent/drawer-header.ttl +0 -1
  44. package/data/apps/subcomponent/file_tree-node.ttl +0 -1
  45. package/data/apps/subcomponent/file_tree-search_box.ttl +13 -0
  46. package/data/apps/subcomponent/file_tree-tree_view.ttl +13 -0
  47. package/data/apps/subcomponent/git_diff_viewer-code_diff_viewer.ttl +13 -0
  48. package/data/apps/subcomponent/git_diff_viewer-file_header.ttl +13 -0
  49. package/data/apps/subcomponent/side_navigation-content.ttl +339 -3
  50. package/data/apps/subcomponent/side_navigation-context_switcher-field.ttl +18 -0
  51. package/data/apps/subcomponent/side_navigation-context_switcher-item_content.ttl +18 -0
  52. package/data/apps/subcomponent/side_navigation-context_switcher.ttl +172 -2
  53. package/data/apps/subcomponent/side_navigation-footer.ttl +270 -0
  54. package/data/apps/subcomponent/side_navigation-header.ttl +262 -0
  55. package/data/apps/subcomponent/side_navigation-item.ttl +115 -2
  56. package/data/apps/subcomponent/side_navigation-item_group.ttl +224 -2
  57. package/data/apps/subcomponent/side_navigation-primary_navigation.ttl +638 -0
  58. package/data/apps/subcomponent/side_navigation-secondary_navigation.ttl +646 -0
  59. package/data/apps/subcomponent/side_panel-content.ttl +45 -5
  60. package/data/apps/subcomponent/side_panel-footer.ttl +40 -8
  61. package/data/apps/subcomponent/side_panel-header.ttl +87 -111
  62. package/data/apps.ttl +2 -1
  63. package/data/apps_anbox/pattern/side_menu.ttl +5 -6
  64. package/data/apps_anbox.ttl +2 -1
  65. package/data/apps_debcrafters/component/deb_package_card.ttl +0 -1
  66. package/data/apps_debcrafters/component/example.ttl +0 -1
  67. package/data/apps_debcrafters/component/my_fancy_component.ttl +0 -1
  68. package/data/apps_debcrafters.ttl +2 -1
  69. package/data/apps_juju/pattern/single_select_multi_layered.ttl +0 -1
  70. package/data/apps_juju.ttl +2 -1
  71. package/data/apps_landscape/component/checkbox_group.ttl +26 -26
  72. package/data/apps_landscape/component/code_editor.ttl +32 -32
  73. package/data/apps_landscape/component/cron_schedule.ttl +2 -2
  74. package/data/apps_landscape/component/expandable_radio_group.ttl +18 -18
  75. package/data/apps_landscape/component/expandable_truncation.ttl +11 -11
  76. package/data/apps_landscape/component/form_section.ttl +2 -2
  77. package/data/apps_landscape/component/gpg_key_field.ttl +21 -21
  78. package/data/apps_landscape/component/grouped_select.ttl +23 -23
  79. package/data/apps_landscape/component/loading_state.ttl +6 -6
  80. package/data/apps_landscape/component/managed_file_input.ttl +13 -13
  81. package/data/apps_landscape/component/multi_select_field.ttl +44 -44
  82. package/data/apps_landscape/component/password_constraints.ttl +2 -2
  83. package/data/apps_landscape/component/progress_bar.ttl +15 -15
  84. package/data/apps_landscape/component/read_only_field.ttl +10 -10
  85. package/data/apps_landscape/component/search_help_popup.ttl +10 -10
  86. package/data/apps_landscape/component/search_query_editor.ttl +29 -29
  87. package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
  88. package/data/apps_landscape/pattern/content_blocks.ttl +16 -16
  89. package/data/apps_landscape/pattern/dashboard_page_composition.ttl +26 -26
  90. package/data/apps_landscape/pattern/delivery_scheduling.ttl +2 -2
  91. package/data/apps_landscape/pattern/form_field_help.ttl +12 -12
  92. package/data/apps_landscape/pattern/header_search_controls.ttl +26 -26
  93. package/data/apps_landscape/pattern/ignorable_notification.ttl +10 -10
  94. package/data/apps_landscape/pattern/information_grid.ttl +13 -13
  95. package/data/apps_landscape/pattern/instance_association.ttl +5 -5
  96. package/data/apps_landscape/pattern/process_flow.ttl +9 -9
  97. package/data/apps_landscape/pattern/progressively_expandable_table.ttl +29 -29
  98. package/data/apps_landscape/pattern/recurring_schedule.ttl +4 -4
  99. package/data/apps_landscape/pattern/responsive_action_group.ttl +11 -11
  100. package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
  101. package/data/apps_landscape/pattern/responsive_table_filters.ttl +9 -9
  102. package/data/apps_landscape/pattern/side_panel_form_actions.ttl +30 -30
  103. package/data/apps_landscape/pattern/sortable_list.ttl +11 -11
  104. package/data/apps_landscape/pattern/table_filter.ttl +40 -40
  105. package/data/apps_landscape/pattern/table_filter_chips.ttl +44 -44
  106. package/data/apps_landscape/pattern/table_pagination.ttl +48 -48
  107. package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +18 -18
  108. package/data/apps_landscape/subcomponent/bold_substring.ttl +6 -6
  109. package/data/apps_landscape/subcomponent/inline_cell_input.ttl +7 -7
  110. package/data/apps_landscape/subcomponent/label_with_description.ttl +10 -10
  111. package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +9 -9
  112. package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
  113. package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +14 -14
  114. package/data/apps_landscape.ttl +2 -1
  115. package/data/apps_launchpad/component/accordion.ttl +0 -1
  116. package/data/apps_launchpad/component/avatar.ttl +2 -2
  117. package/data/apps_launchpad/component/badge.ttl +2 -2
  118. package/data/apps_launchpad/component/button.ttl +2 -2
  119. package/data/apps_launchpad/component/combobox.ttl +2 -2
  120. package/data/apps_launchpad/component/description_list.ttl +1 -1
  121. package/data/apps_launchpad/component/drawer.ttl +0 -1
  122. package/data/apps_launchpad/component/link.ttl +0 -1
  123. package/data/apps_launchpad/component/markdown_editor.ttl +0 -1
  124. package/data/apps_launchpad/component/modal.ttl +6 -6
  125. package/data/apps_launchpad/component/pagination.ttl +0 -1
  126. package/data/apps_launchpad/component/popover.ttl +0 -1
  127. package/data/apps_launchpad/component/relative_timestamp.ttl +0 -1
  128. package/data/apps_launchpad/component/spinner.ttl +0 -1
  129. package/data/apps_launchpad/component/table.ttl +0 -1
  130. package/data/apps_launchpad/component/text_input.ttl +1 -1
  131. package/data/apps_launchpad/component/timestamp.ttl +0 -1
  132. package/data/apps_launchpad/component/tooltip.ttl +2 -2
  133. package/data/apps_launchpad/subcomponent/modal-content-body.ttl +0 -1
  134. package/data/apps_launchpad/subcomponent/modal-content-footer.ttl +0 -1
  135. package/data/apps_launchpad/subcomponent/modal-content-header-close_button.ttl +0 -1
  136. package/data/apps_launchpad/subcomponent/modal-content-header.ttl +0 -1
  137. package/data/apps_launchpad/subcomponent/modal-content.ttl +0 -1
  138. package/data/apps_launchpad/subcomponent/side_panel-content-body.ttl +0 -1
  139. package/data/apps_launchpad/subcomponent/side_panel-content-footer.ttl +0 -1
  140. package/data/apps_launchpad/subcomponent/side_panel-content-header-close_button.ttl +0 -1
  141. package/data/apps_launchpad/subcomponent/side_panel-content-header.ttl +0 -1
  142. package/data/apps_launchpad/subcomponent/side_panel-content.ttl +0 -1
  143. package/data/apps_launchpad.ttl +2 -1
  144. package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
  145. package/data/apps_lxd/component/favorite_star_icon_button.ttl +16 -0
  146. package/data/apps_lxd/component/output_field.ttl +7 -7
  147. package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +1 -1
  148. package/data/apps_lxd/view/network_topology.ttl +6 -6
  149. package/data/apps_lxd.ttl +2 -1
  150. package/data/apps_notary.ttl +2 -1
  151. package/data/apps_portal/component/badge.ttl +0 -1
  152. package/data/apps_portal/component/credit_card_input.ttl +0 -1
  153. package/data/apps_portal/component/key_value_pair.ttl +0 -1
  154. package/data/apps_portal/pattern/purchase_summary.ttl +0 -1
  155. package/data/apps_portal/subcomponent/read_only_modal.ttl +0 -1
  156. package/data/apps_portal.ttl +2 -1
  157. package/data/apps_support/component/data_spotlight.ttl +0 -1
  158. package/data/apps_support/subcomponent/ai_prompt_input.ttl +0 -1
  159. package/data/apps_workplace/component/complex_multi_select.ttl +0 -1
  160. package/data/apps_workplace/component/label-highlight.ttl +2 -2
  161. package/data/apps_workplace/component/org_chart.ttl +0 -1
  162. package/data/apps_workplace/component/rule.ttl +0 -1
  163. package/data/apps_workplace/component/skip_link.ttl +0 -1
  164. package/data/apps_workplace/component/theme_switcher.ttl +0 -1
  165. package/data/apps_workplace/pattern/callout_numbers_card.ttl +1 -1
  166. package/data/apps_workplace/pattern/confirmation_modal.ttl +0 -1
  167. package/data/apps_workplace/pattern/org_event_card.ttl +0 -1
  168. package/data/apps_workplace/subcomponent/multi_select_input.ttl +0 -1
  169. package/data/apps_workplace.ttl +2 -1
  170. package/data/documentation/layout/content_page_layout.ttl +0 -1
  171. package/data/documentation/layout/documentation_layout.ttl +0 -1
  172. package/data/documentation/layout/library_layout.ttl +0 -1
  173. package/data/documentation/layout/search_page_layout.ttl +0 -1
  174. package/data/documentation/pattern/library_side_navigation.ttl +1 -1
  175. package/data/documentation.ttl +2 -1
  176. package/data/global/component/accordion.ttl +16 -16
  177. package/data/global/component/announcement.ttl +2 -2
  178. package/data/global/component/avatar.ttl +0 -1
  179. package/data/global/component/badge.ttl +11 -11
  180. package/data/global/component/breadcrumbs.ttl +9 -9
  181. package/data/global/component/button.ttl +11 -11
  182. package/data/global/component/button_link.ttl +0 -1
  183. package/data/global/component/card.ttl +2 -2
  184. package/data/global/component/checkbox_field.ttl +0 -1
  185. package/data/global/component/chip.ttl +15 -15
  186. package/data/global/component/choices_field.ttl +0 -1
  187. package/data/global/component/code_snippet-content.ttl +0 -1
  188. package/data/global/component/code_snippet-header.ttl +0 -1
  189. package/data/global/component/code_snippet.ttl +2 -2
  190. package/data/global/component/color_field.ttl +0 -1
  191. package/data/global/component/combobox_field.ttl +0 -1
  192. package/data/global/component/contextual_menu.ttl +10 -9
  193. package/data/global/component/{tooltip_data.ttl → data_tooltip.ttl} +41 -55
  194. package/data/global/component/date_field.ttl +0 -1
  195. package/data/global/component/date_time_field.ttl +0 -1
  196. package/data/global/component/drag_and_drop_list.ttl +0 -1
  197. package/data/global/component/dropdown_button.ttl +3 -3
  198. package/data/global/component/file_upload_field.ttl +2 -2
  199. package/data/global/component/heading.ttl +1 -1
  200. package/data/global/component/hidden_field.ttl +0 -1
  201. package/data/global/component/icon.ttl +3 -3
  202. package/data/global/component/icon_button.ttl +119 -6
  203. package/data/global/component/icon_in_container.ttl +2 -3
  204. package/data/global/component/key_value_pair.ttl +0 -1
  205. package/data/global/component/keyboard_key.ttl +0 -1
  206. package/data/global/component/link.ttl +0 -1
  207. package/data/global/component/links.ttl +0 -1
  208. package/data/global/component/markdown_editor_field.ttl +0 -1
  209. package/data/global/component/mode_switcher.ttl +0 -1
  210. package/data/global/component/month_field.ttl +0 -1
  211. package/data/global/component/notification_inline.ttl +0 -1
  212. package/data/global/component/notification_toast.ttl +0 -1
  213. package/data/global/component/number_field.ttl +0 -1
  214. package/data/global/component/pagination.ttl +0 -1
  215. package/data/global/component/password_field.ttl +0 -1
  216. package/data/global/component/phone_field.ttl +0 -1
  217. package/data/global/component/popover.ttl +0 -1
  218. package/data/global/component/rating_field.ttl +0 -1
  219. package/data/global/component/relative_timestamp.ttl +0 -1
  220. package/data/global/component/rich_choices_field.ttl +0 -1
  221. package/data/global/component/rich_text_editor.ttl +0 -1
  222. package/data/global/component/rich_text_field.ttl +0 -1
  223. package/data/global/component/search_field.ttl +0 -1
  224. package/data/global/component/segmented_control.ttl +0 -1
  225. package/data/global/component/segmented_control_field.ttl +0 -1
  226. package/data/global/component/select_field.ttl +0 -1
  227. package/data/global/component/switch_field.ttl +0 -1
  228. package/data/global/component/tag.ttl +2 -2
  229. package/data/global/component/text_field.ttl +0 -1
  230. package/data/global/component/textarea_field.ttl +0 -1
  231. package/data/global/component/tile.ttl +9 -9
  232. package/data/global/component/time_field.ttl +0 -1
  233. package/data/global/component/timestamp.ttl +0 -1
  234. package/data/global/component/tooltip.ttl +31 -123
  235. package/data/global/component/{tooltip_wrapper.ttl → wrapper_tooltip.ttl} +45 -53
  236. package/data/global/group/buttons.ttl +0 -1
  237. package/data/global/group/cards.ttl +0 -1
  238. package/data/global/group/code_snippets.ttl +0 -1
  239. package/data/global/group/key_value_pairs.ttl +0 -1
  240. package/data/global/group/keyboard_keys.ttl +0 -1
  241. package/data/global/group/tiles.ttl +0 -1
  242. package/data/global/layout/error_layout.ttl +0 -1
  243. package/data/global/layout/identity_page_form.ttl +0 -1
  244. package/data/global/modifier/achromat.ttl +8 -0
  245. package/data/global/modifier/alpha.ttl +1 -1
  246. package/data/global/modifier/beta.ttl +1 -1
  247. package/data/global/modifier/branded.ttl +8 -0
  248. package/data/global/modifier/caution.ttl +1 -1
  249. package/data/global/modifier/comfortable.ttl +1 -1
  250. package/data/global/modifier/completed.ttl +1 -1
  251. package/data/global/modifier/constructive.ttl +1 -1
  252. package/data/global/modifier/{elevated.ttl → contrasted.ttl} +2 -2
  253. package/data/global/modifier/dark.ttl +2 -2
  254. package/data/global/modifier/dense.ttl +1 -1
  255. package/data/global/modifier/deprecated.ttl +8 -0
  256. package/data/global/modifier/destructive.ttl +1 -1
  257. package/data/global/modifier/{success.ttl → deutan.ttl} +3 -3
  258. package/data/global/modifier/end_of_life.ttl +8 -0
  259. package/data/global/modifier/error.ttl +2 -2
  260. package/data/global/modifier/experimental.ttl +1 -1
  261. package/data/global/modifier/failed.ttl +1 -1
  262. package/data/global/modifier/highlighted.ttl +8 -0
  263. package/data/global/modifier/in_progress.ttl +1 -1
  264. package/data/global/modifier/information.ttl +2 -2
  265. package/data/global/modifier/{surface2.ttl → layer1.ttl} +2 -2
  266. package/data/global/modifier/{surface1.ttl → layer2.ttl} +2 -2
  267. package/data/global/modifier/{surface3.ttl → layer3.ttl} +2 -2
  268. package/data/global/modifier/less.ttl +8 -0
  269. package/data/global/modifier/light.ttl +2 -2
  270. package/data/global/modifier/lts.ttl +8 -0
  271. package/data/global/modifier/more.ttl +8 -0
  272. package/data/global/modifier/muted.ttl +8 -0
  273. package/data/global/modifier/planned.ttl +1 -1
  274. package/data/global/modifier/primary.ttl +1 -1
  275. package/data/global/modifier/protan.ttl +8 -0
  276. package/data/global/modifier/secondary.ttl +1 -1
  277. package/data/global/modifier/stable.ttl +1 -1
  278. package/data/global/modifier/standard.ttl +8 -0
  279. package/data/global/modifier/tertiary.ttl +1 -1
  280. package/data/global/modifier/tritan.ttl +8 -0
  281. package/data/global/modifier/typical.ttl +8 -0
  282. package/data/global/modifier/warning.ttl +2 -2
  283. package/data/global/modifier_family/anticipation.ttl +1 -0
  284. package/data/global/modifier_family/{mode.ttl → color.ttl} +3 -2
  285. package/data/global/modifier_family/color_vision.ttl +10 -0
  286. package/data/global/modifier_family/contrast.ttl +10 -0
  287. package/data/global/modifier_family/density.ttl +1 -0
  288. package/data/global/modifier_family/emphasis.ttl +10 -0
  289. package/data/global/modifier_family/importance.ttl +1 -0
  290. package/data/global/modifier_family/lifecycle.ttl +1 -0
  291. package/data/global/modifier_family/release.ttl +1 -0
  292. package/data/global/modifier_family/severity.ttl +10 -0
  293. package/data/global/modifier_family/support.ttl +10 -0
  294. package/data/global/modifier_family/surface.ttl +2 -1
  295. package/data/global/pattern/description_list.ttl +0 -1
  296. package/data/global/pattern/field.ttl +0 -1
  297. package/data/global/pattern/filter.ttl +0 -1
  298. package/data/global/pattern/form.ttl +6 -1
  299. package/data/global/pattern/form_login.ttl +0 -1
  300. package/data/global/pattern/info_table.ttl +0 -1
  301. package/data/global/pattern/modal.ttl +202 -141
  302. package/data/global/pattern/stepper.ttl +0 -1
  303. package/data/global/pattern/table_of_contents.ttl +0 -1
  304. package/data/global/pattern/timeline.ttl +22 -22
  305. package/data/global/pattern/top_navigation.ttl +0 -1
  306. package/data/global/{modifier_family/_other.ttl → state/editable.ttl} +2 -2
  307. package/data/global/{modifier_family/_emphasis.ttl → state/focused.ttl} +2 -2
  308. package/data/global/{modifier_family/_color_luminosity.ttl → state/invalid.ttl} +2 -2
  309. package/data/global/{modifier/modal.ttl → state/loading.ttl} +3 -3
  310. package/data/global/state/valid.ttl +8 -0
  311. package/data/global/state/wireframe.ttl +8 -0
  312. package/data/global/subcomponent/accordion-item.ttl +1 -2
  313. package/data/global/subcomponent/breadcrumbs-item.ttl +0 -1
  314. package/data/global/subcomponent/card-content.ttl +1 -2
  315. package/data/global/subcomponent/card-footer.ttl +0 -1
  316. package/data/global/subcomponent/card-header.ttl +1 -2
  317. package/data/global/subcomponent/card-image.ttl +1 -2
  318. package/data/global/subcomponent/card-thumbnail.ttl +0 -1
  319. package/data/global/subcomponent/chart_legend.ttl +1 -2
  320. package/data/global/subcomponent/chart_legend_item.ttl +1 -2
  321. package/data/global/subcomponent/checkbox_input.ttl +0 -1
  322. package/data/global/subcomponent/color_input.ttl +0 -1
  323. package/data/global/subcomponent/combobox_input.ttl +0 -1
  324. package/data/global/subcomponent/contextual_menu-item.ttl +13 -0
  325. package/data/global/subcomponent/contextual_menu-list.ttl +13 -0
  326. package/data/global/subcomponent/contextual_menu-submenu.ttl +13 -0
  327. package/data/global/subcomponent/data_tooltip-chart_legend.ttl +133 -0
  328. package/data/global/subcomponent/date_input.ttl +0 -1
  329. package/data/global/subcomponent/date_time_input.ttl +0 -1
  330. package/data/global/subcomponent/field-description.ttl +1 -2
  331. package/data/global/subcomponent/field-error.ttl +1 -2
  332. package/data/global/subcomponent/field-label.ttl +1 -2
  333. package/data/global/subcomponent/file_upload_input.ttl +3 -3
  334. package/data/global/subcomponent/hidden_input.ttl +0 -1
  335. package/data/global/subcomponent/kvp_container.ttl +1 -2
  336. package/data/global/subcomponent/kvpitem_base.ttl +1 -2
  337. package/data/global/subcomponent/markdown_editor_input.ttl +0 -1
  338. package/data/global/subcomponent/modal-content.ttl +4 -13
  339. package/data/global/subcomponent/modal-footer.ttl +21 -29
  340. package/data/global/subcomponent/modal-header.ttl +53 -141
  341. package/data/global/subcomponent/month_input.ttl +0 -1
  342. package/data/global/subcomponent/number_input.ttl +0 -1
  343. package/data/global/subcomponent/password_input.ttl +0 -1
  344. package/data/global/subcomponent/phone_input.ttl +0 -1
  345. package/data/global/subcomponent/radio_input.ttl +0 -1
  346. package/data/global/subcomponent/range_input.ttl +0 -1
  347. package/data/global/subcomponent/rating_input.ttl +0 -1
  348. package/data/global/subcomponent/rich_text_input.ttl +0 -1
  349. package/data/global/subcomponent/search_input.ttl +8 -8
  350. package/data/global/subcomponent/segmented_control_input.ttl +0 -1
  351. package/data/global/subcomponent/select_input.ttl +0 -1
  352. package/data/global/subcomponent/spin_button.ttl +0 -1
  353. package/data/global/subcomponent/spinner.ttl +0 -1
  354. package/data/global/subcomponent/switch_input.ttl +0 -1
  355. package/data/global/subcomponent/table-cell.ttl +0 -1
  356. package/data/global/subcomponent/table-row.ttl +0 -1
  357. package/data/global/subcomponent/text_editor_input.ttl +0 -1
  358. package/data/global/subcomponent/text_input.ttl +0 -1
  359. package/data/global/subcomponent/textarea_input.ttl +1 -2
  360. package/data/global/subcomponent/tile-content.ttl +0 -1
  361. package/data/global/subcomponent/tile-header.ttl +5 -6
  362. package/data/global/subcomponent/time_input.ttl +0 -1
  363. package/data/global/subcomponent/timeline-content.ttl +1 -2
  364. package/data/global/subcomponent/timeline-event.ttl +1 -1
  365. package/data/global/variant/tooltip_dense.ttl +28 -3
  366. package/data/global/view/settings_view.ttl +0 -1
  367. package/data/global.ttl +2 -1
  368. package/data/global_dataviews/component/filter_button.ttl +3 -4
  369. package/data/global_dataviews/component/query_bar.ttl +1 -2
  370. package/data/global_dataviews/component/query_chip.ttl +2 -2
  371. package/data/global_dataviews/group/query_chips.ttl +1 -2
  372. package/data/global_dataviews/modifier/exclusion.ttl +1 -1
  373. package/data/global_dataviews/modifier/inclusion.ttl +1 -1
  374. package/data/global_dataviews/modifier/match.ttl +1 -1
  375. package/data/global_dataviews/modifier/presence.ttl +1 -1
  376. package/data/global_dataviews/modifier/range.ttl +1 -1
  377. package/data/global_dataviews/modifier_family/condition.ttl +1 -0
  378. package/data/global_dataviews/subcomponent/query_chip-entry.ttl +1 -2
  379. package/data/global_dataviews/subcomponent/query_chip-segment.ttl +1 -2
  380. package/data/global_dataviews/subcomponent/query_input.ttl +1 -2
  381. package/data/global_dataviews.ttl +2 -1
  382. package/data/sites/component/quote.ttl +0 -1
  383. package/data/sites/component/rule.ttl +0 -1
  384. package/data/sites/component/section.ttl +0 -1
  385. package/data/sites/component/store_card.ttl +7 -7
  386. package/data/sites/group/blog_cards.ttl +0 -1
  387. package/data/sites/group/xblog_elements.ttl +0 -1
  388. package/data/sites/layout/blog_page_layout.ttl +0 -1
  389. package/data/sites/layout/case_study_layout.ttl +0 -1
  390. package/data/sites/layout/site_layout.ttl +0 -1
  391. package/data/sites/pattern/hero-github.ttl +0 -1
  392. package/data/sites/pattern/hero.ttl +1 -2
  393. package/data/sites/pattern/info_table.ttl +0 -1
  394. package/data/sites/pattern/pricing_section.ttl +0 -1
  395. package/data/sites/pattern/pricing_table.ttl +0 -1
  396. package/data/sites/pattern/read_more_section.ttl +0 -1
  397. package/data/sites/pattern/skip_link.ttl +0 -1
  398. package/data/sites.ttl +2 -1
  399. package/data/sites_stores.ttl +2 -1
  400. package/data/sites_webcomponentsprototype/component/blog_cards.ttl +0 -1
  401. package/data/sites_webcomponentsprototype/component/ctablock.ttl +0 -1
  402. package/data/sites_webcomponentsprototype/component/list.ttl +6 -2
  403. package/data/sites_webcomponentsprototype/component/tabs.ttl +0 -1
  404. package/data/sites_webcomponentsprototype/layout/site_layout.ttl +0 -1
  405. package/data/sites_webcomponentsprototype/pattern/basic_section.ttl +0 -1
  406. package/data/sites_webcomponentsprototype/pattern/blog_section.ttl +0 -1
  407. package/data/sites_webcomponentsprototype/pattern/ctasection.ttl +0 -1
  408. package/data/sites_webcomponentsprototype/pattern/equal_heights.ttl +0 -1
  409. package/data/sites_webcomponentsprototype/pattern/hero.ttl +0 -1
  410. package/data/sites_webcomponentsprototype/pattern/logo_section.ttl +0 -1
  411. package/data/sites_webcomponentsprototype/pattern/quote_wrapper.ttl +0 -1
  412. package/data/sites_webcomponentsprototype/pattern/tiered_list.ttl +0 -1
  413. package/data/sites_webcomponentsprototype.ttl +2 -1
  414. package/definitions/ontology.ttl +46 -0
  415. package/package.json +6 -6
  416. package/skills/design-auditor/SKILL.md +4 -4
  417. package/skills/implement-component/SKILL.md +1 -1
  418. package/skills/specify-component/SKILL.md +1 -1
  419. package/src/graph/GraphStore.ts +8 -2
  420. package/data/global/modifier_family/criticality.ttl +0 -9
  421. package/skills/map-journeys/SKILL.md +0 -395
  422. package/skills/map-journeys/journey-graph.example.html +0 -298
  423. package/skills/model-domains/SKILL.md +0 -502
@@ -10,211 +10,211 @@ ds:apps_landscape.pattern.table_pagination a ds:Pattern;
10
10
  ds:usage "### When to use\n\n- Use `TablePagination` when `currentPage` and `pageSize` belong in shared URL parameters.\n- Use `SidePanelTablePagination` for externally controlled offset state inside a panel or local workflow.\n- Use `ModalTablePagination` for a compact known page count without direct entry or page-size choice.\n- Use `TokenBasedTablePagination` when the API exposes previous/next cursor availability rather than page numbers.\n- Keep current counts, total semantics, page state, and rendered rows from the same response snapshot.\n\n### When not to use\n\n**Progressive reveal or infinite scrolling**\n\nLoading and appending results incrementally as the user scrolls or navigates.\n\n**Incorrect pattern**: Using `TokenBasedTablePagination` with an API that cannot reliably report cursor availability or providing a pagination component for lazy-loading feeds.\n\n**Remediation strategy**: Implement infinite scroll with separate cursor-tracking logic, or use a dedicated lazy-load component. Reserve pagination for APIs that provide definitive `hasNext` / `hasPrevious` signals.\n\n**Unimplemented page sizes**\n\nPage-size options that the endpoint does not support.\n\n**Incorrect pattern**: Passing `pageSize: 75` as an option when the API only honors 20/50/100.\n\n**Remediation strategy**: Verify that all rendered page-size options are supported by the endpoint before rendering. Pass only sizes that the API will actually use.\n\n**Treating current item count as a range**\n\nUsing `currentItemCount` as the first or last item number rather than the row count on the current page.\n\n**Incorrect pattern**: Displaying “Items 41–60 of 200” by treating `currentItemCount` as an offset or range boundary.\n\n**Remediation strategy**: Implement your own range display logic separately. The component only reports current-page row count against the total; it does not compute or display range boundaries.";
11
11
  ds:guidelines "### Accessibility\n\n- Offset/token navigation uses the “Table pagination” nav label and explicit previous/next labels. Modal has labelled buttons but no nav landmark.\n- Page-size labels are visually hidden. Token visible “Advance by” text is not itself the select label; the select label is “{plural} per page”.\n- Page input has `aria-label=\"page number\"`, but rendered error paragraphs are not explicitly connected with `aria-describedby` in source.\n- Count/page changes are not live-announced and focus is not moved after navigation.\n\n### Content\n\n- Offset count nouns are hardcoded `result/results`; only the page-size label is configurable.\n- Token nouns are configurable, but all sentence templates, nav labels, errors, and “Advance by” are hardcoded English.\n- Use `isTotalExact={false}` only when `totalItemCount` is a defensible lower bound.\n\n### Internationalization / globalization\n\n- Counts/pages use unformatted JavaScript numbers and English sentence order.\n- Singular/plural handling accepts two noun forms only; it is not locale plural-rules support.\n- Number input uses HTML number parsing/validity; locale decimal entry and translated errors are not configurable.\n\n### Device\n\n- Offset wrapper is a single flex row with no wrap rule; count is pushed left and controls stay shrink-resistant. Test narrow panels and long labels.\n- Token advance controls can wrap internally, but the outer wrapper does not. Navigation is pushed to the end.\n- Page-input error is absolutely positioned and nonwrapping; verify it does not clip or overlap in constrained widths.\n- No component uses viewport/device detection.\n\n### Keyboard\n\n- Previous/next/select use native control behavior.\n- Valid page input invokes `setCurrentPage` on Enter and again on subsequent blur unless navigation unmounts/updates it first.\n- Empty, fractional, or out-of-range input shows an error; invalid blur restores current value and clears error. Escape has no special behavior.";
12
12
  ds:tier ds:apps_landscape;
13
- ds:documentationStage ds:tag.specialadoption-docs;
14
13
  ds:hasProperty [
15
14
  a ds:Property;
16
15
  ds:name "`TablePagination.totalItems`";
17
16
  ds:summary "Supplies the total used for page calculation and count copy.";
18
17
  ds:propertyType "number";
19
- ds:constraints "TypeScript: `number | undefined`. `undefined` leaves the total-pages hook at its current value; its initial value is one. `TablePaginationProps` is implementation-local and the family barrel exports only the component.";
20
- ds:defaultValue "—"
18
+ ds:defaultValue "—";
19
+ ds:constraints "TypeScript: `number | undefined`. `undefined` leaves the total-pages hook at its current value; its initial value is one. `TablePaginationProps` is implementation-local and the family barrel exports only the component."
21
20
  ], [
22
21
  a ds:Property;
23
22
  ds:name "`TablePagination.className`";
24
23
  ds:summary "Adds a class to the base root.";
25
24
  ds:propertyType "text";
26
- ds:constraints "TypeScript: `string`. Merged with footer wrapper styles.";
27
25
  ds:defaultValue "`\"\"`";
26
+ ds:constraints "TypeScript: `string`. Merged with footer wrapper styles.";
28
27
  ds:optional "true"
29
28
  ], [
30
29
  a ds:Property;
31
30
  ds:name "`TablePagination.handleClearSelection`";
32
31
  ds:summary "Runs after any pagination request.";
33
32
  ds:propertyType "callback";
34
- ds:constraints "TypeScript: `() => void`. Runs for previous, next, direct input, and the reset-to-page-1 request on size change. Page-size change calls `paginate(1)`, so this callback runs before the size update. The component reads `currentPage` and `pageSize` from `usePageParams`, writes through `setPageParams`, and registers page-size values `20`, `50`, `100` plus current pages `1..totalPages`.";
35
33
  ds:defaultValue "—";
34
+ ds:constraints "TypeScript: `() => void`. Runs for previous, next, direct input, and the reset-to-page-1 request on size change. Page-size change calls `paginate(1)`, so this callback runs before the size update. The component reads `currentPage` and `pageSize` from `usePageParams`, writes through `setPageParams`, and registers page-size values `20`, `50`, `100` plus current pages `1..totalPages`.";
36
35
  ds:optional "true"
37
36
  ], [
38
37
  a ds:Property;
39
38
  ds:name "`TablePagination.currentItemCount`";
40
39
  ds:summary "Supplies the current page row count.";
41
40
  ds:propertyType "number";
42
- ds:constraints "TypeScript: `number`. Falsy zero suppresses count copy.";
43
41
  ds:defaultValue "0";
42
+ ds:constraints "TypeScript: `number`. Falsy zero suppresses count copy.";
44
43
  ds:optional "true"
45
44
  ], [
46
45
  a ds:Property;
47
46
  ds:name "`TablePagination.pageSizeLabel`";
48
47
  ds:summary "Labels the offset page-size select accessibly.";
49
48
  ds:propertyType "text";
50
- ds:constraints "TypeScript: `string`. Visually hidden; localize and name the entity at the call site.";
51
49
  ds:defaultValue "`Instances per page`";
50
+ ds:constraints "TypeScript: `string`. Visually hidden; localize and name the entity at the call site.";
52
51
  ds:optional "true"
53
52
  ], [
54
53
  a ds:Property;
55
54
  ds:name "`SidePanelTablePagination.currentPage`";
56
55
  ds:summary "Supplies the controlled one-based page.";
57
56
  ds:propertyType "number";
58
- ds:constraints "TypeScript: `number`. Caller must update it after `paginate`. `SidePanelTablePaginationProps` is implementation-local and the family barrel exports only the component.";
59
- ds:defaultValue "—"
57
+ ds:defaultValue "—";
58
+ ds:constraints "TypeScript: `number`. Caller must update it after `paginate`. `SidePanelTablePaginationProps` is implementation-local and the family barrel exports only the component."
60
59
  ], [
61
60
  a ds:Property;
62
61
  ds:name "`SidePanelTablePagination.pageSize`";
63
62
  ds:summary "Supplies the controlled offset size.";
64
63
  ds:propertyType "number";
65
- ds:constraints "TypeScript: `number`. Base options are 20, 50, and 100; caller must update it after `setPageSize`.";
66
- ds:defaultValue "—"
64
+ ds:defaultValue "—";
65
+ ds:constraints "TypeScript: `number`. Base options are 20, 50, and 100; caller must update it after `setPageSize`."
67
66
  ], [
68
67
  a ds:Property;
69
68
  ds:name "`SidePanelTablePagination.paginate`";
70
69
  ds:summary "Receives a previous, next, direct, or page-1 request.";
71
70
  ds:propertyType "callback";
72
- ds:constraints "TypeScript: `(page: number) => void`. There is no range guard beyond disabled controls and input validity.";
73
- ds:defaultValue "—"
71
+ ds:defaultValue "—";
72
+ ds:constraints "TypeScript: `(page: number) => void`. There is no range guard beyond disabled controls and input validity."
74
73
  ], [
75
74
  a ds:Property;
76
75
  ds:name "`SidePanelTablePagination.setPageSize`";
77
76
  ds:summary "Receives the selected size after `paginate(1)`.";
78
77
  ds:propertyType "callback";
79
- ds:constraints "TypeScript: `(itemsNumber: number) => void`. Calls are not awaited or transacted.";
80
- ds:defaultValue "—"
78
+ ds:defaultValue "—";
79
+ ds:constraints "TypeScript: `(itemsNumber: number) => void`. Calls are not awaited or transacted."
81
80
  ], [
82
81
  a ds:Property;
83
82
  ds:name "`SidePanelTablePagination.totalItems`";
84
83
  ds:summary "Supplies the total for page calculation and count copy.";
85
84
  ds:propertyType "number";
86
- ds:constraints "TypeScript: `number | undefined`. Uses the same total-pages hook semantics as the URL-backed variant.";
87
- ds:defaultValue "—"
85
+ ds:defaultValue "—";
86
+ ds:constraints "TypeScript: `number | undefined`. Uses the same total-pages hook semantics as the URL-backed variant."
88
87
  ], [
89
88
  a ds:Property;
90
89
  ds:name "`SidePanelTablePagination.className`";
91
90
  ds:summary "Adds a class to the base root.";
92
91
  ds:propertyType "text";
93
- ds:constraints "TypeScript: `string`.";
94
92
  ds:defaultValue "`\"\"`";
93
+ ds:constraints "TypeScript: `string`.";
95
94
  ds:optional "true"
96
95
  ], [
97
96
  a ds:Property;
98
97
  ds:name "`SidePanelTablePagination.currentItemCount`";
99
98
  ds:summary "Supplies the current row count.";
100
99
  ds:propertyType "number";
101
- ds:constraints "TypeScript: `number`. Falsy zero suppresses count copy. This variant does not expose `pageSizeLabel`; it always uses `Instances per page`.";
102
100
  ds:defaultValue "0";
101
+ ds:constraints "TypeScript: `number`. Falsy zero suppresses count copy. This variant does not expose `pageSizeLabel`; it always uses `Instances per page`.";
103
102
  ds:optional "true"
104
103
  ], [
105
104
  a ds:Property;
106
105
  ds:name "`ModalTablePagination.current`";
107
106
  ds:summary "Supplies the displayed current page and button boundaries.";
108
107
  ds:propertyType "number";
109
- ds:constraints "TypeScript: `number`. There is no runtime clamping; `current <= 1` disables previous and `current >= max` disables next. `ModalTablePaginationProps` is exported from its source module, while the family barrel exports only the component.";
110
- ds:defaultValue "—"
108
+ ds:defaultValue "—";
109
+ ds:constraints "TypeScript: `number`. There is no runtime clamping; `current <= 1` disables previous and `current >= max` disables next. `ModalTablePaginationProps` is exported from its source module, while the family barrel exports only the component."
111
110
  ], [
112
111
  a ds:Property;
113
112
  ds:name "`ModalTablePagination.max`";
114
113
  ds:summary "Supplies the displayed page count.";
115
114
  ds:propertyType "number";
116
- ds:constraints "TypeScript: `number`. The entire component returns `null` when `max <= 1`.";
117
- ds:defaultValue "—"
115
+ ds:defaultValue "—";
116
+ ds:constraints "TypeScript: `number`. The entire component returns `null` when `max <= 1`."
118
117
  ], [
119
118
  a ds:Property;
120
119
  ds:name "`ModalTablePagination.onPrev`";
121
120
  ds:summary "Handles the previous-page action.";
122
121
  ds:propertyType "callback";
123
- ds:constraints "TypeScript: `() => void`. Receives no page argument and is not awaited.";
124
- ds:defaultValue "—"
122
+ ds:defaultValue "—";
123
+ ds:constraints "TypeScript: `() => void`. Receives no page argument and is not awaited."
125
124
  ], [
126
125
  a ds:Property;
127
126
  ds:name "`ModalTablePagination.onNext`";
128
127
  ds:summary "Handles the next-page action.";
129
128
  ds:propertyType "callback";
130
- ds:constraints "TypeScript: `() => void`. Receives no page argument and is not awaited.";
131
- ds:defaultValue "—"
129
+ ds:defaultValue "—";
130
+ ds:constraints "TypeScript: `() => void`. Receives no page argument and is not awaited."
132
131
  ], [
133
132
  a ds:Property;
134
133
  ds:name "`TokenBasedTablePagination.currentItemCount`";
135
134
  ds:summary "Supplies the current token page count.";
136
135
  ds:propertyType "number";
137
- ds:constraints "TypeScript: `number`. Count copy requires this and `totalItemCount` to be truthy. `TokenBasedTablePaginationProps` is exported from its source module, while the family barrel exports only the component.";
138
- ds:defaultValue "—"
136
+ ds:defaultValue "—";
137
+ ds:constraints "TypeScript: `number`. Count copy requires this and `totalItemCount` to be truthy. `TokenBasedTablePaginationProps` is exported from its source module, while the family barrel exports only the component."
139
138
  ], [
140
139
  a ds:Property;
141
140
  ds:name "`TokenBasedTablePagination.totalItemCount`";
142
141
  ds:summary "Supplies the exact total or lower bound.";
143
142
  ds:propertyType "number";
144
- ds:constraints "TypeScript: `number`. Exact zero returns `null`; inexact zero keeps controls but suppresses count copy.";
145
- ds:defaultValue "—"
143
+ ds:defaultValue "—";
144
+ ds:constraints "TypeScript: `number`. Exact zero returns `null`; inexact zero keeps controls but suppresses count copy."
146
145
  ], [
147
146
  a ds:Property;
148
147
  ds:name "`TokenBasedTablePagination.isTotalExact`";
149
148
  ds:summary "Chooses exact versus `more than` count copy and zero rendering.";
150
149
  ds:propertyType "boolean";
151
- ds:constraints "TypeScript: `boolean`. Inexact copy is `Showing X of more than Y ...`.";
152
150
  ds:defaultValue "true";
151
+ ds:constraints "TypeScript: `boolean`. Inexact copy is `Showing X of more than Y ...`.";
153
152
  ds:optional "true"
154
153
  ], [
155
154
  a ds:Property;
156
155
  ds:name "`TokenBasedTablePagination.itemType`";
157
156
  ds:summary "Supplies the singular noun for the exact-count helper.";
158
157
  ds:propertyType "text";
159
- ds:constraints "TypeScript: `string`. Used only for count copy.";
160
158
  ds:defaultValue "`item`";
159
+ ds:constraints "TypeScript: `string`. Used only for count copy.";
161
160
  ds:optional "true"
162
161
  ], [
163
162
  a ds:Property;
164
163
  ds:name "`TokenBasedTablePagination.itemTypePlural`";
165
164
  ds:summary "Supplies the plural noun for count copy and the advance group.";
166
165
  ds:propertyType "text";
167
- ds:constraints "TypeScript: `string`. Supply irregular plurals.";
168
166
  ds:defaultValue "`${itemType}s`";
167
+ ds:constraints "TypeScript: `string`. Supply irregular plurals.";
169
168
  ds:optional "true"
170
169
  ], [
171
170
  a ds:Property;
172
171
  ds:name "`TokenBasedTablePagination.hasNextPage`";
173
172
  ds:summary "Enables the next-page action.";
174
173
  ds:propertyType "boolean";
175
- ds:constraints "TypeScript: `boolean`. Must match cursor availability.";
176
- ds:defaultValue "—"
174
+ ds:defaultValue "—";
175
+ ds:constraints "TypeScript: `boolean`. Must match cursor availability."
177
176
  ], [
178
177
  a ds:Property;
179
178
  ds:name "`TokenBasedTablePagination.hasPreviousPage`";
180
179
  ds:summary "Enables the previous-page action.";
181
180
  ds:propertyType "boolean";
182
- ds:constraints "TypeScript: `boolean`. Must match cursor availability.";
183
- ds:defaultValue "—"
181
+ ds:defaultValue "—";
182
+ ds:constraints "TypeScript: `boolean`. Must match cursor availability."
184
183
  ], [
185
184
  a ds:Property;
186
185
  ds:name "`TokenBasedTablePagination.goToNextPage`";
187
186
  ds:summary "Handles the next-token action.";
188
187
  ds:propertyType "callback";
189
- ds:constraints "TypeScript: `() => void`. It is not awaited and has no pending state.";
190
- ds:defaultValue "—"
188
+ ds:defaultValue "—";
189
+ ds:constraints "TypeScript: `() => void`. It is not awaited and has no pending state."
191
190
  ], [
192
191
  a ds:Property;
193
192
  ds:name "`TokenBasedTablePagination.goToPreviousPage`";
194
193
  ds:summary "Handles the previous-token action.";
195
194
  ds:propertyType "callback";
196
- ds:constraints "TypeScript: `() => void`. It is not awaited and has no pending state.";
197
- ds:defaultValue "—"
195
+ ds:defaultValue "—";
196
+ ds:constraints "TypeScript: `() => void`. It is not awaited and has no pending state."
198
197
  ], [
199
198
  a ds:Property;
200
199
  ds:name "`TokenBasedTablePagination.pageSizeControl`";
201
200
  ds:summary "Adds the advance-size select.";
202
201
  ds:propertyType "object";
203
- ds:constraints "TypeScript: `{ pageSize: number; setPageSize: (itemsNumber: number) => void }`. Options are fixed to 20, 50, and 100; changing size does not automatically reset token history.";
204
202
  ds:defaultValue "—";
203
+ ds:constraints "TypeScript: `{ pageSize: number; setPageSize: (itemsNumber: number) => void }`. Options are fixed to 20, 50, and 100; changing size does not automatically reset token history.";
205
204
  ds:optional "true"
206
205
  ], [
207
206
  a ds:Property;
208
207
  ds:name "`TokenBasedTablePagination.pageSizeControl.pageSize`";
209
208
  ds:summary "Supplies the controlled token advance size.";
210
209
  ds:propertyType "number";
211
- ds:constraints "TypeScript: `number`. The rendered select offers 20, 50, and 100.";
212
- ds:defaultValue "—"
210
+ ds:defaultValue "—";
211
+ ds:constraints "TypeScript: `number`. The rendered select offers 20, 50, and 100."
213
212
  ], [
214
213
  a ds:Property;
215
214
  ds:name "`TokenBasedTablePagination.pageSizeControl.setPageSize`";
216
215
  ds:summary "Receives the selected token advance size.";
217
216
  ds:propertyType "callback";
218
- ds:constraints "TypeScript: `(itemsNumber: number) => void`. Changing size does not automatically reset token history.";
219
- ds:defaultValue "—"
220
- ].
217
+ ds:defaultValue "—";
218
+ ds:constraints "TypeScript: `(itemsNumber: number) => void`. Changing size does not automatically reset token history."
219
+ ];
220
+ ds:documentationStage ds:tag.specialadoption-docs.
@@ -10,79 +10,79 @@ ds:apps_landscape.pattern.typed_confirmation_modal a ds:Pattern;
10
10
  ds:usage "### When to use\n\n**High-consequence action**\n\nUse as deliberate friction before irreversible deletion or broad destructive changes.\n\n**Specific target verification**\n\nUse when typing a resource name or explicit phrase helps users verify the target and intent.\n\n### When not to use\n\n**Routine confirmation dialogs**\n\nActions that are reversible or low-risk.\n\n**Incorrect pattern**: Requiring users to type a phrase before saving a form or making a non-destructive change.\n\n**Remediation strategy**: Use a simple `ConfirmationModal` with a single tap/click confirmation, or no confirmation at all for changes that can be undone (drafts, save operations).\n\n**Identity verification or authentication**\n\nConfirming user identity as part of authorization.\n\n**Incorrect pattern**: Using phrase matching as a substitute for password verification or identity confirmation before high-security operations.\n\n**Remediation strategy**: Implement proper authentication flows with passwords, MFA, or OAuth. This component is deliberate friction only—it does not provide security or authorization.\n\n**Error-prone confirmation phrases**\n\nPhrases that are long, ambiguous, locale-specific, or hard to read.\n\n**Incorrect pattern**: Using hidden identifiers (IDs, hashes), translated phrases without review, or unclear resource names as the confirmation text. The current input has no visible label.\n\n**Remediation strategy**: Use short, unambiguous confirmation phrases (e.g., resource names from the UI). Add an accessible label to the input field before adopting in new surfaces. Keep phrases in a single language and verify them with users.";
11
11
  ds:guidelines "### Accessibility\n\n- Current source does not give the text Input a label or programmatic accessible name. Placeholder and preceding prose do not establish one. This is an existing accessibility gap, not a completed guideline.\n- Dialog semantics, initial focus, focus trap, Escape, action keyboard behavior, and focus restoration are delegated to Canonical `ConfirmationModal` and are not asserted by local tests.\n- The instruction explains why confirmation is unavailable, but no inline mismatch error or status announcement is rendered.\n- Consumer mutation errors must be surfaced accessibly while the modal remains usable. The wrapper has no error prop or live region.\n\n### Content and safety\n\n- Put target and consequence in `children`; the fixed instruction only communicates the phrase.\n- Phrase instruction text is hardcoded English. `confirmationText`, inherited modal labels/title, and children are caller supplied, but “Type” and “to confirm.” cannot be replaced.\n- Lowercasing uses JavaScript default Unicode casing rather than locale-aware comparison. Products must review behavior for translated phrases.\n- Keep authorization, server validation, and idempotency independent from this client-side safeguard.\n\n### State and async behavior\n\n- `inputText` is the only local state. Change events update it immediately.\n- Confirm can be triggered by the modal action or Form submit. Both paths call `handleSubmit`; the function rechecks validity.\n- A resolved confirmation clears text but does not call `close`. Consumers commonly close in their own mutation handler.\n- A rejected confirmation propagates out of `handleSubmit`; no local `try/catch`, notification, error UI, or reset occurs.\n- Calling the wrapper-provided close path clears text. Directly toggling `isOpen` false and true without that callback preserves text because the component instance/state remains mounted in the parent tree.\n- External loading disables Confirm but does not prevent text edits or locally guard repeated direct calls beyond ConfirmationModal’s button behavior.\n\n### Keyboard and device\n\n- Form submission invokes `handleSubmit`; invalid text causes no action. Local tests click Confirm but do not cover Enter.\n- Source adds no keyboard handlers or focus movement. Tab order and modal keyboard interaction are dependency-owned.\n- Instruction text has no nowrap/truncation style, so it can wrap naturally. The only local style makes the phrase bold and uses `cursor: default`.\n- There are no local breakpoints, maximum phrase length, mobile-keyboard handling, or action-visibility rules. Modal layout is dependency-owned and untested here.";
12
12
  ds:tier ds:apps_landscape;
13
- ds:documentationStage ds:tag.specialadoption-docs;
14
13
  ds:hasProperty [
15
14
  a ds:Property;
16
15
  ds:name "`confirmationText`";
17
16
  ds:summary "Supplies the displayed phrase, input placeholder, and comparison target.";
18
17
  ds:propertyType "text";
19
- ds:constraints "TypeScript: `string`. Compared as `inputText.toLowerCase() === confirmationText.toLowerCase()` with no trim or locale argument. An empty string makes untouched input valid.";
20
- ds:defaultValue "—"
18
+ ds:defaultValue "—";
19
+ ds:constraints "TypeScript: `string`. Compared as `inputText.toLowerCase() === confirmationText.toLowerCase()` with no trim or locale argument. An empty string makes untouched input valid."
21
20
  ], [
22
21
  a ds:Property;
23
22
  ds:name "`isOpen`";
24
23
  ds:summary "Controls whether the complete modal is rendered.";
25
24
  ds:propertyType "boolean";
26
- ds:constraints "TypeScript: `boolean`. False returns `null` but does not itself clear local text.";
27
- ds:defaultValue "—"
25
+ ds:defaultValue "—";
26
+ ds:constraints "TypeScript: `boolean`. False returns `null` but does not itself clear local text."
28
27
  ], [
29
28
  a ds:Property;
30
29
  ds:name "`close`";
31
30
  ds:summary "Handles consumer-owned modal closure.";
32
31
  ds:propertyType "callback";
33
- ds:constraints "TypeScript: `() => void`. The wrapper's modal-close path invokes it before clearing text. Consumer must update `isOpen`.";
34
- ds:defaultValue "—"
32
+ ds:defaultValue "—";
33
+ ds:constraints "TypeScript: `() => void`. The wrapper's modal-close path invokes it before clearing text. Consumer must update `isOpen`."
35
34
  ], [
36
35
  a ds:Property;
37
36
  ds:name "`onConfirm`";
38
37
  ds:summary "Runs the protected asynchronous action.";
39
38
  ds:propertyType "callback";
40
- ds:constraints "TypeScript: `() => Promise<void>`. Called only when text is valid. Rejection is not caught; text clears only after resolution. The component does not close automatically.";
41
- ds:defaultValue "—"
39
+ ds:defaultValue "—";
40
+ ds:constraints "TypeScript: `() => Promise<void>`. Called only when text is valid. Rejection is not caught; text clears only after resolution. The component does not close automatically."
42
41
  ], [
43
42
  a ds:Property;
44
43
  ds:name "`confirmButtonDisabled`";
45
44
  ds:summary "Supplies an external disabled condition.";
46
45
  ds:propertyType "boolean";
47
- ds:constraints "TypeScript: inherited Canonical `ConfirmationModal` `confirmButtonDisabled`. Combined with invalid text and loading.";
48
46
  ds:defaultValue "—";
47
+ ds:constraints "TypeScript: inherited Canonical `ConfirmationModal` `confirmButtonDisabled`. Combined with invalid text and loading.";
49
48
  ds:optional "true"
50
49
  ], [
51
50
  a ds:Property;
52
51
  ds:name "`confirmButtonLoading`";
53
52
  ds:summary "Controls forwarded loading presentation and contributes to disabled state.";
54
53
  ds:propertyType "boolean";
55
- ds:constraints "TypeScript: inherited Canonical `ConfirmationModal` `confirmButtonLoading`. Parent owns transitions; text input and cancel remain enabled unless `ConfirmationModal` changes them.";
56
54
  ds:defaultValue "—";
55
+ ds:constraints "TypeScript: inherited Canonical `ConfirmationModal` `confirmButtonLoading`. Parent owns transitions; text input and cancel remain enabled unless `ConfirmationModal` changes them.";
57
56
  ds:optional "true"
58
57
  ], [
59
58
  a ds:Property;
60
59
  ds:name "`children`";
61
60
  ds:summary "Supplies required consequence content before the instruction.";
62
61
  ds:propertyType "node";
63
- ds:constraints "TypeScript: `ReactNode`. Supply enough context to identify the target and impact. The wrapper renders it inside the confirmation Form.";
64
- ds:defaultValue "—"
62
+ ds:defaultValue "—";
63
+ ds:constraints "TypeScript: `ReactNode`. Supply enough context to identify the target and impact. The wrapper renders it inside the confirmation Form."
65
64
  ], [
66
65
  a ds:Property;
67
66
  ds:name "`confirmButtonLabel`";
68
67
  ds:summary "Supplies required content for the modal-owned confirm action.";
69
68
  ds:propertyType "node";
70
- ds:constraints "TypeScript: inherited `ReactNode`. Forwarded to `ConfirmationModal`; the action row remains outside the wrapper's Form.";
71
- ds:defaultValue "—"
69
+ ds:defaultValue "—";
70
+ ds:constraints "TypeScript: inherited `ReactNode`. Forwarded to `ConfirmationModal`; the action row remains outside the wrapper's Form."
72
71
  ], [
73
72
  a ds:Property;
74
73
  ds:name "`confirmButtonProps`";
75
74
  ds:summary "Nominally accepts inherited confirm-action overrides.";
76
75
  ds:propertyType "object";
77
- ds:constraints "TypeScript: Canonical `Partial<ActionButtonProps>`. A consumer value enters `...props` and is then discarded because the wrapper replaces it with `{ type: \"submit\" }`; consumer `confirmButtonProps` do not survive the later assignment.";
78
76
  ds:defaultValue "`{ type: \"submit\" }`";
77
+ ds:constraints "TypeScript: Canonical `Partial<ActionButtonProps>`. A consumer value enters `...props` and is then discarded because the wrapper replaces it with `{ type: \"submit\" }`; consumer `confirmButtonProps` do not survive the later assignment.";
79
78
  ds:optional "true"
80
79
  ], [
81
80
  a ds:Property;
82
81
  ds:name "`...props`";
83
82
  ds:summary "Forwards title, labels, appearance, portal behavior, and other modal options.";
84
83
  ds:propertyType "object";
85
- ds:constraints "TypeScript: `ComponentProps<typeof ConfirmationModal>`, including inherited supported props and `children`. The wrapper replaces `confirmButtonDisabled`, `confirmButtonProps`, `confirmButtonLoading`, `onConfirm`, and `close`. The explicitly documented inherited props above remain part of this public contract subject to those replacement rules.";
86
84
  ds:defaultValue "Canonical defaults";
85
+ ds:constraints "TypeScript: `ComponentProps<typeof ConfirmationModal>`, including inherited supported props and `children`. The wrapper replaces `confirmButtonDisabled`, `confirmButtonProps`, `confirmButtonLoading`, `onConfirm`, and `close`. The explicitly documented inherited props above remain part of this public contract subject to those replacement rules.";
87
86
  ds:optional "true"
88
- ].
87
+ ];
88
+ ds:documentationStage ds:tag.specialadoption-docs.
@@ -10,21 +10,21 @@ ds:apps_landscape.subcomponent.bold_substring a ds:Subcomponent;
10
10
  ds:usage "### When to use\n\n**Search suggestions**\n\nUse to emphasize the first query match in a plain-text suggestion or result label.\n\n**Compact result labels**\n\nUse when one occurrence is enough to show why a compact label matched a case-insensitive query.\n\n### When not to use\n\n**All-match highlighting**\n\nEvery occurrence in the text must be emphasized, not just the first.\n\n**Incorrect pattern**: Rendering every substring occurrence with `BoldSubstring`, but only the first match receives wrapping.\n\n**Remediation strategy**: Use a dedicated highlighting component that walks the string and wraps all occurrences, or implement custom logic to mark each match position before rendering.\n\n**Rich or untrusted markup**\n\nThe input must support React components, HTML entities, or runtime-generated content.\n\n**Incorrect pattern**: Passing JSX, HTML markup, or untrusted strings to `text` or `substring`, expecting them to render as rich content.\n\n**Remediation strategy**: Use a dedicated rich-text or markup renderer; `BoldSubstring` accepts only plain strings and renders them safely as text nodes.\n\n**Locale-aware search**\n\nThe search must respect locale-specific collation, combining marks, or Unicode normalization rules.\n\n**Incorrect pattern**: Relying on case-insensitive matching to work correctly for accented characters or non-ASCII scripts without normalization.\n\n**Remediation strategy**: Normalize both strings with `String.prototype.normalize()` before passing them, or use a dedicated i18n-aware search library.\n\n**Unicode case-fold position changes**\n\nExact match position must be preserved when a character’s lowercased form has a different UTF-16 length.\n\n**Incorrect pattern**: Passing strings where lowercasing changes code-unit count (e.g., some German or Greek characters) and expecting the highlighted slice to align perfectly with the original text.\n\n**Remediation strategy**: Pre-normalize or validate that substring positions remain stable after case folding, or use a locale-aware collation library designed for your target scripts.";
11
11
  ds:guidelines "### Accessibility\n\n- The matched branch uses semantic `strong`; the component adds no label, live region, role, or hidden announcement.\n- Keep the complete phrase meaningful without visual weight because the emphasis does not communicate selection, status, or an action.\n- The unmatched branch returns a text node with no additional wrapper or semantics.\n\n### Content\n\n- Pass the exact display label as `text`; the component preserves that source string in both matched and unmatched branches.\n- Pass the literal query fragment to `substring`. Metacharacters have no special meaning because matching is not regular-expression based.\n- Only the first occurrence is highlighted, including when the same substring appears again later in the label.\n\n### Internationalization\n\n- Both strings are consumer-provided; the component contains no visible copy to translate.\n- Case matching depends on JavaScript lowercase conversion and does not provide locale selection, accent folding, or Unicode normalization.\n- Lowercase conversion can expand or otherwise change a Unicode sequence. Because the resulting index is reused against the original string, matching is not position-safe for every Unicode case mapping.\n\n### Keyboard and device\n\n- This subcomponent adds no focus target or keyboard interaction.\n- It applies no layout styles. Wrapping, truncation, and narrow-width behavior belong to the owning text container.";
12
12
  ds:tier ds:apps_landscape;
13
- ds:documentationStage ds:tag.specialadoption-docs;
14
13
  ds:hasProperty [
15
14
  a ds:Property;
16
15
  ds:name "text";
17
16
  ds:summary "Complete plain-text value to search and render.";
18
17
  ds:propertyType "text";
19
18
  ds:optional "false";
20
- ds:constraints "The rendered slices come from this value, so casing and spacing are preserved.";
21
- ds:defaultValue "None"
19
+ ds:defaultValue "None";
20
+ ds:constraints "The rendered slices come from this value, so casing and spacing are preserved."
22
21
  ], [
23
22
  a ds:Property;
24
23
  ds:name "substring";
25
24
  ds:summary "Query used to find the emphasized slice.";
26
25
  ds:propertyType "text";
27
26
  ds:optional "false";
28
- ds:constraints "Matching is case-insensitive; only the first occurrence is wrapped; an empty or unmatched value returns `text` directly.";
29
- ds:defaultValue "None"
30
- ].
27
+ ds:defaultValue "None";
28
+ ds:constraints "Matching is case-insensitive; only the first occurrence is wrapped; an empty or unmatched value returns `text` directly."
29
+ ];
30
+ ds:documentationStage ds:tag.specialadoption-docs.
@@ -10,27 +10,27 @@ ds:apps_landscape.subcomponent.inline_cell_input a ds:Subcomponent;
10
10
  ds:usage "### When to use\n\n**Compact table edits**\n\nUse for a short text value that can be edited directly within a data cell.\n\n**Commit on exit**\n\nUse when changes should be submitted after the user leaves the field rather than on every keystroke.\n\n**Parent-owned validation and persistence**\n\nUse when the owning table can provide inherited Input error/help/label props and handle the commit promise outside the component.\n\n### When not to use\n\n**Explicit review required**\n\nEdits need Save and Cancel actions or confirmation before persistence.\n\n**Incorrect pattern**: Using Inline Cell Input and expecting to capture user confirmation or provide a separate Save/Cancel button pair.\n\n**Remediation strategy**: Use a modal form or side-panel edit component with explicit Save and Cancel actions.\n\n**Complex or destructive values**\n\nThe field needs support for multiline, structured, security-sensitive, or destructive edits.\n\n**Incorrect pattern**: Attempting to edit multiline text, JSON objects, or security-sensitive values in a single-line cell input.\n\n**Remediation strategy**: Use a dedicated form component or modal for complex edits, or implement a specialized input that validates and confirms destructive operations.\n\n**Externally replaceable values**\n\nThe displayed value must immediately track later prop changes, server refreshes, row reuse, or reset actions.\n\n**Incorrect pattern**: Expecting the local draft to resynchronize when the `value` prop changes after the component has mounted.\n\n**Remediation strategy**: Remount the component with a stable key when external values change, or use a different controlled input contract that responds to prop updates.\n\n**Visible save lifecycle**\n\nUsers need to see saving, saved, conflict, retry, or failed states.\n\n**Incorrect pattern**: Using Inline Cell Input and expecting it to display loading spinners, success indicators, or error states during or after commit.\n\n**Remediation strategy**: Implement a separate status indicator or use a form component that renders mutation state, or add custom state management around the commit promise.";
11
11
  ds:guidelines "### Accessibility\n\n- Provide an accessible label. Current table consumers pass a label plus `u-off-screen`; the wrapper does not infer a name from the table header.\n- Error, required, help, disabled, and described-by behavior are inherited from Canonical Input through forwarded props; no additional ARIA is added locally.\n- A rejected commit promise has no local error announcement or focus restoration. The parent must surface failure without silently losing the user’s context.\n\n### Content\n\n- Use for concise values that remain understandable without a separate form layout.\n- Make saved, saving, and failed states clear in the owning table when persistence is not immediate.\n- Localize labels, placeholders, help, and errors at the call site. The component has no source-owned visible strings.\n\n### Internationalization\n\n- The draft accepts arbitrary strings; any locale-specific parsing or normalization belongs to the parent commit handler.\n- Ensure translated hidden labels remain unique enough to identify the row/field context when table headers alone are insufficient.\n\n### Keyboard navigation\n\n- Tabbing away commits the value; do not intercept Tab or strand focus in the cell.\n- Pointer-induced blur also commits. Pressing Enter has no local save behavior, and Escape does not revert the draft.\n- The component adds no keyboard handler, pending lock, or focus movement.\n\n### Device and layout\n\n- Width, density, wrapping, and touch target come from Canonical Input plus forwarded classes; there is no local stylesheet.\n- Keep a usable width in horizontally constrained tables and do not rely on hover to communicate editability or commit state.";
12
12
  ds:tier ds:apps_landscape;
13
- ds:documentationStage ds:tag.specialadoption-docs;
14
13
  ds:hasProperty [
15
14
  a ds:Property;
16
15
  ds:name "`InlineCellInput.value`";
17
16
  ds:summary "Initial value used by `useState`.";
18
17
  ds:propertyType "text";
19
- ds:constraints "Read on initial mount only; later prop changes do not replace the draft. Local `value` is always passed to Input.";
20
- ds:defaultValue "—"
18
+ ds:defaultValue "—";
19
+ ds:constraints "Read on initial mount only; later prop changes do not replace the draft. Local `value` is always passed to Input."
21
20
  ], [
22
21
  a ds:Property;
23
22
  ds:name "`InlineCellInput.onChange`";
24
23
  ds:summary "Commit callback invoked on blur with the current draft.";
25
24
  ds:propertyType "callback";
26
- ds:constraints "TypeScript: `(value: string) => Promise<void> | Promise<FormikErrors<unknown>>`. The component does not await, catch, inspect Formik errors, or suppress unchanged commits.";
27
- ds:defaultValue "—"
25
+ ds:defaultValue "—";
26
+ ds:constraints "TypeScript: `(value: string) => Promise<void> | Promise<FormikErrors<unknown>>`. The component does not await, catch, inspect Formik errors, or suppress unchanged commits."
28
27
  ], [
29
28
  a ds:Property;
30
29
  ds:name "`InlineCellInput` remaining Input props";
31
30
  ds:summary "Forwarded to Canonical Input. Common consumers pass `label`, `labelClassName`, `className`, `wrapperClassName`, `placeholder`, Formik `name`, and `error`.";
32
31
  ds:propertyType "object";
33
- ds:constraints "TypeScript: `Omit<InputProps, \"onBlur\" | \"onChange\">`. Consumers may supply any supported subset. Spread occurs after local `type=\"text\"` and `autoComplete=\"off\"`, so inherited props can override those initial values.";
34
32
  ds:defaultValue "Canonical Input defaults; local initial `type`/autocomplete values as above";
33
+ ds:constraints "TypeScript: `Omit<InputProps, \"onBlur\" | \"onChange\">`. Consumers may supply any supported subset. Spread occurs after local `type=\"text\"` and `autoComplete=\"off\"`, so inherited props can override those initial values.";
35
34
  ds:optional "true"
36
- ].
35
+ ];
36
+ ds:documentationStage ds:tag.specialadoption-docs.
@@ -10,37 +10,37 @@ ds:apps_landscape.subcomponent.label_with_description a ds:Subcomponent;
10
10
  ds:usage "### When to use\n\n**Clarify a compact choice**\n\nPair a short option name with supporting detail inside rich custom-select options or comparable choice summaries.\n\n**Link optional background**\n\nOffer deeper supporting documentation without making that material necessary to complete the primary interaction.\n\n### When not to use\n\n**Label a form control**\n\nLabeling an input field that needs semantic form control association.\n\n**Incorrect pattern**: Using Label with Description as the main label for a text input, checkbox, or select by relying on its visual presentation without form semantics.\n\n**Remediation strategy**: Use the form component’s native `label` prop and semantic `<label htmlFor>` element; Label with Description is for option or summary content, not form field labeling.\n\n**Present essential instructions**\n\nPlacing critical task information only in optional supporting documentation.\n\n**Incorrect pattern**: Putting required step instructions solely behind a “Learn more” link, expecting users to open it to understand what to do.\n\n**Remediation strategy**: Keep essential task information visible in the main interface; use the component’s description and link only for optional background material.\n\n**Standalone navigation**\n\nUsing the component as a general content or navigation link outside a rich option context.\n\n**Incorrect pattern**: Rendering Label with Description as the entire content of a navigation list item or standalone link.\n\n**Remediation strategy**: Use a plain link or navigation component; Label with Description’s click-propagation stopping and specialized wording are designed for embedded explanatory content inside clickable options.";
11
11
  ds:guidelines "### Accessibility\n\n- Do not assume this visual label programmatically labels a form control.\n- The fixed link name `learn more` is generic. Ensure surrounding description provides sufficient accessible context and avoid multiple indistinguishable links in one region.\n- New-tab behavior is not announced by component text. The surrounding experience should follow the product convention for communicating external/new-window destinations.\n- Do not pass interactive descendants in `label` or `description`; nested controls create confusing focus and activation behavior inside clickable options.\n\n### Content\n\n- Make the label independently meaningful and use the description for qualification.\n- Link only to directly relevant background material.\n- Put task-essential information in the description, not only at the linked destination.\n- The component inserts no punctuation or separator between description and link; author description text so the padded link reads naturally.\n\n### Responsive behavior\n\n- Supporting text explicitly allows normal whitespace wrapping. The source defines no breakpoint, truncation, or maximum width.\n- The primary paragraph also follows normal document wrapping. Consumers must ensure the containing option or summary allows sufficient height.\n- The link has left padding; verify it does not appear detached when a translated description wraps.\n\n### Keyboard\n\n- The Learn more link must remain independently focusable inside any surrounding clickable item.\n- Activating the link must not trigger the surrounding control.\n- The component adds no keyboard handlers; native anchor Enter activation is retained. Click propagation is stopped for pointer and synthesized click events.\n\n### Internationalization\n\n- Externalize `label` and `description` at the owning feature.\n- The visible `learn more` text is hardcoded lowercase English in source and cannot be localized through props.\n- Do not depend on English word order between description and link. A localizable upstream contract would need link text or a complete supporting-content slot.";
12
12
  ds:tier ds:apps_landscape;
13
- ds:documentationStage ds:tag.specialadoption-docs;
14
13
  ds:hasProperty [
15
14
  a ds:Property;
16
15
  ds:name "`LabelWithDescription.className`";
17
16
  ds:summary "Additional class on the primary paragraph only.";
18
17
  ds:propertyType "text";
19
18
  ds:optional "true";
20
- ds:constraints "Does not style the description container or link. Preserve the relationship and visibility of both text levels.";
21
- ds:defaultValue "—"
19
+ ds:defaultValue "—";
20
+ ds:constraints "Does not style the description container or link. Preserve the relationship and visibility of both text levels."
22
21
  ], [
23
22
  a ds:Property;
24
23
  ds:name "`LabelWithDescription.description`";
25
24
  ds:summary "Supporting content rendered inside `<small>`.";
26
25
  ds:propertyType "node";
27
26
  ds:optional "true";
28
- ds:constraints "TypeScript: `ReactNode`. Use phrasing and inline content valid within `<small>`; block descendants can create unsuitable markup.";
29
- ds:defaultValue "—"
27
+ ds:defaultValue "—";
28
+ ds:constraints "TypeScript: `ReactNode`. Use phrasing and inline content valid within `<small>`; block descendants can create unsuitable markup."
30
29
  ], [
31
30
  a ds:Property;
32
31
  ds:name "`LabelWithDescription.label`";
33
32
  ds:summary "Primary content rendered inside a paragraph.";
34
33
  ds:propertyType "node";
35
34
  ds:optional "true";
36
- ds:constraints "TypeScript: `ReactNode`. Use concise inline content valid within `<p>`. This does not label a form control.";
37
- ds:defaultValue "—"
35
+ ds:defaultValue "—";
36
+ ds:constraints "TypeScript: `ReactNode`. Use concise inline content valid within `<p>`. This does not label a form control."
38
37
  ], [
39
38
  a ds:Property;
40
39
  ds:name "LabelWithDescription.link";
41
40
  ds:summary "Destination for the conditional `learn more` anchor.";
42
41
  ds:propertyType "url";
43
42
  ds:optional "true";
44
- ds:constraints "Opens with `target=\"_blank\"` and `rel=\"noopener noreferrer\"`; clicking stops propagation but keyboard activation remains native link behavior.";
45
- ds:defaultValue "—"
46
- ].
43
+ ds:defaultValue "—";
44
+ ds:constraints "Opens with `target=\"_blank\"` and `rel=\"noopener noreferrer\"`; clicking stops propagation but keyboard activation remains native link behavior."
45
+ ];
46
+ ds:documentationStage ds:tag.specialadoption-docs.
@@ -10,52 +10,52 @@ ds:apps_landscape.subcomponent.nested_dropdown_item a ds:Subcomponent;
10
10
  ds:usage "### When to use\n\n**Nested menu filters**\n\nUse inside a contextual menu when a compact filter can render correctly after receiving `inline: true` and benefits from an adjacent panel.\n\n**Grouped secondary actions**\n\nUse for a small set of secondary controls when any click in the panel may close the owning menu through `onMenuClose`.\n\n### When not to use\n\n**Standalone disclosure**\n\nUsing nested menus outside a contextual-menu surface.\n\n**Incorrect pattern**: Placing Nested Dropdown Item in a dialog or regular content area, expecting it to behave as a standalone disclosure or accordion.\n\n**Remediation strategy**: Use a dedicated disclosure, accordion, or popover component; Nested Dropdown Item is designed specifically for contextual-menu integration.\n\n**Deep navigation**\n\nCreating multiple nested menu levels or site navigation with progressive disclosure.\n\n**Incorrect pattern**: Nesting Nested Dropdown Items within each other or using them to build multi-level site navigation hierarchies.\n\n**Remediation strategy**: Avoid deep nesting; site navigation should use breadcrumbs or a navigation tree. If nesting is unavoidable, limit depth to one or two levels and verify focus management.\n\n**Complex workflows**\n\nPlacing long forms or multi-step tasks in the nested panel.\n\n**Incorrect pattern**: Rendering a multi-field form, stepper, or extended task inside the adjacent panel, expecting it to remain open for extended user interaction.\n\n**Remediation strategy**: Use a side panel or modal for complex workflows; the nested panel is lightweight and the owning menu may close unexpectedly from outside clicks.\n\n**Interactive panel regions that must stay open**\n\nRequiring intermediate user actions inside the panel without closing the parent menu.\n\n**Incorrect pattern**: Passing `onMenuClose` and expecting it to fire only on “select” or “submit” clicks, not every click bubbling through the panel.\n\n**Remediation strategy**: If clicks must not close the owning menu, omit `onMenuClose` or build a custom handler that checks the click target; the current implementation calls the callback for all bubbling clicks.";
11
11
  ds:guidelines "### Accessibility\n\n- The trigger is a native `type=\"button\"` and forwards disabled semantics through Canonical `Button`.\n- Provide meaningful `label` content or a content element with a meaningful `label` prop. The implementation permits an otherwise icon-only chevron button with no explicit accessible name.\n- The trigger does not set `aria-expanded`, `aria-haspopup`, `aria-controls`, menu roles, or roving-tabindex behavior. Open state is represented visually and by conditional panel mounting only.\n- Icons have no local hidden-text treatment; they must remain supplementary to the trigger label.\n\n### Interaction\n\n- Each trigger activation toggles local `isOpen`; there is no controlled open prop or imperative close API.\n- `useOnClickOutside` closes the nested panel when interaction occurs outside the root and does not notify `onMenuClose`.\n- Any click bubbling through the panel calls `onMenuClose` when supplied. The nested panel itself remains mounted until the owning tree unmounts it or a later outside/trigger interaction closes it.\n- The open trigger receives the active theme background in normal and hover states.\n\n### Content and layout\n\n- Keep labels concise; the trigger has a `12rem` minimum width, full width, left-aligned content, and no local wrapping or truncation rule.\n- Choose `left` when space is available to the trigger’s right and `right` when space is available to its left. The names describe alignment classes, not the side on which the panel appears.\n- The panel is top-aligned and depends on the contextual-menu dropdown class for its remaining presentation. There is no collision detection or viewport auto-adjustment.\n- Visible content is caller-provided; this component contains no translatable text.\n\n### Keyboard\n\n- Enter and Space activation come from the native button. Nested controls retain their own keyboard behavior.\n- The component adds no Arrow key navigation, Escape handler, focus transfer into the panel, or focus return on close.\n- `onMenuClose` is wired through a click event only; keyboard interactions that do not synthesize a click will not notify it.";
12
12
  ds:tier ds:apps_landscape;
13
- ds:documentationStage ds:tag.specialadoption-docs;
14
13
  ds:hasProperty [
15
14
  a ds:Property;
16
15
  ds:name "`el`";
17
16
  ds:summary "Supplies the nested panel content.";
18
17
  ds:propertyType "element";
19
- ds:constraints "TypeScript: `ReactElement<FilterProps, JSXElementConstructor<{ name: string }>> | ReactNode`. Valid non-fragment elements are cloned with `inline: true`; other nodes pass through unchanged.";
20
- ds:defaultValue "—"
18
+ ds:defaultValue "—";
19
+ ds:constraints "TypeScript: `ReactElement<FilterProps, JSXElementConstructor<{ name: string }>> | ReactNode`. Valid non-fragment elements are cloned with `inline: true`; other nodes pass through unchanged."
21
20
  ], [
22
21
  a ds:Property;
23
22
  ds:name "`label`";
24
23
  ds:summary "Supplies trigger content before label inference.";
25
24
  ds:propertyType "node";
26
- ds:constraints "TypeScript: `ReactNode`. Falsy values fall back to `el.props.label`; if neither resolves, the button has no text label.";
27
25
  ds:defaultValue "—";
26
+ ds:constraints "TypeScript: `ReactNode`. Falsy values fall back to `el.props.label`; if neither resolves, the button has no text label.";
28
27
  ds:optional "true"
29
28
  ], [
30
29
  a ds:Property;
31
30
  ds:name "`disabled`";
32
31
  ds:summary "Disables the native trigger button.";
33
32
  ds:propertyType "boolean";
34
- ds:constraints "TypeScript: `boolean`. A disabled trigger cannot toggle the panel.";
35
33
  ds:defaultValue "false";
34
+ ds:constraints "TypeScript: `boolean`. A disabled trigger cannot toggle the panel.";
36
35
  ds:optional "true"
37
36
  ], [
38
37
  a ds:Property;
39
38
  ds:name "`onMenuClose`";
40
39
  ds:summary "Notifies the owning menu from the panel click handler.";
41
40
  ds:propertyType "callback";
42
- ds:constraints "TypeScript: `() => void`. Runs for every click that bubbles to the open content container; outside clicks do not call it.";
43
41
  ds:defaultValue "—";
42
+ ds:constraints "TypeScript: `() => void`. Runs for every click that bubbles to the open content container; outside clicks do not call it.";
44
43
  ds:optional "true"
45
44
  ], [
46
45
  a ds:Property;
47
46
  ds:name "`className`";
48
47
  ds:summary "Adds classes to the root wrapper.";
49
48
  ds:propertyType "text";
50
- ds:constraints "TypeScript: `string`. Local root and alignment classes remain applied.";
51
49
  ds:defaultValue "—";
50
+ ds:constraints "TypeScript: `string`. Local root and alignment classes remain applied.";
52
51
  ds:optional "true"
53
52
  ], [
54
53
  a ds:Property;
55
54
  ds:name "`position`";
56
55
  ds:summary "Selects alignment and directional icon arrangement.";
57
56
  ds:propertyType "choice";
58
- ds:constraints "TypeScript: `\"left\" | \"center\" | \"right\"`. The names select source alignment classes; `left` places the panel to the trigger's right and `right` places it to the trigger's left.";
59
57
  ds:defaultValue "`left`";
58
+ ds:constraints "TypeScript: `\"left\" | \"center\" | \"right\"`. The names select source alignment classes; `left` places the panel to the trigger's right and `right` places it to the trigger's left.";
60
59
  ds:optional "true"
61
- ].
60
+ ];
61
+ ds:documentationStage ds:tag.specialadoption-docs.