@canonical/design-system 0.43.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 (294) 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 +10 -10
  285. package/skills/adoption-a1-styles/SKILL.md +38 -8
  286. package/skills/adoption-a2-components/SKILL.md +44 -4
  287. package/skills/adoption-a3-forms/SKILL.md +1 -1
  288. package/skills/anatomy-author/SKILL.md +26 -2
  289. package/skills/design-auditor/SKILL.md +1 -1
  290. package/skills/implement-component/SKILL.md +1 -1
  291. package/skills/specify-component/SKILL.md +1 -1
  292. package/skills/specify-pattern/SKILL.md +1 -1
  293. package/src/collect/types.ts +1 -1
  294. package/data/apps_workplaceengineering/pattern/travel_provider_card.ttl +0 -14
@@ -10,5 +10,5 @@ ds:apps.component.file_tree a ds:Component;
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.triagedbacklog;
14
14
  ds:hasSubcomponent ds:apps.subcomponent.file_tree-node.
@@ -0,0 +1,17 @@
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.component.inline_panel a ds:Component;
6
+ ds:name "InlinePanel";
7
+ ds:summary "The Inline Panel is a layout surface that exists in the same plane as the main area and causes it to resize (e.g. persistent navigation, split panel layouts). It is used when the user needs to act in two contexts at the same time. It can be placed on the left or on the right of the main content area.";
8
+ ds:anatomyDsl "";
9
+ ds:anatomyClassic "";
10
+ ds:usage "";
11
+ ds:guidelines "";
12
+ ds:tier ds:apps;
13
+ ds:documentationStage ds:tag.needsdesign;
14
+ ds:changeLog [
15
+ a ds:ChangeLogEntry;
16
+ ds:timestamp "2026-09-29T00:00:00.000+02:00"
17
+ ].
@@ -10,4 +10,4 @@ ds:apps.component.key_value_pair a ds:Component;
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.designin-progress.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:apps.subcomponent.log a ds:Subcomponent;
5
+ ds:apps.component.log a ds:Component;
6
6
  ds:name "Log";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
@@ -10,4 +10,4 @@ ds:apps.component.navigation a ds:Component;
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.
@@ -10,4 +10,4 @@ ds:apps.component.notification a ds:Component;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:apps;
13
- ds:documentationStage ds:tag.needstriage.
13
+ ds:documentationStage ds:tag.needsdesign.
@@ -4,10 +4,54 @@
4
4
 
5
5
  ds:apps.component.side_navigation a ds:Component;
6
6
  ds:name "SideNavigation";
