@canonical/design-system 0.43.0 → 0.46.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/component/key_value_pair.ttl +1 -1
- 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/key_value_pairs.ttl +1 -1
- 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_workplaceengineering/pattern/group_card.ttl → apps/layout/login_layout.ttl} +4 -5
- 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/datatable.ttl +30 -31
- 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 +13 -0
- package/data/apps/pattern/side_panel.ttl +258 -10
- package/data/apps/subcomponent/data_table-action_bar.ttl +6 -6
- 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 +9 -9
- 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/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 +6 -14
- 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/component/label-highlight.ttl +2 -3
- package/data/apps_workplaceengineering/component/org_chart.ttl +12 -0
- package/data/apps_workplaceengineering/component/theme_switcher.ttl +1 -1
- package/data/apps_workplaceengineering/pattern/callout_numbers_card.ttl +2 -2
- package/data/apps_workplaceengineering/pattern/{event_timeline.ttl → org_event_card.ttl} +3 -4
- package/data/apps_workplaceengineering/subcomponent/multi_select_input.ttl +1 -1
- package/data/concept/Filtering-patterns.ttl +11 -0
- package/data/concept/Foundations-Grid--Layout.ttl +2 -2
- package/data/concept/Foundations-Surfaces.ttl +1 -1
- package/data/concept/How-to-differentiate-types-of-UI-blocks-.ttl +3 -3
- package/data/concept/How-to-indicate-required-fields-in-forms.ttl +1 -1
- package/data/concept/Overflow.ttl +11 -0
- package/data/concept/Question-mark-vs-information-icon.ttl +1 -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 +3 -3
- package/data/global/component/accordion.ttl +6 -185
- package/data/global/component/announcement.ttl +2 -3
- package/data/global/component/avatar.ttl +1 -1
- package/data/global/component/badge.ttl +5 -7
- package/data/global/component/breadcrumbs.ttl +7 -6
- package/data/global/component/button.ttl +5 -23
- package/data/global/component/card.ttl +3 -8
- package/data/global/component/checkbox_field.ttl +1 -1
- package/data/global/component/chip.ttl +4 -6
- package/data/global/component/choices_field.ttl +11 -3
- package/data/global/component/code_snippet.ttl +2 -3
- 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/data_tooltip.ttl +4 -4
- 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 +2 -2
- package/data/global/component/dropdown_button.ttl +4 -5
- package/data/global/component/file_upload_field.ttl +1 -1
- package/data/global/component/heading.ttl +4 -4
- package/data/global/component/hidden_field.ttl +1 -1
- package/data/global/component/icon.ttl +2 -2
- package/data/global/component/icon_button.ttl +13 -0
- package/data/global/component/icon_in_container.ttl +7 -2
- package/data/global/component/inline_code.ttl +1 -1
- package/data/global/component/keyboard_key.ttl +1 -1
- package/data/global/{layout/form_layout.ttl → component/link.ttl} +3 -3
- package/data/global/component/links.ttl +12 -0
- package/data/global/component/mode_switcher.ttl +1 -1
- package/data/global/component/notification_toast.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 -1
- 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/component/segmented_control.ttl +13 -0
- 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 +2 -2
- 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 +3 -6
- package/data/global/component/time_field.ttl +1 -1
- package/data/global/component/timestamp.ttl +2 -1
- package/data/global/component/tooltip.ttl +43 -45
- package/data/global/component/tooltip_wrapper.ttl +2 -2
- package/data/global/group/buttons.ttl +1 -8
- package/data/global/group/cards.ttl +1 -5
- package/data/global/group/code_snippets.ttl +1 -1
- package/data/global/group/keyboard_keys.ttl +1 -1
- package/data/global/group/tiles.ttl +1 -1
- package/data/global/modifier/information.ttl +1 -1
- package/data/global/pattern/field.ttl +1 -1
- package/data/global/pattern/filter.ttl +13 -0
- package/data/global/pattern/form_login.ttl +1 -1
- package/data/global/pattern/modal.ttl +5 -21
- package/data/global/pattern/navigation.ttl +1 -1
- package/data/global/pattern/stepper.ttl +1 -1
- package/data/global/pattern/table_of_contents.ttl +1 -1
- package/data/global/pattern/timeline.ttl +15 -20
- 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/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 +1 -1
- package/data/global/subcomponent/hidden_input.ttl +1 -1
- package/data/global/subcomponent/modal-content.ttl +1 -1
- package/data/global/subcomponent/modal-footer.ttl +2 -18
- package/data/global/subcomponent/modal-header.ttl +5 -21
- 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 +1 -1
- 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/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 +1 -1
- 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/devdone.ttl +9 -0
- package/data/tag/devin-progress.ttl +9 -0
- package/data/tag/devin-review.ttl +9 -0
- package/data/tag/devpre-approved.ttl +9 -0
- package/data/tag/{stylesready.ttl → devreactdone.ttl} +3 -3
- package/data/tag/devreactpreapproved.ttl +1 -1
- package/data/tag/{devreactapproved.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/wpeinital-implementation.ttl +1 -1
- package/data/tag/wpetriageupstream-and-deprecate.ttl +1 -0
- package/data/tagcategory/design--documentation-status.ttl +6 -0
- package/data/tagcategory/{documentation-stage.ttl → implementationnotes.ttl} +2 -2
- package/data/tagcategory/implementationstatus.ttl +6 -0
- package/data/tagcategory/implementationworkflow.ttl +6 -0
- package/package.json +10 -10
- package/skills/adoption-a1-styles/SKILL.md +38 -8
- package/skills/adoption-a2-components/SKILL.md +44 -4
- package/skills/adoption-a3-forms/SKILL.md +1 -1
- package/skills/anatomy-author/SKILL.md +26 -2
- package/skills/design-auditor/SKILL.md +1 -1
- package/skills/implement-component/SKILL.md +1 -1
- package/skills/specify-component/SKILL.md +1 -1
- package/skills/specify-pattern/SKILL.md +1 -1
- package/src/collect/types.ts +1 -1
- package/data/apps_workplaceengineering/pattern/travel_provider_card.ttl +0 -14
|
@@ -16,186 +16,186 @@ ds:apps_landscape.pattern.table_filter a ds:Pattern;
|
|
|
16
16
|
ds:name "`TableFilter.type`";
|
|
17
17
|
ds:summary "Selects the implementation and legal branch props.";
|
|
18
18
|
ds:propertyType "choice";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
19
|
+
ds:constraints "TypeScript: `\"single\" | \"multiple\" | \"custom\"`. Shared discriminator for `SingleFilterProps`, `MultipleFilterProps`, and `CustomFilterProps`. There is no fallback branch for unknown runtime values.";
|
|
20
|
+
ds:defaultValue "—"
|
|
21
21
|
], [
|
|
22
22
|
a ds:Property;
|
|
23
23
|
ds:name "`TableFilter.label`";
|
|
24
24
|
ds:summary "Supplies non-inline toggle content.";
|
|
25
25
|
ds:propertyType "node";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
26
|
+
ds:constraints "TypeScript: `ReactNode`. Inline mode renders no toggle and does not display this prop.";
|
|
27
|
+
ds:defaultValue "—"
|
|
28
28
|
], [
|
|
29
29
|
a ds:Property;
|
|
30
30
|
ds:name "`TableFilter.inline`";
|
|
31
|
-
ds:summary "Returns the branch body without `ContextualMenu`.
|
|
31
|
+
ds:summary "Returns the branch body without `ContextualMenu`.";
|
|
32
32
|
ds:propertyType "boolean";
|
|
33
|
+
ds:constraints "TypeScript: `boolean`. Inline mode has no toggle or menu-open search reset. Custom content still receives a close function, but it cannot find a root toggle and therefore no-ops.";
|
|
33
34
|
ds:defaultValue "false";
|
|
34
|
-
ds:constraints "TypeScript: `boolean`. Inline mode has no toggle or menu-open search reset. Custom content still receives a close function, but it cannot find a root toggle and therefore no-ops. ";
|
|
35
35
|
ds:optional "true"
|
|
36
36
|
], [
|
|
37
37
|
a ds:Property;
|
|
38
38
|
ds:name "`TableFilter.hasBadge`";
|
|
39
39
|
ds:summary "Enables branch-specific active indicators.";
|
|
40
40
|
ds:propertyType "boolean";
|
|
41
|
+
ds:constraints "TypeScript: `boolean`. Single shows an unlabeled dot only for truthy `selectedItem`; multiple shows a numeric badge only when selections exist; custom ignores it.";
|
|
41
42
|
ds:defaultValue "—";
|
|
42
|
-
ds:constraints "TypeScript: `boolean`. Single shows an unlabeled dot only for truthy `selectedItem`; multiple shows a numeric badge only when selections exist; custom ignores it. ";
|
|
43
43
|
ds:optional "true"
|
|
44
44
|
], [
|
|
45
45
|
a ds:Property;
|
|
46
46
|
ds:name "`TableFilter.hasToggleIcon`";
|
|
47
47
|
ds:summary "Exists in `BaseFilterProps`.";
|
|
48
48
|
ds:propertyType "boolean";
|
|
49
|
+
ds:constraints "TypeScript: `boolean`. No branch reads it. Every non-inline menu gets `hasToggleIcon: true` from the shared helper, so a consumer value is ignored.";
|
|
49
50
|
ds:defaultValue "—";
|
|
50
|
-
ds:constraints "TypeScript: `boolean`. No branch reads it. Every non-inline menu gets `hasToggleIcon: true` from the shared helper, so a consumer value is ignored. ";
|
|
51
51
|
ds:optional "true"
|
|
52
52
|
], [
|
|
53
53
|
a ds:Property;
|
|
54
54
|
ds:name "`TableFilter.position`";
|
|
55
55
|
ds:summary "Requests menu alignment.";
|
|
56
56
|
ds:propertyType "text";
|
|
57
|
+
ds:constraints "TypeScript: Canonical `Position`. Only multiple mode reads it. Single and custom always receive the shared `\"left\"` position. The imported dependency type is not a repository-owned finite literal union, so no immutable option list is asserted here.";
|
|
57
58
|
ds:defaultValue "`left`";
|
|
58
|
-
ds:constraints "TypeScript: Canonical `Position`. Only multiple mode reads it. Single and custom always receive the shared `\"left\"` position. The imported dependency type is not a repository-owned finite literal union, so no immutable option list is asserted here. ";
|
|
59
59
|
ds:optional "true"
|
|
60
60
|
], [
|
|
61
61
|
a ds:Property;
|
|
62
62
|
ds:name "`TableFilter.single/multiple.options`";
|
|
63
63
|
ds:summary "Supplies choices in render order.";
|
|
64
64
|
ds:propertyType "list of objects";
|
|
65
|
-
ds:
|
|
66
|
-
ds:
|
|
65
|
+
ds:constraints "TypeScript: `readonly GroupedOption[]`, where `GroupedOption` extends `{ label: string; value: string; disabled?: boolean }` with `group?: string`. Required for single/multiple and excluded from custom. Values are React keys and selection identifiers and should be unique. `option.disabled` is not read.";
|
|
66
|
+
ds:defaultValue "—"
|
|
67
67
|
], [
|
|
68
68
|
a ds:Property;
|
|
69
|
-
ds:name "`TableFilter.single/multiple.options[].label`
|
|
69
|
+
ds:name "`TableFilter.single/multiple.options[].label`";
|
|
70
70
|
ds:summary "Supplies visible option content.";
|
|
71
71
|
ds:propertyType "text";
|
|
72
|
-
ds:
|
|
73
|
-
ds:
|
|
72
|
+
ds:constraints "TypeScript: `string`.";
|
|
73
|
+
ds:defaultValue "—"
|
|
74
74
|
], [
|
|
75
75
|
a ds:Property;
|
|
76
|
-
ds:name "`TableFilter.single/multiple.options[].value`
|
|
76
|
+
ds:name "`TableFilter.single/multiple.options[].value`";
|
|
77
77
|
ds:summary "Supplies the selection identifier and React key.";
|
|
78
78
|
ds:propertyType "text";
|
|
79
|
-
ds:
|
|
80
|
-
ds:
|
|
79
|
+
ds:constraints "TypeScript: `string`. Values should be unique.";
|
|
80
|
+
ds:defaultValue "—"
|
|
81
81
|
], [
|
|
82
82
|
a ds:Property;
|
|
83
|
-
ds:name "`TableFilter.single/multiple.options[].disabled`
|
|
83
|
+
ds:name "`TableFilter.single/multiple.options[].disabled`";
|
|
84
84
|
ds:summary "Exists on the inherited option contract.";
|
|
85
85
|
ds:propertyType "boolean";
|
|
86
|
+
ds:constraints "TypeScript: `boolean`. This field is not read from `options`; use `disabledOptions` to disable choices.";
|
|
86
87
|
ds:defaultValue "—";
|
|
87
|
-
ds:constraints "TypeScript: `boolean`. This field is not read from `options`; use `disabledOptions` to disable choices. ";
|
|
88
88
|
ds:optional "true"
|
|
89
89
|
], [
|
|
90
90
|
a ds:Property;
|
|
91
|
-
ds:name "`TableFilter.single/multiple.options[].group`
|
|
91
|
+
ds:name "`TableFilter.single/multiple.options[].group`";
|
|
92
92
|
ds:summary "Marks visual group boundaries.";
|
|
93
93
|
ds:propertyType "text";
|
|
94
|
+
ds:constraints "TypeScript: `string`. The string is never displayed. A separator appears only when the current option has a truthy group, a next option exists, and the next group differs.";
|
|
94
95
|
ds:defaultValue "—";
|
|
95
|
-
ds:constraints "TypeScript: `string`. The string is never displayed. A separator appears only when the current option has a truthy group, a next option exists, and the next group differs. ";
|
|
96
96
|
ds:optional "true"
|
|
97
97
|
], [
|
|
98
98
|
a ds:Property;
|
|
99
|
-
ds:name "`TableFilter.single/multiple.disabledOptions`
|
|
99
|
+
ds:name "`TableFilter.single/multiple.disabledOptions`";
|
|
100
100
|
ds:summary "Disables choices by matching `value`.";
|
|
101
101
|
ds:propertyType "list of objects";
|
|
102
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. The separate list controls disabled state; labels and `disabled` fields are ignored for matching. Select all still emits every option value, including disabled ones.";
|
|
102
103
|
ds:defaultValue "—";
|
|
103
|
-
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. The separate list controls disabled state; labels and `disabled` fields are ignored for matching. Select all still emits every option value, including disabled ones. ";
|
|
104
104
|
ds:optional "true"
|
|
105
105
|
], [
|
|
106
106
|
a ds:Property;
|
|
107
|
-
ds:name "`TableFilter.single/multiple.disabledOptions[].label`
|
|
108
|
-
ds:summary "Supplies an unused label required by the option contract.
|
|
107
|
+
ds:name "`TableFilter.single/multiple.disabledOptions[].label`";
|
|
108
|
+
ds:summary "Supplies an unused label required by the option contract.";
|
|
109
109
|
ds:propertyType "text";
|
|
110
|
-
ds:
|
|
111
|
-
ds:
|
|
110
|
+
ds:constraints "TypeScript: `string`. Ignored when matching disabled values.";
|
|
111
|
+
ds:defaultValue "—"
|
|
112
112
|
], [
|
|
113
113
|
a ds:Property;
|
|
114
|
-
ds:name "`TableFilter.single/multiple.disabledOptions[].value`
|
|
114
|
+
ds:name "`TableFilter.single/multiple.disabledOptions[].value`";
|
|
115
115
|
ds:summary "Supplies the value matched to disable a choice.";
|
|
116
116
|
ds:propertyType "text";
|
|
117
|
-
ds:
|
|
118
|
-
ds:
|
|
117
|
+
ds:constraints "TypeScript: `string`.";
|
|
118
|
+
ds:defaultValue "—"
|
|
119
119
|
], [
|
|
120
120
|
a ds:Property;
|
|
121
|
-
ds:name "`TableFilter.single/multiple.disabledOptions[].disabled`
|
|
121
|
+
ds:name "`TableFilter.single/multiple.disabledOptions[].disabled`";
|
|
122
122
|
ds:summary "Exists on the inherited option contract.";
|
|
123
123
|
ds:propertyType "boolean";
|
|
124
|
+
ds:constraints "TypeScript: `boolean`. Ignored when matching disabled values.";
|
|
124
125
|
ds:defaultValue "—";
|
|
125
|
-
ds:constraints "TypeScript: `boolean`. Ignored when matching disabled values. ";
|
|
126
126
|
ds:optional "true"
|
|
127
127
|
], [
|
|
128
128
|
a ds:Property;
|
|
129
129
|
ds:name "`TableFilter.single/multiple.onSearch`";
|
|
130
|
-
ds:summary "Enables a local-state option-search form and receives its raw text.
|
|
130
|
+
ds:summary "Enables a local-state option-search form and receives its raw text.";
|
|
131
131
|
ds:propertyType "callback";
|
|
132
|
-
ds:
|
|
133
|
-
ds:
|
|
132
|
+
ds:constraints "TypeScript: `(search: string) => void`. Opening a non-inline menu calls `onSearch(\"\")`; Search submits untrimmed text; Clear sets local input empty and calls `onSearch(\"\")`. The search form and `SearchBox.onSearch` both invoke it, so one Canonical search action can dispatch the same query twice. The component does not filter `options`.";
|
|
133
|
+
ds:defaultValue "—"
|
|
134
134
|
], [
|
|
135
135
|
a ds:Property;
|
|
136
136
|
ds:name "`TableFilter.single.selectedItem`";
|
|
137
137
|
ds:summary "Controlled selected value.";
|
|
138
138
|
ds:propertyType "text";
|
|
139
|
-
ds:
|
|
140
|
-
ds:
|
|
139
|
+
ds:constraints "TypeScript: `string`. A matching option renders as non-interactive selected text instead of a button. The component stores no selection.";
|
|
140
|
+
ds:defaultValue "—"
|
|
141
141
|
], [
|
|
142
142
|
a ds:Property;
|
|
143
143
|
ds:name "`TableFilter.single.onItemSelect`";
|
|
144
|
-
ds:summary "Reports a clicked unselected value, then programmatically closes the contextual menu.
|
|
144
|
+
ds:summary "Reports a clicked unselected value, then programmatically closes the contextual menu.";
|
|
145
145
|
ds:propertyType "callback";
|
|
146
|
-
ds:
|
|
147
|
-
ds:
|
|
146
|
+
ds:constraints "TypeScript: `(item: string) => void`. In inline mode no toggle exists, so the optional close helper has no effect.";
|
|
147
|
+
ds:defaultValue "—"
|
|
148
148
|
], [
|
|
149
149
|
a ds:Property;
|
|
150
|
-
ds:name "`TableFilter.single.showSelectionOnToggleLabel`
|
|
151
|
-
ds:summary "Uses the matched selected option label as toggle content.
|
|
150
|
+
ds:name "`TableFilter.single.showSelectionOnToggleLabel`";
|
|
151
|
+
ds:summary "Uses the matched selected option label as toggle content.";
|
|
152
152
|
ds:propertyType "boolean";
|
|
153
|
+
ds:constraints "TypeScript: `boolean`. Falls back to `label` when no option matches.";
|
|
153
154
|
ds:defaultValue "false";
|
|
154
|
-
ds:constraints "TypeScript: `boolean`. Falls back to `label` when no option matches. ";
|
|
155
155
|
ds:optional "true"
|
|
156
156
|
], [
|
|
157
157
|
a ds:Property;
|
|
158
158
|
ds:name "`TableFilter.multiple.selectedItems`";
|
|
159
159
|
ds:summary "Controlled selected-value array.";
|
|
160
160
|
ds:propertyType "list of text";
|
|
161
|
-
ds:
|
|
162
|
-
ds:
|
|
161
|
+
ds:constraints "TypeScript: `string[]`. Checkbox state uses `includes`; the component stores no selection and does not deduplicate values.";
|
|
162
|
+
ds:defaultValue "—"
|
|
163
163
|
], [
|
|
164
164
|
a ds:Property;
|
|
165
165
|
ds:name "`TableFilter.multiple.onItemsSelect`";
|
|
166
|
-
ds:summary "Reports the complete next array after checkbox or footer actions.
|
|
166
|
+
ds:summary "Reports the complete next array after checkbox or footer actions.";
|
|
167
167
|
ds:propertyType "callback";
|
|
168
|
-
ds:
|
|
169
|
-
ds:
|
|
168
|
+
ds:constraints "TypeScript: `(items: string[]) => void`. Checking appends the value; unchecking removes all equal values; Select all emits every option value; Clear emits `[]`.";
|
|
169
|
+
ds:defaultValue "—"
|
|
170
170
|
], [
|
|
171
171
|
a ds:Property;
|
|
172
|
-
ds:name "`TableFilter.multiple.showSelectedItemCount`
|
|
172
|
+
ds:name "`TableFilter.multiple.showSelectedItemCount`";
|
|
173
173
|
ds:summary "Replaces Clear with selected-count text.";
|
|
174
174
|
ds:propertyType "boolean";
|
|
175
|
+
ds:constraints "TypeScript: `boolean`. The text is `${selectedItems.length} of ${options.length} selected`; it is plain muted text and includes values absent from `options`.";
|
|
175
176
|
ds:defaultValue "false";
|
|
176
|
-
ds:constraints "TypeScript: `boolean`. The text is `${selectedItems.length} of ${options.length} selected`; it is plain muted text and includes values absent from `options`. ";
|
|
177
177
|
ds:optional "true"
|
|
178
178
|
], [
|
|
179
179
|
a ds:Property;
|
|
180
|
-
ds:name "`TableFilter.multiple.hideSelectAllButton`
|
|
180
|
+
ds:name "`TableFilter.multiple.hideSelectAllButton`";
|
|
181
181
|
ds:summary "Omits Select all and reverses footer direction.";
|
|
182
182
|
ds:propertyType "boolean";
|
|
183
|
+
ds:constraints "TypeScript: `boolean`. Clear or selected-count content still renders.";
|
|
183
184
|
ds:defaultValue "—";
|
|
184
|
-
ds:constraints "TypeScript: `boolean`. Clear or selected-count content still renders. ";
|
|
185
185
|
ds:optional "true"
|
|
186
186
|
], [
|
|
187
187
|
a ds:Property;
|
|
188
188
|
ds:name "`TableFilter.custom.customComponent`";
|
|
189
189
|
ds:summary "Supplies custom body content.";
|
|
190
190
|
ds:propertyType "node";
|
|
191
|
-
ds:
|
|
192
|
-
ds:
|
|
191
|
+
ds:constraints "TypeScript: `FC<CustomFilterComponentProps>`, where `CustomFilterComponentProps` is `{ closeMenu?: () => void }`. `closeMenu` simulates a click on the root contextual-menu toggle and should run only after a completed action. In inline mode it is present but no-ops because no toggle is mounted.";
|
|
192
|
+
ds:defaultValue "—"
|
|
193
193
|
], [
|
|
194
194
|
a ds:Property;
|
|
195
|
-
ds:name "`TableFilter.custom.customComponent.closeMenu`
|
|
196
|
-
ds:summary "Lets custom content request contextual-menu closure.
|
|
195
|
+
ds:name "`TableFilter.custom.customComponent.closeMenu`";
|
|
196
|
+
ds:summary "Lets custom content request contextual-menu closure.";
|
|
197
197
|
ds:propertyType "callback";
|
|
198
|
+
ds:constraints "TypeScript: `() => void`. It is supplied by TableFilter in menu and inline renderings; in inline mode it cannot find a root toggle and no-ops.";
|
|
198
199
|
ds:defaultValue "—";
|
|
199
|
-
ds:constraints "TypeScript: `() => void`. It is supplied by TableFilter in menu and inline renderings; in inline mode it cannot find a root toggle and no-ops. ";
|
|
200
200
|
ds:optional "true"
|
|
201
201
|
].
|
|
@@ -16,159 +16,159 @@ ds:apps_landscape.pattern.table_filter_chips a ds:Pattern;
|
|
|
16
16
|
ds:name "`TableFilterChips.filtersToDisplay`";
|
|
17
17
|
ds:summary "Selects supported parameters eligible for chips.";
|
|
18
18
|
ds:propertyType "choice";
|
|
19
|
-
ds:
|
|
20
|
-
ds:constraints "TypeScript: `FilterKey[]`, where `FilterKey` is `keyof FilterType`. Output follows implementation order, not array order. `TableFilterChipsProps` and `FilterKey` are not exported from the public barrel; consumers of `FilterKey` currently deep-import the internal types module. `query` is split on commas, nonempty segments display in single quotes, and removal deletes the first exact segment.
|
|
21
|
-
ds:
|
|
19
|
+
ds:optional "true";
|
|
20
|
+
ds:constraints "TypeScript: `FilterKey[]`, where `FilterKey` is `keyof FilterType`. Output follows implementation order, not array order. `TableFilterChipsProps` and `FilterKey` are not exported from the public barrel; consumers of `FilterKey` currently deep-import the internal types module. `query` is split on commas, nonempty segments display in single quotes, and removal deletes the first exact segment.";
|
|
21
|
+
ds:defaultValue "`accessGroups`, `availabilityZones`, `os`, `fromDate`, `status`, `tags`, `toDate`, `type`"
|
|
22
22
|
], [
|
|
23
23
|
a ds:Property;
|
|
24
24
|
ds:name "`TableFilterChips.onChange`";
|
|
25
25
|
ds:summary "Runs after each remove/clear update is requested.";
|
|
26
26
|
ds:propertyType "callback";
|
|
27
|
-
ds:
|
|
28
|
-
ds:constraints "TypeScript: `() => void`. Receives no value and may run before consumers observe updated URL state.
|
|
29
|
-
ds:
|
|
27
|
+
ds:optional "true";
|
|
28
|
+
ds:constraints "TypeScript: `() => void`. Receives no value and may run before consumers observe updated URL state.";
|
|
29
|
+
ds:defaultValue "—"
|
|
30
30
|
], [
|
|
31
31
|
a ds:Property;
|
|
32
32
|
ds:name "`TableFilterChips.accessGroupOptions`";
|
|
33
33
|
ds:summary "Maps access-group values.";
|
|
34
34
|
ds:propertyType "list of objects";
|
|
35
|
-
ds:
|
|
36
|
-
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Because this is multi-value, omission produces no access-group chips.
|
|
37
|
-
ds:
|
|
35
|
+
ds:optional "true";
|
|
36
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Because this is multi-value, omission produces no access-group chips.";
|
|
37
|
+
ds:defaultValue "—"
|
|
38
38
|
], [
|
|
39
39
|
a ds:Property;
|
|
40
|
-
ds:name "`TableFilterChips.availabilityZonesOptions`
|
|
40
|
+
ds:name "`TableFilterChips.availabilityZonesOptions`";
|
|
41
41
|
ds:summary "Enables and maps availability-zone values.";
|
|
42
42
|
ds:propertyType "list of objects";
|
|
43
|
-
ds:
|
|
44
|
-
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. The entire descriptor is omitted when undefined; an empty array enables raw fallback.
|
|
45
|
-
ds:
|
|
43
|
+
ds:optional "true";
|
|
44
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. The entire descriptor is omitted when undefined; an empty array enables raw fallback.";
|
|
45
|
+
ds:defaultValue "—"
|
|
46
46
|
], [
|
|
47
47
|
a ds:Property;
|
|
48
48
|
ds:name "`TableFilterChips.contractExpiryOptions`";
|
|
49
49
|
ds:summary "Maps the scalar contract-expiry value.";
|
|
50
50
|
ds:propertyType "list of objects";
|
|
51
|
-
ds:
|
|
52
|
-
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value.
|
|
53
|
-
ds:
|
|
51
|
+
ds:optional "true";
|
|
52
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value.";
|
|
53
|
+
ds:defaultValue "—"
|
|
54
54
|
], [
|
|
55
55
|
a ds:Property;
|
|
56
56
|
ds:name "`TableFilterChips.osOptions`";
|
|
57
57
|
ds:summary "Maps the scalar OS value.";
|
|
58
58
|
ds:propertyType "list of objects";
|
|
59
|
-
ds:
|
|
60
|
-
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value.
|
|
61
|
-
ds:
|
|
59
|
+
ds:optional "true";
|
|
60
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value.";
|
|
61
|
+
ds:defaultValue "—"
|
|
62
62
|
], [
|
|
63
63
|
a ds:Property;
|
|
64
64
|
ds:name "`TableFilterChips.statusOptions`";
|
|
65
65
|
ds:summary "Maps the scalar status value.";
|
|
66
66
|
ds:propertyType "list of objects";
|
|
67
|
-
ds:
|
|
68
|
-
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value.
|
|
69
|
-
ds:
|
|
67
|
+
ds:optional "true";
|
|
68
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value.";
|
|
69
|
+
ds:defaultValue "—"
|
|
70
70
|
], [
|
|
71
71
|
a ds:Property;
|
|
72
72
|
ds:name "`TableFilterChips.typeOptions`";
|
|
73
73
|
ds:summary "Maps the scalar type value.";
|
|
74
74
|
ds:propertyType "list of objects";
|
|
75
|
-
ds:
|
|
76
|
-
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value.
|
|
77
|
-
ds:
|
|
75
|
+
ds:optional "true";
|
|
76
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Scalar lookup falls back to the raw value.";
|
|
77
|
+
ds:defaultValue "—"
|
|
78
78
|
], [
|
|
79
79
|
a ds:Property;
|
|
80
80
|
ds:name "`TableFilterChips.tagOptions`";
|
|
81
81
|
ds:summary "Maps multi-value tags.";
|
|
82
82
|
ds:propertyType "list of objects";
|
|
83
|
-
ds:
|
|
84
|
-
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Omission produces no tag chips; unknown values fall back only when an array is supplied.
|
|
85
|
-
ds:
|
|
83
|
+
ds:optional "true";
|
|
84
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Omission produces no tag chips; unknown values fall back only when an array is supplied.";
|
|
85
|
+
ds:defaultValue "—"
|
|
86
86
|
], [
|
|
87
87
|
a ds:Property;
|
|
88
88
|
ds:name "`TableFilterChips.upgradesOptions`";
|
|
89
89
|
ds:summary "Maps multi-value upgrades.";
|
|
90
90
|
ds:propertyType "list of objects";
|
|
91
|
-
ds:
|
|
92
|
-
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Omission produces no upgrade chips; unknown values fall back only when an array is supplied.
|
|
93
|
-
ds:
|
|
91
|
+
ds:optional "true";
|
|
92
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Omission produces no upgrade chips; unknown values fall back only when an array is supplied.";
|
|
93
|
+
ds:defaultValue "—"
|
|
94
94
|
], [
|
|
95
95
|
a ds:Property;
|
|
96
96
|
ds:name "`TableFilterChips.wslOptions`";
|
|
97
97
|
ds:summary "Maps multi-value WSL values.";
|
|
98
98
|
ds:propertyType "list of objects";
|
|
99
|
-
ds:
|
|
100
|
-
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Omission produces no WSL chips; unknown values fall back only when an array is supplied.
|
|
101
|
-
ds:
|
|
99
|
+
ds:optional "true";
|
|
100
|
+
ds:constraints "TypeScript: `SelectOption[]`, where `SelectOption` is `{ label: string; value: string; disabled?: boolean }`. Omission produces no WSL chips; unknown values fall back only when an array is supplied.";
|
|
101
|
+
ds:defaultValue "—"
|
|
102
102
|
], [
|
|
103
103
|
a ds:Property;
|
|
104
104
|
ds:name "`SidePanelTableFilterChips.filters`";
|
|
105
105
|
ds:summary "Supplies ordered descriptors flattened into chips.";
|
|
106
106
|
ds:propertyType "list of objects";
|
|
107
|
-
ds:
|
|
108
|
-
ds:
|
|
107
|
+
ds:constraints "TypeScript: `(SingleFilter | MultiFilter)[]`, where `SingleFilter` is `{ label: string; clear: () => void; item: string | undefined; multiple?: false }` and `MultiFilter` is `{ label: string; clear: () => void; multiple: true; remove: (value: string) => void; items: { label: string; value: string }[] }`. Falsy single `item` values are filtered out. The barrel aliases `TableFilterChipsBase` to `SidePanelTableFilterChips`; descriptor and prop interfaces are local.";
|
|
108
|
+
ds:defaultValue "—"
|
|
109
109
|
], [
|
|
110
110
|
a ds:Property;
|
|
111
|
-
ds:name "`SidePanelTableFilterChips.filters[].label`
|
|
111
|
+
ds:name "`SidePanelTableFilterChips.filters[].label`";
|
|
112
112
|
ds:summary "Labels every chip produced by the descriptor.";
|
|
113
113
|
ds:propertyType "text";
|
|
114
|
-
ds:
|
|
115
|
-
ds:
|
|
114
|
+
ds:constraints "TypeScript: `string`. Shared by `SingleFilter` and `MultiFilter`; flattened chip text is `${label}: ${item}`.";
|
|
115
|
+
ds:defaultValue "—"
|
|
116
116
|
], [
|
|
117
117
|
a ds:Property;
|
|
118
|
-
ds:name "`SidePanelTableFilterChips.filters[].clear`
|
|
118
|
+
ds:name "`SidePanelTableFilterChips.filters[].clear`";
|
|
119
119
|
ds:summary "Clears the complete source descriptor.";
|
|
120
120
|
ds:propertyType "callback";
|
|
121
|
-
ds:
|
|
122
|
-
ds:
|
|
121
|
+
ds:constraints "TypeScript: `() => void`. Shared by `SingleFilter` and `MultiFilter`; the default aggregate clear invokes it once per original descriptor.";
|
|
122
|
+
ds:defaultValue "—"
|
|
123
123
|
], [
|
|
124
124
|
a ds:Property;
|
|
125
|
-
ds:name "`SidePanelTableFilterChips.filters[].multiple`
|
|
126
|
-
ds:summary "Selects the single- or multi-value descriptor contract.
|
|
125
|
+
ds:name "`SidePanelTableFilterChips.filters[].multiple`";
|
|
126
|
+
ds:summary "Selects the single- or multi-value descriptor contract.";
|
|
127
127
|
ds:propertyType "boolean";
|
|
128
|
-
ds:
|
|
129
|
-
ds:constraints "TypeScript: `false | true`; optional and restricted to `false` for `SingleFilter`, required as `true` for `MultiFilter`. A falsy or omitted value selects the single descriptor path.
|
|
130
|
-
ds:
|
|
128
|
+
ds:optional "true";
|
|
129
|
+
ds:constraints "TypeScript: `false | true`; optional and restricted to `false` for `SingleFilter`, required as `true` for `MultiFilter`. A falsy or omitted value selects the single descriptor path.";
|
|
130
|
+
ds:defaultValue "—"
|
|
131
131
|
], [
|
|
132
132
|
a ds:Property;
|
|
133
|
-
ds:name "`SidePanelTableFilterChips.filters[].item`
|
|
133
|
+
ds:name "`SidePanelTableFilterChips.filters[].item`";
|
|
134
134
|
ds:summary "Supplies one active value for a single descriptor.";
|
|
135
135
|
ds:propertyType "text";
|
|
136
|
-
ds:
|
|
137
|
-
ds:
|
|
136
|
+
ds:constraints "TypeScript: `string | undefined`. Present only on `SingleFilter`; falsy values are removed before rendering. Dates supplied by the URL adapter display as raw strings.";
|
|
137
|
+
ds:defaultValue "—"
|
|
138
138
|
], [
|
|
139
139
|
a ds:Property;
|
|
140
|
-
ds:name "`SidePanelTableFilterChips.filters[].items`
|
|
140
|
+
ds:name "`SidePanelTableFilterChips.filters[].items`";
|
|
141
141
|
ds:summary "Supplies active values for a multi descriptor.";
|
|
142
142
|
ds:propertyType "list of objects";
|
|
143
|
-
ds:
|
|
144
|
-
ds:
|
|
143
|
+
ds:constraints "TypeScript: `{ label: string; value: string }[]`. Present only on `MultiFilter`; each entry becomes one chip.";
|
|
144
|
+
ds:defaultValue "—"
|
|
145
145
|
], [
|
|
146
146
|
a ds:Property;
|
|
147
|
-
ds:name "`SidePanelTableFilterChips.filters[].items[].label`
|
|
148
|
-
ds:summary "Supplies a multi-value chip's displayed item text.
|
|
147
|
+
ds:name "`SidePanelTableFilterChips.filters[].items[].label`";
|
|
148
|
+
ds:summary "Supplies a multi-value chip's displayed item text.";
|
|
149
149
|
ds:propertyType "text";
|
|
150
|
-
ds:
|
|
151
|
-
ds:
|
|
150
|
+
ds:constraints "TypeScript: `string`.";
|
|
151
|
+
ds:defaultValue "—"
|
|
152
152
|
], [
|
|
153
153
|
a ds:Property;
|
|
154
|
-
ds:name "`SidePanelTableFilterChips.filters[].items[].value`
|
|
155
|
-
ds:summary "Supplies the value passed to the descriptor remover.
|
|
154
|
+
ds:name "`SidePanelTableFilterChips.filters[].items[].value`";
|
|
155
|
+
ds:summary "Supplies the value passed to the descriptor remover.";
|
|
156
156
|
ds:propertyType "text";
|
|
157
|
-
ds:
|
|
158
|
-
ds:
|
|
157
|
+
ds:constraints "TypeScript: `string`.";
|
|
158
|
+
ds:defaultValue "—"
|
|
159
159
|
], [
|
|
160
160
|
a ds:Property;
|
|
161
|
-
ds:name "`SidePanelTableFilterChips.filters[].remove`
|
|
161
|
+
ds:name "`SidePanelTableFilterChips.filters[].remove`";
|
|
162
162
|
ds:summary "Removes one value from a multi descriptor.";
|
|
163
163
|
ds:propertyType "callback";
|
|
164
|
-
ds:
|
|
165
|
-
ds:
|
|
164
|
+
ds:constraints "TypeScript: `(value: string) => void`. Present only on `MultiFilter`.";
|
|
165
|
+
ds:defaultValue "—"
|
|
166
166
|
], [
|
|
167
167
|
a ds:Property;
|
|
168
168
|
ds:name "`SidePanelTableFilterChips.clearAll`";
|
|
169
169
|
ds:summary "Clears all original filter descriptors.";
|
|
170
170
|
ds:propertyType "callback";
|
|
171
|
-
ds:
|
|
172
|
-
ds:constraints "TypeScript: `() => void`. The default invokes every original descriptor's `clear` once, not each flattened item's remover. Pass-rate defaults (`0` from and `100` to) produce no URL-adapter chips.
|
|
173
|
-
ds:
|
|
171
|
+
ds:optional "true";
|
|
172
|
+
ds:constraints "TypeScript: `() => void`. The default invokes every original descriptor's `clear` once, not each flattened item's remover. Pass-rate defaults (`0` from and `100` to) produce no URL-adapter chips.";
|
|
173
|
+
ds:defaultValue "Loop over `filters` once and call each descriptor's `clear`"
|
|
174
174
|
].
|