@canonical/design-system 0.46.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (396) hide show
  1. package/data/apps/component/file_tree.ttl +1 -2
  2. package/data/apps/component/inline_panel.ttl +2 -3
  3. package/data/apps/component/log.ttl +0 -1
  4. package/data/apps/component/navigation.ttl +0 -1
  5. package/data/apps/component/notification.ttl +0 -1
  6. package/data/apps/component/side_navigation.ttl +678 -5
  7. package/data/apps/component/skeleton_loading.ttl +0 -1
  8. package/data/apps/component/status_bar.ttl +0 -1
  9. package/data/apps/component/toolbar.ttl +0 -1
  10. package/data/apps/group/notifications.ttl +0 -1
  11. package/data/apps/layout/application_layout.ttl +1 -2
  12. package/data/apps/layout/content_layout.ttl +1 -2
  13. package/data/apps/layout/empty_layout.ttl +0 -1
  14. package/data/apps/layout/list_page_layout.ttl +0 -1
  15. package/data/apps/layout/login_layout.ttl +0 -1
  16. package/data/apps/layout/settings_page_layout.ttl +0 -1
  17. package/data/apps/layout/side_panel_form_layout.ttl +0 -1
  18. package/data/apps/layout/view_layout.ttl +0 -1
  19. package/data/apps/pattern/action_bar.ttl +0 -1
  20. package/data/apps/pattern/code_diff.ttl +2 -2
  21. package/data/apps/pattern/data_views.ttl +85 -0
  22. package/data/apps/pattern/datatable.ttl +8 -78
  23. package/data/apps/pattern/destructive_modal.ttl +0 -1
  24. package/data/apps/pattern/drawer.ttl +0 -1
  25. package/data/apps/pattern/keyboard_shortcuts.ttl +0 -1
  26. package/data/apps/pattern/notification_center.ttl +4 -5
  27. package/data/apps/pattern/page_header.ttl +58 -6
  28. package/data/apps/pattern/side_panel.ttl +221 -45
  29. package/data/apps/pattern/sidepanel_stacked.ttl +0 -1
  30. package/data/apps/subcomponent/data_table-action_bar.ttl +3 -3
  31. package/data/apps/subcomponent/data_table-body_cell.ttl +19 -19
  32. package/data/apps/subcomponent/data_table-group_header_row.ttl +1 -1
  33. package/data/apps/subcomponent/data_table-header_cell.ttl +11 -11
  34. package/data/apps/subcomponent/data_table-pagination_bar.ttl +9 -9
  35. package/data/apps/subcomponent/data_table-persistent_selection.ttl +2 -2
  36. package/data/apps/subcomponent/data_table-settings_menu.ttl +3 -3
  37. package/data/apps/subcomponent/data_views-filters.ttl +12 -0
  38. package/data/apps/subcomponent/data_views-saved_views.ttl +12 -0
  39. package/data/apps/subcomponent/data_views-sort_panel.ttl +12 -0
  40. package/data/apps/subcomponent/drawer-content.ttl +0 -1
  41. package/data/apps/subcomponent/drawer-footer.ttl +0 -1
  42. package/data/apps/subcomponent/drawer-header.ttl +0 -1
  43. package/data/apps/subcomponent/file_tree-node.ttl +0 -1
  44. package/data/apps/subcomponent/file_tree-search_box.ttl +13 -0
  45. package/data/apps/subcomponent/file_tree-tree_view.ttl +13 -0
  46. package/data/apps/subcomponent/git_diff_viewer-code_diff_viewer.ttl +13 -0
  47. package/data/apps/subcomponent/git_diff_viewer-file_header.ttl +13 -0
  48. package/data/apps/subcomponent/side_navigation-content.ttl +339 -3
  49. package/data/apps/subcomponent/side_navigation-context_switcher-field.ttl +18 -0
  50. package/data/apps/subcomponent/side_navigation-context_switcher-item_content.ttl +18 -0
  51. package/data/apps/subcomponent/side_navigation-context_switcher.ttl +172 -2
  52. package/data/apps/subcomponent/side_navigation-footer.ttl +270 -0
  53. package/data/apps/subcomponent/side_navigation-header.ttl +262 -0
  54. package/data/apps/subcomponent/side_navigation-item.ttl +115 -2
  55. package/data/apps/subcomponent/side_navigation-item_group.ttl +224 -2
  56. package/data/apps/subcomponent/side_panel-footer.ttl +39 -7
  57. package/data/apps/subcomponent/side_panel-header.ttl +86 -110
  58. package/data/apps_anbox/pattern/side_menu.ttl +5 -6
  59. package/data/apps_debcrafters/component/deb_package_card.ttl +0 -1
  60. package/data/apps_debcrafters/component/example.ttl +0 -1
  61. package/data/apps_debcrafters/component/my_fancy_component.ttl +0 -1
  62. package/data/apps_juju/pattern/single_select_multi_layered.ttl +0 -1
  63. package/data/apps_landscape/component/checkbox_group.ttl +26 -26
  64. package/data/apps_landscape/component/code_editor.ttl +32 -32
  65. package/data/apps_landscape/component/cron_schedule.ttl +2 -2
  66. package/data/apps_landscape/component/expandable_radio_group.ttl +18 -18
  67. package/data/apps_landscape/component/expandable_truncation.ttl +11 -11
  68. package/data/apps_landscape/component/form_section.ttl +2 -2
  69. package/data/apps_landscape/component/gpg_key_field.ttl +21 -21
  70. package/data/apps_landscape/component/grouped_select.ttl +23 -23
  71. package/data/apps_landscape/component/loading_state.ttl +6 -6
  72. package/data/apps_landscape/component/managed_file_input.ttl +13 -13
  73. package/data/apps_landscape/component/multi_select_field.ttl +44 -44
  74. package/data/apps_landscape/component/password_constraints.ttl +2 -2
  75. package/data/apps_landscape/component/progress_bar.ttl +15 -15
  76. package/data/apps_landscape/component/read_only_field.ttl +10 -10
  77. package/data/apps_landscape/component/search_help_popup.ttl +10 -10
  78. package/data/apps_landscape/component/search_query_editor.ttl +29 -29
  79. package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
  80. package/data/apps_landscape/pattern/content_blocks.ttl +16 -16
  81. package/data/apps_landscape/pattern/dashboard_page_composition.ttl +26 -26
  82. package/data/apps_landscape/pattern/delivery_scheduling.ttl +2 -2
  83. package/data/apps_landscape/pattern/form_field_help.ttl +12 -12
  84. package/data/apps_landscape/pattern/header_search_controls.ttl +26 -26
  85. package/data/apps_landscape/pattern/ignorable_notification.ttl +10 -10
  86. package/data/apps_landscape/pattern/information_grid.ttl +13 -13
  87. package/data/apps_landscape/pattern/instance_association.ttl +5 -5
  88. package/data/apps_landscape/pattern/process_flow.ttl +9 -9
  89. package/data/apps_landscape/pattern/progressively_expandable_table.ttl +29 -29
  90. package/data/apps_landscape/pattern/recurring_schedule.ttl +4 -4
  91. package/data/apps_landscape/pattern/responsive_action_group.ttl +11 -11
  92. package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
  93. package/data/apps_landscape/pattern/responsive_table_filters.ttl +9 -9
  94. package/data/apps_landscape/pattern/side_panel_form_actions.ttl +30 -30
  95. package/data/apps_landscape/pattern/sortable_list.ttl +11 -11
  96. package/data/apps_landscape/pattern/table_filter.ttl +40 -40
  97. package/data/apps_landscape/pattern/table_filter_chips.ttl +44 -44
  98. package/data/apps_landscape/pattern/table_pagination.ttl +48 -48
  99. package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +18 -18
  100. package/data/apps_landscape/subcomponent/bold_substring.ttl +6 -6
  101. package/data/apps_landscape/subcomponent/inline_cell_input.ttl +7 -7
  102. package/data/apps_landscape/subcomponent/label_with_description.ttl +10 -10
  103. package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +9 -9
  104. package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
  105. package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +14 -14
  106. package/data/apps_launchpad/component/accordion.ttl +0 -1
  107. package/data/apps_launchpad/component/avatar.ttl +2 -2
  108. package/data/apps_launchpad/component/badge.ttl +2 -2
  109. package/data/apps_launchpad/component/button.ttl +2 -2
  110. package/data/apps_launchpad/component/combobox.ttl +2 -2
  111. package/data/apps_launchpad/component/description_list.ttl +1 -1
  112. package/data/apps_launchpad/component/drawer.ttl +0 -1
  113. package/data/apps_launchpad/component/link.ttl +0 -1
  114. package/data/apps_launchpad/component/markdown_editor.ttl +0 -1
  115. package/data/apps_launchpad/component/modal.ttl +5 -5
  116. package/data/apps_launchpad/component/pagination.ttl +0 -1
  117. package/data/apps_launchpad/component/popover.ttl +0 -1
  118. package/data/apps_launchpad/component/relative_timestamp.ttl +0 -1
  119. package/data/apps_launchpad/component/spinner.ttl +0 -1
  120. package/data/apps_launchpad/component/table.ttl +0 -1
  121. package/data/apps_launchpad/component/text_input.ttl +1 -1
  122. package/data/apps_launchpad/component/timestamp.ttl +0 -1
  123. package/data/apps_launchpad/component/tooltip.ttl +2 -2
  124. package/data/apps_launchpad/subcomponent/modal-content-body.ttl +0 -1
  125. package/data/apps_launchpad/subcomponent/modal-content-footer.ttl +0 -1
  126. package/data/apps_launchpad/subcomponent/modal-content-header-close_button.ttl +0 -1
  127. package/data/apps_launchpad/subcomponent/modal-content-header.ttl +0 -1
  128. package/data/apps_launchpad/subcomponent/modal-content.ttl +0 -1
  129. package/data/apps_launchpad/subcomponent/side_panel-content-body.ttl +0 -1
  130. package/data/apps_launchpad/subcomponent/side_panel-content-footer.ttl +0 -1
  131. package/data/apps_launchpad/subcomponent/side_panel-content-header-close_button.ttl +0 -1
  132. package/data/apps_launchpad/subcomponent/side_panel-content-header.ttl +0 -1
  133. package/data/apps_launchpad/subcomponent/side_panel-content.ttl +0 -1
  134. package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
  135. package/data/apps_lxd/component/output_field.ttl +7 -7
  136. package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +1 -1
  137. package/data/apps_lxd/view/network_topology.ttl +6 -6
  138. package/data/apps_portal/component/badge.ttl +0 -1
  139. package/data/apps_portal/component/credit_card_input.ttl +0 -1
  140. package/data/apps_portal/component/key_value_pair.ttl +0 -1
  141. package/data/apps_portal/pattern/purchase_summary.ttl +0 -1
  142. package/data/apps_portal/subcomponent/read_only_modal.ttl +0 -1
  143. package/data/apps_support/component/data_spotlight.ttl +0 -1
  144. package/data/apps_support/subcomponent/ai_prompt_input.ttl +0 -1
  145. package/data/{apps_workplaceengineering → apps_workplace}/component/complex_multi_select.ttl +3 -4
  146. package/data/{apps_workplaceengineering → apps_workplace}/component/label-highlight.ttl +5 -5
  147. package/data/{apps_workplaceengineering → apps_workplace}/component/org_chart.ttl +2 -3
  148. package/data/{apps_workplaceengineering → apps_workplace}/component/rule.ttl +2 -3
  149. package/data/{apps_workplaceengineering → apps_workplace}/component/skip_link.ttl +2 -3
  150. package/data/{apps_workplaceengineering → apps_workplace}/component/theme_switcher.ttl +2 -3
  151. package/data/{apps_workplaceengineering → apps_workplace}/pattern/callout_numbers_card.ttl +3 -3
  152. package/data/{apps_workplaceengineering → apps_workplace}/pattern/confirmation_modal.ttl +2 -3
  153. package/data/{apps_workplaceengineering → apps_workplace}/pattern/org_event_card.ttl +2 -3
  154. package/data/{apps_workplaceengineering → apps_workplace}/subcomponent/multi_select_input.ttl +2 -3
  155. package/data/{apps_workplaceengineering.ttl → apps_workplace.ttl} +2 -2
  156. package/data/concept/Accessibility.ttl +9 -0
  157. package/data/concept/Breakpoints.ttl +9 -0
  158. package/data/concept/Design-tokens-Overview.ttl +10 -0
  159. package/data/concept/Filtering-patterns.ttl +0 -1
  160. package/data/concept/Foundations-Baseline.ttl +0 -1
  161. package/data/concept/Foundations-Color.ttl +10 -0
  162. package/data/concept/Foundations-Density--the-form-channel.ttl +0 -1
  163. package/data/concept/Foundations-Grid--Layout.ttl +1 -2
  164. package/data/concept/Foundations-Spacing/-Element-vs-container-owned.ttl +0 -1
  165. package/data/concept/Foundations-Spacing.ttl +0 -1
  166. package/data/concept/Foundations-Surfaces.ttl +0 -1
  167. package/data/concept/Foundations-Typography.ttl +1 -2
  168. package/data/concept/How-to-choose-between-question-mark-and-information-icon.ttl +10 -0
  169. package/data/concept/How-to-differentiate-types-of-UI-blocks-.ttl +0 -1
  170. package/data/concept/How-to-indicate-required-fields-in-forms.ttl +0 -1
  171. package/data/concept/How-to-support-modifiers-in-a-component.ttl +0 -1
  172. package/data/concept/Intentional-friction.ttl +0 -1
  173. package/data/concept/Overflow.ttl +0 -1
  174. package/data/concept/Understanding-the-modifier-contract.ttl +0 -1
  175. package/data/documentation/layout/content_page_layout.ttl +0 -1
  176. package/data/documentation/layout/documentation_layout.ttl +0 -1
  177. package/data/documentation/layout/library_layout.ttl +0 -1
  178. package/data/documentation/layout/search_page_layout.ttl +0 -1
  179. package/data/documentation/pattern/library_side_navigation.ttl +2 -2
  180. package/data/global/component/accordion.ttl +15 -15
  181. package/data/global/component/announcement.ttl +3 -2
  182. package/data/global/component/avatar.ttl +1 -2
  183. package/data/global/component/badge.ttl +10 -10
  184. package/data/global/component/breadcrumbs.ttl +10 -10
  185. package/data/global/component/button.ttl +14 -14
  186. package/data/global/component/button_link.ttl +1 -2
  187. package/data/global/component/card.ttl +3 -7
  188. package/data/global/component/checkbox_field.ttl +0 -1
  189. package/data/global/component/chip.ttl +15 -14
  190. package/data/global/component/choices_field.ttl +0 -1
  191. package/data/global/component/code_snippet-content.ttl +0 -1
  192. package/data/global/component/code_snippet-header.ttl +0 -1
  193. package/data/global/component/code_snippet.ttl +1 -1
  194. package/data/global/component/color_field.ttl +0 -1
  195. package/data/global/component/combobox_field.ttl +0 -1
  196. package/data/global/component/contextual_menu.ttl +10 -9
  197. package/data/global/component/data_tooltip.ttl +49 -55
  198. package/data/global/component/date_field.ttl +0 -1
  199. package/data/global/component/date_time_field.ttl +0 -1
  200. package/data/global/component/drag_and_drop_list.ttl +0 -1
  201. package/data/global/component/dropdown_button.ttl +1 -1
  202. package/data/global/component/file_upload_field.ttl +509 -60
  203. package/data/global/component/heading.ttl +1 -1
  204. package/data/global/component/hidden_field.ttl +0 -1
  205. package/data/global/component/icon.ttl +4 -4
  206. package/data/global/component/icon_button.ttl +141 -6
  207. package/data/global/component/icon_in_container.ttl +2 -3
  208. package/data/{apps → global}/component/key_value_pair.ttl +2 -3
  209. package/data/global/component/keyboard_key.ttl +0 -1
  210. package/data/global/component/link.ttl +0 -1
  211. package/data/global/component/links.ttl +0 -1
  212. package/data/global/component/{markdown_field.ttl → markdown_editor_field.ttl} +3 -4
  213. package/data/global/component/mode_switcher.ttl +1 -2
  214. package/data/global/component/month_field.ttl +0 -1
  215. package/data/global/component/notification_inline.ttl +0 -1
  216. package/data/global/component/notification_toast.ttl +0 -1
  217. package/data/global/component/number_field.ttl +1 -2
  218. package/data/global/component/pagination.ttl +0 -1
  219. package/data/global/component/password_field.ttl +0 -1
  220. package/data/global/component/phone_field.ttl +0 -1
  221. package/data/global/component/popover.ttl +0 -1
  222. package/data/global/component/range_field.ttl +0 -80
  223. package/data/global/component/rating_field.ttl +0 -1
  224. package/data/global/component/relative_timestamp.ttl +0 -1
  225. package/data/global/component/rich_choices_field.ttl +0 -1
  226. package/data/global/component/rich_text_editor.ttl +0 -1
  227. package/data/global/component/rich_text_field.ttl +0 -1
  228. package/data/global/component/search_field.ttl +0 -1
  229. package/data/global/component/segmented_control.ttl +0 -1
  230. package/data/global/component/segmented_control_field.ttl +0 -1
  231. package/data/global/component/select_field.ttl +0 -1
  232. package/data/global/component/switch_field.ttl +0 -1
  233. package/data/global/component/table.ttl +2 -2
  234. package/data/global/component/tag.ttl +2 -2
  235. package/data/global/component/text_field.ttl +0 -1
  236. package/data/global/component/textarea_field.ttl +0 -1
  237. package/data/global/component/tile.ttl +8 -8
  238. package/data/global/component/time_field.ttl +0 -1
  239. package/data/global/component/timestamp.ttl +0 -1
  240. package/data/global/component/tooltip.ttl +76 -208
  241. package/data/global/component/wrapper_tooltip.ttl +188 -0
  242. package/data/global/group/buttons.ttl +0 -1
  243. package/data/global/group/cards.ttl +1 -2
  244. package/data/global/group/code_snippets.ttl +0 -1
  245. package/data/{apps → global}/group/key_value_pairs.ttl +2 -3
  246. package/data/global/group/keyboard_keys.ttl +0 -1
  247. package/data/global/group/tiles.ttl +0 -1
  248. package/data/global/layout/error_layout.ttl +0 -1
  249. package/data/global/layout/identity_page_form.ttl +0 -1
  250. package/data/global/modifier/achromat.ttl +8 -0
  251. package/data/global/modifier/constructive.ttl +1 -1
  252. package/data/global/modifier/dark.ttl +1 -1
  253. package/data/global/modifier/deprecated.ttl +8 -0
  254. package/data/global/modifier/{focused.ttl → deutan.ttl} +3 -3
  255. package/data/global/modifier/elevated.ttl +1 -1
  256. package/data/global/modifier/end_of_life.ttl +8 -0
  257. package/data/global/modifier/{muted.ttl → less.ttl} +3 -3
  258. package/data/global/modifier/light.ttl +1 -1
  259. package/data/global/modifier/{loading.ttl → lts.ttl} +3 -3
  260. package/data/global/modifier/modal.ttl +1 -1
  261. package/data/global/modifier/{editable.ttl → more.ttl} +3 -3
  262. package/data/global/modifier/protan.ttl +8 -0
  263. package/data/global/modifier/standard.ttl +8 -0
  264. package/data/global/modifier/tritan.ttl +8 -0
  265. package/data/global/modifier/typical.ttl +8 -0
  266. package/data/global/modifier_family/_emphasis.ttl +1 -2
  267. package/data/global/modifier_family/_other.ttl +1 -2
  268. package/data/global/modifier_family/{mode.ttl → color.ttl} +2 -2
  269. package/data/global/modifier_family/color_vision.ttl +9 -0
  270. package/data/global/modifier_family/contrast.ttl +9 -0
  271. package/data/global/modifier_family/elevation.ttl +9 -0
  272. package/data/global/modifier_family/support.ttl +9 -0
  273. package/data/global/modifier_family/surface.ttl +1 -1
  274. package/data/global/pattern/description_list.ttl +1 -2
  275. package/data/global/pattern/field.ttl +0 -1
  276. package/data/global/pattern/filter.ttl +0 -1
  277. package/data/global/pattern/form_login.ttl +0 -1
  278. package/data/global/pattern/info_table.ttl +0 -1
  279. package/data/global/pattern/modal.ttl +198 -142
  280. package/data/global/pattern/stepper.ttl +0 -1
  281. package/data/global/pattern/table_of_contents.ttl +0 -1
  282. package/data/global/pattern/timeline.ttl +22 -22
  283. package/data/global/pattern/{navigation.ttl → top_navigation.ttl} +2 -3
  284. package/data/global/subcomponent/accordion-item.ttl +1 -2
  285. package/data/global/subcomponent/breadcrumbs-item.ttl +0 -1
  286. package/data/global/subcomponent/card-content.ttl +1 -2
  287. package/data/global/subcomponent/card-footer.ttl +0 -1
  288. package/data/global/subcomponent/card-header.ttl +1 -2
  289. package/data/global/subcomponent/card-image.ttl +1 -2
  290. package/data/global/subcomponent/card-thumbnail.ttl +0 -1
  291. package/data/global/subcomponent/chart_legend.ttl +0 -1
  292. package/data/global/subcomponent/chart_legend_item.ttl +0 -1
  293. package/data/global/subcomponent/checkbox_input.ttl +0 -1
  294. package/data/global/subcomponent/color_input.ttl +0 -1
  295. package/data/global/subcomponent/combobox_input.ttl +0 -1
  296. package/data/global/subcomponent/contextual_menu-item.ttl +13 -0
  297. package/data/global/subcomponent/contextual_menu-list.ttl +13 -0
  298. package/data/global/subcomponent/contextual_menu-submenu.ttl +13 -0
  299. package/data/global/subcomponent/data_tooltip-chart_legend.ttl +133 -0
  300. package/data/global/subcomponent/date_input.ttl +0 -1
  301. package/data/global/subcomponent/date_time_input.ttl +0 -1
  302. package/data/global/subcomponent/field-description.ttl +1 -2
  303. package/data/global/subcomponent/field-error.ttl +1 -2
  304. package/data/global/subcomponent/field-label.ttl +1 -2
  305. package/data/global/subcomponent/file_upload_input.ttl +503 -50
  306. package/data/global/subcomponent/hidden_input.ttl +0 -1
  307. package/data/global/subcomponent/kvp_container.ttl +1 -2
  308. package/data/global/subcomponent/kvpitem_base.ttl +1 -2
  309. package/data/global/subcomponent/{markdown_input.ttl → markdown_editor_input.ttl} +3 -4
  310. package/data/global/subcomponent/modal-content.ttl +4 -13
  311. package/data/global/subcomponent/modal-footer.ttl +21 -29
  312. package/data/global/subcomponent/modal-header.ttl +53 -141
  313. package/data/global/subcomponent/month_input.ttl +0 -1
  314. package/data/global/subcomponent/number_input.ttl +1 -2
  315. package/data/global/subcomponent/password_input.ttl +0 -1
  316. package/data/global/subcomponent/phone_input.ttl +0 -1
  317. package/data/global/subcomponent/radio_input.ttl +0 -1
  318. package/data/global/subcomponent/range_input.ttl +3 -85
  319. package/data/global/subcomponent/rating_input.ttl +0 -1
  320. package/data/global/subcomponent/rich_text_input.ttl +0 -1
  321. package/data/global/subcomponent/search_input.ttl +8 -8
  322. package/data/global/subcomponent/segmented_control_input.ttl +0 -1
  323. package/data/global/subcomponent/select_input.ttl +0 -1
  324. package/data/global/subcomponent/spin_button.ttl +0 -1
  325. package/data/global/subcomponent/spinner.ttl +0 -1
  326. package/data/global/subcomponent/switch_input.ttl +0 -1
  327. package/data/global/subcomponent/table-cell.ttl +0 -1
  328. package/data/global/subcomponent/table-row.ttl +0 -1
  329. package/data/global/subcomponent/text_editor_input.ttl +12 -0
  330. package/data/global/subcomponent/text_input.ttl +0 -1
  331. package/data/global/subcomponent/textarea_input.ttl +1 -2
  332. package/data/global/subcomponent/tile-content.ttl +0 -1
  333. package/data/global/subcomponent/tile-header.ttl +5 -6
  334. package/data/global/subcomponent/time_input.ttl +0 -1
  335. package/data/global/subcomponent/timeline-content.ttl +1 -2
  336. package/data/global/subcomponent/timeline-event.ttl +1 -1
  337. package/data/global/variant/tooltip_dense.ttl +111 -5
  338. package/data/global/view/settings_view.ttl +0 -1
  339. package/data/global_dataviews/component/filter_button.ttl +486 -0
  340. package/data/global_dataviews/component/query_bar.ttl +1638 -0
  341. package/data/global_dataviews/component/query_chip.ttl +605 -0
  342. package/data/global_dataviews/group/query_chips.ttl +564 -0
  343. package/data/global_dataviews/modifier/exclusion.ttl +8 -0
  344. package/data/global_dataviews/modifier/inclusion.ttl +8 -0
  345. package/data/global_dataviews/modifier/match.ttl +8 -0
  346. package/data/global_dataviews/modifier/presence.ttl +8 -0
  347. package/data/global_dataviews/modifier/range.ttl +8 -0
  348. package/data/global_dataviews/modifier_family/condition.ttl +9 -0
  349. package/data/global_dataviews/subcomponent/query_chip-entry.ttl +185 -0
  350. package/data/global_dataviews/subcomponent/query_chip-segment.ttl +240 -0
  351. package/data/global_dataviews/subcomponent/query_input.ttl +1286 -0
  352. package/data/global_dataviews.ttl +6 -0
  353. package/data/sites/component/quote.ttl +0 -1
  354. package/data/sites/component/rule.ttl +0 -1
  355. package/data/sites/component/section.ttl +0 -1
  356. package/data/sites/component/store_card.ttl +7 -7
  357. package/data/sites/group/blog_cards.ttl +0 -1
  358. package/data/sites/group/xblog_elements.ttl +0 -1
  359. package/data/sites/layout/blog_page_layout.ttl +0 -1
  360. package/data/sites/layout/case_study_layout.ttl +0 -1
  361. package/data/sites/layout/site_layout.ttl +0 -1
  362. package/data/sites/pattern/hero-github.ttl +0 -1
  363. package/data/sites/pattern/hero.ttl +1 -2
  364. package/data/sites/pattern/info_table.ttl +0 -1
  365. package/data/sites/pattern/pricing_section.ttl +0 -1
  366. package/data/sites/pattern/pricing_table.ttl +0 -1
  367. package/data/sites/pattern/read_more_section.ttl +0 -1
  368. package/data/sites/pattern/skip_link.ttl +0 -1
  369. package/data/sites_webcomponentsprototype/component/blog_cards.ttl +0 -1
  370. package/data/sites_webcomponentsprototype/component/ctablock.ttl +0 -1
  371. package/data/sites_webcomponentsprototype/component/list.ttl +0 -1
  372. package/data/sites_webcomponentsprototype/component/tabs.ttl +0 -1
  373. package/data/sites_webcomponentsprototype/layout/site_layout.ttl +0 -1
  374. package/data/sites_webcomponentsprototype/pattern/basic_section.ttl +0 -1
  375. package/data/sites_webcomponentsprototype/pattern/blog_section.ttl +0 -1
  376. package/data/sites_webcomponentsprototype/pattern/ctasection.ttl +0 -1
  377. package/data/sites_webcomponentsprototype/pattern/equal_heights.ttl +0 -1
  378. package/data/sites_webcomponentsprototype/pattern/hero.ttl +0 -1
  379. package/data/sites_webcomponentsprototype/pattern/logo_section.ttl +0 -1
  380. package/data/sites_webcomponentsprototype/pattern/quote_wrapper.ttl +0 -1
  381. package/data/sites_webcomponentsprototype/pattern/tiered_list.ttl +0 -1
  382. package/data/tag/{wpeinital-implementation.ttl → workplaceinitial-implementation.ttl} +2 -2
  383. package/data/tag/{wpetriageupstream-and-deprecate.ttl → workplacetriageupstream-and-deprecate.ttl} +2 -2
  384. package/definitions/ontology.ttl +8 -2
  385. package/package.json +6 -6
  386. package/skills/adoption-a1-styles/SKILL.md +11 -0
  387. package/skills/adoption-a2-components/SKILL.md +82 -2
  388. package/skills/anatomy-author/SKILL.md +278 -95
  389. package/skills/anatomy-author/clarification-guidelines.md +150 -0
  390. package/skills/anatomy-author/completeness-checklist.md +224 -0
  391. package/skills/implement-component/SKILL.md +2 -2
  392. package/data/apps/subcomponent/side_panel-content.ttl +0 -14
  393. package/data/concept/Question-mark-vs-information-icon.ttl +0 -11
  394. package/data/global/component/tooltip_wrapper.ttl +0 -140
  395. package/data/global/modifier/highlighted.ttl +0 -8
  396. package/data/global/modifier/wireframe.ttl +0 -8