7
- ds:summary "Spec reference: [https://docs.google.com/document/d/1AeX_4NtUHxXDJgKqrZEpTXPJBIU9pyXxp0HJGcitX5g/edit?tab=t.0#heading=h.yij8xaij9lcy](https://docs.google.com/document/d/1AeX_4NtUHxXDJgKqrZEpTXPJBIU9pyXxp0HJGcitX5g/edit?tab=t.0#heading=h.yij8xaij9lcy)\n\nThe applications side navigation provides users with a way to navigate through various sections, features, or pages of an application. It appears as a vertical panel on the left side of the screen. The navigation can have two levels: The primary and the secondary navigation. The primary navigation is always shown. The secondary navigation can be used as needed to display a second level of navigation.\n\n";
8
- ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
- ds:usage "";
11
- ds:guidelines "";
7
+ ds:summary "Spec reference: [https://docs.google.com/document/d/1AeX_4NtUHxXDJgKqrZEpTXPJBIU9pyXxp0HJGcitX5g/edit?tab=t.0#heading=h.yij8xaij9lcy](https://docs.google.com/document/d/1AeX_4NtUHxXDJgKqrZEpTXPJBIU9pyXxp0HJGcitX5g/edit?tab=t.0#heading=h.yij8xaij9lcy)\n\nThe application side navigation provides users with a way to navigate through various sections, features, or pages of an application. It appears as a vertical panel on the left side of the screen. The navigation can have two levels: primary and secondary. The primary navigation is always visible, while the secondary navigation can be used as needed to display a second level of navigation.";
8
+ ds:anatomyDsl "Side navigation\n├── Primary navigation\n│ ├── Header (sticky)\n│ │ ├── Logo\n│ │ └── Collapse/expand button\n│ ├── Content\n│ │ ├── Context switcher (optional)\n│ │ └── Nav\n│ │ └── Navigation item group (repeatable)\n│ │ ├── Divider (shown before every group except the first)\n│ │ ├── Group header (optional)\n│ │ └── Navigation item (repeatable)\n│ └── Footer (sticky)\n│ └── Navigation item (repeatable, optional)\n│\n└── Secondary navigation (optional)\n ├── Header (sticky)\n │ └── Title\n └── Content\n └── Nav\n └── Navigation item group (repeatable)\n ├── Divider (shown before every group except the first)\n ├── Group header (optional)\n └── Navigation item (repeatable)\n```\n\n```yaml\n---\n# SideNavigation — the apps-tier navigation rail.\n#\n# Authored 2026-10-16 from the supplied planning tree ALONE. No\n# implementation was read, so this anatomy carries STRUCTURE ONLY: the tree\n# states parts, nesting, optionality and repetition, and states nothing\n# about colour, spacing or layout. Styles are therefore absent rather than\n# invented, and are added when a stylesheet exists to transcribe.\n#\n# Reading of the tree's own vocabulary, applied consistently across all five\n# files: \"optional\" is 0..1, \"repeatable\" is 1..*, and \"repeatable,\n# optional\" is 0..*. Anything unmarked is exactly 1.\n#\n# The tree names \"Header\" in both panes. They are taken to be the SAME block,\n# which means its own anatomy has to accommodate both child sets the tree\n# shows — Logo plus Collapse/expand button in the primary pane, Title in the\n# secondary. Those children live in the Header block's anatomy, which this\n# spec does not author.\n#\n# \"Sticky\" is positional and belongs to Header's and Footer's own anatomies.\nnode:\n uri: apps.component.side_navigation\n edges:\n - node:\n role: primary navigation\n edges:\n # Sticky. Holds the logo and the collapse/expand button.\n - node:\n uri: apps.subcomponent.side_navigation-header\n relation:\n cardinality: \"1\"\n slotName: header\n - node:\n uri: apps.subcomponent.side_navigation-content\n relation:\n cardinality: \"1\"\n slotName: default\n # Sticky. Its navigation items are repeatable and optional; that\n # cardinality lives in the Footer block's own anatomy.\n - node:\n uri: apps.subcomponent.side_navigation-footer\n relation:\n cardinality: \"1\"\n slotName: footer\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n role: secondary navigation\n edges:\n # Sticky. Holds a title where the primary pane's header holds the\n # logo and the collapse/expand button.\n - node:\n uri: apps.subcomponent.side_navigation-header\n relation:\n cardinality: \"1\"\n slotName: header\n # The same Content block, filled without a context switcher.\n - node:\n uri: apps.subcomponent.side_navigation-content\n relation:\n cardinality: \"1\"\n slotName: default\n relation:\n cardinality: \"0..1\"\n slotName: secondary";
9
+ ds:anatomyClassic "Primary and secondary navigation anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10062-7892&t=jKfhm8OeWic0xeTh-1\n\nPrimary and secondary navigation styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=9135-3160&t=cvso6VLbvdw3Jfys-1\n\nMobile navigation — Closed state anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=11028-12154&t=kljb9kz81nAn2N2G-1\n\nMobile navigation — Closed state styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=11028-16236&t=kljb9kz81nAn2N2G-1\n\nMobile navigation — Open state anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=11030-17171&t=kljb9kz81nAn2N2G-1\n\nMobile navigation — Open state styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=11030-17517&t=kljb9kz81nAn2N2G-1\n\nMobile navigation — Child navigation open anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=11030-18532&t=kljb9kz81nAn2N2G-1\n\nMobile navigation — Child navigation open styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=11030-19051&t=kljb9kz81nAn2N2G-1\n\nPrimary navigation header anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10062-9692&t=cvso6VLbvdw3Jfys-1\n\nPrimary navigation header styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10064-18511&t=cvso6VLbvdw3Jfys-1\n\nSecondary navigation header anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10062-11491&t=cvso6VLbvdw3Jfys-1\n\nSecondary navigation header styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10064-22043&t=cvso6VLbvdw3Jfys-1\n\nPrimary navigation footer anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10062-11650&t=cvso6VLbvdw3Jfys-1\n\nPrimary navigation footer styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=10064-25117&t=cvso6VLbvdw3Jfys-1";
10
+ ds:usage "## When to use\n\nUse side navigation as the primary navigation for applications.\n\nUse secondary navigation when there are many (5 or more) second-level items that cannot comfortably fit within an expandable navigation item. A common use case is settings.\n\n## When not to use\n\nAvoid using side navigation for anything other than application tiers.\n\nAvoid secondary navigation when second-level items can comfortably fit within an expandable navigation item.";
11
+ ds:guidelines "## Content specification\n\n### Primary navigation (expanded)\n\nThe primary navigation is always displayed in a Canonical application, except when the user is not logged in.\n\n**Header**\n\n- The header is always displayed.\n- The expand/collapse functionality of the primary navigation cannot be disabled.\n\n**Content**\n\nThe navigation content is defined by the designer and can include the following sub-components:\n\n- Context switcher (optional, primary navigation only)\n- Navigation item group\n - Divider\n - Group header (optional)\n - Navigation items\n\nThe designer can arrange the sub-components in this section as needed, following these guidelines:\n\n- The context switcher, when used, is always positioned at the top.\n- The primary navigation can be divided into groups.\n- Within each group, navigation items should either all have icons or none should.\n- Each group can have an optional group header.\n- Each group, except the first, should have a divider at the top to separate it from the previous group.\n\n**Footer**\n\nThe footer is reserved for user-related content and may contain account settings, notifications, and logout. All footer items are optional.\n\nIf the application supports certificate users (like LXD), the certificate icon is used instead of the profile icon, and the logout option is hidden.\n\n### Primary navigation (collapsed)\n\nThe collapsed state of the side navigation does not display navigation items for the following reasons:\n\n- To display navigation items in the collapsed state, they would need to have icons. However, we cannot guarantee that every navigation item will have an icon. Items without icons would either cause navigation items to jump when the navigation expands or collapses, or create large gaps between items.\n- Navigation with a context switcher would not be able to display it properly in the collapsed state, potentially causing navigation items to jump.\n- The behaviour of expandable/collapsible navigation items is undefined when the side navigation collapses. Should expanded items collapse as well (causing items to jump) or remain expanded (creating large gaps)?\n- The expand button needs to move down in the collapsed state, causing navigation items to jump.\n\n### Secondary navigation\n\nThe secondary navigation can be used as a second level of navigation, as designers see fit.\n\nThe secondary navigation cannot be collapsed.\n\n**Title**\n\nThe title reflects the name of the expanded primary navigation item. However, this is not always the case. For example, a primary navigation item displaying the user's username may expand a secondary navigation titled \"Account settings\". In this case, the title reflects the nature of the navigation content and not the original label.\n\n**Content**\n\nThe navigation content is defined by the designer and can include the following sub-components:\n\n- Navigation item group\n - Divider\n - Group header (optional)\n - Navigation items\n\nThe designer can arrange the sub-components in this section as needed, following these guidelines:\n\n- Navigation items cannot be expandable.\n- Navigation items cannot have icons.\n- Each group can have an optional group header.\n- Each group, except the first, should have a divider at the top to separate it from the previous group.\n\n### Text overflow\n\nDesigners should choose labels that do not overflow. If there is insufficient space, text in the secondary navigation title is truncated to a single line.\n\nWhen the text is truncated, a tooltip displaying the full text appears after an 800 ms hover delay.\n\n## Responsive behaviour\n\n### Desktop\n\nAbove the small breakpoint (620px), the standard desktop side navigation is used.\n\n### Mobile navigation\n\nAt the small breakpoint (620px) and below, a customised version of the side navigation is used, optimised for mobile.\n\nThe collapse/expand button is replaced by a button labelled “Menu”. On mobile, the header is always shown, while the content and footer are hidden.\n\nWhen the user clicks the Menu button, the navigation opens in full screen, displaying its content and footer. The button label changes to “Close menu”.\n\nThe styling of the navigation stays largely the same as on desktop, including spacing, overflow lines, and the sticky footer.\n\n### Context switcher\n\nThe context switcher appears in the same position as on desktop. When the user opens the dropdown, the context list is displayed on top of the navigation content.\n\nWhen the context is switched, the mobile navigation closes. The current page remains open if it exists in the newly selected context. Otherwise, the default page of the new context is opened.\n\n### Items with children and secondary navigation\n\nWhen an item has children, this is indicated by a chevron pointing to the right, regardless of whether the item is expandable or opens secondary navigation on desktop. When the user clicks on this item, its children are displayed on a new page within the navigation. Both types of navigation items behave in the same way on mobile.\n\nWhen the user clicks on one of these items, a back button with a chevron pointing to the left is displayed at the top of the navigation.\n\n## Interaction\n\n### Primary navigation\n\n**Logo**\n\nOn hover, the cursor changes to a pointer to indicate that the logo is clickable.\n\nOn click, the user is directed to the page specified in the `logo-target` property. By default, this is the first navigation item that links to a page. We recommend using a page that offers the most general view of the application or its most frequently used section.\n\n**Collapse/expand button**\n\nOn hover, the button’s background colour changes and the cursor changes to a pointer. After a 1-second delay, a tooltip appears to the right of the button, displaying “Collapse” or “Expand” depending on the navigation state. The hover transition is not animated.\n\nOn click, the button toggles the `is-open` state of the primary navigation, expanding or collapsing it. The button’s background colour also changes.\n\n**Footer**\n\nClicking the account settings item opens the application’s account settings page. Clicking notifications opens the notifications page, and clicking logout logs the user out.\n\nWhen the primary navigation is collapsed, footer items display their labels in tooltips after an 800 ms hover delay.\n\n### Secondary navigation\n\nClicking a primary navigation item configured to display its children in secondary navigation opens the secondary navigation.\n\nThe secondary navigation is hidden when the user clicks a primary navigation item that does not display its children in secondary navigation.\n\n## Accessibility\n\n### Keyboard navigation\n\n**Focus order**\n\nThe \"Skip to main content\" link should be first in the page's tab order, before the side navigation.\n\nWithin the side navigation, the focus order should follow a coherent sequence. Here is the recommended order:\n\n1. Logo\n2. Expand/collapse button\n3. Navigation content (following a top-to-bottom order for all interactive elements)\n4. Footer content (also in a top-to-bottom sequence for all interactive elements)\n\nWhen secondary navigation is displayed, its interactive elements should also follow a logical focus order.\n\n**Collapse/expand button**\n\nWhen the expand/collapse button has focus, pressing the `Enter` or `Space` key should toggle the expansion or collapse of the primary navigation.\n\n**Collapse/expand shortcut**\n\nPressing `Ctrl + E` toggles the primary navigation between expanded and collapsed states.\n\n**Skip to main content**\n\nWhen using the side navigation, make sure to have a \"Skip to main content\" link at the top of the page to allow keyboard and screen-reader users to bypass the navigation and go straight to the main content if they wish.\n\n### Screen reader\n\n**Navigation labels**\n\nUse `aria-label` to provide the name \"Main navigation\" for the primary navigation. When secondary navigation is present, it should have a distinct accessible name.\n\n**Logo**\n\nIf the logo text is an SVG and cannot be read by a screen reader, alternative text with the same text that is visible on the screen should be provided.\n\n**Collapse/expand button**\n\nThe button should be announced with the action opposite to its current state. For example, if the navigation is expanded, it should read \"Collapse navigation\".\n\nThe button should also expose its current expanded or collapsed state to screen readers.\n\n**Footer**\n\nThe footer items should be read as any other navigation group, with accessible names that describe their purpose.\n\n### Icon-only navigation\n\nIcon-only navigation items can be difficult to understand, especially when icons are ambiguous or abstract. The collapsed state would not be able to properly display labels for navigation items.\n\n### Tooltips\n\nTooltips for the collapse/expand button and footer items in the collapsed state must appear on both hover and keyboard focus. These controls must also have accessible names that do not rely on tooltips alone.\n\n### Reduced motion\n\nFor users with a preference for reduced motion, all animations within the side navigation should be disabled. This ensures a more comfortable experience for individuals sensitive to motion.";
12
12
  ds:tier ds:apps;
