@discourse/types 2026.8.0-fb9247e0 → 2026.9.0-c0ef3a11
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/declarations/admin/components/admin-badges-show.d.ts.map +1 -1
- package/declarations/admin/components/admin-config-area-cards/about/contact-information.d.ts +0 -1
- package/declarations/admin/components/admin-config-area-cards/about/contact-information.d.ts.map +1 -1
- package/declarations/admin/components/admin-config-areas/components.d.ts.map +1 -1
- package/declarations/admin/components/admin-config-areas/themes.d.ts +3 -0
- package/declarations/admin/components/admin-config-areas/themes.d.ts.map +1 -1
- package/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts +1 -1
- package/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts.map +1 -1
- package/declarations/admin/components/admin-plugin-config-page.d.ts +1 -0
- package/declarations/admin/components/admin-plugin-config-page.d.ts.map +1 -1
- package/declarations/admin/components/admin-plugins-list-item.d.ts.map +1 -1
- package/declarations/admin/components/admin-report-related-items.d.ts +14 -0
- package/declarations/admin/components/admin-report-related-items.d.ts.map +1 -0
- package/declarations/admin/components/admin-report-stacked-chart.d.ts +1 -1
- package/declarations/admin/components/admin-report-stacked-chart.d.ts.map +1 -1
- package/declarations/admin/components/admin-report-table-cell.d.ts +3 -0
- package/declarations/admin/components/admin-report-table-cell.d.ts.map +1 -1
- package/declarations/admin/components/admin-report-table-row.d.ts.map +1 -1
- package/declarations/admin/components/admin-report-table-summary.d.ts +18 -0
- package/declarations/admin/components/admin-report-table-summary.d.ts.map +1 -0
- package/declarations/admin/components/admin-report-table.d.ts.map +1 -1
- package/declarations/admin/components/admin-report.d.ts +3 -0
- package/declarations/admin/components/admin-report.d.ts.map +1 -1
- package/declarations/admin/components/chart.d.ts +1 -1
- package/declarations/admin/components/dashboard/engagement/activity-by-category.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/engagement/headline.d.ts +4 -3
- package/declarations/admin/components/dashboard/engagement/headline.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/engagement/whos-posting.d.ts +7 -10
- package/declarations/admin/components/dashboard/engagement/whos-posting.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/report-error-state.d.ts +3 -0
- package/declarations/admin/components/dashboard/report-error-state.d.ts.map +1 -0
- package/declarations/admin/components/dashboard/reports.d.ts +37 -1
- package/declarations/admin/components/dashboard/reports.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/search.d.ts +5 -3
- package/declarations/admin/components/dashboard/search.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/system.d.ts +27 -0
- package/declarations/admin/components/dashboard/system.d.ts.map +1 -0
- package/declarations/admin/components/dashboard/traffic.d.ts +8 -0
- package/declarations/admin/components/dashboard/traffic.d.ts.map +1 -1
- package/declarations/admin/components/edit-category-localizations.d.ts.map +1 -1
- package/declarations/admin/components/edit-category-panel.d.ts +0 -5
- package/declarations/admin/components/edit-category-panel.d.ts.map +1 -1
- package/declarations/admin/components/form-template/form.d.ts.map +1 -1
- package/declarations/admin/components/manageable-row-list-item.d.ts +15 -0
- package/declarations/admin/components/manageable-row-list-item.d.ts.map +1 -0
- package/declarations/admin/components/modal/badge-preview.d.ts.map +1 -1
- package/declarations/admin/components/modal/compare-groups.d.ts +29 -0
- package/declarations/admin/components/modal/compare-groups.d.ts.map +1 -0
- package/declarations/admin/components/modal/manage-reports.d.ts +2 -6
- package/declarations/admin/components/modal/manage-reports.d.ts.map +1 -1
- package/declarations/admin/components/modal/penalize-user.d.ts +2 -1
- package/declarations/admin/components/modal/penalize-user.d.ts.map +1 -1
- package/declarations/admin/components/redesigned-admin-dashboard.d.ts.map +1 -1
- package/declarations/admin/components/report-filters/groups.d.ts +6 -0
- package/declarations/admin/components/report-filters/groups.d.ts.map +1 -0
- package/declarations/admin/components/reports/posters-by-member-type-report.d.ts +29 -0
- package/declarations/admin/components/reports/posters-by-member-type-report.d.ts.map +1 -0
- package/declarations/admin/components/schema-setting/field.d.ts +2 -1
- package/declarations/admin/components/schema-setting/field.d.ts.map +1 -1
- package/declarations/admin/components/schema-setting/types/icon.d.ts +10 -0
- package/declarations/admin/components/schema-setting/types/icon.d.ts.map +1 -0
- package/declarations/admin/components/site-setting.d.ts +12 -1
- package/declarations/admin/components/site-setting.d.ts.map +1 -1
- package/declarations/admin/components/site-settings/group-list.d.ts.map +1 -1
- package/declarations/admin/components/site-settings/group.d.ts.map +1 -1
- package/declarations/admin/components/site-settings/icon.d.ts.map +1 -1
- package/declarations/admin/components/site-settings/integer.d.ts +0 -1
- package/declarations/admin/components/site-settings/integer.d.ts.map +1 -1
- package/declarations/admin/components/site-traffic-explorer-breakdown-card.d.ts +21 -0
- package/declarations/admin/components/site-traffic-explorer-breakdown-card.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-breakdown-modal.d.ts +10 -0
- package/declarations/admin/components/site-traffic-explorer-breakdown-modal.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-breakdown-row.d.ts +3 -0
- package/declarations/admin/components/site-traffic-explorer-breakdown-row.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-dimension-label.d.ts +8 -0
- package/declarations/admin/components/site-traffic-explorer-dimension-label.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-filter-pills.d.ts +16 -0
- package/declarations/admin/components/site-traffic-explorer-filter-pills.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-metric.d.ts +3 -0
- package/declarations/admin/components/site-traffic-explorer-metric.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-pageview-count.d.ts +3 -0
- package/declarations/admin/components/site-traffic-explorer-pageview-count.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer.d.ts +67 -0
- package/declarations/admin/components/site-traffic-explorer.d.ts.map +1 -0
- package/declarations/admin/components/upsert-category/appearance.d.ts +6 -10
- package/declarations/admin/components/upsert-category/appearance.d.ts.map +1 -1
- package/declarations/admin/components/version-checks.d.ts.map +1 -1
- package/declarations/admin/controllers/admin/dashboard/general.d.ts +1 -2
- package/declarations/admin/controllers/admin/dashboard/general.d.ts.map +1 -1
- package/declarations/admin/controllers/admin/dashboard.d.ts +1 -3
- package/declarations/admin/controllers/admin/dashboard.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-customize-themes/show/index.d.ts +2 -0
- package/declarations/admin/controllers/admin-customize-themes/show/index.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-plugins/index.d.ts +0 -3
- package/declarations/admin/controllers/admin-plugins/index.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-plugins.d.ts +2 -2
- package/declarations/admin/controllers/admin-plugins.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-search/index.d.ts +3 -1
- package/declarations/admin/controllers/admin-search/index.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-search-logs/index.d.ts +2 -1
- package/declarations/admin/controllers/admin-search-logs/index.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-search-logs/term.d.ts +2 -1
- package/declarations/admin/controllers/admin-search-logs/term.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-site-traffic.d.ts +51 -0
- package/declarations/admin/controllers/admin-site-traffic.d.ts.map +1 -0
- package/declarations/admin/controllers/admin-user/badges.d.ts +1 -0
- package/declarations/admin/controllers/admin-user/badges.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-watched-words/action.d.ts +2 -0
- package/declarations/admin/controllers/admin-watched-words/action.d.ts.map +1 -1
- package/declarations/admin/controllers/edit-category/tabs.d.ts.map +1 -1
- package/declarations/admin/lib/admin-report-related-items.d.ts +4 -0
- package/declarations/admin/lib/admin-report-related-items.d.ts.map +1 -0
- package/declarations/admin/lib/color-scheme-manager.d.ts +44 -0
- package/declarations/admin/lib/color-scheme-manager.d.ts.map +1 -1
- package/declarations/admin/lib/constants.d.ts.map +1 -1
- package/declarations/admin/lib/dashboard-format.d.ts +1 -0
- package/declarations/admin/lib/dashboard-format.d.ts.map +1 -1
- package/declarations/admin/lib/engagement-headline.d.ts +2 -0
- package/declarations/admin/lib/engagement-headline.d.ts.map +1 -0
- package/declarations/admin/lib/format-language.d.ts +2 -0
- package/declarations/admin/lib/format-language.d.ts.map +1 -0
- package/declarations/admin/lib/format-pageview-count.d.ts +4 -0
- package/declarations/admin/lib/format-pageview-count.d.ts.map +1 -0
- package/declarations/admin/lib/search-headline.d.ts +2 -0
- package/declarations/admin/lib/search-headline.d.ts.map +1 -0
- package/declarations/admin/lib/toggleable-ordered-list.d.ts +22 -0
- package/declarations/admin/lib/toggleable-ordered-list.d.ts.map +1 -0
- package/declarations/admin/models/admin-dashboard.d.ts +1 -1
- package/declarations/admin/models/admin-dashboard.d.ts.map +1 -1
- package/declarations/admin/models/admin-user.d.ts +1 -1
- package/declarations/admin/models/admin-user.d.ts.map +1 -1
- package/declarations/admin/models/report.d.ts +5 -5
- package/declarations/admin/models/site-setting.d.ts +2 -0
- package/declarations/admin/models/site-setting.d.ts.map +1 -1
- package/declarations/admin/models/staff-action-log.d.ts.map +1 -1
- package/declarations/admin/routes/admin-route-map.d.ts.map +1 -1
- package/declarations/admin/routes/admin-site-traffic.d.ts +55 -0
- package/declarations/admin/routes/admin-site-traffic.d.ts.map +1 -0
- package/declarations/admin/routes/admin-user/badges.d.ts +1 -1
- package/declarations/admin/routes/admin-user/badges.d.ts.map +1 -1
- package/declarations/admin/routes/new-category.d.ts.map +1 -1
- package/declarations/admin/services/admin-emojis.d.ts.map +1 -1
- package/declarations/admin/templates/admin-site-traffic-loading.d.ts +3 -0
- package/declarations/admin/templates/admin-site-traffic-loading.d.ts.map +1 -0
- package/declarations/admin/templates/admin-site-traffic.d.ts +3 -0
- package/declarations/admin/templates/admin-site-traffic.d.ts.map +1 -0
- package/declarations/app/adapters/topic-list.d.ts +2 -1
- package/declarations/app/adapters/topic-list.d.ts.map +1 -1
- package/declarations/app/app.d.ts +1 -1
- package/declarations/app/app.d.ts.map +1 -1
- package/declarations/app/blocks/block-outlet.d.ts +51 -76
- package/declarations/app/blocks/block-outlet.d.ts.map +1 -1
- package/declarations/app/blocks/builtin/block-group.d.ts +10 -4
- package/declarations/app/blocks/builtin/block-group.d.ts.map +1 -1
- package/declarations/app/blocks/builtin/block-head.d.ts +19 -11
- package/declarations/app/blocks/builtin/block-head.d.ts.map +1 -1
- package/declarations/app/blocks/builtin/index.d.ts +30 -0
- package/declarations/app/blocks/builtin/index.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/condition.d.ts +71 -52
- package/declarations/app/blocks/conditions/condition.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/decorator.d.ts +29 -20
- package/declarations/app/blocks/conditions/decorator.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/index.d.ts +2 -0
- package/declarations/app/blocks/conditions/index.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/outlet-arg.d.ts +17 -36
- package/declarations/app/blocks/conditions/outlet-arg.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/route.d.ts +19 -21
- package/declarations/app/blocks/conditions/route.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/setting.d.ts +21 -28
- package/declarations/app/blocks/conditions/setting.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/user.d.ts +23 -14
- package/declarations/app/blocks/conditions/user.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/viewport.d.ts +17 -18
- package/declarations/app/blocks/conditions/viewport.d.ts.map +1 -1
- package/declarations/app/blocks/index.d.ts +7 -0
- package/declarations/app/blocks/index.d.ts.map +1 -1
- package/declarations/app/blocks/types.d.ts +153 -0
- package/declarations/app/blocks/types.d.ts.map +1 -0
- package/declarations/app/components/a11y/live-regions.d.ts +21 -0
- package/declarations/app/components/a11y/live-regions.d.ts.map +1 -1
- package/declarations/app/components/about-page-extra-groups.d.ts.map +1 -1
- package/declarations/app/components/ace-editor.d.ts +3 -0
- package/declarations/app/components/ace-editor.d.ts.map +1 -1
- package/declarations/app/components/admin-onboarding/banner.d.ts +8 -1
- package/declarations/app/components/admin-onboarding/banner.d.ts.map +1 -1
- package/declarations/app/components/admin-onboarding/step.d.ts +3 -2
- package/declarations/app/components/admin-onboarding/step.d.ts.map +1 -1
- package/declarations/app/components/advanced-mode-toggle.d.ts +6 -2
- package/declarations/app/components/advanced-mode-toggle.d.ts.map +1 -1
- package/declarations/app/components/bookmark-icon.d.ts +1 -1
- package/declarations/app/components/bookmark-menu.d.ts +1 -1
- package/declarations/app/components/bulk-select-topics-dropdown.d.ts +1 -0
- package/declarations/app/components/bulk-select-topics-dropdown.d.ts.map +1 -1
- package/declarations/app/components/card-contents-base.d.ts.map +1 -1
- package/declarations/app/components/categories-boxes.d.ts +2 -0
- package/declarations/app/components/categories-boxes.d.ts.map +1 -1
- package/declarations/app/components/category-list-item.d.ts +4 -0
- package/declarations/app/components/category-list-item.d.ts.map +1 -1
- package/declarations/app/components/code-login-form.d.ts +4 -0
- package/declarations/app/components/code-login-form.d.ts.map +1 -1
- package/declarations/app/components/composer/preview-node-view.d.ts +38 -0
- package/declarations/app/components/composer/preview-node-view.d.ts.map +1 -0
- package/declarations/app/components/composer/toggle-switch.d.ts +2 -2
- package/declarations/app/components/composer/toggle-switch.d.ts.map +1 -1
- package/declarations/app/components/composer/toolbar-buttons.d.ts +2 -0
- package/declarations/app/components/composer/toolbar-buttons.d.ts.map +1 -1
- package/declarations/app/components/composer-action-title.d.ts +0 -8
- package/declarations/app/components/composer-action-title.d.ts.map +1 -1
- package/declarations/app/components/{composer-actions-new.d.ts → composer-actions.d.ts} +1 -1
- package/declarations/app/components/composer-actions.d.ts.map +1 -0
- package/declarations/app/components/composer-body.d.ts +1 -1
- package/declarations/app/components/composer-body.d.ts.map +1 -1
- package/declarations/app/components/composer-container.d.ts +4 -2
- package/declarations/app/components/composer-container.d.ts.map +1 -1
- package/declarations/app/components/composer-editor.d.ts +3 -0
- package/declarations/app/components/composer-editor.d.ts.map +1 -1
- package/declarations/app/components/composer-messages.d.ts.map +1 -1
- package/declarations/app/components/composer-save-button.d.ts +2 -0
- package/declarations/app/components/composer-save-button.d.ts.map +1 -1
- package/declarations/app/components/composer-toggles.d.ts +1 -0
- package/declarations/app/components/composer-toggles.d.ts.map +1 -1
- package/declarations/app/components/create-topic-button.d.ts +5 -0
- package/declarations/app/components/create-topic-button.d.ts.map +1 -1
- package/declarations/app/components/d-navigation.d.ts.map +1 -1
- package/declarations/app/components/design-wizard/colors-section.d.ts +3 -0
- package/declarations/app/components/design-wizard/colors-section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/controls.d.ts +28 -0
- package/declarations/app/components/design-wizard/controls.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/fonts-section.d.ts +9 -0
- package/declarations/app/components/design-wizard/fonts-section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/homepage-section.d.ts +3 -0
- package/declarations/app/components/design-wizard/homepage-section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/intro-section.d.ts +3 -0
- package/declarations/app/components/design-wizard/intro-section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/option-row.d.ts +3 -0
- package/declarations/app/components/design-wizard/option-row.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/search-section.d.ts +3 -0
- package/declarations/app/components/design-wizard/search-section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/section.d.ts +3 -0
- package/declarations/app/components/design-wizard/section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/theme-section.d.ts +3 -0
- package/declarations/app/components/design-wizard/theme-section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/welcome-banner-section.d.ts +3 -0
- package/declarations/app/components/design-wizard/welcome-banner-section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard-panel.d.ts +11 -0
- package/declarations/app/components/design-wizard-panel.d.ts.map +1 -0
- package/declarations/app/components/discovery/topics.d.ts +0 -1
- package/declarations/app/components/discovery/topics.d.ts.map +1 -1
- package/declarations/app/components/docked-composer.d.ts +2 -4
- package/declarations/app/components/docked-composer.d.ts.map +1 -1
- package/declarations/app/components/embed-mode-composer.d.ts.map +1 -1
- package/declarations/app/components/ember-text-field.d.ts.map +1 -1
- package/declarations/app/components/fast-edit.d.ts +3 -1
- package/declarations/app/components/fast-edit.d.ts.map +1 -1
- package/declarations/app/components/form-template-field/composer.d.ts +8 -1
- package/declarations/app/components/form-template-field/composer.d.ts.map +1 -1
- package/declarations/app/components/global-notice.d.ts.map +1 -1
- package/declarations/app/components/group-card-contents.d.ts +2 -0
- package/declarations/app/components/group-card-contents.d.ts.map +1 -1
- package/declarations/app/components/group-flair-inputs.d.ts +0 -1
- package/declarations/app/components/group-flair-inputs.d.ts.map +1 -1
- package/declarations/app/components/header/header-search.d.ts +1 -0
- package/declarations/app/components/header/header-search.d.ts.map +1 -1
- package/declarations/app/components/header/icons.d.ts.map +1 -1
- package/declarations/app/components/header/topic/info.d.ts.map +1 -1
- package/declarations/app/components/invite-panel.d.ts.map +1 -1
- package/declarations/app/components/language-switcher.d.ts.map +1 -1
- package/declarations/app/components/local-login-form.d.ts +1 -0
- package/declarations/app/components/local-login-form.d.ts.map +1 -1
- package/declarations/app/components/modal/avatar-selector.d.ts +1 -1
- package/declarations/app/components/modal/bookmark.d.ts.map +1 -1
- package/declarations/app/components/modal/bulk-topic-actions.d.ts.map +1 -1
- package/declarations/app/components/modal/content-language-preferences.d.ts +30 -0
- package/declarations/app/components/modal/content-language-preferences.d.ts.map +1 -0
- package/declarations/app/components/modal/create-invite-with-roles.d.ts +11 -3
- package/declarations/app/components/modal/create-invite-with-roles.d.ts.map +1 -1
- package/declarations/app/components/modal/create-invite.d.ts.map +1 -1
- package/declarations/app/components/modal/flag.d.ts +2 -2
- package/declarations/app/components/modal/fullscreen-table.d.ts +7 -2
- package/declarations/app/components/modal/fullscreen-table.d.ts.map +1 -1
- package/declarations/app/components/modal/grant-badge.d.ts +1 -0
- package/declarations/app/components/modal/grant-badge.d.ts.map +1 -1
- package/declarations/app/components/modal/history.d.ts +1 -1
- package/declarations/app/components/modal/keyboard-shortcuts-help.d.ts +348 -176
- package/declarations/app/components/modal/keyboard-shortcuts-help.d.ts.map +1 -1
- package/declarations/app/components/modal/nested-activity-log/item.d.ts +2 -1
- package/declarations/app/components/modal/nested-activity-log/item.d.ts.map +1 -1
- package/declarations/app/components/modal/nested-activity-log.d.ts +20 -1
- package/declarations/app/components/modal/nested-activity-log.d.ts.map +1 -1
- package/declarations/app/components/modal/sidebar-section-form.d.ts +53 -19
- package/declarations/app/components/modal/sidebar-section-form.d.ts.map +1 -1
- package/declarations/app/components/more-topics/browse-more.d.ts.map +1 -1
- package/declarations/app/components/nested/post-children.d.ts +3 -0
- package/declarations/app/components/nested/post-children.d.ts.map +1 -1
- package/declarations/app/components/nested.d.ts +1 -0
- package/declarations/app/components/nested.d.ts.map +1 -1
- package/declarations/app/components/no-login-methods.d.ts +6 -0
- package/declarations/app/components/no-login-methods.d.ts.map +1 -0
- package/declarations/app/components/parent-category-row.d.ts +1 -0
- package/declarations/app/components/parent-category-row.d.ts.map +1 -1
- package/declarations/app/components/plugin-outlet.d.ts +11 -1
- package/declarations/app/components/plugin-outlet.d.ts.map +1 -1
- package/declarations/app/components/post/menu/liked-users-list.d.ts +2 -13
- package/declarations/app/components/post/menu/liked-users-list.d.ts.map +1 -1
- package/declarations/app/components/post/menu/liked-users-menu.d.ts.map +1 -1
- package/declarations/app/components/post-stream.d.ts +2 -5
- package/declarations/app/components/post-stream.d.ts.map +1 -1
- package/declarations/app/components/post.d.ts +1 -1
- package/declarations/app/components/post.d.ts.map +1 -1
- package/declarations/app/components/reviewable/index.d.ts +2 -5
- package/declarations/app/components/reviewable/index.d.ts.map +1 -1
- package/declarations/app/components/reviewable/insights.d.ts.map +1 -1
- package/declarations/app/components/reviewable/item.d.ts +10 -12
- package/declarations/app/components/reviewable/item.d.ts.map +1 -1
- package/declarations/app/components/reviewable/timeline.d.ts +1 -7
- package/declarations/app/components/reviewable/timeline.d.ts.map +1 -1
- package/declarations/app/components/reviewable/user.d.ts +3 -0
- package/declarations/app/components/reviewable/user.d.ts.map +1 -1
- package/declarations/app/components/reviewable-bundled-action.d.ts +1 -1
- package/declarations/app/components/reviewable-bundled-action.d.ts.map +1 -1
- package/declarations/app/components/search-menu/results/initial-options.d.ts +1 -0
- package/declarations/app/components/search-menu/results/initial-options.d.ts.map +1 -1
- package/declarations/app/components/search-menu/results/random-quick-tip.d.ts +1 -0
- package/declarations/app/components/search-menu/results/random-quick-tip.d.ts.map +1 -1
- package/declarations/app/components/search-menu/results/recent-searches.d.ts +1 -0
- package/declarations/app/components/search-menu/results/recent-searches.d.ts.map +1 -1
- package/declarations/app/components/search-menu/results.d.ts +1 -0
- package/declarations/app/components/search-menu/results.d.ts.map +1 -1
- package/declarations/app/components/search-menu/search-term.d.ts +1 -0
- package/declarations/app/components/search-menu/search-term.d.ts.map +1 -1
- package/declarations/app/components/search-menu.d.ts +4 -1
- package/declarations/app/components/search-menu.d.ts.map +1 -1
- package/declarations/app/components/setting-definition-field.d.ts.map +1 -1
- package/declarations/app/components/setting-field/category.d.ts +7 -0
- package/declarations/app/components/setting-field/category.d.ts.map +1 -0
- package/declarations/app/components/setting-field/enum.d.ts +5 -0
- package/declarations/app/components/setting-field/enum.d.ts.map +1 -1
- package/declarations/app/components/setting-field/group-list.d.ts.map +1 -1
- package/declarations/app/components/setting-field/group.d.ts +9 -0
- package/declarations/app/components/setting-field/group.d.ts.map +1 -0
- package/declarations/app/components/setting-field/icon.d.ts +3 -0
- package/declarations/app/components/setting-field/icon.d.ts.map +1 -0
- package/declarations/app/components/setting-field/integer.d.ts +1 -0
- package/declarations/app/components/setting-field/integer.d.ts.map +1 -1
- package/declarations/app/components/setting-field/locale-enum.d.ts +5 -0
- package/declarations/app/components/setting-field/locale-enum.d.ts.map +1 -0
- package/declarations/app/components/setting-field/tag-group-list.d.ts +7 -0
- package/declarations/app/components/setting-field/tag-group-list.d.ts.map +1 -0
- package/declarations/app/components/setting-field/tag-list.d.ts +7 -0
- package/declarations/app/components/setting-field/tag-list.d.ts.map +1 -0
- package/declarations/app/components/sidebar/anonymous/categories-section.d.ts +2 -0
- package/declarations/app/components/sidebar/anonymous/categories-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/anonymous/sections.d.ts +2 -0
- package/declarations/app/components/sidebar/anonymous/sections.d.ts.map +1 -1
- package/declarations/app/components/sidebar/anonymous/tags-section.d.ts +2 -0
- package/declarations/app/components/sidebar/anonymous/tags-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/api-section.d.ts +6 -2
- package/declarations/app/components/sidebar/api-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/api-sections.d.ts.map +1 -1
- package/declarations/app/components/sidebar/common/all-categories-section-link.d.ts +6 -2
- package/declarations/app/components/sidebar/common/all-categories-section-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/common/all-tags-section-link.d.ts +6 -2
- package/declarations/app/components/sidebar/common/all-tags-section-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/common/custom-section.d.ts +8 -0
- package/declarations/app/components/sidebar/common/custom-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/common/custom-sections.d.ts.map +1 -1
- package/declarations/app/components/sidebar/more-section-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/more-section-links.d.ts +2 -0
- package/declarations/app/components/sidebar/more-section-links.d.ts.map +1 -1
- package/declarations/app/components/sidebar/more-section-trigger.d.ts.map +1 -1
- package/declarations/app/components/sidebar/search.d.ts +0 -1
- package/declarations/app/components/sidebar/search.d.ts.map +1 -1
- package/declarations/app/components/sidebar/section-form-link.d.ts +0 -2
- package/declarations/app/components/sidebar/section-form-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/section-link.d.ts +3 -1
- package/declarations/app/components/sidebar/section-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/section.d.ts +60 -1
- package/declarations/app/components/sidebar/section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/sections.d.ts.map +1 -1
- package/declarations/app/components/sidebar/user/categories-section.d.ts +2 -0
- package/declarations/app/components/sidebar/user/categories-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/user/sections.d.ts +42 -0
- package/declarations/app/components/sidebar/user/sections.d.ts.map +1 -1
- package/declarations/app/components/sidebar/user/tags-section.d.ts +2 -0
- package/declarations/app/components/sidebar/user/tags-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar.d.ts +12 -0
- package/declarations/app/components/sidebar.d.ts.map +1 -1
- package/declarations/app/components/subcategories-with-featured-topics.d.ts +1 -0
- package/declarations/app/components/subcategories-with-featured-topics.d.ts.map +1 -1
- package/declarations/app/components/tag-info.d.ts.map +1 -1
- package/declarations/app/components/tag-settings.d.ts.map +1 -1
- package/declarations/app/components/toolbar-popup-menu-options.d.ts.map +1 -1
- package/declarations/app/components/topic-bookmarks-menu.d.ts +1 -1
- package/declarations/app/components/topic-category.d.ts.map +1 -1
- package/declarations/app/components/topic-content-language-preferences.d.ts +7 -0
- package/declarations/app/components/topic-content-language-preferences.d.ts.map +1 -0
- package/declarations/app/components/topic-dismiss-buttons.d.ts.map +1 -1
- package/declarations/app/components/topic-drafts-dropdown.d.ts +1 -1
- package/declarations/app/components/topic-drafts-dropdown.d.ts.map +1 -1
- package/declarations/app/components/topic-footer-buttons.d.ts +0 -2
- package/declarations/app/components/topic-footer-buttons.d.ts.map +1 -1
- package/declarations/app/components/topic-list/header/sortable-column.d.ts +1 -0
- package/declarations/app/components/topic-list/header/sortable-column.d.ts.map +1 -1
- package/declarations/app/components/topic-map/private-message-map.d.ts +1 -1
- package/declarations/app/components/topic-navigation.d.ts.map +1 -1
- package/declarations/app/components/topic-post-badges.d.ts.map +1 -1
- package/declarations/app/components/topic-timeline/container.d.ts.map +1 -1
- package/declarations/app/components/topic-timeline/scroller.d.ts.map +1 -1
- package/declarations/app/components/user/users-popup.d.ts +7 -0
- package/declarations/app/components/user/users-popup.d.ts.map +1 -1
- package/declarations/app/components/user-menu/bookmarks-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/items-list.d.ts +1 -1
- package/declarations/app/components/user-menu/items-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/likes-notifications-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/messages-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/notifications-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/other-notifications-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/replies-notifications-list.d.ts.map +1 -1
- package/declarations/app/components/welcome-banner.d.ts +1 -0
- package/declarations/app/components/welcome-banner.d.ts.map +1 -1
- package/declarations/app/controllers/exception.d.ts +5 -6
- package/declarations/app/controllers/exception.d.ts.map +1 -1
- package/declarations/app/controllers/full-page-search.d.ts +8 -2
- package/declarations/app/controllers/full-page-search.d.ts.map +1 -1
- package/declarations/app/controllers/login.d.ts +0 -1
- package/declarations/app/controllers/login.d.ts.map +1 -1
- package/declarations/app/controllers/nested.d.ts.map +1 -1
- package/declarations/app/controllers/preferences/interface.d.ts +7 -0
- package/declarations/app/controllers/preferences/interface.d.ts.map +1 -1
- package/declarations/app/controllers/preferences/tracking.d.ts.map +1 -1
- package/declarations/app/controllers/signup.d.ts +1 -0
- package/declarations/app/controllers/signup.d.ts.map +1 -1
- package/declarations/app/controllers/topic.d.ts.map +1 -1
- package/declarations/app/controllers/user-activity/bookmarks.d.ts +1 -1
- package/declarations/app/controllers/user-activity/bookmarks.d.ts.map +1 -1
- package/declarations/app/controllers/user-topics-list.d.ts +0 -1
- package/declarations/app/controllers/user-topics-list.d.ts.map +1 -1
- package/declarations/app/data/builders/badges.d.ts +35 -0
- package/declarations/app/data/builders/badges.d.ts.map +1 -0
- package/declarations/app/data/builders/bookmarks.d.ts +24 -0
- package/declarations/app/data/builders/bookmarks.d.ts.map +1 -0
- package/declarations/app/data/builders/helpers.d.ts +48 -0
- package/declarations/app/data/builders/helpers.d.ts.map +1 -0
- package/declarations/app/data/builders/topic-details.d.ts +28 -0
- package/declarations/app/data/builders/topic-details.d.ts.map +1 -0
- package/declarations/app/data/builders/user-badges.d.ts +39 -0
- package/declarations/app/data/builders/user-badges.d.ts.map +1 -0
- package/declarations/app/data/extra-attributes.d.ts +5 -0
- package/declarations/app/data/extra-attributes.d.ts.map +1 -0
- package/declarations/app/data/handlers/discourse-rest.d.ts +5 -0
- package/declarations/app/data/handlers/discourse-rest.d.ts.map +1 -0
- package/declarations/app/data/jsonapi-utils.d.ts +8 -0
- package/declarations/app/data/jsonapi-utils.d.ts.map +1 -0
- package/declarations/app/data/normalize.d.ts +30 -0
- package/declarations/app/data/normalize.d.ts.map +1 -0
- package/declarations/app/data/rest-compat.d.ts +28 -0
- package/declarations/app/data/rest-compat.d.ts.map +1 -0
- package/declarations/app/data/schemas/archetype.d.ts +3 -0
- package/declarations/app/data/schemas/archetype.d.ts.map +1 -0
- package/declarations/app/data/schemas/badge-grouping.d.ts +3 -0
- package/declarations/app/data/schemas/badge-grouping.d.ts.map +1 -0
- package/declarations/app/data/schemas/badge-type.d.ts +3 -0
- package/declarations/app/data/schemas/badge-type.d.ts.map +1 -0
- package/declarations/app/data/schemas/badge.d.ts +3 -0
- package/declarations/app/data/schemas/badge.d.ts.map +1 -0
- package/declarations/app/data/schemas/bookmark.d.ts +3 -0
- package/declarations/app/data/schemas/bookmark.d.ts.map +1 -0
- package/declarations/app/data/schemas/helpers.d.ts +15 -0
- package/declarations/app/data/schemas/helpers.d.ts.map +1 -0
- package/declarations/app/data/schemas/index.d.ts +3 -0
- package/declarations/app/data/schemas/index.d.ts.map +1 -0
- package/declarations/app/data/schemas/tag-group.d.ts +3 -0
- package/declarations/app/data/schemas/tag-group.d.ts.map +1 -0
- package/declarations/app/data/schemas/tag-info.d.ts +3 -0
- package/declarations/app/data/schemas/tag-info.d.ts.map +1 -0
- package/declarations/app/data/schemas/tag-notification.d.ts +3 -0
- package/declarations/app/data/schemas/tag-notification.d.ts.map +1 -0
- package/declarations/app/data/schemas/tag-settings.d.ts +3 -0
- package/declarations/app/data/schemas/tag-settings.d.ts.map +1 -0
- package/declarations/app/data/schemas/tag.d.ts +3 -0
- package/declarations/app/data/schemas/tag.d.ts.map +1 -0
- package/declarations/app/data/schemas/topic-details.d.ts +3 -0
- package/declarations/app/data/schemas/topic-details.d.ts.map +1 -0
- package/declarations/app/data/schemas/user-badge.d.ts +3 -0
- package/declarations/app/data/schemas/user-badge.d.ts.map +1 -0
- package/declarations/app/data/warp-rest-model.d.ts +23 -0
- package/declarations/app/data/warp-rest-model.d.ts.map +1 -0
- package/declarations/app/deprecation-workflow.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/checkbox.d.ts +0 -1
- package/declarations/app/form-kit/components/fk/control/checkbox.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/icon.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/input.d.ts +2 -0
- package/declarations/app/form-kit/components/fk/control/input.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/password.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/select.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/tag-chooser.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/field-data.d.ts +15 -4
- package/declarations/app/form-kit/components/fk/field-data.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/form.d.ts.map +1 -1
- package/declarations/app/form-kit/lib/constants.d.ts +0 -1
- package/declarations/app/form-kit/lib/constants.d.ts.map +1 -1
- package/declarations/app/form-kit/lib/validator.d.ts.map +1 -1
- package/declarations/app/helpers/category-list-subcategories.d.ts +30 -0
- package/declarations/app/helpers/category-list-subcategories.d.ts.map +1 -0
- package/declarations/app/initializers/dev-tools.d.ts +10 -3
- package/declarations/app/initializers/dev-tools.d.ts.map +1 -1
- package/declarations/app/initializers/freeze-block-registry.d.ts +21 -6
- package/declarations/app/initializers/freeze-block-registry.d.ts.map +1 -1
- package/declarations/app/instance-initializers/design-wizard.d.ts +5 -0
- package/declarations/app/instance-initializers/design-wizard.d.ts.map +1 -0
- package/declarations/app/instance-initializers/signup-cta.d.ts.map +1 -1
- package/declarations/app/instance-initializers/topic-footer-buttons.d.ts.map +1 -1
- package/declarations/app/instance-initializers/verify-session-after-restore.d.ts +7 -0
- package/declarations/app/instance-initializers/verify-session-after-restore.d.ts.map +1 -0
- package/declarations/app/instance-initializers/video-placeholder.d.ts.map +1 -1
- package/declarations/app/lib/-internals/drag-and-drop/consumer-may-throw.d.ts +17 -0
- package/declarations/app/lib/-internals/drag-and-drop/consumer-may-throw.d.ts.map +1 -0
- package/declarations/app/lib/-internals/drag-and-drop/drag-dwell.d.ts +64 -0
- package/declarations/app/lib/-internals/drag-and-drop/drag-dwell.d.ts.map +1 -0
- package/declarations/app/lib/-internals/drag-and-drop/drop-target-kernel.d.ts +145 -0
- package/declarations/app/lib/-internals/drag-and-drop/drop-target-kernel.d.ts.map +1 -0
- package/declarations/app/lib/-internals/drag-and-drop/external-vocabulary.d.ts +63 -0
- package/declarations/app/lib/-internals/drag-and-drop/external-vocabulary.d.ts.map +1 -0
- package/declarations/app/lib/-internals/drag-and-drop/native-drag-adoption.d.ts +60 -0
- package/declarations/app/lib/-internals/drag-and-drop/native-drag-adoption.d.ts.map +1 -0
- package/declarations/app/lib/-internals/drag-and-drop/vocabulary.d.ts +81 -0
- package/declarations/app/lib/-internals/drag-and-drop/vocabulary.d.ts.map +1 -0
- package/declarations/app/lib/ajax-error.d.ts +1 -0
- package/declarations/app/lib/ajax-error.d.ts.map +1 -1
- package/declarations/app/lib/api.d.ts +1 -0
- package/declarations/app/lib/api.d.ts.map +1 -1
- package/declarations/app/lib/beacon-pageview.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/components/block-layout-wrapper.d.ts +14 -78
- package/declarations/app/lib/blocks/-internals/components/block-layout-wrapper.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/components/block-outlet-inline-error.d.ts +10 -7
- package/declarations/app/lib/blocks/-internals/components/block-outlet-inline-error.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/components/block-outlet-root-container.d.ts +21 -12
- package/declarations/app/lib/blocks/-internals/components/block-outlet-root-container.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/css.d.ts +21 -24
- package/declarations/app/lib/blocks/-internals/css.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/debug-hooks.d.ts +193 -138
- package/declarations/app/lib/blocks/-internals/debug-hooks.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/decorator.d.ts +43 -216
- package/declarations/app/lib/blocks/-internals/decorator.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/entry-processing.d.ts +61 -129
- package/declarations/app/lib/blocks/-internals/entry-processing.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/error.d.ts +61 -69
- package/declarations/app/lib/blocks/-internals/error.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/matching/condition-evaluator.d.ts +18 -12
- package/declarations/app/lib/blocks/-internals/matching/condition-evaluator.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/matching/outlet-matcher.d.ts +64 -37
- package/declarations/app/lib/blocks/-internals/matching/outlet-matcher.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/matching/page-definitions.d.ts +105 -106
- package/declarations/app/lib/blocks/-internals/matching/page-definitions.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/matching/url-matcher.d.ts +19 -11
- package/declarations/app/lib/blocks/-internals/matching/url-matcher.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/matching/value-matcher.d.ts +42 -34
- package/declarations/app/lib/blocks/-internals/matching/value-matcher.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/patterns.d.ts +85 -83
- package/declarations/app/lib/blocks/-internals/patterns.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/registry/block.d.ts +47 -85
- package/declarations/app/lib/blocks/-internals/registry/block.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/registry/condition.d.ts +26 -26
- package/declarations/app/lib/blocks/-internals/registry/condition.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/registry/helpers.d.ts +54 -47
- package/declarations/app/lib/blocks/-internals/registry/helpers.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/registry/outlet.d.ts +30 -25
- package/declarations/app/lib/blocks/-internals/registry/outlet.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/types.d.ts +58 -0
- package/declarations/app/lib/blocks/-internals/types.d.ts.map +1 -0
- package/declarations/app/lib/blocks/-internals/utils.d.ts +59 -86
- package/declarations/app/lib/blocks/-internals/utils.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/args.d.ts +178 -224
- package/declarations/app/lib/blocks/-internals/validation/args.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/block-args.d.ts +32 -23
- package/declarations/app/lib/blocks/-internals/validation/block-args.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/block-decorator.d.ts +23 -17
- package/declarations/app/lib/blocks/-internals/validation/block-decorator.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/condition-args.d.ts +26 -16
- package/declarations/app/lib/blocks/-internals/validation/condition-args.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/conditions.d.ts +23 -18
- package/declarations/app/lib/blocks/-internals/validation/conditions.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/constraints.d.ts +31 -17
- package/declarations/app/lib/blocks/-internals/validation/constraints.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/layout.d.ts +77 -85
- package/declarations/app/lib/blocks/-internals/validation/layout.d.ts.map +1 -1
- package/declarations/app/lib/blocks/index.d.ts +127 -2
- package/declarations/app/lib/blocks/index.d.ts.map +1 -1
- package/declarations/app/lib/codeblock-buttons.d.ts.map +1 -1
- package/declarations/app/lib/composer/actions-registry.d.ts +4 -0
- package/declarations/app/lib/composer/actions-registry.d.ts.map +1 -0
- package/declarations/app/lib/composer/composer-position.d.ts.map +1 -1
- package/declarations/app/lib/composer/preview-block.d.ts +23 -0
- package/declarations/app/lib/composer/preview-block.d.ts.map +1 -0
- package/declarations/app/lib/composer/rich-editor-extensions.d.ts +210 -139
- package/declarations/app/lib/composer/rich-editor-extensions.d.ts.map +1 -1
- package/declarations/app/lib/composer/text-manipulation.d.ts +172 -251
- package/declarations/app/lib/composer/text-manipulation.d.ts.map +1 -1
- package/declarations/app/lib/composer/toolbar.d.ts +162 -81
- package/declarations/app/lib/composer/toolbar.d.ts.map +1 -1
- package/declarations/app/lib/constants.d.ts +2 -0
- package/declarations/app/lib/constants.d.ts.map +1 -1
- package/declarations/app/lib/content-localization.d.ts +18 -0
- package/declarations/app/lib/content-localization.d.ts.map +1 -0
- package/declarations/app/lib/customization-source.d.ts +26 -0
- package/declarations/app/lib/customization-source.d.ts.map +1 -0
- package/declarations/app/lib/dag.d.ts +73 -79
- package/declarations/app/lib/dag.d.ts.map +1 -1
- package/declarations/app/lib/deprecated.d.ts +21 -3
- package/declarations/app/lib/deprecated.d.ts.map +1 -1
- package/declarations/app/lib/design-wizard-preview.d.ts +52 -0
- package/declarations/app/lib/design-wizard-preview.d.ts.map +1 -0
- package/declarations/app/lib/download-blob.d.ts +3 -0
- package/declarations/app/lib/download-blob.d.ts.map +1 -0
- package/declarations/app/lib/download-strategy.d.ts +2 -0
- package/declarations/app/lib/download-strategy.d.ts.map +1 -0
- package/declarations/app/lib/element-class-lease.d.ts +37 -0
- package/declarations/app/lib/element-class-lease.d.ts.map +1 -0
- package/declarations/app/lib/filter-mode.d.ts +9 -0
- package/declarations/app/lib/filter-mode.d.ts.map +1 -1
- package/declarations/app/lib/formatter.d.ts +3 -1
- package/declarations/app/lib/formatter.d.ts.map +1 -1
- package/declarations/app/lib/geometry.d.ts +11 -0
- package/declarations/app/lib/geometry.d.ts.map +1 -0
- package/declarations/app/lib/grant-badge-utils.d.ts +1 -0
- package/declarations/app/lib/grant-badge-utils.d.ts.map +1 -1
- package/declarations/app/lib/helpers.d.ts +43 -9
- package/declarations/app/lib/helpers.d.ts.map +1 -1
- package/declarations/app/lib/highlight-syntax.d.ts.map +1 -1
- package/declarations/app/lib/homepage-router-overrides.d.ts +4 -0
- package/declarations/app/lib/homepage-router-overrides.d.ts.map +1 -1
- package/declarations/app/lib/icon-library.d.ts +7 -3
- package/declarations/app/lib/icon-library.d.ts.map +1 -1
- package/declarations/app/lib/later.d.ts +3 -1
- package/declarations/app/lib/later.d.ts.map +1 -1
- package/declarations/app/lib/load-accessible-name.d.ts +16 -0
- package/declarations/app/lib/load-accessible-name.d.ts.map +1 -0
- package/declarations/app/lib/locale-normalizer.d.ts +11 -0
- package/declarations/app/lib/locale-normalizer.d.ts.map +1 -0
- package/declarations/app/lib/model-extensions.d.ts +1 -1
- package/declarations/app/lib/model-extensions.d.ts.map +1 -1
- package/declarations/app/lib/optimistic-post-updates.d.ts +6 -0
- package/declarations/app/lib/optimistic-post-updates.d.ts.map +1 -0
- package/declarations/app/lib/plugin-api.d.ts +62 -6
- package/declarations/app/lib/plugin-api.d.ts.map +1 -1
- package/declarations/app/lib/popular-themes.d.ts.map +1 -1
- package/declarations/app/lib/registry/block-outlets.d.ts +2 -2
- package/declarations/app/lib/registry/block-outlets.d.ts.map +1 -1
- package/declarations/app/lib/registry/transformers.d.ts.map +1 -1
- package/declarations/app/lib/report-client-error.d.ts +10 -0
- package/declarations/app/lib/report-client-error.d.ts.map +1 -0
- package/declarations/app/lib/resize-measurements.d.ts +43 -0
- package/declarations/app/lib/resize-measurements.d.ts.map +1 -0
- package/declarations/app/lib/reviewable-registry.d.ts +12 -0
- package/declarations/app/lib/reviewable-registry.d.ts.map +1 -0
- package/declarations/app/lib/search.d.ts +1 -0
- package/declarations/app/lib/search.d.ts.map +1 -1
- package/declarations/app/lib/setting-field-registry.d.ts.map +1 -1
- package/declarations/app/lib/shortcut-format.d.ts +57 -0
- package/declarations/app/lib/shortcut-format.d.ts.map +1 -0
- package/declarations/app/lib/sidebar/active-link.d.ts +25 -0
- package/declarations/app/lib/sidebar/active-link.d.ts.map +1 -0
- package/declarations/app/lib/sidebar/admin-nav-map.d.ts +11 -0
- package/declarations/app/lib/sidebar/admin-nav-map.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/admin-sidebar.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/base-custom-sidebar-section.d.ts +50 -0
- package/declarations/app/lib/sidebar/base-custom-sidebar-section.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/custom-sections.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/helpers.d.ts +8 -0
- package/declarations/app/lib/sidebar/helpers.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/link-drop.d.ts +49 -0
- package/declarations/app/lib/sidebar/link-drop.d.ts.map +1 -0
- package/declarations/app/lib/sidebar/section-link.d.ts +0 -1
- package/declarations/app/lib/sidebar/section-link.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/section.d.ts +23 -6
- package/declarations/app/lib/sidebar/section.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/user/community-section/my-posts-section-link.d.ts +1 -1
- package/declarations/app/lib/sidebar/user/tags-section/tag-section-link.d.ts +1 -1
- package/declarations/app/lib/svg-sprite-loader.d.ts +31 -0
- package/declarations/app/lib/svg-sprite-loader.d.ts.map +1 -1
- package/declarations/app/lib/text.d.ts +1 -0
- package/declarations/app/lib/text.d.ts.map +1 -1
- package/declarations/app/lib/textarea-text-manipulation.d.ts +67 -81
- package/declarations/app/lib/textarea-text-manipulation.d.ts.map +1 -1
- package/declarations/app/lib/url.d.ts +0 -1
- package/declarations/app/lib/url.d.ts.map +1 -1
- package/declarations/app/lib/user-search.d.ts.map +1 -1
- package/declarations/app/lib/utilities.d.ts +7 -0
- package/declarations/app/lib/utilities.d.ts.map +1 -1
- package/declarations/app/models/archetype.d.ts +3 -2
- package/declarations/app/models/archetype.d.ts.map +1 -1
- package/declarations/app/models/badge-grouping.d.ts +1 -0
- package/declarations/app/models/badge-grouping.d.ts.map +1 -1
- package/declarations/app/models/badge.d.ts +16 -10
- package/declarations/app/models/badge.d.ts.map +1 -1
- package/declarations/app/models/bookmark.d.ts +12 -6
- package/declarations/app/models/bookmark.d.ts.map +1 -1
- package/declarations/app/models/category.d.ts.map +1 -1
- package/declarations/app/models/composer.d.ts.map +1 -1
- package/declarations/app/models/post-stream.d.ts +14 -1
- package/declarations/app/models/post-stream.d.ts.map +1 -1
- package/declarations/app/models/post.d.ts +1 -0
- package/declarations/app/models/post.d.ts.map +1 -1
- package/declarations/app/models/reviewable-history.d.ts +2 -4
- package/declarations/app/models/reviewable-history.d.ts.map +1 -1
- package/declarations/app/models/reviewable.d.ts +40 -0
- package/declarations/app/models/reviewable.d.ts.map +1 -1
- package/declarations/app/models/site.d.ts +2 -0
- package/declarations/app/models/site.d.ts.map +1 -1
- package/declarations/app/models/tag-group.d.ts +4 -3
- package/declarations/app/models/tag-group.d.ts.map +1 -1
- package/declarations/app/models/tag-info.d.ts +3 -13
- package/declarations/app/models/tag-info.d.ts.map +1 -1
- package/declarations/app/models/tag-notification.d.ts +3 -2
- package/declarations/app/models/tag-notification.d.ts.map +1 -1
- package/declarations/app/models/tag-settings.d.ts +3 -2
- package/declarations/app/models/tag-settings.d.ts.map +1 -1
- package/declarations/app/models/tag.d.ts +3 -3
- package/declarations/app/models/tag.d.ts.map +1 -1
- package/declarations/app/models/topic-details.d.ts +13 -17
- package/declarations/app/models/topic-details.d.ts.map +1 -1
- package/declarations/app/models/topic-tracking-state.d.ts.map +1 -1
- package/declarations/app/models/user-badge.d.ts +15 -32
- package/declarations/app/models/user-badge.d.ts.map +1 -1
- package/declarations/app/models/user.d.ts +4 -4
- package/declarations/app/models/user.d.ts.map +1 -1
- package/declarations/app/resolver.d.ts +1 -1
- package/declarations/app/routes/application.d.ts +1 -0
- package/declarations/app/routes/application.d.ts.map +1 -1
- package/declarations/app/routes/build-category-route.d.ts.map +1 -1
- package/declarations/app/routes/build-group-messages-route.d.ts.map +1 -1
- package/declarations/app/routes/build-private-messages-route.d.ts.map +1 -1
- package/declarations/app/routes/discovery/index.d.ts.map +1 -1
- package/declarations/app/routes/login.d.ts.map +1 -1
- package/declarations/app/routes/signup.d.ts.map +1 -1
- package/declarations/app/routes/topic/from-params.d.ts.map +1 -1
- package/declarations/app/routes/user/badges.d.ts +1 -1
- package/declarations/app/routes/user/badges.d.ts.map +1 -1
- package/declarations/app/routes/user-activity-stream.d.ts +3 -3
- package/declarations/app/routes/user-activity-stream.d.ts.map +1 -1
- package/declarations/app/routes/wizard.d.ts +1 -0
- package/declarations/app/routes/wizard.d.ts.map +1 -1
- package/declarations/app/services/a11y.d.ts.map +1 -1
- package/declarations/app/services/blocks.d.ts +41 -49
- package/declarations/app/services/blocks.d.ts.map +1 -1
- package/declarations/app/services/bookmark-api.d.ts +1 -1
- package/declarations/app/services/bookmark-api.d.ts.map +1 -1
- package/declarations/app/services/capabilities.d.ts +22 -0
- package/declarations/app/services/capabilities.d.ts.map +1 -1
- package/declarations/app/services/composer.d.ts +6 -3
- package/declarations/app/services/composer.d.ts.map +1 -1
- package/declarations/app/services/deprecation-warning-handler.d.ts.map +1 -1
- package/declarations/app/services/design-wizard.d.ts +69 -0
- package/declarations/app/services/design-wizard.d.ts.map +1 -0
- package/declarations/app/services/discovery.d.ts +9 -0
- package/declarations/app/services/discovery.d.ts.map +1 -1
- package/declarations/app/services/drag-and-drop.d.ts +52 -0
- package/declarations/app/services/drag-and-drop.d.ts.map +1 -0
- package/declarations/app/services/exception.d.ts +15 -0
- package/declarations/app/services/exception.d.ts.map +1 -0
- package/declarations/app/services/human-activity-tracker.d.ts +1 -1
- package/declarations/app/services/human-activity-tracker.d.ts.map +1 -1
- package/declarations/app/services/keyboard-shortcuts.d.ts +12 -4
- package/declarations/app/services/keyboard-shortcuts.d.ts.map +1 -1
- package/declarations/app/services/loading-slider.d.ts +3 -1
- package/declarations/app/services/loading-slider.d.ts.map +1 -1
- package/declarations/app/services/login.d.ts +3 -0
- package/declarations/app/services/login.d.ts.map +1 -1
- package/declarations/app/services/presence.d.ts +1 -1
- package/declarations/app/services/presence.d.ts.map +1 -1
- package/declarations/app/services/search.d.ts.map +1 -1
- package/declarations/app/services/warp-store.d.ts +11 -0
- package/declarations/app/services/warp-store.d.ts.map +1 -0
- package/declarations/app/static/dev-tools/block-debug/block-info.d.ts +30 -18
- package/declarations/app/static/dev-tools/block-debug/block-info.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/button.d.ts +7 -8
- package/declarations/app/static/dev-tools/block-debug/button.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/conditions-tree.d.ts +31 -9
- package/declarations/app/static/dev-tools/block-debug/conditions-tree.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/debug-logger.d.ts +86 -76
- package/declarations/app/static/dev-tools/block-debug/debug-logger.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/ghost-block.d.ts +35 -84
- package/declarations/app/static/dev-tools/block-debug/ghost-block.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/outlet-info.d.ts +21 -50
- package/declarations/app/static/dev-tools/block-debug/outlet-info.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/patch.d.ts +1 -1
- package/declarations/app/static/dev-tools/block-debug/patch.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/entrypoint.d.ts +2 -1
- package/declarations/app/static/dev-tools/entrypoint.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/styleguide/button.d.ts +5 -0
- package/declarations/app/static/dev-tools/styleguide/button.d.ts.map +1 -0
- package/declarations/app/static/dev-tools/toolbar.d.ts +11 -7
- package/declarations/app/static/dev-tools/toolbar.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/tools.d.ts +15 -0
- package/declarations/app/static/dev-tools/tools.d.ts.map +1 -0
- package/declarations/app/static/prosemirror/components/prosemirror-editor.d.ts +107 -128
- package/declarations/app/static/prosemirror/components/prosemirror-editor.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/core/keymap.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/core/plugin.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/code-block.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/code.d.ts +2 -2
- package/declarations/app/static/prosemirror/extensions/code.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/hard-break.d.ts +2 -2
- package/declarations/app/static/prosemirror/extensions/hard-break.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/html-inline.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/link.d.ts +2 -2
- package/declarations/app/static/prosemirror/extensions/link.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/mention.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/onebox.d.ts +1 -1
- package/declarations/app/static/prosemirror/extensions/override-drag-ghost.d.ts +4 -6
- package/declarations/app/static/prosemirror/extensions/override-drag-ghost.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/placeholder.d.ts +3 -4
- package/declarations/app/static/prosemirror/extensions/placeholder.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/preview-source.d.ts +10 -0
- package/declarations/app/static/prosemirror/extensions/preview-source.d.ts.map +1 -0
- package/declarations/app/static/prosemirror/extensions/preview-toolbar.d.ts +21 -0
- package/declarations/app/static/prosemirror/extensions/preview-toolbar.d.ts.map +1 -0
- package/declarations/app/static/prosemirror/extensions/quote.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/register-default.d.ts +3 -4
- package/declarations/app/static/prosemirror/extensions/register-default.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/strikethrough.d.ts +2 -2
- package/declarations/app/static/prosemirror/extensions/strikethrough.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/strong.d.ts +4 -0
- package/declarations/app/static/prosemirror/extensions/strong.d.ts.map +1 -0
- package/declarations/app/static/prosemirror/extensions/table.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/trailing-inline-space.d.ts +2 -2
- package/declarations/app/static/prosemirror/extensions/trailing-inline-space.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/trailing-paragraph.d.ts +2 -2
- package/declarations/app/static/prosemirror/extensions/trailing-paragraph.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/underline.d.ts +2 -2
- package/declarations/app/static/prosemirror/extensions/underline.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/word-paste.d.ts +0 -1
- package/declarations/app/static/prosemirror/extensions/word-paste.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/lib/glimmer-node-view.d.ts +4 -1
- package/declarations/app/static/prosemirror/lib/glimmer-node-view.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/lib/text-manipulation.d.ts +48 -59
- package/declarations/app/static/prosemirror/lib/text-manipulation.d.ts.map +1 -1
- package/declarations/app/templates/review/show.d.ts +2 -5
- package/declarations/app/templates/review/show.d.ts.map +1 -1
- package/declarations/app/ui-kit/-internals/windowing/virtualizer.d.ts +149 -0
- package/declarations/app/ui-kit/-internals/windowing/virtualizer.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-access-control-field.d.ts +11 -0
- package/declarations/app/ui-kit/d-access-control-field.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-access-control.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-async-content.d.ts +10 -0
- package/declarations/app/ui-kit/d-async-content.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-button.d.ts +2 -2
- package/declarations/app/ui-kit/d-button.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-calendar-date-time-input.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-combo-button.d.ts +74 -2
- package/declarations/app/ui-kit/d-combo-button.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-copy-button.d.ts +17 -8
- package/declarations/app/ui-kit/d-copy-button.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-date-input.d.ts +1 -1
- package/declarations/app/ui-kit/d-date-picker.d.ts +1 -1
- package/declarations/app/ui-kit/d-editor.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-filter-controls.d.ts +18 -1
- package/declarations/app/ui-kit/d-filter-controls.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-filter-input.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-icon-grid-picker/content.d.ts +62 -17
- package/declarations/app/ui-kit/d-icon-grid-picker/content.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-icon-grid-picker/index.d.ts +6 -8
- package/declarations/app/ui-kit/d-icon-grid-picker/index.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-load-more.d.ts +78 -19
- package/declarations/app/ui-kit/d-load-more.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-modal.d.ts.map +1 -1
- package/declarations/app/ui-kit/{d-select.d.ts → d-native-select.d.ts} +5 -4
- package/declarations/app/ui-kit/d-native-select.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-resize-handles.d.ts +243 -0
- package/declarations/app/ui-kit/d-resize-handles.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-resize-separator.d.ts +222 -0
- package/declarations/app/ui-kit/d-resize-separator.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-shortcut.d.ts +99 -0
- package/declarations/app/ui-kit/d-shortcut.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-skeleton.d.ts +99 -0
- package/declarations/app/ui-kit/d-skeleton.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-text-field.d.ts +7 -2
- package/declarations/app/ui-kit/d-text-field.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-virtual-list.d.ts +490 -0
- package/declarations/app/ui-kit/d-virtual-list.d.ts.map +1 -0
- package/declarations/app/ui-kit/helpers/d-category-link.d.ts.map +1 -1
- package/declarations/app/ui-kit/helpers/d-element.d.ts.map +1 -1
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-auto-scroll.d.ts +108 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-auto-scroll.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-external-target.d.ts +80 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-external-target.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-monitor.d.ts +80 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-monitor.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-source.d.ts +249 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-source.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-target.d.ts +102 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-target.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-drag-dwell.d.ts +215 -0
- package/declarations/app/ui-kit/modifiers/d-drag-dwell.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-draggable.d.ts +15 -0
- package/declarations/app/ui-kit/modifiers/d-draggable.d.ts.map +1 -1
- package/declarations/app/ui-kit/modifiers/d-on-resize.d.ts +3 -0
- package/declarations/app/ui-kit/modifiers/d-on-resize.d.ts.map +1 -1
- package/declarations/app/ui-kit/modifiers/d-pointer-drag.d.ts +215 -0
- package/declarations/app/ui-kit/modifiers/d-pointer-drag.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-resize-edge.d.ts +170 -0
- package/declarations/app/ui-kit/modifiers/d-resize-edge.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/api-navigation.d.ts +25 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/api-navigation.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/api.d.ts +13 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/api.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/config.d.ts +34 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/config.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/diagnostics.d.ts +16 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/diagnostics.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/entry-policy.d.ts +15 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/entry-policy.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/item-scope.d.ts +29 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/item-scope.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/keyboard.d.ts +25 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/keyboard.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/navigation.d.ts +52 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/navigation.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/strategies/active-descendant.d.ts +42 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/strategies/active-descendant.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/strategies/roving-tabindex.d.ts +34 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/strategies/roving-tabindex.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/type-ahead.d.ts +26 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/type-ahead.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/types.d.ts +400 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus/types.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus.d.ts +105 -0
- package/declarations/app/ui-kit/modifiers/d-roving-focus.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-swipe.d.ts +8 -0
- package/declarations/app/ui-kit/modifiers/d-swipe.d.ts.map +1 -1
- package/declarations/app/ui-kit/modifiers/d-virtualizer.d.ts +131 -0
- package/declarations/app/ui-kit/modifiers/d-virtualizer.d.ts.map +1 -0
- package/declarations/float-kit/components/d-float-body.d.ts +39 -0
- package/declarations/float-kit/components/d-float-body.d.ts.map +1 -1
- package/declarations/float-kit/components/d-headless-menu.d.ts.map +1 -1
- package/declarations/float-kit/components/d-inline-float.d.ts +8 -6
- package/declarations/float-kit/components/d-inline-float.d.ts.map +1 -1
- package/declarations/float-kit/components/d-menu.d.ts +38 -7
- package/declarations/float-kit/components/d-menu.d.ts.map +1 -1
- package/declarations/float-kit/components/d-tooltip.d.ts +2 -0
- package/declarations/float-kit/components/d-tooltip.d.ts.map +1 -1
- package/declarations/float-kit/lib/constants.d.ts +71 -5
- package/declarations/float-kit/lib/constants.d.ts.map +1 -1
- package/declarations/float-kit/lib/d-menu-instance.d.ts +11 -10
- package/declarations/float-kit/lib/d-menu-instance.d.ts.map +1 -1
- package/declarations/float-kit/lib/d-tooltip-instance.d.ts.map +1 -1
- package/declarations/float-kit/lib/float-kit-instance.d.ts +50 -4
- package/declarations/float-kit/lib/float-kit-instance.d.ts.map +1 -1
- package/declarations/float-kit/lib/tab-order.d.ts +36 -0
- package/declarations/float-kit/lib/tab-order.d.ts.map +1 -0
- package/declarations/float-kit/lib/update-position.d.ts +11 -0
- package/declarations/float-kit/lib/update-position.d.ts.map +1 -1
- package/declarations/float-kit/modifiers/apply-floating-ui.d.ts.map +1 -1
- package/declarations/float-kit/modifiers/notify-positioned.d.ts +19 -0
- package/declarations/float-kit/modifiers/notify-positioned.d.ts.map +1 -0
- package/declarations/float-kit/modifiers/tab-order-inline.d.ts +55 -0
- package/declarations/float-kit/modifiers/tab-order-inline.d.ts.map +1 -0
- package/declarations/float-kit/services/menu.d.ts +11 -0
- package/declarations/float-kit/services/menu.d.ts.map +1 -1
- package/declarations/select-kit/components/dropdown-select-box.d.ts.map +1 -1
- package/declarations/select-kit/components/email-group-user-chooser-row.d.ts.map +1 -1
- package/declarations/select-kit/components/icon-picker.d.ts +3 -2
- package/declarations/select-kit/components/icon-picker.d.ts.map +1 -1
- package/declarations/select-kit/components/multi-select/multi-select-header.d.ts.map +1 -1
- package/declarations/select-kit/components/multi-select.d.ts.map +1 -1
- package/declarations/select-kit/components/multiple-categories-selector.d.ts +13 -0
- package/declarations/select-kit/components/multiple-categories-selector.d.ts.map +1 -0
- package/declarations/select-kit/components/select-kit/select-kit-row.d.ts.map +1 -1
- package/declarations/select-kit/components/selected-choice.d.ts +1 -0
- package/declarations/select-kit/components/selected-choice.d.ts.map +1 -1
- package/declarations/select-kit/components/tag-chooser.d.ts +3 -1
- package/declarations/select-kit/components/tag-chooser.d.ts.map +1 -1
- package/declarations/tests/acceptance/category-default-view-test.d.ts +2 -0
- package/declarations/tests/acceptance/category-default-view-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/composer-preview-sizing-test.d.ts +2 -0
- package/declarations/tests/acceptance/composer-preview-sizing-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/create-topic-button-click-test.d.ts +2 -0
- package/declarations/tests/acceptance/create-topic-button-click-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/design-wizard-test.d.ts +2 -0
- package/declarations/tests/acceptance/design-wizard-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/exception-test.d.ts +2 -0
- package/declarations/tests/acceptance/exception-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/group-card-test.d.ts +2 -0
- package/declarations/tests/acceptance/group-card-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/no-login-methods-test.d.ts +2 -0
- package/declarations/tests/acceptance/no-login-methods-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/read-only-mode-test.d.ts +2 -0
- package/declarations/tests/acceptance/read-only-mode-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/sidebar-link-drop-test.d.ts +2 -0
- package/declarations/tests/acceptance/sidebar-link-drop-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/topic-list-preload-test.d.ts +2 -0
- package/declarations/tests/acceptance/topic-list-preload-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/transformers/composer-minimum-post-length-test.d.ts +2 -0
- package/declarations/tests/acceptance/transformers/composer-minimum-post-length-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/transformers/draft-icon-test.d.ts +2 -0
- package/declarations/tests/acceptance/transformers/draft-icon-test.d.ts.map +1 -0
- package/declarations/tests/fixtures/reports-bulk.d.ts.map +1 -1
- package/declarations/tests/fixtures/session-fixtures.d.ts.map +1 -1
- package/declarations/tests/fixtures/site-fixtures.d.ts +4 -0
- package/declarations/tests/fixtures/site-fixtures.d.ts.map +1 -1
- package/declarations/tests/fixtures/user-fixtures.d.ts +0 -1
- package/declarations/tests/fixtures/user-fixtures.d.ts.map +1 -1
- package/declarations/tests/helpers/component-test.d.ts.map +1 -1
- package/declarations/tests/helpers/d-native-select-assertions.d.ts +2 -0
- package/declarations/tests/helpers/d-native-select-assertions.d.ts.map +1 -0
- package/declarations/tests/helpers/qunit-helpers.d.ts.map +1 -1
- package/declarations/tests/helpers/review-pretender.d.ts.map +1 -1
- package/declarations/tests/helpers/rich-editor-helper.d.ts +2 -2
- package/declarations/tests/helpers/rich-editor-helper.d.ts.map +1 -1
- package/declarations/tests/helpers/stub-intersection-observer.d.ts +4 -2
- package/declarations/tests/helpers/stub-intersection-observer.d.ts.map +1 -1
- package/declarations/tests/helpers/ui-kit/drag-and-drop-helper.d.ts +178 -0
- package/declarations/tests/helpers/ui-kit/drag-and-drop-helper.d.ts.map +1 -0
- package/declarations/tests/helpers/ui-kit/pointer-gesture-helper.d.ts +81 -0
- package/declarations/tests/helpers/ui-kit/pointer-gesture-helper.d.ts.map +1 -0
- package/declarations/tests/integration/components/admin-plugin-config-page-test.d.ts +2 -0
- package/declarations/tests/integration/components/admin-plugin-config-page-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/admin-report-related-items-test.d.ts +2 -0
- package/declarations/tests/integration/components/admin-report-related-items-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/admin-report-table-summary-test.d.ts +2 -0
- package/declarations/tests/integration/components/admin-report-table-summary-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/category-list-subcategories-test.d.ts +2 -0
- package/declarations/tests/integration/components/category-list-subcategories-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/composer/toggle-switch-test.d.ts +2 -0
- package/declarations/tests/integration/components/composer/toggle-switch-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/composer-container-test.d.ts +2 -0
- package/declarations/tests/integration/components/composer-container-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/dashboard/search-test.d.ts +2 -0
- package/declarations/tests/integration/components/dashboard/search-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/dashboard/system-test.d.ts +2 -0
- package/declarations/tests/integration/components/dashboard/system-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/dashboard/traffic-test.d.ts +2 -0
- package/declarations/tests/integration/components/dashboard/traffic-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/design-wizard-sections-test.d.ts +2 -0
- package/declarations/tests/integration/components/design-wizard-sections-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/dev-tools-toolbar-test.d.ts +2 -0
- package/declarations/tests/integration/components/dev-tools-toolbar-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/float-kit/apply-floating-ui-test.d.ts +2 -0
- package/declarations/tests/integration/components/float-kit/apply-floating-ui-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/float-kit/tab-order-inline-test.d.ts +2 -0
- package/declarations/tests/integration/components/float-kit/tab-order-inline-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/group-link-test.d.ts +2 -0
- package/declarations/tests/integration/components/group-link-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/modal/compare-groups-test.d.ts +2 -0
- package/declarations/tests/integration/components/modal/compare-groups-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/modal/content-language-preferences-test.d.ts +2 -0
- package/declarations/tests/integration/components/modal/content-language-preferences-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/more-topics/browse-more-test.d.ts +2 -0
- package/declarations/tests/integration/components/more-topics/browse-more-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/prosemirror-editor/open-document-test.d.ts +2 -0
- package/declarations/tests/integration/components/prosemirror-editor/open-document-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/prosemirror-editor/preview-node-view-test.d.ts +2 -0
- package/declarations/tests/integration/components/prosemirror-editor/preview-node-view-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/reports/posters-by-member-type-report-test.d.ts +2 -0
- package/declarations/tests/integration/components/reports/posters-by-member-type-report-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/select-kit/multiple-categories-selector-test.d.ts +2 -0
- package/declarations/tests/integration/components/select-kit/multiple-categories-selector-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/sidebar-section-form-test.d.ts +2 -0
- package/declarations/tests/integration/components/sidebar-section-form-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/topic-navigation-test.d.ts +2 -0
- package/declarations/tests/integration/components/topic-navigation-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/topic-post-badges-test.d.ts +2 -0
- package/declarations/tests/integration/components/topic-post-badges-test.d.ts.map +1 -0
- package/declarations/tests/integration/lib/load-accessible-name-test.d.ts +2 -0
- package/declarations/tests/integration/lib/load-accessible-name-test.d.ts.map +1 -0
- package/declarations/tests/integration/modifiers/d-resize-edge-test.d.ts +2 -0
- package/declarations/tests/integration/modifiers/d-resize-edge-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-combo-button-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-combo-button-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-element-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-element-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-native-select-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-native-select-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-resize-handles-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-resize-handles-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-resize-separator-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-resize-separator-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-shortcut-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-shortcut-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-skeleton-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-skeleton-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/anchoring-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/anchoring-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/api-surface-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/api-surface-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/container-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/container-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/deep-scroll-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/deep-scroll-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/edge-arm-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/edge-arm-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/edge-hysteresis-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/edge-hysteresis-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/edge-rearm-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/edge-rearm-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/edge-threshold-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/edge-threshold-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/edges-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/edges-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/estimate-reactivity-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/estimate-reactivity-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/follow-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/follow-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/index-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/index-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/inert-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/inert-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/lifecycle-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/lifecycle-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/measurement-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/measurement-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/mount-order-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/mount-order-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/options-reuse-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/options-reuse-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/overscan-input-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/overscan-input-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/overscan-window-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/overscan-window-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/pinned-guard-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/pinned-guard-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/published-state-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/published-state-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/rendering-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/rendering-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/resilience-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/resilience-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/sentinel-rearm-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/sentinel-rearm-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/shrink-window-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/shrink-window-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/stable-key-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/stable-key-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/viewport-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-virtual-list/viewport-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-adoption-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-adoption-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-auto-scroll-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-auto-scroll-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-external-target-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-external-target-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-monitor-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-monitor-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-dwell-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-dwell-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-draggable-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-draggable-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-observe-intersection-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-observe-intersection-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-pointer-drag-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-pointer-drag-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-api-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-api-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-control-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-control-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-cost-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-cost-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-lifecycle-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-lifecycle-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-typeahead-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-typeahead-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-windowed-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-windowed-test.d.ts.map +1 -0
- package/declarations/tests/setup-tests.d.ts.map +1 -1
- package/declarations/tests/test-boot-ember-cli.d.ts +15 -0
- package/declarations/tests/test-boot-ember-cli.d.ts.map +1 -1
- package/declarations/tests/unit/admin/lib/color-scheme-manager-test.d.ts +2 -0
- package/declarations/tests/unit/admin/lib/color-scheme-manager-test.d.ts.map +1 -0
- package/declarations/tests/unit/admin/lib/format-language-test.d.ts +2 -0
- package/declarations/tests/unit/admin/lib/format-language-test.d.ts.map +1 -0
- package/declarations/tests/unit/instance-initializers/verify-session-after-restore-test.d.ts +2 -0
- package/declarations/tests/unit/instance-initializers/verify-session-after-restore-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/-internals/drag-and-drop/drag-dwell-test.d.ts +2 -0
- package/declarations/tests/unit/lib/-internals/drag-and-drop/drag-dwell-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/-internals/drag-and-drop/vocabulary-test.d.ts +2 -0
- package/declarations/tests/unit/lib/-internals/drag-and-drop/vocabulary-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/blocks/core/decorator-test.d.ts +2 -0
- package/declarations/tests/unit/lib/blocks/core/decorator-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/content-localization-test.d.ts +2 -0
- package/declarations/tests/unit/lib/content-localization-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/customization-source-test.d.ts +2 -0
- package/declarations/tests/unit/lib/customization-source-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/dag-test.d.ts.map +1 -1
- package/declarations/tests/unit/lib/dashboard-reports-loader-test.d.ts +2 -0
- package/declarations/tests/unit/lib/dashboard-reports-loader-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/download-blob-test.d.ts +2 -0
- package/declarations/tests/unit/lib/download-blob-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/download-strategy-test.d.ts +2 -0
- package/declarations/tests/unit/lib/download-strategy-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/filter-mode-test.d.ts +2 -0
- package/declarations/tests/unit/lib/filter-mode-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/homepage-router-overrides-test.d.ts +2 -0
- package/declarations/tests/unit/lib/homepage-router-overrides-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/locale-normalizer-test.d.ts +2 -0
- package/declarations/tests/unit/lib/locale-normalizer-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/optimistic-post-updates-test.d.ts +2 -0
- package/declarations/tests/unit/lib/optimistic-post-updates-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/resize-measurements-test.d.ts +2 -0
- package/declarations/tests/unit/lib/resize-measurements-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/shortcut-format-test.d.ts +2 -0
- package/declarations/tests/unit/lib/shortcut-format-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/sidebar/active-link-test.d.ts +2 -0
- package/declarations/tests/unit/lib/sidebar/active-link-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/sidebar/link-drop-test.d.ts +2 -0
- package/declarations/tests/unit/lib/sidebar/link-drop-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/warp-model-extensions-test.d.ts +2 -0
- package/declarations/tests/unit/lib/warp-model-extensions-test.d.ts.map +1 -0
- package/declarations/tests/unit/services/capabilities-keyboard-test.d.ts +2 -0
- package/declarations/tests/unit/services/capabilities-keyboard-test.d.ts.map +1 -0
- package/declarations/tests/unit/services/composer-test.d.ts +2 -0
- package/declarations/tests/unit/services/composer-test.d.ts.map +1 -0
- package/declarations/tests/unit/services/discovery-test.d.ts +2 -0
- package/declarations/tests/unit/services/discovery-test.d.ts.map +1 -0
- package/declarations/tests/unit/services/drag-and-drop-test.d.ts +2 -0
- package/declarations/tests/unit/services/drag-and-drop-test.d.ts.map +1 -0
- package/declarations/tests/unit/test-boot/visual-readiness-test.d.ts +2 -0
- package/declarations/tests/unit/test-boot/visual-readiness-test.d.ts.map +1 -0
- package/declarations/tests/unit/ui-kit/virtualizer-test.d.ts +2 -0
- package/declarations/tests/unit/ui-kit/virtualizer-test.d.ts.map +1 -0
- package/declarations/tsconfig.tsbuildinfo +1 -1
- package/declarations/type-tests/blocks/public-api-test.d.ts +2 -0
- package/declarations/type-tests/blocks/public-api-test.d.ts.map +1 -0
- package/declarations/type-tests/lib/dag-test.d.ts +2 -0
- package/declarations/type-tests/lib/dag-test.d.ts.map +1 -0
- package/declarations/type-tests/lib/later-test.d.ts +2 -0
- package/declarations/type-tests/lib/later-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/create-drag-dwell-test.d.ts +2 -0
- package/declarations/type-tests/ui-kit/create-drag-dwell-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-combo-button-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-combo-button-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-external-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-external-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-external-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-external-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-dwell-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-dwell-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-dwell-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-dwell-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-pointer-drag-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-pointer-drag-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-pointer-drag-test.d.ts +8 -0
- package/declarations/type-tests/ui-kit/d-pointer-drag-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-args-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-args-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-box-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-box-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-payload-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-payload-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-separator-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-separator-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-separator-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-separator-test.d.ts.map +1 -0
- package/external-types/discourse-i18n/index.d.ts +3 -2
- package/external-types/ember-compat__tracked-built-ins/index.d.ts +23 -12
- package/external-types/ember-modifier/index.d.ts +19 -17
- package/external-types/ember-qunit/index.d.ts +16 -7
- package/external-types/ember-qunit/package.json +5 -6
- package/external-types/ember-truth-helpers/index.d.ts +33 -33
- package/external-types/ember__render-modifiers/index.d.ts +13 -7
- package/external-types/ember__string/index.d.ts +10 -10
- package/external-types/ember__test-helpers/index.d.ts +185 -155
- package/external-types/floating-ui__dom/index.d.ts +95 -85
- package/external-types/floating-ui__dom/package.json +5 -4
- package/external-types/glimmer__component/index.d.ts +18 -10
- package/external-types/glimmer__syntax/index.d.ts +575 -129
- package/external-types/glint__template/index.d.ts +74 -66
- package/external-types/pretender/index.d.ts +2 -2
- package/external-types/rsvp/index.d.ts +4 -0
- package/external-types/sinon/index.d.ts +13 -3
- package/external-types/sinon/package.json +3 -3
- package/package.json +10 -1
- package/declarations/app/components/admin-onboarding/modal/theme-picker.d.ts +0 -13
- package/declarations/app/components/admin-onboarding/modal/theme-picker.d.ts.map +0 -1
- package/declarations/app/components/composer-actions-new.d.ts.map +0 -1
- package/declarations/app/components/link-to-input.d.ts +0 -7
- package/declarations/app/components/link-to-input.d.ts.map +0 -1
- package/declarations/app/helpers/reviewable-history-description.d.ts +0 -2
- package/declarations/app/helpers/reviewable-history-description.d.ts.map +0 -1
- package/declarations/app/modifiers/grippie-drag-resize.d.ts +0 -40
- package/declarations/app/modifiers/grippie-drag-resize.d.ts.map +0 -1
- package/declarations/app/ui-kit/d-select.d.ts.map +0 -1
- package/declarations/select-kit/components/composer-actions.d.ts +0 -39
- package/declarations/select-kit/components/composer-actions.d.ts.map +0 -1
- package/declarations/tests/acceptance/composer-actions-new-test.d.ts +0 -2
- package/declarations/tests/acceptance/composer-actions-new-test.d.ts.map +0 -1
- package/declarations/tests/acceptance/composer-new-test.d.ts +0 -2
- package/declarations/tests/acceptance/composer-new-test.d.ts.map +0 -1
- package/declarations/tests/acceptance/keyboard-shortcuts-new-test.d.ts +0 -2
- package/declarations/tests/acceptance/keyboard-shortcuts-new-test.d.ts.map +0 -1
- package/declarations/tests/helpers/d-select-assertions.d.ts +0 -2
- package/declarations/tests/helpers/d-select-assertions.d.ts.map +0 -1
- package/declarations/tests/integration/ui-kit/d-select-test.d.ts +0 -2
- package/declarations/tests/integration/ui-kit/d-select-test.d.ts.map +0 -1
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import type { CleanupFn } from "@atlaskit/pragmatic-drag-and-drop/types";
|
|
2
|
+
import type { DragInput, DragLocation } from "discourse/lib/-internals/drag-and-drop/drop-target-kernel";
|
|
3
|
+
import { type ExternalDragKind, type ExternalDragPayload } from "discourse/lib/-internals/drag-and-drop/external-vocabulary";
|
|
4
|
+
import { type NormalizedDragSource } from "discourse/lib/-internals/drag-and-drop/vocabulary";
|
|
5
|
+
export { default as createDragDwell, DEFAULT_DRAG_DWELL_DELAY, type DragDwell, type DragDwellOptions, } from "discourse/lib/-internals/drag-and-drop/drag-dwell";
|
|
6
|
+
/** Which adapter the observed drag arrived through. */
|
|
7
|
+
export type DragDwellFamily = "element" | "external";
|
|
8
|
+
/** The dragged payload a dwell observes, from either adapter. */
|
|
9
|
+
export type DragDwellSource = NormalizedDragSource | ExternalDragPayload;
|
|
10
|
+
/**
|
|
11
|
+
* The observed drag: which adapter carried it, discriminating the payload
|
|
12
|
+
* shape. Checking `family` narrows `source`.
|
|
13
|
+
*/
|
|
14
|
+
type DragDwellObservation = {
|
|
15
|
+
/** The drag came from a registered element source. */
|
|
16
|
+
family: "element";
|
|
17
|
+
/** The dragged payload, normalized. */
|
|
18
|
+
source: NormalizedDragSource;
|
|
19
|
+
} | {
|
|
20
|
+
/** The drag came from outside the window. */
|
|
21
|
+
family: "external";
|
|
22
|
+
/** The decorated external payload. */
|
|
23
|
+
source: ExternalDragPayload;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* What {@link DragDwellArgs.canDwell} receives — structurally what a drop
|
|
27
|
+
* target's `canDrop` receives, so one gating function can serve both.
|
|
28
|
+
*/
|
|
29
|
+
export type DragDwellFeedback = DragDwellObservation & {
|
|
30
|
+
/** The pointer, with `clientX`/`clientY`. */
|
|
31
|
+
input: DragInput;
|
|
32
|
+
/** The dwell host element. */
|
|
33
|
+
element: HTMLElement;
|
|
34
|
+
};
|
|
35
|
+
/** What {@link DragDwellArgs.onDwell} receives. */
|
|
36
|
+
export type DragDwellEvent = DragDwellObservation & {
|
|
37
|
+
/** The drag's positions: `initial`, `previous`, and `current`. */
|
|
38
|
+
location: DragLocation;
|
|
39
|
+
/** The dwell host element. */
|
|
40
|
+
element: HTMLElement;
|
|
41
|
+
};
|
|
42
|
+
/** Why a candidacy ended. */
|
|
43
|
+
export type DragDwellEndReason = "left" | "drag-ended";
|
|
44
|
+
/** What {@link DragDwellArgs.onDwellEnd} receives. */
|
|
45
|
+
export type DragDwellEndEvent = DragDwellEvent & {
|
|
46
|
+
/**
|
|
47
|
+
* `"left"` when the drag stopped hovering the element or stopped
|
|
48
|
+
* qualifying; `"drag-ended"` when the drag finished anywhere — dropped,
|
|
49
|
+
* abandoned, or cancelled.
|
|
50
|
+
*/
|
|
51
|
+
reason: DragDwellEndReason;
|
|
52
|
+
/** Whether `onDwell` had fired for this candidacy — the undo predicate. */
|
|
53
|
+
fired: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* On `"drag-ended"`: whether the drop landed on a drop target on this
|
|
56
|
+
* element or on one of its descendants. Always `false` for `"left"`, and
|
|
57
|
+
* `false` when the host subtree registers no drop target at all.
|
|
58
|
+
*/
|
|
59
|
+
droppedHere: boolean;
|
|
60
|
+
};
|
|
61
|
+
interface DDragDwellSignature {
|
|
62
|
+
Element: HTMLElement;
|
|
63
|
+
Args: {
|
|
64
|
+
Named: {
|
|
65
|
+
/**
|
|
66
|
+
* Element drag types to watch. Omit to watch every element drag.
|
|
67
|
+
* Re-read on every frame.
|
|
68
|
+
*/
|
|
69
|
+
types?: string | string[];
|
|
70
|
+
/**
|
|
71
|
+
* External drag kinds to watch. Omitting it, or naming no kinds,
|
|
72
|
+
* refuses every external drag: the dwell only reacts to drags from
|
|
73
|
+
* outside the window when a consumer asks for them.
|
|
74
|
+
*/
|
|
75
|
+
externalKinds?: ExternalDragKind | ExternalDragKind[];
|
|
76
|
+
/**
|
|
77
|
+
* How long a qualifying hover lasts before `onDwell` fires. `true`, the
|
|
78
|
+
* default, is the standard 500 ms; `false` fires on the first qualifying
|
|
79
|
+
* frame; a number is the wait in milliseconds. Sampled when the first
|
|
80
|
+
* candidacy arms.
|
|
81
|
+
*/
|
|
82
|
+
delay?: boolean | number;
|
|
83
|
+
/**
|
|
84
|
+
* Grace before a fired dwell is undone once the drag leaves the
|
|
85
|
+
* element. `true`, the default, mirrors the entry delay, or the
|
|
86
|
+
* standard 500 ms when entry is immediate; `false` ends it in the
|
|
87
|
+
* leaving frame; a number is the grace in milliseconds. A drag
|
|
88
|
+
* returning within the grace keeps the dwell as if it never left, and
|
|
89
|
+
* a drag ending during it reports `drag-ended` instead. A candidacy
|
|
90
|
+
* that has not fired yet ends immediately either way.
|
|
91
|
+
*/
|
|
92
|
+
leaveDelay?: boolean | number;
|
|
93
|
+
/**
|
|
94
|
+
* Whether a drag hovering the element may start or continue a pending
|
|
95
|
+
* candidacy. Same feedback shape as a drop target's `canDrop`, so the
|
|
96
|
+
* two MAY share one function. Only a literal `false` refuses; it runs
|
|
97
|
+
* after `types`/`externalKinds` filtering, and is not consulted again once
|
|
98
|
+
* the dwell has fired.
|
|
99
|
+
*/
|
|
100
|
+
canDwell?: (feedback: DragDwellFeedback) => boolean | void;
|
|
101
|
+
/**
|
|
102
|
+
* Whether a drag whose source element is this element, or inside it,
|
|
103
|
+
* may dwell. Defaults to `true`.
|
|
104
|
+
*/
|
|
105
|
+
acceptsSelf?: boolean;
|
|
106
|
+
/** The dwell fired: the drag hovered long enough. */
|
|
107
|
+
onDwell: (event: DragDwellEvent) => void;
|
|
108
|
+
/**
|
|
109
|
+
* The candidacy ended — the drag left, stopped qualifying, or
|
|
110
|
+
* finished. The place to undo what `onDwell` did.
|
|
111
|
+
*/
|
|
112
|
+
onDwellEnd?: (event: DragDwellEndEvent) => void;
|
|
113
|
+
};
|
|
114
|
+
Positional: [];
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Every named arg of {@link dDragDwell}, for a consumer driving
|
|
119
|
+
* {@link registerDragDwell} imperatively rather than through the modifier.
|
|
120
|
+
*/
|
|
121
|
+
export type DragDwellArgs = DDragDwellSignature["Args"]["Named"];
|
|
122
|
+
/**
|
|
123
|
+
* The entry delay in milliseconds: `true` and omission are the standard
|
|
124
|
+
* delay, `false` is immediate, and a number stands as given.
|
|
125
|
+
*/
|
|
126
|
+
export declare function resolveDwellDelay(delay: boolean | number | undefined): number;
|
|
127
|
+
/**
|
|
128
|
+
* The leave grace in milliseconds: `true` and omission mirror the resolved
|
|
129
|
+
* entry delay and fall back to the standard delay when entry is immediate,
|
|
130
|
+
* `false` is immediate, and a number stands as given.
|
|
131
|
+
*/
|
|
132
|
+
export declare function resolveDwellLeaveDelay(leaveDelay: boolean | number | undefined, delay: boolean | number | undefined): number;
|
|
133
|
+
/**
|
|
134
|
+
* Watches drags the way a monitor does and reports dwells on one element.
|
|
135
|
+
*
|
|
136
|
+
* This uses rectangle containment, which does not account for another element
|
|
137
|
+
* occluding the host. An element drag leaving the window can also leave one
|
|
138
|
+
* stale in-rectangle input until the drag ends. Registering the external
|
|
139
|
+
* monitor mounts that adapter page-wide, as the drag-and-drop service does.
|
|
140
|
+
*
|
|
141
|
+
* The delay is sampled when the first candidacy arms. Every other argument is
|
|
142
|
+
* read lazily from monitor or timer callbacks.
|
|
143
|
+
*
|
|
144
|
+
* @param element - The dwell host.
|
|
145
|
+
* @param getArgsRef - Closure returning the latest arguments.
|
|
146
|
+
* @returns Cleanup; call it once on teardown.
|
|
147
|
+
*/
|
|
148
|
+
export declare function registerDragDwell(element: HTMLElement, getArgsRef: () => DragDwellArgs): CleanupFn;
|
|
149
|
+
/**
|
|
150
|
+
* Fires a callback once a drag has hovered the element for a delay, without
|
|
151
|
+
* making the element a drop target. Every arg is documented on
|
|
152
|
+
* {@link DragDwellArgs}.
|
|
153
|
+
*
|
|
154
|
+
* ```hbs
|
|
155
|
+
* <div {{dDragDwell types="card" onDwell=this.open onDwellEnd=this.close}}>
|
|
156
|
+
* ```
|
|
157
|
+
*/
|
|
158
|
+
declare const _default: import("ember-modifier").FunctionBasedModifier<{
|
|
159
|
+
Element: HTMLElement;
|
|
160
|
+
Args: {
|
|
161
|
+
Named: {
|
|
162
|
+
/**
|
|
163
|
+
* Element drag types to watch. Omit to watch every element drag.
|
|
164
|
+
* Re-read on every frame.
|
|
165
|
+
*/
|
|
166
|
+
types?: string | string[];
|
|
167
|
+
/**
|
|
168
|
+
* External drag kinds to watch. Omitting it, or naming no kinds,
|
|
169
|
+
* refuses every external drag: the dwell only reacts to drags from
|
|
170
|
+
* outside the window when a consumer asks for them.
|
|
171
|
+
*/
|
|
172
|
+
externalKinds?: ExternalDragKind | ExternalDragKind[];
|
|
173
|
+
/**
|
|
174
|
+
* How long a qualifying hover lasts before `onDwell` fires. `true`, the
|
|
175
|
+
* default, is the standard 500 ms; `false` fires on the first qualifying
|
|
176
|
+
* frame; a number is the wait in milliseconds. Sampled when the first
|
|
177
|
+
* candidacy arms.
|
|
178
|
+
*/
|
|
179
|
+
delay?: boolean | number;
|
|
180
|
+
/**
|
|
181
|
+
* Grace before a fired dwell is undone once the drag leaves the
|
|
182
|
+
* element. `true`, the default, mirrors the entry delay, or the
|
|
183
|
+
* standard 500 ms when entry is immediate; `false` ends it in the
|
|
184
|
+
* leaving frame; a number is the grace in milliseconds. A drag
|
|
185
|
+
* returning within the grace keeps the dwell as if it never left, and
|
|
186
|
+
* a drag ending during it reports `drag-ended` instead. A candidacy
|
|
187
|
+
* that has not fired yet ends immediately either way.
|
|
188
|
+
*/
|
|
189
|
+
leaveDelay?: boolean | number;
|
|
190
|
+
/**
|
|
191
|
+
* Whether a drag hovering the element may start or continue a pending
|
|
192
|
+
* candidacy. Same feedback shape as a drop target's `canDrop`, so the
|
|
193
|
+
* two MAY share one function. Only a literal `false` refuses; it runs
|
|
194
|
+
* after `types`/`externalKinds` filtering, and is not consulted again once
|
|
195
|
+
* the dwell has fired.
|
|
196
|
+
*/
|
|
197
|
+
canDwell?: (feedback: DragDwellFeedback) => boolean | void;
|
|
198
|
+
/**
|
|
199
|
+
* Whether a drag whose source element is this element, or inside it,
|
|
200
|
+
* may dwell. Defaults to `true`.
|
|
201
|
+
*/
|
|
202
|
+
acceptsSelf?: boolean;
|
|
203
|
+
/** The dwell fired: the drag hovered long enough. */
|
|
204
|
+
onDwell: (event: DragDwellEvent) => void;
|
|
205
|
+
/**
|
|
206
|
+
* The candidacy ended — the drag left, stopped qualifying, or
|
|
207
|
+
* finished. The place to undo what `onDwell` did.
|
|
208
|
+
*/
|
|
209
|
+
onDwellEnd?: (event: DragDwellEndEvent) => void;
|
|
210
|
+
};
|
|
211
|
+
Positional: [];
|
|
212
|
+
};
|
|
213
|
+
}>;
|
|
214
|
+
export default _default;
|
|
215
|
+
//# sourceMappingURL=d-drag-dwell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"d-drag-dwell.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-drag-dwell.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAOzE,OAAO,KAAK,EACV,SAAS,EACT,YAAY,EACb,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EAEzB,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,mDAAmD,CAAC;AAI3D,OAAO,EACL,OAAO,IAAI,eAAe,EAC1B,wBAAwB,EACxB,KAAK,SAAS,EACd,KAAK,gBAAgB,GACtB,MAAM,mDAAmD,CAAC;AAE3D,uDAAuD;AACvD,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAErD,iEAAiE;AACjE,MAAM,MAAM,eAAe,GAAG,oBAAoB,GAAG,mBAAmB,CAAC;AAEzE;;;GAGG;AACH,KAAK,oBAAoB,GACrB;IACE,sDAAsD;IACtD,MAAM,EAAE,SAAS,CAAC;IAElB,uCAAuC;IACvC,MAAM,EAAE,oBAAoB,CAAC;CAC9B,GACD;IACE,6CAA6C;IAC7C,MAAM,EAAE,UAAU,CAAC;IAEnB,sCAAsC;IACtC,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEN;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG;IACrD,6CAA6C;IAC7C,KAAK,EAAE,SAAS,CAAC;IAEjB,8BAA8B;IAC9B,OAAO,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,mDAAmD;AACnD,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG;IAClD,kEAAkE;IAClE,QAAQ,EAAE,YAAY,CAAC;IAEvB,8BAA8B;IAC9B,OAAO,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,6BAA6B;AAC7B,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,YAAY,CAAC;AAEvD,sDAAsD;AACtD,MAAM,MAAM,iBAAiB,GAAG,cAAc,GAAG;IAC/C;;;;OAIG;IACH,MAAM,EAAE,kBAAkB,CAAC;IAE3B,2EAA2E;IAC3E,KAAK,EAAE,OAAO,CAAC;IAEf;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,UAAU,mBAAmB;IAC3B,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,KAAK,EAAE;YACL;;;eAGG;YACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;YAE1B;;;;eAIG;YACH,aAAa,CAAC,EAAE,gBAAgB,GAAG,gBAAgB,EAAE,CAAC;YAEtD;;;;;eAKG;YACH,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;YAEzB;;;;;;;;eAQG;YACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;YAE9B;;;;;;eAMG;YACH,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,OAAO,GAAG,IAAI,CAAC;YAE3D;;;eAGG;YACH,WAAW,CAAC,EAAE,OAAO,CAAC;YAEtB,qDAAqD;YACrD,OAAO,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;YAEzC;;;eAGG;YACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;SACjD,CAAC;QACF,UAAU,EAAE,EAAE,CAAC;KAChB,CAAC;CACH;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;AAEjE;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAQ7E;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,EACxC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,GAClC,MAAM,CASR;AAWD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,WAAW,EACpB,UAAU,EAAE,MAAM,aAAa,GAC9B,SAAS,CA+OX;AAED;;;;;;;;GAQG;;;;;YAvXG;;;eAGG;oBACK,MAAM,GAAG,MAAM,EAAE;YAEzB;;;;eAIG;4BACa,gBAAgB,GAAG,gBAAgB,EAAE;YAErD;;;;;eAKG;oBACK,OAAO,GAAG,MAAM;YAExB;;;;;;;;eAQG;yBACU,OAAO,GAAG,MAAM;YAE7B;;;;;;eAMG;uBACQ,CAAC,QAAQ,EAAE,iBAAiB,KAAK,OAAO,GAAG,IAAI;YAE1D;;;eAGG;0BACW,OAAO;YAErB,qDAAqD;qBAC5C,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI;YAExC;;;eAGG;yBACU,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI;;;;;AAkUrD,wBAIE"}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Binds a press-drag lifecycle using legacy mouse and touch event pairs, plus
|
|
3
|
+
* native drag events, with document-level listeners for the gesture's duration.
|
|
4
|
+
*
|
|
5
|
+
* @deprecated since 2026.8.0. Use `dPointerDrag`
|
|
6
|
+
* (`discourse/ui-kit/modifiers/d-pointer-drag`). Rename `didStartDrag`,
|
|
7
|
+
* `dragMove` and `didEndDrag` to `onDragStart`, `onDrag` and `onDragEnd`, and
|
|
8
|
+
* add `onDragCancel` so an interrupted gesture still finishes.
|
|
9
|
+
*
|
|
10
|
+
* Three differences bite beyond the renames:
|
|
11
|
+
* - the second callback argument is gesture info, not the element;
|
|
12
|
+
* - the body class is automatic here, but needs `bodyClass` there;
|
|
13
|
+
* - a touch handler reading `event.touches[0]` should read the event itself.
|
|
14
|
+
*/
|
|
1
15
|
export default class DDraggableModifier extends Modifier<import("ember-modifier/-private/signature").DefaultSignature> {
|
|
2
16
|
constructor(owner: any, args: any);
|
|
3
17
|
hasStarted: boolean;
|
|
@@ -14,6 +28,7 @@ export default class DDraggableModifier extends Modifier<import("ember-modifier/
|
|
|
14
28
|
drag(e: any): void;
|
|
15
29
|
didEndDrag(e: any): void;
|
|
16
30
|
cleanup(): void;
|
|
31
|
+
#private;
|
|
17
32
|
}
|
|
18
33
|
import Modifier from "ember-modifier";
|
|
19
34
|
//# sourceMappingURL=d-draggable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-draggable.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-draggable.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"d-draggable.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-draggable.js"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;GAaG;AACH;IAKE,mCAOC;IAXD,oBAAmB;IACnB,aAAQ;IAYR;;;;aAcC;IAZC,0BAAwC;IACxC,wBAAoC;IACpC,sBAAgC;IAYlC,uBA0BC;IAED,mBAKC;IAED,yBAaC;IAED,gBAYC;;CACF;qBAhHoB,gBAAgB"}
|
|
@@ -16,6 +16,9 @@ interface DOnResizeSignature {
|
|
|
16
16
|
/**
|
|
17
17
|
* Calls `callback` with the observed `ResizeObserverEntry`s whenever the element
|
|
18
18
|
* resizes, throttled through the runloop. Cleans up the observer on teardown.
|
|
19
|
+
*
|
|
20
|
+
* @see The `DResizeSeparator` / `dResizeEdge` / `DResizeHandles` primitives to let a user
|
|
21
|
+
* PERFORM a resize. The similar names are the trap; this one only watches.
|
|
19
22
|
*/
|
|
20
23
|
export default class DOnResize extends Modifier<DOnResizeSignature> {
|
|
21
24
|
#private;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-on-resize.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-on-resize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,OAAO,QAAQ,EAAE,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAExD,UAAU,gBAAgB;IACxB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,KAAK,iBAAiB,GAAG,CAAC,OAAO,EAAE,mBAAmB,EAAE,KAAK,IAAI,CAAC;AAElE,UAAU,kBAAkB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE;QACJ,UAAU,EAAE,CAAC,QAAQ,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,gBAAgB,CAAC,CAAC;KACvE,CAAC;CACH;AAED
|
|
1
|
+
{"version":3,"file":"d-on-resize.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-on-resize.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,OAAO,QAAQ,EAAE,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAExD,UAAU,gBAAgB;IACxB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,KAAK,iBAAiB,GAAG,CAAC,OAAO,EAAE,mBAAmB,EAAE,KAAK,IAAI,CAAC;AAElE,UAAU,kBAAkB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE;QACJ,UAAU,EAAE,CAAC,QAAQ,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,gBAAgB,CAAC,CAAC;KACvE,CAAC;CACH;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,QAAQ,CAAC,kBAAkB,CAAC;;gBAIrD,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC,kBAAkB,CAAC;IAK3D,MAAM,CACJ,OAAO,EAAE,OAAO,EAChB,CAAC,EAAE,EAAE,OAAY,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC;CAmB/D"}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import type Owner from "@ember/owner";
|
|
2
|
+
import Modifier, { type ArgsFor } from "ember-modifier";
|
|
3
|
+
/**
|
|
4
|
+
* The `touch-action` tokens `d-pointer-drag.scss` has a rule for. A token
|
|
5
|
+
* without one leaves the element at `auto`, so the two must move together.
|
|
6
|
+
*/
|
|
7
|
+
export type TouchActionToken = "none" | "pan-x" | "pan-y" | "pinch-zoom" | "manipulation";
|
|
8
|
+
/** A point in client coordinates. */
|
|
9
|
+
type Point = Readonly<{
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
}>;
|
|
13
|
+
/**
|
|
14
|
+
* Where the gesture is, reported alongside every callback's event.
|
|
15
|
+
*
|
|
16
|
+
* A snapshot, not a live view. A fresh one is built per dispatch, so a consumer
|
|
17
|
+
* that stores it keeps the numbers it was given.
|
|
18
|
+
*/
|
|
19
|
+
export interface DPointerDragInfo {
|
|
20
|
+
/** Where the press landed. */
|
|
21
|
+
readonly origin: Point;
|
|
22
|
+
/** Where the pointer is now. */
|
|
23
|
+
readonly current: Point;
|
|
24
|
+
/** How far the pointer has travelled since the press. */
|
|
25
|
+
readonly delta: Point;
|
|
26
|
+
/**
|
|
27
|
+
* Whether `onDrag` has fired at least once for THIS gesture. It separates a
|
|
28
|
+
* drag from a click that landed on the handle.
|
|
29
|
+
*
|
|
30
|
+
* This is not the same as passing `threshold`. With no threshold a gesture can
|
|
31
|
+
* report from the press onwards, but it may still have reported nothing.
|
|
32
|
+
*/
|
|
33
|
+
readonly moved: boolean;
|
|
34
|
+
}
|
|
35
|
+
interface DPointerDragSignature {
|
|
36
|
+
/** The element the gesture is bound to. */
|
|
37
|
+
Element: HTMLElement;
|
|
38
|
+
Args: {
|
|
39
|
+
Named: {
|
|
40
|
+
/**
|
|
41
|
+
* Return `false` to ABORT the gesture, for example when an anchor cannot
|
|
42
|
+
* be resolved. Any other return starts it. An exception here is rethrown
|
|
43
|
+
* after the pointer capture is released, and no gesture starts.
|
|
44
|
+
*/
|
|
45
|
+
onDragStart?: (event: PointerEvent, info: DPointerDragInfo) => boolean | void;
|
|
46
|
+
/**
|
|
47
|
+
* Compute and preview the new value. Only fires during an active gesture,
|
|
48
|
+
* and only once `threshold` has been exceeded.
|
|
49
|
+
*/
|
|
50
|
+
onDrag?: (event: PointerEvent, info: DPointerDragInfo) => void;
|
|
51
|
+
/**
|
|
52
|
+
* Compute and commit the new value. Runs BEFORE the pointer capture is
|
|
53
|
+
* released. Fires for any release on this element, including one that never
|
|
54
|
+
* reached `threshold` and saw no `onDrag`. Use `info.moved` to tell them apart.
|
|
55
|
+
*/
|
|
56
|
+
onDragEnd?: (event: PointerEvent, info: DPointerDragInfo) => void;
|
|
57
|
+
/**
|
|
58
|
+
* Release any preview without committing. Neither this nor `onDragEnd`
|
|
59
|
+
* runs when the element is destroyed mid-gesture; see the modifier's own
|
|
60
|
+
* docs for what to do with state that outlives the handle.
|
|
61
|
+
*/
|
|
62
|
+
onDragCancel?: (event: PointerEvent, info: DPointerDragInfo) => void;
|
|
63
|
+
/**
|
|
64
|
+
* A class toggled on the element for the gesture's duration. A single
|
|
65
|
+
* token: a value with whitespace in it is rejected by the DOM, which costs
|
|
66
|
+
* the drag its styling but leaves the gesture working.
|
|
67
|
+
*/
|
|
68
|
+
draggingClass?: string;
|
|
69
|
+
/**
|
|
70
|
+
* A class held on `document.body` for the gesture's duration, for a cursor
|
|
71
|
+
* that has to survive the pointer leaving the handle. Whether that happens
|
|
72
|
+
* by itself is engine-dependent, so the rule cannot be left to the element.
|
|
73
|
+
* It reaches only what inherits `cursor`, so anything declaring its own
|
|
74
|
+
* still wins over it, and a gesture that must hold the cursor everywhere
|
|
75
|
+
* wants an overlay instead. Held by count, so two gestures asking for the
|
|
76
|
+
* same class both keep it until the last one ends.
|
|
77
|
+
*
|
|
78
|
+
* Reach for a class on a shared ancestor, not this, when the target is
|
|
79
|
+
* simply outside the dragged element's subtree — a sibling is still
|
|
80
|
+
* reachable from the parent the two have in common.
|
|
81
|
+
*/
|
|
82
|
+
bodyClass?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Pixels of travel, measured as a straight line from the press origin, that
|
|
85
|
+
* `onDrag` waits for before it starts firing. Reaching the distance is
|
|
86
|
+
* enough; it does not have to be exceeded. Suppresses the jitter of a click
|
|
87
|
+
* that was never meant to be a drag. Defaults to `0`. Read live until the
|
|
88
|
+
* distance is reached; only the latch is permanent, so raising it after
|
|
89
|
+
* movement has engaged will not re-suppress a gesture already under way.
|
|
90
|
+
*/
|
|
91
|
+
threshold?: number;
|
|
92
|
+
/**
|
|
93
|
+
* Whether an accepted press also stops propagating. Defaults to `false`:
|
|
94
|
+
* document-level listeners (click-outside dismissal, card and menu closers)
|
|
95
|
+
* depend on seeing `pointerdown`, so suppression is opt-in for the handles
|
|
96
|
+
* that genuinely need to isolate themselves.
|
|
97
|
+
*/
|
|
98
|
+
stopPropagation?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Whether a gesture that ends without the pointer being released on this
|
|
101
|
+
* element — `pointercancel`, or the capture being taken away — commits via
|
|
102
|
+
* `onDragEnd` instead of discarding via `onDragCancel`. Defaults to
|
|
103
|
+
* `false`. A splitter wants `true`: an OS-interrupted resize should keep
|
|
104
|
+
* the size the user dragged to.
|
|
105
|
+
*/
|
|
106
|
+
cancelCommits?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Which browser touch gestures the element gives up, reflected as
|
|
109
|
+
* `data-pointer-drag` and mapped by
|
|
110
|
+
* `app/assets/stylesheets/common/ui-kit/d-pointer-drag.scss`. Defaults to
|
|
111
|
+
* `"none"`, which suits a small handle. Anything large enough that a user
|
|
112
|
+
* might start a scroll or a pinch-zoom on it wants `"pan-x"`, `"pan-y"`,
|
|
113
|
+
* `"pinch-zoom"` or `"manipulation"` instead.
|
|
114
|
+
*
|
|
115
|
+
* The union is closed against that stylesheet, so widen it only alongside
|
|
116
|
+
* a rule there: `touch-action` is not inherited, and a token with no rule
|
|
117
|
+
* behind it leaves the element at `auto`, where the browser claims the
|
|
118
|
+
* touch as a scroll and the gesture dies through `pointercancel`.
|
|
119
|
+
*/
|
|
120
|
+
touchAction?: TouchActionToken;
|
|
121
|
+
};
|
|
122
|
+
Positional: [];
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* The gesture's named args, for a consumer driving {@link registerPointerDrag}
|
|
127
|
+
* imperatively rather than through the modifier.
|
|
128
|
+
*/
|
|
129
|
+
export type DPointerDragArgs = DPointerDragSignature["Args"]["Named"];
|
|
130
|
+
/**
|
|
131
|
+
* Drops all pointer-ownership bookkeeping. For tests only: a consumer of
|
|
132
|
+
* {@link registerPointerDrag} that never invokes its cleanup would otherwise
|
|
133
|
+
* leave an entry behind that releases the next gesture to reuse that pointer ID.
|
|
134
|
+
*/
|
|
135
|
+
export declare function resetPointerDragForTesting(): void;
|
|
136
|
+
/**
|
|
137
|
+
* Wires the "press-drag-transform" pointer lifecycle to an element: the gesture
|
|
138
|
+
* class where the user presses, drags, and a value changes continuously with the
|
|
139
|
+
* pointer (resize handles, sliders, splitters, knobs). Used by the
|
|
140
|
+
* default-exported modifier below, and exported so a consumer can install the
|
|
141
|
+
* gesture imperatively when a template modifier does not fit.
|
|
142
|
+
*
|
|
143
|
+
* This is not a transfer operation: there is no drop target or payload. The
|
|
144
|
+
* `onDrag*` callback names describe this gesture's lifecycle (start, move, end,
|
|
145
|
+
* cancel).
|
|
146
|
+
*
|
|
147
|
+
* Unified Pointer Events with `setPointerCapture` cover mouse, touch and pen
|
|
148
|
+
* without per-input branching. Only the primary button starts a gesture, and
|
|
149
|
+
* every subsequent event must carry the same `pointerId`, so a second finger
|
|
150
|
+
* landing on the element cannot drive or end a gesture the first one owns.
|
|
151
|
+
*
|
|
152
|
+
* The lifecycle is owned here; everything domain-specific (what origin to
|
|
153
|
+
* capture, how to compute the next value, how to preview it, what to commit)
|
|
154
|
+
* stays in the caller's handlers.
|
|
155
|
+
*
|
|
156
|
+
* @param element - The element the gesture is bound to.
|
|
157
|
+
* @param getArgsRef - Closure returning the latest args, read on every event so
|
|
158
|
+
* arg changes take effect without re-registering.
|
|
159
|
+
* @returns Cleanup function. Releases an in-flight capture, so a gesture
|
|
160
|
+
* interrupted by teardown does not strand the pointer. Caller invokes it once
|
|
161
|
+
* on teardown.
|
|
162
|
+
*/
|
|
163
|
+
export declare function registerPointerDrag(element: HTMLElement, getArgsRef: () => DPointerDragArgs): () => void;
|
|
164
|
+
/**
|
|
165
|
+
* Binds the press-drag-transform gesture to an element. Thin Ember-modifier
|
|
166
|
+
* wrapper around {@link registerPointerDrag}. Every arg is optional and
|
|
167
|
+
* documented on {@link DPointerDragArgs}.
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* ```gjs
|
|
171
|
+
* <span {{dPointerDrag
|
|
172
|
+
* onDragStart=this.onDragStart
|
|
173
|
+
* onDrag=this.onDrag
|
|
174
|
+
* onDragEnd=this.onDragEnd
|
|
175
|
+
* onDragCancel=this.onDragCancel
|
|
176
|
+
* draggingClass="--dragging"
|
|
177
|
+
* }} />
|
|
178
|
+
* ```
|
|
179
|
+
*
|
|
180
|
+
* A press never moves focus. Cancelling `pointerdown` suppresses the compatibility
|
|
181
|
+
* `mousedown` that focus rides on, and that suppression is kept: a handle usually
|
|
182
|
+
* sits beside the thing it resizes or reorders, so taking focus on press would pull
|
|
183
|
+
* the caret out of whatever the user was working in. Give the handle its own tab
|
|
184
|
+
* stop when it has a keyboard path worth reaching — that is how it stays operable,
|
|
185
|
+
* not by claiming focus from a gesture assistive technology cannot perform.
|
|
186
|
+
*
|
|
187
|
+
* That cancellation reaches further than focus: an accepted press produces no
|
|
188
|
+
* `mousedown` or `mouseup`, so a document-level listener on either never sees it.
|
|
189
|
+
* Build dismiss-on-outside-press on `pointerdown`, which still bubbles unless
|
|
190
|
+
* `stopPropagation` is set.
|
|
191
|
+
*
|
|
192
|
+
* A single element supports one registration. Two would each claim the same
|
|
193
|
+
* pointer capture and the same attribute, and tearing either down would strand
|
|
194
|
+
* the other's gesture.
|
|
195
|
+
*
|
|
196
|
+
* Nesting one registration inside another is supported, but only one of them can
|
|
197
|
+
* hold a given press: the ancestor sees it too, and whichever claims the pointer
|
|
198
|
+
* last keeps it. The other is ended immediately through `onDragCancel` (or
|
|
199
|
+
* `onDragEnd` under `cancelCommits`) with the same press as its event, so a
|
|
200
|
+
* contested press still leaves each consumer with one terminal callback for the
|
|
201
|
+
* `onDragStart` it received. Pass `stopPropagation` on the inner registration when
|
|
202
|
+
* the press should not reach the ancestor at all.
|
|
203
|
+
*
|
|
204
|
+
* The one end that reports nothing is teardown: destroying the element mid-gesture
|
|
205
|
+
* releases the capture and drops the classes but fires no terminal callback, since
|
|
206
|
+
* one would run against a consumer already being torn down. Release gesture state
|
|
207
|
+
* that outlives the handle from the consumer's own destructor instead.
|
|
208
|
+
*/
|
|
209
|
+
export default class DPointerDragModifier extends Modifier<DPointerDragSignature> {
|
|
210
|
+
#private;
|
|
211
|
+
constructor(owner: Owner, args: ArgsFor<DPointerDragSignature>);
|
|
212
|
+
modify(element: HTMLElement, _positional: [], named: DPointerDragArgs): void;
|
|
213
|
+
}
|
|
214
|
+
export {};
|
|
215
|
+
//# sourceMappingURL=d-pointer-drag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"d-pointer-drag.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-pointer-drag.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,QAAQ,EAAE,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGxD;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,OAAO,GACP,OAAO,GACP,YAAY,GACZ,cAAc,CAAC;AAQnB,qCAAqC;AACrC,KAAK,KAAK,GAAG,QAAQ,CAAC;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAEhD;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B,8BAA8B;IAC9B,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC;IAEvB,gCAAgC;IAChC,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC;IAExB,yDAAyD;IACzD,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IAEtB;;;;;;OAMG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED,UAAU,qBAAqB;IAC7B,2CAA2C;IAC3C,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,KAAK,EAAE;YACL;;;;eAIG;YACH,WAAW,CAAC,EAAE,CACZ,KAAK,EAAE,YAAY,EACnB,IAAI,EAAE,gBAAgB,KACnB,OAAO,GAAG,IAAI,CAAC;YAEpB;;;eAGG;YACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;YAE/D;;;;eAIG;YACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;YAElE;;;;eAIG;YACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;YAErE;;;;eAIG;YACH,aAAa,CAAC,EAAE,MAAM,CAAC;YAEvB;;;;;;;;;;;;eAYG;YACH,SAAS,CAAC,EAAE,MAAM,CAAC;YAEnB;;;;;;;eAOG;YACH,SAAS,CAAC,EAAE,MAAM,CAAC;YAEnB;;;;;eAKG;YACH,eAAe,CAAC,EAAE,OAAO,CAAC;YAE1B;;;;;;eAMG;YACH,aAAa,CAAC,EAAE,OAAO,CAAC;YAExB;;;;;;;;;;;;eAYG;YACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;SAChC,CAAC;QACF,UAAU,EAAE,EAAE,CAAC;KAChB,CAAC;CACH;AAED;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;AAwBtE;;;;GAIG;AACH,wBAAgB,0BAA0B,SAEzC;AAkBD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,WAAW,EACpB,UAAU,EAAE,MAAM,gBAAgB,cA4RnC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,QAAQ,CAAC,qBAAqB,CAAC;;gBAInE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC,qBAAqB,CAAC;IAK9D,MAAM,CAAC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,EAAE,EAAE,KAAK,EAAE,gBAAgB;CAiBtE"}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import type Owner from "@ember/owner";
|
|
2
|
+
import Modifier, { type ArgsFor } from "ember-modifier";
|
|
3
|
+
import type { Side } from "discourse/lib/geometry";
|
|
4
|
+
import type { ResizeAxis } from "discourse/lib/resize-measurements";
|
|
5
|
+
/**
|
|
6
|
+
* What produced a size report. A consumer that mirrors the size for assistive
|
|
7
|
+
* technology needs this: a held arrow key is one gesture spanning every repeat,
|
|
8
|
+
* so waiting for the commit would leave the announced value stale for as long as
|
|
9
|
+
* the key is down, where a pointer gesture reports through a frame and settles
|
|
10
|
+
* on release.
|
|
11
|
+
*/
|
|
12
|
+
export interface ResizeReportMeta {
|
|
13
|
+
source: "pointer" | "keyboard";
|
|
14
|
+
}
|
|
15
|
+
interface DResizeEdgeSignature {
|
|
16
|
+
/** The element acting as the edge. */
|
|
17
|
+
Element: HTMLElement;
|
|
18
|
+
Args: {
|
|
19
|
+
Named: {
|
|
20
|
+
/**
|
|
21
|
+
* The current size, in pixels, or a function returning it. Read once at the
|
|
22
|
+
* start of each gesture — a press, or the first of a run of key repeats —
|
|
23
|
+
* and never again while one is in flight.
|
|
24
|
+
*
|
|
25
|
+
* A measurement may return `null` to say it has nothing yet. There is no
|
|
26
|
+
* size to resize *from* in that state, so the gesture is refused rather
|
|
27
|
+
* than started from an assumed zero.
|
|
28
|
+
*/
|
|
29
|
+
value: number | null | (() => number | null);
|
|
30
|
+
/**
|
|
31
|
+
* The smallest size the edge may be dragged to, or a function returning it.
|
|
32
|
+
* Read every time a size is clamped.
|
|
33
|
+
*/
|
|
34
|
+
min: number | (() => number);
|
|
35
|
+
/**
|
|
36
|
+
* The largest size the edge may be dragged to, or a function returning it.
|
|
37
|
+
* Read every time a size is clamped.
|
|
38
|
+
*/
|
|
39
|
+
max: number | (() => number);
|
|
40
|
+
/**
|
|
41
|
+
* The axis the edge moves along. Defaults to `"horizontal"`.
|
|
42
|
+
*
|
|
43
|
+
* Note that this is the opposite of the `aria-orientation` the element
|
|
44
|
+
* should carry: that describes the separator itself, which lies across
|
|
45
|
+
* the axis it moves along.
|
|
46
|
+
*/
|
|
47
|
+
axis?: ResizeAxis;
|
|
48
|
+
/**
|
|
49
|
+
* Which edge the resized element is docked against, in logical terms.
|
|
50
|
+
* Combined with the writing direction this decides whether moving the
|
|
51
|
+
* pointer away from that edge makes it larger or smaller. Defaults to
|
|
52
|
+
* `"start"`.
|
|
53
|
+
*
|
|
54
|
+
* Read live, unlike `value`, which is frozen for the length of a gesture.
|
|
55
|
+
* Changing this or `axis` mid-gesture measures the new orientation against
|
|
56
|
+
* an origin captured in the old one, so the result is undefined.
|
|
57
|
+
*/
|
|
58
|
+
side?: Side;
|
|
59
|
+
/**
|
|
60
|
+
* A class held on `document.body` for the length of a gesture, for a cursor
|
|
61
|
+
* that has to survive the pointer leaving the edge. Whether the cursor of the
|
|
62
|
+
* element a drag began on does that by itself is engine-dependent, so it
|
|
63
|
+
* cannot be left to the edge's own rule.
|
|
64
|
+
*/
|
|
65
|
+
bodyClass?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Called once when a resize begins, immediately before the first size is
|
|
68
|
+
* reported. Purely a notification — the return value is ignored, and a
|
|
69
|
+
* caller whose size is a live measurement supplies it by passing a
|
|
70
|
+
* function as `value`.
|
|
71
|
+
*
|
|
72
|
+
* Fires on the first report rather than on the press, so a press that
|
|
73
|
+
* never becomes a resize opens nothing. Anything held for the length of
|
|
74
|
+
* the gesture belongs here, because it is always closed by exactly one
|
|
75
|
+
* `onResizeEnd`.
|
|
76
|
+
*/
|
|
77
|
+
onResizeStart?: () => void;
|
|
78
|
+
/**
|
|
79
|
+
* Called while the size is changing: at most once per animation frame while
|
|
80
|
+
* dragging, and once per key press or repeat. Suitable for updating the
|
|
81
|
+
* rendered size.
|
|
82
|
+
*/
|
|
83
|
+
onResize?: (size: number, meta: ResizeReportMeta) => void;
|
|
84
|
+
/**
|
|
85
|
+
* Called once when the gesture finishes. Suitable for work that should
|
|
86
|
+
* happen once per resize rather than once per report — persisting the
|
|
87
|
+
* size, or undoing something held for the length of the gesture.
|
|
88
|
+
*
|
|
89
|
+
* Every one of these is preceded by exactly one `onResizeStart`, and a
|
|
90
|
+
* gesture that reported no size fires neither: a press released without
|
|
91
|
+
* moving is a click rather than a resize, and opens nothing.
|
|
92
|
+
*
|
|
93
|
+
* The converse does not hold. Teardown mid-gesture fires no consumer
|
|
94
|
+
* callback at all, so a gesture that had reported and is then torn down
|
|
95
|
+
* leaves its `onResizeStart` unclosed. State held for the length of a
|
|
96
|
+
* resize therefore has to be released on the consumer's own destruction
|
|
97
|
+
* too, not on this alone.
|
|
98
|
+
*/
|
|
99
|
+
onResizeEnd?: (size: number, meta: ResizeReportMeta) => void;
|
|
100
|
+
};
|
|
101
|
+
Positional: [];
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Makes an element behave as a draggable edge that resizes something along one
|
|
106
|
+
* axis, following the WAI-ARIA window splitter pattern.
|
|
107
|
+
*
|
|
108
|
+
* The modifier owns the interaction only. It reports the size it computed and
|
|
109
|
+
* leaves storing and applying it to the caller, so that the same element can
|
|
110
|
+
* drive a width held in a component, a service, or a CSS custom property. The
|
|
111
|
+
* reported number carries no unit of its own: it is whatever `value`, `min`,
|
|
112
|
+
* and `max` are expressed in, which is a width for a side panel but an offset
|
|
113
|
+
* from a resting height for a composer.
|
|
114
|
+
*
|
|
115
|
+
* `value`, `min` and `max` may each be a function instead of a number, which is
|
|
116
|
+
* what a caller whose size or bounds are a live measurement of the DOM or the
|
|
117
|
+
* window must use — see `#read`.
|
|
118
|
+
*
|
|
119
|
+
* Both pointer and keyboard interaction are supported, which is what the
|
|
120
|
+
* splitter pattern requires: a resize that can only be performed by dragging
|
|
121
|
+
* is unusable without a pointing device. The pointer half is delegated to
|
|
122
|
+
* `registerPointerDrag`, the shared press-drag-transform engine, which covers
|
|
123
|
+
* mouse, touch and pen alike and marks the element so that a touch drag is not
|
|
124
|
+
* claimed by the browser as a scroll gesture. This modifier keeps the value
|
|
125
|
+
* semantics: clamping, the logical `side` handling, and the keyboard path.
|
|
126
|
+
*
|
|
127
|
+
* Both halves report the same shape — one `onResizeStart`, any number of
|
|
128
|
+
* `onResize`, one `onResizeEnd` — so a caller can hold state for the length of a
|
|
129
|
+
* resize without caring which input performed it. A held arrow key is therefore
|
|
130
|
+
* one gesture rather than one per repeat, and its running size is kept here
|
|
131
|
+
* instead of re-read from `value`: a caller whose size is a live measurement
|
|
132
|
+
* cannot settle it between repeats, and stepping from a box still moving toward
|
|
133
|
+
* the previous size would swallow most of each step.
|
|
134
|
+
*
|
|
135
|
+
* ```hbs
|
|
136
|
+
* <div
|
|
137
|
+
* role="separator"
|
|
138
|
+
* aria-orientation="vertical"
|
|
139
|
+
* aria-valuenow={{this.width}}
|
|
140
|
+
* aria-valuemin={{this.minWidth}}
|
|
141
|
+
* aria-valuemax={{this.maxWidth}}
|
|
142
|
+
* tabindex="0"
|
|
143
|
+
* {{dResizeEdge
|
|
144
|
+
* value=this.width
|
|
145
|
+
* min=this.minWidth
|
|
146
|
+
* max=this.maxWidth
|
|
147
|
+
* side="start"
|
|
148
|
+
* bodyClass="d-resizing-ew"
|
|
149
|
+
* onResizeStart=this.suppressTransitions
|
|
150
|
+
* onResize=this.previewWidth
|
|
151
|
+
* onResizeEnd=this.commitWidth
|
|
152
|
+
* }}
|
|
153
|
+
* ></div>
|
|
154
|
+
* ```
|
|
155
|
+
*
|
|
156
|
+
* @see The `DResizeSeparator` component, which wraps this and supplies the whole block of
|
|
157
|
+
* separator markup above. Prefer it; reach for this modifier directly only when
|
|
158
|
+
* the element and its semantics are already yours to own.
|
|
159
|
+
* @see The `DResizeHandles` component for a TWO-dimensional box resize. The separator role does
|
|
160
|
+
* not apply there — a 2D resize has no single `aria-valuenow` to report.
|
|
161
|
+
* @see The `dOnResize` modifier to merely OBSERVE a size change. It is not a gesture.
|
|
162
|
+
*/
|
|
163
|
+
export default class DResizeEdgeModifier extends Modifier<DResizeEdgeSignature> {
|
|
164
|
+
#private;
|
|
165
|
+
constructor(owner: Owner, args: ArgsFor<DResizeEdgeSignature>);
|
|
166
|
+
modify(element: HTMLElement, _positional: [], named: DResizeEdgeSignature["Args"]["Named"]): void;
|
|
167
|
+
cleanup(): void;
|
|
168
|
+
}
|
|
169
|
+
export {};
|
|
170
|
+
//# sourceMappingURL=d-resize-edge.d.ts.map
|