@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
@@ -6,11 +6,9 @@ ds:sites.pattern.hero a ds:Pattern;
6
6
  ds:name "Hero";
7
7
  ds:summary "A hero is the prominent banner at the top of a page. It captures attention on arrival with a title, supporting copy, a call to action and a visual.";
8
8
  ds:anatomyDsl "---\n# DRAFT, authored from the spec (specs/sites.pattern.hero.md) and the Figma export\n# of the Hero frame (variants Hero/25-75, /Tablet, /Mobile, Hero/50-50), not from an\n# implementation: no reference build exists. Not yet run through\n# `anatomies validate --authored`.\n# This anatomy fixes the 25/75 signpost skeleton at Large; 50/50 and the Tablet and\n# Mobile stacking are layout variations of the same slots, described in the spec.\nnode:\n uri: sites.pattern.hero\n styles:\n layout.type: flex\n layout.direction: column\n # Figma frame padding is 24px top, 64px bottom. 64px is 4rem, which is\n # spacing.inset.strip.block. The 24px top has no matching inset symbol, so it is unbound.\n spacing.internal.block.end: spacing.inset.strip.block\n\n edges:\n - node:\n # The row holding the visual column and the content column (Figma: \"row p-section is-shallow\").\n role: columns\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: flex-start\n # Figma gap is 32px (2rem); no spacing symbol carries it, so the literal is written.\n spacing.gap: 2rem\n edges:\n - node:\n # Narrow 25% column. Holds a logo or small image associated with the title.\n # No image-container block exists in the graph, so this is a role, not a uri.\n role: visual\n relation:\n cardinality: \"0..1\"\n slotName: media\n\n - node:\n role: content\n styles:\n layout.type: flex\n layout.direction: column\n spacing.gap.block: spacing.gap.group.block\n edges:\n - node:\n uri: global.component.heading\n props:\n # Level 1. The graph's `importance` property is a number standing\n # for the heading level; unconfirmed, so check the name before relying on it.\n importance: 1\n relation:\n cardinality: \"1\"\n slotName: title\n\n - node:\n uri: global.component.heading\n props:\n importance: 2\n relation:\n cardinality: \"0..1\"\n slotName: subtitle\n\n - node:\n # Vanilla's static \"chip\". Tag, not Chip: Chip is always actionable.\n uri: global.component.tag\n relation:\n cardinality: \"0..1\"\n slotName: tag\n\n - node:\n # Body copy. No Text/Paragraph block exists, so this is a role.\n role: description\n styles:\n typography.color: [modifier.color.text, color.text]\n relation:\n cardinality: \"0..*\"\n slotName: default\n\n - node:\n # The CTA block. No such block in the graph (Figma still uses the Sites\n # library's CTA block), so it is a role. Actions wrap; the gap lives here,\n # not as padding on each button.\n role: actions\n styles:\n layout.type: flex\n layout.wrap: wrap\n spacing.gap: spacing.gap.group.block\n edges:\n - node:\n uri: global.component.button\n relation:\n cardinality: \"0..1\"\n slotName: primary\n\n - node:\n uri: global.component.button\n relation:\n cardinality: \"0..*\"\n slotName: secondary\n\n - node:\n # ButtonLink is empty in the graph today.\n uri: global.component.button_link\n relation:\n cardinality: \"0..1\"\n slotName: link\n relation:\n cardinality: \"0..1\"\n slotName: actions\n relation:\n cardinality: \"1\"\n slotName: default\n relation:\n cardinality: \"1\"\n slotName: default";
9
- ds:anatomyClassic "";
10
9
  ds:usage "### The hero is the prominent banner at the top of a page. It states what the page is \nabout in one title, supports it with a short description and a visual, and offers one \nclear next step. It is used once per page, as the first region a visitor sees.\n\n### When to use\n\nUse a hero when the page has to introduce itself and move the visitor to a next step \nin a single glance. Every use case below shares that intent: orient, then direct.\n\n**Landing page opener** \nThe visitor arrives from a search, a link or an advert and does not yet know the \nproduct. The hero names it in the title, adds a subtitle and a short description, \nand offers one primary action. It sits at the top of the page, above all other \nsections, and is the only `h1`.\n\n- Image: TODO (annotated screenshot of a released page)\n- Example: TODO (released [ubuntu.com](http://ubuntu.com) landing page)\n\n**Product or campaign page** \nA page promotes one product, release or campaign. The hero carries the campaign \nmessage and the primary action (sign up, download, contact). A tag may call out status \nor availability, such as “Available with Ubuntu Pro”. Secondary actions and a link \naction may follow the primary one.\n\n- Image: TODO\n- Example: TODO\n\n**Page introduced by a logo or small mark (25/75 signpost)** \nA small image, such as a partner or product logo, should be associated with the title. \nIt sits in the narrow column beside the content, which fills the wide column. On \nsmaller screens the columns stack.\n\n- Image: TODO (Figma variants Hero/25-75, /Tablet, /Mobile)\n- Example: TODO\n\n**Page introduced by a large visual (50/50)** \nThe image is as important as the text. The visual and the content share the page \nwidth equally. On smaller screens the columns stack.\n\n- Image: TODO (Figma variant Hero/50-50)\n- Example: TODO\n\n### When not to use\n\n**Promoting content part-way down a page** \nThe content is a secondary promotion in the middle of a page, introduced with its own \nheading. A hero here competes with the real page opener and breaks the page’s \noutline, because it implies a second top-level message.\n\n- Example: TODO (made-up scenario based on a real page)\n- Instead: use `Section` with a `Heading` at the right level.\n\n**Titling a page inside an application** \nThe page is a working screen, such as a list, a form or a settings page, and needs a \ntitle for orientation. A hero here takes screen space from the task and adds a call to \naction nobody needs.\n\n- Example: TODO\n- Instead: use `Heading` for the page title.\n\n**Offering several equal actions** \nThe banner has two or more actions of equal weight and no clear next step. The visitor \nhas to choose, and the banner loses its focus.\n\n- Example: TODO\n- Instead: choose one primary action, and demote the rest to secondary actions or a \nlink action. If they are truly equal, move them into the sections below the hero.\n\n**Carrying long text** \nThe banner holds several paragraphs of body copy, so the first screen reads as a \ndocument and the action is pushed out of sight.\n\n- Example: TODO\n- Instead: keep a short description in the hero and move the detail into a `Section` \nbelow it.\n\n## Context and composition rule\n\n**Context:** a visitor has just landed on a marketing or product page and needs to \nknow what it is, why it matters and what to do next, in one glance.\n\n**Fixed:** one `Heading` (level 1) as the title; a single primary action; the hero \nis the first `Section` on the page.\n\n**Varies:** subtitle, tag, description, secondary actions, link action, visual, \nand the column layout.\n\n**Composition**\n\nTable 83\n\n**Unlike** `PricingSection` and `ReadMoreSection`, which present a set of items, \nthe hero is a single message with a single action.\n\n**Note on Tag:** Vanilla calls this element a “chip”, but the “Available with Ubuntu \nPro” label is static. Pragma’s `Chip` is always actionable and `Badge` is for numeric \nvalues, so `Tag` (non-interactive, categorises or indicates status) is the fit. \nCheck Tag’s variants cover the pill radius and branded colour. **[confirm with owners]**\n\nVerified against `global.component.tag`: non-interactive pill, optional `icon` slot, \nrequired `content` slot, modifiers Anticipation, Criticality and Importance. Open items:\n\n- Use `Importance=Primary` for the branded look. There is no Branded variant, and the \nPrimary colour is unconfirmed. Raise a Branded variant with the owners if Primary doesn’t match.\n- The anatomy binds no radius; `dimension.radius.full` is inferred from the “pill” wording.\n- The entry’s guidelines are empty, and it calls itself a “label” in its summary.\n\n## Layouts in scope\n\nThe four variants in the supplied Figma frame (confirmed from the export):\n\nTable 84";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites;
