ngwr 16.3.0 → 16.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/carousel/styles/_index.scss +53 -1
  2. package/charts/bar-chart/styles/_index.scss +494 -305
  3. package/charts/boxplot-chart/styles/_index.scss +114 -48
  4. package/charts/bullet-chart/styles/_index.scss +113 -42
  5. package/charts/calendar-heatmap/styles/_index.scss +111 -20
  6. package/charts/candlestick-chart/styles/_index.scss +61 -26
  7. package/charts/chart-legend/styles/_index.scss +119 -1
  8. package/charts/core/styles/_index.scss +201 -5
  9. package/charts/donut-chart/styles/_index.scss +76 -21
  10. package/charts/funnel-chart/styles/_index.scss +66 -38
  11. package/charts/gauge/styles/_index.scss +12 -1
  12. package/charts/heatmap-chart/styles/_index.scss +90 -53
  13. package/charts/line-chart/styles/_index.scss +143 -139
  14. package/charts/meter-group/styles/_index.scss +87 -25
  15. package/charts/radar-chart/styles/_index.scss +82 -40
  16. package/charts/scatter-chart/styles/_index.scss +117 -44
  17. package/charts/sparkline/styles/_index.scss +7 -1
  18. package/charts/treemap-chart/styles/_index.scss +94 -42
  19. package/charts/waterfall-chart/styles/_index.scss +150 -87
  20. package/color-picker/styles/_index.scss +7 -3
  21. package/copy-value/styles/_index.scss +21 -2
  22. package/date-stamp/styles/_index.scss +2 -1
  23. package/dialog/styles/_index.scss +6 -0
  24. package/drawer/styles/_index.scss +5 -1
  25. package/fesm2022/ngwr-breadcrumbs.mjs +2 -2
  26. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  27. package/fesm2022/ngwr-carousel-testing.mjs +27 -1
  28. package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
  29. package/fesm2022/ngwr-carousel.mjs +86 -4
  30. package/fesm2022/ngwr-carousel.mjs.map +1 -1
  31. package/fesm2022/ngwr-cascader-testing.mjs.map +1 -1
  32. package/fesm2022/ngwr-cascader.mjs +56 -25
  33. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  34. package/fesm2022/ngwr-charts-bar-chart-testing.mjs +16 -14
  35. package/fesm2022/ngwr-charts-bar-chart-testing.mjs.map +1 -1
  36. package/fesm2022/ngwr-charts-bar-chart.mjs +399 -141
  37. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  38. package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs +19 -5
  39. package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs.map +1 -1
  40. package/fesm2022/ngwr-charts-boxplot-chart.mjs +250 -56
  41. package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
  42. package/fesm2022/ngwr-charts-bullet-chart.mjs +118 -18
  43. package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
  44. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +266 -46
  45. package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
  46. package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs +21 -10
  47. package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs.map +1 -1
  48. package/fesm2022/ngwr-charts-candlestick-chart.mjs +319 -72
  49. package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
  50. package/fesm2022/ngwr-charts-chart-legend.mjs +211 -9
  51. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  52. package/fesm2022/ngwr-charts-core.mjs +299 -18
  53. package/fesm2022/ngwr-charts-core.mjs.map +1 -1
  54. package/fesm2022/ngwr-charts-donut-chart-testing.mjs.map +1 -1
  55. package/fesm2022/ngwr-charts-donut-chart.mjs +206 -27
  56. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  57. package/fesm2022/ngwr-charts-funnel-chart-testing.mjs +4 -4
  58. package/fesm2022/ngwr-charts-funnel-chart-testing.mjs.map +1 -1
  59. package/fesm2022/ngwr-charts-funnel-chart.mjs +113 -10
  60. package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
  61. package/fesm2022/ngwr-charts-gauge-testing.mjs.map +1 -1
  62. package/fesm2022/ngwr-charts-gauge.mjs +98 -12
  63. package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
  64. package/fesm2022/ngwr-charts-heatmap-chart.mjs +226 -31
  65. package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
  66. package/fesm2022/ngwr-charts-line-chart-testing.mjs +16 -4
  67. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  68. package/fesm2022/ngwr-charts-line-chart.mjs +407 -172
  69. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  70. package/fesm2022/ngwr-charts-meter-group-testing.mjs +4 -4
  71. package/fesm2022/ngwr-charts-meter-group-testing.mjs.map +1 -1
  72. package/fesm2022/ngwr-charts-meter-group.mjs +223 -31
  73. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  74. package/fesm2022/ngwr-charts-radar-chart-testing.mjs +2 -1
  75. package/fesm2022/ngwr-charts-radar-chart-testing.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-radar-chart.mjs +255 -66
  77. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-scatter-chart-testing.mjs +39 -18
  79. package/fesm2022/ngwr-charts-scatter-chart-testing.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-scatter-chart.mjs +431 -53
  81. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  82. package/fesm2022/ngwr-charts-sparkline.mjs +19 -8
  83. package/fesm2022/ngwr-charts-sparkline.mjs.map +1 -1
  84. package/fesm2022/ngwr-charts-treemap-chart.mjs +253 -44
  85. package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
  86. package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs +15 -7
  87. package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs.map +1 -1
  88. package/fesm2022/ngwr-charts-waterfall-chart.mjs +151 -23
  89. package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
  90. package/fesm2022/ngwr-color-picker.mjs +44 -4
  91. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  92. package/fesm2022/ngwr-context-menu-testing.mjs.map +1 -1
  93. package/fesm2022/ngwr-context-menu.mjs +60 -17
  94. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  95. package/fesm2022/ngwr-copy-value-testing.mjs +5 -1
  96. package/fesm2022/ngwr-copy-value-testing.mjs.map +1 -1
  97. package/fesm2022/ngwr-copy-value.mjs +38 -2
  98. package/fesm2022/ngwr-copy-value.mjs.map +1 -1
  99. package/fesm2022/ngwr-date-picker.mjs +56 -8
  100. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  101. package/fesm2022/ngwr-dialog.mjs +13 -5
  102. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  103. package/fesm2022/ngwr-drawer.mjs +19 -3
  104. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  105. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  106. package/fesm2022/ngwr-dropdown.mjs +49 -6
  107. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  108. package/fesm2022/ngwr-editor.mjs +1 -0
  109. package/fesm2022/ngwr-editor.mjs.map +1 -1
  110. package/fesm2022/ngwr-file-upload.mjs +7 -3
  111. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  112. package/fesm2022/ngwr-graph-testing.mjs +27 -0
  113. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  114. package/fesm2022/ngwr-graph.mjs +643 -14
  115. package/fesm2022/ngwr-graph.mjs.map +1 -1
  116. package/fesm2022/ngwr-i18n-ar.mjs +13 -4
  117. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  118. package/fesm2022/ngwr-i18n-cs.mjs +13 -4
  119. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  120. package/fesm2022/ngwr-i18n-de.mjs +13 -4
  121. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  122. package/fesm2022/ngwr-i18n-en.mjs +13 -4
  123. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  124. package/fesm2022/ngwr-i18n-es.mjs +13 -4
  125. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  126. package/fesm2022/ngwr-i18n-fr.mjs +13 -4
  127. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  128. package/fesm2022/ngwr-i18n-he.mjs +13 -4
  129. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  130. package/fesm2022/ngwr-i18n-hi.mjs +13 -4
  131. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  132. package/fesm2022/ngwr-i18n-id.mjs +13 -4
  133. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  134. package/fesm2022/ngwr-i18n-it.mjs +13 -4
  135. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  136. package/fesm2022/ngwr-i18n-ja.mjs +13 -4
  137. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  138. package/fesm2022/ngwr-i18n-ko.mjs +13 -4
  139. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  140. package/fesm2022/ngwr-i18n-nl.mjs +13 -4
  141. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  142. package/fesm2022/ngwr-i18n-pl.mjs +13 -4
  143. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  144. package/fesm2022/ngwr-i18n-pt.mjs +13 -4
  145. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  146. package/fesm2022/ngwr-i18n-ru.mjs +13 -4
  147. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  148. package/fesm2022/ngwr-i18n-sv.mjs +13 -4
  149. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  150. package/fesm2022/ngwr-i18n-tr.mjs +13 -4
  151. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  152. package/fesm2022/ngwr-i18n-uk.mjs +13 -4
  153. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  154. package/fesm2022/ngwr-i18n-vi.mjs +13 -4
  155. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  156. package/fesm2022/ngwr-i18n-zh-tw.mjs +13 -4
  157. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  158. package/fesm2022/ngwr-i18n-zh.mjs +13 -4
  159. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  160. package/fesm2022/ngwr-lightbox.mjs +22 -5
  161. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  162. package/fesm2022/ngwr-list.mjs +2 -2
  163. package/fesm2022/ngwr-list.mjs.map +1 -1
  164. package/fesm2022/ngwr-overlay.mjs +21 -2
  165. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  166. package/fesm2022/ngwr-pagination.mjs +1 -0
  167. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  168. package/fesm2022/ngwr-popconfirm-testing.mjs +4 -1
  169. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  170. package/fesm2022/ngwr-popconfirm.mjs +41 -5
  171. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  172. package/fesm2022/ngwr-popover.mjs +67 -12
  173. package/fesm2022/ngwr-popover.mjs.map +1 -1
  174. package/fesm2022/ngwr-schema-form.mjs +3 -0
  175. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  176. package/fesm2022/ngwr-select.mjs +100 -3
  177. package/fesm2022/ngwr-select.mjs.map +1 -1
  178. package/fesm2022/ngwr-sortable-list.mjs +2 -2
  179. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  180. package/fesm2022/ngwr-table-testing.mjs +71 -3
  181. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  182. package/fesm2022/ngwr-table.mjs +173 -11
  183. package/fesm2022/ngwr-table.mjs.map +1 -1
  184. package/fesm2022/ngwr-tour-testing.mjs +13 -1
  185. package/fesm2022/ngwr-tour-testing.mjs.map +1 -1
  186. package/fesm2022/ngwr-tour.mjs +25 -16
  187. package/fesm2022/ngwr-tour.mjs.map +1 -1
  188. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  189. package/fesm2022/ngwr-tree.mjs +52 -8
  190. package/fesm2022/ngwr-tree.mjs.map +1 -1
  191. package/fesm2022/ngwr-utils.mjs +64 -1
  192. package/fesm2022/ngwr-utils.mjs.map +1 -1
  193. package/fesm2022/ngwr-version.mjs +1 -1
  194. package/fesm2022/ngwr-version.mjs.map +1 -1
  195. package/fesm2022/ngwr-window.mjs +16 -9
  196. package/fesm2022/ngwr-window.mjs.map +1 -1
  197. package/graph/styles/_index.scss +87 -0
  198. package/i18n/ar.json +13 -4
  199. package/i18n/cs.json +13 -4
  200. package/i18n/de.json +13 -4
  201. package/i18n/en.json +13 -4
  202. package/i18n/es.json +13 -4
  203. package/i18n/fr.json +13 -4
  204. package/i18n/he.json +13 -4
  205. package/i18n/hi.json +13 -4
  206. package/i18n/id.json +13 -4
  207. package/i18n/it.json +13 -4
  208. package/i18n/ja.json +13 -4
  209. package/i18n/ko.json +13 -4
  210. package/i18n/nl.json +13 -4
  211. package/i18n/pl.json +13 -4
  212. package/i18n/pt.json +13 -4
  213. package/i18n/ru.json +13 -4
  214. package/i18n/sv.json +13 -4
  215. package/i18n/tr.json +13 -4
  216. package/i18n/uk.json +13 -4
  217. package/i18n/vi.json +13 -4
  218. package/i18n/zh-TW.json +13 -4
  219. package/i18n/zh.json +13 -4
  220. package/llms-full.txt +12 -12
  221. package/llms.txt +64 -27
  222. package/package.json +1 -1
  223. package/popconfirm/styles/_index.scss +6 -0
  224. package/popover/styles/_index.scss +24 -13
  225. package/schematics/collection.json +5 -0
  226. package/schematics/eject/index.js +158 -0
  227. package/schematics/eject/schema.js +8 -0
  228. package/schematics/eject/schema.json +24 -0
  229. package/schematics/eject/source.js +295 -0
  230. package/schematics/use/symbol-map.json +2 -0
  231. package/select/styles/_index.scss +13 -0
  232. package/skills/ngwr/SKILL.md +30 -3
  233. package/skills/ngwr/references/catalog.md +2 -2
  234. package/table/styles/_index.scss +24 -0
  235. package/theme/styles/_focus.scss +11 -1
  236. package/tour/styles/_index.scss +6 -0
  237. package/types/ngwr-carousel-testing.d.ts +29 -6
  238. package/types/ngwr-carousel.d.ts +52 -5
  239. package/types/ngwr-cascader-testing.d.ts +4 -3
  240. package/types/ngwr-cascader.d.ts +29 -7
  241. package/types/ngwr-charts-bar-chart-testing.d.ts +15 -13
  242. package/types/ngwr-charts-bar-chart.d.ts +220 -48
  243. package/types/ngwr-charts-boxplot-chart-testing.d.ts +9 -2
  244. package/types/ngwr-charts-boxplot-chart.d.ts +110 -19
  245. package/types/ngwr-charts-bullet-chart.d.ts +72 -12
  246. package/types/ngwr-charts-calendar-heatmap.d.ts +119 -15
  247. package/types/ngwr-charts-candlestick-chart-testing.d.ts +19 -9
  248. package/types/ngwr-charts-candlestick-chart.d.ts +195 -62
  249. package/types/ngwr-charts-chart-legend.d.ts +142 -5
  250. package/types/ngwr-charts-core.d.ts +259 -21
  251. package/types/ngwr-charts-donut-chart-testing.d.ts +11 -5
  252. package/types/ngwr-charts-donut-chart.d.ts +124 -16
  253. package/types/ngwr-charts-funnel-chart.d.ts +62 -6
  254. package/types/ngwr-charts-gauge-testing.d.ts +5 -1
  255. package/types/ngwr-charts-gauge.d.ts +72 -10
  256. package/types/ngwr-charts-heatmap-chart.d.ts +103 -20
  257. package/types/ngwr-charts-line-chart-testing.d.ts +16 -2
  258. package/types/ngwr-charts-line-chart.d.ts +215 -86
  259. package/types/ngwr-charts-meter-group.d.ts +96 -7
  260. package/types/ngwr-charts-radar-chart-testing.d.ts +14 -3
  261. package/types/ngwr-charts-radar-chart.d.ts +148 -28
  262. package/types/ngwr-charts-scatter-chart-testing.d.ts +22 -10
  263. package/types/ngwr-charts-scatter-chart.d.ts +188 -18
  264. package/types/ngwr-charts-sparkline.d.ts +26 -4
  265. package/types/ngwr-charts-treemap-chart.d.ts +121 -23
  266. package/types/ngwr-charts-waterfall-chart-testing.d.ts +8 -1
  267. package/types/ngwr-charts-waterfall-chart.d.ts +108 -21
  268. package/types/ngwr-color-picker.d.ts +27 -0
  269. package/types/ngwr-context-menu-testing.d.ts +10 -9
  270. package/types/ngwr-context-menu.d.ts +19 -0
  271. package/types/ngwr-copy-value.d.ts +8 -0
  272. package/types/ngwr-date-picker.d.ts +34 -2
  273. package/types/ngwr-dialog.d.ts +30 -10
  274. package/types/ngwr-drawer.d.ts +32 -1
  275. package/types/ngwr-dropdown-testing.d.ts +8 -5
  276. package/types/ngwr-dropdown.d.ts +31 -6
  277. package/types/ngwr-file-upload.d.ts +8 -2
  278. package/types/ngwr-graph-testing.d.ts +28 -0
  279. package/types/ngwr-graph.d.ts +263 -91
  280. package/types/ngwr-lightbox.d.ts +15 -0
  281. package/types/ngwr-overlay.d.ts +16 -1
  282. package/types/ngwr-popconfirm-testing.d.ts +11 -2
  283. package/types/ngwr-popconfirm.d.ts +28 -1
  284. package/types/ngwr-popover.d.ts +59 -9
  285. package/types/ngwr-select.d.ts +37 -0
  286. package/types/ngwr-table-testing.d.ts +52 -1
  287. package/types/ngwr-table.d.ts +102 -10
  288. package/types/ngwr-tour-testing.d.ts +10 -0
  289. package/types/ngwr-tour.d.ts +32 -4
  290. package/types/ngwr-tree-testing.d.ts +1 -2
  291. package/types/ngwr-tree.d.ts +35 -2
  292. package/types/ngwr-utils.d.ts +79 -1
  293. package/types/ngwr-version.d.ts +1 -1
  294. package/types/ngwr-window.d.ts +14 -11
  295. package/window/styles/_index.scss +5 -10
