@discourse/types 2026.8.0-fb9247e0 → 2026.9.0-eb242063

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 (866) hide show
  1. package/declarations/admin/components/admin-badges-show.d.ts.map +1 -1
  2. package/declarations/admin/components/admin-config-areas/components.d.ts.map +1 -1
  3. package/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts +1 -1
  4. package/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts.map +1 -1
  5. package/declarations/admin/components/admin-plugin-config-page.d.ts +1 -0
  6. package/declarations/admin/components/admin-plugin-config-page.d.ts.map +1 -1
  7. package/declarations/admin/components/admin-plugins-list-item.d.ts.map +1 -1
  8. package/declarations/admin/components/admin-report-stacked-chart.d.ts +1 -1
  9. package/declarations/admin/components/admin-report-stacked-chart.d.ts.map +1 -1
  10. package/declarations/admin/components/chart.d.ts +1 -1
  11. package/declarations/admin/components/dashboard/engagement/headline.d.ts +4 -3
  12. package/declarations/admin/components/dashboard/engagement/headline.d.ts.map +1 -1
  13. package/declarations/admin/components/dashboard/report-error-state.d.ts +3 -0
  14. package/declarations/admin/components/dashboard/report-error-state.d.ts.map +1 -0
  15. package/declarations/admin/components/dashboard/reports.d.ts.map +1 -1
  16. package/declarations/admin/components/dashboard/search.d.ts +5 -3
  17. package/declarations/admin/components/dashboard/search.d.ts.map +1 -1
  18. package/declarations/admin/components/dashboard/traffic.d.ts +8 -0
  19. package/declarations/admin/components/dashboard/traffic.d.ts.map +1 -1
  20. package/declarations/admin/components/edit-category-localizations.d.ts.map +1 -1
  21. package/declarations/admin/components/edit-category-panel.d.ts +0 -5
  22. package/declarations/admin/components/edit-category-panel.d.ts.map +1 -1
  23. package/declarations/admin/components/form-template/form.d.ts.map +1 -1
  24. package/declarations/admin/components/modal/badge-preview.d.ts.map +1 -1
  25. package/declarations/admin/components/modal/penalize-user.d.ts +2 -1
  26. package/declarations/admin/components/modal/penalize-user.d.ts.map +1 -1
  27. package/declarations/admin/components/redesigned-admin-dashboard.d.ts.map +1 -1
  28. package/declarations/admin/components/schema-setting/field.d.ts +2 -1
  29. package/declarations/admin/components/schema-setting/field.d.ts.map +1 -1
  30. package/declarations/admin/components/schema-setting/types/icon.d.ts +10 -0
  31. package/declarations/admin/components/schema-setting/types/icon.d.ts.map +1 -0
  32. package/declarations/admin/components/site-setting.d.ts +12 -1
  33. package/declarations/admin/components/site-setting.d.ts.map +1 -1
  34. package/declarations/admin/components/site-settings/icon.d.ts.map +1 -1
  35. package/declarations/admin/components/site-settings/integer.d.ts +0 -1
  36. package/declarations/admin/components/site-settings/integer.d.ts.map +1 -1
  37. package/declarations/admin/components/site-traffic-explorer-breakdown-card.d.ts +21 -0
  38. package/declarations/admin/components/site-traffic-explorer-breakdown-card.d.ts.map +1 -0
  39. package/declarations/admin/components/site-traffic-explorer-breakdown-modal.d.ts +10 -0
  40. package/declarations/admin/components/site-traffic-explorer-breakdown-modal.d.ts.map +1 -0
  41. package/declarations/admin/components/site-traffic-explorer-breakdown-row.d.ts +3 -0
  42. package/declarations/admin/components/site-traffic-explorer-breakdown-row.d.ts.map +1 -0
  43. package/declarations/admin/components/site-traffic-explorer-dimension-label.d.ts +8 -0
  44. package/declarations/admin/components/site-traffic-explorer-dimension-label.d.ts.map +1 -0
  45. package/declarations/admin/components/site-traffic-explorer-filter-pills.d.ts +16 -0
  46. package/declarations/admin/components/site-traffic-explorer-filter-pills.d.ts.map +1 -0
  47. package/declarations/admin/components/site-traffic-explorer-metric.d.ts +3 -0
  48. package/declarations/admin/components/site-traffic-explorer-metric.d.ts.map +1 -0
  49. package/declarations/admin/components/site-traffic-explorer-pageview-count.d.ts +3 -0
  50. package/declarations/admin/components/site-traffic-explorer-pageview-count.d.ts.map +1 -0
  51. package/declarations/admin/components/site-traffic-explorer.d.ts +67 -0
  52. package/declarations/admin/components/site-traffic-explorer.d.ts.map +1 -0
  53. package/declarations/admin/components/upsert-category/appearance.d.ts +6 -10
  54. package/declarations/admin/components/upsert-category/appearance.d.ts.map +1 -1
  55. package/declarations/admin/components/version-checks.d.ts.map +1 -1
  56. package/declarations/admin/controllers/admin/dashboard/general.d.ts +1 -2
  57. package/declarations/admin/controllers/admin/dashboard/general.d.ts.map +1 -1
  58. package/declarations/admin/controllers/admin/dashboard.d.ts +1 -3
  59. package/declarations/admin/controllers/admin/dashboard.d.ts.map +1 -1
  60. package/declarations/admin/controllers/admin-customize-themes/show/index.d.ts +2 -0
  61. package/declarations/admin/controllers/admin-customize-themes/show/index.d.ts.map +1 -1
  62. package/declarations/admin/controllers/admin-plugins/index.d.ts +0 -3
  63. package/declarations/admin/controllers/admin-plugins/index.d.ts.map +1 -1
  64. package/declarations/admin/controllers/admin-plugins.d.ts +2 -2
  65. package/declarations/admin/controllers/admin-plugins.d.ts.map +1 -1
  66. package/declarations/admin/controllers/admin-search-logs/index.d.ts +2 -1
  67. package/declarations/admin/controllers/admin-search-logs/index.d.ts.map +1 -1
  68. package/declarations/admin/controllers/admin-search-logs/term.d.ts +2 -1
  69. package/declarations/admin/controllers/admin-search-logs/term.d.ts.map +1 -1
  70. package/declarations/admin/controllers/admin-site-traffic.d.ts +50 -0
  71. package/declarations/admin/controllers/admin-site-traffic.d.ts.map +1 -0
  72. package/declarations/admin/controllers/admin-watched-words/action.d.ts +2 -0
  73. package/declarations/admin/controllers/admin-watched-words/action.d.ts.map +1 -1
  74. package/declarations/admin/lib/color-scheme-manager.d.ts +44 -0
  75. package/declarations/admin/lib/color-scheme-manager.d.ts.map +1 -1
  76. package/declarations/admin/lib/constants.d.ts.map +1 -1
  77. package/declarations/admin/lib/dashboard-format.d.ts +1 -0
  78. package/declarations/admin/lib/dashboard-format.d.ts.map +1 -1
  79. package/declarations/admin/lib/engagement-headline.d.ts +2 -0
  80. package/declarations/admin/lib/engagement-headline.d.ts.map +1 -0
  81. package/declarations/admin/lib/format-pageview-count.d.ts +4 -0
  82. package/declarations/admin/lib/format-pageview-count.d.ts.map +1 -0
  83. package/declarations/admin/lib/search-headline.d.ts +2 -0
  84. package/declarations/admin/lib/search-headline.d.ts.map +1 -0
  85. package/declarations/admin/models/admin-dashboard.d.ts +1 -1
  86. package/declarations/admin/models/admin-dashboard.d.ts.map +1 -1
  87. package/declarations/admin/models/report.d.ts +5 -5
  88. package/declarations/admin/models/site-setting.d.ts +2 -0
  89. package/declarations/admin/models/site-setting.d.ts.map +1 -1
  90. package/declarations/admin/models/staff-action-log.d.ts.map +1 -1
  91. package/declarations/admin/routes/admin-route-map.d.ts.map +1 -1
  92. package/declarations/admin/routes/admin-site-traffic.d.ts +52 -0
  93. package/declarations/admin/routes/admin-site-traffic.d.ts.map +1 -0
  94. package/declarations/admin/routes/new-category.d.ts.map +1 -1
  95. package/declarations/admin/services/admin-emojis.d.ts.map +1 -1
  96. package/declarations/admin/templates/admin-site-traffic-loading.d.ts +3 -0
  97. package/declarations/admin/templates/admin-site-traffic-loading.d.ts.map +1 -0
  98. package/declarations/admin/templates/admin-site-traffic.d.ts +3 -0
  99. package/declarations/admin/templates/admin-site-traffic.d.ts.map +1 -0
  100. package/declarations/app/adapters/topic-list.d.ts +2 -1
  101. package/declarations/app/adapters/topic-list.d.ts.map +1 -1
  102. package/declarations/app/app.d.ts +1 -1
  103. package/declarations/app/blocks/block-outlet.d.ts +51 -76
  104. package/declarations/app/blocks/block-outlet.d.ts.map +1 -1
  105. package/declarations/app/blocks/builtin/block-group.d.ts +10 -4
  106. package/declarations/app/blocks/builtin/block-group.d.ts.map +1 -1
  107. package/declarations/app/blocks/builtin/block-head.d.ts +19 -11
  108. package/declarations/app/blocks/builtin/block-head.d.ts.map +1 -1
  109. package/declarations/app/blocks/builtin/index.d.ts +30 -0
  110. package/declarations/app/blocks/builtin/index.d.ts.map +1 -1
  111. package/declarations/app/blocks/conditions/condition.d.ts +71 -52
  112. package/declarations/app/blocks/conditions/condition.d.ts.map +1 -1
  113. package/declarations/app/blocks/conditions/decorator.d.ts +29 -20
  114. package/declarations/app/blocks/conditions/decorator.d.ts.map +1 -1
  115. package/declarations/app/blocks/conditions/index.d.ts +2 -0
  116. package/declarations/app/blocks/conditions/index.d.ts.map +1 -1
  117. package/declarations/app/blocks/conditions/outlet-arg.d.ts +17 -36
  118. package/declarations/app/blocks/conditions/outlet-arg.d.ts.map +1 -1
  119. package/declarations/app/blocks/conditions/route.d.ts +19 -21
  120. package/declarations/app/blocks/conditions/route.d.ts.map +1 -1
  121. package/declarations/app/blocks/conditions/setting.d.ts +21 -28
  122. package/declarations/app/blocks/conditions/setting.d.ts.map +1 -1
  123. package/declarations/app/blocks/conditions/user.d.ts +23 -14
  124. package/declarations/app/blocks/conditions/user.d.ts.map +1 -1
  125. package/declarations/app/blocks/conditions/viewport.d.ts +17 -18
  126. package/declarations/app/blocks/conditions/viewport.d.ts.map +1 -1
  127. package/declarations/app/blocks/index.d.ts +7 -0
  128. package/declarations/app/blocks/index.d.ts.map +1 -1
  129. package/declarations/app/blocks/types.d.ts +153 -0
  130. package/declarations/app/blocks/types.d.ts.map +1 -0
  131. package/declarations/app/components/a11y/live-regions.d.ts +21 -0
  132. package/declarations/app/components/a11y/live-regions.d.ts.map +1 -1
  133. package/declarations/app/components/about-page-extra-groups.d.ts.map +1 -1
  134. package/declarations/app/components/ace-editor.d.ts +3 -0
  135. package/declarations/app/components/ace-editor.d.ts.map +1 -1
  136. package/declarations/app/components/admin-onboarding/banner.d.ts +8 -1
  137. package/declarations/app/components/admin-onboarding/banner.d.ts.map +1 -1
  138. package/declarations/app/components/admin-onboarding/step.d.ts +2 -2
  139. package/declarations/app/components/admin-onboarding/step.d.ts.map +1 -1
  140. package/declarations/app/components/advanced-mode-toggle.d.ts +6 -2
  141. package/declarations/app/components/advanced-mode-toggle.d.ts.map +1 -1
  142. package/declarations/app/components/bookmark-icon.d.ts +1 -1
  143. package/declarations/app/components/bookmark-menu.d.ts +1 -1
  144. package/declarations/app/components/bulk-select-topics-dropdown.d.ts +1 -0
  145. package/declarations/app/components/bulk-select-topics-dropdown.d.ts.map +1 -1
  146. package/declarations/app/components/categories-boxes.d.ts +2 -0
  147. package/declarations/app/components/categories-boxes.d.ts.map +1 -1
  148. package/declarations/app/components/category-list-item.d.ts +4 -0
  149. package/declarations/app/components/category-list-item.d.ts.map +1 -1
  150. package/declarations/app/components/code-login-form.d.ts +1 -0
  151. package/declarations/app/components/code-login-form.d.ts.map +1 -1
  152. package/declarations/app/components/composer-action-title.d.ts +0 -8
  153. package/declarations/app/components/composer-action-title.d.ts.map +1 -1
  154. package/declarations/app/components/{composer-actions-new.d.ts → composer-actions.d.ts} +1 -1
  155. package/declarations/app/components/composer-actions.d.ts.map +1 -0
  156. package/declarations/app/components/composer-body.d.ts +1 -1
  157. package/declarations/app/components/composer-body.d.ts.map +1 -1
  158. package/declarations/app/components/composer-container.d.ts +4 -2
  159. package/declarations/app/components/composer-container.d.ts.map +1 -1
  160. package/declarations/app/components/composer-editor.d.ts +3 -0
  161. package/declarations/app/components/composer-editor.d.ts.map +1 -1
  162. package/declarations/app/components/composer-messages.d.ts.map +1 -1
  163. package/declarations/app/components/composer-toggles.d.ts +1 -0
  164. package/declarations/app/components/composer-toggles.d.ts.map +1 -1
  165. package/declarations/app/components/create-topic-button.d.ts +5 -0
  166. package/declarations/app/components/create-topic-button.d.ts.map +1 -1
  167. package/declarations/app/components/design-wizard/colors-section.d.ts +3 -0
  168. package/declarations/app/components/design-wizard/colors-section.d.ts.map +1 -0
  169. package/declarations/app/components/design-wizard/controls.d.ts +23 -0
  170. package/declarations/app/components/design-wizard/controls.d.ts.map +1 -0
  171. package/declarations/app/components/design-wizard/fonts-section.d.ts +9 -0
  172. package/declarations/app/components/design-wizard/fonts-section.d.ts.map +1 -0
  173. package/declarations/app/components/design-wizard/homepage-section.d.ts +3 -0
  174. package/declarations/app/components/design-wizard/homepage-section.d.ts.map +1 -0
  175. package/declarations/app/components/design-wizard/section.d.ts +3 -0
  176. package/declarations/app/components/design-wizard/section.d.ts.map +1 -0
  177. package/declarations/app/components/design-wizard/theme-section.d.ts +3 -0
  178. package/declarations/app/components/design-wizard/theme-section.d.ts.map +1 -0
  179. package/declarations/app/components/design-wizard-panel.d.ts +9 -0
  180. package/declarations/app/components/design-wizard-panel.d.ts.map +1 -0
  181. package/declarations/app/components/docked-composer.d.ts +2 -4
  182. package/declarations/app/components/docked-composer.d.ts.map +1 -1
  183. package/declarations/app/components/embed-mode-composer.d.ts.map +1 -1
  184. package/declarations/app/components/form-template-field/composer.d.ts +8 -1
  185. package/declarations/app/components/form-template-field/composer.d.ts.map +1 -1
  186. package/declarations/app/components/global-notice.d.ts.map +1 -1
  187. package/declarations/app/components/group-flair-inputs.d.ts +0 -1
  188. package/declarations/app/components/group-flair-inputs.d.ts.map +1 -1
  189. package/declarations/app/components/header/icons.d.ts.map +1 -1
  190. package/declarations/app/components/header/topic/info.d.ts.map +1 -1
  191. package/declarations/app/components/invite-panel.d.ts.map +1 -1
  192. package/declarations/app/components/language-switcher.d.ts.map +1 -1
  193. package/declarations/app/components/local-login-form.d.ts +1 -0
  194. package/declarations/app/components/local-login-form.d.ts.map +1 -1
  195. package/declarations/app/components/modal/bookmark.d.ts.map +1 -1
  196. package/declarations/app/components/modal/bulk-topic-actions.d.ts.map +1 -1
  197. package/declarations/app/components/modal/content-language-preferences.d.ts +30 -0
  198. package/declarations/app/components/modal/content-language-preferences.d.ts.map +1 -0
  199. package/declarations/app/components/modal/create-invite-with-roles.d.ts +11 -3
  200. package/declarations/app/components/modal/create-invite-with-roles.d.ts.map +1 -1
  201. package/declarations/app/components/modal/create-invite.d.ts.map +1 -1
  202. package/declarations/app/components/modal/flag.d.ts +2 -2
  203. package/declarations/app/components/modal/history.d.ts +1 -1
  204. package/declarations/app/components/modal/keyboard-shortcuts-help.d.ts.map +1 -1
  205. package/declarations/app/components/modal/nested-activity-log/item.d.ts +2 -1
  206. package/declarations/app/components/modal/nested-activity-log/item.d.ts.map +1 -1
  207. package/declarations/app/components/modal/nested-activity-log.d.ts +20 -1
  208. package/declarations/app/components/modal/nested-activity-log.d.ts.map +1 -1
  209. package/declarations/app/components/modal/sidebar-section-form.d.ts +53 -19
  210. package/declarations/app/components/modal/sidebar-section-form.d.ts.map +1 -1
  211. package/declarations/app/components/nested.d.ts +1 -0
  212. package/declarations/app/components/nested.d.ts.map +1 -1
  213. package/declarations/app/components/parent-category-row.d.ts +1 -0
  214. package/declarations/app/components/parent-category-row.d.ts.map +1 -1
  215. package/declarations/app/components/plugin-outlet.d.ts +11 -1
  216. package/declarations/app/components/plugin-outlet.d.ts.map +1 -1
  217. package/declarations/app/components/post/menu/liked-users-list.d.ts +2 -13
  218. package/declarations/app/components/post/menu/liked-users-list.d.ts.map +1 -1
  219. package/declarations/app/components/post/menu/liked-users-menu.d.ts.map +1 -1
  220. package/declarations/app/components/post-stream.d.ts +2 -5
  221. package/declarations/app/components/post-stream.d.ts.map +1 -1
  222. package/declarations/app/components/post.d.ts +1 -1
  223. package/declarations/app/components/post.d.ts.map +1 -1
  224. package/declarations/app/components/reviewable/index.d.ts +2 -5
  225. package/declarations/app/components/reviewable/index.d.ts.map +1 -1
  226. package/declarations/app/components/reviewable/insights.d.ts.map +1 -1
  227. package/declarations/app/components/reviewable/item.d.ts +10 -12
  228. package/declarations/app/components/reviewable/item.d.ts.map +1 -1
  229. package/declarations/app/components/reviewable/timeline.d.ts +1 -7
  230. package/declarations/app/components/reviewable/timeline.d.ts.map +1 -1
  231. package/declarations/app/components/reviewable/user.d.ts +3 -0
  232. package/declarations/app/components/reviewable/user.d.ts.map +1 -1
  233. package/declarations/app/components/reviewable-bundled-action.d.ts +1 -1
  234. package/declarations/app/components/reviewable-bundled-action.d.ts.map +1 -1
  235. package/declarations/app/components/setting-definition-field.d.ts.map +1 -1
  236. package/declarations/app/components/setting-field/category.d.ts +7 -0
  237. package/declarations/app/components/setting-field/category.d.ts.map +1 -0
  238. package/declarations/app/components/setting-field/enum.d.ts +5 -0
  239. package/declarations/app/components/setting-field/enum.d.ts.map +1 -1
  240. package/declarations/app/components/setting-field/group.d.ts +9 -0
  241. package/declarations/app/components/setting-field/group.d.ts.map +1 -0
  242. package/declarations/app/components/setting-field/icon.d.ts +3 -0
  243. package/declarations/app/components/setting-field/icon.d.ts.map +1 -0
  244. package/declarations/app/components/setting-field/integer.d.ts +1 -0
  245. package/declarations/app/components/setting-field/integer.d.ts.map +1 -1
  246. package/declarations/app/components/setting-field/locale-enum.d.ts +5 -0
  247. package/declarations/app/components/setting-field/locale-enum.d.ts.map +1 -0
  248. package/declarations/app/components/setting-field/tag-group-list.d.ts +7 -0
  249. package/declarations/app/components/setting-field/tag-group-list.d.ts.map +1 -0
  250. package/declarations/app/components/setting-field/tag-list.d.ts +7 -0
  251. package/declarations/app/components/setting-field/tag-list.d.ts.map +1 -0
  252. package/declarations/app/components/sidebar/anonymous/categories-section.d.ts +2 -0
  253. package/declarations/app/components/sidebar/anonymous/categories-section.d.ts.map +1 -1
  254. package/declarations/app/components/sidebar/anonymous/sections.d.ts +2 -0
  255. package/declarations/app/components/sidebar/anonymous/sections.d.ts.map +1 -1
  256. package/declarations/app/components/sidebar/anonymous/tags-section.d.ts +2 -0
  257. package/declarations/app/components/sidebar/anonymous/tags-section.d.ts.map +1 -1
  258. package/declarations/app/components/sidebar/api-section.d.ts +6 -2
  259. package/declarations/app/components/sidebar/api-section.d.ts.map +1 -1
  260. package/declarations/app/components/sidebar/api-sections.d.ts.map +1 -1
  261. package/declarations/app/components/sidebar/common/all-categories-section-link.d.ts +6 -2
  262. package/declarations/app/components/sidebar/common/all-categories-section-link.d.ts.map +1 -1
  263. package/declarations/app/components/sidebar/common/all-tags-section-link.d.ts +6 -2
  264. package/declarations/app/components/sidebar/common/all-tags-section-link.d.ts.map +1 -1
  265. package/declarations/app/components/sidebar/common/custom-section.d.ts +1 -0
  266. package/declarations/app/components/sidebar/common/custom-section.d.ts.map +1 -1
  267. package/declarations/app/components/sidebar/common/custom-sections.d.ts.map +1 -1
  268. package/declarations/app/components/sidebar/more-section-link.d.ts.map +1 -1
  269. package/declarations/app/components/sidebar/more-section-links.d.ts +2 -0
  270. package/declarations/app/components/sidebar/more-section-links.d.ts.map +1 -1
  271. package/declarations/app/components/sidebar/more-section-trigger.d.ts.map +1 -1
  272. package/declarations/app/components/sidebar/section-form-link.d.ts +0 -2
  273. package/declarations/app/components/sidebar/section-form-link.d.ts.map +1 -1
  274. package/declarations/app/components/sidebar/section-link.d.ts.map +1 -1
  275. package/declarations/app/components/sidebar/section.d.ts +57 -1
  276. package/declarations/app/components/sidebar/section.d.ts.map +1 -1
  277. package/declarations/app/components/sidebar/sections.d.ts.map +1 -1
  278. package/declarations/app/components/sidebar/user/categories-section.d.ts +2 -0
  279. package/declarations/app/components/sidebar/user/categories-section.d.ts.map +1 -1
  280. package/declarations/app/components/sidebar/user/sections.d.ts +38 -0
  281. package/declarations/app/components/sidebar/user/sections.d.ts.map +1 -1
  282. package/declarations/app/components/sidebar/user/tags-section.d.ts +2 -0
  283. package/declarations/app/components/sidebar/user/tags-section.d.ts.map +1 -1
  284. package/declarations/app/components/sidebar.d.ts +12 -0
  285. package/declarations/app/components/sidebar.d.ts.map +1 -1
  286. package/declarations/app/components/subcategories-with-featured-topics.d.ts +1 -0
  287. package/declarations/app/components/subcategories-with-featured-topics.d.ts.map +1 -1
  288. package/declarations/app/components/tag-info.d.ts.map +1 -1
  289. package/declarations/app/components/tag-settings.d.ts.map +1 -1
  290. package/declarations/app/components/topic-bookmarks-menu.d.ts +1 -1
  291. package/declarations/app/components/topic-category.d.ts.map +1 -1
  292. package/declarations/app/components/topic-content-language-preferences.d.ts +7 -0
  293. package/declarations/app/components/topic-content-language-preferences.d.ts.map +1 -0
  294. package/declarations/app/components/topic-dismiss-buttons.d.ts.map +1 -1
  295. package/declarations/app/components/topic-drafts-dropdown.d.ts.map +1 -1
  296. package/declarations/app/components/topic-footer-buttons.d.ts +0 -2
  297. package/declarations/app/components/topic-footer-buttons.d.ts.map +1 -1
  298. package/declarations/app/components/topic-list/header/sortable-column.d.ts +1 -0
  299. package/declarations/app/components/topic-list/header/sortable-column.d.ts.map +1 -1
  300. package/declarations/app/components/topic-navigation.d.ts.map +1 -1
  301. package/declarations/app/components/topic-post-badges.d.ts.map +1 -1
  302. package/declarations/app/components/topic-timeline/container.d.ts.map +1 -1
  303. package/declarations/app/components/topic-timeline/scroller.d.ts.map +1 -1
  304. package/declarations/app/components/user/users-popup.d.ts +7 -0
  305. package/declarations/app/components/user/users-popup.d.ts.map +1 -1
  306. package/declarations/app/components/user-menu/bookmarks-list.d.ts.map +1 -1
  307. package/declarations/app/components/user-menu/items-list.d.ts +1 -1
  308. package/declarations/app/components/user-menu/items-list.d.ts.map +1 -1
  309. package/declarations/app/components/user-menu/likes-notifications-list.d.ts.map +1 -1
  310. package/declarations/app/components/user-menu/messages-list.d.ts.map +1 -1
  311. package/declarations/app/components/user-menu/notifications-list.d.ts.map +1 -1
  312. package/declarations/app/components/user-menu/other-notifications-list.d.ts.map +1 -1
  313. package/declarations/app/components/user-menu/replies-notifications-list.d.ts.map +1 -1
  314. package/declarations/app/components/welcome-banner.d.ts.map +1 -1
  315. package/declarations/app/controllers/exception.d.ts +5 -6
  316. package/declarations/app/controllers/exception.d.ts.map +1 -1
  317. package/declarations/app/controllers/full-page-search.d.ts.map +1 -1
  318. package/declarations/app/controllers/login.d.ts.map +1 -1
  319. package/declarations/app/controllers/nested.d.ts.map +1 -1
  320. package/declarations/app/controllers/preferences/interface.d.ts +7 -0
  321. package/declarations/app/controllers/preferences/interface.d.ts.map +1 -1
  322. package/declarations/app/controllers/topic.d.ts.map +1 -1
  323. package/declarations/app/deprecation-workflow.d.ts.map +1 -1
  324. package/declarations/app/form-kit/components/fk/control/checkbox.d.ts.map +1 -1
  325. package/declarations/app/form-kit/components/fk/control/icon.d.ts.map +1 -1
  326. package/declarations/app/form-kit/components/fk/control/input.d.ts +2 -0
  327. package/declarations/app/form-kit/components/fk/control/input.d.ts.map +1 -1
  328. package/declarations/app/form-kit/components/fk/control/password.d.ts.map +1 -1
  329. package/declarations/app/form-kit/components/fk/control/tag-chooser.d.ts.map +1 -1
  330. package/declarations/app/form-kit/components/fk/field-data.d.ts +15 -4
  331. package/declarations/app/form-kit/components/fk/field-data.d.ts.map +1 -1
  332. package/declarations/app/form-kit/components/fk/form.d.ts.map +1 -1
  333. package/declarations/app/form-kit/lib/constants.d.ts +0 -1
  334. package/declarations/app/form-kit/lib/constants.d.ts.map +1 -1
  335. package/declarations/app/form-kit/lib/validator.d.ts.map +1 -1
  336. package/declarations/app/helpers/category-list-subcategories.d.ts +30 -0
  337. package/declarations/app/helpers/category-list-subcategories.d.ts.map +1 -0
  338. package/declarations/app/initializers/dev-tools.d.ts +10 -3
  339. package/declarations/app/initializers/dev-tools.d.ts.map +1 -1
  340. package/declarations/app/initializers/freeze-block-registry.d.ts +21 -6
  341. package/declarations/app/initializers/freeze-block-registry.d.ts.map +1 -1
  342. package/declarations/app/instance-initializers/signup-cta.d.ts.map +1 -1
  343. package/declarations/app/instance-initializers/topic-footer-buttons.d.ts.map +1 -1
  344. package/declarations/app/instance-initializers/verify-session-after-restore.d.ts +7 -0
  345. package/declarations/app/instance-initializers/verify-session-after-restore.d.ts.map +1 -0
  346. package/declarations/app/instance-initializers/video-placeholder.d.ts.map +1 -1
  347. package/declarations/app/lib/-internals/drag-and-drop/consumer-may-throw.d.ts +17 -0
  348. package/declarations/app/lib/-internals/drag-and-drop/consumer-may-throw.d.ts.map +1 -0
  349. package/declarations/app/lib/-internals/drag-and-drop/drag-dwell.d.ts +64 -0
  350. package/declarations/app/lib/-internals/drag-and-drop/drag-dwell.d.ts.map +1 -0
  351. package/declarations/app/lib/-internals/drag-and-drop/drop-target-kernel.d.ts +145 -0
  352. package/declarations/app/lib/-internals/drag-and-drop/drop-target-kernel.d.ts.map +1 -0
  353. package/declarations/app/lib/-internals/drag-and-drop/external-vocabulary.d.ts +63 -0
  354. package/declarations/app/lib/-internals/drag-and-drop/external-vocabulary.d.ts.map +1 -0
  355. package/declarations/app/lib/-internals/drag-and-drop/native-drag-adoption.d.ts +60 -0
  356. package/declarations/app/lib/-internals/drag-and-drop/native-drag-adoption.d.ts.map +1 -0
  357. package/declarations/app/lib/-internals/drag-and-drop/vocabulary.d.ts +81 -0
  358. package/declarations/app/lib/-internals/drag-and-drop/vocabulary.d.ts.map +1 -0
  359. package/declarations/app/lib/ajax-error.d.ts +1 -0
  360. package/declarations/app/lib/ajax-error.d.ts.map +1 -1
  361. package/declarations/app/lib/api.d.ts +1 -0
  362. package/declarations/app/lib/api.d.ts.map +1 -1
  363. package/declarations/app/lib/blocks/-internals/components/block-layout-wrapper.d.ts +14 -78
  364. package/declarations/app/lib/blocks/-internals/components/block-layout-wrapper.d.ts.map +1 -1
  365. package/declarations/app/lib/blocks/-internals/components/block-outlet-inline-error.d.ts +10 -7
  366. package/declarations/app/lib/blocks/-internals/components/block-outlet-inline-error.d.ts.map +1 -1
  367. package/declarations/app/lib/blocks/-internals/components/block-outlet-root-container.d.ts +21 -12
  368. package/declarations/app/lib/blocks/-internals/components/block-outlet-root-container.d.ts.map +1 -1
  369. package/declarations/app/lib/blocks/-internals/css.d.ts +21 -24
  370. package/declarations/app/lib/blocks/-internals/css.d.ts.map +1 -1
  371. package/declarations/app/lib/blocks/-internals/debug-hooks.d.ts +193 -138
  372. package/declarations/app/lib/blocks/-internals/debug-hooks.d.ts.map +1 -1
  373. package/declarations/app/lib/blocks/-internals/decorator.d.ts +43 -216
  374. package/declarations/app/lib/blocks/-internals/decorator.d.ts.map +1 -1
  375. package/declarations/app/lib/blocks/-internals/entry-processing.d.ts +61 -129
  376. package/declarations/app/lib/blocks/-internals/entry-processing.d.ts.map +1 -1
  377. package/declarations/app/lib/blocks/-internals/error.d.ts +61 -69
  378. package/declarations/app/lib/blocks/-internals/error.d.ts.map +1 -1
  379. package/declarations/app/lib/blocks/-internals/matching/condition-evaluator.d.ts +18 -12
  380. package/declarations/app/lib/blocks/-internals/matching/condition-evaluator.d.ts.map +1 -1
  381. package/declarations/app/lib/blocks/-internals/matching/outlet-matcher.d.ts +64 -37
  382. package/declarations/app/lib/blocks/-internals/matching/outlet-matcher.d.ts.map +1 -1
  383. package/declarations/app/lib/blocks/-internals/matching/page-definitions.d.ts +105 -106
  384. package/declarations/app/lib/blocks/-internals/matching/page-definitions.d.ts.map +1 -1
  385. package/declarations/app/lib/blocks/-internals/matching/url-matcher.d.ts +19 -11
  386. package/declarations/app/lib/blocks/-internals/matching/url-matcher.d.ts.map +1 -1
  387. package/declarations/app/lib/blocks/-internals/matching/value-matcher.d.ts +42 -34
  388. package/declarations/app/lib/blocks/-internals/matching/value-matcher.d.ts.map +1 -1
  389. package/declarations/app/lib/blocks/-internals/patterns.d.ts +85 -83
  390. package/declarations/app/lib/blocks/-internals/patterns.d.ts.map +1 -1
  391. package/declarations/app/lib/blocks/-internals/registry/block.d.ts +47 -85
  392. package/declarations/app/lib/blocks/-internals/registry/block.d.ts.map +1 -1
  393. package/declarations/app/lib/blocks/-internals/registry/condition.d.ts +26 -26
  394. package/declarations/app/lib/blocks/-internals/registry/condition.d.ts.map +1 -1
  395. package/declarations/app/lib/blocks/-internals/registry/helpers.d.ts +54 -47
  396. package/declarations/app/lib/blocks/-internals/registry/helpers.d.ts.map +1 -1
  397. package/declarations/app/lib/blocks/-internals/registry/outlet.d.ts +30 -25
  398. package/declarations/app/lib/blocks/-internals/registry/outlet.d.ts.map +1 -1
  399. package/declarations/app/lib/blocks/-internals/types.d.ts +58 -0
  400. package/declarations/app/lib/blocks/-internals/types.d.ts.map +1 -0
  401. package/declarations/app/lib/blocks/-internals/utils.d.ts +59 -86
  402. package/declarations/app/lib/blocks/-internals/utils.d.ts.map +1 -1
  403. package/declarations/app/lib/blocks/-internals/validation/args.d.ts +178 -224
  404. package/declarations/app/lib/blocks/-internals/validation/args.d.ts.map +1 -1
  405. package/declarations/app/lib/blocks/-internals/validation/block-args.d.ts +32 -23
  406. package/declarations/app/lib/blocks/-internals/validation/block-args.d.ts.map +1 -1
  407. package/declarations/app/lib/blocks/-internals/validation/block-decorator.d.ts +23 -17
  408. package/declarations/app/lib/blocks/-internals/validation/block-decorator.d.ts.map +1 -1
  409. package/declarations/app/lib/blocks/-internals/validation/condition-args.d.ts +26 -16
  410. package/declarations/app/lib/blocks/-internals/validation/condition-args.d.ts.map +1 -1
  411. package/declarations/app/lib/blocks/-internals/validation/conditions.d.ts +23 -18
  412. package/declarations/app/lib/blocks/-internals/validation/conditions.d.ts.map +1 -1
  413. package/declarations/app/lib/blocks/-internals/validation/constraints.d.ts +31 -17
  414. package/declarations/app/lib/blocks/-internals/validation/constraints.d.ts.map +1 -1
  415. package/declarations/app/lib/blocks/-internals/validation/layout.d.ts +77 -85
  416. package/declarations/app/lib/blocks/-internals/validation/layout.d.ts.map +1 -1
  417. package/declarations/app/lib/blocks/index.d.ts +127 -2
  418. package/declarations/app/lib/blocks/index.d.ts.map +1 -1
  419. package/declarations/app/lib/codeblock-buttons.d.ts.map +1 -1
  420. package/declarations/app/lib/composer/actions-registry.d.ts +4 -0
  421. package/declarations/app/lib/composer/actions-registry.d.ts.map +1 -0
  422. package/declarations/app/lib/composer/composer-position.d.ts.map +1 -1
  423. package/declarations/app/lib/composer/rich-editor-extensions.d.ts +208 -139
  424. package/declarations/app/lib/composer/rich-editor-extensions.d.ts.map +1 -1
  425. package/declarations/app/lib/composer/text-manipulation.d.ts +172 -251
  426. package/declarations/app/lib/composer/text-manipulation.d.ts.map +1 -1
  427. package/declarations/app/lib/composer/toolbar.d.ts +161 -80
  428. package/declarations/app/lib/composer/toolbar.d.ts.map +1 -1
  429. package/declarations/app/lib/constants.d.ts +2 -0
  430. package/declarations/app/lib/constants.d.ts.map +1 -1
  431. package/declarations/app/lib/content-localization.d.ts +18 -0
  432. package/declarations/app/lib/content-localization.d.ts.map +1 -0
  433. package/declarations/app/lib/customization-source.d.ts +26 -0
  434. package/declarations/app/lib/customization-source.d.ts.map +1 -0
  435. package/declarations/app/lib/dag.d.ts +73 -79
  436. package/declarations/app/lib/dag.d.ts.map +1 -1
  437. package/declarations/app/lib/deprecated.d.ts +21 -3
  438. package/declarations/app/lib/deprecated.d.ts.map +1 -1
  439. package/declarations/app/lib/design-wizard-preview.d.ts +52 -0
  440. package/declarations/app/lib/design-wizard-preview.d.ts.map +1 -0
  441. package/declarations/app/lib/download-blob.d.ts +3 -0
  442. package/declarations/app/lib/download-blob.d.ts.map +1 -0
  443. package/declarations/app/lib/download-strategy.d.ts +2 -0
  444. package/declarations/app/lib/download-strategy.d.ts.map +1 -0
  445. package/declarations/app/lib/element-class-lease.d.ts +37 -0
  446. package/declarations/app/lib/element-class-lease.d.ts.map +1 -0
  447. package/declarations/app/lib/filter-mode.d.ts +9 -0
  448. package/declarations/app/lib/filter-mode.d.ts.map +1 -1
  449. package/declarations/app/lib/geometry.d.ts +11 -0
  450. package/declarations/app/lib/geometry.d.ts.map +1 -0
  451. package/declarations/app/lib/helpers.d.ts +43 -9
  452. package/declarations/app/lib/helpers.d.ts.map +1 -1
  453. package/declarations/app/lib/highlight-syntax.d.ts.map +1 -1
  454. package/declarations/app/lib/icon-library.d.ts +7 -3
  455. package/declarations/app/lib/icon-library.d.ts.map +1 -1
  456. package/declarations/app/lib/later.d.ts +3 -1
  457. package/declarations/app/lib/later.d.ts.map +1 -1
  458. package/declarations/app/lib/locale-normalizer.d.ts +11 -0
  459. package/declarations/app/lib/locale-normalizer.d.ts.map +1 -0
  460. package/declarations/app/lib/plugin-api.d.ts +36 -5
  461. package/declarations/app/lib/plugin-api.d.ts.map +1 -1
  462. package/declarations/app/lib/registry/block-outlets.d.ts +2 -2
  463. package/declarations/app/lib/registry/block-outlets.d.ts.map +1 -1
  464. package/declarations/app/lib/registry/transformers.d.ts.map +1 -1
  465. package/declarations/app/lib/report-client-error.d.ts +10 -0
  466. package/declarations/app/lib/report-client-error.d.ts.map +1 -0
  467. package/declarations/app/lib/resize-measurements.d.ts +43 -0
  468. package/declarations/app/lib/resize-measurements.d.ts.map +1 -0
  469. package/declarations/app/lib/reviewable-registry.d.ts +12 -0
  470. package/declarations/app/lib/reviewable-registry.d.ts.map +1 -0
  471. package/declarations/app/lib/search.d.ts.map +1 -1
  472. package/declarations/app/lib/setting-field-registry.d.ts.map +1 -1
  473. package/declarations/app/lib/sidebar/active-link.d.ts +25 -0
  474. package/declarations/app/lib/sidebar/active-link.d.ts.map +1 -0
  475. package/declarations/app/lib/sidebar/base-custom-sidebar-section.d.ts +50 -0
  476. package/declarations/app/lib/sidebar/base-custom-sidebar-section.d.ts.map +1 -1
  477. package/declarations/app/lib/sidebar/custom-sections.d.ts.map +1 -1
  478. package/declarations/app/lib/sidebar/link-drop.d.ts +37 -0
  479. package/declarations/app/lib/sidebar/link-drop.d.ts.map +1 -0
  480. package/declarations/app/lib/sidebar/section.d.ts +12 -0
  481. package/declarations/app/lib/sidebar/section.d.ts.map +1 -1
  482. package/declarations/app/lib/sidebar/user/tags-section/tag-section-link.d.ts +1 -1
  483. package/declarations/app/lib/svg-sprite-loader.d.ts +31 -0
  484. package/declarations/app/lib/svg-sprite-loader.d.ts.map +1 -1
  485. package/declarations/app/lib/text.d.ts +1 -0
  486. package/declarations/app/lib/text.d.ts.map +1 -1
  487. package/declarations/app/lib/textarea-text-manipulation.d.ts +67 -81
  488. package/declarations/app/lib/textarea-text-manipulation.d.ts.map +1 -1
  489. package/declarations/app/lib/url.d.ts +0 -1
  490. package/declarations/app/lib/url.d.ts.map +1 -1
  491. package/declarations/app/models/category.d.ts.map +1 -1
  492. package/declarations/app/models/composer.d.ts.map +1 -1
  493. package/declarations/app/models/post.d.ts +1 -0
  494. package/declarations/app/models/post.d.ts.map +1 -1
  495. package/declarations/app/models/reviewable-history.d.ts +2 -4
  496. package/declarations/app/models/reviewable-history.d.ts.map +1 -1
  497. package/declarations/app/models/reviewable.d.ts +40 -0
  498. package/declarations/app/models/reviewable.d.ts.map +1 -1
  499. package/declarations/app/models/site.d.ts +2 -0
  500. package/declarations/app/models/site.d.ts.map +1 -1
  501. package/declarations/app/models/tag-group.d.ts +1 -1
  502. package/declarations/app/models/topic-tracking-state.d.ts.map +1 -1
  503. package/declarations/app/models/user.d.ts +0 -1
  504. package/declarations/app/models/user.d.ts.map +1 -1
  505. package/declarations/app/resolver.d.ts +1 -1
  506. package/declarations/app/routes/application.d.ts +1 -0
  507. package/declarations/app/routes/application.d.ts.map +1 -1
  508. package/declarations/app/routes/build-category-route.d.ts.map +1 -1
  509. package/declarations/app/routes/login.d.ts.map +1 -1
  510. package/declarations/app/routes/signup.d.ts.map +1 -1
  511. package/declarations/app/routes/user-activity-stream.d.ts +3 -3
  512. package/declarations/app/routes/user-activity-stream.d.ts.map +1 -1
  513. package/declarations/app/routes/wizard.d.ts +1 -0
  514. package/declarations/app/routes/wizard.d.ts.map +1 -1
  515. package/declarations/app/services/a11y.d.ts.map +1 -1
  516. package/declarations/app/services/blocks.d.ts +41 -49
  517. package/declarations/app/services/blocks.d.ts.map +1 -1
  518. package/declarations/app/services/composer.d.ts +1 -1
  519. package/declarations/app/services/deprecation-warning-handler.d.ts.map +1 -1
  520. package/declarations/app/services/design-wizard.d.ts +46 -0
  521. package/declarations/app/services/design-wizard.d.ts.map +1 -0
  522. package/declarations/app/services/discovery.d.ts +9 -0
  523. package/declarations/app/services/discovery.d.ts.map +1 -1
  524. package/declarations/app/services/drag-and-drop.d.ts +52 -0
  525. package/declarations/app/services/drag-and-drop.d.ts.map +1 -0
  526. package/declarations/app/services/exception.d.ts +15 -0
  527. package/declarations/app/services/exception.d.ts.map +1 -0
  528. package/declarations/app/services/human-activity-tracker.d.ts +1 -1
  529. package/declarations/app/services/human-activity-tracker.d.ts.map +1 -1
  530. package/declarations/app/services/loading-slider.d.ts +3 -1
  531. package/declarations/app/services/loading-slider.d.ts.map +1 -1
  532. package/declarations/app/services/login.d.ts +3 -0
  533. package/declarations/app/services/login.d.ts.map +1 -1
  534. package/declarations/app/services/presence.d.ts +1 -1
  535. package/declarations/app/services/presence.d.ts.map +1 -1
  536. package/declarations/app/static/dev-tools/block-debug/block-info.d.ts +30 -18
  537. package/declarations/app/static/dev-tools/block-debug/block-info.d.ts.map +1 -1
  538. package/declarations/app/static/dev-tools/block-debug/button.d.ts +7 -8
  539. package/declarations/app/static/dev-tools/block-debug/button.d.ts.map +1 -1
  540. package/declarations/app/static/dev-tools/block-debug/conditions-tree.d.ts +31 -9
  541. package/declarations/app/static/dev-tools/block-debug/conditions-tree.d.ts.map +1 -1
  542. package/declarations/app/static/dev-tools/block-debug/debug-logger.d.ts +86 -76
  543. package/declarations/app/static/dev-tools/block-debug/debug-logger.d.ts.map +1 -1
  544. package/declarations/app/static/dev-tools/block-debug/ghost-block.d.ts +35 -84
  545. package/declarations/app/static/dev-tools/block-debug/ghost-block.d.ts.map +1 -1
  546. package/declarations/app/static/dev-tools/block-debug/outlet-info.d.ts +21 -50
  547. package/declarations/app/static/dev-tools/block-debug/outlet-info.d.ts.map +1 -1
  548. package/declarations/app/static/dev-tools/block-debug/patch.d.ts +1 -1
  549. package/declarations/app/static/dev-tools/block-debug/patch.d.ts.map +1 -1
  550. package/declarations/app/static/dev-tools/entrypoint.d.ts +2 -1
  551. package/declarations/app/static/dev-tools/entrypoint.d.ts.map +1 -1
  552. package/declarations/app/static/dev-tools/toolbar.d.ts +11 -7
  553. package/declarations/app/static/dev-tools/toolbar.d.ts.map +1 -1
  554. package/declarations/app/static/dev-tools/tools.d.ts +15 -0
  555. package/declarations/app/static/dev-tools/tools.d.ts.map +1 -0
  556. package/declarations/app/static/prosemirror/components/prosemirror-editor.d.ts +105 -128
  557. package/declarations/app/static/prosemirror/components/prosemirror-editor.d.ts.map +1 -1
  558. package/declarations/app/static/prosemirror/core/keymap.d.ts.map +1 -1
  559. package/declarations/app/static/prosemirror/extensions/code-block.d.ts.map +1 -1
  560. package/declarations/app/static/prosemirror/extensions/code.d.ts +2 -2
  561. package/declarations/app/static/prosemirror/extensions/code.d.ts.map +1 -1
  562. package/declarations/app/static/prosemirror/extensions/hard-break.d.ts +2 -2
  563. package/declarations/app/static/prosemirror/extensions/hard-break.d.ts.map +1 -1
  564. package/declarations/app/static/prosemirror/extensions/html-inline.d.ts.map +1 -1
  565. package/declarations/app/static/prosemirror/extensions/link.d.ts +2 -2
  566. package/declarations/app/static/prosemirror/extensions/link.d.ts.map +1 -1
  567. package/declarations/app/static/prosemirror/extensions/mention.d.ts.map +1 -1
  568. package/declarations/app/static/prosemirror/extensions/onebox.d.ts +1 -1
  569. package/declarations/app/static/prosemirror/extensions/override-drag-ghost.d.ts +4 -6
  570. package/declarations/app/static/prosemirror/extensions/override-drag-ghost.d.ts.map +1 -1
  571. package/declarations/app/static/prosemirror/extensions/placeholder.d.ts +3 -4
  572. package/declarations/app/static/prosemirror/extensions/placeholder.d.ts.map +1 -1
  573. package/declarations/app/static/prosemirror/extensions/quote.d.ts.map +1 -1
  574. package/declarations/app/static/prosemirror/extensions/register-default.d.ts +3 -4
  575. package/declarations/app/static/prosemirror/extensions/register-default.d.ts.map +1 -1
  576. package/declarations/app/static/prosemirror/extensions/strikethrough.d.ts +2 -2
  577. package/declarations/app/static/prosemirror/extensions/strikethrough.d.ts.map +1 -1
  578. package/declarations/app/static/prosemirror/extensions/strong.d.ts +4 -0
  579. package/declarations/app/static/prosemirror/extensions/strong.d.ts.map +1 -0
  580. package/declarations/app/static/prosemirror/extensions/trailing-inline-space.d.ts +2 -2
  581. package/declarations/app/static/prosemirror/extensions/trailing-inline-space.d.ts.map +1 -1
  582. package/declarations/app/static/prosemirror/extensions/trailing-paragraph.d.ts +2 -2
  583. package/declarations/app/static/prosemirror/extensions/trailing-paragraph.d.ts.map +1 -1
  584. package/declarations/app/static/prosemirror/extensions/underline.d.ts +2 -2
  585. package/declarations/app/static/prosemirror/extensions/underline.d.ts.map +1 -1
  586. package/declarations/app/static/prosemirror/extensions/word-paste.d.ts +0 -1
  587. package/declarations/app/static/prosemirror/extensions/word-paste.d.ts.map +1 -1
  588. package/declarations/app/static/prosemirror/lib/text-manipulation.d.ts +48 -59
  589. package/declarations/app/static/prosemirror/lib/text-manipulation.d.ts.map +1 -1
  590. package/declarations/app/templates/review/show.d.ts +2 -5
  591. package/declarations/app/templates/review/show.d.ts.map +1 -1
  592. package/declarations/app/ui-kit/d-access-control-field.d.ts +11 -0
  593. package/declarations/app/ui-kit/d-access-control-field.d.ts.map +1 -0
  594. package/declarations/app/ui-kit/d-access-control.d.ts.map +1 -1
  595. package/declarations/app/ui-kit/d-async-content.d.ts +10 -0
  596. package/declarations/app/ui-kit/d-async-content.d.ts.map +1 -1
  597. package/declarations/app/ui-kit/d-button.d.ts +2 -2
  598. package/declarations/app/ui-kit/d-button.d.ts.map +1 -1
  599. package/declarations/app/ui-kit/d-combo-button.d.ts +74 -2
  600. package/declarations/app/ui-kit/d-combo-button.d.ts.map +1 -1
  601. package/declarations/app/ui-kit/d-copy-button.d.ts +17 -8
  602. package/declarations/app/ui-kit/d-copy-button.d.ts.map +1 -1
  603. package/declarations/app/ui-kit/d-date-input.d.ts +1 -1
  604. package/declarations/app/ui-kit/d-date-picker.d.ts +1 -1
  605. package/declarations/app/ui-kit/d-editor.d.ts.map +1 -1
  606. package/declarations/app/ui-kit/d-filter-controls.d.ts +18 -1
  607. package/declarations/app/ui-kit/d-filter-controls.d.ts.map +1 -1
  608. package/declarations/app/ui-kit/d-filter-input.d.ts.map +1 -1
  609. package/declarations/app/ui-kit/d-icon-grid-picker/content.d.ts +62 -17
  610. package/declarations/app/ui-kit/d-icon-grid-picker/content.d.ts.map +1 -1
  611. package/declarations/app/ui-kit/d-icon-grid-picker/index.d.ts +6 -8
  612. package/declarations/app/ui-kit/d-icon-grid-picker/index.d.ts.map +1 -1
  613. package/declarations/app/ui-kit/d-load-more.d.ts +78 -19
  614. package/declarations/app/ui-kit/d-load-more.d.ts.map +1 -1
  615. package/declarations/app/ui-kit/d-modal.d.ts.map +1 -1
  616. package/declarations/app/ui-kit/d-resize-handles.d.ts +243 -0
  617. package/declarations/app/ui-kit/d-resize-handles.d.ts.map +1 -0
  618. package/declarations/app/ui-kit/d-resize-separator.d.ts +222 -0
  619. package/declarations/app/ui-kit/d-resize-separator.d.ts.map +1 -0
  620. package/declarations/app/ui-kit/d-select.d.ts +2 -1
  621. package/declarations/app/ui-kit/d-select.d.ts.map +1 -1
  622. package/declarations/app/ui-kit/d-skeleton.d.ts +99 -0
  623. package/declarations/app/ui-kit/d-skeleton.d.ts.map +1 -0
  624. package/declarations/app/ui-kit/helpers/d-category-link.d.ts.map +1 -1
  625. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-auto-scroll.d.ts +108 -0
  626. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-auto-scroll.d.ts.map +1 -0
  627. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-external-target.d.ts +80 -0
  628. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-external-target.d.ts.map +1 -0
  629. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-monitor.d.ts +80 -0
  630. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-monitor.d.ts.map +1 -0
  631. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-source.d.ts +249 -0
  632. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-source.d.ts.map +1 -0
  633. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-target.d.ts +102 -0
  634. package/declarations/app/ui-kit/modifiers/d-drag-and-drop-target.d.ts.map +1 -0
  635. package/declarations/app/ui-kit/modifiers/d-drag-dwell.d.ts +215 -0
  636. package/declarations/app/ui-kit/modifiers/d-drag-dwell.d.ts.map +1 -0
  637. package/declarations/app/ui-kit/modifiers/d-draggable.d.ts +15 -0
  638. package/declarations/app/ui-kit/modifiers/d-draggable.d.ts.map +1 -1
  639. package/declarations/app/ui-kit/modifiers/d-on-resize.d.ts +3 -0
  640. package/declarations/app/ui-kit/modifiers/d-on-resize.d.ts.map +1 -1
  641. package/declarations/app/ui-kit/modifiers/d-pointer-drag.d.ts +215 -0
  642. package/declarations/app/ui-kit/modifiers/d-pointer-drag.d.ts.map +1 -0
  643. package/declarations/app/ui-kit/modifiers/d-resize-edge.d.ts +170 -0
  644. package/declarations/app/ui-kit/modifiers/d-resize-edge.d.ts.map +1 -0
  645. package/declarations/app/ui-kit/modifiers/d-swipe.d.ts +8 -0
  646. package/declarations/app/ui-kit/modifiers/d-swipe.d.ts.map +1 -1
  647. package/declarations/float-kit/components/d-float-body.d.ts +39 -0
  648. package/declarations/float-kit/components/d-float-body.d.ts.map +1 -1
  649. package/declarations/float-kit/components/d-headless-menu.d.ts.map +1 -1
  650. package/declarations/float-kit/components/d-inline-float.d.ts +8 -6
  651. package/declarations/float-kit/components/d-inline-float.d.ts.map +1 -1
  652. package/declarations/float-kit/components/d-menu.d.ts +35 -4
  653. package/declarations/float-kit/components/d-menu.d.ts.map +1 -1
  654. package/declarations/float-kit/components/d-tooltip.d.ts +2 -0
  655. package/declarations/float-kit/components/d-tooltip.d.ts.map +1 -1
  656. package/declarations/float-kit/lib/constants.d.ts +63 -4
  657. package/declarations/float-kit/lib/constants.d.ts.map +1 -1
  658. package/declarations/float-kit/lib/d-menu-instance.d.ts +8 -2
  659. package/declarations/float-kit/lib/d-menu-instance.d.ts.map +1 -1
  660. package/declarations/float-kit/lib/d-tooltip-instance.d.ts.map +1 -1
  661. package/declarations/float-kit/lib/float-kit-instance.d.ts +48 -0
  662. package/declarations/float-kit/lib/float-kit-instance.d.ts.map +1 -1
  663. package/declarations/float-kit/lib/tab-order.d.ts +36 -0
  664. package/declarations/float-kit/lib/tab-order.d.ts.map +1 -0
  665. package/declarations/float-kit/lib/update-position.d.ts +11 -0
  666. package/declarations/float-kit/lib/update-position.d.ts.map +1 -1
  667. package/declarations/float-kit/modifiers/apply-floating-ui.d.ts.map +1 -1
  668. package/declarations/float-kit/modifiers/notify-positioned.d.ts +19 -0
  669. package/declarations/float-kit/modifiers/notify-positioned.d.ts.map +1 -0
  670. package/declarations/float-kit/modifiers/tab-order-inline.d.ts +55 -0
  671. package/declarations/float-kit/modifiers/tab-order-inline.d.ts.map +1 -0
  672. package/declarations/float-kit/services/menu.d.ts +11 -0
  673. package/declarations/float-kit/services/menu.d.ts.map +1 -1
  674. package/declarations/select-kit/components/dropdown-select-box.d.ts.map +1 -1
  675. package/declarations/select-kit/components/icon-picker.d.ts +3 -2
  676. package/declarations/select-kit/components/icon-picker.d.ts.map +1 -1
  677. package/declarations/select-kit/components/multi-select/multi-select-header.d.ts.map +1 -1
  678. package/declarations/select-kit/components/multi-select.d.ts.map +1 -1
  679. package/declarations/select-kit/components/multiple-categories-selector.d.ts +13 -0
  680. package/declarations/select-kit/components/multiple-categories-selector.d.ts.map +1 -0
  681. package/declarations/select-kit/components/select-kit/select-kit-row.d.ts.map +1 -1
  682. package/declarations/select-kit/components/selected-choice.d.ts +1 -0
  683. package/declarations/select-kit/components/selected-choice.d.ts.map +1 -1
  684. package/declarations/select-kit/components/tag-chooser.d.ts +3 -1
  685. package/declarations/select-kit/components/tag-chooser.d.ts.map +1 -1
  686. package/declarations/tests/acceptance/category-default-view-test.d.ts +2 -0
  687. package/declarations/tests/acceptance/category-default-view-test.d.ts.map +1 -0
  688. package/declarations/tests/acceptance/exception-test.d.ts +2 -0
  689. package/declarations/tests/acceptance/exception-test.d.ts.map +1 -0
  690. package/declarations/tests/acceptance/read-only-mode-test.d.ts +2 -0
  691. package/declarations/tests/acceptance/read-only-mode-test.d.ts.map +1 -0
  692. package/declarations/tests/acceptance/sidebar-link-drop-test.d.ts +2 -0
  693. package/declarations/tests/acceptance/sidebar-link-drop-test.d.ts.map +1 -0
  694. package/declarations/tests/acceptance/topic-list-preload-test.d.ts +2 -0
  695. package/declarations/tests/acceptance/topic-list-preload-test.d.ts.map +1 -0
  696. package/declarations/tests/acceptance/transformers/composer-minimum-post-length-test.d.ts +2 -0
  697. package/declarations/tests/acceptance/transformers/composer-minimum-post-length-test.d.ts.map +1 -0
  698. package/declarations/tests/fixtures/session-fixtures.d.ts.map +1 -1
  699. package/declarations/tests/fixtures/site-fixtures.d.ts +3 -0
  700. package/declarations/tests/fixtures/site-fixtures.d.ts.map +1 -1
  701. package/declarations/tests/fixtures/user-fixtures.d.ts +0 -1
  702. package/declarations/tests/fixtures/user-fixtures.d.ts.map +1 -1
  703. package/declarations/tests/helpers/qunit-helpers.d.ts.map +1 -1
  704. package/declarations/tests/helpers/review-pretender.d.ts.map +1 -1
  705. package/declarations/tests/helpers/rich-editor-helper.d.ts +2 -2
  706. package/declarations/tests/helpers/rich-editor-helper.d.ts.map +1 -1
  707. package/declarations/tests/helpers/stub-intersection-observer.d.ts +4 -2
  708. package/declarations/tests/helpers/stub-intersection-observer.d.ts.map +1 -1
  709. package/declarations/tests/helpers/ui-kit/drag-and-drop-helper.d.ts +178 -0
  710. package/declarations/tests/helpers/ui-kit/drag-and-drop-helper.d.ts.map +1 -0
  711. package/declarations/tests/helpers/ui-kit/pointer-gesture-helper.d.ts +81 -0
  712. package/declarations/tests/helpers/ui-kit/pointer-gesture-helper.d.ts.map +1 -0
  713. package/declarations/tests/integration/components/admin-plugin-config-page-test.d.ts +2 -0
  714. package/declarations/tests/integration/components/admin-plugin-config-page-test.d.ts.map +1 -0
  715. package/declarations/tests/integration/components/category-list-subcategories-test.d.ts +2 -0
  716. package/declarations/tests/integration/components/category-list-subcategories-test.d.ts.map +1 -0
  717. package/declarations/tests/integration/components/composer-container-test.d.ts +2 -0
  718. package/declarations/tests/integration/components/composer-container-test.d.ts.map +1 -0
  719. package/declarations/tests/integration/components/dashboard/search-test.d.ts +2 -0
  720. package/declarations/tests/integration/components/dashboard/search-test.d.ts.map +1 -0
  721. package/declarations/tests/integration/components/dashboard/traffic-test.d.ts +2 -0
  722. package/declarations/tests/integration/components/dashboard/traffic-test.d.ts.map +1 -0
  723. package/declarations/tests/integration/components/design-wizard-sections-test.d.ts +2 -0
  724. package/declarations/tests/integration/components/design-wizard-sections-test.d.ts.map +1 -0
  725. package/declarations/tests/integration/components/dev-tools-toolbar-test.d.ts +2 -0
  726. package/declarations/tests/integration/components/dev-tools-toolbar-test.d.ts.map +1 -0
  727. package/declarations/tests/integration/components/float-kit/apply-floating-ui-test.d.ts +2 -0
  728. package/declarations/tests/integration/components/float-kit/apply-floating-ui-test.d.ts.map +1 -0
  729. package/declarations/tests/integration/components/float-kit/tab-order-inline-test.d.ts +2 -0
  730. package/declarations/tests/integration/components/float-kit/tab-order-inline-test.d.ts.map +1 -0
  731. package/declarations/tests/integration/components/modal/content-language-preferences-test.d.ts +2 -0
  732. package/declarations/tests/integration/components/modal/content-language-preferences-test.d.ts.map +1 -0
  733. package/declarations/tests/integration/components/prosemirror-editor/open-document-test.d.ts +2 -0
  734. package/declarations/tests/integration/components/prosemirror-editor/open-document-test.d.ts.map +1 -0
  735. package/declarations/tests/integration/components/select-kit/multiple-categories-selector-test.d.ts +2 -0
  736. package/declarations/tests/integration/components/select-kit/multiple-categories-selector-test.d.ts.map +1 -0
  737. package/declarations/tests/integration/components/sidebar-section-form-test.d.ts +2 -0
  738. package/declarations/tests/integration/components/sidebar-section-form-test.d.ts.map +1 -0
  739. package/declarations/tests/integration/components/topic-navigation-test.d.ts +2 -0
  740. package/declarations/tests/integration/components/topic-navigation-test.d.ts.map +1 -0
  741. package/declarations/tests/integration/components/topic-post-badges-test.d.ts +2 -0
  742. package/declarations/tests/integration/components/topic-post-badges-test.d.ts.map +1 -0
  743. package/declarations/tests/integration/modifiers/d-resize-edge-test.d.ts +2 -0
  744. package/declarations/tests/integration/modifiers/d-resize-edge-test.d.ts.map +1 -0
  745. package/declarations/tests/integration/ui-kit/d-combo-button-test.d.ts +2 -0
  746. package/declarations/tests/integration/ui-kit/d-combo-button-test.d.ts.map +1 -0
  747. package/declarations/tests/integration/ui-kit/d-resize-handles-test.d.ts +2 -0
  748. package/declarations/tests/integration/ui-kit/d-resize-handles-test.d.ts.map +1 -0
  749. package/declarations/tests/integration/ui-kit/d-resize-separator-test.d.ts +2 -0
  750. package/declarations/tests/integration/ui-kit/d-resize-separator-test.d.ts.map +1 -0
  751. package/declarations/tests/integration/ui-kit/d-skeleton-test.d.ts +2 -0
  752. package/declarations/tests/integration/ui-kit/d-skeleton-test.d.ts.map +1 -0
  753. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-adoption-test.d.ts +2 -0
  754. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-adoption-test.d.ts.map +1 -0
  755. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-auto-scroll-test.d.ts +2 -0
  756. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-auto-scroll-test.d.ts.map +1 -0
  757. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-external-target-test.d.ts +2 -0
  758. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-external-target-test.d.ts.map +1 -0
  759. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-monitor-test.d.ts +2 -0
  760. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-monitor-test.d.ts.map +1 -0
  761. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-test.d.ts +2 -0
  762. package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-test.d.ts.map +1 -0
  763. package/declarations/tests/integration/ui-kit/modifiers/d-drag-dwell-test.d.ts +2 -0
  764. package/declarations/tests/integration/ui-kit/modifiers/d-drag-dwell-test.d.ts.map +1 -0
  765. package/declarations/tests/integration/ui-kit/modifiers/d-draggable-test.d.ts +2 -0
  766. package/declarations/tests/integration/ui-kit/modifiers/d-draggable-test.d.ts.map +1 -0
  767. package/declarations/tests/integration/ui-kit/modifiers/d-observe-intersection-test.d.ts +2 -0
  768. package/declarations/tests/integration/ui-kit/modifiers/d-observe-intersection-test.d.ts.map +1 -0
  769. package/declarations/tests/integration/ui-kit/modifiers/d-pointer-drag-test.d.ts +2 -0
  770. package/declarations/tests/integration/ui-kit/modifiers/d-pointer-drag-test.d.ts.map +1 -0
  771. package/declarations/tests/unit/admin/lib/color-scheme-manager-test.d.ts +2 -0
  772. package/declarations/tests/unit/admin/lib/color-scheme-manager-test.d.ts.map +1 -0
  773. package/declarations/tests/unit/instance-initializers/verify-session-after-restore-test.d.ts +2 -0
  774. package/declarations/tests/unit/instance-initializers/verify-session-after-restore-test.d.ts.map +1 -0
  775. package/declarations/tests/unit/lib/-internals/drag-and-drop/drag-dwell-test.d.ts +2 -0
  776. package/declarations/tests/unit/lib/-internals/drag-and-drop/drag-dwell-test.d.ts.map +1 -0
  777. package/declarations/tests/unit/lib/-internals/drag-and-drop/vocabulary-test.d.ts +2 -0
  778. package/declarations/tests/unit/lib/-internals/drag-and-drop/vocabulary-test.d.ts.map +1 -0
  779. package/declarations/tests/unit/lib/blocks/core/decorator-test.d.ts +2 -0
  780. package/declarations/tests/unit/lib/blocks/core/decorator-test.d.ts.map +1 -0
  781. package/declarations/tests/unit/lib/content-localization-test.d.ts +2 -0
  782. package/declarations/tests/unit/lib/content-localization-test.d.ts.map +1 -0
  783. package/declarations/tests/unit/lib/customization-source-test.d.ts +2 -0
  784. package/declarations/tests/unit/lib/customization-source-test.d.ts.map +1 -0
  785. package/declarations/tests/unit/lib/dag-test.d.ts.map +1 -1
  786. package/declarations/tests/unit/lib/dashboard-reports-loader-test.d.ts +2 -0
  787. package/declarations/tests/unit/lib/dashboard-reports-loader-test.d.ts.map +1 -0
  788. package/declarations/tests/unit/lib/download-blob-test.d.ts +2 -0
  789. package/declarations/tests/unit/lib/download-blob-test.d.ts.map +1 -0
  790. package/declarations/tests/unit/lib/download-strategy-test.d.ts +2 -0
  791. package/declarations/tests/unit/lib/download-strategy-test.d.ts.map +1 -0
  792. package/declarations/tests/unit/lib/filter-mode-test.d.ts +2 -0
  793. package/declarations/tests/unit/lib/filter-mode-test.d.ts.map +1 -0
  794. package/declarations/tests/unit/lib/locale-normalizer-test.d.ts +2 -0
  795. package/declarations/tests/unit/lib/locale-normalizer-test.d.ts.map +1 -0
  796. package/declarations/tests/unit/lib/resize-measurements-test.d.ts +2 -0
  797. package/declarations/tests/unit/lib/resize-measurements-test.d.ts.map +1 -0
  798. package/declarations/tests/unit/lib/sidebar/active-link-test.d.ts +2 -0
  799. package/declarations/tests/unit/lib/sidebar/active-link-test.d.ts.map +1 -0
  800. package/declarations/tests/unit/lib/sidebar/link-drop-test.d.ts +2 -0
  801. package/declarations/tests/unit/lib/sidebar/link-drop-test.d.ts.map +1 -0
  802. package/declarations/tests/unit/services/discovery-test.d.ts +2 -0
  803. package/declarations/tests/unit/services/discovery-test.d.ts.map +1 -0
  804. package/declarations/tests/unit/services/drag-and-drop-test.d.ts +2 -0
  805. package/declarations/tests/unit/services/drag-and-drop-test.d.ts.map +1 -0
  806. package/declarations/tsconfig.tsbuildinfo +1 -1
  807. package/declarations/type-tests/blocks/public-api-test.d.ts +2 -0
  808. package/declarations/type-tests/blocks/public-api-test.d.ts.map +1 -0
  809. package/declarations/type-tests/lib/dag-test.d.ts +2 -0
  810. package/declarations/type-tests/lib/dag-test.d.ts.map +1 -0
  811. package/declarations/type-tests/lib/later-test.d.ts +2 -0
  812. package/declarations/type-tests/lib/later-test.d.ts.map +1 -0
  813. package/declarations/type-tests/ui-kit/create-drag-dwell-test.d.ts +2 -0
  814. package/declarations/type-tests/ui-kit/create-drag-dwell-test.d.ts.map +1 -0
  815. package/declarations/type-tests/ui-kit/d-combo-button-test.d.ts +3 -0
  816. package/declarations/type-tests/ui-kit/d-combo-button-test.d.ts.map +1 -0
  817. package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-errors-test.d.ts +3 -0
  818. package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-errors-test.d.ts.map +1 -0
  819. package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-test.d.ts +3 -0
  820. package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-test.d.ts.map +1 -0
  821. package/declarations/type-tests/ui-kit/d-drag-and-drop-errors-test.d.ts +3 -0
  822. package/declarations/type-tests/ui-kit/d-drag-and-drop-errors-test.d.ts.map +1 -0
  823. package/declarations/type-tests/ui-kit/d-drag-and-drop-external-errors-test.d.ts +3 -0
  824. package/declarations/type-tests/ui-kit/d-drag-and-drop-external-errors-test.d.ts.map +1 -0
  825. package/declarations/type-tests/ui-kit/d-drag-and-drop-external-test.d.ts +3 -0
  826. package/declarations/type-tests/ui-kit/d-drag-and-drop-external-test.d.ts.map +1 -0
  827. package/declarations/type-tests/ui-kit/d-drag-and-drop-test.d.ts +3 -0
  828. package/declarations/type-tests/ui-kit/d-drag-and-drop-test.d.ts.map +1 -0
  829. package/declarations/type-tests/ui-kit/d-drag-dwell-errors-test.d.ts +3 -0
  830. package/declarations/type-tests/ui-kit/d-drag-dwell-errors-test.d.ts.map +1 -0
  831. package/declarations/type-tests/ui-kit/d-drag-dwell-test.d.ts +3 -0
  832. package/declarations/type-tests/ui-kit/d-drag-dwell-test.d.ts.map +1 -0
  833. package/declarations/type-tests/ui-kit/d-pointer-drag-errors-test.d.ts +3 -0
  834. package/declarations/type-tests/ui-kit/d-pointer-drag-errors-test.d.ts.map +1 -0
  835. package/declarations/type-tests/ui-kit/d-pointer-drag-test.d.ts +8 -0
  836. package/declarations/type-tests/ui-kit/d-pointer-drag-test.d.ts.map +1 -0
  837. package/declarations/type-tests/ui-kit/d-resize-handles-args-errors-test.d.ts +3 -0
  838. package/declarations/type-tests/ui-kit/d-resize-handles-args-errors-test.d.ts.map +1 -0
  839. package/declarations/type-tests/ui-kit/d-resize-handles-box-errors-test.d.ts +3 -0
  840. package/declarations/type-tests/ui-kit/d-resize-handles-box-errors-test.d.ts.map +1 -0
  841. package/declarations/type-tests/ui-kit/d-resize-handles-payload-errors-test.d.ts +3 -0
  842. package/declarations/type-tests/ui-kit/d-resize-handles-payload-errors-test.d.ts.map +1 -0
  843. package/declarations/type-tests/ui-kit/d-resize-handles-test.d.ts +3 -0
  844. package/declarations/type-tests/ui-kit/d-resize-handles-test.d.ts.map +1 -0
  845. package/declarations/type-tests/ui-kit/d-resize-separator-errors-test.d.ts +3 -0
  846. package/declarations/type-tests/ui-kit/d-resize-separator-errors-test.d.ts.map +1 -0
  847. package/declarations/type-tests/ui-kit/d-resize-separator-test.d.ts +3 -0
  848. package/declarations/type-tests/ui-kit/d-resize-separator-test.d.ts.map +1 -0
  849. package/package.json +10 -1
  850. package/declarations/app/components/admin-onboarding/modal/theme-picker.d.ts +0 -13
  851. package/declarations/app/components/admin-onboarding/modal/theme-picker.d.ts.map +0 -1
  852. package/declarations/app/components/composer-actions-new.d.ts.map +0 -1
  853. package/declarations/app/components/link-to-input.d.ts +0 -7
  854. package/declarations/app/components/link-to-input.d.ts.map +0 -1
  855. package/declarations/app/helpers/reviewable-history-description.d.ts +0 -2
  856. package/declarations/app/helpers/reviewable-history-description.d.ts.map +0 -1
  857. package/declarations/app/modifiers/grippie-drag-resize.d.ts +0 -40
  858. package/declarations/app/modifiers/grippie-drag-resize.d.ts.map +0 -1
  859. package/declarations/select-kit/components/composer-actions.d.ts +0 -39
  860. package/declarations/select-kit/components/composer-actions.d.ts.map +0 -1
  861. package/declarations/tests/acceptance/composer-actions-new-test.d.ts +0 -2
  862. package/declarations/tests/acceptance/composer-actions-new-test.d.ts.map +0 -1
  863. package/declarations/tests/acceptance/composer-new-test.d.ts +0 -2
  864. package/declarations/tests/acceptance/composer-new-test.d.ts.map +0 -1
  865. package/declarations/tests/acceptance/keyboard-shortcuts-new-test.d.ts +0 -2
  866. package/declarations/tests/acceptance/keyboard-shortcuts-new-test.d.ts.map +0 -1