@@ -10,128 +10,128 @@ ds:apps_landscape.component.grouped_select a ds:Component;
10
10
  ds:usage "### When to use\n\n**Categorized options**\n\nUse when a native platform picker is appropriate and category labels materially improve scanning.\n\n**Separate group and value**\n\nUse when the caller stores both the selected `optGroup` string and option `value` and can update both after every change.\n\n### When not to use\n\n**Searchable long list**\n\nUsers need filtering or autocomplete across many options.\n\n**Incorrect pattern**: Using a native select with many ungrouped or poorly categorized options and no search.\n\n**Remediation strategy**: Use a search-powered select component or autocomplete input that allows users to filter options as they type.\n\n**Group is decorative**\n\nCategories do not help users choose and labels would repeat option text.\n\n**Incorrect pattern**: Adding option groups that do not materially improve scanning or that duplicate information already visible in option labels.\n\n**Remediation strategy**: Use a flat select without groups if categories are not providing genuine cognitive benefit.\n\n**Values containing the compound delimiter**\n\nGroup or option values containing `/` make the compound DOM value ambiguous to tools or form serialization.\n\n**Incorrect pattern**: Storing group or option values that include `/`, then relying on the compound `${group}/${option}` DOM value for serialization or parsing.\n\n**Remediation strategy**: Sanitize group and option values to exclude `/`, or use a different serialization approach that does not concatenate them into a single field value.";
