@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,13 +10,13 @@ ds:global.component.announcement a ds:Component;
10
10
  ds:usage "### When to use\n\n- When high-priority systemic updates are required to be visible to all users visiting a specific page or dashboard (e.g., maintenance windows or version deprecations).\n- When actionable deadlines must be highlighted to ensure compliance or task completion within a specific timeframe.\n- When contextual information needs to be anchored to a page to provide persistent awareness of a change in state or policy.\n\n### When not to use\n\n- When a transient response is required following a specific user action or a background system trigger.\n - Incorrect: Using an Announcement to confirm that a file has been successfully uploaded.\n - Remediation: Use a [NotificationToast](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-j1ObcSRMxi) message or [Notification](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-KVe8I1_VnA) component to provide immediate, temporary feedback for a single event.\n- When the information is non-critical and does not require the user’s immediate attention or action.\n - Incorrect: Placing a permanent \"Welcome to the new dashboard\" banner that remains after the user's first visit.\n - Remediation: Use an [Notification](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-KVe8I1_VnA) or a [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) for static, non-urgent supplemental details.\n- The information is specific to a single data entry or a specific line item within a list.\n - Incorrect: An announcement at the top of a table stating that \"Row 4 has an error.\"\n - Remediation: Use an Inline status indicator or an error state within the specific component to maintain local context.\n\n";
11
11
  ds:guidelines "Reference: Github “note”: [https://github.com/orgs/community/discussions/16925](https://github.com/orgs/community/discussions/16925)";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsfulldocumentation;
14
- ds:hasModifierFamily ds:global.modifier_family.criticality;
15
13
  ds:changeLog [
16
14
  a ds:ChangeLogEntry;
17
15
  ds:timestamp "2026-03-20T00:00:00.000+01:00";
18
16
  ds:changeType "decision"
19
17
  ];
