@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
@@ -5,90 +5,8 @@
5
5
  ds:global.subcomponent.range_input a ds:Subcomponent;
6
6
  ds:name "RangeInput";
7
7
  ds:summary "The slider part a host field places in context: a track the user drags to set a value within bounds, paired with a live readout of the current value. Consumed by controls such as RangeField; not used on its own.";
8
- ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form\n# src/lib/subcomponent/RangeInput/styles.css on .ds.range (with its\n# ::-webkit-slider-runnable-track / ::-moz-range-track and\n# ::-webkit-slider-thumb / ::-moz-range-thumb) and on .ds.range-output. The\n# component renders a FRAGMENT — the slider and its live <output> readout are\n# siblings, with no wrapper element between them — so the root of this anatomy\n# is the subcomponent itself and carries no styles: `@implements` sits on the\n# component, and the .ds.range declarations belong to the slider child below.\nnode:\n uri: global.subcomponent.range_input\n edges:\n - node:\n role: track\n styles:\n appearance.native: none\n size.width: 100%\n # The element box is as tall as the THUMB, so neither the thumb nor its\n # focus ring is ever clipped in a flex row; the visible bar is painted\n # by the track pseudo-elements and centred within this box.\n size.height: dimension.200\n appearance.background: transparent\n appearance.border.style: none\n appearance.outline.style: none\n interaction.cursor: pointer\n interaction.cursor@disabled: not-allowed\n edges:\n - node:\n role: bar\n styles:\n # The vendor track pseudo-element keeps a user-agent border even\n # after `appearance: none`, so the flat bar is painted here, 8px\n # tall, in both the WebKit and the Firefox spelling.\n size.height: dimension.100\n appearance.background: color.foreground.slider.track\n appearance.background@disabled: color.foreground.slider.track.disabled\n appearance.border.style: none\n appearance.radius: dimension.radius.small\n relation:\n cardinality: \"1\"\n - node:\n role: thumb\n styles:\n size.width: dimension.200\n size.height: dimension.200\n appearance.radius: 50%\n appearance.background: color.foreground.slider.progress\n appearance.background@disabled: color.foreground.slider.progress.disabled\n appearance.border.style: none\n interaction.cursor: pointer\n # margin-top re-centres the 16px thumb on the 8px bar as a calc()\n # over the two dimension tokens, and the focus ring is a\n # box-shadow at color.focusRing: neither has a roster key.\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n role: value readout\n styles:\n layout.type: block\n typography.align: center\n typography.color: color.text.muted\n # Font-size, line-height and the baseline nudges come from the `.p`\n # class on the <output>, not from this rule.\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
8
+ ds:anatomyDsl "---\n\n# Authored 2026-09-13 from @canonical/react-ds-global-form\n\n# src/lib/subcomponent/RangeInput/styles.css on .ds.range (with its\n\n# ::-webkit-slider-runnable-track / ::-moz-range-track and\n\n# ::-webkit-slider-thumb / ::-moz-range-thumb) and on .ds.range-output. The\n\n# component renders a FRAGMENT — the slider and its live <output> readout are\n\n# siblings, with no wrapper element between them — so the root of this anatomy\n\n# is the subcomponent itself and carries no styles: `@implements` sits on the\n\n# component, and the .ds.range declarations belong to the slider child below.\n\n```\nnode:\n uri: global.subcomponent.range_input\n edges:\n - node:\n role: track\n styles:\n appearance.native: none\n size.width: 100%\n # The element box is as tall as the THUMB, so neither the thumb nor its\n # focus ring is ever clipped in a flex row; the visible bar is painted\n # by the track pseudo-elements and centred within this box.\n size.height: dimension.200\n appearance.background: transparent\n appearance.border.style: none\n appearance.outline.style: none\n interaction.cursor: pointer\n interaction.cursor@disabled: not-allowed\n edges:\n - node:\n role: bar\n styles:\n # The vendor track pseudo-element keeps a user-agent border even\n # after `appearance: none`, so the flat bar is painted here, 8px\n # tall, in both the WebKit and the Firefox spelling.\n size.height: dimension.100\n appearance.background: color.foreground.slider.track\n appearance.background@disabled: color.foreground.slider.track.disabled\n appearance.border.style: none\n appearance.radius: dimension.radius.small\n relation:\n cardinality: \"1\"\n - node:\n role: thumb\n styles:\n size.width: dimension.200\n size.height: dimension.200\n appearance.radius: 50%\n appearance.background: color.foreground.slider.progress\n appearance.background@disabled: color.foreground.slider.progress.disabled\n appearance.border.style: none\n interaction.cursor: pointer\n # margin-top re-centres the 16px thumb on the 8px bar as a calc()\n # over the two dimension tokens, and the focus ring is a\n # box-shadow at color.focusRing: neither has a roster key.\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n role: value readout\n styles:\n layout.type: block\n typography.align: center\n typography.color: color.text.muted\n # Font-size, line-height and the baseline nudges come from the `.p`\n # class on the <output>, not from this rule.\n relation:\n cardinality: \"1\"\n```\n\n";
10
9
  ds:usage "The bounded-quantity entry part a host places in context when a value is selected along a continuous span.\n\n\n\n### When to use\n\n- A host collects a numeric value between a known minimum and maximum.\n\n- Approximate, relative selection along a scale matters more than an exact figure.\n\n\n\n### When not to use\n\n- A precise number or arbitrary text is needed — compose [TextInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-csRvI-VTpO) .\n\n- The value is one option from a labelled set — compose [SelectInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-EVwqNhd3WH) or [RadioInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-x_sKubP8Qh) .";