11
11
  ds:guidelines "### Accessibility\n\n- Retain native label, select, optgroup, and option semantics.\n- A truthy `error` sets `aria-invalid=\"true\"` and `aria-errormessage=\"pull-pocket-validation-message\"`; without an error, `aria-errormessage` is omitted.\n- The validation id is hard-coded, so do not render multiple errored instances on one page without first fixing the source to generate unique ids.\n- `required` is visual only. Consumers needing native required semantics must not assume this component sets `required` on the `select`.\n- `hidden` applies only to the select, not its label or feedback. Do not use it as a complete field-visibility mechanism.\n\n### Content\n\n- Use concise, distinct group labels and parallel option labels that remain understandable in native pickers.\n- Give an enabled empty option an explicit prompt such as `Select a pocket`; the implementation otherwise renders a blank first option.\n- The component hard-codes the English `Error:` prefix; it has no translation prop.\n\n### Internationalization\n\n- Group, option, label, empty-option, and error content are caller-provided and can be localized.\n- The `Error:` prefix is internal English text. Localizing it requires an API or source change.\n- Compound values include the displayed `optGroup` string, so translating group labels can also change the submitted DOM value.\n\n### Keyboard and device\n\n- Keyboard navigation, focus, and mobile picker presentation are native `select` behavior; the component adds no custom key handlers or focus movement.\n- Long labels receive no local truncation or wrapping treatment and may be constrained by the platform picker.";
