@canonical/design-system 0.47.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/data/apps/component/file_tree.ttl +1 -2
  2. package/data/apps/component/inline_panel.ttl +2 -3
  3. package/data/apps/component/log.ttl +0 -1
  4. package/data/apps/component/navigation.ttl +0 -1
  5. package/data/apps/component/notification.ttl +0 -1
  6. package/data/apps/component/side_navigation.ttl +678 -5
  7. package/data/apps/component/skeleton_loading.ttl +0 -1
  8. package/data/apps/component/status_bar.ttl +0 -1
  9. package/data/apps/component/toolbar.ttl +0 -1
  10. package/data/apps/group/notifications.ttl +0 -1
  11. package/data/apps/layout/application_layout.ttl +1 -2
  12. package/data/apps/layout/content_layout.ttl +1 -2
  13. package/data/apps/layout/empty_layout.ttl +0 -1
  14. package/data/apps/layout/list_page_layout.ttl +0 -1
  15. package/data/apps/layout/login_layout.ttl +0 -1
  16. package/data/apps/layout/settings_page_layout.ttl +0 -1
  17. package/data/apps/layout/side_panel_form_layout.ttl +0 -1
  18. package/data/apps/layout/view_layout.ttl +0 -1
  19. package/data/apps/pattern/action_bar.ttl +0 -1
  20. package/data/apps/pattern/code_diff.ttl +2 -2
  21. package/data/apps/pattern/data_views.ttl +7 -7
  22. package/data/apps/pattern/datatable.ttl +7 -7
  23. package/data/apps/pattern/destructive_modal.ttl +0 -1
  24. package/data/apps/pattern/drawer.ttl +0 -1
  25. package/data/apps/pattern/keyboard_shortcuts.ttl +0 -1
  26. package/data/apps/pattern/notification_center.ttl +4 -5
  27. package/data/apps/pattern/page_header.ttl +17 -10
  28. package/data/apps/pattern/side_panel.ttl +221 -45
  29. package/data/apps/pattern/sidepanel_stacked.ttl +0 -1
  30. package/data/apps/subcomponent/data_table-action_bar.ttl +1 -1
  31. package/data/apps/subcomponent/data_table-body_cell.ttl +19 -19
  32. package/data/apps/subcomponent/data_table-group_header_row.ttl +1 -1
  33. package/data/apps/subcomponent/data_table-header_cell.ttl +11 -11
  34. package/data/apps/subcomponent/data_table-pagination_bar.ttl +7 -7
  35. package/data/apps/subcomponent/data_table-persistent_selection.ttl +2 -2
  36. package/data/apps/subcomponent/data_table-settings_menu.ttl +3 -3
  37. package/data/apps/subcomponent/data_views-filters.ttl +0 -1
  38. package/data/apps/subcomponent/data_views-saved_views.ttl +0 -1
  39. package/data/apps/subcomponent/data_views-sort_panel.ttl +0 -1
  40. package/data/apps/subcomponent/drawer-content.ttl +0 -1
  41. package/data/apps/subcomponent/drawer-footer.ttl +0 -1
  42. package/data/apps/subcomponent/drawer-header.ttl +0 -1
  43. package/data/apps/subcomponent/file_tree-node.ttl +0 -1
  44. package/data/apps/subcomponent/file_tree-search_box.ttl +13 -0
  45. package/data/apps/subcomponent/file_tree-tree_view.ttl +13 -0
  46. package/data/apps/subcomponent/git_diff_viewer-code_diff_viewer.ttl +13 -0
  47. package/data/apps/subcomponent/git_diff_viewer-file_header.ttl +13 -0
  48. package/data/apps/subcomponent/side_navigation-content.ttl +339 -3
  49. package/data/apps/subcomponent/side_navigation-context_switcher-field.ttl +18 -0
  50. package/data/apps/subcomponent/side_navigation-context_switcher-item_content.ttl +18 -0
  51. package/data/apps/subcomponent/side_navigation-context_switcher.ttl +172 -2
  52. package/data/apps/subcomponent/side_navigation-footer.ttl +270 -0
  53. package/data/apps/subcomponent/side_navigation-header.ttl +262 -0
  54. package/data/apps/subcomponent/side_navigation-item.ttl +115 -2
  55. package/data/apps/subcomponent/side_navigation-item_group.ttl +224 -2
  56. package/data/apps/subcomponent/side_panel-footer.ttl +39 -7
  57. package/data/apps/subcomponent/side_panel-header.ttl +86 -110
  58. package/data/apps_anbox/pattern/side_menu.ttl +5 -6
  59. package/data/apps_debcrafters/component/deb_package_card.ttl +0 -1
  60. package/data/apps_debcrafters/component/example.ttl +0 -1
  61. package/data/apps_debcrafters/component/my_fancy_component.ttl +0 -1
  62. package/data/apps_juju/pattern/single_select_multi_layered.ttl +0 -1
  63. package/data/apps_landscape/component/checkbox_group.ttl +26 -26
  64. package/data/apps_landscape/component/code_editor.ttl +32 -32
  65. package/data/apps_landscape/component/cron_schedule.ttl +2 -2
  66. package/data/apps_landscape/component/expandable_radio_group.ttl +18 -18
  67. package/data/apps_landscape/component/expandable_truncation.ttl +11 -11
  68. package/data/apps_landscape/component/form_section.ttl +2 -2
  69. package/data/apps_landscape/component/gpg_key_field.ttl +21 -21
  70. package/data/apps_landscape/component/grouped_select.ttl +23 -23
  71. package/data/apps_landscape/component/loading_state.ttl +6 -6
  72. package/data/apps_landscape/component/managed_file_input.ttl +13 -13
  73. package/data/apps_landscape/component/multi_select_field.ttl +44 -44
  74. package/data/apps_landscape/component/password_constraints.ttl +2 -2
  75. package/data/apps_landscape/component/progress_bar.ttl +15 -15
  76. package/data/apps_landscape/component/read_only_field.ttl +10 -10
  77. package/data/apps_landscape/component/search_help_popup.ttl +10 -10
  78. package/data/apps_landscape/component/search_query_editor.ttl +29 -29
  79. package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
  80. package/data/apps_landscape/pattern/content_blocks.ttl +16 -16
  81. package/data/apps_landscape/pattern/dashboard_page_composition.ttl +26 -26
  82. package/data/apps_landscape/pattern/delivery_scheduling.ttl +2 -2
  83. package/data/apps_landscape/pattern/form_field_help.ttl +12 -12
  84. package/data/apps_landscape/pattern/header_search_controls.ttl +26 -26
  85. package/data/apps_landscape/pattern/ignorable_notification.ttl +10 -10
  86. package/data/apps_landscape/pattern/information_grid.ttl +13 -13
  87. package/data/apps_landscape/pattern/instance_association.ttl +5 -5
  88. package/data/apps_landscape/pattern/process_flow.ttl +9 -9
  89. package/data/apps_landscape/pattern/progressively_expandable_table.ttl +29 -29
  90. package/data/apps_landscape/pattern/recurring_schedule.ttl +4 -4
  91. package/data/apps_landscape/pattern/responsive_action_group.ttl +11 -11
  92. package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
  93. package/data/apps_landscape/pattern/responsive_table_filters.ttl +9 -9
  94. package/data/apps_landscape/pattern/side_panel_form_actions.ttl +30 -30
  95. package/data/apps_landscape/pattern/sortable_list.ttl +11 -11
  96. package/data/apps_landscape/pattern/table_filter.ttl +40 -40
  97. package/data/apps_landscape/pattern/table_filter_chips.ttl +44 -44
  98. package/data/apps_landscape/pattern/table_pagination.ttl +48 -48
  99. package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +18 -18
  100. package/data/apps_landscape/subcomponent/bold_substring.ttl +6 -6
  101. package/data/apps_landscape/subcomponent/inline_cell_input.ttl +7 -7
  102. package/data/apps_landscape/subcomponent/label_with_description.ttl +10 -10
  103. package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +9 -9
  104. package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
  105. package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +14 -14
  106. package/data/apps_launchpad/component/accordion.ttl +0 -1
  107. package/data/apps_launchpad/component/avatar.ttl +2 -2
  108. package/data/apps_launchpad/component/badge.ttl +2 -2
  109. package/data/apps_launchpad/component/button.ttl +2 -2
  110. package/data/apps_launchpad/component/combobox.ttl +2 -2
  111. package/data/apps_launchpad/component/description_list.ttl +1 -1
  112. package/data/apps_launchpad/component/drawer.ttl +0 -1
  113. package/data/apps_launchpad/component/link.ttl +0 -1
  114. package/data/apps_launchpad/component/markdown_editor.ttl +0 -1
  115. package/data/apps_launchpad/component/modal.ttl +6 -6
  116. package/data/apps_launchpad/component/pagination.ttl +0 -1
  117. package/data/apps_launchpad/component/popover.ttl +0 -1
  118. package/data/apps_launchpad/component/relative_timestamp.ttl +0 -1
  119. package/data/apps_launchpad/component/spinner.ttl +0 -1
  120. package/data/apps_launchpad/component/table.ttl +0 -1
  121. package/data/apps_launchpad/component/text_input.ttl +1 -1
  122. package/data/apps_launchpad/component/timestamp.ttl +0 -1
  123. package/data/apps_launchpad/component/tooltip.ttl +2 -2
  124. package/data/apps_launchpad/subcomponent/modal-content-body.ttl +0 -1
  125. package/data/apps_launchpad/subcomponent/modal-content-footer.ttl +0 -1
  126. package/data/apps_launchpad/subcomponent/modal-content-header-close_button.ttl +0 -1
  127. package/data/apps_launchpad/subcomponent/modal-content-header.ttl +0 -1
  128. package/data/apps_launchpad/subcomponent/modal-content.ttl +0 -1
  129. package/data/apps_launchpad/subcomponent/side_panel-content-body.ttl +0 -1
  130. package/data/apps_launchpad/subcomponent/side_panel-content-footer.ttl +0 -1
  131. package/data/apps_launchpad/subcomponent/side_panel-content-header-close_button.ttl +0 -1
  132. package/data/apps_launchpad/subcomponent/side_panel-content-header.ttl +0 -1
  133. package/data/apps_launchpad/subcomponent/side_panel-content.ttl +0 -1
  134. package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
  135. package/data/apps_lxd/component/output_field.ttl +7 -7
  136. package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +1 -1
  137. package/data/apps_lxd/view/network_topology.ttl +6 -6
  138. package/data/apps_portal/component/badge.ttl +0 -1
  139. package/data/apps_portal/component/credit_card_input.ttl +0 -1
  140. package/data/apps_portal/component/key_value_pair.ttl +0 -1
  141. package/data/apps_portal/pattern/purchase_summary.ttl +0 -1
  142. package/data/apps_portal/subcomponent/read_only_modal.ttl +0 -1
  143. package/data/apps_support/component/data_spotlight.ttl +0 -1
  144. package/data/apps_support/subcomponent/ai_prompt_input.ttl +0 -1
  145. package/data/apps_workplace/component/complex_multi_select.ttl +0 -1
  146. package/data/apps_workplace/component/label-highlight.ttl +2 -2
  147. package/data/apps_workplace/component/org_chart.ttl +0 -1
  148. package/data/apps_workplace/component/rule.ttl +0 -1
  149. package/data/apps_workplace/component/skip_link.ttl +0 -1
  150. package/data/apps_workplace/component/theme_switcher.ttl +0 -1
  151. package/data/apps_workplace/pattern/callout_numbers_card.ttl +1 -1
  152. package/data/apps_workplace/pattern/confirmation_modal.ttl +0 -1
  153. package/data/apps_workplace/pattern/org_event_card.ttl +0 -1
  154. package/data/apps_workplace/subcomponent/multi_select_input.ttl +0 -1
  155. package/data/documentation/layout/content_page_layout.ttl +0 -1
  156. package/data/documentation/layout/documentation_layout.ttl +0 -1
  157. package/data/documentation/layout/library_layout.ttl +0 -1
  158. package/data/documentation/layout/search_page_layout.ttl +0 -1
  159. package/data/documentation/pattern/library_side_navigation.ttl +1 -1
  160. package/data/global/component/accordion.ttl +16 -16
  161. package/data/global/component/announcement.ttl +2 -2
  162. package/data/global/component/avatar.ttl +0 -1
  163. package/data/global/component/badge.ttl +11 -11
  164. package/data/global/component/breadcrumbs.ttl +9 -9
  165. package/data/global/component/button.ttl +11 -11
  166. package/data/global/component/button_link.ttl +0 -1
  167. package/data/global/component/card.ttl +2 -2
  168. package/data/global/component/checkbox_field.ttl +0 -1
  169. package/data/global/component/chip.ttl +15 -15
  170. package/data/global/component/choices_field.ttl +0 -1
  171. package/data/global/component/code_snippet-content.ttl +0 -1
  172. package/data/global/component/code_snippet-header.ttl +0 -1
  173. package/data/global/component/code_snippet.ttl +2 -2
  174. package/data/global/component/color_field.ttl +0 -1
  175. package/data/global/component/combobox_field.ttl +0 -1
  176. package/data/global/component/contextual_menu.ttl +10 -9
  177. package/data/global/component/{tooltip_data.ttl → data_tooltip.ttl} +41 -55
  178. package/data/global/component/date_field.ttl +0 -1
  179. package/data/global/component/date_time_field.ttl +0 -1
  180. package/data/global/component/drag_and_drop_list.ttl +0 -1
  181. package/data/global/component/dropdown_button.ttl +3 -3
  182. package/data/global/component/file_upload_field.ttl +2 -2
  183. package/data/global/component/heading.ttl +1 -1
  184. package/data/global/component/hidden_field.ttl +0 -1
  185. package/data/global/component/icon.ttl +3 -3
  186. package/data/global/component/icon_button.ttl +119 -6
  187. package/data/global/component/icon_in_container.ttl +2 -3
  188. package/data/global/component/key_value_pair.ttl +0 -1
  189. package/data/global/component/keyboard_key.ttl +0 -1
  190. package/data/global/component/link.ttl +0 -1
  191. package/data/global/component/links.ttl +0 -1
  192. package/data/global/component/markdown_editor_field.ttl +0 -1
  193. package/data/global/component/mode_switcher.ttl +0 -1
  194. package/data/global/component/month_field.ttl +0 -1
  195. package/data/global/component/notification_inline.ttl +0 -1
  196. package/data/global/component/notification_toast.ttl +0 -1
  197. package/data/global/component/number_field.ttl +0 -1
  198. package/data/global/component/pagination.ttl +0 -1
  199. package/data/global/component/password_field.ttl +0 -1
  200. package/data/global/component/phone_field.ttl +0 -1
  201. package/data/global/component/popover.ttl +0 -1
  202. package/data/global/component/rating_field.ttl +0 -1
  203. package/data/global/component/relative_timestamp.ttl +0 -1
  204. package/data/global/component/rich_choices_field.ttl +0 -1
  205. package/data/global/component/rich_text_editor.ttl +0 -1
  206. package/data/global/component/rich_text_field.ttl +0 -1
  207. package/data/global/component/search_field.ttl +0 -1
  208. package/data/global/component/segmented_control.ttl +0 -1
  209. package/data/global/component/segmented_control_field.ttl +0 -1
  210. package/data/global/component/select_field.ttl +0 -1
  211. package/data/global/component/switch_field.ttl +0 -1
  212. package/data/global/component/tag.ttl +2 -2
  213. package/data/global/component/text_field.ttl +0 -1
  214. package/data/global/component/textarea_field.ttl +0 -1
  215. package/data/global/component/tile.ttl +9 -9
  216. package/data/global/component/time_field.ttl +0 -1
  217. package/data/global/component/timestamp.ttl +0 -1
  218. package/data/global/component/tooltip.ttl +31 -123
  219. package/data/global/component/{tooltip_wrapper.ttl → wrapper_tooltip.ttl} +45 -53
  220. package/data/global/group/buttons.ttl +0 -1
  221. package/data/global/group/cards.ttl +0 -1
  222. package/data/global/group/code_snippets.ttl +0 -1
  223. package/data/global/group/key_value_pairs.ttl +0 -1
  224. package/data/global/group/keyboard_keys.ttl +0 -1
  225. package/data/global/group/tiles.ttl +0 -1
  226. package/data/global/layout/error_layout.ttl +0 -1
  227. package/data/global/layout/identity_page_form.ttl +0 -1
  228. package/data/global/modifier/achromat.ttl +8 -0
  229. package/data/global/modifier/dark.ttl +1 -1
  230. package/data/global/modifier/deprecated.ttl +8 -0
  231. package/data/global/modifier/deutan.ttl +8 -0
  232. package/data/global/modifier/elevated.ttl +1 -1
  233. package/data/global/modifier/end_of_life.ttl +8 -0
  234. package/data/global/modifier/less.ttl +8 -0
  235. package/data/global/modifier/light.ttl +1 -1
  236. package/data/global/modifier/lts.ttl +8 -0
  237. package/data/global/modifier/modal.ttl +1 -1
  238. package/data/global/modifier/more.ttl +8 -0
  239. package/data/global/modifier/protan.ttl +8 -0
  240. package/data/global/modifier/standard.ttl +8 -0
  241. package/data/global/modifier/tritan.ttl +8 -0
  242. package/data/global/modifier/typical.ttl +8 -0
  243. package/data/global/modifier_family/{mode.ttl → color.ttl} +2 -2
  244. package/data/global/modifier_family/color_vision.ttl +9 -0
  245. package/data/global/modifier_family/contrast.ttl +9 -0
  246. package/data/global/modifier_family/elevation.ttl +9 -0
  247. package/data/global/modifier_family/support.ttl +9 -0
  248. package/data/global/modifier_family/surface.ttl +1 -1
  249. package/data/global/pattern/description_list.ttl +0 -1
  250. package/data/global/pattern/field.ttl +0 -1
  251. package/data/global/pattern/filter.ttl +0 -1
  252. package/data/global/pattern/form_login.ttl +0 -1
  253. package/data/global/pattern/info_table.ttl +0 -1
  254. package/data/global/pattern/modal.ttl +197 -141
  255. package/data/global/pattern/stepper.ttl +0 -1
  256. package/data/global/pattern/table_of_contents.ttl +0 -1
  257. package/data/global/pattern/timeline.ttl +22 -22
  258. package/data/global/pattern/top_navigation.ttl +0 -1
  259. package/data/global/subcomponent/accordion-item.ttl +1 -2
  260. package/data/global/subcomponent/breadcrumbs-item.ttl +0 -1
  261. package/data/global/subcomponent/card-content.ttl +1 -2
  262. package/data/global/subcomponent/card-footer.ttl +0 -1
  263. package/data/global/subcomponent/card-header.ttl +1 -2
  264. package/data/global/subcomponent/card-image.ttl +1 -2
  265. package/data/global/subcomponent/card-thumbnail.ttl +0 -1
  266. package/data/global/subcomponent/chart_legend.ttl +1 -2
  267. package/data/global/subcomponent/chart_legend_item.ttl +1 -2
  268. package/data/global/subcomponent/checkbox_input.ttl +0 -1
  269. package/data/global/subcomponent/color_input.ttl +0 -1
  270. package/data/global/subcomponent/combobox_input.ttl +0 -1
  271. package/data/global/subcomponent/contextual_menu-item.ttl +13 -0
  272. package/data/global/subcomponent/contextual_menu-list.ttl +13 -0
  273. package/data/global/subcomponent/contextual_menu-submenu.ttl +13 -0
  274. package/data/global/subcomponent/data_tooltip-chart_legend.ttl +133 -0
  275. package/data/global/subcomponent/date_input.ttl +0 -1
  276. package/data/global/subcomponent/date_time_input.ttl +0 -1
  277. package/data/global/subcomponent/field-description.ttl +1 -2
  278. package/data/global/subcomponent/field-error.ttl +1 -2
  279. package/data/global/subcomponent/field-label.ttl +1 -2
  280. package/data/global/subcomponent/file_upload_input.ttl +3 -3
  281. package/data/global/subcomponent/hidden_input.ttl +0 -1
  282. package/data/global/subcomponent/kvp_container.ttl +1 -2
  283. package/data/global/subcomponent/kvpitem_base.ttl +1 -2
  284. package/data/global/subcomponent/markdown_editor_input.ttl +0 -1
  285. package/data/global/subcomponent/modal-content.ttl +4 -13
  286. package/data/global/subcomponent/modal-footer.ttl +21 -29
  287. package/data/global/subcomponent/modal-header.ttl +53 -141
  288. package/data/global/subcomponent/month_input.ttl +0 -1
  289. package/data/global/subcomponent/number_input.ttl +0 -1
  290. package/data/global/subcomponent/password_input.ttl +0 -1
  291. package/data/global/subcomponent/phone_input.ttl +0 -1
  292. package/data/global/subcomponent/radio_input.ttl +0 -1
  293. package/data/global/subcomponent/range_input.ttl +0 -1
  294. package/data/global/subcomponent/rating_input.ttl +0 -1
  295. package/data/global/subcomponent/rich_text_input.ttl +0 -1
  296. package/data/global/subcomponent/search_input.ttl +8 -8
  297. package/data/global/subcomponent/segmented_control_input.ttl +0 -1
  298. package/data/global/subcomponent/select_input.ttl +0 -1
  299. package/data/global/subcomponent/spin_button.ttl +0 -1
  300. package/data/global/subcomponent/spinner.ttl +0 -1
  301. package/data/global/subcomponent/switch_input.ttl +0 -1
  302. package/data/global/subcomponent/table-cell.ttl +0 -1
  303. package/data/global/subcomponent/table-row.ttl +0 -1
  304. package/data/global/subcomponent/text_editor_input.ttl +0 -1
  305. package/data/global/subcomponent/text_input.ttl +0 -1
  306. package/data/global/subcomponent/textarea_input.ttl +1 -2
  307. package/data/global/subcomponent/tile-content.ttl +0 -1
  308. package/data/global/subcomponent/tile-header.ttl +5 -6
  309. package/data/global/subcomponent/time_input.ttl +0 -1
  310. package/data/global/subcomponent/timeline-content.ttl +1 -2
  311. package/data/global/subcomponent/timeline-event.ttl +1 -1
  312. package/data/global/variant/tooltip_dense.ttl +28 -3
  313. package/data/global/view/settings_view.ttl +0 -1
  314. package/data/global_dataviews/component/filter_button.ttl +3 -4
  315. package/data/global_dataviews/component/query_bar.ttl +1 -2
  316. package/data/global_dataviews/component/query_chip.ttl +1 -1
  317. package/data/global_dataviews/group/query_chips.ttl +1 -2
  318. package/data/global_dataviews/subcomponent/query_chip-entry.ttl +1 -2
  319. package/data/global_dataviews/subcomponent/query_chip-segment.ttl +1 -2
  320. package/data/global_dataviews/subcomponent/query_input.ttl +1 -2
  321. package/data/sites/component/quote.ttl +0 -1
  322. package/data/sites/component/rule.ttl +0 -1
  323. package/data/sites/component/section.ttl +0 -1
  324. package/data/sites/component/store_card.ttl +7 -7
  325. package/data/sites/group/blog_cards.ttl +0 -1
  326. package/data/sites/group/xblog_elements.ttl +0 -1
  327. package/data/sites/layout/blog_page_layout.ttl +0 -1
  328. package/data/sites/layout/case_study_layout.ttl +0 -1
  329. package/data/sites/layout/site_layout.ttl +0 -1
  330. package/data/sites/pattern/hero-github.ttl +0 -1
  331. package/data/sites/pattern/hero.ttl +1 -2
  332. package/data/sites/pattern/info_table.ttl +0 -1
  333. package/data/sites/pattern/pricing_section.ttl +0 -1
  334. package/data/sites/pattern/pricing_table.ttl +0 -1
  335. package/data/sites/pattern/read_more_section.ttl +0 -1
  336. package/data/sites/pattern/skip_link.ttl +0 -1
  337. package/data/sites_webcomponentsprototype/component/blog_cards.ttl +0 -1
  338. package/data/sites_webcomponentsprototype/component/ctablock.ttl +0 -1
  339. package/data/sites_webcomponentsprototype/component/list.ttl +0 -1
  340. package/data/sites_webcomponentsprototype/component/tabs.ttl +0 -1
  341. package/data/sites_webcomponentsprototype/layout/site_layout.ttl +0 -1
  342. package/data/sites_webcomponentsprototype/pattern/basic_section.ttl +0 -1
  343. package/data/sites_webcomponentsprototype/pattern/blog_section.ttl +0 -1
  344. package/data/sites_webcomponentsprototype/pattern/ctasection.ttl +0 -1
  345. package/data/sites_webcomponentsprototype/pattern/equal_heights.ttl +0 -1
  346. package/data/sites_webcomponentsprototype/pattern/hero.ttl +0 -1
  347. package/data/sites_webcomponentsprototype/pattern/logo_section.ttl +0 -1
  348. package/data/sites_webcomponentsprototype/pattern/quote_wrapper.ttl +0 -1
  349. package/data/sites_webcomponentsprototype/pattern/tiered_list.ttl +0 -1
  350. package/package.json +6 -6
  351. package/data/apps/subcomponent/side_panel-content.ttl +0 -14
  352. package/skills/map-journeys/SKILL.md +0 -395
  353. package/skills/map-journeys/journey-graph.example.html +0 -298
  354. package/skills/model-domains/SKILL.md +0 -502
