@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
@@ -0,0 +1,80 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:apps.subcomponent.side_navigation-item a ds:Subcomponent;
6
+ ds:name "SideNavigation.Item";
7
+ ds:summary "A navigation item is an interactive element that allows users to navigate to a page or access child navigation within an application. In primary navigation, items can link to a page, expand their children inline, or open secondary navigation. In secondary navigation, items link directly to pages.";
8
+ ds:anatomyDsl "SideNavigation.Item\n├── Icon (optional, primary navigation only)\n├── Label\n├── Trailing element (optional, one of)\n│ ├── Child navigation indicator (chevron; requires child navigation)\n│ │ ├── Right: opens secondary navigation\n│ │ └── Down: expands children inline\n│ └── Badge (includes collapsed notification indicator)\n└── Children (only when using inline expansion)\n └── Navigation item (repeatable)\n```\n\n```\n---\n# SideNavigation.Item — one navigation row.\n#\n# Authored 2026-10-16 from the supplied planning tree ALONE. No\n# implementation was read, so this anatomy carries STRUCTURE ONLY.\n#\n# The tree gives the trailing element as \"optional, one of\", which is a\n# switch on a single optional position. Its two branches are a\n# child-navigation chevron and a badge; the chevron's two directions are\n# part of the same choice, so all three alternatives are cases of one\n# switch. The discriminator is `props`: which trailing element appears\n# follows from the item the consumer supplies.\n#\n# The tree marks the children \"only when using inline expansion\" — the same\n# condition that selects the down-pointing chevron. Conditional display is\n# not expressible in the DSL, so the edge is optional and the condition is\n# recorded here.\n#\n# The children edge is recursive: a child is itself a SideNavigation.Item.\n# The tree sets no depth limit, and this anatomy asserts none.\nnode:\n uri: apps.subcomponent.side_navigation-item\n edges:\n # Primary navigation only.\n - node:\n uri: global.component.icon\n relation:\n cardinality: \"0..1\"\n slotName: icon\n - node:\n role: label\n relation:\n cardinality: \"1\"\n slotName: label\n - switch:\n on: props\n cases:\n # Chevron, where the item has child navigation. Pointing to the\n # inline end, it opens the secondary navigation.\n - node:\n uri: global.component.icon\n props:\n icon: chevron-right\n # Pointing to the block end, it expands the children inline.\n - node:\n uri: global.component.icon\n props:\n icon: chevron-down\n # Also carries the collapsed-rail notification indicator.\n - uri: global.component.badge\n relation:\n cardinality: \"0..1\"\n slotName: end\n # Inline expansion only.\n - node:\n uri: apps.subcomponent.side_navigation-item\n relation:\n cardinality: \"0..*\"\n slotName: children";
9
+ ds:anatomyClassic "Navigation item anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10063-14807&t=HfRgpBcYWYYrZVn8-1\n\nNavigation item styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10064-25717&t=HfRgpBcYWYYrZVn8-1";
10
+ ds:usage "### When to use\n\nUse navigation items to link to pages within an application or provide access to child navigation through expandable items or secondary navigation.\n\n### When not to use\n\nDo not use an expandable navigation item as a direct link to a page. Its only click interaction is expanding or collapsing its children. Use the children to link to pages instead.";
11
+ ds:guidelines "## Content specification\n\n### Navigation items\n\nNavigation items constitute the side navigation.\n\nIn primary navigation, items can have icons and can be expandable or open secondary navigation.\n\nIn secondary navigation, items cannot have icons or be expandable.\n\n### Icons\n\nIcons are used to graphically represent the meaning of the item text. They are optional, as not every concept can be represented with an icon.\n\n### Item text\n\nNavigation item labels should be descriptive and intuitive, allowing users to understand the purpose of each item.\n\nDesigners should choose labels that do not overflow. If there is insufficient space, the item text is truncated to a single line.\n\nWhen text is truncated, a tooltip displaying the full text appears after an 800 ms hover delay.\n\n### Expandable items\n\nNavigation items can have children. An expandable item itself cannot link to a page. Its only click interaction is expanding or collapsing its children.\n\nChildren should be grouped either inside an expandable item or displayed in secondary navigation.\n\nExpandable navigation items cannot contain nested expandable items.\n\nThe parent item should have a name that allows users to discover its children, as child items are not always displayed.\n\nOn desktop, a right-pointing chevron indicates that the item opens secondary navigation, while a downward-pointing chevron indicates that the item expands or collapses its children inline.\n\n### Badges\n\nBadges are used within navigation items to convey dynamic information related to that item, such as notifications that require action or highlight a change.\n\nBadges cannot be displayed together with chevrons.\n\nIn the collapsed primary navigation, badges on footer items are displayed as notification indicators to signal new or unread activity.\n\n## Responsive behaviour\n\n### Mobile\n\nOn mobile, navigation items with children are indicated by a chevron pointing to the right, regardless of whether they are expandable or open secondary navigation on desktop.\n\nWhen the user clicks one of these items, its children are displayed on a new page within the navigation.\n\nA back button with a chevron pointing to the left is displayed at the top of the navigation.\n\n## Interaction\n\n### Navigation item\n\n**Hover**\n\nOn hover, the background colour of the navigation item changes and the cursor changes to a pointer.\n\n**Click**\n\nWhen a standard navigation item is clicked, the user is forwarded to the page specified in its target property.\n\n### Expandable navigation item\n\n**Click**\n\nWhen an expandable navigation item is clicked, its state changes to expanded or collapsed depending on its previous state. The chevron rotates between the open and closed positions.\n\nThe transition is animated.\n\n### Navigation item opening secondary navigation\n\n**Click**\n\nWhen a navigation item configured to display its children in secondary navigation is clicked, the secondary navigation opens.\n\n## Accessibility\n\n### Keyboard navigation\n\n**Standard navigation items**\n\nWhen a navigation item has focus, pressing Enter opens the page specified by its target.\n\n**Expandable navigation items**\n\nWhen an expandable navigation item has focus, pressing Enter toggles its expanded or collapsed state.\n\nWhen an expandable navigation item is expanded using the keyboard, the first child item receives focus.\n\n### Screen reader\n\n**Navigation item labels**\n\nNavigation item labels must be descriptive and intuitive so users can understand the purpose of each link without additional context.\n\n**Expandable navigation items**\n\nUse `aria-expanded` to indicate whether an expandable navigation item is expanded or collapsed.\n\n**Current page**\n\nUse `aria-current=\"page\"` to indicate which navigation link corresponds to the current page or view.\n\n### Reduced motion\n\nFor users with a preference for reduced motion, animations when expanding or collapsing navigation items should be disabled.";
12
+ ds:tier ds:apps;
13
+ ds:hasProperty [
14
+ a ds:Property;
15
+ ds:name "target";
16
+ ds:summary "Defines the page opened when the item is clicked.";
17
+ ds:propertyType "url";
18
+ ds:optional "true";
19
+ ds:constraints "Cannot be set when `expandable` is true."
20
+ ], [
21
+ a ds:Property;
22
+ ds:name "icon";
23
+ ds:summary "Defines the icon displayed at the start of the item.";
24
+ ds:propertyType "choice";
25
+ ds:optional "true"
26
+ ], [
27
+ a ds:Property;
28
+ ds:name "show-icon";
29
+ ds:summary "Controls whether the icon is displayed.";
30
+ ds:propertyType "boolean";
31
+ ds:optional "false";
32
+ ds:constraints "Must be false when `indented` is false.";
33
+ ds:defaultValue "`true`"
34
+ ], [
35
+ a ds:Property;
36
+ ds:name "indented";
37
+ ds:summary "Controls whether the item text is indented.";
38
+ ds:propertyType "boolean";
39
+ ds:optional "false";
40
+ ds:constraints "Must be true when an icon is displayed.";
41
+ ds:defaultValue "`true`"
42
+ ], [
43
+ a ds:Property;
44
+ ds:name "item-text";
45
+ ds:summary "Defines the navigation item label.";
46
+ ds:propertyType "text";
47
+ ds:optional "false"
48
+ ], [
49
+ a ds:Property;
50
+ ds:name "badge";
51
+ ds:summary "Controls whether a badge is displayed.";
52
+ ds:propertyType "boolean";
53
+ ds:optional "false";
54
+ ds:constraints "Cannot be used together with a chevron.";
55
+ ds:defaultValue "`false`"
56
+ ], [
57
+ a ds:Property;
58
+ ds:name "expandable";
59
+ ds:summary "Controls whether the item expands to display children.";
60
+ ds:propertyType "boolean";
61
+ ds:optional "false";
62
+ ds:constraints "Requires children. Cannot have a badge or target.";
63
+ ds:defaultValue "`false`"
64
+ ], [
65
+ a ds:Property;
66
+ ds:name "children";
67
+ ds:summary "Defines the child navigation items.";
68
+ ds:propertyType "list of nodes";
69
+ ds:optional "true";
70
+ ds:constraints "Only navigation items are allowed. Children cannot contain further children."
71
+ ], [
72
+ a ds:Property;
73
+ ds:name "is-expanded";
74
+ ds:summary "Controls whether an expandable item is expanded or collapsed.";
75
+ ds:propertyType "boolean";
76
+ ds:optional "false";
77
+ ds:constraints "Can only be true when `expandable` is true.";
78
+ ds:defaultValue "`false`"
79
+ ];
80
+ ds:parentComponent ds:apps.component.side_navigation.
@@ -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:apps.subcomponent.side_navigation-item_group a ds:Subcomponent;
6
+ ds:name "SideNavigation.ItemGroup";
7
+ ds:summary "A navigation item group organises related navigation items into a section within the primary or secondary navigation. Each group can have an optional group header and is separated from the previous group by a divider.";
8
+ ds:anatomyDsl "SideNavigation.ItemGroup\n├── Divider (shown before every group except the first)\n├── Group header (optional)\n└── Navigation item (repeatable)\n```\n\n```\n---\n# SideNavigation.ItemGroup — a group of navigation items with an optional\n# header.\n#\n# Authored 2026-10-16 from the supplied planning tree ALONE. No\n# implementation was read, so this anatomy carries STRUCTURE ONLY.\n#\n# The tree marks the divider \"shown before every group except the first\".\n# That is a property of the group's POSITION AMONG ITS SIBLINGS, which a\n# node cannot see from inside its own anatomy. It is modelled here as an\n# optional leading node; the rule that decides when it appears belongs to\n# the parent that lays the groups out.\nnode:\n uri: apps.subcomponent.side_navigation-item_group\n edges:\n # Absent on the first group of a Nav.\n - node:\n role: divider\n relation:\n cardinality: \"0..1\"\n - node:\n uri: apps.subcomponent.side_navigation-group_header\n relation:\n cardinality: \"0..1\"\n slotName: header\n - node:\n uri: apps.subcomponent.side_navigation-item\n relation:\n cardinality: \"1..*\"\n slotName: default";
9
+ ds:anatomyClassic "Primary navigation item group anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10063-14072&t=HfRgpBcYWYYrZVn8-1\n\nPrimary navigation item group styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10064-25394&t=HfRgpBcYWYYrZVn8-1\n\nSecondary navigation item group anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10063-14563&t=HfRgpBcYWYYrZVn8-1\n\nSecondary navigation item group styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10064-25561&t=HfRgpBcYWYYrZVn8-1";
10
+ ds:usage "### When to use\n\nUse navigation item groups to organise navigation items into different sections. Group headers can be used to describe the category that the items in each group belong to.\n\n### When not to use\n\nAvoid creating separate groups when navigation items belong to the same section.";
11
+ ds:guidelines "## Content specification\n\n### Group header\n\nEach group can have an optional group header. The group header describes the category that the navigation items in the group belong to.\n\nGroup headers are displayed on a single line and truncated when there is insufficient space. When text is truncated, a tooltip displaying the full text appears after an 800 ms hover delay.\n\n### Divider\n\nEach group, except the first, should have a divider at the top to separate it from the previous group.\n\n### Navigation items\n\nA navigation item group can contain multiple navigation items.\n\nIn primary navigation, items can be expandable, opening their children inline, or open secondary navigation. Within each group, navigation items should either all have icons or none should.\n\nIn secondary navigation, navigation items cannot have icons or be expandable.\n\n## Responsive behaviour\n\nNavigation item groups follow the responsive behaviour defined in the main Side navigation documentation.\n\n## Accessibility\n\n### Keyboard navigation\n\nNavigation items within each group should follow a logical, top-to-bottom focus order.\n\n### Screen reader\n\nNavigation groups should be announced as navigation sections:\n\n- Start of group: Announced as the start of a navigation section.\n- Group header: Announced as a group heading followed by its label.\n- End of group: Announced as the end of the group.";
12
+ ds:tier ds:apps;
13
+ ds:parentComponent ds:apps.component.side_navigation.
@@ -5,10 +5,10 @@
5
5
  ds:apps.subcomponent.side_panel-content a ds:Subcomponent;