13
- ds:documentationStage ds:tag.needstriage;
14
12
  ds:hasProperty [
15
13
  a ds:Property;
16
14
  ds:name "Layout";
@@ -21,6 +19,7 @@ ds:sites.pattern.hero a ds:Pattern;
21
19
  ds:name "Breakpoint";
22
20
  ds:optional "false"
23
21
  ];
22
+ ds:documentationStage ds:tag.needstriage;
24
23
  ds:hasTokenBinding [
25
24
  a ds:TokenBinding;
26
25
  ds:viaBlock ds:sites.pattern.hero;
@@ -6,7 +6,6 @@ ds:sites.pattern.info_table a ds:Pattern;
6
6
  ds:name "InfoTable";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites;
@@ -6,7 +6,6 @@ ds:sites.pattern.pricing_section a ds:Pattern;
6
6
  ds:name "PricingSection";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites;
@@ -6,7 +6,6 @@ ds:sites.pattern.pricing_table a ds:Pattern;
6
6
  ds:name "PricingTable";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites;
@@ -6,7 +6,6 @@ ds:sites.pattern.read_more_section a ds:Pattern;
6
6
  ds:name "ReadMoreSection";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites;
@@ -6,7 +6,6 @@ ds:sites.pattern.skip_link a ds:Pattern;
6
6
  ds:name "SkipLink";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites;
package/data/sites.ttl CHANGED
@@ -3,4 +3,5 @@
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
5
  ds:sites a ds:Tier;
6
- ds:name "Sites".
6
+ ds:name "Sites";
7
+ ds:sort 2.0.
@@ -3,4 +3,5 @@
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
5
  ds:sites_stores a ds:Tier;
6
- ds:name "Sites/Stores".
6
+ ds:name "Sites/Stores";
7
+ ds:sort 2.0.
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.component.blog_cards a ds:Component;
6
6
  ds:name "BlogCards";
7
7
  ds:summary "**Blog Card** is a reusable card component for displaying a single blog post preview. It stacks an optional **cover image** above a **body area** containing optional metadata (topic, date, author), a required **title**, optional **excerpt**, and an optional **read-more link**, all within a rounded, optionally shadowed container.";
8
8
  ds:anatomyDsl "---\nnode:\n uri: vanilla.component.blog-card\n styles:\n layout.type: stack\n layout.direction: vertical\n size.height: fill\n appearance.background: color/surface/card\n appearance.radius: shape/rounded/medium\n appearance.shadow: shadow/card?\n layout.overflow: hidden\n edges:\n - node:\n uri: vanilla.subcomponent.blog-card_image\n styles:\n layout.display: block\n size.width: fill\n size.height: size/blog-card/image\n object.fit: cover\n layout.flex-shrink: 0\n relation:\n cardinality: \"0..1\"\n slotName: image\n - node:\n uri: vanilla.subcomponent.blog-card_body\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 1\n spacing.internal: spacing/medium\n spacing.gap: spacing/small\n edges:\n - node:\n uri: vanilla.subcomponent.blog-card_meta\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.wrap: wrap\n layout.align: center\n spacing.gap: spacing/small\n edges:\n - node:\n role: topic label\n styles:\n typography.size: font/size/small\n typography.weight: font/weight/bold\n typography.color: color/text/link\n typography.transform: uppercase\n typography.letter-spacing: typography/letter-spacing/wide\n relation:\n cardinality: \"0..1\"\n - node:\n role: publish date\n styles:\n typography.size: font/size/small\n typography.color: color/text/muted\n relation:\n cardinality: \"0..1\"\n - node:\n role: author name\n styles:\n typography.size: font/size/small\n typography.color: color/text/muted\n relation:\n cardinality: \"0..1\"\n relation:\n cardinality: \"0..1\"\n slotName: meta\n - node:\n role: post title\n styles:\n typography.size: font/size/heading/4\n typography.weight: font/weight/bold\n typography.color: color/text/default\n relation:\n cardinality: \"1\"\n slotName: title\n - node:\n role: post excerpt\n styles:\n typography.size: font/size/medium\n typography.color: color/text/muted\n layout.flex: 1\n relation:\n cardinality: \"0..1\"\n slotName: excerpt\n - node:\n role: read more link\n styles:\n typography.size: font/size/medium\n typography.color: color/text/link\n typography.decoration: none\n interaction.cursor: pointer\n spacing.margin.top: auto\n relation:\n cardinality: \"0..1\"\n slotName: link\n relation:\n cardinality: \"1\"\n slotName: body";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype.
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.component.ctablock a ds:Component;
6
6
  ds:name "CTABlock";
7
7
  ds:summary "A CTA (call to action) block is is used to encourage users to take a specific action. This could be to learn more details about a product, contact someone, or to download a file.";
8
8
  ds:anatomyDsl "---\nnode:\n uri: vanilla.pattern.cta-block\n styles:\n layout.type: stack\n layout.direction: vertical\n size.width: fill\n spacing.padding.vertical: spacing/x-large\n spacing.padding.horizontal: spacing/large\n appearance.background: color/surface/cta\n edges:\n - node:\n role: cta inner container\n styles:\n layout.type: grid\n layout.direction: horizontal\n layout.align: center\n spacing.gap: spacing/x-large\n size.max.width: size/container/max\n spacing.margin.horizontal: auto\n edges:\n - node:\n uri: vanilla.subcomponent.cta-block_content\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 1\n spacing.gap: spacing/small\n edges:\n - node:\n role: title text\n styles:\n typography.size: font/size/heading/3\n typography.weight: font/weight/bold\n typography.color: color/text/cta\n relation:\n cardinality: \"1\"\n slotName: title\n - node:\n role: body text\n styles:\n typography.size: font/size/medium\n typography.color: color/text/cta-muted\n size.max.width: size/text/readable\n relation:\n cardinality: \"0..1\"\n slotName: body\n relation:\n cardinality: \"1\"\n slotName: content\n - node:\n uri: vanilla.subcomponent.cta-block_actions\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.wrap: wrap\n layout.align: center\n layout.flex-shrink: 0\n spacing.gap: spacing/medium\n edges:\n - switch:\n on: override\n cases:\n - uri: vanilla.component.button\n - uri: $custom\n relation:\n cardinality: \"1..*\"\n relation:\n cardinality: \"1\"\n slotName: actions\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype.
@@ -6,7 +6,11 @@ ds:sites_webcomponentsprototype.component.list a ds:Component;
6
6
  ds:name "List";
7
7
  ds:summary "**Lists** is a versatile component providing seven distinct variants for presenting sequential or grouped content. The variant is selected via a prop, making it a single polymorphic component.\n\nTable 1";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
- ds:tier ds:sites_webcomponentsprototype.
11
+ ds:tier ds:sites_webcomponentsprototype;
12
+ ds:changeLog [
13
+ a ds:ChangeLogEntry;
14
+ ds:timestamp "2026-12-02T00:00:00.000+01:00";
15
+ ds:changeType "decision"
16
+ ].
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.component.tabs a ds:Component;
6
6
  ds:name "Tabs";
7
7
  ds:summary "**Tabs** is a navigation pattern that organises content into multiple panels, only one of which is visible at a time. A horizontal **tab bar** presents a row of clickable tab items, each corresponding to a **content panel** below. Selecting a tab reveals its associated panel while hiding all others.";
8
8
  ds:anatomyDsl "---\nnode:\n uri: vanilla.pattern.tabs\n styles:\n layout.type: stack\n layout.direction: vertical\n size.width: fill\n edges:\n - node:\n uri: vanilla.subcomponent.tabs-nav\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.align: end\n spacing.gap: spacing/none\n appearance.border.bottom: border/style/divider\n layout.overflow.x: auto\n size.width: fill\n edges:\n - node:\n uri: vanilla.subcomponent.tabs-nav_item\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.align: center\n spacing.padding.horizontal: spacing/medium\n spacing.padding.vertical: spacing/small\n typography.size: font/size/medium\n typography.weight: font/weight/regular\n typography.color: color/text/link\n typography.decoration: none\n appearance.background: color/surface/transparent\n appearance.border.bottom: border/style/none\n interaction.cursor: pointer\n layout.white-space: nowrap\n edges:\n - node:\n role: tab label text\n styles:\n typography.size: font/size/medium\n typography.color: color/text/link\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"2..*\"\n relation:\n cardinality: \"1\"\n slotName: nav\n - node:\n uri: vanilla.subcomponent.tabs-content\n styles:\n layout.type: stack\n layout.direction: vertical\n size.width: fill\n edges:\n - node:\n uri: vanilla.subcomponent.tabs-content_panel\n styles:\n layout.type: stack\n layout.direction: vertical\n spacing.internal: spacing/large\n edges:\n - node:\n role: panel content\n styles:\n layout.display: block\n relation:\n cardinality: \"1\"\n slotName: default\n relation:\n cardinality: \"2..*\"\n relation:\n cardinality: \"1\"\n slotName: content";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype.
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.layout.site_layout a ds:Layout;
6
6
  ds:name "SiteLayout";
7
7
  ds:summary "";
8
8
  ds:anatomyDsl "";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype;
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.pattern.basic_section a ds:Pattern;
6
6
  ds:name "BasicSection";
7
7
  ds:summary "**Basic Section** is the foundational page section pattern in the Vanilla Framework. It uses a **side-by-side split layout**, a header column (title and optional subtitle) on the left and a content column (body text and optional CTA) on the right, within a max-width constrained, centred container.";
8
8
  ds:anatomyDsl "---\nnode:\n uri: vanilla.pattern.basic-section\n styles:\n layout.type: stack\n layout.direction: vertical\n size.width: fill\n spacing.padding.vertical: spacing/xx-large\n spacing.padding.horizontal: spacing/large\n appearance.background: color/surface/section?\n edges:\n - node:\n role: section inner container\n styles:\n layout.type: grid\n layout.direction: horizontal\n layout.align: start\n spacing.gap: spacing/x-large\n size.max.width: size/container/max\n spacing.margin.horizontal: auto\n size.width: fill\n edges:\n - node:\n uri: vanilla.subcomponent.basic-section_header\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 1\n spacing.gap: spacing/small\n size.min.width: size/basic-section/header-min\n edges:\n - node:\n role: section title\n styles:\n typography.size: font/size/heading/2\n typography.weight: font/weight/bold\n typography.color: color/text/default\n relation:\n cardinality: \"1\"\n slotName: title\n - node:\n role: section subtitle\n styles:\n typography.size: font/size/large\n typography.color: color/text/muted\n relation:\n cardinality: \"0..1\"\n slotName: subtitle\n relation:\n cardinality: \"1\"\n slotName: header\n - node:\n uri: vanilla.subcomponent.basic-section_content\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 2\n spacing.gap: spacing/medium\n edges:\n - node:\n role: section body content\n styles:\n typography.size: font/size/medium\n typography.color: color/text/default\n size.max.width: size/text/readable\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: vanilla.subcomponent.basic-section_content-cta\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.wrap: wrap\n layout.align: center\n spacing.gap: spacing/medium\n spacing.margin.top: spacing/small\n edges:\n - switch:\n on: override\n cases:\n - uri: vanilla.component.button\n - uri: $custom\n relation:\n cardinality: \"1..*\"\n relation:\n cardinality: \"0..1\"\n slotName: cta\n relation:\n cardinality: \"1\"\n slotName: content\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype.
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.pattern.blog_section a ds:Pattern;
6
6
  ds:name "BlogSection";
7
7
  ds:summary "**Blog Section** is a page-level pattern for showcasing a collection of blog post preview cards within a titled section. It combines a **section header** (title and optional \"view all\" link) with a responsive **card grid** where each card presents a blog post through an optional image, metadata, title, excerpt, and read-more link.";
8
8
  ds:anatomyDsl "---\nnode:\n uri: vanilla.pattern.blog-section\n styles:\n layout.type: stack\n layout.direction: vertical\n size.width: fill\n spacing.padding.vertical: spacing/xx-large\n spacing.padding.horizontal: spacing/large\n appearance.background: color/surface/section\n edges:\n - node:\n role: blog section inner container\n styles:\n layout.type: stack\n layout.direction: vertical\n spacing.gap: spacing/x-large\n size.max.width: size/container/max\n spacing.margin.horizontal: auto\n size.width: fill\n edges:\n - node:\n uri: vanilla.subcomponent.blog-section_header\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.justify: space-between\n layout.align: baseline\n layout.wrap: wrap\n spacing.gap: spacing/medium\n size.width: fill\n edges:\n - node:\n role: section title\n styles:\n typography.size: font/size/heading/2\n typography.weight: font/weight/bold\n typography.color: color/text/default\n relation:\n cardinality: \"1\"\n slotName: title\n - node:\n role: view all link\n styles:\n typography.size: font/size/medium\n typography.color: color/text/link\n typography.decoration: none\n interaction.cursor: pointer\n relation:\n cardinality: \"0..1\"\n slotName: link\n relation:\n cardinality: \"1\"\n slotName: header\n - node:\n uri: vanilla.subcomponent.blog-section_grid\n styles:\n layout.type: grid\n layout.direction: horizontal\n layout.wrap: wrap\n layout.align-items: stretch\n spacing.gap: spacing/large\n size.width: fill\n edges:\n - node:\n uri: vanilla.subcomponent.blog-section_card\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 1\n size.min.width: size/blog-card/min\n size.height: fill\n appearance.background: color/surface/card\n appearance.radius: shape/rounded/medium\n appearance.shadow: shadow/card?\n layout.overflow: hidden\n edges:\n - node:\n uri: vanilla.subcomponent.blog-section_card-image\n styles:\n layout.display: block\n size.width: fill\n size.height: size/blog-card/image\n object.fit: cover\n layout.flex-shrink: 0\n relation:\n cardinality: \"0..1\"\n slotName: image\n - node:\n uri: vanilla.subcomponent.blog-section_card-body\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 1\n spacing.internal: spacing/medium\n spacing.gap: spacing/small\n edges:\n - node:\n uri: vanilla.subcomponent.blog-section_card-meta\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.wrap: wrap\n layout.align: center\n spacing.gap: spacing/small\n edges:\n - node:\n role: topic label\n styles:\n typography.size: font/size/small\n typography.weight: font/weight/bold\n typography.color: color/text/link\n typography.transform: uppercase\n typography.letter-spacing: typography/letter-spacing/wide\n relation:\n cardinality: \"0..1\"\n - node:\n role: publish date\n styles:\n typography.size: font/size/small\n typography.color: color/text/muted\n relation:\n cardinality: \"0..1\"\n - node:\n role: author name\n styles:\n typography.size: font/size/small\n typography.color: color/text/muted\n relation:\n cardinality: \"0..1\"\n relation:\n cardinality: \"0..1\"\n slotName: meta\n - node:\n role: post title\n styles:\n typography.size: font/size/heading/4\n typography.weight: font/weight/bold\n typography.color: color/text/default\n relation:\n cardinality: \"1\"\n slotName: title\n - node:\n role: post excerpt\n styles:\n typography.size: font/size/medium\n typography.color: color/text/muted\n layout.flex: 1\n relation:\n cardinality: \"0..1\"\n slotName: excerpt\n - node:\n role: read more link\n styles:\n typography.size: font/size/medium\n typography.color: color/text/link\n typography.decoration: none\n interaction.cursor: pointer\n spacing.margin.top: auto\n relation:\n cardinality: \"0..1\"\n slotName: link\n relation:\n cardinality: \"1\"\n slotName: body\n relation:\n cardinality: \"1..*\"\n relation:\n cardinality: \"1\"\n slotName: grid\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype.
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.pattern.ctasection a ds:Pattern;
6
6
  ds:name "CTASection";
7
7
  ds:summary "**CTA Section** is a full-width page section pattern designed to persuade users to take action by combining a header, optional supporting content, and a prominent call-to-action row. Unlike the compact CTA Block, a CTA Section provides space for richer content, such as a grid of feature items with icons, titles, and descriptions, making it suitable for more detailed persuasion before the call-to-action.";
8
8
  ds:anatomyDsl "---\nnode:\n uri: vanilla.pattern.cta-section\n styles:\n layout.type: stack\n layout.direction: vertical\n size.width: fill\n spacing.padding.vertical: spacing/xx-large\n spacing.padding.horizontal: spacing/large\n appearance.background: color/surface/section\n edges:\n - node:\n role: section inner container\n styles:\n layout.type: stack\n layout.direction: vertical\n spacing.gap: spacing/x-large\n size.max.width: size/container/max\n spacing.margin.horizontal: auto\n size.width: fill\n edges:\n - node:\n uri: vanilla.subcomponent.cta-section_header\n styles:\n layout.type: stack\n layout.direction: vertical\n spacing.gap: spacing/small\n size.max.width: size/text/readable-wide\n edges:\n - node:\n role: section title\n styles:\n typography.size: font/size/heading/2\n typography.weight: font/weight/bold\n typography.color: color/text/default\n relation:\n cardinality: \"1\"\n slotName: title\n - node:\n role: section subtitle\n styles:\n typography.size: font/size/large\n typography.color: color/text/muted\n size.max.width: size/text/readable\n relation:\n cardinality: \"0..1\"\n slotName: subtitle\n relation:\n cardinality: \"1\"\n slotName: header\n - node:\n uri: vanilla.subcomponent.cta-section_body\n styles:\n layout.type: grid\n layout.direction: horizontal\n layout.wrap: wrap\n layout.align: start\n spacing.gap: spacing/large\n size.width: fill\n edges:\n - node:\n uri: vanilla.subcomponent.cta-section_body-item\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 1\n size.min.width: size/cta-section/item-min\n spacing.gap: spacing/small\n edges:\n - node:\n role: item icon or image\n styles:\n size.width: size/icon/large\n size.height: size/icon/large\n layout.flex-shrink: 0\n relation:\n cardinality: \"0..1\"\n slotName: icon\n - node:\n role: item title\n styles:\n typography.size: font/size/heading/4\n typography.weight: font/weight/bold\n typography.color: color/text/default\n relation:\n cardinality: \"0..1\"\n slotName: title\n - node:\n role: item description\n styles:\n typography.size: font/size/medium\n typography.color: color/text/muted\n relation:\n cardinality: \"0..1\"\n slotName: description\n relation:\n cardinality: \"1..*\"\n relation:\n cardinality: \"0..1\"\n slotName: body\n - node:\n uri: vanilla.subcomponent.cta-section_cta\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.wrap: wrap\n layout.align: center\n spacing.gap: spacing/medium\n spacing.padding.top: spacing/medium\n appearance.border.top: border/style/divider?\n edges:\n - switch:\n on: override\n cases:\n - uri: vanilla.component.button\n - uri: $custom\n relation:\n cardinality: \"1..*\"\n relation:\n cardinality: \"1\"\n slotName: cta\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype.
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.pattern.equal_heights a ds:Pattern;
6
6
  ds:name "EqualHeights";
7
7
  ds:summary "**Equal Heights** is a layout pattern that arranges sibling content items in a responsive horizontal grid where all items share the same height, regardless of individual content length. It uses CSS stretch alignment to enforce height equalisation and flexbox auto-margins to keep footers pinned to the bottom of each item.";
8
8
  ds:anatomyDsl "---\nnode:\n uri: vanilla.pattern.equal-heights\n styles:\n layout.type: grid\n layout.direction: horizontal\n layout.wrap: wrap\n layout.align-items: stretch\n size.width: fill\n spacing.gap: spacing/large\n edges:\n - node:\n uri: vanilla.subcomponent.equal-heights_item\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 1\n size.min.width: size/equal-heights/item-min\n size.height: fill\n spacing.gap: spacing/medium\n edges:\n - node:\n uri: vanilla.subcomponent.equal-heights_item-media\n styles:\n layout.display: block\n size.width: fill\n size.height: size/equal-heights/media\n object.fit: cover\n appearance.radius: shape/rounded/top\n layout.flex-shrink: 0\n relation:\n cardinality: \"0..1\"\n slotName: media\n - node:\n uri: vanilla.subcomponent.equal-heights_item-content\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 1\n spacing.gap: spacing/small\n spacing.internal: spacing/medium\n edges:\n - node:\n role: content title\n styles:\n typography.size: font/size/heading/4\n typography.weight: font/weight/bold\n typography.color: color/text/default\n relation:\n cardinality: \"0..1\"\n slotName: title\n - node:\n role: content body\n styles:\n typography.size: font/size/medium\n typography.color: color/text/muted\n layout.flex: 1\n relation:\n cardinality: \"0..1\"\n slotName: body\n relation:\n cardinality: \"1\"\n slotName: content\n - node:\n uri: vanilla.subcomponent.equal-heights_item-footer\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.align: center\n layout.wrap: wrap\n spacing.gap: spacing/small\n spacing.internal: spacing/medium\n spacing.margin.top: auto\n appearance.border.top: border/style/divider\n edges:\n - node:\n role: footer content\n styles:\n layout.display: block\n relation:\n cardinality: \"1\"\n slotName: default\n relation:\n cardinality: \"0..1\"\n slotName: footer\n relation:\n cardinality: \"2..*\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype.
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.pattern.hero a ds:Pattern;
6
6
  ds:name "Hero";
7
7
  ds:summary "**Hero** is a prominent full-width banner pattern used at the top of pages to introduce key content and drive user action. It employs a two-column grid layout, a **content column** on one side and an optional **media column** on the other, within a max-width constrained inner container.";
8
8
  ds:anatomyDsl "---\nnode:\n uri: vanilla.pattern.hero\n styles:\n layout.type: stack\n layout.direction: vertical\n size.width: fill\n spacing.padding.vertical: spacing/xx-large\n appearance.background: color/surface/hero\n edges:\n - node:\n role: hero inner container\n styles:\n layout.type: grid\n layout.direction: horizontal\n layout.align: center\n spacing.gap: spacing/x-large\n size.max.width: size/container/max\n spacing.margin.horizontal: auto\n spacing.padding.horizontal: spacing/large\n edges:\n - node:\n uri: vanilla.subcomponent.hero-content\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 1\n spacing.gap: spacing/medium\n edges:\n - node:\n role: signpost eyebrow\n styles:\n typography.size: font/size/small\n typography.weight: font/weight/bold\n typography.color: color/text/muted\n typography.transform: uppercase\n typography.letter-spacing: typography/letter-spacing/wide\n relation:\n cardinality: \"0..1\"\n slotName: signpost\n - node:\n role: headline text\n styles:\n typography.size: font/size/heading/1\n typography.weight: font/weight/bold\n typography.color: color/text/hero\n relation:\n cardinality: \"1\"\n slotName: title\n - node:\n role: subtitle text\n styles:\n typography.size: font/size/heading/4\n typography.weight: font/weight/light\n typography.color: color/text/hero-muted\n relation:\n cardinality: \"0..1\"\n slotName: subtitle\n - node:\n role: body text\n styles:\n typography.size: font/size/large\n typography.color: color/text/hero-muted\n size.max.width: size/text/readable\n relation:\n cardinality: \"0..1\"\n slotName: body\n - node:\n uri: vanilla.subcomponent.hero-content_cta-group\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.wrap: wrap\n layout.align: center\n spacing.gap: spacing/medium\n spacing.margin.top: spacing/small\n edges:\n - switch:\n on: override\n cases:\n - uri: vanilla.component.button\n - uri: $custom\n relation:\n cardinality: \"1..*\"\n relation:\n cardinality: \"0..1\"\n slotName: cta\n relation:\n cardinality: \"1\"\n slotName: content\n - node:\n uri: vanilla.subcomponent.hero-media\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.align: center\n layout.justify: center\n layout.flex: 1\n edges:\n - switch:\n on: props\n cases:\n - node:\n uri: vanilla.subcomponent.hero-media_image\n styles:\n size.max.width: fill\n size.height: auto\n object.fit: contain\n appearance.radius: shape/rounded/medium\n - node:\n uri: vanilla.subcomponent.hero-media_video\n styles:\n size.width: fill\n size.height: auto\n object.fit: contain\n appearance.radius: shape/rounded/medium\n relation:\n cardinality: \"1\"\n slotName: default\n relation:\n cardinality: \"0..1\"\n slotName: media\n relation:\n cardinality: \"1\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype.
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.pattern.logo_section a ds:Pattern;
6
6
  ds:name "LogoSection";
7
7
  ds:summary "**Logo Section** is a presentational pattern for showcasing a collection of logos in a uniform grid layout, optionally introduced by a centred heading. It is typically used to display partner, client, technology, or certification logos as a trust-building element on landing pages and marketing content.";
8
8
  ds:anatomyDsl "---\nnode:\n uri: vanilla.pattern.logo-section\n styles:\n layout.type: stack\n layout.direction: vertical\n size.width: fill\n spacing.gap: spacing/large\n spacing.padding.vertical: spacing/x-large\n edges:\n - node:\n uri: vanilla.subcomponent.logo-section_heading\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.align: center\n spacing.gap: spacing/small\n edges:\n - node:\n role: section title\n styles:\n typography.size: font/size/heading/4\n typography.weight: font/weight/bold\n typography.color: color/text/default\n typography.align: center\n relation:\n cardinality: \"1\"\n - node:\n role: section subtitle\n styles:\n typography.size: font/size/medium\n typography.color: color/text/muted\n typography.align: center\n relation:\n cardinality: \"0..1\"\n relation:\n cardinality: \"0..1\"\n slotName: heading\n - node:\n uri: vanilla.subcomponent.logo-section_grid\n styles:\n layout.type: grid\n layout.direction: horizontal\n layout.align: center\n layout.justify: center\n layout.wrap: wrap\n spacing.gap: spacing/large\n size.width: fill\n edges:\n - node:\n uri: vanilla.subcomponent.logo-section_grid-item\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.align: center\n layout.justify: center\n size.width: size/logo-cell/width\n size.height: size/logo-cell/height\n spacing.internal: spacing/medium\n edges:\n - node:\n role: logo image\n styles:\n size.max.width: fill\n size.max.height: fill\n object.fit: contain\n relation:\n cardinality: \"1\"\n slotName: default\n relation:\n cardinality: \"2..*\"\n relation:\n cardinality: \"1\"\n slotName: grid";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype.
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.pattern.quote_wrapper a ds:Pattern;
6
6
  ds:name "QuoteWrapper";
7
7
  ds:summary "**Quote Wrapper** is a presentational pattern for displaying a highlighted quotation with optional attribution. It pairs a visually distinct **blockquote**, marked by a left accent border and italic typography, with an optional **citation block** that identifies the source through a name, role/organisation, and an optional avatar image.";
8
8
  ds:anatomyDsl "---\nnode:\n uri: vanilla.pattern.quote-wrapper\n styles:\n layout.type: stack\n layout.direction: vertical\n size.width: fill\n spacing.internal: spacing/large\n spacing.padding.vertical: spacing/x-large\n edges:\n - node:\n uri: vanilla.subcomponent.quote-wrapper_quote\n styles:\n layout.type: stack\n layout.direction: vertical\n spacing.gap: spacing/medium\n spacing.padding.left: spacing/large\n appearance.border.left: border/style/accent\n edges:\n - node:\n role: quotation text\n styles:\n typography.size: font/size/large\n typography.weight: font/weight/light\n typography.color: color/text/default\n typography.style: italic\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1\"\n slotName: quote\n - node:\n uri: vanilla.subcomponent.quote-wrapper_citation\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.align: center\n spacing.gap: spacing/medium\n edges:\n - node:\n uri: vanilla.subcomponent.quote-wrapper_citation-image\n styles:\n size.width: size/avatar/medium\n size.height: size/avatar/medium\n appearance.radius: shape/rounded/full\n object.fit: cover\n relation:\n cardinality: \"0..1\"\n slotName: image\n - node:\n uri: vanilla.subcomponent.quote-wrapper_citation-text\n styles:\n layout.type: stack\n layout.direction: vertical\n spacing.gap: spacing/xx-small\n edges:\n - node:\n role: citation name\n styles:\n typography.size: font/size/medium\n typography.weight: font/weight/bold\n typography.color: color/text/default\n relation:\n cardinality: \"1\"\n - node:\n role: citation role and organisation\n styles:\n typography.size: font/size/small\n typography.color: color/text/muted\n relation:\n cardinality: \"0..1\"\n relation:\n cardinality: \"1\"\n slotName: text\n relation:\n cardinality: \"0..1\"\n slotName: citation";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype.
@@ -6,7 +6,6 @@ ds:sites_webcomponentsprototype.pattern.tiered_list a ds:Pattern;
6
6
  ds:name "Tiered list";
7
7
  ds:summary "A **tiered list** is a structured layout pattern used to present grouped content in a tabular, multi-column format. Each row pairs a **title section** (with an optional description) on the left with one or more **tier columns** on the right, separated by horizontal dividers. It is commonly used for pricing tables, feature comparisons, service breakdowns, or any content that benefits from side-by-side categorisation across tiers.";
8
8
  ds:anatomyDsl "---\nnode:\n uri: vanilla.pattern.tiered-list\n styles:\n layout.type: stack\n layout.direction: vertical\n size.width: fill\n appearance.border.top: border/style/divider\n edges:\n - node:\n uri: vanilla.subcomponent.tiered-list-item\n styles:\n layout.type: grid\n layout.direction: horizontal\n layout.align: start\n spacing.internal: spacing/large\n appearance.border.bottom: border/style/divider\n spacing.padding.top: spacing/large\n spacing.padding.bottom: spacing/large\n edges:\n - node:\n uri: vanilla.subcomponent.tiered-list-item_title\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 1\n spacing.gap: spacing/small\n edges:\n - node:\n role: heading text\n styles:\n typography.size: font/size/heading/4\n typography.weight: font/weight/bold\n typography.color: color/text/default\n relation:\n cardinality: \"1\"\n - node:\n role: description text\n styles:\n typography.size: font/size/medium\n typography.color: color/text/muted\n relation:\n cardinality: \"0..1\"\n relation:\n cardinality: \"1\"\n slotName: title\n - node:\n uri: vanilla.subcomponent.tiered-list-item_tiers\n styles:\n layout.type: grid\n layout.direction: horizontal\n layout.align: start\n layout.flex: 2\n spacing.gap: spacing/large\n edges:\n - node:\n uri: vanilla.subcomponent.tiered-list-item_tier\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.flex: 1\n spacing.gap: spacing/x-small\n edges:\n - node:\n role: tier heading\n styles:\n typography.size: font/size/small\n typography.weight: font/weight/bold\n typography.color: color/text/default\n relation:\n cardinality: \"0..1\"\n - node:\n role: tier content\n styles:\n typography.size: font/size/medium\n typography.color: color/text/muted\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1..*\"\n relation:\n cardinality: \"1\"\n slotName: tiers\n relation:\n cardinality: \"1..*\"";
9
- ds:anatomyClassic "";
10
9
  ds:usage "";
11
10
  ds:guidelines "";
12
11
  ds:tier ds:sites_webcomponentsprototype.
@@ -3,4 +3,5 @@
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
5
  ds:sites_webcomponentsprototype a ds:Tier;
6
- ds:name "Sites/WebComponentsPrototype".
6
+ ds:name "Sites/WebComponentsPrototype";
7
+ ds:sort 3.0.
@@ -70,30 +70,35 @@ ds:Component
70
70
  a owl:Class ;
71
71
  rdfs:subClassOf ds:UIBlock ;
72
72
  rdfs:label "Component" ;
73
+ ds:sort 2.0 ;
73
74
  skos:definition "An implementable piece of user interface defined by its appearance and behaviour" .
74
75
 
75
76
  ds:Pattern
76
77
  a owl:Class ;
77
78
  rdfs:subClassOf ds:UIBlock ;
78
79
  rdfs:label "Pattern" ;
80
+ ds:sort 3.0 ;
79
81
  skos:definition "A reusable solution to a recurring user problem in a specific context" .
80
82
 
81
83
  ds:Layout
82
84
  a owl:Class ;
83
85
  rdfs:subClassOf ds:UIBlock ;
84
86
  rdfs:label "Layout" ;
87
+ ds:sort 4.0 ;
85
88
  skos:definition "Layouts are an opinionated division of space to navigate a domain of information." .
86
89
 
87
90
  ds:Subcomponent
88
91
  a owl:Class ;
89
92
  rdfs:subClassOf ds:UIBlock ;
90
93
  rdfs:label "Subcomponent" ;
94
+ ds:sort 1.0 ;
91
95
  skos:definition "A named part of a Component that has design-system identity but is typically not used independently outside its parent" .
92
96
 
93
97
  ds:Group
94
98
  a owl:Class ;
95
99
  rdfs:subClassOf ds:UIBlock ;
96
100
  rdfs:label "Group" ;
101
+ ds:sort 2.5 ;
97
102
  skos:definition "A set of sibling UIBlocks documented and used together as a collective unit, where the collection itself carries design-system identity distinct from its members (e.g. a coherent icon set, a family of related chips). Distinct from a Layout (which arranges space) and a Pattern (a single situated solution): a Group's identity is the collection." .
98
103
 
99
104
  ###############################################################################
@@ -118,6 +123,34 @@ ds:State
118
123
  rdfs:label "State" ;
119
124
  skos:definition "A condition of a UI block that changes or signals the availability, progress or history of its content and actions." .
120
125
 
126
+ ds:ThemeModifier
127
+ a owl:Class ;
128
+ rdfs:subClassOf ds:Modifier ;
129
+ rdfs:label "Theme Modifier" ;
130
+ ds:sort 1.0 ;
131
+ skos:definition "A modifier that expresses a brand. It is set at shell level, changes how blocks are perceived, and cascades to every child." .
132
+
133
+ ds:ModeModifier
134
+ a owl:Class ;
135
+ rdfs:subClassOf ds:Modifier ;
136
+ rdfs:label "Mode Modifier" ;
137
+ ds:sort 2.0 ;
138
+ skos:definition "A modifier that adapts the interface to its user and their environment, such as color, contrast, color vision or density. It is set at shell level, changes how blocks are perceived, and cascades to every child." .
139
+
140
+ ds:SurfaceModifier
141
+ a owl:Class ;
142
+ rdfs:subClassOf ds:Modifier ;
143
+ rdfs:label "Surface Modifier" ;
144
+ ds:sort 3.0 ;
145
+ skos:definition "A modifier that places a block on a layer of its surface stack. It is set at layout or local level, changes how blocks are perceived, and resets with each elevated layer, which starts a new stack." .
146
+
147
+ ds:SemanticModifier
148
+ a owl:Class ;
149
+ rdfs:subClassOf ds:Modifier ;
150
+ rdfs:label "Semantic Modifier" ;
151
+ ds:sort 4.0 ;
152
+ skos:definition "A modifier that says what a block means, such as its importance, severity or release stage. It is set on the block itself, changes how the block is understood and sometimes how it is perceived, and does not cascade." .
153
+
121
154
  ds:Property
122
155
  a owl:Class ;
123
156
  rdfs:subClassOf ds:Entity ;
@@ -194,6 +227,12 @@ ds:summary
194
227
  ds:acceptanceCriteria "Concise paragraph (3-5 sentences) that clearly describes the purpose of the entity, lists at least 2-3 use cases, and is written in a clear and accessible way. Enables readers to quickly determine if this is the right component for their needs." ;
195
228
  ds:completionGuidance "Write an introduction that gives a quick overview of the entity. Start with the primary purpose and list all the main use cases. Make sure to include information that can help users decide if this is the right element they need." .
196
229
 
230
+ ds:sort
231
+ a owl:DatatypeProperty, owl:FunctionalProperty ;
232
+ rdfs:range xsd:decimal ;
233
+ rdfs:label "sort" ;
234
+ skos:definition "The position of an entity among the members of its set, such as a tier among tiers or a modifier among the values of its family, or of a type class among its sibling classes, such as ds:ModeModifier among the modifier types. Lower values come first; equal values have no order between them. It has no rdfs:domain, because it describes classes as well as entities." .
235
+
197
236
  ds:version
198
237
  a owl:DatatypeProperty, owl:FunctionalProperty ;
199
238
  rdfs:domain ds:Entity ;
@@ -363,6 +402,13 @@ ds:hasModifier
363
402
  rdfs:label "hasModifier" ;
364
403
  skos:definition "Modifiers belonging to this modifier family" .
365
404
 
405
+ ds:modifierType
406
+ a owl:ObjectProperty, owl:FunctionalProperty ;
407
+ rdfs:domain ds:ModifierFamily ;
408
+ rdfs:range owl:Class ;
409
+ rdfs:label "modifierType" ;
410
+ skos:definition "The type every value of this family belongs to: ds:ThemeModifier, ds:ModeModifier, ds:SurfaceModifier or ds:SemanticModifier, each a subclass of ds:Modifier. Each value of the family is typed with it." .
411
+
366
412
  ###############################################################################
367
413
  # 7. PROPERTIES - Class-Specific
368
414
  ###############################################################################
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "types": "src/index.ts",
5
5
  "type": "module",
6
6
  "license": "LGPL-3.0",
7
- "version": "0.47.0",
7
+ "version": "0.49.0-experimental.0",
8
8
  "bin": {
9
9
  "collect-implementations": "./src/collect-implementations.ts"
10
10
  },
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@biomejs/biome": "^2.3.14",
32
- "@canonical/biome-config": "^0.47.0",
33
- "@canonical/typescript-config": "^0.47.0",
32
+ "@canonical/biome-config": "^0.48.0",
33
+ "@canonical/typescript-config": "^0.48.0",
34
34
  "@types/bun": "latest",
35
35
  "@types/jsonld": "^1.5.15",
36
36
  "@types/n3": "^1.26.1",
@@ -43,8 +43,8 @@
43
43
  "vitest": "^5.0.0"
44
44
  },