11
- ds:guidelines "";
10
+ ds:guidelines "\n\nReference\n\n[Canonical internal] [DE080](https://docs.google.com/document/d/19k-5YOuQc6B82mYPEwvmlJpui3Oex4o8ACwKBbo-d44/edit?usp=sharing) - Accessibility consideration for syncing a slider and an input to control one value\n\n";
12
11
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needscoredocumentation;
14
- ds:hasTokenBinding [
15
- a ds:TokenBinding;
16
- ds:viaBlock ds:global.subcomponent.range_input;
17
- ds:node "$root/track";
18
- anatomy:styleKey "size.height";
19
- anatomy:styleState "default";
20
- ds:rank 1;
21
- ds:consumesSymbol dt:dimension.200
22
- ], [
23
- a ds:TokenBinding;
24
- ds:viaBlock ds:global.subcomponent.range_input;
25
- ds:node "$root/track/bar";
26
- anatomy:styleKey "size.height";
27
- anatomy:styleState "default";
28
- ds:rank 1;
29
- ds:consumesSymbol dt:dimension.100
30
- ], [
31
- a ds:TokenBinding;
32
- ds:viaBlock ds:global.subcomponent.range_input;
33
- ds:node "$root/track/bar";
34
- anatomy:styleKey "appearance.background";
35
- anatomy:styleState "default";
36
- ds:rank 1;
37
- ds:consumesSymbol dt:color.foreground.slider.track
38
- ], [
39
- a ds:TokenBinding;
40
- ds:viaBlock ds:global.subcomponent.range_input;
41
- ds:node "$root/track/bar";
42
- anatomy:styleKey "appearance.background";
43
- anatomy:styleState "disabled";
44
- ds:rank 1;
45
- ds:consumesSymbol dt:color.foreground.slider.track.disabled
46
- ], [
47
- a ds:TokenBinding;
48
- ds:viaBlock ds:global.subcomponent.range_input;
49
- ds:node "$root/track/bar";
50
- anatomy:styleKey "appearance.radius";
51
- anatomy:styleState "default";
52
- ds:rank 1;
53
- ds:consumesSymbol dt:dimension.radius.small
54
- ], [
55
- a ds:TokenBinding;
56
- ds:viaBlock ds:global.subcomponent.range_input;
57
- ds:node "$root/track/thumb";
58
- anatomy:styleKey "size.width";
59
- anatomy:styleState "default";
60
- ds:rank 1;
61
- ds:consumesSymbol dt:dimension.200
62
- ], [
63
- a ds:TokenBinding;
64
- ds:viaBlock ds:global.subcomponent.range_input;
65
- ds:node "$root/track/thumb";
66
- anatomy:styleKey "size.height";
67
- anatomy:styleState "default";
68
- ds:rank 1;
69
- ds:consumesSymbol dt:dimension.200
70
- ], [
71
- a ds:TokenBinding;
72
- ds:viaBlock ds:global.subcomponent.range_input;
73
- ds:node "$root/track/thumb";
74
- anatomy:styleKey "appearance.background";
75
- anatomy:styleState "default";
76
- ds:rank 1;
77
- ds:consumesSymbol dt:color.foreground.slider.progress
78
- ], [
79
- a ds:TokenBinding;
80
- ds:viaBlock ds:global.subcomponent.range_input;
81
- ds:node "$root/track/thumb";
82
- anatomy:styleKey "appearance.background";
83
- anatomy:styleState "disabled";
84
- ds:rank 1;
85
- ds:consumesSymbol dt:color.foreground.slider.progress.disabled
86
- ], [
87
- a ds:TokenBinding;
88
- ds:viaBlock ds:global.subcomponent.range_input;
89
- ds:node "$root/value readout";
90
- anatomy:styleKey "typography.color";
91
- anatomy:styleState "default";
92
- ds:rank 1;
93
- ds:consumesSymbol dt:color.text.muted
94
- ].
12
+ ds:documentationStage ds:tag.needscoredocumentation.
@@ -6,7 +6,6 @@ ds:global.subcomponent.rating_input a ds:Subcomponent;
6
6
  ds:name "RatingInput";
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.subcomponent.rich_text_input a ds:Subcomponent;
6
6
  ds:name "RichTextInput";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -10,18 +10,18 @@ ds:global.subcomponent.search_input a ds:Subcomponent;
10
10
  ds:usage "The Search component provides users with a text input field to query and locate content within an application. It consists of an input field, a “search” icon for visual affordance, and a “clear” icon to reset the query. This component is well-suited for applications with substantial content where users benefit from quickly finding specific items, such as documentation sites, marketing sites and data-heavy dashboards.\n\n### When to Use\n\n- The application contains substantial content that users need to locate quickly\n- Users have a specific item or piece of information in mind and need to find it efficiently\n- Content is distributed across multiple pages, sections, or categories\n- The interface includes filterable lists, tables, or collections that benefit from query-based narrowing\n- Users are likely to repeat searches or refine queries during a session\n\n### When Not to Use\n\n- The content set is small enough that users can scan it without assistance\n- If filters better serves the use case\n- The application lacks sufficient content to warrant a dedicated search function\n- Users are engaged in a guided flow where search would interrupt the intended progression\n- The data structure does not support meaningful text-based querying";