6
6
  ds:name "SidePanel.Content";
7
7
  ds:summary "";
8
- ds:anatomyDsl "", "--- \nnode: \n uri: apps.subcomponent.side_panel-content \n styles: \n layout.flex: 1 \n spacing.internal.block: spacing/small # --dimension-200 \n edges: \n - node: \n role: content \n relation: \n cardinality: \"1\" \n slotName: default";
8
+ ds:anatomyDsl "", "---\n\n# Authored 2026-09-17 from @canonical/react-ds-app\n\n# src/lib/SidePanel/common/Content/styles.css on .ds.side-panel-content.\n\nnode:\n\n uri: apps.subcomponent.side_panel-content\n\n styles:\n\n # Takes the space the header and footer leave, so a short panel still fills.\n\n layout.flex.grow: 1\n\n layout.flex.shrink: 1\n\n # No scroller here: overflow spills to the panel, which scrolls — that is\n\n # what keeps the scrollbar at the panel's edge rather than inside the text\n\n # column. Padding reads a component-local custom property over\n\n # --dimension-200; spacing.* keys admit spacing. symbols only, so literals.\n\n spacing.internal.block.start: 0.5rem\n\n spacing.internal.block.end: 0.5rem\n\n edges:\n\n - node:\n\n role: content\n\n relation:\n\n cardinality: \"1\"\n\n slotName: default";
9
9
  ds:anatomyClassic "";
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:apps;
13
- ds:documentationStage ds:tag.needsdefinition;
13
+ ds:documentationStage ds:tag.needscoredocumentation;
14
14
  ds:parentComponent ds:apps.pattern.side_panel.