13
- ds:documentationStage ds:tag.needsdefinition.
13
+ ds:documentationStage ds:tag.docscomplete;
14
+ ds:hasProperty [
15
+ a ds:Property;
16
+ ds:name "logo";
17
+ ds:summary "Defines the product logo displayed at the top of the primary navigation.";
18
+ ds:propertyType "choice";
19
+ ds:optional "false";
20
+ ds:defaultValue "Canonical"
21
+ ], [
22
+ a ds:Property;
23
+ ds:name "logo-target";
24
+ ds:summary "Specifies the page opened when the user clicks the logo.";
25
+ ds:propertyType "url";
26
+ ds:optional "true";
27
+ ds:defaultValue "First navigation item that links to a page";
28
+ ds:constraints "Only internal application URLs are allowed."
29
+ ], [
30
+ a ds:Property;
31
+ ds:name "is-open";
32
+ ds:summary "Controls whether the primary navigation is expanded or collapsed.";
33
+ ds:propertyType "boolean";
34
+ ds:optional "true";
35
+ ds:defaultValue "`true`"
36
+ ], [
37
+ a ds:Property;
38
+ ds:name "footer-items";
39
+ ds:summary "Defines which items are displayed in the primary navigation footer.";
40
+ ds:propertyType "list of text";
41
+ ds:optional "false";
42
+ ds:constraints "If no items are selected, the footer is hidden."
43
+ ], [
44
+ a ds:Property;
45
+ ds:name "title";
46
+ ds:summary "Defines the title displayed at the top of the secondary navigation.";
47
+ ds:propertyType "text";
48
+ ds:optional "false"
49
+ ], [
50
+ a ds:Property;
51
+ ds:name "content";
52
+ ds:summary "Defines the content of the primary or secondary navigation.";
53
+ ds:propertyType "list of nodes";
54
+ ds:optional "false";
55
+ ds:constraints "Primary: accepts a context switcher and navigation item groups. Secondary: accepts navigation item groups only."
56
+ ];
57
+ ds:hasSubcomponent ds:apps.subcomponent.side_navigation-item, ds:apps.subcomponent.side_navigation-item_group, ds:apps.subcomponent.side_navigation-context_switcher, ds:apps.subcomponent.side_navigation-content.
@@ -10,4 +10,4 @@ ds:apps.group.key_value_pairs a ds:Group;
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.designin-progress.
@@ -10,4 +10,4 @@ ds:apps.group.notifications a ds:Group;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:apps;
13
- ds:documentationStage ds:tag.needstriage.
13
+ ds:documentationStage ds:tag.needsdesign.
@@ -10,6 +10,6 @@ ds:apps.layout.application_layout a ds:Layout;
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.designin-progress;
14
14
  ds:grid "min-content 1fr;";
15
15
  ds:domain "application".
@@ -10,12 +10,11 @@ ds:apps.layout.content_layout a ds:Layout;
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.needsdesign;
14
14
  ds:changeLog [
15
15
  a ds:ChangeLogEntry;
16
16
  ds:timestamp "2026-02-16T00:00:00.000+01:00";
17
- ds:change "renamed from ViewContentLayout";
18
17
  ds:changeType "change"
19
18
  ];
20
- ds:grid " repeat( \n auto-fit, \n minmax(100px, 1fr) minmax(100px, 1fr) minmax(100px, 1fr) \n minmax(100px, 1fr) \n ); ";
19
+ ds:grid "repeat( \n auto-fit, \n minmax(100px, 1fr) minmax(100px, 1fr) minmax(100px, 1fr) \n minmax(100px, 1fr) \n );";
21
20
  ds:domain "the content of the view".
@@ -10,4 +10,4 @@ ds:apps.layout.empty_layout a ds:Layout;
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.needstriage.
@@ -10,4 +10,4 @@ ds:apps.layout.empty_state a ds:Layout;
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.needsdesign.
@@ -2,12 +2,11 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:apps_workplaceengineering.pattern.group_card a ds:Pattern;
6
- ds:name "GroupCard";
7
- ds:summary "Used in Directory\n\n";
5
+ ds:apps.layout.login_layout a ds:Layout;
6
+ ds:name "LoginLayout";
7
+ ds:summary "";
8
8
  ds:anatomyDsl "";
9
9
  ds:anatomyClassic "";
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
- ds:tier ds:apps_workplaceengineering;
13
- ds:documentationStage ds:tag.needsdefinition.
12
+ ds:tier ds:apps.
@@ -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.layout.side_panel_form_layout a ds:Layout;
6
+ ds:name "SidePanelFormLayout";
7
+ ds:summary "**Definition**\n\nForm layout is the set of rules that determines how a form’s elements (sections, section headings, fields, and the button group) are arranged within a container. It governs where each element sits on the grid, how wide it is, how fields are grouped, how much space separates them, and how the arrangement adapts as the container narrows.\n\nForm layout defines the structure of a form, not the behavior of its individual inputs. Its purpose is to make the reading order, grouping, and path to completion predictable, so that users can understand and complete a form the same way regardless of where it appears.\n\n**Draft spec link**\n\nOpen link \n\n\n\nThe side panel form layout is a contextual container that opens beside related content, primarily designed so that the underlying record stays visible while the user edits or creates it. This layout supports single-section, multi-section, and multi-step form structures.\n\n**When to use a Side Panel Form:**\n\n- **Low to medium complexity tasks:** It is best suited for tasks that do not require the user’s whole attention.\n- **Preserving context:** Use it when you need a low context interruption, allowing users to edit or create information alongside the record they are currently viewing.\n\n**When NOT to use a Side Panel Form:**\n\n- Do not use this layout for tasks that need the user’s whole attention. For highly complex, substantial tasks that require full focus, a full-page form should be used instead.";
8
+ ds:anatomyDsl "";
9
+ ds:anatomyClassic "";
10
+ ds:usage "";
11
+ ds:guidelines "";
12
+ ds:tier ds:apps;
13
+ ds:documentationStage ds:tag.designin-progress.
@@ -4,10 +4,10 @@
4
4
 