11
11
  ds:guidelines "### Instant search vs submit-based search\n\nThe choice between instant search and submit-based search should be driven primarily by performance considerations. If the expected time for a search to execute exceeds one second, submit-based search is the appropriate choice. When search results can be returned in under one second, instant search may be considered.\n\nInstant search provides an improved user experience by making the application feel more responsive and real-time. This approach works best when searching small, well-defined domains such as settings menus, available actions, or filtered lists. Implementing a debounce on the input is optional but can help reduce unnecessary requests during rapid typing.\n\nSubmit-based search is appropriate when search performance cannot meet the responsiveness threshold required for instant search, or when the search domain is large and not well-defined. Examples include searching across an entire website, application, or external database where query execution inherently requires more time.\n\n### Suggested searches drawer\n\nSuggested search queries are presented in a drawer. They are only compatible with submit-based search. This feature displays possible queries to help users compose their search terms and understand available syntax. As the user types, the component can prefetch results based on the current partial query and display a summary of potential matches. This approach bridges the gap between the immediacy of instant search and the intentionality of submit-based search by providing feedback without committing to a full search execution.\n\n### Results display\n\nSearch results can be presented in several locations depending on context:\n\n- **Current page:** Displaying results on the current page is appropriate when searching within content that is already visible, such as filtering rows in a table or narrowing items on a listing page. This approach is also the standard for instant search implementations where results update in place.\n- **New page:** Results should be displayed on a new page when the content being searched is not currently visible in the interface, such as a global site search that spans multiple sections or content types. \n- **Drawer:** Presenting results in a drawer is suitable for instant search scenarios where an overlay provides quick access to matches without navigating away from the current context. In all display modes, highlighting matched strings within results helps users quickly identify why each result was returned.\n\n### Clear icon behavior\n\nThe clear icon resets the search query, but its broader effect depends on the search type in use. With instant search, clicking the clear icon also clears the displayed results, returning the interface to its pre-search state. With submit-based search, the clear button removes the query text but does not affect previously submitted results, as those results represent a completed action. When submit-based search is combined with a suggested searches drawer, the clear icon dismisses the suggestions and returns the drawer to its default state.\n\n### Keyboard navigation\n\nA well-designed search experience must be centered around keyboard interaction. Users should be able to complete their entire search workflow, including composing queries, reviewing suggestions, and selecting results, without reaching for a mouse. Click-dependent search interfaces introduce unnecessary friction and slow users down.\n\n### Placement\n\nThe placement of a search component should reflect the scope of content it searches:\n\n- **Global:** When search spans an entire application or website, the component belongs in the global navigation where it remains persistently accessible regardless of the current page. \n- **Page:** For search that applies to the content of a single page, position the component at the top of that page above the searchable content. \n- **Subsection:** When search targets a specific subsection, such as a panel or module within a larger page, place the search input directly above that subsection to clearly communicate its scope.";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needstriage;
13
+ ds:changeLog [
14
+ a ds:ChangeLogEntry;
15
+ ds:timestamp "2026-04-27T00:00:00.000+02:00";
16
+ ds:changeType "change"
17
+ ];
14
18
  ds:hasProperty [
15
19
  a ds:Property;
16
20
  ds:name "Placeholder text";
17
21
  ds:summary "The placeholder text should specify what the scope of the search is. It should always include the word e.g. “Search machines”.";
18
22
  ds:propertyType "text";
19
23
  ds:optional "false";
20
- ds:constraints "Include “Search” at the beginning of the placeholder string.";
21
- ds:defaultValue "Search"
24
+ ds:defaultValue "Search";
25
+ ds:constraints "Include “Search” at the beginning of the placeholder string."
22
26
  ];
23
- ds:changeLog [
24
- a ds:ChangeLogEntry;
25
- ds:timestamp "2026-04-27T00:00:00.000+02:00";
26
- ds:changeType "change"
27
- ].
27
+ ds:documentationStage ds:tag.needstriage.
@@ -6,7 +6,6 @@ ds:global.subcomponent.segmented_control_input a ds:Subcomponent;
6
6
  ds:name "SegmentedControlInput";
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.subcomponent.select_input a ds:Subcomponent;
6
6
  ds:name "SelectInput";
7
7
  ds:summary "The single-choice dropdown part a host field places in context: a collapsed control that reveals a list of mutually-exclusive options. Consumed by controls such as SelectField.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form\n# src/lib/subcomponent/SelectInput/styles.css on .ds.input.select, together with\n# the shared `.ds.input.chrome` rule in src/index.css, which the component's own\n# class list (`ds input select chrome`) puts on this same element. A native\n# <select>: the element itself is the text-bearing leaf and the options are its\n# own children.\nnode:\n uri: global.subcomponent.select_input\n styles:\n layout.type: block\n layout.boxSizing: border-box\n size.width: 100%\n appearance.native: none\n # The chevron is DRAWN, not masked: a <select> is a replaced element with no\n # ::before to mask, and a background-image SVG cannot be recoloured, so two\n # diagonally-striped linear-gradients butted together form the chevron\n # stroke, coloured by --select-caret-color (color.icon, then currentColor)\n # and sized by --select-caret-half (0.4em per half). The roster minted these\n # three primitive keys for exactly this case, so the literals are\n # transcribed; the two component-local variables stay in them, because that\n # is what the implementation writes.\n appearance.background.image: \"linear-gradient(45deg, transparent 42%, var(--select-caret-color) 42%, var(--select-caret-color) 58%, transparent 58%), linear-gradient(135deg, transparent 42%, var(--select-caret-color) 42%, var(--select-caret-color) 58%, transparent 58%)\"\n appearance.background.position: \"right calc(var(--form-input-padding-inline) + var(--select-caret-half)) center, right var(--form-input-padding-inline) center\"\n appearance.background.repeat: no-repeat\n appearance.background.size: var(--select-caret-half) var(--select-caret-half)\n # The element carries the inline padding itself (the chrome supplies only the\n # block padding): the start side reads --form-input-padding-inline, then\n # --component-padding-inline, neither declared, and the end side is a calc()\n # over it leaving room for the chevron.\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: option\n # The <option> children carry no rule of their own in the stylesheet.\n relation:\n cardinality: \"1..*\"\n slotName: default";