@@ -1,502 +0,0 @@
1
- ---
2
- name: model-domains
3
- description: Model an application's domains, paths, views and layouts from its personas, jobs and journeys, comparing several domain designs; also runs as a guided tutorial on a worked example
4
- ---
5
-
6
- # Model Domains
7
-
8
- Decide how an application is organised: its domains, its paths, its views and the
9
- layout of each view. The input is the output of `map-journeys`: personas, jobs and
10
- journeys. This skill adds the views, and notes on each job the views where it gets
11
- done.
12
-
13
- **Nothing skips the chain: domain, then path, then view, then layout. And the domains
14
- are never one guess: several designs are laid out, and the journeys choose between
15
- them.** That is what following domain-driven design strictly means here.
16
-
17
- - **A domain** is a part of the application people name as one: Apps, Settings,
18
- Onboarding. It is named with a word people say. Not every domain holds a kind of
19
- thing.
20
- - **A path** is an address: `/apps/lxd-ui`. A `:name` in a path stands for one object,
21
- one thing you can point at.
22
- - **A view** answers one question at one path, for at least one job.
23
- - **A layout** is the view's shape. It comes from the design-system graph.
24
-
25
- How a URL is spelled, and which layout a view takes, are defaults a person may change.
26
- The chain is not.
27
-
28
- In a fresh session, orient first:
29
-
30
- ```bash
31
- pragma capabilities
32
- ```
33
-
34
- ## Working mode: assistant to a design authority
35
-
36
- Most of the time this skill runs with an operator: a designer, an engineer or a product
37
- lead who knows the application. They are the authority. You are the assistant whose job
38
- is to make them successful:
39
-
40
- - Say which step comes next and why.
41
- - Do the legwork yourself. Draft the designs, walk the journeys, compute the scores,
42
- look the layouts up.
43
- - Bring each decision as a recommendation plus a question, never as a fait accompli.
44
- Ask about one concrete view or path at a time, and say what each option would mean.
45
- A question about an abstract rule gets no useful answer.
46
-
47
- Full autonomy is the exception. Run the whole flow alone only when explicitly asked to.
48
- Then no gate can be passed: run to the end, record every gate decision as a guess,
49
- leave every row `not reviewed`, and list each judgment call in the final report.
50
-
51
- Decision gates — pause at each and resolve it WITH the operator:
52
-
53
- 1. Create or update, whenever the signs leave any doubt.
54
- 2. Which domain design is taken.
55
- 3. What one of each `:name` is.
56
- 4. Each row of the views table.
57
- 5. Each new layout.
58
-
59
- ## When to Use
60
-
61
- - Personas, jobs and journeys exist, and the application's structure has to be decided
62
- - An existing application's routes and pages need checking against its journeys
63
- - The personas, jobs or journeys changed, and the views built on them need updating
64
- - An earlier views table needs updating after a new domain or a cut view
65
-
66
- ## When NOT to Use
67
-
68
- - No personas, jobs or journeys yet — use `map-journeys` first
69
- - Specifying a component or a pattern a view needs — use `specify-component` or
70
- `specify-pattern`
71
- - Drawing wireframes or building pages — that comes after the views table is approved
72
-
73
- ## Opening move: ask, or offer the tutorial
74
-
75
- Unless the first message already names the work, ask for the starting point as a
76
- suggestion carrying an example, not as a form to fill in:
77
-
78
- > To get started, point me at the personas, jobs and journeys for the application: a
79
- > file in the repository, or a link to the page. If they do not exist yet, we start
80
- > with `map-journeys`.
81
-
82
- If the message already carries the starting point, say what you took it to be, and go.
83
-
84
- Offer the tutorial in the same breath:
85
-
86
- > Or if you'd rather see the flow first, I can run it as a tutorial on a worked
87
- > example: a tracker that measures design-system adoption across four apps.
88
-
89
- Tutorial mode runs the same steps on the worked example at the end of this skill, with
90
- the reasoning at each gate spelled out. It publishes and writes nothing unless the
91
- operator asks to keep what was built.
92
-
93
- ## Read the situation: new or existing, create or update
94
-
95
- Work out two things from context before step 1, and say what you took them to be in
96
- one line.
97
-
98
- - **New or existing application.** Existing when there is application code where you
99
- are running, or the operator names an application or a repository.
100
- - **Create or update.** Update when the earlier output already holds views. That
101
- includes the case where only the journeys changed: the views were built on them.
102
-
103
- **When in doubt about create or update, ask in one plain line with two options. Never
104
- guess, and never change earlier output on a guess.**
105
-
106
- > `journeys.json` already has views. Do I update them, or lay out the domains afresh?
107
-
108
- | | Create | Update |
109
- |---|---|---|
110
- | **New application** | Lay out several designs from the jobs alone. | Change only what the request touches. |
111
- | **Existing application** | Today's routes are the first design in the comparison. | Also report where today's routes and the earlier views have drifted apart. |
112
-
113
- ## Every step is narrated: outcome, path, conclusion
114
-
115
- Open every step by telling the operator what it is FOR and how you will get there.
116
- Close it with what it established and what that means for the next step. One sentence
117
- each is enough. The operator can only steer a step they saw coming.
118
-
119
- Do:
120
-
121
- > **Step 4 — score and choose.** The outcome is one domain design, chosen with the
122
- > numbers in front of you. I walk each journey through each design, job by job, and
123
- > price every move.
124
- >
125
- > …
126
- >
127
- > So: two domains are cheaper for the steward, 2.0 against 2.75 per job. You still took
128
- > three, because the facts about a run had no home otherwise. Step 5 writes the paths.
129
-
130
- Don't:
131
-
132
- > Step 4 — Scoring
133
- >
134
- > Design B: 2.0. Design C: 2.75. Going with C.
135
-
136
- ## Asked about the skill: methodology and outcomes first
137
-
138
- Asked what this skill does, give the method and the outcome before the list of steps:
139
-
140
- > It decides how an application is organised, and never in one guess. It lays out
141
- > several domain designs, walks every persona's journey through each, and prices what
142
- > each move costs them. You pick one. You end holding a views table in which every view
143
- > has a job, a path and a layout.
144
-
145
- ## The output
146
-
147
- This skill adds to the output `map-journeys` wrote, in the same form and the same
148
- place. It never starts a second document. In a decision record, the designs are the
149
- alternatives and the operator's choice is the decision.
150
-
151
- With the recommended form, `journeys.json` gains four lists, and each job gains its
152
- views. The page embeds a copy of the data, so refill its data block from the file, and
153
- add a views table drawn from it.
154
-
155
- ```json
156
- {
157
- "words": [{ "word": "", "meaning": "" }],
158
- "designs": [{ "name": "", "paths": [""], "perJob": 0, "setAside": "why, if so",
159
- "chosen": true }],
160
- "domains": [{ "name": "", "holds": "one sentence" }],
161
- "views": [{ "id": "", "domain": "", "name": "", "path": "", "question": "",
162
- "decision": "", "layout": "", "status": "" }],
163
- "jobs": [{ "id": "J1", "views": [""] }],
164
- "scores": { "date": "", "overall": 0, "journeys": [{ "question": "", "perJob": 0 }] }
165
- }
166
- ```
167
-
168
- The link between a job and its views is stored once, on the job. A view's jobs, and
169
- the views of a journey, are worked out from it. The designs and the scores are recorded
170
- so that a later update can tell what was compared, and whether the journeys or the
171
- views have moved since.
172
-
173
- Where the output is committed, that repository's rules and the `git` standards apply
174
- (`pragma standard categories` lists the current set). A new layout is a design-system
175
- block, so its spec follows the `turtle` and `ui-blocks` standards.
176
-
177
- ## The seven steps
178
-
179
- ### 1. Start from the journeys
180
-
181
- Read the personas, jobs and journeys. If any is missing, stop and go to `map-journeys`.
182
- Do not invent personas or jobs here.
183
-
184
- Ask two things early, because both shape the views:
185
-
186
- - **A product to learn from.** "Is there a product whose way of showing this you
187
- like?"
188
- - **Where state lives.** "Is there a backend, or does this run in the browser alone?"
189
- Without a backend, nothing saved can be shared, and a filter in the address is the
190
- only shareable form.
191
-
192
- Outcome gate: **the three lists are in hand, and the two answers are recorded.**
193
-
194
- ### 2. The application's words
195
-
196
- Collect the nouns from the job stories and define each in one line, in the operator's
197
- words. One word has one meaning, and the jobs, the paths and the views all use it that
198
- way.
199
-
200
- Outcome gate: **a short word list, each word defined once.**
201
-
202
- ### 3. Several domain designs
203
-
204
- Lay out at least two designs. A design is a list of domains and the tree of paths
205
- under them:
206
-
207
- ```
208
- /apps all apps
209
- /apps/:app one app
210
- /components all components
211
- /components/:component one component across apps
212
- ```
213
-
214
- Designs differ in which parts are domains of their own, and which sit under another.
215
- "Is a component its own domain, or does it live under each app?" gives two designs.
216
-
217
- Not every domain holds a kind of thing. Many do: Instances holds instances. Some are
218
- one of a kind, such as settings or a colophon. Some are a way through several kinds,
219
- such as onboarding. Some are a mix. There is no need to sort them into classes. Let
220
- each be what people call it.
221
-
222
- Give each domain one sentence saying what belongs in it (`holds`). If the sentence
223
- needs "and" to join unrelated things, it may be two domains.
224
-
225
- **For an existing application, today's routes are the first design**, written as they
226
- are and scored like any other.
227
-
228
- **Only real domains make a design.** A domain names things. Some tempting cuts do not,
229
- and each becomes something else:
230
-
231
- | Cut by | Why it is not a domain | What it becomes |
232
- |---|---|---|
233
- | Persona | A view shared by two personas has two homes. | Nothing in the structure. |
234
- | Question | One object is spread over several domains. | The question each view answers. |
235
- | Measure | Every list exists once per measure. | Columns. |
236
- | Zoom | Some things have no home. | Path depth. |
237
- | Time | Every view exists twice. | A sub-path such as `/history`. |
238
-
239
- So a domain is never named after a persona, a question, a layout or a menu heading.
240
- Views are shared freely: one view can serve several jobs and several personas.
241
-
242
- For each design, write the shortest way to do each job, as the views the persona
243
- opens. It is usually one view, sometimes two. A design that cannot serve a job is set
244
- aside before scoring, and you say which job it failed.
245
-
246
- Outcome gate: **at least two designs, each a path tree with a sentence per domain and
247
- the shortest way to do every job.**
248
-
249
- ### 4. Score and choose
250
-
251
- Walk every journey through every design, job by job, and price each move by what the
252
- persona keeps:
253
-
254
- | Cost | The move keeps | Example |
255
- |---|---|---|
256
- | 1 | the view | Filtering the instances list |
257
- | 2 | the object, in another view | One instance, then that instance's history |
258
- | 3 | the domain, with another object | The instances list, then one instance |
259
- | 4 | nothing: another domain, or outside the application | One instance, then a network |
260
-
261
- A journey's score is the total cost of its moves divided by its number of jobs. A
262
- design's score is the total over all journeys divided by all their jobs. Lower is
263
- better. Dividing by jobs matters: the jobs are the same in every design, so extra
264
- views for a job make a score worse, never better.
265
-
266
- Price by meaning, not by how a path is spelled. Use judgment, and say how you priced
267
- anything unusual. A few things that come up:
268
-
269
- - A view opened twice in one job is priced once. A picker in a dialog is not a view.
270
- - A list filtered to one object keeps that object, wherever the list lives.
271
- - A leading part every domain shares, such as a project, is a scope and not a domain.
272
- - One large view does not score 1 everywhere: a view answers one question, so a view
273
- that needs two is priced as two.
274
-
275
- Show the designs side by side: the score per journey and overall, the number of views,
276
- and the moves that cost 4. Give a recommendation, a fallback, and what would change
277
- your mind.
278
-
279
- The score is a guide, not a verdict. It compares designs on the same journeys, and it
280
- mostly reflects the order of the jobs, so different designs can tie and a merge of two
281
- domains can look like a win. Say so when you see it. The operator chooses, sometimes
282
- for a reason the score cannot see, and that reason is written down. A journey that
283
- stays costly in every design goes back to `map-journeys` as a question.
284
-
285
- Outcome gate: **the operator picks one design, with the comparison in front of them,
286
- and its scores are recorded with the date.**
287
-
288
- ### 5. Paths
289
-
290
- Write the full path tree of the chosen design.
291
-
292
- **Before a path gets a `:name`, say in one sentence what one of them is.** "A run is
293
- one app analyzed on one night" gives `/runs/:app/:date`. If nobody can say what one is,
294
- it is a filter, and a filter lives in the address:
295
- `/apps/:app/usages?folder=src/pages`.
296
-
297
- **A need with no home is a missing domain.** When a job fits no domain, consider a new
298
- domain before adding more to an existing view. A new domain brings a job, which goes
299
- back to `map-journeys`.
300
-
301
- Defaults for spelling a path:
302
-
303
- - A domain is the first segment, after any scope that all domains share.
304
- - Depth is zoom: all of them, then one, then something about that one.
305
- - Time is a sub-path of the object it describes.
306
- - Sibling views of one object are tabs, each with its own path.
307
- - A key can have two parts.
308
-
309
- An existing application may spell paths another way, such as a prefix before the
310
- domain. Keep its spelling.
311
-
312
- Only when the application uses the Pragma router: `:name` is the whole grammar, a
313
- trailing `*` matches the rest of the path without capturing it, and routes are
314
- navigated by name, so every path needs a stable route name. With any other router,
315
- keep what the application already does.
316
-
317
- Outcome gate: **a full path tree; every `:name` has its one-sentence definition.**
318
-
319
- ### 6. Views
320
-
321
- Write the views table before any wireframe, and review it with the operator row by
322
- row. Its columns are the fields of a view in the output, plus the jobs done there.
323
-
324
- - **Question** is the one question the view answers. A view that needs two is two
325
- views.
326
- - **Decision** is what the persona decides once it is answered.
327
- - **Status** is `not reviewed`, `approved`, `changed`, `new` or `deferred`. Every row
328
- starts as `not reviewed`.
329
-
330
- Rules for a row:
331
-
332
- - **Every view has a job.** The exception is a view or a part the operator keeps for a
333
- stated reason, such as exercising a design-system component. The reason goes in the
334
- row.
335
- - **Each fact goes on the view of the thing it describes.** The commit a run analyzed
336
- belongs on the run's view, not the app's.
337
- - **One view of a list, reused.** When several views would list the same things, make
338
- one view with filters in the address, and show it pre-filtered elsewhere.
339
- - **Detail is another path, not more on the page.**
340
-
341
- Outcome gate: **the operator has ruled on every row; every job is done in a view,
342
- outside the application, or deferred.**
343
-
344
- ### 7. Layouts
345
-
346
- Each view takes one layout. Look the layouts up live, from the application's folder:
347
-
348
- ```bash
349
- pragma graph query "SELECT ?l ?name WHERE { ?l a ds:Layout ; ds:name ?name }"
350
- pragma block lookup --tier all <name> # one layout in full, with its guidance
351
- pragma ontology lookup ds --class Layout # what a layout declares
352
- ```
353
-
354
- The query lists every layout in every tier. If it answers `STORE_UNAVAILABLE`, run
355
- `pragma sources update` in that folder first. A lookup that prints only a tier is not
356
- an error: that layout is a name with no guidance yet.
357
-
358
- > The covered set is whatever the graph answers today. Query it live — never copy its
359
- > output into documentation, PRs, or this skill.
360
-
361
- Choose in this order:
362
-
363
- 1. A layout whose guidance fits the view's question.
364
- 2. A layout that fits by name, said to be unproven.
365
- 3. A new layout, only when none fits. It is labelled new.
366
-
367
- A layout may come from another product's tier. Label it "borrowed from `<tier>`" and
368
- list it as a candidate to move to a shared tier.
369
-
370
- A new layout gets a short proposal: its purpose in one sentence; the parts of the page
371
- it has, and for each optional part the job that brings it in; its grid; the category of
372
- content it organises (`ds:domain`, in the graph's own words: read the values existing
373
- layouts carry before choosing one); and its tier. Its spec is then written with
374
- `specify-component`, as a layout, and its anatomy with `anatomy-author`. Never write
375
- into the design system's `data/`.
376
-
377
- This skill stops at the layout. It draws no wireframes.
378
-
379
- Outcome gate: **every view has a layout; the operator has seen every new layout's
380
- proposal.**
381
-
382
- Then read every outcome gate again against the finished lists, check that every view
383
- sits in exactly one domain, and write the output. Only in an application made with
384
- `pragma create application`: each domain becomes a domain folder, and each approved
385
- view is later added with `pragma create page <domain>/<name>`.
386
-
387
- ## Running as an update
388
-
389
- The domain model rests on the journeys. When they change, it changes with them.
390
-
391
- **Start every update by finding what moved.** Compute the scores again and compare them
392
- with the recorded ones. Then compare the lists: a job with no view that is neither
393
- deferred nor done outside the application, a view whose job is gone or deferred, a
394
- persona or a journey the scores do not cover. Tell the operator what you found before
395
- changing anything.
396
-
397
- | What changed in the journeys | What to do |
398
- |---|---|
399
- | A job was added | Find the view where it gets done (step 6). If no domain holds it, it is a need with no home (step 5). Score again. |
400
- | A job was reworded | Check that its views still answer it, and that the words still match (steps 2 and 6). |
401
- | A job was deferred or removed | Look at each of its views. A view left with no job is marked deferred, unless it has a stated reason to stay. |
402
- | A journey's order changed, or a job joined or left a journey | Score again (step 4). Nothing else moves unless the result does. |
403
- | A persona or a journey was added | Score again with it. Check that every one of its jobs gets done somewhere. |
404
- | A persona or a journey was removed | Score again without it. Check each view that only its jobs used. |
405
-
406
- **Patch, or reopen the design?** Most changes are a patch: the domains stand, and only
407
- paths, views or layouts move (steps 5 to 7). Reopen the comparison of designs (steps 3
408
- and 4) when:
409
-
410
- - a job fits no existing domain,
411
- - a journey gains a move that costs 4, or the overall score gets clearly worse,
412
- - another design would now score better than the one in use,
413
- - or the operator asks.
414
-
415
- Never reopen the design silently. Say why, show the old and new scores, and ask.
416
-
417
- Changes that start on this side follow the same care:
418
-
419
- - A change to a view is traced back to its jobs first. Say which jobs it touches before
420
- changing the row.
421
- - Nothing is removed silently. A view that is real but not for now is marked deferred.
422
- - A changed or new row is marked, with the date of the round.
423
- - A word that changes meaning is changed everywhere it is used, and `map-journeys`
424
- rewords any story that named it.
425
- - A layout proposed as new is checked against the graph again. Once the graph has it,
426
- the row loses its "new" label.
427
-
428
- ## Response format
429
-
430
- ```markdown
431
- Situation: <new | existing> application, <create | update>
432
- Output: <form> at <place>
433
-
434
- - [ ] 1. Journeys read: <n> personas, <n> jobs, <n> journeys
435
- - [ ] 2. Words: <n> defined
436
- - [ ] 3. Designs: <n> compared (set aside: … because …)
437
- - [ ] 4. Chosen: <design>, score <x> per job (fallback: …; would change if: …)
438
- - [ ] 5. Paths: <n>; every :name defined
439
- - [ ] 6. Views: <n> approved, <n> not reviewed, <n> deferred
440
- - [ ] 7. Layouts: <n> from the graph (<n> unproven, <n> borrowed), <n> new (proposals: …)
441
-
442
- On an update, what moved: … (patched | design reopened, because …)
443
- Jobs handed back to map-journeys: …
444
- Judgment calls made without the operator: …
445
- ```
446
-
447
- ## Worked example: the adoption tracker
448
-
449
- This continues the example of `map-journeys`. Its personas, jobs and journeys are the
450
- data block of `journey-graph.example.html` in that skill's folder.
451
-
452
- **Three designs.**
453
-
454
- - **A: Apps only.** Components sit under each app.
455
- - **B: Apps and Components.** Facts about the last run sit on the app's page.
456
- - **C: Apps, Components and Runs.**
457
-
458
- A is set aside before scoring. "See which components are in use" needs one list across
459
- all apps, and A can only answer it one app at a time.
460
-
461
- **The score.** The other journeys cost the same in B and C, so the steward's journey
462
- decides:
463
-
464
- | Job | B | C |
465
- |---|---|---|
466
- | Check the nightly run | free: the apps list shows each app's last run | free: the runs list |
467
- | See where every app stands | 1: the view is kept | 4: Runs to Apps |
468
- | See which components are in use | 4: Apps to Components | 4: Apps to Components |
469
- | Trace a number to its evidence | 3: the domain is kept, one component | 3: the same |
470
- | **Per job** | **2.0** | **2.75** |
471
-
472
- **The choice.** B is cheaper, and the operator took C: the commit, the scope and the
473
- errors of a run describe a run, not an app, and in B they had no home. The score still
474
- paid off. C kept B's cheap move, and its apps list shows each app's last run.
475
-
476
- **What else the tutorial should bring out:**
477
-
478
- - **Step 5.** An earlier draft had `/apps/:app/slices/:slice`. Nobody could say what
479
- one slice was, so slices became a filter on folders.
480
- - **Step 6.** One usages list serves three places: its own path under an app, and
481
- pre-filtered on a component's view and on a folder.
482
- - **Step 7.** Two views found no layout in the graph and became proposals: a report
483
- (one measure over time) and an explorer (a structure to move through).
484
- - **Wireframes came too early.** In the real project, detailed frames were drawn before
485
- any view was agreed, and had to be redone.
486
-
487
- ## Related skills
488
-
489
- - `map-journeys` — what comes first; new jobs found here go back to it
490
- - `specify-component` and `anatomy-author` — to specify a new layout proposed in step 7
491
- - `specify-pattern` — for a recurring arrangement inside a view
492
-
493
- ## Support
494
-
495
- If this skill leads somewhere broken — a command that errors, guidance that
496
- contradicts what the live system answers, a gap the flow cannot cover — you are not
497
- stuck:
498
-
499
- - Raise an issue in the pragma-core repo: https://github.com/canonical/pragma-core/issues —
500
- include the skill name, what was run, and expected vs. actual outcome.
501
- - Or contact the design-system team owners directly through your organization's
502
- professional messaging channels for assistance.