5
5
  ds:apps.pattern.action_bar a ds:Pattern;
6
6
  ds:name "ActionBar";
7
- ds:summary "**Definition**\n\nAn action bar is a pattern that groups a set of controls directly related to the entire current view or a selected object within the view (e.g. a table, a side panel). The controls in an action bar can be task-oriented (examples) or otherwise (examples). Action bars reduce cognitive load by combining related actions in a predictable, easily accessible manner and in order of importance. \n\nFor the sake of simplicity, sort, group, toggle, search and filter actions have been excluded from the scope of action bars.\n\n\n\n**How is an action bar different from a button group?**\n\nA button group is a structural variation of the broader action bar pattern. Other structural variations are menu group, icon button group and overdrive menu. All variations are detailed below in the ‘Action Bar Types’ section.\n\n\n\n";
7
+ ds:summary "**Definition**\n\nAn action bar is a pattern that groups a set of controls directly related to the entire current view or a selected object within the view (e.g. a table, a side panel). The controls in an action bar can be task-oriented (examples) or otherwise (examples). Action bars reduce cognitive load by combining related actions in a predictable, easily accessible manner and in order of importance. \n\nFor the sake of simplicity, sort, group, toggle, search and filter actions have been excluded from the scope of action bars.\n\n\n\n**How is an action bar different from a button group?**\n\nA button group is a structural variation of the broader action bar pattern. Other structural variations are menu group, icon button group and overdrive menu. All variations are detailed below in the ‘Action Bar Types’ section.";
8
8
  ds:anatomyDsl "";
9
9
  ds:anatomyClassic "";
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:apps;
13
- ds:documentationStage ds:tag.needsdocumentation.
13
+ ds:documentationStage ds:tag.designin-progress.
@@ -10,4 +10,4 @@ ds:apps.pattern.code_diff a ds:Pattern;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:apps;
13
- ds:documentationStage ds:tag.needstriage.
13
+ ds:documentationStage ds:tag.needsdesign.
@@ -3,21 +3,21 @@
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
5
  ds:apps.pattern.datatable a ds:Pattern;
6
- ds:name "DataTable ";
7
- ds:summary "The data table component presents structured tabular data and gives users tools to navigate and manipulate it. It suits application-tier products where users work with medium-to-large datasets.\n\nThe component is composed of several sub-components, each documented separately:\n\n- [DataTable.HeaderCell](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8yifr5hfPa) \n- [DataTable.BodyCell](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-xsvt3IgB-u) \n- [DataTable.PaginationBar](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-I82k_zrGpw) \n- [DataTable.GroupHeaderRow](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-2tgGCrnrBv) \n- [DataTable.SettingsMenu](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-wyr7Qk04SN) \n- [DataTable.ActionBar](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Tccmneq3YD) \n- [DataTable.PersistentSelection](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Zx_Vr61cn4) \n\nKey capabilities include sorting, pagination, row selection, inline editing, column management, grouping, and bulk actions. The component also adapts responsively across viewport sizes.\n\n";
6
+ ds:name "DataTable";
7
+ ds:summary "The data table component presents structured tabular data and gives users tools to navigate and manipulate it. It suits application-tier products where users work with medium-to-large datasets.\n\nThe component is composed of several sub-components, each documented separately:\n\n- [DataTable.HeaderCell](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8yifr5hfPa) \n- [DataTable.BodyCell](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-xsvt3IgB-u) \n- [DataTable.PaginationBar](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-I82k_zrGpw) \n- [DataTable.GroupHeaderRow](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-2tgGCrnrBv) \n- [DataTable.SettingsMenu](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-wyr7Qk04SN) \n- [DataTable.ActionBar](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Tccmneq3YD) \n- [DataTable.PersistentSelection](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Zx_Vr61cn4) \n\nKey capabilities include sorting, pagination, row selection, inline editing, column management, grouping, and bulk actions. The component also adapts responsively across viewport sizes.";
8
8
  ds:anatomyDsl "";
9
9
  ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3336-11041&t=8RN2Hpk8UX3gMX3u-4";
