@canonical/design-system 0.47.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 +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 +221 -45
- 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_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 +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_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_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/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/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/dark.ttl +1 -1
- package/data/global/modifier/deprecated.ttl +8 -0
- package/data/global/modifier/deutan.ttl +8 -0
- package/data/global/modifier/elevated.ttl +1 -1
- package/data/global/modifier/end_of_life.ttl +8 -0
- package/data/global/modifier/less.ttl +8 -0
- package/data/global/modifier/light.ttl +1 -1
- package/data/global/modifier/lts.ttl +8 -0
- package/data/global/modifier/modal.ttl +1 -1
- package/data/global/modifier/more.ttl +8 -0
- 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/{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 +0 -1
- 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 +197 -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/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_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 +1 -1
- package/data/global_dataviews/group/query_chips.ttl +1 -2
- 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/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/package.json +6 -6
- package/data/apps/subcomponent/side_panel-content.ttl +0 -14
- 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,27 +10,27 @@ ds:apps_landscape.subcomponent.pluralized_bold_count a ds:Subcomponent;
|
|
|
10
10
|
ds:usage "### When to use\n\n**Quantified confirmation copy**\n\nUse inside a sentence when the reader must notice how many items an action covers, such as a removal or upgrade confirmation.\n\n**Inline selection summaries**\n\nUse to report a current selection or result count without breaking the surrounding sentence into a separate label.\n\n### When not to use\n\n**Standalone metric display**\n\nA metric that stands on its own rather than inside a sentence.\n\n**Incorrect pattern**: Placing this subcomponent alone in a card or statistic tile so the bold count carries meaning that only the missing sentence provides.\n\n**Remediation strategy**: Use a labelled statistic or information-grid element that pairs the value with its own visible label.\n\n**Approximate or truncated counts**\n\nA count that represents a capped or estimated total rather than an exact one.\n\n**Incorrect pattern**: Passing a clamped value such as `Math.min(total, 100)` so the sentence states an exact number that the data does not support.\n\n**Remediation strategy**: Call the `pluralize` helper from `@/utils/_helpers` with the `limited` count type, which renders the `100+` form, and apply emphasis in the surrounding copy.\n\n**Irregular or non-English plurals**\n\nA noun whose plural is not formed by appending `s`, or copy that must be translated.\n\n**Incorrect pattern**: Relying on the default plural for a noun such as `policy` or `person`, which yields `policys` and `persons`.\n\n**Remediation strategy**: Pass the correct form explicitly through `plural`, and move the whole sentence into a translation layer when locale-specific plural categories are required.\n\n**Zero-count empty states**\n\nA surface where the absence of items should change the message rather than the number in it.\n\n**Incorrect pattern**: Rendering `0 instances` inside otherwise unchanged action copy when no work can be performed.\n\n**Remediation strategy**: Branch on the empty case in the consumer and render a dedicated empty state or disable the action.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- The count uses semantic `strong`, so it is announced as part of the sentence rather than as a separate element.\n- The subcomponent adds no role, label, or live region. Wrap it in the consumer’s own live region when the count updates in response to user action.\n- Keep the sentence readable without the emphasis, because bold weight alone conveys no status or selection state.\n\n### Content\n\n- Write the surrounding sentence so the emphasized number reads naturally in place, for example `You are about to remove 12 instances.`\n- Pass the bare noun without an article or trailing punctuation; the subcomponent renders exactly one space between the count and the noun.\n- Do not pre-format `count` as a string. Number formatting is applied internally and a pre-formatted value would break plural selection.\n\n### Internationalization\n\n- `toLocaleString()` is called without arguments, so grouping separators follow the runtime locale rather than an application-controlled one.\n- Plural selection is a binary `count === 1` check and does not implement locale plural categories such as zero, one, two, few, many, and other.\n- Both nouns are consumer-supplied. The subcomponent contains no translatable copy of its own.\n\n### Keyboard and device\n\n- This subcomponent renders inline text with no focus target and no keyboard interaction.\n- It applies no layout styles. Wrapping and truncation are the responsibility of the surrounding text container.";
|
|
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 "`count`";
|
|
17
16
|
ds:summary "Supplies the bold quantity and selects the noun form.";
|
|
18
17
|
ds:propertyType "number";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
18
|
+
ds:defaultValue "—";
|
|
19
|
+
ds:constraints "TypeScript: `number`. Formatted with `toLocaleString()`; singular is selected only when the value is exactly `1`."
|
|
21
20
|
], [
|
|
22
21
|
a ds:Property;
|
|
23
22
|
ds:name "`singular`";
|
|
24
23
|
ds:summary "Supplies the noun used when `count` is exactly `1`.";
|
|
25
24
|
ds:propertyType "text";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
25
|
+
ds:defaultValue "—";
|
|
26
|
+
ds:constraints "TypeScript: `string`. Also seeds the default plural form."
|
|
28
27
|
], [
|
|
29
28
|
a ds:Property;
|
|
30
29
|
ds:name "`plural`";
|
|
31
30
|
ds:summary "Supplies the noun used for every other count.";
|
|
32
31
|
ds:propertyType "text";
|
|
33
|
-
ds:constraints "TypeScript: `string`. Supply it when the plural is not the singular plus `s`.";
|
|
34
32
|
ds:defaultValue "`${singular}s`";
|
|
33
|
+
ds:constraints "TypeScript: `string`. Supply it when the plural is not the singular plus `s`.";
|
|
35
34
|
ds:optional "true"
|
|
36
|
-
]
|
|
35
|
+
];
|
|
36
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -10,47 +10,47 @@ ds:apps_landscape.subcomponent.select_all_results_prompt a ds:Subcomponent;
|
|
|
10
10
|
ds:usage "### When to use\n\n- Render after the parent has selected a visible subset and can identify the complete active result scope.\n- Keep `count`, `totalCount`, nouns, and `onClick` aligned with the same search/filter snapshot.\n- Replace the row after activation with updated selection feedback; this component does not acknowledge completion.\n\n### When not to use\n\n**Nothing left to extend**\n\nEvery result in the active scope is already selected, or no selectable results exist.\n\n**Incorrect pattern**: Leaving the row mounted so it offers `Select all 0 instances.` or repeats an action the user has already taken.\n\n**Remediation strategy**: Unmount the row in the parent once `count` reaches `totalCount` or `totalCount` is zero; the component is always rendered and has no internal visibility rule.\n\n**Unknown or unstable total**\n\nThe full result count is still loading, estimated, or capped by the API.\n\n**Incorrect pattern**: Passing a placeholder or partial `totalCount` so the button promises a number the request will not actually select.\n\n**Remediation strategy**: Withhold the row until the exact total is resolved, and show a loading state in the meantime.\n\n**Destructive bulk action**\n\nThe follow-up action deletes, archives, or otherwise cannot be undone.\n\n**Incorrect pattern**: Wiring `onClick` straight to the destructive request so a single link click applies it to every result.\n\n**Remediation strategy**: Keep this row for selection only and route the destructive step through Typed Confirmation Modal so the user confirms the scope explicitly.\n\n**Sole indication of scope**\n\nThe user cannot otherwise tell which search or filter “all” refers to.\n\n**Incorrect pattern**: Relying on the button label alone to communicate the active filters, which it never names.\n\n**Remediation strategy**: Keep the active filters visible alongside the row, for example with Table Filter Chips.\n\n**Mismatched selection scope**\n\n`count` and `totalCount` are derived from different queries or pages.\n\n**Incorrect pattern**: Passing a selection count carried over from a previous filter while `totalCount` reflects the current one, producing a row that misstates both numbers.\n\n**Remediation strategy**: Recompute both values from the same search and filter snapshot, and clear the selection when the scope changes.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- Keep status and action adjacent so the button’s purpose is understandable in reading order.\n- Do not rely on the icon; source does not explicitly hide or label it, and it conveys no scope detail.\n- The status is not an `aria-live` region. Announce the completed selection through the parent when users need immediate confirmation.\n- Add loading/disabled behavior in the parent flow to prevent repeated asynchronous selection requests; this component exposes no such prop.\n\n### Content\n\n- Supply concrete nouns that read naturally after a number. The plural should also read correctly in “Select all N {plural}.”\n- Explain the active filter/search scope nearby when “all” could mean all records globally.\n- Visible templates, punctuation, and word order are hardcoded English.\n\n### Internationalization / globalization\n\n- The status `count` is locale-formatted through `Number.toLocaleString()`, while action `totalCount` is interpolated without locale formatting. The component does not accept preformatted values or a formatter.\n- The helper supports only supplied singular/plural forms, not locale plural categories or translated sentence order.\n- A localizable implementation needs configurable status/action messages and number formatting rather than noun props alone.\n\n### Device\n\n- Source adds no flex, wrapping, spacing, or breakpoint styles. Verify natural inline wrapping and adjacent touch targets in the host layout.\n- Long nouns and large totals can wrap independently because the icon, status span, and button are separate inline content.\n\n### Keyboard\n\n- Canonical `Button` supplies native button keyboard activation and follows the status in DOM order.\n- If activation removes this row, move or retain focus deliberately in the parent; the component has no focus management.";
|
|
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 "`count`";
|
|
17
16
|
ds:summary "Current selected count used in status copy.";
|
|
18
17
|
ds:propertyType "number";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
18
|
+
ds:defaultValue "—";
|
|
19
|
+
ds:constraints "Formatted with `toLocaleString()` by `pluralize(..., \"exact\")`; there is no runtime range validation, so callers must keep it nonnegative and below the total while shown."
|
|
21
20
|
], [
|
|
22
21
|
a ds:Property;
|
|
23
22
|
ds:name "`itemName`";
|
|
24
23
|
ds:summary "Supplies nouns used by status and action copy.";
|
|
25
24
|
ds:propertyType "object";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
25
|
+
ds:defaultValue "—";
|
|
26
|
+
ds:constraints "TypeScript: `{ plural: string; singular: string }`. Status selects the exact singular or plural; the action always uses `plural`."
|
|
28
27
|
], [
|
|
29
28
|
a ds:Property;
|
|
30
29
|
ds:name "`itemName.singular`";
|
|
31
30
|
ds:summary "Noun used when the current selected count is one.";
|
|
32
31
|
ds:propertyType "text";
|
|
33
|
-
ds:
|
|
34
|
-
ds:
|
|
32
|
+
ds:defaultValue "—";
|
|
33
|
+
ds:constraints "Used only by the status copy through exact pluralization."
|
|
35
34
|
], [
|
|
36
35
|
a ds:Property;
|
|
37
36
|
ds:name "`itemName.plural`";
|
|
38
37
|
ds:summary "Noun used for plural status and select-all copy.";
|
|
39
38
|
ds:propertyType "text";
|
|
40
|
-
ds:
|
|
41
|
-
ds:
|
|
39
|
+
ds:defaultValue "—";
|
|
40
|
+
ds:constraints "The action always uses this value regardless of `totalCount`."
|
|
42
41
|
], [
|
|
43
42
|
a ds:Property;
|
|
44
43
|
ds:name "`onClick`";
|
|
45
44
|
ds:summary "Handles the select-all button.";
|
|
46
45
|
ds:propertyType "callback";
|
|
47
|
-
ds:
|
|
48
|
-
ds:
|
|
46
|
+
ds:defaultValue "—";
|
|
47
|
+
ds:constraints "TypeScript: `() => void`. No arguments, awaiting, disabled state, error handling, or duplicate-activation prevention are provided."
|
|
49
48
|
], [
|
|
50
49
|
a ds:Property;
|
|
51
50
|
ds:name "`totalCount`";
|
|
52
51
|
ds:summary "Total interpolated directly into the action label.";
|
|
53
52
|
ds:propertyType "number";
|
|
54
|
-
ds:
|
|
55
|
-
ds:
|
|
56
|
-
]
|
|
53
|
+
ds:defaultValue "—";
|
|
54
|
+
ds:constraints "Unlike `count`, it does not pass through `toLocaleString()`. There is no equality or scope check; the component still renders when `totalCount <= count`."
|
|
55
|
+
];
|
|
56
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -28,6 +28,6 @@ ds:apps_launchpad.component.avatar a ds:Component;
|
|
|
28
28
|
ds:summary "The size of the avatar.";
|
|
29
29
|
ds:propertyType "choice";
|
|
30
30
|
ds:optional "true";
|
|
31
|
-
ds:
|
|
32
|
-
ds:
|
|
31
|
+
ds:defaultValue "medium";
|
|
32
|
+
ds:constraints "small, medium, large"
|
|
33
33
|
].
|
|
@@ -22,6 +22,6 @@ ds:apps_launchpad.component.badge a ds:Component;
|
|
|
22
22
|
ds:summary "The variant of the badge.";
|
|
23
23
|
ds:propertyType "choice";
|
|
24
24
|
ds:optional "true";
|
|
25
|
-
ds:
|
|
26
|
-
ds:
|
|
25
|
+
ds:defaultValue "neutral";
|
|
26
|
+
ds:constraints "neutral, info, success, warning, danger"
|
|
27
27
|
].
|
|
@@ -22,8 +22,8 @@ ds:apps_launchpad.component.button a ds:Component;
|
|
|
22
22
|
ds:summary "The variant of the button.";
|
|
23
23
|
ds:propertyType "choice";
|
|
24
24
|
ds:optional "true";
|
|
25
|
-
ds:
|
|
26
|
-
ds:
|
|
25
|
+
ds:defaultValue "secondary";
|
|
26
|
+
ds:constraints "primary, secondary, tertiary, danger"
|
|
27
27
|
], [
|
|
28
28
|
a ds:Property;
|
|
29
29
|
ds:name "disabled";
|
|
@@ -34,8 +34,8 @@ ds:apps_launchpad.component.combobox a ds:Component;
|
|
|
34
34
|
ds:summary "Combobox type.";
|
|
35
35
|
ds:propertyType "choice";
|
|
36
36
|
ds:optional "false";
|
|
37
|
-
ds:
|
|
38
|
-
ds:
|
|
37
|
+
ds:defaultValue "multi-select";
|
|
38
|
+
ds:constraints "multi-select, single-select"
|
|
39
39
|
], [
|
|
40
40
|
a ds:Property;
|
|
41
41
|
ds:name "aria-busy";
|
|
@@ -6,7 +6,7 @@ ds:apps_launchpad.component.description_list a ds:Component;
|
|
|
6
6
|
ds:name "DescriptionList";
|
|
7
7
|
ds:summary "The **DescriptionList** component is used to display a list of key-value pairs.\n\n**Main Use Cases:**\n\n- **Metadata:** Display metadata about an object.\n- **Definitions:** Provide definitions for a list of terms.";
|
|
8
8
|
ds:anatomyDsl "---\nnode:\n uri: app-launchpad.component.description-list\n styles:\n layout.display: grid\n spacing.row-gap: spacing/block/extra-small\n spacing.column-gap: spacing/inline/extra-small\n edges:\n - node:\n uri: app-launchpad.subcomponent.description-list.item\n relation:\n cardinality: \"0..*\"\n slotName: default";
|
|
9
|
-
ds:anatomyClassic "The DescriptionList is composed of a main container that holds a list of DescriptionList Items.\n\n1. **Container:** The outermost wrapper that defines the layout and styling of the list.\n2. **DescriptionList Item:** A single key-value pair in the list.\n\nhttps://www.figma.com/design/zLPPWH90vDkSUaTnYC0em0/Launchpad-components--new-?node-id=7685-2577&m=dev";
|
|
9
|
+
ds:anatomyClassic "The DescriptionList is composed of a main container that holds a list of DescriptionList Items.\n\n1. **Container:** The outermost wrapper that defines the layout and styling of the list.\n2. **DescriptionList Item:** A single key-value pair in the list.\n\nhttps://www.figma.com/design/zLPPWH90vDkSUaTnYC0em0/Launchpad-components--new-?node-id=7685-2577&m=dev\n\n";
|
|
10
10
|
ds:usage "### 1. General Description\n\nThe DescriptionList is used to display a list of items and their descriptions. It is a flexible component that can be used in a variety of situations.\n\n### 2. Implementation Guidelines\n\n2.1 When to Use\n\n- **Key-value pairs:** Use when you need to display a list of key-value pairs.\n- **Metadata:** Use to display metadata about an object.\n\n2.2 When Not to Use\n\n- **Simple lists:** Do not use for a simple list of items. Use a regular list instead.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- **Semantic HTML:** Use the `<dl>`, `<dt>`, and `<dd>` elements to create a semantic description list.";
|
|
12
12
|
ds:tier ds:apps_launchpad;
|
|
@@ -6,7 +6,6 @@ ds:apps_launchpad.component.drawer a ds:Component;
|
|
|
6
6
|
ds:name "Drawer";
|
|
7
7
|
ds:summary "SidePanel is a dialog UI block that slides in from the right edge of the viewport. It keeps the underlying page visible and allows users to inspect or edit information in context without navigating away.\n\nMain use cases:\n\n- Showing details of a selected list item alongside the list.\n- Editing or configuring an item without losing place in a workflow.\n- Temporarily displaying extended information that should not fully replace the current page.";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: app-launchpad.component.side-panel\n styles:\n layout.position: fixed\n layout.side: inline-end\n size.height: 100vh\n appearance.shadow: \"0 0 32px 0 rgba(0,0,0,0.2)\"\n appearance.backdrop.color: transparent\n appearance.border: none\n interaction.transition.property:\n - display\n - transform\n - overlay\n interaction.transition.transform.closed: translateX(100%)\n interaction.transition.transform.open: translateX(0)\n edges:\n - node:\n role: trigger snippet\n relation:\n cardinality: \"0..1\"\n slotName: trigger\n - switch:\n on: override\n cases:\n - uri: app-launchpad.subcomponent.side-panel-content\n - uri: $custom\n relation:\n cardinality: \"0..1\"\n slotName: children";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "Modal provides a native dialog-based overlay with two composition paths: declarative trigger/command wiring and imperative instance control. In practice, teams can build either structured confirmation dialogs or fully custom content while preserving consistent open, close, and dismissal behavior.\n\n## When to use\n\nUse SidePanel for adjacent workflows where users benefit from keeping the main page in view.\n\n## When not to use\n\n### **Lightweight contextual actions**\n\n**Incorrect pattern**: using a blocking dialog for quick contextual choices that should not interrupt page interaction. \n**Remediation strategy**: use a non-modal surface for quick, in-context choices.\n\n### **Fully replacing page navigation**\n\n**Incorrect pattern**: using a side panel as a secondary page destination with independent navigation context. \n**Remediation strategy**: route to a dedicated page instead.";
|
|
11
10
|
ds:guidelines "## **Trigger and dialog relationship**\n\nEnsure trigger props are applied to an interactive control so assistive technologies can identify side panel intent and ownership.\n\n## **Explicit close controls**\n\nProvide at least one visible close action inside the side panel content, especially when light dismissal is disabled.";
|
|
12
11
|
ds:tier ds:apps_launchpad;
|
|
@@ -10,6 +10,11 @@ ds:apps_launchpad.component.modal a ds:Component;
|
|
|
10
10
|
ds:usage "Modal provides a native dialog-based overlay with two composition paths: declarative trigger/command wiring and imperative instance control. In practice, teams can build either structured confirmation dialogs or fully custom content while preserving consistent open, close, and dismissal behavior.\n\n## When to use\n\nUse Modal when the interaction should take focus and block background interaction until the user makes a decision or completes a task.\n\n## When not to use\n\n### **Lightweight contextual actions**\n\n**Incorrect pattern**: using a blocking dialog for quick contextual choices that should not interrupt page interaction. \n**Remediation strategy**: use a non-modal surface for quick, in-context choices.\n\n### **Persistent side-docked workflows**\n\n**Incorrect pattern**: using Modal when the expected behavior is a side-attached, panel-style layout. \n**Remediation strategy**: use a dedicated side panel component that composes modal mechanics but preserves panel ergonomics.";
|
|
11
11
|
ds:guidelines "## **Trigger and dialog relationship**\n\nEnsure trigger props are applied to an interactive control so assistive technologies can identify dialog intent and ownership.\n\n## **Explicit close controls**\n\nProvide at least one visible close action inside the modal content, especially when light dismissal is disabled.";
|
|
12
12
|
ds:tier ds:apps_launchpad;
|
|
13
|
+
ds:changeLog [
|
|
14
|
+
a ds:ChangeLogEntry;
|
|
15
|
+
ds:timestamp "2026-06-19T00:00:00.000+02:00";
|
|
16
|
+
ds:changeType "change"
|
|
17
|
+
];
|
|
13
18
|
ds:hasProperty [
|
|
14
19
|
a ds:Property;
|
|
15
20
|
ds:name "trigger";
|
|
@@ -30,9 +35,4 @@ ds:apps_launchpad.component.modal a ds:Component;
|
|
|
30
35
|
ds:summary "Forwarded HTML dialog attributes.";
|
|
31
36
|
ds:optional "true"
|
|
32
37
|
];
|
|
33
|
-
ds:hasSubcomponent ds:apps_launchpad.subcomponent.modal-content
|
|
34
|
-
ds:changeLog [
|
|
35
|
-
a ds:ChangeLogEntry;
|
|
36
|
-
ds:timestamp "2026-06-19T00:00:00.000+02:00";
|
|
37
|
-
ds:changeType "change"
|
|
38
|
-
].
|
|
38
|
+
ds:hasSubcomponent ds:apps_launchpad.subcomponent.modal-content.
|
|
@@ -6,7 +6,7 @@ ds:apps_launchpad.component.text_input a ds:Component;
|
|
|
6
6
|
ds:name "TextInput";
|
|
7
7
|
ds:summary "The **TextInput** component is a form element that allows users to enter a single line of text.\n\n**Main Use Cases:**\n\n- **Forms:** Used in forms to allow users to enter a short text, such as a name or an email address.\n- **Search:** Used as the base for a search input.";
|
|
8
8
|
ds:anatomyDsl "---\nnode:\n uri: app-launchpad.component.text-input\n styles:\n layout.display: inline-block\n size.height: size/form-field\n spacing.internal: spacing/inline/medium\n appearance.background: color/background/input\n appearance.border: border/style/underline\n typography.size: typography/paragraph/default";
|
|
9
|
-
ds:anatomyClassic "
|
|
9
|
+
ds:anatomyClassic "\n\nhttps://www.figma.com/design/Y0cqKbTG4rejU9xm2oh5pR/%F0%9F%92%A0-Vanilla---Core-component-library?node-id=2066-28&m=dev\n\nThe TextInput is a single component with no subcomponents.\n\n\n\n1. **TextInput:** The main text input area.";
|
|
10
10
|
ds:usage "### 1. General Description\n\nThe TextInput is used when you need to allow users to enter a single line of text. It is a versatile component that can be used in a variety of situations.\n\n### 2. Implementation Guidelines\n\n2.1 When to Use\n\n- **Single-line input:** Use when you need to allow users to enter single-line text.\n- **Short text:** Use when the expected input is a single line.\n\n2.2 When Not to Use\n\n- **Multi-line input:** Do not use for multi-line input. Use a Textarea instead.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- **Label:** Always provide a label for the text input to improve accessibility.\n- **Input type:** Use the appropriate input type to provide the best user experience.";
|
|
12
12
|
ds:tier ds:apps_launchpad;
|
|
@@ -22,8 +22,8 @@ ds:apps_launchpad.component.tooltip a ds:Component;
|
|
|
22
22
|
ds:summary "The position of the tooltip relative to the trigger.";
|
|
23
23
|
ds:propertyType "choice";
|
|
24
24
|
ds:optional "true";
|
|
25
|
-
ds:
|
|
26
|
-
ds:
|
|
25
|
+
ds:defaultValue "block-start";
|
|
26
|
+
ds:constraints "[<position-area>](https://developer.mozilla.org/en-US/docs/Web/CSS/position-area)"
|
|
27
27
|
], [
|
|
28
28
|
a ds:Property;
|
|
29
29
|
ds:name "delay";
|
|
@@ -6,7 +6,6 @@ ds:apps_launchpad.subcomponent.modal-content-body a ds:Subcomponent;
|
|
|
6
6
|
ds:name "Modal.Content.Body";
|
|
7
7
|
ds:summary "Modal.Content.Body is the main narrative region inside modal content. It carries explanatory text, form fields, or other core task UI.\n\nMain use cases:\n\n- Present decision context and consequences.\n- Host primary interaction controls such as form elements.";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: app-launchpad.subcomponent.modal-content_body\n styles:\n typography.style: \"paragraph/default\"\n typography.color: \"color/text/default\"";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "## When to use\n\nUse it for the main informational or interactive payload of the modal.";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps_launchpad;
|
|
@@ -6,7 +6,6 @@ ds:apps_launchpad.subcomponent.modal-content-footer a ds:Subcomponent;
|
|
|
6
6
|
ds:name "Modal.Content.Footer";
|
|
7
7
|
ds:summary "Modal.Content.Footer is the action row region for modal controls.\n\nMain use cases:\n\n- Place confirm/cancel actions in a predictable location.\n- Preserve consistent action alignment across modal variants.\n- Support variable action count with wrapping behavior.";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: app-launchpad.subcomponent.modal-content_footer\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.justify: end\n layout.wrap: true\n spacing.gap: spacing/inline/m\n edges:\n - node:\n role: action items\n relation:\n cardinality: \"1..*\"";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "## When to use\n\nUse it as the primary action container for modal outcomes.";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps_launchpad;
|
|
@@ -6,7 +6,6 @@ ds:apps_launchpad.subcomponent.modal-content-header-close_button a ds:Subcompone
|
|
|
6
6
|
ds:name "Modal.Content.Header.CloseButton";
|
|
7
7
|
ds:summary "Modal.Content.Header.CloseButton is the specialized dismiss control for modal headers. It is a button-based close action with predefined visual and icon behavior.\n\nMain use cases:\n\n- Provide a standard dismiss affordance in the header.\n- Keep close action visually consistent across modal instances.";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: app-launchpad.subcomponent.modal-content_header-close-button\n edges:\n - node:\n role: close icon\n relation:\n cardinality: \"1\"";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "## When to use\n\nUse it for explicit modal dismissal from the header region.\n\n## When not to use\n\n### Reusing as generic action button\n\n**Incorrect pattern**: Using close button for non-dismiss actions, e.g., to confirm, delete, or save actions. \n**Remediation strategy**: Use regular action buttons in Footer for non-dismiss semantics.";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps_launchpad;
|
|
@@ -6,7 +6,6 @@ ds:apps_launchpad.subcomponent.modal-content-header a ds:Subcomponent;
|
|
|
6
6
|
ds:name "Modal.Content.Header";
|
|
7
7
|
ds:summary "Modal.Content.Header is the top section of modal content. It establishes dialog intent and can include a trailing close control.\n\nMain use cases:\n\n- Display concise modal title text.\n- Pair title with a dismiss control.";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: app-launchpad.subcomponent.modal-content_header\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.align: start\n typography.style: \"heading/h4\"\n edges:\n - node:\n role: heading content\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: app-launchpad.subcomponent.modal-content_header-close-button\n relation:\n cardinality: \"0..1\"\n slotName: actions";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "Header is used inside Modal.Content to provide title context, optionally with a close button aligned to the end.\n\n## When to use\n\nUse it to present modal purpose immediately.\n\n## When not to use\n\n### Placing primary actions in header\n\n**Incorrect pattern**: Treating header as main action row. \n**Remediation strategy**: Move main actions to Footer and keep header for context and dismiss affordance.\n\n### Long body text in header\n\n**Incorrect pattern**: Using header for paragraphs and explanatory copy. \n**Remediation strategy**: Keep explanatory content in Body and keep header concise.";
|
|
11
10
|
ds:guidelines "## Provide a clear heading\n\nUse short, descriptive title text for quick context establishment.";
|
|
12
11
|
ds:tier ds:apps_launchpad;
|
|
@@ -6,7 +6,6 @@ ds:apps_launchpad.subcomponent.modal-content a ds:Subcomponent;
|
|
|
6
6
|
ds:name "Modal.Content";
|
|
7
7
|
ds:summary "Modal.Content is the structured content container subcomponent for Modal. It organizes dialog content into predictable regions.\n\nMain use cases:\n\n- Build a complete modal body with header, content, and footer actions.\n- Add a close affordance aligned in the header using Modal.Content.Header.CloseButton.\n- Keep action rows consistently right-aligned and wrapped for variable button counts.\n\nUse Modal.Content when modal content needs a canonical structure and reusable semantics. Use custom children directly on Modal when the layout must be intentionally non-standard";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: app-launchpad.subcomponent.modal-content\n styles:\n layout.type: stack\n layout.direction: vertical\n spacing.gap: \"spacing/block/m\"\n spacing.internal.block: \"spacing/block/l\"\n spacing.internal.inline: \"spacing/inline/l\"\n appearance.background: \"color/background/default\"\n edges:\n - node:\n uri: app-launchpad.subcomponent.modal-content_header\n relation:\n cardinality: \"1\"\n slotName: header\n\n - node:\n uri: app-launchpad.subcomponent.modal-content_body\n relation:\n cardinality: \"1\"\n slotName: default\n\n - node:\n uri: app-launchpad.subcomponent.modal-content_footer\n relation:\n cardinality: \"0..1\"\n slotName: footer";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "Modal.Content is used as the root content block inside a Modal children snippet.\n\n## When to use\n\nUse it to enforce consistent dialog composition, typically for worklfows that require user’s confirmation.\n\n## When not to use\n\n### Freeform non-dialog page layout\n\n**Incorrect pattern**: Using Modal.Content as a generic page section container. \n**Remediation strategy**: Use standard layout containers intended for in-flow page content.\n\n### Action-only dialog with no context\n\n**Incorrect pattern**: Rendering only footer actions without body context. \n**Remediation strategy**: Include Header and Body section that explain impact before actions.";
|
|
11
10
|
ds:guidelines "## **Keep structural order meaningful**\n\nPlace title/context before actions so assistive users get intent first.\n\n\n\n";
|
|
12
11
|
ds:tier ds:apps_launchpad;
|
|
@@ -6,7 +6,6 @@ ds:apps_launchpad.subcomponent.side_panel-content-body a ds:Subcomponent;
|
|
|
6
6
|
ds:name "SidePanel.Content.Body";
|
|
7
7
|
ds:summary "SidePanel.Content.Body is the main narrative region inside side panel content. It carries explanatory text, form fields, or other core task UI.\n\nMain use cases:\n\n- Present decision context and consequences.\n- Host primary interaction controls such as form elements.";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: app-launchpad.subcomponent.side-panel-content_body\n styles:\n typography.style: \"paragraph/default\"\n typography.color: \"color/text/default\"";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "## When to use\n\nUse it for the main informational or interactive payload of the side panel.";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps_launchpad;
|
|
@@ -6,7 +6,6 @@ ds:apps_launchpad.subcomponent.side_panel-content-footer a ds:Subcomponent;
|
|
|
6
6
|
ds:name "SidePanel.Content.Footer";
|
|
7
7
|
ds:summary "SidePanel.Content.Footer is the action row region for side panel controls.\n\nMain use cases:\n\n- Place confirm/cancel actions in a predictable location.\n- Preserve consistent action alignment across side panel variants.\n- Support variable action count with wrapping behavior.";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: app-launchpad.subcomponent.side-panel-content_footer\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.justify: end\n layout.wrap: true\n spacing.gap: spacing/inline/m\n edges:\n - node:\n role: action items\n relation:\n cardinality: \"1..*\"";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "## When to use\n\nUse it as the primary action container for side panel outcomes.";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps_launchpad;
|
|
@@ -6,7 +6,6 @@ ds:apps_launchpad.subcomponent.side_panel-content-header-close_button a ds:Subco
|
|
|
6
6
|
ds:name "SidePanel.Content.Header.CloseButton";
|
|
7
7
|
ds:summary "SidePanel.Content.Header.CloseButton is the specialized dismiss control for modal headers. It is a button-based close action with predefined visual and icon behavior.\n\nMain use cases:\n\n- Provide a standard dismiss affordance in the header.\n- Keep close action visually consistent across side panel instances.";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: app-launchpad.subcomponent.side-panel-content_header-close-button\n edges:\n - node:\n role: close icon\n relation:\n cardinality: \"1\"";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "## When to use\n\nUse it for explicit side panel dismissal from the header region.\n\n## When not to use\n\n### Reusing as generic action button\n\n**Incorrect pattern**: Using close button for non-dismiss actions, e.g., to confirm, delete, or save actions. \n**Remediation strategy**: Use regular action buttons in Footer for non-dismiss semantics.";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps_launchpad;
|
|
@@ -6,7 +6,6 @@ ds:apps_launchpad.subcomponent.side_panel-content-header a ds:Subcomponent;
|
|
|
6
6
|
ds:name "SidePanel.Content.Header";
|
|
7
7
|
ds:summary "SidePanel.Content.Header is the top section of side panel content. It establishes dialog intent and can include a trailing close control.\n\nMain use cases:\n\n- Display concise side panel title text.\n- Pair title with a dismiss control.";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: app-launchpad.subcomponent.side-panel-content_header\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.align: start\n typography.style: \"heading/h4\"\n edges:\n - node:\n role: heading content\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: app-launchpad.subcomponent.side-panel-content_header-close-button\n relation:\n cardinality: \"0..1\"\n slotName: actions";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "Header is used inside SidePanel.Content to provide title context, optionally with a close button aligned to the end.\n\n## When to use\n\nUse it to present side panel purpose immediately.\n\n## When not to use\n\n### Placing primary actions in header\n\n**Incorrect pattern**: Treating header as main action row. \n**Remediation strategy**: Move main actions to Footer and keep header for context and dismiss affordance.\n\n### Long body text in header\n\n**Incorrect pattern**: Using header for paragraphs and explanatory copy. \n**Remediation strategy**: Keep explanatory content in Body and keep header concise.";
|
|
11
10
|
ds:guidelines "## Provide a clear heading\n\nUse short, descriptive title text for quick context establishment.";
|
|
12
11
|
ds:tier ds:apps_launchpad;
|
|
@@ -6,7 +6,6 @@ ds:apps_launchpad.subcomponent.side_panel-content a ds:Subcomponent;
|
|
|
6
6
|
ds:name "SidePanel.Content";
|
|
7
7
|
ds:summary "SidePanel.Content is the structured content container subcomponent for SidePanel. It organizes dialog content into predictable regions.\n\nMain use cases:\n\n- Build a complete side panel body with header, content, and footer actions.\n- Add a close affordance aligned in the header using MoSidePaneldal.Content.Header.CloseButton.\n- Keep action rows consistently right-aligned and wrapped for variable button counts.\n\nUse SidePanel.Content when modal content needs a canonical structure and reusable semantics. Use custom children directly on SidePanel when the layout must be intentionally non-standard";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: app-launchpad.subcomponent.side-panel-content\n styles:\n layout.type: stack\n layout.direction: vertical\n spacing.gap: \"spacing/block/m\"\n spacing.internal.block: \"spacing/block/l\"\n spacing.internal.inline: \"spacing/inline/l\"\n appearance.background: \"color/background/default\"\n edges:\n - node:\n uri: app-launchpad.subcomponent.side-panel-content_header\n relation:\n cardinality: \"1\"\n slotName: header\n\n - node:\n uri: app-launchpad.subcomponent.side-panel-content_body\n relation:\n cardinality: \"1\"\n slotName: default\n\n - node:\n uri: app-launchpad.subcomponent.side-panel-content_footer\n relation:\n cardinality: \"0..1\"\n slotName: footer";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "SidePanel.Content is used as the root content block inside a SidePanel children snippet.\n\n## When to use\n\nUse it to enforce consistent dialog composition, typically for worklfows that require user’s confirmation.\n\n## When not to use\n\n### Freeform non-dialog page layout\n\n**Incorrect pattern**: Using SidePanel.Content as a generic page section container. \n**Remediation strategy**: Use standard layout containers intended for in-flow page content.\n\n### Action-only dialog with no context\n\n**Incorrect pattern**: Rendering only footer actions without body context. \n**Remediation strategy**: Include Header and Body section that explain impact before actions.";
|
|
11
10
|
ds:guidelines "## **Keep structural order meaningful**\n\nPlace title/context before actions so assistive users get intent first.\n\n\n\n";
|
|
12
11
|
ds:tier ds:apps_launchpad;
|
|
@@ -6,7 +6,7 @@ ds:apps_lxd.component.code_snippet_with_copy_button a ds:Component;
|
|
|
6
6
|
ds:name "CodeSnippetWithCopyButton";
|
|
7
7
|
ds:summary "The **CodeSnippetWithCopyButton** component is a CodeSnippet (from `react-components`) with a `CopyToClipboard` component embedded in the code.\n\n\n\n**Primary purpose**\n\nThis component is used to display code content that users are expected to copy and execute elsewhere. It enhances the standard code snippet presentation by embedding copy functionality directly within the formatted code block.\n\n\n\n**Main use cases**\n\n- **Command line instructions**: terminal commands, shell scripts, or CLI instructions that users need to execute in their local environments\n- **Configuration examples**: configuration file snippets, YAML blocks, or JSON structures that users should copy into their project files\n- **Credentials and tokens**: public keys, access tokens, or other sensitive values that need to be copied securely\n- **Documentation code blocks**: code examples or samples in tutorials or documentation that readers should copy and try\n\n\n\n**When to use:**\n\n- ✅ C**ode or commands** that users are expected to run or implement\n- ✅ **Code examples** in documentation or tutorials where users want to copy and experiment\n- ✅ **Configuration snippets** that users need to integrate into their own files or systems\n\n\n\n**When not to use**\n\n- ❌ **Non-executable text content** that doesn't require code formatting or syntax highlighting\n- ❌ **Editable code examples** where users need to modify the content before copying\n- ❌ **Content that rarely gets copied**, where CodeSnippet would be more efficient";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: core:component:CodeSnippetWithCopyButton\n styles:\n layout.type: stack\n layout.direction: vertical\n layout.display: block\n appearance.background: color/surface/code\n appearance.radius: shape/rounded/small\n appearance.border: border/style/code\n spacing.internal: spacing/none\n \n edges:\n - node:\n uri: core:element:CodeSnippet\n styles:\n layout.type: block\n layout.display: block\n size.width: fill\n appearance.theme: appearance/code/blocks\n typography.family: font/family/mono\n \n relation:\n cardinality: \"1..1\"\n slotName: default\n \n edges:\n - node:\n role: command container\n styles:\n layout.type: flow\n layout.direction: horizontal\n layout.align: center\n layout.justify: space-between\n size.width: fill\n spacing.internal: spacing/small\n appearance.background: color/surface/code/block\n \n relation:\n cardinality: \"1..1\"\n slotName: code\n \n edges:\n - node:\n role: code text display\n styles:\n layout.display: inline-block\n layout.flex: 1\n layout.overflow: hidden\n text.truncate: true\n text.wrap: nowrap\n typography.family: font/family/mono\n typography.size: font/size/code\n typography.color: color/text/code\n appearance.background: transparent\n \n relation:\n cardinality: \"1..1\"\n slotName: content\n \n - node:\n uri: core:component:CopyToClipboard\n styles:\n layout.display: inline-block\n layout.flex: none\n layout.align.self: center\n spacing.margin.left: spacing/small\n \n relation:\n cardinality: \"1..1\"\n slotName: action";
|
|
9
|
-
ds:anatomyClassic "\n\n\n\nIn this modal, we use it twice: for the identity trust token and for the command line
|
|
9
|
+
ds:anatomyClassic "\n\n\n\nIn this modal, we use it twice: for the identity trust token and for the command line.\n\n";
|
|
10
10
|
ds:usage "### **General description**\n\nThe **CodeSnippetWithCopyButton** component provides a formatted display for executable code and commands with integrated copy functionality. It combines syntax highlighting, proper code formatting, and one-click copying to streamline the process of sharing technical instructions, configuration examples, and executable commands. The component ensures accurate code presentation while eliminating copy-paste errors common with manual text selection.\n\n\n\n**When to use:**\n\n- ✅ C**ode or commands** that users are expected to run or implement\n- ✅ **Code examples** in documentation or tutorials where users want to copy and experiment\n- ✅ **Configuration snippets** that users need to integrate into their own files or systems\n\n\n\n**When not to use**\n\n- ❌ **Non-executable text content** that doesn't require code formatting or syntax highlighting\n- ❌ **Editable code examples** where users need to modify the content before copying\n- ❌ **Content that rarely gets copied**, where CodeSnippet would be more efficient";
|
|
11
11
|
ds:guidelines "";
|
|
12
12
|
ds:tier ds:apps_lxd;
|
|
@@ -6,10 +6,16 @@ ds:apps_lxd.component.output_field a ds:Component;
|
|
|
6
6
|
ds:name "OutputField";
|
|
7
7
|
ds:summary "The OutputField component is a read-only display element that presents labelled information in a consistent, structured format. Use output fields to display read-only information with a label and optional help text. Output fields are ideal for displaying calculated values or results of user input in a consistent format, making them well suited for form contexts where certain values are derived or system-generated rather than directly editable by the user.";
|
|
8
8
|
ds:anatomyDsl "node:\n uri: core:component:OutputField\n styles:\n # Structural (implicitly invariant)\n layout.type: stack\n layout.direction: vertical\n\n edges:\n - node:\n uri: core:element:OutputFieldLabel\n styles:\n # Themeable\n typography.color: color/text/label\n typography.size: font/size/small\n relation:\n cardinality: \"1..1\"\n slotName: label\n\n - node:\n uri: core:element:OutputFieldValue\n styles:\n # Themeable\n typography.color: color/text/primary\n typography.weight: font/weight/bold\n relation:\n cardinality: \"1..1\"\n slotName: default\n\n - node:\n uri: core:element:OutputFieldHelpText\n styles:\n # Themeable\n typography.color: color/text/muted\n typography.size: font/size/small\n relation:\n cardinality: \"0..1\"\n slotName: help";
|
|
9
|
-
ds:anatomyClassic "
|
|
9
|
+
ds:anatomyClassic "\n\n";
|
|
10
10
|
ds:usage "**General description**\n\nThe OutputField component is a read-only display element that presents labelled information in a consistent, structured format. It pairs a descriptive label with a value to clearly communicate calculated results, system-generated data, or information that the user should see but not edit. An optional help text provides additional context where needed.\n\n**When to use**\n\nUse the OutputField component when you need to display information that is the result of user input, a system calculation, or a read-only property within a form or detail view, where visual consistency with surrounding form fields is important.\n\n*Example: displaying the automatically calculated CIDR range after a user configures a network subnet, shown as \"IPv4 address\" with value \"10.0.0.0/24\" alongside editable fields in the same form.*\n\n**When not to use**\n\n- Avoid using the OutputField component when the information being displayed is not directly related to form input or output — use plain text, a description list, or a summary table instead.\n- Do not use it for values the user should be able to edit, as the read-only presentation may cause confusion. \n- Avoid it for long-form content or rich text, as it is designed for concise single-value display.";
|
|
11
11
|
ds:guidelines "";
|
|
12
12
|
ds:tier ds:apps_lxd;
|
|
13
|
+
ds:changeLog [
|
|
14
|
+
a ds:ChangeLogEntry;
|
|
15
|
+
ds:timestamp "2026-04-16T00:00:00.000+02:00";
|
|
16
|
+
ds:changeType "decision";
|
|
17
|
+
ds:githubLink "https://github.com/canonical/react-components/pull/1346"
|
|
18
|
+
];
|
|
13
19
|
ds:hasProperty [
|
|
14
20
|
a ds:Property;
|
|
15
21
|
ds:name "Label";
|
|
@@ -40,10 +46,4 @@ ds:apps_lxd.component.output_field a ds:Component;
|
|
|
40
46
|
ds:summary "Whether the output field is required.";
|
|
41
47
|
ds:propertyType "boolean";
|
|
42
48
|
ds:optional "true"
|
|
43
|
-
];
|
|
44
|
-
ds:changeLog [
|
|
45
|
-
a ds:ChangeLogEntry;
|
|
46
|
-
ds:timestamp "2026-04-16T00:00:00.000+02:00";
|
|
47
|
-
ds:githubLink "https://github.com/canonical/react-components/pull/1346";
|
|
48
|
-
ds:changeType "decision"
|
|
49
49
|
].
|
|
@@ -6,7 +6,7 @@ ds:apps_lxd.subcomponent.copy_to_clipboard a ds:Subcomponent;
|
|
|
6
6
|
ds:name "CopyToClipboard";
|
|
7
7
|
ds:summary "The **CopyToClipboard** component provides a user-friendly way to copy text values to the clipboard with a single click. It combines content display with an integrated copy button, offering immediate visual feedback. It can have a custom tooltip message, if not it will say “Copy” on hover.\n\nThe icon is copy-to-clipboard. After copied, the icon changes to task-outstanding.\n\n\n\n**Primary purpose**\n\nThis component serves as a reusable interface element that displays content alongside a copy button, eliminating the need for users to manually select and copy text. It's designed to improve user experience when working with read-only values that are frequently copied to other applications or contexts.\n\n\n\n**Main use cases**\n\n- **Code snippets**: command lines, configuration snippets, or code samples\n- **Credentials and tokens**: public keys, access tokens, or other sensitive values that need to be copied securely\n- **System identifiers**: ids, names and other system-generated identifiers\n\n\n\n**When to use**\n\n- ✅ **Read-only content** that users frequently need to copy elsewhere\n- ✅ **Long or complex strings** that are difficult to select manually\n- ✅ **System-generated values** like UUIDs, hashes, or auto-generated names\n- ✅ **Technical data** such as IP addresses, ports, or configuration values\n\n\n\n**When not to use**\n\n- ❌ Editable input fields (use standard form inputs instead)\n- ❌ Very short, easily selectable text where the copy button adds unnecessary complexity\n- ❌ Content that rarely gets copied, where the copy button would be unused";
|
|
8
8
|
ds:anatomyDsl "---\nnode:\n uri: global.component.copy-button\n edges:\n - node:\n role: button wrapper\n edges:\n - node:\n uri: global.component.icon\n relation:\n cardinality: \"1\"\n slotName: icon\n - node:\n role: label text\n relation:\n cardinality: \"0..1\"\n slotName: label\n relation:\n cardinality: \"1\"";
|
|
9
|
-
ds:anatomyClassic "In those two examples, the CopyToClipboard button is embedded in a code snippet. It is used to copy the identity trust token.\n\n\n\n\n\n\n\n\n\nOnce clicked, the icon changes
|
|
9
|
+
ds:anatomyClassic "In those two examples, the CopyToClipboard button is embedded in a code snippet. It is used to copy the identity trust token.\n\n\n\n\n\n\n\n\n\nOnce clicked, the icon changes:\n\n";
|
|
10
10
|
ds:usage "### **General Description**\n\nThe **CopyToClipboard** component provides users with a convenient way to copy text content to their clipboard through a dedicated copy button. It combines content display with integrated copy functionality, offering immediate visual and accessibility feedback to confirm successful copy operations. The component automatically handles clipboard API availability and provides graceful fallbacks for unsupported environments.\n\n\n\n**When to use**\n\n- ✅ **Read-only content** that users frequently need to copy elsewhere\n- ✅ **Long or complex strings** that are difficult to select manually\n- ✅ **System-generated values** like UUIDs, hashes, or auto-generated names\n- ✅ **Technical data** such as IP addresses, ports, or configuration values\n\n\n\n**When not to use**\n\n- ❌ Editable input fields (use standard form inputs instead)\n- ❌ Very short, easily selectable text where the copy button adds unnecessary complexity\n- ❌ Content that rarely gets copied, where the copy button would be unused";
|
|
11
11
|
ds:guidelines "### Accessibility\n\nThe component provides dynamic [aria-label](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/workbench/workbench.html) attributes that communicate the current state to assistive technologies. The label changes from \"Copy to clipboard\" to \"Copied to clipboard\" to provide clear feedback about the action's success.\n\nThe copy button is fully keyboard accessible through the underlying Button component from `@canonical/react-components`, ensuring proper focus indicators and keyboard interaction patterns are maintained.\n\nVisual state changes use meaningful icons ([copy-to-clipboard](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/workbench/workbench.html) for default state, `task-outstanding` for success) that convey action completion through visual cues, supplemented by the changing aria-label for non-visual users.\n\n\n\n### **Device Specification**\n\nThe component gracefully handles devices or browsers where [navigator.clipboard](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/workbench/workbench.html) is undefined by falling back to displaying only the children content without the copy functionality.\n\nUses the modern `[navigator.clipboard.writeText()](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/workbench/workbench.html)` API with proper error handling for browsers that support it, while providing fallback behavior for unsupported environments.\n\n### Content specification\n\n- **Concise:** Long content is automatically truncated using the `u-truncate` CSS class, ensuring the layout remains stable regardless of content length while maintaining the copy button's visibility.";
|
|
12
12
|
ds:tier ds:apps_lxd;
|
|
@@ -10,13 +10,13 @@ ds:apps_lxd.view.network_topology a ds:View;
|
|
|
10
10
|
ds:usage "**When to use**\n\nTo display entities connected to a virtual or physical network\n\n**When not to use**\n\nTo visualize non-networking-related entity connections.";
|
|
11
11
|
ds:guidelines "";
|
|
12
12
|
ds:tier ds:apps_lxd;
|
|
13
|
-
ds:hasProperty [
|
|
14
|
-
a ds:Property;
|
|
15
|
-
ds:optional "false"
|
|
16
|
-
];
|
|
17
13
|
ds:changeLog [
|
|
18
14
|
a ds:ChangeLogEntry;
|
|
19
15
|
ds:timestamp "2026-02-11T00:00:00.000+01:00";
|
|
20
|
-
ds:
|
|
21
|
-
ds:
|
|
16
|
+
ds:changeType "change";
|
|
17
|
+
ds:githubLink "https://github.com/canonical/lxd-ui/blob/main/src/pages/networks/NetworkTopology.tsx"
|
|
18
|
+
];
|
|
19
|
+
ds:hasProperty [
|
|
20
|
+
a ds:Property;
|
|
21
|
+
ds:optional "false"
|
|
22
22
|
].
|
|
@@ -6,7 +6,6 @@ ds:apps_portal.component.key_value_pair a ds:Component;
|
|
|
6
6
|
ds:name "Key value pair";
|
|
7
7
|
ds:summary "Key-value pairs help present a pair of data in a structured way. They are useful for displaying data in an organized manner, making it easier to understand and process information on the screen. Key value pairs consist of properties (keys) each paired with their respective values.";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps_portal.
|