45
45
  "dependencies": {
46
- "@canonical/anatomy-dsl": "^0.47.0",
47
- "@canonical/token-ontology": "^0.47.0",
46
+ "@canonical/anatomy-dsl": "^0.49.0-experimental.0",
47
+ "@canonical/token-ontology": "^0.49.0-experimental.0",
48
48
  "ajv": "^8.17.1",
49
49
  "jsonld": "^9.0.0",
50
50
  "n3": "^2.0.1",
@@ -68,5 +68,5 @@
68
68
  "url": "https://github.com/canonical/pragma-core/issues"
69
69
  },
70
70
  "homepage": "https://github.com/canonical/pragma-core#readme",
71
- "gitHead": "f9c8577bbd5e4657e793b7092c3931102714b8ca"
71
+ "gitHead": "56fba63990eb7065a58e0e995b137f03833ec83e"
72
72
  }
@@ -243,8 +243,8 @@ it would accept.
243
243
 
244
244
  **A symbol's coverage — which families may rebind it — is `token lookup`'s
245
245
  `### Covered by` section**, not `modifier lookup`'s. `pragma modifier lookup
246
- Criticality` answers with the family's `### Values` (Error, Information, Success,
247
- Warning) and is the read for what a family offers; `pragma token lookup color.text`
246
+ Severity` answers with the family's `### Values` (Information, Warning,
247
+ Error) and is the read for what a family offers; `pragma token lookup color.text`
248
248
  answers with the families that reach it. Audit from both ends: a family with values
