@canonical/design-system 0.46.0 → 0.48.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 (396) hide show
  1. package/data/apps/component/file_tree.ttl +1 -2
  2. package/data/apps/component/inline_panel.ttl +2 -3
  3. package/data/apps/component/log.ttl +0 -1
  4. package/data/apps/component/navigation.ttl +0 -1
  5. package/data/apps/component/notification.ttl +0 -1
  6. package/data/apps/component/side_navigation.ttl +678 -5
  7. package/data/apps/component/skeleton_loading.ttl +0 -1
  8. package/data/apps/component/status_bar.ttl +0 -1
  9. package/data/apps/component/toolbar.ttl +0 -1
  10. package/data/apps/group/notifications.ttl +0 -1
  11. package/data/apps/layout/application_layout.ttl +1 -2
  12. package/data/apps/layout/content_layout.ttl +1 -2
  13. package/data/apps/layout/empty_layout.ttl +0 -1
  14. package/data/apps/layout/list_page_layout.ttl +0 -1
  15. package/data/apps/layout/login_layout.ttl +0 -1
  16. package/data/apps/layout/settings_page_layout.ttl +0 -1
  17. package/data/apps/layout/side_panel_form_layout.ttl +0 -1
  18. package/data/apps/layout/view_layout.ttl +0 -1
  19. package/data/apps/pattern/action_bar.ttl +0 -1
  20. package/data/apps/pattern/code_diff.ttl +2 -2
  21. package/data/apps/pattern/data_views.ttl +85 -0
  22. package/data/apps/pattern/datatable.ttl +8 -78
  23. package/data/apps/pattern/destructive_modal.ttl +0 -1
  24. package/data/apps/pattern/drawer.ttl +0 -1
  25. package/data/apps/pattern/keyboard_shortcuts.ttl +0 -1
  26. package/data/apps/pattern/notification_center.ttl +4 -5
  27. package/data/apps/pattern/page_header.ttl +58 -6
  28. package/data/apps/pattern/side_panel.ttl +221 -45
  29. package/data/apps/pattern/sidepanel_stacked.ttl +0 -1
  30. package/data/apps/subcomponent/data_table-action_bar.ttl +3 -3
  31. package/data/apps/subcomponent/data_table-body_cell.ttl +19 -19
  32. package/data/apps/subcomponent/data_table-group_header_row.ttl +1 -1
  33. package/data/apps/subcomponent/data_table-header_cell.ttl +11 -11
  34. package/data/apps/subcomponent/data_table-pagination_bar.ttl +9 -9
  35. package/data/apps/subcomponent/data_table-persistent_selection.ttl +2 -2
  36. package/data/apps/subcomponent/data_table-settings_menu.ttl +3 -3
  37. package/data/apps/subcomponent/data_views-filters.ttl +12 -0
  38. package/data/apps/subcomponent/data_views-saved_views.ttl +12 -0
  39. package/data/apps/subcomponent/data_views-sort_panel.ttl +12 -0
  40. package/data/apps/subcomponent/drawer-content.ttl +0 -1
  41. package/data/apps/subcomponent/drawer-footer.ttl +0 -1
  42. package/data/apps/subcomponent/drawer-header.ttl +0 -1
  43. package/data/apps/subcomponent/file_tree-node.ttl +0 -1
  44. package/data/apps/subcomponent/file_tree-search_box.ttl +13 -0
  45. package/data/apps/subcomponent/file_tree-tree_view.ttl +13 -0
  46. package/data/apps/subcomponent/git_diff_viewer-code_diff_viewer.ttl +13 -0
  47. package/data/apps/subcomponent/git_diff_viewer-file_header.ttl +13 -0
  48. package/data/apps/subcomponent/side_navigation-content.ttl +339 -3
  49. package/data/apps/subcomponent/side_navigation-context_switcher-field.ttl +18 -0
  50. package/data/apps/subcomponent/side_navigation-context_switcher-item_content.ttl +18 -0
  51. package/data/apps/subcomponent/side_navigation-context_switcher.ttl +172 -2
  52. package/data/apps/subcomponent/side_navigation-footer.ttl +270 -0
  53. package/data/apps/subcomponent/side_navigation-header.ttl +262 -0
  54. package/data/apps/subcomponent/side_navigation-item.ttl +115 -2
  55. package/data/apps/subcomponent/side_navigation-item_group.ttl +224 -2
  56. package/data/apps/subcomponent/side_panel-footer.ttl +39 -7
  57. package/data/apps/subcomponent/side_panel-header.ttl +86 -110
  58. package/data/apps_anbox/pattern/side_menu.ttl +5 -6
  59. package/data/apps_debcrafters/component/deb_package_card.ttl +0 -1
  60. package/data/apps_debcrafters/component/example.ttl +0 -1
  61. package/data/apps_debcrafters/component/my_fancy_component.ttl +0 -1
  62. package/data/apps_juju/pattern/single_select_multi_layered.ttl +0 -1
  63. package/data/apps_landscape/component/checkbox_group.ttl +26 -26
  64. package/data/apps_landscape/component/code_editor.ttl +32 -32
  65. package/data/apps_landscape/component/cron_schedule.ttl +2 -2
  66. package/data/apps_landscape/component/expandable_radio_group.ttl +18 -18
  67. package/data/apps_landscape/component/expandable_truncation.ttl +11 -11
  68. package/data/apps_landscape/component/form_section.ttl +2 -2
  69. package/data/apps_landscape/component/gpg_key_field.ttl +21 -21
  70. package/data/apps_landscape/component/grouped_select.ttl +23 -23
  71. package/data/apps_landscape/component/loading_state.ttl +6 -6
  72. package/data/apps_landscape/component/managed_file_input.ttl +13 -13
  73. package/data/apps_landscape/component/multi_select_field.ttl +44 -44
  74. package/data/apps_landscape/component/password_constraints.ttl +2 -2
  75. package/data/apps_landscape/component/progress_bar.ttl +15 -15
  76. package/data/apps_landscape/component/read_only_field.ttl +10 -10
  77. package/data/apps_landscape/component/search_help_popup.ttl +10 -10
  78. package/data/apps_landscape/component/search_query_editor.ttl +29 -29
  79. package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
  80. package/data/apps_landscape/pattern/content_blocks.ttl +16 -16
  81. package/data/apps_landscape/pattern/dashboard_page_composition.ttl +26 -26
  82. package/data/apps_landscape/pattern/delivery_scheduling.ttl +2 -2
  83. package/data/apps_landscape/pattern/form_field_help.ttl +12 -12
  84. package/data/apps_landscape/pattern/header_search_controls.ttl +26 -26
  85. package/data/apps_landscape/pattern/ignorable_notification.ttl +10 -10
  86. package/data/apps_landscape/pattern/information_grid.ttl +13 -13
  87. package/data/apps_landscape/pattern/instance_association.ttl +5 -5
  88. package/data/apps_landscape/pattern/process_flow.ttl +9 -9
  89. package/data/apps_landscape/pattern/progressively_expandable_table.ttl +29 -29
  90. package/data/apps_landscape/pattern/recurring_schedule.ttl +4 -4
  91. package/data/apps_landscape/pattern/responsive_action_group.ttl +11 -11
  92. package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
  93. package/data/apps_landscape/pattern/responsive_table_filters.ttl +9 -9
  94. package/data/apps_landscape/pattern/side_panel_form_actions.ttl +30 -30
  95. package/data/apps_landscape/pattern/sortable_list.ttl +11 -11
  96. package/data/apps_landscape/pattern/table_filter.ttl +40 -40
  97. package/data/apps_landscape/pattern/table_filter_chips.ttl +44 -44
  98. package/data/apps_landscape/pattern/table_pagination.ttl +48 -48
  99. package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +18 -18
  100. package/data/apps_landscape/subcomponent/bold_substring.ttl +6 -6
  101. package/data/apps_landscape/subcomponent/inline_cell_input.ttl +7 -7
  102. package/data/apps_landscape/subcomponent/label_with_description.ttl +10 -10
  103. package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +9 -9
  104. package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
  105. package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +14 -14
  106. package/data/apps_launchpad/component/accordion.ttl +0 -1
  107. package/data/apps_launchpad/component/avatar.ttl +2 -2
  108. package/data/apps_launchpad/component/badge.ttl +2 -2
  109. package/data/apps_launchpad/component/button.ttl +2 -2
  110. package/data/apps_launchpad/component/combobox.ttl +2 -2
  111. package/data/apps_launchpad/component/description_list.ttl +1 -1
  112. package/data/apps_launchpad/component/drawer.ttl +0 -1
  113. package/data/apps_launchpad/component/link.ttl +0 -1
  114. package/data/apps_launchpad/component/markdown_editor.ttl +0 -1
  115. package/data/apps_launchpad/component/modal.ttl +5 -5
  116. package/data/apps_launchpad/component/pagination.ttl +0 -1
  117. package/data/apps_launchpad/component/popover.ttl +0 -1
  118. package/data/apps_launchpad/component/relative_timestamp.ttl +0 -1
  119. package/data/apps_launchpad/component/spinner.ttl +0 -1
  120. package/data/apps_launchpad/component/table.ttl +0 -1
  121. package/data/apps_launchpad/component/text_input.ttl +1 -1
  122. package/data/apps_launchpad/component/timestamp.ttl +0 -1
  123. package/data/apps_launchpad/component/tooltip.ttl +2 -2
  124. package/data/apps_launchpad/subcomponent/modal-content-body.ttl +0 -1
  125. package/data/apps_launchpad/subcomponent/modal-content-footer.ttl +0 -1
  126. package/data/apps_launchpad/subcomponent/modal-content-header-close_button.ttl +0 -1
  127. package/data/apps_launchpad/subcomponent/modal-content-header.ttl +0 -1
  128. package/data/apps_launchpad/subcomponent/modal-content.ttl +0 -1
  129. package/data/apps_launchpad/subcomponent/side_panel-content-body.ttl +0 -1
  130. package/data/apps_launchpad/subcomponent/side_panel-content-footer.ttl +0 -1
  131. package/data/apps_launchpad/subcomponent/side_panel-content-header-close_button.ttl +0 -1
  132. package/data/apps_launchpad/subcomponent/side_panel-content-header.ttl +0 -1
  133. package/data/apps_launchpad/subcomponent/side_panel-content.ttl +0 -1
  134. package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
  135. package/data/apps_lxd/component/output_field.ttl +7 -7
  136. package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +1 -1
  137. package/data/apps_lxd/view/network_topology.ttl +6 -6
  138. package/data/apps_portal/component/badge.ttl +0 -1
  139. package/data/apps_portal/component/credit_card_input.ttl +0 -1
  140. package/data/apps_portal/component/key_value_pair.ttl +0 -1
  141. package/data/apps_portal/pattern/purchase_summary.ttl +0 -1
  142. package/data/apps_portal/subcomponent/read_only_modal.ttl +0 -1
  143. package/data/apps_support/component/data_spotlight.ttl +0 -1
  144. package/data/apps_support/subcomponent/ai_prompt_input.ttl +0 -1
  145. package/data/{apps_workplaceengineering → apps_workplace}/component/complex_multi_select.ttl +3 -4
  146. package/data/{apps_workplaceengineering → apps_workplace}/component/label-highlight.ttl +5 -5
  147. package/data/{apps_workplaceengineering → apps_workplace}/component/org_chart.ttl +2 -3
  148. package/data/{apps_workplaceengineering → apps_workplace}/component/rule.ttl +2 -3
  149. package/data/{apps_workplaceengineering → apps_workplace}/component/skip_link.ttl +2 -3
  150. package/data/{apps_workplaceengineering → apps_workplace}/component/theme_switcher.ttl +2 -3
  151. package/data/{apps_workplaceengineering → apps_workplace}/pattern/callout_numbers_card.ttl +3 -3
  152. package/data/{apps_workplaceengineering → apps_workplace}/pattern/confirmation_modal.ttl +2 -3
  153. package/data/{apps_workplaceengineering → apps_workplace}/pattern/org_event_card.ttl +2 -3
  154. package/data/{apps_workplaceengineering → apps_workplace}/subcomponent/multi_select_input.ttl +2 -3
  155. package/data/{apps_workplaceengineering.ttl → apps_workplace.ttl} +2 -2
  156. package/data/concept/Accessibility.ttl +9 -0
  157. package/data/concept/Breakpoints.ttl +9 -0
  158. package/data/concept/Design-tokens-Overview.ttl +10 -0
  159. package/data/concept/Filtering-patterns.ttl +0 -1
  160. package/data/concept/Foundations-Baseline.ttl +0 -1
  161. package/data/concept/Foundations-Color.ttl +10 -0
  162. package/data/concept/Foundations-Density--the-form-channel.ttl +0 -1
  163. package/data/concept/Foundations-Grid--Layout.ttl +1 -2
  164. package/data/concept/Foundations-Spacing/-Element-vs-container-owned.ttl +0 -1
  165. package/data/concept/Foundations-Spacing.ttl +0 -1
  166. package/data/concept/Foundations-Surfaces.ttl +0 -1
  167. package/data/concept/Foundations-Typography.ttl +1 -2
  168. package/data/concept/How-to-choose-between-question-mark-and-information-icon.ttl +10 -0
  169. package/data/concept/How-to-differentiate-types-of-UI-blocks-.ttl +0 -1
  170. package/data/concept/How-to-indicate-required-fields-in-forms.ttl +0 -1
  171. package/data/concept/How-to-support-modifiers-in-a-component.ttl +0 -1
  172. package/data/concept/Intentional-friction.ttl +0 -1
  173. package/data/concept/Overflow.ttl +0 -1
  174. package/data/concept/Understanding-the-modifier-contract.ttl +0 -1
  175. package/data/documentation/layout/content_page_layout.ttl +0 -1
  176. package/data/documentation/layout/documentation_layout.ttl +0 -1
  177. package/data/documentation/layout/library_layout.ttl +0 -1
  178. package/data/documentation/layout/search_page_layout.ttl +0 -1
  179. package/data/documentation/pattern/library_side_navigation.ttl +2 -2
  180. package/data/global/component/accordion.ttl +15 -15
  181. package/data/global/component/announcement.ttl +3 -2
  182. package/data/global/component/avatar.ttl +1 -2
  183. package/data/global/component/badge.ttl +10 -10
  184. package/data/global/component/breadcrumbs.ttl +10 -10
  185. package/data/global/component/button.ttl +14 -14
  186. package/data/global/component/button_link.ttl +1 -2
  187. package/data/global/component/card.ttl +3 -7
  188. package/data/global/component/checkbox_field.ttl +0 -1
  189. package/data/global/component/chip.ttl +15 -14
  190. package/data/global/component/choices_field.ttl +0 -1
  191. package/data/global/component/code_snippet-content.ttl +0 -1
  192. package/data/global/component/code_snippet-header.ttl +0 -1
  193. package/data/global/component/code_snippet.ttl +1 -1
  194. package/data/global/component/color_field.ttl +0 -1
  195. package/data/global/component/combobox_field.ttl +0 -1
  196. package/data/global/component/contextual_menu.ttl +10 -9
  197. package/data/global/component/data_tooltip.ttl +49 -55
  198. package/data/global/component/date_field.ttl +0 -1
  199. package/data/global/component/date_time_field.ttl +0 -1
  200. package/data/global/component/drag_and_drop_list.ttl +0 -1
  201. package/data/global/component/dropdown_button.ttl +1 -1
  202. package/data/global/component/file_upload_field.ttl +509 -60
  203. package/data/global/component/heading.ttl +1 -1
  204. package/data/global/component/hidden_field.ttl +0 -1
  205. package/data/global/component/icon.ttl +4 -4
  206. package/data/global/component/icon_button.ttl +141 -6
  207. package/data/global/component/icon_in_container.ttl +2 -3
  208. package/data/{apps → global}/component/key_value_pair.ttl +2 -3
  209. package/data/global/component/keyboard_key.ttl +0 -1
  210. package/data/global/component/link.ttl +0 -1
  211. package/data/global/component/links.ttl +0 -1
  212. package/data/global/component/{markdown_field.ttl → markdown_editor_field.ttl} +3 -4
  213. package/data/global/component/mode_switcher.ttl +1 -2
  214. package/data/global/component/month_field.ttl +0 -1
  215. package/data/global/component/notification_inline.ttl +0 -1
  216. package/data/global/component/notification_toast.ttl +0 -1
  217. package/data/global/component/number_field.ttl +1 -2
  218. package/data/global/component/pagination.ttl +0 -1
  219. package/data/global/component/password_field.ttl +0 -1
  220. package/data/global/component/phone_field.ttl +0 -1
  221. package/data/global/component/popover.ttl +0 -1
  222. package/data/global/component/range_field.ttl +0 -80
  223. package/data/global/component/rating_field.ttl +0 -1
  224. package/data/global/component/relative_timestamp.ttl +0 -1
  225. package/data/global/component/rich_choices_field.ttl +0 -1
  226. package/data/global/component/rich_text_editor.ttl +0 -1
  227. package/data/global/component/rich_text_field.ttl +0 -1
  228. package/data/global/component/search_field.ttl +0 -1
  229. package/data/global/component/segmented_control.ttl +0 -1
  230. package/data/global/component/segmented_control_field.ttl +0 -1
  231. package/data/global/component/select_field.ttl +0 -1
  232. package/data/global/component/switch_field.ttl +0 -1
  233. package/data/global/component/table.ttl +2 -2
  234. package/data/global/component/tag.ttl +2 -2
  235. package/data/global/component/text_field.ttl +0 -1
  236. package/data/global/component/textarea_field.ttl +0 -1
  237. package/data/global/component/tile.ttl +8 -8
  238. package/data/global/component/time_field.ttl +0 -1
  239. package/data/global/component/timestamp.ttl +0 -1
  240. package/data/global/component/tooltip.ttl +76 -208
  241. package/data/global/component/wrapper_tooltip.ttl +188 -0
  242. package/data/global/group/buttons.ttl +0 -1
  243. package/data/global/group/cards.ttl +1 -2
  244. package/data/global/group/code_snippets.ttl +0 -1
  245. package/data/{apps → global}/group/key_value_pairs.ttl +2 -3
  246. package/data/global/group/keyboard_keys.ttl +0 -1
  247. package/data/global/group/tiles.ttl +0 -1
  248. package/data/global/layout/error_layout.ttl +0 -1
  249. package/data/global/layout/identity_page_form.ttl +0 -1
  250. package/data/global/modifier/achromat.ttl +8 -0
  251. package/data/global/modifier/constructive.ttl +1 -1
  252. package/data/global/modifier/dark.ttl +1 -1
  253. package/data/global/modifier/deprecated.ttl +8 -0
  254. package/data/global/modifier/{focused.ttl → deutan.ttl} +3 -3
  255. package/data/global/modifier/elevated.ttl +1 -1
  256. package/data/global/modifier/end_of_life.ttl +8 -0
  257. package/data/global/modifier/{muted.ttl → less.ttl} +3 -3
  258. package/data/global/modifier/light.ttl +1 -1
  259. package/data/global/modifier/{loading.ttl → lts.ttl} +3 -3
  260. package/data/global/modifier/modal.ttl +1 -1
  261. package/data/global/modifier/{editable.ttl → more.ttl} +3 -3
  262. package/data/global/modifier/protan.ttl +8 -0
  263. package/data/global/modifier/standard.ttl +8 -0
  264. package/data/global/modifier/tritan.ttl +8 -0
  265. package/data/global/modifier/typical.ttl +8 -0
  266. package/data/global/modifier_family/_emphasis.ttl +1 -2
  267. package/data/global/modifier_family/_other.ttl +1 -2
  268. package/data/global/modifier_family/{mode.ttl → color.ttl} +2 -2
  269. package/data/global/modifier_family/color_vision.ttl +9 -0
  270. package/data/global/modifier_family/contrast.ttl +9 -0
  271. package/data/global/modifier_family/elevation.ttl +9 -0
  272. package/data/global/modifier_family/support.ttl +9 -0
  273. package/data/global/modifier_family/surface.ttl +1 -1
  274. package/data/global/pattern/description_list.ttl +1 -2
  275. package/data/global/pattern/field.ttl +0 -1
  276. package/data/global/pattern/filter.ttl +0 -1
  277. package/data/global/pattern/form_login.ttl +0 -1
  278. package/data/global/pattern/info_table.ttl +0 -1
  279. package/data/global/pattern/modal.ttl +198 -142
  280. package/data/global/pattern/stepper.ttl +0 -1
  281. package/data/global/pattern/table_of_contents.ttl +0 -1
  282. package/data/global/pattern/timeline.ttl +22 -22
  283. package/data/global/pattern/{navigation.ttl → top_navigation.ttl} +2 -3
  284. package/data/global/subcomponent/accordion-item.ttl +1 -2
  285. package/data/global/subcomponent/breadcrumbs-item.ttl +0 -1
  286. package/data/global/subcomponent/card-content.ttl +1 -2
  287. package/data/global/subcomponent/card-footer.ttl +0 -1
  288. package/data/global/subcomponent/card-header.ttl +1 -2
  289. package/data/global/subcomponent/card-image.ttl +1 -2
  290. package/data/global/subcomponent/card-thumbnail.ttl +0 -1
  291. package/data/global/subcomponent/chart_legend.ttl +0 -1
  292. package/data/global/subcomponent/chart_legend_item.ttl +0 -1
  293. package/data/global/subcomponent/checkbox_input.ttl +0 -1
  294. package/data/global/subcomponent/color_input.ttl +0 -1
  295. package/data/global/subcomponent/combobox_input.ttl +0 -1
  296. package/data/global/subcomponent/contextual_menu-item.ttl +13 -0
  297. package/data/global/subcomponent/contextual_menu-list.ttl +13 -0
  298. package/data/global/subcomponent/contextual_menu-submenu.ttl +13 -0
  299. package/data/global/subcomponent/data_tooltip-chart_legend.ttl +133 -0
  300. package/data/global/subcomponent/date_input.ttl +0 -1
  301. package/data/global/subcomponent/date_time_input.ttl +0 -1
  302. package/data/global/subcomponent/field-description.ttl +1 -2
  303. package/data/global/subcomponent/field-error.ttl +1 -2
  304. package/data/global/subcomponent/field-label.ttl +1 -2
  305. package/data/global/subcomponent/file_upload_input.ttl +503 -50
  306. package/data/global/subcomponent/hidden_input.ttl +0 -1
  307. package/data/global/subcomponent/kvp_container.ttl +1 -2
  308. package/data/global/subcomponent/kvpitem_base.ttl +1 -2
  309. package/data/global/subcomponent/{markdown_input.ttl → markdown_editor_input.ttl} +3 -4
  310. package/data/global/subcomponent/modal-content.ttl +4 -13
  311. package/data/global/subcomponent/modal-footer.ttl +21 -29
  312. package/data/global/subcomponent/modal-header.ttl +53 -141
  313. package/data/global/subcomponent/month_input.ttl +0 -1
  314. package/data/global/subcomponent/number_input.ttl +1 -2
  315. package/data/global/subcomponent/password_input.ttl +0 -1
  316. package/data/global/subcomponent/phone_input.ttl +0 -1
  317. package/data/global/subcomponent/radio_input.ttl +0 -1
  318. package/data/global/subcomponent/range_input.ttl +3 -85
  319. package/data/global/subcomponent/rating_input.ttl +0 -1
  320. package/data/global/subcomponent/rich_text_input.ttl +0 -1
  321. package/data/global/subcomponent/search_input.ttl +8 -8
  322. package/data/global/subcomponent/segmented_control_input.ttl +0 -1
  323. package/data/global/subcomponent/select_input.ttl +0 -1
  324. package/data/global/subcomponent/spin_button.ttl +0 -1
  325. package/data/global/subcomponent/spinner.ttl +0 -1
  326. package/data/global/subcomponent/switch_input.ttl +0 -1
  327. package/data/global/subcomponent/table-cell.ttl +0 -1
  328. package/data/global/subcomponent/table-row.ttl +0 -1
  329. package/data/global/subcomponent/text_editor_input.ttl +12 -0
  330. package/data/global/subcomponent/text_input.ttl +0 -1
  331. package/data/global/subcomponent/textarea_input.ttl +1 -2
  332. package/data/global/subcomponent/tile-content.ttl +0 -1
  333. package/data/global/subcomponent/tile-header.ttl +5 -6
  334. package/data/global/subcomponent/time_input.ttl +0 -1
  335. package/data/global/subcomponent/timeline-content.ttl +1 -2
  336. package/data/global/subcomponent/timeline-event.ttl +1 -1
  337. package/data/global/variant/tooltip_dense.ttl +111 -5
  338. package/data/global/view/settings_view.ttl +0 -1
  339. package/data/global_dataviews/component/filter_button.ttl +486 -0
  340. package/data/global_dataviews/component/query_bar.ttl +1638 -0
  341. package/data/global_dataviews/component/query_chip.ttl +605 -0
  342. package/data/global_dataviews/group/query_chips.ttl +564 -0
  343. package/data/global_dataviews/modifier/exclusion.ttl +8 -0
  344. package/data/global_dataviews/modifier/inclusion.ttl +8 -0
  345. package/data/global_dataviews/modifier/match.ttl +8 -0
  346. package/data/global_dataviews/modifier/presence.ttl +8 -0
  347. package/data/global_dataviews/modifier/range.ttl +8 -0
  348. package/data/global_dataviews/modifier_family/condition.ttl +9 -0
  349. package/data/global_dataviews/subcomponent/query_chip-entry.ttl +185 -0
  350. package/data/global_dataviews/subcomponent/query_chip-segment.ttl +240 -0
  351. package/data/global_dataviews/subcomponent/query_input.ttl +1286 -0
  352. package/data/global_dataviews.ttl +6 -0
  353. package/data/sites/component/quote.ttl +0 -1
  354. package/data/sites/component/rule.ttl +0 -1
  355. package/data/sites/component/section.ttl +0 -1
  356. package/data/sites/component/store_card.ttl +7 -7
  357. package/data/sites/group/blog_cards.ttl +0 -1
  358. package/data/sites/group/xblog_elements.ttl +0 -1
  359. package/data/sites/layout/blog_page_layout.ttl +0 -1
  360. package/data/sites/layout/case_study_layout.ttl +0 -1
  361. package/data/sites/layout/site_layout.ttl +0 -1
  362. package/data/sites/pattern/hero-github.ttl +0 -1
  363. package/data/sites/pattern/hero.ttl +1 -2
  364. package/data/sites/pattern/info_table.ttl +0 -1
  365. package/data/sites/pattern/pricing_section.ttl +0 -1
  366. package/data/sites/pattern/pricing_table.ttl +0 -1
  367. package/data/sites/pattern/read_more_section.ttl +0 -1
  368. package/data/sites/pattern/skip_link.ttl +0 -1
  369. package/data/sites_webcomponentsprototype/component/blog_cards.ttl +0 -1
  370. package/data/sites_webcomponentsprototype/component/ctablock.ttl +0 -1
  371. package/data/sites_webcomponentsprototype/component/list.ttl +0 -1
  372. package/data/sites_webcomponentsprototype/component/tabs.ttl +0 -1
  373. package/data/sites_webcomponentsprototype/layout/site_layout.ttl +0 -1
  374. package/data/sites_webcomponentsprototype/pattern/basic_section.ttl +0 -1
  375. package/data/sites_webcomponentsprototype/pattern/blog_section.ttl +0 -1
  376. package/data/sites_webcomponentsprototype/pattern/ctasection.ttl +0 -1
  377. package/data/sites_webcomponentsprototype/pattern/equal_heights.ttl +0 -1
  378. package/data/sites_webcomponentsprototype/pattern/hero.ttl +0 -1
  379. package/data/sites_webcomponentsprototype/pattern/logo_section.ttl +0 -1
  380. package/data/sites_webcomponentsprototype/pattern/quote_wrapper.ttl +0 -1
  381. package/data/sites_webcomponentsprototype/pattern/tiered_list.ttl +0 -1
  382. package/data/tag/{wpeinital-implementation.ttl → workplaceinitial-implementation.ttl} +2 -2
  383. package/data/tag/{wpetriageupstream-and-deprecate.ttl → workplacetriageupstream-and-deprecate.ttl} +2 -2
  384. package/definitions/ontology.ttl +8 -2
  385. package/package.json +6 -6
  386. package/skills/adoption-a1-styles/SKILL.md +11 -0
  387. package/skills/adoption-a2-components/SKILL.md +82 -2
  388. package/skills/anatomy-author/SKILL.md +278 -95
  389. package/skills/anatomy-author/clarification-guidelines.md +150 -0
  390. package/skills/anatomy-author/completeness-checklist.md +224 -0
  391. package/skills/implement-component/SKILL.md +2 -2
  392. package/data/apps/subcomponent/side_panel-content.ttl +0 -14
  393. package/data/concept/Question-mark-vs-information-icon.ttl +0 -11
  394. package/data/global/component/tooltip_wrapper.ttl +0 -140
  395. package/data/global/modifier/highlighted.ttl +0 -8
  396. package/data/global/modifier/wireframe.ttl +0 -8
