@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
@@ -7,8 +7,8 @@ ds:global.component.table a ds:Component;
7
7
  ds:summary "A table displays data in rows and columns. This structured format helps users review and compare large data sets efficiently. The table is a static component suited to presenting data without complex interactions. For advanced needs – pagination, selection, bulk actions, filtering, sorting, and grouping – use the [DataTable ](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-VpHrA4bXUJ) (Apps tier) instead. Sites tier products typically use this table. However, if a use case requires richer functionality, refer to the [DataTable ](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-VpHrA4bXUJ) documentation.";
8
8
  ds:anatomyDsl "";
9
9
  ds:anatomyClassic "Styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=4462-94135&t=mrOkyDfhQY9JZwMz-1\n\n";
10
- ds:usage "Use a table to display data where items share two or more characteristics and belong together as a group. Rows represent items, and columns represent their characteristics. Tables work best when all items share the same set of characteristics, allowing users to compare across rows.\n\n## When to use\n\n- Entities share multiple characteristics and group together under a common category\n- Cross-row comparison is meaningful to the user\n- The user needs to locate or compare specific data points within a known dataset\n\n### \n\n## When not to use\n\n- Datasets have different structures.\n - Incorrect: Forcing two distinct objects, such as “User Profiles” and “Invoices,” into a single table by using generic headers or leaving many cells empty.\n - Remediation: Use separate tables or a [List](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-fi4xttt9mh) to clearly distinguish between different data types and their unique schemas.\n- The user needs to browse or explore content without a specific task.\n - Incorrect: Using a table to display a \"News Feed\" where the goal is for the user to discover stories or read highlights at a leisurely pace.\n - Remediation: Consider using [Card](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Gm_-gu8fGD)s for exploratory, media-heavy content or a simple [List](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-fi4xttt9mh) for smaller volumes of narrative data.\n- The use case involves complex interactions such as bulk selection, filtering, multi-column sorting, or pagination.\n - Incorrect: Using a basic, static table to display thousands of rows of data that require real-time manipulation and deep analysis.\n - Remediation: Use the [DataTable ](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-VpHrA4bXUJ) instead to provide advanced functionality like global search, column resizing, and bulk action processing.\n\n### \n\n## Columns\n\n### \n\nAlign columns to the grid where possible. If that is not feasible, size columns to fit their content. Consider the available space when deciding how many columns to include. Display only the information the user needs at that moment. Keep column headings short, typically one to two words, and ensure they describe the column content.\n\n## Cell content\n\nChips, icons, and links are permitted within table cells. Use linked text for navigation only, not as calls to action. Right-align numbers when users need to compare values across rows. Left-align numbers when comparison is not the intent. Do not apply semantic color to cell text. Use icons or status indicators to convey semantic meaning instead.\n\n## Sorting\n\nTables support sorting on a per-column basis. Designers decide which columns should be sortable. Do not enable sorting on every column. Apply sorting where the data has a meaningful order, such as status categories, dates, or alphabetically significant values. Columns with unordered data do not warrant sorting.\n\n## Pagination\n\nCombine a table with simple pagination when the number of rows would overwhelm the user. Pagination is particularly useful when content appears below the table. Without it, a large number of rows can push that content out of the viewport. Paginating the table reduces its vertical size and keeps the surrounding content visible.\n\n## Mobile\n\nOn mobile, consider converting a table into cards if doing so improves usability. Do not convert tables to cards if it reduces the ability to compare items.";
11
- ds:guidelines "";
10
+ ds:usage "Use a table to display data where items share two or more characteristics and belong together as a group. Rows represent items, and columns represent their characteristics. Tables work best when all items share the same set of characteristics, allowing users to compare across rows.\n\n## When to use\n\n- Entities share multiple characteristics and group together under a common category\n- Cross-row comparison is meaningful to the user\n- The user needs to locate or compare specific data points within a known dataset\n\n## When not to use\n\n- Datasets have different structures.\n - Incorrect: Forcing two distinct objects, such as “User Profiles” and “Invoices,” into a single table by using generic headers or leaving many cells empty.\n - Remediation: Use separate tables or a [List](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-fi4xttt9mh) to clearly distinguish between different data types and their unique schemas.\n- The user needs to browse or explore content without a specific task.\n - Incorrect: Using a table to display a \"News Feed\" where the goal is for the user to discover stories or read highlights at a leisurely pace.\n - Remediation: Consider using [Card](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Gm_-gu8fGD)s for exploratory, media-heavy content or a simple [List](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-fi4xttt9mh) for smaller volumes of narrative data.\n- The use case involves complex interactions such as bulk selection, filtering, multi-column sorting, or pagination.\n - Incorrect: Using a basic, static table to display thousands of rows of data that require real-time manipulation and deep analysis.\n - Remediation: Use the [DataTable ](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-VpHrA4bXUJ) instead to provide advanced functionality like global search, column resizing, and bulk action processing.";
11
+ ds:guidelines "## Columns\n\nAlign columns to the grid where possible. If that is not feasible, size columns to fit their content. Consider the available space when deciding how many columns to include. Display only the information the user needs at that moment. Keep column headings short, typically one to two words, and ensure they describe the column content.\n\n## Cell content\n\nChips, icons, and links are permitted within table cells. Use linked text for navigation only, not as calls to action. Right-align numbers when users need to compare values across rows. Left-align numbers when comparison is not the intent. Do not apply semantic color to cell text. Use icons or status indicators to convey semantic meaning instead.\n\n## Sorting\n\nTables support sorting on a per-column basis. Designers decide which columns should be sortable. Do not enable sorting on every column. Apply sorting where the data has a meaningful order, such as status categories, dates, or alphabetically significant values. Columns with unordered data do not warrant sorting.\n\n## Pagination\n\nCombine a table with simple pagination when the number of rows would overwhelm the user. Pagination is particularly useful when content appears below the table. Without it, a large number of rows can push that content out of the viewport. Paginating the table reduces its vertical size and keeps the surrounding content visible.\n\n## Mobile\n\nOn mobile, consider converting a table into cards if doing so improves usability. Do not convert tables to cards if it reduces the ability to compare items.";
12
12
  ds:tier ds:global;
13
13
  ds:documentationStage ds:tag.needscoredocumentation;
14
14
  ds:hasSubcomponent ds:global.subcomponent.table-row, ds:global.subcomponent.table-cell.