@@ -5,10 +5,203 @@
5
5
  ds:apps.subcomponent.side_panel-footer a ds:Subcomponent;
6
6
  ds:name "SidePanel.Footer";
7
7
  ds:summary "";
8
- ds:anatomyDsl "", "--- \nnode: \n uri: apps.subcomponent.side_panel-footer \n styles: \n layout.type: flow \n layout.direction: horizontal \n layout.justify: end \n layout.align: center \n spacing.gap: spacing/small # --dimension-200 \n spacing.internal.block: spacing/small # --dimension-200 \n appearance.border.top: border/style/divider \n # Sticky to the panel's bottom: actions stay reachable while content scrolls \n edges: \n - node: \n uri: global.component.button \n relation: \n cardinality: \"0..*\" \n slotName: default";
8
+ ds:anatomyDsl "", "---\n\n# Authored 2026-09-17 from @canonical/react-ds-app\n\n# src/lib/SidePanel/common/Footer/styles.css on .ds.side-panel-footer.\n\nnode:\n\n uri: apps.subcomponent.side_panel-footer\n\n styles:\n\n # Never shrinks, and stays visible: the panel scrolls beneath it.\n\n layout.flex.grow: 0\n\n layout.flex.shrink: 0\n\n layout.position: sticky\n\n layout.offset.block.end: 0\n\n # Above the in-flow content, whatever it contains.\n\n layout.stack: 1\n\n # Opaque, so scrolling content passes behind rather than through; `inherit`\n\n # resolves whatever surface colour the panel painted.\n\n appearance.background: inherit\n\n layout.type: flex\n\n layout.justify: flex-start\n\n layout.align: center\n\n layout.wrap: wrap\n\n spacing.gap: 0.5rem\n\n spacing.internal.block.start: 0.5rem\n\n spacing.internal.block.end: 0.5rem\n\n # Closes the scroll region. It lives here rather than on the content pane\n\n # because the panel is the scroller: a border on the content would scroll\n\n # away, whereas this one is pinned by the sticky footer. The colour is the\n\n # muted border (--color-border-muted), a divider, not a boundary. The\n\n # roster measures border widths on the top key and colours on the\n\n # block-start key; the shorthand's `solid` goes through the box-wide style\n\n # key.\n\n appearance.border.top.width: dimension.stroke.thickness.medium\n\n appearance.border.block.start.color: color.border.muted\n\n appearance.border.style: solid\n\n edges:\n\n - node:\n\n uri: global.component.button\n\n relation:\n\n cardinality: \"0..*\"\n\n slotName: default";
9
9
  ds:anatomyClassic "";
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:apps;
13
- ds:documentationStage ds:tag.needsdefinition;
14
- ds:parentComponent ds:apps.pattern.side_panel.
13
+ ds:documentationStage ds:tag.needscoredocumentation;
14
+ ds:parentComponent ds:apps.pattern.side_panel;
15
+ ds:hasTokenBinding [
16
+ a ds:TokenBinding;
17
+ ds:viaBlock ds:apps.subcomponent.side_panel-footer;
18
+ ds:node "$root";
19
+ anatomy:styleKey "appearance.border.top.width";
20
+ anatomy:styleState "default";
21
+ ds:rank 1;
22
+ ds:consumesSymbol dt:dimension.stroke.thickness.medium
23
+ ], [
24
+ a ds:TokenBinding;
25
+ ds:viaBlock ds:apps.subcomponent.side_panel-footer;
26
+ ds:node "$root";
27
+ anatomy:styleKey "appearance.border.block.start.color";
28
+ anatomy:styleState "default";
29
+ ds:rank 1;
30
+ ds:consumesSymbol dt:color.border.muted
31
+ ], [
32
+ a ds:TokenBinding;
33
+ ds:viaBlock ds:global.component.button;
34
+ ds:node "$root";
35
+ anatomy:styleKey "appearance.border.width";
36
+ anatomy:styleState "default";
37
+ ds:rank 1;
38
+ ds:consumesSymbol dt:dimension.stroke.thickness.medium
39
+ ], [
40
+ a ds:TokenBinding;
41
+ ds:viaBlock ds:global.component.button;
42
+ ds:node "$root";
43
+ anatomy:styleKey "appearance.background";
44
+ anatomy:styleState "default";
45
+ ds:rank 1;
46
+ ds:consumesSymbol dt:modifier.color.foreground.primary
47
+ ], [
48
+ a ds:TokenBinding;
49
+ ds:viaBlock ds:global.component.button;
50
+ ds:node "$root";
51
+ anatomy:styleKey "appearance.background";
52
+ anatomy:styleState "default";
53
+ ds:rank 2;
54
+ ds:consumesSymbol dt:color.foreground.primary
55
+ ], [
56
+ a ds:TokenBinding;
57
+ ds:viaBlock ds:global.component.button;
58
+ ds:node "$root";
59
+ anatomy:styleKey "appearance.background";
60
+ anatomy:styleState "hover";
61
+ ds:rank 1;
62
+ ds:consumesSymbol dt:color.foreground.primary.hover
63
+ ], [
64
+ a ds:TokenBinding;
65
+ ds:viaBlock ds:global.component.button;
66
+ ds:node "$root";
67
+ anatomy:styleKey "appearance.background";
68
+ anatomy:styleState "active";
69
+ ds:rank 1;
70
+ ds:consumesSymbol dt:color.foreground.primary.active
71
+ ], [
72
+ a ds:TokenBinding;
73
+ ds:viaBlock ds:global.component.button;
74
+ ds:node "$root";
75
+ anatomy:styleKey "appearance.background";
76
+ anatomy:styleState "disabled";
77
+ ds:rank 1;
78
+ ds:consumesSymbol dt:color.foreground.primary.disabled
79
+ ], [
80
+ a ds:TokenBinding;
81
+ ds:viaBlock ds:global.component.button;
82
+ ds:node "$root";
83
+ anatomy:styleKey "appearance.border.color";
84
+ anatomy:styleState "default";
85
+ ds:rank 1;
86
+ ds:consumesSymbol dt:modifier.color.border
87
+ ], [
88
+ a ds:TokenBinding;
89
+ ds:viaBlock ds:global.component.button;
90
+ ds:node "$root";
91
+ anatomy:styleKey "appearance.border.color";
92
+ anatomy:styleState "default";
93
+ ds:rank 2;
94
+ ds:consumesSymbol dt:color.border.highlighted
95
+ ], [
96
+ a ds:TokenBinding;
97
+ ds:viaBlock ds:global.component.button;
98
+ ds:node "$root";
99
+ anatomy:styleKey "appearance.border.color";
100
+ anatomy:styleState "default";
101
+ ds:rank 3;
102
+ ds:consumesSymbol dt:color.border
103
+ ], [
104
+ a ds:TokenBinding;
105
+ ds:viaBlock ds:global.component.button;
106
+ ds:node "$root";
107
+ anatomy:styleKey "appearance.border.color";
108
+ anatomy:styleState "disabled";
109
+ ds:rank 1;
110
+ ds:consumesSymbol dt:color.border.highlighted.disabled
111
+ ], [
112
+ a ds:TokenBinding;
113
+ ds:viaBlock ds:global.component.button;
114
+ ds:node "$root";
115
+ anatomy:styleKey "typography.color";
116
+ anatomy:styleState "default";
117
+ ds:rank 1;
118
+ ds:consumesSymbol dt:modifier.color.text
119
+ ], [
120
+ a ds:TokenBinding;
121
+ ds:viaBlock ds:global.component.button;
122
+ ds:node "$root";
123
+ anatomy:styleKey "typography.color";
124
+ anatomy:styleState "default";
125
+ ds:rank 2;
126
+ ds:consumesSymbol dt:color.text
127
+ ], [
128
+ a ds:TokenBinding;
129
+ ds:viaBlock ds:global.component.button;
130
+ ds:node "$root";
131
+ anatomy:styleKey "typography.color";
132
+ anatomy:styleState "disabled";
133
+ ds:rank 1;
134
+ ds:consumesSymbol dt:color.text.disabled
135
+ ], [
136
+ a ds:TokenBinding;
137
+ ds:viaBlock ds:global.component.button;
138
+ ds:node "$root";
139
+ anatomy:styleKey "typography.font";
140
+ anatomy:styleState "default";
141
+ ds:rank 1;
142
+ ds:consumesSymbol dt:typography.text.primary
143
+ ], [
144
+ a ds:TokenBinding;
145
+ ds:viaBlock ds:global.component.button;
146
+ ds:node "$root";
147
+ anatomy:styleKey "spacing.gap";
148
+ anatomy:styleState "default";
149
+ ds:rank 1;
150
+ ds:consumesSymbol dt:dimension.100
151
+ ], [
152
+ a ds:TokenBinding;
153
+ ds:viaBlock ds:global.component.button;
154
+ ds:node "$root";
155
+ anatomy:styleKey "spacing.internal.inline.start";
156
+ anatomy:styleState "default";
157
+ ds:rank 1;
158
+ ds:consumesSymbol dt:dimension.200
159
+ ], [
160
+ a ds:TokenBinding;
161
+ ds:viaBlock ds:global.component.button;
162
+ ds:node "$root";
163
+ anatomy:styleKey "spacing.internal.inline.end";
164
+ anatomy:styleState "default";
165
+ ds:rank 1;
166
+ ds:consumesSymbol dt:dimension.200
167
+ ], [
168
+ a ds:TokenBinding;
169
+ ds:viaBlock ds:global.component.button;
170
+ ds:node "$root";
171
+ anatomy:styleKey "appearance.outline.color";
172
+ anatomy:styleState "focus";
173
+ ds:rank 1;
174
+ ds:consumesSymbol dt:modifier.color.focusRing
175
+ ], [
176
+ a ds:TokenBinding;
177
+ ds:viaBlock ds:global.component.button;
178
+ ds:node "$root";
179
+ anatomy:styleKey "appearance.outline.color";
180
+ anatomy:styleState "focus";
181
+ ds:rank 2;
182
+ ds:consumesSymbol dt:color.focusRing
183
+ ], [
184
+ a ds:TokenBinding;
185
+ ds:viaBlock ds:global.component.button;
186
+ ds:node "$root/icon";
187
+ anatomy:styleKey "typography.color";
188
+ anatomy:styleState "default";
189
+ ds:rank 1;
190
+ ds:consumesSymbol dt:modifier.color.icon
191
+ ], [
192
+ a ds:TokenBinding;
193
+ ds:viaBlock ds:global.component.button;
194
+ ds:node "$root/icon";
195
+ anatomy:styleKey "typography.color";
196
+ anatomy:styleState "default";
197
+ ds:rank 2;
198
+ ds:consumesSymbol dt:modifier.color.text
199
+ ], [
200
+ a ds:TokenBinding;
201
+ ds:viaBlock ds:global.component.button;
202
+ ds:node "$root/icon";
203
+ anatomy:styleKey "typography.color";
204
+ anatomy:styleState "disabled";
205
+ ds:rank 1;
206
+ ds:consumesSymbol dt:color.icon.disabled
207
+ ].
@@ -5,10 +5,219 @@
5
5
  ds:apps.subcomponent.side_panel-header a ds:Subcomponent;
