@canonical/design-system 0.44.0 → 0.47.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 -1
- package/data/apps/component/inline_panel.ttl +17 -0
- package/data/apps/{subcomponent → component}/log.ttl +1 -1
- package/data/apps/component/navigation.ttl +1 -1
- package/data/apps/component/notification.ttl +1 -1
- package/data/apps/component/side_navigation.ttl +50 -6
- package/data/apps/group/notifications.ttl +1 -1
- package/data/apps/layout/application_layout.ttl +1 -1
- package/data/apps/layout/content_layout.ttl +2 -3
- package/data/apps/layout/empty_layout.ttl +1 -1
- package/data/apps/layout/empty_state.ttl +1 -1
- package/data/apps/layout/login_layout.ttl +12 -0
- package/data/apps/layout/side_panel_form_layout.ttl +13 -0
- package/data/apps/pattern/action_bar.ttl +2 -2
- package/data/apps/pattern/code_diff.ttl +1 -1
- package/data/apps/pattern/data_views.ttl +85 -0
- package/data/apps/pattern/datatable.ttl +20 -91
- package/data/apps/pattern/destructive_modal.ttl +1 -1
- package/data/apps/pattern/drawer.ttl +1 -1
- package/data/apps/pattern/notification_center.ttl +2 -2
- package/data/apps/pattern/page_header.ttl +58 -0
- package/data/apps/pattern/side_panel.ttl +258 -10
- package/data/apps/subcomponent/data_table-action_bar.ttl +8 -8
- package/data/apps/subcomponent/data_table-body_cell.ttl +26 -26
- package/data/apps/subcomponent/data_table-group_header_row.ttl +8 -8
- package/data/apps/subcomponent/data_table-header_cell.ttl +13 -13
- package/data/apps/subcomponent/data_table-pagination_bar.ttl +11 -11
- package/data/apps/subcomponent/data_table-persistent_selection.ttl +10 -10
- package/data/apps/subcomponent/data_table-settings_menu.ttl +15 -15
- package/data/apps/subcomponent/data_views-filters.ttl +13 -0
- package/data/apps/subcomponent/data_views-saved_views.ttl +13 -0
- package/data/apps/subcomponent/data_views-sort_panel.ttl +13 -0
- package/data/apps/subcomponent/drawer-content.ttl +1 -1
- package/data/apps/subcomponent/drawer-footer.ttl +1 -1
- package/data/apps/subcomponent/drawer-header.ttl +1 -1
- package/data/apps/subcomponent/side_navigation-content.ttl +13 -0
- package/data/apps/subcomponent/side_navigation-context_switcher.ttl +53 -0
- package/data/apps/subcomponent/side_navigation-item.ttl +80 -0
- package/data/apps/subcomponent/side_navigation-item_group.ttl +13 -0
- package/data/apps/subcomponent/side_panel-content.ttl +2 -2
- package/data/apps/subcomponent/side_panel-footer.ttl +196 -3
- package/data/apps/subcomponent/side_panel-header.ttl +212 -3
- package/data/apps_anbox/component/theme_switcher.ttl +1 -1
- package/data/apps_anbox/pattern/side_menu.ttl +0 -1
- package/data/{tagcategory/lpupstream.ttl → apps_identity.ttl} +2 -2
- package/data/apps_landscape/component/checkbox_group.ttl +24 -24
- package/data/apps_landscape/component/code_editor.ttl +35 -35
- package/data/apps_landscape/component/cron_schedule.ttl +4 -4
- package/data/apps_landscape/component/expandable_radio_group.ttl +47 -47
- package/data/apps_landscape/component/expandable_truncation.ttl +20 -20
- package/data/apps_landscape/component/form_section.ttl +4 -4
- package/data/apps_landscape/component/gpg_key_field.ttl +27 -27
- package/data/apps_landscape/component/grouped_select.ttl +25 -25
- package/data/apps_landscape/component/loading_state.ttl +8 -8
- package/data/apps_landscape/component/managed_file_input.ttl +18 -18
- package/data/apps_landscape/component/multi_select_field.ttl +50 -50
- package/data/apps_landscape/component/password_constraints.ttl +1 -1
- package/data/apps_landscape/component/progress_bar.ttl +20 -20
- package/data/apps_landscape/component/read_only_field.ttl +15 -15
- package/data/apps_landscape/component/search_help_popup.ttl +10 -10
- package/data/apps_landscape/component/search_query_editor.ttl +33 -33
- package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
- package/data/apps_landscape/pattern/content_blocks.ttl +20 -20
- package/data/apps_landscape/pattern/dashboard_page_composition.ttl +37 -37
- package/data/apps_landscape/pattern/delivery_scheduling.ttl +6 -6
- package/data/apps_landscape/pattern/form_field_help.ttl +28 -28
- package/data/apps_landscape/pattern/header_search_controls.ttl +41 -41
- package/data/apps_landscape/pattern/ignorable_notification.ttl +16 -16
- package/data/apps_landscape/pattern/information_grid.ttl +14 -14
- package/data/apps_landscape/pattern/instance_association.ttl +5 -5
- package/data/apps_landscape/pattern/process_flow.ttl +11 -11
- package/data/apps_landscape/pattern/progressively_expandable_table.ttl +32 -32
- package/data/apps_landscape/pattern/recurring_schedule.ttl +3 -3
- package/data/apps_landscape/pattern/responsive_action_group.ttl +12 -12
- package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
- package/data/apps_landscape/pattern/responsive_table_filters.ttl +11 -11
- package/data/apps_landscape/pattern/side_panel_form_actions.ttl +40 -40
- package/data/apps_landscape/pattern/sortable_list.ttl +14 -14
- package/data/apps_landscape/pattern/table_filter.ttl +57 -57
- package/data/apps_landscape/pattern/table_filter_chips.ttl +67 -67
- package/data/apps_landscape/pattern/table_pagination.ttl +63 -63
- package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +22 -22
- package/data/apps_landscape/subcomponent/bold_substring.ttl +4 -4
- package/data/apps_landscape/subcomponent/inline_cell_input.ttl +8 -8
- package/data/apps_landscape/subcomponent/label_with_description.ttl +14 -14
- package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +8 -8
- package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
- package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +12 -12
- package/data/apps_launchpad/component/avatar.ttl +2 -2
- package/data/apps_launchpad/component/badge.ttl +2 -2
- package/data/apps_launchpad/component/breadcrumbs.ttl +1 -1
- package/data/apps_launchpad/component/button.ttl +2 -2
- package/data/apps_launchpad/component/checkbox_input.ttl +4 -4
- package/data/apps_launchpad/component/combobox.ttl +2 -2
- package/data/apps_launchpad/component/drawer.ttl +4 -4
- package/data/apps_launchpad/component/modal.ttl +4 -12
- package/data/apps_launchpad/component/radio_input.ttl +5 -5
- package/data/apps_launchpad/component/select_input.ttl +1 -1
- package/data/apps_launchpad/component/switch.ttl +5 -5
- package/data/apps_launchpad/component/text_input.ttl +8 -8
- package/data/apps_launchpad/component/textarea_input.ttl +10 -10
- package/data/apps_launchpad/component/tooltip.ttl +3 -3
- package/data/apps_launchpad/subcomponent/combobox-loading.ttl +2 -2
- package/data/apps_launchpad/subcomponent/combobox-search.ttl +4 -4
- package/data/apps_launchpad/subcomponent/description_list-item.ttl +1 -1
- package/data/apps_launchpad/subcomponent/modal-content.ttl +2 -2
- package/data/apps_lxd/component/back_link.ttl +1 -1
- package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
- package/data/apps_lxd/component/doc_link.ttl +2 -2
- package/data/apps_lxd/component/meter.ttl +5 -5
- package/data/apps_lxd/component/output_field.ttl +2 -3
- package/data/apps_lxd/component/rename_header.ttl +15 -15
- package/data/apps_lxd/component/tab_links.ttl +4 -4
- package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +2 -2
- package/data/apps_lxd/view/network_topology.ttl +3 -4
- package/data/apps_portal/layout/details_view.ttl +0 -1
- package/data/{apps_workplaceengineering → apps_workplace}/component/complex_multi_select.ttl +3 -3
- package/data/{apps_workplaceengineering → apps_workplace}/component/label-highlight.ttl +5 -6
- package/data/apps_workplace/component/org_chart.ttl +12 -0
- package/data/{apps_workplaceengineering → apps_workplace}/component/rule.ttl +2 -2
- package/data/{apps_workplaceengineering → apps_workplace}/component/skip_link.ttl +2 -2
- package/data/{apps_workplaceengineering → apps_workplace}/component/theme_switcher.ttl +3 -3
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/callout_numbers_card.ttl +4 -4
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/confirmation_modal.ttl +2 -2
- package/data/apps_workplace/pattern/org_event_card.ttl +12 -0
- package/data/apps_workplace/subcomponent/multi_select_input.ttl +12 -0
- package/data/{apps_workplaceengineering.ttl → apps_workplace.ttl} +2 -2
- package/data/concept/Accessibility.ttl +9 -0
- package/data/concept/Breakpoints.ttl +9 -0
- package/data/concept/Design-tokens-Overview.ttl +10 -0
- package/data/concept/Filtering-patterns.ttl +10 -0
- package/data/concept/Foundations-Baseline.ttl +0 -1
- package/data/concept/Foundations-Color.ttl +10 -0
- package/data/concept/Foundations-Density--the-form-channel.ttl +0 -1
- package/data/concept/Foundations-Grid--Layout.ttl +2 -3
- package/data/concept/Foundations-Spacing/-Element-vs-container-owned.ttl +0 -1
- package/data/concept/Foundations-Spacing.ttl +0 -1
- package/data/concept/Foundations-Surfaces.ttl +1 -2
- package/data/concept/Foundations-Typography.ttl +1 -2
- package/data/concept/How-to-choose-between-question-mark-and-information-icon.ttl +10 -0
- package/data/concept/How-to-differentiate-types-of-UI-blocks-.ttl +3 -4
- package/data/concept/How-to-indicate-required-fields-in-forms.ttl +1 -2
- package/data/concept/How-to-support-modifiers-in-a-component.ttl +0 -1
- package/data/concept/Intentional-friction.ttl +0 -1
- package/data/concept/Overflow.ttl +10 -0
- package/data/concept/Understanding-the-modifier-contract.ttl +0 -1
- package/data/documentation/layout/content_page_layout.ttl +13 -0
- package/data/documentation/layout/documentation_layout.ttl +2 -1
- package/data/documentation/layout/library_layout.ttl +13 -0
- package/data/documentation/layout/search_page_layout.ttl +13 -0
- package/data/documentation/pattern/library_side_navigation.ttl +4 -4
- package/data/global/component/accordion.ttl +5 -184
- package/data/global/component/announcement.ttl +4 -4
- package/data/global/component/avatar.ttl +1 -1
- package/data/global/component/badge.ttl +7 -9
- package/data/global/component/breadcrumbs.ttl +8 -7
- package/data/global/component/button.ttl +7 -25
- package/data/global/component/button_link.ttl +1 -1
- package/data/global/component/card.ttl +3 -12
- package/data/global/component/checkbox_field.ttl +1 -1
- package/data/global/component/chip.ttl +5 -6
- package/data/global/component/choices_field.ttl +11 -3
- package/data/global/component/code_snippet.ttl +1 -2
- package/data/global/component/color_field.ttl +1 -1
- package/data/global/component/combobox_field.ttl +2 -18
- package/data/global/component/contextual_menu.ttl +4 -6
- package/data/global/component/date_field.ttl +1 -1
- package/data/global/component/date_time_field.ttl +1 -1
- package/data/global/component/drag_and_drop_list.ttl +3 -3
- package/data/global/component/dropdown_button.ttl +2 -3
- package/data/global/component/file_upload_field.ttl +509 -60
- package/data/global/component/heading.ttl +4 -4
- package/data/global/component/hidden_field.ttl +1 -1
- package/data/global/component/icon.ttl +3 -3
- package/data/global/component/icon_button.ttl +35 -0
- package/data/global/component/icon_in_container.ttl +7 -2
- package/data/global/component/inline_code.ttl +1 -1
- package/data/{apps → global}/component/key_value_pair.ttl +3 -3
- package/data/global/component/keyboard_key.ttl +1 -1
- package/data/global/{pattern/navigation.ttl → component/link.ttl} +3 -3
- package/data/global/component/links.ttl +12 -0
- package/data/global/component/markdown_editor_field.ttl +13 -0
- package/data/global/component/mode_switcher.ttl +2 -2
- package/data/global/component/notification_toast.ttl +1 -1
- package/data/global/component/number_field.ttl +1 -1
- package/data/global/component/pagination.ttl +2 -2
- package/data/global/component/password_field.ttl +1 -1
- package/data/global/component/phone_field.ttl +1 -1
- package/data/global/component/popover.ttl +1 -1
- package/data/global/component/query_builder.ttl +12 -0
- package/data/global/component/range_field.ttl +1 -81
- package/data/global/component/rating_field.ttl +1 -1
- package/data/global/component/relative_timestamp.ttl +2 -1
- package/data/global/component/rich_choices_field.ttl +1 -1
- package/data/global/component/rich_text_editor.ttl +12 -0
- package/data/global/component/rich_text_field.ttl +1 -1
- package/data/global/component/search_field.ttl +1 -1
- package/data/global/{subcomponent/markdown_input.ttl → component/segmented_control.ttl} +3 -3
- package/data/global/component/segmented_control_field.ttl +1 -1
- package/data/global/component/select_field.ttl +1 -1
- package/data/global/component/switch_field.ttl +1 -1
- package/data/global/component/table.ttl +4 -4
- package/data/global/component/tabs.ttl +1 -1
- package/data/global/component/tag.ttl +2 -2
- package/data/global/component/text_field.ttl +1 -1
- package/data/global/component/textarea_field.ttl +1 -1
- package/data/global/component/tile.ttl +2 -5
- package/data/global/component/time_field.ttl +1 -1
- package/data/global/component/timestamp.ttl +2 -1
- package/data/global/component/tooltip.ttl +78 -120
- package/data/global/component/{data_tooltip.ttl → tooltip_data.ttl} +31 -23
- package/data/global/component/tooltip_wrapper.ttl +71 -15
- package/data/global/group/buttons.ttl +1 -8
- package/data/global/group/cards.ttl +2 -6
- package/data/global/group/code_snippets.ttl +1 -1
- package/data/{apps → global}/group/key_value_pairs.ttl +3 -3
- package/data/global/group/keyboard_keys.ttl +1 -1
- package/data/global/group/tiles.ttl +1 -1
- package/data/global/modifier/constructive.ttl +1 -1
- package/data/global/modifier/elevated.ttl +1 -1
- package/data/global/modifier/information.ttl +1 -1
- package/data/global/modifier_family/_emphasis.ttl +1 -2
- package/data/global/modifier_family/_other.ttl +1 -2
- package/data/global/modifier_family/surface.ttl +1 -1
- package/data/global/pattern/description_list.ttl +1 -1
- package/data/global/pattern/field.ttl +1 -1
- package/data/global/{component/markdown_field.ttl → pattern/filter.ttl} +3 -3
- package/data/global/pattern/form_login.ttl +1 -1
- package/data/global/pattern/modal.ttl +5 -21
- package/data/global/pattern/stepper.ttl +1 -1
- package/data/global/pattern/table_of_contents.ttl +1 -1
- package/data/global/pattern/timeline.ttl +14 -19
- package/data/global/pattern/top_navigation.ttl +13 -0
- package/data/global/subcomponent/accordion-item.ttl +3 -156
- package/data/global/subcomponent/card-content.ttl +1 -1
- package/data/global/subcomponent/card-footer.ttl +1 -1
- package/data/global/subcomponent/card-header.ttl +1 -1
- package/data/global/subcomponent/card-image.ttl +2 -2
- package/data/global/subcomponent/card-thumbnail.ttl +1 -1
- package/data/global/subcomponent/chart_legend.ttl +1 -1
- package/data/global/subcomponent/chart_legend_item.ttl +1 -1
- package/data/global/subcomponent/checkbox_input.ttl +1 -1
- package/data/global/subcomponent/color_input.ttl +1 -1
- package/data/global/subcomponent/combobox_input.ttl +2 -18
- package/data/global/subcomponent/date_input.ttl +1 -1
- package/data/global/subcomponent/date_time_input.ttl +1 -1
- package/data/global/subcomponent/field-description.ttl +1 -1
- package/data/global/subcomponent/field-label.ttl +1 -1
- package/data/global/subcomponent/file_upload_input.ttl +503 -50
- package/data/global/subcomponent/hidden_input.ttl +1 -1
- package/data/global/subcomponent/markdown_editor_input.ttl +13 -0
- package/data/global/subcomponent/modal-content.ttl +1 -1
- package/data/global/subcomponent/modal-footer.ttl +3 -19
- package/data/global/subcomponent/modal-header.ttl +5 -21
- package/data/global/subcomponent/number_input.ttl +1 -1
- package/data/global/subcomponent/password_input.ttl +1 -1
- package/data/global/subcomponent/phone_input.ttl +1 -1
- package/data/global/subcomponent/radio_input.ttl +1 -1
- package/data/global/subcomponent/range_input.ttl +3 -84
- package/data/global/subcomponent/rating_input.ttl +1 -1
- package/data/global/subcomponent/rich_text_input.ttl +1 -1
- package/data/global/subcomponent/search_input.ttl +3 -4
- package/data/global/subcomponent/segmented_control_input.ttl +1 -1
- package/data/global/subcomponent/select_input.ttl +1 -1
- package/data/global/subcomponent/spinner.ttl +2 -2
- package/data/global/subcomponent/switch_input.ttl +1 -1
- package/data/global/{layout/form_layout.ttl → subcomponent/text_editor_input.ttl} +2 -2
- package/data/global/subcomponent/text_input.ttl +1 -1
- package/data/global/subcomponent/textarea_input.ttl +1 -1
- package/data/global/subcomponent/tile-content.ttl +1 -1
- package/data/global/subcomponent/time_input.ttl +1 -1
- package/data/global/subcomponent/timeline-content.ttl +2 -2
- package/data/global/subcomponent/timeline-event.ttl +5 -5
- package/data/global/subcomponent/timeline-expansion_indicator.ttl +1 -1
- package/data/global/subcomponent/timeline-header.ttl +1 -1
- package/data/global/variant/tooltip_dense.ttl +87 -6
- package/data/global_dataviews/component/filter_button.ttl +487 -0
- package/data/global_dataviews/component/query_bar.ttl +1639 -0
- package/data/global_dataviews/component/query_chip.ttl +605 -0
- package/data/global_dataviews/group/query_chips.ttl +565 -0
- package/data/global_dataviews/modifier/exclusion.ttl +8 -0
- package/data/global_dataviews/modifier/inclusion.ttl +8 -0
- package/data/global_dataviews/modifier/match.ttl +8 -0
- package/data/global_dataviews/modifier/presence.ttl +8 -0
- package/data/global_dataviews/modifier/range.ttl +8 -0
- package/data/global_dataviews/modifier_family/condition.ttl +9 -0
- package/data/global_dataviews/subcomponent/query_chip-entry.ttl +186 -0
- package/data/global_dataviews/subcomponent/query_chip-segment.ttl +241 -0
- package/data/global_dataviews/subcomponent/query_input.ttl +1287 -0
- package/data/{tagcategory/documentation-stage.ttl → global_dataviews.ttl} +2 -2
- package/data/sites/component/store_card.ttl +92 -0
- package/data/sites/pattern/hero.ttl +295 -4
- package/data/{stores.ttl → sites_stores.ttl} +2 -2
- package/data/tag/designin-progress.ttl +9 -0
- package/data/tag/devbatch1.ttl +1 -1
- package/data/tag/devbatch2.ttl +1 -1
- package/data/tag/devbatch3.ttl +1 -1
- package/data/tag/{wpetriageupstream-and-deprecate.ttl → devdone.ttl} +3 -2
- package/data/tag/devin-progress.ttl +9 -0
- package/data/tag/{stylesready.ttl → devin-review.ttl} +3 -3
- package/data/tag/devpre-approved.ttl +9 -0
- package/data/tag/{devreactapproved.ttl → devreactdone.ttl} +3 -3
- package/data/tag/devreactpreapproved.ttl +1 -1
- package/data/tag/{wpeinital-implementation.ttl → devsveltepreapproved.ttl} +3 -3
- package/data/tag/divergent.ttl +1 -1
- package/data/tag/docscomplete.ttl +1 -1
- package/data/tag/global-docs-missing.ttl +1 -1
- package/data/tag/has-no-global-entry.ttl +1 -1
- package/data/tag/implementationcomplete.ttl +9 -0
- package/data/tag/lpto-be-upstreamed.ttl +1 -1
- package/data/tag/lptriageblocked-reqs-design.ttl +1 -1
- package/data/tag/lptriageno-upstream.ttl +1 -1
- package/data/tag/lptriagereimplement-and-deprecate.ttl +1 -1
- package/data/tag/lptriagereimplement-and-keep.ttl +1 -1
- package/data/tag/lptriageupstream-and-deprecate.ttl +1 -1
- package/data/tag/{needsdefinition.ttl → needscoredocumentation.ttl} +3 -3
- package/data/tag/needsdesign.ttl +9 -0
- package/data/tag/{needsdocumentation.ttl → needsfulldocumentation.ttl} +3 -3
- package/data/tag/needsimplementation.ttl +9 -0
- package/data/tag/needstriage.ttl +1 -1
- package/data/tag/specialadoption-docs.ttl +1 -1
- package/data/tag/triagedbacklog.ttl +2 -2
- package/data/tag/triagedrejected.ttl +2 -2
- package/data/tag/upstream-candidate.ttl +1 -1
- package/data/tag/upstream-compliant.ttl +1 -1
- package/data/tag/waiting-for-delta-review.ttl +1 -1
- package/data/tag/workplaceinitial-implementation.ttl +9 -0
- package/data/tag/workplacetriageupstream-and-deprecate.ttl +9 -0
- package/data/tagcategory/design--documentation-status.ttl +6 -0
- package/data/tagcategory/implementationnotes.ttl +6 -0
- package/data/tagcategory/implementationstatus.ttl +6 -0
- package/data/tagcategory/implementationworkflow.ttl +6 -0
- package/definitions/ontology.ttl +8 -2
- package/package.json +6 -6
- package/skills/adoption-a1-styles/SKILL.md +48 -7
- package/skills/adoption-a2-components/SKILL.md +125 -5
- package/skills/anatomy-author/SKILL.md +302 -95
- package/skills/anatomy-author/clarification-guidelines.md +150 -0
- package/skills/anatomy-author/completeness-checklist.md +224 -0
- package/skills/implement-component/SKILL.md +2 -2
- package/skills/map-journeys/SKILL.md +395 -0
- package/skills/map-journeys/journey-graph.example.html +298 -0
- package/skills/model-domains/SKILL.md +502 -0
- package/data/apps_workplaceengineering/pattern/event_timeline.ttl +0 -13
- package/data/apps_workplaceengineering/pattern/group_card.ttl +0 -13
- package/data/apps_workplaceengineering/pattern/travel_provider_card.ttl +0 -14
- package/data/apps_workplaceengineering/subcomponent/multi_select_input.ttl +0 -12
- package/data/concept/Question-mark-vs-information-icon.ttl +0 -11
- package/data/global/modifier/editable.ttl +0 -8
- package/data/global/modifier/focused.ttl +0 -8
- package/data/global/modifier/highlighted.ttl +0 -8
- package/data/global/modifier/loading.ttl +0 -8
- package/data/global/modifier/muted.ttl +0 -8
- package/data/global/modifier/wireframe.ttl +0 -8
|
@@ -10,5 +10,5 @@ ds:apps.pattern.drawer a ds:Pattern;
|
|
|
10
10
|
ds:usage "";
|
|
11
11
|
ds:guidelines "";
|
|
12
12
|
ds:tier ds:apps;
|
|
13
|
-
ds:documentationStage ds:tag.
|
|
13
|
+
ds:documentationStage ds:tag.needstriage;
|
|
14
14
|
ds:hasSubcomponent ds:apps.subcomponent.drawer-content, ds:apps.subcomponent.drawer-footer, ds:apps.subcomponent.drawer-header.
|
|
@@ -16,9 +16,9 @@ ds:apps.pattern.notification_center a ds:Pattern;
|
|
|
16
16
|
ds:name "datetimeFormat";
|
|
17
17
|
ds:summary "Represents variation along the X axis, refer to variant_guidelines for usage details.";
|
|
18
18
|
ds:propertyType "choice";
|
|
19
|
-
ds:
|
|
19
|
+
ds:optional "false";
|
|
20
20
|
ds:constraints "[normal, inverted]";
|
|
21
|
-
ds:
|
|
21
|
+
ds:defaultValue "normal"
|
|
22
22
|
], [
|
|
23
23
|
a ds:Property;
|
|
24
24
|
ds:name "avatarType";
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:apps.pattern.page_header a ds:Pattern;
|
|
6
|
+
ds:name "PageHeader";
|
|
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\nThe Page Header component should be always be used at the top of every page in an application.";
|
|
11
|
+
ds:guidelines "";
|
|
12
|
+
ds:tier ds:apps;
|
|
13
|
+
ds:documentationStage ds:tag.needstriage;
|
|
14
|
+
ds:hasProperty [
|
|
15
|
+
a ds:Property;
|
|
16
|
+
ds:name "Breadcrumbs";
|
|
17
|
+
ds:propertyType "boolean";
|
|
18
|
+
ds:optional "true";
|
|
19
|
+
ds:defaultValue "`false`"
|
|
20
|
+
], [
|
|
21
|
+
a ds:Property;
|
|
22
|
+
ds:name "Page image";
|
|
23
|
+
ds:propertyType "boolean";
|
|
24
|
+
ds:optional "true";
|
|
25
|
+
ds:defaultValue "`false`"
|
|
26
|
+
], [
|
|
27
|
+
a ds:Property;
|
|
28
|
+
ds:name "Page title";
|
|
29
|
+
ds:propertyType "text";
|
|
30
|
+
ds:optional "false"
|
|
31
|
+
], [
|
|
32
|
+
a ds:Property;
|
|
33
|
+
ds:name "Page title icon";
|
|
34
|
+
ds:propertyType "boolean";
|
|
35
|
+
ds:optional "true";
|
|
36
|
+
ds:defaultValue "`false`"
|
|
37
|
+
], [
|
|
38
|
+
a ds:Property;
|
|
39
|
+
ds:name "Page status tag";
|
|
40
|
+
ds:propertyType "boolean";
|
|
41
|
+
ds:optional "false";
|
|
42
|
+
ds:defaultValue "`false`"
|
|
43
|
+
], [
|
|
44
|
+
a ds:Property;
|
|
45
|
+
ds:name "Action bar";
|
|
46
|
+
ds:propertyType "list of objects";
|
|
47
|
+
ds:optional "true";
|
|
48
|
+
ds:defaultValue "`true`"
|
|
49
|
+
], [
|
|
50
|
+
a ds:Property;
|
|
51
|
+
ds:name "Meta data";
|
|
52
|
+
ds:propertyType "list of objects";
|
|
53
|
+
ds:optional "true"
|
|
54
|
+
];
|
|
55
|
+
ds:changeLog [
|
|
56
|
+
a ds:ChangeLogEntry;
|
|
57
|
+
ds:timestamp "2026-11-25T00:00:00.000+01:00"
|
|
58
|
+
].
|
|
@@ -4,44 +4,292 @@
|
|
|
4
4
|
|
|
5
5
|
ds:apps.pattern.side_panel a ds:Pattern;
|
|
6
6
|
ds:name "SidePanel";
|
|
7
|
-
ds:summary "A side panel is a non-modal surface docked to the
|
|
8
|
-
ds:anatomyDsl "
|
|
7
|
+
ds:summary "A side panel is a non-modal surface that overlaps the main area without changing its size, docked to the edge of the viewport, for work that accompanies the current view rather than interrupting it. The view behind stays visible, clickable and tabbable; there is no backdrop, no focus trap and no aria-modal, and focus moves into the panel on open but is never trapped.";
|
|
8
|
+
ds:anatomyDsl "\n# Authored 2026-09-17 from @canonical/react-ds-app\n# src/lib/SidePanel/styles.css on .ds.side-panel, which IS the <dialog> element.\n# A NON-MODAL dialog (show(), not showModal()): the top layer supplies nothing,\n# so there is no ::backdrop edge (a backdrop is only painted for modal dialogs,\n# and the application behind must stay interactive) and the panel carries its\n# own positioning, stacking and separation.\nnode:\n uri: apps.pattern.side_panel\n styles:\n # Declared only on [open], because a closed <dialog> is display: none by\n # user-agent rule and an unconditional display would leave it visible.\n layout.type: flex\n layout.direction: column\n # A non-modal dialog is not in the top layer, so docking is ours:\n # inset-block: 0 and inset-inline-end: 0 against the viewport's inline-end.\n layout.position: fixed\n layout.offset.block.start: 0\n layout.offset.block.end: 0\n layout.offset.inline.end: 0\n # The UA stylesheet sets position: absolute, margin: auto (which would\n # centre the panel), a ~3px border and 1em of padding — each reset\n # explicitly rather than left undeclared.\n spacing.external.block.start: 0\n spacing.external.block.end: 0\n spacing.external.inline.start: 0\n spacing.external.inline.end: 0\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n appearance.border.style: none\n # The inline padding lives here, not on the header, content and footer, so\n # all three sit inside one text column. The implementation reads\n # --dimension-300 through a component-local custom property; the roster's\n # spacing.* keys admit spacing. symbols only, so this is the literal value.\n spacing.internal.inline.start: 0.75rem\n spacing.internal.inline.end: 0.75rem\n # The UA's max-size caps are explicitly lifted (max-inline-size: none,\n # max-block-size: none) and its fit-content height reverted to auto so\n # inset-block spans the full viewport — nothing to bind.\n #\n # inline-size is min(--side-panel-inline-size, 100vw) with the component\n # token a 33.5rem literal: size.inline takes a token only and\n # design-tokens ships no size token, so it is not bound.\n #\n # Stacking is ours to manage (no top layer); matches the demo's Drawer.\n layout.stack: 1000\n appearance.radius: dimension.radius.medium\n # box-shadow: 0 0 32px 0 rgba(0,0,0,.2) — design-tokens has no shadow token\n # and no roster key takes one, so it is not bound. Unlike a modal, where the\n # backdrop separates, the shadow is what separates the panel from the live\n # page, so it cannot be dropped.\n #\n # The surface channels are read on the element itself, not at :root — a\n # custom property substitutes where it is declared, and at :root the\n # channels are unset.\n appearance.background: [surface.color.background, color.background]\n typography.color: [surface.color.text, color.text]\n # The dialog itself is the scroller, not the content pane — the scrollbar\n # sits at the panel's edge, inside the padding; the header and footer stay\n # visible by sticking to this scrollport.\n layout.overflow.block: auto\n layout.overflow.inline: hidden\n # Don't hand the scroll to the page behind once the panel bottoms out.\n layout.overscroll: contain\n # transform carries the slide-in/out; display is transitioned discretely so\n # the slide-out is seen before the dialog hides. No overlay in the list: it\n # only applies to top-layer elements. The translate itself is motion state,\n # not bound.\n motion.property: \"transform, display\"\n motion.duration: motion.duration.medium\n # The base rule ships the exit easing and [open] swaps to the enter one\n # (motion-easing-accelerate / motion-easing-decelerate); the roster has one\n # easing key, so the base is bound and the pair noted.\n motion.easing: motion.easing.accelerate\n # outline: none on :focus suppresses the container's focus ring for pointer\n # focus only (:focus-visible keeps it) — state-scoped, left unbound.\n edges:\n - node:\n uri: apps.subcomponent.side_panel-header\n relation:\n cardinality: \"1\" \n slotName: header\n - node:\n uri: apps.subcomponent.side_panel-content\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n uri: apps.subcomponent.side_panel-footer\n relation:\n cardinality: \"0..1\"\n slotName: footer";
|
|
9
9
|
ds:anatomyClassic "";
|
|
10
10
|
ds:usage "**When to use**\n\n- When showing details of a selected entity.\n- When there is work that accompanies the current view — inspecting or editing an item while the list/app behind stays visible and usable. \n- When the user needs to fill a form in applications (per Modal guidance: websites → modals, apps → side panels or full pages). Use side panels when there are multi-step flows that need layer/nesting.\n- Viewing an item's associated entities when the main listing page can't be filtered to just those.\n\n\n\n**When not to use:**\n\n- Interruptive moments needing an explicit decision — for confirmations, destructive actions, warnings, unsaved-changes alerts use Modal.\n- Anything requiring the page behind to be inert: the panel has no backdrop, no focus trap, no aria-modal; the application stays clickable and tabbable by design.\n- Opening from inside a modal — a side panel can trigger a modal, never the reverse.\n- When there is Information the user must acknowledge before continuing.";
|
|
11
11
|
ds:guidelines "";
|
|
12
12
|
ds:tier ds:apps;
|
|
13
|
-
ds:documentationStage ds:tag.
|
|
13
|
+
ds:documentationStage ds:tag.needscoredocumentation;
|
|
14
14
|
ds:hasSubcomponent ds:apps.subcomponent.side_panel-footer, ds:apps.subcomponent.side_panel-header, ds:apps.subcomponent.side_panel-content;
|
|
15
15
|
ds:hasTokenBinding [
|
|
16
16
|
a ds:TokenBinding;
|
|
17
17
|
ds:viaBlock ds:apps.pattern.side_panel;
|
|
18
18
|
ds:node "$root";
|
|
19
|
-
anatomy:styleKey "
|
|
19
|
+
anatomy:styleKey "appearance.radius";
|
|
20
20
|
anatomy:styleState "default";
|
|
21
21
|
ds:rank 1;
|
|
22
|
-
ds:consumesSymbol dt:dimension.
|
|
22
|
+
ds:consumesSymbol dt:dimension.radius.medium
|
|
23
23
|
], [
|
|
24
24
|
a ds:TokenBinding;
|
|
25
25
|
ds:viaBlock ds:apps.pattern.side_panel;
|
|
26
26
|
ds:node "$root";
|
|
27
|
-
anatomy:styleKey "
|
|
27
|
+
anatomy:styleKey "appearance.background";
|
|
28
28
|
anatomy:styleState "default";
|
|
29
29
|
ds:rank 1;
|
|
30
|
-
ds:consumesSymbol dt:
|
|
30
|
+
ds:consumesSymbol dt:surface.color.background
|
|
31
31
|
], [
|
|
32
32
|
a ds:TokenBinding;
|
|
33
33
|
ds:viaBlock ds:apps.pattern.side_panel;
|
|
34
34
|
ds:node "$root";
|
|
35
35
|
anatomy:styleKey "appearance.background";
|
|
36
36
|
anatomy:styleState "default";
|
|
37
|
+
ds:rank 2;
|
|
38
|
+
ds:consumesSymbol dt:color.background
|
|
39
|
+
], [
|
|
40
|
+
a ds:TokenBinding;
|
|
41
|
+
ds:viaBlock ds:apps.pattern.side_panel;
|
|
42
|
+
ds:node "$root";
|
|
43
|
+
anatomy:styleKey "typography.color";
|
|
44
|
+
anatomy:styleState "default";
|
|
37
45
|
ds:rank 1;
|
|
38
|
-
ds:consumesSymbol dt:surface.color.
|
|
46
|
+
ds:consumesSymbol dt:surface.color.text
|
|
39
47
|
], [
|
|
40
48
|
a ds:TokenBinding;
|
|
41
49
|
ds:viaBlock ds:apps.pattern.side_panel;
|
|
42
50
|
ds:node "$root";
|
|
43
|
-
anatomy:styleKey "
|
|
51
|
+
anatomy:styleKey "typography.color";
|
|
52
|
+
anatomy:styleState "default";
|
|
53
|
+
ds:rank 2;
|
|
54
|
+
ds:consumesSymbol dt:color.text
|
|
55
|
+
], [
|
|
56
|
+
a ds:TokenBinding;
|
|
57
|
+
ds:viaBlock ds:apps.pattern.side_panel;
|
|
58
|
+
ds:node "$root";
|
|
59
|
+
anatomy:styleKey "motion.duration";
|
|
44
60
|
anatomy:styleState "default";
|
|
45
61
|
ds:rank 1;
|
|
46
|
-
ds:consumesSymbol dt:
|
|
62
|
+
ds:consumesSymbol dt:motion.duration.medium
|
|
63
|
+
], [
|
|
64
|
+
a ds:TokenBinding;
|
|
65
|
+
ds:viaBlock ds:apps.pattern.side_panel;
|
|
66
|
+
ds:node "$root";
|
|
67
|
+
anatomy:styleKey "motion.easing";
|
|
68
|
+
anatomy:styleState "default";
|
|
69
|
+
ds:rank 1;
|
|
70
|
+
ds:consumesSymbol dt:motion.easing.accelerate
|
|
71
|
+
], [
|
|
72
|
+
a ds:TokenBinding;
|
|
73
|
+
ds:viaBlock ds:apps.subcomponent.side_panel-header;
|
|
74
|
+
ds:node "$root/title";
|
|
75
|
+
anatomy:styleKey "typography.size";
|
|
76
|
+
anatomy:styleState "default";
|
|
77
|
+
ds:rank 1;
|
|
78
|
+
ds:consumesSymbol dt:dimension.size.fontSize.500
|
|
79
|
+
], [
|
|
80
|
+
a ds:TokenBinding;
|
|
81
|
+
ds:viaBlock ds:apps.subcomponent.side_panel-header;
|
|
82
|
+
ds:node "$root/title";
|
|
83
|
+
anatomy:styleKey "typography.weight";
|
|
84
|
+
anatomy:styleState "default";
|
|
85
|
+
ds:rank 1;
|
|
86
|
+
ds:consumesSymbol dt:typography.weight.light
|
|
87
|
+
], [
|
|
88
|
+
a ds:TokenBinding;
|
|
89
|
+
ds:viaBlock ds:apps.subcomponent.side_panel-header;
|
|
90
|
+
ds:node "$root/title";
|
|
91
|
+
anatomy:styleKey "typography.fontFamily";
|
|
92
|
+
anatomy:styleState "default";
|
|
93
|
+
ds:rank 1;
|
|
94
|
+
ds:consumesSymbol dt:typography.fontFamily.default
|
|
95
|
+
], [
|
|
96
|
+
a ds:TokenBinding;
|
|
97
|
+
ds:viaBlock ds:apps.subcomponent.side_panel-header;
|
|
98
|
+
ds:node "$root/title";
|
|
99
|
+
anatomy:styleKey "typography.letterSpacing";
|
|
100
|
+
anatomy:styleState "default";
|
|
101
|
+
ds:rank 1;
|
|
102
|
+
ds:consumesSymbol dt:dimension.letterSpacing.default
|
|
103
|
+
], [
|
|
104
|
+
a ds:TokenBinding;
|
|
105
|
+
ds:viaBlock ds:global.component.button;
|
|
106
|
+
ds:node "$root";
|
|
107
|
+
anatomy:styleKey "appearance.border.width";
|
|
108
|
+
anatomy:styleState "default";
|
|
109
|
+
ds:rank 1;
|
|
110
|
+
ds:consumesSymbol dt:dimension.stroke.thickness.medium
|
|
111
|
+
], [
|
|
112
|
+
a ds:TokenBinding;
|
|
113
|
+
ds:viaBlock ds:global.component.button;
|
|
114
|
+
ds:node "$root";
|
|
115
|
+
anatomy:styleKey "appearance.background";
|
|
116
|
+
anatomy:styleState "default";
|
|
117
|
+
ds:rank 1;
|
|
118
|
+
ds:consumesSymbol dt:modifier.color.foreground.primary
|
|
119
|
+
], [
|
|
120
|
+
a ds:TokenBinding;
|
|
121
|
+
ds:viaBlock ds:global.component.button;
|
|
122
|
+
ds:node "$root";
|
|
123
|
+
anatomy:styleKey "appearance.background";
|
|
124
|
+
anatomy:styleState "default";
|
|
125
|
+
ds:rank 2;
|
|
126
|
+
ds:consumesSymbol dt:color.foreground.primary
|
|
127
|
+
], [
|
|
128
|
+
a ds:TokenBinding;
|
|
129
|
+
ds:viaBlock ds:global.component.button;
|
|
130
|
+
ds:node "$root";
|
|
131
|
+
anatomy:styleKey "appearance.background";
|
|
132
|
+
anatomy:styleState "hover";
|
|
133
|
+
ds:rank 1;
|
|
134
|
+
ds:consumesSymbol dt:color.foreground.primary.hover
|
|
135
|
+
], [
|
|
136
|
+
a ds:TokenBinding;
|
|
137
|
+
ds:viaBlock ds:global.component.button;
|
|
138
|
+
ds:node "$root";
|
|
139
|
+
anatomy:styleKey "appearance.background";
|
|
140
|
+
anatomy:styleState "active";
|
|
141
|
+
ds:rank 1;
|
|
142
|
+
ds:consumesSymbol dt:color.foreground.primary.active
|
|
143
|
+
], [
|
|
144
|
+
a ds:TokenBinding;
|
|
145
|
+
ds:viaBlock ds:global.component.button;
|
|
146
|
+
ds:node "$root";
|
|
147
|
+
anatomy:styleKey "appearance.background";
|
|
148
|
+
anatomy:styleState "disabled";
|
|
149
|
+
ds:rank 1;
|
|
150
|
+
ds:consumesSymbol dt:color.foreground.primary.disabled
|
|
151
|
+
], [
|
|
152
|
+
a ds:TokenBinding;
|
|
153
|
+
ds:viaBlock ds:global.component.button;
|
|
154
|
+
ds:node "$root";
|
|
155
|
+
anatomy:styleKey "appearance.border.color";
|
|
156
|
+
anatomy:styleState "default";
|
|
157
|
+
ds:rank 1;
|
|
158
|
+
ds:consumesSymbol dt:modifier.color.border
|
|
159
|
+
], [
|
|
160
|
+
a ds:TokenBinding;
|
|
161
|
+
ds:viaBlock ds:global.component.button;
|
|
162
|
+
ds:node "$root";
|
|
163
|
+
anatomy:styleKey "appearance.border.color";
|
|
164
|
+
anatomy:styleState "default";
|
|
165
|
+
ds:rank 2;
|
|
166
|
+
ds:consumesSymbol dt:color.border.highlighted
|
|
167
|
+
], [
|
|
168
|
+
a ds:TokenBinding;
|
|
169
|
+
ds:viaBlock ds:global.component.button;
|
|
170
|
+
ds:node "$root";
|
|
171
|
+
anatomy:styleKey "appearance.border.color";
|
|
172
|
+
anatomy:styleState "default";
|
|
173
|
+
ds:rank 3;
|
|
174
|
+
ds:consumesSymbol dt:color.border
|
|
175
|
+
], [
|
|
176
|
+
a ds:TokenBinding;
|
|
177
|
+
ds:viaBlock ds:global.component.button;
|
|
178
|
+
ds:node "$root";
|
|
179
|
+
anatomy:styleKey "appearance.border.color";
|
|
180
|
+
anatomy:styleState "disabled";
|
|
181
|
+
ds:rank 1;
|
|
182
|
+
ds:consumesSymbol dt:color.border.highlighted.disabled
|
|
183
|
+
], [
|
|
184
|
+
a ds:TokenBinding;
|
|
185
|
+
ds:viaBlock ds:global.component.button;
|
|
186
|
+
ds:node "$root";
|
|
187
|
+
anatomy:styleKey "typography.color";
|
|
188
|
+
anatomy:styleState "default";
|
|
189
|
+
ds:rank 1;
|
|
190
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
191
|
+
], [
|
|
192
|
+
a ds:TokenBinding;
|
|
193
|
+
ds:viaBlock ds:global.component.button;
|
|
194
|
+
ds:node "$root";
|
|
195
|
+
anatomy:styleKey "typography.color";
|
|
196
|
+
anatomy:styleState "default";
|
|
197
|
+
ds:rank 2;
|
|
198
|
+
ds:consumesSymbol dt:color.text
|
|
199
|
+
], [
|
|
200
|
+
a ds:TokenBinding;
|
|
201
|
+
ds:viaBlock ds:global.component.button;
|
|
202
|
+
ds:node "$root";
|
|
203
|
+
anatomy:styleKey "typography.color";
|
|
204
|
+
anatomy:styleState "disabled";
|
|
205
|
+
ds:rank 1;
|
|
206
|
+
ds:consumesSymbol dt:color.text.disabled
|
|
207
|
+
], [
|
|
208
|
+
a ds:TokenBinding;
|
|
209
|
+
ds:viaBlock ds:global.component.button;
|
|
210
|
+
ds:node "$root";
|
|
211
|
+
anatomy:styleKey "typography.font";
|
|
212
|
+
anatomy:styleState "default";
|
|
213
|
+
ds:rank 1;
|
|
214
|
+
ds:consumesSymbol dt:typography.text.primary
|
|
215
|
+
], [
|
|
216
|
+
a ds:TokenBinding;
|
|
217
|
+
ds:viaBlock ds:global.component.button;
|
|
218
|
+
ds:node "$root";
|
|
219
|
+
anatomy:styleKey "spacing.gap";
|
|
220
|
+
anatomy:styleState "default";
|
|
221
|
+
ds:rank 1;
|
|
222
|
+
ds:consumesSymbol dt:dimension.100
|
|
223
|
+
], [
|
|
224
|
+
a ds:TokenBinding;
|
|
225
|
+
ds:viaBlock ds:global.component.button;
|
|
226
|
+
ds:node "$root";
|
|
227
|
+
anatomy:styleKey "spacing.internal.inline.start";
|
|
228
|
+
anatomy:styleState "default";
|
|
229
|
+
ds:rank 1;
|
|
230
|
+
ds:consumesSymbol dt:dimension.200
|
|
231
|
+
], [
|
|
232
|
+
a ds:TokenBinding;
|
|
233
|
+
ds:viaBlock ds:global.component.button;
|
|
234
|
+
ds:node "$root";
|
|
235
|
+
anatomy:styleKey "spacing.internal.inline.end";
|
|
236
|
+
anatomy:styleState "default";
|
|
237
|
+
ds:rank 1;
|
|
238
|
+
ds:consumesSymbol dt:dimension.200
|
|
239
|
+
], [
|
|
240
|
+
a ds:TokenBinding;
|
|
241
|
+
ds:viaBlock ds:global.component.button;
|
|
242
|
+
ds:node "$root";
|
|
243
|
+
anatomy:styleKey "appearance.outline.color";
|
|
244
|
+
anatomy:styleState "focus";
|
|
245
|
+
ds:rank 1;
|
|
246
|
+
ds:consumesSymbol dt:modifier.color.focusRing
|
|
247
|
+
], [
|
|
248
|
+
a ds:TokenBinding;
|
|
249
|
+
ds:viaBlock ds:global.component.button;
|
|
250
|
+
ds:node "$root";
|
|
251
|
+
anatomy:styleKey "appearance.outline.color";
|
|
252
|
+
anatomy:styleState "focus";
|
|
253
|
+
ds:rank 2;
|
|
254
|
+
ds:consumesSymbol dt:color.focusRing
|
|
255
|
+
], [
|
|
256
|
+
a ds:TokenBinding;
|
|
257
|
+
ds:viaBlock ds:global.component.button;
|
|
258
|
+
ds:node "$root/icon";
|
|
259
|
+
anatomy:styleKey "typography.color";
|
|
260
|
+
anatomy:styleState "default";
|
|
261
|
+
ds:rank 1;
|
|
262
|
+
ds:consumesSymbol dt:modifier.color.icon
|
|
263
|
+
], [
|
|
264
|
+
a ds:TokenBinding;
|
|
265
|
+
ds:viaBlock ds:global.component.button;
|
|
266
|
+
ds:node "$root/icon";
|
|
267
|
+
anatomy:styleKey "typography.color";
|
|
268
|
+
anatomy:styleState "default";
|
|
269
|
+
ds:rank 2;
|
|
270
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
271
|
+
], [
|
|
272
|
+
a ds:TokenBinding;
|
|
273
|
+
ds:viaBlock ds:global.component.button;
|
|
274
|
+
ds:node "$root/icon";
|
|
275
|
+
anatomy:styleKey "typography.color";
|
|
276
|
+
anatomy:styleState "disabled";
|
|
277
|
+
ds:rank 1;
|
|
278
|
+
ds:consumesSymbol dt:color.icon.disabled
|
|
279
|
+
], [
|
|
280
|
+
a ds:TokenBinding;
|
|
281
|
+
ds:viaBlock ds:apps.subcomponent.side_panel-footer;
|
|
282
|
+
ds:node "$root";
|
|
283
|
+
anatomy:styleKey "appearance.border.top.width";
|
|
284
|
+
anatomy:styleState "default";
|
|
285
|
+
ds:rank 1;
|
|
286
|
+
ds:consumesSymbol dt:dimension.stroke.thickness.medium
|
|
287
|
+
], [
|
|
288
|
+
a ds:TokenBinding;
|
|
289
|
+
ds:viaBlock ds:apps.subcomponent.side_panel-footer;
|
|
290
|
+
ds:node "$root";
|
|
291
|
+
anatomy:styleKey "appearance.border.block.start.color";
|
|
292
|
+
anatomy:styleState "default";
|
|
293
|
+
ds:rank 1;
|
|
294
|
+
ds:consumesSymbol dt:color.border.muted
|
|
47
295
|
].
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
ds:apps.subcomponent.data_table-action_bar a ds:Subcomponent;
|
|
6
6
|
ds:name "DataTable.ActionBar";
|
|
7
|
-
ds:summary "When one or more
|
|
7
|
+
ds:summary "When one or more records are selected, the action bar appears at the bottom of the view, with the bulk actions defined for that view and a deselect button on the far right. With persistent selection, it also shows the number of selected items, such as \"5 Selected\". Use it to delete, export or tag several records at once.";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
9
|
ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3340-1631&t=8RN2Hpk8UX3gMX3u-4\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=4781-83072&t=2fO23I8WsyT0YVJ1-4";
|
|
10
10
|
ds:usage "The bulk action bar appears when one or more rows are selected, giving users a way to apply an operation to their entire selection at once. It eliminates the need to act on rows one at a time, which is especially valuable in enterprise applications where users regularly manage large datasets. For example, a system administrator might select 30 machines across several pages and archive them in a single step, rather than repeating the action on each row individually.\n\n## When to use\n\n- Users need to perform the same operation on multiple table rows at once.\n- The table is used in workflows where bulk operations such as archiving, exporting, deleting, or reassigning are common.\n\n## When not to use\n\n- The table does not support row selection. Use inline row actions in the action column instead.\n- The available bulk operations are unlikely to be used. A bulk action bar that appears on selection but offers only one rarely used action adds complexity without meaningful benefit.\n\n## Choosing bulk actions\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-12858&t=2PBanDq6QA2yNcI2-4\n\nThe designer defines which bulk actions appear in the bar for each table instance. Start by identifying what users need to do with multiple items at once. Consider what operations are common enough to justify a bulk workflow and whether the product’s backend supports performing them in batch. Not every action available on a single row needs a bulk equivalent. Focus on the actions that save users the most time when applied to many items at once.\n\nThe action bar supports a maximum of 7 bulk actions. The deselect (X) button does not count toward this limit. When more than 7 actions are needed, group related actions into expandable dropdown menus. A grouped button displays a dropdown caret and opens a popover menu above the action bar listing the sub-actions (for example, an “Export” button expanding into “Export as CSV”, “Export as JSON”, and “Export as PDF”). Grouping is also available as a design choice when fewer than 7 actions exist. If there is a logical grouping the designer wants to enforce, expandable menus can be used even when space is not a constraint.\n\n## Destructive actions\n\nDestructive actions such as “Delete” may be visually distinguished with a red text style, making them clearly identifiable in the action bar.";
|
|
11
11
|
ds:guidelines "# Interactions\n\n## Scroll offset\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-27553&t=2PBanDq6QA2yNcI2-4\n\nWhen the action bar is visible, the table must allow the user to scroll far enough that the last row sits above the action bar. Without this extra scroll space, the bottom rows can be hidden beneath the overlay and the user cannot see or interact with them.\n\n## Performing a bulk action\n\nSelecting a bulk action button performs the associated action on the current selection. The selection count displayed in the bar (for example, “5 Selected”) lets users confirm how many items will be affected. If persistent selection is enabled, users can also verify their selection via the persistent selection panel before confirming an action.\n\n## Deselect button\n\nSelecting the deselect (X) button clears the current selection and hides the action bar.\n\n## Grouped action expansion\n\nA grouped button displays a dropdown caret; clicking it opens a popover menu above the action bar listing the sub-actions.";
|
|
12
12
|
ds:tier ds:apps;
|
|
13
|
-
ds:documentationStage ds:tag.
|
|
13
|
+
ds:documentationStage ds:tag.needscoredocumentation;
|
|
14
14
|
ds:hasProperty [
|
|
15
15
|
a ds:Property;
|
|
16
16
|
ds:name "selection-mode";
|
|
17
17
|
ds:summary "Determines the selection paradigm. In simple selection mode, the selection indicator shows a count but is not interactive. In persistent selection mode, the selection indicator includes a chevron that opens the persistent selection panel.";
|
|
18
18
|
ds:propertyType "choice";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
19
|
+
ds:optional "true";
|
|
20
|
+
ds:constraints "Inherited from the data table. The bulk action bar only renders when selection-mode is not none and at least one row is selected."
|
|
21
21
|
], [
|
|
22
22
|
a ds:Property;
|
|
23
23
|
ds:name "bulk-actions";
|
|
24
|
-
ds:summary "The bulk actions shown in the bar. Each action defines a label and an optional icon. Actions can be standalone buttons or grouped into expandable dropdown menus. A grouped action defines a top-level button with a dropdown caret and a list of sub-actions that appear in a popover menu above the action bar.
|
|
24
|
+
ds:summary "The bulk actions shown in the bar. Each action defines a label and an optional icon. Actions can be standalone buttons or grouped into expandable dropdown menus. A grouped action defines a top-level button with a dropdown caret and a list of sub-actions that appear in a popover menu above the action bar.";
|
|
25
25
|
ds:propertyType "object";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
26
|
+
ds:optional "false";
|
|
27
|
+
ds:constraints "Inherited from the data table. Maximum of 7 top-level actions. The deselect button does not count toward this limit."
|
|
28
28
|
];
|
|
29
|
-
ds:parentComponent ds:apps.pattern.
|
|
29
|
+
ds:parentComponent ds:apps.pattern.data_views.
|
|
@@ -4,105 +4,105 @@
|
|
|
4
4
|
|
|
5
5
|
ds:apps.subcomponent.data_table-body_cell a ds:Subcomponent;
|
|
6
6
|
ds:name "DataTable.BodyCell";
|
|
7
|
-
ds:summary "The body cell is the data cell element that displays content in each row of the data table. It comes in four types: checkbox, text, icon + text, and action. Some cell types support inline editing with multiple edit modes, and the action cell type supports inline action buttons for row-level operations.\n\nThe body cell is distinct from the header cell. While the header cell handles column-level controls such as sorting, resizing, reordering, and pinning, the body cell is responsible for presenting data values and providing row-level interactions such as inline editing and row actions
|
|
7
|
+
ds:summary "The body cell is the data cell element that displays content in each row of the data table. It comes in four types: checkbox, text, icon + text, and action. Some cell types support inline editing with multiple edit modes, and the action cell type supports inline action buttons for row-level operations.\n\nThe body cell is distinct from the header cell. While the header cell handles column-level controls such as sorting, resizing, reordering, and pinning, the body cell is responsible for presenting data values and providing row-level interactions such as inline editing and row actions.";
|
|
8
8
|
ds:anatomyDsl "";
|
|
9
9
|
ds:anatomyClassic "https://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3340-1934&t=8RN2Hpk8UX3gMX3u-4\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3834-176770&t=2fO23I8WsyT0YVJ1-4";
|
|
10
10
|
ds:usage "Every piece of data the user sees in a table row is rendered inside a body cell. The cell type determines how content is displayed and what interactions are available. Choosing the right cell type for each column is one of the most important decisions when designing a table, because it affects how users read, scan, and interact with the data.\n\n## Cell type selection\n\n- Use the **text cell** as the default for any column displaying plain data values.\n- Use the **icon + text cell** to indicate the status or category of a value within a cell, such as status indicators.\n- Use the **checkbox cell** when the user needs to select one or more rows. Use a radio variant if the user may only select one item.\n- Use the **action cell** when the table needs row-level inline actions or table settings access.\n\n## Inline actions configuration\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-29792&t=2PBanDq6QA2yNcI2-4\n\n\n\nA maximum of 4 icon-only inline actions can appear per row. If there are more than 4, they overflow into a contextual menu. The designer can also choose to show only the contextual menu and skip icon-only buttons entirely.\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-30895&t=2PBanDq6QA2yNcI2-4\n\nIf there is only one action that cannot be represented as an icon, it can appear as a button instead. The button fills the available space in the action column. The text inside the button is centered. Keep the action column narrow to avoid the button looking disproportionate.\n\n\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-31718&t=2PBanDq6QA2yNcI2-4\n\nThe designer can choose whether inline actions are always visible or appear only on row hover. In hover-only mode, action icons appear only on the currently hovered row, which receives a light background tint. All other rows show no action icons.\n\n\n\nInline actions can be semantically colored. The most common example is “Delete”, which uses a red destructive color. Other actions use the default neutral icon color.\n\n## Inline editing\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-7270&t=2PBanDq6QA2yNcI2-4\n\nThe designer can set columns as editable, allowing users to change data values directly in the table without navigating to a separate form or detail view. Editing is configured at the column level, so all body cells in an editable column support editing. Inline editing works well when users need to make quick, small corrections to existing data, such as updating a name, changing a status, or fixing a typo. It is less appropriate when editing involves complex validation, multi-field dependencies, or when changes have significant consequences that require more context than a single cell can provide. In those cases, a dedicated edit form or detail panel is a better fit.\n\nNot every column needs to be editable. Focus on columns where users frequently need to make changes and where the data type fits one of the available edit modes.\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-7270&t=2PBanDq6QA2yNcI2-4\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-32440&t=2PBanDq6QA2yNcI2-4\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-33329&t=2PBanDq6QA2yNcI2-4\n\n### Edit modes\n\n- **Text edit** is for short, single-line values such as a hostname, an IP address, or a username. Use this as the default edit mode.\n- **Textarea edit** is for cells that contain longer text, such as a description or a note. The editing area is larger and overlaps cells below it.\n- **Select edit** is for cells where the value must be one of a predefined set of options, such as a status, a region, or a role. It shows a downward-pointing chevron to differentiate it from a text input. A dropdown menu opens below the cell with the selectable options.\n\n\n\n### Save behavior\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-34261&t=2PBanDq6QA2yNcI2-4\n\nBy default, editable cells use **auto-save**. In critical situations where saving needs to be a deliberate decision, the designer can choose **explicit save**. This mode shows “Cancel” and “Save” buttons beneath the cell. Use explicit save when the consequence of an incorrect value is high, such as changing a price, reassigning ownership, or modifying a configuration that affects other users.";
|
|
11
11
|
ds:guidelines "# Interactions\n\n## Cell editing\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-7270&t=2PBanDq6QA2yNcI2-4\n\nBy default, editable cells show an edit icon when the cell is hovered. The cursor changes to indicate the cell is interactive. Only the currently hovered cell shows the edit icon, and only one cell displays it at a time.\n\nThe designer can choose to always show the edit icon for editable cells. This makes it easier for the user to discover that a cell is editable. In this configuration, edit icons are visible in every editable cell across all rows, not only the hovered one.\n\n\n\n### Text edit mode\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3419-7270&t=2PBanDq6QA2yNcI2-4\n\nThe cell in edit mode has a focus ring and a drop shadow. It stays the same size and position as the cell itself. When the user starts editing, the entire text is selected so they can type to replace it. They can deselect the text by selecting a position within the cell and add to the existing text instead. This places a text cursor within the existing content.\n\n### Textarea edit mode\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-32440&t=2PBanDq6QA2yNcI2-4\n\nThe editing area extends vertically below the cell’s normal boundaries, covering parts of the rows beneath it. The textarea has the same drop shadow and focus ring as the text edit cell.\n\n### Select edit mode\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-33329&t=2PBanDq6QA2yNcI2-4\n\nThe cell in edit mode has the same focus ring and drop shadow as other edit modes. It stays the same size as the cell itself. A downward-pointing chevron differentiates it from a text input. A dropdown menu opens below the cell with selectable options, overlapping the rows beneath it.\n\n\n\n### Saving and canceling with auto-save (default)\n\nIf the user presses \"Enter\" or selects outside the cell after changing its content, the change is saved automatically. This should be an optimistic update: show the updated value in the UI immediately without waiting for server confirmation. If the server rejects the change, roll the value back and notify the user that the edit did not persist. The notification itself is not part of this component. It should be handled through the application's notification system. The user can cancel an edit by pressing \"Escape\" while the cell is in edit mode. This removes focus from the cell without saving.\n\n### Saving and canceling with explicit save\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-34261&t=2PBanDq6QA2yNcI2-4\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-35176&t=2PBanDq6QA2yNcI2-4\n\nA \"Cancel\" button and a \"Save\" button (green/primary style) appear directly below the editing cell. Pressing \"Escape\" cancels the edit, the same as in auto-save mode. Pressing \"Enter\" does not save the cell, because the user might expect it to create a new line. In explicit save mode, saving must happen through the \"Save\" button. If the user selects somewhere else without saving or canceling, a confirmation modal appears. The modal has the title \"Save changes made to cell?\" and the body text: \"Do you want to save the changes made to this cell? Otherwise any change made to the cell will be discarded.\" Below the body text, a \"Changes:\" section shows the before and after values (for example, \"youthful-yak → Hello world! :)\"). The modal has two buttons: \"Discard changes\" (secondary style) and \"Save changes\" (primary style).\n\n### Unloading with unsaved changes\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-36094&t=2PBanDq6QA2yNcI2-4\n\nIf the user has an unsaved change and is about to leave the page (for example, closing the tab or window), interrupt the navigation and show a confirmation modal. The modal has the title \"Save changes made to cell before exiting?\" and the body text: \"Do you want to save the changes made to this cell before exiting? Otherwise any change made to the cell will be discarded.\" Below the body text, a \"Changes:\" section shows the before and after values (for example, \"youthful-yak → Hello world! :)\"). The modal has two buttons: \"Discard changes and exit\" (secondary style) and \"Save changes and exit\" (primary style).\n\n### Advanced cell type editing\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-37008&t=2PBanDq6QA2yNcI2-4\n\nIf the underlying data is compatible with the available edit modes (text, textarea, or select), more advanced custom cell types can also be edited inline. When a custom cell enters edit mode, it looks the same as any other editing cell. The custom rendering (for example, a percentage bar) is replaced with a standard text input showing the raw value, with the same focus ring and drop shadow styling.\n\n### Validation states\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-38135&t=2PBanDq6QA2yNcI2-4\n\nAn editable cell can have validation states. When active, the focus ring and background reflect the validation state (for example, a red focus ring and red-tinted background for an error). The validation message appears inline with an error icon beneath the editing cell.\n\n\n\n## Inline actions\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=3432-39095&t=2PBanDq6QA2yNcI2-4\n\nInline actions are icon-only actions at the end of the row in the action cell type. They share a column with the table settings icon in the header.\n\nEvery icon-only action button must have an appropriate `aria-label` and a tooltip that displays the label on hover. This label should match the one that would appear if the action were shown in a contextual menu.\n\nWhen actions overflow into a contextual menu, it appears as a dropdown anchored to the row. Each menu item displays an icon alongside its label. Destructive actions such as “Delete” are styled in red within the menu.\n\n## Checkbox and radio\n\nA checkbox cell can contain either a checkbox or a radio. A column must use either checkboxes or radios, not a mix.\n\nA header cell checkbox can have the partially selected state, to indicate that some but not all of the page’s rows have been selected. If radios are used, the header cell in that column is empty.";
|
|
12
12
|
ds:tier ds:apps;
|
|
13
|
-
ds:documentationStage ds:tag.
|
|
13
|
+
ds:documentationStage ds:tag.needscoredocumentation;
|
|
14
14
|
ds:hasProperty [
|
|
15
15
|
a ds:Property;
|
|
16
16
|
ds:name "cell-type";
|
|
17
17
|
ds:summary "The type of content the cell displays. Determines the available interactions and visual treatment.";
|
|
18
18
|
ds:propertyType "choice";
|
|
19
|
-
ds:
|
|
19
|
+
ds:optional "false";
|
|
20
20
|
ds:constraints "A column must use a single cell type.";
|
|
21
|
-
ds:
|
|
21
|
+
ds:defaultValue "text"
|
|
22
22
|
], [
|
|
23
23
|
a ds:Property;
|
|
24
24
|
ds:name "highlighted";
|
|
25
25
|
ds:summary "Whether the cell appears in a highlighted visual state instead of the default state.";
|
|
26
26
|
ds:propertyType "boolean";
|
|
27
|
-
ds:
|
|
27
|
+
ds:optional "true";
|
|
28
28
|
ds:constraints "Applies to text and icon+text cell types.";
|
|
29
|
-
ds:
|
|
29
|
+
ds:defaultValue "false"
|
|
30
30
|
], [
|
|
31
31
|
a ds:Property;
|
|
32
32
|
ds:name "editable";
|
|
33
33
|
ds:summary "Whether the cell supports inline editing.";
|
|
34
34
|
ds:propertyType "boolean";
|
|
35
|
-
ds:
|
|
35
|
+
ds:optional "true";
|
|
36
36
|
ds:constraints "Applies to text, icon+text, and compatible custom cell types only. Not available on checkbox or action cell types.";
|
|
37
|
-
ds:
|
|
37
|
+
ds:defaultValue "false"
|
|
38
38
|
], [
|
|
39
39
|
a ds:Property;
|
|
40
40
|
ds:name "edit-mode";
|
|
41
41
|
ds:summary "The editing interface used when the cell enters edit mode. Text is for short single-line values. Textarea is for longer multi-line values. Select is for values from a predefined set of options.";
|
|
42
42
|
ds:propertyType "choice";
|
|
43
|
-
ds:
|
|
43
|
+
ds:optional "true";
|
|
44
44
|
ds:constraints "Only applies when editable is true.";
|
|
45
|
-
ds:
|
|
45
|
+
ds:defaultValue "text"
|
|
46
46
|
], [
|
|
47
47
|
a ds:Property;
|
|
48
48
|
ds:name "select-options";
|
|
49
49
|
ds:summary "The set of predefined options shown in the select dropdown when the cell enters edit mode.";
|
|
50
50
|
ds:propertyType "list of text";
|
|
51
|
-
ds:
|
|
52
|
-
ds:
|
|
51
|
+
ds:optional "true";
|
|
52
|
+
ds:constraints "Required when edit-mode is select."
|
|
53
53
|
], [
|
|
54
54
|
a ds:Property;
|
|
55
55
|
ds:name "save-mode";
|
|
56
56
|
ds:summary "How changes are persisted. Auto-save saves on Enter or blur. Explicit save shows Cancel and Save buttons beneath the cell. Use explicit save when the consequence of an incorrect value is high.";
|
|
57
57
|
ds:propertyType "choice";
|
|
58
|
-
ds:
|
|
58
|
+
ds:optional "true";
|
|
59
59
|
ds:constraints "Only applies when editable is true.";
|
|
60
|
-
ds:
|
|
60
|
+
ds:defaultValue "auto-save"
|
|
61
61
|
], [
|
|
62
62
|
a ds:Property;
|
|
63
63
|
ds:name "always-show-edit-icon";
|
|
64
64
|
ds:summary "Whether the edit icon is always visible on editable cells or only shown on hover. When true, edit icons appear in every editable cell across all rows.";
|
|
65
65
|
ds:propertyType "boolean";
|
|
66
|
-
ds:
|
|
66
|
+
ds:optional "true";
|
|
67
67
|
ds:constraints "Only applies when editable is true.";
|
|
68
|
-
ds:
|
|
68
|
+
ds:defaultValue "false"
|
|
69
69
|
], [
|
|
70
70
|
a ds:Property;
|
|
71
71
|
ds:name "validation-state";
|
|
72
72
|
ds:summary "The current validation state of the cell. When active, the focus ring and background reflect the state (for example, a red focus ring and red-tinted background for an error).";
|
|
73
73
|
ds:propertyType "choice";
|
|
74
|
-
ds:
|
|
74
|
+
ds:optional "true";
|
|
75
75
|
ds:constraints "Only applies when editable is true.";
|
|
76
|
-
ds:
|
|
76
|
+
ds:defaultValue "none"
|
|
77
77
|
], [
|
|
78
78
|
a ds:Property;
|
|
79
79
|
ds:name "validation-message";
|
|
80
80
|
ds:summary "The inline validation message displayed beneath the editing cell with an error icon.";
|
|
81
81
|
ds:propertyType "text";
|
|
82
|
-
ds:
|
|
83
|
-
ds:
|
|
82
|
+
ds:optional "true";
|
|
83
|
+
ds:constraints "Only applies when validation-state is not none."
|
|
84
84
|
], [
|
|
85
85
|
a ds:Property;
|
|
86
86
|
ds:name "checkbox-mode";
|
|
87
87
|
ds:summary "Whether the cell uses a checkbox (multi-select) or radio (single-select) control. When radios are used, the header cell in that column is empty.";
|
|
88
88
|
ds:propertyType "choice";
|
|
89
|
-
ds:
|
|
89
|
+
ds:optional "true";
|
|
90
90
|
ds:constraints "Only applies when cell-type is checkbox. A column must use either checkboxes or radios, not a mix.";
|
|
91
|
-
ds:
|
|
91
|
+
ds:defaultValue "checkbox"
|
|
92
92
|
], [
|
|
93
93
|
a ds:Property;
|
|
94
94
|
ds:name "inline-actions";
|
|
95
95
|
ds:summary "The set of row-level actions displayed in the cell. Each action defines a label, an icon, an optional `aria-label`, and whether it is destructive.";
|
|
96
96
|
ds:propertyType "list of text";
|
|
97
|
-
ds:
|
|
98
|
-
ds:
|
|
97
|
+
ds:optional "true";
|
|
98
|
+
ds:constraints "Only applies when cell-type is action. Maximum of 4 icon-only actions before overflow to a contextual menu."
|
|
99
99
|
], [
|
|
100
100
|
a ds:Property;
|
|
101
101
|
ds:name "inline-actions-visibility";
|
|
102
102
|
ds:summary "Whether inline action icons are always visible or appear only on the currently hovered row.";
|
|
103
103
|
ds:propertyType "choice";
|
|
104
|
-
ds:
|
|
104
|
+
ds:optional "true";
|
|
105
105
|
ds:constraints "Only applies when cell-type is action.";
|
|
106
|
-
ds:
|
|
106
|
+
ds:defaultValue "always"
|
|
107
107
|
];
|
|
108
108
|
ds:parentComponent ds:apps.pattern.datatable.
|