249
249
  nothing covers, and a symbol no family covers, are different findings.
250
250
 
@@ -252,13 +252,13 @@ The family end has no verb of its own — the predicate is `dt:covers`, and the
252
252
  below is the read (the Family Coverage query under Key Queries lists it per family):
253
253
 
254
254
  ```bash
255
- pragma graph query "SELECT ?symbol WHERE { ds:global.modifier_family.criticality dt:covers ?symbol }"
255
+ pragma graph query "SELECT ?symbol WHERE { ds:global.modifier_family.severity dt:covers ?symbol }"
256
256
  ```
257
257
 
258
258
  `modifier lookup` renders the family's values and nothing else, so the family's OWN
259
259
  documentation fields never appear in it — a family with a blank `ds:summary` looks
260
260
  identical to a documented one. For a quality finding about the family itself, inspect
261
- it: `pragma graph inspect ds:global.modifier_family.criticality`. This is the
261
+ it: `pragma graph inspect ds:global.modifier_family.severity`. This is the
262
262
  present-but-blank trap again, one level up from the blocks.
263
263
 
264
264
  `pragma variable lookup modifier-color-text` is the third view of the same fact, and
@@ -409,7 +409,7 @@ still be the wrong symbol for the property you are writing — `anatomy-author`
409
409
  the per-key namespaces, and `anatomies validate --authored` is what enforces them.