6
6
  ds:name "SidePanel.Header";
7
7
  ds:summary "";
8
- ds:anatomyDsl "", "--- \nnode: \n uri: apps.subcomponent.side_panel-header \n styles: \n layout.type: flow \n layout.direction: horizontal \n layout.align: center \n spacing.gap: spacing/small # --dimension-200 \n spacing.internal.block: spacing/small # --dimension-200 \n # Sticky to the panel's top: never scrolls with the content \n edges: \n - node: \n role: title heading \n styles: \n typography.size: text/heading/4 # --typography-heading-4-* \n layout.flex: 1 \n relation: \n cardinality: \"1\" \n slotName: default \n - node: \n uri: global.component.button \n props: \n icon: close \n importance: tertiary \n relation: \n cardinality: \"0..1\" # hidden when the panel is not dismissible \n slotName: dismiss";
8
+ ds:anatomyDsl "", "---\n\n# Authored 2026-09-17 from @canonical/react-ds-app\n\n# src/lib/SidePanel/common/Header/styles.css on .ds.side-panel-header.\n\nnode:\n\n uri: apps.subcomponent.side_panel-header\n\n styles:\n\n # Never scrolls: sticky to the panel's scrollport while content passes\n\n # beneath it.\n\n layout.flex.grow: 0\n\n layout.flex.shrink: 0\n\n layout.position: sticky\n\n layout.offset.block.start: 0\n\n # Above the in-flow content, whatever it contains.\n\n layout.stack: 1\n\n # Opaque, so scrolling content passes behind rather than through. `inherit`\n\n # picks up whichever surface colour the panel resolved, so the two cannot\n\n # drift apart; written as it stands.\n\n appearance.background: inherit\n\n layout.type: flex\n\n layout.align: center\n\n # The gap and block padding read component-local custom properties over\n\n # --dimension-200; the roster's spacing.* keys admit spacing. symbols only,\n\n # so these are literal values.\n\n spacing.gap: 0.5rem\n\n spacing.internal.block.start: 0.5rem\n\n spacing.internal.block.end: 0.5rem\n\n edges:\n\n - node:\n\n role: title\n\n styles:\n\n # The heading-4 scale (--typography-heading-4-*), which retunes per\n\n # breakpoint. line-height reads\n\n # --typography-heading-4-line-height-dimension (--dimension-400); the\n\n # roster's typography.lineHeight admits typography. symbols only, so\n\n # it is not bound.\n\n typography.size: dimension.size.fontSize.500\n\n typography.weight: typography.weight.light\n\n typography.fontFamily: typography.fontFamily.default\n\n typography.letterSpacing: dimension.letterSpacing.default\n\n layout.flex.grow: 1\n\n layout.flex.shrink: 1\n\n relation:\n\n cardinality: \"1\"\n\n slotName: default\n\n - node:\n\n uri: global.component.button\n\n props:\n\n icon: close\n\n importance: tertiary\n\n relation:\n\n cardinality: \"0..1\" # omitted when the panel is undismissible\n\n slotName: dismiss";
9
9
  ds:anatomyClassic "";
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:apps;
13
- ds:documentationStage ds:tag.needsdefinition;
14
- ds:parentComponent ds:apps.pattern.side_panel.
13
+ ds:documentationStage ds:tag.needscoredocumentation;
14
+ ds:parentComponent ds:apps.pattern.side_panel;
15
+ ds:hasTokenBinding [
16
+ a ds:TokenBinding;
17
+ ds:viaBlock ds:apps.subcomponent.side_panel-header;
18
+ ds:node "$root/title";
19
+ anatomy:styleKey "typography.size";
20
+ anatomy:styleState "default";
21
+ ds:rank 1;
22
+ ds:consumesSymbol dt:dimension.size.fontSize.500
23
+ ], [
24
+ a ds:TokenBinding;
25
+ ds:viaBlock ds:apps.subcomponent.side_panel-header;
26
+ ds:node "$root/title";
27
+ anatomy:styleKey "typography.weight";
28
+ anatomy:styleState "default";
29
+ ds:rank 1;
30
+ ds:consumesSymbol dt:typography.weight.light
31
+ ], [
32
+ a ds:TokenBinding;
33
+ ds:viaBlock ds:apps.subcomponent.side_panel-header;
34
+ ds:node "$root/title";
35
+ anatomy:styleKey "typography.fontFamily";
36
+ anatomy:styleState "default";
37
+ ds:rank 1;
38
+ ds:consumesSymbol dt:typography.fontFamily.default
39
+ ], [
40
+ a ds:TokenBinding;
41
+ ds:viaBlock ds:apps.subcomponent.side_panel-header;
42
+ ds:node "$root/title";
43
+ anatomy:styleKey "typography.letterSpacing";
44
+ anatomy:styleState "default";
45
+ ds:rank 1;
46
+ ds:consumesSymbol dt:dimension.letterSpacing.default
47
+ ], [
48
+ a ds:TokenBinding;
49
+ ds:viaBlock ds:global.component.button;
50
+ ds:node "$root";
51
+ anatomy:styleKey "appearance.border.width";
52
+ anatomy:styleState "default";
53
+ ds:rank 1;
54
+ ds:consumesSymbol dt:dimension.stroke.thickness.medium
55
+ ], [
56
+ a ds:TokenBinding;
57
+ ds:viaBlock ds:global.component.button;
58
+ ds:node "$root";
59
+ anatomy:styleKey "appearance.background";
60
+ anatomy:styleState "default";
61
+ ds:rank 1;
62
+ ds:consumesSymbol dt:modifier.color.foreground.primary
63
+ ], [
64
+ a ds:TokenBinding;
65
+ ds:viaBlock ds:global.component.button;
66
+ ds:node "$root";
67
+ anatomy:styleKey "appearance.background";
68
+ anatomy:styleState "default";
69
+ ds:rank 2;
70
+ ds:consumesSymbol dt:color.foreground.primary
71
+ ], [
72
+ a ds:TokenBinding;
73
+ ds:viaBlock ds:global.component.button;
74
+ ds:node "$root";
75
+ anatomy:styleKey "appearance.background";
76
+ anatomy:styleState "hover";
77
+ ds:rank 1;
78
+ ds:consumesSymbol dt:color.foreground.primary.hover
79
+ ], [
80
+ a ds:TokenBinding;
81
+ ds:viaBlock ds:global.component.button;
82
+ ds:node "$root";
83
+ anatomy:styleKey "appearance.background";
84
+ anatomy:styleState "active";
85
+ ds:rank 1;
86
+ ds:consumesSymbol dt:color.foreground.primary.active
87
+ ], [
88
+ a ds:TokenBinding;
89
+ ds:viaBlock ds:global.component.button;
90
+ ds:node "$root";
91
+ anatomy:styleKey "appearance.background";
92
+ anatomy:styleState "disabled";
93
+ ds:rank 1;
94
+ ds:consumesSymbol dt:color.foreground.primary.disabled
95
+ ], [
96
+ a ds:TokenBinding;
97
+ ds:viaBlock ds:global.component.button;
98
+ ds:node "$root";
99
+ anatomy:styleKey "appearance.border.color";
100
+ anatomy:styleState "default";
101
+ ds:rank 1;
102
+ ds:consumesSymbol dt:modifier.color.border
103
+ ], [
104
+ a ds:TokenBinding;
105
+ ds:viaBlock ds:global.component.button;
106
+ ds:node "$root";
107
+ anatomy:styleKey "appearance.border.color";
108
+ anatomy:styleState "default";
109
+ ds:rank 2;
110
+ ds:consumesSymbol dt:color.border.highlighted
111
+ ], [
112
+ a ds:TokenBinding;
113
+ ds:viaBlock ds:global.component.button;
114
+ ds:node "$root";
115
+ anatomy:styleKey "appearance.border.color";
116
+ anatomy:styleState "default";
117
+ ds:rank 3;
118
+ ds:consumesSymbol dt:color.border
119
+ ], [
120
+ a ds:TokenBinding;
121
+ ds:viaBlock ds:global.component.button;
122
+ ds:node "$root";
123
+ anatomy:styleKey "appearance.border.color";
124
+ anatomy:styleState "disabled";
125
+ ds:rank 1;
126
+ ds:consumesSymbol dt:color.border.highlighted.disabled
127
+ ], [
128
+ a ds:TokenBinding;
129
+ ds:viaBlock ds:global.component.button;
130
+ ds:node "$root";
131
+ anatomy:styleKey "typography.color";
132
+ anatomy:styleState "default";
133
+ ds:rank 1;
134
+ ds:consumesSymbol dt:modifier.color.text
135
+ ], [
136
+ a ds:TokenBinding;
137
+ ds:viaBlock ds:global.component.button;
138
+ ds:node "$root";
139
+ anatomy:styleKey "typography.color";
140
+ anatomy:styleState "default";
141
+ ds:rank 2;
142
+ ds:consumesSymbol dt:color.text
143
+ ], [
144
+ a ds:TokenBinding;
145
+ ds:viaBlock ds:global.component.button;
146
+ ds:node "$root";
147
+ anatomy:styleKey "typography.color";
148
+ anatomy:styleState "disabled";
149
+ ds:rank 1;
150
+ ds:consumesSymbol dt:color.text.disabled
151
+ ], [
152
+ a ds:TokenBinding;
153
+ ds:viaBlock ds:global.component.button;
154
+ ds:node "$root";
155
+ anatomy:styleKey "typography.font";
156
+ anatomy:styleState "default";
157
+ ds:rank 1;
158
+ ds:consumesSymbol dt:typography.text.primary
159
+ ], [
160
+ a ds:TokenBinding;
161
+ ds:viaBlock ds:global.component.button;
162
+ ds:node "$root";
163
+ anatomy:styleKey "spacing.gap";
164
+ anatomy:styleState "default";
165
+ ds:rank 1;
166
+ ds:consumesSymbol dt:dimension.100
167
+ ], [
168
+ a ds:TokenBinding;
169
+ ds:viaBlock ds:global.component.button;
170
+ ds:node "$root";
171
+ anatomy:styleKey "spacing.internal.inline.start";
172
+ anatomy:styleState "default";
173
+ ds:rank 1;
174
+ ds:consumesSymbol dt:dimension.200
175
+ ], [
176
+ a ds:TokenBinding;
177
+ ds:viaBlock ds:global.component.button;
178
+ ds:node "$root";
179
+ anatomy:styleKey "spacing.internal.inline.end";
180
+ anatomy:styleState "default";
181
+ ds:rank 1;
182
+ ds:consumesSymbol dt:dimension.200
183
+ ], [
184
+ a ds:TokenBinding;
185
+ ds:viaBlock ds:global.component.button;
186
+ ds:node "$root";
187
+ anatomy:styleKey "appearance.outline.color";
188
+ anatomy:styleState "focus";
189
+ ds:rank 1;
190
+ ds:consumesSymbol dt:modifier.color.focusRing
191
+ ], [
192
+ a ds:TokenBinding;
193
+ ds:viaBlock ds:global.component.button;
194
+ ds:node "$root";
195
+ anatomy:styleKey "appearance.outline.color";
196
+ anatomy:styleState "focus";
197
+ ds:rank 2;
198
+ ds:consumesSymbol dt:color.focusRing
199
+ ], [
200
+ a ds:TokenBinding;
201
+ ds:viaBlock ds:global.component.button;
202
+ ds:node "$root/icon";
203
+ anatomy:styleKey "typography.color";
204
+ anatomy:styleState "default";
205
+ ds:rank 1;
206
+ ds:consumesSymbol dt:modifier.color.icon
207
+ ], [
208
+ a ds:TokenBinding;
209
+ ds:viaBlock ds:global.component.button;
210
+ ds:node "$root/icon";
211
+ anatomy:styleKey "typography.color";
212
+ anatomy:styleState "default";
213
+ ds:rank 2;
214
+ ds:consumesSymbol dt:modifier.color.text
215
+ ], [
216
+ a ds:TokenBinding;
217
+ ds:viaBlock ds:global.component.button;
218
+ ds:node "$root/icon";
219
+ anatomy:styleKey "typography.color";
220
+ anatomy:styleState "disabled";
221
+ ds:rank 1;
222
+ ds:consumesSymbol dt:color.icon.disabled
223
+ ].
@@ -4,7 +4,7 @@
4
4
 