@@ -10,14 +10,14 @@ ds:global.component.tag a ds:Component;
10
10
  ds:usage "The label is intended to serve as an indicator of meta data or status. It provides a visual shortcut for users to identify the state or classification of an item without requiring any direct interaction with the element itself.\n\n### When to use\n\n- When you need to surface high-priority metadata that helps users scan and differentiate items within a larger set.\n- When an object undergoes a lifecycle (e.g., a ticket moving from \"Open\" to \"Resolved\"). Labels provide an immediate visual cue of the current state.\n- When items need to be grouped by type or department (e.g., \"HR,\" \"Finance,\" or \"Legal\") to help users find relevant information quickly.\n- When a specific, non-actionable characteristic needs to be called out, such as \"New\" on a product card or \"Required\" next to a form field.\n- When using a color-coded system to indicate urgency or importance levels, such as \"Critical,\" \"High,\" or \"Low\" in a task list, that is not a filter.\n\n### When not to use\n\n- When the user expects to click the element to filter a list or navigate to a category page.\n - Incorrect: A user clicks a \"Marketing\" label expecting to see all marketing posts, but nothing happens.\n - Remediation: Use a [Chip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-N-fnT7n4mU) component which supports click events and hover states.\n- When the metadata is temporary or user-defined and needs to be removable.\n - Incorrect: A search results page where \"Applied Filters\" are displayed as labels with no \"X\" or delete functionality.\n - Remediation: Use a [Chip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-N-fnT7n4mU) with an integrated \"Remove\" action.\n- When the information being displayed is a long sentence or requires multiple lines.\n - Incorrect: A label containing the text: \"This item was approved by the manager yesterday.\"\n - Remediation: Use a [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) or helper text to keep the interface clean and avoid breaking the label's compact \"pill\" shape.\n- When the element is used as the primary trigger for a process.\n - Incorrect: A \"Submit\" button styled as a label to save space.\n - Remediation: Use a [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr) component to ensure the user perceives it as an interactive CTA.";
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 "children";
17
16
  ds:propertyType "text";
18
17
  ds:optional "false"
19
18
  ];