10
10
  ds:usage "The data table is for presenting structured, tabular data in application-tier products. It is the right choice when users need to work with medium-to-large datasets that share a consistent structure, where each item has the same set of fields. The data table provides tools for navigating, organizing, and acting on that data, including sorting, pagination, row selection, inline editing, column management, grouping, and bulk actions. It is a complex component designed for workflows where data interaction is a core part of the user’s task, not a passive display.\n\n## When to use\n\n- The dataset has a consistent structure where each item shares the same set of fields.\n- Users need to scan or sort across many items.\n- Users need to perform actions on individual rows or in bulk, such as editing, deleting, or exporting.\n- The data is large enough that pagination, column management, or grouping would help users navigate it.\n\n## When not to use\n\n- The data is simple enough that a basic table or a list would suffice. If users only need to read a small, static dataset with no sorting, filtering, or row actions, a simpler component avoids unnecessary complexity.\n- Each item requires a rich visual representation, such as images, charts, or multi-line summaries. A card-based layout is better suited to this kind of content.\n- The dataset has only one or two attributes per item. A list or a key-value layout is more appropriate than a full table.\n- The primary task is comparison between two or three specific items rather than scanning a larger set. A dedicated comparison view serves this better than a table.\n\n## Sorting\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-4599&t=bxRtnsSQKBPwCGkE-4\n\n\n\nThe data table supports column-level sorting. Sorting is not enabled by default. The designer chooses which columns are sortable based on whether the sort order is obvious and helpful to the user. When a user sorts by a column, the table reorders its rows accordingly. Sorting follows a three-step cycle: ascending, descending, and back to unsorted.\n\nIf the table is paginated, sorting may reset the user to the first page and drop any active simple selection. If grouping is enabled, sorting applies only within each group, not across groups.\n\nRefer to [DataTable.HeaderCell](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8yifr5hfPa) for the full sorting interaction, header cell states, and edge cases such as sorting with pagination and double rows.\n\n\n\n\n\n## Pagination\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-5498&t=bxRtnsSQKBPwCGkE-4\n\nThe data table supports pagination to split large datasets into manageable pages. Two pagination modes are available: **offset pagination** for backends that support random-access page navigation, and **keyset pagination** for backends that can only determine whether more pages exist.\n\nThe designer chooses the pagination mode based on the backend’s capabilities. The pagination bar is sticky and always visible at the bottom of the table.\n\nRefer to [DataTable.PaginationBar](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-I82k_zrGpw) for the full anatomy, interaction details, and guidance on choosing page-size options.\n\n## Inline editing\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-7270&t=bxRtnsSQKBPwCGkE-4\n\n\n\nThe data table supports inline editing, allowing users to modify data values directly in the table without navigating to a separate form. Editing is configured at the column level. The designer chooses which columns are editable and which edit mode to use (text, textarea, or select).\n\nInline editing is best suited for quick, small corrections. For complex edits that involve validation, multi-field dependencies, or high-consequence changes, a dedicated edit form or detail panel is a better fit.\n\nRefer to [DataTable.BodyCell](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-xsvt3IgB-u) for the full editing interaction, save behavior options, and validation states.\n\n## Grouping\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-8159&t=bxRtnsSQKBPwCGkE-4\n\nThe data table supports grouping rows by a shared column value. When grouping is active, rows are organized under collapsible group header rows. Only columns with enumerated values (a small, known set of options) can be grouped. The user activates grouping through the table settings panel.\n\nA table can only be grouped by one column at a time. Grouping is incompatible with keyset pagination.\n\nRefer to [DataTable.GroupHeaderRow](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-2tgGCrnrBv) for the full grouping interaction, selection behavior within groups, and pagination considerations.\n\n## Row selection\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-11054&t=bxRtnsSQKBPwCGkE-4\n\nThe data table supports row selection through per-row checkboxes. Two selection modes are available: **simple selection** and **persistent selection**.\n\nSimple selection is page-scoped. The selection is dropped when the user navigates to a different table page, sorts, or applies any action that changes which rows are visible. Use simple selection when users only need to act on items visible on the current page.\n\nPersistent selection preserves the selection across page changes, sorting, and other navigation actions. It adds a persistent selection panel where users can review and manage their full selection. Use persistent selection when users need to build up a selection of items across multiple pages before performing a bulk action.\n\nRefer to the row selection section in Interactions for the full behavior, header checkbox states, shift selection, and performance considerations. Refer to the [DataTable.PersistentSelection](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Zx_Vr61cn4) for the panel UI and expanded view.\n\n## Bulk actions\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-12858&t=bxRtnsSQKBPwCGkE-4\n\nWhen row selection is enabled, the data table can show a bulk action bar at the bottom of the table. The bar appears when one or more rows are selected and provides action buttons for operations that apply to the entire selection, such as exporting, archiving, or deleting.\n\nThe designer defines which bulk actions are available for each table instance. The bar supports a maximum of 7 actions, with overflow grouped into expandable dropdown menus.\n\nRefer to the [DataTable.ActionBar](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Tccmneq3YD) for guidance on choosing bulk actions, destructive action styling, and interaction details.\n\n## Column management\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-11158&t=2PBanDq6QA2yNcI2-4\n\nUsers can customize the table layout by reordering, resizing, pinning, and hiding columns. These features are accessed through the header cell interactions (drag-and-drop reordering, resize handles) and the settings menu (reordering, pinning, visibility toggles). The settings menu is enabled by default and provides a centralized interface for all column customizations.\n\nColumn customizations are persisted in browser storage across sessions. Users can reset all customizations to their defaults through the settings menu.\n\nRefer to [DataTable.HeaderCell](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8yifr5hfPa) and [DataTable.SettingsMenu](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-wyr7Qk04SN) for the full interaction details and configuration options.\n\n## Density\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-12172&t=2PBanDq6QA2yNcI2-4\n\n\n\nDensity controls the vertical spacing of rows. Choose a density based on the user’s task and the amount of data they need to scan.\n\n- **Default** suits most use cases. It balances scannability with readability and provides enough vertical space for comfortable mouse interaction.\n- **Dense** works well when users need to compare many rows at once, such as scanning a log of recent events or triaging a long list of items. The reduced row height keeps more data visible without scrolling. Avoid dense spacing when rows contain complex content or when touch interaction is expected.\n- **Cozy** is a good fit when rows contain longer text values or when the table is not the only focus on the page. The extra breathing room reduces visual fatigue during extended reading. On mobile, cozy is the default density because it provides larger touch targets.\n- **Spacious** is appropriate when each row represents a distinct item the user evaluates individually, such as a list of candidates or detailed records. The generous spacing helps users focus on one row at a time. Avoid spacious spacing in tables with many rows, as it pushes content out of view. \n\n";
