@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
|
@@ -16,308 +16,308 @@ ds:apps_landscape.component.multi_select_field a ds:Component;
|
|
|
16
16
|
ds:name "`items`";
|
|
17
17
|
ds:summary "Supplies the available options.";
|
|
18
18
|
ds:propertyType "list of objects";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
19
|
+
ds:constraints "TypeScript: `MultiSelectItem[]`. When `disabled` is true, this array also replaces `disabledItems`.";
|
|
20
|
+
ds:defaultValue "—"
|
|
21
21
|
], [
|
|
22
22
|
a ds:Property;
|
|
23
23
|
ds:name "`items[].label`";
|
|
24
24
|
ds:summary "Supplies an option's visible label.";
|
|
25
25
|
ds:propertyType "text";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
26
|
+
ds:constraints "TypeScript: `string`.";
|
|
27
|
+
ds:defaultValue "—"
|
|
28
28
|
], [
|
|
29
29
|
a ds:Property;
|
|
30
30
|
ds:name "`items[].value`";
|
|
31
31
|
ds:summary "Supplies an option's submitted identity.";
|
|
32
32
|
ds:propertyType "text";
|
|
33
|
-
ds:
|
|
34
|
-
ds:
|
|
33
|
+
ds:constraints "TypeScript: `string | number`.";
|
|
34
|
+
ds:defaultValue "—"
|
|
35
35
|
], [
|
|
36
36
|
a ds:Property;
|
|
37
37
|
ds:name "`items[].group`";
|
|
38
38
|
ds:summary "Assigns an option to a group.";
|
|
39
39
|
ds:propertyType "text";
|
|
40
|
-
ds:defaultValue "—";
|
|
41
40
|
ds:constraints "TypeScript: `string`.";
|
|
41
|
+
ds:defaultValue "—";
|
|
42
42
|
ds:optional "true"
|
|
43
43
|
], [
|
|
44
44
|
a ds:Property;
|
|
45
45
|
ds:name "`selectedItems`";
|
|
46
46
|
ds:summary "Supplies the caller-owned selected options.";
|
|
47
47
|
ds:propertyType "list of objects";
|
|
48
|
+
ds:constraints "TypeScript: `MultiSelectItem[]`. The wrapper stores no selected-item state.";
|
|
48
49
|
ds:defaultValue "—";
|
|
49
|
-
ds:constraints "TypeScript: `MultiSelectItem[]`. The wrapper stores no selected-item state. ";
|
|
50
50
|
ds:optional "true"
|
|
51
51
|
], [
|
|
52
52
|
a ds:Property;
|
|
53
53
|
ds:name "`disabledItems`";
|
|
54
|
-
ds:summary "Supplies individually disabled options while the field is enabled.
|
|
54
|
+
ds:summary "Supplies individually disabled options while the field is enabled.";
|
|
55
55
|
ds:propertyType "list of objects";
|
|
56
|
+
ds:constraints "TypeScript: `MultiSelectItem[]`. Ignored in favor of all `items` when `disabled` is true.";
|
|
56
57
|
ds:defaultValue "—";
|
|
57
|
-
ds:constraints "TypeScript: `MultiSelectItem[]`. Ignored in favor of all `items` when `disabled` is true. ";
|
|
58
58
|
ds:optional "true"
|
|
59
59
|
], [
|
|
60
60
|
a ds:Property;
|
|
61
61
|
ds:name "`disabled`";
|
|
62
62
|
ds:summary "Disables the control.";
|
|
63
63
|
ds:propertyType "boolean";
|
|
64
|
+
ds:constraints "TypeScript: `boolean`. A true value also disables every item.";
|
|
64
65
|
ds:defaultValue "—";
|
|
65
|
-
ds:constraints "TypeScript: `boolean`. A true value also disables every item. ";
|
|
66
66
|
ds:optional "true"
|
|
67
67
|
], [
|
|
68
68
|
a ds:Property;
|
|
69
69
|
ds:name "`error`";
|
|
70
|
-
ds:summary "Applies error styling and displays validation feedback.
|
|
70
|
+
ds:summary "Applies error styling and displays validation feedback.";
|
|
71
71
|
ds:propertyType "text";
|
|
72
|
+
ds:constraints "TypeScript: `string`. A truthy value is forwarded and rendered in both the dropdown footer and persistent feedback.";
|
|
72
73
|
ds:defaultValue "—";
|
|
73
|
-
ds:constraints "TypeScript: `string`. A truthy value is forwarded and rendered in both the dropdown footer and persistent feedback. ";
|
|
74
74
|
ds:optional "true"
|
|
75
75
|
], [
|
|
76
76
|
a ds:Property;
|
|
77
77
|
ds:name "`help`";
|
|
78
78
|
ds:summary "Renders persistent help before the control.";
|
|
79
79
|
ds:propertyType "node";
|
|
80
|
+
ds:constraints "TypeScript: `ReactNode`. Truthiness controls rendering; the wrapper adds no `aria-describedby` relationship.";
|
|
80
81
|
ds:defaultValue "—";
|
|
81
|
-
ds:constraints "TypeScript: `ReactNode`. Truthiness controls rendering; the wrapper adds no `aria-describedby` relationship. ";
|
|
82
82
|
ds:optional "true"
|
|
83
83
|
], [
|
|
84
84
|
a ds:Property;
|
|
85
85
|
ds:name "`helpClassName`";
|
|
86
86
|
ds:summary "Supplies Canonical MultiSelect help classes.";
|
|
87
87
|
ds:propertyType "text";
|
|
88
|
+
ds:constraints "TypeScript: `string`. The wrapper consumes `help`, so this has no wrapper-owned help target.";
|
|
88
89
|
ds:defaultValue "—";
|
|
89
|
-
ds:constraints "TypeScript: `string`. The wrapper consumes `help`, so this has no wrapper-owned help target. ";
|
|
90
90
|
ds:optional "true"
|
|
91
91
|
], [
|
|
92
92
|
a ds:Property;
|
|
93
93
|
ds:name "`label`";
|
|
94
|
-
ds:summary "Renders the outer label and labels Canonical MultiSelect.
|
|
94
|
+
ds:summary "Renders the outer label and labels Canonical MultiSelect.";
|
|
95
95
|
ds:propertyType "text";
|
|
96
|
+
ds:constraints "TypeScript: `string`. The outer label has no `htmlFor`.";
|
|
96
97
|
ds:defaultValue "—";
|
|
97
|
-
ds:constraints "TypeScript: `string`. The outer label has no `htmlFor`. ";
|
|
98
98
|
ds:optional "true"
|
|
99
99
|
], [
|
|
100
100
|
a ds:Property;
|
|
101
101
|
ds:name "`listSelected`";
|
|
102
|
-
ds:summary "Selects Canonical MultiSelect's selected-item listing behavior.
|
|
102
|
+
ds:summary "Selects Canonical MultiSelect's selected-item listing behavior.";
|
|
103
103
|
ds:propertyType "boolean";
|
|
104
|
+
ds:constraints "TypeScript: `boolean`. Forwarded unchanged.";
|
|
104
105
|
ds:defaultValue "—";
|
|
105
|
-
ds:constraints "TypeScript: `boolean`. Forwarded unchanged. ";
|
|
106
106
|
ds:optional "true"
|
|
107
107
|
], [
|
|
108
108
|
a ds:Property;
|
|
109
109
|
ds:name "`onDeselectItem`";
|
|
110
110
|
ds:summary "Handles deselection of one option.";
|
|
111
111
|
ds:propertyType "callback";
|
|
112
|
+
ds:constraints "TypeScript: `(item: MultiSelectItem) => void`.";
|
|
112
113
|
ds:defaultValue "—";
|
|
113
|
-
ds:constraints "TypeScript: `(item: MultiSelectItem) => void`. ";
|
|
114
114
|
ds:optional "true"
|
|
115
115
|
], [
|
|
116
116
|
a ds:Property;
|
|
117
117
|
ds:name "`onItemsUpdate`";
|
|
118
118
|
ds:summary "Handles changes to the selected option array.";
|
|
119
119
|
ds:propertyType "callback";
|
|
120
|
+
ds:constraints "TypeScript: `(items: MultiSelectItem[]) => void`.";
|
|
120
121
|
ds:defaultValue "—";
|
|
121
|
-
ds:constraints "TypeScript: `(items: MultiSelectItem[]) => void`. ";
|
|
122
122
|
ds:optional "true"
|
|
123
123
|
], [
|
|
124
124
|
a ds:Property;
|
|
125
125
|
ds:name "`onSelectItem`";
|
|
126
126
|
ds:summary "Handles selection of one option.";
|
|
127
127
|
ds:propertyType "callback";
|
|
128
|
+
ds:constraints "TypeScript: `(item: MultiSelectItem) => void`.";
|
|
128
129
|
ds:defaultValue "—";
|
|
129
|
-
ds:constraints "TypeScript: `(item: MultiSelectItem) => void`. ";
|
|
130
130
|
ds:optional "true"
|
|
131
131
|
], [
|
|
132
132
|
a ds:Property;
|
|
133
133
|
ds:name "`placeholder`";
|
|
134
134
|
ds:summary "Supplies placeholder text for the control.";
|
|
135
135
|
ds:propertyType "text";
|
|
136
|
-
ds:defaultValue "—";
|
|
137
136
|
ds:constraints "TypeScript: `string`.";
|
|
137
|
+
ds:defaultValue "—";
|
|
138
138
|
ds:optional "true"
|
|
139
139
|
], [
|
|
140
140
|
a ds:Property;
|
|
141
141
|
ds:name "`required`";
|
|
142
142
|
ds:summary "Adds required visual treatment to the outer label.";
|
|
143
143
|
ds:propertyType "boolean";
|
|
144
|
+
ds:constraints "TypeScript: `boolean`. It is not forwarded to Canonical MultiSelect.";
|
|
144
145
|
ds:defaultValue "—";
|
|
145
|
-
ds:constraints "TypeScript: `boolean`. It is not forwarded to Canonical MultiSelect. ";
|
|
146
146
|
ds:optional "true"
|
|
147
147
|
], [
|
|
148
148
|
a ds:Property;
|
|
149
149
|
ds:name "`renderItem`";
|
|
150
150
|
ds:summary "Customizes option rendering.";
|
|
151
151
|
ds:propertyType "callback";
|
|
152
|
+
ds:constraints "TypeScript: `(item: MultiSelectItem) => ReactNode`.";
|
|
152
153
|
ds:defaultValue "—";
|
|
153
|
-
ds:constraints "TypeScript: `(item: MultiSelectItem) => ReactNode`. ";
|
|
154
154
|
ds:optional "true"
|
|
155
155
|
], [
|
|
156
156
|
a ds:Property;
|
|
157
157
|
ds:name "`dropdownHeader`";
|
|
158
158
|
ds:summary "Supplies content at the start of the dropdown.";
|
|
159
159
|
ds:propertyType "node";
|
|
160
|
-
ds:defaultValue "—";
|
|
161
160
|
ds:constraints "TypeScript: `ReactNode`.";
|
|
161
|
+
ds:defaultValue "—";
|
|
162
162
|
ds:optional "true"
|
|
163
163
|
], [
|
|
164
164
|
a ds:Property;
|
|
165
165
|
ds:name "`dropdownFooter`";
|
|
166
166
|
ds:summary "Supplies content at the end of the dropdown.";
|
|
167
167
|
ds:propertyType "node";
|
|
168
|
+
ds:constraints "TypeScript: `ReactNode`. With an error, it follows the dropdown error copy inside a validation wrapper.";
|
|
168
169
|
ds:defaultValue "—";
|
|
169
|
-
ds:constraints "TypeScript: `ReactNode`. With an error, it follows the dropdown error copy inside a validation wrapper. ";
|
|
170
170
|
ds:optional "true"
|
|
171
171
|
], [
|
|
172
172
|
a ds:Property;
|
|
173
173
|
ds:name "`footerClassName`";
|
|
174
174
|
ds:summary "Adds classes to the dropdown footer.";
|
|
175
175
|
ds:propertyType "text";
|
|
176
|
-
ds:defaultValue "—";
|
|
177
176
|
ds:constraints "TypeScript: `string`.";
|
|
177
|
+
ds:defaultValue "—";
|
|
178
178
|
ds:optional "true"
|
|
179
179
|
], [
|
|
180
180
|
a ds:Property;
|
|
181
181
|
ds:name "`inputClassName`";
|
|
182
182
|
ds:summary "Adds classes to the Canonical MultiSelect input.";
|
|
183
183
|
ds:propertyType "text";
|
|
184
|
-
ds:defaultValue "—";
|
|
185
184
|
ds:constraints "TypeScript: `string`.";
|
|
185
|
+
ds:defaultValue "—";
|
|
186
186
|
ds:optional "true"
|
|
187
187
|
], [
|
|
188
188
|
a ds:Property;
|
|
189
189
|
ds:name "`dropdownClassName`";
|
|
190
190
|
ds:summary "Adds classes to the dropdown.";
|
|
191
191
|
ds:propertyType "text";
|
|
192
|
-
ds:defaultValue "—";
|
|
193
192
|
ds:constraints "TypeScript: `string`.";
|
|
193
|
+
ds:defaultValue "—";
|
|
194
194
|
ds:optional "true"
|
|
195
195
|
], [
|
|
196
196
|
a ds:Property;
|
|
197
197
|
ds:name "`emptyState`";
|
|
198
198
|
ds:summary "Supplies custom empty-state content.";
|
|
199
199
|
ds:propertyType "node";
|
|
200
|
-
ds:defaultValue "—";
|
|
201
200
|
ds:constraints "TypeScript: `ReactNode`.";
|
|
201
|
+
ds:defaultValue "—";
|
|
202
202
|
ds:optional "true"
|
|
203
203
|
], [
|
|
204
204
|
a ds:Property;
|
|
205
205
|
ds:name "`emptyMessage`";
|
|
206
206
|
ds:summary "Supplies the empty-state message.";
|
|
207
207
|
ds:propertyType "text";
|
|
208
|
-
ds:defaultValue "—";
|
|
209
208
|
ds:constraints "TypeScript: `string`.";
|
|
209
|
+
ds:defaultValue "—";
|
|
210
210
|
ds:optional "true"
|
|
211
211
|
], [
|
|
212
212
|
a ds:Property;
|
|
213
213
|
ds:name "`showDropdownFooter`";
|
|
214
214
|
ds:summary "Controls Canonical MultiSelect footer visibility.";
|
|
215
215
|
ds:propertyType "boolean";
|
|
216
|
-
ds:defaultValue "—";
|
|
217
216
|
ds:constraints "TypeScript: `boolean`.";
|
|
217
|
+
ds:defaultValue "—";
|
|
218
218
|
ds:optional "true"
|
|
219
219
|
], [
|
|
220
220
|
a ds:Property;
|
|
221
221
|
ds:name "`variant`";
|
|
222
222
|
ds:summary "Selects the Canonical MultiSelect trigger variant.";
|
|
223
223
|
ds:propertyType "choice";
|
|
224
|
+
ds:constraints "TypeScript: `\"condensed\" | \"search\"`.";
|
|
224
225
|
ds:defaultValue "—";
|
|
225
|
-
ds:constraints "TypeScript: `\"condensed\" | \"search\"`. ";
|
|
226
226
|
ds:optional "true"
|
|
227
227
|
], [
|
|
228
228
|
a ds:Property;
|
|
229
229
|
ds:name "`scrollOverflow`";
|
|
230
230
|
ds:summary "Controls dropdown overflow behavior.";
|
|
231
231
|
ds:propertyType "boolean";
|
|
232
|
+
ds:constraints "TypeScript: `boolean`. Forwarded values override the wrapper fallback.";
|
|
232
233
|
ds:defaultValue "true";
|
|
233
|
-
ds:constraints "TypeScript: `boolean`. Forwarded values override the wrapper fallback. ";
|
|
234
234
|
ds:optional "true"
|
|
235
235
|
], [
|
|
236
236
|
a ds:Property;
|
|
237
237
|
ds:name "`isSortedAlphabetically`";
|
|
238
238
|
ds:summary "Controls alphabetical option sorting.";
|
|
239
239
|
ds:propertyType "boolean";
|
|
240
|
-
ds:defaultValue "—";
|
|
241
240
|
ds:constraints "TypeScript: `boolean`.";
|
|
241
|
+
ds:defaultValue "—";
|
|
242
242
|
ds:optional "true"
|
|
243
243
|
], [
|
|
244
244
|
a ds:Property;
|
|
245
245
|
ds:name "`hasSelectedItemsFirst`";
|
|
246
246
|
ds:summary "Controls whether selected options appear first.";
|
|
247
247
|
ds:propertyType "boolean";
|
|
248
|
-
ds:defaultValue "—";
|
|
249
248
|
ds:constraints "TypeScript: `boolean`.";
|
|
249
|
+
ds:defaultValue "—";
|
|
250
250
|
ds:optional "true"
|
|
251
251
|
], [
|
|
252
252
|
a ds:Property;
|
|
253
253
|
ds:name "`id`";
|
|
254
254
|
ds:summary "Supplies the Canonical MultiSelect identifier.";
|
|
255
255
|
ds:propertyType "text";
|
|
256
|
-
ds:defaultValue "—";
|
|
257
256
|
ds:constraints "TypeScript: `string`.";
|
|
257
|
+
ds:defaultValue "—";
|
|
258
258
|
ds:optional "true"
|
|
259
259
|
], [
|
|
260
260
|
a ds:Property;
|
|
261
261
|
ds:name "`onSearchChange`";
|
|
262
262
|
ds:summary "Handles search-text changes.";
|
|
263
263
|
ds:propertyType "callback";
|
|
264
|
+
ds:constraints "TypeScript: `(value: string) => void`.";
|
|
264
265
|
ds:defaultValue "—";
|
|
265
|
-
ds:constraints "TypeScript: `(value: string) => void`. ";
|
|
266
266
|
ds:optional "true"
|
|
267
267
|
], [
|
|
268
268
|
a ds:Property;
|
|
269
269
|
ds:name "`onOpen`";
|
|
270
|
-
ds:summary "Notifies when observed `aria-expanded` becomes `\"true\"`.
|
|
270
|
+
ds:summary "Notifies when observed `aria-expanded` becomes `\"true\"`.";
|
|
271
271
|
ds:propertyType "callback";
|
|
272
|
+
ds:constraints "TypeScript: `() => void`. A `MutationObserver` watches the first descendant with `[aria-expanded]`; no initial callback fires.";
|
|
272
273
|
ds:defaultValue "—";
|
|
273
|
-
ds:constraints "TypeScript: `() => void`. A `MutationObserver` watches the first descendant with `[aria-expanded]`; no initial callback fires. ";
|
|
274
274
|
ds:optional "true"
|
|
275
275
|
], [
|
|
276
276
|
a ds:Property;
|
|
277
277
|
ds:name "`onClose`";
|
|
278
|
-
ds:summary "Notifies when observed `aria-expanded` changes away from `\"true\"`.
|
|
278
|
+
ds:summary "Notifies when observed `aria-expanded` changes away from `\"true\"`.";
|
|
279
279
|
ds:propertyType "callback";
|
|
280
|
+
ds:constraints "TypeScript: `() => void`. Observation depends on Canonical MultiSelect's rendered control.";
|
|
280
281
|
ds:defaultValue "—";
|
|
281
|
-
ds:constraints "TypeScript: `() => void`. Observation depends on Canonical MultiSelect's rendered control. ";
|
|
282
282
|
ds:optional "true"
|
|
283
283
|
], [
|
|
284
284
|
a ds:Property;
|
|
285
285
|
ds:name "`searchButtonType`";
|
|
286
|
-
ds:summary "Selects the search trigger's native button type.
|
|
286
|
+
ds:summary "Selects the search trigger's native button type.";
|
|
287
287
|
ds:propertyType "choice";
|
|
288
|
+
ds:constraints "TypeScript: `\"submit\" | \"button\"`.";
|
|
288
289
|
ds:defaultValue "—";
|
|
289
|
-
ds:constraints "TypeScript: `\"submit\" | \"button\"`. ";
|
|
290
290
|
ds:optional "true"
|
|
291
291
|
], [
|
|
292
292
|
a ds:Property;
|
|
293
293
|
ds:name "`className`";
|
|
294
294
|
ds:summary "Adds classes to the root wrapper.";
|
|
295
295
|
ds:propertyType "text";
|
|
296
|
+
ds:constraints "TypeScript: `string`. Local validation and state classes remain applied.";
|
|
296
297
|
ds:defaultValue "—";
|
|
297
|
-
ds:constraints "TypeScript: `string`. Local validation and state classes remain applied. ";
|
|
298
298
|
ds:optional "true"
|
|
299
299
|
], [
|
|
300
300
|
a ds:Property;
|
|
301
301
|
ds:name "`innerRef`";
|
|
302
302
|
ds:summary "Receives the root wrapper node.";
|
|
303
303
|
ds:propertyType "object";
|
|
304
|
+
ds:constraints "TypeScript: `Ref<HTMLDivElement>`. Supports callback and mutable object refs; the implementation does not explicitly write `null` on unmount.";
|
|
304
305
|
ds:defaultValue "—";
|
|
305
|
-
ds:constraints "TypeScript: `Ref<HTMLDivElement>`. Supports callback and mutable object refs; the implementation does not explicitly write `null` on unmount. ";
|
|
306
306
|
ds:optional "true"
|
|
307
307
|
], [
|
|
308
308
|
a ds:Property;
|
|
309
309
|
ds:name "`labelClassName`";
|
|
310
310
|
ds:summary "Adds classes to the outer label.";
|
|
311
311
|
ds:propertyType "text";
|
|
312
|
+
ds:constraints "TypeScript: `string`. Has no effect when `label` is absent.";
|
|
312
313
|
ds:defaultValue "—";
|
|
313
|
-
ds:constraints "TypeScript: `string`. Has no effect when `label` is absent. ";
|
|
314
314
|
ds:optional "true"
|
|
315
315
|
], [
|
|
316
316
|
a ds:Property;
|
|
317
317
|
ds:name "`warning`";
|
|
318
|
-
ds:summary "Applies caution styling and renders feedback below the control.
|
|
318
|
+
ds:summary "Applies caution styling and renders feedback below the control.";
|
|
319
319
|
ds:propertyType "node";
|
|
320
|
+
ds:constraints "TypeScript: `ReactNode`. It is not forwarded or included in the dropdown footer.";
|
|
320
321
|
ds:defaultValue "—";
|
|
321
|
-
ds:constraints "TypeScript: `ReactNode`. It is not forwarded or included in the dropdown footer. ";
|
|
322
322
|
ds:optional "true"
|
|
323
323
|
].
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
ds:apps_landscape.component.password_constraints a ds:Component;
|
|
6
6
|
ds:name "PasswordConstraints";
|
|
7
|
-
ds:summary "The **Password Constraints** component is a validation feedback list that helps users ensure their password meets security requirements in real-time. It displays a list of criteria (length, casing, numbers) that update visually to indicate success, failure, or neutral states based on the user's input
|
|
7
|
+
ds:summary "The **Password Constraints** component is a validation feedback list that helps users ensure their password meets security requirements in real-time. It displays a list of criteria (length, casing, numbers) that update visually to indicate success, failure, or neutral states based on the user's input.";
|
|
8
8
|
ds:anatomyDsl "---\n# 1. Container (Root)\nnode:\n uri: global.component.password-constraints\n styles:\n # Structural\n layout.display: block\n layout.type: stack\n layout.direction: vertical\n # Themeable\n spacing.gap: spacing/vertical/small\n\n edges:\n # 2. Title\n - node:\n role: title label\n styles:\n typography.size: font/size/small # Maps to .p-text--small\n typography.color: color/text/muted # Maps to .u-text--muted\n spacing.margin.bottom: spacing/vertical/small\n relation:\n cardinality: \"1\"\n\n # 3. Constraints List\n - node:\n role: constraints list container\n styles:\n layout.display: block\n edges:\n # 4. Constraint Item (Repeating)\n - node:\n role: constraint item\n styles:\n # Structural (from .constraint class)\n layout.type: flow # Maps to display: flex\n layout.direction: horizontal\n layout.align: center # Maps to align-items: center\n\n # Themeable\n spacing.gap: spacing/small # Maps to column-gap: $sph--small\n spacing.margin.bottom: spacing/small # Maps to margin-bottom: $spv--small\n\n # Dynamic Appearance (State-based)\n # Maps to .passed, .default, .failed classes\n typography.color: [color/positive, color/text/muted, color/negative]\n\n edges:\n # 5. Status Icon\n - node:\n uri: global.component.icon\n styles:\n size.width: size/icon/small\n size.height: size/icon/small\n relation:\n cardinality: \"1\"\n\n # 6. Constraint Label\n - node:\n role: label text\n styles:\n typography.size: font/size/small # Maps to .p-text--small\n relation:\n cardinality: \"1\"\n\n relation:\n cardinality: \"4\" # Fixed at 4 items in the original code\n relation:\n cardinality: \"1\"";
|
|
9
9
|
ds:anatomyClassic "Table\n\n";
|
|
10
10
|
ds:usage "**When to Use**\n\n- **Password Creation:** Use in registration or \"change password\" forms where specific complexity rules are enforced.\n- **Real-time Validation:** Use to provide immediate feedback as the user types, rather than waiting for form submission.\n\n**When Not to Use**\n\n- **Simple Inputs:** Do not use for standard text fields that do not require complex validation logic.\n- **Hidden logic:** Do not use if the password requirements are not publicly disclosed to the user.";
|
|
@@ -16,85 +16,85 @@ ds:apps_landscape.component.progress_bar a ds:Component;
|
|
|
16
16
|
ds:name "`ProgressBar.progress`";
|
|
17
17
|
ds:summary "Current completion percentage.";
|
|
18
18
|
ds:propertyType "number";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
19
|
+
ds:constraints "Rounded to the nearest integer and clamped to `0`–`100`; callers must provide a finite number.";
|
|
20
|
+
ds:defaultValue "—"
|
|
21
21
|
], [
|
|
22
22
|
a ds:Property;
|
|
23
23
|
ds:name "`ProgressBar.secondsRemaining`";
|
|
24
|
-
ds:summary "Estimated seconds remaining, or an unresolved estimate.
|
|
24
|
+
ds:summary "Estimated seconds remaining, or an unresolved estimate.";
|
|
25
25
|
ds:propertyType "number";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
26
|
+
ds:constraints "Accepts `null` to show estimating copy; values at or below five seconds show almost-done copy.";
|
|
27
|
+
ds:defaultValue "—"
|
|
28
28
|
], [
|
|
29
29
|
a ds:Property;
|
|
30
30
|
ds:name "`ProgressBar.fullWidth`";
|
|
31
|
-
ds:summary "Removes the progress track's default maximum width.
|
|
31
|
+
ds:summary "Removes the progress track's default maximum width.";
|
|
32
32
|
ds:propertyType "boolean";
|
|
33
|
+
ds:constraints "The outer wrapper remains full width in either mode.";
|
|
33
34
|
ds:defaultValue "false";
|
|
34
|
-
ds:constraints "The outer wrapper remains full width in either mode. ";
|
|
35
35
|
ds:optional "true"
|
|
36
36
|
], [
|
|
37
37
|
a ds:Property;
|
|
38
38
|
ds:name "`ProgressBar.loading`";
|
|
39
|
-
ds:summary "Adds a decorative spinner before the progress content.
|
|
39
|
+
ds:summary "Adds a decorative spinner before the progress content.";
|
|
40
40
|
ds:propertyType "boolean";
|
|
41
|
+
ds:constraints "The spinner is `aria-hidden`; determinate progress remains represented by the progressbar.";
|
|
41
42
|
ds:defaultValue "false";
|
|
42
|
-
ds:constraints "The spinner is `aria-hidden`; determinate progress remains represented by the progressbar. ";
|
|
43
43
|
ds:optional "true"
|
|
44
44
|
], [
|
|
45
45
|
a ds:Property;
|
|
46
46
|
ds:name "`ProgressBar.label`";
|
|
47
|
-
ds:summary "Accessible name used when no labelled-by relationship exists.
|
|
47
|
+
ds:summary "Accessible name used when no labelled-by relationship exists.";
|
|
48
48
|
ds:propertyType "text";
|
|
49
|
-
ds:defaultValue "`Progress`";
|
|
50
49
|
ds:constraints "Ignored when `labelledBy` is provided.";
|
|
50
|
+
ds:defaultValue "`Progress`";
|
|
51
51
|
ds:optional "true"
|
|
52
52
|
], [
|
|
53
53
|
a ds:Property;
|
|
54
54
|
ds:name "`ProgressBar.labelledBy`";
|
|
55
|
-
ds:summary "ID of an existing visible label for the progressbar.
|
|
55
|
+
ds:summary "ID of an existing visible label for the progressbar.";
|
|
56
56
|
ds:propertyType "text";
|
|
57
|
+
ds:constraints "Suppresses `aria-label`; the referenced element must exist and identify this operation.";
|
|
57
58
|
ds:defaultValue "—";
|
|
58
|
-
ds:constraints "Suppresses `aria-label`; the referenced element must exist and identify this operation. ";
|
|
59
59
|
ds:optional "true"
|
|
60
60
|
], [
|
|
61
61
|
a ds:Property;
|
|
62
62
|
ds:name "`ProgressBar.className`";
|
|
63
|
-
ds:summary "Additional class names applied to the outer wrapper.
|
|
63
|
+
ds:summary "Additional class names applied to the outer wrapper.";
|
|
64
64
|
ds:propertyType "text";
|
|
65
|
+
ds:constraints "Use for placement only; do not obscure the indicator or visible status labels.";
|
|
65
66
|
ds:defaultValue "—";
|
|
66
|
-
ds:constraints "Use for placement only; do not obscure the indicator or visible status labels. ";
|
|
67
67
|
ds:optional "true"
|
|
68
68
|
], [
|
|
69
69
|
a ds:Property;
|
|
70
70
|
ds:name "`ProgressBar.showPercentage`";
|
|
71
71
|
ds:summary "Controls the visible percentage label.";
|
|
72
72
|
ds:propertyType "boolean";
|
|
73
|
+
ds:constraints "The semantic current value remains available when the visible label is hidden.";
|
|
73
74
|
ds:defaultValue "true";
|
|
74
|
-
ds:constraints "The semantic current value remains available when the visible label is hidden. ";
|
|
75
75
|
ds:optional "true"
|
|
76
76
|
], [
|
|
77
77
|
a ds:Property;
|
|
78
78
|
ds:name "`ProgressBar.showEta`";
|
|
79
|
-
ds:summary "Controls the visible ETA and ETA portion of value text.
|
|
79
|
+
ds:summary "Controls the visible ETA and ETA portion of value text.";
|
|
80
80
|
ds:propertyType "boolean";
|
|
81
|
+
ds:constraints "When false, `aria-valuetext` contains only the percentage.";
|
|
81
82
|
ds:defaultValue "true";
|
|
82
|
-
ds:constraints "When false, `aria-valuetext` contains only the percentage. ";
|
|
83
83
|
ds:optional "true"
|
|
84
84
|
], [
|
|
85
85
|
a ds:Property;
|
|
86
86
|
ds:name "`ProgressBar.estimatingLabel`";
|
|
87
87
|
ds:summary "Copy displayed while the estimate is unresolved.";
|
|
88
88
|
ds:propertyType "text";
|
|
89
|
+
ds:constraints "Used only when `secondsRemaining` is `null`.";
|
|
89
90
|
ds:defaultValue "`Estimating...`";
|
|
90
|
-
ds:constraints "Used only when `secondsRemaining` is `null`. ";
|
|
91
91
|
ds:optional "true"
|
|
92
92
|
], [
|
|
93
93
|
a ds:Property;
|
|
94
94
|
ds:name "`ProgressBar.almostDoneLabel`";
|
|
95
95
|
ds:summary "Copy displayed when little time remains.";
|
|
96
96
|
ds:propertyType "text";
|
|
97
|
+
ds:constraints "Used when `secondsRemaining` is five seconds or less, including negative input.";
|
|
97
98
|
ds:defaultValue "`Almost done`";
|
|
98
|
-
ds:constraints "Used when `secondsRemaining` is five seconds or less, including negative input. ";
|
|
99
99
|
ds:optional "true"
|
|
100
100
|
].
|
|
@@ -14,33 +14,33 @@ ds:apps_landscape.component.read_only_field a ds:Component;
|
|
|
14
14
|
ds:hasProperty [
|
|
15
15
|
a ds:Property;
|
|
16
16
|
ds:name "`label`";
|
|
17
|
-
ds:summary "Supplies text for the always-rendered label element.
|
|
17
|
+
ds:summary "Supplies text for the always-rendered label element.";
|
|
18
18
|
ds:propertyType "text";
|
|
19
|
-
ds:
|
|
20
|
-
ds:constraints "TypeScript: `string`. The label has no `htmlFor` and does not programmatically label a control.
|
|
21
|
-
ds:
|
|
19
|
+
ds:optional "true";
|
|
20
|
+
ds:constraints "TypeScript: `string`. The label has no `htmlFor` and does not programmatically label a control.";
|
|
21
|
+
ds:defaultValue "—"
|
|
22
22
|
], [
|
|
23
23
|
a ds:Property;
|
|
24
24
|
ds:name "`value`";
|
|
25
|
-
ds:summary "Supplies the immutable value displayed in the locked row.
|
|
25
|
+
ds:summary "Supplies the immutable value displayed in the locked row.";
|
|
26
26
|
ds:propertyType "text";
|
|
27
|
-
ds:
|
|
28
|
-
ds:constraints "TypeScript: `string`. Every falsy value, including `\"\"`, renders shared `NoData` text `---`; whitespace-only strings remain visible.
|
|
29
|
-
ds:
|
|
27
|
+
ds:optional "true";
|
|
28
|
+
ds:constraints "TypeScript: `string`. Every falsy value, including `\"\"`, renders shared `NoData` text `---`; whitespace-only strings remain visible.";
|
|
29
|
+
ds:defaultValue "—"
|
|
30
30
|
], [
|
|
31
31
|
a ds:Property;
|
|
32
32
|
ds:name "`tooltipMessage`";
|
|
33
33
|
ds:summary "Supplies the message passed to Canonical Tooltip.";
|
|
34
34
|
ds:propertyType "text";
|
|
35
|
-
ds:
|
|
36
|
-
ds:constraints "TypeScript: `string`. The Tooltip renders even when this prop is absent and uses `followMouse`.
|
|
37
|
-
ds:
|
|
35
|
+
ds:optional "true";
|
|
36
|
+
ds:constraints "TypeScript: `string`. The Tooltip renders even when this prop is absent and uses `followMouse`.";
|
|
37
|
+
ds:defaultValue "—"
|
|
38
38
|
], [
|
|
39
39
|
a ds:Property;
|
|
40
40
|
ds:name "`required`";
|
|
41
|
-
ds:summary "Prefixes the label with the literal text `*` .
|
|
41
|
+
ds:summary "Prefixes the label with the literal text `*` .";
|
|
42
42
|
ds:propertyType "boolean";
|
|
43
|
-
ds:
|
|
44
|
-
ds:constraints "TypeScript: `boolean`. Adds no native `required`, `aria-required`, validation, or explanatory legend.
|
|
45
|
-
ds:
|
|
43
|
+
ds:optional "true";
|
|
44
|
+
ds:constraints "TypeScript: `boolean`. Adds no native `required`, `aria-required`, validation, or explanatory legend.";
|
|
45
|
+
ds:defaultValue "—"
|
|
46
46
|
].
|
|
@@ -14,38 +14,38 @@ ds:apps_landscape.component.search_help_popup a ds:Component;
|
|
|
14
14
|
ds:hasProperty [
|
|
15
15
|
a ds:Property;
|
|
16
16
|
ds:name "`open`";
|
|
17
|
-
ds:summary "Controls conditional mounting of the complete modal.
|
|
17
|
+
ds:summary "Controls conditional mounting of the complete modal.";
|
|
18
18
|
ds:propertyType "boolean";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
19
|
+
ds:constraints "`false` returns no modal subtree; the component stores no open state.";
|
|
20
|
+
ds:defaultValue "—"
|
|
21
21
|
], [
|
|
22
22
|
a ds:Property;
|
|
23
23
|
ds:name "`onClose`";
|
|
24
|
-
ds:summary "Is passed to Canonical `Modal` as its close callback.
|
|
24
|
+
ds:summary "Is passed to Canonical `Modal` as its close callback.";
|
|
25
25
|
ds:propertyType "callback";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
26
|
+
ds:constraints "TypeScript: `() => void`. The caller must set `open` to false. Focus return and Escape and close-control behavior depend on Canonical Modal.";
|
|
27
|
+
ds:defaultValue "—"
|
|
28
28
|
], [
|
|
29
29
|
a ds:Property;
|
|
30
30
|
ds:name "`data`";
|
|
31
31
|
ds:summary "Supplies rows to `ModularTable`.";
|
|
32
32
|
ds:propertyType "list of objects";
|
|
33
|
-
ds:
|
|
34
|
-
ds:
|
|
33
|
+
ds:constraints "TypeScript: `Record<string, unknown>[]`. The first open render memoizes the array with an empty dependency list, so later replacements are not reflected reliably.";
|
|
34
|
+
ds:defaultValue "—"
|
|
35
35
|
], [
|
|
36
36
|
a ds:Property;
|
|
37
37
|
ds:name "`data[].term`";
|
|
38
38
|
ds:summary "Supplies a term cell value.";
|
|
39
39
|
ds:propertyType "text";
|
|
40
|
+
ds:constraints "TypeScript: `unknown`. Only strings render, using semantic `code`; other values produce an empty cell.";
|
|
40
41
|
ds:defaultValue "—";
|
|
41
|
-
ds:constraints "TypeScript: `unknown`. Only strings render, using semantic `code`; other values produce an empty cell. ";
|
|
42
42
|
ds:optional "true"
|
|
43
43
|
], [
|
|
44
44
|
a ds:Property;
|
|
45
45
|
ds:name "`data[].description`";
|
|
46
46
|
ds:summary "Supplies a description cell value.";
|
|
47
47
|
ds:propertyType "node";
|
|
48
|
+
ds:constraints "TypeScript: `unknown`. Only strings or valid React elements render, wrapped in muted text; other values produce an empty cell.";
|
|
48
49
|
ds:defaultValue "—";
|
|
49
|
-
ds:constraints "TypeScript: `unknown`. Only strings or valid React elements render, wrapped in muted text; other values produce an empty cell. ";
|
|
50
50
|
ds:optional "true"
|
|
51
51
|
].
|