@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.
Files changed (1307) hide show
  1. package/declarations/admin/components/admin-badges-show.d.ts.map +1 -1
  2. package/declarations/admin/components/admin-config-area-cards/about/contact-information.d.ts +0 -1
  3. package/declarations/admin/components/admin-config-area-cards/about/contact-information.d.ts.map +1 -1
  4. package/declarations/admin/components/admin-config-areas/components.d.ts.map +1 -1
  5. package/declarations/admin/components/admin-config-areas/themes.d.ts +3 -0
  6. package/declarations/admin/components/admin-config-areas/themes.d.ts.map +1 -1
  7. package/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts +1 -1
  8. package/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts.map +1 -1
  9. package/declarations/admin/components/admin-plugin-config-page.d.ts +1 -0
  10. package/declarations/admin/components/admin-plugin-config-page.d.ts.map +1 -1
  11. package/declarations/admin/components/admin-plugins-list-item.d.ts.map +1 -1
  12. package/declarations/admin/components/admin-report-related-items.d.ts +14 -0
  13. package/declarations/admin/components/admin-report-related-items.d.ts.map +1 -0
  14. package/declarations/admin/components/admin-report-stacked-chart.d.ts +1 -1
  15. package/declarations/admin/components/admin-report-stacked-chart.d.ts.map +1 -1
  16. package/declarations/admin/components/admin-report-table-cell.d.ts +3 -0
  17. package/declarations/admin/components/admin-report-table-cell.d.ts.map +1 -1
  18. package/declarations/admin/components/admin-report-table-row.d.ts.map +1 -1
  19. package/declarations/admin/components/admin-report-table-summary.d.ts +18 -0
  20. package/declarations/admin/components/admin-report-table-summary.d.ts.map +1 -0
  21. package/declarations/admin/components/admin-report-table.d.ts.map +1 -1
  22. package/declarations/admin/components/admin-report.d.ts +3 -0
  23. package/declarations/admin/components/admin-report.d.ts.map +1 -1
  24. package/declarations/admin/components/chart.d.ts +1 -1
  25. package/declarations/admin/components/dashboard/engagement/activity-by-category.d.ts.map +1 -1
  26. package/declarations/admin/components/dashboard/engagement/headline.d.ts +4 -3
  27. package/declarations/admin/components/dashboard/engagement/headline.d.ts.map +1 -1
  28. package/declarations/admin/components/dashboard/engagement/whos-posting.d.ts +7 -10
  29. package/declarations/admin/components/dashboard/engagement/whos-posting.d.ts.map +1 -1
  30. package/declarations/admin/components/dashboard/report-error-state.d.ts +3 -0
  31. package/declarations/admin/components/dashboard/report-error-state.d.ts.map +1 -0
  32. package/declarations/admin/components/dashboard/reports.d.ts +37 -1
  33. package/declarations/admin/components/dashboard/reports.d.ts.map +1 -1
  34. package/declarations/admin/components/dashboard/search.d.ts +5 -3
  35. package/declarations/admin/components/dashboard/search.d.ts.map +1 -1
  36. package/declarations/admin/components/dashboard/system.d.ts +27 -0
  37. package/declarations/admin/components/dashboard/system.d.ts.map +1 -0
  38. package/declarations/admin/components/dashboard/traffic.d.ts +8 -0
  39. package/declarations/admin/components/dashboard/traffic.d.ts.map +1 -1
  40. package/declarations/admin/components/edit-category-localizations.d.ts.map +1 -1
  41. package/declarations/admin/components/edit-category-panel.d.ts +0 -5
  42. package/declarations/admin/components/edit-category-panel.d.ts.map +1 -1
  43. package/declarations/admin/components/form-template/form.d.ts.map +1 -1
  44. package/declarations/admin/components/manageable-row-list-item.d.ts +15 -0
  45. package/declarations/admin/components/manageable-row-list-item.d.ts.map +1 -0
  46. package/declarations/admin/components/modal/badge-preview.d.ts.map +1 -1
  47. package/declarations/admin/components/modal/compare-groups.d.ts +29 -0
  48. package/declarations/admin/components/modal/compare-groups.d.ts.map +1 -0
  49. package/declarations/admin/components/modal/manage-reports.d.ts +2 -6
  50. package/declarations/admin/components/modal/manage-reports.d.ts.map +1 -1
  51. package/declarations/admin/components/modal/penalize-user.d.ts +2 -1
  52. package/declarations/admin/components/modal/penalize-user.d.ts.map +1 -1
  53. package/declarations/admin/components/redesigned-admin-dashboard.d.ts.map +1 -1
  54. package/declarations/admin/components/report-filters/groups.d.ts +6 -0
  55. package/declarations/admin/components/report-filters/groups.d.ts.map +1 -0
  56. package/declarations/admin/components/reports/posters-by-member-type-report.d.ts +29 -0
  57. package/declarations/admin/components/reports/posters-by-member-type-report.d.ts.map +1 -0
  58. package/declarations/admin/components/schema-setting/field.d.ts +2 -1
  59. package/declarations/admin/components/schema-setting/field.d.ts.map +1 -1
  60. package/declarations/admin/components/schema-setting/types/icon.d.ts +10 -0
  61. package/declarations/admin/components/schema-setting/types/icon.d.ts.map +1 -0
  62. package/declarations/admin/components/site-setting.d.ts +12 -1
  63. package/declarations/admin/components/site-setting.d.ts.map +1 -1
  64. package/declarations/admin/components/site-settings/group-list.d.ts.map +1 -1
  65. package/declarations/admin/components/site-settings/group.d.ts.map +1 -1
  66. package/declarations/admin/components/site-settings/icon.d.ts.map +1 -1
  67. package/declarations/admin/components/site-settings/integer.d.ts +0 -1
  68. package/declarations/admin/components/site-settings/integer.d.ts.map +1 -1
  69. package/declarations/admin/components/site-traffic-explorer-breakdown-card.d.ts +21 -0
  70. package/declarations/admin/components/site-traffic-explorer-breakdown-card.d.ts.map +1 -0
  71. package/declarations/admin/components/site-traffic-explorer-breakdown-modal.d.ts +10 -0
  72. package/declarations/admin/components/site-traffic-explorer-breakdown-modal.d.ts.map +1 -0
  73. package/declarations/admin/components/site-traffic-explorer-breakdown-row.d.ts +3 -0
  74. package/declarations/admin/components/site-traffic-explorer-breakdown-row.d.ts.map +1 -0
  75. package/declarations/admin/components/site-traffic-explorer-dimension-label.d.ts +8 -0
  76. package/declarations/admin/components/site-traffic-explorer-dimension-label.d.ts.map +1 -0
  77. package/declarations/admin/components/site-traffic-explorer-filter-pills.d.ts +16 -0
  78. package/declarations/admin/components/site-traffic-explorer-filter-pills.d.ts.map +1 -0
  79. package/declarations/admin/components/site-traffic-explorer-metric.d.ts +3 -0
  80. package/declarations/admin/components/site-traffic-explorer-metric.d.ts.map +1 -0
  81. package/declarations/admin/components/site-traffic-explorer-pageview-count.d.ts +3 -0
  82. package/declarations/admin/components/site-traffic-explorer-pageview-count.d.ts.map +1 -0
  83. package/declarations/admin/components/site-traffic-explorer.d.ts +67 -0
  84. package/declarations/admin/components/site-traffic-explorer.d.ts.map +1 -0
  85. package/declarations/admin/components/upsert-category/appearance.d.ts +6 -10
  86. package/declarations/admin/components/upsert-category/appearance.d.ts.map +1 -1
  87. package/declarations/admin/components/version-checks.d.ts.map +1 -1
  88. package/declarations/admin/controllers/admin/dashboard/general.d.ts +1 -2
  89. package/declarations/admin/controllers/admin/dashboard/general.d.ts.map +1 -1
  90. package/declarations/admin/controllers/admin/dashboard.d.ts +1 -3
  91. package/declarations/admin/controllers/admin/dashboard.d.ts.map +1 -1
  92. package/declarations/admin/controllers/admin-customize-themes/show/index.d.ts +2 -0
  93. package/declarations/admin/controllers/admin-customize-themes/show/index.d.ts.map +1 -1
  94. package/declarations/admin/controllers/admin-plugins/index.d.ts +0 -3
  95. package/declarations/admin/controllers/admin-plugins/index.d.ts.map +1 -1
  96. package/declarations/admin/controllers/admin-plugins.d.ts +2 -2
  97. package/declarations/admin/controllers/admin-plugins.d.ts.map +1 -1
  98. package/declarations/admin/controllers/admin-search/index.d.ts +3 -1
  99. package/declarations/admin/controllers/admin-search/index.d.ts.map +1 -1
  100. package/declarations/admin/controllers/admin-search-logs/index.d.ts +2 -1
  101. package/declarations/admin/controllers/admin-search-logs/index.d.ts.map +1 -1
  102. package/declarations/admin/controllers/admin-search-logs/term.d.ts +2 -1
  103. package/declarations/admin/controllers/admin-search-logs/term.d.ts.map +1 -1
  104. package/declarations/admin/controllers/admin-site-traffic.d.ts +51 -0
  105. package/declarations/admin/controllers/admin-site-traffic.d.ts.map +1 -0
  106. package/declarations/admin/controllers/admin-user/badges.d.ts +1 -0
  107. package/declarations/admin/controllers/admin-user/badges.d.ts.map +1 -1
  108. package/declarations/admin/controllers/admin-watched-words/action.d.ts +2 -0
  109. package/declarations/admin/controllers/admin-watched-words/action.d.ts.map +1 -1
  110. package/declarations/admin/controllers/edit-category/tabs.d.ts.map +1 -1
  111. package/declarations/admin/lib/admin-report-related-items.d.ts +4 -0
  112. package/declarations/admin/lib/admin-report-related-items.d.ts.map +1 -0
  113. package/declarations/admin/lib/color-scheme-manager.d.ts +44 -0
  114. package/declarations/admin/lib/color-scheme-manager.d.ts.map +1 -1
  115. package/declarations/admin/lib/constants.d.ts.map +1 -1
  116. package/declarations/admin/lib/dashboard-format.d.ts +1 -0
  117. package/declarations/admin/lib/dashboard-format.d.ts.map +1 -1
  118. package/declarations/admin/lib/engagement-headline.d.ts +2 -0
  119. package/declarations/admin/lib/engagement-headline.d.ts.map +1 -0
  120. package/declarations/admin/lib/format-language.d.ts +2 -0
  121. package/declarations/admin/lib/format-language.d.ts.map +1 -0
  122. package/declarations/admin/lib/format-pageview-count.d.ts +4 -0
  123. package/declarations/admin/lib/format-pageview-count.d.ts.map +1 -0
  124. package/declarations/admin/lib/search-headline.d.ts +2 -0
  125. package/declarations/admin/lib/search-headline.d.ts.map +1 -0
  126. package/declarations/admin/lib/toggleable-ordered-list.d.ts +22 -0
  127. package/declarations/admin/lib/toggleable-ordered-list.d.ts.map +1 -0
  128. package/declarations/admin/models/admin-dashboard.d.ts +1 -1
  129. package/declarations/admin/models/admin-dashboard.d.ts.map +1 -1
  130. package/declarations/admin/models/admin-user.d.ts +1 -1
  131. package/declarations/admin/models/admin-user.d.ts.map +1 -1
  132. package/declarations/admin/models/report.d.ts +5 -5
  133. package/declarations/admin/models/site-setting.d.ts +2 -0
  134. package/declarations/admin/models/site-setting.d.ts.map +1 -1
  135. package/declarations/admin/models/staff-action-log.d.ts.map +1 -1
  136. package/declarations/admin/routes/admin-route-map.d.ts.map +1 -1
  137. package/declarations/admin/routes/admin-site-traffic.d.ts +55 -0
  138. package/declarations/admin/routes/admin-site-traffic.d.ts.map +1 -0
  139. package/declarations/admin/routes/admin-user/badges.d.ts +1 -1
  140. package/declarations/admin/routes/admin-user/badges.d.ts.map +1 -1
  141. package/declarations/admin/routes/new-category.d.ts.map +1 -1
  142. package/declarations/admin/services/admin-emojis.d.ts.map +1 -1
  143. package/declarations/admin/templates/admin-site-traffic-loading.d.ts +3 -0
  144. package/declarations/admin/templates/admin-site-traffic-loading.d.ts.map +1 -0
  145. package/declarations/admin/templates/admin-site-traffic.d.ts +3 -0
  146. package/declarations/admin/templates/admin-site-traffic.d.ts.map +1 -0
  147. package/declarations/app/adapters/topic-list.d.ts +2 -1
  148. package/declarations/app/adapters/topic-list.d.ts.map +1 -1
  149. package/declarations/app/app.d.ts +1 -1
  150. package/declarations/app/app.d.ts.map +1 -1
  151. package/declarations/app/blocks/block-outlet.d.ts +51 -76
  152. package/declarations/app/blocks/block-outlet.d.ts.map +1 -1
  153. package/declarations/app/blocks/builtin/block-group.d.ts +10 -4
  154. package/declarations/app/blocks/builtin/block-group.d.ts.map +1 -1
  155. package/declarations/app/blocks/builtin/block-head.d.ts +19 -11
  156. package/declarations/app/blocks/builtin/block-head.d.ts.map +1 -1
  157. package/declarations/app/blocks/builtin/index.d.ts +30 -0
  158. package/declarations/app/blocks/builtin/index.d.ts.map +1 -1
  159. package/declarations/app/blocks/conditions/condition.d.ts +71 -52
  160. package/declarations/app/blocks/conditions/condition.d.ts.map +1 -1
  161. package/declarations/app/blocks/conditions/decorator.d.ts +29 -20
  162. package/declarations/app/blocks/conditions/decorator.d.ts.map +1 -1
  163. package/declarations/app/blocks/conditions/index.d.ts +2 -0
  164. package/declarations/app/blocks/conditions/index.d.ts.map +1 -1
  165. package/declarations/app/blocks/conditions/outlet-arg.d.ts +17 -36
  166. package/declarations/app/blocks/conditions/outlet-arg.d.ts.map +1 -1
  167. package/declarations/app/blocks/conditions/route.d.ts +19 -21
  168. package/declarations/app/blocks/conditions/route.d.ts.map +1 -1
  169. package/declarations/app/blocks/conditions/setting.d.ts +21 -28
  170. package/declarations/app/blocks/conditions/setting.d.ts.map +1 -1
  171. package/declarations/app/blocks/conditions/user.d.ts +23 -14
  172. package/declarations/app/blocks/conditions/user.d.ts.map +1 -1
  173. package/declarations/app/blocks/conditions/viewport.d.ts +17 -18
  174. package/declarations/app/blocks/conditions/viewport.d.ts.map +1 -1
  175. package/declarations/app/blocks/index.d.ts +7 -0
  176. package/declarations/app/blocks/index.d.ts.map +1 -1
  177. package/declarations/app/blocks/types.d.ts +153 -0
  178. package/declarations/app/blocks/types.d.ts.map +1 -0
  179. package/declarations/app/components/a11y/live-regions.d.ts +21 -0
  180. package/declarations/app/components/a11y/live-regions.d.ts.map +1 -1
  181. package/declarations/app/components/about-page-extra-groups.d.ts.map +1 -1
  182. package/declarations/app/components/ace-editor.d.ts +3 -0
  183. package/declarations/app/components/ace-editor.d.ts.map +1 -1
  184. package/declarations/app/components/admin-onboarding/banner.d.ts +8 -1
  185. package/declarations/app/components/admin-onboarding/banner.d.ts.map +1 -1
  186. package/declarations/app/components/admin-onboarding/step.d.ts +3 -2
  187. package/declarations/app/components/admin-onboarding/step.d.ts.map +1 -1
  188. package/declarations/app/components/advanced-mode-toggle.d.ts +6 -2
  189. package/declarations/app/components/advanced-mode-toggle.d.ts.map +1 -1
  190. package/declarations/app/components/bookmark-icon.d.ts +1 -1
  191. package/declarations/app/components/bookmark-menu.d.ts +1 -1
  192. package/declarations/app/components/bulk-select-topics-dropdown.d.ts +1 -0
  193. package/declarations/app/components/bulk-select-topics-dropdown.d.ts.map +1 -1
  194. package/declarations/app/components/card-contents-base.d.ts.map +1 -1
  195. package/declarations/app/components/categories-boxes.d.ts +2 -0
  196. package/declarations/app/components/categories-boxes.d.ts.map +1 -1
  197. package/declarations/app/components/category-list-item.d.ts +4 -0
  198. package/declarations/app/components/category-list-item.d.ts.map +1 -1
  199. package/declarations/app/components/code-login-form.d.ts +4 -0
  200. package/declarations/app/components/code-login-form.d.ts.map +1 -1
  201. package/declarations/app/components/composer/preview-node-view.d.ts +38 -0
  202. package/declarations/app/components/composer/preview-node-view.d.ts.map +1 -0
  203. package/declarations/app/components/composer/toggle-switch.d.ts +2 -2
  204. package/declarations/app/components/composer/toggle-switch.d.ts.map +1 -1
  205. package/declarations/app/components/composer/toolbar-buttons.d.ts +2 -0
  206. package/declarations/app/components/composer/toolbar-buttons.d.ts.map +1 -1
  207. package/declarations/app/components/composer-action-title.d.ts +0 -8
  208. package/declarations/app/components/composer-action-title.d.ts.map +1 -1
  209. package/declarations/app/components/{composer-actions-new.d.ts → composer-actions.d.ts} +1 -1
  210. package/declarations/app/components/composer-actions.d.ts.map +1 -0
  211. package/declarations/app/components/composer-body.d.ts +1 -1
  212. package/declarations/app/components/composer-body.d.ts.map +1 -1
  213. package/declarations/app/components/composer-container.d.ts +4 -2
  214. package/declarations/app/components/composer-container.d.ts.map +1 -1
  215. package/declarations/app/components/composer-editor.d.ts +3 -0
  216. package/declarations/app/components/composer-editor.d.ts.map +1 -1
  217. package/declarations/app/components/composer-messages.d.ts.map +1 -1
  218. package/declarations/app/components/composer-save-button.d.ts +2 -0
  219. package/declarations/app/components/composer-save-button.d.ts.map +1 -1
  220. package/declarations/app/components/composer-toggles.d.ts +1 -0
  221. package/declarations/app/components/composer-toggles.d.ts.map +1 -1
  222. package/declarations/app/components/create-topic-button.d.ts +5 -0
  223. package/declarations/app/components/create-topic-button.d.ts.map +1 -1
  224. package/declarations/app/components/d-navigation.d.ts.map +1 -1
  225. package/declarations/app/components/design-wizard/colors-section.d.ts +3 -0
  226. package/declarations/app/components/design-wizard/colors-section.d.ts.map +1 -0
  227. package/declarations/app/components/design-wizard/controls.d.ts +28 -0
  228. package/declarations/app/components/design-wizard/controls.d.ts.map +1 -0
  229. package/declarations/app/components/design-wizard/fonts-section.d.ts +9 -0
  230. package/declarations/app/components/design-wizard/fonts-section.d.ts.map +1 -0
  231. package/declarations/app/components/design-wizard/homepage-section.d.ts +3 -0
  232. package/declarations/app/components/design-wizard/homepage-section.d.ts.map +1 -0
  233. package/declarations/app/components/design-wizard/intro-section.d.ts +3 -0
  234. package/declarations/app/components/design-wizard/intro-section.d.ts.map +1 -0
  235. package/declarations/app/components/design-wizard/option-row.d.ts +3 -0
  236. package/declarations/app/components/design-wizard/option-row.d.ts.map +1 -0
  237. package/declarations/app/components/design-wizard/search-section.d.ts +3 -0
  238. package/declarations/app/components/design-wizard/search-section.d.ts.map +1 -0
  239. package/declarations/app/components/design-wizard/section.d.ts +3 -0
  240. package/declarations/app/components/design-wizard/section.d.ts.map +1 -0
  241. package/declarations/app/components/design-wizard/theme-section.d.ts +3 -0
  242. package/declarations/app/components/design-wizard/theme-section.d.ts.map +1 -0
  243. package/declarations/app/components/design-wizard/welcome-banner-section.d.ts +3 -0
  244. package/declarations/app/components/design-wizard/welcome-banner-section.d.ts.map +1 -0
  245. package/declarations/app/components/design-wizard-panel.d.ts +11 -0
  246. package/declarations/app/components/design-wizard-panel.d.ts.map +1 -0
  247. package/declarations/app/components/discovery/topics.d.ts +0 -1
  248. package/declarations/app/components/discovery/topics.d.ts.map +1 -1
  249. package/declarations/app/components/docked-composer.d.ts +2 -4
  250. package/declarations/app/components/docked-composer.d.ts.map +1 -1
  251. package/declarations/app/components/embed-mode-composer.d.ts.map +1 -1
  252. package/declarations/app/components/ember-text-field.d.ts.map +1 -1
  253. package/declarations/app/components/fast-edit.d.ts +3 -1
  254. package/declarations/app/components/fast-edit.d.ts.map +1 -1
  255. package/declarations/app/components/form-template-field/composer.d.ts +8 -1
  256. package/declarations/app/components/form-template-field/composer.d.ts.map +1 -1
  257. package/declarations/app/components/global-notice.d.ts.map +1 -1
  258. package/declarations/app/components/group-card-contents.d.ts +2 -0
  259. package/declarations/app/components/group-card-contents.d.ts.map +1 -1
  260. package/declarations/app/components/group-flair-inputs.d.ts +0 -1
  261. package/declarations/app/components/group-flair-inputs.d.ts.map +1 -1
  262. package/declarations/app/components/header/header-search.d.ts +1 -0
  263. package/declarations/app/components/header/header-search.d.ts.map +1 -1
  264. package/declarations/app/components/header/icons.d.ts.map +1 -1
  265. package/declarations/app/components/header/topic/info.d.ts.map +1 -1
  266. package/declarations/app/components/invite-panel.d.ts.map +1 -1
  267. package/declarations/app/components/language-switcher.d.ts.map +1 -1
  268. package/declarations/app/components/local-login-form.d.ts +1 -0
  269. package/declarations/app/components/local-login-form.d.ts.map +1 -1
  270. package/declarations/app/components/modal/avatar-selector.d.ts +1 -1
  271. package/declarations/app/components/modal/bookmark.d.ts.map +1 -1
  272. package/declarations/app/components/modal/bulk-topic-actions.d.ts.map +1 -1
  273. package/declarations/app/components/modal/content-language-preferences.d.ts +30 -0
  274. package/declarations/app/components/modal/content-language-preferences.d.ts.map +1 -0
  275. package/declarations/app/components/modal/create-invite-with-roles.d.ts +11 -3
  276. package/declarations/app/components/modal/create-invite-with-roles.d.ts.map +1 -1
  277. package/declarations/app/components/modal/create-invite.d.ts.map +1 -1
  278. package/declarations/app/components/modal/flag.d.ts +2 -2
  279. package/declarations/app/components/modal/fullscreen-table.d.ts +7 -2
  280. package/declarations/app/components/modal/fullscreen-table.d.ts.map +1 -1
  281. package/declarations/app/components/modal/grant-badge.d.ts +1 -0
  282. package/declarations/app/components/modal/grant-badge.d.ts.map +1 -1
  283. package/declarations/app/components/modal/history.d.ts +1 -1
  284. package/declarations/app/components/modal/keyboard-shortcuts-help.d.ts +348 -176
  285. package/declarations/app/components/modal/keyboard-shortcuts-help.d.ts.map +1 -1
  286. package/declarations/app/components/modal/nested-activity-log/item.d.ts +2 -1
  287. package/declarations/app/components/modal/nested-activity-log/item.d.ts.map +1 -1
  288. package/declarations/app/components/modal/nested-activity-log.d.ts +20 -1
  289. package/declarations/app/components/modal/nested-activity-log.d.ts.map +1 -1
  290. package/declarations/app/components/modal/sidebar-section-form.d.ts +53 -19
  291. package/declarations/app/components/modal/sidebar-section-form.d.ts.map +1 -1
  292. package/declarations/app/components/more-topics/browse-more.d.ts.map +1 -1
  293. package/declarations/app/components/nested/post-children.d.ts +3 -0
  294. package/declarations/app/components/nested/post-children.d.ts.map +1 -1
  295. package/declarations/app/components/nested.d.ts +1 -0
  296. package/declarations/app/components/nested.d.ts.map +1 -1
  297. package/declarations/app/components/no-login-methods.d.ts +6 -0
  298. package/declarations/app/components/no-login-methods.d.ts.map +1 -0
  299. package/declarations/app/components/parent-category-row.d.ts +1 -0
  300. package/declarations/app/components/parent-category-row.d.ts.map +1 -1
  301. package/declarations/app/components/plugin-outlet.d.ts +11 -1
  302. package/declarations/app/components/plugin-outlet.d.ts.map +1 -1
  303. package/declarations/app/components/post/menu/liked-users-list.d.ts +2 -13
  304. package/declarations/app/components/post/menu/liked-users-list.d.ts.map +1 -1
  305. package/declarations/app/components/post/menu/liked-users-menu.d.ts.map +1 -1
  306. package/declarations/app/components/post-stream.d.ts +2 -5
  307. package/declarations/app/components/post-stream.d.ts.map +1 -1
  308. package/declarations/app/components/post.d.ts +1 -1
  309. package/declarations/app/components/post.d.ts.map +1 -1
  310. package/declarations/app/components/reviewable/index.d.ts +2 -5
  311. package/declarations/app/components/reviewable/index.d.ts.map +1 -1
  312. package/declarations/app/components/reviewable/insights.d.ts.map +1 -1
  313. package/declarations/app/components/reviewable/item.d.ts +10 -12
  314. package/declarations/app/components/reviewable/item.d.ts.map +1 -1
  315. package/declarations/app/components/reviewable/timeline.d.ts +1 -7
  316. package/declarations/app/components/reviewable/timeline.d.ts.map +1 -1
  317. package/declarations/app/components/reviewable/user.d.ts +3 -0
  318. package/declarations/app/components/reviewable/user.d.ts.map +1 -1
  319. package/declarations/app/components/reviewable-bundled-action.d.ts +1 -1
  320. package/declarations/app/components/reviewable-bundled-action.d.ts.map +1 -1
  321. package/declarations/app/components/search-menu/results/initial-options.d.ts +1 -0
  322. package/declarations/app/components/search-menu/results/initial-options.d.ts.map +1 -1
  323. package/declarations/app/components/search-menu/results/random-quick-tip.d.ts +1 -0
  324. package/declarations/app/components/search-menu/results/random-quick-tip.d.ts.map +1 -1
  325. package/declarations/app/components/search-menu/results/recent-searches.d.ts +1 -0
  326. package/declarations/app/components/search-menu/results/recent-searches.d.ts.map +1 -1
  327. package/declarations/app/components/search-menu/results.d.ts +1 -0
  328. package/declarations/app/components/search-menu/results.d.ts.map +1 -1
  329. package/declarations/app/components/search-menu/search-term.d.ts +1 -0
  330. package/declarations/app/components/search-menu/search-term.d.ts.map +1 -1
  331. package/declarations/app/components/search-menu.d.ts +4 -1
  332. package/declarations/app/components/search-menu.d.ts.map +1 -1
  333. package/declarations/app/components/setting-definition-field.d.ts.map +1 -1
  334. package/declarations/app/components/setting-field/category.d.ts +7 -0
  335. package/declarations/app/components/setting-field/category.d.ts.map +1 -0
  336. package/declarations/app/components/setting-field/enum.d.ts +5 -0
  337. package/declarations/app/components/setting-field/enum.d.ts.map +1 -1
  338. package/declarations/app/components/setting-field/group-list.d.ts.map +1 -1
  339. package/declarations/app/components/setting-field/group.d.ts +9 -0
  340. package/declarations/app/components/setting-field/group.d.ts.map +1 -0
  341. package/declarations/app/components/setting-field/icon.d.ts +3 -0
  342. package/declarations/app/components/setting-field/icon.d.ts.map +1 -0
  343. package/declarations/app/components/setting-field/integer.d.ts +1 -0
  344. package/declarations/app/components/setting-field/integer.d.ts.map +1 -1
  345. package/declarations/app/components/setting-field/locale-enum.d.ts +5 -0
  346. package/declarations/app/components/setting-field/locale-enum.d.ts.map +1 -0
  347. package/declarations/app/components/setting-field/tag-group-list.d.ts +7 -0
  348. package/declarations/app/components/setting-field/tag-group-list.d.ts.map +1 -0
  349. package/declarations/app/components/setting-field/tag-list.d.ts +7 -0
  350. package/declarations/app/components/setting-field/tag-list.d.ts.map +1 -0
  351. package/declarations/app/components/sidebar/anonymous/categories-section.d.ts +2 -0
  352. package/declarations/app/components/sidebar/anonymous/categories-section.d.ts.map +1 -1
  353. package/declarations/app/components/sidebar/anonymous/sections.d.ts +2 -0
  354. package/declarations/app/components/sidebar/anonymous/sections.d.ts.map +1 -1
  355. package/declarations/app/components/sidebar/anonymous/tags-section.d.ts +2 -0
  356. package/declarations/app/components/sidebar/anonymous/tags-section.d.ts.map +1 -1
  357. package/declarations/app/components/sidebar/api-section.d.ts +6 -2
  358. package/declarations/app/components/sidebar/api-section.d.ts.map +1 -1
  359. package/declarations/app/components/sidebar/api-sections.d.ts.map +1 -1
  360. package/declarations/app/components/sidebar/common/all-categories-section-link.d.ts +6 -2
  361. package/declarations/app/components/sidebar/common/all-categories-section-link.d.ts.map +1 -1
  362. package/declarations/app/components/sidebar/common/all-tags-section-link.d.ts +6 -2
  363. package/declarations/app/components/sidebar/common/all-tags-section-link.d.ts.map +1 -1
  364. package/declarations/app/components/sidebar/common/custom-section.d.ts +8 -0
  365. package/declarations/app/components/sidebar/common/custom-section.d.ts.map +1 -1
  366. package/declarations/app/components/sidebar/common/custom-sections.d.ts.map +1 -1
  367. package/declarations/app/components/sidebar/more-section-link.d.ts.map +1 -1
  368. package/declarations/app/components/sidebar/more-section-links.d.ts +2 -0
  369. package/declarations/app/components/sidebar/more-section-links.d.ts.map +1 -1
  370. package/declarations/app/components/sidebar/more-section-trigger.d.ts.map +1 -1
  371. package/declarations/app/components/sidebar/search.d.ts +0 -1
  372. package/declarations/app/components/sidebar/search.d.ts.map +1 -1
  373. package/declarations/app/components/sidebar/section-form-link.d.ts +0 -2
  374. package/declarations/app/components/sidebar/section-form-link.d.ts.map +1 -1
  375. package/declarations/app/components/sidebar/section-link.d.ts +3 -1
  376. package/declarations/app/components/sidebar/section-link.d.ts.map +1 -1
  377. package/declarations/app/components/sidebar/section.d.ts +60 -1
  378. package/declarations/app/components/sidebar/section.d.ts.map +1 -1
  379. package/declarations/app/components/sidebar/sections.d.ts.map +1 -1
  380. package/declarations/app/components/sidebar/user/categories-section.d.ts +2 -0
  381. package/declarations/app/components/sidebar/user/categories-section.d.ts.map +1 -1
  382. package/declarations/app/components/sidebar/user/sections.d.ts +42 -0
  383. package/declarations/app/components/sidebar/user/sections.d.ts.map +1 -1
  384. package/declarations/app/components/sidebar/user/tags-section.d.ts +2 -0
  385. package/declarations/app/components/sidebar/user/tags-section.d.ts.map +1 -1
  386. package/declarations/app/components/sidebar.d.ts +12 -0
  387. package/declarations/app/components/sidebar.d.ts.map +1 -1
  388. package/declarations/app/components/subcategories-with-featured-topics.d.ts +1 -0
  389. package/declarations/app/components/subcategories-with-featured-topics.d.ts.map +1 -1
  390. package/declarations/app/components/tag-info.d.ts.map +1 -1
  391. package/declarations/app/components/tag-settings.d.ts.map +1 -1
  392. package/declarations/app/components/toolbar-popup-menu-options.d.ts.map +1 -1
  393. package/declarations/app/components/topic-bookmarks-menu.d.ts +1 -1
  394. package/declarations/app/components/topic-category.d.ts.map +1 -1
  395. package/declarations/app/components/topic-content-language-preferences.d.ts +7 -0
  396. package/declarations/app/components/topic-content-language-preferences.d.ts.map +1 -0
  397. package/declarations/app/components/topic-dismiss-buttons.d.ts.map +1 -1
  398. package/declarations/app/components/topic-drafts-dropdown.d.ts +1 -1
  399. package/declarations/app/components/topic-drafts-dropdown.d.ts.map +1 -1
  400. package/declarations/app/components/topic-footer-buttons.d.ts +0 -2
  401. package/declarations/app/components/topic-footer-buttons.d.ts.map +1 -1
  402. package/declarations/app/components/topic-list/header/sortable-column.d.ts +1 -0
  403. package/declarations/app/components/topic-list/header/sortable-column.d.ts.map +1 -1
  404. package/declarations/app/components/topic-map/private-message-map.d.ts +1 -1
  405. package/declarations/app/components/topic-navigation.d.ts.map +1 -1
  406. package/declarations/app/components/topic-post-badges.d.ts.map +1 -1
  407. package/declarations/app/components/topic-timeline/container.d.ts.map +1 -1
  408. package/declarations/app/components/topic-timeline/scroller.d.ts.map +1 -1
  409. package/declarations/app/components/user/users-popup.d.ts +7 -0
  410. package/declarations/app/components/user/users-popup.d.ts.map +1 -1
  411. package/declarations/app/components/user-menu/bookmarks-list.d.ts.map +1 -1
  412. package/declarations/app/components/user-menu/items-list.d.ts +1 -1
  413. package/declarations/app/components/user-menu/items-list.d.ts.map +1 -1
  414. package/declarations/app/components/user-menu/likes-notifications-list.d.ts.map +1 -1
  415. package/declarations/app/components/user-menu/messages-list.d.ts.map +1 -1
  416. package/declarations/app/components/user-menu/notifications-list.d.ts.map +1 -1
  417. package/declarations/app/components/user-menu/other-notifications-list.d.ts.map +1 -1
  418. package/declarations/app/components/user-menu/replies-notifications-list.d.ts.map +1 -1
  419. package/declarations/app/components/welcome-banner.d.ts +1 -0
  420. package/declarations/app/components/welcome-banner.d.ts.map +1 -1
  421. package/declarations/app/controllers/exception.d.ts +5 -6
  422. package/declarations/app/controllers/exception.d.ts.map +1 -1
  423. package/declarations/app/controllers/full-page-search.d.ts +8 -2
  424. package/declarations/app/controllers/full-page-search.d.ts.map +1 -1
  425. package/declarations/app/controllers/login.d.ts +0 -1
  426. package/declarations/app/controllers/login.d.ts.map +1 -1
  427. package/declarations/app/controllers/nested.d.ts.map +1 -1
  428. package/declarations/app/controllers/preferences/interface.d.ts +7 -0
  429. package/declarations/app/controllers/preferences/interface.d.ts.map +1 -1
  430. package/declarations/app/controllers/preferences/tracking.d.ts.map +1 -1
  431. package/declarations/app/controllers/signup.d.ts +1 -0
  432. package/declarations/app/controllers/signup.d.ts.map +1 -1
  433. package/declarations/app/controllers/topic.d.ts.map +1 -1
  434. package/declarations/app/controllers/user-activity/bookmarks.d.ts +1 -1
  435. package/declarations/app/controllers/user-activity/bookmarks.d.ts.map +1 -1
  436. package/declarations/app/controllers/user-topics-list.d.ts +0 -1
  437. package/declarations/app/controllers/user-topics-list.d.ts.map +1 -1
  438. package/declarations/app/data/builders/badges.d.ts +35 -0
  439. package/declarations/app/data/builders/badges.d.ts.map +1 -0
  440. package/declarations/app/data/builders/bookmarks.d.ts +24 -0
  441. package/declarations/app/data/builders/bookmarks.d.ts.map +1 -0
  442. package/declarations/app/data/builders/helpers.d.ts +48 -0
  443. package/declarations/app/data/builders/helpers.d.ts.map +1 -0
  444. package/declarations/app/data/builders/topic-details.d.ts +28 -0
  445. package/declarations/app/data/builders/topic-details.d.ts.map +1 -0
  446. package/declarations/app/data/builders/user-badges.d.ts +39 -0
  447. package/declarations/app/data/builders/user-badges.d.ts.map +1 -0
  448. package/declarations/app/data/extra-attributes.d.ts +5 -0
  449. package/declarations/app/data/extra-attributes.d.ts.map +1 -0
  450. package/declarations/app/data/handlers/discourse-rest.d.ts +5 -0
  451. package/declarations/app/data/handlers/discourse-rest.d.ts.map +1 -0
  452. package/declarations/app/data/jsonapi-utils.d.ts +8 -0
  453. package/declarations/app/data/jsonapi-utils.d.ts.map +1 -0
  454. package/declarations/app/data/normalize.d.ts +30 -0
  455. package/declarations/app/data/normalize.d.ts.map +1 -0
  456. package/declarations/app/data/rest-compat.d.ts +28 -0
  457. package/declarations/app/data/rest-compat.d.ts.map +1 -0
  458. package/declarations/app/data/schemas/archetype.d.ts +3 -0
  459. package/declarations/app/data/schemas/archetype.d.ts.map +1 -0
  460. package/declarations/app/data/schemas/badge-grouping.d.ts +3 -0
  461. package/declarations/app/data/schemas/badge-grouping.d.ts.map +1 -0
  462. package/declarations/app/data/schemas/badge-type.d.ts +3 -0
  463. package/declarations/app/data/schemas/badge-type.d.ts.map +1 -0
  464. package/declarations/app/data/schemas/badge.d.ts +3 -0
  465. package/declarations/app/data/schemas/badge.d.ts.map +1 -0
  466. package/declarations/app/data/schemas/bookmark.d.ts +3 -0
  467. package/declarations/app/data/schemas/bookmark.d.ts.map +1 -0
  468. package/declarations/app/data/schemas/helpers.d.ts +15 -0
  469. package/declarations/app/data/schemas/helpers.d.ts.map +1 -0
  470. package/declarations/app/data/schemas/index.d.ts +3 -0
  471. package/declarations/app/data/schemas/index.d.ts.map +1 -0
  472. package/declarations/app/data/schemas/tag-group.d.ts +3 -0
  473. package/declarations/app/data/schemas/tag-group.d.ts.map +1 -0
  474. package/declarations/app/data/schemas/tag-info.d.ts +3 -0
  475. package/declarations/app/data/schemas/tag-info.d.ts.map +1 -0
  476. package/declarations/app/data/schemas/tag-notification.d.ts +3 -0
  477. package/declarations/app/data/schemas/tag-notification.d.ts.map +1 -0
  478. package/declarations/app/data/schemas/tag-settings.d.ts +3 -0
  479. package/declarations/app/data/schemas/tag-settings.d.ts.map +1 -0
  480. package/declarations/app/data/schemas/tag.d.ts +3 -0
  481. package/declarations/app/data/schemas/tag.d.ts.map +1 -0
  482. package/declarations/app/data/schemas/topic-details.d.ts +3 -0
  483. package/declarations/app/data/schemas/topic-details.d.ts.map +1 -0
  484. package/declarations/app/data/schemas/user-badge.d.ts +3 -0
  485. package/declarations/app/data/schemas/user-badge.d.ts.map +1 -0
  486. package/declarations/app/data/warp-rest-model.d.ts +23 -0
  487. package/declarations/app/data/warp-rest-model.d.ts.map +1 -0
  488. package/declarations/app/deprecation-workflow.d.ts.map +1 -1
  489. package/declarations/app/form-kit/components/fk/control/checkbox.d.ts +0 -1
  490. package/declarations/app/form-kit/components/fk/control/checkbox.d.ts.map +1 -1
  491. package/declarations/app/form-kit/components/fk/control/icon.d.ts.map +1 -1
  492. package/declarations/app/form-kit/components/fk/control/input.d.ts +2 -0
  493. package/declarations/app/form-kit/components/fk/control/input.d.ts.map +1 -1
  494. package/declarations/app/form-kit/components/fk/control/password.d.ts.map +1 -1
  495. package/declarations/app/form-kit/components/fk/control/select.d.ts.map +1 -1
  496. package/declarations/app/form-kit/components/fk/control/tag-chooser.d.ts.map +1 -1
  497. package/declarations/app/form-kit/components/fk/field-data.d.ts +15 -4
  498. package/declarations/app/form-kit/components/fk/field-data.d.ts.map +1 -1
  499. package/declarations/app/form-kit/components/fk/form.d.ts.map +1 -1
  500. package/declarations/app/form-kit/lib/constants.d.ts +0 -1
  501. package/declarations/app/form-kit/lib/constants.d.ts.map +1 -1
  502. package/declarations/app/form-kit/lib/validator.d.ts.map +1 -1
  503. package/declarations/app/helpers/category-list-subcategories.d.ts +30 -0
  504. package/declarations/app/helpers/category-list-subcategories.d.ts.map +1 -0
  505. package/declarations/app/initializers/dev-tools.d.ts +10 -3
  506. package/declarations/app/initializers/dev-tools.d.ts.map +1 -1
  507. package/declarations/app/initializers/freeze-block-registry.d.ts +21 -6
  508. package/declarations/app/initializers/freeze-block-registry.d.ts.map +1 -1
  509. package/declarations/app/instance-initializers/design-wizard.d.ts +5 -0
  510. package/declarations/app/instance-initializers/design-wizard.d.ts.map +1 -0
  511. package/declarations/app/instance-initializers/signup-cta.d.ts.map +1 -1
  512. package/declarations/app/instance-initializers/topic-footer-buttons.d.ts.map +1 -1
  513. package/declarations/app/instance-initializers/verify-session-after-restore.d.ts +7 -0
  514. package/declarations/app/instance-initializers/verify-session-after-restore.d.ts.map +1 -0
  515. package/declarations/app/instance-initializers/video-placeholder.d.ts.map +1 -1
  516. package/declarations/app/lib/-internals/drag-and-drop/consumer-may-throw.d.ts +17 -0
  517. package/declarations/app/lib/-internals/drag-and-drop/consumer-may-throw.d.ts.map +1 -0
  518. package/declarations/app/lib/-internals/drag-and-drop/drag-dwell.d.ts +64 -0
  519. package/declarations/app/lib/-internals/drag-and-drop/drag-dwell.d.ts.map +1 -0
  520. package/declarations/app/lib/-internals/drag-and-drop/drop-target-kernel.d.ts +145 -0
  521. package/declarations/app/lib/-internals/drag-and-drop/drop-target-kernel.d.ts.map +1 -0
  522. package/declarations/app/lib/-internals/drag-and-drop/external-vocabulary.d.ts +63 -0
  523. package/declarations/app/lib/-internals/drag-and-drop/external-vocabulary.d.ts.map +1 -0
  524. package/declarations/app/lib/-internals/drag-and-drop/native-drag-adoption.d.ts +60 -0
  525. package/declarations/app/lib/-internals/drag-and-drop/native-drag-adoption.d.ts.map +1 -0
  526. package/declarations/app/lib/-internals/drag-and-drop/vocabulary.d.ts +81 -0
  527. package/declarations/app/lib/-internals/drag-and-drop/vocabulary.d.ts.map +1 -0
  528. package/declarations/app/lib/ajax-error.d.ts +1 -0
  529. package/declarations/app/lib/ajax-error.d.ts.map +1 -1
  530. package/declarations/app/lib/api.d.ts +1 -0
  531. package/declarations/app/lib/api.d.ts.map +1 -1
  532. package/declarations/app/lib/beacon-pageview.d.ts.map +1 -1
  533. package/declarations/app/lib/blocks/-internals/components/block-layout-wrapper.d.ts +14 -78
  534. package/declarations/app/lib/blocks/-internals/components/block-layout-wrapper.d.ts.map +1 -1
  535. package/declarations/app/lib/blocks/-internals/components/block-outlet-inline-error.d.ts +10 -7
  536. package/declarations/app/lib/blocks/-internals/components/block-outlet-inline-error.d.ts.map +1 -1
  537. package/declarations/app/lib/blocks/-internals/components/block-outlet-root-container.d.ts +21 -12
  538. package/declarations/app/lib/blocks/-internals/components/block-outlet-root-container.d.ts.map +1 -1
  539. package/declarations/app/lib/blocks/-internals/css.d.ts +21 -24
  540. package/declarations/app/lib/blocks/-internals/css.d.ts.map +1 -1
  541. package/declarations/app/lib/blocks/-internals/debug-hooks.d.ts +193 -138
  542. package/declarations/app/lib/blocks/-internals/debug-hooks.d.ts.map +1 -1
  543. package/declarations/app/lib/blocks/-internals/decorator.d.ts +43 -216
  544. package/declarations/app/lib/blocks/-internals/decorator.d.ts.map +1 -1
  545. package/declarations/app/lib/blocks/-internals/entry-processing.d.ts +61 -129
  546. package/declarations/app/lib/blocks/-internals/entry-processing.d.ts.map +1 -1
  547. package/declarations/app/lib/blocks/-internals/error.d.ts +61 -69
  548. package/declarations/app/lib/blocks/-internals/error.d.ts.map +1 -1
  549. package/declarations/app/lib/blocks/-internals/matching/condition-evaluator.d.ts +18 -12
  550. package/declarations/app/lib/blocks/-internals/matching/condition-evaluator.d.ts.map +1 -1
  551. package/declarations/app/lib/blocks/-internals/matching/outlet-matcher.d.ts +64 -37
  552. package/declarations/app/lib/blocks/-internals/matching/outlet-matcher.d.ts.map +1 -1
  553. package/declarations/app/lib/blocks/-internals/matching/page-definitions.d.ts +105 -106
  554. package/declarations/app/lib/blocks/-internals/matching/page-definitions.d.ts.map +1 -1
  555. package/declarations/app/lib/blocks/-internals/matching/url-matcher.d.ts +19 -11
  556. package/declarations/app/lib/blocks/-internals/matching/url-matcher.d.ts.map +1 -1
  557. package/declarations/app/lib/blocks/-internals/matching/value-matcher.d.ts +42 -34
  558. package/declarations/app/lib/blocks/-internals/matching/value-matcher.d.ts.map +1 -1
  559. package/declarations/app/lib/blocks/-internals/patterns.d.ts +85 -83
  560. package/declarations/app/lib/blocks/-internals/patterns.d.ts.map +1 -1
  561. package/declarations/app/lib/blocks/-internals/registry/block.d.ts +47 -85
  562. package/declarations/app/lib/blocks/-internals/registry/block.d.ts.map +1 -1
  563. package/declarations/app/lib/blocks/-internals/registry/condition.d.ts +26 -26
  564. package/declarations/app/lib/blocks/-internals/registry/condition.d.ts.map +1 -1
  565. package/declarations/app/lib/blocks/-internals/registry/helpers.d.ts +54 -47
  566. package/declarations/app/lib/blocks/-internals/registry/helpers.d.ts.map +1 -1
  567. package/declarations/app/lib/blocks/-internals/registry/outlet.d.ts +30 -25
  568. package/declarations/app/lib/blocks/-internals/registry/outlet.d.ts.map +1 -1
  569. package/declarations/app/lib/blocks/-internals/types.d.ts +58 -0
  570. package/declarations/app/lib/blocks/-internals/types.d.ts.map +1 -0
  571. package/declarations/app/lib/blocks/-internals/utils.d.ts +59 -86
  572. package/declarations/app/lib/blocks/-internals/utils.d.ts.map +1 -1
  573. package/declarations/app/lib/blocks/-internals/validation/args.d.ts +178 -224
  574. package/declarations/app/lib/blocks/-internals/validation/args.d.ts.map +1 -1
  575. package/declarations/app/lib/blocks/-internals/validation/block-args.d.ts +32 -23
  576. package/declarations/app/lib/blocks/-internals/validation/block-args.d.ts.map +1 -1
  577. package/declarations/app/lib/blocks/-internals/validation/block-decorator.d.ts +23 -17
  578. package/declarations/app/lib/blocks/-internals/validation/block-decorator.d.ts.map +1 -1
  579. package/declarations/app/lib/blocks/-internals/validation/condition-args.d.ts +26 -16
  580. package/declarations/app/lib/blocks/-internals/validation/condition-args.d.ts.map +1 -1
  581. package/declarations/app/lib/blocks/-internals/validation/conditions.d.ts +23 -18
  582. package/declarations/app/lib/blocks/-internals/validation/conditions.d.ts.map +1 -1
  583. package/declarations/app/lib/blocks/-internals/validation/constraints.d.ts +31 -17
  584. package/declarations/app/lib/blocks/-internals/validation/constraints.d.ts.map +1 -1
  585. package/declarations/app/lib/blocks/-internals/validation/layout.d.ts +77 -85
  586. package/declarations/app/lib/blocks/-internals/validation/layout.d.ts.map +1 -1
  587. package/declarations/app/lib/blocks/index.d.ts +127 -2
  588. package/declarations/app/lib/blocks/index.d.ts.map +1 -1
  589. package/declarations/app/lib/codeblock-buttons.d.ts.map +1 -1
  590. package/declarations/app/lib/composer/actions-registry.d.ts +4 -0
  591. package/declarations/app/lib/composer/actions-registry.d.ts.map +1 -0
  592. package/declarations/app/lib/composer/composer-position.d.ts.map +1 -1
  593. package/declarations/app/lib/composer/preview-block.d.ts +23 -0
  594. package/declarations/app/lib/composer/preview-block.d.ts.map +1 -0
  595. package/declarations/app/lib/composer/rich-editor-extensions.d.ts +210 -139
  596. package/declarations/app/lib/composer/rich-editor-extensions.d.ts.map +1 -1
  597. package/declarations/app/lib/composer/text-manipulation.d.ts +172 -251
  598. package/declarations/app/lib/composer/text-manipulation.d.ts.map +1 -1
  599. package/declarations/app/lib/composer/toolbar.d.ts +162 -81
  600. package/declarations/app/lib/composer/toolbar.d.ts.map +1 -1
  601. package/declarations/app/lib/constants.d.ts +2 -0
  602. package/declarations/app/lib/constants.d.ts.map +1 -1
  603. package/declarations/app/lib/content-localization.d.ts +18 -0
  604. package/declarations/app/lib/content-localization.d.ts.map +1 -0
  605. package/declarations/app/lib/customization-source.d.ts +26 -0
  606. package/declarations/app/lib/customization-source.d.ts.map +1 -0
  607. package/declarations/app/lib/dag.d.ts +73 -79
  608. package/declarations/app/lib/dag.d.ts.map +1 -1
  609. package/declarations/app/lib/deprecated.d.ts +21 -3
  610. package/declarations/app/lib/deprecated.d.ts.map +1 -1
  611. package/declarations/app/lib/design-wizard-preview.d.ts +52 -0
  612. package/declarations/app/lib/design-wizard-preview.d.ts.map +1 -0
  613. package/declarations/app/lib/download-blob.d.ts +3 -0
  614. package/declarations/app/lib/download-blob.d.ts.map +1 -0
  615. package/declarations/app/lib/download-strategy.d.ts +2 -0
  616. package/declarations/app/lib/download-strategy.d.ts.map +1 -0
  617. package/declarations/app/lib/element-class-lease.d.ts +37 -0
  618. package/declarations/app/lib/element-class-lease.d.ts.map +1 -0
  619. package/declarations/app/lib/filter-mode.d.ts +9 -0
  620. package/declarations/app/lib/filter-mode.d.ts.map +1 -1
  621. package/declarations/app/lib/formatter.d.ts +3 -1
  622. package/declarations/app/lib/formatter.d.ts.map +1 -1
  623. package/declarations/app/lib/geometry.d.ts +11 -0
  624. package/declarations/app/lib/geometry.d.ts.map +1 -0
  625. package/declarations/app/lib/grant-badge-utils.d.ts +1 -0
  626. package/declarations/app/lib/grant-badge-utils.d.ts.map +1 -1
  627. package/declarations/app/lib/helpers.d.ts +43 -9
  628. package/declarations/app/lib/helpers.d.ts.map +1 -1
  629. package/declarations/app/lib/highlight-syntax.d.ts.map +1 -1
  630. package/declarations/app/lib/homepage-router-overrides.d.ts +4 -0
  631. package/declarations/app/lib/homepage-router-overrides.d.ts.map +1 -1
  632. package/declarations/app/lib/icon-library.d.ts +7 -3
  633. package/declarations/app/lib/icon-library.d.ts.map +1 -1
  634. package/declarations/app/lib/later.d.ts +3 -1
  635. package/declarations/app/lib/later.d.ts.map +1 -1
  636. package/declarations/app/lib/load-accessible-name.d.ts +16 -0
  637. package/declarations/app/lib/load-accessible-name.d.ts.map +1 -0
  638. package/declarations/app/lib/locale-normalizer.d.ts +11 -0
  639. package/declarations/app/lib/locale-normalizer.d.ts.map +1 -0
  640. package/declarations/app/lib/model-extensions.d.ts +1 -1
  641. package/declarations/app/lib/model-extensions.d.ts.map +1 -1
  642. package/declarations/app/lib/optimistic-post-updates.d.ts +6 -0
  643. package/declarations/app/lib/optimistic-post-updates.d.ts.map +1 -0
  644. package/declarations/app/lib/plugin-api.d.ts +62 -6
  645. package/declarations/app/lib/plugin-api.d.ts.map +1 -1
  646. package/declarations/app/lib/popular-themes.d.ts.map +1 -1
  647. package/declarations/app/lib/registry/block-outlets.d.ts +2 -2
  648. package/declarations/app/lib/registry/block-outlets.d.ts.map +1 -1
  649. package/declarations/app/lib/registry/transformers.d.ts.map +1 -1
  650. package/declarations/app/lib/report-client-error.d.ts +10 -0
  651. package/declarations/app/lib/report-client-error.d.ts.map +1 -0
  652. package/declarations/app/lib/resize-measurements.d.ts +43 -0
  653. package/declarations/app/lib/resize-measurements.d.ts.map +1 -0
  654. package/declarations/app/lib/reviewable-registry.d.ts +12 -0
  655. package/declarations/app/lib/reviewable-registry.d.ts.map +1 -0
  656. package/declarations/app/lib/search.d.ts +1 -0
  657. package/declarations/app/lib/search.d.ts.map +1 -1
  658. package/declarations/app/lib/setting-field-registry.d.ts.map +1 -1
  659. package/declarations/app/lib/shortcut-format.d.ts +57 -0
  660. package/declarations/app/lib/shortcut-format.d.ts.map +1 -0
  661. package/declarations/app/lib/sidebar/active-link.d.ts +25 -0
  662. package/declarations/app/lib/sidebar/active-link.d.ts.map +1 -0
  663. package/declarations/app/lib/sidebar/admin-nav-map.d.ts +11 -0
  664. package/declarations/app/lib/sidebar/admin-nav-map.d.ts.map +1 -1
  665. package/declarations/app/lib/sidebar/admin-sidebar.d.ts.map +1 -1
  666. package/declarations/app/lib/sidebar/base-custom-sidebar-section.d.ts +50 -0
  667. package/declarations/app/lib/sidebar/base-custom-sidebar-section.d.ts.map +1 -1
  668. package/declarations/app/lib/sidebar/custom-sections.d.ts.map +1 -1
  669. package/declarations/app/lib/sidebar/helpers.d.ts +8 -0
  670. package/declarations/app/lib/sidebar/helpers.d.ts.map +1 -1
  671. package/declarations/app/lib/sidebar/link-drop.d.ts +49 -0
  672. package/declarations/app/lib/sidebar/link-drop.d.ts.map +1 -0
  673. package/declarations/app/lib/sidebar/section-link.d.ts +0 -1
  674. package/declarations/app/lib/sidebar/section-link.d.ts.map +1 -1
  675. package/declarations/app/lib/sidebar/section.d.ts +23 -6
  676. package/declarations/app/lib/sidebar/section.d.ts.map +1 -1
  677. package/declarations/app/lib/sidebar/user/community-section/my-posts-section-link.d.ts +1 -1
  678. package/declarations/app/lib/sidebar/user/tags-section/tag-section-link.d.ts +1 -1
  679. package/declarations/app/lib/svg-sprite-loader.d.ts +31 -0
  680. package/declarations/app/lib/svg-sprite-loader.d.ts.map +1 -1
  681. package/declarations/app/lib/text.d.ts +1 -0
  682. package/declarations/app/lib/text.d.ts.map +1 -1
  683. package/declarations/app/lib/textarea-text-manipulation.d.ts +67 -81
  684. package/declarations/app/lib/textarea-text-manipulation.d.ts.map +1 -1
  685. package/declarations/app/lib/url.d.ts +0 -1
  686. package/declarations/app/lib/url.d.ts.map +1 -1
  687. package/declarations/app/lib/user-search.d.ts.map +1 -1
  688. package/declarations/app/lib/utilities.d.ts +7 -0
  689. package/declarations/app/lib/utilities.d.ts.map +1 -1
  690. package/declarations/app/models/archetype.d.ts +3 -2
  691. package/declarations/app/models/archetype.d.ts.map +1 -1
  692. package/declarations/app/models/badge-grouping.d.ts +1 -0
  693. package/declarations/app/models/badge-grouping.d.ts.map +1 -1
  694. package/declarations/app/models/badge.d.ts +16 -10
  695. package/declarations/app/models/badge.d.ts.map +1 -1
  696. package/declarations/app/models/bookmark.d.ts +12 -6
  697. package/declarations/app/models/bookmark.d.ts.map +1 -1
  698. package/declarations/app/models/category.d.ts.map +1 -1
  699. package/declarations/app/models/composer.d.ts.map +1 -1
  700. package/declarations/app/models/post-stream.d.ts +14 -1
  701. package/declarations/app/models/post-stream.d.ts.map +1 -1
  702. package/declarations/app/models/post.d.ts +1 -0
  703. package/declarations/app/models/post.d.ts.map +1 -1
  704. package/declarations/app/models/reviewable-history.d.ts +2 -4
  705. package/declarations/app/models/reviewable-history.d.ts.map +1 -1
  706. package/declarations/app/models/reviewable.d.ts +40 -0
  707. package/declarations/app/models/reviewable.d.ts.map +1 -1
  708. package/declarations/app/models/site.d.ts +2 -0
  709. package/declarations/app/models/site.d.ts.map +1 -1
  710. package/declarations/app/models/tag-group.d.ts +4 -3
  711. package/declarations/app/models/tag-group.d.ts.map +1 -1
  712. package/declarations/app/models/tag-info.d.ts +3 -13
  713. package/declarations/app/models/tag-info.d.ts.map +1 -1
  714. package/declarations/app/models/tag-notification.d.ts +3 -2
  715. package/declarations/app/models/tag-notification.d.ts.map +1 -1
  716. package/declarations/app/models/tag-settings.d.ts +3 -2
  717. package/declarations/app/models/tag-settings.d.ts.map +1 -1
  718. package/declarations/app/models/tag.d.ts +3 -3
  719. package/declarations/app/models/tag.d.ts.map +1 -1
  720. package/declarations/app/models/topic-details.d.ts +13 -17
  721. package/declarations/app/models/topic-details.d.ts.map +1 -1
  722. package/declarations/app/models/topic-tracking-state.d.ts.map +1 -1
  723. package/declarations/app/models/user-badge.d.ts +15 -32
  724. package/declarations/app/models/user-badge.d.ts.map +1 -1
  725. package/declarations/app/models/user.d.ts +4 -4
  726. package/declarations/app/models/user.d.ts.map +1 -1
  727. package/declarations/app/resolver.d.ts +1 -1
  728. package/declarations/app/routes/application.d.ts +1 -0
  729. package/declarations/app/routes/application.d.ts.map +1 -1
  730. package/declarations/app/routes/build-category-route.d.ts.map +1 -1
  731. package/declarations/app/routes/build-group-messages-route.d.ts.map +1 -1
  732. package/declarations/app/routes/build-private-messages-route.d.ts.map +1 -1
  733. package/declarations/app/routes/discovery/index.d.ts.map +1 -1
  734. package/declarations/app/routes/login.d.ts.map +1 -1
  735. package/declarations/app/routes/signup.d.ts.map +1 -1
  736. package/declarations/app/routes/topic/from-params.d.ts.map +1 -1
  737. package/declarations/app/routes/user/badges.d.ts +1 -1
  738. package/declarations/app/routes/user/badges.d.ts.map +1 -1
  739. package/declarations/app/routes/user-activity-stream.d.ts +3 -3
  740. package/declarations/app/routes/user-activity-stream.d.ts.map +1 -1
  741. package/declarations/app/routes/wizard.d.ts +1 -0
  742. package/declarations/app/routes/wizard.d.ts.map +1 -1
  743. package/declarations/app/services/a11y.d.ts.map +1 -1
  744. package/declarations/app/services/blocks.d.ts +41 -49
  745. package/declarations/app/services/blocks.d.ts.map +1 -1
  746. package/declarations/app/services/bookmark-api.d.ts +1 -1
  747. package/declarations/app/services/bookmark-api.d.ts.map +1 -1
  748. package/declarations/app/services/capabilities.d.ts +22 -0
  749. package/declarations/app/services/capabilities.d.ts.map +1 -1
  750. package/declarations/app/services/composer.d.ts +6 -3
  751. package/declarations/app/services/composer.d.ts.map +1 -1
  752. package/declarations/app/services/deprecation-warning-handler.d.ts.map +1 -1
  753. package/declarations/app/services/design-wizard.d.ts +69 -0
  754. package/declarations/app/services/design-wizard.d.ts.map +1 -0
  755. package/declarations/app/services/discovery.d.ts +9 -0
  756. package/declarations/app/services/discovery.d.ts.map +1 -1
  757. package/declarations/app/services/drag-and-drop.d.ts +52 -0
  758. package/declarations/app/services/drag-and-drop.d.ts.map +1 -0
  759. package/declarations/app/services/exception.d.ts +15 -0
  760. package/declarations/app/services/exception.d.ts.map +1 -0
  761. package/declarations/app/services/human-activity-tracker.d.ts +1 -1
  762. package/declarations/app/services/human-activity-tracker.d.ts.map +1 -1
  763. package/declarations/app/services/keyboard-shortcuts.d.ts +12 -4
  764. package/declarations/app/services/keyboard-shortcuts.d.ts.map +1 -1
  765. package/declarations/app/services/loading-slider.d.ts +3 -1
  766. package/declarations/app/services/loading-slider.d.ts.map +1 -1
  767. package/declarations/app/services/login.d.ts +3 -0
  768. package/declarations/app/services/login.d.ts.map +1 -1
  769. package/declarations/app/services/presence.d.ts +1 -1
  770. package/declarations/app/services/presence.d.ts.map +1 -1
  771. package/declarations/app/services/search.d.ts.map +1 -1
  772. package/declarations/app/services/warp-store.d.ts +11 -0
  773. package/declarations/app/services/warp-store.d.ts.map +1 -0
  774. package/declarations/app/static/dev-tools/block-debug/block-info.d.ts +30 -18
  775. package/declarations/app/static/dev-tools/block-debug/block-info.d.ts.map +1 -1
  776. package/declarations/app/static/dev-tools/block-debug/button.d.ts +7 -8
  777. package/declarations/app/static/dev-tools/block-debug/button.d.ts.map +1 -1
  778. package/declarations/app/static/dev-tools/block-debug/conditions-tree.d.ts +31 -9
  779. package/declarations/app/static/dev-tools/block-debug/conditions-tree.d.ts.map +1 -1
  780. package/declarations/app/static/dev-tools/block-debug/debug-logger.d.ts +86 -76
  781. package/declarations/app/static/dev-tools/block-debug/debug-logger.d.ts.map +1 -1
  782. package/declarations/app/static/dev-tools/block-debug/ghost-block.d.ts +35 -84
  783. package/declarations/app/static/dev-tools/block-debug/ghost-block.d.ts.map +1 -1
  784. package/declarations/app/static/dev-tools/block-debug/outlet-info.d.ts +21 -50
  785. package/declarations/app/static/dev-tools/block-debug/outlet-info.d.ts.map +1 -1
  786. package/declarations/app/static/dev-tools/block-debug/patch.d.ts +1 -1
  787. package/declarations/app/static/dev-tools/block-debug/patch.d.ts.map +1 -1
  788. package/declarations/app/static/dev-tools/entrypoint.d.ts +2 -1
  789. package/declarations/app/static/dev-tools/entrypoint.d.ts.map +1 -1
  790. package/declarations/app/static/dev-tools/styleguide/button.d.ts +5 -0
  791. package/declarations/app/static/dev-tools/styleguide/button.d.ts.map +1 -0
  792. package/declarations/app/static/dev-tools/toolbar.d.ts +11 -7
  793. package/declarations/app/static/dev-tools/toolbar.d.ts.map +1 -1
  794. package/declarations/app/static/dev-tools/tools.d.ts +15 -0
  795. package/declarations/app/static/dev-tools/tools.d.ts.map +1 -0
  796. package/declarations/app/static/prosemirror/components/prosemirror-editor.d.ts +107 -128
  797. package/declarations/app/static/prosemirror/components/prosemirror-editor.d.ts.map +1 -1
  798. package/declarations/app/static/prosemirror/core/keymap.d.ts.map +1 -1
  799. package/declarations/app/static/prosemirror/core/plugin.d.ts.map +1 -1
  800. package/declarations/app/static/prosemirror/extensions/code-block.d.ts.map +1 -1
  801. package/declarations/app/static/prosemirror/extensions/code.d.ts +2 -2
  802. package/declarations/app/static/prosemirror/extensions/code.d.ts.map +1 -1
  803. package/declarations/app/static/prosemirror/extensions/hard-break.d.ts +2 -2
  804. package/declarations/app/static/prosemirror/extensions/hard-break.d.ts.map +1 -1
  805. package/declarations/app/static/prosemirror/extensions/html-inline.d.ts.map +1 -1
  806. package/declarations/app/static/prosemirror/extensions/link.d.ts +2 -2
  807. package/declarations/app/static/prosemirror/extensions/link.d.ts.map +1 -1
  808. package/declarations/app/static/prosemirror/extensions/mention.d.ts.map +1 -1
  809. package/declarations/app/static/prosemirror/extensions/onebox.d.ts +1 -1
  810. package/declarations/app/static/prosemirror/extensions/override-drag-ghost.d.ts +4 -6
  811. package/declarations/app/static/prosemirror/extensions/override-drag-ghost.d.ts.map +1 -1
  812. package/declarations/app/static/prosemirror/extensions/placeholder.d.ts +3 -4
  813. package/declarations/app/static/prosemirror/extensions/placeholder.d.ts.map +1 -1
  814. package/declarations/app/static/prosemirror/extensions/preview-source.d.ts +10 -0
  815. package/declarations/app/static/prosemirror/extensions/preview-source.d.ts.map +1 -0
  816. package/declarations/app/static/prosemirror/extensions/preview-toolbar.d.ts +21 -0
  817. package/declarations/app/static/prosemirror/extensions/preview-toolbar.d.ts.map +1 -0
  818. package/declarations/app/static/prosemirror/extensions/quote.d.ts.map +1 -1
  819. package/declarations/app/static/prosemirror/extensions/register-default.d.ts +3 -4
  820. package/declarations/app/static/prosemirror/extensions/register-default.d.ts.map +1 -1
  821. package/declarations/app/static/prosemirror/extensions/strikethrough.d.ts +2 -2
  822. package/declarations/app/static/prosemirror/extensions/strikethrough.d.ts.map +1 -1
  823. package/declarations/app/static/prosemirror/extensions/strong.d.ts +4 -0
  824. package/declarations/app/static/prosemirror/extensions/strong.d.ts.map +1 -0
  825. package/declarations/app/static/prosemirror/extensions/table.d.ts.map +1 -1
  826. package/declarations/app/static/prosemirror/extensions/trailing-inline-space.d.ts +2 -2
  827. package/declarations/app/static/prosemirror/extensions/trailing-inline-space.d.ts.map +1 -1
  828. package/declarations/app/static/prosemirror/extensions/trailing-paragraph.d.ts +2 -2
  829. package/declarations/app/static/prosemirror/extensions/trailing-paragraph.d.ts.map +1 -1
  830. package/declarations/app/static/prosemirror/extensions/underline.d.ts +2 -2
  831. package/declarations/app/static/prosemirror/extensions/underline.d.ts.map +1 -1
  832. package/declarations/app/static/prosemirror/extensions/word-paste.d.ts +0 -1
  833. package/declarations/app/static/prosemirror/extensions/word-paste.d.ts.map +1 -1
  834. package/declarations/app/static/prosemirror/lib/glimmer-node-view.d.ts +4 -1
  835. package/declarations/app/static/prosemirror/lib/glimmer-node-view.d.ts.map +1 -1
  836. package/declarations/app/static/prosemirror/lib/text-manipulation.d.ts +48 -59
  837. package/declarations/app/static/prosemirror/lib/text-manipulation.d.ts.map +1 -1
  838. package/declarations/app/templates/review/show.d.ts +2 -5
  839. package/declarations/app/templates/review/show.d.ts.map +1 -1
  840. package/declarations/app/ui-kit/-internals/windowing/virtualizer.d.ts +149 -0
  841. package/declarations/app/ui-kit/-internals/windowing/virtualizer.d.ts.map +1 -0
  842. package/declarations/app/ui-kit/d-access-control-field.d.ts +11 -0
  843. package/declarations/app/ui-kit/d-access-control-field.d.ts.map +1 -0
  844. package/declarations/app/ui-kit/d-access-control.d.ts.map +1 -1
  845. package/declarations/app/ui-kit/d-async-content.d.ts +10 -0
  846. package/declarations/app/ui-kit/d-async-content.d.ts.map +1 -1
  847. package/declarations/app/ui-kit/d-button.d.ts +2 -2
  848. package/declarations/app/ui-kit/d-button.d.ts.map +1 -1
  849. package/declarations/app/ui-kit/d-calendar-date-time-input.d.ts.map +1 -1
  850. package/declarations/app/ui-kit/d-combo-button.d.ts +74 -2
  851. package/declarations/app/ui-kit/d-combo-button.d.ts.map +1 -1
  852. package/declarations/app/ui-kit/d-copy-button.d.ts +17 -8
  853. package/declarations/app/ui-kit/d-copy-button.d.ts.map +1 -1
  854. package/declarations/app/ui-kit/d-date-input.d.ts +1 -1
  855. package/declarations/app/ui-kit/d-date-picker.d.ts +1 -1
  856. package/declarations/app/ui-kit/d-editor.d.ts.map +1 -1
  857. package/declarations/app/ui-kit/d-filter-controls.d.ts +18 -1
  858. package/declarations/app/ui-kit/d-filter-controls.d.ts.map +1 -1
  859. package/declarations/app/ui-kit/d-filter-input.d.ts.map +1 -1
  860. package/declarations/app/ui-kit/d-icon-grid-picker/content.d.ts +62 -17
  861. package/declarations/app/ui-kit/d-icon-grid-picker/content.d.ts.map +1 -1
  862. package/declarations/app/ui-kit/d-icon-grid-picker/index.d.ts +6 -8
  863. package/declarations/app/ui-kit/d-icon-grid-picker/index.d.ts.map +1 -1
  864. package/declarations/app/ui-kit/d-load-more.d.ts +78 -19
  865. package/declarations/app/ui-kit/d-load-more.d.ts.map +1 -1
  866. package/declarations/app/ui-kit/d-modal.d.ts.map +1 -1
  867. package/declarations/app/ui-kit/{d-select.d.ts → d-native-select.d.ts} +5 -4
  868. package/declarations/app/ui-kit/d-native-select.d.ts.map +1 -0
  869. package/declarations/app/ui-kit/d-resize-handles.d.ts +243 -0
  870. package/declarations/app/ui-kit/d-resize-handles.d.ts.map +1 -0
  871. package/declarations/app/ui-kit/d-resize-separator.d.ts +222 -0
  872. package/declarations/app/ui-kit/d-resize-separator.d.ts.map +1 -0
  873. package/declarations/app/ui-kit/d-shortcut.d.ts +99 -0
  874. package/declarations/app/ui-kit/d-shortcut.d.ts.map +1 -0
  875. package/declarations/app/ui-kit/d-skeleton.d.ts +99 -0
  876. package/declarations/app/ui-kit/d-skeleton.d.ts.map +1 -0
  877. package/declarations/app/ui-kit/d-text-field.d.ts +7 -2
  878. package/declarations/app/ui-kit/d-text-field.d.ts.map +1 -1
  879. package/declarations/app/ui-kit/d-virtual-list.d.ts +490 -0
  880. package/declarations/app/ui-kit/d-virtual-list.d.ts.map +1 -0
  881. package/declarations/app/ui-kit/helpers/d-category-link.d.ts.map +1 -1
  882. package/declarations/app/ui-kit/helpers/d-element.d.ts.map +1 -1
  883. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-auto-scroll.d.ts +108 -0
  884. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-auto-scroll.d.ts.map +1 -0
  885. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-external-target.d.ts +80 -0
  886. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-external-target.d.ts.map +1 -0
  887. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-monitor.d.ts +80 -0
  888. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-monitor.d.ts.map +1 -0
  889. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-source.d.ts +249 -0
  890. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-source.d.ts.map +1 -0
  891. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-target.d.ts +102 -0
  892. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-target.d.ts.map +1 -0
  893. package/declarations/app/ui-kit/modifiers/d-drag-dwell.d.ts +215 -0
  894. package/declarations/app/ui-kit/modifiers/d-drag-dwell.d.ts.map +1 -0
  895. package/declarations/app/ui-kit/modifiers/d-draggable.d.ts +15 -0
  896. package/declarations/app/ui-kit/modifiers/d-draggable.d.ts.map +1 -1
  897. package/declarations/app/ui-kit/modifiers/d-on-resize.d.ts +3 -0
  898. package/declarations/app/ui-kit/modifiers/d-on-resize.d.ts.map +1 -1
  899. package/declarations/app/ui-kit/modifiers/d-pointer-drag.d.ts +215 -0
  900. package/declarations/app/ui-kit/modifiers/d-pointer-drag.d.ts.map +1 -0
  901. package/declarations/app/ui-kit/modifiers/d-resize-edge.d.ts +170 -0
  902. package/declarations/app/ui-kit/modifiers/d-resize-edge.d.ts.map +1 -0
  903. package/declarations/app/ui-kit/modifiers/d-roving-focus/api-navigation.d.ts +25 -0
  904. package/declarations/app/ui-kit/modifiers/d-roving-focus/api-navigation.d.ts.map +1 -0
  905. package/declarations/app/ui-kit/modifiers/d-roving-focus/api.d.ts +13 -0
  906. package/declarations/app/ui-kit/modifiers/d-roving-focus/api.d.ts.map +1 -0
  907. package/declarations/app/ui-kit/modifiers/d-roving-focus/config.d.ts +34 -0
  908. package/declarations/app/ui-kit/modifiers/d-roving-focus/config.d.ts.map +1 -0
  909. package/declarations/app/ui-kit/modifiers/d-roving-focus/diagnostics.d.ts +16 -0
  910. package/declarations/app/ui-kit/modifiers/d-roving-focus/diagnostics.d.ts.map +1 -0
  911. package/declarations/app/ui-kit/modifiers/d-roving-focus/entry-policy.d.ts +15 -0
  912. package/declarations/app/ui-kit/modifiers/d-roving-focus/entry-policy.d.ts.map +1 -0
  913. package/declarations/app/ui-kit/modifiers/d-roving-focus/item-scope.d.ts +29 -0
  914. package/declarations/app/ui-kit/modifiers/d-roving-focus/item-scope.d.ts.map +1 -0
  915. package/declarations/app/ui-kit/modifiers/d-roving-focus/keyboard.d.ts +25 -0
  916. package/declarations/app/ui-kit/modifiers/d-roving-focus/keyboard.d.ts.map +1 -0
  917. package/declarations/app/ui-kit/modifiers/d-roving-focus/navigation.d.ts +52 -0
  918. package/declarations/app/ui-kit/modifiers/d-roving-focus/navigation.d.ts.map +1 -0
  919. package/declarations/app/ui-kit/modifiers/d-roving-focus/strategies/active-descendant.d.ts +42 -0
  920. package/declarations/app/ui-kit/modifiers/d-roving-focus/strategies/active-descendant.d.ts.map +1 -0
  921. package/declarations/app/ui-kit/modifiers/d-roving-focus/strategies/roving-tabindex.d.ts +34 -0
  922. package/declarations/app/ui-kit/modifiers/d-roving-focus/strategies/roving-tabindex.d.ts.map +1 -0
  923. package/declarations/app/ui-kit/modifiers/d-roving-focus/type-ahead.d.ts +26 -0
  924. package/declarations/app/ui-kit/modifiers/d-roving-focus/type-ahead.d.ts.map +1 -0
  925. package/declarations/app/ui-kit/modifiers/d-roving-focus/types.d.ts +400 -0
  926. package/declarations/app/ui-kit/modifiers/d-roving-focus/types.d.ts.map +1 -0
  927. package/declarations/app/ui-kit/modifiers/d-roving-focus.d.ts +105 -0
  928. package/declarations/app/ui-kit/modifiers/d-roving-focus.d.ts.map +1 -0
  929. package/declarations/app/ui-kit/modifiers/d-swipe.d.ts +8 -0
  930. package/declarations/app/ui-kit/modifiers/d-swipe.d.ts.map +1 -1
  931. package/declarations/app/ui-kit/modifiers/d-virtualizer.d.ts +131 -0
  932. package/declarations/app/ui-kit/modifiers/d-virtualizer.d.ts.map +1 -0
  933. package/declarations/float-kit/components/d-float-body.d.ts +39 -0
  934. package/declarations/float-kit/components/d-float-body.d.ts.map +1 -1
  935. package/declarations/float-kit/components/d-headless-menu.d.ts.map +1 -1
  936. package/declarations/float-kit/components/d-inline-float.d.ts +8 -6
  937. package/declarations/float-kit/components/d-inline-float.d.ts.map +1 -1
  938. package/declarations/float-kit/components/d-menu.d.ts +38 -7
  939. package/declarations/float-kit/components/d-menu.d.ts.map +1 -1
  940. package/declarations/float-kit/components/d-tooltip.d.ts +2 -0
  941. package/declarations/float-kit/components/d-tooltip.d.ts.map +1 -1
  942. package/declarations/float-kit/lib/constants.d.ts +71 -5
  943. package/declarations/float-kit/lib/constants.d.ts.map +1 -1
  944. package/declarations/float-kit/lib/d-menu-instance.d.ts +11 -10
  945. package/declarations/float-kit/lib/d-menu-instance.d.ts.map +1 -1
  946. package/declarations/float-kit/lib/d-tooltip-instance.d.ts.map +1 -1
  947. package/declarations/float-kit/lib/float-kit-instance.d.ts +50 -4
  948. package/declarations/float-kit/lib/float-kit-instance.d.ts.map +1 -1
  949. package/declarations/float-kit/lib/tab-order.d.ts +36 -0
  950. package/declarations/float-kit/lib/tab-order.d.ts.map +1 -0
  951. package/declarations/float-kit/lib/update-position.d.ts +11 -0
  952. package/declarations/float-kit/lib/update-position.d.ts.map +1 -1
  953. package/declarations/float-kit/modifiers/apply-floating-ui.d.ts.map +1 -1
  954. package/declarations/float-kit/modifiers/notify-positioned.d.ts +19 -0
  955. package/declarations/float-kit/modifiers/notify-positioned.d.ts.map +1 -0
  956. package/declarations/float-kit/modifiers/tab-order-inline.d.ts +55 -0
  957. package/declarations/float-kit/modifiers/tab-order-inline.d.ts.map +1 -0
  958. package/declarations/float-kit/services/menu.d.ts +11 -0
  959. package/declarations/float-kit/services/menu.d.ts.map +1 -1
  960. package/declarations/select-kit/components/dropdown-select-box.d.ts.map +1 -1
  961. package/declarations/select-kit/components/email-group-user-chooser-row.d.ts.map +1 -1
  962. package/declarations/select-kit/components/icon-picker.d.ts +3 -2
  963. package/declarations/select-kit/components/icon-picker.d.ts.map +1 -1
  964. package/declarations/select-kit/components/multi-select/multi-select-header.d.ts.map +1 -1
  965. package/declarations/select-kit/components/multi-select.d.ts.map +1 -1
  966. package/declarations/select-kit/components/multiple-categories-selector.d.ts +13 -0
  967. package/declarations/select-kit/components/multiple-categories-selector.d.ts.map +1 -0
  968. package/declarations/select-kit/components/select-kit/select-kit-row.d.ts.map +1 -1
  969. package/declarations/select-kit/components/selected-choice.d.ts +1 -0
  970. package/declarations/select-kit/components/selected-choice.d.ts.map +1 -1
  971. package/declarations/select-kit/components/tag-chooser.d.ts +3 -1
  972. package/declarations/select-kit/components/tag-chooser.d.ts.map +1 -1
  973. package/declarations/tests/acceptance/category-default-view-test.d.ts +2 -0
  974. package/declarations/tests/acceptance/category-default-view-test.d.ts.map +1 -0
  975. package/declarations/tests/acceptance/composer-preview-sizing-test.d.ts +2 -0
  976. package/declarations/tests/acceptance/composer-preview-sizing-test.d.ts.map +1 -0
  977. package/declarations/tests/acceptance/create-topic-button-click-test.d.ts +2 -0
  978. package/declarations/tests/acceptance/create-topic-button-click-test.d.ts.map +1 -0
  979. package/declarations/tests/acceptance/design-wizard-test.d.ts +2 -0
  980. package/declarations/tests/acceptance/design-wizard-test.d.ts.map +1 -0
  981. package/declarations/tests/acceptance/exception-test.d.ts +2 -0
  982. package/declarations/tests/acceptance/exception-test.d.ts.map +1 -0
  983. package/declarations/tests/acceptance/group-card-test.d.ts +2 -0
  984. package/declarations/tests/acceptance/group-card-test.d.ts.map +1 -0
  985. package/declarations/tests/acceptance/no-login-methods-test.d.ts +2 -0
  986. package/declarations/tests/acceptance/no-login-methods-test.d.ts.map +1 -0
  987. package/declarations/tests/acceptance/read-only-mode-test.d.ts +2 -0
  988. package/declarations/tests/acceptance/read-only-mode-test.d.ts.map +1 -0
  989. package/declarations/tests/acceptance/sidebar-link-drop-test.d.ts +2 -0
  990. package/declarations/tests/acceptance/sidebar-link-drop-test.d.ts.map +1 -0
  991. package/declarations/tests/acceptance/topic-list-preload-test.d.ts +2 -0
  992. package/declarations/tests/acceptance/topic-list-preload-test.d.ts.map +1 -0
  993. package/declarations/tests/acceptance/transformers/composer-minimum-post-length-test.d.ts +2 -0
  994. package/declarations/tests/acceptance/transformers/composer-minimum-post-length-test.d.ts.map +1 -0
  995. package/declarations/tests/acceptance/transformers/draft-icon-test.d.ts +2 -0
  996. package/declarations/tests/acceptance/transformers/draft-icon-test.d.ts.map +1 -0
  997. package/declarations/tests/fixtures/reports-bulk.d.ts.map +1 -1
  998. package/declarations/tests/fixtures/session-fixtures.d.ts.map +1 -1
  999. package/declarations/tests/fixtures/site-fixtures.d.ts +4 -0
  1000. package/declarations/tests/fixtures/site-fixtures.d.ts.map +1 -1
  1001. package/declarations/tests/fixtures/user-fixtures.d.ts +0 -1
  1002. package/declarations/tests/fixtures/user-fixtures.d.ts.map +1 -1
  1003. package/declarations/tests/helpers/component-test.d.ts.map +1 -1
  1004. package/declarations/tests/helpers/d-native-select-assertions.d.ts +2 -0
  1005. package/declarations/tests/helpers/d-native-select-assertions.d.ts.map +1 -0
  1006. package/declarations/tests/helpers/qunit-helpers.d.ts.map +1 -1
  1007. package/declarations/tests/helpers/review-pretender.d.ts.map +1 -1
  1008. package/declarations/tests/helpers/rich-editor-helper.d.ts +2 -2
  1009. package/declarations/tests/helpers/rich-editor-helper.d.ts.map +1 -1
  1010. package/declarations/tests/helpers/stub-intersection-observer.d.ts +4 -2
  1011. package/declarations/tests/helpers/stub-intersection-observer.d.ts.map +1 -1
  1012. package/declarations/tests/helpers/ui-kit/drag-and-drop-helper.d.ts +178 -0
  1013. package/declarations/tests/helpers/ui-kit/drag-and-drop-helper.d.ts.map +1 -0
  1014. package/declarations/tests/helpers/ui-kit/pointer-gesture-helper.d.ts +81 -0
  1015. package/declarations/tests/helpers/ui-kit/pointer-gesture-helper.d.ts.map +1 -0
  1016. package/declarations/tests/integration/components/admin-plugin-config-page-test.d.ts +2 -0
  1017. package/declarations/tests/integration/components/admin-plugin-config-page-test.d.ts.map +1 -0
  1018. package/declarations/tests/integration/components/admin-report-related-items-test.d.ts +2 -0
  1019. package/declarations/tests/integration/components/admin-report-related-items-test.d.ts.map +1 -0
  1020. package/declarations/tests/integration/components/admin-report-table-summary-test.d.ts +2 -0
  1021. package/declarations/tests/integration/components/admin-report-table-summary-test.d.ts.map +1 -0
  1022. package/declarations/tests/integration/components/category-list-subcategories-test.d.ts +2 -0
  1023. package/declarations/tests/integration/components/category-list-subcategories-test.d.ts.map +1 -0
  1024. package/declarations/tests/integration/components/composer/toggle-switch-test.d.ts +2 -0
  1025. package/declarations/tests/integration/components/composer/toggle-switch-test.d.ts.map +1 -0
  1026. package/declarations/tests/integration/components/composer-container-test.d.ts +2 -0
  1027. package/declarations/tests/integration/components/composer-container-test.d.ts.map +1 -0
  1028. package/declarations/tests/integration/components/dashboard/search-test.d.ts +2 -0
  1029. package/declarations/tests/integration/components/dashboard/search-test.d.ts.map +1 -0
  1030. package/declarations/tests/integration/components/dashboard/system-test.d.ts +2 -0
  1031. package/declarations/tests/integration/components/dashboard/system-test.d.ts.map +1 -0
  1032. package/declarations/tests/integration/components/dashboard/traffic-test.d.ts +2 -0
  1033. package/declarations/tests/integration/components/dashboard/traffic-test.d.ts.map +1 -0
  1034. package/declarations/tests/integration/components/design-wizard-sections-test.d.ts +2 -0
  1035. package/declarations/tests/integration/components/design-wizard-sections-test.d.ts.map +1 -0
  1036. package/declarations/tests/integration/components/dev-tools-toolbar-test.d.ts +2 -0
  1037. package/declarations/tests/integration/components/dev-tools-toolbar-test.d.ts.map +1 -0
  1038. package/declarations/tests/integration/components/float-kit/apply-floating-ui-test.d.ts +2 -0
  1039. package/declarations/tests/integration/components/float-kit/apply-floating-ui-test.d.ts.map +1 -0
  1040. package/declarations/tests/integration/components/float-kit/tab-order-inline-test.d.ts +2 -0
  1041. package/declarations/tests/integration/components/float-kit/tab-order-inline-test.d.ts.map +1 -0
  1042. package/declarations/tests/integration/components/group-link-test.d.ts +2 -0
  1043. package/declarations/tests/integration/components/group-link-test.d.ts.map +1 -0
  1044. package/declarations/tests/integration/components/modal/compare-groups-test.d.ts +2 -0
  1045. package/declarations/tests/integration/components/modal/compare-groups-test.d.ts.map +1 -0
  1046. package/declarations/tests/integration/components/modal/content-language-preferences-test.d.ts +2 -0
  1047. package/declarations/tests/integration/components/modal/content-language-preferences-test.d.ts.map +1 -0
  1048. package/declarations/tests/integration/components/more-topics/browse-more-test.d.ts +2 -0
  1049. package/declarations/tests/integration/components/more-topics/browse-more-test.d.ts.map +1 -0
  1050. package/declarations/tests/integration/components/prosemirror-editor/open-document-test.d.ts +2 -0
  1051. package/declarations/tests/integration/components/prosemirror-editor/open-document-test.d.ts.map +1 -0
  1052. package/declarations/tests/integration/components/prosemirror-editor/preview-node-view-test.d.ts +2 -0
  1053. package/declarations/tests/integration/components/prosemirror-editor/preview-node-view-test.d.ts.map +1 -0
  1054. package/declarations/tests/integration/components/reports/posters-by-member-type-report-test.d.ts +2 -0
  1055. package/declarations/tests/integration/components/reports/posters-by-member-type-report-test.d.ts.map +1 -0
  1056. package/declarations/tests/integration/components/select-kit/multiple-categories-selector-test.d.ts +2 -0
  1057. package/declarations/tests/integration/components/select-kit/multiple-categories-selector-test.d.ts.map +1 -0
  1058. package/declarations/tests/integration/components/sidebar-section-form-test.d.ts +2 -0
  1059. package/declarations/tests/integration/components/sidebar-section-form-test.d.ts.map +1 -0
  1060. package/declarations/tests/integration/components/topic-navigation-test.d.ts +2 -0
  1061. package/declarations/tests/integration/components/topic-navigation-test.d.ts.map +1 -0
  1062. package/declarations/tests/integration/components/topic-post-badges-test.d.ts +2 -0
  1063. package/declarations/tests/integration/components/topic-post-badges-test.d.ts.map +1 -0
  1064. package/declarations/tests/integration/lib/load-accessible-name-test.d.ts +2 -0
  1065. package/declarations/tests/integration/lib/load-accessible-name-test.d.ts.map +1 -0
  1066. package/declarations/tests/integration/modifiers/d-resize-edge-test.d.ts +2 -0
  1067. package/declarations/tests/integration/modifiers/d-resize-edge-test.d.ts.map +1 -0
  1068. package/declarations/tests/integration/ui-kit/d-combo-button-test.d.ts +2 -0
  1069. package/declarations/tests/integration/ui-kit/d-combo-button-test.d.ts.map +1 -0
  1070. package/declarations/tests/integration/ui-kit/d-element-test.d.ts +2 -0
  1071. package/declarations/tests/integration/ui-kit/d-element-test.d.ts.map +1 -0
  1072. package/declarations/tests/integration/ui-kit/d-native-select-test.d.ts +2 -0
  1073. package/declarations/tests/integration/ui-kit/d-native-select-test.d.ts.map +1 -0
  1074. package/declarations/tests/integration/ui-kit/d-resize-handles-test.d.ts +2 -0
  1075. package/declarations/tests/integration/ui-kit/d-resize-handles-test.d.ts.map +1 -0
  1076. package/declarations/tests/integration/ui-kit/d-resize-separator-test.d.ts +2 -0
  1077. package/declarations/tests/integration/ui-kit/d-resize-separator-test.d.ts.map +1 -0
  1078. package/declarations/tests/integration/ui-kit/d-shortcut-test.d.ts +2 -0
  1079. package/declarations/tests/integration/ui-kit/d-shortcut-test.d.ts.map +1 -0
  1080. package/declarations/tests/integration/ui-kit/d-skeleton-test.d.ts +2 -0
  1081. package/declarations/tests/integration/ui-kit/d-skeleton-test.d.ts.map +1 -0
  1082. package/declarations/tests/integration/ui-kit/d-virtual-list/anchoring-test.d.ts +2 -0
  1083. package/declarations/tests/integration/ui-kit/d-virtual-list/anchoring-test.d.ts.map +1 -0
  1084. package/declarations/tests/integration/ui-kit/d-virtual-list/api-surface-test.d.ts +2 -0
  1085. package/declarations/tests/integration/ui-kit/d-virtual-list/api-surface-test.d.ts.map +1 -0
  1086. package/declarations/tests/integration/ui-kit/d-virtual-list/container-test.d.ts +2 -0
  1087. package/declarations/tests/integration/ui-kit/d-virtual-list/container-test.d.ts.map +1 -0
  1088. package/declarations/tests/integration/ui-kit/d-virtual-list/deep-scroll-test.d.ts +2 -0
  1089. package/declarations/tests/integration/ui-kit/d-virtual-list/deep-scroll-test.d.ts.map +1 -0
  1090. package/declarations/tests/integration/ui-kit/d-virtual-list/edge-arm-test.d.ts +2 -0
  1091. package/declarations/tests/integration/ui-kit/d-virtual-list/edge-arm-test.d.ts.map +1 -0
  1092. package/declarations/tests/integration/ui-kit/d-virtual-list/edge-hysteresis-test.d.ts +2 -0
  1093. package/declarations/tests/integration/ui-kit/d-virtual-list/edge-hysteresis-test.d.ts.map +1 -0
  1094. package/declarations/tests/integration/ui-kit/d-virtual-list/edge-rearm-test.d.ts +2 -0
  1095. package/declarations/tests/integration/ui-kit/d-virtual-list/edge-rearm-test.d.ts.map +1 -0
  1096. package/declarations/tests/integration/ui-kit/d-virtual-list/edge-threshold-test.d.ts +2 -0
  1097. package/declarations/tests/integration/ui-kit/d-virtual-list/edge-threshold-test.d.ts.map +1 -0
  1098. package/declarations/tests/integration/ui-kit/d-virtual-list/edges-test.d.ts +2 -0
  1099. package/declarations/tests/integration/ui-kit/d-virtual-list/edges-test.d.ts.map +1 -0
  1100. package/declarations/tests/integration/ui-kit/d-virtual-list/estimate-reactivity-test.d.ts +2 -0
  1101. package/declarations/tests/integration/ui-kit/d-virtual-list/estimate-reactivity-test.d.ts.map +1 -0
  1102. package/declarations/tests/integration/ui-kit/d-virtual-list/follow-test.d.ts +2 -0
  1103. package/declarations/tests/integration/ui-kit/d-virtual-list/follow-test.d.ts.map +1 -0
  1104. package/declarations/tests/integration/ui-kit/d-virtual-list/index-test.d.ts +2 -0
  1105. package/declarations/tests/integration/ui-kit/d-virtual-list/index-test.d.ts.map +1 -0
  1106. package/declarations/tests/integration/ui-kit/d-virtual-list/inert-test.d.ts +2 -0
  1107. package/declarations/tests/integration/ui-kit/d-virtual-list/inert-test.d.ts.map +1 -0
  1108. package/declarations/tests/integration/ui-kit/d-virtual-list/lifecycle-test.d.ts +2 -0
  1109. package/declarations/tests/integration/ui-kit/d-virtual-list/lifecycle-test.d.ts.map +1 -0
  1110. package/declarations/tests/integration/ui-kit/d-virtual-list/measurement-test.d.ts +2 -0
  1111. package/declarations/tests/integration/ui-kit/d-virtual-list/measurement-test.d.ts.map +1 -0
  1112. package/declarations/tests/integration/ui-kit/d-virtual-list/mount-order-test.d.ts +2 -0
  1113. package/declarations/tests/integration/ui-kit/d-virtual-list/mount-order-test.d.ts.map +1 -0
  1114. package/declarations/tests/integration/ui-kit/d-virtual-list/options-reuse-test.d.ts +2 -0
  1115. package/declarations/tests/integration/ui-kit/d-virtual-list/options-reuse-test.d.ts.map +1 -0
  1116. package/declarations/tests/integration/ui-kit/d-virtual-list/overscan-input-test.d.ts +2 -0
  1117. package/declarations/tests/integration/ui-kit/d-virtual-list/overscan-input-test.d.ts.map +1 -0
  1118. package/declarations/tests/integration/ui-kit/d-virtual-list/overscan-window-test.d.ts +2 -0
  1119. package/declarations/tests/integration/ui-kit/d-virtual-list/overscan-window-test.d.ts.map +1 -0
  1120. package/declarations/tests/integration/ui-kit/d-virtual-list/pinned-guard-test.d.ts +2 -0
  1121. package/declarations/tests/integration/ui-kit/d-virtual-list/pinned-guard-test.d.ts.map +1 -0
  1122. package/declarations/tests/integration/ui-kit/d-virtual-list/published-state-test.d.ts +2 -0
  1123. package/declarations/tests/integration/ui-kit/d-virtual-list/published-state-test.d.ts.map +1 -0
  1124. package/declarations/tests/integration/ui-kit/d-virtual-list/rendering-test.d.ts +2 -0
  1125. package/declarations/tests/integration/ui-kit/d-virtual-list/rendering-test.d.ts.map +1 -0
  1126. package/declarations/tests/integration/ui-kit/d-virtual-list/resilience-test.d.ts +2 -0
  1127. package/declarations/tests/integration/ui-kit/d-virtual-list/resilience-test.d.ts.map +1 -0
  1128. package/declarations/tests/integration/ui-kit/d-virtual-list/sentinel-rearm-test.d.ts +2 -0
  1129. package/declarations/tests/integration/ui-kit/d-virtual-list/sentinel-rearm-test.d.ts.map +1 -0
  1130. package/declarations/tests/integration/ui-kit/d-virtual-list/shrink-window-test.d.ts +2 -0
  1131. package/declarations/tests/integration/ui-kit/d-virtual-list/shrink-window-test.d.ts.map +1 -0
  1132. package/declarations/tests/integration/ui-kit/d-virtual-list/stable-key-test.d.ts +2 -0
  1133. package/declarations/tests/integration/ui-kit/d-virtual-list/stable-key-test.d.ts.map +1 -0
  1134. package/declarations/tests/integration/ui-kit/d-virtual-list/viewport-test.d.ts +2 -0
  1135. package/declarations/tests/integration/ui-kit/d-virtual-list/viewport-test.d.ts.map +1 -0
  1136. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-adoption-test.d.ts +2 -0
  1137. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-adoption-test.d.ts.map +1 -0
  1138. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-auto-scroll-test.d.ts +2 -0
  1139. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-auto-scroll-test.d.ts.map +1 -0
  1140. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-external-target-test.d.ts +2 -0
  1141. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-external-target-test.d.ts.map +1 -0
  1142. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-monitor-test.d.ts +2 -0
  1143. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-monitor-test.d.ts.map +1 -0
  1144. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-test.d.ts +2 -0
  1145. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-test.d.ts.map +1 -0
  1146. package/declarations/tests/integration/ui-kit/modifiers/d-drag-dwell-test.d.ts +2 -0
  1147. package/declarations/tests/integration/ui-kit/modifiers/d-drag-dwell-test.d.ts.map +1 -0
  1148. package/declarations/tests/integration/ui-kit/modifiers/d-draggable-test.d.ts +2 -0
  1149. package/declarations/tests/integration/ui-kit/modifiers/d-draggable-test.d.ts.map +1 -0
  1150. package/declarations/tests/integration/ui-kit/modifiers/d-observe-intersection-test.d.ts +2 -0
  1151. package/declarations/tests/integration/ui-kit/modifiers/d-observe-intersection-test.d.ts.map +1 -0
  1152. package/declarations/tests/integration/ui-kit/modifiers/d-pointer-drag-test.d.ts +2 -0
  1153. package/declarations/tests/integration/ui-kit/modifiers/d-pointer-drag-test.d.ts.map +1 -0
  1154. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-api-test.d.ts +2 -0
  1155. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-api-test.d.ts.map +1 -0
  1156. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-control-test.d.ts +2 -0
  1157. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-control-test.d.ts.map +1 -0
  1158. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-cost-test.d.ts +2 -0
  1159. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-cost-test.d.ts.map +1 -0
  1160. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-lifecycle-test.d.ts +2 -0
  1161. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-lifecycle-test.d.ts.map +1 -0
  1162. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-test.d.ts +2 -0
  1163. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-test.d.ts.map +1 -0
  1164. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-typeahead-test.d.ts +2 -0
  1165. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-typeahead-test.d.ts.map +1 -0
  1166. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-windowed-test.d.ts +2 -0
  1167. package/declarations/tests/integration/ui-kit/modifiers/d-roving-focus-windowed-test.d.ts.map +1 -0
  1168. package/declarations/tests/setup-tests.d.ts.map +1 -1
  1169. package/declarations/tests/test-boot-ember-cli.d.ts +15 -0
  1170. package/declarations/tests/test-boot-ember-cli.d.ts.map +1 -1
  1171. package/declarations/tests/unit/admin/lib/color-scheme-manager-test.d.ts +2 -0
  1172. package/declarations/tests/unit/admin/lib/color-scheme-manager-test.d.ts.map +1 -0
  1173. package/declarations/tests/unit/admin/lib/format-language-test.d.ts +2 -0
  1174. package/declarations/tests/unit/admin/lib/format-language-test.d.ts.map +1 -0
  1175. package/declarations/tests/unit/instance-initializers/verify-session-after-restore-test.d.ts +2 -0
  1176. package/declarations/tests/unit/instance-initializers/verify-session-after-restore-test.d.ts.map +1 -0
  1177. package/declarations/tests/unit/lib/-internals/drag-and-drop/drag-dwell-test.d.ts +2 -0
  1178. package/declarations/tests/unit/lib/-internals/drag-and-drop/drag-dwell-test.d.ts.map +1 -0
  1179. package/declarations/tests/unit/lib/-internals/drag-and-drop/vocabulary-test.d.ts +2 -0
  1180. package/declarations/tests/unit/lib/-internals/drag-and-drop/vocabulary-test.d.ts.map +1 -0
  1181. package/declarations/tests/unit/lib/blocks/core/decorator-test.d.ts +2 -0
  1182. package/declarations/tests/unit/lib/blocks/core/decorator-test.d.ts.map +1 -0
  1183. package/declarations/tests/unit/lib/content-localization-test.d.ts +2 -0
  1184. package/declarations/tests/unit/lib/content-localization-test.d.ts.map +1 -0
  1185. package/declarations/tests/unit/lib/customization-source-test.d.ts +2 -0
  1186. package/declarations/tests/unit/lib/customization-source-test.d.ts.map +1 -0
  1187. package/declarations/tests/unit/lib/dag-test.d.ts.map +1 -1
  1188. package/declarations/tests/unit/lib/dashboard-reports-loader-test.d.ts +2 -0
  1189. package/declarations/tests/unit/lib/dashboard-reports-loader-test.d.ts.map +1 -0
  1190. package/declarations/tests/unit/lib/download-blob-test.d.ts +2 -0
  1191. package/declarations/tests/unit/lib/download-blob-test.d.ts.map +1 -0
  1192. package/declarations/tests/unit/lib/download-strategy-test.d.ts +2 -0
  1193. package/declarations/tests/unit/lib/download-strategy-test.d.ts.map +1 -0
  1194. package/declarations/tests/unit/lib/filter-mode-test.d.ts +2 -0
  1195. package/declarations/tests/unit/lib/filter-mode-test.d.ts.map +1 -0
  1196. package/declarations/tests/unit/lib/homepage-router-overrides-test.d.ts +2 -0
  1197. package/declarations/tests/unit/lib/homepage-router-overrides-test.d.ts.map +1 -0
  1198. package/declarations/tests/unit/lib/locale-normalizer-test.d.ts +2 -0
  1199. package/declarations/tests/unit/lib/locale-normalizer-test.d.ts.map +1 -0
  1200. package/declarations/tests/unit/lib/optimistic-post-updates-test.d.ts +2 -0
  1201. package/declarations/tests/unit/lib/optimistic-post-updates-test.d.ts.map +1 -0
  1202. package/declarations/tests/unit/lib/resize-measurements-test.d.ts +2 -0
  1203. package/declarations/tests/unit/lib/resize-measurements-test.d.ts.map +1 -0
  1204. package/declarations/tests/unit/lib/shortcut-format-test.d.ts +2 -0
  1205. package/declarations/tests/unit/lib/shortcut-format-test.d.ts.map +1 -0
  1206. package/declarations/tests/unit/lib/sidebar/active-link-test.d.ts +2 -0
  1207. package/declarations/tests/unit/lib/sidebar/active-link-test.d.ts.map +1 -0
  1208. package/declarations/tests/unit/lib/sidebar/link-drop-test.d.ts +2 -0
  1209. package/declarations/tests/unit/lib/sidebar/link-drop-test.d.ts.map +1 -0
  1210. package/declarations/tests/unit/lib/warp-model-extensions-test.d.ts +2 -0
  1211. package/declarations/tests/unit/lib/warp-model-extensions-test.d.ts.map +1 -0
  1212. package/declarations/tests/unit/services/capabilities-keyboard-test.d.ts +2 -0
  1213. package/declarations/tests/unit/services/capabilities-keyboard-test.d.ts.map +1 -0
  1214. package/declarations/tests/unit/services/composer-test.d.ts +2 -0
  1215. package/declarations/tests/unit/services/composer-test.d.ts.map +1 -0
  1216. package/declarations/tests/unit/services/discovery-test.d.ts +2 -0
  1217. package/declarations/tests/unit/services/discovery-test.d.ts.map +1 -0
  1218. package/declarations/tests/unit/services/drag-and-drop-test.d.ts +2 -0
  1219. package/declarations/tests/unit/services/drag-and-drop-test.d.ts.map +1 -0
  1220. package/declarations/tests/unit/test-boot/visual-readiness-test.d.ts +2 -0
  1221. package/declarations/tests/unit/test-boot/visual-readiness-test.d.ts.map +1 -0
  1222. package/declarations/tests/unit/ui-kit/virtualizer-test.d.ts +2 -0
  1223. package/declarations/tests/unit/ui-kit/virtualizer-test.d.ts.map +1 -0
  1224. package/declarations/tsconfig.tsbuildinfo +1 -1
  1225. package/declarations/type-tests/blocks/public-api-test.d.ts +2 -0
  1226. package/declarations/type-tests/blocks/public-api-test.d.ts.map +1 -0
  1227. package/declarations/type-tests/lib/dag-test.d.ts +2 -0
  1228. package/declarations/type-tests/lib/dag-test.d.ts.map +1 -0
  1229. package/declarations/type-tests/lib/later-test.d.ts +2 -0
  1230. package/declarations/type-tests/lib/later-test.d.ts.map +1 -0
  1231. package/declarations/type-tests/ui-kit/create-drag-dwell-test.d.ts +2 -0
  1232. package/declarations/type-tests/ui-kit/create-drag-dwell-test.d.ts.map +1 -0
  1233. package/declarations/type-tests/ui-kit/d-combo-button-test.d.ts +3 -0
  1234. package/declarations/type-tests/ui-kit/d-combo-button-test.d.ts.map +1 -0
  1235. package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-errors-test.d.ts +3 -0
  1236. package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-errors-test.d.ts.map +1 -0
  1237. package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-test.d.ts +3 -0
  1238. package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-test.d.ts.map +1 -0
  1239. package/declarations/type-tests/ui-kit/d-drag-and-drop-errors-test.d.ts +3 -0
  1240. package/declarations/type-tests/ui-kit/d-drag-and-drop-errors-test.d.ts.map +1 -0
  1241. package/declarations/type-tests/ui-kit/d-drag-and-drop-external-errors-test.d.ts +3 -0
  1242. package/declarations/type-tests/ui-kit/d-drag-and-drop-external-errors-test.d.ts.map +1 -0
  1243. package/declarations/type-tests/ui-kit/d-drag-and-drop-external-test.d.ts +3 -0
  1244. package/declarations/type-tests/ui-kit/d-drag-and-drop-external-test.d.ts.map +1 -0
  1245. package/declarations/type-tests/ui-kit/d-drag-and-drop-test.d.ts +3 -0
  1246. package/declarations/type-tests/ui-kit/d-drag-and-drop-test.d.ts.map +1 -0
  1247. package/declarations/type-tests/ui-kit/d-drag-dwell-errors-test.d.ts +3 -0
  1248. package/declarations/type-tests/ui-kit/d-drag-dwell-errors-test.d.ts.map +1 -0
  1249. package/declarations/type-tests/ui-kit/d-drag-dwell-test.d.ts +3 -0
  1250. package/declarations/type-tests/ui-kit/d-drag-dwell-test.d.ts.map +1 -0
  1251. package/declarations/type-tests/ui-kit/d-pointer-drag-errors-test.d.ts +3 -0
  1252. package/declarations/type-tests/ui-kit/d-pointer-drag-errors-test.d.ts.map +1 -0
  1253. package/declarations/type-tests/ui-kit/d-pointer-drag-test.d.ts +8 -0
  1254. package/declarations/type-tests/ui-kit/d-pointer-drag-test.d.ts.map +1 -0
  1255. package/declarations/type-tests/ui-kit/d-resize-handles-args-errors-test.d.ts +3 -0
  1256. package/declarations/type-tests/ui-kit/d-resize-handles-args-errors-test.d.ts.map +1 -0
  1257. package/declarations/type-tests/ui-kit/d-resize-handles-box-errors-test.d.ts +3 -0
  1258. package/declarations/type-tests/ui-kit/d-resize-handles-box-errors-test.d.ts.map +1 -0
  1259. package/declarations/type-tests/ui-kit/d-resize-handles-payload-errors-test.d.ts +3 -0
  1260. package/declarations/type-tests/ui-kit/d-resize-handles-payload-errors-test.d.ts.map +1 -0
  1261. package/declarations/type-tests/ui-kit/d-resize-handles-test.d.ts +3 -0
  1262. package/declarations/type-tests/ui-kit/d-resize-handles-test.d.ts.map +1 -0
  1263. package/declarations/type-tests/ui-kit/d-resize-separator-errors-test.d.ts +3 -0
  1264. package/declarations/type-tests/ui-kit/d-resize-separator-errors-test.d.ts.map +1 -0
  1265. package/declarations/type-tests/ui-kit/d-resize-separator-test.d.ts +3 -0
  1266. package/declarations/type-tests/ui-kit/d-resize-separator-test.d.ts.map +1 -0
  1267. package/external-types/discourse-i18n/index.d.ts +3 -2
  1268. package/external-types/ember-compat__tracked-built-ins/index.d.ts +23 -12
  1269. package/external-types/ember-modifier/index.d.ts +19 -17
  1270. package/external-types/ember-qunit/index.d.ts +16 -7
  1271. package/external-types/ember-qunit/package.json +5 -6
  1272. package/external-types/ember-truth-helpers/index.d.ts +33 -33
  1273. package/external-types/ember__render-modifiers/index.d.ts +13 -7
  1274. package/external-types/ember__string/index.d.ts +10 -10
  1275. package/external-types/ember__test-helpers/index.d.ts +185 -155
  1276. package/external-types/floating-ui__dom/index.d.ts +95 -85
  1277. package/external-types/floating-ui__dom/package.json +5 -4
  1278. package/external-types/glimmer__component/index.d.ts +18 -10
  1279. package/external-types/glimmer__syntax/index.d.ts +575 -129
  1280. package/external-types/glint__template/index.d.ts +74 -66
  1281. package/external-types/pretender/index.d.ts +2 -2
  1282. package/external-types/rsvp/index.d.ts +4 -0
  1283. package/external-types/sinon/index.d.ts +13 -3
  1284. package/external-types/sinon/package.json +3 -3
  1285. package/package.json +10 -1
  1286. package/declarations/app/components/admin-onboarding/modal/theme-picker.d.ts +0 -13
  1287. package/declarations/app/components/admin-onboarding/modal/theme-picker.d.ts.map +0 -1
  1288. package/declarations/app/components/composer-actions-new.d.ts.map +0 -1
  1289. package/declarations/app/components/link-to-input.d.ts +0 -7
  1290. package/declarations/app/components/link-to-input.d.ts.map +0 -1
  1291. package/declarations/app/helpers/reviewable-history-description.d.ts +0 -2
  1292. package/declarations/app/helpers/reviewable-history-description.d.ts.map +0 -1
  1293. package/declarations/app/modifiers/grippie-drag-resize.d.ts +0 -40
  1294. package/declarations/app/modifiers/grippie-drag-resize.d.ts.map +0 -1
  1295. package/declarations/app/ui-kit/d-select.d.ts.map +0 -1
  1296. package/declarations/select-kit/components/composer-actions.d.ts +0 -39
  1297. package/declarations/select-kit/components/composer-actions.d.ts.map +0 -1
  1298. package/declarations/tests/acceptance/composer-actions-new-test.d.ts +0 -2
  1299. package/declarations/tests/acceptance/composer-actions-new-test.d.ts.map +0 -1
  1300. package/declarations/tests/acceptance/composer-new-test.d.ts +0 -2
  1301. package/declarations/tests/acceptance/composer-new-test.d.ts.map +0 -1
  1302. package/declarations/tests/acceptance/keyboard-shortcuts-new-test.d.ts +0 -2
  1303. package/declarations/tests/acceptance/keyboard-shortcuts-new-test.d.ts.map +0 -1
  1304. package/declarations/tests/helpers/d-select-assertions.d.ts +0 -2
  1305. package/declarations/tests/helpers/d-select-assertions.d.ts.map +0 -1
  1306. package/declarations/tests/integration/ui-kit/d-select-test.d.ts +0 -2
  1307. 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":"AAIA;IAIE,mCAGC;IAND,oBAAmB;IACnB,aAAQ;IAOR;;;;aAcC;IAZC,0BAAwC;IACxC,wBAAoC;IACpC,sBAAgC;IAYlC,uBA0BC;IAED,mBAKC;IAED,yBAYC;IAED,gBAWC;CACF;qBAzFoB,gBAAgB"}
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;;;GAGG;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"}
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