11
11
  ds:guidelines "# Responsiveness\n\nThe data table follows a progressive responsive degradation strategy with five stages. Each stage activates only after the previous stage’s strategies are exhausted. This provides a structured path from full-width layouts down to narrow mobile viewports.\n\n## Stage 1: Fractional unit scaling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-13064&t=2PBanDq6QA2yNcI2-4\n\nColumns are generally defined in fractional units (`fr`) for their width. The columns scale according to their fractional unit and the content inside the minimum width. When the viewport grows wider, columns expand proportionally to fill the available space. When it shrinks, they compress until they reach their minimum widths.\n\nSome special columns, such as the checkbox column and the actions column, have a fixed width and are not defined with a fractional unit. These columns do not contain variable content, so they hug their content instead. In some cases, regular columns can also be defined with a fixed width rather than a fractional unit.\n\n\n\n## Stage 2: Double rows\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-13947&t=2PBanDq6QA2yNcI2-4\n\nIf the minimum width of all columns has been reached, the next possible responsiveness stage is double rows. This stage combines two columns into one by stacking a secondary value beneath a primary value in the same cell.\n\n### Configuration\n\nDouble rows are **disabled by default**. To enable them, the designer must define:\n\n- Which columns can be combined\n- Which column is the primary and which is the secondary in each pair\n- The order in which pairs combine, if there are multiple double-row pairs\n\nPairs are combined **one at a time** to meet space constraints, not all at once. Each time the minimum width is reached again, the next defined pair combines.\n\n### Combining behavior\n\nThe secondary column moves in with the primary one. The primary column stays in the same position while the secondary column disappears as a standalone column. It then appears as a second row within the primary column’s cells. The secondary value is shown in a lighter or smaller style beneath the primary value.\n\nThe combined column inherits the **minimum width of the primary column**. Sorting is only possible on the primary value.\n\nAfter a pair combines, the freed horizontal space allows the remaining columns to grow again. If the viewport continues to shrink, columns compress until the minimum width is reached once more. This triggers the next combination, if one is defined.\n\n**Interaction with user-hidden columns**\n\nIf either the primary or secondary column has been hidden by the user, they act as normal independent columns. Specific scenarios:\n\n- **Hiding the primary column while it is in a double row:** The secondary column becomes an independent column again.\n- **Hiding the secondary column before it would have combined:** No combining happens. The primary column continues as an independent column.\n- **Showing a previously hidden primary column when the current viewport would normally trigger combining:** The primary and secondary columns combine with each other.\n\n### When to use double rows\n\nUse double rows with caution. Combining columns reduces scannability and removes the ability to sort by the secondary value. It also requires the user to hold more information in their head, since two column headers map to one. Use double rows only where the two columns have a strong relationship and combining them genuinely makes sense.\n\n### \n\n## Stage 3: Hiding columns\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-15497&t=2PBanDq6QA2yNcI2-4\n\nAfter all defined double rows have been combined and the minimum width is reached again, the next stage is hiding columns one by one.\n\n### Configuration\n\nHiding columns is **disabled by default**. The designer must define whether any columns should be hidden, which columns to hide, and in what order.\n\nColumns are hidden **one at a time**. After a column is hidden, the remaining columns grow to fill the freed space. Only once the minimum width is reached again would the next column, if defined, be hidden.\n\n### Design considerations\n\nThe designer must consider whether the column being hidden is still relevant for the user at smaller breakpoints. Users should be able to override the hiding of columns through the table settings (showing and hiding columns).\n\n## Stage 4: Horizontal scrolling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-16138&t=2PBanDq6QA2yNcI2-4\n\nAt some point, even after combining all double rows and hiding columns, there is no more room for the table. The final responsiveness stage is horizontal scrolling.\n\nHorizontal scrolling is **enabled by default and cannot be disabled**. It must always be available as a fallback.\n\n### Column pinning during scroll\n\nBy default, the first data column and the actions column are pinned when horizontal scrolling is active. The actions column is always the last column when enabled, so pinning it keeps row-level actions visible while the user scrolls. The designer or developer can disable this default pinning behavior on a per-table basis, but the user cannot override it.\n\nIf the user has pinned additional columns, those columns are also pinned during horizontal scrolling.\n\n### Smart pinning behavior\n\nPinning is subject to a smart constraint. If too many columns are pinned, they could prevent the user from scrolling the table and lock the screen. When this would happen, columns are forcefully unpinned one by one until a meaningful portion of the table is viewable and scrollable again. This applies even to user-pinned columns and the first and last columns that are pinned by default. If pinning a column would lead to a locked-screen situation, pinning is disabled for that column.\n\n### Scroll indicators\n\nThicker borders, rather than drop shadows, visually separate pinned columns from the scrollable area. Horizontal and vertical scrolling can be active simultaneously, and drop shadows for both directions would be visually overwhelming. Borders handle the combined case more cleanly.\n\n### Mobile behavior\n\nOn mobile, screens are usually so narrow that pinned columns would leave almost no space to scroll the table. The smart pinning behavior therefore typically prevents pinning on mobile altogether. The table scrolls horizontally off the screen. In this case, drop shadows appear at the screen edges when content is scrolled underneath. These shadows indicate to the user that more content exists in that direction.\n\nPagination controls remain visible beneath the table on mobile (for example, items per page, total item count, and page navigation).\n\n## Stage 5: Alternative layout (optional)\n\nAs an optional final stage, a product team can choose to show data in a different format on smaller viewports, such as cards. This is not a feature of the table component itself. It is a product-specific implementation, as the requirements for alternative formats vary by product.\n\n## \n\n# Touchscreens\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-16990&t=2PBanDq6QA2yNcI2-4\n\nThe data table adapts its density, layout, and interaction patterns for touch devices and narrow viewports.\n\n## Default density\n\nOn touchscreens, the default density is “cozy.” This provides larger touch targets for actions inside the table. Inline action elements are sized up accordingly, and the table renders full-width within the mobile viewport.\n\n## Touch-for-hover\n\nSince hover states are unavailable on touch devices, the row hover effect should be triggered when the user selects a row by touch. The visual treatment is the same subtle background highlight used for hover on desktop.\n\n## Column resize and reorder via long press\n\nOn mobile, scrolling and dragging are the same gesture. Both column reordering and column resizing must be initiated with a long press to avoid ambiguity. The touch target for the column resize handle (the divider between column headers) should be slightly larger on mobile than on desktop to accommodate finger input.\n\n## \n\n# Interactions\n\n## Row hovering\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-17874&t=2PBanDq6QA2yNcI2-4\n\nA table body row can have a hover effect. When a row is hovered, it receives a distinct light background fill. All other rows retain the default white background.\n\nRow hovering is **enabled by default** but can be disabled.\n\n### Sub-element hover layering\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-18763&t=2PBanDq6QA2yNcI2-4\n\nIf an element within a hovered row has its own hover effect, that sub-element hover is rendered **on top of** the row-level hover. For example, an action icon such as an edit icon in the rightmost column shows its own, more prominent highlight layered over the row’s hover background. This makes sure that interactive elements within a row remain visually distinguishable even when the entire row is highlighted. Users can still identify exactly which element they are about to interact with.\n\n## Sticky header\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-19650&t=2PBanDq6QA2yNcI2-4\n\n### Default behavior\n\nThe header of a table is sticky at the top by default. This behavior can be overridden so that the header scrolls with the content instead.\n\nWhen sticky, the header row remains fixed at the top of the table while body rows scroll beneath it. It carries a layer 2 background and shows column names in bold text. A standard-weight bottom border visually separates the header from the body.\n\n### Scroll-state indicator (border thickness)\n\nWhen content is scrolled underneath the sticky header, the bottom border of the header row becomes thicker. When nothing is scrolled underneath, only the default border is shown.\n\nThis thicker border provides visual feedback that content is hidden behind the header. The design uses a border rather than a shadow because borders scale better to complex use cases.\n\n## Row selection\n\n### Overview\n\nThe data table supports two selection paradigms: **simple selection** and **persistent selection**. Both use per-row checkboxes and a header checkbox, but they differ in whether selections persist across navigation actions. When nothing is selected, neither the action bar nor the persistent selection panel is shown.\n\n### Simple selection\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-21110&t=2PBanDq6QA2yNcI2-4\n\nSimple selection allows users to select items on the current table page only. The selection is dropped if the user:\n\n- Applies a search or a filter.\n- Sorts the table by a different column.\n- Navigates to a different table page.\n- Takes any other action that would move selected items out of view.\n\nThis constraint exists because users cannot reasonably remember all selected items when those items are not visible and there is no way to view them all at once.\n\n\n\n### Persistent selection\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-23701&t=2PBanDq6QA2yNcI2-4\n\nPersistent selection adds a **persistent selection panel** to the bulk action bar. This panel persists selections across page changes, sorting, filtering, and searching. It allows users to build up a selection of items that may span different table pages. Users often need to perform bulk actions on items across multiple pages, so this model accommodates that workflow.\n\nWhen items are selected, a floating action bar appears at the bottom of the table. It shows the count (for example, “5 Selected”) and action buttons (Export, Archive, Assign, Tag, Delete), along with a deselect button (“X”).\n\nThe persistent selection panel UI, expanded view, deselection flows, and tooltips are documented in the [DataTable.PersistentSelection](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Zx_Vr61cn4) panel sub-component document.\n\n### **Header checkbox** \n\nThe header checkbox has three states:\n\n1. **Unchecked**: no children are selected.\n2. **Indeterminate** (children selected): some items on the current page have been selected.\n3. **Fully checked**: all items on the current page have been selected.\n\nSelecting the header checkbox when it is unchecked or indeterminate transitions it to the fully checked state and selects all children. Selecting it when fully checked transitions it to the unchecked state and deselects all items on the current page.\n\n### Checkbox tooltips\n\nAll selection checkboxes display a tooltip on hover. The tooltip text changes based on the checkbox state.\n\nTable 7\n\n### Shift selection\n\nIf the user selects one item, holds Shift, and then selects a second item, all items between those two are selected as a contiguous block. This range selection works in both simple and persistent selection modes.\n\n### Performance considerations\n\nIf there are performance concerns related to the number of selected items or frontend pagination, a **hard limit** on the number of items a user can select may need to be considered.\n\n## Column pinning (visual behavior)\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-26040&t=2PBanDq6QA2yNcI2-4\n\nThe how-to-pin interaction and settings panel interactions are documented in the header cell and settings menu sub-component documents respectively.\n\nVisual indicator: 2px border\n\nOnce one or more columns are pinned, a **2px vertical border line** appears on the right edge of the pinned column group. This border provides a clear line where scrollable content passes underneath the pinned area.\n\nWhen **multiple columns** are pinned simultaneously, only the **rightmost pinned column** shows the indicator border.\n\n### Why a border and not a shadow\n\nBorders are used instead of shadows because shadows do not scale well when pinned columns are combined with pinned rows. The border approach handles the combination of a pinned first column, a pinned action column, and a pinned header row cleanly. Shadows look awkward in that compound state.\n\n### Combined pinned columns and pinned rows\n\nWhen the table is scrolled both vertically and horizontally, pinned columns, the pinned header row, and a pinned action column can all be active at the same time. All pinned areas use border indicators consistently. An example of this combined state includes:\n\n- A pinned first column on the left.\n- A pinned action column (with edit icons) on the far right.\n- A pinned header row at the top.\n\nBorders are applied to each pinned boundary, maintaining visual clarity across all axes of scroll.\n\n### Multiple pinned columns\n\nThere is no stated limit on the number of columns that can be pinned. Multiple pinned columns sit side by side on the left of the table. Only the rightmost one carries the 2px border indicator. However, the smart pinning behavior described in the responsiveness guidelines applies: if too many pinned columns would prevent the user from scrolling the table, columns are forcefully unpinned until the table is usable again.\n\n## Loading state\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-26686&t=2PBanDq6QA2yNcI2-4\n\nWhen data has not yet loaded, the table enters a loading state. In place of data and interactive elements, skeleton loading items are shown. These are gray rectangular bars that pulse between two shades of gray in an animation.\n\n### Skeleton loading items\n\nSkeleton items should reflect as much as possible about the table structure and expected data:\n\n- **Text cells:** Randomize the width of each skeleton bar within sensible minimum and maximum widths.\n- **Double-row cells:** Stack two skeleton bars if a cell is known to show content in two rows.\n- **Checkboxes:** Show a square skeleton item in place of each checkbox.\n- **Icons:** Show a square skeleton item in place of each icon.\n\nThe goal is for the skeleton layout to mirror the realistic structure of the populated table. Column count, cell arrangement, and content shape should all match so the transition from loading to loaded feels seamless.\n\n### Header treatment\n\nIf the table headers are not fetched from the backend and are already known to the frontend, show them immediately with real text rather than replacing them with skeleton items. Only the table body shows skeleton loading in this scenario.\n\nWhile loading, disable checkboxes and resize handles in the header row.\n\n### Vertical fill and gradient fade-out\n\nBecause the number of incoming rows is unknown, skeleton loading rows should fill at least the full height available to the table component. The table body should not be scrollable while loading.\n\nIf the table’s height is unconstrained, choose a sensible minimum height for the skeleton loading area.\n\nA gradient fade-out is applied at the bottom of the table body. It progressively transitions the skeleton rows to transparent, visually communicating that the row count is indeterminate.";