5
5
  ds:apps_anbox.component.theme_switcher a ds:Component;
6
6
  ds:name "ThemeSwitcher";
7
- ds:summary "A control used to switch the interface theme between light and dark modes. It helps users quickly choose the visual appearance that is most comfortable for their environment, preference, or accessibility needs. Use it when the product supports multiple visual themes and users may need an explicit, persistent way to change them.\n\n";
7
+ ds:summary "A control used to switch the interface theme between light and dark modes. It helps users quickly choose the visual appearance that is most comfortable for their environment, preference, or accessibility needs. Use it when the product supports multiple visual themes and users may need an explicit, persistent way to change them.";
8
8
  ds:anatomyDsl "@prefix ds: <https://ds.canonical.com/> .\n\nds:global.component.theme_switcher a ds:Component ; \n ds:name \"Theme switcher\" ; \n ds:description \"Control that lets users switch the interface theme between light and dark modes, typically represented with sun and moon visuals.\" ; \n ds:tier ds:global ; \n ds:whenToUse \"When a product supports multiple themes and users need a quick, explicit way to change the interface appearance.\" ; \n ds:whenNotToUse \"When the product supports only one theme, or when theme changes are controlled automatically without user override.\" ; \n ds:guidelines \"Use clear sun and moon affordances, preserve the user's selection, provide accessible labels and keyboard support, and communicate the current state clearly to assistive technologies.\" .";
