@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
@@ -6,7 +6,6 @@ ds:global.subcomponent.hidden_input a ds:Subcomponent;
6
6
  ds:name "HiddenInput";
7
7
  ds:summary "The non-visible value-carrying part a host field places in context; it holds a value submitted with the form but shown to no one. Consumed by [HiddenField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-erOCIafN7p) .";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form\n# src/lib/subcomponent/HiddenInput/HiddenInput.tsx (`.ds.form-hidden`). The\n# implementation ships no stylesheet, and correctly so: a hidden input is pure\n# markup — an <input type=\"hidden\"> that carries a value into the form and\n# paints nothing — so the anatomy is a single node with no styles and no parts.\nnode:\n uri: global.subcomponent.hidden_input";
9
- ds:anatomyClassic "";
10
9
  ds:usage "The non-visible carrier part a host places in context to hold a value that travels with a submission but is never edited.\n\n\n\n### When to use\n\n- A host must retain a fixed or system-derived value alongside visible entries.\n\n- A value needs to accompany the field's data without inviting interaction.\n\n\n\n### When not to use\n\n- The person should see or change the value — compose **TextInput**.\n\n- The value is purely presentational and not part of the field's data — it belongs in the host's content, not an input part.";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,11 +6,10 @@ ds:global.subcomponent.kvp_container a ds:Subcomponent;
6
6
  ds:name "KVP (container)";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "---\n# TODO implementation: no reference in @canonical/react-ds-global or react-ds-global-form\n# Notation-only migration. Two repairs: the root uri was\n# `ds:global.component:KeyValuePair` — the wrong type segment, the wrong block\n# and the retired colon spelling; and the item reference is spelled as the\n# subject that does exist, global.subcomponent.kvpitem_base. The notation's\n# markdown fence and title line are dropped.\nnode:\n uri: global.subcomponent.kvp_container\n styles:\n layout.type: flex\n layout.direction: column\n layout.align: flex-start\n spacing.gap: dimension.100 # the block gap between fields\n edges:\n - node:\n uri: global.subcomponent.kvpitem_base\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;
