@canonical/design-system 0.44.0 → 0.47.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 (354) hide show
  1. package/data/apps/component/file_tree.ttl +1 -1
  2. package/data/apps/component/inline_panel.ttl +17 -0
  3. package/data/apps/{subcomponent → component}/log.ttl +1 -1
  4. package/data/apps/component/navigation.ttl +1 -1
  5. package/data/apps/component/notification.ttl +1 -1
  6. package/data/apps/component/side_navigation.ttl +50 -6
  7. package/data/apps/group/notifications.ttl +1 -1
  8. package/data/apps/layout/application_layout.ttl +1 -1
  9. package/data/apps/layout/content_layout.ttl +2 -3
  10. package/data/apps/layout/empty_layout.ttl +1 -1
  11. package/data/apps/layout/empty_state.ttl +1 -1
  12. package/data/apps/layout/login_layout.ttl +12 -0
  13. package/data/apps/layout/side_panel_form_layout.ttl +13 -0
  14. package/data/apps/pattern/action_bar.ttl +2 -2
  15. package/data/apps/pattern/code_diff.ttl +1 -1
  16. package/data/apps/pattern/data_views.ttl +85 -0
  17. package/data/apps/pattern/datatable.ttl +20 -91
  18. package/data/apps/pattern/destructive_modal.ttl +1 -1
  19. package/data/apps/pattern/drawer.ttl +1 -1
  20. package/data/apps/pattern/notification_center.ttl +2 -2
  21. package/data/apps/pattern/page_header.ttl +58 -0
  22. package/data/apps/pattern/side_panel.ttl +258 -10
  23. package/data/apps/subcomponent/data_table-action_bar.ttl +8 -8
  24. package/data/apps/subcomponent/data_table-body_cell.ttl +26 -26
  25. package/data/apps/subcomponent/data_table-group_header_row.ttl +8 -8
  26. package/data/apps/subcomponent/data_table-header_cell.ttl +13 -13
  27. package/data/apps/subcomponent/data_table-pagination_bar.ttl +11 -11
  28. package/data/apps/subcomponent/data_table-persistent_selection.ttl +10 -10
  29. package/data/apps/subcomponent/data_table-settings_menu.ttl +15 -15
  30. package/data/apps/subcomponent/data_views-filters.ttl +13 -0
  31. package/data/apps/subcomponent/data_views-saved_views.ttl +13 -0
  32. package/data/apps/subcomponent/data_views-sort_panel.ttl +13 -0
  33. package/data/apps/subcomponent/drawer-content.ttl +1 -1
  34. package/data/apps/subcomponent/drawer-footer.ttl +1 -1
  35. package/data/apps/subcomponent/drawer-header.ttl +1 -1
  36. package/data/apps/subcomponent/side_navigation-content.ttl +13 -0
  37. package/data/apps/subcomponent/side_navigation-context_switcher.ttl +53 -0
  38. package/data/apps/subcomponent/side_navigation-item.ttl +80 -0
  39. package/data/apps/subcomponent/side_navigation-item_group.ttl +13 -0
  40. package/data/apps/subcomponent/side_panel-content.ttl +2 -2
  41. package/data/apps/subcomponent/side_panel-footer.ttl +196 -3
  42. package/data/apps/subcomponent/side_panel-header.ttl +212 -3
  43. package/data/apps_anbox/component/theme_switcher.ttl +1 -1
  44. package/data/apps_anbox/pattern/side_menu.ttl +0 -1
  45. package/data/{tagcategory/lpupstream.ttl → apps_identity.ttl} +2 -2
  46. package/data/apps_landscape/component/checkbox_group.ttl +24 -24
  47. package/data/apps_landscape/component/code_editor.ttl +35 -35
  48. package/data/apps_landscape/component/cron_schedule.ttl +4 -4
  49. package/data/apps_landscape/component/expandable_radio_group.ttl +47 -47
  50. package/data/apps_landscape/component/expandable_truncation.ttl +20 -20
  51. package/data/apps_landscape/component/form_section.ttl +4 -4
  52. package/data/apps_landscape/component/gpg_key_field.ttl +27 -27
  53. package/data/apps_landscape/component/grouped_select.ttl +25 -25
  54. package/data/apps_landscape/component/loading_state.ttl +8 -8
  55. package/data/apps_landscape/component/managed_file_input.ttl +18 -18
  56. package/data/apps_landscape/component/multi_select_field.ttl +50 -50
  57. package/data/apps_landscape/component/password_constraints.ttl +1 -1
  58. package/data/apps_landscape/component/progress_bar.ttl +20 -20
  59. package/data/apps_landscape/component/read_only_field.ttl +15 -15
  60. package/data/apps_landscape/component/search_help_popup.ttl +10 -10
  61. package/data/apps_landscape/component/search_query_editor.ttl +33 -33
  62. package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
  63. package/data/apps_landscape/pattern/content_blocks.ttl +20 -20
  64. package/data/apps_landscape/pattern/dashboard_page_composition.ttl +37 -37
  65. package/data/apps_landscape/pattern/delivery_scheduling.ttl +6 -6
  66. package/data/apps_landscape/pattern/form_field_help.ttl +28 -28
  67. package/data/apps_landscape/pattern/header_search_controls.ttl +41 -41
  68. package/data/apps_landscape/pattern/ignorable_notification.ttl +16 -16
  69. package/data/apps_landscape/pattern/information_grid.ttl +14 -14
  70. package/data/apps_landscape/pattern/instance_association.ttl +5 -5
  71. package/data/apps_landscape/pattern/process_flow.ttl +11 -11
  72. package/data/apps_landscape/pattern/progressively_expandable_table.ttl +32 -32
  73. package/data/apps_landscape/pattern/recurring_schedule.ttl +3 -3
  74. package/data/apps_landscape/pattern/responsive_action_group.ttl +12 -12
  75. package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
  76. package/data/apps_landscape/pattern/responsive_table_filters.ttl +11 -11
  77. package/data/apps_landscape/pattern/side_panel_form_actions.ttl +40 -40
  78. package/data/apps_landscape/pattern/sortable_list.ttl +14 -14
  79. package/data/apps_landscape/pattern/table_filter.ttl +57 -57
  80. package/data/apps_landscape/pattern/table_filter_chips.ttl +67 -67
  81. package/data/apps_landscape/pattern/table_pagination.ttl +63 -63
  82. package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +22 -22
  83. package/data/apps_landscape/subcomponent/bold_substring.ttl +4 -4
  84. package/data/apps_landscape/subcomponent/inline_cell_input.ttl +8 -8
  85. package/data/apps_landscape/subcomponent/label_with_description.ttl +14 -14
  86. package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +8 -8
  87. package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
  88. package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +12 -12
  89. package/data/apps_launchpad/component/avatar.ttl +2 -2
  90. package/data/apps_launchpad/component/badge.ttl +2 -2
  91. package/data/apps_launchpad/component/breadcrumbs.ttl +1 -1
  92. package/data/apps_launchpad/component/button.ttl +2 -2
  93. package/data/apps_launchpad/component/checkbox_input.ttl +4 -4
  94. package/data/apps_launchpad/component/combobox.ttl +2 -2
  95. package/data/apps_launchpad/component/drawer.ttl +4 -4
  96. package/data/apps_launchpad/component/modal.ttl +4 -12
  97. package/data/apps_launchpad/component/radio_input.ttl +5 -5
  98. package/data/apps_launchpad/component/select_input.ttl +1 -1
  99. package/data/apps_launchpad/component/switch.ttl +5 -5
  100. package/data/apps_launchpad/component/text_input.ttl +8 -8
  101. package/data/apps_launchpad/component/textarea_input.ttl +10 -10
  102. package/data/apps_launchpad/component/tooltip.ttl +3 -3
  103. package/data/apps_launchpad/subcomponent/combobox-loading.ttl +2 -2
  104. package/data/apps_launchpad/subcomponent/combobox-search.ttl +4 -4
  105. package/data/apps_launchpad/subcomponent/description_list-item.ttl +1 -1
  106. package/data/apps_launchpad/subcomponent/modal-content.ttl +2 -2
  107. package/data/apps_lxd/component/back_link.ttl +1 -1
  108. package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
  109. package/data/apps_lxd/component/doc_link.ttl +2 -2
  110. package/data/apps_lxd/component/meter.ttl +5 -5
  111. package/data/apps_lxd/component/output_field.ttl +2 -3
  112. package/data/apps_lxd/component/rename_header.ttl +15 -15
  113. package/data/apps_lxd/component/tab_links.ttl +4 -4
  114. package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +2 -2
  115. package/data/apps_lxd/view/network_topology.ttl +3 -4
  116. package/data/apps_portal/layout/details_view.ttl +0 -1
  117. package/data/{apps_workplaceengineering → apps_workplace}/component/complex_multi_select.ttl +3 -3
  118. package/data/{apps_workplaceengineering → apps_workplace}/component/label-highlight.ttl +5 -6
  119. package/data/apps_workplace/component/org_chart.ttl +12 -0
  120. package/data/{apps_workplaceengineering → apps_workplace}/component/rule.ttl +2 -2
  121. package/data/{apps_workplaceengineering → apps_workplace}/component/skip_link.ttl +2 -2
  122. package/data/{apps_workplaceengineering → apps_workplace}/component/theme_switcher.ttl +3 -3
  123. package/data/{apps_workplaceengineering → apps_workplace}/pattern/callout_numbers_card.ttl +4 -4
  124. package/data/{apps_workplaceengineering → apps_workplace}/pattern/confirmation_modal.ttl +2 -2
  125. package/data/apps_workplace/pattern/org_event_card.ttl +12 -0
  126. package/data/apps_workplace/subcomponent/multi_select_input.ttl +12 -0
  127. package/data/{apps_workplaceengineering.ttl → apps_workplace.ttl} +2 -2
  128. package/data/concept/Accessibility.ttl +9 -0
  129. package/data/concept/Breakpoints.ttl +9 -0
  130. package/data/concept/Design-tokens-Overview.ttl +10 -0
  131. package/data/concept/Filtering-patterns.ttl +10 -0
  132. package/data/concept/Foundations-Baseline.ttl +0 -1
  133. package/data/concept/Foundations-Color.ttl +10 -0
  134. package/data/concept/Foundations-Density--the-form-channel.ttl +0 -1
  135. package/data/concept/Foundations-Grid--Layout.ttl +2 -3
  136. package/data/concept/Foundations-Spacing/-Element-vs-container-owned.ttl +0 -1
  137. package/data/concept/Foundations-Spacing.ttl +0 -1
  138. package/data/concept/Foundations-Surfaces.ttl +1 -2
  139. package/data/concept/Foundations-Typography.ttl +1 -2
  140. package/data/concept/How-to-choose-between-question-mark-and-information-icon.ttl +10 -0
  141. package/data/concept/How-to-differentiate-types-of-UI-blocks-.ttl +3 -4
  142. package/data/concept/How-to-indicate-required-fields-in-forms.ttl +1 -2
  143. package/data/concept/How-to-support-modifiers-in-a-component.ttl +0 -1
  144. package/data/concept/Intentional-friction.ttl +0 -1
  145. package/data/concept/Overflow.ttl +10 -0
  146. package/data/concept/Understanding-the-modifier-contract.ttl +0 -1
  147. package/data/documentation/layout/content_page_layout.ttl +13 -0
  148. package/data/documentation/layout/documentation_layout.ttl +2 -1
  149. package/data/documentation/layout/library_layout.ttl +13 -0
  150. package/data/documentation/layout/search_page_layout.ttl +13 -0
  151. package/data/documentation/pattern/library_side_navigation.ttl +4 -4
  152. package/data/global/component/accordion.ttl +5 -184
  153. package/data/global/component/announcement.ttl +4 -4
  154. package/data/global/component/avatar.ttl +1 -1
  155. package/data/global/component/badge.ttl +7 -9
  156. package/data/global/component/breadcrumbs.ttl +8 -7
  157. package/data/global/component/button.ttl +7 -25
  158. package/data/global/component/button_link.ttl +1 -1
  159. package/data/global/component/card.ttl +3 -12
  160. package/data/global/component/checkbox_field.ttl +1 -1
  161. package/data/global/component/chip.ttl +5 -6
  162. package/data/global/component/choices_field.ttl +11 -3
  163. package/data/global/component/code_snippet.ttl +1 -2
  164. package/data/global/component/color_field.ttl +1 -1
  165. package/data/global/component/combobox_field.ttl +2 -18
  166. package/data/global/component/contextual_menu.ttl +4 -6
  167. package/data/global/component/date_field.ttl +1 -1
  168. package/data/global/component/date_time_field.ttl +1 -1
  169. package/data/global/component/drag_and_drop_list.ttl +3 -3
  170. package/data/global/component/dropdown_button.ttl +2 -3
  171. package/data/global/component/file_upload_field.ttl +509 -60
  172. package/data/global/component/heading.ttl +4 -4
  173. package/data/global/component/hidden_field.ttl +1 -1
  174. package/data/global/component/icon.ttl +3 -3
  175. package/data/global/component/icon_button.ttl +35 -0
  176. package/data/global/component/icon_in_container.ttl +7 -2
  177. package/data/global/component/inline_code.ttl +1 -1
  178. package/data/{apps → global}/component/key_value_pair.ttl +3 -3
  179. package/data/global/component/keyboard_key.ttl +1 -1
  180. package/data/global/{pattern/navigation.ttl → component/link.ttl} +3 -3
  181. package/data/global/component/links.ttl +12 -0
  182. package/data/global/component/markdown_editor_field.ttl +13 -0
  183. package/data/global/component/mode_switcher.ttl +2 -2
  184. package/data/global/component/notification_toast.ttl +1 -1
  185. package/data/global/component/number_field.ttl +1 -1
  186. package/data/global/component/pagination.ttl +2 -2
  187. package/data/global/component/password_field.ttl +1 -1
  188. package/data/global/component/phone_field.ttl +1 -1
  189. package/data/global/component/popover.ttl +1 -1
  190. package/data/global/component/query_builder.ttl +12 -0
  191. package/data/global/component/range_field.ttl +1 -81
  192. package/data/global/component/rating_field.ttl +1 -1
  193. package/data/global/component/relative_timestamp.ttl +2 -1
  194. package/data/global/component/rich_choices_field.ttl +1 -1
  195. package/data/global/component/rich_text_editor.ttl +12 -0
  196. package/data/global/component/rich_text_field.ttl +1 -1
  197. package/data/global/component/search_field.ttl +1 -1
  198. package/data/global/{subcomponent/markdown_input.ttl → component/segmented_control.ttl} +3 -3
  199. package/data/global/component/segmented_control_field.ttl +1 -1
  200. package/data/global/component/select_field.ttl +1 -1
  201. package/data/global/component/switch_field.ttl +1 -1
  202. package/data/global/component/table.ttl +4 -4
  203. package/data/global/component/tabs.ttl +1 -1
  204. package/data/global/component/tag.ttl +2 -2
  205. package/data/global/component/text_field.ttl +1 -1
  206. package/data/global/component/textarea_field.ttl +1 -1
  207. package/data/global/component/tile.ttl +2 -5
  208. package/data/global/component/time_field.ttl +1 -1
  209. package/data/global/component/timestamp.ttl +2 -1
  210. package/data/global/component/tooltip.ttl +78 -120
  211. package/data/global/component/{data_tooltip.ttl → tooltip_data.ttl} +31 -23
  212. package/data/global/component/tooltip_wrapper.ttl +71 -15
  213. package/data/global/group/buttons.ttl +1 -8
  214. package/data/global/group/cards.ttl +2 -6
  215. package/data/global/group/code_snippets.ttl +1 -1
  216. package/data/{apps → global}/group/key_value_pairs.ttl +3 -3
  217. package/data/global/group/keyboard_keys.ttl +1 -1
  218. package/data/global/group/tiles.ttl +1 -1
  219. package/data/global/modifier/constructive.ttl +1 -1
  220. package/data/global/modifier/elevated.ttl +1 -1
  221. package/data/global/modifier/information.ttl +1 -1
  222. package/data/global/modifier_family/_emphasis.ttl +1 -2
  223. package/data/global/modifier_family/_other.ttl +1 -2
  224. package/data/global/modifier_family/surface.ttl +1 -1
  225. package/data/global/pattern/description_list.ttl +1 -1
  226. package/data/global/pattern/field.ttl +1 -1
  227. package/data/global/{component/markdown_field.ttl → pattern/filter.ttl} +3 -3
  228. package/data/global/pattern/form_login.ttl +1 -1
  229. package/data/global/pattern/modal.ttl +5 -21
  230. package/data/global/pattern/stepper.ttl +1 -1
  231. package/data/global/pattern/table_of_contents.ttl +1 -1
  232. package/data/global/pattern/timeline.ttl +14 -19
  233. package/data/global/pattern/top_navigation.ttl +13 -0
  234. package/data/global/subcomponent/accordion-item.ttl +3 -156
  235. package/data/global/subcomponent/card-content.ttl +1 -1
  236. package/data/global/subcomponent/card-footer.ttl +1 -1
  237. package/data/global/subcomponent/card-header.ttl +1 -1
  238. package/data/global/subcomponent/card-image.ttl +2 -2
  239. package/data/global/subcomponent/card-thumbnail.ttl +1 -1
  240. package/data/global/subcomponent/chart_legend.ttl +1 -1
  241. package/data/global/subcomponent/chart_legend_item.ttl +1 -1
  242. package/data/global/subcomponent/checkbox_input.ttl +1 -1
  243. package/data/global/subcomponent/color_input.ttl +1 -1
  244. package/data/global/subcomponent/combobox_input.ttl +2 -18
  245. package/data/global/subcomponent/date_input.ttl +1 -1
  246. package/data/global/subcomponent/date_time_input.ttl +1 -1
  247. package/data/global/subcomponent/field-description.ttl +1 -1
  248. package/data/global/subcomponent/field-label.ttl +1 -1
  249. package/data/global/subcomponent/file_upload_input.ttl +503 -50
  250. package/data/global/subcomponent/hidden_input.ttl +1 -1
  251. package/data/global/subcomponent/markdown_editor_input.ttl +13 -0
  252. package/data/global/subcomponent/modal-content.ttl +1 -1
  253. package/data/global/subcomponent/modal-footer.ttl +3 -19
  254. package/data/global/subcomponent/modal-header.ttl +5 -21
  255. package/data/global/subcomponent/number_input.ttl +1 -1
  256. package/data/global/subcomponent/password_input.ttl +1 -1
  257. package/data/global/subcomponent/phone_input.ttl +1 -1
  258. package/data/global/subcomponent/radio_input.ttl +1 -1
  259. package/data/global/subcomponent/range_input.ttl +3 -84
  260. package/data/global/subcomponent/rating_input.ttl +1 -1
  261. package/data/global/subcomponent/rich_text_input.ttl +1 -1
  262. package/data/global/subcomponent/search_input.ttl +3 -4
  263. package/data/global/subcomponent/segmented_control_input.ttl +1 -1
  264. package/data/global/subcomponent/select_input.ttl +1 -1
  265. package/data/global/subcomponent/spinner.ttl +2 -2
  266. package/data/global/subcomponent/switch_input.ttl +1 -1
  267. package/data/global/{layout/form_layout.ttl → subcomponent/text_editor_input.ttl} +2 -2
  268. package/data/global/subcomponent/text_input.ttl +1 -1
  269. package/data/global/subcomponent/textarea_input.ttl +1 -1
  270. package/data/global/subcomponent/tile-content.ttl +1 -1
  271. package/data/global/subcomponent/time_input.ttl +1 -1
  272. package/data/global/subcomponent/timeline-content.ttl +2 -2
  273. package/data/global/subcomponent/timeline-event.ttl +5 -5
  274. package/data/global/subcomponent/timeline-expansion_indicator.ttl +1 -1
  275. package/data/global/subcomponent/timeline-header.ttl +1 -1
  276. package/data/global/variant/tooltip_dense.ttl +87 -6
  277. package/data/global_dataviews/component/filter_button.ttl +487 -0
  278. package/data/global_dataviews/component/query_bar.ttl +1639 -0
  279. package/data/global_dataviews/component/query_chip.ttl +605 -0
  280. package/data/global_dataviews/group/query_chips.ttl +565 -0
  281. package/data/global_dataviews/modifier/exclusion.ttl +8 -0
  282. package/data/global_dataviews/modifier/inclusion.ttl +8 -0
  283. package/data/global_dataviews/modifier/match.ttl +8 -0
  284. package/data/global_dataviews/modifier/presence.ttl +8 -0
  285. package/data/global_dataviews/modifier/range.ttl +8 -0
  286. package/data/global_dataviews/modifier_family/condition.ttl +9 -0
  287. package/data/global_dataviews/subcomponent/query_chip-entry.ttl +186 -0
  288. package/data/global_dataviews/subcomponent/query_chip-segment.ttl +241 -0
  289. package/data/global_dataviews/subcomponent/query_input.ttl +1287 -0
  290. package/data/{tagcategory/documentation-stage.ttl → global_dataviews.ttl} +2 -2
  291. package/data/sites/component/store_card.ttl +92 -0
  292. package/data/sites/pattern/hero.ttl +295 -4
  293. package/data/{stores.ttl → sites_stores.ttl} +2 -2
  294. package/data/tag/designin-progress.ttl +9 -0
  295. package/data/tag/devbatch1.ttl +1 -1
  296. package/data/tag/devbatch2.ttl +1 -1
  297. package/data/tag/devbatch3.ttl +1 -1
  298. package/data/tag/{wpetriageupstream-and-deprecate.ttl → devdone.ttl} +3 -2
  299. package/data/tag/devin-progress.ttl +9 -0
  300. package/data/tag/{stylesready.ttl → devin-review.ttl} +3 -3
  301. package/data/tag/devpre-approved.ttl +9 -0
  302. package/data/tag/{devreactapproved.ttl → devreactdone.ttl} +3 -3
  303. package/data/tag/devreactpreapproved.ttl +1 -1
  304. package/data/tag/{wpeinital-implementation.ttl → devsveltepreapproved.ttl} +3 -3
  305. package/data/tag/divergent.ttl +1 -1
  306. package/data/tag/docscomplete.ttl +1 -1
  307. package/data/tag/global-docs-missing.ttl +1 -1
  308. package/data/tag/has-no-global-entry.ttl +1 -1
  309. package/data/tag/implementationcomplete.ttl +9 -0
  310. package/data/tag/lpto-be-upstreamed.ttl +1 -1
  311. package/data/tag/lptriageblocked-reqs-design.ttl +1 -1
  312. package/data/tag/lptriageno-upstream.ttl +1 -1
  313. package/data/tag/lptriagereimplement-and-deprecate.ttl +1 -1
  314. package/data/tag/lptriagereimplement-and-keep.ttl +1 -1
  315. package/data/tag/lptriageupstream-and-deprecate.ttl +1 -1
  316. package/data/tag/{needsdefinition.ttl → needscoredocumentation.ttl} +3 -3
  317. package/data/tag/needsdesign.ttl +9 -0
  318. package/data/tag/{needsdocumentation.ttl → needsfulldocumentation.ttl} +3 -3
  319. package/data/tag/needsimplementation.ttl +9 -0
  320. package/data/tag/needstriage.ttl +1 -1
  321. package/data/tag/specialadoption-docs.ttl +1 -1
  322. package/data/tag/triagedbacklog.ttl +2 -2
  323. package/data/tag/triagedrejected.ttl +2 -2
  324. package/data/tag/upstream-candidate.ttl +1 -1
  325. package/data/tag/upstream-compliant.ttl +1 -1
  326. package/data/tag/waiting-for-delta-review.ttl +1 -1
  327. package/data/tag/workplaceinitial-implementation.ttl +9 -0
  328. package/data/tag/workplacetriageupstream-and-deprecate.ttl +9 -0
  329. package/data/tagcategory/design--documentation-status.ttl +6 -0
  330. package/data/tagcategory/implementationnotes.ttl +6 -0
  331. package/data/tagcategory/implementationstatus.ttl +6 -0
  332. package/data/tagcategory/implementationworkflow.ttl +6 -0
  333. package/definitions/ontology.ttl +8 -2
  334. package/package.json +6 -6
  335. package/skills/adoption-a1-styles/SKILL.md +48 -7
  336. package/skills/adoption-a2-components/SKILL.md +125 -5
  337. package/skills/anatomy-author/SKILL.md +302 -95
  338. package/skills/anatomy-author/clarification-guidelines.md +150 -0
  339. package/skills/anatomy-author/completeness-checklist.md +224 -0
  340. package/skills/implement-component/SKILL.md +2 -2
  341. package/skills/map-journeys/SKILL.md +395 -0
  342. package/skills/map-journeys/journey-graph.example.html +298 -0
  343. package/skills/model-domains/SKILL.md +502 -0
  344. package/data/apps_workplaceengineering/pattern/event_timeline.ttl +0 -13
  345. package/data/apps_workplaceengineering/pattern/group_card.ttl +0 -13
  346. package/data/apps_workplaceengineering/pattern/travel_provider_card.ttl +0 -14
  347. package/data/apps_workplaceengineering/subcomponent/multi_select_input.ttl +0 -12
  348. package/data/concept/Question-mark-vs-information-icon.ttl +0 -11
  349. package/data/global/modifier/editable.ttl +0 -8
  350. package/data/global/modifier/focused.ttl +0 -8
  351. package/data/global/modifier/highlighted.ttl +0 -8
  352. package/data/global/modifier/loading.ttl +0 -8
  353. package/data/global/modifier/muted.ttl +0 -8
  354. package/data/global/modifier/wireframe.ttl +0 -8
