@canonical/design-system 0.44.0 → 0.46.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 (288) 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/component/key_value_pair.ttl +1 -1
  4. package/data/apps/{subcomponent → component}/log.ttl +1 -1
  5. package/data/apps/component/navigation.ttl +1 -1
  6. package/data/apps/component/notification.ttl +1 -1
  7. package/data/apps/component/side_navigation.ttl +50 -6
  8. package/data/apps/group/key_value_pairs.ttl +1 -1
  9. package/data/apps/group/notifications.ttl +1 -1
  10. package/data/apps/layout/application_layout.ttl +1 -1
  11. package/data/apps/layout/content_layout.ttl +2 -3
  12. package/data/apps/layout/empty_layout.ttl +1 -1
  13. package/data/apps/layout/empty_state.ttl +1 -1
  14. package/data/{apps_workplaceengineering/pattern/group_card.ttl → apps/layout/login_layout.ttl} +4 -5
  15. package/data/apps/layout/side_panel_form_layout.ttl +13 -0
  16. package/data/apps/pattern/action_bar.ttl +2 -2
  17. package/data/apps/pattern/code_diff.ttl +1 -1
  18. package/data/apps/pattern/datatable.ttl +30 -31
  19. package/data/apps/pattern/destructive_modal.ttl +1 -1
  20. package/data/apps/pattern/drawer.ttl +1 -1
  21. package/data/apps/pattern/notification_center.ttl +2 -2
  22. package/data/apps/pattern/page_header.ttl +13 -0
  23. package/data/apps/pattern/side_panel.ttl +258 -10
  24. package/data/apps/subcomponent/data_table-action_bar.ttl +6 -6
  25. package/data/apps/subcomponent/data_table-body_cell.ttl +26 -26
  26. package/data/apps/subcomponent/data_table-group_header_row.ttl +8 -8
  27. package/data/apps/subcomponent/data_table-header_cell.ttl +13 -13
  28. package/data/apps/subcomponent/data_table-pagination_bar.ttl +9 -9
  29. package/data/apps/subcomponent/data_table-persistent_selection.ttl +10 -10
  30. package/data/apps/subcomponent/data_table-settings_menu.ttl +15 -15
  31. package/data/apps/subcomponent/drawer-content.ttl +1 -1
  32. package/data/apps/subcomponent/drawer-footer.ttl +1 -1
  33. package/data/apps/subcomponent/drawer-header.ttl +1 -1
  34. package/data/apps/subcomponent/side_navigation-content.ttl +13 -0
  35. package/data/apps/subcomponent/side_navigation-context_switcher.ttl +53 -0
  36. package/data/apps/subcomponent/side_navigation-item.ttl +80 -0
  37. package/data/apps/subcomponent/side_navigation-item_group.ttl +13 -0
  38. package/data/apps/subcomponent/side_panel-content.ttl +2 -2
  39. package/data/apps/subcomponent/side_panel-footer.ttl +196 -3
  40. package/data/apps/subcomponent/side_panel-header.ttl +212 -3
  41. package/data/apps_anbox/component/theme_switcher.ttl +1 -1
  42. package/data/apps_anbox/pattern/side_menu.ttl +0 -1
  43. package/data/{tagcategory/lpupstream.ttl → apps_identity.ttl} +2 -2
  44. package/data/apps_landscape/component/checkbox_group.ttl +24 -24
  45. package/data/apps_landscape/component/code_editor.ttl +35 -35
  46. package/data/apps_landscape/component/cron_schedule.ttl +4 -4
  47. package/data/apps_landscape/component/expandable_radio_group.ttl +47 -47
  48. package/data/apps_landscape/component/expandable_truncation.ttl +20 -20
  49. package/data/apps_landscape/component/form_section.ttl +4 -4
  50. package/data/apps_landscape/component/gpg_key_field.ttl +27 -27
  51. package/data/apps_landscape/component/grouped_select.ttl +25 -25
  52. package/data/apps_landscape/component/loading_state.ttl +8 -8
  53. package/data/apps_landscape/component/managed_file_input.ttl +18 -18
  54. package/data/apps_landscape/component/multi_select_field.ttl +50 -50
  55. package/data/apps_landscape/component/password_constraints.ttl +1 -1
  56. package/data/apps_landscape/component/progress_bar.ttl +20 -20
  57. package/data/apps_landscape/component/read_only_field.ttl +15 -15
  58. package/data/apps_landscape/component/search_help_popup.ttl +10 -10
  59. package/data/apps_landscape/component/search_query_editor.ttl +33 -33
  60. package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
  61. package/data/apps_landscape/pattern/content_blocks.ttl +20 -20
  62. package/data/apps_landscape/pattern/dashboard_page_composition.ttl +37 -37
  63. package/data/apps_landscape/pattern/delivery_scheduling.ttl +6 -6
  64. package/data/apps_landscape/pattern/form_field_help.ttl +28 -28
  65. package/data/apps_landscape/pattern/header_search_controls.ttl +41 -41
  66. package/data/apps_landscape/pattern/ignorable_notification.ttl +16 -16
  67. package/data/apps_landscape/pattern/information_grid.ttl +14 -14
  68. package/data/apps_landscape/pattern/instance_association.ttl +5 -5
  69. package/data/apps_landscape/pattern/process_flow.ttl +11 -11
  70. package/data/apps_landscape/pattern/progressively_expandable_table.ttl +32 -32
  71. package/data/apps_landscape/pattern/recurring_schedule.ttl +3 -3
  72. package/data/apps_landscape/pattern/responsive_action_group.ttl +12 -12
  73. package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
  74. package/data/apps_landscape/pattern/responsive_table_filters.ttl +11 -11
  75. package/data/apps_landscape/pattern/side_panel_form_actions.ttl +40 -40
  76. package/data/apps_landscape/pattern/sortable_list.ttl +14 -14
  77. package/data/apps_landscape/pattern/table_filter.ttl +57 -57
  78. package/data/apps_landscape/pattern/table_filter_chips.ttl +67 -67
  79. package/data/apps_landscape/pattern/table_pagination.ttl +63 -63
  80. package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +22 -22
  81. package/data/apps_landscape/subcomponent/bold_substring.ttl +4 -4
  82. package/data/apps_landscape/subcomponent/inline_cell_input.ttl +8 -8
  83. package/data/apps_landscape/subcomponent/label_with_description.ttl +14 -14
  84. package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +8 -8
  85. package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
  86. package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +12 -12
  87. package/data/apps_launchpad/component/avatar.ttl +2 -2
  88. package/data/apps_launchpad/component/badge.ttl +2 -2
  89. package/data/apps_launchpad/component/breadcrumbs.ttl +1 -1
  90. package/data/apps_launchpad/component/button.ttl +2 -2
  91. package/data/apps_launchpad/component/checkbox_input.ttl +4 -4
  92. package/data/apps_launchpad/component/combobox.ttl +2 -2
  93. package/data/apps_launchpad/component/drawer.ttl +4 -4
  94. package/data/apps_launchpad/component/modal.ttl +6 -14
  95. package/data/apps_launchpad/component/radio_input.ttl +5 -5
  96. package/data/apps_launchpad/component/select_input.ttl +1 -1
  97. package/data/apps_launchpad/component/switch.ttl +5 -5
  98. package/data/apps_launchpad/component/text_input.ttl +8 -8
  99. package/data/apps_launchpad/component/textarea_input.ttl +10 -10
  100. package/data/apps_launchpad/component/tooltip.ttl +3 -3
  101. package/data/apps_launchpad/subcomponent/combobox-loading.ttl +2 -2
  102. package/data/apps_launchpad/subcomponent/combobox-search.ttl +4 -4
  103. package/data/apps_launchpad/subcomponent/description_list-item.ttl +1 -1
  104. package/data/apps_launchpad/subcomponent/modal-content.ttl +2 -2
  105. package/data/apps_lxd/component/back_link.ttl +1 -1
  106. package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
  107. package/data/apps_lxd/component/doc_link.ttl +2 -2
  108. package/data/apps_lxd/component/meter.ttl +5 -5
  109. package/data/apps_lxd/component/output_field.ttl +2 -3
  110. package/data/apps_lxd/component/rename_header.ttl +15 -15
  111. package/data/apps_lxd/component/tab_links.ttl +4 -4
  112. package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +2 -2
  113. package/data/apps_lxd/view/network_topology.ttl +3 -4
  114. package/data/apps_portal/layout/details_view.ttl +0 -1
  115. package/data/apps_workplaceengineering/component/label-highlight.ttl +2 -3
  116. package/data/apps_workplaceengineering/component/org_chart.ttl +12 -0
  117. package/data/apps_workplaceengineering/component/theme_switcher.ttl +1 -1
  118. package/data/apps_workplaceengineering/pattern/callout_numbers_card.ttl +2 -2
  119. package/data/apps_workplaceengineering/pattern/{event_timeline.ttl → org_event_card.ttl} +3 -4
  120. package/data/apps_workplaceengineering/subcomponent/multi_select_input.ttl +1 -1
  121. package/data/concept/Filtering-patterns.ttl +11 -0
  122. package/data/concept/Foundations-Grid--Layout.ttl +2 -2
  123. package/data/concept/Foundations-Surfaces.ttl +1 -1
  124. package/data/concept/How-to-differentiate-types-of-UI-blocks-.ttl +3 -3
  125. package/data/concept/How-to-indicate-required-fields-in-forms.ttl +1 -1
  126. package/data/concept/Overflow.ttl +11 -0
  127. package/data/concept/Question-mark-vs-information-icon.ttl +1 -1
  128. package/data/documentation/layout/content_page_layout.ttl +13 -0
  129. package/data/documentation/layout/documentation_layout.ttl +2 -1
  130. package/data/documentation/layout/library_layout.ttl +13 -0
  131. package/data/documentation/layout/search_page_layout.ttl +13 -0
  132. package/data/documentation/pattern/library_side_navigation.ttl +3 -3
  133. package/data/global/component/accordion.ttl +6 -185
  134. package/data/global/component/announcement.ttl +2 -3
  135. package/data/global/component/avatar.ttl +1 -1
  136. package/data/global/component/badge.ttl +5 -7
  137. package/data/global/component/breadcrumbs.ttl +7 -6
  138. package/data/global/component/button.ttl +5 -23
  139. package/data/global/component/card.ttl +3 -8
  140. package/data/global/component/checkbox_field.ttl +1 -1
  141. package/data/global/component/chip.ttl +4 -6
  142. package/data/global/component/choices_field.ttl +11 -3
  143. package/data/global/component/code_snippet.ttl +2 -3
  144. package/data/global/component/color_field.ttl +1 -1
  145. package/data/global/component/combobox_field.ttl +2 -18
  146. package/data/global/component/contextual_menu.ttl +4 -6
  147. package/data/global/component/data_tooltip.ttl +4 -4
  148. package/data/global/component/date_field.ttl +1 -1
  149. package/data/global/component/date_time_field.ttl +1 -1
  150. package/data/global/component/drag_and_drop_list.ttl +2 -2
  151. package/data/global/component/dropdown_button.ttl +4 -5
  152. package/data/global/component/file_upload_field.ttl +1 -1
  153. package/data/global/component/heading.ttl +4 -4
  154. package/data/global/component/hidden_field.ttl +1 -1
  155. package/data/global/component/icon.ttl +2 -2
  156. package/data/global/component/icon_button.ttl +13 -0
  157. package/data/global/component/icon_in_container.ttl +7 -2
  158. package/data/global/component/inline_code.ttl +1 -1
  159. package/data/global/component/keyboard_key.ttl +1 -1
  160. package/data/global/{layout/form_layout.ttl → component/link.ttl} +3 -3
  161. package/data/global/component/links.ttl +12 -0
  162. package/data/global/component/mode_switcher.ttl +1 -1
  163. package/data/global/component/notification_toast.ttl +1 -1
  164. package/data/global/component/pagination.ttl +2 -2
  165. package/data/global/component/password_field.ttl +1 -1
  166. package/data/global/component/phone_field.ttl +1 -1
  167. package/data/global/component/popover.ttl +1 -1
  168. package/data/global/component/query_builder.ttl +12 -0
  169. package/data/global/component/range_field.ttl +1 -1
  170. package/data/global/component/rating_field.ttl +1 -1
  171. package/data/global/component/relative_timestamp.ttl +2 -1
  172. package/data/global/component/rich_choices_field.ttl +1 -1
  173. package/data/global/component/rich_text_editor.ttl +12 -0
  174. package/data/global/component/rich_text_field.ttl +1 -1
  175. package/data/global/component/search_field.ttl +1 -1
  176. package/data/global/component/segmented_control.ttl +13 -0
  177. package/data/global/component/segmented_control_field.ttl +1 -1
  178. package/data/global/component/select_field.ttl +1 -1
  179. package/data/global/component/switch_field.ttl +1 -1
  180. package/data/global/component/table.ttl +2 -2
  181. package/data/global/component/tabs.ttl +1 -1
  182. package/data/global/component/tag.ttl +2 -2
  183. package/data/global/component/text_field.ttl +1 -1
  184. package/data/global/component/textarea_field.ttl +1 -1
  185. package/data/global/component/tile.ttl +3 -6
  186. package/data/global/component/time_field.ttl +1 -1
  187. package/data/global/component/timestamp.ttl +2 -1
  188. package/data/global/component/tooltip.ttl +43 -45
  189. package/data/global/component/tooltip_wrapper.ttl +2 -2
  190. package/data/global/group/buttons.ttl +1 -8
  191. package/data/global/group/cards.ttl +1 -5
  192. package/data/global/group/code_snippets.ttl +1 -1
  193. package/data/global/group/keyboard_keys.ttl +1 -1
  194. package/data/global/group/tiles.ttl +1 -1
  195. package/data/global/modifier/information.ttl +1 -1
  196. package/data/global/pattern/field.ttl +1 -1
  197. package/data/global/pattern/filter.ttl +13 -0
  198. package/data/global/pattern/form_login.ttl +1 -1
  199. package/data/global/pattern/modal.ttl +5 -21
  200. package/data/global/pattern/navigation.ttl +1 -1
  201. package/data/global/pattern/stepper.ttl +1 -1
  202. package/data/global/pattern/table_of_contents.ttl +1 -1
  203. package/data/global/pattern/timeline.ttl +15 -20
  204. package/data/global/subcomponent/accordion-item.ttl +3 -156
  205. package/data/global/subcomponent/card-content.ttl +1 -1
  206. package/data/global/subcomponent/card-footer.ttl +1 -1
  207. package/data/global/subcomponent/card-header.ttl +1 -1
  208. package/data/global/subcomponent/card-image.ttl +2 -2
  209. package/data/global/subcomponent/card-thumbnail.ttl +1 -1
  210. package/data/global/subcomponent/checkbox_input.ttl +1 -1
  211. package/data/global/subcomponent/color_input.ttl +1 -1
  212. package/data/global/subcomponent/combobox_input.ttl +2 -18
  213. package/data/global/subcomponent/date_input.ttl +1 -1
  214. package/data/global/subcomponent/date_time_input.ttl +1 -1
  215. package/data/global/subcomponent/field-description.ttl +1 -1
  216. package/data/global/subcomponent/field-label.ttl +1 -1
  217. package/data/global/subcomponent/file_upload_input.ttl +1 -1
  218. package/data/global/subcomponent/hidden_input.ttl +1 -1
  219. package/data/global/subcomponent/modal-content.ttl +1 -1
  220. package/data/global/subcomponent/modal-footer.ttl +2 -18
  221. package/data/global/subcomponent/modal-header.ttl +5 -21
  222. package/data/global/subcomponent/password_input.ttl +1 -1
  223. package/data/global/subcomponent/phone_input.ttl +1 -1
  224. package/data/global/subcomponent/radio_input.ttl +1 -1
  225. package/data/global/subcomponent/range_input.ttl +1 -1
  226. package/data/global/subcomponent/rating_input.ttl +1 -1
  227. package/data/global/subcomponent/rich_text_input.ttl +1 -1
  228. package/data/global/subcomponent/search_input.ttl +3 -4
  229. package/data/global/subcomponent/segmented_control_input.ttl +1 -1
  230. package/data/global/subcomponent/select_input.ttl +1 -1
  231. package/data/global/subcomponent/spinner.ttl +2 -2
  232. package/data/global/subcomponent/switch_input.ttl +1 -1
  233. package/data/global/subcomponent/text_input.ttl +1 -1
  234. package/data/global/subcomponent/textarea_input.ttl +1 -1
  235. package/data/global/subcomponent/tile-content.ttl +1 -1
  236. package/data/global/subcomponent/time_input.ttl +1 -1
  237. package/data/global/subcomponent/timeline-content.ttl +2 -2
  238. package/data/global/subcomponent/timeline-event.ttl +5 -5
  239. package/data/global/subcomponent/timeline-expansion_indicator.ttl +1 -1
  240. package/data/global/subcomponent/timeline-header.ttl +1 -1
  241. package/data/global/variant/tooltip_dense.ttl +1 -1
  242. package/data/sites/component/store_card.ttl +92 -0
  243. package/data/sites/pattern/hero.ttl +295 -4
  244. package/data/{stores.ttl → sites_stores.ttl} +2 -2
  245. package/data/tag/designin-progress.ttl +9 -0
  246. package/data/tag/devbatch1.ttl +1 -1
  247. package/data/tag/devbatch2.ttl +1 -1
  248. package/data/tag/devbatch3.ttl +1 -1
  249. package/data/tag/devdone.ttl +9 -0
  250. package/data/tag/devin-progress.ttl +9 -0
  251. package/data/tag/devin-review.ttl +9 -0
  252. package/data/tag/devpre-approved.ttl +9 -0
  253. package/data/tag/{stylesready.ttl → devreactdone.ttl} +3 -3
  254. package/data/tag/devreactpreapproved.ttl +1 -1
  255. package/data/tag/{devreactapproved.ttl → devsveltepreapproved.ttl} +3 -3
  256. package/data/tag/divergent.ttl +1 -1
  257. package/data/tag/docscomplete.ttl +1 -1
  258. package/data/tag/global-docs-missing.ttl +1 -1
  259. package/data/tag/has-no-global-entry.ttl +1 -1
  260. package/data/tag/implementationcomplete.ttl +9 -0
  261. package/data/tag/lpto-be-upstreamed.ttl +1 -1
  262. package/data/tag/lptriageblocked-reqs-design.ttl +1 -1
  263. package/data/tag/lptriageno-upstream.ttl +1 -1
  264. package/data/tag/lptriagereimplement-and-deprecate.ttl +1 -1
  265. package/data/tag/lptriagereimplement-and-keep.ttl +1 -1
  266. package/data/tag/lptriageupstream-and-deprecate.ttl +1 -1
  267. package/data/tag/{needsdefinition.ttl → needscoredocumentation.ttl} +3 -3
  268. package/data/tag/needsdesign.ttl +9 -0
  269. package/data/tag/{needsdocumentation.ttl → needsfulldocumentation.ttl} +3 -3
  270. package/data/tag/needsimplementation.ttl +9 -0
  271. package/data/tag/needstriage.ttl +1 -1
  272. package/data/tag/specialadoption-docs.ttl +1 -1
  273. package/data/tag/triagedbacklog.ttl +2 -2
  274. package/data/tag/triagedrejected.ttl +2 -2
  275. package/data/tag/upstream-candidate.ttl +1 -1
  276. package/data/tag/upstream-compliant.ttl +1 -1
  277. package/data/tag/waiting-for-delta-review.ttl +1 -1
  278. package/data/tag/wpeinital-implementation.ttl +1 -1
  279. package/data/tag/wpetriageupstream-and-deprecate.ttl +1 -0
  280. package/data/tagcategory/design--documentation-status.ttl +6 -0
  281. package/data/tagcategory/{documentation-stage.ttl → implementationnotes.ttl} +2 -2
  282. package/data/tagcategory/implementationstatus.ttl +6 -0
  283. package/data/tagcategory/implementationworkflow.ttl +6 -0
  284. package/package.json +6 -6
  285. package/skills/adoption-a1-styles/SKILL.md +37 -7
  286. package/skills/adoption-a2-components/SKILL.md +43 -3
  287. package/skills/anatomy-author/SKILL.md +25 -1
  288. package/data/apps_workplaceengineering/pattern/travel_provider_card.ttl +0 -14