12
12
  ds:tier ds:apps_landscape;
13
- ds:documentationStage ds:tag.specialadoption-docs;
14
13
  ds:hasProperty [
15
14
  a ds:Property;
16
15
  ds:name "`groupedOptions`";
17
16
  ds:summary "Defines the native groups and their options.";
18
17
  ds:propertyType "list of objects";
19
- ds:constraints "Exact type: `groupedOption[]`, where `groupedOption` is `{ options: SelectOption[]; optGroup: string }` and `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Empty arrays are accepted; `disabled` is not forwarded.";
20
- ds:defaultValue "—"
18
+ ds:defaultValue "—";
19
+ ds:constraints "Exact type: `groupedOption[]`, where `groupedOption` is `{ options: SelectOption[]; optGroup: string }` and `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Empty arrays are accepted; `disabled` is not forwarded."
21
20
  ], [
22
21
  a ds:Property;
23
22
  ds:name "`name`";
24
23
  ds:summary "Sets the native field name and supplies the fallback id source.";
25
24
  ds:propertyType "text";
26
- ds:constraints "The derived id replaces underscores and whitespace with hyphens, splits one camel-case boundary at a time, and lowercases the result.";
27
- ds:defaultValue "—"
25
+ ds:defaultValue "—";
26
+ ds:constraints "The derived id replaces underscores and whitespace with hyphens, splits one camel-case boundary at a time, and lowercases the result."
28
27
  ], [
29
28
  a ds:Property;
30
29
  ds:name "`group`";
31
30
  ds:summary "Controlled selected group label.";
32
31
  ds:propertyType "text";
33
- ds:constraints "Used only when `option` is non-empty to build the DOM value `${group}/${option}`.";
34
- ds:defaultValue "—"
32
+ ds:defaultValue "—";
33
+ ds:constraints "Used only when `option` is non-empty to build the DOM value `${group}/${option}`."
35
34
  ], [
36
35
  a ds:Property;
37
36
  ds:name "`option`";
38
37
  ds:summary "Controlled selected option value.";
39
38
  ds:propertyType "text";
40
- ds:constraints "An empty string forces the select value to `\"\"`; callers must provide a matching option for non-empty values.";
41
- ds:defaultValue "—"
39
+ ds:defaultValue "—";
40
+ ds:constraints "An empty string forces the select value to `\"\"`; callers must provide a matching option for non-empty values."
42
41
  ], [
43
42
  a ds:Property;
44
43
  ds:name "`onChange`";
45
44
  ds:summary "Reports the selected option value first and group label second.";
46
45
  ds:propertyType "callback";
47
- ds:constraints "Exact type: `(newOption: string, newGroup: string) => void`. Values come from the selected option's `data-value` and `data-group`; missing data becomes `\"\"`. The component does not update controlled state.";
48
- ds:defaultValue "—"
46
+ ds:defaultValue "—";
47
+ ds:constraints "Exact type: `(newOption: string, newGroup: string) => void`. Values come from the selected option's `data-value` and `data-group`; missing data becomes `\"\"`. The component does not update controlled state."
49
48
  ], [
50
49
  a ds:Property;
51
50
  ds:name "`id`";
52
51
  ds:summary "Overrides the derived select id and label target.";
53
52
  ds:propertyType "text";
54
- ds:constraints "Use a page-unique id.";
55
53
  ds:defaultValue "Derived from `name`";
54
+ ds:constraints "Use a page-unique id.";
56
55
  ds:optional "true"
57
56
  ], [
58
57
  a ds:Property;
59
58
  ds:name "`label`";
60
59
  ds:summary "Renders the native field label.";
61
60
  ds:propertyType "text";
62
- ds:constraints "An empty string omits the label entirely.";
63
61
  ds:defaultValue "`\"\"`";
62
+ ds:constraints "An empty string omits the label entirely.";
64
63
  ds:optional "true"
65
64
  ], [
66
65
  a ds:Property;
67
66
  ds:name "`emptyOption`";
68
67
  ds:summary "Optionally inserts an empty first option.";
69
68
  ds:propertyType "object";
70
- ds:constraints "Exact type: `{ enabled: boolean; label?: string }`. `enabled: false` renders nothing; an omitted label renders an empty option label. The empty option is not automatically disabled for required fields.";
71
69
  ds:defaultValue "—";
70
+ ds:constraints "Exact type: `{ enabled: boolean; label?: string }`. `enabled: false` renders nothing; an omitted label renders an empty option label. The empty option is not automatically disabled for required fields.";
72
71
  ds:optional "true"
73
72
  ], [
74
73
  a ds:Property;
75
74
  ds:name "`error`";
76
75
  ds:summary "Applies invalid styling, `aria-invalid`, and renders error content after `Error:`.";
77
76
  ds:propertyType "node";
78
- ds:constraints "Exact type: `ReactNode`. Truthiness controls the error state. Every errored instance uses the fixed id `pull-pocket-validation-message`, so multiple instances create duplicate ids.";
79
77
  ds:defaultValue "—";
78
+ ds:constraints "Exact type: `ReactNode`. Truthiness controls the error state. Every errored instance uses the fixed id `pull-pocket-validation-message`, so multiple instances create duplicate ids.";
80
79
  ds:optional "true"
81
80
  ], [
82
81
  a ds:Property;
83
82
  ds:name "`onBlur`";
84
83
  ds:summary "Forwards the native select blur event.";
85
84
  ds:propertyType "callback";
86
- ds:constraints "Exact type: `FocusEventHandler<HTMLSelectElement>`. No internal touched state is maintained.";
87
85
  ds:defaultValue "—";
86
+ ds:constraints "Exact type: `FocusEventHandler<HTMLSelectElement>`. No internal touched state is maintained.";
88
87
  ds:optional "true"
89
88
  ], [
90
89
  a ds:Property;
91
90
  ds:name "`disabled`";
92
91
  ds:summary "Sets the native select's disabled state.";
93
92
  ds:propertyType "boolean";
94
- ds:constraints "Omission is treated as false and does not alter the controlled value.";
95
93
  ds:defaultValue "—";
94
+ ds:constraints "Omission is treated as false and does not alter the controlled value.";
96
95
  ds:optional "true"
97
96
  ], [
98
97
  a ds:Property;
99
98
  ds:name "`hidden`";
100
99
  ds:summary "Sets the native `hidden` attribute on the select only.";
101
100
  ds:propertyType "boolean";
102
- ds:constraints "Omission is treated as false. The outer wrapper, optional label, and error message remain in the DOM and may remain visible.";
103
101
  ds:defaultValue "—";
102
+ ds:constraints "Omission is treated as false. The outer wrapper, optional label, and error message remain in the DOM and may remain visible.";
104
103
  ds:optional "true"
105
104
  ], [
106
105
  a ds:Property;
107
106
  ds:name "`required`";
108
107
  ds:summary "Adds `is-required` to the visible label.";
109
108
  ds:propertyType "boolean";
110
- ds:constraints "Omission is treated as false. It does not set the native select's `required` attribute and does not disable or remove the empty option.";
111
109
  ds:defaultValue "—";
110
+ ds:constraints "Omission is treated as false. It does not set the native select's `required` attribute and does not disable or remove the empty option.";
112
111
  ds:optional "true"
113
112
  ], [
114
113
  a ds:Property;
115
114
  ds:name "`className`";
116
115
  ds:summary "Adds classes to the native select.";
117
116
  ds:propertyType "text";
118
- ds:constraints "Does not style the wrapper or label.";
119
117
  ds:defaultValue "—";
118
+ ds:constraints "Does not style the wrapper or label.";
120
119
  ds:optional "true"
121
120
  ], [
122
121
  a ds:Property;
123
122
  ds:name "`labelClassName`";
124
123
  ds:summary "Adds classes to the label.";
125
124
  ds:propertyType "text";
126
- ds:constraints "Has no effect when `label` is empty.";
127
125
  ds:defaultValue "—";
126
+ ds:constraints "Has no effect when `label` is empty.";
128
127
  ds:optional "true"
129
128
  ], [
130
129
  a ds:Property;
131
130
  ds:name "`wrapperClassName`";
132
131
  ds:summary "Adds classes to the root validation wrapper.";
133
132
  ds:propertyType "text";
134
- ds:constraints "—";
135
133
  ds:defaultValue "—";
134
+ ds:constraints "—";
136
135
  ds:optional "true"
137
- ].
136
+ ];
137
+ ds:documentationStage ds:tag.specialadoption-docs.
@@ -10,21 +10,21 @@ ds:apps_landscape.component.loading_state a ds:Component;
10
10
  ds:usage "### When to use\n\n**Wait for asynchronous content**\n\nIndicate that a region or page is waiting for indeterminate asynchronous work before stable content can render.\n\n**Signal route redirection**\n\nCompose the separate Redirecting component, which uses `LoadingState inline`, when visible route-transition wording is required.\n\n**Compact pending values**\n\nUse the inline variant where a count, status, or small content fragment is pending and a strip would disrupt its surrounding layout.\n\n### When not to use\n\n**Report determinate progress**\n\nDisplaying a progress percentage or completion count for known-length operations.\n\n**Incorrect pattern**: Using Loading State with a custom message or label to show “50% complete” or similar measured progress.\n\n**Remediation strategy**: Use a dedicated progress component (e.g., Vanilla Framework progress bar) when a percentage, count, or known total is available.\n\n**Load a button action**\n\nIndicating pending work initiated by a button click.\n\n**Incorrect pattern**: Wrapping a button in a Loading State div while its action awaits completion, disconnecting the status from the initiating control.\n\n**Remediation strategy**: Use the Button component’s native loading prop or disabled state so the pending status remains visually associated with the control that triggered it.\n\n**Explain a long operation**\n\nIndicating an extended wait without context about what is happening or why.\n\n**Incorrect pattern**: Rendering only the spinner with a generic “Loading…” message when a multi-minute operation is in progress, without explaining the task or recovery options.\n\n**Remediation strategy**: Add persistent context outside the Loading State component describing the operation; use a more specific status pattern (modal, toast, or status page) for long waits that need explanation or cancellation options.";