@@ -216,6 +216,15 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
216
216
  readonly viewportHeight: import("@angular/core").InputSignal<string | number>;
217
217
  /** Extra rows kept rendered above and below the viewport as scroll headroom. @default 6 */
218
218
  readonly overscan: import("@angular/core").InputSignalWithTransform<number, unknown>;
219
+ /**
220
+ * `openOn="overlay"` only: focus the cursor row when the panel opens (the
221
+ * list itself in a virtual tree). Off, focus stays on the trigger:
222
+ * ArrowDown, ArrowUp or Tab there move into the panel, and a letter jumps to
223
+ * the row it starts.
224
+ *
225
+ * @default false
226
+ */
227
+ readonly autoFocus: import("@angular/core").InputSignalWithTransform<boolean, any>;
219
228
  /**
220
229
  * Extra CSS classes for the overlay pane, when `openOn` puts the tree in one.
221
230
  *
@@ -314,6 +323,8 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
314
323
  * `wrFollowDirection` in `openOverlay()` is where that lives.
315
324
  */
316
325
  private readonly dir;
326
+ private readonly liveLocale;
327
+ private readonly typeahead;
317
328
  /** Currently focused row's index in the flattened visible list. */
318
329
  protected readonly focusedIndex: import("@angular/core").WritableSignal<number>;
