@canonical/design-system 0.2.5 → 0.43.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 (550) hide show
  1. package/LICENSE +166 -0
  2. package/README.md +255 -14
  3. package/data/apps/component/file_tree.ttl +2 -0
  4. package/data/apps/component/key_value_pair.ttl +2 -0
  5. package/data/apps/component/navigation.ttl +2 -0
  6. package/data/apps/component/notification.ttl +2 -0
  7. package/data/apps/component/side_navigation.ttl +2 -0
  8. package/data/apps/component/skeleton_loading.ttl +2 -0
  9. package/data/apps/component/status_bar.ttl +2 -0
  10. package/data/apps/component/toolbar.ttl +2 -0
  11. package/data/apps/group/key_value_pairs.ttl +2 -0
  12. package/data/apps/group/notifications.ttl +2 -0
  13. package/data/apps/layout/application_layout.ttl +2 -0
  14. package/data/apps/layout/content_layout.ttl +2 -0
  15. package/data/apps/layout/empty_layout.ttl +2 -0
  16. package/data/apps/layout/empty_state.ttl +13 -0
  17. package/data/apps/layout/list_page_layout.ttl +2 -0
  18. package/data/apps/layout/settings_page_layout.ttl +2 -0
  19. package/data/apps/layout/view_layout.ttl +2 -0
  20. package/data/apps/pattern/action_bar.ttl +4 -2
  21. package/data/apps/pattern/code_diff.ttl +2 -0
  22. package/data/apps/pattern/{data_table.ttl → datatable.ttl} +27 -25
  23. package/data/apps/pattern/destructive_modal.ttl +2 -0
  24. package/data/apps/pattern/drawer.ttl +2 -0
  25. package/data/apps/pattern/keyboard_shortcuts.ttl +2 -0
  26. package/data/apps/pattern/notification_center.ttl +4 -2
  27. package/data/apps/pattern/side_panel.ttl +39 -4
  28. package/data/apps/pattern/sidepanel_stacked.ttl +2 -0
  29. package/data/apps/subcomponent/data_table-action_bar.ttl +7 -5
  30. package/data/apps/subcomponent/data_table-body_cell.ttl +27 -25
  31. package/data/apps/subcomponent/data_table-group_header_row.ttl +10 -8
  32. package/data/apps/subcomponent/data_table-header_cell.ttl +13 -11
  33. package/data/apps/subcomponent/data_table-pagination_bar.ttl +11 -9
  34. package/data/apps/subcomponent/data_table-persistent_selection.ttl +12 -10
  35. package/data/apps/subcomponent/data_table-settings_menu.ttl +17 -15
  36. package/data/apps/subcomponent/drawer-content.ttl +2 -0
  37. package/data/apps/subcomponent/drawer-footer.ttl +2 -0
  38. package/data/apps/subcomponent/drawer-header.ttl +2 -0
  39. package/data/apps/subcomponent/file_tree-node.ttl +2 -0
  40. package/data/apps/subcomponent/log.ttl +2 -0
  41. package/data/apps/subcomponent/side_panel-content.ttl +3 -1
  42. package/data/apps/subcomponent/side_panel-footer.ttl +3 -1
  43. package/data/apps/subcomponent/side_panel-header.ttl +3 -1
  44. package/data/apps.ttl +2 -0
  45. package/data/apps_anbox/component/theme_switcher.ttl +2 -0
  46. package/data/apps_anbox/pattern/side_menu.ttl +2 -0
  47. package/data/apps_anbox.ttl +2 -0
  48. package/data/apps_debcrafters/component/deb_package_card.ttl +12 -0
  49. package/data/apps_debcrafters/component/example.ttl +2 -0
  50. package/data/apps_debcrafters/component/my_fancy_component.ttl +2 -0
  51. package/data/apps_debcrafters.ttl +2 -0
  52. package/data/apps_juju/pattern/single_select_multi_layered.ttl +2 -0
  53. package/data/apps_juju.ttl +2 -0
  54. package/data/apps_landscape/component/checkbox_group.ttl +110 -0
  55. package/data/apps_landscape/component/code_editor.ttl +134 -0
  56. package/data/apps_landscape/component/cron_schedule.ttl +40 -0
  57. package/data/apps_landscape/component/expandable_radio_group.ttl +106 -0
  58. package/data/apps_landscape/component/expandable_truncation.ttl +50 -0
  59. package/data/apps_landscape/component/form_section.ttl +33 -0
  60. package/data/apps_landscape/component/gpg_key_field.ttl +86 -0
  61. package/data/apps_landscape/component/grouped_select.ttl +137 -0
  62. package/data/apps_landscape/component/loading_state.ttl +30 -0
  63. package/data/apps_landscape/component/managed_file_input.ttl +75 -0
  64. package/data/apps_landscape/component/multi_select_field.ttl +323 -0
  65. package/data/apps_landscape/component/pass_rate_filter.ttl +13 -0
  66. package/data/apps_landscape/component/password_constraints.ttl +3 -0
  67. package/data/apps_landscape/component/progress_bar.ttl +100 -0
  68. package/data/apps_landscape/component/read_only_field.ttl +46 -0
  69. package/data/apps_landscape/component/search_help_popup.ttl +51 -0
  70. package/data/apps_landscape/component/search_query_editor.ttl +149 -0
  71. package/data/apps_landscape/component/tag_multi_select.ttl +52 -0
  72. package/data/apps_landscape/pattern/content_blocks.ttl +70 -0
  73. package/data/apps_landscape/pattern/dashboard_page_composition.ttl +110 -0
  74. package/data/apps_landscape/pattern/delivery_scheduling.ttl +24 -0
  75. package/data/apps_landscape/pattern/form_field_help.ttl +67 -0
  76. package/data/apps_landscape/pattern/header_search_controls.ttl +106 -0
  77. package/data/apps_landscape/pattern/ignorable_notification.ttl +60 -0
  78. package/data/apps_landscape/pattern/information_grid.ttl +93 -0
  79. package/data/apps_landscape/pattern/instance_association.ttl +29 -0
  80. package/data/apps_landscape/pattern/process_flow.ttl +52 -0
  81. package/data/apps_landscape/pattern/progressively_expandable_table.ttl +158 -0
  82. package/data/apps_landscape/pattern/recurring_schedule.ttl +21 -0
  83. package/data/apps_landscape/pattern/responsive_action_group.ttl +77 -0
  84. package/data/apps_landscape/pattern/responsive_header_actions.ttl +83 -0
  85. package/data/apps_landscape/pattern/responsive_table_filters.ttl +61 -0
  86. package/data/apps_landscape/pattern/side_panel_form_actions.ttl +126 -0
  87. package/data/apps_landscape/pattern/sortable_list.ttl +50 -0
  88. package/data/apps_landscape/pattern/table_filter.ttl +201 -0
  89. package/data/apps_landscape/pattern/table_filter_chips.ttl +174 -0
  90. package/data/apps_landscape/pattern/table_pagination.ttl +220 -0
  91. package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +88 -0
  92. package/data/apps_landscape/subcomponent/bold_substring.ttl +30 -0
  93. package/data/apps_landscape/subcomponent/inline_cell_input.ttl +36 -0
  94. package/data/apps_landscape/subcomponent/label_with_description.ttl +46 -0
  95. package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +61 -0
  96. package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +36 -0
  97. package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +56 -0
  98. package/data/apps_landscape.ttl +2 -0
  99. package/data/apps_launchpad/component/accordion.ttl +12 -0
  100. package/data/apps_launchpad/component/avatar.ttl +4 -2
  101. package/data/apps_launchpad/component/badge.ttl +4 -2
  102. package/data/apps_launchpad/component/breadcrumbs.ttl +2 -0
  103. package/data/apps_launchpad/component/button.ttl +4 -2
  104. package/data/apps_launchpad/component/checkbox_input.ttl +6 -4
  105. package/data/apps_launchpad/component/chip.ttl +2 -0
  106. package/data/apps_launchpad/component/combobox.ttl +4 -2
  107. package/data/apps_launchpad/component/description_list.ttl +2 -0
  108. package/data/apps_launchpad/component/drawer.ttl +6 -4
  109. package/data/apps_launchpad/component/link.ttl +12 -0
  110. package/data/apps_launchpad/component/log.ttl +2 -0
  111. package/data/apps_launchpad/component/markdown_editor.ttl +12 -0
  112. package/data/apps_launchpad/component/modal.ttl +7 -5
  113. package/data/apps_launchpad/component/pagination.ttl +12 -0
  114. package/data/apps_launchpad/component/popover.ttl +12 -0
  115. package/data/apps_launchpad/component/radio_input.ttl +6 -4
  116. package/data/apps_launchpad/component/relative_timestamp.ttl +12 -0
  117. package/data/apps_launchpad/component/select_input.ttl +2 -0
  118. package/data/apps_launchpad/component/spinner.ttl +12 -0
  119. package/data/apps_launchpad/component/switch.ttl +6 -4
  120. package/data/apps_launchpad/component/table.ttl +12 -0
  121. package/data/apps_launchpad/component/text_input.ttl +9 -7
  122. package/data/apps_launchpad/component/textarea_input.ttl +10 -8
  123. package/data/apps_launchpad/component/timestamp.ttl +12 -0
  124. package/data/apps_launchpad/component/tooltip.ttl +4 -2
  125. package/data/apps_launchpad/subcomponent/combobox-checkbox_option.ttl +2 -0
  126. package/data/apps_launchpad/subcomponent/combobox-footer.ttl +2 -0
  127. package/data/apps_launchpad/subcomponent/combobox-group.ttl +2 -0
  128. package/data/apps_launchpad/subcomponent/combobox-helper.ttl +2 -0
  129. package/data/apps_launchpad/subcomponent/combobox-loading.ttl +4 -2
  130. package/data/apps_launchpad/subcomponent/combobox-no_results.ttl +2 -0
  131. package/data/apps_launchpad/subcomponent/combobox-radio_option.ttl +2 -0
  132. package/data/apps_launchpad/subcomponent/combobox-search.ttl +6 -4
  133. package/data/apps_launchpad/subcomponent/description_list-item.ttl +2 -0
  134. package/data/apps_launchpad/subcomponent/log-line.ttl +2 -0
  135. package/data/apps_launchpad/subcomponent/modal-content-body.ttl +2 -0
  136. package/data/apps_launchpad/subcomponent/modal-content-footer.ttl +2 -0
  137. package/data/apps_launchpad/subcomponent/modal-content-header-close_button.ttl +2 -0
  138. package/data/apps_launchpad/subcomponent/modal-content-header.ttl +2 -0
  139. package/data/apps_launchpad/subcomponent/modal-content.ttl +4 -2
  140. package/data/apps_launchpad/subcomponent/side_panel-content-body.ttl +2 -0
  141. package/data/apps_launchpad/subcomponent/side_panel-content-footer.ttl +2 -0
  142. package/data/apps_launchpad/subcomponent/side_panel-content-header-close_button.ttl +2 -0
  143. package/data/apps_launchpad/subcomponent/side_panel-content-header.ttl +2 -0
  144. package/data/apps_launchpad/subcomponent/side_panel-content.ttl +2 -0
  145. package/data/apps_launchpad.ttl +2 -0
  146. package/data/apps_lxd/component/back_link.ttl +2 -0
  147. package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +2 -0
  148. package/data/apps_lxd/component/confirmation_checkbox.ttl +2 -0
  149. package/data/apps_lxd/component/doc_link.ttl +4 -2
  150. package/data/apps_lxd/component/meter.ttl +6 -4
  151. package/data/apps_lxd/component/output_field.ttl +2 -0
  152. package/data/apps_lxd/component/rename_header.ttl +17 -15
  153. package/data/apps_lxd/component/tab_links.ttl +6 -4
  154. package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +2 -0
  155. package/data/apps_lxd/view/network_topology.ttl +2 -0
  156. package/data/apps_lxd.ttl +2 -0
  157. package/data/apps_notary.ttl +2 -0
  158. package/data/apps_portal/component/badge.ttl +2 -0
  159. package/data/apps_portal/component/credit_card_input.ttl +2 -0
  160. package/data/apps_portal/component/key_value_pair.ttl +2 -0
  161. package/data/apps_portal/layout/details_view.ttl +18 -0
  162. package/data/apps_portal/pattern/purchase_summary.ttl +2 -0
  163. package/data/apps_portal/subcomponent/read_only_modal.ttl +2 -0
  164. package/data/apps_portal.ttl +2 -0
  165. package/data/apps_support/component/data_spotlight.ttl +12 -0
  166. package/data/apps_support/subcomponent/ai_prompt_input.ttl +12 -0
  167. package/data/apps_support.ttl +6 -0
  168. package/data/apps_workplaceengineering/component/complex_multi_select.ttl +13 -0
  169. package/data/apps_workplaceengineering/component/label-highlight.ttl +3 -1
  170. package/data/apps_workplaceengineering/component/rule.ttl +2 -0
  171. package/data/apps_workplaceengineering/component/skip_link.ttl +2 -0
  172. package/data/apps_workplaceengineering/component/theme_switcher.ttl +2 -0
  173. package/data/apps_workplaceengineering/pattern/callout_numbers_card.ttl +2 -0
  174. package/data/apps_workplaceengineering/pattern/confirmation_modal.ttl +12 -0
  175. package/data/apps_workplaceengineering/pattern/event_timeline.ttl +2 -0
  176. package/data/apps_workplaceengineering/pattern/group_card.ttl +2 -0
  177. package/data/apps_workplaceengineering/pattern/travel_provider_card.ttl +2 -0
  178. package/data/apps_workplaceengineering/subcomponent/multi_select_input.ttl +12 -0
  179. package/data/apps_workplaceengineering.ttl +2 -0
  180. package/data/concept/Foundations-Baseline.ttl +11 -0
  181. package/data/concept/Foundations-Density--the-form-channel.ttl +11 -0
  182. package/data/concept/Foundations-Grid--Layout.ttl +11 -0
  183. package/data/concept/Foundations-Spacing/-Element-vs-container-owned.ttl +11 -0
  184. package/data/concept/Foundations-Spacing.ttl +11 -0
  185. package/data/concept/Foundations-Surfaces.ttl +11 -0
  186. package/data/concept/Foundations-Typography.ttl +11 -0
  187. package/data/concept/{How-to-differentiate-components-variantsinheritance.ttl → How-to-differentiate-types-of-UI-blocks-.ttl} +5 -3
  188. package/data/concept/How-to-indicate-required-fields-in-forms.ttl +11 -0
  189. package/data/concept/How-to-support-modifiers-in-a-component.ttl +11 -0
  190. package/data/concept/Intentional-friction.ttl +11 -0
  191. package/data/concept/Question-mark-vs-information-icon.ttl +3 -1
  192. package/data/concept/Understanding-the-modifier-contract.ttl +11 -0
  193. package/data/concepttype/Explanation.ttl +2 -0
  194. package/data/concepttype/How-to-guide.ttl +2 -0
  195. package/data/concepttype/Reference.ttl +2 -0
  196. package/data/concepttype/Tutorial.ttl +2 -0
  197. package/data/documentation/layout/documentation_layout.ttl +2 -0
  198. package/data/documentation/pattern/library_side_navigation.ttl +3 -1
  199. package/data/documentation.ttl +2 -0
  200. package/data/global/component/accordion.ttl +180 -1
  201. package/data/global/component/announcement.ttl +13 -2
  202. package/data/global/component/avatar.ttl +2 -0
  203. package/data/global/component/badge.ttl +4 -2
  204. package/data/global/component/breadcrumbs.ttl +77 -2
  205. package/data/global/component/button.ttl +197 -2
  206. package/data/global/component/button_link.ttl +2 -0
  207. package/data/global/component/card.ttl +150 -3
  208. package/data/global/component/checkbox_field.ttl +269 -2
  209. package/data/global/component/chip.ttl +3 -1
  210. package/data/global/component/choices_field.ttl +373 -2
  211. package/data/global/component/code_snippet-content.ttl +3 -1
  212. package/data/global/component/code_snippet-header.ttl +21 -2
  213. package/data/global/component/code_snippet.ttl +28 -1
  214. package/data/global/component/color_field.ttl +2 -0
  215. package/data/global/component/combobox_field.ttl +470 -3
  216. package/data/global/component/contextual_menu.ttl +2 -0
  217. package/data/global/component/data_tooltip.ttl +149 -2
  218. package/data/global/component/date_field.ttl +158 -3
  219. package/data/global/component/date_time_field.ttl +157 -2
  220. package/data/global/component/drag_and_drop_list.ttl +13 -0
  221. package/data/global/component/dropdown_button.ttl +2 -0
  222. package/data/global/component/file_upload_field.ttl +230 -3
  223. package/data/global/component/heading.ttl +62 -3
  224. package/data/global/component/hidden_field.ttl +3 -1
  225. package/data/global/component/icon.ttl +3 -1
  226. package/data/global/component/icon_in_container.ttl +2 -0
  227. package/data/global/component/inline_code.ttl +2 -0
  228. package/data/global/component/keyboard_key.ttl +77 -2
  229. package/data/global/component/markdown_field.ttl +2 -0
  230. package/data/global/component/mode_switcher.ttl +2 -0
  231. package/data/global/component/month_field.ttl +2 -0
  232. package/data/global/component/notification_inline.ttl +2 -0
  233. package/data/global/component/notification_toast.ttl +2 -0
  234. package/data/global/component/number_field.ttl +2 -0
  235. package/data/global/component/pagination.ttl +2 -0
  236. package/data/global/component/password_field.ttl +189 -2
  237. package/data/global/component/phone_field.ttl +173 -2
  238. package/data/global/component/popover.ttl +2 -0
  239. package/data/global/component/range_field.ttl +165 -2
  240. package/data/global/component/rating_field.ttl +2 -0
  241. package/data/global/component/relative_timestamp.ttl +2 -0
  242. package/data/global/component/rich_choices_field.ttl +205 -2
  243. package/data/global/component/rich_text_field.ttl +2 -0
  244. package/data/global/component/search_field.ttl +2 -0
  245. package/data/global/component/segmented_control_field.ttl +2 -0
  246. package/data/global/component/select_field.ttl +158 -3
  247. package/data/global/component/switch_field.ttl +190 -3
  248. package/data/global/component/table.ttl +4 -2
  249. package/data/global/component/tabs.ttl +13 -2
  250. package/data/global/component/tag.ttl +13 -2
  251. package/data/global/component/text_field.ttl +173 -2
  252. package/data/global/component/textarea_field.ttl +157 -2
  253. package/data/global/component/tile.ttl +108 -1
  254. package/data/global/component/time_field.ttl +157 -2
  255. package/data/global/component/timestamp.ttl +2 -0
  256. package/data/global/component/tooltip.ttl +166 -43
  257. package/data/global/component/tooltip_wrapper.ttl +61 -2
  258. package/data/global/group/buttons.ttl +2 -0
  259. package/data/global/group/cards.ttl +2 -0
  260. package/data/global/group/code_snippets.ttl +2 -0
  261. package/data/global/group/keyboard_keys.ttl +101 -2
  262. package/data/global/group/tiles.ttl +2 -0
  263. package/data/global/layout/error_layout.ttl +2 -0
  264. package/data/global/layout/form_layout.ttl +2 -0
  265. package/data/global/layout/identity_page_form.ttl +2 -0
  266. package/data/global/modifier/alpha.ttl +2 -0
  267. package/data/global/modifier/beta.ttl +2 -0
  268. package/data/global/modifier/caution.ttl +2 -0
  269. package/data/global/modifier/comfortable.ttl +2 -0
  270. package/data/global/modifier/completed.ttl +2 -0
  271. package/data/global/modifier/constructive.ttl +2 -0
  272. package/data/global/modifier/dark.ttl +2 -0
  273. package/data/global/modifier/dense.ttl +2 -0
  274. package/data/global/modifier/destructive.ttl +2 -0
  275. package/data/global/modifier/editable.ttl +2 -0
  276. package/data/global/modifier/elevated.ttl +2 -0
  277. package/data/global/modifier/error.ttl +2 -0
  278. package/data/global/modifier/experimental.ttl +2 -0
  279. package/data/global/modifier/failed.ttl +2 -0
  280. package/data/global/modifier/focused.ttl +2 -0
  281. package/data/global/modifier/highlighted.ttl +2 -0
  282. package/data/global/modifier/in_progress.ttl +2 -0
  283. package/data/global/modifier/information.ttl +2 -0
  284. package/data/global/modifier/light.ttl +2 -0
  285. package/data/global/modifier/loading.ttl +2 -0
  286. package/data/global/modifier/modal.ttl +2 -0
  287. package/data/global/modifier/muted.ttl +2 -0
  288. package/data/global/modifier/planned.ttl +2 -0
  289. package/data/global/modifier/primary.ttl +2 -0
  290. package/data/global/modifier/secondary.ttl +2 -0
  291. package/data/global/modifier/stable.ttl +2 -0
  292. package/data/global/modifier/success.ttl +2 -0
  293. package/data/global/modifier/surface1.ttl +2 -0
  294. package/data/global/modifier/surface2.ttl +2 -0
  295. package/data/global/modifier/surface3.ttl +2 -0
  296. package/data/global/modifier/tertiary.ttl +2 -0
  297. package/data/global/modifier/warning.ttl +2 -0
  298. package/data/global/modifier/wireframe.ttl +2 -0
  299. package/data/global/modifier_family/_color_luminosity.ttl +2 -0
  300. package/data/global/modifier_family/_emphasis.ttl +2 -0
  301. package/data/global/modifier_family/_other.ttl +2 -0
  302. package/data/global/modifier_family/anticipation.ttl +2 -0
  303. package/data/global/modifier_family/criticality.ttl +2 -0
  304. package/data/global/modifier_family/density.ttl +2 -0
  305. package/data/global/modifier_family/importance.ttl +2 -0
  306. package/data/global/modifier_family/lifecycle.ttl +2 -0
  307. package/data/global/modifier_family/mode.ttl +2 -0
  308. package/data/global/modifier_family/release.ttl +2 -0
  309. package/data/global/modifier_family/surface.ttl +2 -0
  310. package/data/global/pattern/description_list.ttl +2 -0
  311. package/data/global/pattern/field.ttl +2 -0
  312. package/data/global/pattern/form.ttl +2 -0
  313. package/data/global/pattern/form_login.ttl +2 -0
  314. package/data/global/pattern/info_table.ttl +2 -0
  315. package/data/global/pattern/modal.ttl +431 -4
  316. package/data/global/pattern/navigation.ttl +2 -0
  317. package/data/global/pattern/stepper.ttl +2 -0
  318. package/data/global/pattern/table_of_contents.ttl +85 -2
  319. package/data/global/pattern/timeline.ttl +48 -13
  320. package/data/global/subcomponent/accordion-item.ttl +157 -2
  321. package/data/global/subcomponent/breadcrumbs-item.ttl +69 -2
  322. package/data/global/subcomponent/card-content.ttl +53 -2
  323. package/data/global/subcomponent/card-footer.ttl +2 -0
  324. package/data/global/subcomponent/card-header.ttl +45 -2
  325. package/data/global/subcomponent/card-image.ttl +13 -2
  326. package/data/global/subcomponent/card-thumbnail.ttl +37 -2
  327. package/data/global/subcomponent/chart_legend.ttl +93 -2
  328. package/data/global/subcomponent/chart_legend_item.ttl +77 -2
  329. package/data/global/subcomponent/checkbox_input.ttl +165 -2
  330. package/data/global/subcomponent/color_input.ttl +2 -0
  331. package/data/global/subcomponent/combobox_input.ttl +398 -3
  332. package/data/global/subcomponent/date_input.ttl +85 -2
  333. package/data/global/subcomponent/date_time_input.ttl +85 -2
  334. package/data/global/subcomponent/field-description.ttl +13 -2
  335. package/data/global/subcomponent/field-error.ttl +29 -0
  336. package/data/global/subcomponent/field-label.ttl +37 -2
  337. package/data/global/subcomponent/file_upload_input.ttl +158 -3
  338. package/data/global/subcomponent/hidden_input.ttl +3 -1
  339. package/data/global/subcomponent/kvp_container.ttl +77 -2
  340. package/data/global/subcomponent/kvpitem_base.ttl +69 -2
  341. package/data/global/subcomponent/markdown_input.ttl +2 -0
  342. package/data/global/subcomponent/modal-content.ttl +38 -2
  343. package/data/global/subcomponent/modal-footer.ttl +262 -2
  344. package/data/global/subcomponent/modal-header.ttl +294 -2
  345. package/data/global/subcomponent/month_input.ttl +2 -0
  346. package/data/global/subcomponent/number_input.ttl +2 -0
  347. package/data/global/subcomponent/password_input.ttl +117 -2
  348. package/data/global/subcomponent/phone_input.ttl +101 -2
  349. package/data/global/subcomponent/radio_input.ttl +94 -3
  350. package/data/global/subcomponent/range_input.ttl +85 -2
  351. package/data/global/subcomponent/rating_input.ttl +2 -0
  352. package/data/global/subcomponent/rich_text_input.ttl +2 -0
  353. package/data/global/subcomponent/search_input.ttl +5 -3
  354. package/data/global/subcomponent/segmented_control_input.ttl +2 -0
  355. package/data/global/subcomponent/select_input.ttl +86 -3
  356. package/data/global/subcomponent/spin_button.ttl +2 -0
  357. package/data/global/subcomponent/spinner.ttl +3 -1
  358. package/data/global/subcomponent/switch_input.ttl +86 -3
  359. package/data/global/subcomponent/table-cell.ttl +2 -0
  360. package/data/global/subcomponent/table-row.ttl +2 -0
  361. package/data/global/subcomponent/text_input.ttl +101 -2
  362. package/data/global/subcomponent/textarea_input.ttl +85 -2
  363. package/data/global/subcomponent/tile-content.ttl +45 -2
  364. package/data/global/subcomponent/tile-header.ttl +45 -2
  365. package/data/global/subcomponent/time_input.ttl +85 -2
  366. package/data/global/subcomponent/timeline-content.ttl +37 -2
  367. package/data/global/subcomponent/timeline-event.ttl +42 -7
  368. package/data/global/subcomponent/timeline-expansion_indicator.ttl +3 -1
  369. package/data/global/subcomponent/timeline-header.ttl +3 -1
  370. package/data/global/variant/tooltip_dense.ttl +2 -0
  371. package/data/global/view/settings_view.ttl +2 -0
  372. package/data/global.ttl +2 -0
  373. package/data/sites/component/blog_card.ttl +2 -0
  374. package/data/sites/component/quote.ttl +2 -0
  375. package/data/sites/component/rule.ttl +2 -0
  376. package/data/sites/component/section.ttl +2 -0
  377. package/data/sites/group/blog_cards.ttl +2 -0
  378. package/data/sites/group/xblog_elements.ttl +2 -0
  379. package/data/sites/layout/blog_page_layout.ttl +2 -0
  380. package/data/sites/layout/case_study_layout.ttl +2 -0
  381. package/data/sites/layout/site_layout.ttl +2 -0
  382. package/data/sites/pattern/hero-github.ttl +2 -0
  383. package/data/sites/pattern/hero.ttl +2 -0
  384. package/data/sites/pattern/info_table.ttl +2 -0
  385. package/data/sites/pattern/pricing_section.ttl +2 -0
  386. package/data/sites/pattern/pricing_table.ttl +2 -0
  387. package/data/sites/pattern/read_more_section.ttl +2 -0
  388. package/data/sites/pattern/skip_link.ttl +2 -0
  389. package/data/sites.ttl +2 -0
  390. package/data/sites_webcomponentsprototype/component/blog_cards.ttl +2 -0
  391. package/data/sites_webcomponentsprototype/component/ctablock.ttl +2 -0
  392. package/data/sites_webcomponentsprototype/component/list.ttl +2 -0
  393. package/data/sites_webcomponentsprototype/component/tabs.ttl +2 -0
  394. package/data/sites_webcomponentsprototype/layout/site_layout.ttl +2 -0
  395. package/data/sites_webcomponentsprototype/pattern/basic_section.ttl +2 -0
  396. package/data/sites_webcomponentsprototype/pattern/blog_section.ttl +2 -0
  397. package/data/sites_webcomponentsprototype/pattern/ctasection.ttl +2 -0
  398. package/data/sites_webcomponentsprototype/pattern/equal_heights.ttl +2 -0
  399. package/data/sites_webcomponentsprototype/pattern/hero.ttl +2 -0
  400. package/data/sites_webcomponentsprototype/pattern/logo_section.ttl +2 -0
  401. package/data/sites_webcomponentsprototype/pattern/quote_wrapper.ttl +2 -0
  402. package/data/sites_webcomponentsprototype/pattern/tiered_list.ttl +2 -0
  403. package/data/sites_webcomponentsprototype.ttl +2 -0
  404. package/data/stores.ttl +2 -0
  405. package/data/tag/allgood.ttl +2 -0
  406. package/data/tag/beta.ttl +2 -0
  407. package/data/tag/candidate.ttl +2 -0
  408. package/data/tag/devbatch1.ttl +2 -0
  409. package/data/tag/devbatch2.ttl +2 -0
  410. package/data/tag/devbatch3.ttl +9 -0
  411. package/data/tag/devexternal.ttl +2 -0
  412. package/data/tag/devreactapproved.ttl +2 -0
  413. package/data/tag/devreactbase.ttl +2 -0
  414. package/data/tag/devreactpreapproved.ttl +2 -0
  415. package/data/tag/devspecial.ttl +2 -0
  416. package/data/tag/devsveltedone.ttl +2 -0
  417. package/data/tag/devsveltein-progress.ttl +2 -0
  418. package/data/tag/divergent.ttl +2 -0
  419. package/data/tag/docscomplete.ttl +2 -0
  420. package/data/tag/draft.ttl +2 -0
  421. package/data/tag/edge.ttl +2 -0
  422. package/data/tag/global-docs-missing.ttl +2 -0
  423. package/data/tag/has-no-global-entry.ttl +2 -0
  424. package/data/tag/lpto-be-upstreamed.ttl +2 -0
  425. package/data/tag/lptriageblocked-reqs-design.ttl +2 -0
  426. package/data/tag/lptriageno-upstream.ttl +2 -0
  427. package/data/tag/lptriagereimplement-and-deprecate.ttl +2 -0
  428. package/data/tag/lptriagereimplement-and-keep.ttl +2 -0
  429. package/data/tag/lptriageupstream-and-deprecate.ttl +2 -0
  430. package/data/tag/minimal.ttl +2 -0
  431. package/data/tag/needsdefinition.ttl +2 -0
  432. package/data/tag/needsdiscussion.ttl +2 -0
  433. package/data/tag/needsdocumentation.ttl +2 -0
  434. package/data/tag/needsreview.ttl +2 -0
  435. package/data/tag/needstriage.ttl +2 -0
  436. package/data/tag/needsupdate.ttl +2 -0
  437. package/data/tag/notstarted.ttl +2 -0
  438. package/data/tag/specialadoption-docs.ttl +2 -0
  439. package/data/tag/stable.ttl +2 -0
  440. package/data/tag/stylesready.ttl +2 -0
  441. package/data/tag/triagedbacklog.ttl +2 -0
  442. package/data/tag/triagedrejected.ttl +2 -0
  443. package/data/tag/upstream-candidate.ttl +2 -0
  444. package/data/tag/upstream-compliant.ttl +2 -0
  445. package/data/tag/upstreamcandidate.ttl +2 -0
  446. package/data/tag/waiting-for-delta-review.ttl +2 -0
  447. package/data/tag/wpeinital-implementation.ttl +2 -0
  448. package/data/tag/wpetriageupstream-and-deprecate.ttl +2 -0
  449. package/data/tagcategory/channel.ttl +2 -0
  450. package/data/tagcategory/concept-status.ttl +2 -0
  451. package/data/tagcategory/concept-type.ttl +2 -0
  452. package/data/tagcategory/documentation-stage.ttl +2 -0
  453. package/data/tagcategory/implementation-status.ttl +2 -0
  454. package/data/tagcategory/lpupstream.ttl +2 -0
  455. package/data/tagcategory/review-status.ttl +2 -0
  456. package/data/tagcategory/tmp.ttl +2 -0
  457. package/definitions/ontology.ttl +70 -1
  458. package/package.json +34 -8
  459. package/skills/adoption-a1-styles/SKILL.md +24 -0
  460. package/skills/adoption-a2-components/SKILL.md +22 -6
  461. package/skills/anatomy-author/ANATOMY_DSL_SPEC.md +1397 -327
  462. package/skills/anatomy-author/SKILL.md +840 -137
  463. package/skills/design-auditor/SKILL.md +133 -9
  464. package/skills/implement-component/SKILL.md +192 -23
  465. package/skills/specify-component/SKILL.md +124 -12
  466. package/skills/specify-pattern/SKILL.md +47 -8
  467. package/src/collect-implementations.ts +0 -0
  468. package/src/serializers/TTLSerializer.tests.ts +101 -0
  469. package/src/serializers/TTLSerializer.ts +17 -2
  470. package/.github/ISSUE_TEMPLATE/propose-changes-to-existing-ui-block.md +0 -14
  471. package/.github/ISSUE_TEMPLATE/propose-new-ui-block.md +0 -26
  472. package/.github/PULL_REQUEST_TEMPLATE.md +0 -22
  473. package/.github/workflows/ci.yml +0 -49
  474. package/.github/workflows/sync-coda-manual.yml +0 -25
  475. package/.github/workflows/sync-coda-scheduled.yml +0 -22
  476. package/.github/workflows/sync-coda.yml +0 -102
  477. package/.mcp.json +0 -12
  478. package/GEMINI.md +0 -2
  479. package/biome.json +0 -6
  480. package/bun.lock +0 -392
  481. package/data/apps_landscape/component/truncated_cell.ttl +0 -38
  482. package/data/concept/Foundations-Grid.ttl +0 -9
  483. package/data/concept/Indicating-required-fields-in-forms.ttl +0 -9
  484. package/data/concepttype/Decision-guide.ttl +0 -5
  485. package/data/concepttype/Mental-model.ttl +0 -5
  486. package/examples/form-roster.target.json +0 -550
  487. package/source.json +0 -205
  488. package/specs/README.md +0 -17
  489. package/src/cli.ts +0 -58
  490. package/src/commands/extract.tests.ts +0 -40
  491. package/src/commands/extract.ts +0 -50
  492. package/src/commands/index.ts +0 -4
  493. package/src/commands/list.tests.ts +0 -25
  494. package/src/commands/list.ts +0 -26
  495. package/src/commands/sync.tests.ts +0 -430
  496. package/src/commands/sync.ts +0 -418
  497. package/src/commands/transform.tests.ts +0 -213
  498. package/src/commands/transform.ts +0 -257
  499. package/src/config/index.ts +0 -2
  500. package/src/config/source.schema.json +0 -146
  501. package/src/config/types.ts +0 -129
  502. package/src/config/validateConfig.tests.ts +0 -46
  503. package/src/config/validateConfig.ts +0 -21
  504. package/src/constants.ts +0 -19
  505. package/src/providers/CodaProvider.tests.ts +0 -335
  506. package/src/providers/CodaProvider.ts +0 -384
  507. package/src/providers/CodaProvider.types.generated.ts +0 -12597
  508. package/src/providers/detectSmartChips.tests.ts +0 -42
  509. package/src/providers/detectSmartChips.ts +0 -60
  510. package/src/providers/index.ts +0 -18
  511. package/src/scripts/checkDataDeletion.ts +0 -68
  512. package/src/scripts/evaluateDataDeletion.tests.ts +0 -100
  513. package/src/scripts/evaluateDataDeletion.ts +0 -100
  514. package/src/sync/constants.ts +0 -52
  515. package/src/sync/diffRoster.tests.ts +0 -455
  516. package/src/sync/diffRoster.ts +0 -241
  517. package/src/sync/loadTargetSpec.tests.ts +0 -208
  518. package/src/sync/loadTargetSpec.ts +0 -139
  519. package/src/sync/renderPlan.tests.ts +0 -144
  520. package/src/sync/renderPlan.ts +0 -88
  521. package/src/sync/snapshotTable.tests.ts +0 -31
  522. package/src/sync/snapshotTable.ts +0 -20
  523. package/src/sync/toLiveEntries.tests.ts +0 -76
  524. package/src/sync/toLiveEntries.ts +0 -55
  525. package/src/sync/types.ts +0 -101
  526. package/src/transform/collectDataMetrics.tests.ts +0 -108
  527. package/src/transform/collectDataMetrics.ts +0 -114
  528. package/src/transform/deltaGuards.tests.ts +0 -136
  529. package/src/transform/deltaGuards.ts +0 -118
  530. package/src/transform/expectedTables.tests.ts +0 -99
  531. package/src/transform/expectedTables.ts +0 -34
  532. package/src/transform/isValidReferenceUri.tests.ts +0 -45
  533. package/src/transform/isValidReferenceUri.ts +0 -55
  534. package/src/transform/materializeInverses.tests.ts +0 -81
  535. package/src/transform/materializeInverses.ts +0 -78
  536. package/src/transform/resolveReferences.tests.ts +0 -67
  537. package/src/transform/resolveReferences.ts +0 -36
  538. package/src/transform/resolveValue.tests.ts +0 -82
  539. package/src/transform/resolveValue.ts +0 -87
  540. package/src/transform/rowFilter.tests.ts +0 -100
  541. package/src/transform/rowFilter.ts +0 -55
  542. package/src/transform/transform.tests.ts +0 -132
  543. package/src/transform/transform.ts +0 -145
  544. package/src/transform/transformRow.malformedRefs.tests.ts +0 -127
  545. package/src/transform/transformRow.tests.ts +0 -466
  546. package/src/transform/transformRow.ts +0 -358
  547. package/src/transform/types.ts +0 -37
  548. package/tsconfig.json +0 -9
  549. package/vite.config.ts +0 -11
  550. package/vitest.config.ts +0 -50