@@ -10,7 +10,6 @@ ds:global.component.heading a ds:Component;
10
10
  ds:usage "Headings are intended to create an \"outline\" of the page. They should lead the user from the most general information to the most specific.\n\n### When to use\n\n- To facilitate scanning and to provide a logical flow to the user's experience.\n- When a page contains multiple topics, to differentiate between a \"Parent\" topic and a \"Child\" sub-topic.\n- When a UI block, such as a Card, contains a significant amount of data or a specific task.\n- When presenting documentation or long articles. Headings act as anchors, allowing the user to jump to the section most relevant to them. \n\n### When not to use\n\n- When you want a piece of text to be \"big and bold\" but it doesn't actually introduce a new section.\n - Incorrect: Using an `H2` for a callout or a quote in the middle of a paragraph just to make it stand out. \n - Remediation: Use the component that describes the best the semantic function you are representing. \n- When the text is descriptive or instructional rather than a concise title.\n - Incorrect: An `H2` that says: \"Please make sure to fill out all the fields below before you click the submit button at the bottom.\"\n - Remediation: Use a paragraph for descriptions, and keep the heading brief (e.g., \"Form Instructions\").\n- When the text belongs to a quote.\n - Incorrect: Using `H2` to style a testimonial just to achieve a specific font size or weight.\n - Remediation: Use a [Quote](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-HaEe2D1XRN) with its intended tokens.\n\n";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsfulldocumentation;