12
12
  ds:tier ds:apps;
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 "columns";
17
17
  ds:summary "The column configuration for the table. Each column defines its label, cell type, width, min-width, sortable, editable, reorderable, pinnable, and other per-column settings. Refer to the header cell and body cell sub-component documents for the full set of per-column properties.";
18
18
  ds:propertyType "object";
19
- ds:constraints "At least one column is required.";
20
- ds:optional "false"
19
+ ds:optional "false";
20
+ ds:constraints "At least one column is required."
21
21
  ], [
22
22
  a ds:Property;
23
23
  ds:name "density";
@@ -30,38 +30,38 @@ ds:apps.pattern.datatable a ds:Pattern;
30
30
  ds:name "selection-mode";
31
31
  ds:summary "Sets whether and how rows can be selected. Simple selection is page-scoped and dropped on navigation. Persistent selection persists across page changes, sorting, and filtering through a persistent selection panel.";
32
32
  ds:propertyType "choice";
33
- ds:constraints "Tables with grouping and selection must use persistent.";
34
33
  ds:optional "true";
34
+ ds:constraints "Tables with grouping and selection must use persistent.";
35
35
  ds:defaultValue "none"
36
36
  ], [
37
37
  a ds:Property;
38
38
  ds:name "unique-identifier-field";
39
39
  ds:summary "The column or field used to uniquely identify each row. Used by persistent selection to track items across pages and display them in the persistent selection panel.";
40
40
  ds:propertyType "text";
41
- ds:constraints "Required when selection-mode is not none.";
42
- ds:optional "true"
41
+ ds:optional "true";
42
+ ds:constraints "Required when selection-mode is not none."
43
43
  ], [
44
44
  a ds:Property;
45
45
  ds:name "max-selection-count";
46
46
  ds:summary "A hard limit on the number of items a user can select. Use when there are performance concerns related to the number of selected items or frontend pagination of the selection.";
47
47
  ds:propertyType "number";
48
- ds:constraints "Must be a positive integer.";
49
- ds:optional "true"
48
+ ds:optional "true";
49
+ ds:constraints "Must be a positive integer."
50
50
  ], [
51
51
  a ds:Property;
52
52
  ds:name "pagination-mode";
53
53
  ds:summary "Sets the pagination strategy. Offset provides random-access page navigation. Keyset supports forward and back navigation only.";
54
54
  ds:propertyType "choice";
55
- ds:constraints "Keyset pagination is incompatible with grouping and sorting.";
56
55
  ds:optional "true";
56
+ ds:constraints "Keyset pagination is incompatible with grouping and sorting.";
57
57
  ds:defaultValue "none"
58
58
  ], [
59
59
  a ds:Property;
60
60
  ds:name "page-size-options";
61
61
  ds:summary "The set of page sizes available in the page-size selector dropdown. The first value in the list is used as the default page size.";
62
62
  ds:propertyType "list of text";
63
- ds:constraints "Each value must be a positive integer.";
64
63
  ds:optional "true";
64
+ ds:constraints "Each value must be a positive integer.";
65
65
  ds:defaultValue "50, 75, 100"
66
66
  ], [
67
67
  a ds:Property;
@@ -75,45 +75,45 @@ ds:apps.pattern.datatable a ds:Pattern;
75
75
  ds:name "default-sort-column";
76
76
  ds:summary "The column the table is sorted by on initial load.";
77
77
  ds:propertyType "text";
78
- ds:constraints "Must reference a sortable column.";
79
- ds:optional "true"
78
+ ds:optional "true";
79
+ ds:constraints "Must reference a sortable column."
80
80
  ], [
81
81
  a ds:Property;
82
82
  ds:name "default-sort-direction";
83
83
  ds:summary "The sort direction applied on initial load.";
84
84
  ds:propertyType "choice";
85
- ds:constraints "Only applies when default-sort-column is set.";
86
85
  ds:optional "true";
86
+ ds:constraints "Only applies when default-sort-column is set.";
87
87
  ds:defaultValue "ascending"
88
88
  ], [
89
89
  a ds:Property;
90
90
  ds:name "grouping-columns";
91
91
  ds:summary "The set of columns that support grouping. Only columns with a small, known set of values are valid.";
92
92
  ds:propertyType "list of text";
93
- ds:constraints "Each value must reference an enumerated-value column.";
94
- ds:optional "true"
93
+ ds:optional "true";
94
+ ds:constraints "Each value must reference an enumerated-value column."
95
95
  ], [
96
96
  a ds:Property;
97
97
  ds:name "default-group-column";
98
- ds:summary "The column the table is grouped by on initial load. ";
98
+ ds:summary "The column the table is grouped by on initial load.";
99
99
  ds:propertyType "text";
100
- ds:constraints "Must reference a column in grouping-columns.";
101
- ds:optional "true"
100
+ ds:optional "true";
101
+ ds:constraints "Must reference a column in grouping-columns."
102
102
  ], [
103
103
  a ds:Property;
104
104
  ds:name "group-order";
105
105
  ds:summary "The order in which groups are displayed. Use a custom order when there is meaning associated with a specific sequence (for example, a status column ordered from start to finish).";
106
106
  ds:propertyType "choice";
107
- ds:constraints "When custom, a custom order must be provided.";
108
107
  ds:optional "true";
108
+ ds:constraints "When custom, a custom order must be provided.";
109
109
  ds:defaultValue "alphabetical"
110
110
  ], [
111
111
  a ds:Property;
112
112
  ds:name "groups-expanded-by-default";
113
113
  ds:summary "Whether groups are expanded or collapsed on initial load.";
114
114
  ds:propertyType "boolean";
115
- ds:constraints "Only applies when grouping is active.";
116
115
  ds:optional "true";
116
+ ds:constraints "Only applies when grouping is active.";
117
117
  ds:defaultValue "true"
118
118
  ], [
119
119
  a ds:Property;
@@ -133,24 +133,24 @@ ds:apps.pattern.datatable a ds:Pattern;
133
133
  ds:name "settings-menu";
134
134
  ds:summary "Shows the settings menu gear icon in the header row.";
135
135
  ds:propertyType "boolean";
136
- ds:constraints "Only set to false when all column customization features are disabled.";
137
136
  ds:optional "true";
137
+ ds:constraints "Only set to false when all column customization features are disabled.";
138
138
  ds:defaultValue "true"
139
139
  ], [
140
140
  a ds:Property;
141
141
  ds:name "auto-pin-first-column";
142
142
  ds:summary "Pins the first data column to the left edge of the table during horizontal scroll. The designer can disable this default behavior on a per-table basis.";
143
143
  ds:propertyType "boolean";
144
- ds:constraints "Only takes effect during horizontal scrolling. Subject to smart pinning constraints.";
145
144
  ds:optional "true";
145
+ ds:constraints "Only takes effect during horizontal scrolling. Subject to smart pinning constraints.";
146
146
  ds:defaultValue "true"
147
147
  ], [
148
148
  a ds:Property;
149
149
  ds:name "auto-pin-actions-column";
150
150
  ds:summary "Pins the actions column to the right edge of the table during horizontal scroll. The designer can disable this default behavior on a per-table basis.";
151
151
  ds:propertyType "boolean";
152
- ds:constraints "Only takes effect during horizontal scrolling. Subject to smart pinning constraints.";
153
152
  ds:optional "true";
153
+ ds:constraints "Only takes effect during horizontal scrolling. Subject to smart pinning constraints.";
154
154
  ds:defaultValue "true"
155
155
  ], [
156
156
  a ds:Property;
@@ -163,12 +163,12 @@ ds:apps.pattern.datatable a ds:Pattern;
163
163
  ds:name "bulk-actions";
164
164
  ds:summary "The set of bulk actions shown in the bulk action bar when rows are selected. Each action defines a label and an optional icon. Actions can be standalone buttons or grouped into expandable dropdown menus. A grouped action defines a top-level button with a dropdown caret and a list of sub-actions that appear in a popover menu above the action bar (for example, an \"Export\" group expanding into \"Export as CSV\", \"Export as JSON\", and \"Export as PDF\"). Grouping is also available as a design choice when fewer than 7 actions exist.";
165
165
  ds:propertyType "object";
166
- ds:constraints "Maximum of 7 top-level actions. The deselect button does not count toward this limit.";
167
- ds:optional "true"
166
+ ds:optional "true";
167
+ ds:constraints "Maximum of 7 top-level actions. The deselect button does not count toward this limit."
168
168
  ], [
169
169
  a ds:Property;
170
170
  ds:name "loading";
171
- ds:summary " When true, the table shows skeleton loading items in place of data and disables interactive header elements.";
171
+ ds:summary "When true, the table shows skeleton loading items in place of data and disables interactive header elements.";
172
172
  ds:propertyType "boolean";
173
173
  ds:optional "true";
174
174
  ds:defaultValue "false"
@@ -203,10 +203,9 @@ ds:apps.pattern.datatable a ds:Pattern;
203
203
  ds:propertyType "callback";
204
204
  ds:optional "true"
205
205
  ];
