@canonical/design-system 0.47.0 → 0.49.0-experimental.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- 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 +7 -7
- package/data/apps/pattern/datatable.ttl +7 -7
- 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 +17 -10
- package/data/apps/pattern/side_panel.ttl +219 -43
- package/data/apps/pattern/sidepanel_stacked.ttl +0 -1
- package/data/apps/subcomponent/data_table-action_bar.ttl +1 -1
- 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 +7 -7
- 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 +0 -1
- package/data/apps/subcomponent/data_views-saved_views.ttl +0 -1
- package/data/apps/subcomponent/data_views-sort_panel.ttl +0 -1
- 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_navigation-primary_navigation.ttl +638 -0
- package/data/apps/subcomponent/side_navigation-secondary_navigation.ttl +646 -0
- package/data/apps/subcomponent/side_panel-content.ttl +45 -5
- package/data/apps/subcomponent/side_panel-footer.ttl +40 -8
- package/data/apps/subcomponent/side_panel-header.ttl +87 -111
- package/data/apps.ttl +2 -1
- package/data/apps_anbox/pattern/side_menu.ttl +5 -6
- package/data/apps_anbox.ttl +2 -1
- 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_debcrafters.ttl +2 -1
- package/data/apps_juju/pattern/single_select_multi_layered.ttl +0 -1
- package/data/apps_juju.ttl +2 -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_landscape.ttl +2 -1
- 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 +6 -6
- 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_launchpad.ttl +2 -1
- package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
- package/data/apps_lxd/component/favorite_star_icon_button.ttl +16 -0
- 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_lxd.ttl +2 -1
- package/data/apps_notary.ttl +2 -1
- 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_portal.ttl +2 -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_workplace/component/complex_multi_select.ttl +0 -1
- package/data/apps_workplace/component/label-highlight.ttl +2 -2
- package/data/apps_workplace/component/org_chart.ttl +0 -1
- package/data/apps_workplace/component/rule.ttl +0 -1
- package/data/apps_workplace/component/skip_link.ttl +0 -1
- package/data/apps_workplace/component/theme_switcher.ttl +0 -1
- package/data/apps_workplace/pattern/callout_numbers_card.ttl +1 -1
- package/data/apps_workplace/pattern/confirmation_modal.ttl +0 -1
- package/data/apps_workplace/pattern/org_event_card.ttl +0 -1
- package/data/apps_workplace/subcomponent/multi_select_input.ttl +0 -1
- package/data/apps_workplace.ttl +2 -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 +1 -1
- package/data/documentation.ttl +2 -1
- package/data/global/component/accordion.ttl +16 -16
- package/data/global/component/announcement.ttl +2 -2
- package/data/global/component/avatar.ttl +0 -1
- package/data/global/component/badge.ttl +11 -11
- package/data/global/component/breadcrumbs.ttl +9 -9
- package/data/global/component/button.ttl +11 -11
- package/data/global/component/button_link.ttl +0 -1
- package/data/global/component/card.ttl +2 -2
- package/data/global/component/checkbox_field.ttl +0 -1
- package/data/global/component/chip.ttl +15 -15
- 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 +2 -2
- 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/{tooltip_data.ttl → data_tooltip.ttl} +41 -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 +3 -3
- package/data/global/component/file_upload_field.ttl +2 -2
- package/data/global/component/heading.ttl +1 -1
- package/data/global/component/hidden_field.ttl +0 -1
- package/data/global/component/icon.ttl +3 -3
- package/data/global/component/icon_button.ttl +119 -6
- package/data/global/component/icon_in_container.ttl +2 -3
- package/data/global/component/key_value_pair.ttl +0 -1
- 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_editor_field.ttl +0 -1
- package/data/global/component/mode_switcher.ttl +0 -1
- 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 +0 -1
- 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/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/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 +9 -9
- package/data/global/component/time_field.ttl +0 -1
- package/data/global/component/timestamp.ttl +0 -1
- package/data/global/component/tooltip.ttl +31 -123
- package/data/global/component/{tooltip_wrapper.ttl → wrapper_tooltip.ttl} +45 -53
- package/data/global/group/buttons.ttl +0 -1
- package/data/global/group/cards.ttl +0 -1
- package/data/global/group/code_snippets.ttl +0 -1
- package/data/global/group/key_value_pairs.ttl +0 -1
- 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/alpha.ttl +1 -1
- package/data/global/modifier/beta.ttl +1 -1
- package/data/global/modifier/branded.ttl +8 -0
- package/data/global/modifier/caution.ttl +1 -1
- package/data/global/modifier/comfortable.ttl +1 -1
- package/data/global/modifier/completed.ttl +1 -1
- package/data/global/modifier/constructive.ttl +1 -1
- package/data/global/modifier/{elevated.ttl → contrasted.ttl} +2 -2
- package/data/global/modifier/dark.ttl +2 -2
- package/data/global/modifier/dense.ttl +1 -1
- package/data/global/modifier/deprecated.ttl +8 -0
- package/data/global/modifier/destructive.ttl +1 -1
- package/data/global/modifier/{success.ttl → deutan.ttl} +3 -3
- package/data/global/modifier/end_of_life.ttl +8 -0
- package/data/global/modifier/error.ttl +2 -2
- package/data/global/modifier/experimental.ttl +1 -1
- package/data/global/modifier/failed.ttl +1 -1
- package/data/global/modifier/highlighted.ttl +8 -0
- package/data/global/modifier/in_progress.ttl +1 -1
- package/data/global/modifier/information.ttl +2 -2
- package/data/global/modifier/{surface2.ttl → layer1.ttl} +2 -2
- package/data/global/modifier/{surface1.ttl → layer2.ttl} +2 -2
- package/data/global/modifier/{surface3.ttl → layer3.ttl} +2 -2
- package/data/global/modifier/less.ttl +8 -0
- package/data/global/modifier/light.ttl +2 -2
- package/data/global/modifier/lts.ttl +8 -0
- package/data/global/modifier/more.ttl +8 -0
- package/data/global/modifier/muted.ttl +8 -0
- package/data/global/modifier/planned.ttl +1 -1
- package/data/global/modifier/primary.ttl +1 -1
- package/data/global/modifier/protan.ttl +8 -0
- package/data/global/modifier/secondary.ttl +1 -1
- package/data/global/modifier/stable.ttl +1 -1
- package/data/global/modifier/standard.ttl +8 -0
- package/data/global/modifier/tertiary.ttl +1 -1
- package/data/global/modifier/tritan.ttl +8 -0
- package/data/global/modifier/typical.ttl +8 -0
- package/data/global/modifier/warning.ttl +2 -2
- package/data/global/modifier_family/anticipation.ttl +1 -0
- package/data/global/modifier_family/{mode.ttl → color.ttl} +3 -2
- package/data/global/modifier_family/color_vision.ttl +10 -0
- package/data/global/modifier_family/contrast.ttl +10 -0
- package/data/global/modifier_family/density.ttl +1 -0
- package/data/global/modifier_family/emphasis.ttl +10 -0
- package/data/global/modifier_family/importance.ttl +1 -0
- package/data/global/modifier_family/lifecycle.ttl +1 -0
- package/data/global/modifier_family/release.ttl +1 -0
- package/data/global/modifier_family/severity.ttl +10 -0
- package/data/global/modifier_family/support.ttl +10 -0
- package/data/global/modifier_family/surface.ttl +2 -1
- package/data/global/pattern/description_list.ttl +0 -1
- package/data/global/pattern/field.ttl +0 -1
- package/data/global/pattern/filter.ttl +0 -1
- package/data/global/pattern/form.ttl +6 -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 +202 -141
- 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/top_navigation.ttl +0 -1
- package/data/global/{modifier_family/_other.ttl → state/editable.ttl} +2 -2
- package/data/global/{modifier_family/_emphasis.ttl → state/focused.ttl} +2 -2
- package/data/global/{modifier_family/_color_luminosity.ttl → state/invalid.ttl} +2 -2
- package/data/global/{modifier/modal.ttl → state/loading.ttl} +3 -3
- package/data/global/state/valid.ttl +8 -0
- package/data/global/state/wireframe.ttl +8 -0
- 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 +1 -2
- package/data/global/subcomponent/chart_legend_item.ttl +1 -2
- 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 +3 -3
- 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_editor_input.ttl +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +28 -3
- package/data/global/view/settings_view.ttl +0 -1
- package/data/global.ttl +2 -1
- package/data/global_dataviews/component/filter_button.ttl +3 -4
- package/data/global_dataviews/component/query_bar.ttl +1 -2
- package/data/global_dataviews/component/query_chip.ttl +2 -2
- package/data/global_dataviews/group/query_chips.ttl +1 -2
- package/data/global_dataviews/modifier/exclusion.ttl +1 -1
- package/data/global_dataviews/modifier/inclusion.ttl +1 -1
- package/data/global_dataviews/modifier/match.ttl +1 -1
- package/data/global_dataviews/modifier/presence.ttl +1 -1
- package/data/global_dataviews/modifier/range.ttl +1 -1
- package/data/global_dataviews/modifier_family/condition.ttl +1 -0
- package/data/global_dataviews/subcomponent/query_chip-entry.ttl +1 -2
- package/data/global_dataviews/subcomponent/query_chip-segment.ttl +1 -2
- package/data/global_dataviews/subcomponent/query_input.ttl +1 -2
- package/data/global_dataviews.ttl +2 -1
- 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.ttl +2 -1
- package/data/sites_stores.ttl +2 -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 +6 -2
- 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/sites_webcomponentsprototype.ttl +2 -1
- package/definitions/ontology.ttl +46 -0
- package/package.json +6 -6
- package/skills/design-auditor/SKILL.md +4 -4
- package/skills/implement-component/SKILL.md +1 -1
- package/skills/specify-component/SKILL.md +1 -1
- package/src/graph/GraphStore.ts +8 -2
- package/data/global/modifier_family/criticality.ttl +0 -9
- package/skills/map-journeys/SKILL.md +0 -395
- package/skills/map-journeys/journey-graph.example.html +0 -298
- package/skills/model-domains/SKILL.md +0 -502
|
@@ -10,192 +10,192 @@ ds:apps_landscape.pattern.table_filter a ds:Pattern;
|
|
|
10
10
|
ds:usage "### When to use\n\n**Filter a table by known values**\n\nUse `single` or `multiple` for caller-owned selections from a known option array associated with a table or list.\n\n**Host a compact custom filter**\n\nUse `custom` for a compact filter-specific component that can optionally request menu closure through `closeMenu`.\n\n### When not to use\n\n**Free-form text search**\n\nAccepting unrestricted user text input rather than selecting from predefined options.\n\n**Incorrect pattern**: Using TableFilter with `type=\"single\"` or `type=\"multiple\"` to capture unvalidated keyword searches.\n\n**Remediation strategy**: Use a dedicated `SearchBox` or `Input` component for free-form search. Reserve TableFilter for structured selection from known option sets.\n\n**Persistent configuration settings**\n\nStoring values as application state rather than temporary result filters.\n\n**Incorrect pattern**: Using TableFilter to edit user preferences or form configuration fields inside a panel or modal.\n\n**Remediation strategy**: Use a `Form` component or dedicated settings panel for persistent configuration. Use TableFilter only for transient filter state.\n\n**Semantic option groups with screen-reader announcements**\n\nGrouping options where users need explicit group headings and accessibility announcements.\n\n**Incorrect pattern**: Using the `group` prop to organize options and expecting the group names to be announced or displayed as headings.\n\n**Remediation strategy**: Implement a custom grouped-options component with explicit group `<optgroup>` or `<li role=\"group\">` elements. The `group` prop adds visual separators only and never renders or announces the group name.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- Contextual-menu toggle semantics and menu focus behavior are delegated to Canonical `ContextualMenu`; shared props enable auto-adjustment and the toggle icon.\n- Single unselected choices are native buttons and multiple choices are labeled native checkboxes. Disabled values receive the underlying control’s disabled semantics.\n- The selected single option is plain text, not a disabled or selected button, and no `aria-current`/`aria-selected` state is added locally.\n- The single-mode badge is an inline SVG with `role=\"img\"` but no accessible name; do not rely on it as the only indication of active filtering.\n- `group` produces visual borders only, with no group headings or announced relationships.\n\n### Content\n\n- Keep option labels and values distinct and stable. Arrange each visual group contiguously because separators compare only adjacent entries.\n- Internal English strings are `Select all`, `Clear`, and `${x} of ${y} selected`; SearchBox supplies its own search/clear labels.\n- `onSearch` is a notification only. The caller must replace or filter `options` in response.\n\n### Internationalization\n\n- `label`, option labels, and custom content are caller-provided and can be localized.\n- Footer action labels and selected-count grammar are hard-coded in English and expose no translation props.\n- Group identifiers are not displayed, and no locale-aware sorting or filtering is performed.\n\n### Keyboard\n\n- Native buttons, checkboxes, and the option-search form provide their normal keyboard activation; Search submits on Enter.\n- Searchable variants wire `onSearch` to both form submission and the SearchBox search action. Verify the installed Canonical event behavior and make search handling idempotent because one Search activation may reach both paths.\n- Single selection requests menu closure by programmatically clicking the toggle. Multiple selection and footer actions do not close the menu.\n- Inline mode has no owning toggle to close or refocus. Custom content owns its internal focus order and must decide when to call `closeMenu`.\n- No branch adds custom Arrow key handling; contextual-menu keyboard and focus behavior remain delegated.\n\n### Device and layout\n\n- Non-inline dropdowns have a `16rem` minimum width and auto-adjust enabled. Option lists scroll vertically after `13.5rem` maximum height.\n- Single and custom bodies use vertical padding; multiple content and its bordered footer use fixed Vanilla spacing. There are no local media queries.";
|
|
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 "`TableFilter.type`";
|
|
17
16
|
ds:summary "Selects the implementation and legal branch props.";
|
|
18
17
|
ds:propertyType "choice";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
18
|
+
ds:defaultValue "—";
|
|
19
|
+
ds:constraints "TypeScript: `\"single\" | \"multiple\" | \"custom\"`. Shared discriminator for `SingleFilterProps`, `MultipleFilterProps`, and `CustomFilterProps`. There is no fallback branch for unknown runtime values."
|
|
21
20
|
], [
|
|
22
21
|
a ds:Property;
|
|
23
22
|
ds:name "`TableFilter.label`";
|
|
24
23
|
ds:summary "Supplies non-inline toggle content.";
|
|
25
24
|
ds:propertyType "node";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
25
|
+
ds:defaultValue "—";
|
|
26
|
+
ds:constraints "TypeScript: `ReactNode`. Inline mode renders no toggle and does not display this prop."
|
|
28
27
|
], [
|
|
29
28
|
a ds:Property;
|
|
30
29
|
ds:name "`TableFilter.inline`";
|
|
31
30
|
ds:summary "Returns the branch body without `ContextualMenu`.";
|
|
32
31
|
ds:propertyType "boolean";
|
|
33
|
-
ds:constraints "TypeScript: `boolean`. Inline mode has no toggle or menu-open search reset. Custom content still receives a close function, but it cannot find a root toggle and therefore no-ops.";
|
|
34
32
|
ds:defaultValue "false";
|
|
33
|
+
ds:constraints "TypeScript: `boolean`. Inline mode has no toggle or menu-open search reset. Custom content still receives a close function, but it cannot find a root toggle and therefore no-ops.";
|
|
35
34
|
ds:optional "true"
|
|
36
35
|
], [
|
|
37
36
|
a ds:Property;
|
|
38
37
|
ds:name "`TableFilter.hasBadge`";
|
|
39
38
|
ds:summary "Enables branch-specific active indicators.";
|
|
40
39
|
ds:propertyType "boolean";
|
|
41
|
-
ds:constraints "TypeScript: `boolean`. Single shows an unlabeled dot only for truthy `selectedItem`; multiple shows a numeric badge only when selections exist; custom ignores it.";
|
|
42
40
|
ds:defaultValue "—";
|
|
41
|
+
ds:constraints "TypeScript: `boolean`. Single shows an unlabeled dot only for truthy `selectedItem`; multiple shows a numeric badge only when selections exist; custom ignores it.";
|
|
43
42
|
ds:optional "true"
|
|
44
43
|
], [
|
|
45
44
|
a ds:Property;
|
|
46
45
|
ds:name "`TableFilter.hasToggleIcon`";
|
|
47
46
|
ds:summary "Exists in `BaseFilterProps`.";
|
|
48
47
|
ds:propertyType "boolean";
|
|
49
|
-
ds:constraints "TypeScript: `boolean`. No branch reads it. Every non-inline menu gets `hasToggleIcon: true` from the shared helper, so a consumer value is ignored.";
|
|
50
48
|
ds:defaultValue "—";
|
|
49
|
+
ds:constraints "TypeScript: `boolean`. No branch reads it. Every non-inline menu gets `hasToggleIcon: true` from the shared helper, so a consumer value is ignored.";
|
|
51
50
|
ds:optional "true"
|
|
52
51
|
], [
|
|
53
52
|
a ds:Property;
|
|
54
53
|
ds:name "`TableFilter.position`";
|
|
55
54
|
ds:summary "Requests menu alignment.";
|
|
56
55
|
ds:propertyType "text";
|
|
57
|
-
ds:constraints "TypeScript: Canonical `Position`. Only multiple mode reads it. Single and custom always receive the shared `\"left\"` position. The imported dependency type is not a repository-owned finite literal union, so no immutable option list is asserted here.";
|
|
58
56
|
ds:defaultValue "`left`";
|
|
57
|
+
ds:constraints "TypeScript: Canonical `Position`. Only multiple mode reads it. Single and custom always receive the shared `\"left\"` position. The imported dependency type is not a repository-owned finite literal union, so no immutable option list is asserted here.";
|
|
59
58
|
ds:optional "true"
|
|
60
59
|
], [
|
|
61
60
|
a ds:Property;
|
|
62
61
|
ds:name "`TableFilter.single/multiple.options`";
|
|
63
62
|
ds:summary "Supplies choices in render order.";
|
|
64
63
|
ds:propertyType "list of objects";
|
|
65
|
-
ds:
|
|
66
|
-
ds:
|
|
64
|
+
ds:defaultValue "—";
|
|
65
|
+
ds:constraints "TypeScript: `readonly GroupedOption[]`, where `GroupedOption` extends `{ label: string; value: string; disabled?: boolean }` with `group?: string`. Required for single/multiple and excluded from custom. Values are React keys and selection identifiers and should be unique. `option.disabled` is not read."
|
|
67
66
|
], [
|
|
68
67
|
a ds:Property;
|
|
69
68
|
ds:name "`TableFilter.single/multiple.options[].label`";
|
|
70
69
|
ds:summary "Supplies visible option content.";
|
|
71
70
|
ds:propertyType "text";
|
|
72
|
-
ds:
|
|
73
|
-
ds:
|
|
71
|
+
ds:defaultValue "—";
|
|
72
|
+
ds:constraints "TypeScript: `string`."
|
|
74
73
|
], [
|
|
75
74
|
a ds:Property;
|
|
76
75
|
ds:name "`TableFilter.single/multiple.options[].value`";
|
|
77
76
|
ds:summary "Supplies the selection identifier and React key.";
|
|
78
77
|
ds:propertyType "text";
|
|
79
|
-
ds:
|
|
80
|
-
ds:
|
|
78
|
+
ds:defaultValue "—";
|
|
79
|
+
ds:constraints "TypeScript: `string`. Values should be unique."
|
|
81
80
|
], [
|
|
82
81
|
a ds:Property;
|
|
83
82
|
ds:name "`TableFilter.single/multiple.options[].disabled`";
|
|
84
83
|
ds:summary "Exists on the inherited option contract.";
|
|
85
84
|
ds:propertyType "boolean";
|
|
86
|
-
ds:constraints "TypeScript: `boolean`. This field is not read from `options`; use `disabledOptions` to disable choices.";
|
|
87
85
|
ds:defaultValue "—";
|
|
86
|
+
ds:constraints "TypeScript: `boolean`. This field is not read from `options`; use `disabledOptions` to disable choices.";
|
|
88
87
|
ds:optional "true"
|
|
89
88
|
], [
|
|
90
89
|
a ds:Property;
|
|
91
90
|
ds:name "`TableFilter.single/multiple.options[].group`";
|
|
92
91
|
ds:summary "Marks visual group boundaries.";
|
|
93
92
|
ds:propertyType "text";
|
|
94
|
-
ds:constraints "TypeScript: `string`. The string is never displayed. A separator appears only when the current option has a truthy group, a next option exists, and the next group differs.";
|
|
95
93
|
ds:defaultValue "—";
|
|
94
|
+
ds:constraints "TypeScript: `string`. The string is never displayed. A separator appears only when the current option has a truthy group, a next option exists, and the next group differs.";
|
|
96
95
|
ds:optional "true"
|
|
97
96
|
], [
|
|
98
97
|
a ds:Property;
|
|
99
98
|
ds:name "`TableFilter.single/multiple.disabledOptions`";
|
|
100
99
|
ds:summary "Disables choices by matching `value`.";
|
|
101
100
|
ds:propertyType "list of objects";
|
|
102
|
-
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. The separate list controls disabled state; labels and `disabled` fields are ignored for matching. Select all still emits every option value, including disabled ones.";
|
|
103
101
|
ds:defaultValue "—";
|
|
102
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. The separate list controls disabled state; labels and `disabled` fields are ignored for matching. Select all still emits every option value, including disabled ones.";
|
|
104
103
|
ds:optional "true"
|
|
105
104
|
], [
|
|
106
105
|
a ds:Property;
|
|
107
106
|
ds:name "`TableFilter.single/multiple.disabledOptions[].label`";
|
|
108
107
|
ds:summary "Supplies an unused label required by the option contract.";
|
|
109
108
|
ds:propertyType "text";
|
|
110
|
-
ds:
|
|
111
|
-
ds:
|
|
109
|
+
ds:defaultValue "—";
|
|
110
|
+
ds:constraints "TypeScript: `string`. Ignored when matching disabled values."
|
|
112
111
|
], [
|
|
113
112
|
a ds:Property;
|
|
114
113
|
ds:name "`TableFilter.single/multiple.disabledOptions[].value`";
|
|
115
114
|
ds:summary "Supplies the value matched to disable a choice.";
|
|
116
115
|
ds:propertyType "text";
|
|
117
|
-
ds:
|
|
118
|
-
ds:
|
|
116
|
+
ds:defaultValue "—";
|
|
117
|
+
ds:constraints "TypeScript: `string`."
|
|
119
118
|
], [
|
|
120
119
|
a ds:Property;
|
|
121
120
|
ds:name "`TableFilter.single/multiple.disabledOptions[].disabled`";
|
|
122
121
|
ds:summary "Exists on the inherited option contract.";
|
|
123
122
|
ds:propertyType "boolean";
|
|
124
|
-
ds:constraints "TypeScript: `boolean`. Ignored when matching disabled values.";
|
|
125
123
|
ds:defaultValue "—";
|
|
124
|
+
ds:constraints "TypeScript: `boolean`. Ignored when matching disabled values.";
|
|
126
125
|
ds:optional "true"
|
|
127
126
|
], [
|
|
128
127
|
a ds:Property;
|
|
129
128
|
ds:name "`TableFilter.single/multiple.onSearch`";
|
|
130
129
|
ds:summary "Enables a local-state option-search form and receives its raw text.";
|
|
131
130
|
ds:propertyType "callback";
|
|
132
|
-
ds:
|
|
133
|
-
ds:
|
|
131
|
+
ds:defaultValue "—";
|
|
132
|
+
ds:constraints "TypeScript: `(search: string) => void`. Opening a non-inline menu calls `onSearch(\"\")`; Search submits untrimmed text; Clear sets local input empty and calls `onSearch(\"\")`. The search form and `SearchBox.onSearch` both invoke it, so one Canonical search action can dispatch the same query twice. The component does not filter `options`."
|
|
134
133
|
], [
|
|
135
134
|
a ds:Property;
|
|
136
135
|
ds:name "`TableFilter.single.selectedItem`";
|
|
137
136
|
ds:summary "Controlled selected value.";
|
|
138
137
|
ds:propertyType "text";
|
|
139
|
-
ds:
|
|
140
|
-
ds:
|
|
138
|
+
ds:defaultValue "—";
|
|
139
|
+
ds:constraints "TypeScript: `string`. A matching option renders as non-interactive selected text instead of a button. The component stores no selection."
|
|
141
140
|
], [
|
|
142
141
|
a ds:Property;
|
|
143
142
|
ds:name "`TableFilter.single.onItemSelect`";
|
|
144
143
|
ds:summary "Reports a clicked unselected value, then programmatically closes the contextual menu.";
|
|
145
144
|
ds:propertyType "callback";
|
|
146
|
-
ds:
|
|
147
|
-
ds:
|
|
145
|
+
ds:defaultValue "—";
|
|
146
|
+
ds:constraints "TypeScript: `(item: string) => void`. In inline mode no toggle exists, so the optional close helper has no effect."
|
|
148
147
|
], [
|
|
149
148
|
a ds:Property;
|
|
150
149
|
ds:name "`TableFilter.single.showSelectionOnToggleLabel`";
|
|
151
150
|
ds:summary "Uses the matched selected option label as toggle content.";
|
|
152
151
|
ds:propertyType "boolean";
|
|
153
|
-
ds:constraints "TypeScript: `boolean`. Falls back to `label` when no option matches.";
|
|
154
152
|
ds:defaultValue "false";
|
|
153
|
+
ds:constraints "TypeScript: `boolean`. Falls back to `label` when no option matches.";
|
|
155
154
|
ds:optional "true"
|
|
156
155
|
], [
|
|
157
156
|
a ds:Property;
|
|
158
157
|
ds:name "`TableFilter.multiple.selectedItems`";
|
|
159
158
|
ds:summary "Controlled selected-value array.";
|
|
160
159
|
ds:propertyType "list of text";
|
|
161
|
-
ds:
|
|
162
|
-
ds:
|
|
160
|
+
ds:defaultValue "—";
|
|
161
|
+
ds:constraints "TypeScript: `string[]`. Checkbox state uses `includes`; the component stores no selection and does not deduplicate values."
|
|
163
162
|
], [
|
|
164
163
|
a ds:Property;
|
|
165
164
|
ds:name "`TableFilter.multiple.onItemsSelect`";
|
|
166
165
|
ds:summary "Reports the complete next array after checkbox or footer actions.";
|
|
167
166
|
ds:propertyType "callback";
|
|
168
|
-
ds:
|
|
169
|
-
ds:
|
|
167
|
+
ds:defaultValue "—";
|
|
168
|
+
ds:constraints "TypeScript: `(items: string[]) => void`. Checking appends the value; unchecking removes all equal values; Select all emits every option value; Clear emits `[]`."
|
|
170
169
|
], [
|
|
171
170
|
a ds:Property;
|
|
172
171
|
ds:name "`TableFilter.multiple.showSelectedItemCount`";
|
|
173
172
|
ds:summary "Replaces Clear with selected-count text.";
|
|
174
173
|
ds:propertyType "boolean";
|
|
175
|
-
ds:constraints "TypeScript: `boolean`. The text is `${selectedItems.length} of ${options.length} selected`; it is plain muted text and includes values absent from `options`.";
|
|
176
174
|
ds:defaultValue "false";
|
|
175
|
+
ds:constraints "TypeScript: `boolean`. The text is `${selectedItems.length} of ${options.length} selected`; it is plain muted text and includes values absent from `options`.";
|
|
177
176
|
ds:optional "true"
|
|
178
177
|
], [
|
|
179
178
|
a ds:Property;
|
|
180
179
|
ds:name "`TableFilter.multiple.hideSelectAllButton`";
|
|
181
180
|
ds:summary "Omits Select all and reverses footer direction.";
|
|
182
181
|
ds:propertyType "boolean";
|
|
183
|
-
ds:constraints "TypeScript: `boolean`. Clear or selected-count content still renders.";
|
|
184
182
|
ds:defaultValue "—";
|
|
183
|
+
ds:constraints "TypeScript: `boolean`. Clear or selected-count content still renders.";
|
|
185
184
|
ds:optional "true"
|
|
186
185
|
], [
|
|
187
186
|
a ds:Property;
|
|
188
187
|
ds:name "`TableFilter.custom.customComponent`";
|
|
189
188
|
ds:summary "Supplies custom body content.";
|
|
190
189
|
ds:propertyType "node";
|
|
191
|
-
ds:
|
|
192
|
-
ds:
|
|
190
|
+
ds:defaultValue "—";
|
|
191
|
+
ds:constraints "TypeScript: `FC<CustomFilterComponentProps>`, where `CustomFilterComponentProps` is `{ closeMenu?: () => void }`. `closeMenu` simulates a click on the root contextual-menu toggle and should run only after a completed action. In inline mode it is present but no-ops because no toggle is mounted."
|
|
193
192
|
], [
|
|
194
193
|
a ds:Property;
|
|
195
194
|
ds:name "`TableFilter.custom.customComponent.closeMenu`";
|
|
196
195
|
ds:summary "Lets custom content request contextual-menu closure.";
|
|
197
196
|
ds:propertyType "callback";
|
|
198
|
-
ds:constraints "TypeScript: `() => void`. It is supplied by TableFilter in menu and inline renderings; in inline mode it cannot find a root toggle and no-ops.";
|
|
199
197
|
ds:defaultValue "—";
|
|
198
|
+
ds:constraints "TypeScript: `() => void`. It is supplied by TableFilter in menu and inline renderings; in inline mode it cannot find a root toggle and no-ops.";
|
|
200
199
|
ds:optional "true"
|
|
201
|
-
]
|
|
200
|
+
];
|
|
201
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -10,165 +10,165 @@ ds:apps_landscape.pattern.table_filter_chips a ds:Pattern;
|
|
|
10
10
|
ds:usage "### When to use\n\n- Place after controls and near the result set whose active URL parameters it summarizes.\n- Restrict `filtersToDisplay` to filters available in the current surface.\n- Provide option maps when stored values need human-readable labels. For `availabilityZones`, the prop must be defined even when raw-value fallback is desired; an empty array enables fallback.\n- Use the base export for local/side-panel state only when descriptor callbacks fully own removal and clearing.\n\n### When not to use\n\n**Unsupported filter parameters or generic tag collections**\n\nFiltering by custom, app-specific, or unsupported page parameters outside the fixed vocabulary.\n\n**Incorrect pattern**: Rendering TableFilterChips with unlisted filter keys or treating it as a general-purpose tag display component.\n\n**Remediation strategy**: Implement a custom filter-chip display component for non-standard parameters, or restrict `filtersToDisplay` to the supported set: `query`, `status`, `os`, `upgrades`, `availabilityZones`, `accessGroups`, `tags`, `fromDate`, `toDate`, `passRateFrom`, `passRateTo`, `type`, `wsl`, `contractExpiryDays`.\n\n**Omitted multi-value option arrays**\n\nMulti-value filters whose option maps are not supplied.\n\n**Incorrect pattern**: Omitting `accessGroupOptions`, `tagOptions`, `upgradesOptions`, or `wslOptions` expecting raw fallback values to render as chips.\n\n**Remediation strategy**: Supply option maps for multi-value filters, or omit the filter key from `filtersToDisplay`. Empty option arrays enable raw-value fallback; omitted arrays suppress the filter entirely.\n\n**Unstable or non-unique label-value pairs**\n\nUsing dynamic or non-unique label/item combinations as React keys.\n\n**Incorrect pattern**: Deriving option labels from dynamic content or using non-unique values in the internal chips array.\n\n**Remediation strategy**: Ensure every label and item combination is stable across renders and unique within the filter descriptor set. Flattened chips use the “{label}: {item}” pair as their React key.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- Chip visible values contain label and item, but Canonical’s dismiss control is exposed as “Dismiss” in tests; verify repeated dismiss buttons provide sufficient accessible context in the target dependency version.\n- Clear-all, `+N`, and “Show less” are native-button-based controls. `+N` has no expanded-state attribute or explicit description.\n- The chip region has no landmark, list semantics, status role, or live announcement after removal.\n\n### Content\n\n- Fixed labels include “Availability z.” and two separate “To” labels. Confirm these are understandable in each filter set.\n- Do not expose internal codes; supply option maps according to the scalar/multi-value behavior above.\n- All component-owned labels and quoted query formatting are hardcoded English.\n\n### Internationalization / globalization\n\n- No message, label, list formatter, date formatter, number formatter, or plural rules are configurable.\n- Pass rates use `${number}%`; dates and option labels are rendered as supplied.\n- Overflow count is `+N` with an unformatted number. Long translations can alter wrapping and therefore hidden count.\n\n### Device\n\n- Multiple chips flex-wrap; collapsed state clips to `$sp-x-large` height. Measurement counts only `.p-chip` elements below the first chip’s row, not clear-all or show-less controls.\n- Recalculation runs after flattened-filter changes and on `window.resize`, not via `ResizeObserver`. Container-only width changes may leave stale overflow state.\n- If no chips wrap, calculation forces collapsed state and sets hidden count to zero.\n\n### Keyboard\n\n- Use inherited button/chip keyboard behavior. Source adds no custom key handling or focus management.\n- When dismissing a chip or clearing all removes the focused control, the component does not choose the next focus target.\n- Expanding inserts “Show less” after the chips; collapsing removes it without explicit focus return.";
|
|
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 "`TableFilterChips.filtersToDisplay`";
|
|
17
16
|
ds:summary "Selects supported parameters eligible for chips.";
|
|
18
17
|
ds:propertyType "choice";
|
|
19
18
|
ds:optional "true";
|
|
20
|
-
ds:
|
|
21
|
-
ds:
|
|
19
|
+
ds:defaultValue "`accessGroups`, `availabilityZones`, `os`, `fromDate`, `status`, `tags`, `toDate`, `type`";
|
|
20
|
+
ds:constraints "TypeScript: `FilterKey[]`, where `FilterKey` is `keyof FilterType`. Output follows implementation order, not array order. `TableFilterChipsProps` and `FilterKey` are not exported from the public barrel; consumers of `FilterKey` currently deep-import the internal types module. `query` is split on commas, nonempty segments display in single quotes, and removal deletes the first exact segment."
|
|
22
21
|
], [
|
|
23
22
|
a ds:Property;
|
|
24
23
|
ds:name "`TableFilterChips.onChange`";
|
|
25
24
|
ds:summary "Runs after each remove/clear update is requested.";
|
|
26
25
|
ds:propertyType "callback";
|
|
27
26
|
ds:optional "true";
|
|
28
|
-
ds:
|
|
29
|
-
ds:
|
|
27
|
+
ds:defaultValue "—";
|
|
28
|
+
ds:constraints "TypeScript: `() => void`. Receives no value and may run before consumers observe updated URL state."
|
|
30
29
|
], [
|
|
31
30
|
a ds:Property;
|
|
32
31
|
ds:name "`TableFilterChips.accessGroupOptions`";
|
|
33
32
|
ds:summary "Maps access-group values.";
|
|
34
33
|
ds:propertyType "list of objects";
|
|
35
34
|
ds:optional "true";
|
|
36
|
-
ds:
|
|
37
|
-
ds:
|
|
35
|
+
ds:defaultValue "—";
|
|
36
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Because this is multi-value, omission produces no access-group chips."
|
|
38
37
|
], [
|
|
39
38
|
a ds:Property;
|
|
40
39
|
ds:name "`TableFilterChips.availabilityZonesOptions`";
|
|
41
40
|
ds:summary "Enables and maps availability-zone values.";
|
|
42
41
|
ds:propertyType "list of objects";
|
|
43
42
|
ds:optional "true";
|
|
44
|
-
ds:
|
|
45
|
-
ds:
|
|
43
|
+
ds:defaultValue "—";
|
|
44
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. The entire descriptor is omitted when undefined; an empty array enables raw fallback."
|
|
46
45
|
], [
|
|
47
46
|
a ds:Property;
|
|
48
47
|
ds:name "`TableFilterChips.contractExpiryOptions`";
|
|
49
48
|
ds:summary "Maps the scalar contract-expiry value.";
|
|
50
49
|
ds:propertyType "list of objects";
|
|
51
50
|
ds:optional "true";
|
|
52
|
-
ds:
|
|
53
|
-
ds:
|
|
51
|
+
ds:defaultValue "—";
|
|
52
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value."
|
|
54
53
|
], [
|
|
55
54
|
a ds:Property;
|
|
56
55
|
ds:name "`TableFilterChips.osOptions`";
|
|
57
56
|
ds:summary "Maps the scalar OS value.";
|
|
58
57
|
ds:propertyType "list of objects";
|
|
59
58
|
ds:optional "true";
|
|
60
|
-
ds:
|
|
61
|
-
ds:
|
|
59
|
+
ds:defaultValue "—";
|
|
60
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value."
|
|
62
61
|
], [
|
|
63
62
|
a ds:Property;
|
|
64
63
|
ds:name "`TableFilterChips.statusOptions`";
|
|
65
64
|
ds:summary "Maps the scalar status value.";
|
|
66
65
|
ds:propertyType "list of objects";
|
|
67
66
|
ds:optional "true";
|
|
68
|
-
ds:
|
|
69
|
-
ds:
|
|
67
|
+
ds:defaultValue "—";
|
|
68
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value."
|
|
70
69
|
], [
|
|
71
70
|
a ds:Property;
|
|
72
71
|
ds:name "`TableFilterChips.typeOptions`";
|
|
73
72
|
ds:summary "Maps the scalar type value.";
|
|
74
73
|
ds:propertyType "list of objects";
|
|
75
74
|
ds:optional "true";
|
|
76
|
-
ds:
|
|
77
|
-
ds:
|
|
75
|
+
ds:defaultValue "—";
|
|
76
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value."
|
|
78
77
|
], [
|
|
79
78
|
a ds:Property;
|
|
80
79
|
ds:name "`TableFilterChips.tagOptions`";
|
|
81
80
|
ds:summary "Maps multi-value tags.";
|
|
82
81
|
ds:propertyType "list of objects";
|
|
83
82
|
ds:optional "true";
|
|
84
|
-
ds:
|
|
85
|
-
ds:
|
|
83
|
+
ds:defaultValue "—";
|
|
84
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Omission produces no tag chips; unknown values fall back only when an array is supplied."
|
|
86
85
|
], [
|
|
87
86
|
a ds:Property;
|
|
88
87
|
ds:name "`TableFilterChips.upgradesOptions`";
|
|
89
88
|
ds:summary "Maps multi-value upgrades.";
|
|
90
89
|
ds:propertyType "list of objects";
|
|
91
90
|
ds:optional "true";
|
|
92
|
-
ds:
|
|
93
|
-
ds:
|
|
91
|
+
ds:defaultValue "—";
|
|
92
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Omission produces no upgrade chips; unknown values fall back only when an array is supplied."
|
|
94
93
|
], [
|
|
95
94
|
a ds:Property;
|
|
96
95
|
ds:name "`TableFilterChips.wslOptions`";
|
|
97
96
|
ds:summary "Maps multi-value WSL values.";
|
|
98
97
|
ds:propertyType "list of objects";
|
|
99
98
|
ds:optional "true";
|
|
100
|
-
ds:
|
|
101
|
-
ds:
|
|
99
|
+
ds:defaultValue "—";
|
|
100
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Omission produces no WSL chips; unknown values fall back only when an array is supplied."
|
|
102
101
|
], [
|
|
103
102
|
a ds:Property;
|
|
104
103
|
ds:name "`SidePanelTableFilterChips.filters`";
|
|
105
104
|
ds:summary "Supplies ordered descriptors flattened into chips.";
|
|
106
105
|
ds:propertyType "list of objects";
|
|
107
|
-
ds:
|
|
108
|
-
ds:
|
|
106
|
+
ds:defaultValue "—";
|
|
107
|
+
ds:constraints "TypeScript: `(SingleFilter | MultiFilter)[]`, where `SingleFilter` is `{ label: string; clear: () => void; item: string | undefined; multiple?: false }` and `MultiFilter` is `{ label: string; clear: () => void; multiple: true; remove: (value: string) => void; items: { label: string; value: string }[] }`. Falsy single `item` values are filtered out. The barrel aliases `TableFilterChipsBase` to `SidePanelTableFilterChips`; descriptor and prop interfaces are local."
|
|
109
108
|
], [
|
|
110
109
|
a ds:Property;
|
|
111
110
|
ds:name "`SidePanelTableFilterChips.filters[].label`";
|
|
112
111
|
ds:summary "Labels every chip produced by the descriptor.";
|
|
113
112
|
ds:propertyType "text";
|
|
114
|
-
ds:
|
|
115
|
-
ds:
|
|
113
|
+
ds:defaultValue "—";
|
|
114
|
+
ds:constraints "TypeScript: `string`. Shared by `SingleFilter` and `MultiFilter`; flattened chip text is `${label}: ${item}`."
|
|
116
115
|
], [
|
|
117
116
|
a ds:Property;
|
|
118
117
|
ds:name "`SidePanelTableFilterChips.filters[].clear`";
|
|
119
118
|
ds:summary "Clears the complete source descriptor.";
|
|
120
119
|
ds:propertyType "callback";
|
|
121
|
-
ds:
|
|
122
|
-
ds:
|
|
120
|
+
ds:defaultValue "—";
|
|
121
|
+
ds:constraints "TypeScript: `() => void`. Shared by `SingleFilter` and `MultiFilter`; the default aggregate clear invokes it once per original descriptor."
|
|
123
122
|
], [
|
|
124
123
|
a ds:Property;
|
|
125
124
|
ds:name "`SidePanelTableFilterChips.filters[].multiple`";
|
|
126
125
|
ds:summary "Selects the single- or multi-value descriptor contract.";
|
|
127
126
|
ds:propertyType "boolean";
|
|
128
127
|
ds:optional "true";
|
|
129
|
-
ds:
|
|
130
|
-
ds:
|
|
128
|
+
ds:defaultValue "—";
|
|
129
|
+
ds:constraints "TypeScript: `false | true`; optional and restricted to `false` for `SingleFilter`, required as `true` for `MultiFilter`. A falsy or omitted value selects the single descriptor path."
|
|
131
130
|
], [
|
|
132
131
|
a ds:Property;
|
|
133
132
|
ds:name "`SidePanelTableFilterChips.filters[].item`";
|
|
134
133
|
ds:summary "Supplies one active value for a single descriptor.";
|
|
135
134
|
ds:propertyType "text";
|
|
136
|
-
ds:
|
|
137
|
-
ds:
|
|
135
|
+
ds:defaultValue "—";
|
|
136
|
+
ds:constraints "TypeScript: `string | undefined`. Present only on `SingleFilter`; falsy values are removed before rendering. Dates supplied by the URL adapter display as raw strings."
|
|
138
137
|
], [
|
|
139
138
|
a ds:Property;
|
|
140
139
|
ds:name "`SidePanelTableFilterChips.filters[].items`";
|
|
141
140
|
ds:summary "Supplies active values for a multi descriptor.";
|
|
142
141
|
ds:propertyType "list of objects";
|
|
143
|
-
ds:
|
|
144
|
-
ds:
|
|
142
|
+
ds:defaultValue "—";
|
|
143
|
+
ds:constraints "TypeScript: `{ label: string; value: string }[]`. Present only on `MultiFilter`; each entry becomes one chip."
|
|
145
144
|
], [
|
|
146
145
|
a ds:Property;
|
|
147
146
|
ds:name "`SidePanelTableFilterChips.filters[].items[].label`";
|
|
148
147
|
ds:summary "Supplies a multi-value chip's displayed item text.";
|
|
149
148
|
ds:propertyType "text";
|
|
150
|
-
ds:
|
|
151
|
-
ds:
|
|
149
|
+
ds:defaultValue "—";
|
|
150
|
+
ds:constraints "TypeScript: `string`."
|
|
152
151
|
], [
|
|
153
152
|
a ds:Property;
|
|
154
153
|
ds:name "`SidePanelTableFilterChips.filters[].items[].value`";
|
|
155
154
|
ds:summary "Supplies the value passed to the descriptor remover.";
|
|
156
155
|
ds:propertyType "text";
|
|
157
|
-
ds:
|
|
158
|
-
ds:
|
|
156
|
+
ds:defaultValue "—";
|
|
157
|
+
ds:constraints "TypeScript: `string`."
|
|
159
158
|
], [
|
|
160
159
|
a ds:Property;
|
|
161
160
|
ds:name "`SidePanelTableFilterChips.filters[].remove`";
|
|
162
161
|
ds:summary "Removes one value from a multi descriptor.";
|
|
163
162
|
ds:propertyType "callback";
|
|
164
|
-
ds:
|
|
165
|
-
ds:
|
|
163
|
+
ds:defaultValue "—";
|
|
164
|
+
ds:constraints "TypeScript: `(value: string) => void`. Present only on `MultiFilter`."
|
|
166
165
|
], [
|
|
167
166
|
a ds:Property;
|
|
168
167
|
ds:name "`SidePanelTableFilterChips.clearAll`";
|
|
169
168
|
ds:summary "Clears all original filter descriptors.";
|
|
170
169
|
ds:propertyType "callback";
|
|
171
170
|
ds:optional "true";
|
|
172
|
-
ds:
|
|
173
|
-
ds:
|
|
174
|
-
]
|
|
171
|
+
ds:defaultValue "Loop over `filters` once and call each descriptor's `clear`";
|
|
172
|
+
ds:constraints "TypeScript: `() => void`. The default invokes every original descriptor's `clear` once, not each flattened item's remover. Pass-rate defaults (`0` from and `100` to) produce no URL-adapter chips."
|
|
173
|
+
];
|
|
174
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|