14
13
  ds:hasProperty [
15
14
  a ds:Property;
16
15
  ds:name "importance";
@@ -18,6 +17,7 @@ ds:global.component.heading a ds:Component;
18
17
  ds:optional "false";
19
18
  ds:constraints "1 to 6"
20
19
  ];
20
+ ds:documentationStage ds:tag.needsfulldocumentation;
21
21
  ds:hasTokenBinding [
22
22
  a ds:TokenBinding;
23
23
  ds:viaBlock ds:global.component.heading;
@@ -6,7 +6,6 @@ ds:global.component.hidden_field a ds:Component;
6
6
  ds:name "HiddenField";
7
7
  ds:summary "A form control that carries a value with the form without presenting it to the user — used for contextual or system values that must travel with a submission but are not user-editable. It renders no label, guidance, or visible entry.";
8
8
  ds:anatomyDsl "---\n# TODO implementation: no reference in @canonical/react-ds-global or react-ds-global-form\n# HiddenField renders through InvisibleWrapper — no label, description or error\n# chrome, and neither it nor HiddenInput ships a stylesheet — so this is a\n# notation migration: structure kept, the dangling uri: repaired.\nnode:\n uri: global.component.hidden_field\n edges:\n - node:\n # Was `global.subcomponent.hidden-input`, which names no subject; the\n # real subject is global.subcomponent.hidden_input.\n uri: global.subcomponent.hidden_input\n relation:\n cardinality: \"1\"\n slotName: default";
9
- ds:anatomyClassic "";
10
9
  ds:usage "Carries a fixed or derived value along with the form without presenting any visible part to the user.\n\n\n\n### When to use\n\n- A value must travel with the form but is set programmatically or derived rather than entered.\n\n- The value should remain constant and is not meant to be reviewed or changed during completion.\n\n\n\n### When not to use\n\n- The user should be able to see, confirm, or change the value — use [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx) (or another visible field).";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,15 +6,15 @@ ds:global.component.icon a ds:Component;
6
6
  ds:name "Icon";
7
7
  ds:summary "Icons function as visual anchors. They are designed to be metaphorically clear and aesthetically consistent, ensuring that when paired with text or some cases standalone users can identify key interactions and system states at a glance. Only Icons which are near universally understood (like delete or edit) can stand on their own, but even those need accompanying tooltips to explain them.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global src/lib/component/Icon/styles.css on .ds.icon\nnode:\n uri: global.component.icon\n styles:\n layout.type: inline-block\n layout.verticalAlign: middle\n # reads --icon-size, a component-local size the package declares as 1em at\n # :root, then --size-icon-default, which no symbol declares, then the\n # chain's own 1rem literal. The effective value is the 1em.\n size.width: 1em\n size.height: 1em";
9
- ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2431-9000&t=sOMJn3GdvE3iTgAI-1";
9
+ ds:anatomyClassic "\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2431-9000&t=sOMJn3GdvE3iTgAI-1";
10
10
  ds:usage "## Usage\n\nIcons are intended to supplement information and streamline the user journey. They should never create ambiguity or force a user to guess what an element does. Where meaning is universal, these icons can function as standalone [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr)s that guide users without the need for additional text.\n\n### When to use\n\n- To guide users toward primary actions where space is limited.\n- When a label alone is insufficient to convey meaning.\n- When the user needs to know the condition of a system or process without reading a full sentence.\n- When recognition is a primary objective towards the user through visual patterns rather than reading text.\n\n### When not to use\n\n- When the icon represents a complex or unique action that does not have a universally recognized metaphor\n - Incorrect: Using a custom \"Star-burst\" icon to represent \"Advanced AI Settings\" without a text label nearby.\n - Remediation: Always pair non-universal icons with a text label. If available space does not allow for a label, then a tooltip must be used.if available space does not allow for a label, then a tooltip must be used.\n- When icons are added to every single line of text or menu item, creating \"visual noise.\"\n - Incorrect: A long list of 50 settings where every single line has a generic \"Gear\" icon next to it.\n - Remediation: Remove the icons and use typography (bolding or headers) to create hierarchy, reserving icons only for high-priority actions.";
11
- ds:guidelines "### Accessibility and Size \n\n- **Touch Targets:** Even if the icon is small (e.g., 16px), the interactive hit area should be at least 44x44px to accommodate touch and mouse accuracy.\n- **Color Contrast:** Ensure icons used for information (status) meet a minimum contrast ratio of 3:1 against the background.\n\n\n\n### Concepts\n\n[Question mark vs information icon](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-GnfOU3MM-3/_rui-KPw8GwEbJ-)";
11
+ ds:guidelines "### Accessibility and Size \n\n- **Touch Targets:** Even if the icon is small (e.g., 16px), the interactive hit area should be at least 44x44px to accommodate touch and mouse accuracy.\n- **Color Contrast:** Ensure icons used for information (status) meet a minimum contrast ratio of 3:1 against the background.\n\n### Concepts\n\n[How to choose between question mark and information icon](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-GnfOU3MM-3/_rui-KPw8GwEbJ-)";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsfulldocumentation;
14
13
  ds:hasProperty [
15
14
  a ds:Property;
16
15
  ds:name "icon";
17
16
  ds:summary "Describes which icon should be displayed from a preexisting list";
18
17
  ds:propertyType "text";
19
18
  ds:optional "false"
20
- ].
19
+ ];
20
+ ds:documentationStage ds:tag.needsfulldocumentation.
@@ -4,10 +4,145 @@
4
4
 
