@canonical/design-system 0.47.0 → 0.49.0-experimental.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/data/apps/component/file_tree.ttl +1 -2
- package/data/apps/component/inline_panel.ttl +2 -3
- package/data/apps/component/log.ttl +0 -1
- package/data/apps/component/navigation.ttl +0 -1
- package/data/apps/component/notification.ttl +0 -1
- package/data/apps/component/side_navigation.ttl +678 -5
- package/data/apps/component/skeleton_loading.ttl +0 -1
- package/data/apps/component/status_bar.ttl +0 -1
- package/data/apps/component/toolbar.ttl +0 -1
- package/data/apps/group/notifications.ttl +0 -1
- package/data/apps/layout/application_layout.ttl +1 -2
- package/data/apps/layout/content_layout.ttl +1 -2
- package/data/apps/layout/empty_layout.ttl +0 -1
- package/data/apps/layout/list_page_layout.ttl +0 -1
- package/data/apps/layout/login_layout.ttl +0 -1
- package/data/apps/layout/settings_page_layout.ttl +0 -1
- package/data/apps/layout/side_panel_form_layout.ttl +0 -1
- package/data/apps/layout/view_layout.ttl +0 -1
- package/data/apps/pattern/action_bar.ttl +0 -1
- package/data/apps/pattern/code_diff.ttl +2 -2
- package/data/apps/pattern/data_views.ttl +7 -7
- package/data/apps/pattern/datatable.ttl +7 -7
- package/data/apps/pattern/destructive_modal.ttl +0 -1
- package/data/apps/pattern/drawer.ttl +0 -1
- package/data/apps/pattern/keyboard_shortcuts.ttl +0 -1
- package/data/apps/pattern/notification_center.ttl +4 -5
- package/data/apps/pattern/page_header.ttl +17 -10
- package/data/apps/pattern/side_panel.ttl +219 -43
- package/data/apps/pattern/sidepanel_stacked.ttl +0 -1
- package/data/apps/subcomponent/data_table-action_bar.ttl +1 -1
- package/data/apps/subcomponent/data_table-body_cell.ttl +19 -19
- package/data/apps/subcomponent/data_table-group_header_row.ttl +1 -1
- package/data/apps/subcomponent/data_table-header_cell.ttl +11 -11
- package/data/apps/subcomponent/data_table-pagination_bar.ttl +7 -7
- package/data/apps/subcomponent/data_table-persistent_selection.ttl +2 -2
- package/data/apps/subcomponent/data_table-settings_menu.ttl +3 -3
- package/data/apps/subcomponent/data_views-filters.ttl +0 -1
- package/data/apps/subcomponent/data_views-saved_views.ttl +0 -1
- package/data/apps/subcomponent/data_views-sort_panel.ttl +0 -1
- package/data/apps/subcomponent/drawer-content.ttl +0 -1
- package/data/apps/subcomponent/drawer-footer.ttl +0 -1
- package/data/apps/subcomponent/drawer-header.ttl +0 -1
- package/data/apps/subcomponent/file_tree-node.ttl +0 -1
- package/data/apps/subcomponent/file_tree-search_box.ttl +13 -0
- package/data/apps/subcomponent/file_tree-tree_view.ttl +13 -0
- package/data/apps/subcomponent/git_diff_viewer-code_diff_viewer.ttl +13 -0
- package/data/apps/subcomponent/git_diff_viewer-file_header.ttl +13 -0
- package/data/apps/subcomponent/side_navigation-content.ttl +339 -3
- package/data/apps/subcomponent/side_navigation-context_switcher-field.ttl +18 -0
- package/data/apps/subcomponent/side_navigation-context_switcher-item_content.ttl +18 -0
- package/data/apps/subcomponent/side_navigation-context_switcher.ttl +172 -2
- package/data/apps/subcomponent/side_navigation-footer.ttl +270 -0
- package/data/apps/subcomponent/side_navigation-header.ttl +262 -0
- package/data/apps/subcomponent/side_navigation-item.ttl +115 -2
- package/data/apps/subcomponent/side_navigation-item_group.ttl +224 -2
- package/data/apps/subcomponent/side_navigation-primary_navigation.ttl +638 -0
- package/data/apps/subcomponent/side_navigation-secondary_navigation.ttl +646 -0
- package/data/apps/subcomponent/side_panel-content.ttl +45 -5
- package/data/apps/subcomponent/side_panel-footer.ttl +40 -8
- package/data/apps/subcomponent/side_panel-header.ttl +87 -111
- package/data/apps.ttl +2 -1
- package/data/apps_anbox/pattern/side_menu.ttl +5 -6
- package/data/apps_anbox.ttl +2 -1
- package/data/apps_debcrafters/component/deb_package_card.ttl +0 -1
- package/data/apps_debcrafters/component/example.ttl +0 -1
- package/data/apps_debcrafters/component/my_fancy_component.ttl +0 -1
- package/data/apps_debcrafters.ttl +2 -1
- package/data/apps_juju/pattern/single_select_multi_layered.ttl +0 -1
- package/data/apps_juju.ttl +2 -1
- package/data/apps_landscape/component/checkbox_group.ttl +26 -26
- package/data/apps_landscape/component/code_editor.ttl +32 -32
- package/data/apps_landscape/component/cron_schedule.ttl +2 -2
- package/data/apps_landscape/component/expandable_radio_group.ttl +18 -18
- package/data/apps_landscape/component/expandable_truncation.ttl +11 -11
- package/data/apps_landscape/component/form_section.ttl +2 -2
- package/data/apps_landscape/component/gpg_key_field.ttl +21 -21
- package/data/apps_landscape/component/grouped_select.ttl +23 -23
- package/data/apps_landscape/component/loading_state.ttl +6 -6
- package/data/apps_landscape/component/managed_file_input.ttl +13 -13
- package/data/apps_landscape/component/multi_select_field.ttl +44 -44
- package/data/apps_landscape/component/password_constraints.ttl +2 -2
- package/data/apps_landscape/component/progress_bar.ttl +15 -15
- package/data/apps_landscape/component/read_only_field.ttl +10 -10
- package/data/apps_landscape/component/search_help_popup.ttl +10 -10
- package/data/apps_landscape/component/search_query_editor.ttl +29 -29
- package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
- package/data/apps_landscape/pattern/content_blocks.ttl +16 -16
- package/data/apps_landscape/pattern/dashboard_page_composition.ttl +26 -26
- package/data/apps_landscape/pattern/delivery_scheduling.ttl +2 -2
- package/data/apps_landscape/pattern/form_field_help.ttl +12 -12
- package/data/apps_landscape/pattern/header_search_controls.ttl +26 -26
- package/data/apps_landscape/pattern/ignorable_notification.ttl +10 -10
- package/data/apps_landscape/pattern/information_grid.ttl +13 -13
- package/data/apps_landscape/pattern/instance_association.ttl +5 -5
- package/data/apps_landscape/pattern/process_flow.ttl +9 -9
- package/data/apps_landscape/pattern/progressively_expandable_table.ttl +29 -29
- package/data/apps_landscape/pattern/recurring_schedule.ttl +4 -4
- package/data/apps_landscape/pattern/responsive_action_group.ttl +11 -11
- package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
- package/data/apps_landscape/pattern/responsive_table_filters.ttl +9 -9
- package/data/apps_landscape/pattern/side_panel_form_actions.ttl +30 -30
- package/data/apps_landscape/pattern/sortable_list.ttl +11 -11
- package/data/apps_landscape/pattern/table_filter.ttl +40 -40
- package/data/apps_landscape/pattern/table_filter_chips.ttl +44 -44
- package/data/apps_landscape/pattern/table_pagination.ttl +48 -48
- package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +18 -18
- package/data/apps_landscape/subcomponent/bold_substring.ttl +6 -6
- package/data/apps_landscape/subcomponent/inline_cell_input.ttl +7 -7
- package/data/apps_landscape/subcomponent/label_with_description.ttl +10 -10
- package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +9 -9
- package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
- package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +14 -14
- package/data/apps_landscape.ttl +2 -1
- package/data/apps_launchpad/component/accordion.ttl +0 -1
- package/data/apps_launchpad/component/avatar.ttl +2 -2
- package/data/apps_launchpad/component/badge.ttl +2 -2
- package/data/apps_launchpad/component/button.ttl +2 -2
- package/data/apps_launchpad/component/combobox.ttl +2 -2
- package/data/apps_launchpad/component/description_list.ttl +1 -1
- package/data/apps_launchpad/component/drawer.ttl +0 -1
- package/data/apps_launchpad/component/link.ttl +0 -1
- package/data/apps_launchpad/component/markdown_editor.ttl +0 -1
- package/data/apps_launchpad/component/modal.ttl +6 -6
- package/data/apps_launchpad/component/pagination.ttl +0 -1
- package/data/apps_launchpad/component/popover.ttl +0 -1
- package/data/apps_launchpad/component/relative_timestamp.ttl +0 -1
- package/data/apps_launchpad/component/spinner.ttl +0 -1
- package/data/apps_launchpad/component/table.ttl +0 -1
- package/data/apps_launchpad/component/text_input.ttl +1 -1
- package/data/apps_launchpad/component/timestamp.ttl +0 -1
- package/data/apps_launchpad/component/tooltip.ttl +2 -2
- package/data/apps_launchpad/subcomponent/modal-content-body.ttl +0 -1
- package/data/apps_launchpad/subcomponent/modal-content-footer.ttl +0 -1
- package/data/apps_launchpad/subcomponent/modal-content-header-close_button.ttl +0 -1
- package/data/apps_launchpad/subcomponent/modal-content-header.ttl +0 -1
- package/data/apps_launchpad/subcomponent/modal-content.ttl +0 -1
- package/data/apps_launchpad/subcomponent/side_panel-content-body.ttl +0 -1
- package/data/apps_launchpad/subcomponent/side_panel-content-footer.ttl +0 -1
- package/data/apps_launchpad/subcomponent/side_panel-content-header-close_button.ttl +0 -1
- package/data/apps_launchpad/subcomponent/side_panel-content-header.ttl +0 -1
- package/data/apps_launchpad/subcomponent/side_panel-content.ttl +0 -1
- package/data/apps_launchpad.ttl +2 -1
- package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
- package/data/apps_lxd/component/favorite_star_icon_button.ttl +16 -0
- package/data/apps_lxd/component/output_field.ttl +7 -7
- package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +1 -1
- package/data/apps_lxd/view/network_topology.ttl +6 -6
- package/data/apps_lxd.ttl +2 -1
- package/data/apps_notary.ttl +2 -1
- package/data/apps_portal/component/badge.ttl +0 -1
- package/data/apps_portal/component/credit_card_input.ttl +0 -1
- package/data/apps_portal/component/key_value_pair.ttl +0 -1
- package/data/apps_portal/pattern/purchase_summary.ttl +0 -1
- package/data/apps_portal/subcomponent/read_only_modal.ttl +0 -1
- package/data/apps_portal.ttl +2 -1
- package/data/apps_support/component/data_spotlight.ttl +0 -1
- package/data/apps_support/subcomponent/ai_prompt_input.ttl +0 -1
- package/data/apps_workplace/component/complex_multi_select.ttl +0 -1
- package/data/apps_workplace/component/label-highlight.ttl +2 -2
- package/data/apps_workplace/component/org_chart.ttl +0 -1
- package/data/apps_workplace/component/rule.ttl +0 -1
- package/data/apps_workplace/component/skip_link.ttl +0 -1
- package/data/apps_workplace/component/theme_switcher.ttl +0 -1
- package/data/apps_workplace/pattern/callout_numbers_card.ttl +1 -1
- package/data/apps_workplace/pattern/confirmation_modal.ttl +0 -1
- package/data/apps_workplace/pattern/org_event_card.ttl +0 -1
- package/data/apps_workplace/subcomponent/multi_select_input.ttl +0 -1
- package/data/apps_workplace.ttl +2 -1
- package/data/documentation/layout/content_page_layout.ttl +0 -1
- package/data/documentation/layout/documentation_layout.ttl +0 -1
- package/data/documentation/layout/library_layout.ttl +0 -1
- package/data/documentation/layout/search_page_layout.ttl +0 -1
- package/data/documentation/pattern/library_side_navigation.ttl +1 -1
- package/data/documentation.ttl +2 -1
- package/data/global/component/accordion.ttl +16 -16
- package/data/global/component/announcement.ttl +2 -2
- package/data/global/component/avatar.ttl +0 -1
- package/data/global/component/badge.ttl +11 -11
- package/data/global/component/breadcrumbs.ttl +9 -9
- package/data/global/component/button.ttl +11 -11
- package/data/global/component/button_link.ttl +0 -1
- package/data/global/component/card.ttl +2 -2
- package/data/global/component/checkbox_field.ttl +0 -1
- package/data/global/component/chip.ttl +15 -15
- package/data/global/component/choices_field.ttl +0 -1
- package/data/global/component/code_snippet-content.ttl +0 -1
- package/data/global/component/code_snippet-header.ttl +0 -1
- package/data/global/component/code_snippet.ttl +2 -2
- package/data/global/component/color_field.ttl +0 -1
- package/data/global/component/combobox_field.ttl +0 -1
- package/data/global/component/contextual_menu.ttl +10 -9
- package/data/global/component/{tooltip_data.ttl → data_tooltip.ttl} +41 -55
- package/data/global/component/date_field.ttl +0 -1
- package/data/global/component/date_time_field.ttl +0 -1
- package/data/global/component/drag_and_drop_list.ttl +0 -1
- package/data/global/component/dropdown_button.ttl +3 -3
- package/data/global/component/file_upload_field.ttl +2 -2
- package/data/global/component/heading.ttl +1 -1
- package/data/global/component/hidden_field.ttl +0 -1
- package/data/global/component/icon.ttl +3 -3
- package/data/global/component/icon_button.ttl +119 -6
- package/data/global/component/icon_in_container.ttl +2 -3
- package/data/global/component/key_value_pair.ttl +0 -1
- package/data/global/component/keyboard_key.ttl +0 -1
- package/data/global/component/link.ttl +0 -1
- package/data/global/component/links.ttl +0 -1
- package/data/global/component/markdown_editor_field.ttl +0 -1
- package/data/global/component/mode_switcher.ttl +0 -1
- package/data/global/component/month_field.ttl +0 -1
- package/data/global/component/notification_inline.ttl +0 -1
- package/data/global/component/notification_toast.ttl +0 -1
- package/data/global/component/number_field.ttl +0 -1
- package/data/global/component/pagination.ttl +0 -1
- package/data/global/component/password_field.ttl +0 -1
- package/data/global/component/phone_field.ttl +0 -1
- package/data/global/component/popover.ttl +0 -1
- package/data/global/component/rating_field.ttl +0 -1
- package/data/global/component/relative_timestamp.ttl +0 -1
- package/data/global/component/rich_choices_field.ttl +0 -1
- package/data/global/component/rich_text_editor.ttl +0 -1
- package/data/global/component/rich_text_field.ttl +0 -1
- package/data/global/component/search_field.ttl +0 -1
- package/data/global/component/segmented_control.ttl +0 -1
- package/data/global/component/segmented_control_field.ttl +0 -1
- package/data/global/component/select_field.ttl +0 -1
- package/data/global/component/switch_field.ttl +0 -1
- package/data/global/component/tag.ttl +2 -2
- package/data/global/component/text_field.ttl +0 -1
- package/data/global/component/textarea_field.ttl +0 -1
- package/data/global/component/tile.ttl +9 -9
- package/data/global/component/time_field.ttl +0 -1
- package/data/global/component/timestamp.ttl +0 -1
- package/data/global/component/tooltip.ttl +31 -123
- package/data/global/component/{tooltip_wrapper.ttl → wrapper_tooltip.ttl} +45 -53
- package/data/global/group/buttons.ttl +0 -1
- package/data/global/group/cards.ttl +0 -1
- package/data/global/group/code_snippets.ttl +0 -1
- package/data/global/group/key_value_pairs.ttl +0 -1
- package/data/global/group/keyboard_keys.ttl +0 -1
- package/data/global/group/tiles.ttl +0 -1
- package/data/global/layout/error_layout.ttl +0 -1
- package/data/global/layout/identity_page_form.ttl +0 -1
- package/data/global/modifier/achromat.ttl +8 -0
- package/data/global/modifier/alpha.ttl +1 -1
- package/data/global/modifier/beta.ttl +1 -1
- package/data/global/modifier/branded.ttl +8 -0
- package/data/global/modifier/caution.ttl +1 -1
- package/data/global/modifier/comfortable.ttl +1 -1
- package/data/global/modifier/completed.ttl +1 -1
- package/data/global/modifier/constructive.ttl +1 -1
- package/data/global/modifier/{elevated.ttl → contrasted.ttl} +2 -2
- package/data/global/modifier/dark.ttl +2 -2
- package/data/global/modifier/dense.ttl +1 -1
- package/data/global/modifier/deprecated.ttl +8 -0
- package/data/global/modifier/destructive.ttl +1 -1
- package/data/global/modifier/{success.ttl → deutan.ttl} +3 -3
- package/data/global/modifier/end_of_life.ttl +8 -0
- package/data/global/modifier/error.ttl +2 -2
- package/data/global/modifier/experimental.ttl +1 -1
- package/data/global/modifier/failed.ttl +1 -1
- package/data/global/modifier/highlighted.ttl +8 -0
- package/data/global/modifier/in_progress.ttl +1 -1
- package/data/global/modifier/information.ttl +2 -2
- package/data/global/modifier/{surface2.ttl → layer1.ttl} +2 -2
- package/data/global/modifier/{surface1.ttl → layer2.ttl} +2 -2
- package/data/global/modifier/{surface3.ttl → layer3.ttl} +2 -2
- package/data/global/modifier/less.ttl +8 -0
- package/data/global/modifier/light.ttl +2 -2
- package/data/global/modifier/lts.ttl +8 -0
- package/data/global/modifier/more.ttl +8 -0
- package/data/global/modifier/muted.ttl +8 -0
- package/data/global/modifier/planned.ttl +1 -1
- package/data/global/modifier/primary.ttl +1 -1
- package/data/global/modifier/protan.ttl +8 -0
- package/data/global/modifier/secondary.ttl +1 -1
- package/data/global/modifier/stable.ttl +1 -1
- package/data/global/modifier/standard.ttl +8 -0
- package/data/global/modifier/tertiary.ttl +1 -1
- package/data/global/modifier/tritan.ttl +8 -0
- package/data/global/modifier/typical.ttl +8 -0
- package/data/global/modifier/warning.ttl +2 -2
- package/data/global/modifier_family/anticipation.ttl +1 -0
- package/data/global/modifier_family/{mode.ttl → color.ttl} +3 -2
- package/data/global/modifier_family/color_vision.ttl +10 -0
- package/data/global/modifier_family/contrast.ttl +10 -0
- package/data/global/modifier_family/density.ttl +1 -0
- package/data/global/modifier_family/emphasis.ttl +10 -0
- package/data/global/modifier_family/importance.ttl +1 -0
- package/data/global/modifier_family/lifecycle.ttl +1 -0
- package/data/global/modifier_family/release.ttl +1 -0
- package/data/global/modifier_family/severity.ttl +10 -0
- package/data/global/modifier_family/support.ttl +10 -0
- package/data/global/modifier_family/surface.ttl +2 -1
- package/data/global/pattern/description_list.ttl +0 -1
- package/data/global/pattern/field.ttl +0 -1
- package/data/global/pattern/filter.ttl +0 -1
- package/data/global/pattern/form.ttl +6 -1
- package/data/global/pattern/form_login.ttl +0 -1
- package/data/global/pattern/info_table.ttl +0 -1
- package/data/global/pattern/modal.ttl +202 -141
- package/data/global/pattern/stepper.ttl +0 -1
- package/data/global/pattern/table_of_contents.ttl +0 -1
- package/data/global/pattern/timeline.ttl +22 -22
- package/data/global/pattern/top_navigation.ttl +0 -1
- package/data/global/{modifier_family/_other.ttl → state/editable.ttl} +2 -2
- package/data/global/{modifier_family/_emphasis.ttl → state/focused.ttl} +2 -2
- package/data/global/{modifier_family/_color_luminosity.ttl → state/invalid.ttl} +2 -2
- package/data/global/{modifier/modal.ttl → state/loading.ttl} +3 -3
- package/data/global/state/valid.ttl +8 -0
- package/data/global/state/wireframe.ttl +8 -0
- package/data/global/subcomponent/accordion-item.ttl +1 -2
- package/data/global/subcomponent/breadcrumbs-item.ttl +0 -1
- package/data/global/subcomponent/card-content.ttl +1 -2
- package/data/global/subcomponent/card-footer.ttl +0 -1
- package/data/global/subcomponent/card-header.ttl +1 -2
- package/data/global/subcomponent/card-image.ttl +1 -2
- package/data/global/subcomponent/card-thumbnail.ttl +0 -1
- package/data/global/subcomponent/chart_legend.ttl +1 -2
- package/data/global/subcomponent/chart_legend_item.ttl +1 -2
- package/data/global/subcomponent/checkbox_input.ttl +0 -1
- package/data/global/subcomponent/color_input.ttl +0 -1
- package/data/global/subcomponent/combobox_input.ttl +0 -1
- package/data/global/subcomponent/contextual_menu-item.ttl +13 -0
- package/data/global/subcomponent/contextual_menu-list.ttl +13 -0
- package/data/global/subcomponent/contextual_menu-submenu.ttl +13 -0
- package/data/global/subcomponent/data_tooltip-chart_legend.ttl +133 -0
- package/data/global/subcomponent/date_input.ttl +0 -1
- package/data/global/subcomponent/date_time_input.ttl +0 -1
- package/data/global/subcomponent/field-description.ttl +1 -2
- package/data/global/subcomponent/field-error.ttl +1 -2
- package/data/global/subcomponent/field-label.ttl +1 -2
- package/data/global/subcomponent/file_upload_input.ttl +3 -3
- package/data/global/subcomponent/hidden_input.ttl +0 -1
- package/data/global/subcomponent/kvp_container.ttl +1 -2
- package/data/global/subcomponent/kvpitem_base.ttl +1 -2
- package/data/global/subcomponent/markdown_editor_input.ttl +0 -1
- package/data/global/subcomponent/modal-content.ttl +4 -13
- package/data/global/subcomponent/modal-footer.ttl +21 -29
- package/data/global/subcomponent/modal-header.ttl +53 -141
- package/data/global/subcomponent/month_input.ttl +0 -1
- package/data/global/subcomponent/number_input.ttl +0 -1
- package/data/global/subcomponent/password_input.ttl +0 -1
- package/data/global/subcomponent/phone_input.ttl +0 -1
- package/data/global/subcomponent/radio_input.ttl +0 -1
- package/data/global/subcomponent/range_input.ttl +0 -1
- package/data/global/subcomponent/rating_input.ttl +0 -1
- package/data/global/subcomponent/rich_text_input.ttl +0 -1
- package/data/global/subcomponent/search_input.ttl +8 -8
- package/data/global/subcomponent/segmented_control_input.ttl +0 -1
- package/data/global/subcomponent/select_input.ttl +0 -1
- package/data/global/subcomponent/spin_button.ttl +0 -1
- package/data/global/subcomponent/spinner.ttl +0 -1
- package/data/global/subcomponent/switch_input.ttl +0 -1
- package/data/global/subcomponent/table-cell.ttl +0 -1
- package/data/global/subcomponent/table-row.ttl +0 -1
- package/data/global/subcomponent/text_editor_input.ttl +0 -1
- package/data/global/subcomponent/text_input.ttl +0 -1
- package/data/global/subcomponent/textarea_input.ttl +1 -2
- package/data/global/subcomponent/tile-content.ttl +0 -1
- package/data/global/subcomponent/tile-header.ttl +5 -6
- package/data/global/subcomponent/time_input.ttl +0 -1
- package/data/global/subcomponent/timeline-content.ttl +1 -2
- package/data/global/subcomponent/timeline-event.ttl +1 -1
- package/data/global/variant/tooltip_dense.ttl +28 -3
- package/data/global/view/settings_view.ttl +0 -1
- package/data/global.ttl +2 -1
- package/data/global_dataviews/component/filter_button.ttl +3 -4
- package/data/global_dataviews/component/query_bar.ttl +1 -2
- package/data/global_dataviews/component/query_chip.ttl +2 -2
- package/data/global_dataviews/group/query_chips.ttl +1 -2
- package/data/global_dataviews/modifier/exclusion.ttl +1 -1
- package/data/global_dataviews/modifier/inclusion.ttl +1 -1
- package/data/global_dataviews/modifier/match.ttl +1 -1
- package/data/global_dataviews/modifier/presence.ttl +1 -1
- package/data/global_dataviews/modifier/range.ttl +1 -1
- package/data/global_dataviews/modifier_family/condition.ttl +1 -0
- package/data/global_dataviews/subcomponent/query_chip-entry.ttl +1 -2
- package/data/global_dataviews/subcomponent/query_chip-segment.ttl +1 -2
- package/data/global_dataviews/subcomponent/query_input.ttl +1 -2
- package/data/global_dataviews.ttl +2 -1
- package/data/sites/component/quote.ttl +0 -1
- package/data/sites/component/rule.ttl +0 -1
- package/data/sites/component/section.ttl +0 -1
- package/data/sites/component/store_card.ttl +7 -7
- package/data/sites/group/blog_cards.ttl +0 -1
- package/data/sites/group/xblog_elements.ttl +0 -1
- package/data/sites/layout/blog_page_layout.ttl +0 -1
- package/data/sites/layout/case_study_layout.ttl +0 -1
- package/data/sites/layout/site_layout.ttl +0 -1
- package/data/sites/pattern/hero-github.ttl +0 -1
- package/data/sites/pattern/hero.ttl +1 -2
- package/data/sites/pattern/info_table.ttl +0 -1
- package/data/sites/pattern/pricing_section.ttl +0 -1
- package/data/sites/pattern/pricing_table.ttl +0 -1
- package/data/sites/pattern/read_more_section.ttl +0 -1
- package/data/sites/pattern/skip_link.ttl +0 -1
- package/data/sites.ttl +2 -1
- package/data/sites_stores.ttl +2 -1
- package/data/sites_webcomponentsprototype/component/blog_cards.ttl +0 -1
- package/data/sites_webcomponentsprototype/component/ctablock.ttl +0 -1
- package/data/sites_webcomponentsprototype/component/list.ttl +6 -2
- package/data/sites_webcomponentsprototype/component/tabs.ttl +0 -1
- package/data/sites_webcomponentsprototype/layout/site_layout.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/basic_section.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/blog_section.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/ctasection.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/equal_heights.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/hero.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/logo_section.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/quote_wrapper.ttl +0 -1
- package/data/sites_webcomponentsprototype/pattern/tiered_list.ttl +0 -1
- package/data/sites_webcomponentsprototype.ttl +2 -1
- package/definitions/ontology.ttl +46 -0
- package/package.json +6 -6
- package/skills/design-auditor/SKILL.md +4 -4
- package/skills/implement-component/SKILL.md +1 -1
- package/skills/specify-component/SKILL.md +1 -1
- package/src/graph/GraphStore.ts +8 -2
- package/data/global/modifier_family/criticality.ttl +0 -9
- package/skills/map-journeys/SKILL.md +0 -395
- package/skills/map-journeys/journey-graph.example.html +0 -298
- package/skills/model-domains/SKILL.md +0 -502
|
@@ -10,12 +10,12 @@ ds:apps_landscape.pattern.recurring_schedule a ds:Pattern;
|
|
|
10
10
|
ds:usage "### When to use\n\n**Calendar-based recurrence**\n\nUse when the owning Formik model already matches `ScheduleBlockFormProps` and the backend contract supports one-time execution or daily/weekly/monthly/yearly recurrence.\n\n**Guided schedule creation**\n\nUse when users benefit from constrained controls rather than authoring cron or RRULE syntax directly.\n\n### When not to use\n\n**Cron-level expressiveness**\n\nA backend API or user workflow that requires cron or RRULE syntax, allowing lists, ranges, or step values across multiple fields.\n\n**Incorrect pattern**: Trying to use Recurring Schedule to express “every 3rd weekday” or “the 1st and 15th of each month” when the component’s domain model is simpler.\n\n**Remediation strategy**: Use a dedicated cron or RRULE editor component. Cron Schedule or a raw syntax editor may be more appropriate. The shared component supports only simple daily/weekly/monthly/yearly cadences.\n\n**Simple preset cadence**\n\nA workflow where only two or three fixed choices—such as “Daily”, “Weekly”, or “Once”—satisfy user needs.\n\n**Incorrect pattern**: Rendering the full Recurring Schedule form when the real requirement is to choose from a small set of predefined frequencies.\n\n**Remediation strategy**: Use a simpler radio-button or preset-menu control that offers only the supported cadences. Avoid full-featured form complexity when the choice set is fixed and small.\n\n**Standalone date validation**\n\nA use case where the input validation and timezone semantics are critical but must come from a different system (e.g., the API layer).\n\n**Incorrect pattern**: Relying on the rendered `min` attributes and Formik error display as the complete validation story for date ordering and timezone conversion.\n\n**Remediation strategy**: Implement comprehensive validation in the owning Formik schema and on the server. The shared component displays errors but does not enforce complex backend semantics or timezone logic.\n\n**Timezone-explicit scheduling**\n\nA workflow where the timezone context—whether local, UTC, or explicitly selected—and daylight-saving behavior must be explicit and configurable.\n\n**Incorrect pattern**: Using Recurring Schedule without a clear product decision about timezone handling, then discovering at runtime that `datetime-local` does not capture or convert timezones.\n\n**Remediation strategy**: Document the timezone semantics in the owning workflow. Add an explicit timezone selector if needed. The shared component does not state or convert timezones; it uses browser-native `datetime-local` input only.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- Source labels every rendered control, but both interval controls use the same visible text “Repeat every”; verify their accessible names are distinguishable in the target Canonical component version.\n- Conditional controls are inserted in DOM order without focus movement or announcements. Mode/unit changes leave focus on the triggering select.\n- Error association is delegated to Canonical `Input`, `MultiSelectField`, and `getFormikError`; local tests verify visible fields and updates, not computed ARIA relationships.\n- The hidden placeholder option is not a substitute for a validation error when `start_type` is empty at runtime.\n\n### Content and correctness\n\n- State the timezone and daylight-saving semantics in the owning workflow. `datetime-local` contains no timezone.\n- Unit copy uses a simple `every == 1` singular check; all other values receive plural labels. There is no cadence summary.\n- English weekday/month labels, ordinal suffixes, “First” through “Last”, and `en-US` weekday formatting are hardcoded with no localization props.\n- Validate required fields, positive/integer intervals, minimum daily interval, selections, date ordering, and backend recurrence semantics in the consumer and server.\n\n### State and async behavior\n\n- The component owns no React state, effects, query, mutation, loading state, submit handler, or reset behavior.\n- All values are controlled by the supplied Formik context. Hidden branch values remain in Formik unless the consumer clears them.\n- Weekly/yearly multi-select updates call `setFieldValue` from an async callback; errors from that promise are not handled locally.\n- `currentDate` is computed on each render, not advanced by a timer while the component remains idle.\n\n### Keyboard and device\n\n- Native Select/Input keyboard behavior and date entry are dependency/browser-owned. Weekly/yearly keyboard behavior is delegated to `MultiSelectField`.\n- Repeat controls always use a Canonical Row with two size-6 columns. There is no local breakpoint, stacking branch, or responsive style in this component.\n- The indented branch always retains its border and `$sph--large` left padding; verify available width in narrow side panels.\n- Local tests cover rendering and pointer-based multi-select updates, not keyboard traversal, focus retention, mobile date pickers, or small viewports.";
|
|
12
12
|
ds:tier ds:apps_landscape;
|
|
13
|
-
ds:documentationStage ds:tag.specialadoption-docs;
|
|
14
13
|
ds:hasProperty [
|
|
15
14
|
a ds:Property;
|
|
16
15
|
ds:name "`formik`";
|
|
17
16
|
ds:summary "Supplies values, field bindings, touched/errors state, and `setFieldValue`.";
|
|
18
17
|
ds:propertyType "object";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
21
|
-
]
|
|
18
|
+
ds:defaultValue "—";
|
|
19
|
+
ds:constraints "TypeScript: `FormikContextType<T>` where `T extends ScheduleBlockFormProps`. Multi-select updates call async `setFieldValue`; the component does not handle errors from that promise."
|
|
20
|
+
];
|
|
21
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -10,68 +10,68 @@ ds:apps_landscape.pattern.responsive_action_group a ds:Pattern;
|
|
|
10
10
|
ds:usage "### When to use\n\n- Use for two or more related page, table, or panel commands that may move into overflow at a known Landscape breakpoint.\n- Put priority actions first and set `alwaysVisible` to the number that must remain exposed below the breakpoint.\n- Use supported button, confirmation-button, and object-link contextual-menu shapes when semantic preservation matters.\n\n### When not to use\n\n**Primary navigation or form fields**\n\nNavigation structures, standalone form inputs, or arbitrary interactive compositions that should not become menu buttons.\n\n**Incorrect pattern**: Placing a form control like a `Select` or `Input` inside `buttons` expecting it to collapse into an overflow menu gracefully.\n\n**Remediation strategy**: Keep form fields and navigation in their own containers. Use Responsive Action Group only for buttons, confirmation buttons, and contextual-menu shapes that have straightforward button semantics.\n\n**String or array contextual-menu links**\n\nA collapsed `ContextualMenu` that contains string or array-form links rather than object-form links.\n\n**Incorrect pattern**: Building a contextual menu with a mix of strings, arrays, and objects, and expecting all entries to survive collapse into the responsive adapter.\n\n**Remediation strategy**: Use only object-form links in your contextual menus: `{ children: \"...\", onClick: ... }`. String and array links are skipped during collapse. Convert them to object form or keep them in a separate non-collapsible menu.\n\n**Viewport collapse is the wrong constraint**\n\nA layout problem where the actual constraint is the measured width of a specific container, not the viewport breakpoint.\n\n**Incorrect pattern**: Using Responsive Action Group when the available space is a side panel, table cell, or other container that is narrower than the viewport breakpoint.\n\n**Remediation strategy**: Use a container-aware component with `ResizeObserver` or container queries. Responsive Action Group uses `matchMedia` for viewport breakpoints only; it cannot adapt to container-specific constraints.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- Give every supplied action and nested menu a clear text/accessibility name before adaptation.\n- Disabled direct actions and nested object links are preserved; the overflow toggle disables when all collapsed items are disabled.\n- Recreated confirmation content stays mounted while `onConfirm` awaits. Cancel/close clears local state before invoking the supplied modal `close`; fulfilment clears local state without invoking that callback; rejection propagates and leaves the modal open for retry.\n- Responsive movement replaces elements in the DOM with different controls; no focus preservation is implemented when the media query changes.\n\n### Content\n\n- Use concise verb-led labels that remain meaningful in the overflow menu.\n- Supply a localized `menuLabel`; direct action content is reused, while missing children fall back to recursively extracted text or `Action N`.\n- Do not depend on non-string props such as `aria-label` becoming visible menu text when children are absent; the fallback does not read those props.\n\n### Internationalization / globalization\n\n- `menuLabel` and caller children can be localized; generated `Action N` fallback is hardcoded English.\n- Breakpoints are pixel constants and do not account for text expansion except through the viewport-wide media query.\n- Nested chevron direction comes from `ResponsiveDropdownItem` position, not document direction; verify RTL behavior.\n\n### Device / responsive behavior\n\n- Available thresholds are `xs: 460`, `sm: 620`, `md: 768`, `lg: 1036`, `xl: 1280`, and `xxl: 1400` pixels.\n- Below the threshold, adaptation is based on array position and eligible element shape, not measured overflow.\n- HTML5 pointer/touch behavior is delegated to underlying buttons and menus; no device-specific handlers exist.\n\n### Keyboard and interaction\n\n- Ordinary collapsed actions close the outer menu before callback invocation.\n- Nested triggers use buttons and outside-click closure from `ResponsiveDropdownItem`; source defines no custom arrow/Escape/focus-return logic beyond dependencies.\n- Clicking nested content closes the outer menu, even when the clicked child has no action callback.\n\n";
|
|
12
12
|
ds:tier ds:apps_landscape;
|
|
13
|
-
ds:documentationStage ds:tag.specialadoption-docs;
|
|
14
13
|
ds:hasProperty [
|
|
15
14
|
a ds:Property;
|
|
16
15
|
ds:name "`buttons`";
|
|
17
16
|
ds:summary "Ordered nodes to present.";
|
|
18
17
|
ds:propertyType "list of nodes";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
18
|
+
ds:defaultValue "—";
|
|
19
|
+
ds:constraints "TypeScript: `ReactNode[]`. Collapse recognition is shape-based; stable keys prevent clone/reconciliation churn. Array length controls lone-node behavior."
|
|
21
20
|
], [
|
|
22
21
|
a ds:Property;
|
|
23
22
|
ds:name "`collapseFrom`";
|
|
24
23
|
ds:summary "Minimum viewport width considered large.";
|
|
25
24
|
ds:propertyType "choice";
|
|
26
|
-
ds:constraints "Maps to Landscape pixel constants: `xs: 460`, `sm: 620`, `md: 768`, `lg: 1036`, `xl: 1280`, and `xxl: 1400`.";
|
|
27
25
|
ds:defaultValue "`md`";
|
|
26
|
+
ds:constraints "Maps to Landscape pixel constants: `xs: 460`, `sm: 620`, `md: 768`, `lg: 1036`, `xl: 1280`, and `xxl: 1400`.";
|
|
28
27
|
ds:optional "true"
|
|
29
28
|
], [
|
|
30
29
|
a ds:Property;
|
|
31
30
|
ds:name "`alwaysCollapse`";
|
|
32
31
|
ds:summary "Forces the small-screen path regardless of media query.";
|
|
33
32
|
ds:propertyType "boolean";
|
|
34
|
-
ds:constraints "Can collapse a lone eligible node, unlike ordinary small-screen behavior.";
|
|
35
33
|
ds:defaultValue "false";
|
|
34
|
+
ds:constraints "Can collapse a lone eligible node, unlike ordinary small-screen behavior.";
|
|
36
35
|
ds:optional "true"
|
|
37
36
|
], [
|
|
38
37
|
a ds:Property;
|
|
39
38
|
ds:name "`alwaysVisible`";
|
|
40
39
|
ds:summary "Leading slice retained in the visible set on the small-screen path.";
|
|
41
40
|
ds:propertyType "number";
|
|
42
|
-
ds:constraints "Runtime does not validate sign, integer, or range; standard `slice` semantics apply. Unsupported later nodes can also become visible.";
|
|
43
41
|
ds:defaultValue "0";
|
|
42
|
+
ds:constraints "Runtime does not validate sign, integer, or range; standard `slice` semantics apply. Unsupported later nodes can also become visible.";
|
|
44
43
|
ds:optional "true"
|
|
45
44
|
], [
|
|
46
45
|
a ds:Property;
|
|
47
46
|
ds:name "`menuLabel`";
|
|
48
47
|
ds:summary "Overflow toggle label.";
|
|
49
48
|
ds:propertyType "text";
|
|
50
|
-
ds:constraints "Visible and accessible through Canonical `ContextualMenu`; localize at the call site.";
|
|
51
49
|
ds:defaultValue "`Actions`";
|
|
50
|
+
ds:constraints "Visible and accessible through Canonical `ContextualMenu`; localize at the call site.";
|
|
52
51
|
ds:optional "true"
|
|
53
52
|
], [
|
|
54
53
|
a ds:Property;
|
|
55
54
|
ds:name "`className`";
|
|
56
55
|
ds:summary "Additional class on the root.";
|
|
57
56
|
ds:propertyType "text";
|
|
58
|
-
ds:constraints "Merged with the local grouped class.";
|
|
59
57
|
ds:defaultValue "—";
|
|
58
|
+
ds:constraints "Merged with the local grouped class.";
|
|
60
59
|
ds:optional "true"
|
|
61
60
|
], [
|
|
62
61
|
a ds:Property;
|
|
63
62
|
ds:name "`menuPosition`";
|
|
64
63
|
ds:summary "Overflow alignment.";
|
|
65
64
|
ds:propertyType "choice";
|
|
66
|
-
ds:constraints "Nested contextual menus retain their own position independently.";
|
|
67
65
|
ds:defaultValue "`right`";
|
|
66
|
+
ds:constraints "Nested contextual menus retain their own position independently.";
|
|
68
67
|
ds:optional "true"
|
|
69
68
|
], [
|
|
70
69
|
a ds:Property;
|
|
71
70
|
ds:name "`grouped`";
|
|
72
71
|
ds:summary "Enables segmented markup for more than one visible node and root flex styling.";
|
|
73
72
|
ds:propertyType "boolean";
|
|
74
|
-
ds:constraints "Does not group the overflow menu into the segmented wrapper.";
|
|
75
73
|
ds:defaultValue "true";
|
|
74
|
+
ds:constraints "Does not group the overflow menu into the segmented wrapper.";
|
|
76
75
|
ds:optional "true"
|
|
77
|
-
]
|
|
76
|
+
];
|
|
77
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -10,74 +10,74 @@ ds:apps_landscape.pattern.responsive_header_actions a ds:Pattern;
|
|
|
10
10
|
ds:usage "### When to use\n\n- Use for two or more labelled actions sharing a page or detail heading row.\n- Put nondestructive actions in intended priority order, then destructive actions in their own bucket.\n- Set `excluded` only for actions that should be absent from both visible and menu presentations.\n- Use `collapsed` consistently on at least two lower-priority actions when explicit menu placement is intended; one flag alone does not force collapse.\n\n### When not to use\n\n**Single command or row-level actions**\n\nA heading row with only one action button, or a layout where actions belong to individual rows rather than a shared header.\n\n**Incorrect pattern**: Using Responsive Header Actions to manage a single “Delete” button or to display table row actions alongside a table heading.\n\n**Remediation strategy**: Render a single button directly in the header without Responsive Header Actions. For row-level actions, use a table action column or row context menu; do not couple them to the header.\n\n**Placement as a proxy for importance**\n\nA design that relies on visible versus collapsed placement to communicate action priority or significance to users.\n\n**Incorrect pattern**: Placing high-priority actions first expecting them to always remain visible, and assuming users will understand that collapsed placement means low priority.\n\n**Remediation strategy**: Use action labels and icon choice to convey importance. Placement can change with measurement; do not make priority semantics depend on visibility state. Consider a separate importance indicator if ordering is critical.\n\n**Duplicate action labels**\n\nA header action set where two or more actions have the same label text.\n\n**Incorrect pattern**: Creating two actions with the label “Edit” and relying on icon or context to distinguish them.\n\n**Remediation strategy**: Ensure every action label is unique and stable. Labels serve as React keys and part of the action-identity comparison. Use distinct, verb-led labels instead: “Edit settings”, “Edit description”, etc.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- Every action always includes visible label text; keep icons supplementary.\n- The menu toggle is disabled only when every included action is disabled, not merely every collapsed action. Mixed visible/collapsed sets can therefore leave a menu enabled even if all links inside it are disabled.\n- `ActionsMenu` supplies contextual-menu semantics; verify its focus return and keyboard behavior when actions move between presentations.\n- The component adds no heading or landmark semantics to `title`.\n\n### Content\n\n- Use concise, unique, verb-led labels. “More actions” and “Actions” are hardcoded English and not configurable.\n- Reserve the destructive bucket for genuinely destructive/high-impact commands because the collapsed presentation changes icon and text treatment.\n- Place higher-priority actions earlier; overflow is determined independently for each rendered child but source order is preserved within buckets.\n\n### Internationalization / globalization\n\n- Action labels and title content can be supplied by consumers, but toggle labels cannot currently be translated through props.\n- Measurement depends on rendered width, so longer translations naturally collapse earlier. Test translated labels and browser zoom.\n- No direction-specific helper exists; right-edge measurement and right-aligned layout need RTL verification.\n\n### Device\n\n- A `ResizeObserver` watches the action row’s grandparent container. There is no viewport breakpoint.\n- Root wrapping is enabled only when zero actions remain visible; partially collapsed sets stay on one nowrap row.\n- Buttons use `min-width: max-content`, so labels do not shrink before overflow partitioning.\n\n### Keyboard\n\n- Visible buttons and the conditional menu toggle follow DOM/source order.\n- When a resize moves the focused action between visible and collapsed markup, this component provides no focus preservation.\n- Use the inherited button/menu keyboard behavior; no custom key handlers are implemented here.";
|
|
12
12
|
ds:tier ds:apps_landscape;
|
|
13
|
-
ds:documentationStage ds:tag.specialadoption-docs;
|
|
14
13
|
ds:hasProperty [
|
|
15
14
|
a ds:Property;
|
|
16
15
|
ds:name "`actions`";
|
|
17
16
|
ds:summary "Commands partitioned by consequence.";
|
|
18
17
|
ds:propertyType "object";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
18
|
+
ds:defaultValue "—";
|
|
19
|
+
ds:constraints "TypeScript: `{ destructive?: Action[]; nondestructive?: Action[] }`, where `Action` is `Omit<ButtonProps, \"children\" | \"hasIcon\"> & { icon: string; label: string; collapsed?: boolean; excluded?: boolean }`. Missing buckets become empty arrays; nondestructive actions precede destructive actions."
|
|
21
20
|
], [
|
|
22
21
|
a ds:Property;
|
|
23
22
|
ds:name "`actions.nondestructive`";
|
|
24
23
|
ds:summary "Nondestructive commands in display priority order.";
|
|
25
24
|
ds:propertyType "list of objects";
|
|
26
|
-
ds:constraints "TypeScript: `Action[]`. Excluded actions are removed before layout and remaining actions precede destructive actions.";
|
|
27
25
|
ds:defaultValue "`[]`";
|
|
26
|
+
ds:constraints "TypeScript: `Action[]`. Excluded actions are removed before layout and remaining actions precede destructive actions.";
|
|
28
27
|
ds:optional "true"
|
|
29
28
|
], [
|
|
30
29
|
a ds:Property;
|
|
31
30
|
ds:name "`actions.destructive`";
|
|
32
31
|
ds:summary "Destructive commands shown after nondestructive commands.";
|
|
33
32
|
ds:propertyType "list of objects";
|
|
34
|
-
ds:constraints "TypeScript: `Action[]`. Collapsed presentation appends `--negative` to the icon name and uses negative treatment.";
|
|
35
33
|
ds:defaultValue "`[]`";
|
|
34
|
+
ds:constraints "TypeScript: `Action[]`. Collapsed presentation appends `--negative` to the icon name and uses negative treatment.";
|
|
36
35
|
ds:optional "true"
|
|
37
36
|
], [
|
|
38
37
|
a ds:Property;
|
|
39
38
|
ds:name "`title`";
|
|
40
39
|
ds:summary "Caller content before the actions.";
|
|
41
40
|
ds:propertyType "node";
|
|
42
|
-
ds:constraints "TypeScript: `ReactNode`. Rendered unchanged; consumers own heading level and semantics.";
|
|
43
41
|
ds:defaultValue "—";
|
|
42
|
+
ds:constraints "TypeScript: `ReactNode`. Rendered unchanged; consumers own heading level and semantics.";
|
|
44
43
|
ds:optional "true"
|
|
45
44
|
], [
|
|
46
45
|
a ds:Property;
|
|
47
46
|
ds:name "`Action.icon`";
|
|
48
47
|
ds:summary "Canonical icon name.";
|
|
49
48
|
ds:propertyType "text";
|
|
50
|
-
ds:
|
|
51
|
-
ds:
|
|
49
|
+
ds:defaultValue "—";
|
|
50
|
+
ds:constraints "Visible actions use the name directly; collapsed destructive actions append `--negative`."
|
|
52
51
|
], [
|
|
53
52
|
a ds:Property;
|
|
54
53
|
ds:name "`Action.label`";
|
|
55
54
|
ds:summary "Visible and accessible text and React key.";
|
|
56
55
|
ds:propertyType "text";
|
|
57
|
-
ds:
|
|
58
|
-
ds:
|
|
56
|
+
ds:defaultValue "—";
|
|
57
|
+
ds:constraints "Must be unique and stable within the action set."
|
|
59
58
|
], [
|
|
60
59
|
a ds:Property;
|
|
61
60
|
ds:name "`Action.collapsed`";
|
|
62
61
|
ds:summary "Participates in explicit menu placement.";
|
|
63
62
|
ds:propertyType "boolean";
|
|
64
|
-
ds:constraints "Forced placement applies only when more than one included action has this set to true; otherwise normal measurement applies.";
|
|
65
63
|
ds:defaultValue "—";
|
|
64
|
+
ds:constraints "Forced placement applies only when more than one included action has this set to true; otherwise normal measurement applies.";
|
|
66
65
|
ds:optional "true"
|
|
67
66
|
], [
|
|
68
67
|
a ds:Property;
|
|
69
68
|
ds:name "`Action.excluded`";
|
|
70
69
|
ds:summary "Removes the action before layout calculations.";
|
|
71
70
|
ds:propertyType "boolean";
|
|
72
|
-
ds:constraints "Excluded actions do not affect the forced-collapse count or toggle disabled state.";
|
|
73
71
|
ds:defaultValue "—";
|
|
72
|
+
ds:constraints "Excluded actions do not affect the forced-collapse count or toggle disabled state.";
|
|
74
73
|
ds:optional "true"
|
|
75
74
|
], [
|
|
76
75
|
a ds:Property;
|
|
77
76
|
ds:name "`Action` inherited props";
|
|
78
77
|
ds:summary "Canonical button behavior such as click, disabled, appearance, and ARIA props.";
|
|
79
78
|
ds:propertyType "object";
|
|
80
|
-
ds:constraints "TypeScript: `Omit<ButtonProps, \"children\" | \"hasIcon\">`. `collapsed` and `excluded` are stripped from visible buttons; menu adaptation is owned by `ActionsMenu`. Partition equality ignores callbacks and these props, so replacements retaining label, icon, and disabled can keep stale values.";
|
|
81
79
|
ds:defaultValue "—";
|
|
80
|
+
ds:constraints "TypeScript: `Omit<ButtonProps, \"children\" | \"hasIcon\">`. `collapsed` and `excluded` are stripped from visible buttons; menu adaptation is owned by `ActionsMenu`. Partition equality ignores callbacks and these props, so replacements retaining label, icon, and disabled can keep stale values.";
|
|
82
81
|
ds:optional "true"
|
|
83
|
-
]
|
|
82
|
+
];
|
|
83
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -10,52 +10,52 @@ ds:apps_landscape.pattern.responsive_table_filters a ds:Pattern;
|
|
|
10
10
|
ds:usage "### When to use\n\n**Adapt table filters to viewport width**\n\nUse when the same ordered filter elements should be top-level controls above a threshold and menu content below it.\n\n**Collapse filters on demand**\n\nUse `isCollapsed` when a surrounding layout needs the compact presentation at every viewport width.\n\n### When not to use\n\n**Render unrelated table actions**\n\nWhen you need to include sorting, export, or destructive controls alongside filters.\n\n**Incorrect pattern**: Putting all control types—filters, sorts, exports, destructive actions—into the same responsive disclosure.\n\n**Remediation strategy**: Keep sorting, export, and destructive actions in separate control regions outside this filter-specific pattern.\n\n**Hide essential form content**\n\nWhen controls are essential, not temporary optional filters.\n\n**Incorrect pattern**: Using responsive filters to hide required form fields based on viewport width.\n\n**Remediation strategy**: Use a normal responsive form layout with a predictable breakpoint strategy for controls that users must access.\n\n**Components without stable runtime names**\n\nWhen component types are anonymous or name-mangled.\n\n**Incorrect pattern**: Supplying components with no truthy `node.type.name` and expecting nested disclosure adaptation.\n\n**Remediation strategy**: Ensure all components have stable `displayName` or `name` properties, or render simple elements directly alongside named filter components.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- The outer disclosure and menu semantics are delegated to Canonical `ContextualMenu`; the default toggle has visible `Filters` text plus a filter icon.\n- Custom `menuLabel` content must provide an accessible name for the complete group.\n- Named child components must expose meaningful `label` content because `ResponsiveDropdownItem` uses that prop for its trigger.\n- Nested triggers do not add `aria-expanded`, `aria-haspopup`, or `aria-controls`; the wrapper adds no menu-item roles or focus management.\n\n### Device\n\n- `useMediaQuery` selects exactly one render branch; switching across the threshold unmounts one presentation and mounts the other, so local child state and focus are not preserved.\n- The wrapper itself is a no-wrap flex row with a shared spacing gap; collapsed menu contents form a vertical flex column.\n- Choose `collapseFrom` from available header width. The default `md` threshold is 768px.\n- The default right alignment is intended for a right-edge table header, but there is no nested-panel collision detection in `ResponsiveDropdownItem`.\n\n### Keyboard\n\n- Outer menu keyboard behavior is delegated to Canonical `ContextualMenu`; nested disclosure activation comes from native buttons.\n- This wrapper adds no Escape handling, Arrow key navigation, focus transfer, or focus restoration across responsive branch changes.\n- It does not pass `onMenuClose` to nested items, so interactions inside a nested filter do not explicitly request that the outer contextual menu close.\n\n### Content and internationalization\n\n- Filter content and custom menu labels are caller-provided.\n- The default visible label `Filters` is hard-coded in English; localization requires passing `menuLabel`.\n\n";
|
|
12
12
|
ds:tier ds:apps_landscape;
|
|
13
|
-
ds:documentationStage ds:tag.specialadoption-docs;
|
|
14
13
|
ds:hasProperty [
|
|
15
14
|
a ds:Property;
|
|
16
15
|
ds:name "`filters`";
|
|
17
16
|
ds:summary "Supplies the ordered elements used by both render branches.";
|
|
18
17
|
ds:propertyType "list of nodes";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
18
|
+
ds:defaultValue "—";
|
|
19
|
+
ds:constraints "TypeScript: `ReactElement<FilterProps, JSXElementConstructor<{ name: string }>>[]`. Inline mode wraps each element in a `span`; collapsed mode adapts elements with a truthy `node.type.name` and renders others directly. Array indexes are used as wrapper keys."
|
|
21
20
|
], [
|
|
22
21
|
a ds:Property;
|
|
23
22
|
ds:name "`collapseFrom`";
|
|
24
23
|
ds:summary "Selects the minimum width for inline mode.";
|
|
25
24
|
ds:propertyType "choice";
|
|
26
|
-
ds:constraints "Builds `(min-width: Npx)` from the shared map: `xs` 460, `sm` 620, `md` 768, `lg` 1036, `xl` 1280, and `xxl` 1400.";
|
|
27
25
|
ds:defaultValue "`md`";
|
|
26
|
+
ds:constraints "Builds `(min-width: Npx)` from the shared map: `xs` 460, `sm` 620, `md` 768, `lg` 1036, `xl` 1280, and `xxl` 1400.";
|
|
28
27
|
ds:optional "true"
|
|
29
28
|
], [
|
|
30
29
|
a ds:Property;
|
|
31
30
|
ds:name "`menuLabel`";
|
|
32
31
|
ds:summary "Replaces the complete collapsed-menu toggle content.";
|
|
33
32
|
ds:propertyType "node";
|
|
34
|
-
ds:constraints "TypeScript: `ReactNode`. Include an accessible text label; icon-only content is permitted by the type but is not named by this wrapper.";
|
|
35
33
|
ds:defaultValue "Filter icon plus `Filters` text";
|
|
34
|
+
ds:constraints "TypeScript: `ReactNode`. Include an accessible text label; icon-only content is permitted by the type but is not named by this wrapper.";
|
|
36
35
|
ds:optional "true"
|
|
37
36
|
], [
|
|
38
37
|
a ds:Property;
|
|
39
38
|
ds:name "`className`";
|
|
40
39
|
ds:summary "Adds classes to the outer wrapper.";
|
|
41
40
|
ds:propertyType "text";
|
|
42
|
-
ds:constraints "Local flex and no-wrap styles remain applied.";
|
|
43
41
|
ds:defaultValue "—";
|
|
42
|
+
ds:constraints "Local flex and no-wrap styles remain applied.";
|
|
44
43
|
ds:optional "true"
|
|
45
44
|
], [
|
|
46
45
|
a ds:Property;
|
|
47
46
|
ds:name "`menuPosition`";
|
|
48
47
|
ds:summary "Sets both the outer menu position and every nested disclosure position.";
|
|
49
48
|
ds:propertyType "choice";
|
|
50
|
-
ds:constraints "`right` places nested panels leftward; `left` places them rightward; `center` delegates horizontal panel placement to contextual-menu styling.";
|
|
51
49
|
ds:defaultValue "`right`";
|
|
50
|
+
ds:constraints "`right` places nested panels leftward; `left` places them rightward; `center` delegates horizontal panel placement to contextual-menu styling.";
|
|
52
51
|
ds:optional "true"
|
|
53
52
|
], [
|
|
54
53
|
a ds:Property;
|
|
55
54
|
ds:name "`isCollapsed`";
|
|
56
55
|
ds:summary "Forces collapsed mode even when the media query matches.";
|
|
57
56
|
ds:propertyType "boolean";
|
|
58
|
-
ds:constraints "Cannot force inline mode below `collapseFrom`.";
|
|
59
57
|
ds:defaultValue "false";
|
|
58
|
+
ds:constraints "Cannot force inline mode below `collapseFrom`.";
|
|
60
59
|
ds:optional "true"
|
|
61
|
-
]
|
|
60
|
+
];
|
|
61
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -10,117 +10,117 @@ ds:apps_landscape.pattern.side_panel_form_actions a ds:Pattern;
|
|
|
10
10
|
ds:usage "### When to use\n\n**Side-panel forms**\n\nUse to keep Back, Cancel, optional secondary, and primary submit actions consistent across side-panel workflows.\n\n**Async submission**\n\nUse when a consumer controls a primary loading state and needs the primary action disabled while it is true.\n\n### When not to use\n\n**Page-level forms**\n\nWhen the form layout is not inside a side panel or the dismissal semantics differ.\n\n**Incorrect pattern**: Using this component to anchor a multi-step form on a full page or modal where form state should persist across navigation.\n\n**Remediation strategy**: Build a dedicated footer or action bar for your page layout, or use native HTML form submission with your own button controls.\n\n**Single immediate command**\n\nWhen the interaction requires only one action button.\n\n**Incorrect pattern**: Rendering a full action bar with Cancel, Back, and submit buttons when only one simple action is needed.\n\n**Remediation strategy**: Render a single Button component directly in your layout instead of wrapping it in this full-featured action bar.\n\n**Generic page footer**\n\nWhen you need a reusable footer but not the side-panel dismissal semantics.\n\n**Incorrect pattern**: Reusing the sticky negative-margin styling for a generic footer without a side-panel context or the expected close behavior.\n\n**Remediation strategy**: Build a simpler footer component or use Vanilla Framework’s footer utilities that don’t assume panel-specific layout and interaction patterns.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- Back and Cancel have fixed visible labels. Consumers must provide a meaningful primary name and secondary content.\n- Loading semantics and announcements are delegated to Canonical `ActionButton`; local tests do not assert them.\n- This component does not restore focus when a panel closes. Focus return is a side-panel/provider responsibility and must be verified in the consuming workflow.\n- Keep callback buttons as native type-button controls and retain form submission only when the component is inside the intended form.\n\n### Content\n\n- Name submit actions with a specific verb such as Add profile, Save changes, or Remove target.\n- Keep one visually primary action and use negative appearance only when the action is destructive.\n\n### Keyboard and device\n\n- DOM/tab order is Back, Cancel, secondary, primary. Back sits outside the right-aligned action group.\n- Without `onSubmit`, the primary control is `type=\"submit\"`; it can participate in native form submission only when it belongs to a surrounding form. This component renders no form, supplies no `form` attribute, and implements no Enter-key handler.\n- With `onSubmit`, the primary control is `type=\"button\"` and invokes the supplied callback from its click path; the component does not establish Enter-key submission for that variant.\n- Local styles do not set `flex-wrap`, gaps, overflow, or breakpoints. Long translated labels and four-button variants can overflow on narrow panels; wrapping is an upstream requirement, not current behavior.\n\n### State and async behavior\n\n- The component owns no local state or effect.\n- `submitButtonLoading` is fully controlled and only affects the primary action.\n- Async callbacks are accepted by type but no rejection handling, notification, panel closure, or state reset occurs locally.\n- Back, Cancel, and secondary remain enabled during submit loading unless consumers explicitly disable applicable controls.\n\n### Content and internationalization\n\n- “Back” and “Cancel” are hardcoded English and cannot be replaced through props.\n- Primary and secondary content are consumer supplied. `submitButtonText` accepts only a string; secondary content accepts `ReactNode`.\n- No pluralization or dynamic status copy is generated locally.\n\n### Device / layout\n\n- Root background uses `$colors--theme--background-default` and switches to `$colors--theme--background-alt` under global `.is-dark`.\n- The top border uses `$colors--theme--border-default`; spacing uses `$sp-unit`, `$spv--x-large`; sticky stacking uses `var(--z-sticky)`.\n- No local mobile behavior exists. Suitability depends on the containing side-panel width and Canonical button sizing.";
|
|
12
12
|
ds:tier ds:apps_landscape;
|
|
13
|
-
ds:documentationStage ds:tag.specialadoption-docs;
|
|
14
13
|
ds:hasProperty [
|
|
15
14
|
a ds:Property;
|
|
16
15
|
ds:name "`submitButtonText`";
|
|
17
16
|
ds:summary "Visible primary-action content.";
|
|
18
17
|
ds:propertyType "text";
|
|
19
18
|
ds:optional "true";
|
|
20
|
-
ds:
|
|
21
|
-
ds:
|
|
19
|
+
ds:defaultValue "—";
|
|
20
|
+
ds:constraints "No local fallback. Omitting both text and ARIA label can leave an unnamed action depending on ActionButton loading behavior."
|
|
22
21
|
], [
|
|
23
22
|
a ds:Property;
|
|
24
23
|
ds:name "`submitButtonAriaLabel`";
|
|
25
24
|
ds:summary "Sets the primary ActionButton `aria-label`.";
|
|
26
25
|
ds:propertyType "text";
|
|
27
26
|
ds:optional "true";
|
|
28
|
-
ds:
|
|
29
|
-
ds:
|
|
27
|
+
ds:defaultValue "—";
|
|
28
|
+
ds:constraints "An ARIA label overrides the visible-text accessible name."
|
|
30
29
|
], [
|
|
31
30
|
a ds:Property;
|
|
32
31
|
ds:name "`submitButtonAppearance`";
|
|
33
32
|
ds:summary "Forwards ActionButton appearance.";
|
|
34
33
|
ds:propertyType "choice";
|
|
35
34
|
ds:optional "true";
|
|
36
|
-
ds:
|
|
37
|
-
ds:
|
|
35
|
+
ds:defaultValue "`positive`";
|
|
36
|
+
ds:constraints "Choose intent in the consumer."
|
|
38
37
|
], [
|
|
39
38
|
a ds:Property;
|
|
40
39
|
ds:name "`submitButtonDisabled`";
|
|
41
40
|
ds:summary "Consumer-controlled primary disabled state.";
|
|
42
41
|
ds:propertyType "boolean";
|
|
43
42
|
ds:optional "true";
|
|
44
|
-
ds:
|
|
45
|
-
ds:
|
|
43
|
+
ds:defaultValue "—";
|
|
44
|
+
ds:constraints "Combined with loading using logical OR."
|
|
46
45
|
], [
|
|
47
46
|
a ds:Property;
|
|
48
47
|
ds:name "`submitButtonLoading`";
|
|
49
48
|
ds:summary "Forwards ActionButton loading and disables the primary action.";
|
|
50
49
|
ds:propertyType "boolean";
|
|
51
50
|
ds:optional "true";
|
|
52
|
-
ds:
|
|
53
|
-
ds:
|
|
51
|
+
ds:defaultValue "false";
|
|
52
|
+
ds:constraints "Component does not start or clear loading itself."
|
|
54
53
|
], [
|
|
55
54
|
a ds:Property;
|
|
56
55
|
ds:name "`hasBackButton`";
|
|
57
56
|
ds:summary "Renders Back before the action group.";
|
|
58
57
|
ds:propertyType "boolean";
|
|
59
58
|
ds:optional "true";
|
|
60
|
-
ds:
|
|
61
|
-
ds:
|
|
59
|
+
ds:defaultValue "—";
|
|
60
|
+
ds:constraints "No local guard requires `onBackButtonPress`."
|
|
62
61
|
], [
|
|
63
62
|
a ds:Property;
|
|
64
63
|
ds:name "`onBackButtonPress`";
|
|
65
64
|
ds:summary "Handles Back activation.";
|
|
66
65
|
ds:propertyType "callback";
|
|
67
66
|
ds:optional "true";
|
|
68
|
-
ds:
|
|
69
|
-
ds:
|
|
67
|
+
ds:defaultValue "—";
|
|
68
|
+
ds:constraints "TypeScript: `() => void`. The button remains rendered but inert when omitted."
|
|
70
69
|
], [
|
|
71
70
|
a ds:Property;
|
|
72
71
|
ds:name "`onCancel`";
|
|
73
72
|
ds:summary "Overrides default cancellation.";
|
|
74
73
|
ds:propertyType "callback";
|
|
75
74
|
ds:optional "true";
|
|
76
|
-
ds:
|
|
77
|
-
ds:
|
|
75
|
+
ds:defaultValue "`closeSidePanel`";
|
|
76
|
+
ds:constraints "TypeScript: `() => void`. When omitted, Cancel calls `useSidePanel().closeSidePanel`."
|
|
78
77
|
], [
|
|
79
78
|
a ds:Property;
|
|
80
79
|
ds:name "`cancelButtonDisabled`";
|
|
81
80
|
ds:summary "Disables Cancel.";
|
|
82
81
|
ds:propertyType "boolean";
|
|
83
82
|
ds:optional "true";
|
|
84
|
-
ds:
|
|
85
|
-
ds:
|
|
83
|
+
ds:defaultValue "false";
|
|
84
|
+
ds:constraints "Independent from submit loading."
|
|
86
85
|
], [
|
|
87
86
|
a ds:Property;
|
|
88
87
|
ds:name "`secondaryActionButtonTitle`";
|
|
89
88
|
ds:summary "Secondary button content.";
|
|
90
89
|
ds:propertyType "node";
|
|
91
90
|
ds:optional "true";
|
|
92
|
-
ds:
|
|
93
|
-
ds:
|
|
91
|
+
ds:defaultValue "—";
|
|
92
|
+
ds:constraints "TypeScript: `ReactNode`. Must be truthy together with `secondaryActionButtonSubmit` to render."
|
|
94
93
|
], [
|
|
95
94
|
a ds:Property;
|
|
96
95
|
ds:name "`secondaryActionButtonSubmit`";
|
|
97
96
|
ds:summary "Handles secondary action activation.";
|
|
98
97
|
ds:propertyType "callback";
|
|
99
98
|
ds:optional "true";
|
|
100
|
-
ds:
|
|
101
|
-
ds:
|
|
99
|
+
ds:defaultValue "—";
|
|
100
|
+
ds:constraints "TypeScript: `(event: SyntheticEvent) => Promise<void> | void`. The promise is not awaited or caught by this component."
|
|
102
101
|
], [
|
|
103
102
|
a ds:Property;
|
|
104
103
|
ds:name "`secondaryActionButtonDisabled`";
|
|
105
104
|
ds:summary "Disables the secondary action.";
|
|
106
105
|
ds:propertyType "boolean";
|
|
107
106
|
ds:optional "true";
|
|
108
|
-
ds:
|
|
109
|
-
ds:
|
|
107
|
+
ds:defaultValue "—";
|
|
108
|
+
ds:constraints "Has no loading presentation."
|
|
110
109
|
], [
|
|
111
110
|
a ds:Property;
|
|
112
111
|
ds:name "`hasActionButtons`";
|
|
113
112
|
ds:summary "Controls the complete Cancel, secondary, and primary group.";
|
|
114
113
|
ds:propertyType "boolean";
|
|
115
114
|
ds:optional "true";
|
|
116
|
-
ds:
|
|
117
|
-
ds:
|
|
115
|
+
ds:defaultValue "true";
|
|
116
|
+
ds:constraints "Back can remain visible when false."
|
|
118
117
|
], [
|
|
119
118
|
a ds:Property;
|
|
120
119
|
ds:name "`onSubmit`";
|
|
121
120
|
ds:summary "Changes primary type to `button` and handles activation.";
|
|
122
121
|
ds:propertyType "callback";
|
|
123
122
|
ds:optional "true";
|
|
124
|
-
ds:
|
|
125
|
-
ds:
|
|
126
|
-
]
|
|
123
|
+
ds:defaultValue "—";
|
|
124
|
+
ds:constraints "TypeScript: `(event: SyntheticEvent) => Promise<void> | void`. Without it, native form submission is used."
|
|
125
|
+
];
|
|
126
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|
|
@@ -10,41 +10,41 @@ ds:apps_landscape.pattern.sortable_list a ds:Pattern;
|
|
|
10
10
|
ds:usage "### When to use\n\n- Use in Landscape’s export review step to reorder selected `ExportField` records before submission.\n- Provide stable unique ids and unique, concise labels; ids drive row refs/state and labels drive accessible names.\n- Treat buttons and numeric input as the reliable non-drag paths, especially on touch devices.\n- Keep parent `fields` synchronized with `onOrderChange` when order is controlled externally.\n\n### When not to use\n\n**Display sorting or read-only sequences**\n\nWhen you need to show ordered items without user reordering capability.\n\n**Incorrect pattern**: Using this component in a read-only view where users only view a pre-sorted list.\n\n**Remediation strategy**: Use a basic table or list component without drag/reorder controls.\n\n**Hierarchical or cross-list movement**\n\nWhen items belong to different hierarchies or need to move between multiple lists.\n\n**Incorrect pattern**: Trying to drag items between different groups or parent containers within a single component instance.\n\n**Remediation strategy**: Build a hierarchical tree component or multi-list drag-and-drop system designed for cross-boundary reordering.\n\n**Arbitrary item shapes or reduced-motion requirement**\n\nWhen you need full reduced-motion support or the items don’t fit the export field model.\n\n**Incorrect pattern**: Using this component without disabling FLIP animations and drag-overlay motion for users with `prefers-reduced-motion`.\n\n**Remediation strategy**: Extract or build a headless sortable hook that respects motion preferences, or implement your own reorder logic for custom item shapes.";
|
|
11
11
|
ds:guidelines "### Accessibility\n\n- Move buttons and position inputs include the field label in their accessible names. Same-direction focus restoration interpolates that label directly into a CSS attribute selector without escaping; labels containing selector-significant characters such as quotes or backslashes can make the selector unsafe, throw, or prevent focus restoration.\n- Endpoint buttons use Canonical disabled behavior; focus restoration intentionally skips a same-direction button that becomes `aria-disabled=\"true\"`.\n- The drag icon/row has no keyboard drag semantics, `aria-describedby`, or live instructions. The overlay is `aria-hidden`.\n- No live region announces changed positions, successful drops, or reset. Visible input values and focus movement are the only current nonvisual cues.\n- Table headers identify the two columns, but rows are draggable without a dedicated semantic handle.\n\n### Content\n\n- Instructions and reset copy are fixed English and export-specific; there are no content props.\n- Use human-readable labels and optional group titles; do not expose raw field ids.\n- “Reset order” means first-render order, not most recent server/prop order.\n\n### Internationalization / globalization\n\n- Instructions, table headers, reset label, and accessible-name templates are hardcoded English.\n- Numeric commit uses `Number.parseInt(raw, 10)` rather than locale parsing or input validity. Integer prefixes such as `2.5` parse as `2` if the browser permits the draft.\n- Positions and overlay badges use unformatted numbers; no RTL-specific drag/motion behavior exists.\n\n### Animation\n\n- Drag overlay position is updated imperatively through one coalesced animation frame per dragover burst.\n- Arrow/numeric moves use a `0.25s ease` FLIP transform, a `150ms` highlight, and smooth delayed `scrollIntoView`; drag rows use `0.15s` opacity/box-shadow transitions.\n- Source cancels tracked in-flight animation frames/timers before new FLIP capture and on unmount.\n- There is no `prefers-reduced-motion` media query or runtime branch. This is a current accessibility caveat.\n\n### Keyboard navigation and focus\n\n- DOM order is reset, then each row’s move-down button, number input, and move-up button.\n- Enter in the number input parses and commits an in-range different position. Invalid, empty, same, or out-of-range values clear the draft without callback; blur always clears the draft and does not commit.\n- Arrow-button moves request focus restoration to the moved row’s same-direction button. Numeric moves scroll/highlight but do not restore focus to the moved row.\n- A drag ending without successful drop restores the order captured at drag start. No custom Escape handler exists.\n\n### Device / layout\n\n- The order column is fixed at `10.5rem`; the number input is `5rem`. No component breakpoint or responsive table adaptation exists.\n- Overlay is portalled to `document.body`, fixed at the viewport origin and moved by transforms, with `z-index: 9999` and pointer events disabled.\n- Native HTML5 row dragging is unreliable on touch; buttons and numeric input are the current mobile path.\n- Long tables are not virtualized. Arrow/numeric movement smooth-scrolls the moved row to viewport center after motion.\n\n### Performance\n\n- Overlay movement avoids React state per dragover; row ref callbacks are cached by field id.\n- FLIP captures and updates every registered row, and each drag-enter reorders the full array. No upper bound or large-list benchmark is documented.\n- Ref callback cache entries are not pruned when fields disappear, although detached row elements are removed from the row map.";
|
|
12
12
|
ds:tier ds:apps_landscape;
|
|
13
|
-
ds:documentationStage ds:tag.specialadoption-docs;
|
|
14
13
|
ds:hasProperty [
|
|
15
14
|
a ds:Property;
|
|
16
15
|
ds:name "`fields`";
|
|
17
16
|
ds:summary "Ordered field records with id, label, and optional group title.";
|
|
18
17
|
ds:propertyType "list of objects";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
18
|
+
ds:defaultValue "—";
|
|
19
|
+
ds:constraints "TypeScript: `ExportField[]`, where `ExportField` is `{ id: string; label: string; groupTitle?: string }`. Ids must be stable and unique. First-render array contents become the permanent reset baseline for that mount. `SortableFieldListProps` is implementation-local, while the feature barrel separately exports `ExportField`."
|
|
21
20
|
], [
|
|
22
21
|
a ds:Property;
|
|
23
22
|
ds:name "`fields[].id`";
|
|
24
23
|
ds:summary "Supplies the stable field identity used for row keys, refs, and reorder state.";
|
|
25
24
|
ds:propertyType "text";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
25
|
+
ds:defaultValue "—";
|
|
26
|
+
ds:constraints "TypeScript: `string`. Must be unique within `fields`."
|
|
28
27
|
], [
|
|
29
28
|
a ds:Property;
|
|
30
29
|
ds:name "`fields[].label`";
|
|
31
30
|
ds:summary "Supplies visible field text and text interpolated into accessible control names.";
|
|
32
31
|
ds:propertyType "text";
|
|
33
|
-
ds:
|
|
34
|
-
ds:
|
|
32
|
+
ds:defaultValue "—";
|
|
33
|
+
ds:constraints "TypeScript: `string`."
|
|
35
34
|
], [
|
|
36
35
|
a ds:Property;
|
|
37
36
|
ds:name "`fields[].groupTitle`";
|
|
38
37
|
ds:summary "Supplies optional group metadata rendered as a chip.";
|
|
39
38
|
ds:propertyType "text";
|
|
40
|
-
ds:constraints "TypeScript: `string`. Rendering requires a truthy value.";
|
|
41
39
|
ds:defaultValue "—";
|
|
40
|
+
ds:constraints "TypeScript: `string`. Rendering requires a truthy value.";
|
|
42
41
|
ds:optional "true"
|
|
43
42
|
], [
|
|
44
43
|
a ds:Property;
|
|
45
44
|
ds:name "`onOrderChange`";
|
|
46
45
|
ds:summary "Receives full order after successful drop, arrow/numeric move, or reset.";
|
|
47
46
|
ds:propertyType "callback";
|
|
48
|
-
ds:
|
|
49
|
-
ds:
|
|
50
|
-
]
|
|
47
|
+
ds:defaultValue "—";
|
|
48
|
+
ds:constraints "TypeScript: `(fields: ExportField[]) => void`, where `ExportField` is `{ id: string; label: string; groupTitle?: string }`. Called synchronously; source does not await, catch, or roll back callback failures. `SortableFieldListProps` is implementation-local; the feature barrel does not export a generic `SortableList` symbol or props type."
|
|
49
|
+
];
|
|
50
|
+
ds:documentationStage ds:tag.specialadoption-docs.
|