18
+ ds:documentationStage ds:tag.needsfulldocumentation;
19
+ ds:hasModifierFamily ds:global.modifier_family.severity;
20
20
  ds:hasTokenBinding [
21
21
  a ds:TokenBinding;
22
22
  ds:viaBlock ds:global.component.announcement;
@@ -6,7 +6,6 @@ ds:global.component.avatar a ds:Component;
6
6
  ds:name "Avatar";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -10,7 +10,15 @@ ds:global.component.badge a ds:Component;
10
10
  ds:usage "The badge is a read-only visual indicator for numeric values, so only numbers are allowed inside it. The exception is using non numeric characters to show larger numbers than can be shown in the width of the badge. Use a “+” to indicate a larger number such as “999+” or letters to indicate numbers such as “2M” or “25k”.\n\nIt is often used in other components to show a number of elements contained in that component. Such as in tabs to indicate the amount of elements contained inside of it, or in a chip to indicate the amount of items which fall under that filter.\n\n### When to use\n\n- If you need to indicate a specific numeric value and you want to give it visual prominence. For example for:\n - Unread messages\n - Amount of items requiring attention\n - Activity indicators (e.g. comments)\n - Inventory counts\n - Total items in collections (items in cart)\n - Performance metrics (e.g. amount of errors in a log)\n- As part of other components such as navigation items, chips, tabs etc. to show some of the above mentioned metrics\n\n### When not to use\n\n- When text labels, categories, or status descriptors are used to provide qualitative (non-numeric) information.\n - Incorrect: Using a badge to display a status such as \"In Progress\" or a category like \"Design.\"\n - Remediation: Use a [Tag](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-osLY8UcQUp) component to represent non-numeric labels or categories.\n- When complex information is presented that requires additional explanation or supporting text to be understood.\n - Incorrect: Placing a standalone number in a Badge without a clear parent element, leaving the user to guess what the count represents.\n - Remediation: Ensure the badge is anchored to a specific UI element (like an filter item in a [Combobox](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-x_PYG_O4qD) or a [Chip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-N-fnT7n4mU)).\n- When a numeric value is intended to function as a primary button or a standalone clickable action.\n - Incorrect: Expecting a user to click directly on a small badge to open a detailed list or perform a task.\n - Remediation: Place the badge within an interactive parent component, such as a [Navigation](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-nkDiZdUMkV) Item, which then directs the user to the relevant destination (e.g., a [NotificationCenter](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-D0oz4mX_sm)).\n- When you need to display long pieces of information\n - Incorrect: \n- When you want users to filter information by clicking on the badge.\n - Incorrect: Use a badge as a clickable quick filter.\n - Remediation: Use a [Chip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-N-fnT7n4mU) instead.";
11
11
  ds:guidelines "# Accessibility\n\n## **Color**\n\n- Use a modifier if it makes sense semantically for your use case.\n- Avoid using semantic color modifiers on top of colored backgrounds.\n- Ensure you don’t use colour as the only visual means of conveying information or an action.\n\n## **Aria labels**\n\n- Use `aria-label` to provide full context for screen readers. For example “999+ notifications unread”.\n- If the badge is used to represent a live status of some value, using `role=\"status\"` should be considered.\n\n## **Accessibility resources**\n\nApplicable WCAG guidelines:\n\n- [1.3.3: Sensory Characteristics](https://www.w3.org/TR/WCAG22/#sensory-characteristics)\n- [1.4.1: Use of Color](https://www.w3.org/TR/WCAG22/#use-of-color)\n- [3.1.4: Abbreviations](https://www.w3.org/TR/WCAG22/#abbreviations)\n\n";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needscoredocumentation;
13
+ ds:changeLog [
14
+ a ds:ChangeLogEntry;
15
+ ds:timestamp "2026-02-13T08:00:00.000+01:00";
16
+ ds:changeType "change"
17
+ ], [
18
+ a ds:ChangeLogEntry;
19
+ ds:timestamp "2026-04-09T00:00:00.000+02:00";
20
+ ds:changeType "change"
21
+ ];
14
22
  ds:hasProperty [
15
23
  a ds:Property;
16
24
  ds:name "criticality";
@@ -37,13 +45,5 @@ ds:global.component.badge a ds:Component;
37
45
  ds:propertyType "boolean";
38
46
  ds:optional "true"
39
47
  ];
40
- ds:hasModifierFamily ds:global.modifier_family.criticality, ds:global.modifier_family.release;
41
- ds:changeLog [
42
- a ds:ChangeLogEntry;
43
- ds:timestamp "2026-02-13T08:00:00.000+01:00";
44
- ds:changeType "change"
45
- ], [
46
- a ds:ChangeLogEntry;
47
- ds:timestamp "2026-04-09T00:00:00.000+02:00";
48
- ds:changeType "change"
49
- ].
48
+ ds:documentationStage ds:tag.needscoredocumentation;
49
+ ds:hasModifierFamily ds:global.modifier_family.severity, ds:global.modifier_family.release.
@@ -6,18 +6,10 @@ ds:global.component.breadcrumbs a ds:Component;
6
6
  ds:name "Breadcrumbs";
7
7
  ds:summary "Breadcrumbs are a navigational aid that shows users their current location within a product’s information hierarchy. They provide a clear path from the root of the information architecture (IA) to the current page, allowing users to quickly understand where they are and easily navigate back to previous levels in the IA. Breadcrumbs should reflect the IA, not the user's path they took to arrive at the current page. They work best in websites or applications with multiple levels of hierarchy and are particularly useful when users might arrive at deep pages through search or external links.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global src/lib/component/Breadcrumbs/styles.css on .ds.breadcrumbs\n# The root <nav> carries no declaration of its own; every style below sits on\n# the `.list` <ol> the component renders inside it.\nnode:\n uri: global.component.breadcrumbs\n edges:\n - node:\n role: list\n styles:\n layout.type: flex\n layout.direction: row\n layout.wrap: wrap\n layout.align: center\n # Reset of the <ol> defaults.\n spacing.external.block.start: 0\n spacing.external.block.end: 0\n spacing.external.inline.start: 0\n spacing.external.inline.end: 0\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n spacing.internal.inline.start: 0\n spacing.internal.inline.end: 0\n layout.listStyle: none\n spacing.gap.block: dimension.050 # row-gap reads --dimension-050 direct: 4px between wrapped rows\n edges:\n # Each item may be replaced per item by a consumer-supplied component\n # (BreadcrumbItem.Component) — kept from the previous notation, and\n # the reference confirms it.\n - switch:\n on: override\n cases:\n - uri: global.subcomponent.breadcrumbs-item\n - uri: $custom\n relation:\n cardinality: \"1..*\"\n slotName: default\n relation:\n cardinality: \"1\"\n slotName: default\n";
9
- ds:anatomyClassic "\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2121-7411&t=ZjF1qUMIhrKHbBRE-1\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2481-2182&t=ZjF1qUMIhrKHbBRE-1";
9
+ ds:anatomyClassic "\n\n\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2121-7411&t=ZjF1qUMIhrKHbBRE-1\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2481-2182&t=ZjF1qUMIhrKHbBRE-1";
10
10
  ds:usage "Breadcrumbs are used to represent the hierarchical structure of content within an application or website, helping users understand where they are in the information architecture (IA). They provide a visual trail of the user's current location and offer quick navigation to other levels in the IA. \n\nBreadcrumbs reflect the site's structure, not the path a user took to arrive at the current page. They show where you are in the hierarchy, not how you got there.\n\nThey are most effective in applications or websites with substantial content organized hierarchically across two or more levels. The more complex your information architecture, the more valuable breadcrumbs become for helping users maintain context and navigate efficiently.\n\n### When to use\n\n- In applications or websites with multiple levels of hierarchical content structure\n- To help users understand their current location within a deep information architecture\n- To provide quick navigation back to higher levels in the IA\n- When the relationship between pages follows a clear parent-child hierarchy\n- As a secondary navigation aid to complement your primary navigation\n\n### When not to use\n\n- On websites or applications with only a single level of hierarchy.\n - Incorrect: Displaying a breadcrumb that only shows \"Home\" on every page of a single-page application.\n - Remediation: Remove the component entirely, as the global navigation or page header is sufficient for navigation.\n- On the root of your site or app (as there are no higher levels to navigate to).\n - Incorrect: Placing a breadcrumb on the home screen where there are no parent levels to navigate back to.\n - Remediation: Omit the component entirely.\n- As a replacement for primary navigation. \n - Incorrect: Removing the [TopNavigation](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-_D-3DMJEui) (side navigation or top navigation) and forcing users to rely on breadcrumbs to find their way around the site.\n - Remediation: Use the right [Navigation](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-nkDiZdUMkV) pattern for primary orientation. Breadcrumbs are always secondary and should enrich, not replace, your main navigation.\n- To track a user's browsing history or the path they took through your application.\n - Incorrect: Showing a path like \"Home > Search > Profile > Search\" based on the user's back-and-forth browsing behavior.\n - Remediation: Use the browser's back button or a dedicated \"Back to results\" link to handle session-based movement.\n- As a progress indicator for multi-step processes.\n - Incorrect: Using Breadcrumbs to show steps 1, 2, and 3 of a checkout or registration form.\n - Remediation: Use a component able to represent progress to clearly communicate the sequence and status of a multi-step task.\n\n";
11
11
  ds:guidelines "- use current page breadcrumb item as the last level of hierarchy, indicating the current location in the navigation structure\n- use parent page breadcrumb items for the higher levels of navigation from the current location in the navigation structure \n\n\nOverflow\n\n- Ideally breadcrumbs should be used in the design in a way where they do not overflow. But if they do for some reason overflow they should overflow in the following way: A 4px vertical distance. The slash should always be at the start of the second line (and not at the end of the first line).\n\n# Accessibility\n\n## **How it works**\n\nIt establishes a landmark on the page which assists the user in understanding where they currently are and which pages exist in the current page’s hierarchical order.\n\nIt comprises a set of links structured using an ordered list. A `nav` element using `aria-label=\"Breadcrumbs\"` identifies the structure as a breadcrumb trail and makes it a navigation landmark so that it is easy to locate. It can be navigated via keyboard using the `Tab` key.\n\nTo prevent screen reader announcement of the visual separators between links, they are added via CSS. The separators are part of the visual presentation that signifies the breadcrumb trail, which is already semantically represented by the `nav` element.\n\n## **Considerations**\n\nThis component strives to follow [WCAG 2.2 (level AA) guidelines](https://www.w3.org/TR/WCAG22/), and care must be taken to ensure this effort is maintained when the component is implemented across other projects. This section offers advice to that effect:\n\n- The breadcrumb text should reflect the page title accurately and concisely.\n- The breadcrumb should remain in the same relative order and location on each web page.\n- The breadcrumb indicating the current page should be visually distinct from the preceding breadcrumbs.\n- If the breadcrumb reflecting the current page is a link, it should have an `aria-current=\"page\"` attribute.\n\n## **Resources**\n\n- [WAI-ARIA practices: Breadcrumbs](https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/)\n- [WAI-ARIA practices: Breadcrumb example](https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/examples/breadcrumb/)\n- Guidelines:\n - [2.4.4: Link Purpose (in Context)](https://www.w3.org/TR/WCAG22/#link-purpose-in-context)\n - [3.2.3: Consistent Navigation](https://www.w3.org/TR/WCAG22/#consistent-navigation)";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsfulldocumentation;
14
- ds:hasProperty [
15
- a ds:Property;
16
- ds:name "children";
17
- ds:propertyType "node";
18
- ds:optional "false"
19
- ];
20
- ds:hasSubcomponent ds:global.subcomponent.breadcrumbs-item;
21
13
  ds:changeLog [
22
14
  a ds:ChangeLogEntry;
23
15
  ds:timestamp "2026-01-19T00:00:00.000+01:00";
@@ -30,6 +22,14 @@ ds:global.component.breadcrumbs a ds:Component;
30
22
  a ds:ChangeLogEntry;
31
23
  ds:timestamp "2026-10-14T00:00:00.000+02:00"
32
24
  ];
25
+ ds:hasProperty [
26
+ a ds:Property;
27
+ ds:name "children";
28
+ ds:propertyType "node";
29
+ ds:optional "false"
30
+ ];
31
+ ds:documentationStage ds:tag.needsfulldocumentation;
32
+ ds:hasSubcomponent ds:global.subcomponent.breadcrumbs-item;
33
33
  ds:hasTokenBinding [
34
34
  a ds:TokenBinding;
35
35
  ds:viaBlock ds:global.component.breadcrumbs;
@@ -6,11 +6,19 @@ ds:global.component.button a ds:Component;
6
6
  ds:name "Button";
7
7
  ds:summary "Buttons trigger actions within an interface, typically involving data transformation or manipulation. They provide clear visual indicators of the primary actions users can perform on a page or section.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global src/lib/component/Button/styles.css on .ds.button\n# Every list is the reference's own var() chain, in order. The button reads the\n# modifier CHANNEL generically — it knows no particular importance class — so\n# the channel is consumed by name wherever the implementation reads it.\nnode:\n uri: global.component.button\n styles:\n layout.position: relative\n layout.type: inline-flex\n layout.align: center\n layout.justify: center\n interaction.cursor: pointer\n interaction.cursor@disabled: not-allowed\n appearance.border.style: solid\n appearance.border.width: dimension.stroke.thickness.medium\n # The primary foreground fills the background, through the channel that\n # importance provides it on.\n # reads --modifier-surface first; no symbol declares it.\n appearance.background: [modifier.color.foreground.primary, color.foreground.primary]\n # reads --modifier-surface-hover / -active / -disabled first; no symbol\n # declares any of the three.\n appearance.background@hover: color.foreground.primary.hover\n appearance.background@active: color.foreground.primary.active\n appearance.background@disabled: color.foreground.primary.disabled\n # The border is always present at the nominal width and colour-mixed to\n # transparent when the importance hides it; --modifier-outline is the 0/1\n # flag that does the mixing, and no symbol declares it.\n appearance.border.color: [modifier.color.border, color.border.highlighted, color.border]\n # reads --modifier-color-border-disabled first; no symbol declares it.\n appearance.border.color@disabled: color.border.highlighted.disabled\n typography.color: [modifier.color.text, color.text]\n # reads --modifier-color-text-disabled first; no symbol declares it.\n typography.color@disabled: color.text.disabled\n # The label is the typography.text.primary composite: family, size,\n # weight and letter-spacing all come from it.\n typography.font: typography.text.primary\n typography.align: center\n typography.decoration: none\n spacing.gap: dimension.100 # --button-gap, between the icon and the label\n # 16px each side, the action inset the button plays. A leading icon tightens\n # the start side to --dimension-100, which is a conditional the anatomy does\n # not carry.\n spacing.internal.inline.start: dimension.200 # --button-padding-inline-start\n spacing.internal.inline.end: dimension.200 # --button-padding-inline-end\n motion.property: \"background-color, color, border-color\"\n # The transition reads --motion-duration-fast and --motion-easing-standard;\n # both bindings are dropped because no symbol declares either name and\n # neither var() carries a literal fallback.\n # reads --focus-outline-width first; no symbol declares it, so the chain's\n # own literal is what is left.\n appearance.outline.width@focus: 2px\n appearance.outline.style@focus: solid\n appearance.outline.color@focus: [modifier.color.focusRing, color.focusRing, currentColor]\n # reads --focus-outline-offset first; no symbol declares it.\n appearance.outline.offset@focus: 2px\n # The `.link` variant (transparent chrome, underlined link text) is the\n # separate ButtonLink block (ds:global.component.button_link), not a case\n # of this tree.\n edges:\n - node:\n role: icon\n styles:\n layout.type: inline-flex\n layout.align: center\n layout.alignSelf: center\n layout.justify: center\n layout.flex.shrink: 0\n # reads --icon-size, a component-local size declared as 1em at :root.\n size.width: 1em\n size.height: 1em\n # The icon has its own colour channel, distinct from the label's, and\n # falls through to the colour it inherits.\n typography.color: [modifier.color.icon, modifier.color.text, currentColor]\n # reads --modifier-color-icon-disabled first; no symbol declares it.\n typography.color@disabled: color.icon.disabled\n relation:\n cardinality: \"0..1\"\n slotName: icon\n - node:\n role: label text\n relation:\n cardinality: \"1\"\n slotName: label\n - node:\n role: loading spinner\n styles:\n layout.position: absolute\n layout.type: inline-flex\n layout.align: center\n layout.justify: center\n layout.offset.top: 0\n layout.offset.right: 0\n layout.offset.bottom: 0\n layout.offset.left: 0\n relation:\n # Present only while loading, when the icon and the label stay in the\n # DOM at `visibility: hidden` so the button keeps its width.\n cardinality: \"0..1\"";
9
- ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2093-5214&t=hZuG5NMGmwurwbXa-1\n\nStyling \nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2378-8459&t=hZuG5NMGmwurwbXa-1";
9
+ ds:anatomyClassic "## Anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2093-5214&t=hZuG5NMGmwurwbXa-1\n\n## Styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2378-8459&t=hZuG5NMGmwurwbXa-1";
10
10
  ds:usage "Use buttons for meaningful interactions that transform, submit, or manipulate data, such as: \n\n- Submitting forms\n- Deleting items\n- Processing payments\n- Updating settings\n\nActions represent state changes in the application rather than simple navigation.\n\nButtons help establish clear visual hierarchy by signaling the most important actions available to users at any given moment. This hierarchy is critical to effective interface design. Users should immediately understand what action they're expected to take. \n\nWhile buttons should primarily trigger actions, they can occasionally be used for navigation when the context demands it. This is most appropriate for high-priority conversion points, such as call-to-action buttons in hero sections that direct users to, for example, sign-up flows or landing pages. In these cases, the button represents a key user journey rather than standard navigation. \n\n### When to use\n\n- For actions that transform, submit, or manipulate data\n- To draw attention to the most important action on a page or section\n- For high-priority conversion points or key user journeys\n- When the interaction represents a meaningful state change in the application\n\n### When not to use\n\n- For simple navigation between pages (use links instead)\n- When you already have a primary button visible in the current viewport (consider using secondary or tertiary button styles instead)\n- For multiple competing actions of equal importance (reconsider your information architecture and prioritize one clear primary action)\n\n### Call to actions\n\nAlmost always, there is an action that the user needs to perform on a page. Guide users toward the main action within the user flow that you have designed. **This means being opinionated about what action the user should be performing and using that as the primary call to action.** Rather than presenting users with an overwhelming array of choices, you should clearly signal the intended path forward. As a result, the main action on any given page should, in most cases, be represented by a primary button.\n\nBe deliberate about the number of calls-to-action you present. Each additional CTA dilutes the user's focus and makes it harder for them to decide what to do. Ideally, limit pages to as few CTAs as possible so users clearly understand their intended path forward. **As a rule of thumb, there should almost never be more than one primary button visible in the user's viewport at a time.** \n\nWhen multiple primary buttons compete for attention simultaneously, the hierarchy collapses and users face decision paralysis. If you find yourself needing multiple primary actions in view, reconsider whether they're all truly primary and whether some could be deprioritized or removed entirely.";
11
11
  ds:guidelines "# Button hierarchy\n\nEach button variant signals a different level of emphasis. Choose the variant that matches the role of the action on the page.\n\n\n\n**Primary**\n\nUse the primary variant for primary calls to action. Typical examples include the main action on an app’s table page, the hero call to action on a website. It also confirms non-destructive actions, such as submitting a form or proceeding to the next step.\n\n**Secondary**\n\nUse the secondary variant for secondary actions paired with a primary button. Apply it when no single action on the page should dominate. Use it when all actions share the same level of importance, or when the user may or may not choose to act.\n\n**Tertiary**\n\nUse the tertiary variant for tertiary actions paired with a more prominent button, such as “Back” or “Cancel”. It holds the lowest level of emphasis, so only use it when the element is clearly a button. In practice, this means pairing it with other buttons. Icon-only buttons are often base buttons.\n\n \n**Brand**\n\nUse the brand variant for actions and call to actions that live in an editorial setting, like sites or documentation tiers. All button levels are available as a brand version.\n\n**Anticipation modifier family**\n\n**Constructive**\n\nUse the constructive modifier for buttons whose actions create something new, such as a new instance, a new machine, or a new row, if you need to emphasize the constructive/additive nature of it. \n \n**Destructive**\n\nUse the the destructive modifier to warn the user that a destructive, irreversible action will be triggered.\n\n\n\n**Combinations**\n\nShow at most one primary button, whether default or using modifiers, in a given view. Supplement it with secondary or tertiary buttons as needed, and make sure the primary button reflects the main action you want the user to take. If all actions share the same level of importance and you do not want to direct the user to a specific one, use secondary buttons. Always pair tertiary buttons with other buttons. \n\n\n# Button order and alignment\n\n~~Right-align buttons when:~~\n\n- ~~The action moves the user forward in a flow, such as forms, wizards, or checkout~~\n- ~~The button appears in a modal dialog or confirmation window~~\n- ~~The button appears in a settings or configuration panel~~\n- ~~The button completes or submits something~~\n- ~~The position follows the natural end of task after scanning content left to right~~\n\n~~Left-align buttons when:~~\n\n- ~~The button continues left-aligned content, such as a hero, card, or marketing block~~\n- ~~The action is a “Back” or “Cancel” that returns users to a previous state~~\n- ~~The button appears in an article page or a content-heavy context where buttons are secondary to the text~~\n\n# [IconButton](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-1G-7Wdwa2L) \n\nWhen space is limited and the actions have recognizable icons, buttons may use an icon without text. Reserve for very common actions such as delete, edit, or close. Always pair an icon-only button with a [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) that states the action clearly. Add a delay to the [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) so it does not interrupt the user.\n\n# When to disable buttons\n\nYou should keep buttons enabled by default so users always know how to proceed. Disable a button only when the action is clearly unavailable and the reason why it is unavailable is clear. You must ensure users understand why it is disabled and how to move forward. Pair the disabled button with a [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ll01ZL3SIS) that explains why the action is unavailable. \n\n### In action bars\n\nDisabling a button in an [ActionBar](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-DNCIjMUiuB) is allowed once all alternative options to keep the button enabled or remove the button completely have been discarded. The disabling rule also applies to actions available through a contextual menu.\n\nIf an action is not available, the button can be kept enabled and clicking it should trigger a modal with more information and an potential solution action. However, keeping the button enabled may cause confusion and repeated erroneous clicks by the user. \n\n### In forms\n\nBy default , buttons should not be disabled in forms. In forms you may disable a button only in situations where the form is short and all the required fields are visible without scrolling. \n\nThis matters most for form submissions. Users may miss a required field in longer or more complex forms, so a disabled submit button can leave them stuck without a clear reason. If you disable the button, make the cause visible; otherwise, keep it enabled and let validation feedback guide users to the mistake. \n\n# Dual buttons\n\nOpposing actions can sometimes be combined into a single button, such as play and pause in a video player. The icon or label should reflect the action that will occur when the user presses the button. If the media is playing, show the pause icon. If it is paused, show the play icon. This aligns with user intent, because users select an action, not a status.\n\n# Text in buttons\n\nWrite button labels as a verb plus noun in sentence case, with no punctuation. Use clear, action-oriented language that names the outcome, such as \"Get Ubuntu Pro\" rather than a generic \"Submit\". When a button relates to a nearby heading, match the language so the action reads as a direct answer. For example, on a card with the heading \"Would you like to save your changes?\", label the button \"Save changes\".\n\n# Accessibility\n\n## Built-in\n\n### Semantic foundation: HTML and Aria labels\n\n- In some contexts, it may be necessary to indicate to the user that a button is in a pressed state, such as when a button opens a contextual menu. This can be done by adding `aria-pressed=\"true\"` to the button with JavaScript when the button is clicked, and removed when necessary.\n- Loading buttons use `aria-busy=\"true\"` to indicate loading/pending state to screen readers. While loading, the interactions are blocked and the componet uses `aria-disabled=\"true\"` to indicate the element is not currently interactive. The buttons should not become `disabled` while loading, because this would drop focus for keyboard/screen reader users. \n\n### Visual and motion\n\n- Text color ensures 4.5:1 contrast with the foreground, and foreground color ensures3 :1 contrast with the background\n- Animations are disabled when `prefers-reduced-motion: reduce` is set\n\n### \n\n## Consumer responsibilities\n\n### **Keyboard navigation and focus order** \n\n- As the button is interactable it should be focused.\n- After the button is activated ensure the focus is set correctly based on the type of action the button performs. See [W3C WAI-ARIA Authoring Practices Button Design Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/button/) for a list of examples.\n- Once focussed, the associated action should be executed if the `Enter` or `Space` key is pressed.\n\n\n\n## Accessibility references\n\nFor loading/disabled settings:\n\n- [MDN reference](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-busy)\n- [Example of another DS that does this](https://diceui.com/docs/utilities/radix/pending#accessibility)";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsfulldocumentation;
13
+ ds:changeLog [
14
+ a ds:ChangeLogEntry;
15
+ ds:timestamp "2026-02-20T00:00:00.000+01:00";
16
+ ds:changeType "decision"
17
+ ], [
18
+ a ds:ChangeLogEntry;
19
+ ds:timestamp "2026-03-06T11:00:00.000+01:00";
20
+ ds:changeType "decision"
21
+ ];
14
22
  ds:hasProperty [
15
23
  a ds:Property;
16
24
  ds:name "content";
@@ -47,16 +55,8 @@ ds:global.component.button a ds:Component;
47
55
  ds:defaultValue "default";
48
56
  ds:constraints "[default, special, exceptional]"
49
57
  ];
58
+ ds:documentationStage ds:tag.needsfulldocumentation;
50
59
  ds:hasModifierFamily ds:global.modifier_family.importance, ds:global.modifier_family.anticipation;
51
- ds:changeLog [
52
- a ds:ChangeLogEntry;
53
- ds:timestamp "2026-02-20T00:00:00.000+01:00";
54
- ds:changeType "decision"
55
- ], [
56
- a ds:ChangeLogEntry;
57
- ds:timestamp "2026-03-06T11:00:00.000+01:00";
58
- ds:changeType "decision"
59
- ];
60
60
  ds:specializedBy ds:global_dataviews.component.filter_button, ds:global.component.icon_button, ds:global.component.dropdown_button;
61
61
  ds:hasTokenBinding [
62
62
  a ds:TokenBinding;
@@ -6,7 +6,6 @@ ds:global.component.button_link a ds:Component;
6
6
  ds:name "ButtonLink";
7
7
  ds:summary "reference: [https://github.com/canonical/design-system/discussions/8](https://github.com/canonical/design-system/discussions/8)";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -10,8 +10,6 @@ ds:global.component.card a ds:Component;
10
10
  ds:usage "Cards are intended for use in \"collection-based\" views. They are suitable for grids and galleries where multiple data objects of the same type are displayed next to each other. \n\n### When to use\n\n- When you have a repeating data structure with a uniform set of attributes that requires high legibility across many instances.\n- When the container itself acts as a toggle or a checkbox for selecting an item from a group. (radio card) // should be linking to forms\n- When the user behavior is focused on exploration of options, rather than searching for an already identified item of the group. Cards facilitate consuming the information of an individual data object, in contrast with a table where the emphasis is on comparison and ability to scan. \n- When building a responsive table, on small viewports, the designer can choose between horizontal scroll, or converting table rows into cards. \n\n### When not to use\n\n- When a single piece of information is being highlighted on a page without any \"peers\".\n - Incorrect: A single card floating in the middle of a dashboard to show \"Total users\".\n - Remediation: Use a [Tile](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-eThhoLZg3Y) component designed for individual metric display.\n- When the user needs to perform deep data analysis or multi-column sorting on regular size pages.\n - Incorrect: Forcing 50 columns of data into a small card format.\n - Remediation: Use a [Table](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Olq5LYSopF) to allow for better horizontal scanning and sorting of specific values.";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsfulldocumentation;
14
- ds:hasSubcomponent ds:global.subcomponent.card-footer, ds:global.subcomponent.card-thumbnail, ds:global.subcomponent.card-content, ds:global.subcomponent.card-image, ds:global.subcomponent.card-header;
15
13
  ds:changeLog [
16
14
  a ds:ChangeLogEntry;
17
15
  ds:timestamp "2025-12-05T00:00:00.000+01:00";
@@ -29,6 +27,8 @@ ds:global.component.card a ds:Component;
29
27
  ds:timestamp "2026-04-06T00:00:00.000+02:00";
30
28
  ds:changeType "change"
31
29
  ];
30
+ ds:documentationStage ds:tag.needsfulldocumentation;
31
+ ds:hasSubcomponent ds:global.subcomponent.card-footer, ds:global.subcomponent.card-thumbnail, ds:global.subcomponent.card-content, ds:global.subcomponent.card-image, ds:global.subcomponent.card-header;
32
32
  ds:hasTokenBinding [
33
33
  a ds:TokenBinding;
34
34
  ds:viaBlock ds:global.component.card;
@@ -6,7 +6,6 @@ ds:global.component.checkbox_field a ds:Component;
6
6
  ds:name "CheckboxField";
7
7
  ds:summary "A form control for a single yes/no decision, pairing a binary choice with its label, optional guidance, and validation. Use it when a user must accept, enable, or opt in to one independent thing as part of a form.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form src/lib/common/Wrapper/ToggleWrapper.css on .ds.field.field-toggle\n# The toggle field chrome, top to bottom: an optional heading, a control row\n# where the control sits inline with its own label, then the description and\n# any error. Spacing belongs to the FIELD — the row's column gap separates\n# control from label, the field's row gap separates the row from the\n# description and error — so neither label nor control carries padding or\n# margin. The control is checkbox input (src/lib/subcomponent/CheckboxInput/styles.css on `.ds.form-checkbox`)\n# and its own styles live in its own anatomy, not copied here. The label\n# follows the control by default.\nnode:\n uri: global.component.checkbox_field\n styles:\n layout.type: flex\n layout.direction: column\n # reads --form-group-gap, which resolves through --space-100 to\n # --dimension-100; this is the spacing semantic that resolves to it.\n spacing.gap.block: spacing.gap.field.block\n # From the shared .ds.field rule, which the toggle variant does not\n # override: reads --form-field-columns.\n layout.grid.column: \"1 / -1\"\n edges:\n - node:\n uri: global.subcomponent.field-label\n styles:\n # The heading is a mock label (a <legend>); the fieldset default is\n # reset so it flows like the other block children.\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n spacing.internal.inline.start: 0\n spacing.internal.inline.end: 0\n relation:\n cardinality: \"0..1\"\n slotName: heading\n - node:\n role: control row\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: center\n # --form-field-inline-gap resolves through --container-gap-default and\n # --space-200 to --dimension-200 (16px).\n spacing.gap.inline: dimension.200\n edges:\n - node:\n uri: global.subcomponent.checkbox_input\n styles:\n # The control is a fixed 16px box (--dimension-200); the row's\n # centring does the alignment, so it carries no offset.\n size.inline: dimension.200\n size.block: dimension.200\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: global.subcomponent.field-label\n styles:\n # Often a full clickable sentence, so it reads as regular body\n # prose rather than the field label's heading weight, and it\n # takes the remaining width so it wraps beside the control.\n layout.flex.grow: 1\n size.min.width: 0\n typography.weight: typography.weight.regular\n typography.align: start\n interaction.cursor: pointer\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n spacing.internal.inline.start: 0\n spacing.internal.inline.end: 0\n # A disabled control makes the row stop signalling clickable\n # and turns the label to the disabled text token; the\n # reference reads --form-label-color-disabled first, which no\n # symbol declares.\n typography.color@disabled: color.text.disabled\n interaction.cursor@disabled: not-allowed\n relation:\n cardinality: \"1\"\n slotName: label\n relation:\n cardinality: \"1\"\n - node:\n uri: global.subcomponent.field-description\n relation:\n cardinality: \"0..1\"\n slotName: description\n - node:\n uri: global.subcomponent.field-error\n relation:\n cardinality: \"0..1\"\n slotName: error";
9
- ds:anatomyClassic "";
10
9
  ds:usage "A labelled binary choice within a form.\n\n\n\n### When to use\n\n- A single opt-in or acceptance (e.g. agree to terms).\n\n- Toggling one independent option whose value is committed with the form.\n\n\n\n### When not to use\n\n- Several related, mutually-exclusive options — use [RichChoicesField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-OE7Ygmz_vT) or [ChoicesField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-IFk-NNRL3C) .\n\n- A setting that takes effect immediately on toggle — use [SwitchField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-vZovGhu5_P) .";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,11 +6,22 @@ ds:global.component.chip a ds:Component;
6
6
  ds:name "Chip";
7
7
  ds:summary "A chip is a compact, interactive component used to represent an attribute, entity, while facilitating secondary actions. Chips elevate specific information in the visual hierarchy, such as categories or selected tags, allowing users to trigger contextual behaviors like filtering, triggering a [Popover](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-i-62pvfoOF), selection, or dismissal. Unlike the [Tag](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-osLY8UcQUp), chips are always actionable. Chips should complement, rather than replace, the primary page actions.";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2877-8032&t=ch8BFFPUe9gCvMdg-1\n\nStyling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2093-9647&t=ch8BFFPUe9gCvMdg-1\n\n";
9
+ ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2877-8032&t=ch8BFFPUe9gCvMdg-1\n\nStyling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2093-9647&t=ch8BFFPUe9gCvMdg-1";
10
10
  ds:usage "### When to use\n\n- When displaying applied filters in a list, allowing users to see and dismiss active parameters. For example, the [ComboboxField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-kfEQ25cX4a) displays selected items inside the input as a dismissible Chip.\n- When displaying a tag, category, or other attributes that a user can interact with. For example, use as a shortcut to filtering. There can be multiple instances of the chip, each representing a different attribute. It is common to find chips located inside of other components such as a table cell, a card, or next to the entity they belong to. \n- When displaying an entity (an object with its own parameters) that needs to trigger a popover for more information. For example, a computer name that would be rendered as a chip and display more details inside a popover when interacted with. \n- When users need to interact with tags, categories, or objects that can be added or removed from a collection.\n\n### When not to use\n\n- If the information is purely read-only (e.g., a \"Status\" indicator), use the [Tag](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-osLY8UcQUp) component instead.\n- Do not use chips for actions on a page, such as \"Submit,\" \"Save,\" or \"Delete All\"; use a [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr) for these tasks.\n- Chips should not be used as navigation. They should not replace links, the primary navigation menu nor replace [Breadcrumbs](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-BXVe6mKJMd) for structural navigation.\n- If the user needs to input detailed text or data, use a [Field](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-y2LECO9EbF) or [SelectInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-xiMRYATXwr) component rather than a series of chips.\n- Avoid using too many chips in a single view if they compete for attention with the primary content of the page.";
11
11
  ds:guidelines "Accessibility\n\n## **Color accessibility**\n\n- Chips border colors need to satisfy 3:1 contrast against the lightest/darkest background color state.\n- Use a modifier if it makes sense semantically for your use case.\n- Avoid using semantic color modifiers on top of colored backgrounds.\n- Ensure you don’t use colour as the only visual means of conveying information or an action.\n\n## Alternative text\n\n- There should be an alternative text specified when the value (text) doesn't provide enough contextual information E.g. \"status important\" instead of the default \"important\" as the value of the chip\n\n## Keyboard interactions and focus\n\n- When pressing `Enter` a default chip should perform the filtering action based on its value, the dismissible chip should revert the filtering behavior.\n- When tabulating through chips, the focus area should be the whole chip for the default chip, the dismissible area for the dismissible chip. ";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needscoredocumentation;
13
+ ds:changeLog [
14
+ a ds:ChangeLogEntry;
15
+ ds:timestamp "2026-02-20T09:00:00.000+01:00";
16
+ ds:changeType "change"
17
+ ], [
18
+ a ds:ChangeLogEntry;
19
+ ds:timestamp "2026-05-01T00:00:00.000+02:00";
20
+ ds:changeType "decision"
21
+ ], [
22
+ a ds:ChangeLogEntry;
23
+ ds:timestamp "2026-05-01T00:00:00.000+02:00"
24
+ ];
14
25
  ds:hasProperty [
15
26
  a ds:Property;
16
27
  ds:name "value";
@@ -65,16 +76,5 @@ ds:global.component.chip a ds:Component;
65
76
  ds:optional "true";
66
77
  ds:defaultValue "none"
67
78
  ];
68
- ds:hasModifierFamily ds:global.modifier_family.criticality;
69
- ds:changeLog [
70
- a ds:ChangeLogEntry;
71
- ds:timestamp "2026-02-20T09:00:00.000+01:00";
72
- ds:changeType "change"
73
- ], [
74
- a ds:ChangeLogEntry;
75
- ds:timestamp "2026-05-01T00:00:00.000+02:00";
76
- ds:changeType "decision"
77
- ], [
78
- a ds:ChangeLogEntry;
79
- ds:timestamp "2026-05-01T00:00:00.000+02:00"
80
- ].
79
+ ds:documentationStage ds:tag.needscoredocumentation;
80
+ ds:hasModifierFamily ds:global.modifier_family.severity, ds:global.modifier_family.release.
@@ -6,7 +6,6 @@ ds:global.component.choices_field a ds:Component;
6
6
  ds:name "ChoicesField";
7
7
  ds:summary "A form control for selecting one or several options from a set of text-labelled choices, with control over whether the options sit inline or stacked. Each option may carry a one-line muted description. It frames the set with a label, optional guidance, and validation.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form src/lib/common/Wrapper/styles.css on .ds.field\n# and src/lib/component/ChoicesField/styles.css on .ds.form-choices\n# The field chrome is the shared Wrapper's; the payload holds one fieldset of\n# options, each a control beside its own label. The control is a radio or a\n# checkbox depending on the `type` prop — a genuine prop switch — and each\n# control's own styles live in its own anatomy. The three layouts the fieldset\n# offers (inline wrapping by default, `.stacked` one per line, `.columns` a\n# grid of --choices-columns equal columns) change layout only, never the tree,\n# so the default is what is bound here.\nnode:\n uri: global.component.choices_field\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n # reads --form-field-columns.\n layout.grid.column: \"1 / -1\"\n layout.align: baseline\n # reads --form-field-label-gap (--space-100 -> --dimension-100).\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-label\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"1\"\n slotName: label\n - node:\n role: payload\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n layout.grid.column: \"1 / -1\"\n # reads --form-group-gap (--space-100 -> --dimension-100).\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-description\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: description\n - node:\n role: choices group\n styles:\n layout.type: flex\n layout.wrap: wrap\n layout.grid.column: \"1 / -1\"\n appearance.border.style: none\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n spacing.external.block.start: 0\n spacing.external.block.end: 0\n spacing.external.inline.start: 0\n spacing.external.inline.end: 0\n # The fieldset's own inline padding reads\n # --form-input-padding-inline (--component-padding-inline ->\n # --space-200 -> --dimension-200, 16px).\n spacing.internal.inline.start: dimension.200\n spacing.internal.inline.end: dimension.200\n # The row gap between wrapped options reads --form-group-gap,\n # the block gap between fields; the column gap reads\n # --container-gap-loose (--space-300 -> --dimension-300, 24px),\n # which no spacing role states.\n spacing.gap.block: spacing.gap.field.block\n spacing.gap.inline: dimension.300\n edges:\n - node:\n role: option\n styles:\n layout.type: flex\n layout.align: center\n # reads --space-100 (-> --dimension-100): the gap between\n # the mark and its label.\n spacing.gap: spacing.gap.mark.inline\n interaction.cursor: pointer\n interaction.cursor@disabled: not-allowed\n edges:\n - switch:\n on: props\n cases:\n - uri: global.subcomponent.radio_input\n - uri: global.subcomponent.checkbox_input\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n role: option label\n styles:\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n spacing.internal.inline.start: 0\n spacing.internal.inline.end: 0\n # The reference reads\n # --form-label-color-disabled first, which no\n # symbol declares.\n typography.color@disabled: color.text.disabled\n relation:\n cardinality: \"1\"\n slotName: label\n # Optional one-line muted description under the label\n # (the option's `description` field), stacked layout only.\n - node:\n role: option description\n styles:\n typography.color: color.text.muted\n relation:\n cardinality: \"0..1\"\n slotName: description\n relation:\n cardinality: \"2..*\"\n slotName: default\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: global.subcomponent.field-error\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: error\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "Presents a small, fully visible set of options as text-only labels, where the arrangement (inline or stacked) carries meaning.\n\n\n\n### When to use\n\n- The full set of options is short enough to show at once without scrolling or filtering.\n\n- Each option is described well by a plain text label, with no supporting imagery or secondary detail.\n\n- The way options are laid out — side by side or stacked — is part of how the choice reads.\n\n\n\n### When not to use\n\n- Options need rich labels with supporting detail or imagery — use [RichChoicesField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-OE7Ygmz_vT) .\n\n- The list is long enough that filtering would help find an option — use [ComboboxField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-kfEQ25cX4a) \n\n- The choice is a single yes/no decision — use [CheckboxField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-vwBCoHgXoG) .";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.component.code_snippet-content a ds:Component;
6
6
  ds:name "CodeSnippet.Content";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "---\n# TODO implementation: no reference in @canonical/react-ds-global or react-ds-global-form\n# A notation migration of the previous DSL: structure and bindings kept, values\n# migrated. The previous root uri said\n# `global.subcomponent.code_snippet-content`; the block is a component,\n# ds:global.component.code_snippet-content.\nnode:\n uri: global.component.code_snippet-content\n styles:\n layout.type: flex # was stack\n layout.direction: column # was vertical\n layout.overflow: hidden\n edges:\n - node:\n role: scroll area\n styles:\n layout.overflow: scroll\n # Was `layout.display: block`, which is not a roster key.\n layout.type: block\n edges:\n - node:\n role: code block\n styles:\n # Was `typography.size: font/size/code` — dropped, since\n # typography.size admits dimension.* only and no dimension\n # symbol corresponds to font/size/code.\n # Was `typography.color: color/text/code` — dropped, since no\n # symbol declares color.text.code.\n # Was `spacing.internal: spacing/medium` — dropped: the key is\n # not in the roster and no declared spacing semantic\n # corresponds to spacing/medium.\n # Was `layout.display: block`, which is not a roster key.\n layout.type: block\n relation:\n cardinality: \"1\"\n slotName: default\n relation:\n cardinality: \"1\"\n - node:\n # Was `uri: global.component.copy_to_clipboard`, which names no\n # subject — the only copy_to_clipboard in the graph is the app-tier\n # apps_lxd.subcomponent.copy_to_clipboard, which a global anatomy may\n # not reference — so the position is an anonymous role.\n role: copy to clipboard action\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.component.code_snippet-header a ds:Component;
6
6
  ds:name "CodeSnippet.Header";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "---\n# TODO implementation: no reference in @canonical/react-ds-global or react-ds-global-form\n# A notation migration of the previous DSL: structure and bindings kept, values\n# migrated. The previous root uri said `global.subcomponent.code_snippet-header`;\n# the block is a component, ds:global.component.code_snippet-header.\nnode:\n uri: global.component.code_snippet-header\n styles:\n layout.type: flex # was flow\n layout.direction: row # was horizontal\n layout.align: center\n # Was `spacing.internal: spacing/small` — the key is not in the roster (a\n # padding is bound per side) and no declared spacing semantic corresponds\n # to spacing/small, so the binding is dropped.\n # Was `appearance.border.bottom: border/style/divider` — dropped: the\n # roster's key is appearance.border.bottom.color and no symbol declares a\n # border/style/divider counterpart.\n # Was `color/surface/code-header`; no symbol declares\n # color.background.code.header, so this is the declared background the\n # surface correspondence lands on.\n appearance.background: color.background\n edges:\n - node:\n role: filename\n styles:\n # Was `typography.size: font/size/small` — dropped, since\n # typography.size admits dimension.* only and no dimension symbol\n # corresponds to font/size/small.\n typography.color: color.text.muted\n # Was `layout.flex: 1`, which is not a roster key.\n layout.flex.grow: 1\n relation:\n cardinality: \"1\"\n slotName: default";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -10,13 +10,13 @@ ds:global.component.code_snippet a ds:Component;
10
10
  ds:usage "Use code snippet to display complex or lengthy code, commands, and technical content that benefits from features such as syntax highlighting, line numbers, and language or version selection. Always provide surrounding context that explains how the displayed code is relevant to the reader or the page content.\n\nKeep titles short and descriptive of the type of code the reader can expect in the content area.\n\n### **When to use**\n\n- The code is multi-line and benefits from syntax highlighting or correct indentation.\n- The content needs to be presented in multiple languages.\n- The content needs to be presented across different versions of a product or library, such as a command with different syntax between versions.\n- Line numbers would help the reader navigate or reference the code.\n- You need to display a full code file.\n\n### **When not to use**\n\n- For inline code references within running text. \n - Incorrect: Inserting a multi-line code snippet block in the middle of a paragraph to highlight a single variable like `const user`.\n - Remediation: Use the [InlineCode](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-SbanhxEvMc) component’s inline variant instead.\n- For log output or simple pre-formatted text. \n - Incorrect: Wrapping a server access log in a code snippet component.\n - Remediation: Use the [InlineCode](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-SbanhxEvMc) component’s code block variant instead.\n- As a code editor. Code snippet is read-only and should not be made editable. As of now the design system does not provide a code editor.\n\n";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdesign;
14
- ds:hasSubcomponent ds:global.component.code_snippet-content, ds:global.component.code_snippet-header;
15
13
  ds:changeLog [
16
14
  a ds:ChangeLogEntry;
17
15
  ds:timestamp "2026-03-21T00:00:00.000+01:00";
18
16
  ds:changeType "change"
19
17
  ];
18
+ ds:documentationStage ds:tag.needsdesign;
19
+ ds:hasSubcomponent ds:global.component.code_snippet-content, ds:global.component.code_snippet-header;
20
20
  ds:hasTokenBinding [
21
21
  a ds:TokenBinding;
22
22
  ds:viaBlock ds:global.component.code_snippet;
@@ -6,7 +6,6 @@ ds:global.component.color_field a ds:Component;
6
6
  ds:name "ColorField";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.component.combobox_field a ds:Component;
6
6
  ds:name "ComboboxField";
7
7
  ds:summary "A form control for choosing one or several values from a large set by typing to filter, then selecting from the narrowed list. It frames the entry with a label, optional guidance, and validation, and suits sets too long to scan comfortably.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form src/lib/common/Wrapper/styles.css on .ds.field\n# The field is the Wrapper's chrome: a subgrid whose label row sits above a\n# payload row carrying the description, the control and any error. The control\n# is combobox input — src/lib/subcomponent/ComboboxInput/styles.css on `.ds.form-combobox` — and its own styles\n# live in its own anatomy, not copied here.\nnode:\n uri: global.component.combobox_field\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n # reads --form-field-columns, the component-local track placement a caller\n # overrides to put the field in part of the form grid.\n layout.grid.column: \"1 / -1\"\n layout.align: baseline\n # The block gap from the label row down to the payload row reads\n # --form-field-label-gap, which resolves through --space-100 to\n # --dimension-100; this is the spacing semantic that resolves to it. When a\n # description LEADS the payload the gap tightens to\n # --form-field-label-description-gap (--dimension-050), for which no\n # spacing semantic resolves, so that conditional is not carried.\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-label\n styles:\n # reads --form-label-columns.\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"1\"\n slotName: label\n - node:\n role: payload\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n # reads --form-payload-columns.\n layout.grid.column: \"1 / -1\"\n # reads --form-group-gap (--space-100 -> --dimension-100).\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-description\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: description\n - node:\n uri: global.subcomponent.combobox_input\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: global.subcomponent.field-error\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: error\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "Lets the user pick one or more values from a long set, narrowing the visible options by typing to filter.\n\n### When to use\n- The set of options is large enough that scanning all of them at once is impractical.\n- Filtering as the user types meaningfully speeds up finding the intended value.\n- Either a single selection or multiple selections from the same long set is needed.\n\n### When not to use\n- The set is short and can be shown in full — use **Choices**, **SimpleChoices**, or **Select**.\n- The value is open-ended and not drawn from a predefined set — use **Text**.";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,11 +6,17 @@ ds:global.component.contextual_menu a ds:Component;
6
6
  ds:name "ContextualMenu";
7
7
  ds:summary "A contextual menu provides secondary actions and options that can be attached to various interface controls, including Buttons, command Links, and right-click interactions. It displays relevant actions based on the context of the element or area it's associated with, helping to keep the interface clean while making additional functionality easily accessible when needed.";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "Anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=5746-5679&t=B51H6nnIINbJS0am-4\n\nStyling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=4456-89917&t=mrOkyDfhQY9JZwMz-1\n\n";
9
+ ds:anatomyClassic "Anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=5746-5679&t=B51H6nnIINbJS0am-4\n\nStyling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=4456-89917&t=mrOkyDfhQY9JZwMz-1";
10
10
  ds:usage "A contextual menu provides secondary actions and options that can be attached to various interface controls, including Buttons, command Links, and right-click interactions. It displays relevant actions based on the context of the element or area it's associated with, helping to keep the interface clean while making additional functionality easily accessible when needed. \n\nContextual menus are designed to initiate and perform actions, not to collect input from users. They work best for presenting action-oriented options that transform, manipulate or delete based on the user's selection. \n\n## When to use\n\n- Providing secondary actions for specific elements or content items\n- Offering context-specific operations that relate to a selected item or area\n- Keeping the primary interface clean by hiding less frequently used actions\n- Right-click functionality where desktop conventions apply\n\n## When not to use\n\n\n\n- As an input method for forms or filters. \n - Incorrect: Using a contextual menu to allow users to pick a date or select a category within a data-entry form.\n - Remediation: Use a [SelectInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-xiMRYATXwr) instead to ensure the input is properly associated with the form field.\n- For collecting user preferences or settings that require input selection. \n - Incorrect: Nesting checkboxes or radio buttons inside a contextual menu to let users toggle notification settings. \n - Remediation: Use a dedicated page or a [Modal](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-XsokbPLmnc) containing standard form controls like switches and checkboxes.\n- When the actions are primary and should be immediately visible. \n - Incorrect: Hiding the only \"Delete\" or \"Edit\" button inside a contextual menu, forcing users to discover the menu before they can perform a critical task. \n - Remediation: Surface high-priority actions directly in the UI using [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr)s or icon buttons to ensure they are discoverable at a glance.\n- For navigation that serves as the main way to move through your application. \n - Incorrect: Placing the main links to \"Dashboard,\" \"Profile,\" and \"Settings\" inside a right-click or overflow contextual menu. \n - Remediation: Use [Navigation](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-nkDiZdUMkV) or [Tabs](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-1SwWDDUyIt) to provide a persistent and accessible map of the application's architecture.\n\n\n\n## Grouping actions\n\nWhen a contextual menu contains many actions, consider organizing them into logical action groups to improve scannability and reduce cognitive load. Group related actions together based on their function or purpose.\n\nCommon grouping categories include:\n\n- **Edit actions**: Copy, cut, paste, duplicate\n- **Organization actions**: Move to folder, rename, sort\n- **Sharing and permissions**: Share, change permissions, export\n- **Destructive actions**: Delete, archive, remove (typically separated at the bottom)\n- **View options**: Open in new tab, preview, download\n\n## Managing menu length\n\nAvoid letting contextual menus grow too long, as this creates cognitive overload and makes scanning difficult. If you have many actions available:\n\n- First, group related actions using the categories mentioned above to improve organization\n- For longer lists, consider nesting actions into submenus to reduce the initial visual complexity\n- Evaluate whether all actions are truly necessary in the contextual menu, or if some could be moved to a dedicated settings area or toolbar";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needscoredocumentation;
13
+ ds:changeLog [
14
+ a ds:ChangeLogEntry;
15
+ ds:timestamp "2026-05-04T00:00:00.000+02:00"
16
+ ], [
17
+ a ds:ChangeLogEntry;
18
+ ds:timestamp "2026-05-11T00:00:00.000+02:00"
19
+ ];
14
20
  ds:hasProperty [
15
21
  a ds:Property;
16
22
  ds:name "Actions";
@@ -18,10 +24,5 @@ ds:global.component.contextual_menu a ds:Component;
18
24
  ds:propertyType "object";
19
25
  ds:optional "false"
20
26
  ];
21
- ds:changeLog [
22
- a ds:ChangeLogEntry;
23
- ds:timestamp "2026-05-04T00:00:00.000+02:00"
24
- ], [
25
- a ds:ChangeLogEntry;
26
- ds:timestamp "2026-05-11T00:00:00.000+02:00"
27
- ].
27
+ ds:documentationStage ds:tag.needscoredocumentation;
28
+ ds:hasSubcomponent ds:global.subcomponent.contextual_menu-item, ds:global.subcomponent.contextual_menu-list, ds:global.subcomponent.contextual_menu-submenu.