5
5
  ds:global.component.icon_button a ds:Component;
6
6
  ds:name "IconButton";
7
- ds:summary "When space is limited and the actions have recognizable icons, [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr)s may use an icon without text. Reserve this for very common actions that have easily recognizable icons, 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.";
8
- ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
- ds:usage "";
11
- ds:guidelines "";
7
+ ds:summary "An icon button is a square [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr) with one icon and no visible label. Use it for common actions with a recognizable icon, such as edit or delete in a table row, a settings panel trigger, or toolbar actions. Its baseline matches that of a labelled [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr), and it is always named and paired with a [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW).";
8
+ ds:anatomyDsl "---\nnode:\n uri: global.component.icon_button\n styles:\n # The box padding is not bound: the step the design uses is not in the\n # token scale.\n layout.type: inline-flex\n layout.align: center\n layout.justify: center\n # Tertiary is the baseline importance: no channel routes the Importance\n # family, so Primary's solid fill and light icon and Secondary's border are\n # not represented.\n # Surface comes first because every semantic ghost fill equals the plain\n # ghost fill on a given surface, so only the surface changes the colour.\n appearance.background: [surface.color.foreground.ghost, modifier.color.foreground.ghost, color.foreground.ghost]\n # Semantic and Layer 2 state fills have tokens of their own that no channel\n # carries, so only the neutral ones are bound.\n appearance.background@hover: color.foreground.ghost.hover\n appearance.background@active: color.foreground.ghost.active\n appearance.background@disabled: color.foreground.ghost.disabled\n # Focus is not drawn in the design; these follow Button's focus ring.\n appearance.outline.width@focus: 2px\n appearance.outline.style@focus: solid\n appearance.outline.color@focus: [modifier.color.focusRing, color.focusRing, currentColor]\n appearance.outline.offset@focus: 2px\n edges:\n - node:\n role: icon wrapper\n styles:\n layout.type: flex\n layout.align: center\n layout.justify: center\n # Sized to the line height of the primary text style, so the box\n # matches a labelled Button's.\n size.width: 1.5rem\n size.height: 1.5rem\n edges:\n - switch:\n on: props\n cases:\n - node:\n uri: global.component.icon\n styles:\n size.width: dimension.200\n size.height: dimension.200\n typography.color: [modifier.color.icon, color.icon]\n # Read as the button's disabled state, not the icon's own.\n typography.color@disabled: color.icon.disabled\n - node:\n uri: global.subcomponent.spinner\n styles:\n # The design binds an icon-size variable that no symbol\n # declares, so the 1rem it resolves to is written.\n size.width: 1rem\n size.height: 1rem\n # Unlike the icon, the spinner stays neutral at every\n # semantic.\n typography.color: color.icon\n relation:\n cardinality: \"1\"\n slotName: icon\n relation:\n cardinality: \"1\"";
9
+ ds:anatomyClassic "## Anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=16815-113803&t=FVgUlkIoF2WqMxUb-1\n\n## Styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=16815-113814&t=p9CZhyZhtj4yH19f-1";
10
+ ds:usage "A button with only an icon, used for actions represented by widely recognised icons. It retains the hierarchy, states and density of [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr).\n\n## When to use\n\n- Common actions with a recognizable icon (edit, delete, copy, close) where space is short\n- Triggers of a menu or panel whose icon names the action (a gear, three vertical dots)\n- Rows of actions in toolbars and tables\n\n## When not to use\n\n- The icon alone is unclear: use a Button with a label\n- A menu needs a visible cue: use a DropdownButton\n- Navigation: use a link\n- The main action of a page: use a Button with a label";
11
+ ds:guidelines "### Tooltip\n\n- Always pair it with a Tooltip that states the action, composed around the button; the button stays the root.\n- Keep the Tooltip closed while a panel the button opened is open.\n\n### Content\n\n- One icon, no text. The Tooltip is a short verb and noun in sentence case.\n\n### Size and responsiveness\n\n- The box is the density cell both ways, and its baseline matches a labelled Button’s. The icon is centred.\n- On touch screens, prefer the comfortable density. A dense box is smaller than the Icon block’s hit area, an open point.\n\n### Hierarchy\n\n- Takes Importance and Anticipation. Most icon buttons are tertiary.\n\n### Localization\n\n- Translate the accessible name and the Tooltip.\n- Mirror directional icons in right-to-left layouts.\n\n### Animation\n\n- No colour transitions under `prefers-reduced-motion: reduce`, as for Button.\n\n### Accessibility and keyboard\n\n- Name it with an accessible label or a reference; the icon is hidden from assistive technology.\n- Focusable with Button’s focus ring; `Enter` or `Space` runs it; a panel trigger exposes whether the panel is expanded.";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needscoredocumentation.
13
+ ds:hasProperty [
14
+ a ds:Property;
15
+ ds:name "icon";
16
+ ds:summary "The icon, the button's only visible content.";
17
+ ds:propertyType "choice";
18
+ ds:optional "false"
19
+ ], [
20
+ a ds:Property;
21
+ ds:name "label";
22
+ ds:summary "The accessible name, as text or a reference to an element.";
23
+ ds:propertyType "text";
24
+ ds:optional "false"
25
+ ], [
26
+ a ds:Property;
27
+ ds:name "anticipation";
28
+ ds:summary "Consumes the Anticipation family.";
29
+ ds:propertyType "choice";
30
+ ds:optional "true";
31
+ ds:constraints "Affects background and border"
32
+ ];
33
+ ds:documentationStage ds:tag.needscoredocumentation;
34
+ ds:hasModifierFamily ds:global.modifier_family.importance, ds:global.modifier_family.anticipation;
35
+ ds:inheritsFrom ds:global.component.button;
36
+ ds:hasTokenBinding [
37
+ a ds:TokenBinding;
38
+ ds:viaBlock ds:global.component.icon_button;
39
+ ds:node "$root";
40
+ anatomy:styleKey "appearance.background";
41
+ anatomy:styleState "default";
42
+ ds:rank 1;
43
+ ds:consumesSymbol dt:surface.color.foreground.ghost
44
+ ], [
45
+ a ds:TokenBinding;
46
+ ds:viaBlock ds:global.component.icon_button;
47
+ ds:node "$root";
48
+ anatomy:styleKey "appearance.background";
49
+ anatomy:styleState "default";
50
+ ds:rank 2;
51
+ ds:consumesSymbol dt:modifier.color.foreground.ghost
52
+ ], [
53
+ a ds:TokenBinding;
54
+ ds:viaBlock ds:global.component.icon_button;
55
+ ds:node "$root";
56
+ anatomy:styleKey "appearance.background";
57
+ anatomy:styleState "default";
58
+ ds:rank 3;
59
+ ds:consumesSymbol dt:color.foreground.ghost
60
+ ], [
61
+ a ds:TokenBinding;
62
+ ds:viaBlock ds:global.component.icon_button;
63
+ ds:node "$root";
64
+ anatomy:styleKey "appearance.background";
65
+ anatomy:styleState "hover";
66
+ ds:rank 1;
67
+ ds:consumesSymbol dt:color.foreground.ghost.hover
68
+ ], [
69
+ a ds:TokenBinding;
70
+ ds:viaBlock ds:global.component.icon_button;
71
+ ds:node "$root";
72
+ anatomy:styleKey "appearance.background";
73
+ anatomy:styleState "active";
74
+ ds:rank 1;
75
+ ds:consumesSymbol dt:color.foreground.ghost.active
76
+ ], [
77
+ a ds:TokenBinding;
78
+ ds:viaBlock ds:global.component.icon_button;
79
+ ds:node "$root";
80
+ anatomy:styleKey "appearance.background";
81
+ anatomy:styleState "disabled";
82
+ ds:rank 1;
83
+ ds:consumesSymbol dt:color.foreground.ghost.disabled
84
+ ], [
85
+ a ds:TokenBinding;
86
+ ds:viaBlock ds:global.component.icon_button;
87
+ ds:node "$root";
88
+ anatomy:styleKey "appearance.outline.color";
89
+ anatomy:styleState "focus";
90
+ ds:rank 1;
91
+ ds:consumesSymbol dt:modifier.color.focusRing
92
+ ], [
93
+ a ds:TokenBinding;
94
+ ds:viaBlock ds:global.component.icon_button;
95
+ ds:node "$root";
96
+ anatomy:styleKey "appearance.outline.color";
97
+ anatomy:styleState "focus";
98
+ ds:rank 2;
99
+ ds:consumesSymbol dt:color.focusRing
100
+ ], [
101
+ a ds:TokenBinding;
102
+ ds:viaBlock ds:global.component.icon_button;
103
+ ds:node "$root/icon wrapper/case[global.component.icon]";
104
+ anatomy:styleKey "size.width";
105
+ anatomy:styleState "default";
106
+ ds:rank 1;
107
+ ds:consumesSymbol dt:dimension.200
108
+ ], [
109
+ a ds:TokenBinding;
110
+ ds:viaBlock ds:global.component.icon_button;
111
+ ds:node "$root/icon wrapper/case[global.component.icon]";
112
+ anatomy:styleKey "size.height";
113
+ anatomy:styleState "default";
114
+ ds:rank 1;
115
+ ds:consumesSymbol dt:dimension.200
116
+ ], [
117
+ a ds:TokenBinding;
118
+ ds:viaBlock ds:global.component.icon_button;
119
+ ds:node "$root/icon wrapper/case[global.component.icon]";
120
+ anatomy:styleKey "typography.color";
121
+ anatomy:styleState "default";
122
+ ds:rank 1;
123
+ ds:consumesSymbol dt:modifier.color.icon
124
+ ], [
125
+ a ds:TokenBinding;
126
+ ds:viaBlock ds:global.component.icon_button;
127
+ ds:node "$root/icon wrapper/case[global.component.icon]";
128
+ anatomy:styleKey "typography.color";
129
+ anatomy:styleState "default";
130
+ ds:rank 2;
131
+ ds:consumesSymbol dt:color.icon
132
+ ], [
133
+ a ds:TokenBinding;
134
+ ds:viaBlock ds:global.component.icon_button;
135
+ ds:node "$root/icon wrapper/case[global.component.icon]";
136
+ anatomy:styleKey "typography.color";
137
+ anatomy:styleState "disabled";
138
+ ds:rank 1;
139
+ ds:consumesSymbol dt:color.icon.disabled
140
+ ], [
141
+ a ds:TokenBinding;
142
+ ds:viaBlock ds:global.component.icon_button;
143
+ ds:node "$root/icon wrapper/case[global.subcomponent.spinner]";
144
+ anatomy:styleKey "typography.color";
145
+ anatomy:styleState "default";
146
+ ds:rank 1;
147
+ ds:consumesSymbol dt:color.icon
148
+ ].
@@ -6,13 +6,12 @@ ds:global.component.icon_in_container a ds:Component;
6
6
  ds:name "Icon in Container";