20
- ds:hasModifierFamily ds:global.modifier_family.criticality;
19
+ ds:documentationStage ds:tag.needsfulldocumentation;
20
+ ds:hasModifierFamily ds:global.modifier_family.criticality, ds:global.modifier_family.release;
21
21
  ds:hasTokenBinding [
22
22
  a ds:TokenBinding;
23
23
  ds:viaBlock ds:global.component.tag;
@@ -6,7 +6,6 @@ ds:global.component.text_field a ds:Component;
6
6
  ds:name "TextField";
7
7
  ds:summary "A form control for collecting a single line of free-form text from the user, such as a name, reference, or short value. It frames the entry with a label, optional guidance, and validation, and can hint at the kind of content expected (e.g. email or telephone) to aid entry.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form src/lib/common/Wrapper/styles.css on .ds.field\n# The field is the Wrapper's chrome: a subgrid whose label row sits above a\n# payload row carrying the description, the control and any error. The control\n# is text input — src/lib/subcomponent/TextInput/styles.css on `.ds.input.text` — and its own styles\n# live in its own anatomy, not copied here.\nnode:\n uri: global.component.text_field\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n # reads --form-field-columns, the component-local track placement a caller\n # overrides to put the field in part of the form grid.\n layout.grid.column: \"1 / -1\"\n layout.align: baseline\n # The block gap from the label row down to the payload row reads\n # --form-field-label-gap, which resolves through --space-100 to\n # --dimension-100; this is the spacing semantic that resolves to it. When a\n # description LEADS the payload the gap tightens to\n # --form-field-label-description-gap (--dimension-050), for which no\n # spacing semantic resolves, so that conditional is not carried.\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-label\n styles:\n # reads --form-label-columns.\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"1\"\n slotName: label\n - node:\n role: payload\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n # reads --form-payload-columns.\n layout.grid.column: \"1 / -1\"\n # reads --form-group-gap (--space-100 -> --dimension-100).\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-description\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: description\n - node:\n uri: global.subcomponent.text_input\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: global.subcomponent.field-error\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: error\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "A labelled single-line text entry within a form.\n\n\n\n### When to use\n\n- Collecting a short, free-form value on one line (name, code, email, URL, telephone).\n\n\n\n\n\n### When not to use\n\n- Multi-line or long-form text — use [TextareaField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-1BX4RBEZu6) .\n\n- Masking sensitive entry (password) — a content-type variant of this control, [PasswordField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-wg-OYudWS0) .\n\n- Choosing from a known set of values — use [SelectField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-u5dH7O-tHI) , [ComboboxField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-kfEQ25cX4a) , [RichChoicesField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-OE7Ygmz_vT) , or [ChoicesField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-IFk-NNRL3C) .\n\n- Numeric selection within a bounded range — use [RangeField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-N4ek7saDSq) .";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.component.textarea_field a ds:Component;
6
6
  ds:name "TextareaField";
7
7
  ds:summary "A form control for collecting multi-line free-form text, such as notes, descriptions, or comments, with consistent labelling and validation.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form src/lib/common/Wrapper/styles.css on .ds.field\n# The field is the Wrapper's chrome: a subgrid whose label row sits above a\n# payload row carrying the description, the control and any error. The control\n# is textarea input — src/lib/subcomponent/TextareaInput/styles.css on `.ds.input.textarea` — and its own styles\n# live in its own anatomy, not copied here.\nnode:\n uri: global.component.textarea_field\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n # reads --form-field-columns, the component-local track placement a caller\n # overrides to put the field in part of the form grid.\n layout.grid.column: \"1 / -1\"\n layout.align: baseline\n # The block gap from the label row down to the payload row reads\n # --form-field-label-gap, which resolves through --space-100 to\n # --dimension-100; this is the spacing semantic that resolves to it. When a\n # description LEADS the payload the gap tightens to\n # --form-field-label-description-gap (--dimension-050), for which no\n # spacing semantic resolves, so that conditional is not carried.\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-label\n styles:\n # reads --form-label-columns.\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"1\"\n slotName: label\n - node:\n role: payload\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n # reads --form-payload-columns.\n layout.grid.column: \"1 / -1\"\n # reads --form-group-gap (--space-100 -> --dimension-100).\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-description\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: description\n - node:\n uri: global.subcomponent.textarea_input\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: global.subcomponent.field-error\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: error\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "A labelled multi-line text entry within a form.\n\n\n\n### When to use\n\n- Longer, free-form text is collected over several lines, such as notes, descriptions, or comments.\n\n- The user benefits from writing and revising across multiple lines rather than a single line.\n\n\n\n### When not to use\n\n- A short, single-line value is wanted — use [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx) .\n\n- The value is chosen from a known set rather than written freely — use [SelectField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-u5dH7O-tHI) , [ComboboxField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-kfEQ25cX4a) , [RichChoicesField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-OE7Ygmz_vT) , or [ChoicesField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-IFk-NNRL3C) .";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,17 +6,10 @@ ds:global.component.tile a ds:Component;
6
6
  ds:name "Tile";
7
7
  ds:summary "The tile component is a flexible container for information or actions that are meant to be grouped together but do not repeat the same structure. It acts as a container that creates a clear boundary between different pieces of content, making complex layouts easier to scan and organize. It is often used for dashboards, “Bento box” layout, and rich media layouts.\n\nFor information that is broken down into pieces that all share the same structure and belongs in a series, use [Card](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Gm_-gu8fGD)s instead.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global src/lib/component/Tile/styles.css on .ds.tile\n# The Tile always provides a surface — it adds `.surface`, so the channel is\n# established on this element and steps when tiles nest — and paints that\n# background so it stands out on the page. It shares the Card radius, has no\n# border of its own, and is a static container: no cursor, hover or focus\n# affordance, so the previous notation's `interaction.cursor: pointer` is\n# dropped as contradicted by the reference.\nnode:\n uri: global.component.tile\n styles:\n layout.type: flex\n layout.direction: column\n appearance.background: [surface.color.background, color.background]\n appearance.radius: dimension.radius.medium\n # Clips section corners (full-bleed content) to the tile radius.\n layout.overflow: hidden\n edges:\n - node:\n uri: global.subcomponent.tile-header\n relation:\n cardinality: \"0..1\"\n slotName: header\n - node:\n uri: global.subcomponent.tile-content\n relation:\n cardinality: \"1\"\n slotName: default";
9
- ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3141-13818&t=ZeOhPBVqjN81UglM-1\n\nStyling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2146-3117&t=ch8BFFPUe9gCvMdg-1\n\n";
9
+ ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3141-13818&t=ZeOhPBVqjN81UglM-1\n\nStyling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2146-3117&t=ch8BFFPUe9gCvMdg-1";
10
10
  ds:usage "The tile is a container designed to wrap unique or variable data sets. Tiles should be used to create clear visual separation without over-complicating the interface with too many layers.\n\n### When to use\n\n- When you have a collection of items that differ in their structure but logically fit together (i.e. a dashboard), use multiple tiles. \n- When one or more items (image, title, description, price) need to be artificially perceived as a unit.\n\n### When not to use\n\n- When you are presenting a simple document or long-form article that should flow naturally.\n - Incorrect: Wrapping every paragraph of a blog post in its own individual tile or breaking up an article by changing the style of the presented data.\n - Remediation: Use standard typography components and vertical spacing to separate paragraphs.\n- When a tile is placed inside another tile without a clear functional reason, creating \"nested box\" fatigue.\n - Incorrect: A large tile containing a list of items where every single list item is also in its own tile.\n - Remediation: Use a [List](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-fi4xttt9mh) or a [Table](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Olq5LYSopF) inside the main tile to display the child items.\n- When the container is used solely to house a single item like a button or a link.\n - Incorrect: Placing a single \"Submit\" button inside a tile with no other content.\n - Remediation: Place the component directly on the page surface.\n- When the items you are displaying have the same properties.\n - Incorrect: Using tiles to display all instances running.\n - Remediation: Use the [Card](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Gm_-gu8fGD) components, which allow for more strict object mappings to content types.\n\n";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsfulldocumentation;
14
- ds:hasProperty [
15
- a ds:Property;
16
- ds:name "children";
17
- ds:propertyType "element";
18
- ds:optional "false"
19
- ];
20
13
  ds:changeLog [
21
14
  a ds:ChangeLogEntry;
22
15
  ds:timestamp "2026-04-17T00:00:00.000+02:00";
@@ -30,6 +23,13 @@ ds:global.component.tile a ds:Component;
30
23
  ds:timestamp "2026-04-24T00:00:00.000+02:00";
31
24
  ds:changeType "change"
32
25
  ];
26
+ ds:hasProperty [
27
+ a ds:Property;
28
+ ds:name "children";
29
+ ds:propertyType "element";
30
+ ds:optional "false"
31
+ ];
32
+ ds:documentationStage ds:tag.needsfulldocumentation;
33
33
  ds:hasSubcomponent ds:global.subcomponent.tile-content, ds:global.subcomponent.tile-header;
34
34
  ds:hasTokenBinding [
35
35
  a ds:TokenBinding;
@@ -6,7 +6,6 @@ ds:global.component.time_field a ds:Component;
6
6
  ds:name "TimeField";
7
7
  ds:summary "A form control for collecting a time of day from the user, such as an appointment slot, opening hour, or reminder time. It frames the entry with a label, optional guidance, and validation, lets the user set a time using a clock metaphor, and can confine the selection to an allowed range and to set increments.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form src/lib/common/Wrapper/styles.css on .ds.field\n# The field is the Wrapper's chrome: a subgrid whose label row sits above a\n# payload row carrying the description, the control and any error. The control\n# is time input — src/lib/subcomponent/TimeInput/styles.css on `.ds.input.time` — and its own styles\n# live in its own anatomy, not copied here.\nnode:\n uri: global.component.time_field\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n # reads --form-field-columns, the component-local track placement a caller\n # overrides to put the field in part of the form grid.\n layout.grid.column: \"1 / -1\"\n layout.align: baseline\n # The block gap from the label row down to the payload row reads\n # --form-field-label-gap, which resolves through --space-100 to\n # --dimension-100; this is the spacing semantic that resolves to it. When a\n # description LEADS the payload the gap tightens to\n # --form-field-label-description-gap (--dimension-050), for which no\n # spacing semantic resolves, so that conditional is not carried.\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-label\n styles:\n # reads --form-label-columns.\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"1\"\n slotName: label\n - node:\n role: payload\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n # reads --form-payload-columns.\n layout.grid.column: \"1 / -1\"\n # reads --form-group-gap (--space-100 -> --dimension-100).\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-description\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: description\n - node:\n uri: global.subcomponent.time_input\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: global.subcomponent.field-error\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: error\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "A labelled time-of-day entry within a form.\n\n\n\n### When to use\n\n- Collecting one specific time of day (appointment slot, opening hour, reminder time).\n\n- The time is an absolute point in the day that benefits from a clock metaphor rather than free typing.\n\n- The allowable times form a continuous range that can be bounded by an earliest and latest time, optionally snapped to set increments.\n\n\n\n### When not to use\n\n- A calendar day with no time attached — use [DateField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Btd18SrL7F) .\n\n- A calendar day together with a time of day — use [DateTimeField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-iMMaj5QewN) .\n\n- A time drawn from a small, named set rather than the open clock — use [SelectField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-u5dH7O-tHI) or [RichChoicesField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-OE7Ygmz_vT) .\n\n- A length of time rather than a point in the day — use a duration field.\n\n";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:global;
@@ -6,7 +6,6 @@ ds:global.component.timestamp a ds:Component;
6
6
  ds:name "Timestamp";
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;
@@ -4,221 +4,65 @@
4
4
 
5
5
  ds:global.component.tooltip a ds:Component;
6
6
  ds:name "Tooltip";
7
- ds:summary "A tooltip provides brief, contextual information, that appears on hover or focus. It is used to clarify an unfamiliar icon/control, explain truncated/abbreviated content, or to add context without interrupting user flow. Tooltips should be short, optional, and non-critical. If the information is vital or requires interaction, use a different pattern.";
8
- ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global src/lib/component/Tooltip/styles.css on .ds.tooltip\n# The chip itself. The engine wrapper the `withTooltip` HOC renders around the\n# TARGET (.ds.tooltip-area and its .target child) is not part of this tree.\n# The tooltip runs on the `contrasted` surface, so its colours invert against\n# the ambient theme; the surface channels are read on this element, never\n# through a :root intermediate.\nnode:\n uri: global.component.tooltip\n styles:\n # Stays inline-block: it is the positioning context for the arrow, whose\n # 50% centring must resolve against this box.\n layout.type: inline-block\n layout.position: fixed\n # MUST stay visible: the arrow sits just outside the box and any clipping\n # would remove it.\n layout.overflow: visible\n appearance.background: [surface.color.background, color.background]\n typography.color: [surface.color.text, color.text]\n # The border reuses the background colour, so the arrow built from it is\n # coloured correctly too.\n appearance.border.color: [surface.color.background, color.background]\n appearance.border.style: solid\n appearance.border.width: 0\n appearance.radius: 0\n # Figma asks for text-secondary (14px / 20px). The reference reads\n # --font-size-small and --line-height-small, which no symbol declares, so\n # what is left of each chain is its own literal.\n typography.size: 14px\n typography.lineHeight: 20px\n # The weight reads --font-weight-default with no literal fallback and no\n # symbol declares it, so the binding is dropped.\n typography.align: left\n typography.decoration: initial\n interaction.pointerEvents: auto\n size.max.width: 284px\n spacing.external.block.end: 0\n spacing.external.inline.end: 0\n spacing.internal.inline.start: dimension.200 # --tooltip-padding-horizontal, a surface inset\n spacing.internal.inline.end: dimension.200 # --tooltip-padding-horizontal, a surface inset\n spacing.internal.block.start: dimension.100 # --tooltip-padding-vertical\n spacing.internal.block.end: dimension.100 # --tooltip-padding-vertical\n # Closed by default; `aria-hidden=\"false\"` opens it. That is a display\n # difference, not one of the five interaction states, so it carries no\n # @state marker here.\n appearance.opacity: 0\n appearance.visibility: hidden\n motion.property: \"opacity, visibility\"\n # --tooltip-motion-duration is a component-local 0.1s literal.\n motion.duration: 0.1s\n motion.easing: ease-in-out\n edges:\n - node:\n role: content row\n styles:\n layout.type: flex\n layout.align: flex-start\n spacing.gap: dimension.100 # --tooltip-gap, between a leading icon and the text\n edges:\n - node:\n role: icon\n styles:\n layout.type: inline-flex\n layout.align: center\n layout.justify: center\n layout.flex.grow: 0\n layout.flex.shrink: 0\n layout.flex.basis: auto\n size.inline: dimension.200\n # The box is one text line tall; the reference reads\n # --tooltip-line-height, whose chain ends in its own literal.\n size.block: 20px\n relation:\n cardinality: \"0..1\"\n slotName: icon\n - node:\n role: text\n styles:\n # Wraps at max-width while honouring explicit newlines.\n typography.whiteSpace: pre-wrap\n relation:\n cardinality: \"1\"\n slotName: default\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n # drawn as ::before\n role: arrow\n styles:\n layout.position: absolute\n # A CSS border triangle drawn on the pointing side, so it has no box\n # of its own. Which side carries the depth follows the placement class\n # (.top/.bottom/.left/.right); the edge and centring offsets are\n # calc()s over the arrow geometry, so none of them is bound.\n size.width: 0\n size.height: 0\n # 8px deep (dimension-100); the 14px base across the edge is two\n # transparent half-width side borders computed from dimension.175,\n # which no single roster key carries.\n appearance.border.top.width: dimension.100\n appearance.border.style: solid\n appearance.border.color: [surface.color.background, color.background]\n relation:\n # The component draws the arrow; no caller fills it, so it carries no\n # slot name.\n cardinality: \"1\"";
9
- ds:anatomyClassic "\n\n**Standard**\n\n**https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=4226-3390&t=oewNjqDyVoQqTJZp-1**\n\n";
10
- ds:usage "[Standard tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-Y9PpN4FiwA) \n\n## When to use\n\n- When a default tooltip is required for controls or icons\n- When an unfamiliar UI element, label, or action requires clarification\n- When content can be expressed as a single-line explanation or short phrase\n- When sufficient space is available for comfortable reading near the trigger\n- When supplementary information does not need to persist\n\n\n\n## When not to use\n\n- When the layout is dense and the tooltip may overlap important UI\n - Incorrect: A standard tooltip is used inside a compact data table where it obscures adjacent values\n - Remediation: Use a [Dense tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-tES05lAnIw) to reduce visual footprint\n- When content consists of abbreviations or truncated values\n - Incorrect: A standard tooltip is used to expand shortened labels in a toolbar\n - Remediation: Use a [Dense tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-tES05lAnIw) designed for compact label expansion\n- When content is structured or contains multiple elements\n - Incorrect: A tooltip contains a table, multiple text blocks, and icons\n - Remediation: Use [Wrapper tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-QhcH6cvnjz) to support structured content\n- When used for data visualisation\n - Incorrect: A standard tooltip is used to display chart data values\n - Remediation: Use [Data tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-Z6bUmHSTsj) for label–value pairs and data inspection\n- When content is interactive or requires persistence\n - Incorrect: A tooltip contains clickable actions or inputs\n - Remediation: Use [Popover](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-i-62pvfoOF) or another persistent surface\n\n\n\n### Variant: [Dense tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-tES05lAnIw) \n\nWhen 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\nWhen 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-20chnVyhaz/_rui-Y9PpN4FiwA) for improved readability\n\nWhen content is descriptive or longer than a short phrase\n\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-20chnVyhaz/_rui-Y9PpN4FiwA) \n\nWhen content is complex or structured\n\n - Incorrect: A dense tooltip includes multiple elements such as icons and key-value pairs\n - Remediation: Use [Wrapper tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-QhcH6cvnjz) \n\n\n\n**In essence:**\n\nWhen in doubt, start with Standard. Move to Dense for space constraints; Wrapper for structured content and complex hierarchies; Data for data visualization. \n\n";
11
- ds:guidelines "### **Important note on implementation:**\n\nAnimation values below are intended for [Framer Motion](https://motion.dev/), now just “Motion”.\n\n### **For all variants**\n\n- Show with a 400 ms delay after hover or focus\n- Hide with a 400 ms delay after the pointer leaves\n- Cancel display if the pointer exits before the show delay completes\n- If the pointer moves directly from one tooltip trigger to another, show the new tooltip immediately and skip the previous tooltip’s exit animation\n\n### **Transition**\n\n- **Type**: spring\n- **Duration**: 0.4 s\n- **Bounce**: 0.2\n- **Delay**: 0 s";
7
+ ds:summary "A tooltip provides brief, contextual information, that appears on hover or focus. It is used to clarify an unfamiliar icon/control, explain truncated/abbreviated content, or to add context without interrupting user flow. Tooltips should be short, optional, and non-critical. If the information is vital or requires interaction, use a different pattern.\n\nRelated to [WrapperTooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-69TNyYt7M9) and [DataTooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Y1ha3zI_b_).";
8
+ ds:anatomyDsl "---\n# One tree serves both types: Standard has text, an optional icon and an\n# optional arrow; Dense has compact text only. Where they differ is noted at the\n# property. An inverted tooltip is made by switching the variable mode of the\n# instance, so the colours are bound directly and not through surface channels.\nnode:\n uri: global.component.tooltip\n styles:\n # The arrow is positioned against this box, so it stays the positioning\n # context.\n layout.type: inline-block\n layout.position: fixed\n # Stays visible so the arrow, which sits outside the box, is not clipped.\n layout.overflow: visible\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 # Standard uses text-secondary and Dense uses text-tertiary; the tree\n # carries only the Standard value.\n typography.font: typography.text.secondary\n typography.align: left\n typography.decoration: initial\n interaction.pointerEvents: auto\n size.max.width: 284px\n spacing.external.block.end: 0\n spacing.external.inline.end: 0\n # Standard padding. Dense uses dimension.100 inline and dimension.050 block,\n # which the tree cannot carry per type.\n spacing.internal.inline.start: dimension.200\n spacing.internal.inline.end: dimension.200\n spacing.internal.block.start: dimension.100\n spacing.internal.block.end: dimension.100\n # Closed by default. Opening is a display change, not an interaction state,\n # so no @state marker applies.\n appearance.opacity: 0\n appearance.visibility: hidden\n motion.property: \"opacity, visibility\"\n # No motion symbol is declared, so the duration is written as a literal.\n motion.duration: 0.1s\n motion.easing: ease-in-out\n edges:\n - node:\n role: content row\n styles:\n layout.type: flex\n layout.align: flex-start\n spacing.gap: dimension.100\n edges:\n - node:\n role: icon\n styles:\n layout.type: inline-flex\n layout.flex.grow: 0\n layout.flex.shrink: 0\n layout.flex.basis: auto\n size.inline: dimension.200\n spacing.internal.block.start: dimension.025\n relation:\n cardinality: \"0..1\"\n slotName: icon\n - node:\n role: text\n styles:\n typography.whiteSpace: pre-wrap\n relation:\n cardinality: \"1\"\n slotName: default\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n role: arrow\n styles:\n layout.position: absolute\n # Which side it points from follows the Arrow variant, so its offsets\n # are not bound, and the DSL has no triangle shape.\n size.width: dimension.175\n size.height: dimension.100\n appearance.background: color.background.container\n appearance.border.color: color.border.muted\n appearance.border.style: solid\n appearance.border.width: dimension.stroke.thickness.medium\n relation:\n # The component draws the arrow; no caller fills it, so it carries no\n # slot name. Dense draws none.\n cardinality: \"0..1\"";
9
+ ds:anatomyClassic "## Anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=9415-1615&t=mASfRpGDNDTUJCz7-1\n\n1. **Container**\n\nHolds the tooltip content and sets it apart from the page.\n\n1. **Text**\n\nShort supplementary copy that explains or clarifies the trigger.\n\n1. **Icon (optional)**\n\nAdds a visual cue to the text. Do not use when the trigger is itself an icon.\n\n1. **Arrow**\n\nPoints from the tooltip to its trigger. Not used in [Tooltip+Dense](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-PFE_wK_bWT) variant.\n\n## Styling\n\n**Layout and spacing**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=9416-2001&t=pA5l7Omuxa3ATwVS-1\n\n**Colors**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=9416-2060&t=pA5l7Omuxa3ATwVS-1\n\n**Typography**\n\n**https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=9416-2079&t=pA5l7Omuxa3ATwVS-1**\n\n**Overflow**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=9416-2085&t=pA5l7Omuxa3ATwVS-1";
10
+ ds:usage "## When to use\n\n- When a default tooltip is required for controls or icons\n- When an unfamiliar UI element, label, or action requires clarification\n- When content can be expressed as a single-line explanation or short phrase\n- When sufficient space is available for comfortable reading near the trigger\n- When supplementary information does not need to persist\n\n## When not to use\n\n- When the layout is dense and the tooltip may overlap important UI\n - Incorrect: A standard tooltip is used inside a compact data table where it obscures adjacent values\n - Remediation: Use a [Tooltip+Dense](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-PFE_wK_bWT) to reduce visual footprint\n- When content consists of abbreviations or truncated values\n - Incorrect: A standard tooltip is used to expand shortened labels in a toolbar\n - Remediation: Use a [Tooltip+Dense](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-PFE_wK_bWT) designed for compact label expansion\n- When content is structured or contains multiple elements\n - Incorrect: A tooltip contains a table, multiple text blocks, and icons\n - Remediation: Use [WrapperTooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-69TNyYt7M9) to support structured content\n- When used for data visualisation\n - Incorrect: A standard tooltip is used to display chart data values\n - Remediation: Use [DataTooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Y1ha3zI_b_) for label–value pairs and data inspection\n- When content is interactive or requires persistence\n - Incorrect: A tooltip contains clickable actions or inputs\n - Remediation: Use [Popover](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-i-62pvfoOF) or another persistent surface\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.\n\n";
11
+ ds:guidelines "**Important note on implementation:**\n\nAnimation values below are intended for [Framer Motion](https://motion.dev/), now just “Motion”.\n\n### **For all variants**\n\n- Show with a 400 ms delay after hover or focus\n- Hide with a 400 ms delay after the pointer leaves\n- Cancel display if the pointer exits before the show delay completes\n- If the pointer moves directly from one tooltip trigger to another, show the new tooltip immediately and skip the previous tooltip’s exit animation\n\n### **Transition**\n\n- **Type**: spring\n- **Duration**: 0.4 s\n- **Bounce**: 0.2\n- **Delay**: 0 s\n\n### Reduced motion\n\n- Fade in and out with no scale or movement, keeping the same delays.\n- The Data tooltip snaps to the pointer instead of easing.\n\n### CSS fallback\n\n- Opacity 0 to 1 and scale 0.96 to 1 over 400 ms, cubic-bezier(0.22, 1, 0.36, 1), transform origin at the arrow.\n\n### Interactions\n\n- Opens on hover and on keyboard focus, never on click.\n- Closes when the pointer or focus leaves, on Escape, and when another tooltip opens.\n- Only one tooltip is open at a time.\n- The pointer can move onto the tooltip without it closing.\n- Default position is centred on the trigger with an 8 px offset.\n\n### Positioning and responsive\n\n- Positioned relative to its trigger. Flips to the opposite side when there isn't enough room and never overflows the viewport.\n- Collision padding is 24 px for Standard and Wrapper, and 16 px for Dense.\n- Tooltips don't appear on touch devices, so essential information must be available another way.\n\n### Overflow\n\n- Text wraps at the max width (284 px).\n\n### Typography\n\n- Standard: typography-text-secondary-$root (14/20).\n- Dense: typography-text-tertiary-$root (12/16).\n- Helper headings and Strong key-value pairs: typography-text-secondary-$bold. Tooltip table headers: typography-text-tertiary-$bold.\n- Values use tabular figures in code.\n\n### Keyboard support\n\n- Tab or Shift+Tab to a trigger opens its tooltip.\n- Escape closes it without moving focus.\n- No other keys are handled.\n\n### Focus\n\n- Tooltips aren't focusable and aren't part of the tab order. They contain no interactive content.\n- When the trigger receives keyboard focus, the tooltip opens after the same delay as hover.\n- Disabled triggers don't receive focus, so a disabled control that needs an explanation should be wrapped in a focusable element.\n\n### ARIA\n\n- The tooltip element has role=\"tooltip\".\n- When it adds supplementary information, the trigger references it with aria-describedby.\n- When it's the only label (icon-only triggers), the trigger uses aria-labelledby or an aria-label with the same text.\n- Decorative icons inside the tooltip are hidden from assistive technology.\n\n### References\n\n- [WAI-ARIA tooltip pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/): role=\"tooltip\", aria-describedby, open on focus, Escape to dismiss.\n- [WCAG 1.4.13](https://www.w3.org/WAI/WCAG21/Understanding/content-on-hover-or-focus.html): dismissable, hoverable and persistent content on hover or focus.\n- [Carbon tooltip](https://carbondesignsystem.com/components/tooltip/usage/): 8/16 padding, 288 px max width, caret and offset. Closest sizing reference.\n- [Material 3](https://m3.material.io/components/tooltips/guidelines): plain vs rich tooltips, inverted surface by default, no caret.\n- [Grafana data tooltips](https://grafana.com/docs/grafana/latest/panels-visualizations/configure-tooltips/): cursor-follow behaviour and compact 24 px rows for series.\n\n";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsfulldocumentation;
14
- ds:hasProperty [
15
- a ds:Property;
16
- ds:name "***All variants***";
17
- ds:optional "false"
18
- ], [
19
- a ds:Property;
20
- ds:name "Type";
21
- ds:summary "Selects the tooltip variant";
22
- ds:optional "false";
23
- ds:propertyType "choice";
24
- ds:constraints "Dense\nWrapper\nData";
25
- ds:defaultValue "Standard"
26
- ], [
27
- a ds:Property;
28
- ds:name "Surrounding UI theme";
29
- ds:summary "Sets tooltip theme based on surrounding UI context";
30
- ds:optional "false";
31
- ds:propertyType "choice";
32
- ds:constraints "Dark";
33
- ds:defaultValue "Paper"
34
- ], [
35
- a ds:Property;
36
- ds:name "***Standard tooltip***";
37
- ds:optional "false"
13
+ ds:changeLog [
14
+ a ds:ChangeLogEntry;
15
+ ds:timestamp "2026-04-17T00:00:00.000+02:00";
16
+ ds:changeType "decision"
38
17
  ], [
18
+ a ds:ChangeLogEntry;
19
+ ds:timestamp "2026-05-12T00:00:00.000+02:00";
20
+ ds:changeType "change"
21
+ ];
22
+ ds:hasProperty [
39
23
  a ds:Property;
40
24
  ds:name "Icon";
41
25
  ds:summary "Shows an optional icon inside the tooltip";
42
- ds:optional "true";
43
26
  ds:propertyType "boolean";
44
- ds:constraints "No";
45
- ds:defaultValue "Yes"
46
- ], [
47
- a ds:Property;
48
- ds:name "Arrow";
49
- ds:summary "Sets arrow orientation";
50
- ds:optional "false";
51
- ds:propertyType "choice";
52
- ds:constraints "Right\nUp\nDown";
53
- ds:defaultValue "Left"
54
- ], [
55
- a ds:Property;
56
- ds:name "Max width";
57
- ds:summary "Maximum width of tooltip container";
58
- ds:optional "false";
59
- ds:propertyType "number";
60
- ds:constraints "px";
61
- ds:defaultValue "284"
62
- ], [
63
- a ds:Property;
64
- ds:name "***Dense tooltip***";
65
- ds:optional "false"
27
+ ds:optional "true";
28
+ ds:defaultValue "Yes";
29
+ ds:constraints "No"
66
30
  ], [
67
31
  a ds:Property;
68
32
  ds:name "Position";
69
33
  ds:summary "Preferred placement relative to trigger";
70
- ds:optional "false";
71
34
  ds:propertyType "choice";
72
- ds:constraints "Right\nUp\nDown";
73
- ds:defaultValue "Auto"
74
- ], [
75
- a ds:Property;
76
- ds:name "Max width";
77
- ds:summary "Maximum width of tooltip container";
78
35
  ds:optional "false";
79
- ds:propertyType "number";
80
- ds:constraints "px";
81
- ds:defaultValue "284"
82
- ], [
83
- a ds:Property;
84
- ds:name "***Wrapper tooltip***";
85
- ds:optional "false"
36
+ ds:defaultValue "Auto";
37
+ ds:constraints "Right\nTop\nBottom"
86
38
  ], [
87
39
  a ds:Property;
88
- ds:name "*Wrapper container*";
89
- ds:optional "false"
90
- ], [
91
- a ds:Property;
92
- ds:name "Position";
93
- ds:summary "Preferred placement relative to trigger";
94
- ds:optional "false";
40
+ ds:name "Arrow";
41
+ ds:summary "Sets arrow orientation";
95
42
  ds:propertyType "choice";
96
- ds:constraints "Right\nUp\nDown";
97
- ds:defaultValue "Auto"
43
+ ds:optional "false";
44
+ ds:defaultValue "Left";
45
+ ds:constraints "Bottom\nLeft\nRight"
98
46
  ], [
99
47
  a ds:Property;
100
48
  ds:name "Max width";
101
- ds:summary "Optional width override for wrapper tooltip";
102
- ds:optional "false";
49
+ ds:summary "Maximum width of tooltip container";
103
50
  ds:propertyType "number";
104
- ds:constraints "px";
105
- ds:defaultValue "284"
106
- ], [
107
- a ds:Property;
108
- ds:name "*Wrapper item*";
109
- ds:optional "false"
110
- ], [
111
- a ds:Property;
112
- ds:name "Wrapper item (instance swap)";
113
- ds:summary "Selects which content block appears in this wrapper row";
114
- ds:optional "false";
115
- ds:propertyType "element";
116
- ds:constraints "Image\nCTA\nTable\nChart legend\nKVP";
117
- ds:defaultValue "none"
118
- ], [
119
- a ds:Property;
120
- ds:name "*Key-value pair* (when selected as wrapper item)";
121
- ds:optional "false"
122
- ], [
123
- a ds:Property;
124
- ds:name "Value structure";
125
- ds:summary "Whether value is single or multi-entry";
126
- ds:optional "false";
127
- ds:propertyType "choice";
128
- ds:constraints "Multi";
129
- ds:defaultValue "Single"
130
- ], [
131
- a ds:Property;
132
- ds:name "Value layout";
133
- ds:summary "How value is arranged visually";
134
- ds:optional "false";
135
- ds:propertyType "choice";
136
- ds:constraints "Stacked";
137
- ds:defaultValue "Inline"
138
- ], [
139
- a ds:Property;
140
- ds:name "Layout";
141
- ds:summary "Layout control. Not for users.";
142
- ds:optional "false";
143
- ds:propertyType "choice";
144
- ds:constraints "Vertical";
145
- ds:defaultValue "Horizontal"
146
- ], [
147
- a ds:Property;
148
- ds:name "***Data tooltip***";
149
- ds:optional "false"
150
- ], [
151
- a ds:Property;
152
- ds:name "Show header";
153
- ds:summary "Shows legend header";
154
51
  ds:optional "true";
155
- ds:propertyType "boolean";
156
- ds:constraints "No";
157
- ds:defaultValue "Yes"
158
- ], [
159
- a ds:Property;
160
- ds:name "Indicator";
161
- ds:summary "Shows colour marker matching chart encoding";
162
- ds:optional "true";
163
- ds:propertyType "boolean";
164
- ds:constraints "No";
165
- ds:defaultValue "Yes"
52
+ ds:defaultValue "284";
53
+ ds:constraints "px"
166
54
  ], [
167
55
  a ds:Property;
168
- ds:name "Show cursor";
169
- ds:summary "Tooltip follows cursor instead of anchoring to trigger";
170
- ds:optional "false";
171
- ds:propertyType "boolean";
172
- ds:constraints "No";
173
- ds:defaultValue "Yes"
174
- ], [
175
- a ds:Property;
176
- ds:name "*Cursor animation* *(framer)*";
177
- ds:optional "false"
178
- ], [
179
- a ds:Property;
180
- ds:name "cursorFollow.position";
181
- ds:summary "Cursor-follow placement direction";
182
- ds:optional "false";
56
+ ds:name "Surrounding UI theme";
57
+ ds:summary "Sets tooltip theme based on surrounding UI context";
183
58
  ds:propertyType "choice";
184
- ds:constraints "Right";
185
- ds:defaultValue "Right"
186
- ], [
187
- a ds:Property;
188
- ds:name "cursorFollow.offsetX";
189
- ds:summary "Horizontal offset from cursor";
190
- ds:optional "false";
191
- ds:propertyType "number";
192
- ds:constraints "px";
193
- ds:defaultValue "16"
194
- ], [
195
- a ds:Property;
196
- ds:name "cursorFollow.offsetY";
197
- ds:summary "Vertical offset from cursor";
198
59
  ds:optional "false";
199
- ds:propertyType "number";
200
- ds:constraints "px";
201
- ds:defaultValue "8"
202
- ], [
203
- a ds:Property;
204
- ds:name "Motion feel";
205
- ds:summary "High-level motion tuning preset";
206
- ds:optional "true";
207
- ds:propertyType "choice";
208
- ds:constraints "No-bounce";
209
- ds:defaultValue "Snappy"
210
- ];
211
- ds:changeLog [
212
- a ds:ChangeLogEntry;
213
- ds:timestamp "2026-04-17T00:00:00.000+02:00";
214
- ds:changeType "decision"
215
- ], [
216
- a ds:ChangeLogEntry;
217
- ds:timestamp "2026-05-12T00:00:00.000+02:00";
218
- ds:changeType "change"
60
+ ds:defaultValue "Light";
61
+ ds:constraints "Dark"
219
62
  ];
220
- ds:hasVariant ds:global.variant.tooltip_dense;
63
+ ds:documentationStage ds:tag.needsfulldocumentation;
221
64
  ds:specializedBy ds:global.component.data_tooltip;
65
+ ds:hasVariant ds:global.variant.tooltip_dense;
222
66
  ds:hasTokenBinding [
223
67
  a ds:TokenBinding;
224
68
  ds:viaBlock ds:global.component.tooltip;
@@ -226,47 +70,47 @@ ds:global.component.tooltip a ds:Component;
226
70
  anatomy:styleKey "appearance.background";
227
71
  anatomy:styleState "default";
228
72
  ds:rank 1;
229
- ds:consumesSymbol dt:surface.color.background
73
+ ds:consumesSymbol dt:color.background.container
230
74
  ], [
231
75
  a ds:TokenBinding;
232
76
  ds:viaBlock ds:global.component.tooltip;
233
77
  ds:node "$root";
234
- anatomy:styleKey "appearance.background";
78
+ anatomy:styleKey "typography.color";
235
79
  anatomy:styleState "default";
236
- ds:rank 2;
237
- ds:consumesSymbol dt:color.background
80
+ ds:rank 1;
81
+ ds:consumesSymbol dt:color.text
238
82
  ], [
239
83
  a ds:TokenBinding;
240
84
  ds:viaBlock ds:global.component.tooltip;
241
85
  ds:node "$root";
242
- anatomy:styleKey "typography.color";
86
+ anatomy:styleKey "appearance.border.color";
243
87
  anatomy:styleState "default";
244
88
  ds:rank 1;
245
- ds:consumesSymbol dt:surface.color.text
89
+ ds:consumesSymbol dt:color.border.muted
246
90
  ], [
247
91
  a ds:TokenBinding;
248
92
  ds:viaBlock ds:global.component.tooltip;
249
93
  ds:node "$root";
250
- anatomy:styleKey "typography.color";
94
+ anatomy:styleKey "appearance.border.width";
251
95
  anatomy:styleState "default";
252
- ds:rank 2;
253
- ds:consumesSymbol dt:color.text
96
+ ds:rank 1;
97
+ ds:consumesSymbol dt:dimension.stroke.thickness.medium
254
98
  ], [
255
99
  a ds:TokenBinding;
256
100
  ds:viaBlock ds:global.component.tooltip;
257
101
  ds:node "$root";
258
- anatomy:styleKey "appearance.border.color";
102
+ anatomy:styleKey "appearance.radius";
259
103
  anatomy:styleState "default";
260
104
  ds:rank 1;
261
- ds:consumesSymbol dt:surface.color.background
105
+ ds:consumesSymbol dt:dimension.radius.small
262
106
  ], [
263
107
  a ds:TokenBinding;
264
108
  ds:viaBlock ds:global.component.tooltip;
265
109
  ds:node "$root";
266
- anatomy:styleKey "appearance.border.color";
110
+ anatomy:styleKey "typography.font";
267
111
  anatomy:styleState "default";
268
- ds:rank 2;
269
- ds:consumesSymbol dt:color.background
112
+ ds:rank 1;
113
+ ds:consumesSymbol dt:typography.text.secondary
270
114
  ], [
271
115
  a ds:TokenBinding;
272
116
  ds:viaBlock ds:global.component.tooltip;
@@ -315,11 +159,27 @@ ds:global.component.tooltip a ds:Component;
315
159
  anatomy:styleState "default";
316
160
  ds:rank 1;
317
161
  ds:consumesSymbol dt:dimension.200
162
+ ], [
163
+ a ds:TokenBinding;
164
+ ds:viaBlock ds:global.component.tooltip;
165
+ ds:node "$root/content row/icon";
166
+ anatomy:styleKey "spacing.internal.block.start";
167
+ anatomy:styleState "default";
168
+ ds:rank 1;
169
+ ds:consumesSymbol dt:dimension.025
170
+ ], [
171
+ a ds:TokenBinding;
172
+ ds:viaBlock ds:global.component.tooltip;
173
+ ds:node "$root/arrow";
174
+ anatomy:styleKey "size.width";
175
+ anatomy:styleState "default";
176
+ ds:rank 1;
177
+ ds:consumesSymbol dt:dimension.175
318
178
  ], [
319
179
  a ds:TokenBinding;
320
180
  ds:viaBlock ds:global.component.tooltip;
321
181
  ds:node "$root/arrow";
322
- anatomy:styleKey "appearance.border.top.width";
182
+ anatomy:styleKey "size.height";
323
183
  anatomy:styleState "default";
324
184
  ds:rank 1;
325
185
  ds:consumesSymbol dt:dimension.100
@@ -327,16 +187,24 @@ ds:global.component.tooltip a ds:Component;
327
187
  a ds:TokenBinding;
328
188
  ds:viaBlock ds:global.component.tooltip;
329
189
  ds:node "$root/arrow";
330
- anatomy:styleKey "appearance.border.color";
190
+ anatomy:styleKey "appearance.background";
331
191
  anatomy:styleState "default";
332
192
  ds:rank 1;
333
- ds:consumesSymbol dt:surface.color.background
193
+ ds:consumesSymbol dt:color.background.container
334
194
  ], [
335
195
  a ds:TokenBinding;
336
196
  ds:viaBlock ds:global.component.tooltip;
337
197
  ds:node "$root/arrow";
338
198
  anatomy:styleKey "appearance.border.color";
339
199
  anatomy:styleState "default";
340
- ds:rank 2;
341
- ds:consumesSymbol dt:color.background
200
+ ds:rank 1;
201
+ ds:consumesSymbol dt:color.border.muted
202
+ ], [
203
+ a ds:TokenBinding;
204
+ ds:viaBlock ds:global.component.tooltip;
205
+ ds:node "$root/arrow";
206
+ anatomy:styleKey "appearance.border.width";
207
+ anatomy:styleState "default";
208
+ ds:rank 1;
209
+ ds:consumesSymbol dt:dimension.stroke.thickness.medium
342
210
  ].