206
- ds:hasSubcomponent ds:apps.subcomponent.data_table-persistent_selection, ds:apps.subcomponent.data_table-group_header_row, ds:apps.subcomponent.data_table-body_cell, ds:apps.subcomponent.data_table-settings_menu, ds:apps.subcomponent.data_table-action_bar, ds:apps.subcomponent.data_table-header_cell, ds:apps.subcomponent.data_table-pagination_bar;
207
206
  ds:changeLog [
208
207
  a ds:ChangeLogEntry;
209
208
  ds:timestamp "2026-03-24T00:00:00.000+01:00";
210
- ds:change "initial commit";
211
209
  ds:changeType "change"
212
- ].
210
+ ];
211
+ ds:hasSubcomponent ds:apps.subcomponent.data_table-persistent_selection, ds:apps.subcomponent.data_table-group_header_row, ds:apps.subcomponent.data_table-body_cell, ds:apps.subcomponent.data_table-settings_menu, ds:apps.subcomponent.data_table-action_bar, ds:apps.subcomponent.data_table-header_cell, ds:apps.subcomponent.data_table-pagination_bar.
@@ -10,4 +10,4 @@ ds:apps.pattern.destructive_modal a ds:Pattern;
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
12
  ds:tier ds:apps;
13
- ds:documentationStage ds:tag.needstriage.
13
+ ds:documentationStage ds:tag.needscoredocumentation.
@@ -10,5 +10,5 @@ ds:apps.pattern.drawer a ds:Pattern;
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.needstriage;
14
14
  ds:hasSubcomponent ds:apps.subcomponent.drawer-content, ds:apps.subcomponent.drawer-footer, ds:apps.subcomponent.drawer-header.
@@ -16,9 +16,9 @@ ds:apps.pattern.notification_center a ds:Pattern;
16
16
  ds:name "datetimeFormat";
17
17
  ds:summary "Represents variation along the X axis, refer to variant_guidelines for usage details.";
18
18
  ds:propertyType "choice";
19
- ds:defaultValue "normal";
19
+ ds:optional "false";
20
20
  ds:constraints "[normal, inverted]";
21
- ds:optional "false"
21
+ ds:defaultValue "normal"
22
22
  ], [
23
23
  a ds:Property;
24
24
  ds:name "avatarType";
@@ -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.pattern.page_header a ds:Pattern;
6
+ ds:name "PageHeader";
7
+ ds:summary "", "The **Page Header** (l-main_header) establishes user orientation by clearly communicating where the user is within an application and provides immediate access to page-level context and actions.";
8
+ ds:anatomyDsl "";
9
+ ds:anatomyClassic "", "Figma preview pending\n\n\n\nThe header component is made up of three elements:\n\nTable 82";
10
+ ds:usage "", "**When to use**\n\n1. Should be used at the top of every page in an application.";
11
+ ds:guidelines "";
12
+ ds:tier ds:apps;
13
+ ds:documentationStage ds:tag.needstriage.