7
7
  ds:summary "Showing and icon inside a container, usually a circle: for social icons in the footer, or for status on the hiring page.";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.triagedrejected;
14
12
  ds:changeLog [
15
13
  a ds:ChangeLogEntry;
16
14
  ds:timestamp "2025-10-02T00:00:00.000+02:00";
17
15
  ds:changeType "decision"
18
- ].
16
+ ];
17
+ ds:documentationStage ds:tag.triagedrejected.
@@ -2,12 +2,11 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:apps.component.key_value_pair a ds:Component;
5
+ ds:global.component.key_value_pair a ds:Component;
6
6
  ds:name "KeyValuePair";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
- ds:tier ds:apps;
11
+ ds:tier ds:global;
13
12
  ds:documentationStage ds:tag.designin-progress.
@@ -6,7 +6,6 @@ ds:global.component.keyboard_key a ds:Component;
6
6
  ds:name "KeyboardKey";
7
7
  ds:summary "The KeyboardKey component renders a single keyboard key as a styled kbd element. It maps a key identifier (letters, digits, modifiers, function keys, navigation keys, and action keys) to its display label and presents it as a compact, inline visual indicator. Use it to represent keyboard shortcuts, key bindings, or individual keys within instructional or reference content. It is non-interactive and purely informational.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global src/lib/component/KeyboardKey/styles.css on .ds.keyboard-key\n# The monospace typography tier (font-family, size, weight, line-height) comes\n# from the shared `.code` baseline utility and is deliberately NOT redeclared\n# by the component, so this anatomy binds none of it. The key establishes its\n# own `.surface`, so the colour reads are on the element and step with nesting.\nnode:\n uri: global.component.keyboard_key\n styles:\n layout.type: inline-block\n appearance.background: [surface.color.background, color.background]\n typography.color: [surface.color.text, color.text]\n appearance.border.style: solid\n appearance.border.width: dimension.stroke.thickness.medium\n appearance.border.color: color.border.muted\n # Figma asks for 2px; no 2px radius token exists, so the reference stays on\n # radius-small (currently 0) and so does this.\n appearance.radius: dimension.radius.small\n spacing.internal.inline.start: dimension.050 # --keyboard-key-padding-inline\n spacing.internal.inline.end: dimension.050 # --keyboard-key-padding-inline";
