@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
|
@@ -2,88 +2,80 @@
|
|
|
2
2
|
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
3
|
@prefix dt: <https://dt.canonical.com/>.
|
|
4
4
|
|
|
5
|
-
ds:global.component.
|
|
6
|
-
ds:name "
|
|
7
|
-
ds:summary "The wrapper tooltip is a flexible tooltip designed to support richer content beyond a single line of text. It is best suited for use cases where multiple content types must be supported, such as text, KVPs ([KVPItem (base)](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-eUn6xQeQ6l)), or tables. This type of tooltip is ideal when standard tooltips are too limited, but a modal or larger surface would feel too disruptive. \n\nRelated to [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) and [
|
|
5
|
+
ds:global.component.wrapper_tooltip a ds:Component;
|
|
6
|
+
ds:name "WrapperTooltip";
|
|
7
|
+
ds:summary "The wrapper tooltip is a flexible tooltip designed to support richer content beyond a single line of text. It is best suited for use cases where multiple content types must be supported, such as text, KVPs ([KVPItem (base)](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-eUn6xQeQ6l)), or tables. This type of tooltip is ideal when standard tooltips are too limited, but a modal or larger surface would feel too disruptive. \n\nRelated to [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW) and [DataTooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Y1ha3zI_b_).";
|
|
8
8
|
ds:anatomyDsl "---\n# The tooltip for structured content: its body is a slot for any components.\n# Content colour is set by the slotted components, so none is bound here. An\n# inverted wrapper is made by switching the variable mode of the instance, so\n# the colours are bound directly and not through surface channels.\nnode:\n uri: global.component.tooltip_wrapper\n styles:\n layout.type: flex\n layout.direction: column\n layout.align: flex-start\n # Stays visible so the arrow, which sits outside the box, is not clipped.\n layout.overflow: visible\n appearance.background: color.background.container\n appearance.border.color: color.border.muted\n appearance.border.style: solid\n appearance.border.width: dimension.stroke.thickness.medium\n appearance.radius: dimension.radius.small\n spacing.gap: dimension.100\n spacing.internal.block.start: dimension.200\n spacing.internal.block.end: dimension.200\n spacing.internal.inline.start: dimension.200\n spacing.internal.inline.end: dimension.200\n edges:\n - switch:\n on: override\n cases:\n - uri: $custom\n relation:\n cardinality: \"0..*\"\n slotName: default\n - node:\n role: arrow\n styles:\n layout.position: absolute\n # Which side it points from follows the Arrow variant, so its offsets\n # are not bound, and the DSL has no triangle shape. The variant also\n # adds 8px of padding on the arrow side, which the tree cannot carry\n # per variant.\n size.width: dimension.175\n size.height: dimension.100\n appearance.background: color.background.container\n appearance.border.color: color.border.muted\n appearance.border.style: solid\n appearance.border.width: dimension.stroke.thickness.medium\n relation:\n # The component draws the arrow; no caller fills it, so it carries no\n # slot name.\n cardinality: \"1\"";
|
|
9
9
|
ds:anatomyClassic "## Anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13993-2495&t=pA5l7Omuxa3ATwVS-1\n\n1. **Container**\n\nA content slot. No max width.\n\n1. **Slot content**\n\nAnything non-interactive: free text, a chart legend, a key-value list, a tooltip table or a Pragma component. Default is a placeholder.\n\n1. **Arrow** **(optional)**\n\nPoints from the tooltip to its trigger.\n\n**Helper components**\n\n- **Chart legend item**: one legend row with marker, label, optional value, and a rule below. State: Default or Highlighted (hovered series).\n- **Chart legend**: heading plus a slot of legend items. Turn Show rule off on the last item.\n- **Key-value pair**: Inline (value right-aligned) or Stacked. Strong is bold; use it as a group header.\n- **Key-value list**: a slot of key-value pairs. Width is set per instance.\n- **Tooltip table and row**: compact table with an exposed header row plus a slot of body rows. Two, three or four equal-width columns.\n- **Series marker**: 6 x 6 circle. Override the fill per series.\n- **Slot placeholder**: default content of the Wrapper slot. Replace it.\n\n## Styling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13993-3879&t=pA5l7Omuxa3ATwVS-1";
|
|
10
|
-
ds:usage "## When to use\n\n- When tooltip content requires internal structure such as tables, key–value pairs, legends, or media\n- When used in dashboards or data-heavy contexts requiring quick, glanceable detail\n- When flexibility is required without introducing multiple bespoke tooltip variants\n\n## When not to use\n\n- When only simple icon or control clarification is needed\n - Incorrect: A wrapper tooltip is used for a single short label explanation\n - Remediation: Use a [Standard tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-Y9PpN4FiwA) or [Dense tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-tES05lAnIw) \n- When content must persist or be interactive\n - Incorrect: A wrapper tooltip contains controls or actions\n - Remediation: Use a [Popover](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-i-62pvfoOF) or [Modal](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-XsokbPLmnc) \n- When only a single short sentence is required\n - Incorrect: A wrapper tooltip is used for minimal text\n - Remediation: Use a [Standard tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-Y9PpN4FiwA) \n- When the element is already clearly labelled or self-explanatory.\n\n
|
|
10
|
+
ds:usage "## When to use\n\n- When tooltip content requires internal structure such as tables, key–value pairs, legends, or media\n- When used in dashboards or data-heavy contexts requiring quick, glanceable detail\n- When flexibility is required without introducing multiple bespoke tooltip variants\n\n## When not to use\n\n- When only simple icon or control clarification is needed\n - Incorrect: A wrapper tooltip is used for a single short label explanation\n - Remediation: Use a [Standard tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-Y9PpN4FiwA) or [Dense tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-tES05lAnIw) \n- When content must persist or be interactive\n - Incorrect: A wrapper tooltip contains controls or actions\n - Remediation: Use a [Popover](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-i-62pvfoOF) or [Modal](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-XsokbPLmnc) \n- When only a single short sentence is required\n - Incorrect: A wrapper tooltip is used for minimal text\n - Remediation: Use a [Standard tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20chnVyhaz/_rui-Y9PpN4FiwA) \n- When the element is already clearly labelled or self-explanatory.\n\n### In essence:\n\nWhen in doubt, start with standard [Tooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ONb9LwkGvW). Move to its [Tooltip+Dense](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-PFE_wK_bWT) variant for space constraints; [WrapperTooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-69TNyYt7M9) for structured content and complex hierarchies; [DataTooltip](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Y1ha3zI_b_) for data visualization.";
|
|
11
11
|
ds:guidelines "- Show with a 400 ms delay after hover or focus\n- Hide with a 400 ms delay after the pointer leaves\n- Cancel display if the pointer exits before the show delay completes\n- If the pointer moves directly from one tooltip trigger to another, show the new tooltip immediately and skip the previous tooltip’s exit animation\n\n### **Transition**\n\n- **Type**: spring\n- **Duration**: 0.4 s\n- **Bounce**: 0.2\n- **Delay**: 0 s\n\n### Reduced motion\n\n- Fade in and out with no scale or movement, keeping the same delays.\n\n### CSS fallback\n\n- Opacity 0 to 1 and scale 0.96 to 1 over 400 ms, cubic-bezier(0.22, 1, 0.36, 1), transform origin at the arrow.\n\n### Interactions\n\n- Opens on hover and on keyboard focus, never on click.\n- Closes when the pointer or focus leaves, on Escape, and when another tooltip opens.\n- Only one tooltip is open at a time.\n- The pointer can move onto the tooltip without it closing.\n- Slot content stays non-interactive.\n\n### Positioning and responsive\n\n- Positioned relative to its trigger, centred with an 8 px offset. Flips to the opposite side when there isn't enough room and never overflows the viewport.\n- Collision padding is 24 px.\n- Tooltips don't appear on touch devices, so essential information must be available another way.\n\n### Typography\n\n- Helper headings and Strong key-value pairs: typography-text-secondary-$bold. Tooltip table headers: typography-text-tertiary-$bold.\n- Values use tabular figures in code.\n\n### Keyboard support\n\n- Tab or Shift+Tab to a trigger opens its tooltip.\n- Escape closes it without moving focus.\n\n### Focus\n\n- Tooltips aren't focusable and aren't part of the tab order.\n- A disabled control that needs an explanation should be wrapped in a focusable element.\n\n### ARIA\n\n- The tooltip element has role=\"tooltip\", and the trigger references it with aria-describedby.\n- Decorative icons inside the tooltip are hidden from assistive technology.";
|
|
12
12
|
ds:tier ds:global;
|
|
13
|
-
ds:documentationStage ds:tag.needsfulldocumentation;
|
|
14
13
|
ds:hasProperty [
|
|
15
|
-
a ds:Property;
|
|
16
|
-
ds:name "***Wrapper tooltip***";
|
|
17
|
-
ds:optional "false"
|
|
18
|
-
], [
|
|
19
|
-
a ds:Property;
|
|
20
|
-
ds:name "*Wrapper container*";
|
|
21
|
-
ds:optional "false"
|
|
22
|
-
], [
|
|
23
14
|
a ds:Property;
|
|
24
15
|
ds:name "Position";
|
|
25
16
|
ds:summary "Preferred placement relative to trigger";
|
|
17
|
+
ds:propertyType "choice";
|
|
26
18
|
ds:optional "false";
|
|
27
|
-
ds:
|
|
19
|
+
ds:defaultValue "Auto";
|
|
20
|
+
ds:constraints "Right\nUp\nDown"
|
|
28
21
|
], [
|
|
29
22
|
a ds:Property;
|
|
30
23
|
ds:name "Max width";
|
|
31
24
|
ds:summary "Optional width override for wrapper tooltip";
|
|
32
|
-
ds:
|
|
33
|
-
ds:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
ds:name "*Wrapper item*";
|
|
37
|
-
ds:optional "false"
|
|
25
|
+
ds:propertyType "number";
|
|
26
|
+
ds:optional "true";
|
|
27
|
+
ds:defaultValue "284";
|
|
28
|
+
ds:constraints "px"
|
|
38
29
|
], [
|
|
39
30
|
a ds:Property;
|
|
40
31
|
ds:name "Wrapper item (instance swap)";
|
|
41
32
|
ds:summary "Selects which content block appears in this wrapper row";
|
|
33
|
+
ds:propertyType "element";
|
|
42
34
|
ds:optional "false";
|
|
43
|
-
ds:
|
|
35
|
+
ds:defaultValue "none";
|
|
36
|
+
ds:constraints "Image\nCTA\nTable\nChart legend\nKVP"
|
|
44
37
|
], [
|
|
45
38
|
a ds:Property;
|
|
46
|
-
ds:name "
|
|
39
|
+
ds:name "***Key-value pair (when selected as wrapper item)***";
|
|
47
40
|
ds:optional "false"
|
|
48
41
|
], [
|
|
49
42
|
a ds:Property;
|
|
50
|
-
ds:name "Value structure";
|
|
43
|
+
ds:name "**Value structure**";
|
|
51
44
|
ds:summary "Whether value is single or multi-entry";
|
|
45
|
+
ds:propertyType "choice";
|
|
52
46
|
ds:optional "false";
|
|
53
|
-
ds:
|
|
47
|
+
ds:defaultValue "Single";
|
|
48
|
+
ds:constraints "Multi"
|
|
54
49
|
], [
|
|
55
50
|
a ds:Property;
|
|
56
|
-
ds:name "Value layout";
|
|
51
|
+
ds:name "**Value layout**";
|
|
57
52
|
ds:summary "How value is arranged visually";
|
|
53
|
+
ds:propertyType "choice";
|
|
58
54
|
ds:optional "false";
|
|
59
|
-
ds:
|
|
55
|
+
ds:defaultValue "Inline";
|
|
56
|
+
ds:constraints "Stacked"
|
|
60
57
|
], [
|
|
61
58
|
a ds:Property;
|
|
62
|
-
ds:name "Layout";
|
|
59
|
+
ds:name "**Layout**";
|
|
63
60
|
ds:summary "Layout control. Not for users.";
|
|
61
|
+
ds:propertyType "choice";
|
|
64
62
|
ds:optional "false";
|
|
65
|
-
ds:
|
|
66
|
-
|
|
67
|
-
a ds:Property;
|
|
68
|
-
ds:name "***All variants***";
|
|
69
|
-
ds:optional "false"
|
|
70
|
-
], [
|
|
71
|
-
a ds:Property;
|
|
72
|
-
ds:name "Type";
|
|
73
|
-
ds:summary "Selects the tooltip variant";
|
|
74
|
-
ds:optional "false";
|
|
75
|
-
ds:propertyType "choice"
|
|
63
|
+
ds:defaultValue "Horizontal";
|
|
64
|
+
ds:constraints "Vertical"
|
|
76
65
|
], [
|
|
77
66
|
a ds:Property;
|
|
78
67
|
ds:name "Surrounding UI theme";
|
|
79
68
|
ds:summary "Sets tooltip theme based on surrounding UI context";
|
|
69
|
+
ds:propertyType "choice";
|
|
80
70
|
ds:optional "false";
|
|
81
|
-
ds:
|
|
71
|
+
ds:defaultValue "Light";
|
|
72
|
+
ds:constraints "Dark"
|
|
82
73
|
];
|
|
74
|
+
ds:documentationStage ds:tag.needsfulldocumentation;
|
|
83
75
|
ds:hasSubcomponent ds:global.subcomponent.kvp_container, ds:global.subcomponent.kvpitem_base;
|
|
84
76
|
ds:hasTokenBinding [
|
|
85
77
|
a ds:TokenBinding;
|
|
86
|
-
ds:viaBlock ds:global.component.
|
|
78
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
87
79
|
ds:node "$root";
|
|
88
80
|
anatomy:styleKey "appearance.background";
|
|
89
81
|
anatomy:styleState "default";
|
|
@@ -91,7 +83,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
91
83
|
ds:consumesSymbol dt:color.background.container
|
|
92
84
|
], [
|
|
93
85
|
a ds:TokenBinding;
|
|
94
|
-
ds:viaBlock ds:global.component.
|
|
86
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
95
87
|
ds:node "$root";
|
|
96
88
|
anatomy:styleKey "appearance.border.color";
|
|
97
89
|
anatomy:styleState "default";
|
|
@@ -99,7 +91,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
99
91
|
ds:consumesSymbol dt:color.border.muted
|
|
100
92
|
], [
|
|
101
93
|
a ds:TokenBinding;
|
|
102
|
-
ds:viaBlock ds:global.component.
|
|
94
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
103
95
|
ds:node "$root";
|
|
104
96
|
anatomy:styleKey "appearance.border.width";
|
|
105
97
|
anatomy:styleState "default";
|
|
@@ -107,7 +99,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
107
99
|
ds:consumesSymbol dt:dimension.stroke.thickness.medium
|
|
108
100
|
], [
|
|
109
101
|
a ds:TokenBinding;
|
|
110
|
-
ds:viaBlock ds:global.component.
|
|
102
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
111
103
|
ds:node "$root";
|
|
112
104
|
anatomy:styleKey "appearance.radius";
|
|
113
105
|
anatomy:styleState "default";
|
|
@@ -115,7 +107,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
115
107
|
ds:consumesSymbol dt:dimension.radius.small
|
|
116
108
|
], [
|
|
117
109
|
a ds:TokenBinding;
|
|
118
|
-
ds:viaBlock ds:global.component.
|
|
110
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
119
111
|
ds:node "$root";
|
|
120
112
|
anatomy:styleKey "spacing.gap";
|
|
121
113
|
anatomy:styleState "default";
|
|
@@ -123,7 +115,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
123
115
|
ds:consumesSymbol dt:dimension.100
|
|
124
116
|
], [
|
|
125
117
|
a ds:TokenBinding;
|
|
126
|
-
ds:viaBlock ds:global.component.
|
|
118
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
127
119
|
ds:node "$root";
|
|
128
120
|
anatomy:styleKey "spacing.internal.block.start";
|
|
129
121
|
anatomy:styleState "default";
|
|
@@ -131,7 +123,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
131
123
|
ds:consumesSymbol dt:dimension.200
|
|
132
124
|
], [
|
|
133
125
|
a ds:TokenBinding;
|
|
134
|
-
ds:viaBlock ds:global.component.
|
|
126
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
135
127
|
ds:node "$root";
|
|
136
128
|
anatomy:styleKey "spacing.internal.block.end";
|
|
137
129
|
anatomy:styleState "default";
|
|
@@ -139,7 +131,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
139
131
|
ds:consumesSymbol dt:dimension.200
|
|
140
132
|
], [
|
|
141
133
|
a ds:TokenBinding;
|
|
142
|
-
ds:viaBlock ds:global.component.
|
|
134
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
143
135
|
ds:node "$root";
|
|
144
136
|
anatomy:styleKey "spacing.internal.inline.start";
|
|
145
137
|
anatomy:styleState "default";
|
|
@@ -147,7 +139,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
147
139
|
ds:consumesSymbol dt:dimension.200
|
|
148
140
|
], [
|
|
149
141
|
a ds:TokenBinding;
|
|
150
|
-
ds:viaBlock ds:global.component.
|
|
142
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
151
143
|
ds:node "$root";
|
|
152
144
|
anatomy:styleKey "spacing.internal.inline.end";
|
|
153
145
|
anatomy:styleState "default";
|
|
@@ -155,7 +147,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
155
147
|
ds:consumesSymbol dt:dimension.200
|
|
156
148
|
], [
|
|
157
149
|
a ds:TokenBinding;
|
|
158
|
-
ds:viaBlock ds:global.component.
|
|
150
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
159
151
|
ds:node "$root/arrow";
|
|
160
152
|
anatomy:styleKey "size.width";
|
|
161
153
|
anatomy:styleState "default";
|
|
@@ -163,7 +155,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
163
155
|
ds:consumesSymbol dt:dimension.175
|
|
164
156
|
], [
|
|
165
157
|
a ds:TokenBinding;
|
|
166
|
-
ds:viaBlock ds:global.component.
|
|
158
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
167
159
|
ds:node "$root/arrow";
|
|
168
160
|
anatomy:styleKey "size.height";
|
|
169
161
|
anatomy:styleState "default";
|
|
@@ -171,7 +163,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
171
163
|
ds:consumesSymbol dt:dimension.100
|
|
172
164
|
], [
|
|
173
165
|
a ds:TokenBinding;
|
|
174
|
-
ds:viaBlock ds:global.component.
|
|
166
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
175
167
|
ds:node "$root/arrow";
|
|
176
168
|
anatomy:styleKey "appearance.background";
|
|
177
169
|
anatomy:styleState "default";
|
|
@@ -179,7 +171,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
179
171
|
ds:consumesSymbol dt:color.background.container
|
|
180
172
|
], [
|
|
181
173
|
a ds:TokenBinding;
|
|
182
|
-
ds:viaBlock ds:global.component.
|
|
174
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
183
175
|
ds:node "$root/arrow";
|
|
184
176
|
anatomy:styleKey "appearance.border.color";
|
|
185
177
|
anatomy:styleState "default";
|
|
@@ -187,7 +179,7 @@ ds:global.component.tooltip_wrapper a ds:Component;
|
|
|
187
179
|
ds:consumesSymbol dt:color.border.muted
|
|
188
180
|
], [
|
|
189
181
|
a ds:TokenBinding;
|
|
190
|
-
ds:viaBlock ds:global.component.
|
|
182
|
+
ds:viaBlock ds:global.component.wrapper_tooltip;
|
|
191
183
|
ds:node "$root/arrow";
|
|
192
184
|
anatomy:styleKey "appearance.border.width";
|
|
193
185
|
anatomy:styleState "default";
|
|
@@ -6,7 +6,6 @@ ds:global.group.cards a ds:Group;
|
|
|
6
6
|
ds:name "Cards";
|
|
7
7
|
ds:summary "Cards are a set of Card blocks shown side by side, each one data object in the same structure. Users scan and compare attributes across the set at a glance. Use them for machine inventories, image catalogues and plan comparisons.";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:global;
|
|
@@ -6,7 +6,6 @@ ds:global.group.keyboard_keys a ds:Group;
|
|
|
6
6
|
ds:name "KeyboardKeys";
|
|
7
7
|
ds:summary "KeyboardKeys groups two or more KeyboardKey components into a single inline unit with consistent spacing. Use it to represent multi-key shortcuts (e.g., Ctrl + C) or key sets (e.g., arrow keys) as a visually cohesive group. It accepts arbitrary children, including separator text, alongside KeyboardKey instances.";
|
|
8
8
|
ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global\n# src/lib/group/KeyboardKeys/styles.css on .ds.keyboard-keys.\nnode:\n uri: global.group.keyboard_keys\n styles:\n layout.type: inline-flex\n layout.align: center\n # The two sizes are distinct and neither matches a spacing role in every\n # context, so each key binds the dimension the CSS reads.\n spacing.gap: dimension.025 # --keyboard-keys-gap, 2px between adjacent keys in a chord\n spacing.external.inline.start: dimension.050 # --keyboard-keys-margin-inline\n spacing.external.inline.end: dimension.050 # --keyboard-keys-margin-inline\n edges:\n - node:\n uri: global.component.keyboard_key\n relation:\n cardinality: \"2..*\" # a chord needs at least two keys\n slotName: default";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "KeyboardKeys are used to present multiple keys as a single conceptual unit, like a shortcut or a related key group.\n\n\n\n**When to use**\n\n- To compose modifier and actions keys with a “+” separator between them, e.g. Ctrl + C\n- Group keys that belong together, such as the four arrow keys, without separators.\n\n\n\n**When not to use**\n\n- When showing only one key, the grouping wrapper adds no value\n- When grouped items are not keyboard keys";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:global;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier.achromat a ds:Modifier;
|
|
6
|
+
ds:name "Achromat";
|
|
7
|
+
ds:summary "";
|
|
8
|
+
ds:modifierFamily ds:global.modifier_family.color_vision.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier.deprecated a ds:Modifier;
|
|
6
|
+
ds:name "Deprecated";
|
|
7
|
+
ds:summary "";
|
|
8
|
+
ds:modifierFamily ds:global.modifier_family.support.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier.deutan a ds:Modifier;
|
|
6
|
+
ds:name "Deutan";
|
|
7
|
+
ds:summary "";
|
|
8
|
+
ds:modifierFamily ds:global.modifier_family.color_vision.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier.end_of_life a ds:Modifier;
|
|
6
|
+
ds:name "End of life";
|
|
7
|
+
ds:summary "";
|
|
8
|
+
ds:modifierFamily ds:global.modifier_family.support.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier.less a ds:Modifier;
|
|
6
|
+
ds:name "Less";
|
|
7
|
+
ds:summary "";
|
|
8
|
+
ds:modifierFamily ds:global.modifier_family.contrast.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier.lts a ds:Modifier;
|
|
6
|
+
ds:name "LTS";
|
|
7
|
+
ds:summary "";
|
|
8
|
+
ds:modifierFamily ds:global.modifier_family.support.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier.more a ds:Modifier;
|
|
6
|
+
ds:name "More";
|
|
7
|
+
ds:summary "";
|
|
8
|
+
ds:modifierFamily ds:global.modifier_family.contrast.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier.protan a ds:Modifier;
|
|
6
|
+
ds:name "Protan";
|
|
7
|
+
ds:summary "";
|
|
8
|
+
ds:modifierFamily ds:global.modifier_family.color_vision.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier.standard a ds:Modifier;
|
|
6
|
+
ds:name "Standard";
|
|
7
|
+
ds:summary "";
|
|
8
|
+
ds:modifierFamily ds:global.modifier_family.contrast.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier.tritan a ds:Modifier;
|
|
6
|
+
ds:name "Tritan";
|
|
7
|
+
ds:summary "";
|
|
8
|
+
ds:modifierFamily ds:global.modifier_family.color_vision.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier.typical a ds:Modifier;
|
|
6
|
+
ds:name "Typical";
|
|
7
|
+
ds:summary "";
|
|
8
|
+
ds:modifierFamily ds:global.modifier_family.color_vision.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
3
|
@prefix dt: <https://dt.canonical.com/>.
|
|
4
4
|
|
|
5
|
-
ds:global.modifier_family.
|
|
6
|
-
ds:name "
|
|
5
|
+
ds:global.modifier_family.color a ds:ModifierFamily;
|
|
6
|
+
ds:name "Color";
|
|
7
7
|
ds:summary "";
|
|
8
8
|
ds:tier ds:global;
|
|
9
9
|
ds:hasModifier ds:global.modifier.dark, ds:global.modifier.light.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier_family.color_vision a ds:ModifierFamily;
|
|
6
|
+
ds:name "Color vision";
|
|
7
|
+
ds:summary "Hue and chroma remapping for color vision deficiencies.";
|
|
8
|
+
ds:tier ds:global;
|
|
9
|
+
ds:hasModifier ds:global.modifier.typical, ds:global.modifier.protan, ds:global.modifier.deutan, ds:global.modifier.tritan, ds:global.modifier.achromat.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier_family.contrast a ds:ModifierFamily;
|
|
6
|
+
ds:name "Contrast";
|
|
7
|
+
ds:summary "Lightness separation between foreground and background (prefers-contrast).";
|
|
8
|
+
ds:tier ds:global;
|
|
9
|
+
ds:hasModifier ds:global.modifier.standard, ds:global.modifier.more, ds:global.modifier.less.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier_family.elevation a ds:ModifierFamily;
|
|
6
|
+
ds:name "Elevation";
|
|
7
|
+
ds:summary "Fixed per component; bound in anatomy as semantic tokens, not a modifier.";
|
|
8
|
+
ds:tier ds:global;
|
|
9
|
+
ds:hasModifier ds:global.modifier.modal, ds:global.modifier.elevated.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global.modifier_family.support a ds:ModifierFamily;
|
|
6
|
+
ds:name "Support";
|
|
7
|
+
ds:summary "Support phase of the referenced feature or release, separate from its maturity (Release).";
|
|
8
|
+
ds:tier ds:global;
|
|
9
|
+
ds:hasModifier ds:global.modifier.deprecated, ds:global.modifier.end_of_life, ds:global.modifier.lts.
|
|
@@ -6,4 +6,4 @@ ds:global.modifier_family.surface a ds:ModifierFamily;
|
|
|
6
6
|
ds:name "Surface";
|
|
7
7
|
ds:summary "";
|
|
8
8
|
ds:tier ds:global;
|
|
9
|
-
ds:hasModifier ds:global.modifier.
|
|
9
|
+
ds:hasModifier ds:global.modifier.surface3, ds:global.modifier.surface2, ds:global.modifier.surface1.
|
|
@@ -6,7 +6,6 @@ ds:global.pattern.field a ds:Pattern;
|
|
|
6
6
|
ds:name "Field";
|
|
7
7
|
ds:summary "A form field is the unit that pairs a single input with the surrounding meaning a user needs to act on it: a label naming what is being asked, optional descriptive guidance, the input itself, and validation feedback when an entry is rejected. It is the common frame every concrete form control adopts so that labelling, help text, optionality and error reporting behave the same across a form.";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "The shared frame for a single form control.\n\n\n\n### When to use\n\n- Whenever a form collects one value from the user and needs to label it, optionally describe it, and report validation outcomes consistently.\n\n\n\n### When not to use\n\n- For purely presentational, non-collecting controls (no value, no validation).\n\n- To group several fields — that is the job of a form section/group, not a single Field.";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:global;
|
|
@@ -6,7 +6,6 @@ ds:global.pattern.form_login a ds:Pattern;
|
|
|
6
6
|
ds:name "FormLogin";
|
|
7
7
|
ds:summary "To document the login form as a DS pattern. \nThe work done so far: [https://www.figma.com/design/bAe7ONHLn3WJBiPLiTudui/25.10-User-Registration---Identity?node-id=212-15282&t=8FZE7TjZd1UbgIaB-1](https://www.figma.com/design/bAe7ONHLn3WJBiPLiTudui/25.10-User-Registration---Identity?node-id=212-15282&t=8FZE7TjZd1UbgIaB-1)\n\nTo move the content in here, and the visuals in [https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=4270-704&t=pOWv0N54d7lgIhg3-1](https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=4270-704&t=pOWv0N54d7lgIhg3-1)";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:global.
|