319
330
  /**
@@ -542,10 +553,21 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
542
553
  * The same key and the same split `wr-select` uses, so the two read alike:
543
554
  * in MULTI mode Backspace drops the last chip — chip removal is its own
544
555
  * control, not gated on `clearable()` — and in SINGLE mode it clears, gated on
545
- * `clearable()`, because that input IS the clear control. Only while closed:
546
- * an open panel owns the keyboard.
556
+ * `clearable()`, because that input IS the clear control. Only while closed.
557
+ *
558
+ * While the panel is open the trigger is the way into it, since opening
559
+ * leaves focus here unless `autoFocus` asks: the arrows and Tab move to the
560
+ * cursor row, and a letter to the row it starts. The pane sits at the end of
561
+ * `<body>`, where the browser's own Tab would not find it.
547
562
  */
548
563
  protected onTriggerKey(event: KeyboardEvent): void;
564
+ /**
565
+ * Type-ahead: move the cursor to the next visible row after `from` that
566
+ * starts with the letters typed so far.
567
+ *
568
+ * @returns whether the key was a type-ahead key.
569
+ */
570
+ private typeTo;
549
571
  protected removeChip(id: TId, event: Event): void;
550
572
  protected clearSelection(event: Event): void;
551
573
  private toggleExpanded;