9
9
  ds:anatomyClassic "The theme switcher is composed of a small set of visual and interactive elements that communicate state and afford interaction clearly.\n\n### Parts\n\n- **Container**\n - The clickable/tappable area that wraps the entire control.\n - Defines hit area, spacing, and layout.\n - Appears as an icon highlighting the current state of the switcher.\n- **Toggle / Button**\n - The main interactive element.\n - Handles user input (click, tap, keyboard).\n - Visually represents the current state.\n- **Icon (light)**\n - Typically a sun symbol.\n - Represents the light theme state.\n - May be shown when active or as part of a transition.\n- **Icon (dark)**\n - Typically a moon symbol.\n - Represents the dark theme state.\n - May replace or animate from the light icon.\n- **Focus indicator**\n - Visible outline or highlight when the component receives keyboard focus.\n - Must be clearly visible in both light and dark themes.\n- **Label (optional)**\n - Text describing the control (e.g., “Light”, “Dark”, “Theme”).\n - Can be visible or accessible-only.\n\n\n\n### States\n\n- **Default**\n - Shows current theme (sun or moon).\n- **Hover**\n - Indicates interactivity on pointer devices.\n- **Active / Pressed**\n - Brief feedback when user activates the control.\n- **Focused**\n - Visible focus ring for keyboard navigation.\n- **Selected (Light)**\n - Light theme is active.\n- **Selected (Dark)**\n - Dark theme is active.\n- **Disabled**\n - Non-interactive state when switching is unavailable.";
