@canonical/design-system 0.47.0 → 0.49.0-experimental.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 (423) hide show
  1. package/README.md +3 -3
  2. package/data/apps/component/file_tree.ttl +1 -2
  3. package/data/apps/component/inline_panel.ttl +2 -3
  4. package/data/apps/component/log.ttl +0 -1
  5. package/data/apps/component/navigation.ttl +0 -1
  6. package/data/apps/component/notification.ttl +0 -1
  7. package/data/apps/component/side_navigation.ttl +678 -5
  8. package/data/apps/component/skeleton_loading.ttl +0 -1
  9. package/data/apps/component/status_bar.ttl +0 -1
  10. package/data/apps/component/toolbar.ttl +0 -1
  11. package/data/apps/group/notifications.ttl +0 -1
  12. package/data/apps/layout/application_layout.ttl +1 -2
  13. package/data/apps/layout/content_layout.ttl +1 -2
  14. package/data/apps/layout/empty_layout.ttl +0 -1
  15. package/data/apps/layout/list_page_layout.ttl +0 -1
  16. package/data/apps/layout/login_layout.ttl +0 -1
  17. package/data/apps/layout/settings_page_layout.ttl +0 -1
  18. package/data/apps/layout/side_panel_form_layout.ttl +0 -1
  19. package/data/apps/layout/view_layout.ttl +0 -1
  20. package/data/apps/pattern/action_bar.ttl +0 -1
  21. package/data/apps/pattern/code_diff.ttl +2 -2
  22. package/data/apps/pattern/data_views.ttl +7 -7
  23. package/data/apps/pattern/datatable.ttl +7 -7
  24. package/data/apps/pattern/destructive_modal.ttl +0 -1
  25. package/data/apps/pattern/drawer.ttl +0 -1
  26. package/data/apps/pattern/keyboard_shortcuts.ttl +0 -1
  27. package/data/apps/pattern/notification_center.ttl +4 -5
  28. package/data/apps/pattern/page_header.ttl +17 -10
  29. package/data/apps/pattern/side_panel.ttl +219 -43
  30. package/data/apps/pattern/sidepanel_stacked.ttl +0 -1
  31. package/data/apps/subcomponent/data_table-action_bar.ttl +1 -1
  32. package/data/apps/subcomponent/data_table-body_cell.ttl +19 -19
  33. package/data/apps/subcomponent/data_table-group_header_row.ttl +1 -1
  34. package/data/apps/subcomponent/data_table-header_cell.ttl +11 -11
  35. package/data/apps/subcomponent/data_table-pagination_bar.ttl +7 -7
  36. package/data/apps/subcomponent/data_table-persistent_selection.ttl +2 -2
  37. package/data/apps/subcomponent/data_table-settings_menu.ttl +3 -3
  38. package/data/apps/subcomponent/data_views-filters.ttl +0 -1
  39. package/data/apps/subcomponent/data_views-saved_views.ttl +0 -1
  40. package/data/apps/subcomponent/data_views-sort_panel.ttl +0 -1
  41. package/data/apps/subcomponent/drawer-content.ttl +0 -1
  42. package/data/apps/subcomponent/drawer-footer.ttl +0 -1
  43. package/data/apps/subcomponent/drawer-header.ttl +0 -1
  44. package/data/apps/subcomponent/file_tree-node.ttl +0 -1
  45. package/data/apps/subcomponent/file_tree-search_box.ttl +13 -0
  46. package/data/apps/subcomponent/file_tree-tree_view.ttl +13 -0
  47. package/data/apps/subcomponent/git_diff_viewer-code_diff_viewer.ttl +13 -0
  48. package/data/apps/subcomponent/git_diff_viewer-file_header.ttl +13 -0
  49. package/data/apps/subcomponent/side_navigation-content.ttl +339 -3
  50. package/data/apps/subcomponent/side_navigation-context_switcher-field.ttl +18 -0
  51. package/data/apps/subcomponent/side_navigation-context_switcher-item_content.ttl +18 -0
  52. package/data/apps/subcomponent/side_navigation-context_switcher.ttl +172 -2
  53. package/data/apps/subcomponent/side_navigation-footer.ttl +270 -0
  54. package/data/apps/subcomponent/side_navigation-header.ttl +262 -0
  55. package/data/apps/subcomponent/side_navigation-item.ttl +115 -2
  56. package/data/apps/subcomponent/side_navigation-item_group.ttl +224 -2
  57. package/data/apps/subcomponent/side_navigation-primary_navigation.ttl +638 -0
  58. package/data/apps/subcomponent/side_navigation-secondary_navigation.ttl +646 -0
  59. package/data/apps/subcomponent/side_panel-content.ttl +45 -5
  60. package/data/apps/subcomponent/side_panel-footer.ttl +40 -8
  61. package/data/apps/subcomponent/side_panel-header.ttl +87 -111
  62. package/data/apps.ttl +2 -1
  63. package/data/apps_anbox/pattern/side_menu.ttl +5 -6
  64. package/data/apps_anbox.ttl +2 -1
  65. package/data/apps_debcrafters/component/deb_package_card.ttl +0 -1
  66. package/data/apps_debcrafters/component/example.ttl +0 -1
  67. package/data/apps_debcrafters/component/my_fancy_component.ttl +0 -1
  68. package/data/apps_debcrafters.ttl +2 -1
  69. package/data/apps_juju/pattern/single_select_multi_layered.ttl +0 -1
  70. package/data/apps_juju.ttl +2 -1
  71. package/data/apps_landscape/component/checkbox_group.ttl +26 -26
  72. package/data/apps_landscape/component/code_editor.ttl +32 -32
  73. package/data/apps_landscape/component/cron_schedule.ttl +2 -2
  74. package/data/apps_landscape/component/expandable_radio_group.ttl +18 -18
  75. package/data/apps_landscape/component/expandable_truncation.ttl +11 -11
  76. package/data/apps_landscape/component/form_section.ttl +2 -2
  77. package/data/apps_landscape/component/gpg_key_field.ttl +21 -21
  78. package/data/apps_landscape/component/grouped_select.ttl +23 -23
  79. package/data/apps_landscape/component/loading_state.ttl +6 -6
  80. package/data/apps_landscape/component/managed_file_input.ttl +13 -13
  81. package/data/apps_landscape/component/multi_select_field.ttl +44 -44
  82. package/data/apps_landscape/component/password_constraints.ttl +2 -2
  83. package/data/apps_landscape/component/progress_bar.ttl +15 -15
  84. package/data/apps_landscape/component/read_only_field.ttl +10 -10
  85. package/data/apps_landscape/component/search_help_popup.ttl +10 -10
  86. package/data/apps_landscape/component/search_query_editor.ttl +29 -29
  87. package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
  88. package/data/apps_landscape/pattern/content_blocks.ttl +16 -16
  89. package/data/apps_landscape/pattern/dashboard_page_composition.ttl +26 -26
  90. package/data/apps_landscape/pattern/delivery_scheduling.ttl +2 -2
  91. package/data/apps_landscape/pattern/form_field_help.ttl +12 -12
  92. package/data/apps_landscape/pattern/header_search_controls.ttl +26 -26
  93. package/data/apps_landscape/pattern/ignorable_notification.ttl +10 -10
  94. package/data/apps_landscape/pattern/information_grid.ttl +13 -13
  95. package/data/apps_landscape/pattern/instance_association.ttl +5 -5
  96. package/data/apps_landscape/pattern/process_flow.ttl +9 -9
  97. package/data/apps_landscape/pattern/progressively_expandable_table.ttl +29 -29
  98. package/data/apps_landscape/pattern/recurring_schedule.ttl +4 -4
  99. package/data/apps_landscape/pattern/responsive_action_group.ttl +11 -11
  100. package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
  101. package/data/apps_landscape/pattern/responsive_table_filters.ttl +9 -9
  102. package/data/apps_landscape/pattern/side_panel_form_actions.ttl +30 -30
  103. package/data/apps_landscape/pattern/sortable_list.ttl +11 -11
  104. package/data/apps_landscape/pattern/table_filter.ttl +40 -40
  105. package/data/apps_landscape/pattern/table_filter_chips.ttl +44 -44
  106. package/data/apps_landscape/pattern/table_pagination.ttl +48 -48
  107. package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +18 -18
  108. package/data/apps_landscape/subcomponent/bold_substring.ttl +6 -6
  109. package/data/apps_landscape/subcomponent/inline_cell_input.ttl +7 -7
  110. package/data/apps_landscape/subcomponent/label_with_description.ttl +10 -10
  111. package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +9 -9
  112. package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
  113. package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +14 -14
  114. package/data/apps_landscape.ttl +2 -1
  115. package/data/apps_launchpad/component/accordion.ttl +0 -1
  116. package/data/apps_launchpad/component/avatar.ttl +2 -2
  117. package/data/apps_launchpad/component/badge.ttl +2 -2
  118. package/data/apps_launchpad/component/button.ttl +2 -2
  119. package/data/apps_launchpad/component/combobox.ttl +2 -2
  120. package/data/apps_launchpad/component/description_list.ttl +1 -1
  121. package/data/apps_launchpad/component/drawer.ttl +0 -1
  122. package/data/apps_launchpad/component/link.ttl +0 -1
  123. package/data/apps_launchpad/component/markdown_editor.ttl +0 -1
  124. package/data/apps_launchpad/component/modal.ttl +6 -6
  125. package/data/apps_launchpad/component/pagination.ttl +0 -1
  126. package/data/apps_launchpad/component/popover.ttl +0 -1
  127. package/data/apps_launchpad/component/relative_timestamp.ttl +0 -1
  128. package/data/apps_launchpad/component/spinner.ttl +0 -1
  129. package/data/apps_launchpad/component/table.ttl +0 -1
  130. package/data/apps_launchpad/component/text_input.ttl +1 -1
  131. package/data/apps_launchpad/component/timestamp.ttl +0 -1
  132. package/data/apps_launchpad/component/tooltip.ttl +2 -2
  133. package/data/apps_launchpad/subcomponent/modal-content-body.ttl +0 -1
  134. package/data/apps_launchpad/subcomponent/modal-content-footer.ttl +0 -1
  135. package/data/apps_launchpad/subcomponent/modal-content-header-close_button.ttl +0 -1
  136. package/data/apps_launchpad/subcomponent/modal-content-header.ttl +0 -1
  137. package/data/apps_launchpad/subcomponent/modal-content.ttl +0 -1
  138. package/data/apps_launchpad/subcomponent/side_panel-content-body.ttl +0 -1
  139. package/data/apps_launchpad/subcomponent/side_panel-content-footer.ttl +0 -1
  140. package/data/apps_launchpad/subcomponent/side_panel-content-header-close_button.ttl +0 -1
  141. package/data/apps_launchpad/subcomponent/side_panel-content-header.ttl +0 -1
  142. package/data/apps_launchpad/subcomponent/side_panel-content.ttl +0 -1
  143. package/data/apps_launchpad.ttl +2 -1
  144. package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
  145. package/data/apps_lxd/component/favorite_star_icon_button.ttl +16 -0
  146. package/data/apps_lxd/component/output_field.ttl +7 -7
  147. package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +1 -1
  148. package/data/apps_lxd/view/network_topology.ttl +6 -6
  149. package/data/apps_lxd.ttl +2 -1
  150. package/data/apps_notary.ttl +2 -1
  151. package/data/apps_portal/component/badge.ttl +0 -1
  152. package/data/apps_portal/component/credit_card_input.ttl +0 -1
  153. package/data/apps_portal/component/key_value_pair.ttl +0 -1
  154. package/data/apps_portal/pattern/purchase_summary.ttl +0 -1
  155. package/data/apps_portal/subcomponent/read_only_modal.ttl +0 -1
  156. package/data/apps_portal.ttl +2 -1
  157. package/data/apps_support/component/data_spotlight.ttl +0 -1
  158. package/data/apps_support/subcomponent/ai_prompt_input.ttl +0 -1
  159. package/data/apps_workplace/component/complex_multi_select.ttl +0 -1
  160. package/data/apps_workplace/component/label-highlight.ttl +2 -2
  161. package/data/apps_workplace/component/org_chart.ttl +0 -1
  162. package/data/apps_workplace/component/rule.ttl +0 -1
  163. package/data/apps_workplace/component/skip_link.ttl +0 -1
  164. package/data/apps_workplace/component/theme_switcher.ttl +0 -1
  165. package/data/apps_workplace/pattern/callout_numbers_card.ttl +1 -1
  166. package/data/apps_workplace/pattern/confirmation_modal.ttl +0 -1
  167. package/data/apps_workplace/pattern/org_event_card.ttl +0 -1
  168. package/data/apps_workplace/subcomponent/multi_select_input.ttl +0 -1
  169. package/data/apps_workplace.ttl +2 -1
  170. package/data/documentation/layout/content_page_layout.ttl +0 -1
  171. package/data/documentation/layout/documentation_layout.ttl +0 -1
  172. package/data/documentation/layout/library_layout.ttl +0 -1
  173. package/data/documentation/layout/search_page_layout.ttl +0 -1
  174. package/data/documentation/pattern/library_side_navigation.ttl +1 -1
  175. package/data/documentation.ttl +2 -1
  176. package/data/global/component/accordion.ttl +16 -16
  177. package/data/global/component/announcement.ttl +2 -2
  178. package/data/global/component/avatar.ttl +0 -1
  179. package/data/global/component/badge.ttl +11 -11
  180. package/data/global/component/breadcrumbs.ttl +9 -9
  181. package/data/global/component/button.ttl +11 -11
  182. package/data/global/component/button_link.ttl +0 -1
  183. package/data/global/component/card.ttl +2 -2
  184. package/data/global/component/checkbox_field.ttl +0 -1
  185. package/data/global/component/chip.ttl +15 -15
  186. package/data/global/component/choices_field.ttl +0 -1
  187. package/data/global/component/code_snippet-content.ttl +0 -1
  188. package/data/global/component/code_snippet-header.ttl +0 -1
  189. package/data/global/component/code_snippet.ttl +2 -2
  190. package/data/global/component/color_field.ttl +0 -1
  191. package/data/global/component/combobox_field.ttl +0 -1
  192. package/data/global/component/contextual_menu.ttl +10 -9
  193. package/data/global/component/{tooltip_data.ttl → data_tooltip.ttl} +41 -55
  194. package/data/global/component/date_field.ttl +0 -1
  195. package/data/global/component/date_time_field.ttl +0 -1
  196. package/data/global/component/drag_and_drop_list.ttl +0 -1
  197. package/data/global/component/dropdown_button.ttl +3 -3
  198. package/data/global/component/file_upload_field.ttl +2 -2
  199. package/data/global/component/heading.ttl +1 -1
  200. package/data/global/component/hidden_field.ttl +0 -1
  201. package/data/global/component/icon.ttl +3 -3
  202. package/data/global/component/icon_button.ttl +119 -6
  203. package/data/global/component/icon_in_container.ttl +2 -3
  204. package/data/global/component/key_value_pair.ttl +0 -1
  205. package/data/global/component/keyboard_key.ttl +0 -1
  206. package/data/global/component/link.ttl +0 -1
  207. package/data/global/component/links.ttl +0 -1
  208. package/data/global/component/markdown_editor_field.ttl +0 -1
  209. package/data/global/component/mode_switcher.ttl +0 -1
  210. package/data/global/component/month_field.ttl +0 -1
  211. package/data/global/component/notification_inline.ttl +0 -1
  212. package/data/global/component/notification_toast.ttl +0 -1
  213. package/data/global/component/number_field.ttl +0 -1
  214. package/data/global/component/pagination.ttl +0 -1
  215. package/data/global/component/password_field.ttl +0 -1
  216. package/data/global/component/phone_field.ttl +0 -1
  217. package/data/global/component/popover.ttl +0 -1
  218. package/data/global/component/rating_field.ttl +0 -1
  219. package/data/global/component/relative_timestamp.ttl +0 -1
  220. package/data/global/component/rich_choices_field.ttl +0 -1
  221. package/data/global/component/rich_text_editor.ttl +0 -1
  222. package/data/global/component/rich_text_field.ttl +0 -1
  223. package/data/global/component/search_field.ttl +0 -1
  224. package/data/global/component/segmented_control.ttl +0 -1
  225. package/data/global/component/segmented_control_field.ttl +0 -1
  226. package/data/global/component/select_field.ttl +0 -1
  227. package/data/global/component/switch_field.ttl +0 -1
  228. package/data/global/component/tag.ttl +2 -2
  229. package/data/global/component/text_field.ttl +0 -1
  230. package/data/global/component/textarea_field.ttl +0 -1
  231. package/data/global/component/tile.ttl +9 -9
  232. package/data/global/component/time_field.ttl +0 -1
  233. package/data/global/component/timestamp.ttl +0 -1
  234. package/data/global/component/tooltip.ttl +31 -123
  235. package/data/global/component/{tooltip_wrapper.ttl → wrapper_tooltip.ttl} +45 -53
  236. package/data/global/group/buttons.ttl +0 -1
  237. package/data/global/group/cards.ttl +0 -1
  238. package/data/global/group/code_snippets.ttl +0 -1
  239. package/data/global/group/key_value_pairs.ttl +0 -1
  240. package/data/global/group/keyboard_keys.ttl +0 -1
  241. package/data/global/group/tiles.ttl +0 -1
  242. package/data/global/layout/error_layout.ttl +0 -1
  243. package/data/global/layout/identity_page_form.ttl +0 -1
  244. package/data/global/modifier/achromat.ttl +8 -0
  245. package/data/global/modifier/alpha.ttl +1 -1
  246. package/data/global/modifier/beta.ttl +1 -1
  247. package/data/global/modifier/branded.ttl +8 -0
  248. package/data/global/modifier/caution.ttl +1 -1
  249. package/data/global/modifier/comfortable.ttl +1 -1
  250. package/data/global/modifier/completed.ttl +1 -1
  251. package/data/global/modifier/constructive.ttl +1 -1
  252. package/data/global/modifier/{elevated.ttl → contrasted.ttl} +2 -2
  253. package/data/global/modifier/dark.ttl +2 -2
  254. package/data/global/modifier/dense.ttl +1 -1
  255. package/data/global/modifier/deprecated.ttl +8 -0
  256. package/data/global/modifier/destructive.ttl +1 -1
  257. package/data/global/modifier/{success.ttl → deutan.ttl} +3 -3
  258. package/data/global/modifier/end_of_life.ttl +8 -0
  259. package/data/global/modifier/error.ttl +2 -2
  260. package/data/global/modifier/experimental.ttl +1 -1
  261. package/data/global/modifier/failed.ttl +1 -1
  262. package/data/global/modifier/highlighted.ttl +8 -0
  263. package/data/global/modifier/in_progress.ttl +1 -1
  264. package/data/global/modifier/information.ttl +2 -2
  265. package/data/global/modifier/{surface2.ttl → layer1.ttl} +2 -2
  266. package/data/global/modifier/{surface1.ttl → layer2.ttl} +2 -2
  267. package/data/global/modifier/{surface3.ttl → layer3.ttl} +2 -2
  268. package/data/global/modifier/less.ttl +8 -0
  269. package/data/global/modifier/light.ttl +2 -2
  270. package/data/global/modifier/lts.ttl +8 -0
  271. package/data/global/modifier/more.ttl +8 -0
  272. package/data/global/modifier/muted.ttl +8 -0
  273. package/data/global/modifier/planned.ttl +1 -1
  274. package/data/global/modifier/primary.ttl +1 -1
  275. package/data/global/modifier/protan.ttl +8 -0
  276. package/data/global/modifier/secondary.ttl +1 -1
  277. package/data/global/modifier/stable.ttl +1 -1
  278. package/data/global/modifier/standard.ttl +8 -0
  279. package/data/global/modifier/tertiary.ttl +1 -1
  280. package/data/global/modifier/tritan.ttl +8 -0
  281. package/data/global/modifier/typical.ttl +8 -0
  282. package/data/global/modifier/warning.ttl +2 -2
  283. package/data/global/modifier_family/anticipation.ttl +1 -0
  284. package/data/global/modifier_family/{mode.ttl → color.ttl} +3 -2
  285. package/data/global/modifier_family/color_vision.ttl +10 -0
  286. package/data/global/modifier_family/contrast.ttl +10 -0
  287. package/data/global/modifier_family/density.ttl +1 -0
  288. package/data/global/modifier_family/emphasis.ttl +10 -0
  289. package/data/global/modifier_family/importance.ttl +1 -0
  290. package/data/global/modifier_family/lifecycle.ttl +1 -0
  291. package/data/global/modifier_family/release.ttl +1 -0
  292. package/data/global/modifier_family/severity.ttl +10 -0
  293. package/data/global/modifier_family/support.ttl +10 -0
  294. package/data/global/modifier_family/surface.ttl +2 -1
  295. package/data/global/pattern/description_list.ttl +0 -1
  296. package/data/global/pattern/field.ttl +0 -1
  297. package/data/global/pattern/filter.ttl +0 -1
  298. package/data/global/pattern/form.ttl +6 -1
  299. package/data/global/pattern/form_login.ttl +0 -1
  300. package/data/global/pattern/info_table.ttl +0 -1
  301. package/data/global/pattern/modal.ttl +202 -141
  302. package/data/global/pattern/stepper.ttl +0 -1
  303. package/data/global/pattern/table_of_contents.ttl +0 -1
  304. package/data/global/pattern/timeline.ttl +22 -22
  305. package/data/global/pattern/top_navigation.ttl +0 -1
  306. package/data/global/{modifier_family/_other.ttl → state/editable.ttl} +2 -2
  307. package/data/global/{modifier_family/_emphasis.ttl → state/focused.ttl} +2 -2
  308. package/data/global/{modifier_family/_color_luminosity.ttl → state/invalid.ttl} +2 -2
  309. package/data/global/{modifier/modal.ttl → state/loading.ttl} +3 -3
  310. package/data/global/state/valid.ttl +8 -0
  311. package/data/global/state/wireframe.ttl +8 -0
  312. package/data/global/subcomponent/accordion-item.ttl +1 -2
  313. package/data/global/subcomponent/breadcrumbs-item.ttl +0 -1
  314. package/data/global/subcomponent/card-content.ttl +1 -2
  315. package/data/global/subcomponent/card-footer.ttl +0 -1
  316. package/data/global/subcomponent/card-header.ttl +1 -2
  317. package/data/global/subcomponent/card-image.ttl +1 -2
  318. package/data/global/subcomponent/card-thumbnail.ttl +0 -1
  319. package/data/global/subcomponent/chart_legend.ttl +1 -2
  320. package/data/global/subcomponent/chart_legend_item.ttl +1 -2
  321. package/data/global/subcomponent/checkbox_input.ttl +0 -1
  322. package/data/global/subcomponent/color_input.ttl +0 -1
  323. package/data/global/subcomponent/combobox_input.ttl +0 -1
  324. package/data/global/subcomponent/contextual_menu-item.ttl +13 -0
  325. package/data/global/subcomponent/contextual_menu-list.ttl +13 -0
  326. package/data/global/subcomponent/contextual_menu-submenu.ttl +13 -0
  327. package/data/global/subcomponent/data_tooltip-chart_legend.ttl +133 -0
  328. package/data/global/subcomponent/date_input.ttl +0 -1
  329. package/data/global/subcomponent/date_time_input.ttl +0 -1
  330. package/data/global/subcomponent/field-description.ttl +1 -2
  331. package/data/global/subcomponent/field-error.ttl +1 -2
  332. package/data/global/subcomponent/field-label.ttl +1 -2
  333. package/data/global/subcomponent/file_upload_input.ttl +3 -3
  334. package/data/global/subcomponent/hidden_input.ttl +0 -1
  335. package/data/global/subcomponent/kvp_container.ttl +1 -2
  336. package/data/global/subcomponent/kvpitem_base.ttl +1 -2
  337. package/data/global/subcomponent/markdown_editor_input.ttl +0 -1
  338. package/data/global/subcomponent/modal-content.ttl +4 -13
  339. package/data/global/subcomponent/modal-footer.ttl +21 -29
  340. package/data/global/subcomponent/modal-header.ttl +53 -141
  341. package/data/global/subcomponent/month_input.ttl +0 -1
  342. package/data/global/subcomponent/number_input.ttl +0 -1
  343. package/data/global/subcomponent/password_input.ttl +0 -1
  344. package/data/global/subcomponent/phone_input.ttl +0 -1
  345. package/data/global/subcomponent/radio_input.ttl +0 -1
  346. package/data/global/subcomponent/range_input.ttl +0 -1
  347. package/data/global/subcomponent/rating_input.ttl +0 -1
  348. package/data/global/subcomponent/rich_text_input.ttl +0 -1
  349. package/data/global/subcomponent/search_input.ttl +8 -8
  350. package/data/global/subcomponent/segmented_control_input.ttl +0 -1
  351. package/data/global/subcomponent/select_input.ttl +0 -1
  352. package/data/global/subcomponent/spin_button.ttl +0 -1
  353. package/data/global/subcomponent/spinner.ttl +0 -1
  354. package/data/global/subcomponent/switch_input.ttl +0 -1
  355. package/data/global/subcomponent/table-cell.ttl +0 -1
  356. package/data/global/subcomponent/table-row.ttl +0 -1
  357. package/data/global/subcomponent/text_editor_input.ttl +0 -1
  358. package/data/global/subcomponent/text_input.ttl +0 -1
  359. package/data/global/subcomponent/textarea_input.ttl +1 -2
  360. package/data/global/subcomponent/tile-content.ttl +0 -1
  361. package/data/global/subcomponent/tile-header.ttl +5 -6
  362. package/data/global/subcomponent/time_input.ttl +0 -1
  363. package/data/global/subcomponent/timeline-content.ttl +1 -2
  364. package/data/global/subcomponent/timeline-event.ttl +1 -1
  365. package/data/global/variant/tooltip_dense.ttl +28 -3
  366. package/data/global/view/settings_view.ttl +0 -1
  367. package/data/global.ttl +2 -1
  368. package/data/global_dataviews/component/filter_button.ttl +3 -4
  369. package/data/global_dataviews/component/query_bar.ttl +1 -2
  370. package/data/global_dataviews/component/query_chip.ttl +2 -2
  371. package/data/global_dataviews/group/query_chips.ttl +1 -2
  372. package/data/global_dataviews/modifier/exclusion.ttl +1 -1
  373. package/data/global_dataviews/modifier/inclusion.ttl +1 -1
  374. package/data/global_dataviews/modifier/match.ttl +1 -1
  375. package/data/global_dataviews/modifier/presence.ttl +1 -1
  376. package/data/global_dataviews/modifier/range.ttl +1 -1
  377. package/data/global_dataviews/modifier_family/condition.ttl +1 -0
  378. package/data/global_dataviews/subcomponent/query_chip-entry.ttl +1 -2
  379. package/data/global_dataviews/subcomponent/query_chip-segment.ttl +1 -2
  380. package/data/global_dataviews/subcomponent/query_input.ttl +1 -2
  381. package/data/global_dataviews.ttl +2 -1
  382. package/data/sites/component/quote.ttl +0 -1
  383. package/data/sites/component/rule.ttl +0 -1
  384. package/data/sites/component/section.ttl +0 -1
  385. package/data/sites/component/store_card.ttl +7 -7
  386. package/data/sites/group/blog_cards.ttl +0 -1
  387. package/data/sites/group/xblog_elements.ttl +0 -1
  388. package/data/sites/layout/blog_page_layout.ttl +0 -1
  389. package/data/sites/layout/case_study_layout.ttl +0 -1
  390. package/data/sites/layout/site_layout.ttl +0 -1
  391. package/data/sites/pattern/hero-github.ttl +0 -1
  392. package/data/sites/pattern/hero.ttl +1 -2
  393. package/data/sites/pattern/info_table.ttl +0 -1
  394. package/data/sites/pattern/pricing_section.ttl +0 -1
  395. package/data/sites/pattern/pricing_table.ttl +0 -1
  396. package/data/sites/pattern/read_more_section.ttl +0 -1
  397. package/data/sites/pattern/skip_link.ttl +0 -1
  398. package/data/sites.ttl +2 -1
  399. package/data/sites_stores.ttl +2 -1
  400. package/data/sites_webcomponentsprototype/component/blog_cards.ttl +0 -1
  401. package/data/sites_webcomponentsprototype/component/ctablock.ttl +0 -1
  402. package/data/sites_webcomponentsprototype/component/list.ttl +6 -2
  403. package/data/sites_webcomponentsprototype/component/tabs.ttl +0 -1
  404. package/data/sites_webcomponentsprototype/layout/site_layout.ttl +0 -1
  405. package/data/sites_webcomponentsprototype/pattern/basic_section.ttl +0 -1
  406. package/data/sites_webcomponentsprototype/pattern/blog_section.ttl +0 -1
  407. package/data/sites_webcomponentsprototype/pattern/ctasection.ttl +0 -1
  408. package/data/sites_webcomponentsprototype/pattern/equal_heights.ttl +0 -1
  409. package/data/sites_webcomponentsprototype/pattern/hero.ttl +0 -1
  410. package/data/sites_webcomponentsprototype/pattern/logo_section.ttl +0 -1
  411. package/data/sites_webcomponentsprototype/pattern/quote_wrapper.ttl +0 -1
  412. package/data/sites_webcomponentsprototype/pattern/tiered_list.ttl +0 -1
  413. package/data/sites_webcomponentsprototype.ttl +2 -1
  414. package/definitions/ontology.ttl +46 -0
  415. package/package.json +6 -6
  416. package/skills/design-auditor/SKILL.md +4 -4
  417. package/skills/implement-component/SKILL.md +1 -1
  418. package/skills/specify-component/SKILL.md +1 -1
  419. package/src/graph/GraphStore.ts +8 -2
  420. package/data/global/modifier_family/criticality.ttl +0 -9
  421. package/skills/map-journeys/SKILL.md +0 -395
  422. package/skills/map-journeys/journey-graph.example.html +0 -298
  423. package/skills/model-domains/SKILL.md +0 -502