9
- ds:anatomyClassic "";
10
9
  ds:usage "When to use\n\n- Embed key representations in help articles, changelogs, or feature announcements to give consistent visual treatment to every key reference.\n\n\n\nWhen not to use\n\n- The content is not a keyboard key. Status labels, tags or category badges have their own components.";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.component.link a ds:Component;
6
6
  ds:name "Link";
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.links a ds:Component;
6
6
  ds:name "Links";
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.
@@ -2,12 +2,11 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.component.markdown_field a ds:Component;
6
- ds:name "MarkdownField";
5
+ ds:global.component.markdown_editor_field a ds:Component;
6
+ ds:name "MarkdownEditorField";
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;
13
- ds:documentationStage ds:tag.needstriage.
12
+ ds:documentationStage ds:tag.triagedbacklog.
@@ -4,9 +4,8 @@
4
4
 
5
5
  ds:global.component.mode_switcher a ds:Component;
6
6
  ds:name "ModeSwitcher";
7
- ds:summary "";
7
+ ds:summary "To consider: a mode switcher and split this in two/three types (ThemeSwitcher : canonical/ubuntu) / (ModeSwitcher : dark/light) / (Contrast : High/Normal) / (Motion : Normal/Reduced)\n\nReference chat: [https://chat.canonical.com/canonical/pl/g9edp9jnujfofgnms75e3fuago](https://chat.canonical.com/canonical/pl/g9edp9jnujfofgnms75e3fuago)";
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.month_field a ds:Component;
6
6
  ds:name "MonthField";
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.notification_inline a ds:Component;
6
6
  ds:name "NotificationInline";
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.notification_toast a ds:Component;
6
6
  ds:name "NotificationToast";
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,8 +6,7 @@ ds:global.component.number_field a ds:Component;
6
6
  ds:name "NumberField";
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;
13
- ds:documentationStage ds:tag.needstriage.
12
+ ds:documentationStage ds:tag.triagedbacklog.
@@ -6,7 +6,6 @@ ds:global.component.pagination a ds:Component;
6
6
  ds:name "Pagination";