@@ -4,13 +4,13 @@
4
4
 
5
5
  ds:global.component.choices_field a ds:Component;
6
6
  ds:name "ChoicesField";
7
- ds:summary "A form control for selecting one or several options from a set of text-labelled choices, with control over whether the options sit inline or stacked. It frames the set with a label, optional guidance, and validation.";
8
- ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form src/lib/common/Wrapper/styles.css on .ds.field\n# and src/lib/component/ChoicesField/styles.css on .ds.form-choices\n# The field chrome is the shared Wrapper's; the payload holds one fieldset of\n# options, each a control beside its own label. The control is a radio or a\n# checkbox depending on the `type` prop — a genuine prop switch — and each\n# control's own styles live in its own anatomy. The three layouts the fieldset\n# offers (inline wrapping by default, `.stacked` one per line, `.columns` a\n# grid of --choices-columns equal columns) change layout only, never the tree,\n# so the default is what is bound here.\nnode:\n uri: global.component.choices_field\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n # reads --form-field-columns.\n layout.grid.column: \"1 / -1\"\n layout.align: baseline\n # reads --form-field-label-gap (--space-100 -> --dimension-100).\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-label\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"1\"\n slotName: label\n - node:\n role: payload\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n layout.grid.column: \"1 / -1\"\n # reads --form-group-gap (--space-100 -> --dimension-100).\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-description\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: description\n - node:\n role: choices group\n styles:\n layout.type: flex\n layout.wrap: wrap\n layout.grid.column: \"1 / -1\"\n appearance.border.style: none\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n spacing.external.block.start: 0\n spacing.external.block.end: 0\n spacing.external.inline.start: 0\n spacing.external.inline.end: 0\n # The fieldset's own inline padding reads\n # --form-input-padding-inline (--component-padding-inline ->\n # --space-200 -> --dimension-200, 16px).\n spacing.internal.inline.start: dimension.200\n spacing.internal.inline.end: dimension.200\n # The row gap between wrapped options reads --form-group-gap,\n # the block gap between fields; the column gap reads\n # --container-gap-loose (--space-300 -> --dimension-300, 24px),\n # which no spacing role states.\n spacing.gap.block: spacing.gap.field.block\n spacing.gap.inline: dimension.300\n edges:\n - node:\n role: option\n styles:\n layout.type: flex\n layout.align: center\n # reads --space-100 (-> --dimension-100): the gap between\n # the mark and its label.\n spacing.gap: spacing.gap.mark.inline\n interaction.cursor: pointer\n interaction.cursor@disabled: not-allowed\n edges:\n - switch:\n on: props\n cases:\n - uri: global.subcomponent.radio_input\n - uri: global.subcomponent.checkbox_input\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n role: option label\n styles:\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n spacing.internal.inline.start: 0\n spacing.internal.inline.end: 0\n # The reference reads\n # --form-label-color-disabled first, which no\n # symbol declares.\n typography.color@disabled: color.text.disabled\n relation:\n cardinality: \"1\"\n slotName: label\n relation:\n cardinality: \"2..*\"\n slotName: default\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: global.subcomponent.field-error\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: error\n relation:\n cardinality: \"1\"";
7
+ ds:summary "A form control for selecting one or several options from a set of text-labelled choices, with control over whether the options sit inline or stacked. Each option may carry a one-line muted description. It frames the set with a label, optional guidance, and validation.";
8
+ ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form src/lib/common/Wrapper/styles.css on .ds.field\n# and src/lib/component/ChoicesField/styles.css on .ds.form-choices\n# The field chrome is the shared Wrapper's; the payload holds one fieldset of\n# options, each a control beside its own label. The control is a radio or a\n# checkbox depending on the `type` prop — a genuine prop switch — and each\n# control's own styles live in its own anatomy. The three layouts the fieldset\n# offers (inline wrapping by default, `.stacked` one per line, `.columns` a\n# grid of --choices-columns equal columns) change layout only, never the tree,\n# so the default is what is bound here.\nnode:\n uri: global.component.choices_field\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n # reads --form-field-columns.\n layout.grid.column: \"1 / -1\"\n layout.align: baseline\n # reads --form-field-label-gap (--space-100 -> --dimension-100).\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-label\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"1\"\n slotName: label\n - node:\n role: payload\n styles:\n layout.type: grid\n layout.grid.columns: subgrid\n layout.grid.column: \"1 / -1\"\n # reads --form-group-gap (--space-100 -> --dimension-100).\n spacing.gap.block: spacing.gap.field.block\n edges:\n - node:\n uri: global.subcomponent.field-description\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: description\n - node:\n role: choices group\n styles:\n layout.type: flex\n layout.wrap: wrap\n layout.grid.column: \"1 / -1\"\n appearance.border.style: none\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n spacing.external.block.start: 0\n spacing.external.block.end: 0\n spacing.external.inline.start: 0\n spacing.external.inline.end: 0\n # The fieldset's own inline padding reads\n # --form-input-padding-inline (--component-padding-inline ->\n # --space-200 -> --dimension-200, 16px).\n spacing.internal.inline.start: dimension.200\n spacing.internal.inline.end: dimension.200\n # The row gap between wrapped options reads --form-group-gap,\n # the block gap between fields; the column gap reads\n # --container-gap-loose (--space-300 -> --dimension-300, 24px),\n # which no spacing role states.\n spacing.gap.block: spacing.gap.field.block\n spacing.gap.inline: dimension.300\n edges:\n - node:\n role: option\n styles:\n layout.type: flex\n layout.align: center\n # reads --space-100 (-> --dimension-100): the gap between\n # the mark and its label.\n spacing.gap: spacing.gap.mark.inline\n interaction.cursor: pointer\n interaction.cursor@disabled: not-allowed\n edges:\n - switch:\n on: props\n cases:\n - uri: global.subcomponent.radio_input\n - uri: global.subcomponent.checkbox_input\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n role: option label\n styles:\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n spacing.internal.inline.start: 0\n spacing.internal.inline.end: 0\n # The reference reads\n # --form-label-color-disabled first, which no\n # symbol declares.\n typography.color@disabled: color.text.disabled\n relation:\n cardinality: \"1\"\n slotName: label\n # Optional one-line muted description under the label\n # (the option's `description` field), stacked layout only.\n - node:\n role: option description\n styles:\n typography.color: color.text.muted\n relation:\n cardinality: \"0..1\"\n slotName: description\n relation:\n cardinality: \"2..*\"\n slotName: default\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: global.subcomponent.field-error\n styles:\n layout.grid.column: \"1 / -1\"\n relation:\n cardinality: \"0..1\"\n slotName: error\n relation:\n cardinality: \"1\"";
9
9
  ds:anatomyClassic "";