9
- ds:anatomyClassic "";
10
9
  ds:usage "The condensed single-choice entry part a host places in context to pick one option from a list revealed on demand.\n\n### When to use\n- A host offers a moderate set of options that should stay collapsed until needed.\n- Conserving space matters and all options need not be shown at once.\n\n### When not to use\n- The set is short and choosing benefits from full visibility — compose **RadioInput**.\n- The set is large enough to need typing to filter — compose **ComboboxInput**.\n- Several options may be selected together — compose **CheckboxInput**.";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.subcomponent.spin_button a ds:Subcomponent;
6
6
  ds:name "SpinButton";
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.subcomponent.spinner a ds:Subcomponent;
6
6
  ds:name "Spinner";
7
7
  ds:summary "A looping activity indicator built from the spinner icon (the Canonical “circle of friends”), rotating continuously to signal that work is in progress.\n\nThe Spinner is a single element: the spinner icon rotated continuously by a motion animation. It has no text of its own — labeling is the responsibility of the consumer (e.g. Button, Combobox.Loading).";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global\n# src/lib/subcomponent/Spinner/styles.css on .ds.spinner.\nnode:\n uri: global.subcomponent.spinner\n styles:\n layout.type: inline-block\n layout.verticalAlign: middle\n # The size cascade is --spinner-size (a per-instance override) then\n # --icon-size (the shared icon convention) then 1em, so the spinner tracks\n # the container font-size. Neither variable is declared, so the literal the\n # chain falls back to is written.\n size.width: 1em\n size.height: 1em\n # The rotation is a keyframe animation at --spinner-duration (1s fallback,\n # linear, infinite); no roster key takes an animation, and no ratified motion\n # token is that long.\n # The icon edge the notation carried is dropped: the implementation renders the\n # `spinner` glyph itself, as an <svg> with a <use> reference to\n # spinner.svg#spinner, rather than composing global.component.icon.";
9
- ds:anatomyClassic "";
10
9
  ds:usage "### When to use\n\n- **Indeterminate waits:** an action is in progress and its duration is unknown (button submitting, options loading).\n\n### When not to use\n\n- **Determinate progress:** use a progress bar when completion \ncan be measured.";
11
10
  ds:guidelines "- **Motion:** rotates via a motion token; honours `prefers-reduced-motion`.\n- **Accessibility:** decorative by default; the \nsurrounding control owns the accessible status text.\n\n";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.subcomponent.switch_input a ds:Subcomponent;
6
6
  ds:name "SwitchInput";
7
7
  ds:summary "The atomic on/off toggle part a host places in context, carrying the binary state and the user's flip interaction; consumed by components such as SwitchField. Not used on its own.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form\n# src/lib/subcomponent/SwitchInput/styles.css on .ds.form-switch and its ::before\n# knob. A checkbox with role=\"switch\" styled as a sliding pill: the track is the\n# <input> box, the knob is a pseudo-element that slides from one end to the\n# other.\nnode:\n uri: global.subcomponent.switch_input\n styles:\n appearance.native: none\n layout.boxSizing: border-box\n layout.position: relative\n # margin-inline reads --form-label-padding-inline, undeclared, falling back\n # to 0: the control aligns to the field edge like the label.\n spacing.external.inline.start: 0\n spacing.external.inline.end: 0\n # A 32x16 track: fixed element sizes, deliberately NOT baseline multiples.\n # The track carries no border, so width and height are the exact track box\n # and the absolutely-positioned knob is measured against the same box.\n size.width: dimension.400\n size.height: dimension.200\n appearance.radius: dimension.radius.full\n # The unselected track prefers --surface-color-foreground-switch-unselected,\n # which no stratum declares (the surface family mints the switch knob channel\n # alone), so only the flat token is written.\n appearance.background: color.foreground.switch.unselected\n # Selected, the track reads --surface-color-foreground-switch-selected first,\n # which no stratum declares (the surface family mints the knob channel only).\n appearance.background@selected: color.foreground.switch.selected\n appearance.background@disabled: color.foreground.switch.unselected.disabled\n appearance.outline.style@focus: none\n interaction.cursor: pointer\n interaction.cursor@disabled: not-allowed\n motion.property: background-color\n # Not bound, and why:\n # - the transition duration reads --motion-duration-fast, undeclared;\n # - the focus ring is a box-shadow at color.focusRing, which no roster key\n # takes;\n # - hover shifts only the track, from --hover--color-foreground-switch-\n # unselected / -selected: computed state variables that are not symbols,\n # and nothing in either chain resolves;\n # - a disabled selected track takes color.foreground.switch.selected.disabled,\n # which needs a compound state.\n edges:\n - node:\n # drawn as ::before\n role: knob\n styles:\n layout.position: absolute\n # Inset 1px from the track edges (--switch-knob-inset, a literal the\n # component writes). The knob's own size is a calc() over the track\n # height and that inset, so it is not bound.\n # The start inset is written logically (inset-inline-start); the roster's\n # logical offset key takes a token only, so the literal goes on the\n # physical key.\n layout.offset.top: 1px\n layout.offset.bottom: 1px\n layout.offset.left: 1px\n appearance.radius: dimension.radius.full\n appearance.background: [surface.color.foreground.switch.knob, color.foreground.switch.knob]\n appearance.background@disabled: color.foreground.switch.knob.disabled\n # Selected, the knob translates to the far edge by the space left over\n # after the knob and both insets — a calc(), and `translate` has no\n # value key of its own.\n motion.property: translate\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "The instant on/off entry part a host places in context for a single setting that takes effect immediately.\n\n### When to use\n- A host toggles one binary setting whose change applies at once, like enabling a mode.\n- The choice reads as turning something on or off rather than ticking a list.\n\n### When not to use\n- The choice is one of several that may each be selected — compose **CheckboxInput**.\n- Exactly one option must win from a set — compose **RadioInput**.";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.subcomponent.table-cell a ds:Subcomponent;