11
11
  ds:guidelines "### Accessibility\n\n- Keep `role=\"status\"` and the off-screen `Loading...` label intact. The spinner is correctly `aria-hidden`, so state is not conveyed by animation alone.\n- `role=\"status\"` supplies polite live-region semantics. Do not wrap it in another competing status or alert that announces the same loading event.\n- The fixed message does not identify the affected region. Provide nearby context when multiple independent loading states can appear.\n- Do not move focus to the status; preserve focus on the initiating control or stable route destination.\n\n### Content\n\n- Use the separate Redirecting composition only when navigation, rather than data loading, is pending.\n- Pair long waits with useful visible context outside the spinner when users need to understand the operation or recovery path.\n- Do not add adjacent visible text that contradicts the fixed accessible `Loading...` status.\n\n### Responsive behavior\n\n- Use inline inside compact controls or copy and contained layout for a content region.\n- Reserve screen centering for a page-level wait state. Its source uses `height: 100vh` and `padding: 1rem`, with no small-viewport or dynamic-viewport override.\n- The default strip follows Vanilla layout. The component itself defines no width, breakpoint, or overflow rule.\n\n### Keyboard\n\n- Do not move focus to the spinner; preserve focus on the initiating control or next stable destination.\n- Loading State contains no interactive elements and must not be added to the tab order.\n- If pending work temporarily removes an interactive region, restore focus deliberately when stable content returns.\n\n### Internationalization\n\n- The accessible `Loading...` text is hardcoded English and cannot be customized through props. Localization requires a source API change.\n- The component has no visible copy, except when used by a separate composition such as Redirecting.\n- Ellipsis punctuation is part of the fixed source string; do not infer localization readiness from the icon-only visual presentation.\n\n";
