@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
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
ds:apps.layout.application_layout a ds:Layout;
|
|
6
6
|
ds:name "ApplicationLayout";
|
|
7
|
-
ds:summary "";
|
|
7
|
+
ds:summary "The **Application Layout** is the structural framework of our web applications’ interfaces that defines the placement, behaviour, and responsiveness of application regions. It ensures spatial consistency, predictable navigation, and visual hierarchy across App-tier applications.\n\nThe App Layout answers four (4) questions:\n\n- What regions make up an application shell?\n- What capability does each region of the shell provide?\n- How do these regions relate with each other and behave within the shell?\n- What are the pros/cons of arrangement variants? Where do they break?\n\n \nThe App layout should not be used for web applications that use Sites layout.\n\n# **Rationale**\n\nCurrently, the application shell is being designed and implemented differently across the company. This specification sets out to standardise behaviour of regions, provide customisation options, and decision matrixes for when to use regions and their variants. It also records unresolved decisions as TBD so they can be validated before becoming system rules.\n\n# **Specification**\n\n## 1. Anatomy\n\nThe application shell is composed of four (4) top-level elements.\n\n\n\n\n\n\n\nTable 54\n\n\n\n## 2. App Shell elements\n\n### **2.1 Navigation**\n\nThe side navigation component (l-navigation) is used to provide persistent access to top-level sections and domains of the application.\n\n#### 2.1.1 Behaviour within the application shell\n\nThe application shell should have a predictable maximum allocation for the navigation component. At the desktop viewport, the navigation component takes up 240px width and can be manually collapsed by the user. It auto-collapses responsively (as shown below) as the [global viewport](https://docs.superhuman.com/d/_dTaVNZxkPrA/Layout-guidelines_sunVEqWG#Table-25_tup21oHi) of the application reduces: \n\nTable 56\n\n### **Secondary navigation**\n\n- Secondary navigation may appear transiently or persistently.\n- It is yet to be decided if the secondary navigation replaces the primary navigation screen allocation or should open beside it.\n - In the case that it is decided that the secondary navigation should open beside the primary, the secondary navigation should overlay the main area (l-main) rather than displacing it.\n - If the secondary navigation is pinned, it should replace the primary nav’s footprint, with the primary navigation transitioning to its collapsed state. This approach still has unanswered questions around its responsiveness.\n- Composition of the navigation and the interaction model for entering/exiting the secondary navigation state is to be defined as part of the Side Navigation component work.\n\n#### 2.1.2 Accessibility\n\nTo be defined.\n\n### **2.2 Announcement**\n\nThe [https://docs.superhuman.com/d/_dNyzE_TLZDh#UI-Blocks_tuwIHYhx](https://docs.superhuman.com/d/_dNyzE_TLZDh#UI-Blocks_tuwIHYhx) (l-announcement) is a persistent, high-visibility UI block used to communicate globally-relevant, high-priority messages to users without disrupting their immediate workflow. \n\nThe announcement component is an optional region. It might be persistent or dismissable, and shifts the space allocation of the application shell. It should only be used when necessary, as prescribed by [DE079: Notification System](https://docs.google.com/document/d/1avN-py4NmDzm3Wq8w58PtfRqeNd5-ctjeJ30eLaq1Nk/edit?tab=t.0).\n\n**TBD:** It’s yet to be finalised if the Announcement component should sit above the both navigation and main area, or only above the main area.\n\n\n\n\n\n### **2.3 Main Area**\n\nThe Main Area (l-main) is the primary dynamic workspace of an application shell. While the other app elements persist across pages to provide context and information, the main area dynamically renders the core content and feature tools relevant to the user's current view or task.\n\n\n\nThe Main Area can further be broken into multiple regions namely:\n\n- Page header\n- Primary content area\n- Panel (optional)";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps;
|
|
@@ -6,15 +6,14 @@ ds:apps.layout.content_layout a ds:Layout;
|
|
|
6
6
|
ds:name "ContentLayout";
|
|
7
7
|
ds:summary "";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps;
|
|
13
|
-
ds:documentationStage ds:tag.needsdesign;
|
|
14
12
|
ds:changeLog [
|
|
15
13
|
a ds:ChangeLogEntry;
|
|
16
14
|
ds:timestamp "2026-02-16T00:00:00.000+01:00";
|
|
17
15
|
ds:changeType "change"
|
|
18
16
|
];
|
|
17
|
+
ds:documentationStage ds:tag.needsdesign;
|
|
19
18
|
ds:grid "repeat( \n auto-fit, \n minmax(100px, 1fr) minmax(100px, 1fr) minmax(100px, 1fr) \n minmax(100px, 1fr) \n );";
|
|
20
19
|
ds:domain "the content of the view".
|
|
@@ -6,7 +6,6 @@ ds:apps.layout.side_panel_form_layout a ds:Layout;
|
|
|
6
6
|
ds:name "SidePanelFormLayout";
|
|
7
7
|
ds:summary "**Definition**\n\nForm layout is the set of rules that determines how a form’s elements (sections, section headings, fields, and the button group) are arranged within a container. It governs where each element sits on the grid, how wide it is, how fields are grouped, how much space separates them, and how the arrangement adapts as the container narrows.\n\nForm layout defines the structure of a form, not the behavior of its individual inputs. Its purpose is to make the reading order, grouping, and path to completion predictable, so that users can understand and complete a form the same way regardless of where it appears.\n\n**Draft spec link**\n\nOpen link \n\n\n\nThe side panel form layout is a contextual container that opens beside related content, primarily designed so that the underlying record stays visible while the user edits or creates it. This layout supports single-section, multi-section, and multi-step form structures.\n\n**When to use a Side Panel Form:**\n\n- **Low to medium complexity tasks:** It is best suited for tasks that do not require the user’s whole attention.\n- **Preserving context:** Use it when you need a low context interruption, allowing users to edit or create information alongside the record they are currently viewing.\n\n**When NOT to use a Side Panel Form:**\n\n- Do not use this layout for tasks that need the user’s whole attention. For highly complex, substantial tasks that require full focus, a full-page form should be used instead.";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps;
|
|
@@ -6,7 +6,6 @@ ds:apps.pattern.action_bar a ds:Pattern;
|
|
|
6
6
|
ds:name "ActionBar";
|
|
7
7
|
ds:summary "**Definition**\n\nAn action bar is a pattern that groups a set of controls directly related to the entire current view or a selected object within the view (e.g. a table, a side panel). The controls in an action bar can be task-oriented (examples) or otherwise (examples). Action bars reduce cognitive load by combining related actions in a predictable, easily accessible manner and in order of importance. \n\nFor the sake of simplicity, sort, group, toggle, search and filter actions have been excluded from the scope of action bars.\n\n\n\n**How is an action bar different from a button group?**\n\nA button group is a structural variation of the broader action bar pattern. Other structural variations are menu group, icon button group and overdrive menu. All variations are detailed below in the ‘Action Bar Types’ section.";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps;
|
|
@@ -6,8 +6,8 @@ ds:apps.pattern.code_diff a ds:Pattern;
|
|
|
6
6
|
ds:name "CodeDiff";
|
|
7
7
|
ds:summary "";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps;
|
|
13
|
-
ds:documentationStage ds:tag.needsdesign
|
|
12
|
+
ds:documentationStage ds:tag.needsdesign;
|
|
13
|
+
ds:hasSubcomponent ds:apps.subcomponent.git_diff_viewer-code_diff_viewer, ds:apps.subcomponent.git_diff_viewer-file_header.
|
|
@@ -10,15 +10,14 @@ ds:apps.pattern.data_views a ds:Pattern;
|
|
|
10
10
|
ds:usage "## When to use\n\n- A collection users search, filter, sort or page through, as a table, cards or both\n\n## When not to use\n\n- A short, fixed list: use a table or a list on its own";
|
|
11
11
|
ds:guidelines "# States & interaction\n\n- Every part edits one view, so a change in one shows in every renderer.\n- A search or filter change returns to the first page.\n- The action bar shows only while records are selected; persistent selection spans pages.\n\n# Accessibility\n\n- Every part is labelled, and a change with no visible result is announced in one polite live region.\n- Without scripting, search, filters and pagination work as links and GET forms.";
|
|
12
12
|
ds:tier ds:apps;
|
|
13
|
-
ds:documentationStage ds:tag.needscoredocumentation;
|
|
14
13
|
ds:hasProperty [
|
|
15
14
|
a ds:Property;
|
|
16
15
|
ds:name "selection-mode";
|
|
17
16
|
ds:summary "Simple selection is page-scoped and dropped on navigation; persistent selection spans pages, sorting and filtering.";
|
|
18
17
|
ds:propertyType "choice";
|
|
19
18
|
ds:optional "true";
|
|
20
|
-
ds:
|
|
21
|
-
ds:
|
|
19
|
+
ds:defaultValue "none";
|
|
20
|
+
ds:constraints "Views with grouping and selection use persistent."
|
|
22
21
|
], [
|
|
23
22
|
a ds:Property;
|
|
24
23
|
ds:name "unique-identifier-field";
|
|
@@ -39,16 +38,16 @@ ds:apps.pattern.data_views a ds:Pattern;
|
|
|
39
38
|
ds:summary "Offset navigates to any page; keyset moves forward and back only.";
|
|
40
39
|
ds:propertyType "choice";
|
|
41
40
|
ds:optional "true";
|
|
42
|
-
ds:
|
|
43
|
-
ds:
|
|
41
|
+
ds:defaultValue "none";
|
|
42
|
+
ds:constraints "Keyset is incompatible with grouping and sorting."
|
|
44
43
|
], [
|
|
45
44
|
a ds:Property;
|
|
46
45
|
ds:name "page-size-options";
|
|
47
46
|
ds:summary "The page sizes offered; the first is the default.";
|
|
48
47
|
ds:propertyType "list of text";
|
|
49
48
|
ds:optional "true";
|
|
50
|
-
ds:
|
|
51
|
-
ds:
|
|
49
|
+
ds:defaultValue "50, 75, 100";
|
|
50
|
+
ds:constraints "Each value is a positive integer."
|
|
52
51
|
], [
|
|
53
52
|
a ds:Property;
|
|
54
53
|
ds:name "item-label";
|
|
@@ -82,4 +81,5 @@ ds:apps.pattern.data_views a ds:Pattern;
|
|
|
82
81
|
ds:propertyType "callback";
|
|
83
82
|
ds:optional "true"
|
|
84
83
|
];
|
|
84
|
+
ds:documentationStage ds:tag.needscoredocumentation;
|
|
85
85
|
ds:hasSubcomponent ds:apps.subcomponent.data_views-filters, ds:apps.subcomponent.data_views-sort_panel, ds:apps.subcomponent.data_views-saved_views, ds:apps.subcomponent.data_table-pagination_bar, ds:apps.subcomponent.data_table-action_bar.
|
|
@@ -10,7 +10,11 @@ ds:apps.pattern.datatable a ds:Pattern;
|
|
|
10
10
|
ds:usage "The data table is for presenting structured, tabular data in application-tier products. It is the right choice when users need to work with medium-to-large datasets that share a consistent structure, where each item has the same set of fields. The data table provides tools for navigating, organizing, and acting on that data, including sorting, pagination, row selection, inline editing, column management, grouping, and bulk actions. It is a complex component designed for workflows where data interaction is a core part of the user’s task, not a passive display.\n\n## When to use\n\n- The dataset has a consistent structure where each item shares the same set of fields.\n- Users need to scan or sort across many items.\n- Users need to perform actions on individual rows or in bulk, such as editing, deleting, or exporting.\n- The data is large enough that pagination, column management, or grouping would help users navigate it.\n\n## When not to use\n\n- The data is simple enough that a basic table or a list would suffice. If users only need to read a small, static dataset with no sorting, filtering, or row actions, a simpler component avoids unnecessary complexity.\n- Each item requires a rich visual representation, such as images, charts, or multi-line summaries. A card-based layout is better suited to this kind of content.\n- The dataset has only one or two attributes per item. A list or a key-value layout is more appropriate than a full table.\n- The primary task is comparison between two or three specific items rather than scanning a larger set. A dedicated comparison view serves this better than a table.\n\n## Sorting\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-4599&t=bxRtnsSQKBPwCGkE-4\n\n\n\nThe data table supports column-level sorting. Sorting is not enabled by default. The designer chooses which columns are sortable based on whether the sort order is obvious and helpful to the user. When a user sorts by a column, the table reorders its rows accordingly. Sorting follows a three-step cycle: ascending, descending, and back to unsorted.\n\nIf the table is paginated, sorting may reset the user to the first page and drop any active simple selection. If grouping is enabled, sorting applies only within each group, not across groups.\n\nRefer to [DataTable.HeaderCell](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8yifr5hfPa) for the full sorting interaction, header cell states, and edge cases such as sorting with pagination and double rows.\n\n\n\n\n\n## Pagination\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-5498&t=bxRtnsSQKBPwCGkE-4\n\nThe data table supports pagination to split large datasets into manageable pages. Two pagination modes are available: **offset pagination** for backends that support random-access page navigation, and **keyset pagination** for backends that can only determine whether more pages exist.\n\nThe designer chooses the pagination mode based on the backend’s capabilities. The pagination bar is sticky and always visible at the bottom of the table.\n\nRefer to [DataTable.PaginationBar](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-I82k_zrGpw) for the full anatomy, interaction details, and guidance on choosing page-size options.\n\n## Inline editing\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-7270&t=bxRtnsSQKBPwCGkE-4\n\n\n\nThe data table supports inline editing, allowing users to modify data values directly in the table without navigating to a separate form. Editing is configured at the column level. The designer chooses which columns are editable and which edit mode to use (text, textarea, or select).\n\nInline editing is best suited for quick, small corrections. For complex edits that involve validation, multi-field dependencies, or high-consequence changes, a dedicated edit form or detail panel is a better fit.\n\nRefer to [DataTable.BodyCell](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-xsvt3IgB-u) for the full editing interaction, save behavior options, and validation states.\n\n## Grouping\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-8159&t=bxRtnsSQKBPwCGkE-4\n\nThe data table supports grouping rows by a shared column value. When grouping is active, rows are organized under collapsible group header rows. Only columns with enumerated values (a small, known set of options) can be grouped. The user activates grouping through the table settings panel.\n\nA table can only be grouped by one column at a time. Grouping is incompatible with keyset pagination.\n\nRefer to [DataTable.GroupHeaderRow](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-2tgGCrnrBv) for the full grouping interaction, selection behavior within groups, and pagination considerations.\n\n## Row selection\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-11054&t=bxRtnsSQKBPwCGkE-4\n\nThe data table supports row selection through per-row checkboxes. Two selection modes are available: **simple selection** and **persistent selection**.\n\nSimple selection is page-scoped. The selection is dropped when the user navigates to a different table page, sorts, or applies any action that changes which rows are visible. Use simple selection when users only need to act on items visible on the current page.\n\nPersistent selection preserves the selection across page changes, sorting, and other navigation actions. It adds a persistent selection panel where users can review and manage their full selection. Use persistent selection when users need to build up a selection of items across multiple pages before performing a bulk action.\n\nRefer to the row selection section in Interactions for the full behavior, header checkbox states, shift selection, and performance considerations. Refer to the [DataTable.PersistentSelection](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Zx_Vr61cn4) for the panel UI and expanded view.\n\n## Bulk actions\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-12858&t=bxRtnsSQKBPwCGkE-4\n\nWhen row selection is enabled, the data table can show a bulk action bar at the bottom of the table. The bar appears when one or more rows are selected and provides action buttons for operations that apply to the entire selection, such as exporting, archiving, or deleting.\n\nThe designer defines which bulk actions are available for each table instance. The bar supports a maximum of 7 actions, with overflow grouped into expandable dropdown menus.\n\nRefer to the [DataTable.ActionBar](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Tccmneq3YD) for guidance on choosing bulk actions, destructive action styling, and interaction details.\n\n## Column management\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-11158&t=2PBanDq6QA2yNcI2-4\n\nUsers can customize the table layout by reordering, resizing, pinning, and hiding columns. These features are accessed through the header cell interactions (drag-and-drop reordering, resize handles) and the settings menu (reordering, pinning, visibility toggles). The settings menu is enabled by default and provides a centralized interface for all column customizations.\n\nColumn customizations are persisted in browser storage across sessions. Users can reset all customizations to their defaults through the settings menu.\n\nRefer to [DataTable.HeaderCell](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8yifr5hfPa) and [DataTable.SettingsMenu](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-wyr7Qk04SN) for the full interaction details and configuration options.\n\n## Density\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-12172&t=2PBanDq6QA2yNcI2-4\n\n\n\nDensity controls the vertical spacing of rows. Choose a density based on the user’s task and the amount of data they need to scan.\n\n- **Default** suits most use cases. It balances scannability with readability and provides enough vertical space for comfortable mouse interaction.\n- **Dense** works well when users need to compare many rows at once, such as scanning a log of recent events or triaging a long list of items. The reduced row height keeps more data visible without scrolling. Avoid dense spacing when rows contain complex content or when touch interaction is expected.\n- **Cozy** is a good fit when rows contain longer text values or when the table is not the only focus on the page. The extra breathing room reduces visual fatigue during extended reading. On mobile, cozy is the default density because it provides larger touch targets.\n- **Spacious** is appropriate when each row represents a distinct item the user evaluates individually, such as a list of candidates or detailed records. The generous spacing helps users focus on one row at a time. Avoid spacious spacing in tables with many rows, as it pushes content out of view. \n\n";
|
|
11
11
|
ds:guidelines "# Responsiveness\n\nThe data table follows a progressive responsive degradation strategy with five stages. Each stage activates only after the previous stage’s strategies are exhausted. This provides a structured path from full-width layouts down to narrow mobile viewports.\n\n## Stage 1: Fractional unit scaling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-13064&t=2PBanDq6QA2yNcI2-4\n\nColumns are generally defined in fractional units (`fr`) for their width. The columns scale according to their fractional unit and the content inside the minimum width. When the viewport grows wider, columns expand proportionally to fill the available space. When it shrinks, they compress until they reach their minimum widths.\n\nSome special columns, such as the checkbox column and the actions column, have a fixed width and are not defined with a fractional unit. These columns do not contain variable content, so they hug their content instead. In some cases, regular columns can also be defined with a fixed width rather than a fractional unit.\n\n\n\n## Stage 2: Double rows\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-13947&t=2PBanDq6QA2yNcI2-4\n\nIf the minimum width of all columns has been reached, the next possible responsiveness stage is double rows. This stage combines two columns into one by stacking a secondary value beneath a primary value in the same cell.\n\n### Configuration\n\nDouble rows are **disabled by default**. To enable them, the designer must define:\n\n- Which columns can be combined\n- Which column is the primary and which is the secondary in each pair\n- The order in which pairs combine, if there are multiple double-row pairs\n\nPairs are combined **one at a time** to meet space constraints, not all at once. Each time the minimum width is reached again, the next defined pair combines.\n\n### Combining behavior\n\nThe secondary column moves in with the primary one. The primary column stays in the same position while the secondary column disappears as a standalone column. It then appears as a second row within the primary column’s cells. The secondary value is shown in a lighter or smaller style beneath the primary value.\n\nThe combined column inherits the **minimum width of the primary column**. Sorting is only possible on the primary value.\n\nAfter a pair combines, the freed horizontal space allows the remaining columns to grow again. If the viewport continues to shrink, columns compress until the minimum width is reached once more. This triggers the next combination, if one is defined.\n\n**Interaction with user-hidden columns**\n\nIf either the primary or secondary column has been hidden by the user, they act as normal independent columns. Specific scenarios:\n\n- **Hiding the primary column while it is in a double row:** The secondary column becomes an independent column again.\n- **Hiding the secondary column before it would have combined:** No combining happens. The primary column continues as an independent column.\n- **Showing a previously hidden primary column when the current viewport would normally trigger combining:** The primary and secondary columns combine with each other.\n\n### When to use double rows\n\nUse double rows with caution. Combining columns reduces scannability and removes the ability to sort by the secondary value. It also requires the user to hold more information in their head, since two column headers map to one. Use double rows only where the two columns have a strong relationship and combining them genuinely makes sense.\n\n### \n\n## Stage 3: Hiding columns\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-15497&t=2PBanDq6QA2yNcI2-4\n\nAfter all defined double rows have been combined and the minimum width is reached again, the next stage is hiding columns one by one.\n\n### Configuration\n\nHiding columns is **disabled by default**. The designer must define whether any columns should be hidden, which columns to hide, and in what order.\n\nColumns are hidden **one at a time**. After a column is hidden, the remaining columns grow to fill the freed space. Only once the minimum width is reached again would the next column, if defined, be hidden.\n\n### Design considerations\n\nThe designer must consider whether the column being hidden is still relevant for the user at smaller breakpoints. Users should be able to override the hiding of columns through the table settings (showing and hiding columns).\n\n## Stage 4: Horizontal scrolling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-16138&t=2PBanDq6QA2yNcI2-4\n\nAt some point, even after combining all double rows and hiding columns, there is no more room for the table. The final responsiveness stage is horizontal scrolling.\n\nHorizontal scrolling is **enabled by default and cannot be disabled**. It must always be available as a fallback.\n\n### Column pinning during scroll\n\nBy default, the first data column and the actions column are pinned when horizontal scrolling is active. The actions column is always the last column when enabled, so pinning it keeps row-level actions visible while the user scrolls. The designer or developer can disable this default pinning behavior on a per-table basis, but the user cannot override it.\n\nIf the user has pinned additional columns, those columns are also pinned during horizontal scrolling.\n\n### Smart pinning behavior\n\nPinning is subject to a smart constraint. If too many columns are pinned, they could prevent the user from scrolling the table and lock the screen. When this would happen, columns are forcefully unpinned one by one until a meaningful portion of the table is viewable and scrollable again. This applies even to user-pinned columns and the first and last columns that are pinned by default. If pinning a column would lead to a locked-screen situation, pinning is disabled for that column.\n\n### Scroll indicators\n\nThicker borders, rather than drop shadows, visually separate pinned columns from the scrollable area. Horizontal and vertical scrolling can be active simultaneously, and drop shadows for both directions would be visually overwhelming. Borders handle the combined case more cleanly.\n\n### Mobile behavior\n\nOn mobile, screens are usually so narrow that pinned columns would leave almost no space to scroll the table. The smart pinning behavior therefore typically prevents pinning on mobile altogether. The table scrolls horizontally off the screen. In this case, drop shadows appear at the screen edges when content is scrolled underneath. These shadows indicate to the user that more content exists in that direction.\n\nPagination controls remain visible beneath the table on mobile (for example, items per page, total item count, and page navigation).\n\n## Stage 5: Alternative layout (optional)\n\nAs an optional final stage, a product team can choose to show data in a different format on smaller viewports, such as cards. This is not a feature of the table component itself. It is a product-specific implementation, as the requirements for alternative formats vary by product.\n\n## \n\n# Touchscreens\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-16990&t=2PBanDq6QA2yNcI2-4\n\nThe data table adapts its density, layout, and interaction patterns for touch devices and narrow viewports.\n\n## Default density\n\nOn touchscreens, the default density is “cozy.” This provides larger touch targets for actions inside the table. Inline action elements are sized up accordingly, and the table renders full-width within the mobile viewport.\n\n## Touch-for-hover\n\nSince hover states are unavailable on touch devices, the row hover effect should be triggered when the user selects a row by touch. The visual treatment is the same subtle background highlight used for hover on desktop.\n\n## Column resize and reorder via long press\n\nOn mobile, scrolling and dragging are the same gesture. Both column reordering and column resizing must be initiated with a long press to avoid ambiguity. The touch target for the column resize handle (the divider between column headers) should be slightly larger on mobile than on desktop to accommodate finger input.\n\n## \n\n# Interactions\n\n## Row hovering\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-17874&t=2PBanDq6QA2yNcI2-4\n\nA table body row can have a hover effect. When a row is hovered, it receives a distinct light background fill. All other rows retain the default white background.\n\nRow hovering is **enabled by default** but can be disabled.\n\n### Sub-element hover layering\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-18763&t=2PBanDq6QA2yNcI2-4\n\nIf an element within a hovered row has its own hover effect, that sub-element hover is rendered **on top of** the row-level hover. For example, an action icon such as an edit icon in the rightmost column shows its own, more prominent highlight layered over the row’s hover background. This makes sure that interactive elements within a row remain visually distinguishable even when the entire row is highlighted. Users can still identify exactly which element they are about to interact with.\n\n## Sticky header\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-19650&t=2PBanDq6QA2yNcI2-4\n\n### Default behavior\n\nThe header of a table is sticky at the top by default. This behavior can be overridden so that the header scrolls with the content instead.\n\nWhen sticky, the header row remains fixed at the top of the table while body rows scroll beneath it. It carries a layer 2 background and shows column names in bold text. A standard-weight bottom border visually separates the header from the body.\n\n### Scroll-state indicator (border thickness)\n\nWhen content is scrolled underneath the sticky header, the bottom border of the header row becomes thicker. When nothing is scrolled underneath, only the default border is shown.\n\nThis thicker border provides visual feedback that content is hidden behind the header. The design uses a border rather than a shadow because borders scale better to complex use cases.\n\n## Row selection\n\n### Overview\n\nThe data table supports two selection paradigms: **simple selection** and **persistent selection**. Both use per-row checkboxes and a header checkbox, but they differ in whether selections persist across navigation actions. When nothing is selected, neither the action bar nor the persistent selection panel is shown.\n\n### Simple selection\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-21110&t=2PBanDq6QA2yNcI2-4\n\nSimple selection allows users to select items on the current table page only. The selection is dropped if the user:\n\n- Applies a search or a filter.\n- Sorts the table by a different column.\n- Navigates to a different table page.\n- Takes any other action that would move selected items out of view.\n\nThis constraint exists because users cannot reasonably remember all selected items when those items are not visible and there is no way to view them all at once.\n\n\n\n### Persistent selection\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-23701&t=2PBanDq6QA2yNcI2-4\n\nPersistent selection adds a **persistent selection panel** to the bulk action bar. This panel persists selections across page changes, sorting, filtering, and searching. It allows users to build up a selection of items that may span different table pages. Users often need to perform bulk actions on items across multiple pages, so this model accommodates that workflow.\n\nWhen items are selected, a floating action bar appears at the bottom of the table. It shows the count (for example, “5 Selected”) and action buttons (Export, Archive, Assign, Tag, Delete), along with a deselect button (“X”).\n\nThe persistent selection panel UI, expanded view, deselection flows, and tooltips are documented in the [DataTable.PersistentSelection](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-Zx_Vr61cn4) panel sub-component document.\n\n### **Header checkbox** \n\nThe header checkbox has three states:\n\n1. **Unchecked**: no children are selected.\n2. **Indeterminate** (children selected): some items on the current page have been selected.\n3. **Fully checked**: all items on the current page have been selected.\n\nSelecting the header checkbox when it is unchecked or indeterminate transitions it to the fully checked state and selects all children. Selecting it when fully checked transitions it to the unchecked state and deselects all items on the current page.\n\n### Checkbox tooltips\n\nAll selection checkboxes display a tooltip on hover. The tooltip text changes based on the checkbox state.\n\nTable 7\n\n### Shift selection\n\nIf the user selects one item, holds Shift, and then selects a second item, all items between those two are selected as a contiguous block. This range selection works in both simple and persistent selection modes.\n\n### Performance considerations\n\nIf there are performance concerns related to the number of selected items or frontend pagination, a **hard limit** on the number of items a user can select may need to be considered.\n\n## Column pinning (visual behavior)\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-26040&t=2PBanDq6QA2yNcI2-4\n\nThe how-to-pin interaction and settings panel interactions are documented in the header cell and settings menu sub-component documents respectively.\n\nVisual indicator: 2px border\n\nOnce one or more columns are pinned, a **2px vertical border line** appears on the right edge of the pinned column group. This border provides a clear line where scrollable content passes underneath the pinned area.\n\nWhen **multiple columns** are pinned simultaneously, only the **rightmost pinned column** shows the indicator border.\n\n### Why a border and not a shadow\n\nBorders are used instead of shadows because shadows do not scale well when pinned columns are combined with pinned rows. The border approach handles the combination of a pinned first column, a pinned action column, and a pinned header row cleanly. Shadows look awkward in that compound state.\n\n### Combined pinned columns and pinned rows\n\nWhen the table is scrolled both vertically and horizontally, pinned columns, the pinned header row, and a pinned action column can all be active at the same time. All pinned areas use border indicators consistently. An example of this combined state includes:\n\n- A pinned first column on the left.\n- A pinned action column (with edit icons) on the far right.\n- A pinned header row at the top.\n\nBorders are applied to each pinned boundary, maintaining visual clarity across all axes of scroll.\n\n### Multiple pinned columns\n\nThere is no stated limit on the number of columns that can be pinned. Multiple pinned columns sit side by side on the left of the table. Only the rightmost one carries the 2px border indicator. However, the smart pinning behavior described in the responsiveness guidelines applies: if too many pinned columns would prevent the user from scrolling the table, columns are forcefully unpinned until the table is usable again.\n\n## Loading state\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-26686&t=2PBanDq6QA2yNcI2-4\n\nWhen data has not yet loaded, the table enters a loading state. In place of data and interactive elements, skeleton loading items are shown. These are gray rectangular bars that pulse between two shades of gray in an animation.\n\n### Skeleton loading items\n\nSkeleton items should reflect as much as possible about the table structure and expected data:\n\n- **Text cells:** Randomize the width of each skeleton bar within sensible minimum and maximum widths.\n- **Double-row cells:** Stack two skeleton bars if a cell is known to show content in two rows.\n- **Checkboxes:** Show a square skeleton item in place of each checkbox.\n- **Icons:** Show a square skeleton item in place of each icon.\n\nThe goal is for the skeleton layout to mirror the realistic structure of the populated table. Column count, cell arrangement, and content shape should all match so the transition from loading to loaded feels seamless.\n\n### Header treatment\n\nIf the table headers are not fetched from the backend and are already known to the frontend, show them immediately with real text rather than replacing them with skeleton items. Only the table body shows skeleton loading in this scenario.\n\nWhile loading, disable checkboxes and resize handles in the header row.\n\n### Vertical fill and gradient fade-out\n\nBecause the number of incoming rows is unknown, skeleton loading rows should fill at least the full height available to the table component. The table body should not be scrollable while loading.\n\nIf the table’s height is unconstrained, choose a sensible minimum height for the skeleton loading area.\n\nA gradient fade-out is applied at the bottom of the table body. It progressively transitions the skeleton rows to transparent, visually communicating that the row count is indeterminate.";
|
|
12
12
|
ds:tier ds:apps;
|
|
13
|
-
ds:
|
|
13
|
+
ds:changeLog [
|
|
14
|
+
a ds:ChangeLogEntry;
|
|
15
|
+
ds:timestamp "2026-03-24T00:00:00.000+01:00";
|
|
16
|
+
ds:changeType "change"
|
|
17
|
+
];
|
|
14
18
|
ds:hasProperty [
|
|
15
19
|
a ds:Property;
|
|
16
20
|
ds:name "columns";
|
|
@@ -133,9 +137,5 @@ ds:apps.pattern.datatable a ds:Pattern;
|
|
|
133
137
|
ds:propertyType "callback";
|
|
134
138
|
ds:optional "true"
|
|
135
139
|
];
|
|
136
|
-
ds:
|
|
137
|
-
ds:
|
|
138
|
-
a ds:ChangeLogEntry;
|
|
139
|
-
ds:timestamp "2026-03-24T00:00:00.000+01:00";
|
|
140
|
-
ds:changeType "change"
|
|
141
|
-
].
|
|
140
|
+
ds:documentationStage ds:tag.needscoredocumentation;
|
|
141
|
+
ds:hasSubcomponent ds:apps.subcomponent.data_table-persistent_selection, ds:apps.subcomponent.data_table-group_header_row, ds:apps.subcomponent.data_table-body_cell, ds:apps.subcomponent.data_table-settings_menu, ds:apps.subcomponent.data_table-header_cell.
|
|
@@ -6,22 +6,21 @@ ds:apps.pattern.notification_center a ds:Pattern;
|
|
|
6
6
|
ds:name "NotificationCenter";
|
|
7
7
|
ds:summary "";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
9
|
ds:usage "";
|
|
11
10
|
ds:guidelines "";
|
|
12
11
|
ds:tier ds:apps;
|
|
13
|
-
ds:documentationStage ds:tag.needstriage;
|
|
14
12
|
ds:hasProperty [
|
|
15
13
|
a ds:Property;
|
|
16
14
|
ds:name "datetimeFormat";
|
|
17
15
|
ds:summary "Represents variation along the X axis, refer to variant_guidelines for usage details.";
|
|
18
16
|
ds:propertyType "choice";
|
|
19
17
|
ds:optional "false";
|
|
20
|
-
ds:
|
|
21
|
-
ds:
|
|
18
|
+
ds:defaultValue "normal";
|
|
19
|
+
ds:constraints "[normal, inverted]"
|
|
22
20
|
], [
|
|
23
21
|
a ds:Property;
|
|
24
22
|
ds:name "avatarType";
|
|
25
23
|
ds:propertyType "choice";
|
|
26
24
|
ds:optional "false"
|
|
27
|
-
]
|
|
25
|
+
];
|
|
26
|
+
ds:documentationStage ds:tag.needstriage.
|
|
@@ -4,13 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
ds:apps.pattern.page_header a ds:Pattern;
|
|
6
6
|
ds:name "PageHeader";
|
|
7
|
-
ds:summary "
|
|
8
|
-
ds:anatomyDsl "
|
|
9
|
-
ds:anatomyClassic "
|
|
10
|
-
ds:usage "
|
|
11
|
-
ds:guidelines "";
|
|
7
|
+
ds:summary "The **Page Header** (l-main_header) is a highly customisable UI block used to orient users on new pages by clearly communicating where the user is within an application and providing immediate access to page-level context and actions. \n\n It is positioned at the top of a page’s Main area, and is mandatory for every application page.";
|
|
8
|
+
ds:anatomyDsl "Page header — vertical layout\n├── Breadcrumb row (optional)\n│ └── Breadcrumbs\n│\n└── Header row — horizontal layout\n ├── Title wrapper\n │ ├── Page image (optional)\n │ └── Text stack — vertical layout\n │ ├── Title row — horizontal layout\n │ │ ├── Page title\n │ │ ├── Title Info wrapper (optional)\n │ │ │ └── Information icon\n │ │ └── Title status tag (optional)\n │ └── Metadata slot (optional)\n │ └── Supporting text or custom content\n │\n └── Action bar (optional)\n ├── Primary action\n ├── Secondary action (repeatable)\n └── Tertiary action (repeatable)\n";
|
|
9
|
+
ds:anatomyClassic "Anatomy\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=14579-7657&t=WLa5VR7fRSsbUeyJ-4\n\nStyling\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=14579-7679&t=WLa5VR7fRSsbUeyJ-4";
|
|
10
|
+
ds:usage "**When to use**\n\n1. The Page Header component should be always be used at the top of every page in an application.\n2. The variant with breadcrumbs should be used on deeper pages that are not immediately accessible from the Side navigation bar.";
|
|
11
|
+
ds:guidelines "## Breadcrumbs and Page title relationship\n\n[Breadcrumbs](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-BXVe6mKJMd) provide navigational context and must never replace the page title. Every page should have a standalone title, with breadcrumbs provided alongside it (if applicable) in one of two approved patterns:\n\nTruncated Breadcrumb Path (Default)\n\nThe breadcrumb trail displays only up to the parent directory level, omitting the current page item to prevent redundant text. The Page Title serves as the visual final node.\n\n\n\nIdentifier vs. Descriptive Name (Dynamic Content)\n\nWhen displaying entity-driven or dynamic content (e.g., tickets, orders, records), the final breadcrumb node displays the unique record ID, while the Page Title presents the human-readable entity title.\n\n\n\n## Page title\n\n#### **Wording & length**\n\nPage title rules and length limits depend on whether the title is a static system title (designer-controlled) or dynamic user-generated content:\n\nStatic System Titles\n\n- Navigation Alignment: Titles should match the wording of the navigation item used to reach the page, regardless of whether it is a top-level item or a nested sub-item. The same rule applies if the page is triggered from a button or link.\n- Casing: Page titles must use sentence case except for proper nouns, acronyms, and system identifiers.\n- Length Constraint: Page titles should have a hard limit of 40 characters. Rewrite the copy if it's too long.\n\nDynamic & Entity Titles\n\n- There are no strict formatting limits on user-generated titles. The Title wrapper component already accounts for long titles. \n\n#### **Dynamic Updates & Router Integration**\n\n- Sync with routing state: Bind document.title updates directly to router state transitions rather than updating them via scattered component hooks.\n- Update titles on navigation start/end: Change document.title as soon as the route transition completes so screen readers announce the new view immediately upon arrival.\n- Handle dynamic/async data loading: When loading dynamic content (eg. item detail pages), update the title to a loading state first (e.g., Loading order details…) and then to the final entity name once data arrives.\n\n#### **Accessibility**\n\n- Display full title on hover: For accessibility purposes, truncated titles should show the full title in a tooltip on hover.\n- Announce route changes to assistive tech: In addition to updating <title>, trigger a visual or ARIA live region announcement so screen reader users know the page context shifted.\n\n## **Responsiveness strategy between the Title wrapper & Action bar**\n\n#### Overview & Layout Strategy\n\nThe Page Header component uses an Asymmetric Fluid Flex Layout (flex: 1 1 auto for the Title wrapper, flex: 0 0 auto for Action bar). Rather than splitting horizontal space equally (i.e a rigid 50%/50% grid), the Title wrapper (and specifically the page title) dynamically absorbs all available remaining horizontal space, while the Action bar occupies only its intrinsic content width.\n\n#### Dimensional Bounds & Thresholds\n\nTable 12\n\n#### Responsive Cascading Fallback Logic\n\nTo balance readability with keeping important page actions directly actionable, the heading layout gracefully degrades through 5 distinct stages as horizontal space contracts:\n\nTable 26\n\n**Stage A:**\n\n\n\n**Stage B:**\n\n\n\n**Stage C:**\n\n\n\n**Stage D:**\n\n\n\n**Stage E:**\n\n\n\n \n";
|
|
12
12
|
ds:tier ds:apps;
|
|
13
|
-
ds:
|
|
13
|
+
ds:changeLog [
|
|
14
|
+
a ds:ChangeLogEntry;
|
|
15
|
+
ds:timestamp "2026-11-25T00:00:00.000+01:00";
|
|
16
|
+
ds:changeType "change"
|
|
17
|
+
], [
|
|
18
|
+
a ds:ChangeLogEntry;
|
|
19
|
+
ds:timestamp "2026-11-30T00:00:00.000+01:00";
|
|
20
|
+
ds:changeType "decision"
|
|
21
|
+
];
|
|
14
22
|
ds:hasProperty [
|
|
15
23
|
a ds:Property;
|
|
16
24
|
ds:name "Breadcrumbs";
|
|
@@ -51,8 +59,7 @@ ds:apps.pattern.page_header a ds:Pattern;
|
|
|
51
59
|
ds:name "Meta data";
|
|
52
60
|
ds:propertyType "list of objects";
|
|
53
61
|
ds:optional "true"
|
|
54
|
-
]
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
ds:timestamp "2026-11-25T00:00:00.000+01:00"
|
|
62
|
+
], [
|
|
63
|
+
a ds:Property;
|
|
64
|
+
ds:optional "false"
|
|
58
65
|
].
|