6
6
  ds:name "Table.Cell";
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.subcomponent.table-row a ds:Subcomponent;
6
6
  ds:name "Table.Row";
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;
@@ -0,0 +1,12 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:global.subcomponent.text_editor_input a ds:Subcomponent;
6
+ ds:name "TextEditorInput";
7
+ ds:summary "";
8
+ ds:anatomyDsl "";
9
+ ds:usage "";
10
+ ds:guidelines "";
11
+ ds:tier ds:global;
12
+ ds:documentationStage ds:tag.triagedbacklog.
@@ -6,7 +6,6 @@ ds:global.subcomponent.text_input a ds:Subcomponent;
6
6
  ds:name "TextInput";
7
7
  ds:summary "The single-line text-entry part a host field places in context. It accepts the user's typed text and can present a leading or trailing affix (such as a unit or symbol) beside the value; it is consumed by controls such as [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx) 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/TextInput/styles.css on .ds.input.text and its child\n# selectors (> input, > .prefix, > .suffix), together with the shared\n# `.ds.input.chrome` rule in src/index.css, which the component's own class list\n# (`ds input text chrome`) puts on this same element.\nnode:\n uri: global.subcomponent.text_input\n styles:\n # The composite wrapper overrides the chrome's `display: block` and resets its\n # padding: the inner <input> is the text-bearing leaf and carries the inline\n # padding, so the wrapper must not inset the text twice.\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: prefix\n styles:\n layout.type: flex\n layout.align: center\n typography.color: color.text.muted\n typography.whiteSpace: nowrap\n interaction.select: none\n # padding-inline reads --form-field-inline-gap, then\n # --container-gap-default: neither is declared.\n relation:\n cardinality: \"0..1\"\n slotName: prefix\n - node:\n role: 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 typography.color: inherit\n typography.fontFamily: inherit\n appearance.outline.style: none\n # The text-bearing 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, not from this rule.\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n role: suffix\n styles:\n layout.type: flex\n layout.align: center\n typography.color: color.text.muted\n typography.whiteSpace: nowrap\n interaction.select: none\n relation:\n cardinality: \"0..1\"\n slotName: suffix";
9
- ds:anatomyClassic "";
10
9
  ds:usage "The single-line free-text entry part a host places in context for short, open-ended written values.\n\n\n\n### When to use\n\n- A host collects a brief line of text such as a name or label.\n\n- The value is open prose with no fixed option set and fits on one line.\n\n\n\n### When not to use\n\n- The value runs to several lines — compose [TextareaInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-AhD9dYg2Q9) .\n\n- The value is a sensitive secret — compose [PasswordInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-56yPjE3O1S) , or a phone number — [PhoneInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-TOwhvjdQ8a) .\n\n- The value is a choice from a known set — compose [SelectInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-EVwqNhd3WH) .";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,11 +6,9 @@ ds:global.subcomponent.textarea_input a ds:Subcomponent;
6
6
  ds:name "TextareaInput";
7
7
  ds:summary "The multi-line text-entry part a host field places in context; it accepts extended text the user can write and revise over several lines, and is consumed by controls such as [TextareaField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-1BX4RBEZu6) .";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form\n# src/lib/subcomponent/TextareaInput/styles.css on .ds.input.textarea, together\n# with the shared `.ds.input.chrome` rule in src/index.css, which the component's\n# own class list (`ds input textarea chrome`) puts on this same element. A native\n# <textarea>: the element itself is the text-bearing leaf, so the notation's\n# `value` child is dropped — the stylesheet has no child selector and the value\n# is the element's own text content.\nnode:\n uri: global.subcomponent.textarea_input\n styles:\n layout.type: block\n layout.boxSizing: border-box\n size.width: 100%\n interaction.resize: vertical\n # The element carries the inline padding itself (the chrome supplies only the\n # block padding); both read --form-input-padding-inline /\n # --form-input-padding-block, then --component-padding-inline /\n # --component-padding-block, none of which is declared. `min-height` is a\n # calc() over 5lh and that block padding, and size.min.height takes a token\n # only. The baseline seating of the first line comes from density.css.\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.";
9
- ds:anatomyClassic "";
10
9
  ds:usage "The multi-line free-text entry part a host places in context for longer written passages.\n\n### When to use\n- A host collects open prose that spans multiple lines, such as comments or descriptions.\n- The person needs room to compose and review extended text.\n\n### When not to use\n- The value is a single short line — compose **TextInput**.\n- The value is a choice from a fixed set — compose **SelectInput**.";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needscoredocumentation;
14
12
  ds:hasProperty [
15
13
  a ds:Property;
16
14
  ds:name "value";
@@ -33,6 +31,7 @@ ds:global.subcomponent.textarea_input a ds:Subcomponent;
33
31
  ds:summary "(Cc [Goulin Khoge](mailto:goulin.khoge@canonical.com) ‘s suggestion)";
34
32
  ds:optional "false"
35
33
  ];