@@ -1,395 +0,0 @@
1
- ---
2
- name: map-journeys
3
- description: Map who uses an application, what each of them needs, and in what order, as personas, jobs and journeys; also runs as a guided tutorial on a worked example
4
- ---
5
-
6
- # Map Journeys
7
-
8
- Write down who uses an application, what each of them needs, and in what order. The
9
- result is three lists: personas, jobs and journeys. They are written before anything is
10
- designed, and they are what a design is later judged against.
11
-
12
- **A persona is real people with real interests, said in the organisation's own words
13
- and recognised by the operator.** Jobs come from a persona's interests, and a journey
14
- puts a persona's jobs in order. If the personas are wrong, everything after them is
15
- misaligned.
16
-
17
- In a fresh session, orient first:
18
-
19
- ```bash
20
- pragma capabilities
21
- ```
22
-
23
- The design-system graph holds no personas, jobs or journeys. This skill is interview
24
- work.
25
-
26
- ## Working mode: assistant to a design authority
27
-
28
- Most of the time this skill runs with an operator: a designer, an engineer or a product
29
- lead who knows the application and the people around it. They are the authority. You
30
- are the assistant whose job is to make them successful:
31
-
32
- - Say which step comes next and why.
33
- - Do the legwork yourself. Read the application, draft the candidates, write the lists.
34
- - Bring each decision as a recommendation plus a question, never as a fait accompli.
35
- Who really uses the application, and what they care about, is in no file.
36
-
37
- Full autonomy is the exception. Run the whole flow alone only when explicitly asked to.
38
- Then every persona and every journey's order stays marked as a guess, and the final
39
- report lists each judgment call.
40
-
41
- Decision gates — pause at each and resolve it WITH the operator:
42
-
43
- 1. Create or update, whenever the signs leave any doubt.
44
- 2. The output form, and where it is saved.
45
- 3. The personas.
46
- 4. The jobs, and which are deferred.
47
- 5. The journeys.
48
-
49
- ## When to Use
50
-
51
- - A new application is being planned and nobody has written down who it is for
52
- - An existing application needs its personas, jobs and journeys made explicit
53
- - Earlier personas, jobs or journeys need updating after design decisions
54
-
55
- ## When NOT to Use
56
-
57
- - Choosing domains, paths, views or layouts — use `model-domains`, which starts from
58
- this skill's lists
59
- - Specifying a component or a pattern — use `specify-component` or `specify-pattern`
60
- - Confirming jobs with real users — that is separate research
61
-
62
- ## Opening move: ask, or offer the tutorial
63
-
64
- Unless the first message already names the work, ask for the starting point as a
65
- suggestion carrying an example, not as a form to fill in:
66
-
67
- > To get started, tell me which application this is about and what it is for, in a
68
- > sentence. Something like "a tracker that shows how far each of our apps has moved to
69
- > the new design system".
70
-
71
- If the message already carries the starting point, say what you took it to be, and go.
72
-
73
- Offer the tutorial in the same breath:
74
-
75
- > Or if you'd rather see the flow first, I can run it as a tutorial on a worked
76
- > example: a tracker that measures design-system adoption across four apps.
77
-
78
- Tutorial mode runs the same steps on the worked example at the end of this skill, with
79
- the reasoning at each gate spelled out. It publishes and writes nothing unless the
80
- operator asks to keep what was built.
81
-
82
- ## Read the situation: new or existing, create or update
83
-
84
- Work out two things from context before step 1, and say what you took them to be in
85
- one line.
86
-
87
- - **New or existing application.** Existing when there is application code where you
88
- are running, or the operator names an application or a repository.
89
- - **Create or update.** Update when earlier output exists: a file in the repository, or
90
- a page the operator links. A published page lives outside the repository, so you only
91
- find one when it is linked.
92
-
93
- **When in doubt about create or update, ask. Never guess, and never change earlier
94
- output on a guess.** Doubt is a request that sounds like an update with no earlier
95
- output found, a request that sounds like a fresh start with earlier output found, or
96
- more than one earlier output. Ask in one plain line with two options:
97
-
98
- > I found `journeys.json` in `docs/`. Do I update it, or start a new one?
99
-
100
- | | Create | Update |
101
- |---|---|---|
102
- | **New application** | Interview from scratch. | Change only what the request touches. |
103
- | **Existing application** | Read the application for candidates, then interview. | Also report where the application and the earlier output have drifted apart. |
104
-
105
- ## Every step is narrated: outcome, path, conclusion
106
-
107
- Open every step by telling the operator what it is FOR and how you will get there.
108
- Close it with what it established and what that means for the next step. One sentence
109
- each is enough. The operator can only steer a step they saw coming.
110
-
111
- Do:
112
-
113
- > **Step 3 — personas.** The outcome is a short list of the people this application is
114
- > for, each one in your own words. I read the application for candidates, then ask you
115
- > about each one.
116
- >
117
- > …
118
- >
119
- > So: three personas, and the steward and the project manager are sometimes the same
120
- > person. They care about different things in each role, which is what step 4 needs.
121
-
122
- Don't:
123
-
124
- > Step 3 — Personas
125
- >
126
- > Steward, project manager, app owner.
127
-
128
- ## Asked about the skill: methodology and outcomes first
129
-
130
- Asked what this skill does, give the method and the outcome before the list of steps:
131
-
132
- > It maps who an application is for. You confirm each persona, in your organisation's
133
- > own words. Jobs come from what each persona cares about and never name a solution. A
134
- > journey is one persona's jobs in order. You end holding three lists that any design
135
- > can be judged against.
136
-
137
- ## The output
138
-
139
- The operator picks one of three forms. The content is the same in all of them.
140
-
141
- - **A page with its data (recommended).** Two files: `journeys.json` holds the lists,
142
- and `journeys.html` draws them as a graph and as tables. `model-domains` reads and
143
- extends the same JSON.
144
- - **A decision record.** Context, alternatives, decision, in the convention of the
145
- repository that holds it. The graph is a Mermaid flowchart.
146
- - **A markdown plan.** One table per list, and the graph as Mermaid.
147
-
148
- **The lists are written once.** Every table and the graph are drawn from them. A link
149
- that is stored twice drifts.
150
-
151
- ```json
152
- {
153
- "name": "the application's name",
154
- "goal": "one sentence",
155
- "personas": [{ "id": "", "name": "", "description": "", "interests": [""],
156
- "guess": true }],
157
- "jobs": [{ "id": "J1", "name": "", "personas": [""], "story": "",
158
- "outside": ["a command, a file or another tool"], "deferred": true }],
159
- "journeys": [{ "persona": "", "question": "", "jobs": ["J1"], "guess": true }]
160
- }
161
- ```
162
-
163
- `outside`, `deferred` and `guess` appear only where they apply. `guess` marks a persona
164
- the operator has not confirmed, or a journey whose order they have not confirmed. The
165
- page shows it as a tag.
166
-
167
- **The graph** has personas on the left, journeys in the middle and jobs on the right.
168
- A journey's jobs are numbered in order. Overlap is shown, not hidden: a job shared by
169
- two journeys is one box with a numbered link from each, and dots on every job show all
170
- the personas that hold it. Jobs a persona holds outside its journeys hang off a dashed
171
- "off the journey" box. A deferred job is dashed.
172
-
173
- `journey-graph.example.html` is a complete example on the worked example's data. It
174
- sits in this skill's folder, which is the `sourcePath` that
175
- `pragma skill lookup map-journeys --format json` reports. Start the page from it. Its
176
- title, heading and everything else are drawn from the data.
177
-
178
- The page reads `journeys.json` from its own folder, or the same JSON placed in its data
179
- block. Use the block when the page must stand alone: published as a single page, or
180
- opened from disk, where a browser will not read a second file. The JSON file stays the
181
- source: copy it into the block whole, and never edit the block by hand.
182
-
183
- Where the output is committed, that repository's rules and the `git` standards apply
184
- (`pragma standard categories` lists the current set).
185
-
186
- ## The six steps
187
-
188
- ### 1. Output form
189
-
190
- On an update, keep the form already in use. On a create, the operator picks the form
191
- and names where it is saved. Do not assume a folder.
192
-
193
- Outcome gate: **one form, and one named place.**
194
-
195
- ### 2. Goal
196
-
197
- Ask what the application is for, in one sentence. For an existing application, read
198
- its README and landing page, propose the sentence, and let the operator correct it. A
199
- job that does not serve the goal is deferred, not designed.
200
-
201
- Outcome gate: **one sentence the operator agrees with.**
202
-
203
- ### 3. Personas
204
-
205
- This is the centre of the skill. Take the time it needs.
206
-
207
- - **A persona is a hat, not a person.** It names a way of using the application. One
208
- person can wear several hats, and several roles can share one. Never split or merge
209
- personas to make roles tidy.
210
- - **It is a sentence or two in the organisation's own words.** It says who usually
211
- wears the hat. It need not be a job title, but it points at real people: "design
212
- system steward" is not a position, and it maps to the managers who work on the design
213
- system. Record a loose answer as given ("usually the managers, sometimes an
214
- engineer"). Never push it into a formal definition.
215
- - **Its interests are what the persona cares about while wearing the hat.** The same
216
- person cares about different things when reporting progress than when fixing their
217
- own application.
218
- - **It is nothing else.** No skill levels, no permissions. A persona never becomes a
219
- domain, a menu or an access rule.
220
-
221
- **New application.** Ask who will use it and what each of them cares about.
222
-
223
- **Existing application.** Read first, and bring candidates with their evidence, each
224
- marked as a guess:
225
-
226
- - permission roles in the code,
227
- - navigation and pages, for who each area seems to be for,
228
- - the README and the documentation, for who the product says it is for.
229
-
230
- The code cannot say who these people are or what they care about. A permission role
231
- says what someone may do. People who never log in, such as someone who only reads a
232
- report, are not in the code at all. So always go on to the interview.
233
-
234
- **The interview.** One candidate at a time:
235
-
236
- 1. Who usually wears this hat here?
237
- 2. What do they care about when they do?
238
- 3. Does the name sound like how you would say it?
239
- 4. Who is missing?
240
-
241
- Outcome gate: **the operator recognises each persona and would say it that way.** You
242
- never confirm a persona yourself. In an unattended run every persona stays marked as a
243
- guess.
244
-
245
- ### 4. Jobs
246
-
247
- A job is one thing a persona needs, written as a four-part story:
248
-
249
- > When [situation], I want [capability], so I can [outcome], without [what I do today].
250
-
251
- It has an id (`J1`, `J2`, …) that is never reused or renumbered, a short name written
252
- as an instruction, and one or more personas.
253
-
254
- **Jobs are shared.** When two personas need the same thing, it is one job with two
255
- personas. Never copy or split a job to give each persona its own. List a persona on a
256
- job when the job serves one of its interests; a job everyone passes through, such as
257
- signing in, lists those who care how it goes.
258
-
259
- **Jobs stay put while the solution moves.** A story never names a page, a screen or a
260
- feature. That is why the same jobs can judge several designs. For an existing
261
- application, do not read jobs off its pages. Ask what each persona is trying to get
262
- done.
263
-
264
- Do:
265
-
266
- > When I pick up adoption work, I want the usages in one folder with file and line, so
267
- > I can fix them in one pull request, without searching the codebase.
268
-
269
- Don't:
270
-
271
- > When I open the findings tab, I want to filter the evidence list by slice.
272
-
273
- **Every job serves an interest of its persona.** Say which one when you present the
274
- job. "Spot stalled apps" serves the project manager's interest in seeing stalls early.
275
- An interest with no job is a gap to raise.
276
-
277
- Mark two things where they apply:
278
-
279
- - **Deferred.** A need that is real but not for now is written in full and marked. It
280
- stays visible and gets no view.
281
- - **Outside the application.** A job done anywhere else, with a command, a file or
282
- another tool, names that place as people call it, and gets no view.
283
-
284
- Jobs are drafts until real users confirm them. Say so in the output.
285
-
286
- Outcome gate: **every story names no solution and serves an interest; deferred jobs and
287
- jobs done outside the application are marked.**
288
-
289
- ### 5. Journeys
290
-
291
- A journey is one persona's jobs, in the order they do them, under one question: "What
292
- do I fix next in my app?"
293
-
294
- - The order is what people really do. Never rearrange it to flatter a design.
295
- - One journey per persona is the default. A persona with two questions gets two.
296
- - A job can be on several journeys, at its own place in each. Journeys overlap wherever
297
- the work does. Never keep them apart artificially.
298
- - A journey names no views. `model-domains` adds those.
299
-
300
- List every job that is on no journey and ask whether that is meant. Some jobs are
301
- occasional. Others reveal a second question.
302
-
303
- Outcome gate: **each persona has a question and its jobs in order, and the operator has
304
- ruled on every job that is on no journey.**
305
-
306
- ### 6. Check and hand on
307
-
308
- Read every outcome gate again against the finished lists. Each must still hold. A job
309
- on a persona's journey is one of that persona's jobs: where the job does not list the
310
- persona yet, add it. Then write the output.
311
-
312
- `model-domains` takes it from there. It lays out several domain designs, walks every
313
- journey through each one job by job, and scores what each move costs the persona. It
314
- adds the views to the same output and may hand back a job it found missing.
315
-
316
- Outcome gate: **the gates hold and the output is written.**
317
-
318
- ## Running as an update
319
-
320
- An update runs the same steps on the earlier output and touches only what changed.
321
-
322
- - Nothing is removed silently. A job that no longer applies now is marked deferred.
323
- - A story is reworded only when it names a solution that was dropped.
324
- - A changed or new row is marked, with the date of the round.
325
- - Personas rarely change, because design decisions change what is shown, not who uses
326
- the application. Revisit them when a new group of people appears.
327
- - A journey that stays costly in every design `model-domains` scores may hold two
328
- questions, or its persona may be two hats. Raise it. Force nothing.
329
-
330
- Update after each round of design decisions, when a new domain appears, and when a view
331
- is cut, merged or reshaped.
332
-
333
- **Say what else may now be out of date.** Other work was built on these lists. Before
334
- you finish an update, tell the operator briefly what changed and what it may touch.
335
- Name the things; do not update them yourself.
336
-
337
- > Two jobs changed and the app owner's journey has a new order. The domain model was
338
- > built on the earlier lists: three views serve those jobs, and the scores no longer
339
- > match. Run `model-domains` as an update next.
340
-
341
- Look for the domain model first: the views in the same output. Then anything the
342
- operator has mentioned that rests on the jobs, such as wireframes or built pages.
343
-
344
- ## Response format
345
-
346
- ```markdown
347
- Situation: <new | existing> application, <create | update>
348
- Output: <form> at <place>
349
-
350
- - [ ] 1. Output form: …
351
- - [ ] 2. Goal: "<one sentence>"
352
- - [ ] 3. Personas: <n>, each recognised by the operator (or: marked as guesses)
353
- - [ ] 4. Jobs: <n> drafts, <n> deferred, <n> done outside the application
354
- - [ ] 5. Journeys: <n>; jobs on no journey: …
355
- - [ ] 6. Gates re-read: hold (or: what failed)
356
-
357
- On an update, what else may need updating: … (for instance the domain model)
358
- Judgment calls made without the operator: …
359
- ```
360
-
361
- ## Worked example: the adoption tracker
362
-
363
- An application that shows how far four apps have moved to a new design system. Its
364
- goal, three personas, fifteen jobs and three journeys are the data block of
365
- `journey-graph.example.html`. Read them there for the tutorial.
366
-
367
- What the tutorial should bring out:
368
-
369
- - **Step 3.** The steward and the project manager can be the same person. They stay two
370
- personas because their interests differ.
371
- - **Step 4.** Two needs were real but not for now. They are written in full and
372
- deferred.
373
- - **Step 5.** Two jobs sit on two journeys each, at a different place in each. Four of
374
- the steward's jobs are on no journey: two are deferred, one is occasional, and one
375
- may be a second question.
376
- - **Scope with no job.** In the real project, work was planned that no job asked for.
377
- It was found only in a later audit. Run the gates early.
378
-
379
- ## Related skills
380
-
381
- - `model-domains` — what comes next: domains, paths, views and layouts, judged against
382
- these journeys
383
- - `specify-component` and `specify-pattern` — for a component or pattern gap that the
384
- later design work uncovers
385
-
386
- ## Support
387
-
388
- If this skill leads somewhere broken — a command that errors, guidance that
389
- contradicts what the live system answers, a gap the flow cannot cover — you are not
390
- stuck:
391
-
392
- - Raise an issue in the pragma-core repo: https://github.com/canonical/pragma-core/issues —
393
- include the skill name, what was run, and expected vs. actual outcome.
394
- - Or contact the design-system team owners directly through your organization's
395
- professional messaging channels for assistance.