7
7
  ds:summary "Pagination is a navigational component that allows users to move between pages of content. It provides controls for navigating to the previous or next page, as well as optionally jumping directly to a specific numbered page. This component is best suited for content-heavy sites where information is divided across multiple pages, such as blog posts, articles, tutorials, or search results. For paginating tabular data, use the Table pagination component instead.";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "### When to use\n\n- Content is divided across multiple pages and requires navigation controls\n- Users may need to jump to a specific page within the content\n- Users are likely to return to a previously visited page\n- The total number of items or pages is known and finite\n- Content consumption benefits from clear boundaries between pages\n\n### When not to use\n\n- Paginating tabular data; use the Table pagination component instead\n- Guided flows or multi-step processes; use step navigation (“Back” and “Next” buttons) instead\n- Exploratory interfaces where users browse without a specific target; consider infinite scrolling\n- Single-page content that does not require division";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.component.password_field a ds:Component;
6
6
  ds:name "PasswordField";
7
7
  ds:summary "A form control for collecting a secret value, such as a password, that is masked as the user types. It frames the entry with a label, optional guidance, and validation, and offers a control to briefly reveal the entered value for verification.";
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 password input — src/lib/subcomponent/PasswordInput/styles.css on `.ds.input.password` — and its own styles\n# live in its own anatomy, not copied here.\nnode:\n uri: global.component.password_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.password_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 "A labelled, masked secret entry within a form.\n\n\n\n### When to use\n\n- Collecting a password or other secret the user should not see in plain text on screen.\n\n- Cases where the user benefits from a reveal control to verify a typed secret.\n\n\n\n### When not to use\n\n- Ordinary visible text — use [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx) .\n\n- A value that should always be visible for confirmation — use [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx) .";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.component.phone_field a ds:Component;
6
6
  ds:name "PhoneField";
7
7
  ds:summary "A form control for collecting a telephone number together with its country, framing the entry with a label, optional guidance, and validation. It lets the user pick the country (which establishes the dialling prefix) and enter the national number.";
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 phone input — src/lib/subcomponent/PhoneInput/styles.css on `.ds.input.phone` — and its own styles\n# live in its own anatomy, not copied here.\nnode:\n uri: global.component.phone_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.phone_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 "A labelled telephone-number entry, paired with its country, within a form.\n\n\n\n### When to use\n\n- A telephone number is collected and the country (and its dialling prefix) is part of the value.\n\n- The entry benefits from picking a country alongside typing the national number.\n\n\n\n### When not to use\n\n- A generic short value with no country context is wanted — use [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx) .";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.component.popover a ds:Component;
6
6
  ds:name "Popover";
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;
@@ -75,86 +75,6 @@ ds:global.component.range_field a ds:Component;
75
75
  anatomy:styleState "default";
76
76
  ds:rank 1;
77
77
  ds:consumesSymbol dt:spacing.gap.field.block