34
+ ds:documentationStage ds:tag.needscoredocumentation;
36
35
  ds:hasTokenBinding [
37
36
  a ds:TokenBinding;
38
37
  ds:viaBlock ds:global.subcomponent.textarea_input;
@@ -6,7 +6,6 @@ ds:global.subcomponent.tile-content a ds:Subcomponent;
6
6
  ds:name "Tile.Content";
7
7
  ds:summary "Tile content is the primary area within the tile used to surface singular, cohesive data points that provide a high-level snapshot of an object. They ensure that information remains easily digestible within a view.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global\n# src/lib/component/Tile/common/Content/styles.css on .ds.tile-content.\nnode:\n uri: global.subcomponent.tile-content\n styles:\n layout.type: flex\n layout.direction: column\n # The block padding is deliberately asymmetric so a header above and this\n # section read as one region, which no single spacing role can say; each key\n # binds the dimension its variable reads.\n spacing.gap: dimension.100 # --tile-content-gap, the block gap between fields\n spacing.internal.block.start: dimension.100 # --tile-content-padding-top\n spacing.internal.block.end: dimension.200 # --tile-content-padding-bottom\n spacing.internal.inline.start: dimension.200 # --tile-content-padding-inline, a surface inset\n spacing.internal.inline.end: dimension.200 # --tile-content-padding-inline, a surface inset";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,21 +6,20 @@ ds:global.subcomponent.tile-header a ds:Subcomponent;
6
6
  ds:name "Tile.Header";
7
7
  ds:summary "The tile header is a fixed structural element at the top of the [Tile](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-eThhoLZg3Y) used to house essential identification metadata. It typically contains a single line of text or a small icon to establish the name of the data object. Its sole functionality is to provide a consistent visual starting point for the user to identify specific items within a repeating grid.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global\n# src/lib/component/Tile/common/Header/styles.css on .ds.tile-header.\nnode:\n uri: global.subcomponent.tile-header\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: center\n spacing.gap: dimension.100 # --tile-header-gap, the inline gap between marks\n spacing.internal.block.start: dimension.100 # --tile-header-padding-block\n spacing.internal.block.end: dimension.100 # --tile-header-padding-block\n spacing.internal.inline.start: dimension.200 # --tile-header-padding-inline, a surface inset\n spacing.internal.inline.end: dimension.200 # --tile-header-padding-inline, a surface inset\n # The header reads --typography-weight-semibold, which no stratum declares —\n # the declared spelling is --typography-weight-semiBold\n # (typography.weight.semiBold) — so only the literal the chain falls back to\n # is written.\n typography.weight: 600";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
12
+ ds:changeLog [
13
+ a ds:ChangeLogEntry;
14
+ ds:timestamp "2026-01-15T00:00:00.000+01:00";
15
+ ds:changeType "change"
16
+ ];
13
17
  ds:hasProperty [
14
18
  a ds:Property;
15
19
  ds:name "children";
16
20
  ds:propertyType "element";
17
21
  ds:optional "false"
18
22
  ];
19
- ds:changeLog [
20
- a ds:ChangeLogEntry;
21
- ds:timestamp "2026-01-15T00:00:00.000+01:00";
22
- ds:changeType "change"
23
- ];
24
23
  ds:parentComponent ds:global.component.tile;
25
24
  ds:hasTokenBinding [
26
25
  a ds:TokenBinding;
@@ -6,7 +6,6 @@ ds:global.subcomponent.time_input a ds:Subcomponent;
6
6
  ds:name "TimeInput";
7
7
  ds:summary "The time-of-day-entry part a host field places in context: it lets the user specify a time of day within any allowed bounds and set increments, carrying the chosen time as its state. It is consumed by controls such as TimeField 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/TimeInput/styles.css on .ds.input.time, together with the\n# shared `.ds.input.chrome` rule in src/index.css, which the component's own\n# class list (`ds input time chrome`) puts on this same element. A native\n# <input type=\"time\">: the element itself is the text-bearing leaf.\nnode:\n uri: global.subcomponent.time_input\n styles:\n layout.type: block\n layout.boxSizing: border-box\n size.width: 100%\n # The element carries the inline padding itself (the chrome supplies only the\n # block padding); it reads --form-input-padding-inline then\n # --component-padding-inline, neither of which is declared.\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 # The ::-webkit-inner-spin-button is set to `display: none` to suppress native\n # picker inconsistencies; a vendor pseudo-element is not a node of the tree.\n # The clock indicator is parked in the stylesheet: no clock glyph exists in\n # @canonical/ds-assets to mask onto the picker indicator.";
9
- ds:anatomyClassic "";
10
9
  ds:usage "The time-of-day entry a host composes when the value it collects is a time of day.\n\n\n\n### When to use\n\n- The host (a field, a filter, a choices group) needs the user to set one time of day and bounds it by an earliest and latest time, optionally snapped to set increments.\n\n- The collected value is a time of day with no calendar day attached.\n\n\n\n### When not to use\n\n- The host needs only a calendar day — compose [DateInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-fQZpZDU2_9) .\n\n- The host needs a calendar day together with a time of day — compose [DateTimeInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui--azXSh_q2l) .";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,17 +6,16 @@ ds:global.subcomponent.timeline-content a ds:Subcomponent;
6
6
  ds:name "Timeline.Content";
7
7
  ds:summary "The timeline the timeline content is the main canvas that contains the used to display the detailed information of the occurrence. This is to differentiate it from the header (filter bar) and footer (potential comment section). It typically includes the timestamp, the actor responsible, and a description of the action. Its sole functionality is to communicate the substance of the event to the user in a readable format.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global\n# src/lib/pattern/Timeline/common/Content/styles.css on .ds.timeline-content.\n# TODO implementation: the expansion-indicator edge below has no reference in\n# @canonical/react-ds-global; it is kept from the notation, which the stylesheet\n# does not contradict.\n# The notation's \"TODO: Timeline axis/line connecting events needs DSL\n# representation\" is resolved rather than carried: the line IS implemented, as\n# the ::before of .ds.timeline-event, and it is a node of that subcomponent's\n# anatomy.\nnode:\n uri: global.subcomponent.timeline-content\n styles:\n layout.type: flex\n layout.direction: column\n edges:\n - switch:\n on: override\n cases:\n - uri: global.subcomponent.timeline-event\n - uri: $custom\n relation:\n cardinality: \"0..*\"\n # The events arrive as `children`; the notation's \"populated via items\n # prop\" is dropped — Content's props carry no `items`.\n slotName: default\n - node:\n uri: global.subcomponent.timeline-expansion_indicator\n relation:\n cardinality: \"0..1\"\n slotName: expansion-indicator";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsfulldocumentation;
14
12
  ds:hasProperty [
15
13
  a ds:Property;
16
14
  ds:name "children";
17
15
  ds:propertyType "node";
18
16
  ds:optional "false"
19
17
  ];
18
+ ds:documentationStage ds:tag.needsfulldocumentation;
20
19
  ds:parentComponent ds:global.pattern.timeline;
21
20
  ds:hasTokenBinding [
22
21
  a ds:TokenBinding;
@@ -10,7 +10,6 @@ ds:global.subcomponent.timeline-event a ds:Subcomponent;
10
10
  ds:usage "### Event content\n\nAn Event item can include default content, custom content, or both. The default content contains the actor name, the description and the dateTime. Each can be hidden individually. Custom content can also span the full width of the component, in which case the marker and the default content is hidden.\n\n### Actor profile link\n\nAn Event can include an actor profile link. When doing so, all Markers representing the actor and the Actor name become clickable and link to the provided profile.\n\n### DateTime\n\nThe dateTime defaults to displaying the date and time in the user’s local format. It can be configured by the DS consumer to exclude the time or to use a specific format for all users. Additionally, dateTime can be displayed as relative time.\n\n### Marker styles\n\nThe component provides flexible marker styles to accommodate different use cases. A marker can be one of three sizes and can include one of three graphical elements. What marker style an event uses is determined by the Timeline component's marker combination property.";
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 "Is fully custom";
@@ -50,6 +49,7 @@ ds:global.subcomponent.timeline-event a ds:Subcomponent;
50
49
  ds:propertyType "datetime";
51
50
  ds:optional "false"
52
51
  ];
52
+ ds:documentationStage ds:tag.needsfulldocumentation;
53
53
  ds:parentComponent ds:global.pattern.timeline;
54
54
  ds:hasTokenBinding [
55
55
  a ds:TokenBinding;
@@ -4,13 +4,119 @@
4
4
 
5
5
  ds:global.variant.tooltip_dense a ds:Variant;
6
6
  ds:name "Tooltip+Dense";
7
- ds:summary "+";
8
- ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
- ds:usage "";
7
+ ds:summary "The dense tooltip is a compact tooltip variant intended for interfaces where space is limited or information needs to be delivered efficiently. Its primary purpose is to provide brief, essential guidance while maintaining a smaller footprint than the standard tooltip.";
8
+ ds:anatomyDsl "---\n# The compact tooltip: text only, with no icon and no arrow. Its variable mode\n# is set to dark, so it is dark on a light page by default and its colours are\n# bound directly, not through surface channels.\nnode:\n uri: global.variant.tooltip_dense\n styles:\n layout.type: flex\n layout.direction: row\n # Clips its content so the text never draws outside the border.\n layout.overflow: hidden\n appearance.background: color.background.container\n typography.color: color.text\n appearance.border.color: color.border.muted\n appearance.border.style: solid\n appearance.border.width: dimension.stroke.thickness.medium\n appearance.radius: dimension.radius.small\n typography.font: typography.text.tertiary\n size.max.width: 284px\n spacing.internal.inline.start: dimension.100\n spacing.internal.inline.end: dimension.100\n spacing.internal.block.start: dimension.050\n spacing.internal.block.end: dimension.050\n edges:\n - node:\n role: text\n relation:\n cardinality: \"1\"\n slotName: default";
9
+ ds:anatomyClassic "## Anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=15464-9049&t=mASfRpGDNDTUJCz7-1\n\n1. **Container**\n\nCompact, inverted surface that holds the text. No arrow.\n\n1. **Text**\n\nShort supplementary copy that explains or clarifies the trigger.\n\n## Styling\n\n**Layout and spacing**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=15560-11995&t=mASfRpGDNDTUJCz7-1\n\n**Colors**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=15560-12031&t=mASfRpGDNDTUJCz7-1\n\n**Typography**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=15560-12054&t=mASfRpGDNDTUJCz7-1\n\n**Oveflow**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=15560-12065&t=mASfRpGDNDTUJCz7-1";
10
+ ds:usage "## When to use\n\n- When space is limited, such as in tables, toolbars, or dashboards\n- When clarifying truncated labels, abbreviations, acronyms, or status indicators. \n- When tooltips appear frequently and should not visually dominate the interface\n\n## When not to use\n\n- When content requires multiple lines or comfortable reading space\n - Incorrect: A dense tooltip is used for a multi-line explanatory message\n - Remediation: Use a standard [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) for improved readability\n- When content is descriptive or longer than a short phrase\n - Incorrect: A dense tooltip contains multiple lines of explanatory text\n - Remediation: Use a standard [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) \n- When content is complex or structured\n - Incorrect: A dense tooltip includes multiple elements such as icons and key-value pairs\n - Remediation: Use [WrapperTooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-69TNyYt7M9)\n- When used on touch interfaces, where small hover targets reduce usability\n- When the element is already clearly labelled or self-explanatory.\n\n### In essence:\n\nWhen in doubt, start with standard [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW). Move to its [Tooltip+Dense](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-PFE_wK_bWT) variant for space constraints; [WrapperTooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-69TNyYt7M9) for structured content and complex hierarchies; [DataTooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Y1ha3zI_b_) for data visualization.";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
+ ds:hasProperty [
14
+ a ds:Property;
15
+ ds:name "Position";
16
+ ds:summary "Preferred placement relative to trigger";
17
+ ds:propertyType "choice";
18
+ ds:optional "false";
19
+ ds:defaultValue "Auto";
20
+ ds:constraints "Right\nUp\nDown"
21
+ ], [
22
+ a ds:Property;
23
+ ds:name "Max width";
24
+ ds:summary "Maximum width of tooltip container";
25
+ ds:propertyType "number";
26
+ ds:optional "true";
27
+ ds:defaultValue "284";
28
+ ds:constraints "px"
29
+ ], [
30
+ a ds:Property;
31
+ ds:name "Surrounding UI theme";
32
+ ds:summary "Sets tooltip theme to the inverse of the surrounding UI context";
33
+ ds:propertyType "choice";
34
+ ds:optional "false";
35
+ ds:defaultValue "Light";
36
+ ds:constraints "Dark"
37
+ ];
13
38
  ds:documentationStage ds:tag.needscoredocumentation;
14
39
  ds:hasSubcomponent ds:global.variant.tooltip_dense;
15
40
  ds:variantOf ds:global.component.tooltip;
16
- ds:parentComponent ds:global.variant.tooltip_dense.
41
+ ds:parentComponent ds:global.variant.tooltip_dense;
42
+ ds:hasTokenBinding [
43
+ a ds:TokenBinding;
44
+ ds:viaBlock ds:global.variant.tooltip_dense;
45
+ ds:node "$root";
46
+ anatomy:styleKey "appearance.background";
47
+ anatomy:styleState "default";
48
+ ds:rank 1;
49
+ ds:consumesSymbol dt:color.background.container
50
+ ], [
51
+ a ds:TokenBinding;
52
+ ds:viaBlock ds:global.variant.tooltip_dense;
53
+ ds:node "$root";
54
+ anatomy:styleKey "typography.color";
55
+ anatomy:styleState "default";
56
+ ds:rank 1;
57
+ ds:consumesSymbol dt:color.text
58
+ ], [
59
+ a ds:TokenBinding;
60
+ ds:viaBlock ds:global.variant.tooltip_dense;
61
+ ds:node "$root";
62
+ anatomy:styleKey "appearance.border.color";
63
+ anatomy:styleState "default";
64
+ ds:rank 1;
65
+ ds:consumesSymbol dt:color.border.muted
66
+ ], [
67
+ a ds:TokenBinding;
68
+ ds:viaBlock ds:global.variant.tooltip_dense;
69
+ ds:node "$root";
70
+ anatomy:styleKey "appearance.border.width";
71
+ anatomy:styleState "default";
72
+ ds:rank 1;
73
+ ds:consumesSymbol dt:dimension.stroke.thickness.medium
74
+ ], [
75
+ a ds:TokenBinding;
76
+ ds:viaBlock ds:global.variant.tooltip_dense;
77
+ ds:node "$root";
78
+ anatomy:styleKey "appearance.radius";
79
+ anatomy:styleState "default";
80
+ ds:rank 1;
81
+ ds:consumesSymbol dt:dimension.radius.small
82
+ ], [
83
+ a ds:TokenBinding;
84
+ ds:viaBlock ds:global.variant.tooltip_dense;
85
+ ds:node "$root";
86
+ anatomy:styleKey "typography.font";
87
+ anatomy:styleState "default";
88
+ ds:rank 1;
89
+ ds:consumesSymbol dt:typography.text.tertiary
90
+ ], [
91
+ a ds:TokenBinding;
92
+ ds:viaBlock ds:global.variant.tooltip_dense;
93
+ ds:node "$root";
94
+ anatomy:styleKey "spacing.internal.inline.start";
95
+ anatomy:styleState "default";
96
+ ds:rank 1;
97
+ ds:consumesSymbol dt:dimension.100
98
+ ], [
99
+ a ds:TokenBinding;
100
+ ds:viaBlock ds:global.variant.tooltip_dense;
101
+ ds:node "$root";
102
+ anatomy:styleKey "spacing.internal.inline.end";
103
+ anatomy:styleState "default";
104
+ ds:rank 1;
105
+ ds:consumesSymbol dt:dimension.100
106
+ ], [
107
+ a ds:TokenBinding;
108
+ ds:viaBlock ds:global.variant.tooltip_dense;
109
+ ds:node "$root";
110
+ anatomy:styleKey "spacing.internal.block.start";
111
+ anatomy:styleState "default";
112
+ ds:rank 1;
113
+ ds:consumesSymbol dt:dimension.050
114
+ ], [
115
+ a ds:TokenBinding;
116
+ ds:viaBlock ds:global.variant.tooltip_dense;
117
+ ds:node "$root";
118
+ anatomy:styleKey "spacing.internal.block.end";
119
+ anatomy:styleState "default";
120
+ ds:rank 1;
121
+ ds:consumesSymbol dt:dimension.050
122
+ ].
@@ -6,7 +6,6 @@ ds:global.view.settings_view a ds:View;
6
6
  ds:name "SettingsView";
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;