@@ -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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"d-resize-edge.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-resize-edge.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,QAAQ,EAAE,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AASpE;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,SAAS,GAAG,UAAU,CAAC;CAChC;AAED,UAAU,oBAAoB;IAC5B,sCAAsC;IACtC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,KAAK,EAAE;YACL;;;;;;;;eAQG;YACH,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC;YAE7C;;;eAGG;YACH,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,CAAC;YAE7B;;;eAGG;YACH,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,CAAC;YAE7B;;;;;;eAMG;YACH,IAAI,CAAC,EAAE,UAAU,CAAC;YAElB;;;;;;;;;eASG;YACH,IAAI,CAAC,EAAE,IAAI,CAAC;YAEZ;;;;;eAKG;YACH,SAAS,CAAC,EAAE,MAAM,CAAC;YAEnB;;;;;;;;;;eAUG;YACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;YAE3B;;;;eAIG;YACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;YAE1D;;;;;;;;;;;;;;eAcG;YACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;SAC9D,CAAC;QACF,UAAU,EAAE,EAAE,CAAC;KAChB,CAAC;CACH;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,QAAQ,CAAC,oBAAoB,CAAC;;gBAqMjE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC,oBAAoB,CAAC;IAK7D,MAAM,CACJ,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,EAAE,EACf,KAAK,EAAE,oBAAoB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;IAiC9C,OAAO;CAkIR"}
@@ -79,6 +79,7 @@ interface DSwipeSignature {
79
79
  * with the current state of the swipe, including its direction, orientation, and delta values.
80
80
  *
81
81
  * @example
82
+ * ```hbs
82
83
  * <div {{swipe
83
84
  * onDidStartSwipe=this.onDidStartSwipe
84
85
  * onDidSwipe=this.onDidSwipe
@@ -88,6 +89,13 @@ interface DSwipeSignature {
88
89
  * >
89
90
  * Swipe here
90
91
  * </div>
92
+ * ```
93
+ *
94
+ * Guide to choosing between the gesture primitives:
95
+ * `docs/developer-guides/docs/03-code-internals/29-drag-and-gesture-primitives.md`
96
+ *
97
+ * @see The `dPointerDrag` modifier for a value that tracks the pointer continuously. This
98
+ * reports a discrete directional flick, not a continuous transform.
91
99
  */
92
100
  export default class DSwipeModifier extends Modifier<DSwipeSignature> {
93
101
  #private;
@@ -1 +1 @@
1
- {"version":3,"file":"d-swipe.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-swipe.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,OAAO,Q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,EAAE,UAAU,KAAK,IAAI,CAAC;YAEzC,oCAAoC;YACpC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;YAE5C,oEAAoE;YACpE,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;YAEvD,oFAAoF;YACpF,OAAO,CAAC,EAAE,OAAO,CAAC;YAElB,0FAA0F;YAC1F,QAAQ,CAAC,EAAE,OAAO,CAAC;SACpB,CAAC;QACF,UAAU,EAAE,EAAE,CAAC;KAChB,CAAC;CACH;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,QAAQ,CAAC,eAAe,CAAC;;IAClD,IAAI,EAAE,IAAI,CAAC;gBAYhB,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC,eAAe,CAAC;IAKxD;;;;;;OAMG;IACH,MAAM,CACJ,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,EAAE,EACf,EACE,eAAe,EACf,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,OAAO,EACP,QAAQ,GACT,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;IAwBrC;;;;OAIG;IAEH,eAAe,CAAC,KAAK,EAAE,KAAK;IAgB5B;;OAEG;IAEH,aAAa,CAAC,KAAK,EAAE,KAAK;IAM1B;;OAEG;IAEH,UAAU,CAAC,KAAK,EAAE,KAAK;IAKvB;;OAEG;IAEH,gBAAgB,CAAC,KAAK,EAAE,KAAK;IAM7B;;OAEG;IAEH,QAAQ,CAAC,KAAK,EAAE,KAAK;CAwBtB"}
@@ -15,6 +15,16 @@ interface DFloatBodySignature {
15
15
  role?: string;
16
16
  /** Whether to trap Tab focus within the content. */
17
17
  trapTab?: boolean;
18
+ /**
19
+ * Whether the content should take part in the tab sequence as if it were rendered inline
20
+ * after the trigger, rather than at the portal's position in the document: Tab leads into its
21
+ * controls from the trigger, and off the end of them it dismisses the float and continues
22
+ * from the trigger.
23
+ *
24
+ * The non-containing alternative to `trapTab`, for a float that is dismissable but whose
25
+ * content holds focus. See `FloatKitTabOrderInline`.
26
+ */
27
+ inlineTabOrder?: boolean;
18
28
  /**
19
29
  * The element to render into. Some callers forward this even though the body
20
30
  * reads `@instance.portalOutletElement`.
@@ -35,6 +45,7 @@ interface DFloatBodySignature {
35
45
  * instance plus a few presentational overrides.
36
46
  */
37
47
  export default class DFloatBody extends Component<DFloatBodySignature> {
48
+ #private;
38
49
  closeOnScroll: import("ember-modifier").FunctionBasedModifier<{
39
50
  Args: {
40
51
  Positional: unknown[];
@@ -49,6 +60,34 @@ export default class DFloatBody extends Component<DFloatBodySignature> {
49
60
  };
50
61
  Element: HTMLElement;
51
62
  }>;
63
+ /**
64
+ * Extends the trigger's grace period across the content itself, so hovering onto the
65
+ * float keeps it open and leaving it starts the close. Focus moving within the
66
+ * content is not a departure, so it holds the lock rather than scheduling a close.
67
+ */
68
+ hoverGrace: import("ember-modifier").FunctionBasedModifier<{
69
+ Args: {
70
+ Positional: unknown[];
71
+ Named: import("ember-modifier/-private/signature").EmptyObject;
72
+ };
73
+ Element: HTMLElement;
74
+ }>;
75
+ /**
76
+ * Whether to install the grace-period listeners on the content. Only meaningful while
77
+ * the float is open, and only when a grace period is configured.
78
+ *
79
+ * @returns `true` when the content should participate in the grace period.
80
+ */
81
+ get supportsHoverGrace(): boolean;
82
+ get contentAriaLabelledby(): string | null | undefined;
83
+ /**
84
+ * Whether to repair the tab order, asserting first that containment was not ALSO asked for.
85
+ *
86
+ * The two are alternatives, and the conflict is otherwise silent and one-sided: `dTrapTab` is
87
+ * applied first below, so its `preventDefault` lands before the tab-order handler runs, and the
88
+ * float traps focus while its author believes they configured the opposite.
89
+ */
90
+ get inlineTabOrder(): boolean;
52
91
  get supportsCloseOnClickOutside(): boolean;
53
92
  get supportsCloseOnEscape(): boolean;
54
93
  get supportsCloseOnScroll(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"d-float-body.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-float-body.gts"],"names":[],"mappings":"AAAA,OA8JO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,gBAAgB,MAAM,4CAA4C,CAAC;AAQ/E,UAAU,mBAAmB;IAC3B,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,4CAA4C;QAC5C,QAAQ,EAAE,gBAAgB,CAAC;QAE3B,oEAAoE;QACpE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;QAExB,gDAAgD;QAChD,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,kDAAkD;QAClD,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,qCAAqC;QACrC,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,oDAAoD;QACpD,OAAO,CAAC,EAAE,OAAO,CAAC;QAElB;;;WAGG;QACH,mBAAmB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;KAC1C,CAAC;IACF,MAAM,EAAE;QACN,iEAAiE;QACjE,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACpE,aAAa;;;;;;OAYV;IAEH,0BAA0B;;;;;;OAWvB;IAEH,IAAI,2BAA2B,YAE9B;IAED,IAAI,qBAAqB,YAExB;IAED,IAAI,qBAAqB,YAExB;IAED,IAAI,OAAO,gDAEV;IAED,IAAI,OAAO,gBAEV;IAED,IAAI,OAAO,8CAEV;IAED,IAAI,KAAK,0CAOR;CAuDF"}
1
+ {"version":3,"file":"d-float-body.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-float-body.gts"],"names":[],"mappings":"AAAA,OAkQO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,KAAK,gBAAgB,MAAM,4CAA4C,CAAC;AAU/E,UAAU,mBAAmB;IAC3B,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,4CAA4C;QAC5C,QAAQ,EAAE,gBAAgB,CAAC;QAE3B,oEAAoE;QACpE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;QAExB,gDAAgD;QAChD,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,kDAAkD;QAClD,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,qCAAqC;QACrC,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,oDAAoD;QACpD,OAAO,CAAC,EAAE,OAAO,CAAC;QAElB;;;;;;;;WAQG;QACH,cAAc,CAAC,EAAE,OAAO,CAAC;QAEzB;;;WAGG;QACH,mBAAmB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;KAC1C,CAAC;IACF,MAAM,EAAE;QACN,iEAAiE;QACjE,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,SAAS,CAAC,mBAAmB,CAAC;;IACpE,aAAa;;;;;;OAYV;IAEH,0BAA0B;;;;;;OAWvB;IAEH;;;;OAIG;IACH,UAAU;;;;;;OA0BP;IAEH;;;;;OAKG;IACH,IAAI,kBAAkB,IAAI,OAAO,CAEhC;IAED,IAAI,qBAAqB,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAMrD;IAUD;;;;;;OAMG;IACH,IAAI,cAAc,YAOjB;IAED,IAAI,2BAA2B,YAE9B;IAED,IAAI,qBAAqB,YAExB;IAED,IAAI,qBAAqB,YAExB;IAED,IAAI,OAAO,gDAEV;IAED,IAAI,OAAO,gBAEV;IAED,IAAI,OAAO,8CAEV;IAED,IAAI,KAAK,0CAWR;CA2DF"}
@@ -1 +1 @@
1
- {"version":3,"file":"d-headless-menu.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-headless-menu.gts"],"names":[],"mappings":"AAAA,OAiCO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,OAAO,KAAK,aAAa,MAAM,yCAAyC,CAAC;AAEzE,UAAU,sBAAsB;IAC9B,IAAI,EAAE;QACJ,mCAAmC;QACnC,IAAI,EAAE,aAAa,CAAC;QAEpB,oEAAoE;QACpE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KACzB,CAAC;CACH;AAED;;;;;;GAMG;AACH,QAAA,MAAM,aAAa,EAAE,qBAAqB,CAAC,sBAAsB,CAW/D,CAAC;AAEH,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"d-headless-menu.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-headless-menu.gts"],"names":[],"mappings":"AAAA,OAkCO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,OAAO,KAAK,aAAa,MAAM,yCAAyC,CAAC;AAEzE,UAAU,sBAAsB;IAC9B,IAAI,EAAE;QACJ,mCAAmC;QACnC,IAAI,EAAE,aAAa,CAAC;QAEpB,oEAAoE;QACpE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KACzB,CAAC;CACH;AAED;;;;;;GAMG;AACH,QAAA,MAAM,aAAa,EAAE,qBAAqB,CAAC,sBAAsB,CAY/D,CAAC;AAEH,eAAe,aAAa,CAAC"}
@@ -1,12 +1,16 @@
1
- import Component from "@glimmer/component";
1
+ import type { TemplateOnlyComponent } from "@ember/component/template-only";
2
2
  import type FloatKitInstance from "discourse/float-kit/lib/float-kit-instance";
3
- import type Site from "discourse/models/site";
4
3
  interface DInlineFloatSignature {
5
4
  Args: {
6
5
  /** The float instance to render. */
7
6
  instance: FloatKitInstance;
8
7
  /** Whether to trap Tab focus within the content. */
9
8
  trapTab?: boolean;
9
+ /**
10
+ * Whether the content takes part in the tab sequence as if rendered inline after the trigger.
11
+ * The non-containing alternative to `trapTab`; the two are mutually exclusive.
12
+ */
13
+ inlineTabOrder?: boolean;
10
14
  /** A class added to the outer float element. */
11
15
  mainClass?: string;
12
16
  /** A class added to the inner content element. */
@@ -26,8 +30,6 @@ interface DInlineFloatSignature {
26
30
  * and `DHeadlessTooltip`); the declarative components render their own body
27
31
  * inline instead.
28
32
  */
29
- export default class DInlineFloat extends Component<DInlineFloatSignature> {
30
- site: Site;
31
- }
32
- export {};
33
+ declare const DInlineFloat: TemplateOnlyComponent<DInlineFloatSignature>;
34
+ export default DInlineFloat;
33
35
  //# sourceMappingURL=d-inline-float.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"d-inline-float.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-inline-float.gts"],"names":[],"mappings":"AAAA,OAyFO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,KAAK,gBAAgB,MAAM,4CAA4C,CAAC;AAC/E,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAK9C,UAAU,qBAAqB;IAC7B,IAAI,EAAE;QACJ,oCAAoC;QACpC,QAAQ,EAAE,gBAAgB,CAAC;QAE3B,oDAAoD;QACpD,OAAO,CAAC,EAAE,OAAO,CAAC;QAElB,gDAAgD;QAChD,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,kDAAkD;QAClD,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,qCAAqC;QACrC,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,oEAAoE;QACpE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KACzB,CAAC;CACH;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,SAAS,CAAC,qBAAqB,CAAC;IACvD,IAAI,EAAE,IAAI,CAAC;CA0D7B"}
1
+ {"version":3,"file":"d-inline-float.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-inline-float.gts"],"names":[],"mappings":"AAAA,OA6FO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAG5E,OAAO,KAAK,gBAAgB,MAAM,4CAA4C,CAAC;AAK/E,UAAU,qBAAqB;IAC7B,IAAI,EAAE;QACJ,oCAAoC;QACpC,QAAQ,EAAE,gBAAgB,CAAC;QAE3B,oDAAoD;QACpD,OAAO,CAAC,EAAE,OAAO,CAAC;QAElB;;;WAGG;QACH,cAAc,CAAC,EAAE,OAAO,CAAC;QAEzB,gDAAgD;QAChD,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,kDAAkD;QAClD,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,qCAAqC;QACrC,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,oEAAoE;QACpE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KACzB,CAAC;CACH;AAED;;;;;;;;GAQG;AACH,QAAA,MAAM,YAAY,EAAE,qBAAqB,CAAC,qBAAqB,CAyD7D,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -2,7 +2,6 @@ import Component from "@glimmer/component";
2
2
  import { type ComponentLike } from "@glint/template";
3
3
  import { type FloatCallback, type MenuOptions } from "discourse/float-kit/lib/constants";
4
4
  import DMenuInstance from "discourse/float-kit/lib/d-menu-instance";
5
- import type Site from "discourse/models/site";
6
5
  /** The object yielded to each of the menu's blocks and passed to a rendered component. */
7
6
  export interface DMenuComponentArgs<Data = unknown> {
8
7
  /** Closes the menu. */
@@ -11,6 +10,14 @@ export interface DMenuComponentArgs<Data = unknown> {
11
10
  show: FloatCallback;
12
11
  /** The `@data` passed to the menu. */
13
12
  data?: Data;
13
+ /** Whether the menu is currently open — reflects the live instance state. */
14
+ expanded: boolean;
15
+ /**
16
+ * Whether the menu is disabled — reflects the live instance state. A custom
17
+ * `@triggerComponent` does not receive `@disabled` itself, so this is how it renders a
18
+ * disabled affordance for the veto that `<DMenu>` is already applying.
19
+ */
20
+ disabled: boolean;
14
21
  }
15
22
  type DMenuOptionArgs<Data> = Partial<Omit<MenuOptions, "data" | "component" | "onRegisterApi">> & {
16
23
  /** The data passed to the content block and rendered component. */
@@ -25,7 +32,7 @@ type DMenuOptionArgs<Data> = Partial<Omit<MenuOptions, "data" | "component" | "o
25
32
  /** Called with the menu instance when it is created, so callers can control it programmatically. */
26
33
  onRegisterApi?: (instance: DMenuInstance) => void;
27
34
  };
28
- interface DMenuSignature<Data = unknown> {
35
+ export interface DMenuSignature<Data = unknown> {
29
36
  Element: HTMLElement;
30
37
  Args: DMenuOptionArgs<Data> & {
31
38
  /** Called on keydown on the default trigger button. */
@@ -40,7 +47,18 @@ interface DMenuSignature<Data = unknown> {
40
47
  ariaLabel?: string;
41
48
  /** The title for the default trigger button. */
42
49
  title?: string;
43
- /** Whether the default trigger button is disabled. */
50
+ /**
51
+ * Disables the menu: the default trigger button renders disabled, and — for any trigger,
52
+ * including a custom `@triggerComponent` — a trigger event (click/focus/hover/hold) no longer
53
+ * opens the menu. It does not touch the trigger's focusability or ARIA; that stays the
54
+ * caller's concern. A custom trigger reads the state back through `componentArgs.disabled`.
55
+ *
56
+ * Becoming disabled while open also closes the menu, since a disabled control must not keep
57
+ * an interactive overlay live. Where focus lands afterwards follows from the trigger: the
58
+ * default button is natively `disabled`, which no element can hold focus while being, so
59
+ * focus falls to the document. A caller that needs focus preserved supplies a trigger that
60
+ * stays focusable — the close refocuses it.
61
+ */
44
62
  disabled?: boolean;
45
63
  /** Whether the default trigger button shows a loading state. */
46
64
  isLoading?: boolean;
@@ -64,7 +82,6 @@ interface DMenuSignature<Data = unknown> {
64
82
  */
65
83
  export default class DMenu<Data = unknown> extends Component<DMenuSignature<Data>> {
66
84
  #private;
67
- site: Site;
68
85
  menuInstance: DMenuInstance;
69
86
  registerTrigger: import("ember-modifier").FunctionBasedModifier<{
70
87
  Args: {
@@ -80,6 +97,13 @@ export default class DMenu<Data = unknown> extends Component<DMenuSignature<Data
80
97
  };
81
98
  Element: HTMLElement;
82
99
  }>;
100
+ syncDisabled: import("ember-modifier").FunctionBasedModifier<{
101
+ Args: {
102
+ Positional: [boolean?];
103
+ Named: import("ember-modifier/-private/signature").EmptyObject;
104
+ };
105
+ Element: HTMLElement;
106
+ }>;
83
107
  teardownFloatBody(): void;
84
108
  forwardTabToContent(event: KeyboardEvent): unknown;
85
109
  get options(): MenuOptions;
@@ -93,6 +117,13 @@ export default class DMenu<Data = unknown> extends Component<DMenuSignature<Data
93
117
  default: [];
94
118
  };
95
119
  }>;
120
+ /**
121
+ * Filling the gaps with defaults here would produce the same merged options, but it would erase
122
+ * the difference between "left unset" and "explicitly set to the default", which the instance
123
+ * needs in order to let one option imply another.
124
+ *
125
+ * @returns Only the options the caller supplied, keyed as in `MENU.options`.
126
+ */
96
127
  get allowedProperties(): Record<string, unknown>;
97
128
  }
98
129
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"d-menu.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-menu.gts"],"names":[],"mappings":"AAAA,OAiTO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIrD,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,WAAW,EACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,aAAa,MAAM,yCAAyC,CAAC;AAEpE,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAM9C,0FAA0F;AAC1F,MAAM,WAAW,kBAAkB,CAAC,IAAI,GAAG,OAAO;IAChD,uBAAuB;IACvB,KAAK,EAAE,aAAa,CAAC;IAErB,sBAAsB;IACtB,IAAI,EAAE,aAAa,CAAC;IAEpB,sCAAsC;IACtC,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AASD,KAAK,eAAe,CAAC,IAAI,IAAI,OAAO,CAClC,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,GAAG,eAAe,CAAC,CAC1D,GAAG;IACF,mEAAmE;IACnE,IAAI,CAAC,EAAE,IAAI,CAAC;IAEZ,2FAA2F;IAC3F,SAAS,CAAC,EAAE,aAAa,CAA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