12
12
  ds:tier ds:apps_landscape;
13
- ds:documentationStage ds:tag.specialadoption-docs;
14
13
  ds:hasProperty [
15
14
  a ds:Property;
16
15
  ds:name "`LoadingState.centerOnScreen`";
17
16
  ds:summary "Adds the full-viewport-height centering class to the outer non-inline wrapper.";
18
17
  ds:propertyType "boolean";
19
18
  ds:optional "true";
20
- ds:constraints "It does not add another element. Ignored when `inline` is truthy because the inline branch returns before wrapper rendering.";
21
- ds:defaultValue "—"
19
+ ds:defaultValue "—";
20
+ ds:constraints "It does not add another element. Ignored when `inline` is truthy because the inline branch returns before wrapper rendering."
22
21
  ], [
23
22
  a ds:Property;
24
23
  ds:name "`LoadingState.inline`";
25
24
  ds:summary "Renders a bare status span instead of the contained strip structure.";
26
25
  ds:propertyType "boolean";
27
26
  ds:optional "true";
28
- ds:constraints "Takes precedence over `centerOnScreen`; intended for compact placements.";
29
- ds:defaultValue "—"
30
- ].
27
+ ds:defaultValue "—";
28
+ ds:constraints "Takes precedence over `centerOnScreen`; intended for compact placements."
29
+ ];
30
+ ds:documentationStage ds:tag.specialadoption-docs.
@@ -10,66 +10,66 @@ ds:apps_landscape.component.managed_file_input a ds:Component;
10
10
  ds:usage "### When to use\n\n**Managed single upload**\n\nUse when selecting a file immediately invokes an asynchronous upload or preparation step.\n\n**Replace-by-removal flow**\n\nUse when the chosen file should be summarized by name and explicitly removed before another is selected.\n\n**Parent-controlled asynchronous processing**\n\nUse when a parent can await upload/removal work, update `value`, and pass resulting error/help state back into the component.\n\n### When not to use\n\n**Multiple files**\n\nUploading more than one file in a single operation.\n\n**Incorrect pattern**: Using Managed File Input when the application needs to accept and display multiple uploaded files simultaneously.\n\n**Remediation strategy**: Use a dedicated multi-file upload component or build a wrapper that manages an array of Managed File Input instances.\n\n**Deferred form upload**\n\nCollecting files locally without uploading until form submission.\n\n**Incorrect pattern**: Selecting a file into Managed File Input expecting it to remain local until the parent form is submitted as a whole.\n\n**Remediation strategy**: If files must remain entirely local, manage the File state in a plain state variable; Managed File Input is designed for immediate upload on selection.\n\n**Progress, cancellation, or replacement in place**\n\nShowing upload progress, retry/cancel options, file preview, or replacing files without explicit removal.\n\n**Incorrect pattern**: Expecting Managed File Input to display progress bars, cancel buttons, thumbnail previews, or allow drag-and-drop file replacement without removing the current file first.\n\n**Remediation strategy**: None of these features are implemented. For advanced file handling, build a custom component or use a specialized file-upload library.\n\n**Native blur semantics**\n\nTreating onBlur as a normal form input blur callback.\n\n**Incorrect pattern**: Assuming `onBlur` fires whenever the file picker loses focus, like standard input controls.\n\n**Remediation strategy**: Understand that `onBlur` is delayed until after a successful file upload and requires a previously stored blur event; the wrapper does not fire blur on picker close alone.";