10
10
  ds:usage "## When to use\n\nUse this component when users need a direct way to switch between supported visual themes.\n\nRecommended usage scenarios:\n\n- **User preference override** \nUse the theme switcher when users should be able to choose light or dark mode regardless of the system default.\n- **Long-running applications** \nUse it in products users keep open for long periods, where lighting conditions may change during use.\n- **Accessibility and comfort** \nUse it when darker or lighter interfaces may improve readability, reduce glare, or better fit user comfort.\n- **Global application setting** \nUse it when theme is a product-level preference that should affect the full interface consistently.\n\n## When not to use\n\nAvoid using this component when changing theme is not a real user choice or when it affects too small a scope.\n\nAvoid usage:\n\n- **Single-theme products** \nDo not show a theme switcher if only one visual theme is available.\n- **Temporary visual effects** \nDo not use it for controls that only change a local surface, card, or panel rather than the product theme.\n- **Unclear or decorative toggles** \nAvoid using icon-only controls without an accessible name or without a clear indication of the current state.\n- **Automatic-only behavior** \nAvoid showing it if the theme is always inherited from system settings and the user cannot override it.";
@@ -20,6 +20,5 @@ ds:apps_anbox.pattern.side_menu a ds:Pattern;
20
20
  ds:changeLog [
21
21
  a ds:ChangeLogEntry;
22
22
  ds:timestamp "2026-02-04T00:00:00.000+01:00";
23
- ds:change "Initial draft";
24
23
  ds:changeType "change"
25
24
  ].
@@ -2,5 +2,5 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:tagcategory.lpupstream a ds:TagCategory;
6
- ds:name "lp:upstream".
5
+ ds:apps_identity a ds:Tier;
6
+ ds:name "Apps/Identity".