@canonical/design-system 0.44.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 +6 -6
- package/skills/adoption-a1-styles/SKILL.md +37 -7
- package/skills/adoption-a2-components/SKILL.md +43 -3
- package/skills/anatomy-author/SKILL.md +25 -1
- package/data/apps_workplaceengineering/pattern/travel_provider_card.ttl +0 -14
|
@@ -14,207 +14,207 @@ ds:apps_landscape.pattern.table_pagination a ds:Pattern;
|
|
|
14
14
|
ds:hasProperty [
|
|
15
15
|
a ds:Property;
|
|
16
16
|
ds:name "`TablePagination.totalItems`";
|
|
17
|
-
ds:summary "Supplies the total used for page calculation and count copy.
|
|
17
|
+
ds:summary "Supplies the total used for page calculation and count copy.";
|
|
18
18
|
ds:propertyType "number";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
19
|
+
ds:constraints "TypeScript: `number | undefined`. `undefined` leaves the total-pages hook at its current value; its initial value is one. `TablePaginationProps` is implementation-local and the family barrel exports only the component.";
|
|
20
|
+
ds:defaultValue "—"
|
|
21
21
|
], [
|
|
22
22
|
a ds:Property;
|
|
23
23
|
ds:name "`TablePagination.className`";
|
|
24
24
|
ds:summary "Adds a class to the base root.";
|
|
25
25
|
ds:propertyType "text";
|
|
26
|
+
ds:constraints "TypeScript: `string`. Merged with footer wrapper styles.";
|
|
26
27
|
ds:defaultValue "`\"\"`";
|
|
27
|
-
ds:constraints "TypeScript: `string`. Merged with footer wrapper styles. ";
|
|
28
28
|
ds:optional "true"
|
|
29
29
|
], [
|
|
30
30
|
a ds:Property;
|
|
31
31
|
ds:name "`TablePagination.handleClearSelection`";
|
|
32
32
|
ds:summary "Runs after any pagination request.";
|
|
33
33
|
ds:propertyType "callback";
|
|
34
|
+
ds:constraints "TypeScript: `() => void`. Runs for previous, next, direct input, and the reset-to-page-1 request on size change. Page-size change calls `paginate(1)`, so this callback runs before the size update. The component reads `currentPage` and `pageSize` from `usePageParams`, writes through `setPageParams`, and registers page-size values `20`, `50`, `100` plus current pages `1..totalPages`.";
|
|
34
35
|
ds:defaultValue "—";
|
|
35
|
-
ds:constraints "TypeScript: `() => void`. Runs for previous, next, direct input, and the reset-to-page-1 request on size change. Page-size change calls `paginate(1)`, so this callback runs before the size update. The component reads `currentPage` and `pageSize` from `usePageParams`, writes through `setPageParams`, and registers page-size values `20`, `50`, `100` plus current pages `1..totalPages`. ";
|
|
36
36
|
ds:optional "true"
|
|
37
37
|
], [
|
|
38
38
|
a ds:Property;
|
|
39
39
|
ds:name "`TablePagination.currentItemCount`";
|
|
40
40
|
ds:summary "Supplies the current page row count.";
|
|
41
41
|
ds:propertyType "number";
|
|
42
|
+
ds:constraints "TypeScript: `number`. Falsy zero suppresses count copy.";
|
|
42
43
|
ds:defaultValue "0";
|
|
43
|
-
ds:constraints "TypeScript: `number`. Falsy zero suppresses count copy. ";
|
|
44
44
|
ds:optional "true"
|
|
45
45
|
], [
|
|
46
46
|
a ds:Property;
|
|
47
47
|
ds:name "`TablePagination.pageSizeLabel`";
|
|
48
48
|
ds:summary "Labels the offset page-size select accessibly.";
|
|
49
49
|
ds:propertyType "text";
|
|
50
|
+
ds:constraints "TypeScript: `string`. Visually hidden; localize and name the entity at the call site.";
|
|
50
51
|
ds:defaultValue "`Instances per page`";
|
|
51
|
-
ds:constraints "TypeScript: `string`. Visually hidden; localize and name the entity at the call site. ";
|
|
52
52
|
ds:optional "true"
|
|
53
53
|
], [
|
|
54
54
|
a ds:Property;
|
|
55
55
|
ds:name "`SidePanelTablePagination.currentPage`";
|
|
56
56
|
ds:summary "Supplies the controlled one-based page.";
|
|
57
57
|
ds:propertyType "number";
|
|
58
|
-
ds:
|
|
59
|
-
ds:
|
|
58
|
+
ds:constraints "TypeScript: `number`. Caller must update it after `paginate`. `SidePanelTablePaginationProps` is implementation-local and the family barrel exports only the component.";
|
|
59
|
+
ds:defaultValue "—"
|
|
60
60
|
], [
|
|
61
61
|
a ds:Property;
|
|
62
62
|
ds:name "`SidePanelTablePagination.pageSize`";
|
|
63
63
|
ds:summary "Supplies the controlled offset size.";
|
|
64
64
|
ds:propertyType "number";
|
|
65
|
-
ds:
|
|
66
|
-
ds:
|
|
65
|
+
ds:constraints "TypeScript: `number`. Base options are 20, 50, and 100; caller must update it after `setPageSize`.";
|
|
66
|
+
ds:defaultValue "—"
|
|
67
67
|
], [
|
|
68
68
|
a ds:Property;
|
|
69
69
|
ds:name "`SidePanelTablePagination.paginate`";
|
|
70
|
-
ds:summary "Receives a previous, next, direct, or page-1 request.
|
|
70
|
+
ds:summary "Receives a previous, next, direct, or page-1 request.";
|
|
71
71
|
ds:propertyType "callback";
|
|
72
|
-
ds:
|
|
73
|
-
ds:
|
|
72
|
+
ds:constraints "TypeScript: `(page: number) => void`. There is no range guard beyond disabled controls and input validity.";
|
|
73
|
+
ds:defaultValue "—"
|
|
74
74
|
], [
|
|
75
75
|
a ds:Property;
|
|
76
76
|
ds:name "`SidePanelTablePagination.setPageSize`";
|
|
77
|
-
ds:summary "Receives the selected size after `paginate(1)`.
|
|
77
|
+
ds:summary "Receives the selected size after `paginate(1)`.";
|
|
78
78
|
ds:propertyType "callback";
|
|
79
|
-
ds:
|
|
80
|
-
ds:
|
|
79
|
+
ds:constraints "TypeScript: `(itemsNumber: number) => void`. Calls are not awaited or transacted.";
|
|
80
|
+
ds:defaultValue "—"
|
|
81
81
|
], [
|
|
82
82
|
a ds:Property;
|
|
83
83
|
ds:name "`SidePanelTablePagination.totalItems`";
|
|
84
|
-
ds:summary "Supplies the total for page calculation and count copy.
|
|
84
|
+
ds:summary "Supplies the total for page calculation and count copy.";
|
|
85
85
|
ds:propertyType "number";
|
|
86
|
-
ds:
|
|
87
|
-
ds:
|
|
86
|
+
ds:constraints "TypeScript: `number | undefined`. Uses the same total-pages hook semantics as the URL-backed variant.";
|
|
87
|
+
ds:defaultValue "—"
|
|
88
88
|
], [
|
|
89
89
|
a ds:Property;
|
|
90
90
|
ds:name "`SidePanelTablePagination.className`";
|
|
91
91
|
ds:summary "Adds a class to the base root.";
|
|
92
92
|
ds:propertyType "text";
|
|
93
|
-
ds:defaultValue "`\"\"`";
|
|
94
93
|
ds:constraints "TypeScript: `string`.";
|
|
94
|
+
ds:defaultValue "`\"\"`";
|
|
95
95
|
ds:optional "true"
|
|
96
96
|
], [
|
|
97
97
|
a ds:Property;
|
|
98
|
-
ds:name "`SidePanelTablePagination.currentItemCount`
|
|
98
|
+
ds:name "`SidePanelTablePagination.currentItemCount`";
|
|
99
99
|
ds:summary "Supplies the current row count.";
|
|
100
100
|
ds:propertyType "number";
|
|
101
|
+
ds:constraints "TypeScript: `number`. Falsy zero suppresses count copy. This variant does not expose `pageSizeLabel`; it always uses `Instances per page`.";
|
|
101
102
|
ds:defaultValue "0";
|
|
102
|
-
ds:constraints "TypeScript: `number`. Falsy zero suppresses count copy. This variant does not expose `pageSizeLabel`; it always uses `Instances per page`. ";
|
|
103
103
|
ds:optional "true"
|
|
104
104
|
], [
|
|
105
105
|
a ds:Property;
|
|
106
106
|
ds:name "`ModalTablePagination.current`";
|
|
107
|
-
ds:summary "Supplies the displayed current page and button boundaries.
|
|
107
|
+
ds:summary "Supplies the displayed current page and button boundaries.";
|
|
108
108
|
ds:propertyType "number";
|
|
109
|
-
ds:
|
|
110
|
-
ds:
|
|
109
|
+
ds:constraints "TypeScript: `number`. There is no runtime clamping; `current <= 1` disables previous and `current >= max` disables next. `ModalTablePaginationProps` is exported from its source module, while the family barrel exports only the component.";
|
|
110
|
+
ds:defaultValue "—"
|
|
111
111
|
], [
|
|
112
112
|
a ds:Property;
|
|
113
113
|
ds:name "`ModalTablePagination.max`";
|
|
114
114
|
ds:summary "Supplies the displayed page count.";
|
|
115
115
|
ds:propertyType "number";
|
|
116
|
-
ds:
|
|
117
|
-
ds:
|
|
116
|
+
ds:constraints "TypeScript: `number`. The entire component returns `null` when `max <= 1`.";
|
|
117
|
+
ds:defaultValue "—"
|
|
118
118
|
], [
|
|
119
119
|
a ds:Property;
|
|
120
120
|
ds:name "`ModalTablePagination.onPrev`";
|
|
121
121
|
ds:summary "Handles the previous-page action.";
|
|
122
122
|
ds:propertyType "callback";
|
|
123
|
-
ds:
|
|
124
|
-
ds:
|
|
123
|
+
ds:constraints "TypeScript: `() => void`. Receives no page argument and is not awaited.";
|
|
124
|
+
ds:defaultValue "—"
|
|
125
125
|
], [
|
|
126
126
|
a ds:Property;
|
|
127
127
|
ds:name "`ModalTablePagination.onNext`";
|
|
128
128
|
ds:summary "Handles the next-page action.";
|
|
129
129
|
ds:propertyType "callback";
|
|
130
|
-
ds:
|
|
131
|
-
ds:
|
|
130
|
+
ds:constraints "TypeScript: `() => void`. Receives no page argument and is not awaited.";
|
|
131
|
+
ds:defaultValue "—"
|
|
132
132
|
], [
|
|
133
133
|
a ds:Property;
|
|
134
|
-
ds:name "`TokenBasedTablePagination.currentItemCount`
|
|
134
|
+
ds:name "`TokenBasedTablePagination.currentItemCount`";
|
|
135
135
|
ds:summary "Supplies the current token page count.";
|
|
136
136
|
ds:propertyType "number";
|
|
137
|
-
ds:
|
|
138
|
-
ds:
|
|
137
|
+
ds:constraints "TypeScript: `number`. Count copy requires this and `totalItemCount` to be truthy. `TokenBasedTablePaginationProps` is exported from its source module, while the family barrel exports only the component.";
|
|
138
|
+
ds:defaultValue "—"
|
|
139
139
|
], [
|
|
140
140
|
a ds:Property;
|
|
141
|
-
ds:name "`TokenBasedTablePagination.totalItemCount`
|
|
141
|
+
ds:name "`TokenBasedTablePagination.totalItemCount`";
|
|
142
142
|
ds:summary "Supplies the exact total or lower bound.";
|
|
143
143
|
ds:propertyType "number";
|
|
144
|
-
ds:
|
|
145
|
-
ds:
|
|
144
|
+
ds:constraints "TypeScript: `number`. Exact zero returns `null`; inexact zero keeps controls but suppresses count copy.";
|
|
145
|
+
ds:defaultValue "—"
|
|
146
146
|
], [
|
|
147
147
|
a ds:Property;
|
|
148
148
|
ds:name "`TokenBasedTablePagination.isTotalExact`";
|
|
149
|
-
ds:summary "Chooses exact versus `more than` count copy and zero rendering.
|
|
149
|
+
ds:summary "Chooses exact versus `more than` count copy and zero rendering.";
|
|
150
150
|
ds:propertyType "boolean";
|
|
151
|
+
ds:constraints "TypeScript: `boolean`. Inexact copy is `Showing X of more than Y ...`.";
|
|
151
152
|
ds:defaultValue "true";
|
|
152
|
-
ds:constraints "TypeScript: `boolean`. Inexact copy is `Showing X of more than Y ...`. ";
|
|
153
153
|
ds:optional "true"
|
|
154
154
|
], [
|
|
155
155
|
a ds:Property;
|
|
156
156
|
ds:name "`TokenBasedTablePagination.itemType`";
|
|
157
|
-
ds:summary "Supplies the singular noun for the exact-count helper.
|
|
157
|
+
ds:summary "Supplies the singular noun for the exact-count helper.";
|
|
158
158
|
ds:propertyType "text";
|
|
159
|
+
ds:constraints "TypeScript: `string`. Used only for count copy.";
|
|
159
160
|
ds:defaultValue "`item`";
|
|
160
|
-
ds:constraints "TypeScript: `string`. Used only for count copy. ";
|
|
161
161
|
ds:optional "true"
|
|
162
162
|
], [
|
|
163
163
|
a ds:Property;
|
|
164
|
-
ds:name "`TokenBasedTablePagination.itemTypePlural`
|
|
165
|
-
ds:summary "Supplies the plural noun for count copy and the advance group.
|
|
164
|
+
ds:name "`TokenBasedTablePagination.itemTypePlural`";
|
|
165
|
+
ds:summary "Supplies the plural noun for count copy and the advance group.";
|
|
166
166
|
ds:propertyType "text";
|
|
167
|
+
ds:constraints "TypeScript: `string`. Supply irregular plurals.";
|
|
167
168
|
ds:defaultValue "`${itemType}s`";
|
|
168
|
-
ds:constraints "TypeScript: `string`. Supply irregular plurals. ";
|
|
169
169
|
ds:optional "true"
|
|
170
170
|
], [
|
|
171
171
|
a ds:Property;
|
|
172
172
|
ds:name "`TokenBasedTablePagination.hasNextPage`";
|
|
173
173
|
ds:summary "Enables the next-page action.";
|
|
174
174
|
ds:propertyType "boolean";
|
|
175
|
-
ds:
|
|
176
|
-
ds:
|
|
175
|
+
ds:constraints "TypeScript: `boolean`. Must match cursor availability.";
|
|
176
|
+
ds:defaultValue "—"
|
|
177
177
|
], [
|
|
178
178
|
a ds:Property;
|
|
179
|
-
ds:name "`TokenBasedTablePagination.hasPreviousPage`
|
|
179
|
+
ds:name "`TokenBasedTablePagination.hasPreviousPage`";
|
|
180
180
|
ds:summary "Enables the previous-page action.";
|
|
181
181
|
ds:propertyType "boolean";
|
|
182
|
-
ds:
|
|
183
|
-
ds:
|
|
182
|
+
ds:constraints "TypeScript: `boolean`. Must match cursor availability.";
|
|
183
|
+
ds:defaultValue "—"
|
|
184
184
|
], [
|
|
185
185
|
a ds:Property;
|
|
186
186
|
ds:name "`TokenBasedTablePagination.goToNextPage`";
|
|
187
187
|
ds:summary "Handles the next-token action.";
|
|
188
188
|
ds:propertyType "callback";
|
|
189
|
-
ds:
|
|
190
|
-
ds:
|
|
189
|
+
ds:constraints "TypeScript: `() => void`. It is not awaited and has no pending state.";
|
|
190
|
+
ds:defaultValue "—"
|
|
191
191
|
], [
|
|
192
192
|
a ds:Property;
|
|
193
|
-
ds:name "`TokenBasedTablePagination.goToPreviousPage`
|
|
193
|
+
ds:name "`TokenBasedTablePagination.goToPreviousPage`";
|
|
194
194
|
ds:summary "Handles the previous-token action.";
|
|
195
195
|
ds:propertyType "callback";
|
|
196
|
-
ds:
|
|
197
|
-
ds:
|
|
196
|
+
ds:constraints "TypeScript: `() => void`. It is not awaited and has no pending state.";
|
|
197
|
+
ds:defaultValue "—"
|
|
198
198
|
], [
|
|
199
199
|
a ds:Property;
|
|
200
|
-
ds:name "`TokenBasedTablePagination.pageSizeControl`
|
|
200
|
+
ds:name "`TokenBasedTablePagination.pageSizeControl`";
|
|
201
201
|
ds:summary "Adds the advance-size select.";
|
|
202
202
|
ds:propertyType "object";
|
|
203
|
+
ds:constraints "TypeScript: `{ pageSize: number; setPageSize: (itemsNumber: number) => void }`. Options are fixed to 20, 50, and 100; changing size does not automatically reset token history.";
|
|
203
204
|
ds:defaultValue "—";
|
|
204
|
-
ds:constraints "TypeScript: `{ pageSize: number; setPageSize: (itemsNumber: number) => void }`. Options are fixed to 20, 50, and 100; changing size does not automatically reset token history. ";
|
|
205
205
|
ds:optional "true"
|
|
206
206
|
], [
|
|
207
207
|
a ds:Property;
|
|
208
|
-
ds:name "`TokenBasedTablePagination.pageSizeControl.pageSize`
|
|
208
|
+
ds:name "`TokenBasedTablePagination.pageSizeControl.pageSize`";
|
|
209
209
|
ds:summary "Supplies the controlled token advance size.";
|
|
210
210
|
ds:propertyType "number";
|
|
211
|
-
ds:
|
|
212
|
-
ds:
|
|
211
|
+
ds:constraints "TypeScript: `number`. The rendered select offers 20, 50, and 100.";
|
|
212
|
+
ds:defaultValue "—"
|
|
213
213
|
], [
|
|
214
214
|
a ds:Property;
|
|
215
|
-
ds:name "`TokenBasedTablePagination.pageSizeControl.setPageSize`
|
|
215
|
+
ds:name "`TokenBasedTablePagination.pageSizeControl.setPageSize`";
|
|
216
216
|
ds:summary "Receives the selected token advance size.";
|
|
217
217
|
ds:propertyType "callback";
|
|
218
|
-
ds:
|
|
219
|
-
ds:
|
|
218
|
+
ds:constraints "TypeScript: `(itemsNumber: number) => void`. Changing size does not automatically reset token history.";
|
|
219
|
+
ds:defaultValue "—"
|
|
220
220
|
].
|
|
@@ -14,75 +14,75 @@ ds:apps_landscape.pattern.typed_confirmation_modal a ds:Pattern;
|
|
|
14
14
|
ds:hasProperty [
|
|
15
15
|
a ds:Property;
|
|
16
16
|
ds:name "`confirmationText`";
|
|
17
|
-
ds:summary "Supplies the displayed phrase, input placeholder, and comparison target.
|
|
17
|
+
ds:summary "Supplies the displayed phrase, input placeholder, and comparison target.";
|
|
18
18
|
ds:propertyType "text";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
19
|
+
ds:constraints "TypeScript: `string`. Compared as `inputText.toLowerCase() === confirmationText.toLowerCase()` with no trim or locale argument. An empty string makes untouched input valid.";
|
|
20
|
+
ds:defaultValue "—"
|
|
21
21
|
], [
|
|
22
22
|
a ds:Property;
|
|
23
23
|
ds:name "`isOpen`";
|
|
24
24
|
ds:summary "Controls whether the complete modal is rendered.";
|
|
25
25
|
ds:propertyType "boolean";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
26
|
+
ds:constraints "TypeScript: `boolean`. False returns `null` but does not itself clear local text.";
|
|
27
|
+
ds:defaultValue "—"
|
|
28
28
|
], [
|
|
29
29
|
a ds:Property;
|
|
30
30
|
ds:name "`close`";
|
|
31
31
|
ds:summary "Handles consumer-owned modal closure.";
|
|
32
32
|
ds:propertyType "callback";
|
|
33
|
-
ds:
|
|
34
|
-
ds:
|
|
33
|
+
ds:constraints "TypeScript: `() => void`. The wrapper's modal-close path invokes it before clearing text. Consumer must update `isOpen`.";
|
|
34
|
+
ds:defaultValue "—"
|
|
35
35
|
], [
|
|
36
36
|
a ds:Property;
|
|
37
37
|
ds:name "`onConfirm`";
|
|
38
38
|
ds:summary "Runs the protected asynchronous action.";
|
|
39
39
|
ds:propertyType "callback";
|
|
40
|
-
ds:
|
|
41
|
-
ds:
|
|
40
|
+
ds:constraints "TypeScript: `() => Promise<void>`. Called only when text is valid. Rejection is not caught; text clears only after resolution. The component does not close automatically.";
|
|
41
|
+
ds:defaultValue "—"
|
|
42
42
|
], [
|
|
43
43
|
a ds:Property;
|
|
44
44
|
ds:name "`confirmButtonDisabled`";
|
|
45
45
|
ds:summary "Supplies an external disabled condition.";
|
|
46
46
|
ds:propertyType "boolean";
|
|
47
|
+
ds:constraints "TypeScript: inherited Canonical `ConfirmationModal` `confirmButtonDisabled`. Combined with invalid text and loading.";
|
|
47
48
|
ds:defaultValue "—";
|
|
48
|
-
ds:constraints "TypeScript: inherited Canonical `ConfirmationModal` `confirmButtonDisabled`. Combined with invalid text and loading. ";
|
|
49
49
|
ds:optional "true"
|
|
50
50
|
], [
|
|
51
51
|
a ds:Property;
|
|
52
52
|
ds:name "`confirmButtonLoading`";
|
|
53
|
-
ds:summary "Controls forwarded loading presentation and contributes to disabled state.
|
|
53
|
+
ds:summary "Controls forwarded loading presentation and contributes to disabled state.";
|
|
54
54
|
ds:propertyType "boolean";
|
|
55
|
+
ds:constraints "TypeScript: inherited Canonical `ConfirmationModal` `confirmButtonLoading`. Parent owns transitions; text input and cancel remain enabled unless `ConfirmationModal` changes them.";
|
|
55
56
|
ds:defaultValue "—";
|
|
56
|
-
ds:constraints "TypeScript: inherited Canonical `ConfirmationModal` `confirmButtonLoading`. Parent owns transitions; text input and cancel remain enabled unless `ConfirmationModal` changes them. ";
|
|
57
57
|
ds:optional "true"
|
|
58
58
|
], [
|
|
59
59
|
a ds:Property;
|
|
60
60
|
ds:name "`children`";
|
|
61
|
-
ds:summary "Supplies required consequence content before the instruction.
|
|
61
|
+
ds:summary "Supplies required consequence content before the instruction.";
|
|
62
62
|
ds:propertyType "node";
|
|
63
|
-
ds:
|
|
64
|
-
ds:
|
|
63
|
+
ds:constraints "TypeScript: `ReactNode`. Supply enough context to identify the target and impact. The wrapper renders it inside the confirmation Form.";
|
|
64
|
+
ds:defaultValue "—"
|
|
65
65
|
], [
|
|
66
66
|
a ds:Property;
|
|
67
67
|
ds:name "`confirmButtonLabel`";
|
|
68
|
-
ds:summary "Supplies required content for the modal-owned confirm action.
|
|
68
|
+
ds:summary "Supplies required content for the modal-owned confirm action.";
|
|
69
69
|
ds:propertyType "node";
|
|
70
|
-
ds:
|
|
71
|
-
ds:
|
|
70
|
+
ds:constraints "TypeScript: inherited `ReactNode`. Forwarded to `ConfirmationModal`; the action row remains outside the wrapper's Form.";
|
|
71
|
+
ds:defaultValue "—"
|
|
72
72
|
], [
|
|
73
73
|
a ds:Property;
|
|
74
74
|
ds:name "`confirmButtonProps`";
|
|
75
|
-
ds:summary "Nominally accepts inherited confirm-action overrides.
|
|
75
|
+
ds:summary "Nominally accepts inherited confirm-action overrides.";
|
|
76
76
|
ds:propertyType "object";
|
|
77
|
+
ds:constraints "TypeScript: Canonical `Partial<ActionButtonProps>`. A consumer value enters `...props` and is then discarded because the wrapper replaces it with `{ type: \"submit\" }`; consumer `confirmButtonProps` do not survive the later assignment.";
|
|
77
78
|
ds:defaultValue "`{ type: \"submit\" }`";
|
|
78
|
-
ds:constraints "TypeScript: Canonical `Partial<ActionButtonProps>`. A consumer value enters `...props` and is then discarded because the wrapper replaces it with `{ type: \"submit\" }`; consumer `confirmButtonProps` do not survive the later assignment. ";
|
|
79
79
|
ds:optional "true"
|
|
80
80
|
], [
|
|
81
81
|
a ds:Property;
|
|
82
82
|
ds:name "`...props`";
|
|
83
|
-
ds:summary "Forwards title, labels, appearance, portal behavior, and other modal options.
|
|
83
|
+
ds:summary "Forwards title, labels, appearance, portal behavior, and other modal options.";
|
|
84
84
|
ds:propertyType "object";
|
|
85
|
+
ds:constraints "TypeScript: `ComponentProps<typeof ConfirmationModal>`, including inherited supported props and `children`. The wrapper replaces `confirmButtonDisabled`, `confirmButtonProps`, `confirmButtonLoading`, `onConfirm`, and `close`. The explicitly documented inherited props above remain part of this public contract subject to those replacement rules.";
|
|
85
86
|
ds:defaultValue "Canonical defaults";
|
|
86
|
-
ds:constraints "TypeScript: `ComponentProps<typeof ConfirmationModal>`, including inherited supported props and `children`. The wrapper replaces `confirmButtonDisabled`, `confirmButtonProps`, `confirmButtonLoading`, `onConfirm`, and `close`. The explicitly documented inherited props above remain part of this public contract subject to those replacement rules. ";
|
|
87
87
|
ds:optional "true"
|
|
88
88
|
].
|
|
@@ -16,15 +16,15 @@ ds:apps_landscape.subcomponent.bold_substring a ds:Subcomponent;
|
|
|
16
16
|
ds:name "text";
|
|
17
17
|
ds:summary "Complete plain-text value to search and render.";
|
|
18
18
|
ds:propertyType "text";
|
|
19
|
-
ds:
|
|
19
|
+
ds:optional "false";
|
|
20
20
|
ds:constraints "The rendered slices come from this value, so casing and spacing are preserved.";
|
|
21
|
-
ds:
|
|
21
|
+
ds:defaultValue "None"
|
|
22
22
|
], [
|
|
23
23
|
a ds:Property;
|
|
24
24
|
ds:name "substring";
|
|
25
25
|
ds:summary "Query used to find the emphasized slice.";
|
|
26
26
|
ds:propertyType "text";
|
|
27
|
-
ds:
|
|
27
|
+
ds:optional "false";
|
|
28
28
|
ds:constraints "Matching is case-insensitive; only the first occurrence is wrapped; an empty or unmatched value returns `text` directly.";
|
|
29
|
-
ds:
|
|
29
|
+
ds:defaultValue "None"
|
|
30
30
|
].
|
|
@@ -16,21 +16,21 @@ ds:apps_landscape.subcomponent.inline_cell_input a ds:Subcomponent;
|
|
|
16
16
|
ds:name "`InlineCellInput.value`";
|
|
17
17
|
ds:summary "Initial value used by `useState`.";
|
|
18
18
|
ds:propertyType "text";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
19
|
+
ds:constraints "Read on initial mount only; later prop changes do not replace the draft. Local `value` is always passed to Input.";
|
|
20
|
+
ds:defaultValue "—"
|
|
21
21
|
], [
|
|
22
22
|
a ds:Property;
|
|
23
23
|
ds:name "`InlineCellInput.onChange`";
|
|
24
|
-
ds:summary "Commit callback invoked on blur with the current draft.
|
|
24
|
+
ds:summary "Commit callback invoked on blur with the current draft.";
|
|
25
25
|
ds:propertyType "callback";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
26
|
+
ds:constraints "TypeScript: `(value: string) => Promise<void> | Promise<FormikErrors<unknown>>`. The component does not await, catch, inspect Formik errors, or suppress unchanged commits.";
|
|
27
|
+
ds:defaultValue "—"
|
|
28
28
|
], [
|
|
29
29
|
a ds:Property;
|
|
30
30
|
ds:name "`InlineCellInput` remaining Input props";
|
|
31
|
-
ds:summary "Forwarded to Canonical Input. Common consumers pass `label`, `labelClassName`, `className`, `wrapperClassName`, `placeholder`, Formik `name`, and `error`.
|
|
31
|
+
ds:summary "Forwarded to Canonical Input. Common consumers pass `label`, `labelClassName`, `className`, `wrapperClassName`, `placeholder`, Formik `name`, and `error`.";
|
|
32
32
|
ds:propertyType "object";
|
|
33
|
-
ds:
|
|
34
|
-
ds:
|
|
33
|
+
ds:constraints "TypeScript: `Omit<InputProps, \"onBlur\" | \"onChange\">`. Consumers may supply any supported subset. Spread occurs after local `type=\"text\"` and `autoComplete=\"off\"`, so inherited props can override those initial values.";
|
|
34
|
+
ds:defaultValue "Canonical Input defaults; local initial `type`/autocomplete values as above";
|
|
35
35
|
ds:optional "true"
|
|
36
36
|
].
|
|
@@ -16,31 +16,31 @@ ds:apps_landscape.subcomponent.label_with_description a ds:Subcomponent;
|
|
|
16
16
|
ds:name "`LabelWithDescription.className`";
|
|
17
17
|
ds:summary "Additional class on the primary paragraph only.";
|
|
18
18
|
ds:propertyType "text";
|
|
19
|
-
ds:
|
|
20
|
-
ds:constraints "Does not style the description container or link. Preserve the relationship and visibility of both text levels.
|
|
21
|
-
ds:
|
|
19
|
+
ds:optional "true";
|
|
20
|
+
ds:constraints "Does not style the description container or link. Preserve the relationship and visibility of both text levels.";
|
|
21
|
+
ds:defaultValue "—"
|
|
22
22
|
], [
|
|
23
23
|
a ds:Property;
|
|
24
24
|
ds:name "`LabelWithDescription.description`";
|
|
25
|
-
ds:summary "Supporting content rendered inside `<small>`.
|
|
25
|
+
ds:summary "Supporting content rendered inside `<small>`.";
|
|
26
26
|
ds:propertyType "node";
|
|
27
|
-
ds:
|
|
28
|
-
ds:constraints "TypeScript: `ReactNode`. Use phrasing and inline content valid within `<small>`; block descendants can create unsuitable markup.
|
|
29
|
-
ds:
|
|
27
|
+
ds:optional "true";
|
|
28
|
+
ds:constraints "TypeScript: `ReactNode`. Use phrasing and inline content valid within `<small>`; block descendants can create unsuitable markup.";
|
|
29
|
+
ds:defaultValue "—"
|
|
30
30
|
], [
|
|
31
31
|
a ds:Property;
|
|
32
32
|
ds:name "`LabelWithDescription.label`";
|
|
33
33
|
ds:summary "Primary content rendered inside a paragraph.";
|
|
34
34
|
ds:propertyType "node";
|
|
35
|
-
ds:
|
|
36
|
-
ds:constraints "TypeScript: `ReactNode`. Use concise inline content valid within `<p>`. This does not label a form control.
|
|
37
|
-
ds:
|
|
35
|
+
ds:optional "true";
|
|
36
|
+
ds:constraints "TypeScript: `ReactNode`. Use concise inline content valid within `<p>`. This does not label a form control.";
|
|
37
|
+
ds:defaultValue "—"
|
|
38
38
|
], [
|
|
39
39
|
a ds:Property;
|
|
40
40
|
ds:name "LabelWithDescription.link";
|
|
41
|
-
ds:summary "Destination for the conditional `learn more` anchor.
|
|
41
|
+
ds:summary "Destination for the conditional `learn more` anchor.";
|
|
42
42
|
ds:propertyType "url";
|
|
43
|
-
ds:
|
|
44
|
-
ds:constraints "Opens with `target=\"_blank\"` and `rel=\"noopener noreferrer\"`; clicking stops propagation but keyboard activation remains native link behavior.
|
|
45
|
-
ds:
|
|
43
|
+
ds:optional "true";
|
|
44
|
+
ds:constraints "Opens with `target=\"_blank\"` and `rel=\"noopener noreferrer\"`; clicking stops propagation but keyboard activation remains native link behavior.";
|
|
45
|
+
ds:defaultValue "—"
|
|
46
46
|
].
|
|
@@ -16,46 +16,46 @@ ds:apps_landscape.subcomponent.nested_dropdown_item a ds:Subcomponent;
|
|
|
16
16
|
ds:name "`el`";
|
|
17
17
|
ds:summary "Supplies the nested panel content.";
|
|
18
18
|
ds:propertyType "element";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
19
|
+
ds:constraints "TypeScript: `ReactElement<FilterProps, JSXElementConstructor<{ name: string }>> | ReactNode`. Valid non-fragment elements are cloned with `inline: true`; other nodes pass through unchanged.";
|
|
20
|
+
ds:defaultValue "—"
|
|
21
21
|
], [
|
|
22
22
|
a ds:Property;
|
|
23
23
|
ds:name "`label`";
|
|
24
24
|
ds:summary "Supplies trigger content before label inference.";
|
|
25
25
|
ds:propertyType "node";
|
|
26
|
+
ds:constraints "TypeScript: `ReactNode`. Falsy values fall back to `el.props.label`; if neither resolves, the button has no text label.";
|
|
26
27
|
ds:defaultValue "—";
|
|
27
|
-
ds:constraints "TypeScript: `ReactNode`. Falsy values fall back to `el.props.label`; if neither resolves, the button has no text label. ";
|
|
28
28
|
ds:optional "true"
|
|
29
29
|
], [
|
|
30
30
|
a ds:Property;
|
|
31
31
|
ds:name "`disabled`";
|
|
32
32
|
ds:summary "Disables the native trigger button.";
|
|
33
33
|
ds:propertyType "boolean";
|
|
34
|
+
ds:constraints "TypeScript: `boolean`. A disabled trigger cannot toggle the panel.";
|
|
34
35
|
ds:defaultValue "false";
|
|
35
|
-
ds:constraints "TypeScript: `boolean`. A disabled trigger cannot toggle the panel. ";
|
|
36
36
|
ds:optional "true"
|
|
37
37
|
], [
|
|
38
38
|
a ds:Property;
|
|
39
39
|
ds:name "`onMenuClose`";
|
|
40
|
-
ds:summary "Notifies the owning menu from the panel click handler.
|
|
40
|
+
ds:summary "Notifies the owning menu from the panel click handler.";
|
|
41
41
|
ds:propertyType "callback";
|
|
42
|
+
ds:constraints "TypeScript: `() => void`. Runs for every click that bubbles to the open content container; outside clicks do not call it.";
|
|
42
43
|
ds:defaultValue "—";
|
|
43
|
-
ds:constraints "TypeScript: `() => void`. Runs for every click that bubbles to the open content container; outside clicks do not call it. ";
|
|
44
44
|
ds:optional "true"
|
|
45
45
|
], [
|
|
46
46
|
a ds:Property;
|
|
47
47
|
ds:name "`className`";
|
|
48
48
|
ds:summary "Adds classes to the root wrapper.";
|
|
49
49
|
ds:propertyType "text";
|
|
50
|
+
ds:constraints "TypeScript: `string`. Local root and alignment classes remain applied.";
|
|
50
51
|
ds:defaultValue "—";
|
|
51
|
-
ds:constraints "TypeScript: `string`. Local root and alignment classes remain applied. ";
|
|
52
52
|
ds:optional "true"
|
|
53
53
|
], [
|
|
54
54
|
a ds:Property;
|
|
55
55
|
ds:name "`position`";
|
|
56
56
|
ds:summary "Selects alignment and directional icon arrangement.";
|
|
57
57
|
ds:propertyType "choice";
|
|
58
|
+
ds:constraints "TypeScript: `\"left\" | \"center\" | \"right\"`. The names select source alignment classes; `left` places the panel to the trigger's right and `right` places it to the trigger's left.";
|
|
58
59
|
ds:defaultValue "`left`";
|
|
59
|
-
ds:constraints "TypeScript: `\"left\" | \"center\" | \"right\"`. The names select source alignment classes; `left` places the panel to the trigger's right and `right` places it to the trigger's left. ";
|
|
60
60
|
ds:optional "true"
|
|
61
61
|
].
|
|
@@ -14,23 +14,23 @@ ds:apps_landscape.subcomponent.pluralized_bold_count a ds:Subcomponent;
|
|
|
14
14
|
ds:hasProperty [
|
|
15
15
|
a ds:Property;
|
|
16
16
|
ds:name "`count`";
|
|
17
|
-
ds:summary "Supplies the bold quantity and selects the noun form.
|
|
17
|
+
ds:summary "Supplies the bold quantity and selects the noun form.";
|
|
18
18
|
ds:propertyType "number";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
19
|
+
ds:constraints "TypeScript: `number`. Formatted with `toLocaleString()`; singular is selected only when the value is exactly `1`.";
|
|
20
|
+
ds:defaultValue "—"
|
|
21
21
|
], [
|
|
22
22
|
a ds:Property;
|
|
23
23
|
ds:name "`singular`";
|
|
24
|
-
ds:summary "Supplies the noun used when `count` is exactly `1`.
|
|
24
|
+
ds:summary "Supplies the noun used when `count` is exactly `1`.";
|
|
25
25
|
ds:propertyType "text";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
26
|
+
ds:constraints "TypeScript: `string`. Also seeds the default plural form.";
|
|
27
|
+
ds:defaultValue "—"
|
|
28
28
|
], [
|
|
29
29
|
a ds:Property;
|
|
30
30
|
ds:name "`plural`";
|
|
31
31
|
ds:summary "Supplies the noun used for every other count.";
|
|
32
32
|
ds:propertyType "text";
|
|
33
|
+
ds:constraints "TypeScript: `string`. Supply it when the plural is not the singular plus `s`.";
|
|
33
34
|
ds:defaultValue "`${singular}s`";
|
|
34
|
-
ds:constraints "TypeScript: `string`. Supply it when the plural is not the singular plus `s`. ";
|
|
35
35
|
ds:optional "true"
|
|
36
36
|
].
|
|
@@ -16,41 +16,41 @@ ds:apps_landscape.subcomponent.select_all_results_prompt a ds:Subcomponent;
|
|
|
16
16
|
ds:name "`count`";
|
|
17
17
|
ds:summary "Current selected count used in status copy.";
|
|
18
18
|
ds:propertyType "number";
|
|
19
|
-
ds:
|
|
20
|
-
ds:
|
|
19
|
+
ds:constraints "Formatted with `toLocaleString()` by `pluralize(..., \"exact\")`; there is no runtime range validation, so callers must keep it nonnegative and below the total while shown.";
|
|
20
|
+
ds:defaultValue "—"
|
|
21
21
|
], [
|
|
22
22
|
a ds:Property;
|
|
23
23
|
ds:name "`itemName`";
|
|
24
24
|
ds:summary "Supplies nouns used by status and action copy.";
|
|
25
25
|
ds:propertyType "object";
|
|
26
|
-
ds:
|
|
27
|
-
ds:
|
|
26
|
+
ds:constraints "TypeScript: `{ plural: string; singular: string }`. Status selects the exact singular or plural; the action always uses `plural`.";
|
|
27
|
+
ds:defaultValue "—"
|
|
28
28
|
], [
|
|
29
29
|
a ds:Property;
|
|
30
30
|
ds:name "`itemName.singular`";
|
|
31
31
|
ds:summary "Noun used when the current selected count is one.";
|
|
32
32
|
ds:propertyType "text";
|
|
33
|
-
ds:
|
|
34
|
-
ds:
|
|
33
|
+
ds:constraints "Used only by the status copy through exact pluralization.";
|
|
34
|
+
ds:defaultValue "—"
|
|
35
35
|
], [
|
|
36
36
|
a ds:Property;
|
|
37
37
|
ds:name "`itemName.plural`";
|
|
38
38
|
ds:summary "Noun used for plural status and select-all copy.";
|
|
39
39
|
ds:propertyType "text";
|
|
40
|
-
ds:
|
|
41
|
-
ds:
|
|
40
|
+
ds:constraints "The action always uses this value regardless of `totalCount`.";
|
|
41
|
+
ds:defaultValue "—"
|
|
42
42
|
], [
|
|
43
43
|
a ds:Property;
|
|
44
44
|
ds:name "`onClick`";
|
|
45
45
|
ds:summary "Handles the select-all button.";
|
|
46
46
|
ds:propertyType "callback";
|
|
47
|
-
ds:
|
|
48
|
-
ds:
|
|
47
|
+
ds:constraints "TypeScript: `() => void`. No arguments, awaiting, disabled state, error handling, or duplicate-activation prevention are provided.";
|
|
48
|
+
ds:defaultValue "—"
|
|
49
49
|
], [
|
|
50
50
|
a ds:Property;
|
|
51
51
|
ds:name "`totalCount`";
|
|
52
52
|
ds:summary "Total interpolated directly into the action label.";
|
|
53
53
|
ds:propertyType "number";
|
|
54
|
-
ds:
|
|
55
|
-
ds:
|
|
54
|
+
ds:constraints "Unlike `count`, it does not pass through `toLocaleString()`. There is no equality or scope check; the component still renders when `totalCount <= count`.";
|
|
55
|
+
ds:defaultValue "—"
|
|
56
56
|
].
|