@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.
- package/data/apps/component/file_tree.ttl +1 -2
- package/data/apps/component/inline_panel.ttl +2 -3
- package/data/apps/component/log.ttl +0 -1
- package/data/apps/component/navigation.ttl +0 -1
- package/data/apps/component/notification.ttl +0 -1
- package/data/apps/component/side_navigation.ttl +678 -5
- package/data/apps/component/skeleton_loading.ttl +0 -1
- package/data/apps/component/status_bar.ttl +0 -1
- package/data/apps/component/toolbar.ttl +0 -1
- package/data/apps/group/notifications.ttl +0 -1
- package/data/apps/layout/application_layout.ttl +1 -2
- package/data/apps/layout/content_layout.ttl +1 -2
- package/data/apps/layout/empty_layout.ttl +0 -1
- package/data/apps/layout/list_page_layout.ttl +0 -1
- package/data/apps/layout/login_layout.ttl +0 -1
- package/data/apps/layout/settings_page_layout.ttl +0 -1
- package/data/apps/layout/side_panel_form_layout.ttl +0 -1
- package/data/apps/layout/view_layout.ttl +0 -1
- package/data/apps/pattern/action_bar.ttl +0 -1
- package/data/apps/pattern/code_diff.ttl +2 -2
- package/data/apps/pattern/data_views.ttl +85 -0
- package/data/apps/pattern/datatable.ttl +8 -78
- package/data/apps/pattern/destructive_modal.ttl +0 -1
- package/data/apps/pattern/drawer.ttl +0 -1
- package/data/apps/pattern/keyboard_shortcuts.ttl +0 -1
- package/data/apps/pattern/notification_center.ttl +4 -5
- package/data/apps/pattern/page_header.ttl +58 -6
- package/data/apps/pattern/side_panel.ttl +221 -45
- package/data/apps/pattern/sidepanel_stacked.ttl +0 -1
- package/data/apps/subcomponent/data_table-action_bar.ttl +3 -3
- package/data/apps/subcomponent/data_table-body_cell.ttl +19 -19
- package/data/apps/subcomponent/data_table-group_header_row.ttl +1 -1
- package/data/apps/subcomponent/data_table-header_cell.ttl +11 -11
- package/data/apps/subcomponent/data_table-pagination_bar.ttl +9 -9
- package/data/apps/subcomponent/data_table-persistent_selection.ttl +2 -2
- package/data/apps/subcomponent/data_table-settings_menu.ttl +3 -3
- package/data/apps/subcomponent/data_views-filters.ttl +12 -0
- package/data/apps/subcomponent/data_views-saved_views.ttl +12 -0
- package/data/apps/subcomponent/data_views-sort_panel.ttl +12 -0
- package/data/apps/subcomponent/drawer-content.ttl +0 -1
- package/data/apps/subcomponent/drawer-footer.ttl +0 -1
- package/data/apps/subcomponent/drawer-header.ttl +0 -1
- package/data/apps/subcomponent/file_tree-node.ttl +0 -1
- package/data/apps/subcomponent/file_tree-search_box.ttl +13 -0
- package/data/apps/subcomponent/file_tree-tree_view.ttl +13 -0
- package/data/apps/subcomponent/git_diff_viewer-code_diff_viewer.ttl +13 -0
- package/data/apps/subcomponent/git_diff_viewer-file_header.ttl +13 -0
- package/data/apps/subcomponent/side_navigation-content.ttl +339 -3
- package/data/apps/subcomponent/side_navigation-context_switcher-field.ttl +18 -0
- package/data/apps/subcomponent/side_navigation-context_switcher-item_content.ttl +18 -0
- package/data/apps/subcomponent/side_navigation-context_switcher.ttl +172 -2
- package/data/apps/subcomponent/side_navigation-footer.ttl +270 -0
- package/data/apps/subcomponent/side_navigation-header.ttl +262 -0
- package/data/apps/subcomponent/side_navigation-item.ttl +115 -2
- package/data/apps/subcomponent/side_navigation-item_group.ttl +224 -2
- package/data/apps/subcomponent/side_panel-footer.ttl +39 -7
- package/data/apps/subcomponent/side_panel-header.ttl +86 -110
- package/data/apps_anbox/pattern/side_menu.ttl +5 -6
- package/data/apps_debcrafters/component/deb_package_card.ttl +0 -1
- package/data/apps_debcrafters/component/example.ttl +0 -1
- package/data/apps_debcrafters/component/my_fancy_component.ttl +0 -1
- package/data/apps_juju/pattern/single_select_multi_layered.ttl +0 -1
- package/data/apps_landscape/component/checkbox_group.ttl +26 -26
- package/data/apps_landscape/component/code_editor.ttl +32 -32
- package/data/apps_landscape/component/cron_schedule.ttl +2 -2
- package/data/apps_landscape/component/expandable_radio_group.ttl +18 -18
- package/data/apps_landscape/component/expandable_truncation.ttl +11 -11
- package/data/apps_landscape/component/form_section.ttl +2 -2
- package/data/apps_landscape/component/gpg_key_field.ttl +21 -21
- package/data/apps_landscape/component/grouped_select.ttl +23 -23
- package/data/apps_landscape/component/loading_state.ttl +6 -6
- package/data/apps_landscape/component/managed_file_input.ttl +13 -13
- package/data/apps_landscape/component/multi_select_field.ttl +44 -44
- package/data/apps_landscape/component/password_constraints.ttl +2 -2
- package/data/apps_landscape/component/progress_bar.ttl +15 -15
- package/data/apps_landscape/component/read_only_field.ttl +10 -10
- package/data/apps_landscape/component/search_help_popup.ttl +10 -10
- package/data/apps_landscape/component/search_query_editor.ttl +29 -29
- package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
- package/data/apps_landscape/pattern/content_blocks.ttl +16 -16
- package/data/apps_landscape/pattern/dashboard_page_composition.ttl +26 -26
- package/data/apps_landscape/pattern/delivery_scheduling.ttl +2 -2
- package/data/apps_landscape/pattern/form_field_help.ttl +12 -12
- package/data/apps_landscape/pattern/header_search_controls.ttl +26 -26
- package/data/apps_landscape/pattern/ignorable_notification.ttl +10 -10
- package/data/apps_landscape/pattern/information_grid.ttl +13 -13
- package/data/apps_landscape/pattern/instance_association.ttl +5 -5
- package/data/apps_landscape/pattern/process_flow.ttl +9 -9
- package/data/apps_landscape/pattern/progressively_expandable_table.ttl +29 -29
- package/data/apps_landscape/pattern/recurring_schedule.ttl +4 -4
- package/data/apps_landscape/pattern/responsive_action_group.ttl +11 -11
- package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
- package/data/apps_landscape/pattern/responsive_table_filters.ttl +9 -9
- package/data/apps_landscape/pattern/side_panel_form_actions.ttl +30 -30
- package/data/apps_landscape/pattern/sortable_list.ttl +11 -11
- package/data/apps_landscape/pattern/table_filter.ttl +40 -40
- package/data/apps_landscape/pattern/table_filter_chips.ttl +44 -44
- package/data/apps_landscape/pattern/table_pagination.ttl +48 -48
- package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +18 -18
- package/data/apps_landscape/subcomponent/bold_substring.ttl +6 -6
- package/data/apps_landscape/subcomponent/inline_cell_input.ttl +7 -7
- package/data/apps_landscape/subcomponent/label_with_description.ttl +10 -10
- package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +9 -9
- package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
- package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +14 -14
- package/data/apps_launchpad/component/accordion.ttl +0 -1
- package/data/apps_launchpad/component/avatar.ttl +2 -2
- package/data/apps_launchpad/component/badge.ttl +2 -2
- package/data/apps_launchpad/component/button.ttl +2 -2
- package/data/apps_launchpad/component/combobox.ttl +2 -2
- package/data/apps_launchpad/component/description_list.ttl +1 -1
- package/data/apps_launchpad/component/drawer.ttl +0 -1
- package/data/apps_launchpad/component/link.ttl +0 -1
- package/data/apps_launchpad/component/markdown_editor.ttl +0 -1
- package/data/apps_launchpad/component/modal.ttl +5 -5
- package/data/apps_launchpad/component/pagination.ttl +0 -1
- package/data/apps_launchpad/component/popover.ttl +0 -1
- package/data/apps_launchpad/component/relative_timestamp.ttl +0 -1
- package/data/apps_launchpad/component/spinner.ttl +0 -1
- package/data/apps_launchpad/component/table.ttl +0 -1
- package/data/apps_launchpad/component/text_input.ttl +1 -1
- package/data/apps_launchpad/component/timestamp.ttl +0 -1
- package/data/apps_launchpad/component/tooltip.ttl +2 -2
- package/data/apps_launchpad/subcomponent/modal-content-body.ttl +0 -1
- package/data/apps_launchpad/subcomponent/modal-content-footer.ttl +0 -1
- package/data/apps_launchpad/subcomponent/modal-content-header-close_button.ttl +0 -1
- package/data/apps_launchpad/subcomponent/modal-content-header.ttl +0 -1
- package/data/apps_launchpad/subcomponent/modal-content.ttl +0 -1
- package/data/apps_launchpad/subcomponent/side_panel-content-body.ttl +0 -1
- package/data/apps_launchpad/subcomponent/side_panel-content-footer.ttl +0 -1
- package/data/apps_launchpad/subcomponent/side_panel-content-header-close_button.ttl +0 -1
- package/data/apps_launchpad/subcomponent/side_panel-content-header.ttl +0 -1
- package/data/apps_launchpad/subcomponent/side_panel-content.ttl +0 -1
- package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
- package/data/apps_lxd/component/output_field.ttl +7 -7
- package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +1 -1
- package/data/apps_lxd/view/network_topology.ttl +6 -6
- package/data/apps_portal/component/badge.ttl +0 -1
- package/data/apps_portal/component/credit_card_input.ttl +0 -1
- package/data/apps_portal/component/key_value_pair.ttl +0 -1
- package/data/apps_portal/pattern/purchase_summary.ttl +0 -1
- package/data/apps_portal/subcomponent/read_only_modal.ttl +0 -1
- package/data/apps_support/component/data_spotlight.ttl +0 -1
- package/data/apps_support/subcomponent/ai_prompt_input.ttl +0 -1
- package/data/{apps_workplaceengineering → apps_workplace}/component/complex_multi_select.ttl +3 -4
- package/data/{apps_workplaceengineering → apps_workplace}/component/label-highlight.ttl +5 -5
- package/data/{apps_workplaceengineering → apps_workplace}/component/org_chart.ttl +2 -3
- package/data/{apps_workplaceengineering → apps_workplace}/component/rule.ttl +2 -3
- package/data/{apps_workplaceengineering → apps_workplace}/component/skip_link.ttl +2 -3
- package/data/{apps_workplaceengineering → apps_workplace}/component/theme_switcher.ttl +2 -3
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/callout_numbers_card.ttl +3 -3
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/confirmation_modal.ttl +2 -3
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/org_event_card.ttl +2 -3
- package/data/{apps_workplaceengineering → apps_workplace}/subcomponent/multi_select_input.ttl +2 -3
- package/data/{apps_workplaceengineering.ttl → apps_workplace.ttl} +2 -2
- package/data/concept/Accessibility.ttl +9 -0
- package/data/concept/Breakpoints.ttl +9 -0
- package/data/concept/Design-tokens-Overview.ttl +10 -0
- package/data/concept/Filtering-patterns.ttl +0 -1
- package/data/concept/Foundations-Baseline.ttl +0 -1
- package/data/concept/Foundations-Color.ttl +10 -0
- package/data/concept/Foundations-Density--the-form-channel.ttl +0 -1
- package/data/concept/Foundations-Grid--Layout.ttl +1 -2
- package/data/concept/Foundations-Spacing/-Element-vs-container-owned.ttl +0 -1
- package/data/concept/Foundations-Spacing.ttl +0 -1
- package/data/concept/Foundations-Surfaces.ttl +0 -1
- package/data/concept/Foundations-Typography.ttl +1 -2
- package/data/concept/How-to-choose-between-question-mark-and-information-icon.ttl +10 -0
- package/data/concept/How-to-differentiate-types-of-UI-blocks-.ttl +0 -1
- package/data/concept/How-to-indicate-required-fields-in-forms.ttl +0 -1
- package/data/concept/How-to-support-modifiers-in-a-component.ttl +0 -1
- package/data/concept/Intentional-friction.ttl +0 -1
- package/data/concept/Overflow.ttl +0 -1
- package/data/concept/Understanding-the-modifier-contract.ttl +0 -1
- package/data/documentation/layout/content_page_layout.ttl +0 -1
- package/data/documentation/layout/documentation_layout.ttl +0 -1
- package/data/documentation/layout/library_layout.ttl +0 -1
- package/data/documentation/layout/search_page_layout.ttl +0 -1
- package/data/documentation/pattern/library_side_navigation.ttl +2 -2
- package/data/global/component/accordion.ttl +15 -15
- package/data/global/component/announcement.ttl +3 -2
- package/data/global/component/avatar.ttl +1 -2
- package/data/global/component/badge.ttl +10 -10
- package/data/global/component/breadcrumbs.ttl +10 -10
- package/data/global/component/button.ttl +14 -14
- package/data/global/component/button_link.ttl +1 -2
- package/data/global/component/card.ttl +3 -7
- package/data/global/component/checkbox_field.ttl +0 -1
- package/data/global/component/chip.ttl +15 -14
- package/data/global/component/choices_field.ttl +0 -1
- package/data/global/component/code_snippet-content.ttl +0 -1
- package/data/global/component/code_snippet-header.ttl +0 -1
- package/data/global/component/code_snippet.ttl +1 -1
- package/data/global/component/color_field.ttl +0 -1
- package/data/global/component/combobox_field.ttl +0 -1
- package/data/global/component/contextual_menu.ttl +10 -9
- package/data/global/component/data_tooltip.ttl +49 -55
- package/data/global/component/date_field.ttl +0 -1
- package/data/global/component/date_time_field.ttl +0 -1
- package/data/global/component/drag_and_drop_list.ttl +0 -1
- package/data/global/component/dropdown_button.ttl +1 -1
- package/data/global/component/file_upload_field.ttl +509 -60
- package/data/global/component/heading.ttl +1 -1
- package/data/global/component/hidden_field.ttl +0 -1
- package/data/global/component/icon.ttl +4 -4
- package/data/global/component/icon_button.ttl +141 -6
- package/data/global/component/icon_in_container.ttl +2 -3
- package/data/{apps → global}/component/key_value_pair.ttl +2 -3
- package/data/global/component/keyboard_key.ttl +0 -1
- package/data/global/component/link.ttl +0 -1
- package/data/global/component/links.ttl +0 -1
- package/data/global/component/{markdown_field.ttl → markdown_editor_field.ttl} +3 -4
- package/data/global/component/mode_switcher.ttl +1 -2
- package/data/global/component/month_field.ttl +0 -1
- package/data/global/component/notification_inline.ttl +0 -1
- package/data/global/component/notification_toast.ttl +0 -1
- package/data/global/component/number_field.ttl +1 -2
- package/data/global/component/pagination.ttl +0 -1
- package/data/global/component/password_field.ttl +0 -1
- package/data/global/component/phone_field.ttl +0 -1
- package/data/global/component/popover.ttl +0 -1
- package/data/global/component/range_field.ttl +0 -80
- package/data/global/component/rating_field.ttl +0 -1
- package/data/global/component/relative_timestamp.ttl +0 -1
- package/data/global/component/rich_choices_field.ttl +0 -1
- package/data/global/component/rich_text_editor.ttl +0 -1
- package/data/global/component/rich_text_field.ttl +0 -1
- package/data/global/component/search_field.ttl +0 -1
- package/data/global/component/segmented_control.ttl +0 -1
- package/data/global/component/segmented_control_field.ttl +0 -1
- package/data/global/component/select_field.ttl +0 -1
- package/data/global/component/switch_field.ttl +0 -1
- package/data/global/component/table.ttl +2 -2
- package/data/global/component/tag.ttl +2 -2
- package/data/global/component/text_field.ttl +0 -1
- package/data/global/component/textarea_field.ttl +0 -1
- package/data/global/component/tile.ttl +8 -8
- package/data/global/component/time_field.ttl +0 -1
- package/data/global/component/timestamp.ttl +0 -1
- package/data/global/component/tooltip.ttl +76 -208
- package/data/global/component/wrapper_tooltip.ttl +188 -0
- package/data/global/group/buttons.ttl +0 -1
- package/data/global/group/cards.ttl +1 -2
- package/data/global/group/code_snippets.ttl +0 -1
- package/data/{apps → global}/group/key_value_pairs.ttl +2 -3
- package/data/global/group/keyboard_keys.ttl +0 -1
- package/data/global/group/tiles.ttl +0 -1
- package/data/global/layout/error_layout.ttl +0 -1
- package/data/global/layout/identity_page_form.ttl +0 -1
- package/data/global/modifier/achromat.ttl +8 -0
- package/data/global/modifier/constructive.ttl +1 -1
- package/data/global/modifier/dark.ttl +1 -1
- package/data/global/modifier/deprecated.ttl +8 -0
- package/data/global/modifier/{focused.ttl → deutan.ttl} +3 -3
- package/data/global/modifier/elevated.ttl +1 -1
- package/data/global/modifier/end_of_life.ttl +8 -0
- package/data/global/modifier/{muted.ttl → less.ttl} +3 -3
- package/data/global/modifier/light.ttl +1 -1
- package/data/global/modifier/{loading.ttl → lts.ttl} +3 -3
- package/data/global/modifier/modal.ttl +1 -1
- package/data/global/modifier/{editable.ttl → more.ttl} +3 -3
- package/data/global/modifier/protan.ttl +8 -0
- package/data/global/modifier/standard.ttl +8 -0
- package/data/global/modifier/tritan.ttl +8 -0
- package/data/global/modifier/typical.ttl +8 -0
- package/data/global/modifier_family/_emphasis.ttl +1 -2
- package/data/global/modifier_family/_other.ttl +1 -2
- package/data/global/modifier_family/{mode.ttl → color.ttl} +2 -2
- package/data/global/modifier_family/color_vision.ttl +9 -0
- package/data/global/modifier_family/contrast.ttl +9 -0
- package/data/global/modifier_family/elevation.ttl +9 -0
- package/data/global/modifier_family/support.ttl +9 -0
- package/data/global/modifier_family/surface.ttl +1 -1
- package/data/global/pattern/description_list.ttl +1 -2
- package/data/global/pattern/field.ttl +0 -1
- package/data/global/pattern/filter.ttl +0 -1
- package/data/global/pattern/form_login.ttl +0 -1
- package/data/global/pattern/info_table.ttl +0 -1
- package/data/global/pattern/modal.ttl +198 -142
- package/data/global/pattern/stepper.ttl +0 -1
- package/data/global/pattern/table_of_contents.ttl +0 -1
- package/data/global/pattern/timeline.ttl +22 -22
- package/data/global/pattern/{navigation.ttl → top_navigation.ttl} +2 -3
- package/data/global/subcomponent/accordion-item.ttl +1 -2
- package/data/global/subcomponent/breadcrumbs-item.ttl +0 -1
- package/data/global/subcomponent/card-content.ttl +1 -2
- package/data/global/subcomponent/card-footer.ttl +0 -1
- package/data/global/subcomponent/card-header.ttl +1 -2
- package/data/global/subcomponent/card-image.ttl +1 -2
- package/data/global/subcomponent/card-thumbnail.ttl +0 -1
- package/data/global/subcomponent/chart_legend.ttl +0 -1
- package/data/global/subcomponent/chart_legend_item.ttl +0 -1
- package/data/global/subcomponent/checkbox_input.ttl +0 -1
- package/data/global/subcomponent/color_input.ttl +0 -1
- package/data/global/subcomponent/combobox_input.ttl +0 -1
- package/data/global/subcomponent/contextual_menu-item.ttl +13 -0
- package/data/global/subcomponent/contextual_menu-list.ttl +13 -0
- package/data/global/subcomponent/contextual_menu-submenu.ttl +13 -0
- package/data/global/subcomponent/data_tooltip-chart_legend.ttl +133 -0
- package/data/global/subcomponent/date_input.ttl +0 -1
- package/data/global/subcomponent/date_time_input.ttl +0 -1
- package/data/global/subcomponent/field-description.ttl +1 -2
- package/data/global/subcomponent/field-error.ttl +1 -2
- package/data/global/subcomponent/field-label.ttl +1 -2
- package/data/global/subcomponent/file_upload_input.ttl +503 -50
- package/data/global/subcomponent/hidden_input.ttl +0 -1
- package/data/global/subcomponent/kvp_container.ttl +1 -2
- package/data/global/subcomponent/kvpitem_base.ttl +1 -2
- package/data/global/subcomponent/{markdown_input.ttl → markdown_editor_input.ttl} +3 -4
- package/data/global/subcomponent/modal-content.ttl +4 -13
- package/data/global/subcomponent/modal-footer.ttl +21 -29
- package/data/global/subcomponent/modal-header.ttl +53 -141
- package/data/global/subcomponent/month_input.ttl +0 -1
- package/data/global/subcomponent/number_input.ttl +1 -2
- package/data/global/subcomponent/password_input.ttl +0 -1
- package/data/global/subcomponent/phone_input.ttl +0 -1
- package/data/global/subcomponent/radio_input.ttl +0 -1
- package/data/global/subcomponent/range_input.ttl +3 -85
- package/data/global/subcomponent/rating_input.ttl +0 -1
- package/data/global/subcomponent/rich_text_input.ttl +0 -1
- package/data/global/subcomponent/search_input.ttl +8 -8
- package/data/global/subcomponent/segmented_control_input.ttl +0 -1
- package/data/global/subcomponent/select_input.ttl +0 -1
- package/data/global/subcomponent/spin_button.ttl +0 -1
- package/data/global/subcomponent/spinner.ttl +0 -1
- package/data/global/subcomponent/switch_input.ttl +0 -1
- package/data/global/subcomponent/table-cell.ttl +0 -1
- package/data/global/subcomponent/table-row.ttl +0 -1
- package/data/global/subcomponent/text_editor_input.ttl +12 -0
- package/data/global/subcomponent/text_input.ttl +0 -1
- package/data/global/subcomponent/textarea_input.ttl +1 -2
- package/data/global/subcomponent/tile-content.ttl +0 -1
- package/data/global/subcomponent/tile-header.ttl +5 -6
- package/data/global/subcomponent/time_input.ttl +0 -1
- package/data/global/subcomponent/timeline-content.ttl +1 -2
- package/data/global/subcomponent/timeline-event.ttl +1 -1
- package/data/global/variant/tooltip_dense.ttl +111 -5
- package/data/global/view/settings_view.ttl +0 -1
- package/data/global_dataviews/component/filter_button.ttl +486 -0
- package/data/global_dataviews/component/query_bar.ttl +1638 -0
- package/data/global_dataviews/component/query_chip.ttl +605 -0
- package/data/global_dataviews/group/query_chips.ttl +564 -0
- package/data/global_dataviews/modifier/exclusion.ttl +8 -0
- package/data/global_dataviews/modifier/inclusion.ttl +8 -0
- package/data/global_dataviews/modifier/match.ttl +8 -0
- package/data/global_dataviews/modifier/presence.ttl +8 -0
- package/data/global_dataviews/modifier/range.ttl +8 -0
- package/data/global_dataviews/modifier_family/condition.ttl +9 -0
- package/data/global_dataviews/subcomponent/query_chip-entry.ttl +185 -0
- package/data/global_dataviews/subcomponent/query_chip-segment.ttl +240 -0
- package/data/global_dataviews/subcomponent/query_input.ttl +1286 -0
- package/data/global_dataviews.ttl +6 -0
- package/data/sites/component/quote.ttl +0 -1
- package/data/sites/component/rule.ttl +0 -1
- package/data/sites/component/section.ttl +0 -1
- package/data/sites/component/store_card.ttl +7 -7
- package/data/sites/group/blog_cards.ttl +0 -1
- package/data/sites/group/xblog_elements.ttl +0 -1
- package/data/sites/layout/blog_page_layout.ttl +0 -1
- package/data/sites/layout/case_study_layout.ttl +0 -1
- package/data/sites/layout/site_layout.ttl +0 -1
- package/data/sites/pattern/hero-github.ttl +0 -1
- package/data/sites/pattern/hero.ttl +1 -2
- package/data/sites/pattern/info_table.ttl +0 -1
- package/data/sites/pattern/pricing_section.ttl +0 -1
- package/data/sites/pattern/pricing_table.ttl +0 -1
- package/data/sites/pattern/read_more_section.ttl +0 -1
- package/data/sites/pattern/skip_link.ttl +0 -1
- package/data/sites_webcomponentsprototype/component/blog_cards.ttl +0 -1
- package/data/sites_webcomponentsprototype/component/ctablock.ttl +0 -1
- package/data/sites_webcomponentsprototype/component/list.ttl +0 -1
- package/data/sites_webcomponentsprototype/component/tabs.ttl +0 -1
- package/data/sites_webcomponentsprototype/layout/site_layout.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/basic_section.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/blog_section.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/ctasection.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/equal_heights.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/hero.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/logo_section.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/quote_wrapper.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/tiered_list.ttl +0 -1
- package/data/tag/{wpeinital-implementation.ttl → workplaceinitial-implementation.ttl} +2 -2
- package/data/tag/{wpetriageupstream-and-deprecate.ttl → workplacetriageupstream-and-deprecate.ttl} +2 -2
- package/definitions/ontology.ttl +8 -2
- package/package.json +6 -6
- package/skills/adoption-a1-styles/SKILL.md +11 -0
- package/skills/adoption-a2-components/SKILL.md +82 -2
- package/skills/anatomy-author/SKILL.md +278 -95
- package/skills/anatomy-author/clarification-guidelines.md +150 -0
- package/skills/anatomy-author/completeness-checklist.md +224 -0
- package/skills/implement-component/SKILL.md +2 -2
- package/data/apps/subcomponent/side_panel-content.ttl +0 -14
- package/data/concept/Question-mark-vs-information-icon.ttl +0 -11
- package/data/global/component/tooltip_wrapper.ttl +0 -140
- package/data/global/modifier/highlighted.ttl +0 -8
- package/data/global/modifier/wireframe.ttl +0 -8
|
@@ -10,314 +10,314 @@ ds:apps_landscape.component.multi_select_field a ds:Component;
|
|
|
10
10
|
ds:usage "### When to use\n\n**Searchable multiple choice**\n\nUse when Canonical `MultiSelect` is the appropriate multiple-choice interaction and the field also needs Landscape label, help, feedback, or lifecycle integration.\n\n**Complete form-field treatment**\n\nUse when Canonical MultiSelect needs label, help, warning, validation, footer, or open/close callbacks.\n\n### When not to use\n\n**Small visible set**\n\nChoosing between a small number of options all visible at once.\n\n**Incorrect pattern**: Using Multi-Select Field’s portalled dropdown menu when fewer than five options exist and a checkbox group would make all choices easier to compare.\n\n**Remediation strategy**: Use Canonical CheckboxGroup or a simpler checkbox list; reserve Multi-Select Field for larger or dynamically growing option sets.\n\n**Single selection**\n\nChoosing exactly one item from a list.\n\n**Incorrect pattern**: Using Multi-Select Field when only one choice is allowed; the control inherits Canonical MultiSelect’s multiple-choice semantics.\n\n**Remediation strategy**: Use a Select component, RadioGroup, or Combobox—all designed for single selection.\n\n**Lifecycle as authoritative state**\n\nUsing open/close callbacks to control menu state.\n\n**Incorrect pattern**: Treating `onOpen` and `onClose` as controlled open-state props, expecting them to drive whether the menu shows or hides.\n\n**Remediation strategy**: Understand that `onOpen` and `onClose` are observation-only callbacks that watch `aria-expanded` for side effects; they do not control the menu state. Selection and item state are controlled through the inherited `MultiSelectProps` contract.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- Combobox/listbox roles, option state, focus management, and the accessible label are delegated to Canonical `MultiSelect`.\n- The outer label is visual markup without `htmlFor`; the same `label` string is passed to MultiSelect for its own labeling behavior.\n- Help, persistent error, and warning paragraphs are not assigned ids or connected with `aria-describedby` by this wrapper.\n- Error content is passed to MultiSelect and rendered both in the dropdown footer and below the control; verify the underlying component does not cause duplicate announcements.\n- Disabled state is passed programmatically, and a fully disabled field also supplies every item as disabled.\n\n### Content\n\n- Use concise option labels and put selection constraints in `help` or directly relevant `dropdownFooter` content.\n- `warning`, `help`, and footer content are arbitrary React nodes; `error` is a string. Keep feedback brief and avoid nested form workflows inside the portalled menu.\n- The wrapper contains no internal visible strings.\n\n### Internationalization\n\n- All wrapper-visible content is caller-provided and can be localized.\n- The component performs no string formatting, pluralization, or direction-aware layout of its own; option behavior remains with Canonical MultiSelect.\n\n### Keyboard and device\n\n- The wrapper adds no keyboard handlers or focus targets; all option navigation, selection, dismissal, and chip behavior is delegated to Canonical MultiSelect.\n- The menu is portalled, which is why lifecycle callbacks observe `aria-expanded` rather than wrapper focus. Verify portal positioning and focus return in side panels, small viewports, and zoomed layouts.\n- The only local styles target error and caution backgrounds/borders across default, hover, and expanded states; no media queries or width rules are defined here.";
|
|
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 "`items`";
|
|
17
16
|
ds:summary "Supplies the available options.";
|
|
18
17
|
ds:propertyType "list of objects";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
18
|
+
ds:defaultValue "—";
|
|
19
|
+
ds:constraints "TypeScript: `MultiSelectItem[]`. When `disabled` is true, this array also replaces `disabledItems`."
|
|
21
20
|
], [
|
|
22
21
|
a ds:Property;
|
|
23
22
|
ds:name "`items[].label`";
|
|
24
23
|
ds:summary "Supplies an option's visible label.";
|
|
25
24
|
ds:propertyType "text";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
25
|
+
ds:defaultValue "—";
|
|
26
|
+
ds:constraints "TypeScript: `string`."
|
|
28
27
|
], [
|
|
29
28
|
a ds:Property;
|
|
30
29
|
ds:name "`items[].value`";
|
|
31
30
|
ds:summary "Supplies an option's submitted identity.";
|
|
32
31
|
ds:propertyType "text";
|
|
33
|
-
ds:
|
|
34
|
-
ds:
|
|
32
|
+
ds:defaultValue "—";
|
|
33
|
+
ds:constraints "TypeScript: `string | number`."
|
|
35
34
|
], [
|
|
36
35
|
a ds:Property;
|
|
37
36
|
ds:name "`items[].group`";
|
|
38
37
|
ds:summary "Assigns an option to a group.";
|
|
39
38
|
ds:propertyType "text";
|
|
40
|
-
ds:constraints "TypeScript: `string`.";
|
|
41
39
|
ds:defaultValue "—";
|
|
40
|
+
ds:constraints "TypeScript: `string`.";
|
|
42
41
|
ds:optional "true"
|
|
43
42
|
], [
|
|
44
43
|
a ds:Property;
|
|
45
44
|
ds:name "`selectedItems`";
|
|
46
45
|
ds:summary "Supplies the caller-owned selected options.";
|
|
47
46
|
ds:propertyType "list of objects";
|
|
48
|
-
ds:constraints "TypeScript: `MultiSelectItem[]`. The wrapper stores no selected-item state.";
|
|
49
47
|
ds:defaultValue "—";
|
|
48
|
+
ds:constraints "TypeScript: `MultiSelectItem[]`. The wrapper stores no selected-item state.";
|
|
50
49
|
ds:optional "true"
|
|
51
50
|
], [
|
|
52
51
|
a ds:Property;
|
|
53
52
|
ds:name "`disabledItems`";
|
|
54
53
|
ds:summary "Supplies individually disabled options while the field is enabled.";
|
|
55
54
|
ds:propertyType "list of objects";
|
|
56
|
-
ds:constraints "TypeScript: `MultiSelectItem[]`. Ignored in favor of all `items` when `disabled` is true.";
|
|
57
55
|
ds:defaultValue "—";
|
|
56
|
+
ds:constraints "TypeScript: `MultiSelectItem[]`. Ignored in favor of all `items` when `disabled` is true.";
|
|
58
57
|
ds:optional "true"
|
|
59
58
|
], [
|
|
60
59
|
a ds:Property;
|
|
61
60
|
ds:name "`disabled`";
|
|
62
61
|
ds:summary "Disables the control.";
|
|
63
62
|
ds:propertyType "boolean";
|
|
64
|
-
ds:constraints "TypeScript: `boolean`. A true value also disables every item.";
|
|
65
63
|
ds:defaultValue "—";
|
|
64
|
+
ds:constraints "TypeScript: `boolean`. A true value also disables every item.";
|
|
66
65
|
ds:optional "true"
|
|
67
66
|
], [
|
|
68
67
|
a ds:Property;
|
|
69
68
|
ds:name "`error`";
|
|
70
69
|
ds:summary "Applies error styling and displays validation feedback.";
|
|
71
70
|
ds:propertyType "text";
|
|
72
|
-
ds:constraints "TypeScript: `string`. A truthy value is forwarded and rendered in both the dropdown footer and persistent feedback.";
|
|
73
71
|
ds:defaultValue "—";
|
|
72
|
+
ds:constraints "TypeScript: `string`. A truthy value is forwarded and rendered in both the dropdown footer and persistent feedback.";
|
|
74
73
|
ds:optional "true"
|
|
75
74
|
], [
|
|
76
75
|
a ds:Property;
|
|
77
76
|
ds:name "`help`";
|
|
78
77
|
ds:summary "Renders persistent help before the control.";
|
|
79
78
|
ds:propertyType "node";
|
|
80
|
-
ds:constraints "TypeScript: `ReactNode`. Truthiness controls rendering; the wrapper adds no `aria-describedby` relationship.";
|
|
81
79
|
ds:defaultValue "—";
|
|
80
|
+
ds:constraints "TypeScript: `ReactNode`. Truthiness controls rendering; the wrapper adds no `aria-describedby` relationship.";
|
|
82
81
|
ds:optional "true"
|
|
83
82
|
], [
|
|
84
83
|
a ds:Property;
|
|
85
84
|
ds:name "`helpClassName`";
|
|
86
85
|
ds:summary "Supplies Canonical MultiSelect help classes.";
|
|
87
86
|
ds:propertyType "text";
|
|
88
|
-
ds:constraints "TypeScript: `string`. The wrapper consumes `help`, so this has no wrapper-owned help target.";
|
|
89
87
|
ds:defaultValue "—";
|
|
88
|
+
ds:constraints "TypeScript: `string`. The wrapper consumes `help`, so this has no wrapper-owned help target.";
|
|
90
89
|
ds:optional "true"
|
|
91
90
|
], [
|
|
92
91
|
a ds:Property;
|
|
93
92
|
ds:name "`label`";
|
|
94
93
|
ds:summary "Renders the outer label and labels Canonical MultiSelect.";
|
|
95
94
|
ds:propertyType "text";
|
|
96
|
-
ds:constraints "TypeScript: `string`. The outer label has no `htmlFor`.";
|
|
97
95
|
ds:defaultValue "—";
|
|
96
|
+
ds:constraints "TypeScript: `string`. The outer label has no `htmlFor`.";
|
|
98
97
|
ds:optional "true"
|
|
99
98
|
], [
|
|
100
99
|
a ds:Property;
|
|
101
100
|
ds:name "`listSelected`";
|
|
102
101
|
ds:summary "Selects Canonical MultiSelect's selected-item listing behavior.";
|
|
103
102
|
ds:propertyType "boolean";
|
|
104
|
-
ds:constraints "TypeScript: `boolean`. Forwarded unchanged.";
|
|
105
103
|
ds:defaultValue "—";
|
|
104
|
+
ds:constraints "TypeScript: `boolean`. Forwarded unchanged.";
|
|
106
105
|
ds:optional "true"
|
|
107
106
|
], [
|
|
108
107
|
a ds:Property;
|
|
109
108
|
ds:name "`onDeselectItem`";
|
|
110
109
|
ds:summary "Handles deselection of one option.";
|
|
111
110
|
ds:propertyType "callback";
|
|
112
|
-
ds:constraints "TypeScript: `(item: MultiSelectItem) => void`.";
|
|
113
111
|
ds:defaultValue "—";
|
|
112
|
+
ds:constraints "TypeScript: `(item: MultiSelectItem) => void`.";
|
|
114
113
|
ds:optional "true"
|
|
115
114
|
], [
|
|
116
115
|
a ds:Property;
|
|
117
116
|
ds:name "`onItemsUpdate`";
|
|
118
117
|
ds:summary "Handles changes to the selected option array.";
|
|
119
118
|
ds:propertyType "callback";
|
|
120
|
-
ds:constraints "TypeScript: `(items: MultiSelectItem[]) => void`.";
|
|
121
119
|
ds:defaultValue "—";
|
|
120
|
+
ds:constraints "TypeScript: `(items: MultiSelectItem[]) => void`.";
|
|
122
121
|
ds:optional "true"
|
|
123
122
|
], [
|
|
124
123
|
a ds:Property;
|
|
125
124
|
ds:name "`onSelectItem`";
|
|
126
125
|
ds:summary "Handles selection of one option.";
|
|
127
126
|
ds:propertyType "callback";
|
|
128
|
-
ds:constraints "TypeScript: `(item: MultiSelectItem) => void`.";
|
|
129
127
|
ds:defaultValue "—";
|
|
128
|
+
ds:constraints "TypeScript: `(item: MultiSelectItem) => void`.";
|
|
130
129
|
ds:optional "true"
|
|
131
130
|
], [
|
|
132
131
|
a ds:Property;
|
|
133
132
|
ds:name "`placeholder`";
|
|
134
133
|
ds:summary "Supplies placeholder text for the control.";
|
|
135
134
|
ds:propertyType "text";
|
|
136
|
-
ds:constraints "TypeScript: `string`.";
|
|
137
135
|
ds:defaultValue "—";
|
|
136
|
+
ds:constraints "TypeScript: `string`.";
|
|
138
137
|
ds:optional "true"
|
|
139
138
|
], [
|
|
140
139
|
a ds:Property;
|
|
141
140
|
ds:name "`required`";
|
|
142
141
|
ds:summary "Adds required visual treatment to the outer label.";
|
|
143
142
|
ds:propertyType "boolean";
|
|
144
|
-
ds:constraints "TypeScript: `boolean`. It is not forwarded to Canonical MultiSelect.";
|
|
145
143
|
ds:defaultValue "—";
|
|
144
|
+
ds:constraints "TypeScript: `boolean`. It is not forwarded to Canonical MultiSelect.";
|
|
146
145
|
ds:optional "true"
|
|
147
146
|
], [
|
|
148
147
|
a ds:Property;
|
|
149
148
|
ds:name "`renderItem`";
|
|
150
149
|
ds:summary "Customizes option rendering.";
|
|
151
150
|
ds:propertyType "callback";
|
|
152
|
-
ds:constraints "TypeScript: `(item: MultiSelectItem) => ReactNode`.";
|
|
153
151
|
ds:defaultValue "—";
|
|
152
|
+
ds:constraints "TypeScript: `(item: MultiSelectItem) => ReactNode`.";
|
|
154
153
|
ds:optional "true"
|
|
155
154
|
], [
|
|
156
155
|
a ds:Property;
|
|
157
156
|
ds:name "`dropdownHeader`";
|
|
158
157
|
ds:summary "Supplies content at the start of the dropdown.";
|
|
159
158
|
ds:propertyType "node";
|
|
160
|
-
ds:constraints "TypeScript: `ReactNode`.";
|
|
161
159
|
ds:defaultValue "—";
|
|
160
|
+
ds:constraints "TypeScript: `ReactNode`.";
|
|
162
161
|
ds:optional "true"
|
|
163
162
|
], [
|
|
164
163
|
a ds:Property;
|
|
165
164
|
ds:name "`dropdownFooter`";
|
|
166
165
|
ds:summary "Supplies content at the end of the dropdown.";
|
|
167
166
|
ds:propertyType "node";
|
|
168
|
-
ds:constraints "TypeScript: `ReactNode`. With an error, it follows the dropdown error copy inside a validation wrapper.";
|
|
169
167
|
ds:defaultValue "—";
|
|
168
|
+
ds:constraints "TypeScript: `ReactNode`. With an error, it follows the dropdown error copy inside a validation wrapper.";
|
|
170
169
|
ds:optional "true"
|
|
171
170
|
], [
|
|
172
171
|
a ds:Property;
|
|
173
172
|
ds:name "`footerClassName`";
|
|
174
173
|
ds:summary "Adds classes to the dropdown footer.";
|
|
175
174
|
ds:propertyType "text";
|
|
176
|
-
ds:constraints "TypeScript: `string`.";
|
|
177
175
|
ds:defaultValue "—";
|
|
176
|
+
ds:constraints "TypeScript: `string`.";
|
|
178
177
|
ds:optional "true"
|
|
179
178
|
], [
|
|
180
179
|
a ds:Property;
|
|
181
180
|
ds:name "`inputClassName`";
|
|
182
181
|
ds:summary "Adds classes to the Canonical MultiSelect input.";
|
|
183
182
|
ds:propertyType "text";
|
|
184
|
-
ds:constraints "TypeScript: `string`.";
|
|
185
183
|
ds:defaultValue "—";
|
|
184
|
+
ds:constraints "TypeScript: `string`.";
|
|
186
185
|
ds:optional "true"
|
|
187
186
|
], [
|
|
188
187
|
a ds:Property;
|
|
189
188
|
ds:name "`dropdownClassName`";
|
|
190
189
|
ds:summary "Adds classes to the dropdown.";
|
|
191
190
|
ds:propertyType "text";
|
|
192
|
-
ds:constraints "TypeScript: `string`.";
|
|
193
191
|
ds:defaultValue "—";
|
|
192
|
+
ds:constraints "TypeScript: `string`.";
|
|
194
193
|
ds:optional "true"
|
|
195
194
|
], [
|
|
196
195
|
a ds:Property;
|
|
197
196
|
ds:name "`emptyState`";
|
|
198
197
|
ds:summary "Supplies custom empty-state content.";
|
|
199
198
|
ds:propertyType "node";
|
|
200
|
-
ds:constraints "TypeScript: `ReactNode`.";
|
|
201
199
|
ds:defaultValue "—";
|
|
200
|
+
ds:constraints "TypeScript: `ReactNode`.";
|
|
202
201
|
ds:optional "true"
|
|
203
202
|
], [
|
|
204
203
|
a ds:Property;
|
|
205
204
|
ds:name "`emptyMessage`";
|
|
206
205
|
ds:summary "Supplies the empty-state message.";
|
|
207
206
|
ds:propertyType "text";
|
|
208
|
-
ds:constraints "TypeScript: `string`.";
|
|
209
207
|
ds:defaultValue "—";
|
|
208
|
+
ds:constraints "TypeScript: `string`.";
|
|
210
209
|
ds:optional "true"
|
|
211
210
|
], [
|
|
212
211
|
a ds:Property;
|
|
213
212
|
ds:name "`showDropdownFooter`";
|
|
214
213
|
ds:summary "Controls Canonical MultiSelect footer visibility.";
|
|
215
214
|
ds:propertyType "boolean";
|
|
216
|
-
ds:constraints "TypeScript: `boolean`.";
|
|
217
215
|
ds:defaultValue "—";
|
|
216
|
+
ds:constraints "TypeScript: `boolean`.";
|
|
218
217
|
ds:optional "true"
|
|
219
218
|
], [
|
|
220
219
|
a ds:Property;
|
|
221
220
|
ds:name "`variant`";
|
|
222
221
|
ds:summary "Selects the Canonical MultiSelect trigger variant.";
|
|
223
222
|
ds:propertyType "choice";
|
|
224
|
-
ds:constraints "TypeScript: `\"condensed\" | \"search\"`.";
|
|
225
223
|
ds:defaultValue "—";
|
|
224
|
+
ds:constraints "TypeScript: `\"condensed\" | \"search\"`.";
|
|
226
225
|
ds:optional "true"
|
|
227
226
|
], [
|
|
228
227
|
a ds:Property;
|
|
229
228
|
ds:name "`scrollOverflow`";
|
|
230
229
|
ds:summary "Controls dropdown overflow behavior.";
|
|
231
230
|
ds:propertyType "boolean";
|
|
232
|
-
ds:constraints "TypeScript: `boolean`. Forwarded values override the wrapper fallback.";
|
|
233
231
|
ds:defaultValue "true";
|
|
232
|
+
ds:constraints "TypeScript: `boolean`. Forwarded values override the wrapper fallback.";
|
|
234
233
|
ds:optional "true"
|
|
235
234
|
], [
|
|
236
235
|
a ds:Property;
|
|
237
236
|
ds:name "`isSortedAlphabetically`";
|
|
238
237
|
ds:summary "Controls alphabetical option sorting.";
|
|
239
238
|
ds:propertyType "boolean";
|
|
240
|
-
ds:constraints "TypeScript: `boolean`.";
|
|
241
239
|
ds:defaultValue "—";
|
|
240
|
+
ds:constraints "TypeScript: `boolean`.";
|
|
242
241
|
ds:optional "true"
|
|
243
242
|
], [
|
|
244
243
|
a ds:Property;
|
|
245
244
|
ds:name "`hasSelectedItemsFirst`";
|
|
246
245
|
ds:summary "Controls whether selected options appear first.";
|
|
247
246
|
ds:propertyType "boolean";
|
|
248
|
-
ds:constraints "TypeScript: `boolean`.";
|
|
249
247
|
ds:defaultValue "—";
|
|
248
|
+
ds:constraints "TypeScript: `boolean`.";
|
|
250
249
|
ds:optional "true"
|
|
251
250
|
], [
|
|
252
251
|
a ds:Property;
|
|
253
252
|
ds:name "`id`";
|
|
254
253
|
ds:summary "Supplies the Canonical MultiSelect identifier.";
|
|
255
254
|
ds:propertyType "text";
|
|
256
|
-
ds:constraints "TypeScript: `string`.";
|
|
257
255
|
ds:defaultValue "—";
|
|
256
|
+
ds:constraints "TypeScript: `string`.";
|
|
258
257
|
ds:optional "true"
|
|
259
258
|
], [
|
|
260
259
|
a ds:Property;
|
|
261
260
|
ds:name "`onSearchChange`";
|
|
262
261
|
ds:summary "Handles search-text changes.";
|
|
263
262
|
ds:propertyType "callback";
|
|
264
|
-
ds:constraints "TypeScript: `(value: string) => void`.";
|
|
265
263
|
ds:defaultValue "—";
|
|
264
|
+
ds:constraints "TypeScript: `(value: string) => void`.";
|
|
266
265
|
ds:optional "true"
|
|
267
266
|
], [
|
|
268
267
|
a ds:Property;
|
|
269
268
|
ds:name "`onOpen`";
|
|
270
269
|
ds:summary "Notifies when observed `aria-expanded` becomes `\"true\"`.";
|
|
271
270
|
ds:propertyType "callback";
|
|
272
|
-
ds:constraints "TypeScript: `() => void`. A `MutationObserver` watches the first descendant with `[aria-expanded]`; no initial callback fires.";
|
|
273
271
|
ds:defaultValue "—";
|
|
272
|
+
ds:constraints "TypeScript: `() => void`. A `MutationObserver` watches the first descendant with `[aria-expanded]`; no initial callback fires.";
|
|
274
273
|
ds:optional "true"
|
|
275
274
|
], [
|
|
276
275
|
a ds:Property;
|
|
277
276
|
ds:name "`onClose`";
|
|
278
277
|
ds:summary "Notifies when observed `aria-expanded` changes away from `\"true\"`.";
|
|
279
278
|
ds:propertyType "callback";
|
|
280
|
-
ds:constraints "TypeScript: `() => void`. Observation depends on Canonical MultiSelect's rendered control.";
|
|
281
279
|
ds:defaultValue "—";
|
|
280
|
+
ds:constraints "TypeScript: `() => void`. Observation depends on Canonical MultiSelect's rendered control.";
|
|
282
281
|
ds:optional "true"
|
|
283
282
|
], [
|
|
284
283
|
a ds:Property;
|
|
285
284
|
ds:name "`searchButtonType`";
|
|
286
285
|
ds:summary "Selects the search trigger's native button type.";
|
|
287
286
|
ds:propertyType "choice";
|
|
288
|
-
ds:constraints "TypeScript: `\"submit\" | \"button\"`.";
|
|
289
287
|
ds:defaultValue "—";
|
|
288
|
+
ds:constraints "TypeScript: `\"submit\" | \"button\"`.";
|
|
290
289
|
ds:optional "true"
|
|
291
290
|
], [
|
|
292
291
|
a ds:Property;
|
|
293
292
|
ds:name "`className`";
|
|
294
293
|
ds:summary "Adds classes to the root wrapper.";
|
|
295
294
|
ds:propertyType "text";
|
|
296
|
-
ds:constraints "TypeScript: `string`. Local validation and state classes remain applied.";
|
|
297
295
|
ds:defaultValue "—";
|
|
296
|
+
ds:constraints "TypeScript: `string`. Local validation and state classes remain applied.";
|
|
298
297
|
ds:optional "true"
|
|
299
298
|
], [
|
|
300
299
|
a ds:Property;
|
|
301
300
|
ds:name "`innerRef`";
|
|
302
301
|
ds:summary "Receives the root wrapper node.";
|
|
303
302
|
ds:propertyType "object";
|
|
304
|
-
ds:constraints "TypeScript: `Ref<HTMLDivElement>`. Supports callback and mutable object refs; the implementation does not explicitly write `null` on unmount.";
|
|
305
303
|
ds:defaultValue "—";
|
|
304
|
+
ds:constraints "TypeScript: `Ref<HTMLDivElement>`. Supports callback and mutable object refs; the implementation does not explicitly write `null` on unmount.";
|
|
306
305
|
ds:optional "true"
|
|
307
306
|
], [
|
|
308
307
|
a ds:Property;
|
|
309
308
|
ds:name "`labelClassName`";
|
|
310
309
|
ds:summary "Adds classes to the outer label.";
|
|
311
310
|
ds:propertyType "text";
|
|
312
|
-
ds:constraints "TypeScript: `string`. Has no effect when `label` is absent.";
|
|
313
311
|
ds:defaultValue "—";
|
|
312
|
+
ds:constraints "TypeScript: `string`. Has no effect when `label` is absent.";
|
|
314
313
|
ds:optional "true"
|
|
315
314
|
], [
|
|
316
315
|
a ds:Property;
|
|
317
316
|
ds:name "`warning`";
|
|
318
317
|
ds:summary "Applies caution styling and renders feedback below the control.";
|
|
319
318
|
ds:propertyType "node";
|
|
320
|
-
ds:constraints "TypeScript: `ReactNode`. It is not forwarded or included in the dropdown footer.";
|
|
321
319
|
ds:defaultValue "—";
|
|
320
|
+
ds:constraints "TypeScript: `ReactNode`. It is not forwarded or included in the dropdown footer.";
|
|
322
321
|
ds:optional "true"
|
|
323
|
-
]
|
|
322
|
+
];
|
|
323
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -10,7 +10,6 @@ ds:apps_landscape.component.password_constraints a ds:Component;
|
|
|
10
10
|
ds:usage "**When to Use**\n\n- **Password Creation:** Use in registration or \"change password\" forms where specific complexity rules are enforced.\n- **Real-time Validation:** Use to provide immediate feedback as the user types, rather than waiting for form submission.\n\n**When Not to Use**\n\n- **Simple Inputs:** Do not use for standard text fields that do not require complex validation logic.\n- **Hidden logic:** Do not use if the password requirements are not publicly disclosed to the user.";
|
|
11
11
|
ds:guidelines "Do not rely solely on color (red/green) to convey the state of a constraint. The component correctly uses icons (checkmarks/crosses) alongside text to ensure users with color blindness can distinguish between passed and failed states.\n\n\n\nValidation logic triggers on every keystroke (`password` prop update). Ensure the icons transition smoothly between states to prevent visual jarring (flickering).\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 "password";
|
|
@@ -35,4 +34,5 @@ ds:apps_landscape.component.password_constraints a ds:Component;
|
|
|
35
34
|
ds:summary "Additional CSS classes for the root container.";
|
|
36
35
|
ds:propertyType "text";
|
|
37
36
|
ds:optional "true"
|
|
38
|
-
]
|
|
37
|
+
];
|
|
38
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -10,91 +10,91 @@ ds:apps_landscape.component.progress_bar a ds:Component;
|
|
|
10
10
|
ds:usage "### When to use\n\n**Known-length operations**\n\nUse when an operation can report a meaningful completion percentage, such as preparing an export or applying a managed operation.\n\n**Progress with a useful estimate**\n\nUse when remaining time helps the user judge whether to wait, continue other work, or return later. Pass `null` while the estimate is still being calculated.\n\n**Compact status rows**\n\nUse in tables, side panels, and operation details where the percentage and ETA need to remain aligned with a compact progress track.\n\n### When not to use\n\n**Indeterminate loading**\n\nThe operation cannot provide a meaningful percentage.\n\n**Incorrect pattern**: Advancing a synthetic percentage while waiting for an unknown-duration request.\n\n**Remediation strategy**: Use Loading State or a contextual pending indicator until determinate progress is available.\n\n**Completion without ongoing work**\n\nThe operation is already complete and the user primarily needs its final status or result.\n\n**Incorrect pattern**: Leaving a 100% progress bar in a list indefinitely as the only success indication.\n\n**Remediation strategy**: Replace it with the relevant completed status and expose the resulting action or output.\n\n**Multiple unrelated operations in one indicator**\n\nSeveral tasks have independent durations or failure states.\n\n**Incorrect pattern**: Averaging unrelated task percentages into one bar without explaining what completion means.\n\n**Remediation strategy**: Show progress per operation or provide a clearly defined aggregate with separate failure reporting.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- Give each progressbar a specific accessible name. Use `labelledBy` when a visible operation label already exists; otherwise provide `label` rather than relying on the generic default.\n- Keep visible percentage and ETA text hidden from assistive technology because `aria-valuenow` and `aria-valuetext` already report them.\n- Do not use the decorative loading spinner as the only state signal. The semantic progressbar must continue to describe the operation.\n- Announce failures and completion separately; the component exposes progress values but no live-region, error, or completed-state semantics.\n\n### Content\n\n- Keep estimating and almost-done labels concise enough for the fixed ETA column.\n- Ensure the estimate describes the same operation as the percentage. Do not combine independent sources with different update timing.\n- Replace the component with a durable final status after completion when the surrounding workflow remains visible.\n\n### Responsive behavior\n\n- The default track has an `8rem` maximum width; use `fullWidth` when the bar should consume remaining container space.\n- The percentage reserves `2.5rem` and ETA reserves `6rem`. Long ETA copy truncates with an ellipsis, so preserve the full state in the accessible value text.\n- Test narrow table cells and translated labels. The content row does not wrap.\n\n### Keyboard\n\n- Progress Bar with ETA is read-only and contains no focusable controls.\n- Do not add the progressbar or decorative spinner to the tab order.\n- Keep cancellation, retry, or details actions as adjacent semantic controls owned by the surrounding workflow.\n\n### Internationalization\n\n- Supply localized `label`, `estimatingLabel`, and `almostDoneLabel` values; the source defaults are English.\n- The built-in duration formatter uses fixed abbreviated units (`h`, `m`, and `s`) rather than `Intl.DurationFormat` or localized unit strings.\n- Percentage formatting uses an integer followed by `%` and does not use locale-aware percent formatting.";
|
|
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 "`ProgressBar.progress`";
|
|
17
16
|
ds:summary "Current completion percentage.";
|
|
18
17
|
ds:propertyType "number";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
18
|
+
ds:defaultValue "—";
|
|
19
|
+
ds:constraints "Rounded to the nearest integer and clamped to `0`–`100`; callers must provide a finite number."
|
|
21
20
|
], [
|
|
22
21
|
a ds:Property;
|
|
23
22
|
ds:name "`ProgressBar.secondsRemaining`";
|
|
24
23
|
ds:summary "Estimated seconds remaining, or an unresolved estimate.";
|
|
25
24
|
ds:propertyType "number";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
25
|
+
ds:defaultValue "—";
|
|
26
|
+
ds:constraints "Accepts `null` to show estimating copy; values at or below five seconds show almost-done copy."
|
|
28
27
|
], [
|
|
29
28
|
a ds:Property;
|
|
30
29
|
ds:name "`ProgressBar.fullWidth`";
|
|
31
30
|
ds:summary "Removes the progress track's default maximum width.";
|
|
32
31
|
ds:propertyType "boolean";
|
|
33
|
-
ds:constraints "The outer wrapper remains full width in either mode.";
|
|
34
32
|
ds:defaultValue "false";
|
|
33
|
+
ds:constraints "The outer wrapper remains full width in either mode.";
|
|
35
34
|
ds:optional "true"
|
|
36
35
|
], [
|
|
37
36
|
a ds:Property;
|
|
38
37
|
ds:name "`ProgressBar.loading`";
|
|
39
38
|
ds:summary "Adds a decorative spinner before the progress content.";
|
|
40
39
|
ds:propertyType "boolean";
|
|
41
|
-
ds:constraints "The spinner is `aria-hidden`; determinate progress remains represented by the progressbar.";
|
|
42
40
|
ds:defaultValue "false";
|
|
41
|
+
ds:constraints "The spinner is `aria-hidden`; determinate progress remains represented by the progressbar.";
|
|
43
42
|
ds:optional "true"
|
|
44
43
|
], [
|
|
45
44
|
a ds:Property;
|
|
46
45
|
ds:name "`ProgressBar.label`";
|
|
47
46
|
ds:summary "Accessible name used when no labelled-by relationship exists.";
|
|
48
47
|
ds:propertyType "text";
|
|
49
|
-
ds:constraints "Ignored when `labelledBy` is provided.";
|
|
50
48
|
ds:defaultValue "`Progress`";
|
|
49
|
+
ds:constraints "Ignored when `labelledBy` is provided.";
|
|
51
50
|
ds:optional "true"
|
|
52
51
|
], [
|
|
53
52
|
a ds:Property;
|
|
54
53
|
ds:name "`ProgressBar.labelledBy`";
|
|
55
54
|
ds:summary "ID of an existing visible label for the progressbar.";
|
|
56
55
|
ds:propertyType "text";
|
|
57
|
-
ds:constraints "Suppresses `aria-label`; the referenced element must exist and identify this operation.";
|
|
58
56
|
ds:defaultValue "—";
|
|
57
|
+
ds:constraints "Suppresses `aria-label`; the referenced element must exist and identify this operation.";
|
|
59
58
|
ds:optional "true"
|
|
60
59
|
], [
|
|
61
60
|
a ds:Property;
|
|
62
61
|
ds:name "`ProgressBar.className`";
|
|
63
62
|
ds:summary "Additional class names applied to the outer wrapper.";
|
|
64
63
|
ds:propertyType "text";
|
|
65
|
-
ds:constraints "Use for placement only; do not obscure the indicator or visible status labels.";
|
|
66
64
|
ds:defaultValue "—";
|
|
65
|
+
ds:constraints "Use for placement only; do not obscure the indicator or visible status labels.";
|
|
67
66
|
ds:optional "true"
|
|
68
67
|
], [
|
|
69
68
|
a ds:Property;
|
|
70
69
|
ds:name "`ProgressBar.showPercentage`";
|
|
71
70
|
ds:summary "Controls the visible percentage label.";
|
|
72
71
|
ds:propertyType "boolean";
|
|
73
|
-
ds:constraints "The semantic current value remains available when the visible label is hidden.";
|
|
74
72
|
ds:defaultValue "true";
|
|
73
|
+
ds:constraints "The semantic current value remains available when the visible label is hidden.";
|
|
75
74
|
ds:optional "true"
|
|
76
75
|
], [
|
|
77
76
|
a ds:Property;
|
|
78
77
|
ds:name "`ProgressBar.showEta`";
|
|
79
78
|
ds:summary "Controls the visible ETA and ETA portion of value text.";
|
|
80
79
|
ds:propertyType "boolean";
|
|
81
|
-
ds:constraints "When false, `aria-valuetext` contains only the percentage.";
|
|
82
80
|
ds:defaultValue "true";
|
|
81
|
+
ds:constraints "When false, `aria-valuetext` contains only the percentage.";
|
|
83
82
|
ds:optional "true"
|
|
84
83
|
], [
|
|
85
84
|
a ds:Property;
|
|
86
85
|
ds:name "`ProgressBar.estimatingLabel`";
|
|
87
86
|
ds:summary "Copy displayed while the estimate is unresolved.";
|
|
88
87
|
ds:propertyType "text";
|
|
89
|
-
ds:constraints "Used only when `secondsRemaining` is `null`.";
|
|
90
88
|
ds:defaultValue "`Estimating...`";
|
|
89
|
+
ds:constraints "Used only when `secondsRemaining` is `null`.";
|
|
91
90
|
ds:optional "true"
|
|
92
91
|
], [
|
|
93
92
|
a ds:Property;
|
|
94
93
|
ds:name "`ProgressBar.almostDoneLabel`";
|
|
95
94
|
ds:summary "Copy displayed when little time remains.";
|
|
96
95
|
ds:propertyType "text";
|
|
97
|
-
ds:constraints "Used when `secondsRemaining` is five seconds or less, including negative input.";
|
|
98
96
|
ds:defaultValue "`Almost done`";
|
|
97
|
+
ds:constraints "Used when `secondsRemaining` is five seconds or less, including negative input.";
|
|
99
98
|
ds:optional "true"
|
|
100
|
-
]
|
|
99
|
+
];
|
|
100
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -10,37 +10,37 @@ ds:apps_landscape.component.read_only_field a ds:Component;
|
|
|
10
10
|
ds:usage "### When to use\n\n**Immutable form context**\n\nUse when an immutable string value belongs among editable fields in a form or review workflow and should retain field-like alignment.\n\n**Explain locked state**\n\nUse when a short explanation helps users understand why editing is unavailable.\n\n**Show absent immutable data**\n\nUse when the shared `---` no-data convention accurately represents a missing string in the surrounding form context.\n\n### When not to use\n\n**Temporarily unavailable input**\n\nA form field where editing will later become available to the user after permission is granted or a prerequisite is satisfied.\n\n**Incorrect pattern**: Rendering a disabled `Input` component temporarily while data is loading or permissions are being checked, and then showing Read-Only Field instead.\n\n**Remediation strategy**: Use a native `Input` with `disabled` attribute, or use a state-driven component that shows either editable or locked presentation based on permission/loading state. Read-Only Field signals permanent immutability.\n\n**General detail display**\n\nA view showing arbitrary metadata or summary information outside a form context—such as in a detail panel or summary card.\n\n**Incorrect pattern**: Using Read-Only Field to display structured data like account status, creation date, or author information alongside editable fields in a non-form layout.\n\n**Remediation strategy**: Use a definition list (`<dl>`), data table, or information grid component. Read-Only Field is designed for form-like vertical layouts where field-level alignment matters.\n\n**Selectable or copy-critical values**\n\nA value that users need to select, copy, or reveal—especially if truncation, structured/non-string content, or a dedicated copy action is necessary.\n\n**Incorrect pattern**: Rendering a long API key, token, or sensitive string in Read-Only Field and expecting users to be able to select and copy it easily.\n\n**Remediation strategy**: Use a dedicated reveal/copy component, code display component, or data cell with selection and copy affordances. Read-Only Field provides none of these contracts.\n\n**Required explanation on touch or keyboard**\n\nA scenario where the reason for immutability must be discoverable without hover or a mouse pointer.\n\n**Incorrect pattern**: Relying on `tooltipMessage` as the only way to explain why a field is locked, especially in a touch interface or for keyboard-only navigation.\n\n**Remediation strategy**: Provide the explanation in persistent text before or after the field (not just in a tooltip). Use `tooltipMessage` only as supplementary, and ensure the workflow remains complete and clear without hovering.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- Treat this as text display, not a native form control. The `<label>` has no `htmlFor`, and the value row has no labelled-by relationship.\n- The lock icon has no source-provided `aria-hidden` or accessible label. Ensure the visible context communicates immutability without depending on the icon.\n- Do not depend on the `followMouse` tooltip; keyboard and touch users need the same explanation in persistent text when it is necessary to understand or complete the task.\n- The literal required asterisk has no hidden explanation and no `aria-required` semantics. Do not assume it communicates a required contract to assistive technology.\n- The `---` fallback must be understood from surrounding context; the shared NoData component adds no expanded accessible phrase.\n\n### Content\n\n- Explain why the value is locked and, when useful, where it can be changed.\n- Use concise labels parallel to neighboring editable fields.\n- Distinguish a missing value from an intentionally empty string before passing data; both become `---` under the current truthiness check.\n- Do not pass formatted React content, links, or controls as the value; the public type is string-only.\n\n### Keyboard\n\n- The component defines no keyboard handlers and should not itself add a tab stop.\n- Verify the installed Tooltip behavior before relying on keyboard discovery; this wrapper supplies no explicit focusable trigger.\n- Put any required action, such as navigating to where the value can be changed, in a separate labelled control rather than inside the locked row.\n\n### Responsive behavior\n\n- The field and locked row use flex layout at every width. The value and icon are spaced apart, and the row is full width.\n- Source defines no overflow, truncation, word-break, or responsive breakpoint. Long unbroken values can compete with the lock icon; callers must avoid unsuitable content or provide a different display pattern.\n- The Tooltip trigger wrapper is forced to full width, while the tooltip is positioned bottom-left and follows pointer movement.\n\n### Internationalization\n\n- Externalize `label` and `tooltipMessage` at the owning feature.\n- Allow translated labels and explanations to wrap in surrounding layout; no truncation is provided.\n- The required marker and no-data text are fixed source output rather than localizable props. `NoData` currently renders `---`.";
|
|
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 "`label`";
|
|
17
16
|
ds:summary "Supplies text for the always-rendered label element.";
|
|
18
17
|
ds:propertyType "text";
|
|
19
18
|
ds:optional "true";
|
|
20
|
-
ds:
|
|
21
|
-
ds:
|
|
19
|
+
ds:defaultValue "—";
|
|
20
|
+
ds:constraints "TypeScript: `string`. The label has no `htmlFor` and does not programmatically label a control."
|
|
22
21
|
], [
|
|
23
22
|
a ds:Property;
|
|
24
23
|
ds:name "`value`";
|
|
25
24
|
ds:summary "Supplies the immutable value displayed in the locked row.";
|
|
26
25
|
ds:propertyType "text";
|
|
27
26
|
ds:optional "true";
|
|
28
|
-
ds:
|
|
29
|
-
ds:
|
|
27
|
+
ds:defaultValue "—";
|
|
28
|
+
ds:constraints "TypeScript: `string`. Every falsy value, including `\"\"`, renders shared `NoData` text `---`; whitespace-only strings remain visible."
|
|
30
29
|
], [
|
|
31
30
|
a ds:Property;
|
|
32
31
|
ds:name "`tooltipMessage`";
|
|
33
32
|
ds:summary "Supplies the message passed to Canonical Tooltip.";
|
|
34
33
|
ds:propertyType "text";
|
|
35
34
|
ds:optional "true";
|
|
36
|
-
ds:
|
|
37
|
-
ds:
|
|
35
|
+
ds:defaultValue "—";
|
|
36
|
+
ds:constraints "TypeScript: `string`. The Tooltip renders even when this prop is absent and uses `followMouse`."
|
|
38
37
|
], [
|
|
39
38
|
a ds:Property;
|
|
40
39
|
ds:name "`required`";
|
|
41
40
|
ds:summary "Prefixes the label with the literal text `*` .";
|
|
42
41
|
ds:propertyType "boolean";
|
|
43
42
|
ds:optional "true";
|
|
44
|
-
ds:
|
|
45
|
-
ds:
|
|
46
|
-
]
|
|
43
|
+
ds:defaultValue "—";
|
|
44
|
+
ds:constraints "TypeScript: `boolean`. Adds no native `required`, `aria-required`, validation, or explanatory legend."
|
|
45
|
+
];
|
|
46
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -10,42 +10,42 @@ ds:apps_landscape.component.search_help_popup a ds:Component;
|
|
|
10
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
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
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 "`open`";
|
|
17
16
|
ds:summary "Controls conditional mounting of the complete modal.";
|
|
18
17
|
ds:propertyType "boolean";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
18
|
+
ds:defaultValue "—";
|
|
19
|
+
ds:constraints "`false` returns no modal subtree; the component stores no open state."
|
|
21
20
|
], [
|
|
22
21
|
a ds:Property;
|
|
23
22
|
ds:name "`onClose`";
|
|
24
23
|
ds:summary "Is passed to Canonical `Modal` as its close callback.";
|
|
25
24
|
ds:propertyType "callback";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
25
|
+
ds:defaultValue "—";
|
|
26
|
+
ds:constraints "TypeScript: `() => void`. The caller must set `open` to false. Focus return and Escape and close-control behavior depend on Canonical Modal."
|
|
28
27
|
], [
|
|
29
28
|
a ds:Property;
|
|
30
29
|
ds:name "`data`";
|
|
31
30
|
ds:summary "Supplies rows to `ModularTable`.";
|
|
32
31
|
ds:propertyType "list of objects";
|
|
33
|
-
ds:
|
|
34
|
-
ds:
|
|
32
|
+
ds:defaultValue "—";
|
|
33
|
+
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
34
|
], [
|
|
36
35
|
a ds:Property;
|
|
37
36
|
ds:name "`data[].term`";
|
|
38
37
|
ds:summary "Supplies a term cell value.";
|
|
39
38
|
ds:propertyType "text";
|
|
40
|
-
ds:constraints "TypeScript: `unknown`. Only strings render, using semantic `code`; other values produce an empty cell.";
|
|
41
39
|
ds:defaultValue "—";
|
|
40
|
+
ds:constraints "TypeScript: `unknown`. Only strings render, using semantic `code`; other values produce an empty cell.";
|
|
42
41
|
ds:optional "true"
|
|
43
42
|
], [
|
|
44
43
|
a ds:Property;
|
|
45
44
|
ds:name "`data[].description`";
|
|
46
45
|
ds:summary "Supplies a description cell value.";
|
|
47
46
|
ds:propertyType "node";
|
|
48
|
-
ds:constraints "TypeScript: `unknown`. Only strings or valid React elements render, wrapped in muted text; other values produce an empty cell.";
|
|
49
47
|
ds:defaultValue "—";
|
|
48
|
+
ds:constraints "TypeScript: `unknown`. Only strings or valid React elements render, wrapped in muted text; other values produce an empty cell.";
|
|
50
49
|
ds:optional "true"
|
|
51
|
-
]
|
|
50
|
+
];
|
|
51
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|