@@ -617,6 +639,12 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
617
639
  private focusIndex;
618
640
  private collectExpandableIds;
619
641
  private openOverlay;
642
+ /**
643
+ * Move focus into the open panel. Virtual mode focuses the LIST (managed
644
+ * focus via `aria-activedescendant`); the non-virtual shape focuses the
645
+ * roving row, which carries the tab stop.
646
+ */
647
+ private focusPanel;
620
648
  /** `notify: false` is the destroy path: an output cannot emit from a destroyed view. */
621
649
  private closeOverlay;
622
650
  static ɵfac: i0.ɵɵFactoryDeclaration<WrTree<any>, never>;
@@ -711,6 +739,11 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
711
739
  "required": false;
712
740
  "isSignal": true;
713
741
  };
742
+ "autoFocus": {
743
+ "alias": "autoFocus";
744
+ "required": false;
745
+ "isSignal": true;
746
+ };
714
747
  "panelClass": {
715
748
  "alias": "panelClass";
716
749
  "required": false;
@@ -872,6 +872,84 @@ export declare function wrIsPrintableKey(event: KeyboardEvent): boolean;
872
872
  * ```
873
873
  */
874
874
  export declare function wrIsComposing(event: KeyboardEvent): boolean;
875
+ /**
876
+ * @license
877
+ *
878
+ * Use of this source code is governed by an MIT-style license that can be
879
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
880
+ */
881
+ /** Options of {@link wrTypeahead}. */
882
+ interface WrTypeaheadOptions {
883
+ /**
884
+ * The pause, in milliseconds, after which the next key starts a new run.
885
+ * @default 500
886
+ */
887
+ readonly resetMs?: number;
888
+ /**
889
+ * The language the labels are written in, as a BCP 47 tag or a function that
890
+ * returns one, for the case folding (`I` and `ı` in Turkish). The browser's
891
+ * own locale when omitted.
892
+ */
893
+ readonly locale?: string | (() => string | undefined);
894
+ }
895
+ /** One row of the list a {@link WrTypeahead} searches. */
896
+ interface WrTypeaheadItem {
897
+ /** The text the row is matched by. */
898
+ readonly label: string;
899
+ /** A disabled row is never a match. */
900
+ readonly disabled?: boolean;
901
+ }
902
+ /** What {@link wrTypeahead} returns. */
903
+ interface WrTypeahead {
904
+ /**
905
+ * Feed a `keydown` and get the row to move to: `type()` and `find()` in one
906
+ * call.
907
+ *
908
+ * @returns the index of the match, `-1` when the key joined the run and no row
909
+ * matches it, or `null` when the key is not a typeahead key and the caller's
910
+ * own handling goes on.
911
+ */
912
+ handleKey(event: KeyboardEvent, items: readonly (string | WrTypeaheadItem)[], current: number): number | null;
913
+ /**
914
+ * Add a `keydown` to the run. Returns whether the key was taken: a printable
915
+ * character with no Ctrl, Meta or Alt, outside an IME composition and outside
916
+ * a text field. Space is taken only while a run is active, so it keeps its
917
+ * own job as the first key.
918
+ */
919
+ type(event: KeyboardEvent): boolean;
920
+ /**
921
+ * The row the run points at, or `-1`. One letter, typed once or repeated,
922
+ * looks from the row after `current` and wraps, so the same letter cycles. A
923
+ * longer run looks from `current` itself, so the row it already matches stays.
924
+ */
925
+ find(items: readonly (string | WrTypeaheadItem)[], current: number): number;
926
+ /** Whether a run is in progress: a key was taken less than `resetMs` ago. */
927
+ readonly active: boolean;
928
+ /** Drop the run. */
929
+ reset(): void;
930
+ }
931
+ /**
932
+ * Type-to-jump for a list: the letters typed in a row select the next row whose
933
+ * label starts with them, as the WAI-ARIA listbox, menu and tree patterns ask.
934
+ *
935
+ * It holds the letters typed so far and nothing else: the caller passes the
936
+ * labels and the current row with each key, and moves its own cursor to the
937
+ * index that comes back. Matching ignores case, skips disabled rows and wraps
938
+ * past the end.
939
+ *
940
+ * @example
941
+ * ```ts
942
+ * private readonly typeahead = wrTypeahead();
943
+ *
944
+ * protected onKeydown(event: KeyboardEvent): void {
945
+ * const index = this.typeahead.handleKey(event, this.labels(), this.cursor());
946
+ * if (index === null) return this.onOtherKey(event);
947
+ * event.preventDefault();
948
+ * if (index >= 0) this.cursor.set(index);
949
+ * }
950
+ * ```
951
+ */
952
+ export declare function wrTypeahead(options?: WrTypeaheadOptions): WrTypeahead;
875
953
  /**
876
954
  * @license
877
955
  *
@@ -1168,4 +1246,4 @@ export declare function wrKeyedAction<K, A = void, R = void>(fn: (key: K, arg: A
1168
1246
  * @returns A read-only signal of the value.
1169
1247
  */
1170
1248
  export declare function wrResourceValue<T>(resource: Resource<T | undefined>, fallback: NoInfer<T>): Signal<T>;
1171
- export type { WrAction, WrActionStatus, WrClassInput, WrColorScheme, WrDebouncedFn, WrDecimalLike, WrFeature, WrInitialsOptions, WrInitialsOrder, WrInitialsStyle, WrKey, WrKeyedAction, WrMaybe, WrResolveCssSizeOptions, WrResolvedCssSize, WrSafeAny, WrThrottledFn, WrWatchColorSchemeOptions };
1249
+ export type { WrAction, WrActionStatus, WrClassInput, WrColorScheme, WrDebouncedFn, WrDecimalLike, WrFeature, WrInitialsOptions, WrInitialsOrder, WrInitialsStyle, WrKey, WrKeyedAction, WrMaybe, WrResolveCssSizeOptions, WrResolvedCssSize, WrSafeAny, WrThrottledFn, WrTypeahead, WrTypeaheadItem, WrTypeaheadOptions, WrWatchColorSchemeOptions };
@@ -15,7 +15,7 @@ import { InjectionToken } from "@angular/core";
15
15
  * Distinct from `Version` exported by `@angular/core`, which reports the
16
16
  * loaded Angular runtime version (e.g. `'22.0.0'`), not ngwr's.
17
17
  */
18
- export declare const NGWR_VERSION = "16.3.0";
18
+ export declare const NGWR_VERSION = "16.5.0";
19
19
  /**
20
20
  * Injection token holding the ngwr library version string.
21
21
  *
@@ -1,6 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { ComponentRef, ElementRef, InjectionToken, Signal, TemplateRef, WritableSignal } from "@angular/core";
3
3
  import { WrClassInput, WrFeature } from "ngwr/utils";
4
+ import { WrOverlayAutoFocus } from "ngwr/overlay";
4
5
  import { ComponentType } from "@angular/cdk/portal";
5
6
  import { OverlayRef } from "@angular/cdk/overlay";
6
7
  import { Observable, ReplaySubject, Subject } from "rxjs";
@@ -592,19 +593,21 @@ interface WrWindowConfig<D = unknown> {
592
593
  */
593
594
  readonly closeOnEscape?: boolean;
594
595
  /**
595
- * Move focus into the window when it opens (since v15): to the element
596
- * marked `cdkFocusInitial`, else the first control in its body, else the
597
- * window itself. Closing it sends focus back to where it was when `open()`
598
- * was called, if that element is still on the page.
596
+ * Where focus goes when the window opens. `'dialog'` (or `true`) puts it on
597
+ * the window itself, with no ring, so the keyboard is inside and no control
598
+ * is lit; an element marked `cdkFocusInitial` in the body takes it instead.
599
+ * `'first-tabbable'` puts it on the first control in the body, as every
600
+ * window did before 16.5. Closing sends focus back to where it was when
601
+ * `open()` was called, if that element is still on the page.
599
602
  *
600
- * `false` leaves focus where it is — for a window opened in the background,
601
- * or one that opens without a user asking for it. Windows that
602
- * `restoreLayout()` re-opens default to `false`, so putting a workspace back
603
- * does not walk focus through every window in it; pass `true` from the
604
- * opener callback to override.
605
- * @default true
603
+ * `false` leaves focus where it is, `cdkFocusInitial` or not — for a window
604
+ * opened in the background, or one that opens without a user asking for it.
605
+ * Windows that `restoreLayout()` re-opens default to `false`, so putting a
606
+ * workspace back does not walk focus through every window in it; pass a mode
607
+ * from the opener callback to override.
608
+ * @default 'dialog'
606
609
  */
607
- readonly autoFocus?: boolean;
610
+ readonly autoFocus?: WrOverlayAutoFocus | true;
608
611
  /** Snap-on-drag mode. @default 'none' */
609
612
  readonly snap?: WrWindowSnap;
610
613
  /**
@@ -100,16 +100,11 @@
100
100
  display: none;
101
101
  }
102
102
 
103
- // The window itself takes focus (`tabindex="-1"`) when its body has no
104
- // control to open onto, so it carries the shared ring rather than the UA's.
105
- // Outset: `overflow: clip` clips content, never the element's own outline.
106
- // The halo and the drop shadow are both a `box-shadow`, so the second
107
- // declaration keeps the two rather than trading the shadow for the halo.
108
- &:focus-visible {
109
- @include theme.focus-ring;
110
- box-shadow:
111
- 0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo),
112
- var(--wr-shadow-modal);
103
+ // The window itself takes focus (`tabindex="-1"`) when it opens, so the
104
+ // keyboard is inside it and no control is lit. It is a container, never a
105
+ // control, so it draws no ring; the active window is told by its chrome.
106
+ &:focus {
107
+ outline: none;
113
108
  }
114
109
 
115
110
  // Keyboard move / resize: a dashed ring says the arrow keys now move or size