11
11
  ds:guidelines "### Accessibility\n\n- Empty-state label/error/help semantics are inherited from Canonical Input. Provide a visible or programmatic label.\n- Selected-state remove Button has off-screen text “Remove” plus a delete Icon, but the local source does not include the filename in the text label or set explicit ARIA on the Icon. Multiple controls need surrounding context and verification of the installed Canonical Icon behavior, or a more specific upstream label.\n- The Button always receives `aria-errormessage=\"${value.name}-error-message\"`, even when the error paragraph is absent. The id uses the filename without sanitization or uniqueness handling.\n- Selected-state `<label>` has no associated input. Treat it as visual text rather than claiming native label semantics.\n\n### Content and security\n\n- State accepted file types, size limits, and whether selection uploads immediately.\n- Validate content and size on the server; the accept attribute is only user guidance.\n- Show actionable upload or removal failures without exposing sensitive paths.\n- The selected error prefix and remove action text are hardcoded English.\n\n### Internationalization\n\n- Localize caller-supplied label, help, and error content. An upstream-ready version must also externalize “Remove” and “Error:”.\n- Preserve filenames verbatim; do not translate them. Allow bidirectional and non-ASCII names without using the raw value as an unsafe or duplicate DOM id.\n- Long filenames may need visible truncation with an accessible full value; no such behavior is implemented locally.\n\n### Keyboard navigation\n\n- The picker and remove action must remain reachable and operable by keyboard.\n- Native file-picker keyboard/device behavior comes from the browser and Canonical Input. The component adds no drag/drop or custom picker keys.\n- Removing does not locally restore focus to a newly rendered picker; parent state changes determine what appears next.\n\n### Device and layout\n\n- The selected-state filename and dense Button share normal inline flow. The only direct spacing override is the Button’s literal inline `marginLeft: \"0.5rem\"` plus `u-no-padding--left`.\n- No local stylesheet handles long filenames, wrapping, mobile layout, or touch targets; verify these in each containing form.";