10
10
  ds:usage "Presents a small, fully visible set of options as text-only labels, where the arrangement (inline or stacked) carries meaning.\n\n\n\n### When to use\n\n- The full set of options is short enough to show at once without scrolling or filtering.\n\n- Each option is described well by a plain text label, with no supporting imagery or secondary detail.\n\n- The way options are laid out — side by side or stacked — is part of how the choice reads.\n\n\n\n### When not to use\n\n- Options need rich labels with supporting detail or imagery — use [RichChoicesField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-OE7Ygmz_vT) .\n\n- The list is long enough that filtering would help find an option — use [ComboboxField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-kfEQ25cX4a) \n\n- The choice is a single yes/no decision — use [CheckboxField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-vwBCoHgXoG) .";
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.choices_field;
@@ -363,6 +363,14 @@ ds:global.component.choices_field a ds:Component;
363
363
  anatomy:styleState "disabled";
364
364
  ds:rank 1;
365
365
  ds:consumesSymbol dt:color.text.disabled
366
+ ], [
367
+ a ds:TokenBinding;
368
+ ds:viaBlock ds:global.component.choices_field;
369
+ ds:node "$root/payload/choices group/option/option description";
370
+ anatomy:styleKey "typography.color";
371
+ anatomy:styleState "default";
372
+ ds:rank 1;
373
+ ds:consumesSymbol dt:color.text.muted
366
374
  ], [
367
375
  a ds:TokenBinding;
368
376
  ds:viaBlock ds:global.subcomponent.field-error;
@@ -10,14 +10,13 @@ ds:global.component.code_snippet a ds:Component;
10
10
  ds:usage "Use code snippet to display complex or lengthy code, commands, and technical content that benefits from features such as syntax highlighting, line numbers, and language or version selection. Always provide surrounding context that explains how the displayed code is relevant to the reader or the page content.\n\nKeep titles short and descriptive of the type of code the reader can expect in the content area.\n\n### **When to use**\n\n- The code is multi-line and benefits from syntax highlighting or correct indentation.\n- The content needs to be presented in multiple languages.\n- The content needs to be presented across different versions of a product or library, such as a command with different syntax between versions.\n- Line numbers would help the reader navigate or reference the code.\n- You need to display a full code file.\n\n### **When not to use**\n\n- For inline code references within running text. \n - Incorrect: Inserting a multi-line code snippet block in the middle of a paragraph to highlight a single variable like `const user`.\n - Remediation: Use the [InlineCode](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-SbanhxEvMc) component’s inline variant instead.\n- For log output or simple pre-formatted text. \n - Incorrect: Wrapping a server access log in a code snippet component.\n - Remediation: Use the [InlineCode](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-SbanhxEvMc) component’s code block variant instead.\n- As a code editor. Code snippet is read-only and should not be made editable. As of now the design system does not provide a code editor.\n\n";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition;
14
- ds:hasSubcomponent ds:global.component.code_snippet-content, ds:global.component.code_snippet-header;
13
+ ds:documentationStage ds:tag.needsdesign;
15
14
  ds:changeLog [
16
15
  a ds:ChangeLogEntry;
17
16
  ds:timestamp "2026-03-21T00:00:00.000+01:00";
18
- ds:change "added minimal documentation based on previous work session with design team";
19
17
  ds:changeType "change"
20
18
  ];
19
+ ds:hasSubcomponent ds:global.component.code_snippet-content, ds:global.component.code_snippet-header;
21
20
  ds:hasTokenBinding [
22
21
  a ds:TokenBinding;
23
22
  ds:viaBlock ds:global.component.code_snippet;
@@ -10,4 +10,4 @@ ds:global.component.color_field a ds:Component;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.triagedbacklog.
@@ -10,7 +10,7 @@ ds:global.component.combobox_field a ds:Component;
10
10
  ds:usage "Lets the user pick one or more values from a long set, narrowing the visible options by typing to filter.\n\n### When to use\n- The set of options is large enough that scanning all of them at once is impractical.\n- Filtering as the user types meaningfully speeds up finding the intended value.\n- Either a single selection or multiple selections from the same long set is needed.\n\n### When not to use\n- The set is short and can be shown in full — use **Choices**, **SimpleChoices**, or **Select**.\n- The value is open-ended and not drawn from a predefined set — use **Text**.";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition;
13
+ ds:documentationStage ds:tag.needsdesign;
14
14
  ds:hasTokenBinding [
15
15
  a ds:TokenBinding;
16
16
  ds:viaBlock ds:global.component.combobox_field;
@@ -331,22 +331,6 @@ ds:global.component.combobox_field a ds:Component;
331
331
  anatomy:styleState "disabled";
332
332
  ds:rank 1;
333
333
  ds:consumesSymbol dt:color.text.disabled
334
- ], [
335
- a ds:TokenBinding;
336
- ds:viaBlock ds:global.component.button;
337
- ds:node "$root";
338
- anatomy:styleKey "typography.weight";
339
- anatomy:styleState "default";
340
- ds:rank 1;
341
- ds:consumesSymbol dt:typography.weight.medium
342
- ], [
343
- a ds:TokenBinding;
344
- ds:viaBlock ds:global.component.button;
345
- ds:node "$root";
346
- anatomy:styleKey "typography.size";
347
- anatomy:styleState "default";
348
- ds:rank 1;
349
- ds:consumesSymbol dt:dimension.size.fontSize.300
350
334
  ], [
351
335
  a ds:TokenBinding;
352
336
  ds:viaBlock ds:global.component.button;
@@ -354,7 +338,7 @@ ds:global.component.combobox_field a ds:Component;
354
338
  anatomy:styleKey "typography.font";
355
339
  anatomy:styleState "default";
356
340
  ds:rank 1;
357
- ds:consumesSymbol dt:typography.text.secondary
341
+ ds:consumesSymbol dt:typography.text.primary
358
342
  ], [
359
343
  a ds:TokenBinding;
360
344
  ds:viaBlock ds:global.component.button;
@@ -4,13 +4,13 @@
4
4
 
5
5
  ds:global.component.contextual_menu a ds:Component;
6
6
  ds:name "ContextualMenu";
7
- ds:summary "A contextual menu provides secondary actions and options that can be attached to various interface controls, including Buttons, command Links, and right-click interactions. It displays relevant actions based on the context of the element or area it's associated with, helping to keep the interface clean while making additional functionality easily accessible when needed. ";
7
+ ds:summary "A contextual menu provides secondary actions and options that can be attached to various interface controls, including Buttons, command Links, and right-click interactions. It displays relevant actions based on the context of the element or area it's associated with, helping to keep the interface clean while making additional functionality easily accessible when needed.";
8
8
  ds:anatomyDsl "";
9
9
  ds:anatomyClassic "Anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=5746-5679&t=B51H6nnIINbJS0am-4\n\nStyling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=4456-89917&t=mrOkyDfhQY9JZwMz-1\n\n";
10
10
  ds:usage "A contextual menu provides secondary actions and options that can be attached to various interface controls, including Buttons, command Links, and right-click interactions. It displays relevant actions based on the context of the element or area it's associated with, helping to keep the interface clean while making additional functionality easily accessible when needed. \n\nContextual menus are designed to initiate and perform actions, not to collect input from users. They work best for presenting action-oriented options that transform, manipulate or delete based on the user's selection. \n\n## When to use\n\n- Providing secondary actions for specific elements or content items\n- Offering context-specific operations that relate to a selected item or area\n- Keeping the primary interface clean by hiding less frequently used actions\n- Right-click functionality where desktop conventions apply\n\n## When not to use\n\n\n\n- As an input method for forms or filters. \n - Incorrect: Using a contextual menu to allow users to pick a date or select a category within a data-entry form.\n - Remediation: Use a [SelectInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-xiMRYATXwr) instead to ensure the input is properly associated with the form field.\n- For collecting user preferences or settings that require input selection. \n - Incorrect: Nesting checkboxes or radio buttons inside a contextual menu to let users toggle notification settings. \n - Remediation: Use a dedicated page or a [Modal](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-XsokbPLmnc) containing standard form controls like switches and checkboxes.\n- When the actions are primary and should be immediately visible. \n - Incorrect: Hiding the only \"Delete\" or \"Edit\" button inside a contextual menu, forcing users to discover the menu before they can perform a critical task. \n - Remediation: Surface high-priority actions directly in the UI using [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr)s or icon buttons to ensure they are discoverable at a glance.\n- For navigation that serves as the main way to move through your application. \n - Incorrect: Placing the main links to \"Dashboard,\" \"Profile,\" and \"Settings\" inside a right-click or overflow contextual menu. \n - Remediation: Use [Navigation](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-nkDiZdUMkV) or [Tabs](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-1SwWDDUyIt) to provide a persistent and accessible map of the application's architecture.\n\n\n\n## Grouping actions\n\nWhen a contextual menu contains many actions, consider organizing them into logical action groups to improve scannability and reduce cognitive load. Group related actions together based on their function or purpose.\n\nCommon grouping categories include:\n\n- **Edit actions**: Copy, cut, paste, duplicate\n- **Organization actions**: Move to folder, rename, sort\n- **Sharing and permissions**: Share, change permissions, export\n- **Destructive actions**: Delete, archive, remove (typically separated at the bottom)\n- **View options**: Open in new tab, preview, download\n\n## Managing menu length\n\nAvoid letting contextual menus grow too long, as this creates cognitive overload and makes scanning difficult. If you have many actions available:\n\n- First, group related actions using the categories mentioned above to improve organization\n- For longer lists, consider nesting actions into submenus to reduce the initial visual complexity\n- Evaluate whether all actions are truly necessary in the contextual menu, or if some could be moved to a dedicated settings area or toolbar";
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:hasProperty [
15
15
  a ds:Property;
16
16
  ds:name "Actions";
@@ -20,10 +20,8 @@ ds:global.component.contextual_menu a ds:Component;
20
20
  ];
21
21
  ds:changeLog [
22
22
  a ds:ChangeLogEntry;
23
- ds:timestamp "2026-05-04T00:00:00.000+02:00";
24
- ds:change "Initial commit"
23
+ ds:timestamp "2026-05-04T00:00:00.000+02:00"
25
24
  ], [
26
25
  a ds:ChangeLogEntry;
27
- ds:timestamp "2026-05-11T00:00:00.000+02:00";
28
- ds:change "formatting to our template"
26
+ ds:timestamp "2026-05-11T00:00:00.000+02:00"
29
27
  ].
@@ -4,13 +4,13 @@
4
4
 
5
5
  ds:global.component.data_tooltip a ds:Component;
6
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) ";
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
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
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
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
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**";
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,12 +78,12 @@ 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
- ds:hasSubcomponent ds:global.subcomponent.chart_legend, ds:global.subcomponent.chart_legend_item;
83
81
  ds:changeLog [
84
82
  a ds:ChangeLogEntry;
85
83
  ds:timestamp "2026-04-22T00:00:00.000+02:00"
86
84
  ];
85
+ ds:hasSubcomponent ds:global.subcomponent.chart_legend, ds:global.subcomponent.chart_legend_item;
86
+ ds:inheritsFrom ds:global.component.tooltip;
87
87
  ds:hasTokenBinding [
88
88
  a ds:TokenBinding;
89
89
  ds:viaBlock ds:global.component.data_tooltip;
@@ -10,7 +10,7 @@ ds:global.component.date_field a ds:Component;
10
10
  ds:usage "A labelled calendar-date entry within a form.\n\n### When to use\n- Collecting one specific calendar day (start date, deadline, date of birth, appointment day).\n- The date is an absolute point that benefits from a calendar metaphor rather than free typing.\n- The allowable dates form a continuous range that can be bounded by an earliest and latest day.\n\n### When not to use\n- A time of day with no calendar day attached — use **Time**.\n- A calendar day together with a time of day — use **DateTime**.\n- A day drawn from a small, named set rather than the open calendar — use **Select** or **Choices**.\n- A span between two days rather than a single point — use a date-range field.";
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.date_field;
@@ -10,7 +10,7 @@ ds:global.component.date_time_field a ds:Component;
10
10
  ds:usage "A labelled combined date-and-time entry within a form.\n\n\n\n### When to use\n\n- Collecting a single moment that needs both a calendar day and a time of day (scheduled event, deadline with a cut-off hour, timestamp).\n\n- The value is an absolute point in time that benefits from a combined calendar-and-clock metaphor.\n\n- The allowable moments form a continuous range that can be bounded by an earliest and latest moment, optionally snapped to set increments.\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 time of day with no calendar day attached — use [TimeField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-BoM_2nGCi9) .\n\n- A moment drawn from a small, named set rather than the open range — 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 span between two moments rather than a single point — use a date-range field.";
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.date_time_field;
@@ -4,10 +4,10 @@
4
4
 
5
5
  ds:global.component.drag_and_drop_list a ds:Component;
6
6
  ds:name "DragAndDropList";
7
- ds:summary "The DragAndDropList component enables users to reorder items within a single-dimensional list through direct pointer, keyboard or touch interaction. Its primary purpose is to allow sequence manipulation via multiple different methods.\n\n";
7
+ ds:summary "The DragAndDropList component enables users to reorder items within a single-dimensional list through direct pointer, keyboard or touch interaction. Its primary purpose is to allow sequence manipulation via multiple different methods.";
8
8
  ds:anatomyDsl "";
9
9
  ds:anatomyClassic "Prototype: [https://seam-brisk-06774316.figma.site/](https://seam-brisk-06774316.figma.site/)";
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.needscoredocumentation.
@@ -4,17 +4,16 @@
4
4
 
5
5
  ds:global.component.dropdown_button a ds:Component;
6
6
  ds:name "DropdownButton";
7
- ds:summary "A Dropdown Button is a specialized button that includes a persistent chevron icon to indicate nested functionality. Unlike standard [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr)s that execute a single, immediate action, the Dropdown Button reveals a [ContextualMenu](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-riXODq1wpR) of options or controls. This visual cue ensures users understand that an interaction will expand the interface to provide further choices rather than triggering an instantaneous system change. \n";
7
+ ds:summary "A Dropdown Button is a specialized button that includes a persistent chevron icon to indicate nested functionality. Unlike standard [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr)s that execute a single, immediate action, the Dropdown Button reveals a [ContextualMenu](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-riXODq1wpR) of options or controls. This visual cue ensures users understand that an interaction will expand the interface to provide further choices rather than triggering an instantaneous system change.";
8
8
  ds:anatomyDsl "";
9
9
  ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3155-10498&t=xywvHwUKZ8RRCYSo-1\n\nStyling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=4457-109017&t=2fO23I8WsyT0YVJ1-4";
10
10
  ds:usage "### When to use\n\n- When action-oriented menus are required to group related commands that do not fit within the primary page layout.\n- When visual cues for expansion are necessary to immediately signal that interacting with the element will reveal a list of options rather than executing a singular action.\n- When performing a filtering action and a button is needed to reveal a list of criteria or view options that update a page's content.\n\n### When not to use\n\n- When the button is intended to perform one specific, immediate task without further user input.\n - Incorrect: Using a dropdown button for a “Save” or “Delete” action that does not contain sub-options.\n - Remediation: Use a standard [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr) component to avoid misleading the user into expecting a menu.\n- When the primary goal is to move the user to different high-level pages within the application.\n - Incorrect: Housing the main site navigation inside a single Dropdown Button.\n - Remediation: Use a [Navigation](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-nkDiZdUMkV) pattern or [Breadcrumbs](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-BXVe6mKJMd) to provide a clear and persistent sense of location and movement.";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition;
14
- ds:inheritsFrom ds:global.component.button;
13
+ ds:documentationStage ds:tag.needscoredocumentation;
15
14
  ds:changeLog [
16
15
  a ds:ChangeLogEntry;
17
16
  ds:timestamp "2026-05-01T00:00:00.000+02:00";
18
- ds:change "A new componenent dedicated to triggering filters will be developed, and then we will replace the filtering capacity of this component. The filter-specific one should include an active state, and other filter-related features";
19
17
  ds:changeType "decision"
20
- ].
18
+ ];
19
+ ds:inheritsFrom ds:global.component.button.
@@ -10,7 +10,7 @@ ds:global.component.file_upload_field a ds:Component;
10
10
  ds:usage "A labelled control for attaching one or more files within a form.\n\n### When to use\n- One or more files need to be attached as part of a submission, whether by selecting them or dragging them onto a drop area.\n- Chosen files benefit from being listed with their details and removable before the form is committed.\n\n### When not to use\n- A short, free-form value is wanted rather than a file — use **Text**.\n- A reference or location pointing to an external resource is collected rather than the resource itself — use **Text**.";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition;
13
+ ds:documentationStage ds:tag.needsdesign;
14
14
  ds:hasTokenBinding [
15
15
  a ds:TokenBinding;
16
16
  ds:viaBlock ds:global.component.file_upload_field;
@@ -4,19 +4,19 @@
4
4
 
5
5
  ds:global.component.heading a ds:Component;
6
6
  ds:name "Heading";
7
- ds:summary "The heading component is used to signify the hierarchical structure of a page serving as titles for different segments of the page such as entire page, section or blocks (when applicable). It breaks up content into easily consumable parts, helping users scan the interface and understand the relationship between different blocks of information, relying on hierarchy. \n\n";
7
+ ds:summary "The heading component is used to signify the hierarchical structure of a page serving as titles for different segments of the page such as entire page, section or blocks (when applicable). It breaks up content into easily consumable parts, helping users scan the interface and understand the relationship between different blocks of information, relying on hierarchy.";
8
8
  ds:anatomyDsl "---\n# TODO implementation: no reference in @canonical/react-ds-global or react-ds-global-form\n# (a Heading folder exists in react-ds-global but ships stories only — no\n# styles.css — so this is a notation migration of the previous DSL, structure\n# and bindings kept, values migrated.)\nnode:\n uri: global.component.heading\n styles:\n typography.weight: typography.weight.bold\n # Was `color/text/heading`; no symbol declares color.text.heading, and\n # substituting the plain color.text would assert something the previous\n # notation did not, so the binding is dropped.\n edges:\n # The level is a prop, and each level is a different presentation of the\n # same one child.\n - switch:\n on: props\n cases:\n - node:\n role: h1\n styles:\n # Was `font/size/heading/1`. The declared heading tier is a\n # typography composite, so it binds typography.font; no\n # dimension symbol names the tier's own font-size member.\n typography.font: typography.heading.1\n # Was `spacing.margin.bottom: spacing/heading/1` — neither the\n # key nor the value exists (the roster's key is\n # spacing.external.block.end, and no spacing semantic\n # corresponds to spacing/heading/1), so it is dropped.\n - node:\n role: h2\n styles:\n # Was `font/size/heading/2`; `spacing/heading/2` dropped as above.\n typography.font: typography.heading.2\n - node:\n role: h3\n styles:\n # Was `font/size/heading/3`; `spacing/heading/3` dropped as above.\n typography.font: typography.heading.3\n - node:\n role: h4\n styles:\n # Was `font/size/heading/4`; `spacing/heading/4` dropped as above.\n typography.font: typography.heading.4\n - node:\n role: h5\n styles:\n # Was `font/size/heading/5`; `spacing/heading/5` dropped as above.\n typography.font: typography.heading.5\n - node:\n role: h6\n styles:\n # Was `font/size/heading/6`; `spacing/heading/6` dropped as above.\n typography.font: typography.heading.6\n relation:\n cardinality: \"1\"";
9
9
  ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2431-9178&t=sOMJn3GdvE3iTgAI-1";
10
10
  ds:usage "Headings are intended to create an \"outline\" of the page. They should lead the user from the most general information to the most specific.\n\n### When to use\n\n- To facilitate scanning and to provide a logical flow to the user's experience.\n- When a page contains multiple topics, to differentiate between a \"Parent\" topic and a \"Child\" sub-topic.\n- When a UI block, such as a Card, contains a significant amount of data or a specific task.\n- When presenting documentation or long articles. Headings act as anchors, allowing the user to jump to the section most relevant to them. \n\n### When not to use\n\n- When you want a piece of text to be \"big and bold\" but it doesn't actually introduce a new section.\n - Incorrect: Using an `H2` for a callout or a quote in the middle of a paragraph just to make it stand out. \n - Remediation: Use the component that describes the best the semantic function you are representing. \n- When the text is descriptive or instructional rather than a concise title.\n - Incorrect: An `H2` that says: \"Please make sure to fill out all the fields below before you click the submit button at the bottom.\"\n - Remediation: Use a paragraph for descriptions, and keep the heading brief (e.g., \"Form Instructions\").\n- When the text belongs to a quote.\n - Incorrect: Using `H2` to style a testimonial just to achieve a specific font size or weight.\n - Remediation: Use a [Quote](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-HaEe2D1XRN) with its intended tokens.\n\n";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdocumentation;
13
+ ds:documentationStage ds:tag.needsfulldocumentation;
14
14
  ds:hasProperty [
15
15
  a ds:Property;
16
16
  ds:name "importance";
17
17
  ds:propertyType "number";
18
- ds:constraints "1 to 6";
19
- ds:optional "false"
18
+ ds:optional "false";
19
+ ds:constraints "1 to 6"
20
20
  ];
21
21
  ds:hasTokenBinding [
22
22
  a ds:TokenBinding;
@@ -10,4 +10,4 @@ ds:global.component.hidden_field a ds:Component;
10
10
  ds:usage "Carries a fixed or derived value along with the form without presenting any visible part to the user.\n\n\n\n### When to use\n\n- A value must travel with the form but is set programmatically or derived rather than entered.\n\n- The value should remain constant and is not meant to be reviewed or changed during completion.\n\n\n\n### When not to use\n\n- The user should be able to see, confirm, or change the value — use [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx) (or another visible field).";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.needscoredocumentation.
@@ -4,13 +4,13 @@
4
4
 
5
5
  ds:global.component.icon a ds:Component;
6
6
  ds:name "Icon";
7
- ds:summary "Icons function as visual anchors. They are designed to be metaphorically clear and aesthetically consistent, ensuring that when paired with text or some cases standalone users can identify key interactions and system states at a glance. Only Icons which are near universally understood (like delete or edit) can stand on their own, but even those need accompanying tooltips to explain them. \n\n";
7
+ ds:summary "Icons function as visual anchors. They are designed to be metaphorically clear and aesthetically consistent, ensuring that when paired with text or some cases standalone users can identify key interactions and system states at a glance. Only Icons which are near universally understood (like delete or edit) can stand on their own, but even those need accompanying tooltips to explain them.";
8
8
  ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global src/lib/component/Icon/styles.css on .ds.icon\nnode:\n uri: global.component.icon\n styles:\n layout.type: inline-block\n layout.verticalAlign: middle\n # reads --icon-size, a component-local size the package declares as 1em at\n # :root, then --size-icon-default, which no symbol declares, then the\n # chain's own 1rem literal. The effective value is the 1em.\n size.width: 1em\n size.height: 1em";
9
9
  ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=2431-9000&t=sOMJn3GdvE3iTgAI-1";
10
10
  ds:usage "## Usage\n\nIcons are intended to supplement information and streamline the user journey. They should never create ambiguity or force a user to guess what an element does. Where meaning is universal, these icons can function as standalone [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr)s that guide users without the need for additional text.\n\n### When to use\n\n- To guide users toward primary actions where space is limited.\n- When a label alone is insufficient to convey meaning.\n- When the user needs to know the condition of a system or process without reading a full sentence.\n- When recognition is a primary objective towards the user through visual patterns rather than reading text.\n\n### When not to use\n\n- When the icon represents a complex or unique action that does not have a universally recognized metaphor\n - Incorrect: Using a custom \"Star-burst\" icon to represent \"Advanced AI Settings\" without a text label nearby.\n - Remediation: Always pair non-universal icons with a text label. If available space does not allow for a label, then a tooltip must be used.if available space does not allow for a label, then a tooltip must be used.\n- When icons are added to every single line of text or menu item, creating \"visual noise.\"\n - Incorrect: A long list of 50 settings where every single line has a generic \"Gear\" icon next to it.\n - Remediation: Remove the icons and use typography (bolding or headers) to create hierarchy, reserving icons only for high-priority actions.";
11
11
  ds:guidelines "### Accessibility and Size \n\n- **Touch Targets:** Even if the icon is small (e.g., 16px), the interactive hit area should be at least 44x44px to accommodate touch and mouse accuracy.\n- **Color Contrast:** Ensure icons used for information (status) meet a minimum contrast ratio of 3:1 against the background.\n\n\n\n### Concepts\n\n[Question mark vs information icon](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-GnfOU3MM-3/_rui-KPw8GwEbJ-)";
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 "icon";
@@ -0,0 +1,13 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:global.component.icon_button a ds:Component;
6
+ ds:name "IconButton";
7
+ ds:summary "When space is limited and the actions have recognizable icons, [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr)s may use an icon without text. Reserve this for very common actions that have easily recognizable icons, such as delete, edit, or close. Always pair an icon-only button with a [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) that states the action clearly. Add a delay to the [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) so it does not interrupt the user.";
8
+ ds:anatomyDsl "";
9
+ ds:anatomyClassic "";
10
+ ds:usage "";
11
+ ds:guidelines "";
12
+ ds:tier ds:global;
13
+ ds:documentationStage ds:tag.needscoredocumentation.
@@ -4,10 +4,15 @@
4
4
 
5
5
  ds:global.component.icon_in_container a ds:Component;
6
6
  ds:name "Icon in Container";
7
- ds:summary "";
7
+ ds:summary "Showing and icon inside a container, usually a circle: for social icons in the footer, or for status on the hiring page.";
8
8
  ds:anatomyDsl "";
9
9
  ds:anatomyClassic "";
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.triagedrejected.
13
+ ds:documentationStage ds:tag.triagedrejected;
14
+ ds:changeLog [
15
+ a ds:ChangeLogEntry;
16
+ ds:timestamp "2025-10-02T00:00:00.000+02:00";
17
+ ds:changeType "decision"
18
+ ].
@@ -10,4 +10,4 @@ ds:global.component.inline_code a ds:Component;
10
10
  ds:usage "The component appears most often within paragraph text but can also be used in lists, Tables, and other structured content.\n\n### Inline code\n\nUse inline code for short, simple references within the normal text flow, such as commands, function names, or configuration keys. Keep inline code concise.\n\n### Code block\n\nUse code block when single-line code benefits from separation from surrounding text. Code block scrolls horizontally by default if the line length exceeds the available width. For code that requires wrapping or multiple lines, use Code snippet instead.\n\n### When to use\n\nTo display programming code, terminal commands, or domain-specific languages \nFor technical values that should be interpreted literally \nTo present executable snippets users may copy\n\n### When not to use\n\nFor regular prose or human-readable text - use paragraph text instead \nFor emphasis or stress - use bold or italics instead \nFor multi-line code - use [CodeSnippet](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-qaVsf7J6ln) instead";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.needscoredocumentation.
@@ -10,7 +10,7 @@ ds:global.component.keyboard_key a ds:Component;
10
10
  ds:usage "When to use\n\n- Embed key representations in help articles, changelogs, or feature announcements to give consistent visual treatment to every key reference.\n\n\n\nWhen not to use\n\n- The content is not a keyboard key. Status labels, tags or category badges have their own components.";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdocumentation;
13
+ ds:documentationStage ds:tag.needsdesign;
14
14
  ds:hasTokenBinding [
15
15
  a ds:TokenBinding;
16
16
  ds:viaBlock ds:global.component.keyboard_key;
@@ -2,12 +2,12 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.layout.form_layout a ds:Layout;
6
- ds:name "FormLayout";
5
+ ds:global.component.link a ds:Component;
6
+ ds:name "Link";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
9
9
  ds:anatomyClassic "";
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.triagedbacklog.
13
+ ds:documentationStage ds:tag.needsdesign.
@@ -0,0 +1,12 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:global.component.links a ds:Component;
6
+ ds:name "Links";
7
+ ds:summary "";
8
+ ds:anatomyDsl "";
9
+ ds:anatomyClassic "";
10
+ ds:usage "";
11
+ ds:guidelines "";
12
+ ds:tier ds:global.
@@ -10,4 +10,4 @@ ds:global.component.mode_switcher a ds:Component;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.needsdesign.
@@ -10,4 +10,4 @@ ds:global.component.notification_toast a ds:Component;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needstriage.
13
+ ds:documentationStage ds:tag.needsdesign.
@@ -4,10 +4,10 @@
4
4
 
5
5
  ds:global.component.pagination a ds:Component;
6
6
  ds:name "Pagination";
7
- ds:summary "Pagination is a navigational component that allows users to move between pages of content. It provides controls for navigating to the previous or next page, as well as optionally jumping directly to a specific numbered page. This component is best suited for content-heavy sites where information is divided across multiple pages, such as blog posts, articles, tutorials, or search results. For paginating tabular data, use the Table pagination component instead.\n\n";
7
+ ds:summary "Pagination is a navigational component that allows users to move between pages of content. It provides controls for navigating to the previous or next page, as well as optionally jumping directly to a specific numbered page. This component is best suited for content-heavy sites where information is divided across multiple pages, such as blog posts, articles, tutorials, or search results. For paginating tabular data, use the Table pagination component instead.";
8
8
  ds:anatomyDsl "";
9
9
  ds:anatomyClassic "";
10
10
  ds:usage "### When to use\n\n- Content is divided across multiple pages and requires navigation controls\n- Users may need to jump to a specific page within the content\n- Users are likely to return to a previously visited page\n- The total number of items or pages is known and finite\n- Content consumption benefits from clear boundaries between pages\n\n### When not to use\n\n- Paginating tabular data; use the Table pagination component instead\n- Guided flows or multi-step processes; use step navigation (“Back” and “Next” buttons) instead\n- Exploratory interfaces where users browse without a specific target; consider infinite scrolling\n- Single-page content that does not require division";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.needsdesign.
@@ -10,7 +10,7 @@ ds:global.component.password_field a ds:Component;
10
10
  ds:usage "A labelled, masked secret entry within a form.\n\n\n\n### When to use\n\n- Collecting a password or other secret the user should not see in plain text on screen.\n\n- Cases where the user benefits from a reveal control to verify a typed secret.\n\n\n\n### When not to use\n\n- Ordinary visible text — use [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx) .\n\n- A value that should always be visible for confirmation — use [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx) .";
11
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.password_field;
@@ -10,7 +10,7 @@ ds:global.component.phone_field a ds:Component;
10
10
  ds:usage "A labelled telephone-number entry, paired with its country, within a form.\n\n\n\n### When to use\n\n- A telephone number is collected and the country (and its dialling prefix) is part of the value.\n\n- The entry benefits from picking a country alongside typing the national number.\n\n\n\n### When not to use\n\n- A generic short value with no country context is wanted — use [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx) .";
11
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.phone_field;
@@ -10,4 +10,4 @@ ds:global.component.popover a ds:Component;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.needscoredocumentation.
@@ -0,0 +1,12 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:global.component.query_builder a ds:Component;
6
+ ds:name "Query builder";
7
+ ds:summary "The query builder is an input for constructing structured search queries from key, operator and value filters. Each filter is displayed as a chip that can be edited in place, and suggestions guide users towards valid keys and values as they type. It makes complex, multi-condition queries faster to write and easier to read back. It is often used for searching and filtering large datasets, such as packages, machines, releases or security notices.\n\nFor a simple search on a single text term, use Search instead. For a small, fixed set of filters, use drop-downs or checkboxes instead.";
8
+ ds:anatomyDsl "";
9
+ ds:anatomyClassic "https://www.figma.com/design/OLXsqpflIke6fLt2Mt2H1e/26.10-Query-builder---Design-system-contributions?node-id=5660-55146&t=Cf1mzxkKUid0iYmX-1";
10
+ ds:usage "";
11
+ ds:guidelines "";
12
+ ds:tier ds:global.
@@ -10,7 +10,7 @@ ds:global.component.range_field a ds:Component;
10
10
  ds:usage "A labelled control for choosing a number within a fixed minimum and maximum by sliding.\n\n\n\n### When to use\n\n- An approximate number is chosen within a known, bounded scale, with the current value shown as it changes.\n\n- Sliding along a continuous track communicates the choice more naturally than typing an exact figure.\n\n\n\n### When not to use\n\n- A precise or open-ended number is required rather than an approximate one within bounds — use [TextInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-csRvI-VTpO) .";
11
11
  ds:guidelines "## Accessibility (draft) \n\n\nHow to ensure accessibility requirements are met:\n\n1. Group the slider and the input into a fieldset.\n2. Add a legend to the fieldset.\n3. Programatically: keep the `<label>`s; or use the `title` attribute to replace the `<label>`.\n4. Visually: hide the labels .\n5. Visually: make sure the slider and the input are clearly a group associated with the legend. \nSee spec: [https://docs.google.com/document/d/19k-5YOuQc6B82mYPEwvmlJpui3Oex4o8ACwKBbo-d44/edit?tab=t.0](https://docs.google.com/document/d/19k-5YOuQc6B82mYPEwvmlJpui3Oex4o8ACwKBbo-d44/edit?tab=t.0)\n\n*Future work: revisit the styling in the future so that it's clearly a group*\n\n";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition;
13
+ ds:documentationStage ds:tag.needsfulldocumentation;
14
14
  ds:hasTokenBinding [
15
15
  a ds:TokenBinding;
16
16
  ds:viaBlock ds:global.component.range_field;
@@ -10,4 +10,4 @@ ds:global.component.rating_field a ds:Component;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.needsdesign.
@@ -9,4 +9,5 @@ ds:global.component.relative_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.
@@ -10,7 +10,7 @@ ds:global.component.rich_choices_field a ds:Component;
10
10
  ds:usage "A labelled set of selectable options, single- or multiple-choice, with richly-labelled choices.\n\n\n\n### When to use\n\n- Choosing one or several options from a small, visible set where the choices benefit from rich labels.\n\n\n\n### When not to use\n\n- A long list better searched than scanned — use [ComboboxField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-kfEQ25cX4a) .\n\n- A single binary decision — use [CheckboxField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-vwBCoHgXoG) .\n\n- Text-only options where layout control matters more than rich labels — use [ChoicesField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-IFk-NNRL3C) .";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition;
13
+ ds:documentationStage ds:tag.needsdesign;
14
14
  ds:hasTokenBinding [
15
15
  a ds:TokenBinding;
16
16
  ds:viaBlock ds:global.component.rich_choices_field;
@@ -0,0 +1,12 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:global.component.rich_text_editor a ds:Component;
6
+ ds:name "RichTextEditor";
7
+ ds:summary "";
8
+ ds:anatomyDsl "";
9
+ ds:anatomyClassic "";
10
+ ds:usage "";
11
+ ds:guidelines "";
12
+ ds:tier ds:global.
@@ -10,4 +10,4 @@ ds:global.component.rich_text_field a ds:Component;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.needsdesign.
@@ -10,4 +10,4 @@ ds:global.component.search_field a ds:Component;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.needscoredocumentation.
@@ -0,0 +1,13 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:global.component.segmented_control a ds:Component;
6
+ ds:name "SegmentedControl";
7
+ ds:summary "";
8
+ ds:anatomyDsl "";
9
+ ds:anatomyClassic "";
10
+ ds:usage "";
11
+ ds:guidelines "";
12
+ ds:tier ds:global;
13
+ ds:documentationStage ds:tag.needsdesign.
@@ -10,4 +10,4 @@ ds:global.component.segmented_control_field a ds:Component;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:global;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.needscoredocumentation.