78
- ], [
79
- a ds:TokenBinding;
80
- ds:viaBlock ds:global.subcomponent.range_input;
81
- ds:node "$root/track";
82
- anatomy:styleKey "size.height";
83
- anatomy:styleState "default";
84
- ds:rank 1;
85
- ds:consumesSymbol dt:dimension.200
86
- ], [
87
- a ds:TokenBinding;
88
- ds:viaBlock ds:global.subcomponent.range_input;
89
- ds:node "$root/track/bar";
90
- anatomy:styleKey "size.height";
91
- anatomy:styleState "default";
92
- ds:rank 1;
93
- ds:consumesSymbol dt:dimension.100
94
- ], [
95
- a ds:TokenBinding;
96
- ds:viaBlock ds:global.subcomponent.range_input;
97
- ds:node "$root/track/bar";
98
- anatomy:styleKey "appearance.background";
99
- anatomy:styleState "default";
100
- ds:rank 1;
101
- ds:consumesSymbol dt:color.foreground.slider.track
102
- ], [
103
- a ds:TokenBinding;
104
- ds:viaBlock ds:global.subcomponent.range_input;
105
- ds:node "$root/track/bar";
106
- anatomy:styleKey "appearance.background";
107
- anatomy:styleState "disabled";
108
- ds:rank 1;
109
- ds:consumesSymbol dt:color.foreground.slider.track.disabled
110
- ], [
111
- a ds:TokenBinding;
112
- ds:viaBlock ds:global.subcomponent.range_input;
113
- ds:node "$root/track/bar";
114
- anatomy:styleKey "appearance.radius";
115
- anatomy:styleState "default";
116
- ds:rank 1;
117
- ds:consumesSymbol dt:dimension.radius.small
118
- ], [
119
- a ds:TokenBinding;
120
- ds:viaBlock ds:global.subcomponent.range_input;
121
- ds:node "$root/track/thumb";
122
- anatomy:styleKey "size.width";
123
- anatomy:styleState "default";
124
- ds:rank 1;
125
- ds:consumesSymbol dt:dimension.200
126
- ], [
127
- a ds:TokenBinding;
128
- ds:viaBlock ds:global.subcomponent.range_input;
129
- ds:node "$root/track/thumb";
130
- anatomy:styleKey "size.height";
131
- anatomy:styleState "default";
132
- ds:rank 1;
133
- ds:consumesSymbol dt:dimension.200
134
- ], [
135
- a ds:TokenBinding;
136
- ds:viaBlock ds:global.subcomponent.range_input;
137
- ds:node "$root/track/thumb";
138
- anatomy:styleKey "appearance.background";
139
- anatomy:styleState "default";
140
- ds:rank 1;
141
- ds:consumesSymbol dt:color.foreground.slider.progress
142
- ], [
143
- a ds:TokenBinding;
144
- ds:viaBlock ds:global.subcomponent.range_input;
145
- ds:node "$root/track/thumb";
146
- anatomy:styleKey "appearance.background";
147
- anatomy:styleState "disabled";
148
- ds:rank 1;
149
- ds:consumesSymbol dt:color.foreground.slider.progress.disabled
150
- ], [
151
- a ds:TokenBinding;
152
- ds:viaBlock ds:global.subcomponent.range_input;
153
- ds:node "$root/value readout";
154
- anatomy:styleKey "typography.color";
155
- anatomy:styleState "default";
156
- ds:rank 1;
157
- ds:consumesSymbol dt:color.text.muted
158
78
  ], [
159
79
  a ds:TokenBinding;
160
80
  ds:viaBlock ds:global.subcomponent.field-error;
@@ -6,7 +6,6 @@ ds:global.component.rating_field a ds:Component;
6
6
  ds:name "RatingField";
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.relative_timestamp a ds:Component;
6
6
  ds:name "RelativeTimestamp";
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.rich_choices_field a ds:Component;
6
6
  ds:name "RichChoicesField";
7
7
  ds:summary "A form control for selecting one or several options from a set whose choices can carry rich labels (text, icon, or richer content). It frames the set with a label, optional guidance, and validation, and supports either single-choice or multiple-choice selection.";
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/RichChoicesField/styles.css on .ds.form-rich-choices\n# The field chrome is the shared Wrapper's; the payload holds a grid of\n# options. In a rich option the native input is visually hidden and the LABEL\n# is the visible card surface, so the input chrome — border, radius,\n# background, and the hover / focus / selected / disabled recolours — sits on\n# the label rather than on the control. The previous notation's `role: control`\n# is kept as the hidden input it is.\nnode:\n uri: global.component.rich_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: rich choices group\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\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.internal.inline.start: 0\n spacing.internal.inline.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 # reads --form-group-gap (--dimension-100).\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n role: option\n styles:\n layout.position: relative\n layout.type: flex\n # reads --rich-choices-span, a component-local track span.\n layout.grid.column: auto\n edges:\n - node:\n role: control\n styles:\n # Visually hidden: the label is the control's\n # visible surface.\n layout.position: absolute\n size.width: 1px\n size.height: 1px\n layout.overflow: hidden\n typography.whiteSpace: nowrap\n appearance.border.width: 0\n relation:\n cardinality: \"1\"\n - node:\n role: rich label\n styles:\n layout.type: flex\n layout.direction: column\n layout.flex.grow: 1\n layout.boxSizing: border-box\n # reads --form-group-gap (--dimension-100).\n spacing.gap.block: spacing.gap.field.block\n appearance.border.width: dimension.stroke.thickness.medium\n appearance.border.style: solid\n appearance.border.color: color.border\n appearance.radius: dimension.radius.small\n appearance.background: color.foreground.input\n typography.color: color.text\n interaction.cursor: pointer\n interaction.select: none\n # reads --hover--color-foreground-input first, a\n # computed state variable no symbol declares.\n appearance.background@hover: color.foreground.input.hover\n appearance.background@selected: color.foreground.input.hover\n appearance.border.color@focus: color.focusRing\n appearance.border.color@selected: color.focusRing\n # A disabled option shows no border by design.\n appearance.border.color@disabled: transparent\n appearance.background@disabled: color.foreground.input.disabled\n interaction.cursor@disabled: not-allowed\n # The disabled text colour reads\n # --disabled--color-text, a computed state variable\n # no symbol declares and with no literal fallback,\n # so that binding is dropped.\n motion.property: \"border-color, background-color, box-shadow\"\n # The card's own inline padding reads\n # --form-input-padding-inline (16px) and its block\n # padding --form-input-padding-block (8px), both\n # through --dimension-* symbols.\n spacing.internal.inline.start: dimension.200\n spacing.internal.inline.end: dimension.200\n spacing.internal.block.start: dimension.100\n spacing.internal.block.end: dimension.100\n # The focus and selected rings are box-shadows,\n # which the roster has no key for.\n relation:\n cardinality: \"1\"\n slotName: default\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 "A labelled set of selectable options, single- or multiple-choice, with richly-labelled choices.\n\n\n\n### When to use\n\n- Choosing one or several options from a small, visible set where the choices benefit from rich labels.\n\n\n\n### When not to use\n\n- A long list better searched than scanned — use [ComboboxField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-kfEQ25cX4a) .\n\n- A single binary decision — use [CheckboxField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-vwBCoHgXoG) .\n\n- Text-only options where layout control matters more than rich labels — use [ChoicesField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-IFk-NNRL3C) .";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.component.rich_text_editor a ds:Component;
6
6
  ds:name "RichTextEditor";
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.rich_text_field a ds:Component;
6
6
  ds:name "RichTextField";
7
7
  ds:summary "Reference: [https://github.com/canonical/design-system/discussions/35](https://github.com/canonical/design-system/discussions/35)";
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.search_field a ds:Component;
6
6
  ds:name "SearchField";
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.segmented_control a ds:Component;
6
6
  ds:name "SegmentedControl";
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.segmented_control_field a ds:Component;
6
6
  ds:name "SegmentedControlField";
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.select_field a ds:Component;
6
6
  ds:name "SelectField";
7
7
  ds:summary "A form control for choosing exactly one value from a compact dropdown list, framed 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# 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 select input — src/lib/subcomponent/SelectInput/styles.css on `.ds.input.select` — and its own styles\n# live in its own anatomy, not copied here.\nnode:\n uri: global.component.select_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.select_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 "A labelled control for choosing exactly one value from a compact dropdown list.\n\n### When to use\n- Exactly one value is chosen from a short, known set that stays collapsed until opened.\n- The set is small enough to scan in full without typing to filter.\n\n### When not to use\n- The set is large enough that filtering by typing would help — use **Combobox**.\n- Several options may be chosen at once, or the choices benefit from rich labels shown in full — use **Choices** or **SimpleChoices**.\n- A single binary decision is being made — use **Checkbox**.";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.component.switch_field a ds:Component;
6
6
  ds:name "SwitchField";
7
7
  ds:summary "A form control for a single on/off setting presented as a toggle, framed with a label and optional guidance. It expresses a binary state the user flips directly; in form use the value is committed with the 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 switch input (src/lib/subcomponent/SwitchInput/styles.css on `.ds.form-switch`)\n# and its own styles live in its own anatomy, not copied here.\n# The label LEADS the control by default (labelPosition: \"before\" — a label\n# before a switch names its purpose), which the reference achieves with\n# row-reverse on the control row while the DOM stays control-then-label.\nnode:\n uri: global.component.switch_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.switch_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 "Captures a single binary on/off setting where a toggle metaphor communicates the state more naturally than a checkmark.\n\n### When to use\n- The setting has exactly two states, on and off, with an immediate sense of being enabled or disabled.\n- A toggle reads more naturally than a tick, such as turning a feature or preference on or off.\n\n### When not to use\n- The user is agreeing to terms or opting in as part of submitting a form — use **Checkbox**.\n- The user must pick among several distinct options rather than flip one setting — use **Choices**.";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;