@@ -0,0 +1,51 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:apps_landscape.component.search_help_popup a ds:Component;
6
+ ds:name "Search Help Popup";
7
+ ds:summary "Conditionally mounts a controlled Canonical modal titled `Search help`, with fixed Landscape structured-search guidance and a two-column reference table supplied by the caller. Term cells render only strings as code; description cells render only strings or valid React elements.";
8
+ ds:anatomyDsl "node:\n uri: ds:apps_landscape.component.search_help_popup\n edges:\n - node:\n uri: global.component.modal\n role: search help dialog\n edges:\n - node:\n semantic: paragraph\n role: grammar guidance\n relation:\n cardinality: \"1\"\n - node:\n uri: global.component.modular_table\n role: terms reference\n edges:\n - node:\n role: Term column\n edges:\n - node:\n semantic: code\n role: term value\n relation:\n cardinality: \"0..1\"\n condition: row term is a string\n relation:\n cardinality: \"1\"\n - node:\n role: Description column\n edges:\n - node:\n semantic: span\n role: description value\n relation:\n cardinality: \"0..1\"\n condition: row description is a string or valid React element\n relation:\n cardinality: \"1\"\n - node:\n role: data row\n relation:\n cardinality: \"0..*\"\n slotName: data\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"0..1\"\n condition: open is true";
9
+ ds:anatomyClassic "https://www.figma.com/design/I4WpvwMuQI6v1qhgUl63Sx/Landscape-Pragma-components?node-id=26-3&t=iG2ObZ6Q1XG2A2MB-4\n\nTable 50\n\n";
10
+ ds:usage "### When to use\n\n**Explain structured search**\n\nUse when the search surface implements the fixed grammar described by the modal and needs an in-context term reference.\n\n**Document dynamic terms**\n\nSupply the exact terms supported by that search surface and concise string or React-element descriptions.\n\n### When not to use\n\n**Explain simple text search**\n\nWhen users only enter unrestricted text without structured grammar.\n\n**Incorrect pattern**: Showing this modal for a basic text input that has no terms or grammar structure.\n\n**Remediation strategy**: Use a concise field description or inline help text for simple search fields.\n\n**Teach a multi-step task**\n\nWhen you need to provide broader educational content beyond syntax reference.\n\n**Incorrect pattern**: Using this popup to explain workflows, features, or multi-step processes beyond search term definitions.\n\n**Remediation strategy**: Use dedicated documentation, onboarding tours, or contextual help sections for workflows beyond search syntax.\n\n**Different query grammar**\n\nWhen your search uses a different grammar than the fixed Landscape syntax.\n\n**Incorrect pattern**: Reusing this component where OR, implicit AND, NOT, or quoting semantics differ from Landscape’s grammar.\n\n**Remediation strategy**: Build a custom modal or help component whose grammar text matches your actual query language, or adjust the backend to use the Landscape fixed grammar.";
11
+ ds:guidelines "### Accessibility\n\n- Dialog semantics, focus containment, close control, Escape handling, and focus restoration are delegated to Canonical `Modal`; this wrapper adds no focus code.\n- Open it from a clearly named trigger. The direct component API does not receive or retain the trigger element.\n- Column headers are fixed to `Term` and `Description`; string terms use semantic `code`, and descriptions remain text content inside a muted `span`.\n- Invalid row value types silently render empty cells, so validate data before presentation.\n\n### Content\n\n- The paragraph states: OR matches any condition; otherwise all conditions must match; NOT negates a condition; values containing spaces or non-ASCII characters require quotes.\n- Use exact accepted term spelling and concise descriptions. React elements are appropriate for safe inline markup or links; arbitrary objects are not rendered.\n- Title, column headers, and grammar guidance are fixed rather than supplied by props.\n\n### Internationalization\n\n- `data` content is caller-provided and can be localized.\n- `Search help`, `Term`, `Description`, and the complete grammar paragraph are hard-coded in English and expose no translation props.\n- The fixed grammar explicitly references non-ASCII values but performs no parsing, normalization, or locale handling itself.\n\n### Device\n\n- The modal-scoped table width is fixed at `60rem`, and the Term column is `30%` wide. No local media query, responsive width, or overflow wrapper is defined.\n- Narrow-screen containment and scrolling therefore depend on Canonical Modal/ModularTable behavior or surrounding global styles and require verification by consumers.\n\n### Keyboard\n\n- This wrapper adds no keyboard handlers. Modal dismissal and focus behavior are inherited from Canonical Modal.\n- Interactive React elements supplied in descriptions retain their own tab stops; keep their order logical within the table.\n\n### Implementation limitations\n\n- Both `useMemo` calls are inside the `open &&` render branch. Toggling `open` changes whether hooks execute, which violates React’s hook-order rule and should be corrected in source before treating repeated open/close behavior as robust.\n- Both memo dependency lists are empty. The table therefore retains the `data` reference captured by the first render that executes the open branch instead of tracking later prop changes.\n- There is no dedicated component test covering modal toggling, data replacement, focus behavior, or narrow-screen overflow.";
12
+ ds:tier ds:apps_landscape;
13
+ ds:documentationStage ds:tag.specialadoption-docs;
14
+ ds:hasProperty [
15
+ a ds:Property;
16
+ ds:name "`open`";
17
+ ds:summary "Controls conditional mounting of the complete modal. ";
18
+ ds:propertyType "boolean";
19
+ ds:defaultValue "—";
20
+ ds:constraints "`false` returns no modal subtree; the component stores no open state. "
21
+ ], [
22
+ a ds:Property;
23
+ ds:name "`onClose`";
24
+ ds:summary "Is passed to Canonical `Modal` as its close callback. ";
25
+ ds:propertyType "callback";
26
+ ds:defaultValue "—";
27
+ ds:constraints "TypeScript: `() => void`. The caller must set `open` to false. Focus return and Escape and close-control behavior depend on Canonical Modal. "
28
+ ], [
29
+ a ds:Property;
30
+ ds:name "`data`";
31
+ ds:summary "Supplies rows to `ModularTable`.";
32
+ ds:propertyType "list of objects";
33
+ ds:defaultValue "—";
34
+ ds:constraints "TypeScript: `Record<string, unknown>[]`. The first open render memoizes the array with an empty dependency list, so later replacements are not reflected reliably. "
35
+ ], [
36
+ a ds:Property;
37
+ ds:name "`data[].term`";
38
+ ds:summary "Supplies a term cell value.";
39
+ ds:propertyType "text";
40
+ ds:defaultValue "—";
41
+ ds:constraints "TypeScript: `unknown`. Only strings render, using semantic `code`; other values produce an empty cell. ";
42
+ ds:optional "true"
43
+ ], [
44
+ a ds:Property;
45
+ ds:name "`data[].description`";
46
+ ds:summary "Supplies a description cell value.";
47
+ ds:propertyType "node";
48
+ ds:defaultValue "—";
49
+ ds:constraints "TypeScript: `unknown`. Only strings or valid React elements render, wrapped in muted text; other values produce an empty cell. ";
50
+ ds:optional "true"
51
+ ].
@@ -0,0 +1,149 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:apps_landscape.component.search_query_editor a ds:Component;
6
+ ds:name "Search Query Editor";
7
+ ds:summary "A thin Landscape adapter wrapping the shared lazy-loaded `CodeEditor` component for structured search queries. It requires a Monaco `languageId`, search terms, domain vocabulary, and a `configureSearchLanguage` callback that runs only when terms are non-empty.\n\nMain use cases:\n\n- Edit Landscape search syntax with Monaco code-editing features and term-based autocomplete \n- Integrate custom domain vocabularies (profiles, statuses, groups) into structured search \n- Display validation errors and caution warnings with semantic form integration \n- Control the query through `value` and `onChange` callbacks without built-in submission";
8
+ ds:anatomyDsl "node:\n uri: ds:apps_landscape.component.search_query_editor\n role: structured search query field\n edges:\n - node:\n role: editor loading state\n relation:\n cardinality: \"0..1\"\n condition: lazy CodeEditorInner or Monaco editor is loading\n - node:\n role: field header\n edges:\n - node:\n semantic: label\n role: field label\n relation:\n cardinality: \"1\"\n - node:\n role: supporting header content\n relation:\n cardinality: \"0..1\"\n slotName: headerContent\n relation:\n cardinality: \"1\"\n - node:\n role: Monaco query input\n relation:\n cardinality: \"1\"\n - node:\n role: error message\n relation:\n cardinality: \"0..1\"\n condition: error is truthy\n - node:\n role: warning message\n relation:\n cardinality: \"0..1\"\n condition: warning is truthy";
9
+ ds:anatomyClassic "https://www.figma.com/design/I4WpvwMuQI6v1qhgUl63Sx/Landscape-Pragma-components?node-id=26-4&t=iG2ObZ6Q1XG2A2MB-4\n\nTable 51\n\n";
10
+ ds:usage "### When to use\n\n**Edit structured search syntax**\n\nUse when users compose a Landscape search grammar whose terms and domain values benefit from Monaco editing and caller-configured suggestions.\n\n**Configure a domain search language**\n\nUse when the caller owns a stable language ID, searchable terms, vocabulary arrays, registration lifecycle, validation, and backend compatibility.\n\n### When not to use\n\n**Enter plain search text**\n\nWhen users only enter unrestricted text with no structured grammar.\n\n**Incorrect pattern**: Using this component for a simple text field where no syntax, terms, or Monaco features are needed.\n\n**Remediation strategy**: Use a basic search input or TextField component for plain text queries.\n\n**Edit general source code**\n\nWhen the query language is not a search-specific syntax.\n\n**Incorrect pattern**: Using this adapter to edit shell scripts, JSON, or other programming languages that should use CodeEditor directly.\n\n**Remediation strategy**: Use the shared CodeEditor component directly and configure it for your language’s Monaco setup.\n\n**Server-only or asynchronous suggestions**\n\nWhen suggestions require fetching from the backend or dynamic term loading.\n\n**Incorrect pattern**: Expecting this adapter to fetch terms, debounce input, validate asynchronously, or display query/loading errors.\n\n**Remediation strategy**: Build a custom editor that wraps CodeEditor with your own term-fetch logic and error handling, or pre-load all terms into the component props.";
11
+ ds:guidelines "### Accessibility\n\n- Error and warning messages include textual prefixes in addition to border colour.\n- Current Code Editor source uses fixed `htmlFor=\"code\"`, `code-error-message`, and `code-warning-message` values, does not assign a matching id to Monaco, and does not locally wire message ids through `aria-describedby`/`aria-errormessage`. Multiple instances can duplicate ids. Treat this as an upstream blocker and verify the generated Monaco accessibility tree before claiming label/error association.\n- Required is currently a visual label class only; the adapter does not prove an accessible required state.\n- Use `onBlur` with awareness that header actions are outside the form-control blur boundary.\n\n### Content\n\n- Keep terms and all vocabulary arrays aligned with the backend grammar and validation function.\n- Use errors for invalid/submission-blocking queries and warnings for non-blocking concerns. Both can render simultaneously, so consumers should avoid contradictory states.\n- Label, “Error:”, and “Warning:” content are English in shared source; only the label and message bodies are prop-driven.\n\n### State and async behavior\n\n- The adapter owns no state, effect, query, mutation, or async validation.\n- `useCallback` recreates the pre-mount function when language id, terms identity, language-config identity, or configurator identity changes. Whether an already-mounted Monaco model is reconfigured is dependency lifecycle behavior, not guaranteed here.\n- Code Editor and Monaco both have loading fallbacks, but no prop exposes a caller-controlled loading state.\n- Theme is selected from `useTheme` as `vs-dark` or `vs-light`.\n\n### Keyboard\n\n- Monaco owns text editing, commands, and suggestion keyboard navigation. Caller options can disable or alter them.\n- The wrapper adds no keyboard handlers or focus management.\n- Header content precedes the editor in DOM order and may become a tab stop before Monaco.\n\n### Device / layout\n\n- Shared editor minimum height is `16rem`; border colours use `$colors--theme--border-default`, `$colors--theme--border-high-contrast`, and Vanilla error/caution states.\n- Header is a non-wrapping flex row with `justify-content: space-between`; no local breakpoint or overflow treatment exists.\n- Container is a flex column. Monaco sizing beyond the `16rem` minimum depends on its options and containing layout; the saved-search consumer enables `automaticLayout` and word wrap, but those are not component defaults.";
12
+ ds:tier ds:apps_landscape;
13
+ ds:documentationStage ds:tag.specialadoption-docs;
14
+ ds:hasProperty [
15
+ a ds:Property;
16
+ ds:name "`label`";
17
+ ds:summary "Visible field label forwarded to Code Editor.";
18
+ ds:propertyType "text";
19
+ ds:defaultValue "—";
20
+ ds:constraints "Shared source hardcodes `htmlFor=\"code\"`; no matching Monaco id is set locally. "
21
+ ], [
22
+ a ds:Property;
23
+ ds:name "`value`";
24
+ ds:summary "Controlled query text.";
25
+ ds:propertyType "text";
26
+ ds:defaultValue "—";
27
+ ds:constraints "TypeScript: `string | undefined`. Editable consumers should update it from `onChange`. "
28
+ ], [
29
+ a ds:Property;
30
+ ds:name "`onChange`";
31
+ ds:summary "Receives Monaco model changes.";
32
+ ds:propertyType "callback";
33
+ ds:defaultValue "—";
34
+ ds:constraints "TypeScript: `(value: string | undefined) => void`. No debounce, normalization, validation, or state update occurs locally. ";
35
+ ds:optional "true"
36
+ ], [
37
+ a ds:Property;
38
+ ds:name "`onBlur`";
39
+ ds:summary "Runs when blur leaves the shared form-control container. ";
40
+ ds:propertyType "callback";
41
+ ds:defaultValue "—";
42
+ ds:constraints "TypeScript: `() => void`. Moving focus within that control does not call it; moving from Monaco to `headerContent` does because the header is outside the control. ";
43
+ ds:optional "true"
44
+ ], [
45
+ a ds:Property;
46
+ ds:name "`error`";
47
+ ds:summary "Adds error classes, border, and an Error-prefixed paragraph. ";
48
+ ds:propertyType "text";
49
+ ds:defaultValue "false";
50
+ ds:constraints "TypeScript: `string | false`. Can coexist with `warning`; source does not prioritize one. ";
51
+ ds:optional "true"
52
+ ], [
53
+ a ds:Property;
54
+ ds:name "`warning`";
55
+ ds:summary "Adds caution classes, border, and a Warning-prefixed paragraph. ";
56
+ ds:propertyType "text";
57
+ ds:defaultValue "—";
58
+ ds:constraints "TypeScript: `string | false`. `undefined` is also falsy, and warning can coexist with error. ";
59
+ ds:optional "true"
60
+ ], [
61
+ a ds:Property;
62
+ ds:name "`required`";
63
+ ds:summary "Adds `is-required` to the label.";
64
+ ds:propertyType "boolean";
65
+ ds:defaultValue "false";
66
+ ds:constraints "Does not set Monaco `aria-required` or enforce submission. ";
67
+ ds:optional "true"
68
+ ], [
69
+ a ds:Property;
70
+ ds:name "`className`";
71
+ ds:summary "Additional class on the Monaco Editor surface.";
72
+ ds:propertyType "text";
73
+ ds:defaultValue "—";
74
+ ds:constraints "Does not target the outer form group.";
75
+ ds:optional "true"
76
+ ], [
77
+ a ds:Property;
78
+ ds:name "`labelClassName`";
79
+ ds:summary "Additional class on the label.";
80
+ ds:propertyType "text";
81
+ ds:defaultValue "—";
82
+ ds:constraints "Combined with `p-form__label` and required state. ";
83
+ ds:optional "true"
84
+ ], [
85
+ a ds:Property;
86
+ ds:name "`headerContent`";
87
+ ds:summary "Content rendered at the opposite side of the header row. ";
88
+ ds:propertyType "node";
89
+ ds:defaultValue "—";
90
+ ds:constraints "TypeScript: `React.ReactNode`. Interactive content sits outside the blur boundary used by the Monaco control. ";
91
+ ds:optional "true"
92
+ ], [
93
+ a ds:Property;
94
+ ds:name "`options`";
95
+ ds:summary "Overrides search and shared Code Editor defaults.";
96
+ ds:propertyType "object";
97
+ ds:defaultValue "`fixedOverflowWidgets: true`, `suggestOnTriggerCharacters: true`, `quickSuggestions: true` ";
98
+ ds:constraints "TypeScript: `React.ComponentProps<typeof CodeEditor>[\"options\"]`. Spread last after local and shared Code Editor defaults. ";
99
+ ds:optional "true"
100
+ ], [
101
+ a ds:Property;
102
+ ds:name "`languageId`";
103
+ ds:summary "Passed to Monaco as `language` and to the configurator. ";
104
+ ds:propertyType "text";
105
+ ds:defaultValue "—";
106
+ ds:constraints "Caller owns uniqueness, registration, and lifecycle. "
107
+ ], [
108
+ a ds:Property;
109
+ ds:name "`terms`";
110
+ ds:summary "Search terms passed to the configurator.";
111
+ ds:propertyType "list of text";
112
+ ds:defaultValue "—";
113
+ ds:constraints "TypeScript: `string[]`. An empty array skips configuration entirely; array identity participates in callback memoization. "
114
+ ], [
115
+ a ds:Property;
116
+ ds:name "`languageConfig`";
117
+ ds:summary "Domain vocabulary passed through unchanged.";
118
+ ds:propertyType "object";
119
+ ds:defaultValue "—";
120
+ ds:constraints "TypeScript: `LanguageConfig`. All properties are required and arrays may be empty; object identity participates in callback memoization. "
121
+ ], [
122
+ a ds:Property;
123
+ ds:name "`languageConfig.profileTypes`";
124
+ ds:summary "Supplies profile-type vocabulary.";
125
+ ds:propertyType "list of text";
126
+ ds:defaultValue "—";
127
+ ds:constraints "TypeScript: `readonly string[]`."
128
+ ], [
129
+ a ds:Property;
130
+ ds:name "`languageConfig.usgStatuses`";
131
+ ds:summary "Supplies USG-status vocabulary.";
132
+ ds:propertyType "list of text";
133
+ ds:defaultValue "—";
134
+ ds:constraints "TypeScript: `readonly string[]`."
135
+ ], [
136
+ a ds:Property;
137
+ ds:name "`languageConfig.wslStatuses`";
138
+ ds:summary "Supplies WSL-status vocabulary.";
139
+ ds:propertyType "list of text";
140
+ ds:defaultValue "—";
141
+ ds:constraints "TypeScript: `readonly string[]`."
142
+ ], [
143
+ a ds:Property;
144
+ ds:name "`configureSearchLanguage`";
145
+ ds:summary "Registers or configures Monaco before mount.";
146
+ ds:propertyType "callback";
147
+ ds:defaultValue "—";
148
+ ds:constraints "TypeScript: `(monaco: Monaco, languageId: string, terms: string[], config: LanguageConfig) => void`. Called synchronously only for non-empty terms; thrown errors are not caught locally. "
149
+ ].
@@ -0,0 +1,52 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:apps_landscape.component.tag_multi_select a ds:Component;
6
+ ds:name "Tag Multi-Select";
7
+ ds:summary "A Landscape-specific controlled field for adding and removing instance tags. It fetches available tags via `useGetTags`, displays selected tags as dismissible Chips, filters unselected tags by case-insensitive substring, and validates typed new tags against a naming pattern before appending.\n\nMain use cases:\n\n- Assign and modify tags for Landscape instances in create/edit workflows. \n- Allow users to discover existing tags through server-backed search or create conforming new tags inline.";
8
+ ds:anatomyDsl "node:\n uri: ds:apps_landscape.component.tag_multi_select\n role: Landscape instance-tag field\n edges:\n - node:\n semantic: label\n role: field label\n relation:\n cardinality: \"1\"\n - node:\n role: owning search and filter wrapper\n edges:\n - node:\n role: search container\n edges:\n - node:\n uri: global.component.chip\n role: selected tag\n relation:\n cardinality: \"0..*\"\n - node:\n uri: global.component.input\n role: search or create tag\n relation:\n cardinality: \"1\"\n - node:\n role: validation message\n relation:\n cardinality: \"0..1\"\n condition: inputError is truthy\n - node:\n role: overflow info\n relation:\n cardinality: \"0..1\"\n condition: overflowingChipsAmount is greater than zero and dropdown is closed\n relation:\n cardinality: \"1\"\n - node:\n role: loading state\n relation:\n cardinality: \"0..1\"\n condition: dropdown is open and tag query is pending\n - node:\n role: dropdown panel\n edges:\n - node:\n role: create prompt\n relation:\n cardinality: \"0..1\"\n condition: inputText is non-empty\n - node:\n role: matching tag list\n edges:\n - node:\n semantic: p\n role: tag list heading\n relation:\n cardinality: \"1\"\n - node:\n semantic: ul\n role: tag results\n edges:\n - node:\n semantic: li\n role: tag result\n edges:\n - node:\n uri: global.component.button\n role: select existing tag\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1..*\"\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"0..1\"\n condition: filteredTags contains at least one tag\n relation:\n cardinality: \"0..1\"\n condition: dropdown is open and tag query is not pending\n relation:\n cardinality: \"1\"";
9
+ ds:anatomyClassic "https://www.figma.com/design/I4WpvwMuQI6v1qhgUl63Sx/Landscape-Pragma-components?node-id=26-13&t=iG2ObZ6Q1XG2A2MB-4\n\nTable 70\n\nThe owning wrapper uses `p-search-and-filter`, the search container uses `p-search-and-filter__search-container`, and the dropdown panel uses `p-search-and-filter__panel`.";
10
+ ds:usage "### When to use\n\n**Landscape tag assignment**\n\nUse when editing controlled instance tags backed by the Landscape tags endpoint.\n\n**Validated tag creation**\n\nUse when the owning workflow allows appending a new tag string that starts with an ASCII letter and otherwise contains ASCII letters, digits, hyphens, or underscores.\n\n### When not to use\n\n**Generic multi-select lists**\n\nSelecting from arbitrary option arrays instead of Landscape tag management.\n\n**Incorrect pattern**: Using TagMultiSelect for non-tag categories (projects, profiles, environments) that don’t require server tag fetching.\n\n**Remediation strategy**: Implement a dedicated multi-select component using React Query and your own option array. Reserve TagMultiSelect for Landscape instance tags only.\n\n**Tag taxonomy administration**\n\nRenaming, deleting, or organizing the tag system itself.\n\n**Incorrect pattern**: Using TagMultiSelect as the interface for tag creation, modification, or deletion workflows.\n\n**Remediation strategy**: Implement separate admin forms or pages for tag management. TagMultiSelect is a field-level selector only, not an admin interface.\n\n**Accessibility-critical multiselect combobox**\n\nApplications where robust ARIA combobox semantics and full keyboard navigation are required.\n\n**Incorrect pattern**: Treating the current implementation as a complete ARIA multi-select combobox with full keyboard support and announced states.\n\n**Remediation strategy**: Implement or adopt an accessible combobox component with explicit `role=\"combobox\"`, active-descendant focus management, and all ARIA live-region announcements. The current TagMultiSelect needs semantic work before WCAG AA compliance can be claimed.";
11
+ ds:guidelines "### Accessibility\n\n- Current source needs an interactive combobox owner with `aria-expanded`, `aria-controls`, listbox/option semantics, active-descendant or roving focus, and selected states before upstream adoption.\n- Canonical Chip supplies dismiss controls, but local tests find each by the generic name “Dismiss”; tag-specific naming is not proven.\n- Input error uses `aria-invalid` and conditional `aria-errormessage`. Its id depends on an input id discovered after mount; before discovery it can be `-error`. Stability and screen-reader behavior are not covered by tests.\n- Label association also depends on post-mount DOM discovery rather than a caller/generated id contract.\n- No live region announces loading, result count, selection, removal, creation, closure, or overflow changes.\n\n### Content\n\n- “Tags”, “Add tags”, “Search for”, “Add tag”, list heading “Tags”, “Error:”, and validation messages are hardcoded English with no translation props except `label`.\n- The create prompt does not explicitly distinguish a new tag from a search, and it remains available for text matching an existing tag.\n- Correct “Tag must starts with a letter” before treating the component as content-ready.\n- Validation is ASCII-specific and does not accept letters from other scripts.\n\n### Keyboard and device\n\n- Input `keyup` behavior: Enter opens when closed; Enter creates when open; Escape closes when open. It does not prevent default form submission in this handler.\n- Existing-result buttons require Tab traversal or pointer activation; Arrow Up/Down, Home/End, active option, and Enter-to-select-result are absent.\n- Clicking anywhere in the search container opens the panel, including chip interactions before event propagation completes; outside click closes it.\n- Focus is not moved on open/close, after creation, or after dismissal.\n\n### State, query, and validation behavior\n\n- `useGetTags` uses React Query key `instanceTags`, authenticated fetch of `tags`, empty-array fallback, and `isPending` as loading. The component has no query error or retry message.\n- Filtering removes values present in controlled `tags` and performs trimmed, case-insensitive substring matching. With no input and no selected tags, it returns the fetched array unchanged.\n- Clicking an existing result appends it but does not locally clear input or close the panel. Creation appends trimmed text, clears input/error, and disables change-time validation after success.\n- Invalid creation retains text, stores the thrown Yup message, and enables validation on subsequent changes. Non-`Error` throws are ignored.\n- The component has no disabled, read-only, submission-loading, mutation, or server-side tag-creation state.\n\n### Device / layout\n\n- Root bottom margin is `2.5 * $sp-unit`; input flex basis is `8rem`; search container and box use `!important` padding/margin calculations based on Vanilla icon sizes and `$bar-thickness`.\n- Result list has `max-height: 20rem` and vertical scrolling. Prompt text is single-line ellipsized while Add tag does not shrink.\n- Panel placement compares available viewport height with a hardcoded `379` pixel estimate. It sets inline `top: 100%; bottom: auto` or the inverse and recomputes when open, window height changes, or measured chip-container height changes.\n- Placement does not account for panel’s actual rendered height, horizontal viewport bounds, window width, scrolling ancestors, or virtual keyboard. There are no component breakpoints.\n- Overflow count uses chip `offsetTop > offsetHeight`, recalculated on window resize and when tag count changes; it is a heuristic and is not recomputed for every font/layout change.";
12
+ ds:tier ds:apps_landscape;
13
+ ds:documentationStage ds:tag.specialadoption-docs;
14
+ ds:hasProperty [
15
+ a ds:Property;
16
+ ds:name "`tags`";
17
+ ds:summary "Supplies controlled tag names rendered as chips and excluded from fetched results. ";
18
+ ds:propertyType "list of text";
19
+ ds:defaultValue "—";
20
+ ds:constraints "TypeScript: `string[]`. Source does not deduplicate. Dismiss removes all equal strings; add appends even if the value already exists. Creation trims before validation and append. Internal Yup `validationSchema` is neither a prop nor a top-level export: it requires `^[a-zA-Z]`, then `^[a-zA-Z][a-zA-Z0-9_-]*$`. Its first error is `Tag must starts with a letter`. After an initial failure, change-time validation uses untrimmed input while creation validates trimmed input. "
21
+ ], [
22
+ a ds:Property;
23
+ ds:name "`onTagsChange`";
24
+ ds:summary "Receives the full next selection after add, create, or dismiss. ";
25
+ ds:propertyType "callback";
26
+ ds:defaultValue "—";
27
+ ds:constraints "TypeScript: `(value: string[]) => void`. Consumer must update `tags`; no optimistic local selection state exists. "
28
+ ], [
29
+ a ds:Property;
30
+ ds:name "`label`";
31
+ ds:summary "Supplies visible label text.";
32
+ ds:propertyType "text";
33
+ ds:defaultValue "`Tags`";
34
+ ds:constraints "TypeScript: `string`. Falsy values fall back to `Tags` because the source uses a logical-OR fallback. ";
35
+ ds:optional "true"
36
+ ], [
37
+ a ds:Property;
38
+ ds:name "`labelClassName`";
39
+ ds:summary "Adds a label class.";
40
+ ds:propertyType "text";
41
+ ds:defaultValue "—";
42
+ ds:constraints "TypeScript: `string`. Combined with `p-form__label` and the optional required class. ";
43
+ ds:optional "true"
44
+ ], [
45
+ a ds:Property;
46
+ ds:name "`required`";
47
+ ds:summary "Adds `is-required` to the label.";
48
+ ds:propertyType "boolean";
49
+ ds:defaultValue "—";
50
+ ds:constraints "TypeScript: `boolean`. Does not validate selection count or set an input `required` attribute. ";
51
+ ds:optional "true"
52
+ ].
@@ -0,0 +1,70 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:apps_landscape.pattern.content_blocks a ds:Pattern;
6
+ ds:name "Content Blocks";
7
+ ds:summary "Content Blocks is a compound layout pattern for separating a form or detail view into vertically stacked semantic sections. `Blocks` provides the stack and a shared heading-spacing mode; each `Blocks.Item` renders a `<section>` containing optional notification content, an optional heading group, and required section content.\n\nItems after the first receive a low-contrast top divider. When the group is placed directly in Vanilla panel content, the first item removes its normal top padding. The pattern organizes related content within one task or view; it does not create navigation between destinations.";
8
+ ds:anatomyDsl "node:\n uri: ds:apps_landscape.pattern.content_blocks\n role: section stack and spacing context\n styles:\n layout.display: flex\n layout.direction: column\n edges:\n - node:\n semantic: section\n role: content block item\n name: Content Block Item\n edges:\n - node:\n role: section-specific notification\n relation:\n cardinality: \"0..1\"\n slotName: notification\n - node:\n role: section introduction\n edges:\n - node:\n semantic: heading\n role: section title\n relation:\n cardinality: \"0..1\"\n - node:\n semantic: paragraph\n role: supporting description\n relation:\n cardinality: \"0..1\"\n slotName: description\n - node:\n role: section action\n relation:\n cardinality: \"0..1\"\n slotName: action\n relation:\n cardinality: \"0..1\"\n - node:\n role: section body\n relation:\n cardinality: \"1\"\n slotName: children\n relation:\n cardinality: \"0..*\"";
9
+ ds:anatomyClassic "https://www.figma.com/design/I4WpvwMuQI6v1qhgUl63Sx/Landscape-Pragma-components?node-id=17-19&t=iG2ObZ6Q1XG2A2MB-4\n\nTable 16\n\n";
10
+ ds:usage "### When to use\n\n**Section long forms**\n\nGroup related form controls into sections that users can scan by purpose. Use notifications and actions only when they belong to one section.\n\n**Structure detail views**\n\nSeparate related groups of record information while keeping a consistent heading rhythm.\n\n**Compose reusable section blocks**\n\nUse `Blocks.Item` in extracted child components when each child still participates in one parent `Blocks` stack and spacing context.\n\n### When not to use\n\n**Single undivided region**\n\nThe page contains only one short section or self-contained content area.\n\n**Incorrect pattern**: Wrapping a single content region in `Blocks` with one `Blocks.Item` to obtain spacing or section styling.\n\n**Remediation strategy**: Render the content directly; use Blocks only when multiple sections benefit from the divider, spacing context, and heading rhythm.\n\n**Unrelated navigation**\n\nThe groups represent distinct destinations or navigation branches, not sections within one task.\n\n**Incorrect pattern**: Using `Blocks` with items that function as tab panels or separate pages, each activatable as a distinct route.\n\n**Remediation strategy**: Use a tab, navigation, or multi-page component; Blocks is for sectioning related content within one unified page, not for navigation between destinations.\n\n**Arbitrary child collections**\n\nThe container exists to arrange generic children without semantic section structure.\n\n**Incorrect pattern**: Using `Blocks` as a generic vertical stack component for any flex-column layout or list of items.\n\n**Remediation strategy**: Use a generic flex column or wrapper; `Blocks` semantics and dividers are designed specifically for `Blocks.Item` sections that benefit from consistent heading treatment and visual separation.";
11
+ ds:guidelines "### Accessibility\n\n- Keep each generated `<h4>` in a logical page heading hierarchy. Do not choose Content Blocks solely to obtain heading styling when level four is semantically wrong.\n- A `Blocks.Item` without `title`, `description`, or `action` has a semantic `<section>` but no built-in accessible name. Ensure its surrounding context makes the region meaningful, or provide a titled structure elsewhere.\n- Give action controls accessible names that describe their section-scoped effect. DOM order is notification, title, description, action, then body.\n- Do not depend on the divider as the only indication that a new conceptual group begins; headings and content must communicate grouping.\n\n### Content\n\n- Use parallel, concise titles across sibling items.\n- Put essential instructions near the affected control rather than only in the section description.\n- Keep notifications specific to the section. Page-wide failures and notices belong outside the item stack.\n- Use an action label that states its effect; do not rely on the section title to make a generic label such as “Change” unambiguous.\n\n### Responsive behavior\n\n- The container remains a vertical flex stack at all widths; the source defines no responsive breakpoint or alternate item layout.\n- Heading children use normal block flow, so title, description, and action retain source order. Consumer-supplied action content must manage its own width and wrapping.\n- Long body content must provide its own overflow behavior; Blocks does not clip or scroll descendants.\n\n### Keyboard\n\n- Blocks and items add no focus targets or keyboard handlers. Focusable notification, action, and body descendants participate in normal DOM order.\n- Do not reposition actions visually ahead of notification or heading content in a way that conflicts with keyboard order.\n\n### Internationalization\n\n- Externalize titles, descriptions, notifications, and action labels at their owning feature.\n- Allow translated headings and descriptions to wrap. The title is a string, while description/action slots can carry richer localized markup.\n- Do not use capitalization alone to convey hierarchy; the current small-caps title presentation is visual.";
12
+ ds:tier ds:apps_landscape;
13
+ ds:documentationStage ds:tag.specialadoption-docs;
14
+ ds:hasProperty [
15
+ a ds:Property;
16
+ ds:name "children";
17
+ ds:summary "Children rendered inside the vertical Blocks container.";
18
+ ds:propertyType "ReactNode";
19
+ ds:defaultValue "None";
20
+ ds:constraints "Use `Blocks.Item` children so section semantics, dividers, and spacing remain consistent.";
21
+ ds:optional "false"
22
+ ], [
23
+ a ds:Property;
24
+ ds:name "spaced";
25
+ ds:summary " Selects the larger bottom margin for every descendant item heading group. ";
26
+ ds:propertyType "boolean";
27
+ ds:defaultValue "false";
28
+ ds:constraints "Distributed through BlocksSpacedContext; nested or independently rendered items read the nearest provider. ";
29
+ ds:optional "true"
30
+ ], [
31
+ a ds:Property;
32
+ ds:name "Blocks.Item children";
33
+ ds:summary "Primary section body.";
34
+ ds:propertyType "ReactNode";
35
+ ds:defaultValue "None";
36
+ ds:constraints "Rendered after all optional item anatomy and must remain understandable if no heading group is present.";
37
+ ds:optional "false"
38
+ ], [
39
+ a ds:Property;
40
+ ds:name "Blocks.Item title";
41
+ ds:summary " Section name rendered as an <h4>. ";
42
+ ds:propertyType "text";
43
+ ds:defaultValue "undefined";
44
+ ds:constraints "String-only; keep it concise and maintain a logical page heading hierarchy.";
45
+ ds:optional "true"
46
+ ], [
47
+ a ds:Property;
48
+ ds:name "Blocks.Item description";
49
+ ds:summary " Supporting content rendered in a paragraph below the title position. ";
50
+ ds:propertyType "ReactNode";
51
+ ds:defaultValue "undefined";
52
+ ds:constraints "Keep to phrasing and simple inline content valid inside `<p>`; complex block descendants would create invalid HTML.";
53
+ ds:optional "true"
54
+ ], [
55
+ a ds:Property;
56
+ ds:name "Blocks.Item action";
57
+ ds:summary " Section-scoped content rendered after title and description in the heading group. ";
58
+ ds:propertyType "ReactNode";
59
+ ds:defaultValue "undefined";
60
+ ds:constraints "The source does not provide action layout or responsive overflow handling; consumers own accessible control markup.";
61
+ ds:optional "true"
62
+ ], [
63
+ a ds:Property;
64
+ ds:name "Blocks.Item notification";
65
+ ds:summary " Section-specific content rendered before the heading group. ";
66
+ ds:propertyType "ReactNode";
67
+ ds:defaultValue "undefined";
68
+ ds:constraints "Prefer a notification/status presentation; do not duplicate a page-wide message in each item.";
69
+ ds:optional "true"
70
+ ].
@@ -0,0 +1,110 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:apps_landscape.pattern.dashboard_page_composition a ds:Pattern;
6
+ ds:name "Dashboard Page Composition";
7
+ ds:summary "Dashboard Page Layout is Landscape's recommended route-level composition convention using `PageMain`, `PageHeader`, and `PageContent`. In the conventional composition, one Page Header supplies optional breadcrumb navigation, one semantic page heading, and optional helper and action content, while one Page Content supplies a flex-growing region and an application error boundary around page children.\n\nThe three source components are composed by consumers rather than emitted by one exported wrapper. `PageMain` accepts arbitrary children and does not enforce the recommended header/content anatomy or cardinality. `PageHeader` measures its initial rendered height into the global `--pageheader-height` CSS custom property, and `PageContent` provides fluid or type-constrained medium alignment behavior.";
8
+ ds:anatomyDsl "node:\n uri: ds:apps_landscape.pattern.dashboard_page_layout\n role: recommended route-level dashboard composition\n edges:\n - node:\n role: dashboard panel shell\n name: Page Main\n description: Conventionally contains one Page Header followed by one Page Content, but accepts arbitrary children without enforcing their types or count.\n styles:\n layout.display: flex\n layout.direction: column\n edges:\n - node:\n role: page identity and controls\n name: Page Header\n edges:\n - node:\n semantic: navigation\n role: breadcrumb navigation\n edges:\n - node:\n semantic: ordered list\n role: breadcrumb path\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"0..1\"\n - node:\n semantic: heading\n role: semantic page title\n relation:\n cardinality: \"1\"\n - node:\n role: visible title treatment\n relation:\n cardinality: \"0..1\"\n - node:\n role: title helper content\n relation:\n cardinality: \"0..1\"\n slotName: helperContent\n - node:\n role: page actions\n relation:\n cardinality: \"0..*\"\n slotName: actions\n relation:\n cardinality: \"0..*\"\n - node:\n role: primary content region\n name: Page Content\n styles:\n layout.display: flex\n layout.direction: column\n edges:\n - node:\n role: page error boundary\n edges:\n - node:\n role: page content\n relation:\n cardinality: \"1\"\n slotName: children\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"0..*\"\n relation:\n cardinality: \"0..*\"";
9
+ ds:anatomyClassic "https://www.figma.com/design/I4WpvwMuQI6v1qhgUl63Sx/Landscape-Pragma-components?node-id=17-21&t=iG2ObZ6Q1XG2A2MB-4\n\nTable 18\n\n";
10
+ ds:usage "### When to use\n\n**Compose dashboard routes**\n\nBuild a Landscape dashboard route with the established panel, page identity, actions, and error-isolated content structure.\n\n**Constrain focused content**\n\nUse the medium content variant for forms or prose that should align to a constrained column rather than span the full panel.\n\n**Present broad data views**\n\nUse fluid content for tables and other layouts that need the available panel width, and set `hasTable` when the page’s primary content is tabular.\n\n### When not to use\n\n**Nested page sections**\n\nA section or subsystem is being laid out within an existing page, not at the route level.\n\n**Incorrect pattern**: Using `PageMain`, `PageHeader`, and `PageContent` for a secondary card or collapsible region inside another page.\n\n**Remediation strategy**: Use section-level layout components such as Content Blocks or simple flex containers inside the existing page content, not a nested page shell.\n\n**Modal or side-panel content**\n\nThe content appears in a modal dialog or slide-out panel, not in the main application viewport.\n\n**Incorrect pattern**: Composing `PageHeader` and `PageContent` inside a modal or side panel as if it were a route-level page.\n\n**Remediation strategy**: Use the container’s native header and content anatomy (e.g., Modal’s title and body) rather than wrapping it in dashboard page layout components.\n\n**Decorative headings**\n\nThe page heading is hidden solely for visual suppression without a meaningful visible alternative.\n\n**Incorrect pattern**: Using `hideTitle` to remove the `<h1>` without providing a `visualTitle` or other visible identifier so sighted users cannot see what page they are on.\n\n**Remediation strategy**: Keep the semantic `<h1>` visible, or use `hideTitle` with a coordinated `visualTitle` such as an icon, badge, or established branding treatment that maintains clear page identity for all users.";
11
+ ds:guidelines "### Accessibility\n\n- Compose exactly one meaningful `PageHeader` for the route, including hidden-title layouts. Each Page Header emits one `<h1>`, but the composition does not enforce how many Page Headers a consumer adds.\n- Breadcrumb navigation has `aria-label=\"Breadcrumbs\"`; current items receive `aria-current=\"page\"` and are not links. Supply one logical current destination and valid linked ancestor paths.\n- `visualTitle` is a `<div>`, not a heading. It cannot replace the semantic role of `title`.\n- `AppErrorBoundary` owns failures from Page Content descendants; do not place essential recovery controls outside the boundary unless they must survive a content failure.\n\n### Content\n\n- Use a stable page title and concise breadcrumb labels that match destination names.\n- Keep helper content secondary to the title and reserve header actions for page-wide commands.\n- Keep breadcrumb labels in route order and avoid duplicating the complete page title as unnecessary helper copy.\n- Use `visualTitle` and `hideTitle` as a coordinated treatment; hidden semantic text and visible text may differ only when that difference remains clear to all users.\n\n### Responsive behavior\n\n- At viewport widths up to 619px, Page Header removes title bottom padding. The source does not reorder breadcrumbs, title, helper content, or controls.\n- Page Main and Page Content use flex columns, `min-width: 0`, and `max-width: 100%` to let descendants shrink within the panel. Descendants remain responsible for their own overflow.\n- Medium-center aligns children centrally. Medium-left caps the inner column at 60rem. Fluid leaves the inner content at the available width.\n- Header controls and visual title have `flex-shrink: 0`; verify long translated titles and action sets at narrow widths.\n\n### Keyboard\n\n- Keep breadcrumbs before page actions in focus order.\n- When a route changes, move focus according to the application’s page-navigation convention, not into layout wrappers.\n- Layout wrappers add no tab stops. Links and controls supplied through breadcrumbs, helper content, actions, and children retain normal DOM order.\n\n### Internationalization\n\n- Externalize page titles, visual titles, breadcrumb labels, helper content, and action labels at the route level.\n- Allow titles and breadcrumb labels to wrap or truncate only through established application patterns; this layout does not add truncation.\n- The navigation label `Breadcrumbs` is hardcoded in source and requires an implementation change for localization.";
12
+ ds:tier ds:apps_landscape;
13
+ ds:documentationStage ds:tag.specialadoption-docs;
14
+ ds:hasProperty [
15
+ a ds:Property;
16
+ ds:name "PageMain children";
17
+ ds:summary "Route-level content inside the panel shell.";
18
+ ds:propertyType "ReactNode";
19
+ ds:defaultValue "None";
20
+ ds:constraints "Conventionally compose one Page Header followed by one Page Content. The source does not enforce child types, order, or count.";
21
+ ds:optional "false"
22
+ ], [
23
+ a ds:Property;
24
+ ds:name "PageHeader title";
25
+ ds:summary "Page identity rendered as that Page Header instance's `<h1>`, visible or off screen.";
26
+ ds:propertyType "text";
27
+ ds:defaultValue "None";
28
+ ds:constraints "Compose one Page Header per route so the result has one page-level `<h1>`; the component cannot prevent sibling headers or headings.";
29
+ ds:optional "false"
30
+ ], [
31
+ a ds:Property;
32
+ ds:name "PageHeader hideTitle";
33
+ ds:summary " Applies the off-screen utility to the semantic <h1>. ";
34
+ ds:propertyType "boolean";
35
+ ds:defaultValue "false";
36
+ ds:constraints "Use only when another visible treatment supplies sighted page identity. ";
37
+ ds:optional "false"
38
+ ], [
39
+ a ds:Property;
40
+ ds:name "PageHeader breadcrumbs";
41
+ ds:summary " Ordered breadcrumb records rendered above the title. ";
42
+ ds:propertyType "list of objects";
43
+ ds:defaultValue "undefined";
44
+ ds:constraints "Each entry is a `Breadcrumb`: a non-current item requires `label: string` and `path: string`; a current item requires `current: true` and `label: string`. An empty array renders no navigation.";
45
+ ds:optional "true"
46
+ ], [
47
+ a ds:Property;
48
+ ds:name "PageHeader actions";
49
+ ds:summary " Page-scoped content rendered in the panel controls region. ";
50
+ ds:propertyType "list of nodes";
51
+ ds:defaultValue "undefined";
52
+ ds:constraints "An empty array renders no controls container. Keep actions few or use an established responsive action composition. ";
53
+ ds:optional "true"
54
+ ], [
55
+ a ds:Property;
56
+ ds:name "PageHeader className";
57
+ ds:summary "Additional class on the Vanilla panel header root.";
58
+ ds:propertyType "text";
59
+ ds:defaultValue "undefined";
60
+ ds:constraints "Preserve panel header layout and semantics.";
61
+ ds:optional "true"
62
+ ], [
63
+ a ds:Property;
64
+ ds:name "PageHeader visualTitle";
65
+ ds:summary " Visible non-heading title rendered only when hideTitle is truthy. ";
66
+ ds:propertyType "text";
67
+ ds:defaultValue "undefined";
68
+ ds:constraints "It is ignored in normal-title mode and does not replace the semantic <h1>. ";
69
+ ds:optional "true"
70
+ ], [
71
+ a ds:Property;
72
+ ds:name "PageHeader helperContent";
73
+ ds:summary " Content rendered immediately after the visible <h1>. ";
74
+ ds:propertyType "ReactNode";
75
+ ds:defaultValue "undefined";
76
+ ds:constraints "It is not rendered when `hideTitle` is truthy. Supplying it also removes right padding from the header.";
77
+ ds:optional "true"
78
+ ], [
79
+ a ds:Property;
80
+ ds:name "PageContent children";
81
+ ds:summary " Primary route content wrapped by AppErrorBoundary. ";
82
+ ds:propertyType "ReactNode";
83
+ ds:defaultValue "None";
84
+ ds:constraints "Errors thrown by descendants are handled at this page-content boundary.";
85
+ ds:optional "false"
86
+ ], [
87
+ a ds:Property;
88
+ ds:name "PageContent container";
89
+ ds:summary "Selects the type-safe content alignment contract.";
90
+ ds:propertyType "\"fluid\" | \"medium\"";
91
+ ds:defaultValue "\"fluid”";
92
+ ds:constraints "Omit or use `\"fluid\"` without `align`; use `\"medium\"` to enable `align`.";
93
+ ds:optional "true"
94
+ ], [
95
+ a ds:Property;
96
+ ds:name "PageContent align";
97
+ ds:summary " Centers medium children or caps a left-aligned medium column at 60rem. ";
98
+ ds:propertyType "\"center\" | \"left\"";
99
+ ds:defaultValue "\"center”";
100
+ ds:constraints "Type-valid only with container=\"medium\". Runtime classes also apply only in medium mode. ";
101
+ ds:optional "true"
102
+ ], [
103
+ a ds:Property;
104
+ ds:name "PageContent hasTable";
105
+ ds:summary " Adds the table-page class, setting the outer content minimum height to zero. ";
106
+ ds:propertyType "boolean";
107
+ ds:defaultValue "undefined";
108
+ ds:constraints "Use for table-led pages that need the panel's table sizing behavior. ";
109
+ ds:optional "true"
110
+ ].
@@ -0,0 +1,24 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:apps_landscape.pattern.delivery_scheduling a ds:Pattern;
6
+ ds:name "Delivery Scheduling";
7
+ ds:summary "Delivery Scheduling is a reusable Landscape form pattern composed from two independent Formik-bound blocks. Delivery Block chooses immediate delivery or reveals a local `datetime-local` value for scheduled delivery; Randomization Block chooses whether to reveal a numeric delay window that spreads delivery over a number of minutes.\n\nThe blocks can be used together or separately. Their components own labels, choice values, reveal/reset effects, and basic input attributes, while the exported Yup fragments own the required, future-date, integer, range, and optional expiration-relative validation used by consuming forms.";
8
+ ds:anatomyDsl "node:\n uri: ds:apps_landscape.pattern.delivery_scheduling\n edges:\n - node:\n uri: ds:apps_landscape.component.expandable_radio_group\n role: delivery time\n edges:\n - node:\n uri: global.component.radio\n role: as soon as possible option\n relation:\n cardinality: \"1\"\n - node:\n uri: global.component.radio\n role: scheduled option\n edges:\n - node:\n uri: global.component.input\n role: deliver after\n attributes:\n type: datetime-local\n relation:\n cardinality: \"0..1\"\n slotName: expansion\n condition: scheduled option is selected\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1\"\n - node:\n uri: ds:apps_landscape.component.expandable_radio_group\n role: randomization\n edges:\n - node:\n uri: global.component.radio\n role: yes option\n edges:\n - node:\n uri: global.component.input\n role: delivery delay window\n attributes:\n type: number\n inputMode: numeric\n min: 0\n unit: minutes\n relation:\n cardinality: \"0..1\"\n slotName: expansion\n condition: yes option is selected\n relation:\n cardinality: \"1\"\n - node:\n uri: global.component.radio\n role: no option\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1\"";
9
+ ds:anatomyClassic "https://www.figma.com/design/I4WpvwMuQI6v1qhgUl63Sx/Landscape-Pragma-components?node-id=17-22&t=iG2ObZ6Q1XG2A2MB-4\n\nTable 19\n\n";
10
+ ds:usage "### When to use\n\n**Immediate or deferred work**\n\nUse when an operation can start as soon as possible or after a user-selected date and time.\n\n**Load distribution**\n\nUse when large fleets should receive work over a randomized minute window to reduce simultaneous load.\n\n**Composable scheduling controls**\n\nUse only Delivery Block when an action needs immediate/scheduled timing without randomization, or only Randomization Block when its base execution time is defined elsewhere. Source consumers use both combinations.\n\n### When not to use\n\n**Recurring execution**\n\nJobs that must repeat or follow a recurring schedule.\n\n**Incorrect pattern**: Using Delivery Block/Randomization Block for cron-like scheduled operations.\n\n**Remediation strategy**: Use Recurring Schedule or Cron Schedule instead.\n\n**Fixed delivery semantics**\n\nAn operation where the timing is determined by policy and users have no choice.\n\n**Incorrect pattern**: Rendering choice radios when the system always delivers immediately or always on a schedule.\n\n**Remediation strategy**: Omit the choice controls and render only the applicable delivery state or display as read-only metadata.\n\n**Date range or time-zone selection**\n\nRequirements to specify a start/end range, time zone, or calendar recurrence rules.\n\n**Incorrect pattern**: Using the local `datetime-local` input when users must select a time zone or define a date range.\n\n**Remediation strategy**: Use a dedicated date-range picker or time-zone-aware scheduling component instead.\n\n**Unvalidated standalone composition**\n\nAssuming that the rendered controls enforce all scheduling rules without parent validation.\n\n**Incorrect pattern**: Rendering the blocks without integrating the exported Yup validation fragments into the parent form schema.\n\n**Remediation strategy**: Compose both `deliveryValidationSchema` and `randomizationValidationSchema` (or equivalent validation) into the parent Formik schema.";
11
+ ds:guidelines "### Accessibility\n\n- The current Expandable Radio Group renders each heading as a styled paragraph and does not wrap its radios in `fieldset`, `legend`, or a named `radiogroup`. This is an upstream accessibility gap, not a guarantee of the Landscape implementation.\n- Conditional inputs are mounted immediately after and indented beneath their owning option, preserving reading order, but selection does not move focus into them.\n- Labels for “Deliver after” and “Delivery delay window” are visually hidden, not absent. Preserve them and keep Formik errors attached through Canonical Input.\n- Reveal/hide is controlled by radio selection; do not require pointer hover to discover either field.\n\n### Content\n\n- State the time zone used by the delivery date and whether the randomized window begins at that time.\n- Use minutes consistently for the delay window and explain the operational reason for randomization when needed.\n- The source’s visible copy is fixed English. Localize group labels, option labels, hidden input labels, help, and validation messages before using the pattern in a translated surface.\n\n### Internationalization and time\n\n- `datetime-local` intentionally carries no time-zone offset. The five-minute initializer converts the current Moment value to ISO and slices it to minutes; consumers must verify that this represents the intended local/server semantics.\n- Do not translate Formik field keys or submitted numeric units. Translate only visible labels, help, and errors.\n- Allow longer translated group labels to wrap above the options.\n\n### Keyboard navigation\n\n- Radio and input keyboard behavior is delegated to Canonical controls; the pattern adds no custom key handlers.\n- A selected expansion follows its radio in normal Tab order. Selecting a radio awaits its state update/effect but does not focus the newly mounted field.\n\n### Device and layout\n\n- Expansions are rendered through the shared Indent layout beneath the selected option. Verify its indentation at narrow widths; these source files define no responsive override.\n- Native `datetime-local` presentation varies by browser and device. Do not claim a calendar picker or equivalent UI on every platform.";
12
+ ds:tier ds:apps_landscape;
13
+ ds:documentationStage ds:tag.specialadoption-docs;
14
+ ds:hasProperty [
15
+ a ds:Property;
16
+ ds:name "DeliveryBlock.formik ";
17
+ ds:summary "Supplies values, getFieldProps, setFieldValue, errors, and touched state. ";
18
+ ds:constraints "TypeScript: Formik context with values containing deliver_immediately: boolean and deliver_after: string. Coda's property type taxonomy has no structured-object or Formik-context type. "
19
+ ], [
20
+ a ds:Property;
21
+ ds:name "RandomizationBlock.formik ";
22
+ ds:summary "Supplies the same Formik services for randomization. ";
23
+ ds:constraints "TypeScript: Formik context with values containing randomize_delivery: boolean and deliver_delay_window: number. Coda's property type taxonomy has no structured-object or Formik-context type. "
24
+ ].
@@ -0,0 +1,67 @@
1
+ @prefix ds: <https://ds.canonical.com/>.
2
+ @prefix anatomy: <https://anatomy.canonical.com/>.
3
+ @prefix dt: <https://dt.canonical.com/>.
4
+
5
+ ds:apps_landscape.pattern.form_field_help a ds:Pattern;
6
+ ds:name "Form Field Help";
7
+ ds:summary "Form Field Help describes two related Landscape compositions for optional contextual explanation. `FieldDescription` places a text label beside a help-icon Tooltip; `CheckboxInputWithHelp` places a Canonical Input and a fixed-position help Tooltip in one flex row, with a muted icon when the input is disabled.\n\nBoth variants delegate disclosure behavior to Canonical Tooltip. They do not create persistent field help, validation feedback, or a described-by relationship between the tooltip message and the associated form control.";
8
+ ds:anatomyDsl "node:\n uri: ds:apps_landscape.pattern.form_field_help\n edges:\n - node:\n role: field context\n relation:\n cardinality: \"1\"\n - node:\n uri: global.component.tooltip\n edges:\n - node:\n uri: global.component.icon\n name: help\n relation:\n cardinality: \"1\"\n - node:\n role: tooltip message\n relation:\n cardinality: \"1\"\n slotName: message\n relation:\n cardinality: \"1\"";
9
+ ds:anatomyClassic "https://www.figma.com/design/I4WpvwMuQI6v1qhgUl63Sx/Landscape-Pragma-components?node-id=25-53&t=iG2ObZ6Q1XG2A2MB-4\n\nTable 27\n\n";
10
+ ds:usage "### When to use\n\n**Contextual clarification**\n\nUse for short, optional explanation that would otherwise interrupt a compact form.\n\n**Unfamiliar settings**\n\nUse beside technical labels or checkbox choices whose consequences need clarification.\n\n**Supplementary information**\n\nUse only when users can understand and operate the control without opening the tooltip.\n\n### When not to use\n\n**Required instructions**\n\nEssential information users must read before completing a field.\n\n**Incorrect pattern**: Hiding critical setup steps or prerequisites behind a tooltip.\n\n**Remediation strategy**: Place required instructions persistently as label text or use persistent help text instead.\n\n**Validation feedback**\n\nErrors, warnings, or status messages that must remain visible.\n\n**Incorrect pattern**: Using a tooltip for validation errors or status that changes dynamically.\n\n**Remediation strategy**: Use persistent error/help text or use a dedicated validation pattern paired with the form control.\n\n**Long or interactive content**\n\nRich content like multi-step guidance, links, tables, or content that should remain open.\n\n**Incorrect pattern**: Forcing multi-paragraph help, clickable links, or complex structures into a tooltip.\n\n**Remediation strategy**: Use persistent help text, a disclosure/accordion, or a dedicated help panel for rich content.\n\n**Accessible label replacement**\n\nUsing the help icon or text as the only way to identify a form control.\n\n**Incorrect pattern**: Treating the icon or FieldDescription text span as a substitute for a form control’s native label.\n\n**Remediation strategy**: Always provide an explicit `<label>` or aria-label on the control itself; use help only as supplementary context.";
11
+ ds:guidelines "";
12
+ ds:tier ds:apps_landscape;
13
+ ds:documentationStage ds:tag.specialadoption-docs;
14
+ ds:hasProperty [
15
+ a ds:Property;
16
+ ds:name "FieldDescription.label ";
17
+ ds:summary "Text rendered in the wrapper span. ";
18
+ ds:propertyType "text";
19
+ ds:defaultValue "— ";
20
+ ds:constraints "Visual text only; the component does not bind it to a control. "
21
+ ], [
22
+ a ds:Property;
23
+ ds:name "FieldDescription.description ";
24
+ ds:summary "Content passed to Tooltip as its message. ";
25
+ ds:propertyType "node";
26
+ ds:defaultValue "— ";
27
+ ds:constraints "Exact type: ReactNode. Keep actual usage concise and non-essential. "
28
+ ], [
29
+ a ds:Property;
30
+ ds:name "FieldDescription.tooltipPosition ";
31
+ ds:summary "Positions the Canonical Tooltip. ";
32
+ ds:propertyType "choice";
33
+ ds:defaultValue "\"top-left\" ";
34
+ ds:constraints "Exact type: \"btm-center\" | \"btm-left\" | \"btm-right\" | \"left\" | \"right\" | \"top-center\" | \"top-left\" | \"top-right\" | undefined. ";
35
+ ds:optional "true"
36
+ ], [
37
+ a ds:Property;
38
+ ds:name "CheckboxInputWithHelp.tooltipMessage ";
39
+ ds:summary "Fixed string passed to Tooltip as its message. ";
40
+ ds:propertyType "text";
41
+ ds:defaultValue "— ";
42
+ ds:constraints "Rich React content is not accepted by this wrapper's type. "
43
+ ], [
44
+ a ds:Property;
45
+ ds:name "CheckboxInputWithHelp.label ";
46
+ ds:summary "Passed explicitly to Canonical Input. ";
47
+ ds:propertyType "node";
48
+ ds:defaultValue "— ";
49
+ ds:constraints "Exact type: ReactNode. Uses Canonical Input's behavior when omitted; use a visible, specific checkbox label. ";
50
+ ds:optional "true"
51
+ ], [
52
+ a ds:Property;
53
+ ds:name "CheckboxInputWithHelp.disabled ";
54
+ ds:summary "Passed to Input and controls the icon opacity class. ";
55
+ ds:propertyType "boolean";
56
+ ds:defaultValue "— ";
57
+ ds:constraints "Exact type: InputProps[\"disabled\"]. Omission uses Canonical Input's behavior and does not apply the disabled icon class. It does not locally disable the Tooltip. ";
58
+ ds:optional "true"
59
+ ], [
60
+ a ds:Property;
61
+ ds:name "CheckboxInputWithHelp.remaining InputProps ";
62
+ ds:summary "Forwarded to Canonical Input after local type, label, and disabled. ";
63
+ ds:propertyType "object";
64
+ ds:defaultValue "— ";
65
+ ds:constraints "Exact contract: CheckboxInputWithHelpProps extends InputProps { readonly tooltipMessage: string }. Inherited props use their Canonical defaults. Because the spread is last, props such as type may override type=\"checkbox\"; consumers should not do so. ";
66
+ ds:optional "true"
67
+ ].