12
12
  ds:tier ds:apps_landscape;
13
- ds:documentationStage ds:tag.specialadoption-docs;
14
13
  ds:hasProperty [
15
14
  a ds:Property;
16
15
  ds:name "`ManagedFileInput.value`";
17
16
  ds:summary "Selects empty or selected render state.";
18
17
  ds:propertyType "object";
19
- ds:constraints "TypeScript: `File | null`. Only one file is represented; parent updates control state.";
20
- ds:defaultValue "—"
18
+ ds:defaultValue "—";
19
+ ds:constraints "TypeScript: `File | null`. Only one file is represented; parent updates control state."
21
20
  ], [
22
21
  a ds:Property;
23
22
  ds:name "`ManagedFileInput.onFileUpload`";
24
23
  ds:summary "Awaited after a non-empty native `FileList` is copied to an array.";
25
24
  ds:propertyType "callback";
26
- ds:constraints "TypeScript: `(files: File[]) => Promise<void>`. The picker forces `multiple={false}`, so normal UI selection supplies one item despite the array API. Rejections are not caught.";
27
- ds:defaultValue "—"
25
+ ds:defaultValue "—";
26
+ ds:constraints "TypeScript: `(files: File[]) => Promise<void>`. The picker forces `multiple={false}`, so normal UI selection supplies one item despite the array API. Rejections are not caught."
28
27
  ], [
29
28
  a ds:Property;
30
29
  ds:name "`ManagedFileInput.onFileRemove`";
31
30
  ds:summary "Passed directly to the remove Button's click handler.";
32
31
  ds:propertyType "callback";
33
- ds:constraints "TypeScript: `() => Promise<void>`. Parent must update `value`; no local pending, disabled, or error behavior is added. Rejections are not caught.";
34
- ds:defaultValue "—"
32
+ ds:defaultValue "—";
33
+ ds:constraints "TypeScript: `() => Promise<void>`. Parent must update `value`; no local pending, disabled, or error behavior is added. Rejections are not caught."
35
34
  ], [
36
35
  a ds:Property;
37
36
  ds:name "`ManagedFileInput.error`";
38
37
  ds:summary "Empty state passes it to Canonical Input; selected state adds `is-error` and renders custom error markup.";
39
38
  ds:propertyType "text";
40
- ds:constraints "TypeScript: `string | undefined`. The selected error id is derived verbatim from `value.name`; Button has `aria-errormessage` even when no error exists.";
41
39
  ds:defaultValue "—";
40
+ ds:constraints "TypeScript: `string | undefined`. The selected error id is derived verbatim from `value.name`; Button has `aria-errormessage` even when no error exists.";
42
41
  ds:optional "true"
43
42
  ], [
44
43
  a ds:Property;
45
44
  ds:name "ManagedFileInput.help";
46
45
  ds:summary "Empty state passes it to Input; selected state renders it before the filename.";
47
46
  ds:propertyType "node";
48
- ds:constraints "TypeScript: `string | ReactNode`. React content is supported according to `InputProps`.";
49
47
  ds:defaultValue "—";
48
+ ds:constraints "TypeScript: `string | ReactNode`. React content is supported according to `InputProps`.";
50
49
  ds:optional "true"
51
50
  ], [
52
51
  a ds:Property;
53
52
  ds:name "`ManagedFileInput.label`";
54
53
  ds:summary "Labels the empty-state Input; selected state renders label-styled text.";
55
54
  ds:propertyType "node";
56
- ds:constraints "TypeScript: `string | ReactNode`. The selected-state `<label>` is not associated with a form control.";
57
55
  ds:defaultValue "—";
56
+ ds:constraints "TypeScript: `string | ReactNode`. The selected-state `<label>` is not associated with a form control.";
58
57
  ds:optional "true"
59
58
  ], [
60
59
  a ds:Property;
61
60
  ds:name "`ManagedFileInput.onBlur`";
62
61
  ds:summary "Not forwarded normally. The picker stores its blur event, then calls this callback only after a later awaited upload if such an event exists.";
63
62
  ds:propertyType "callback";
64
- ds:constraints "TypeScript: `(event: FocusEvent<HTMLInputElement>) => void`. There is no callback on blur alone, after a rejected upload, or without a stored event.";
65
63
  ds:defaultValue "—";
64
+ ds:constraints "TypeScript: `(event: FocusEvent<HTMLInputElement>) => void`. There is no callback on blur alone, after a rejected upload, or without a stored event.";
66
65
  ds:optional "true"
67
66
  ], [
68
67
  a ds:Property;
69
68
  ds:name "`ManagedFileInput` remaining Input props";
70
69
  ds:summary "Forwarded to the empty-state Canonical Input, including contracts such as `accept`, `name`, `required`, `disabled`, classes, and data/ARIA props where supported.";
71
70
  ds:propertyType "object";
72
- ds:constraints "TypeScript: `Omit<InputProps, \"multiple\" | \"onChange\" | \"type\" | \"value\">`. Consumers may supply any supported subset. They are not forwarded to selected-state markup. Local feedback, label, multiple, blur, and change props cannot be overridden.";
73
71
  ds:defaultValue "Canonical Input defaults";
72
+ ds:constraints "TypeScript: `Omit<InputProps, \"multiple\" | \"onChange\" | \"type\" | \"value\">`. Consumers may supply any supported subset. They are not forwarded to selected-state markup. Local feedback, label, multiple, blur, and change props cannot be overridden.";
74
73
  ds:optional "true"
75
- ].
74
+ ];
75
+ ds:documentationStage ds:tag.specialadoption-docs.