13
- ds:parentComponent ds:global.component.tooltip_wrapper;
12
+ ds:parentComponent ds:global.component.wrapper_tooltip;
14
13
  ds:hasTokenBinding [
15
14
  a ds:TokenBinding;
16
15
  ds:viaBlock ds:global.subcomponent.kvp_container;
@@ -6,11 +6,10 @@ ds:global.subcomponent.kvpitem_base a ds:Subcomponent;
6
6
  ds:name "KVPItem (base)";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "---\n# TODO implementation: no reference in @canonical/react-ds-global or react-ds-global-form\n# Notation-only migration. The root uri was `ds:global.subcomponent:KVPItem` in\n# the retired colon spelling.\n#\n# The notation carried FOUR trees in one cell — a base item, an `.Inline`\n# variant, a `.Stacked` variant and a `.Meta` variant — under uris\n# (`…:KVPItem.Inline`, `.Stacked`, `.Meta`) that name no ds: subject. One block\n# is one anatomy, so the base tree is the anatomy here, the Meta variant's two\n# extra parts are folded in as optional edges above the pair, and the rest is\n# recorded:\n# Inline — the same row, with layout.align: center rather than flex-start.\n# Stacked — a column rather than a row, layout.align: flex-start.\n# Meta — a heading and a meta-value above, and then the base item repeated\n# 1..* beneath them. That self-reference is left out rather than\n# encoded as recursion, so the heading and the meta-value here sit\n# above ONE key/value pair.\n# Either the variants earn their own blocks or they become a switch once someone\n# rules on it; nothing here invents the uris.\nnode:\n uri: global.subcomponent.kvpitem_base\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: flex-start\n edges:\n - node:\n role: heading\n styles:\n # From the Meta variant. `text/secondary/bold` migrates to the\n # composite it names; the size key admits dimension.* alone, so\n # typography.font carries the tier.\n typography.font: typography.text.secondary.bold\n typography.color: color.text\n relation:\n cardinality: \"0..1\"\n slotName: header\n - node:\n role: meta-value\n styles:\n # From the Meta variant.\n typography.font: typography.text.secondary\n typography.color: color.text\n relation:\n cardinality: \"0..1\"\n slotName: headerValue\n - node:\n role: key\n styles:\n typography.font: typography.text.secondary\n typography.color: color.text.muted\n relation:\n cardinality: \"1\"\n slotName: key\n - node:\n role: value\n styles:\n typography.font: typography.text.secondary\n typography.color: color.text\n relation:\n cardinality: \"1\"\n slotName: value";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
13
- ds:parentComponent ds:global.component.tooltip_wrapper;
12
+ ds:parentComponent ds:global.component.wrapper_tooltip;
14
13
  ds:hasTokenBinding [
15
14
  a ds:TokenBinding;
16
15
  ds:viaBlock ds:global.subcomponent.kvpitem_base;
@@ -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.subcomponent.markdown_input a ds:Subcomponent;
6
- ds:name "MarkdownInput";
5
+ ds:global.subcomponent.markdown_editor_input a ds:Subcomponent;
6
+ ds:name "MarkdownEditorInput";
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,27 +4,18 @@
4
4
 
5
5
  ds:global.subcomponent.modal-content a ds:Subcomponent;
6
6
  ds:name "Modal.Content";
7
- ds:summary "";
8
- ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global\n# src/lib/pattern/Modal/common/Content/styles.css on .ds.modal-content.\nnode:\n uri: global.subcomponent.modal-content\n styles:\n # Takes the space the header and footer leave.\n layout.flex.grow: 1\n layout.flex.shrink: 1\n layout.flex.basis: auto\n # Scrollbars only when needed — this is the modal's only scroller.\n layout.overflow: auto\n # The inline padding --modal-padding-inline is shared with the header and\n # the footer, so the three sections align.\n spacing.internal.block.start: dimension.300 # --modal-content-padding-block, a surface inset\n spacing.internal.block.end: dimension.300 # --modal-content-padding-block, a surface inset\n spacing.internal.inline.start: dimension.300 # --modal-padding-inline, a surface inset\n spacing.internal.inline.end: dimension.300 # --modal-padding-inline, a surface inset\n # `min-block-size: 0` lets the pane shrink instead of pushing the dialog past\n # its max block size; size.min.block takes a token only, so the literal the\n # implementation writes is not bound.\n edges:\n - node:\n role: content\n relation:\n cardinality: \"1\"\n slotName: default";
7
+ ds:summary "The modal content sits between the header and the footer and holds the body of the modal, such as a message, a description or a form. It is always present and stacks its items vertically. It hugs its content until the content is taller than the space between the header and the footer. After that it fills the space and scrolls, while the header and footer stay fixed.";
8
+ ds:anatomyDsl "---\nnode:\n uri: global.subcomponent.modal-content\n styles:\n layout.type: flex\n layout.direction: column\n layout.align: flex-start\n # Hugs the content until it is taller than the space between the header\n # and the footer, then fills that space and scrolls.\n layout.overflow.block: auto\n spacing.gap: dimension.300\n spacing.internal.inline.start: dimension.300\n spacing.internal.inline.end: dimension.300";
9
9
  ds:anatomyClassic "";
10
- ds:usage "";
10
+ ds:usage "The modal content is a required part of [Modal](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-3zLQspaZbf), which covers when to use it.";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdesign;
14
13
  ds:parentComponent ds:global.pattern.modal;
15
14
  ds:hasTokenBinding [
16
15
  a ds:TokenBinding;
17
16
  ds:viaBlock ds:global.subcomponent.modal-content;
18
17
  ds:node "$root";
19
- anatomy:styleKey "spacing.internal.block.start";
20
- anatomy:styleState "default";
21
- ds:rank 1;
22
- ds:consumesSymbol dt:dimension.300
23
- ], [
24
- a ds:TokenBinding;
25
- ds:viaBlock ds:global.subcomponent.modal-content;
26
- ds:node "$root";
27
- anatomy:styleKey "spacing.internal.block.end";
18
+ anatomy:styleKey "spacing.gap";
28
19
  anatomy:styleState "default";
29
20
  ds:rank 1;
30
21
  ds:consumesSymbol dt:dimension.300
@@ -4,23 +4,15 @@
4
4
 
5
5
  ds:global.subcomponent.modal-footer a ds:Subcomponent;
6
6
  ds:name "Modal.Footer";
7
- ds:summary "";
8
- ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global\n# src/lib/pattern/Modal/common/Footer/styles.css on .ds.modal-footer and its\n# ::before rule.\nnode:\n uri: global.subcomponent.modal-footer\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: center\n layout.justify: flex-end\n # Never shrink: only the content pane gives way.\n layout.flex.grow: 0\n layout.flex.shrink: 0\n layout.flex.basis: auto\n # Positions the inset rule below.\n layout.position: relative\n # The inline padding --modal-padding-inline is shared with the header and\n # the content, so the three sections align.\n spacing.gap: dimension.100 # --modal-footer-gap, the inline gap between actions\n spacing.internal.block.start: dimension.200 # --modal-footer-padding-block, a surface inset\n spacing.internal.block.end: dimension.200 # --modal-footer-padding-block, a surface inset\n spacing.internal.inline.start: dimension.300 # --modal-padding-inline, a surface inset\n spacing.internal.inline.end: dimension.300 # --modal-padding-inline, a surface inset\n edges:\n - node:\n uri: global.component.button\n relation:\n cardinality: \"0..*\"\n slotName: default\n - node:\n role: divider rule\n styles:\n layout.position: absolute\n # Inset to the footer's own inline padding so it aligns with the\n # actions and the content. inset-block-start is a raw 0, which the\n # block-axis offset keys take a token only for.\n layout.offset.inline.start: dimension.300\n size.block: dimension.stroke.thickness.medium\n appearance.background: color.border.muted\n # The second of the two rules bounding the content. Drawn as ::before\n # rather than a border so it can be inset to the footer's inline\n # padding and align with the actions and the content.\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
- ds:usage "";
7
+ ds:summary "The modal footer sits at the bottom of the modal and holds its actions as buttons. At least one button is required. It is always present and stays fixed at the bottom while the content scrolls above it. A divider appears along its top edge when the content continues below the visible area.";
8
+ ds:anatomyDsl "---\nnode:\n uri: global.subcomponent.modal-footer\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: center\n # Anchors the overflow divider.\n layout.position: relative\n spacing.internal.block.start: dimension.200\n spacing.internal.block.end: dimension.200\n spacing.internal.inline.start: dimension.300\n spacing.internal.inline.end: dimension.300\n appearance.background: color.background\n edges:\n - node:\n role: button group\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: center\n spacing.gap: dimension.100\n edges:\n - node:\n uri: global.component.button\n relation:\n cardinality: \"1..*\"\n slotName: default\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n role: overflow divider\n styles:\n layout.position: absolute\n layout.offset.top: 0\n layout.offset.left: 0\n size.width: 100%\n # No stroke-thickness symbol of 2px is declared, so the thickness is a\n # literal.\n size.block: 2px\n appearance.background: color.border.muted\n relation:\n # Drawn along the footer's top edge only while the content continues\n # below it.\n cardinality: \"0..1\"";
9
+ ds:anatomyClassic "## Anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=16903-1356&t=3F9PQQB2fYjyLEYQ-1\n\n## Styling\n\n### Layout and spacing\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=16903-2100&t=3F9PQQB2fYjyLEYQ-1\n\n### Colors\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=16903-3684&t=3F9PQQB2fYjyLEYQ-1";
10
+ ds:usage "The modal footer is a required part of [Modal](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-3zLQspaZbf), which covers when to use it.";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
13
  ds:documentationStage ds:tag.needsdesign;
14
14
  ds:parentComponent ds:global.pattern.modal;
15
15
  ds:hasTokenBinding [
16
- a ds:TokenBinding;
17
- ds:viaBlock ds:global.subcomponent.modal-footer;
18
- ds:node "$root";
19
- anatomy:styleKey "spacing.gap";
20
- anatomy:styleState "default";
21
- ds:rank 1;
22
- ds:consumesSymbol dt:dimension.100
23
- ], [
24
16
  a ds:TokenBinding;
25
17
  ds:viaBlock ds:global.subcomponent.modal-footer;
26
18
  ds:node "$root";
@@ -52,6 +44,22 @@ ds:global.subcomponent.modal-footer a ds:Subcomponent;
52
44
  anatomy:styleState "default";
53
45
  ds:rank 1;
54
46
  ds:consumesSymbol dt:dimension.300
47
+ ], [
48
+ a ds:TokenBinding;
49
+ ds:viaBlock ds:global.subcomponent.modal-footer;
50
+ ds:node "$root";
51
+ anatomy:styleKey "appearance.background";
52
+ anatomy:styleState "default";
53
+ ds:rank 1;
54
+ ds:consumesSymbol dt:color.background
55
+ ], [
56
+ a ds:TokenBinding;
57
+ ds:viaBlock ds:global.subcomponent.modal-footer;
58
+ ds:node "$root/button group";
59
+ anatomy:styleKey "spacing.gap";
60
+ anatomy:styleState "default";
61
+ ds:rank 1;
62
+ ds:consumesSymbol dt:dimension.100
55
63
  ], [
56
64
  a ds:TokenBinding;
57
65
  ds:viaBlock ds:global.component.button;
@@ -231,23 +239,7 @@ ds:global.subcomponent.modal-footer a ds:Subcomponent;
231
239
  ], [
232
240
  a ds:TokenBinding;
233
241
  ds:viaBlock ds:global.subcomponent.modal-footer;
234
- ds:node "$root/divider rule";
235
- anatomy:styleKey "layout.offset.inline.start";
236
- anatomy:styleState "default";
237
- ds:rank 1;
238
- ds:consumesSymbol dt:dimension.300
239
- ], [
240
- a ds:TokenBinding;
241
- ds:viaBlock ds:global.subcomponent.modal-footer;
242
- ds:node "$root/divider rule";
243
- anatomy:styleKey "size.block";
244
- anatomy:styleState "default";
245
- ds:rank 1;
246
- ds:consumesSymbol dt:dimension.stroke.thickness.medium
247
- ], [
248
- a ds:TokenBinding;
249
- ds:viaBlock ds:global.subcomponent.modal-footer;
250
- ds:node "$root/divider rule";
242
+ ds:node "$root/overflow divider";
251
243
  anatomy:styleKey "appearance.background";
252
244
  anatomy:styleState "default";
253
245
  ds:rank 1;
@@ -4,10 +4,10 @@
4
4
 
5
5
  ds:global.subcomponent.modal-header a ds:Subcomponent;
6
6
  ds:name "Modal.Header";
7
- ds:summary "";
8
- ds:anatomyDsl "--- \n# Authored 2026-09-13 from @canonical/react-ds-global \n# src/lib/pattern/Modal/common/Header/styles.css on .ds.modal-header and its \n# child selectors (::after, > .title, > .close). \n# Re-authored 2026-09-22: the title now reads the heading-2 scale instead of \n# the text-primary ramp; the header comment and the spacing bindings are \n# unchanged. \nnode: \n uri: global.subcomponent.modal-header \n styles: \n layout.type: flex \n layout.direction: row \n layout.align: center \n layout.justify: space-between \n # Never shrink: only the content pane gives way. \n layout.flex.grow: 0 \n layout.flex.shrink: 0 \n layout.flex.basis: auto \n # Positions the inset rule below. \n layout.position: relative \n # The inline padding --modal-padding-inline is shared with the content and \n # the footer, so title, rules, content and actions align on the same two \n # edges. \n spacing.gap: dimension.200 # --modal-header-gap, the inline gap between title and dismiss \n spacing.internal.block.start: dimension.200 # --modal-header-padding-block, a surface inset \n spacing.internal.block.end: dimension.200 # --modal-header-padding-block, a surface inset \n spacing.internal.inline.start: dimension.300 # --modal-padding-inline, a surface inset \n spacing.internal.inline.end: dimension.300 # --modal-padding-inline, a surface inset \n edges: \n - node: \n role: title \n styles: \n layout.flex.grow: 1 \n layout.flex.shrink: 1 \n layout.flex.basis: 0% \n # The title reads as a heading, not body text, so it consumes the \n # heading-2 scale exactly like the `h2` element rule does \n # (@canonical/styles-typography, elements.css). It stays a `span`, not an \n # `h2`: a modal opens from anywhere in the document, so no heading \n # level would be right everywhere, and the dialog is named through \n # aria-labelledby instead; only the type scale is borrowed, never \n # the outline semantics. All five of the composite's facets are \n # read (--modal-header-font-family / -font-size / -font-weight / \n # -letter-spacing / -line-height alias the typography.heading.2 \n # tokens), declared on .ds.modal-header rather than :root: the \n # typography ramp is restated per surface, and a var() inside a \n # custom property is substituted where the declaration sits, so a \n # :root declaration would freeze the root value past the context \n # the header renders inside. \n typography.font: typography.heading.2 \n typography.weight: typography.weight.light \n relation: \n cardinality: \"1\" \n slotName: default \n - node: \n uri: global.component.button \n props: \n icon: close \n styles: \n layout.flex.grow: 0 \n layout.flex.shrink: 0 \n layout.flex.basis: auto \n # The dismiss control equalises Button's own inline padding through the \n # component's custom-property API — --button-padding-inline-start and \n # -end both to dimension.100 — because Button tightens the start side \n # when it carries an icon and an icon-only button then reads lopsided. \n # The dimension is what the override writes, and writing the action \n # inset role instead would assert the very padding it exists to change. \n spacing.internal.inline.start: dimension.100 # --button-padding-inline-start \n spacing.internal.inline.end: dimension.100 # --button-padding-inline-end \n # The implementation also sets importance=\"tertiary\" on this Button. \n # That is not pinned: `importance` is a modifier family Button \n # consumes (ds:hasModifierFamily), not one of its ds:hasProperty \n # names, and a pin asserts a prop value. \n relation: \n cardinality: \"0..1\" \n - node: \n role: divider rule \n styles: \n layout.position: absolute \n # Inset to the header's own inline padding so it aligns with the \n # title, the content and the actions. inset-block-end is a raw 0, \n # which the block-axis offset keys take a token only for. \n layout.offset.inline.start: dimension.300 \n size.block: dimension.stroke.thickness.medium \n appearance.background: color.border.muted \n # The first of the two rules bounding the content. Drawn as ::after \n # rather than a border so it can be inset to the header's inline \n # padding and align with the title, the content and the actions. \n relation: \n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
- ds:usage "";
7
+ ds:summary "The modal header sits at the top of the modal and names it with a title. It holds a close button for dismissing the modal. It is always present and stays fixed at the top while the content scrolls beneath it. A divider appears along its bottom edge when the content continues above the visible area.";
8
+ ds:anatomyDsl "---\nnode:\n uri: global.subcomponent.modal-header\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: center\n # Anchors the overflow divider.\n layout.position: relative\n spacing.gap: dimension.200\n spacing.internal.block.start: dimension.200\n spacing.internal.block.end: dimension.200\n spacing.internal.inline.start: dimension.300\n spacing.internal.inline.end: dimension.300\n appearance.background: color.background\n edges:\n - node:\n role: title\n styles:\n layout.flex.grow: 1\n typography.font: typography.heading.2\n typography.color: color.text\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: global.component.icon_button\n props:\n icon: close\n styles:\n layout.flex.shrink: 0\n relation:\n cardinality: \"1\"\n - node:\n role: overflow divider\n styles:\n layout.position: absolute\n layout.offset.bottom: 0\n layout.offset.left: 0\n size.width: 100%\n # No stroke-thickness symbol of 2px is declared, so the thickness is a\n # literal.\n size.block: 2px\n appearance.background: color.border.muted\n relation:\n # Drawn along the header's bottom edge only while the content continues\n # above it.\n cardinality: \"0..1\"";
9
+ ds:anatomyClassic "## Anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=16903-1164&t=3F9PQQB2fYjyLEYQ-1\n\n## Styling\n\n### Layout and spacing\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=16903-1449&t=3F9PQQB2fYjyLEYQ-1\n\n### Colors\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=16903-3252&t=3F9PQQB2fYjyLEYQ-1\n\n### Typography\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=16903-4116&t=3F9PQQB2fYjyLEYQ-1";
10
+ ds:usage " The modal header is a required part of [Modal](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-3zLQspaZbf), which covers when to use it.";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
13
  ds:documentationStage ds:tag.needsdesign;
@@ -55,231 +55,143 @@ ds:global.subcomponent.modal-header a ds:Subcomponent;
55
55
  ], [
56
56
  a ds:TokenBinding;
57
57
  ds:viaBlock ds:global.subcomponent.modal-header;
58
- ds:node "$root/title";
59
- anatomy:styleKey "typography.font";
58
+ ds:node "$root";
59
+ anatomy:styleKey "appearance.background";
60
60
  anatomy:styleState "default";
61
61
  ds:rank 1;
62
- ds:consumesSymbol dt:typography.heading.2
62
+ ds:consumesSymbol dt:color.background
63
63
  ], [
64
64
  a ds:TokenBinding;
65
65
  ds:viaBlock ds:global.subcomponent.modal-header;
66
66
  ds:node "$root/title";
67
- anatomy:styleKey "typography.weight";
68
- anatomy:styleState "default";
69
- ds:rank 1;
70
- ds:consumesSymbol dt:typography.weight.light
71
- ], [
72
- a ds:TokenBinding;
73
- ds:viaBlock ds:global.subcomponent.modal-header;
74
- ds:node "$root/global.component.button";
75
- anatomy:styleKey "spacing.internal.inline.start";
67
+ anatomy:styleKey "typography.font";
76
68
  anatomy:styleState "default";
77
69
  ds:rank 1;
78
- ds:consumesSymbol dt:dimension.100
70
+ ds:consumesSymbol dt:typography.heading.2
79
71
  ], [
80
72
  a ds:TokenBinding;
81
73
  ds:viaBlock ds:global.subcomponent.modal-header;
82
- ds:node "$root/global.component.button";
83
- anatomy:styleKey "spacing.internal.inline.end";
74
+ ds:node "$root/title";
75
+ anatomy:styleKey "typography.color";
84
76
  anatomy:styleState "default";
85
77
  ds:rank 1;
86
- ds:consumesSymbol dt:dimension.100
78
+ ds:consumesSymbol dt:color.text
87
79
  ], [
88
80
  a ds:TokenBinding;
89
- ds:viaBlock ds:global.component.button;
81
+ ds:viaBlock ds:global.component.icon_button;
90
82
  ds:node "$root";
91
- anatomy:styleKey "appearance.border.width";
83
+ anatomy:styleKey "appearance.background";
92
84
  anatomy:styleState "default";
93
85
  ds:rank 1;
94
- ds:consumesSymbol dt:dimension.stroke.thickness.medium
86
+ ds:consumesSymbol dt:surface.color.foreground.ghost
95
87
  ], [
96
88
  a ds:TokenBinding;
97
- ds:viaBlock ds:global.component.button;
89
+ ds:viaBlock ds:global.component.icon_button;
98
90
  ds:node "$root";
99
91
  anatomy:styleKey "appearance.background";
100
92
  anatomy:styleState "default";
101
- ds:rank 1;
102
- ds:consumesSymbol dt:modifier.color.foreground.primary
93
+ ds:rank 2;
94
+ ds:consumesSymbol dt:modifier.color.foreground.ghost
103
95
  ], [
104
96
  a ds:TokenBinding;
105
- ds:viaBlock ds:global.component.button;
97
+ ds:viaBlock ds:global.component.icon_button;
106
98
  ds:node "$root";
107
99
  anatomy:styleKey "appearance.background";
108
100
  anatomy:styleState "default";
109
- ds:rank 2;
110
- ds:consumesSymbol dt:color.foreground.primary
101
+ ds:rank 3;
102
+ ds:consumesSymbol dt:color.foreground.ghost
111
103
  ], [
112
104
  a ds:TokenBinding;
113
- ds:viaBlock ds:global.component.button;
105
+ ds:viaBlock ds:global.component.icon_button;
114
106
  ds:node "$root";
115
107
  anatomy:styleKey "appearance.background";
116
108
  anatomy:styleState "hover";
117
109
  ds:rank 1;
118
- ds:consumesSymbol dt:color.foreground.primary.hover
110
+ ds:consumesSymbol dt:color.foreground.ghost.hover
119
111
  ], [
120
112
  a ds:TokenBinding;
121
- ds:viaBlock ds:global.component.button;
113
+ ds:viaBlock ds:global.component.icon_button;
122
114
  ds:node "$root";
123
115
  anatomy:styleKey "appearance.background";
124
116
  anatomy:styleState "active";
125
117
  ds:rank 1;
126
- ds:consumesSymbol dt:color.foreground.primary.active
118
+ ds:consumesSymbol dt:color.foreground.ghost.active
127
119
  ], [
128
120
  a ds:TokenBinding;
129
- ds:viaBlock ds:global.component.button;
121
+ ds:viaBlock ds:global.component.icon_button;
130
122
  ds:node "$root";
131
123
  anatomy:styleKey "appearance.background";
132
124
  anatomy:styleState "disabled";
133
125
  ds:rank 1;
134
- ds:consumesSymbol dt:color.foreground.primary.disabled
126
+ ds:consumesSymbol dt:color.foreground.ghost.disabled
135
127
  ], [
136
128
  a ds:TokenBinding;
137
- ds:viaBlock ds:global.component.button;
129
+ ds:viaBlock ds:global.component.icon_button;
138
130
  ds:node "$root";
139
- anatomy:styleKey "appearance.border.color";
140
- anatomy:styleState "default";
141
- ds:rank 1;
142
- ds:consumesSymbol dt:modifier.color.border
143
- ], [
144
- a ds:TokenBinding;
145
- ds:viaBlock ds:global.component.button;
146
- ds:node "$root";
147
- anatomy:styleKey "appearance.border.color";
148
- anatomy:styleState "default";
149
- ds:rank 2;
150
- ds:consumesSymbol dt:color.border.highlighted
151
- ], [
152
- a ds:TokenBinding;
153
- ds:viaBlock ds:global.component.button;
154
- ds:node "$root";
155
- anatomy:styleKey "appearance.border.color";
156
- anatomy:styleState "default";
157
- ds:rank 3;
158
- ds:consumesSymbol dt:color.border
159
- ], [
160
- a ds:TokenBinding;
161
- ds:viaBlock ds:global.component.button;
162
- ds:node "$root";
163
- anatomy:styleKey "appearance.border.color";
164
- anatomy:styleState "disabled";
165
- ds:rank 1;
166
- ds:consumesSymbol dt:color.border.highlighted.disabled
167
- ], [
168
- a ds:TokenBinding;
169
- ds:viaBlock ds:global.component.button;
170
- ds:node "$root";
171
- anatomy:styleKey "typography.color";
172
- anatomy:styleState "default";
131
+ anatomy:styleKey "appearance.outline.color";
132
+ anatomy:styleState "focus";
173
133
  ds:rank 1;
174
- ds:consumesSymbol dt:modifier.color.text
134
+ ds:consumesSymbol dt:modifier.color.focusRing
175
135
  ], [
176
136
  a ds:TokenBinding;
177
- ds:viaBlock ds:global.component.button;
137
+ ds:viaBlock ds:global.component.icon_button;
178
138
  ds:node "$root";
179
- anatomy:styleKey "typography.color";
180
- anatomy:styleState "default";
139
+ anatomy:styleKey "appearance.outline.color";
140
+ anatomy:styleState "focus";
181
141
  ds:rank 2;
182
- ds:consumesSymbol dt:color.text
183
- ], [
184
- a ds:TokenBinding;
185
- ds:viaBlock ds:global.component.button;
186
- ds:node "$root";
187
- anatomy:styleKey "typography.color";
188
- anatomy:styleState "disabled";
189
- ds:rank 1;
190
- ds:consumesSymbol dt:color.text.disabled
191
- ], [
192
- a ds:TokenBinding;
193
- ds:viaBlock ds:global.component.button;
194
- ds:node "$root";
195
- anatomy:styleKey "typography.font";
196
- anatomy:styleState "default";
197
- ds:rank 1;
198
- ds:consumesSymbol dt:typography.text.primary
199
- ], [
200
- a ds:TokenBinding;
201
- ds:viaBlock ds:global.component.button;
202
- ds:node "$root";
203
- anatomy:styleKey "spacing.gap";
204
- anatomy:styleState "default";
205
- ds:rank 1;
206
- ds:consumesSymbol dt:dimension.100
142
+ ds:consumesSymbol dt:color.focusRing
207
143
  ], [
208
144
  a ds:TokenBinding;
209
- ds:viaBlock ds:global.component.button;
210
- ds:node "$root";
211
- anatomy:styleKey "spacing.internal.inline.start";
145
+ ds:viaBlock ds:global.component.icon_button;
146
+ ds:node "$root/icon wrapper/case[global.component.icon]";
147
+ anatomy:styleKey "size.width";
212
148
  anatomy:styleState "default";
213
149
  ds:rank 1;
214
150
  ds:consumesSymbol dt:dimension.200
215
151
  ], [
216
152
  a ds:TokenBinding;
217
- ds:viaBlock ds:global.component.button;
218
- ds:node "$root";
219
- anatomy:styleKey "spacing.internal.inline.end";
153
+ ds:viaBlock ds:global.component.icon_button;
154
+ ds:node "$root/icon wrapper/case[global.component.icon]";
155
+ anatomy:styleKey "size.height";
220
156
  anatomy:styleState "default";
221
157
  ds:rank 1;
222
158
  ds:consumesSymbol dt:dimension.200
223
159
  ], [
224
160
  a ds:TokenBinding;
225
- ds:viaBlock ds:global.component.button;
226
- ds:node "$root";
227
- anatomy:styleKey "appearance.outline.color";
228
- anatomy:styleState "focus";
229
- ds:rank 1;
230
- ds:consumesSymbol dt:modifier.color.focusRing
231
- ], [
232
- a ds:TokenBinding;
233
- ds:viaBlock ds:global.component.button;
234
- ds:node "$root";
235
- anatomy:styleKey "appearance.outline.color";
236
- anatomy:styleState "focus";
237
- ds:rank 2;
238
- ds:consumesSymbol dt:color.focusRing
239
- ], [
240
- a ds:TokenBinding;
241
- ds:viaBlock ds:global.component.button;
242
- ds:node "$root/icon";
161
+ ds:viaBlock ds:global.component.icon_button;
162
+ ds:node "$root/icon wrapper/case[global.component.icon]";
243
163
  anatomy:styleKey "typography.color";
244
164
  anatomy:styleState "default";
245
165
  ds:rank 1;
246
166
  ds:consumesSymbol dt:modifier.color.icon
247
167
  ], [
248
168
  a ds:TokenBinding;
249
- ds:viaBlock ds:global.component.button;
250
- ds:node "$root/icon";
169
+ ds:viaBlock ds:global.component.icon_button;
170
+ ds:node "$root/icon wrapper/case[global.component.icon]";
251
171
  anatomy:styleKey "typography.color";
252
172
  anatomy:styleState "default";
253
173
  ds:rank 2;
254
- ds:consumesSymbol dt:modifier.color.text
174
+ ds:consumesSymbol dt:color.icon
255
175
  ], [
256
176
  a ds:TokenBinding;
257
- ds:viaBlock ds:global.component.button;
258
- ds:node "$root/icon";
177
+ ds:viaBlock ds:global.component.icon_button;
178
+ ds:node "$root/icon wrapper/case[global.component.icon]";
259
179
  anatomy:styleKey "typography.color";
260
180
  anatomy:styleState "disabled";
261
181
  ds:rank 1;
262
182
  ds:consumesSymbol dt:color.icon.disabled
263
183
  ], [
264
184
  a ds:TokenBinding;
265
- ds:viaBlock ds:global.subcomponent.modal-header;
266
- ds:node "$root/divider rule";
267
- anatomy:styleKey "layout.offset.inline.start";
268
- anatomy:styleState "default";
269
- ds:rank 1;
270
- ds:consumesSymbol dt:dimension.300
271
- ], [
272
- a ds:TokenBinding;
273
- ds:viaBlock ds:global.subcomponent.modal-header;
274
- ds:node "$root/divider rule";
275
- anatomy:styleKey "size.block";
185
+ ds:viaBlock ds:global.component.icon_button;
186
+ ds:node "$root/icon wrapper/case[global.subcomponent.spinner]";
187
+ anatomy:styleKey "typography.color";
276
188
  anatomy:styleState "default";
277
189
  ds:rank 1;
278
- ds:consumesSymbol dt:dimension.stroke.thickness.medium
190
+ ds:consumesSymbol dt:color.icon
279
191
  ], [
280
192
  a ds:TokenBinding;
281
193
  ds:viaBlock ds:global.subcomponent.modal-header;
282
- ds:node "$root/divider rule";
194
+ ds:node "$root/overflow divider";
283
195
  anatomy:styleKey "appearance.background";
284
196
  anatomy:styleState "default";
285
197
  ds:rank 1;
@@ -6,7 +6,6 @@ ds:global.subcomponent.month_input a ds:Subcomponent;
6
6
  ds:name "MonthInput";
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.subcomponent.number_input a ds:Subcomponent;
6
6
  ds:name "NumberInput";
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.subcomponent.password_input a ds:Subcomponent;
6
6
  ds:name "PasswordInput";
7
7
  ds:summary "The masked secret-entry part a host field places in context: it obscures the value as it is entered and provides a reveal/mask toggle so the user can check what they typed. It is consumed by controls such as PasswordField and is not used on its own.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form\n# src/lib/subcomponent/PasswordInput/styles.css on .ds.input.password and its\n# child selectors (> input, > .reveal-toggle, > .reveal-toggle > .reveal-icon),\n# together with the shared `.ds.input.chrome` rule in src/index.css, which the\n# component's own class list (`ds input password chrome`) puts on this same\n# element.\nnode:\n uri: global.subcomponent.password_input\n styles:\n # A composite wrapper: it overrides the chrome's `display: block` and resets\n # its padding, because the inner <input> is the text-bearing leaf.\n layout.type: flex\n layout.align: stretch\n layout.position: relative\n layout.boxSizing: border-box\n typography.direction: inherit\n size.width: 100%\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 shared input chrome (src/index.css, `.ds.input.chrome`) ──────────\n appearance.border.width: dimension.stroke.thickness.medium\n appearance.border.style: solid\n # The base theme is bottom-border-only: `border-color` is set from\n # --form-input-border-color, and then the top, right and left colours are\n # overridden to `transparent` (--form-input-border-color-{top,right,left}),\n # so only the bottom edge paints. The four-side key therefore takes the\n # literal the three overridden sides end at, and the bottom key the token\n # the fourth falls through to.\n appearance.border.color: transparent\n appearance.border.bottom.color: color.border\n # A `.danger` field — a failed validation — repaints the bottom border alone,\n # through --form-input-border-color-bottom.\n appearance.border.bottom.color@invalid: color.border.error\n appearance.radius: dimension.radius.small\n appearance.background: color.foreground.input\n typography.color: color.text\n # The font-family, font-size and line-height facets of the text-primary\n # composite are read (--typography-text-primary-font-family, and its\n # font-size and line-height through --form-input-font-size and\n # --form-input-line-height), so the composite is bound once: typography.size\n # admits dimension.* alone.\n typography.font: typography.text.primary\n motion.property: border-color, box-shadow\n # The hover fill reads --hover--color-foreground-input first, a computed state\n # variable that no stratum declares as a symbol.\n appearance.background@hover: color.foreground.input.hover\n # Focus lights all four edges and drops the user-agent outline for a ring of\n # its own.\n appearance.border.color@focus: color.focusRing\n appearance.outline.style@focus: none\n # A disabled control keeps its border BOX so its height still matches an\n # enabled one, and drops only the paint.\n appearance.background@disabled: color.foreground.input.disabled\n appearance.border.color@disabled: transparent\n interaction.cursor@disabled: not-allowed\n # Not bound, and why:\n # - height reads --form-input-height, a calc() over --space-baseline, which\n # no stratum declares;\n # - padding-block reads --form-input-padding-block, then\n # --component-padding-block, neither of which is declared. A density scope\n # re-derives the INLINE padding (--form-input-padding-inline, from\n # --density-padding-inline then --space-200) and never padding-block;\n # - the focus ring and the disabled text colour are a box-shadow at\n # --form-focus-ring-color and a read of --disabled--color-text: no roster\n # key takes a box-shadow, and the computed state variable is not a symbol;\n # - the transition duration reads --motion-duration-fast, undeclared;\n # - a `.danger` field lights the focus ring at color.focusRing.error, which\n # needs the compound of invalid and focus that this version of the\n # notation reserves. Its bottom border is bound above.\n edges:\n - node:\n role: masked value\n styles:\n layout.flex.grow: 1\n layout.flex.shrink: 1\n layout.flex.basis: 0%\n size.min.width: 0\n appearance.border.style: none\n appearance.background: transparent\n appearance.outline.style: none\n typography.color: inherit\n typography.fontFamily: inherit\n # The leaf carries the inline padding, which reads\n # --form-input-padding-inline then --component-padding-inline: neither\n # is declared. Font-size, line-height and the baseline nudges come from\n # the `.p` class.\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n role: reveal toggle\n styles:\n layout.type: flex\n layout.align: center\n layout.justify: center\n appearance.border.style: none\n appearance.background: transparent\n typography.color: color.icon\n appearance.outline.style@focus: none\n interaction.cursor: pointer\n appearance.radius@focus: dimension.radius.small\n # The toggle keeps color.icon in every pointer state, per design\n # review, so there is no hover binding. Its focus ring is a box-shadow\n # at color.focusRing, which no roster key takes. padding-inline reads\n # --form-field-inline-gap then --container-gap-default, undeclared.\n edges:\n - node:\n role: reveal icon\n styles:\n size.width: dimension.200\n size.height: dimension.200\n appearance.background: currentColor\n # show.svg and hide.svg from @canonical/ds-assets, applied as a\n # mask keyed off data-state so the glyph takes currentColor; no\n # roster key takes a mask.\n relation:\n cardinality: \"1\"\n relation:\n # The toggle is rendered only when the input is `revealable`.\n cardinality: \"0..1\"\n slotName: suffix";
9
- ds:anatomyClassic "";
10
9
  ds:usage "The concealed single-line entry part a host places in context for sensitive text that must be obscured as it is typed.\n\n\n\n### When to use\n\n- A host collects a secret credential or sensitive string that should not be shown.\n\n- Typed characters must be masked from onlookers during entry.\n\n\n\n### When not to use\n\n- The text is ordinary and should remain readable — compose [TextInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-csRvI-VTpO) .";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.subcomponent.phone_input a ds:Subcomponent;
6
6
  ds:name "PhoneInput";
7
7
  ds:summary "The composite phone-entry part a host field places in context: a country selector paired with a number-entry area. It is consumed by controls such as PhoneField and is not used on its own.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form\n# src/lib/subcomponent/PhoneInput/styles.css on .ds.input.phone and its child\n# selectors (> .country-select, > .number-input), together with the shared\n# `.ds.input.chrome` rule in src/index.css, which the component's own class list\n# (`ds input phone chrome`) puts on this same element.\nnode:\n uri: global.subcomponent.phone_input\n styles:\n # A composite wrapper: two controls share one visual box, so it overrides the\n # chrome's `display: block` and resets its padding.\n layout.type: flex\n layout.align: stretch\n layout.boxSizing: border-box\n size.width: 100%\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 shared input chrome (src/index.css, `.ds.input.chrome`) ──────────\n appearance.border.width: dimension.stroke.thickness.medium\n appearance.border.style: solid\n # The base theme is bottom-border-only: `border-color` is set from\n # --form-input-border-color, and then the top, right and left colours are\n # overridden to `transparent` (--form-input-border-color-{top,right,left}),\n # so only the bottom edge paints. The four-side key therefore takes the\n # literal the three overridden sides end at, and the bottom key the token\n # the fourth falls through to.\n appearance.border.color: transparent\n appearance.border.bottom.color: color.border\n # A `.danger` field — a failed validation — repaints the bottom border alone,\n # through --form-input-border-color-bottom.\n appearance.border.bottom.color@invalid: color.border.error\n appearance.radius: dimension.radius.small\n appearance.background: color.foreground.input\n typography.color: color.text\n # The font-family, font-size and line-height facets of the text-primary\n # composite are read (--typography-text-primary-font-family, and its\n # font-size and line-height through --form-input-font-size and\n # --form-input-line-height), so the composite is bound once: typography.size\n # admits dimension.* alone.\n typography.font: typography.text.primary\n motion.property: border-color, box-shadow\n # The hover fill reads --hover--color-foreground-input first, a computed state\n # variable that no stratum declares as a symbol.\n appearance.background@hover: color.foreground.input.hover\n # Focus lights all four edges and drops the user-agent outline for a ring of\n # its own.\n appearance.border.color@focus: color.focusRing\n appearance.outline.style@focus: none\n # A disabled control keeps its border BOX so its height still matches an\n # enabled one, and drops only the paint.\n appearance.background@disabled: color.foreground.input.disabled\n appearance.border.color@disabled: transparent\n interaction.cursor@disabled: not-allowed\n # Not bound, and why:\n # - height reads --form-input-height, a calc() over --space-baseline, which\n # no stratum declares;\n # - padding-block reads --form-input-padding-block, then\n # --component-padding-block, neither of which is declared. A density scope\n # re-derives the INLINE padding (--form-input-padding-inline, from\n # --density-padding-inline then --space-200) and never padding-block;\n # - the focus ring and the disabled text colour are a box-shadow at\n # --form-focus-ring-color and a read of --disabled--color-text: no roster\n # key takes a box-shadow, and the computed state variable is not a symbol;\n # - the transition duration reads --motion-duration-fast, undeclared;\n # - a `.danger` field lights the focus ring at color.focusRing.error, which\n # needs the compound of invalid and focus that this version of the\n # notation reserves. Its bottom border is bound above.\n edges:\n - node:\n role: country selector\n styles:\n appearance.native: none\n appearance.border.style: none\n appearance.background: transparent\n typography.color: inherit\n typography.fontFamily: inherit\n typography.whiteSpace: nowrap\n interaction.cursor: pointer\n size.min.width: 5.5rem\n # The separator between the two controls: a border-inline-end at\n # --form-input-border-width. The roster has an inline-end colour key\n # but no inline-end width key, so only the colour is bound.\n appearance.border.inline.end.color: color.border\n # Focus tints the selector with the input hover fill; its first rank,\n # --hover--color-foreground-input, is a computed state variable that no\n # stratum declares as a symbol.\n appearance.background@focus: color.foreground.input.hover\n appearance.outline.style@focus: none\n interaction.cursor@disabled: not-allowed\n # Not bound: padding-inline and padding-inline-end read\n # --form-input-padding-inline / --form-field-inline-gap, then\n # --component-padding-inline / --container-gap-default, none declared;\n # the disabled text colour reads --form-input-color-disabled, i.e. the\n # computed --disabled--color-text; and the disabled separator colour is\n # `transparent`, which the inline-end colour key (token only) cannot\n # take. The `.p` class supplies font-size, line-height and the\n # baseline nudges.\n relation:\n cardinality: \"1\"\n - node:\n role: number entry\n styles:\n layout.flex.grow: 1\n layout.flex.shrink: 1\n layout.flex.basis: 0%\n size.min.width: 0\n appearance.border.style: none\n appearance.background: transparent\n appearance.outline.style: none\n typography.color: inherit\n typography.fontFamily: inherit\n interaction.cursor@disabled: not-allowed\n # The leaf carries the inline padding (--form-input-padding-inline,\n # then --component-padding-inline: undeclared), and its disabled text\n # colour reads the computed --disabled--color-text.\n relation:\n cardinality: \"1\"\n slotName: default";
9
- ds:anatomyClassic "";
10
9
  ds:usage "The telephone-number entry part a host places in context when the value follows dialling conventions.\n\n\n\n### When to use\n\n- A host collects a phone number that benefits from regional formatting and validation.\n\n- The value should be guided toward a recognised dialling pattern.\n\n\n\n### When not to use\n\n- The value is free-form text with no number conventions — compose [TextInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-csRvI-VTpO) .\n\n- The value is a general numeric quantity within a range — compose [RangeInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-UoMsaXBhOs) .";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.subcomponent.radio_input a ds:Subcomponent;
6
6
  ds:name "RadioInput";
7
7
  ds:summary "The atomic single-select option part a host places in context: one selectable choice within a mutually-exclusive set. It is consumed by a choices group (e.g. single-select Choices/SimpleChoices) which supplies the set, labelling, and validation; it is not used on its own.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form\n# src/lib/subcomponent/RadioInput/styles.css on .ds.form-radio. The atomic radio\n# control: a circular native input with the design-system selection chrome,\n# carrying no label — the host supplies it.\nnode:\n uri: global.subcomponent.radio_input\n styles:\n appearance.native: none\n layout.boxSizing: border-box\n # margin-inline reads --form-input-padding-inline, then\n # --component-padding-inline: neither is declared.\n # A 16px control: a fixed element size, deliberately NOT a baseline multiple.\n size.width: dimension.200\n size.height: dimension.200\n appearance.border.width: dimension.stroke.thickness.medium\n appearance.border.style: solid\n appearance.border.color: color.border\n appearance.radius: 50%\n # The unselected fill reads the surface channel so the control adapts to\n # OnSurface stepping, then the flat token.\n appearance.background: [surface.color.foreground.radio.unselected, color.foreground.radio.unselected]\n appearance.background@hover: color.foreground.radio.unselected.hover\n # Selected, the ring border takes the selected token; the dot itself is a\n # radial-gradient (selected at 40%, unselected from 41%), which no roster key\n # takes. Its first rank, --surface-color-foreground-radio-selected, is not\n # declared: the surface family mints channels for the checkmark and the\n # unselected fill only.\n appearance.border.color@selected: color.foreground.radio.selected\n appearance.border.color@focus: color.focusRing\n appearance.outline.style@focus: none\n appearance.border.color@disabled: color.border.disabled\n appearance.background@disabled: color.foreground.radio.unselected.disabled\n interaction.cursor: pointer\n interaction.cursor@disabled: not-allowed\n motion.property: background-color, border-color\n # Not bound: the transition duration reads --motion-duration-fast; the focus\n # ring is a box-shadow at color.focusRing; and a hovered selected radio\n # repaints the gradient from --hover--color-foreground-radio-selected, a\n # computed state variable that is not a symbol and would need a compound\n # state in any case.";
9
- ds:anatomyClassic "";
10
9
  ds:usage "The mutually-exclusive single-choice entry part a host places in context when exactly one option must win from a small set.\n\n### When to use\n- A host presents a short, fully visible set of options where only one may be chosen.\n- Seeing all options side by side aids the decision.\n\n### When not to use\n- Several choices may be active at once — compose **CheckboxInput**.\n- The option set is long or searchable — compose **SelectInput** or **ComboboxInput**.";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;