@@ -4,13 +4,13 @@
4
4
 
5
5
  ds:global.component.tile a ds:Component;
6
6
  ds:name "Tile";
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. \n\n";
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
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";
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.needsdocumentation;
13
+ ds:documentationStage ds:tag.needsfulldocumentation;
14
14
  ds:hasProperty [
15
15
  a ds:Property;
16
16
  ds:name "children";
@@ -21,17 +21,14 @@ ds:global.component.tile a ds:Component;
21
21
  ds:changeLog [
22
22
  a ds:ChangeLogEntry;
23
23
  ds:timestamp "2026-04-17T00:00:00.000+02:00";
24
- ds:change "comments have been addressed and documentation has been updated";
25
24
  ds:changeType "change"
26
25
  ], [
27
26
  a ds:ChangeLogEntry;
28
27
  ds:timestamp "2026-04-17T00:00:00.000+02:00";
29
- ds:change "The tile can have an optional header.";
30
28
  ds:changeType "decision"
31
29
  ], [
32
30
  a ds:ChangeLogEntry;
33
31
  ds:timestamp "2026-04-24T00:00:00.000+02:00";
34
- ds:change "updated the summary deflection ant the usage description";
35
32
  ds:changeType "change"
36
33
  ];
37
34
  ds:hasTokenBinding [
@@ -10,7 +10,7 @@ ds:global.component.time_field a ds:Component;
10
10
  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
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition;
13
+ ds:documentationStage ds:tag.needscoredocumentation;
14
14
  ds:hasTokenBinding [
15
15
  a ds:TokenBinding;
16
16
  ds:viaBlock ds:global.component.time_field;
@@ -9,4 +9,5 @@ ds:global.component.timestamp a ds:Component;
9
9
  ds:anatomyClassic "";
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
- ds:tier ds:global.
12
+ ds:tier ds:global;
13
+ ds:documentationStage ds:tag.needstriage.
@@ -4,13 +4,13 @@
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.\n\n";
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 [TooltipWrapper](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-69TNyYt7M9) and [TooltipData](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-1616&t=pA5l7Omuxa3ATwVS-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\nhttps://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 [TooltipWrapper](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 [TooltipData](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; [TooltipWrapper](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-69TNyYt7M9) for structured content and complex hierarchies; [TooltipData](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Y1ha3zI_b_) for data visualization.";
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.needsdocumentation;
13
+ ds:documentationStage ds:tag.needsfulldocumentation;
14
14
  ds:hasProperty [
15
15
  a ds:Property;
16
16
  ds:name "***All variants***";
@@ -21,16 +21,16 @@ ds:global.component.tooltip a ds:Component;
21
21
  ds:summary "Selects the tooltip variant";
22
22
  ds:optional "false";
23
23
  ds:propertyType "choice";
24
- ds:defaultValue "Standard";
25
- ds:constraints "Dense\nWrapper\nData"
24
+ ds:constraints "Dense\nWrapper\nData";
25
+ ds:defaultValue "Standard"
26
26
  ], [
27
27
  a ds:Property;
28
28
  ds:name "Surrounding UI theme";
29
29
  ds:summary "Sets tooltip theme based on surrounding UI context";
30
30
  ds:optional "false";
31
31
  ds:propertyType "choice";
32
- ds:defaultValue "Paper";
33
- ds:constraints "Dark"
32
+ ds:constraints "Dark";
33
+ ds:defaultValue "Paper"
34
34
  ], [
35
35
  a ds:Property;
36
36
  ds:name "***Standard tooltip***";
@@ -41,24 +41,24 @@ ds:global.component.tooltip a ds:Component;
41
41
  ds:summary "Shows an optional icon inside the tooltip";
42
42
  ds:optional "true";
43
43
  ds:propertyType "boolean";
44
- ds:defaultValue "Yes";
45
- ds:constraints "No"
44
+ ds:constraints "No";
45
+ ds:defaultValue "Yes"
46
46
  ], [
47
47
  a ds:Property;
48
48
  ds:name "Arrow";
49
49
  ds:summary "Sets arrow orientation";
50
50
  ds:optional "false";
51
51
  ds:propertyType "choice";
52
- ds:defaultValue "Left";
53
- ds:constraints "Right\nUp\nDown"
52
+ ds:constraints "Right\nUp\nDown";
53
+ ds:defaultValue "Left"
54
54
  ], [
55
55
  a ds:Property;
56
56
  ds:name "Max width";
57
57
  ds:summary "Maximum width of tooltip container";
58
- ds:optional "false";
58
+ ds:optional "true";
59
59
  ds:propertyType "number";
60
- ds:defaultValue "284";
61
- ds:constraints "px"
60
+ ds:constraints "px";
61
+ ds:defaultValue "284"
62
62
  ], [
63
63
  a ds:Property;
64
64
  ds:name "***Dense tooltip***";
@@ -69,16 +69,16 @@ ds:global.component.tooltip a ds:Component;
69
69
  ds:summary "Preferred placement relative to trigger";
70
70
  ds:optional "false";
71
71
  ds:propertyType "choice";
72
- ds:defaultValue "Auto";
73
- ds:constraints "Right\nUp\nDown"
72
+ ds:constraints "Right\nUp\nDown";
73
+ ds:defaultValue "Auto"
74
74
  ], [
75
75
  a ds:Property;
76
76
  ds:name "Max width";
77
77
  ds:summary "Maximum width of tooltip container";
78
78
  ds:optional "false";
79
79
  ds:propertyType "number";
80
- ds:defaultValue "284";
81
- ds:constraints "px"
80
+ ds:constraints "px";
81
+ ds:defaultValue "284"
82
82
  ], [
83
83
  a ds:Property;
84
84
  ds:name "***Wrapper tooltip***";
@@ -93,16 +93,16 @@ ds:global.component.tooltip a ds:Component;
93
93
  ds:summary "Preferred placement relative to trigger";
94
94
  ds:optional "false";
95
95
  ds:propertyType "choice";
96
- ds:defaultValue "Auto";
97
- ds:constraints "Right\nUp\nDown"
96
+ ds:constraints "Right\nUp\nDown";
97
+ ds:defaultValue "Auto"
98
98
  ], [
99
99
  a ds:Property;
100
100
  ds:name "Max width";
101
101
  ds:summary "Optional width override for wrapper tooltip";
102
- ds:optional "false";
102
+ ds:optional "true";
103
103
  ds:propertyType "number";
104
- ds:defaultValue "284";
105
- ds:constraints "px"
104
+ ds:constraints "px";
105
+ ds:defaultValue "284"
106
106
  ], [
107
107
  a ds:Property;
108
108
  ds:name "*Wrapper item*";
@@ -113,8 +113,8 @@ ds:global.component.tooltip a ds:Component;
113
113
  ds:summary "Selects which content block appears in this wrapper row";
114
114
  ds:optional "false";
115
115
  ds:propertyType "element";
116
- ds:defaultValue "none";
117
- ds:constraints "Image\nCTA\nTable\nChart legend\nKVP"
116
+ ds:constraints "Image\nCTA\nTable\nChart legend\nKVP";
117
+ ds:defaultValue "none"
118
118
  ], [
119
119
  a ds:Property;
120
120
  ds:name "*Key-value pair* (when selected as wrapper item)";
@@ -125,101 +125,35 @@ ds:global.component.tooltip a ds:Component;
125
125
  ds:summary "Whether value is single or multi-entry";
126
126
  ds:optional "false";
127
127
  ds:propertyType "choice";
128
- ds:defaultValue "Single";
129
- ds:constraints "Multi"
128
+ ds:constraints "Multi";
129
+ ds:defaultValue "Single"
130
130
  ], [
131
131
  a ds:Property;
132
132
  ds:name "Value layout";
133
133
  ds:summary "How value is arranged visually";
134
134
  ds:optional "false";
135
135
  ds:propertyType "choice";
136
- ds:defaultValue "Inline";
137
- ds:constraints "Stacked"
136
+ ds:constraints "Stacked";
137
+ ds:defaultValue "Inline"
138
138
  ], [
139
139
  a ds:Property;
140
140
  ds:name "Layout";
141
141
  ds:summary "Layout control. Not for users.";
142
142
  ds:optional "false";
143
143
  ds:propertyType "choice";
144
- ds:defaultValue "Horizontal";
145
- ds:constraints "Vertical"
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
- ds:optional "true";
155
- ds:propertyType "boolean";
156
- ds:defaultValue "Yes";
157
- ds:constraints "No"
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:defaultValue "Yes";
165
- ds:constraints "No"
166
- ], [
167
- 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:defaultValue "Yes";
173
- ds:constraints "No"
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";
183
- ds:propertyType "choice";
184
- ds:defaultValue "Right";
185
- ds:constraints "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:defaultValue "16";
193
- ds:constraints "px"
194
- ], [
195
- a ds:Property;
196
- ds:name "cursorFollow.offsetY";
197
- ds:summary "Vertical offset from cursor";
198
- ds:optional "false";
199
- ds:propertyType "number";
200
- ds:defaultValue "8";
201
- ds:constraints "px"
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:defaultValue "Snappy";
209
- ds:constraints "No-bounce"
144
+ ds:constraints "Vertical";
145
+ ds:defaultValue "Horizontal"
210
146
  ];
211
147
  ds:changeLog [
212
148
  a ds:ChangeLogEntry;
213
149
  ds:timestamp "2026-04-17T00:00:00.000+02:00";
214
- ds:change "The tooltip will be split :\nNormal/Dense → remains tooltip\nData → Becomes DataTooltip (inheritance)\nWrapper → TBD";
215
150
  ds:changeType "decision"
216
151
  ], [
217
152
  a ds:ChangeLogEntry;
218
153
  ds:timestamp "2026-05-12T00:00:00.000+02:00";
219
- ds:change "edited the tooltip documentation with format changes to match our template";
220
154
  ds:changeType "change"
221
155
  ];
222
- ds:specializedBy ds:global.component.data_tooltip;
156
+ ds:specializedBy ds:global.component.tooltip_data;
223
157
  ds:hasVariant ds:global.variant.tooltip_dense;
224
158
  ds:hasTokenBinding [
225
159
  a ds:TokenBinding;
@@ -228,47 +162,47 @@ ds:global.component.tooltip a ds:Component;
228
162
  anatomy:styleKey "appearance.background";
229
163
  anatomy:styleState "default";
230
164
  ds:rank 1;
231
- ds:consumesSymbol dt:surface.color.background
165
+ ds:consumesSymbol dt:color.background.container
232
166
  ], [
233
167
  a ds:TokenBinding;
234
168
  ds:viaBlock ds:global.component.tooltip;
235
169
  ds:node "$root";
236
- anatomy:styleKey "appearance.background";
170
+ anatomy:styleKey "typography.color";
237
171
  anatomy:styleState "default";
238
- ds:rank 2;
239
- ds:consumesSymbol dt:color.background
172
+ ds:rank 1;
173
+ ds:consumesSymbol dt:color.text
240
174
  ], [
241
175
  a ds:TokenBinding;
242
176
  ds:viaBlock ds:global.component.tooltip;
243
177
  ds:node "$root";
244
- anatomy:styleKey "typography.color";
178
+ anatomy:styleKey "appearance.border.color";
245
179
  anatomy:styleState "default";
246
180
  ds:rank 1;
247
- ds:consumesSymbol dt:surface.color.text
181
+ ds:consumesSymbol dt:color.border.muted
248
182
  ], [
249
183
  a ds:TokenBinding;
250
184
  ds:viaBlock ds:global.component.tooltip;
251
185
  ds:node "$root";
252
- anatomy:styleKey "typography.color";
186
+ anatomy:styleKey "appearance.border.width";
253
187
  anatomy:styleState "default";
254
- ds:rank 2;
255
- ds:consumesSymbol dt:color.text
188
+ ds:rank 1;
189
+ ds:consumesSymbol dt:dimension.stroke.thickness.medium
256
190
  ], [
257
191
  a ds:TokenBinding;
258
192
  ds:viaBlock ds:global.component.tooltip;
259
193
  ds:node "$root";
260
- anatomy:styleKey "appearance.border.color";
194
+ anatomy:styleKey "appearance.radius";
261
195
  anatomy:styleState "default";
262
196
  ds:rank 1;
263
- ds:consumesSymbol dt:surface.color.background
197
+ ds:consumesSymbol dt:dimension.radius.small
264
198
  ], [
265
199
  a ds:TokenBinding;
266
200
  ds:viaBlock ds:global.component.tooltip;
267
201
  ds:node "$root";
268
- anatomy:styleKey "appearance.border.color";
202
+ anatomy:styleKey "typography.font";
269
203
  anatomy:styleState "default";
270
- ds:rank 2;
271
- ds:consumesSymbol dt:color.background
204
+ ds:rank 1;
205
+ ds:consumesSymbol dt:typography.text.secondary
272
206
  ], [
273
207
  a ds:TokenBinding;
274
208
  ds:viaBlock ds:global.component.tooltip;
@@ -317,11 +251,27 @@ ds:global.component.tooltip a ds:Component;
317
251
  anatomy:styleState "default";
318
252
  ds:rank 1;
319
253
  ds:consumesSymbol dt:dimension.200
254
+ ], [
255
+ a ds:TokenBinding;
256
+ ds:viaBlock ds:global.component.tooltip;
257
+ ds:node "$root/content row/icon";
258
+ anatomy:styleKey "spacing.internal.block.start";
259
+ anatomy:styleState "default";
260
+ ds:rank 1;
261
+ ds:consumesSymbol dt:dimension.025
262
+ ], [
263
+ a ds:TokenBinding;
264
+ ds:viaBlock ds:global.component.tooltip;
265
+ ds:node "$root/arrow";
266
+ anatomy:styleKey "size.width";
267
+ anatomy:styleState "default";
268
+ ds:rank 1;
269
+ ds:consumesSymbol dt:dimension.175
320
270
  ], [
321
271
  a ds:TokenBinding;
322
272
  ds:viaBlock ds:global.component.tooltip;
323
273
  ds:node "$root/arrow";
324
- anatomy:styleKey "appearance.border.top.width";
274
+ anatomy:styleKey "size.height";
325
275
  anatomy:styleState "default";
326
276
  ds:rank 1;
327
277
  ds:consumesSymbol dt:dimension.100
@@ -329,16 +279,24 @@ ds:global.component.tooltip a ds:Component;
329
279
  a ds:TokenBinding;
330
280
  ds:viaBlock ds:global.component.tooltip;
331
281
  ds:node "$root/arrow";
332
- anatomy:styleKey "appearance.border.color";
282
+ anatomy:styleKey "appearance.background";
333
283
  anatomy:styleState "default";
334
284
  ds:rank 1;
335
- ds:consumesSymbol dt:surface.color.background
285
+ ds:consumesSymbol dt:color.background.container
336
286
  ], [
337
287
  a ds:TokenBinding;
338
288
  ds:viaBlock ds:global.component.tooltip;
339
289
  ds:node "$root/arrow";
340
290
  anatomy:styleKey "appearance.border.color";
341
291
  anatomy:styleState "default";
342
- ds:rank 2;
343
- ds:consumesSymbol dt:color.background
292
+ ds:rank 1;
293
+ ds:consumesSymbol dt:color.border.muted
294
+ ], [
295
+ a ds:TokenBinding;
296
+ ds:viaBlock ds:global.component.tooltip;
297
+ ds:node "$root/arrow";
298
+ anatomy:styleKey "appearance.border.width";
299
+ anatomy:styleState "default";
300
+ ds:rank 1;
301
+ ds:consumesSymbol dt:dimension.stroke.thickness.medium
344
302
  ].
@@ -2,15 +2,15 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.component.data_tooltip a ds:Component;
6
- ds:name "DataTooltip";
7
- ds:summary "The data tooltip is a tooltip designed specifically for data visualisation. \n\nIts primary purpose is to reveal values when users interact with charts, graphs, maps, or other data-driven elements. \n\nIt is used for displaying metrics on hover, clarifying data points that cannot be fully shown in the visual itself. \n\nThis variant helps users interpret information accurately without cluttering the interface with labels that are always visible.\n\nRelated to [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) and [TooltipWrapper](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-69TNyYt7M9) ";
8
- ds:anatomyDsl "---\n# TODO implementation: no reference in @canonical/react-ds-global or react-ds-global-form\n# A notation migration of the previous DSL (the Coda block \"Tooltip.Data\"):\n# structure and bindings kept, values migrated, dangling uri: references\n# repaired. react-ds-global implements one Tooltip — the chip bound in\n# ds:global.component.tooltip — and no data variant.\nnode:\n uri: global.component.data_tooltip\n edges:\n - node:\n role: surface\n styles:\n # Was `color/surface/tooltip`; no symbol declares\n # color.background.tooltip, so this is the declared background the\n # surface correspondence lands on. (The live Tooltip reads the\n # surface channel: [surface.color.background, color.background].)\n appearance.background: color.background\n # Was `size.max.width: size/tooltip/data/max` — dropped, since no\n # dimension symbol corresponds to it.\n layout.type: flex # was stack\n layout.direction: column # was vertical\n layout.align: start\n # Was `spacing.internal.vertical|horizontal: dimension/100`; the\n # roster's keys are per side, so the two axes become four.\n spacing.internal.block.start: dimension.100\n spacing.internal.block.end: dimension.100\n spacing.internal.inline.start: dimension.100\n spacing.internal.inline.end: dimension.100\n edges:\n - node:\n # Was `ds:global.subcomponent:TooltipHeading`, which names no\n # subject, so the position is an anonymous role.\n role: heading\n styles:\n # Was `typography.color: color/text/onTooltip` — dropped, since\n # no symbol declares color.text.onTooltip.\n # Was `typography.size: text/secondary/strong`; the declared\n # counterpart is the bold text-secondary composite, which\n # binds typography.font.\n typography.font: typography.text.secondary.bold\n relation:\n cardinality: \"0..1\"\n slotName: heading\n - node:\n # Was `ds:global.subcomponent:ChartLegend`; the real subject is\n # global.subcomponent.chart_legend.\n uri: global.subcomponent.chart_legend\n relation:\n cardinality: \"1\"\n slotName: default\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n # Was `ds:global.subcomponent:TooltipArrow`, which names no subject, so\n # the position is an anonymous role.\n role: arrow\n styles:\n # Was `color/surface/tooltip`, as above.\n appearance.background: color.background\n relation:\n cardinality: \"0..1\"\n slotName: arrow";
9
- ds:anatomyClassic "**Data**\n\n**https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=4226-3427&t=w0be1UjrfjZ1CrvI-1**\n\n1. Container\n\nAs above.\n\n1. Text\n\nDisplays the data label and value (e.g. Ubuntu Server - 40%)\n\n1. Cursor-follow behaviour \n\nTooltip tracks pointer position with pre-defined offsets.\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=4520-95247&t=2fO23I8WsyT0YVJ1-4";
10
- ds:usage "When to use\n\n- When inspecting individual data points in charts or visualisations\n- When users move quickly between adjacent data points\n- When content is structured as short label–value pairs (e.g. “OS: Ubuntu 24.04”, “CPU usage: 72%”), optionally with colour indicators to match visual elements such as charts\n\n\n\nWhen not to use\n\n- When used outside of data visualisation contexts\n - Incorrect: A data tooltip is used to explain a form field\n - Remediation: Use a [Standard tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-Y9PpN4FiwA)\n\nWhen explaining UI controls or icons\n\n - Incorrect: A data tooltip is attached to a settings icon\n - Remediation: Use a [Standard tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-Y9PpN4FiwA) \n\nWhen information must persist beyond hover\n\n - Incorrect: A data tooltip contains important information users must reference continuously\n - Remediation: Use a persistent component such as [Popover](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-i-62pvfoOF) or inline content";
11
- ds:guidelines "### Animation\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\n\nSpecific for data tooltip:\n\n- Cursor-follow behaviour; follows the cursor while open.\n- Cursor-follow placement direction: **Right**\n- Horizontal offset from cursor: **16 px**\n- Vertical offset from cursor: **8 px**\n\n### Motion feel\n\n- Preset: **Snappy**\n- Bounce profile: **No-bounce**";
5
+ ds:global.component.tooltip_data a ds:Component;
6
+ ds:name "TooltipData";
7
+ ds:summary "The data tooltip is a tooltip designed specifically for data visualisation. Its primary purpose is to reveal values when users interact with charts, graphs, maps, or other data-driven elements. It is used for displaying metrics on hover, clarifying data points that cannot be fully shown in the visual itself. \n\nThis variant helps users interpret information accurately without cluttering the interface with labels that are always visible.\n\nRelated to [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) and [TooltipWrapper](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-69TNyYt7M9).";
8
+ ds:anatomyDsl "---\nnode:\n uri: global.component.data_tooltip\n edges:\n - node:\n role: surface\n styles:\n appearance.background: color.background\n appearance.border.color: color.border.muted\n appearance.border.style: solid\n appearance.border.width: dimension.stroke.thickness.medium\n layout.type: flex\n layout.direction: column\n layout.align: start\n spacing.internal.block.start: dimension.100\n spacing.internal.block.end: dimension.100\n spacing.internal.inline.start: dimension.100\n spacing.internal.inline.end: dimension.100\n edges:\n # No block names the heading, so it is an anonymous node.\n - node:\n role: heading\n styles:\n typography.font: typography.text.secondary.bold\n relation:\n cardinality: \"0..1\"\n slotName: heading\n - node:\n uri: global.subcomponent.chart_legend\n relation:\n cardinality: \"1\"\n slotName: default\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=13993-2770&t=pA5l7Omuxa3ATwVS-1\n\n1. **Container**\n\nSurface that follows the pointer. No arrow.\n\n1. **Chart legend**\n\nDisplays the data label and value. One row per series: marker, label and value. Add or remove rows in the Items slot.\n\n1. **Heading (optional)**\n\nTitles the legend.\n\n## Styling\n\n";
10
+ ds:usage "## When to use\n\n- When inspecting individual data points in charts or visualisations\n- When users move quickly between adjacent data points\n- When content is structured as short label–value pairs (e.g. “OS: Ubuntu 24.04”, “CPU usage: 72%”), optionally with colour indicators to match visual elements such as charts\n\n## When not to use\n\n- When used outside of data visualisation contexts\n - Incorrect: A data tooltip is used to explain a form field\n - Remediation: Use a [Standard tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-Y9PpN4FiwA)\n- When explaining UI controls or icons\n - Incorrect: A data tooltip is attached to a settings icon\n - Remediation: Use a [Standard tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-Y9PpN4FiwA) \n- When information must persist beyond hover\n - Incorrect: A data tooltip contains important information users must reference continuously\n - Remediation: Use a persistent component such as [Popover](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-i-62pvfoOF) or inline content\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; [TooltipWrapper](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-69TNyYt7M9) for structured content and complex hierarchies; [TooltipData](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Y1ha3zI_b_) for data visualization.";
11
+ ds:guidelines "### Animation\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### Specific for data tooltip:\n\n- Cursor-follow behaviour; follows the cursor while open.\n- Cursor-follow placement direction: **Right**\n- Horizontal offset from cursor: **16 px**\n- Vertical offset from cursor: **8 px**\n\n### Motion feel\n\n- Preset: **Snappy**\n- Bounce profile: **No-bounce**\n- Spring: stiffness **500**, damping **60**, mass **1**, no overshoot\n\n### Reduced motion\n\n- Snaps to the pointer position instead of easing. Same 400 ms open and close delays.\n\n### CSS fallback\n\n- Cursor-follow: 140 to 180 ms, cubic-bezier(0.16, 1, 0.3, 1), no overshoot.\n- Enter and exit: opacity 0 to 1 and scale 0.96 to 1 over 400 ms, cubic-bezier(0.22, 1, 0.36, 1).\n\n### Hovered series\n\n- The series under the pointer shows as highlighted in the legend (bold label and value), so it's clear which row the pointer refers to. Other rows stay in the default state.\n\n### Interactions and accessibility\n\n- Only one tooltip is open at a time. It contains no interactive content and never takes focus.\n- Escape closes it.\n- The tooltip element has role=\"tooltip\". Data shown only on hover should also be available another way, for example a data table, for keyboard, screen reader and touch users.\n- Values use tabular figures in code.";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdocumentation;
13
+ ds:documentationStage ds:tag.needsfulldocumentation;
14
14
  ds:hasProperty [
15
15
  a ds:Property;
16
16
  ds:name "***Data tooltip***";
@@ -78,15 +78,15 @@ ds:global.component.data_tooltip a ds:Component;
78
78
  ds:optional "false";
79
79
  ds:propertyType "choice"
80
80
  ];
81
- ds:inheritsFrom ds:global.component.tooltip;
82
81
  ds:hasSubcomponent ds:global.subcomponent.chart_legend, ds:global.subcomponent.chart_legend_item;
82
+ ds:inheritsFrom ds:global.component.tooltip;
83
83
  ds:changeLog [
84
84
  a ds:ChangeLogEntry;
85
85
  ds:timestamp "2026-04-22T00:00:00.000+02:00"
86
86
  ];
87
87
  ds:hasTokenBinding [
88
88
  a ds:TokenBinding;
89
- ds:viaBlock ds:global.component.data_tooltip;
89
+ ds:viaBlock ds:global.component.tooltip_data;
90
90
  ds:node "$root/surface";
91
91
  anatomy:styleKey "appearance.background";
92
92
  anatomy:styleState "default";
@@ -94,7 +94,23 @@ ds:global.component.data_tooltip a ds:Component;
94
94
  ds:consumesSymbol dt:color.background
95
95
  ], [
96
96
  a ds:TokenBinding;
97
- ds:viaBlock ds:global.component.data_tooltip;
97
+ ds:viaBlock ds:global.component.tooltip_data;
98
+ ds:node "$root/surface";
99
+ anatomy:styleKey "appearance.border.color";
100
+ anatomy:styleState "default";
101
+ ds:rank 1;
102
+ ds:consumesSymbol dt:color.border.muted
103
+ ], [
104
+ a ds:TokenBinding;
105
+ ds:viaBlock ds:global.component.tooltip_data;
106
+ ds:node "$root/surface";
107
+ anatomy:styleKey "appearance.border.width";
108
+ anatomy:styleState "default";
109
+ ds:rank 1;
110
+ ds:consumesSymbol dt:dimension.stroke.thickness.medium
111
+ ], [
112
+ a ds:TokenBinding;
113
+ ds:viaBlock ds:global.component.tooltip_data;
98
114
  ds:node "$root/surface";
99
115
  anatomy:styleKey "spacing.internal.block.start";
100
116
  anatomy:styleState "default";
@@ -102,7 +118,7 @@ ds:global.component.data_tooltip a ds:Component;
102
118
  ds:consumesSymbol dt:dimension.100
103
119
  ], [
104
120
  a ds:TokenBinding;
105
- ds:viaBlock ds:global.component.data_tooltip;
121
+ ds:viaBlock ds:global.component.tooltip_data;
106
122
  ds:node "$root/surface";
107
123
  anatomy:styleKey "spacing.internal.block.end";
108
124
  anatomy:styleState "default";
@@ -110,7 +126,7 @@ ds:global.component.data_tooltip a ds:Component;
110
126
  ds:consumesSymbol dt:dimension.100
111
127
  ], [
112
128
  a ds:TokenBinding;
113
- ds:viaBlock ds:global.component.data_tooltip;
129
+ ds:viaBlock ds:global.component.tooltip_data;
114
130
  ds:node "$root/surface";
115
131
  anatomy:styleKey "spacing.internal.inline.start";
116
132
  anatomy:styleState "default";
@@ -118,7 +134,7 @@ ds:global.component.data_tooltip a ds:Component;
118
134
  ds:consumesSymbol dt:dimension.100
119
135
  ], [
120
136
  a ds:TokenBinding;
121
- ds:viaBlock ds:global.component.data_tooltip;
137
+ ds:viaBlock ds:global.component.tooltip_data;
122
138
  ds:node "$root/surface";
123
139
  anatomy:styleKey "spacing.internal.inline.end";
124
140
  anatomy:styleState "default";
@@ -126,7 +142,7 @@ ds:global.component.data_tooltip a ds:Component;
126
142
  ds:consumesSymbol dt:dimension.100
127
143
  ], [
128
144
  a ds:TokenBinding;
129
- ds:viaBlock ds:global.component.data_tooltip;
145
+ ds:viaBlock ds:global.component.tooltip_data;
130
146
  ds:node "$root/surface/heading";
131
147
  anatomy:styleKey "typography.font";
132
148
  anatomy:styleState "default";
@@ -220,12 +236,4 @@ ds:global.component.data_tooltip a ds:Component;
220
236
  anatomy:styleState "default";
221
237
  ds:rank 1;
222
238
  ds:consumesSymbol dt:color.palette.gray.180
223
- ], [
224
- a ds:TokenBinding;
225
- ds:viaBlock ds:global.component.data_tooltip;
226
- ds:node "$root/arrow";
227
- anatomy:styleKey "appearance.background";
228
- anatomy:styleState "default";
229
- ds:rank 1;
230
- ds:consumesSymbol dt:color.background
231
239
  ].