410
410
 
411
411
  **`token values --symbol <symbol>`** is one row per position. For a channel it shows
412
- the routing: `modifier.color.text | criticality.error | color.text.error` says that
412
+ the routing: `modifier.color.text | severity.error | color.text.error` says that
413
413
  under `.error`, reading the channel gets you the error text colour. For a flat symbol
414
414
  it shows the resolved value per coordinate, `mode.dark` included.
415
415
 
@@ -328,7 +328,7 @@ renders SKILL.md only — open that file directly for the complete spec).
328
328
 
329
329
  **A modifier family the spec claims is expressed in the anatomy by CONSUMING its
330
330
  channel, never by naming it.** There is no style key, `@state` or `switch`
331
- discriminator that takes a family name, so an anatomy that supports Criticality on its
331
+ discriminator that takes a family name, so an anatomy that supports Severity on its
332
332
  fill colour says so by binding the channel of the symbol the fill reads —
333
333
  `appearance.background: [modifier.color.foreground.primary, color.foreground.primary]`
334
334
  for a filled surface, `typography.color: [modifier.color.text, color.text]` for text.
@@ -38,13 +38,19 @@ export default class GraphStore {
38
38
  * @param subject - Subject URI (e.g., "ds:button")
39
39
  * @param predicate - Predicate URI (e.g., "ds:name")
40
40
  * @param value - Literal string value
41
+ * @param datatype - Datatype URI; absent → a plain string literal
41
42
  */
42
- addLiteral(subject: string, predicate: string, value: string): void {
43
+ addLiteral(
44
+ subject: string,
45
+ predicate: string,
46
+ value: string,
47
+ datatype?: string,
48
+ ): void {
43
49
  this.store.addQuad(
44
50
  quad(
45
51
  namedNode(subject),
46
52
  namedNode(predicate),
47
- literal(value),
53
+ datatype ? literal(value, namedNode(datatype)) : literal(value),
48
54
  defaultGraph(),
49
55
  ),
50
56
  );
@@ -1,9 +0,0 @@
1
- @prefix ds: <https://ds.canonical.com/>.
2
- @prefix anatomy: <https://anatomy.canonical.com/>.
3
- @prefix dt: <https://dt.canonical.com/>.
4
-
5
- ds:global.modifier_family.criticality a ds:ModifierFamily;
6
- ds:name "Criticality";
7
- ds:summary "";
8
- ds:tier ds:global;
9
- ds:hasModifier ds:global.modifier.success, ds:global.modifier.information, ds:global.modifier.warning, ds:global.modifier.error.