ngwr 16.4.0 → 16.6.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 (427) hide show
  1. package/back-top/styles/_index.scss +6 -0
  2. package/breadcrumbs/styles/_rules.scss +34 -0
  3. package/cascader/styles/_rules.scss +7 -0
  4. package/charts/bar-chart/styles/_index.scss +494 -305
  5. package/charts/boxplot-chart/styles/_index.scss +114 -48
  6. package/charts/bullet-chart/styles/_index.scss +113 -42
  7. package/charts/calendar-heatmap/styles/_index.scss +111 -20
  8. package/charts/candlestick-chart/styles/_index.scss +61 -26
  9. package/charts/chart-legend/styles/_index.scss +120 -10
  10. package/charts/core/styles/_index.scss +201 -5
  11. package/charts/donut-chart/styles/_index.scss +76 -21
  12. package/charts/funnel-chart/styles/_index.scss +66 -38
  13. package/charts/gauge/styles/_index.scss +12 -1
  14. package/charts/heatmap-chart/styles/_index.scss +90 -53
  15. package/charts/line-chart/styles/_index.scss +143 -139
  16. package/charts/meter-group/styles/_index.scss +87 -25
  17. package/charts/radar-chart/styles/_index.scss +82 -40
  18. package/charts/scatter-chart/styles/_index.scss +117 -44
  19. package/charts/sparkline/styles/_index.scss +7 -1
  20. package/charts/treemap-chart/styles/_index.scss +94 -42
  21. package/charts/waterfall-chart/styles/_index.scss +150 -87
  22. package/color-picker/styles/_index.scss +7 -3
  23. package/copy-value/styles/_index.scss +21 -2
  24. package/counter/styles/_index.scss +1 -8
  25. package/date-picker/styles/_index.scss +15 -9
  26. package/date-stamp/styles/_index.scss +2 -1
  27. package/dialog/styles/_index.scss +43 -0
  28. package/drawer/styles/_index.scss +5 -1
  29. package/editor/styles/_index.scss +1 -8
  30. package/event-calendar/styles/_index.scss +2 -6
  31. package/fesm2022/ngwr-affix.mjs +1 -1
  32. package/fesm2022/ngwr-affix.mjs.map +1 -1
  33. package/fesm2022/ngwr-anchor.mjs +9 -2
  34. package/fesm2022/ngwr-anchor.mjs.map +1 -1
  35. package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
  36. package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
  37. package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
  38. package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
  39. package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
  40. package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
  41. package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
  42. package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
  43. package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
  44. package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
  45. package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
  46. package/fesm2022/ngwr-animations-glow-border.mjs.map +1 -1
  47. package/fesm2022/ngwr-animations-gradient-flow.mjs.map +1 -1
  48. package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
  49. package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
  50. package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
  51. package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
  52. package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
  53. package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
  54. package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
  55. package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
  56. package/fesm2022/ngwr-animations-tilt.mjs +20 -13
  57. package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
  58. package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
  59. package/fesm2022/ngwr-breadcrumbs.mjs +40 -7
  60. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  61. package/fesm2022/ngwr-button.mjs +12 -3
  62. package/fesm2022/ngwr-button.mjs.map +1 -1
  63. package/fesm2022/ngwr-carousel-testing.mjs +4 -1
  64. package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
  65. package/fesm2022/ngwr-carousel.mjs +27 -2
  66. package/fesm2022/ngwr-carousel.mjs.map +1 -1
  67. package/fesm2022/ngwr-cascader-testing.mjs.map +1 -1
  68. package/fesm2022/ngwr-cascader.mjs +72 -8
  69. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  70. package/fesm2022/ngwr-charts-bar-chart-testing.mjs +16 -14
  71. package/fesm2022/ngwr-charts-bar-chart-testing.mjs.map +1 -1
  72. package/fesm2022/ngwr-charts-bar-chart.mjs +399 -141
  73. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  74. package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs +19 -5
  75. package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-boxplot-chart.mjs +250 -56
  77. package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-bullet-chart.mjs +118 -18
  79. package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +266 -46
  81. package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
  82. package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs +21 -10
  83. package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs.map +1 -1
  84. package/fesm2022/ngwr-charts-candlestick-chart.mjs +319 -72
  85. package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
  86. package/fesm2022/ngwr-charts-chart-legend.mjs +211 -9
  87. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  88. package/fesm2022/ngwr-charts-core.mjs +311 -23
  89. package/fesm2022/ngwr-charts-core.mjs.map +1 -1
  90. package/fesm2022/ngwr-charts-donut-chart-testing.mjs.map +1 -1
  91. package/fesm2022/ngwr-charts-donut-chart.mjs +206 -27
  92. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  93. package/fesm2022/ngwr-charts-funnel-chart-testing.mjs +4 -4
  94. package/fesm2022/ngwr-charts-funnel-chart-testing.mjs.map +1 -1
  95. package/fesm2022/ngwr-charts-funnel-chart.mjs +113 -10
  96. package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
  97. package/fesm2022/ngwr-charts-gauge-testing.mjs.map +1 -1
  98. package/fesm2022/ngwr-charts-gauge.mjs +98 -12
  99. package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
  100. package/fesm2022/ngwr-charts-heatmap-chart.mjs +226 -31
  101. package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
  102. package/fesm2022/ngwr-charts-line-chart-testing.mjs +16 -4
  103. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  104. package/fesm2022/ngwr-charts-line-chart.mjs +407 -172
  105. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  106. package/fesm2022/ngwr-charts-meter-group-testing.mjs +4 -4
  107. package/fesm2022/ngwr-charts-meter-group-testing.mjs.map +1 -1
  108. package/fesm2022/ngwr-charts-meter-group.mjs +225 -31
  109. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  110. package/fesm2022/ngwr-charts-radar-chart-testing.mjs +2 -1
  111. package/fesm2022/ngwr-charts-radar-chart-testing.mjs.map +1 -1
  112. package/fesm2022/ngwr-charts-radar-chart.mjs +255 -66
  113. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  114. package/fesm2022/ngwr-charts-scatter-chart-testing.mjs +39 -18
  115. package/fesm2022/ngwr-charts-scatter-chart-testing.mjs.map +1 -1
  116. package/fesm2022/ngwr-charts-scatter-chart.mjs +431 -53
  117. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  118. package/fesm2022/ngwr-charts-sparkline.mjs +19 -8
  119. package/fesm2022/ngwr-charts-sparkline.mjs.map +1 -1
  120. package/fesm2022/ngwr-charts-treemap-chart.mjs +253 -44
  121. package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
  122. package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs +15 -7
  123. package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs.map +1 -1
  124. package/fesm2022/ngwr-charts-waterfall-chart.mjs +151 -23
  125. package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
  126. package/fesm2022/ngwr-checkbox.mjs +3 -2
  127. package/fesm2022/ngwr-checkbox.mjs.map +1 -1
  128. package/fesm2022/ngwr-color-picker.mjs +65 -5
  129. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  130. package/fesm2022/ngwr-context-menu-testing.mjs.map +1 -1
  131. package/fesm2022/ngwr-context-menu.mjs +51 -24
  132. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  133. package/fesm2022/ngwr-copy-value-testing.mjs +5 -1
  134. package/fesm2022/ngwr-copy-value-testing.mjs.map +1 -1
  135. package/fesm2022/ngwr-copy-value.mjs +38 -2
  136. package/fesm2022/ngwr-copy-value.mjs.map +1 -1
  137. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  138. package/fesm2022/ngwr-date-picker.mjs +105 -9
  139. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  140. package/fesm2022/ngwr-dialog.mjs +29 -11
  141. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  142. package/fesm2022/ngwr-directives.mjs +9 -6
  143. package/fesm2022/ngwr-directives.mjs.map +1 -1
  144. package/fesm2022/ngwr-drawer.mjs +19 -3
  145. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  146. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  147. package/fesm2022/ngwr-dropdown.mjs +35 -6
  148. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  149. package/fesm2022/ngwr-editor.mjs +1 -0
  150. package/fesm2022/ngwr-editor.mjs.map +1 -1
  151. package/fesm2022/ngwr-event-calendar.mjs +20 -9
  152. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  153. package/fesm2022/ngwr-form.mjs +170 -3
  154. package/fesm2022/ngwr-form.mjs.map +1 -1
  155. package/fesm2022/ngwr-graph.mjs +81 -13
  156. package/fesm2022/ngwr-graph.mjs.map +1 -1
  157. package/fesm2022/ngwr-i18n-ar.mjs +20 -0
  158. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  159. package/fesm2022/ngwr-i18n-cs.mjs +20 -0
  160. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  161. package/fesm2022/ngwr-i18n-de.mjs +20 -0
  162. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  163. package/fesm2022/ngwr-i18n-en.mjs +20 -0
  164. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  165. package/fesm2022/ngwr-i18n-es.mjs +20 -0
  166. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  167. package/fesm2022/ngwr-i18n-fr.mjs +20 -0
  168. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  169. package/fesm2022/ngwr-i18n-he.mjs +20 -0
  170. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  171. package/fesm2022/ngwr-i18n-hi.mjs +20 -0
  172. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  173. package/fesm2022/ngwr-i18n-id.mjs +20 -0
  174. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  175. package/fesm2022/ngwr-i18n-it.mjs +20 -0
  176. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  177. package/fesm2022/ngwr-i18n-ja.mjs +20 -0
  178. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  179. package/fesm2022/ngwr-i18n-ko.mjs +20 -0
  180. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  181. package/fesm2022/ngwr-i18n-nl.mjs +20 -0
  182. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  183. package/fesm2022/ngwr-i18n-pl.mjs +20 -0
  184. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  185. package/fesm2022/ngwr-i18n-pt.mjs +20 -0
  186. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  187. package/fesm2022/ngwr-i18n-ru.mjs +20 -0
  188. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  189. package/fesm2022/ngwr-i18n-sv.mjs +20 -0
  190. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  191. package/fesm2022/ngwr-i18n-tr.mjs +20 -0
  192. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  193. package/fesm2022/ngwr-i18n-uk.mjs +20 -0
  194. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  195. package/fesm2022/ngwr-i18n-vi.mjs +20 -0
  196. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  197. package/fesm2022/ngwr-i18n-zh-tw.mjs +20 -0
  198. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  199. package/fesm2022/ngwr-i18n-zh.mjs +20 -0
  200. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  201. package/fesm2022/ngwr-i18n.mjs +82 -11
  202. package/fesm2022/ngwr-i18n.mjs.map +1 -1
  203. package/fesm2022/ngwr-input-number.mjs +24 -1
  204. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  205. package/fesm2022/ngwr-input-otp.mjs +2 -2
  206. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  207. package/fesm2022/ngwr-input.mjs +10 -2
  208. package/fesm2022/ngwr-input.mjs.map +1 -1
  209. package/fesm2022/ngwr-layout.mjs.map +1 -1
  210. package/fesm2022/ngwr-lightbox.mjs +20 -3
  211. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  212. package/fesm2022/ngwr-list.mjs +1 -1
  213. package/fesm2022/ngwr-list.mjs.map +1 -1
  214. package/fesm2022/ngwr-loading-bar-router.mjs.map +1 -1
  215. package/fesm2022/ngwr-loading-bar.mjs +2 -2
  216. package/fesm2022/ngwr-loading-bar.mjs.map +1 -1
  217. package/fesm2022/ngwr-mention.mjs +8 -0
  218. package/fesm2022/ngwr-mention.mjs.map +1 -1
  219. package/fesm2022/ngwr-meta.mjs +9 -6
  220. package/fesm2022/ngwr-meta.mjs.map +1 -1
  221. package/fesm2022/ngwr-overlay.mjs +21 -2
  222. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  223. package/fesm2022/ngwr-page-header.mjs +21 -0
  224. package/fesm2022/ngwr-page-header.mjs.map +1 -1
  225. package/fesm2022/ngwr-pagination.mjs +2 -0
  226. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  227. package/fesm2022/ngwr-pipes.mjs +8 -1
  228. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  229. package/fesm2022/ngwr-popconfirm-testing.mjs +4 -1
  230. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  231. package/fesm2022/ngwr-popconfirm.mjs +43 -6
  232. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  233. package/fesm2022/ngwr-popover.mjs +114 -15
  234. package/fesm2022/ngwr-popover.mjs.map +1 -1
  235. package/fesm2022/ngwr-qr.mjs +6 -2
  236. package/fesm2022/ngwr-qr.mjs.map +1 -1
  237. package/fesm2022/ngwr-radio.mjs +71 -5
  238. package/fesm2022/ngwr-radio.mjs.map +1 -1
  239. package/fesm2022/ngwr-schema-form.mjs +12 -1
  240. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  241. package/fesm2022/ngwr-scroll.mjs +1 -3
  242. package/fesm2022/ngwr-scroll.mjs.map +1 -1
  243. package/fesm2022/ngwr-segmented.mjs +20 -0
  244. package/fesm2022/ngwr-segmented.mjs.map +1 -1
  245. package/fesm2022/ngwr-select.mjs +80 -9
  246. package/fesm2022/ngwr-select.mjs.map +1 -1
  247. package/fesm2022/ngwr-sortable-list.mjs +16 -4
  248. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  249. package/fesm2022/ngwr-storage.mjs +1 -1
  250. package/fesm2022/ngwr-storage.mjs.map +1 -1
  251. package/fesm2022/ngwr-switch.mjs +2 -2
  252. package/fesm2022/ngwr-switch.mjs.map +1 -1
  253. package/fesm2022/ngwr-table.mjs +43 -7
  254. package/fesm2022/ngwr-table.mjs.map +1 -1
  255. package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
  256. package/fesm2022/ngwr-textarea.mjs +2 -2
  257. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  258. package/fesm2022/ngwr-toast.mjs +28 -0
  259. package/fesm2022/ngwr-toast.mjs.map +1 -1
  260. package/fesm2022/ngwr-tour.mjs +16 -11
  261. package/fesm2022/ngwr-tour.mjs.map +1 -1
  262. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  263. package/fesm2022/ngwr-tree.mjs +49 -16
  264. package/fesm2022/ngwr-tree.mjs.map +1 -1
  265. package/fesm2022/ngwr-typography.mjs +20 -0
  266. package/fesm2022/ngwr-typography.mjs.map +1 -1
  267. package/fesm2022/ngwr-utils-router.mjs.map +1 -1
  268. package/fesm2022/ngwr-utils.mjs +46 -4
  269. package/fesm2022/ngwr-utils.mjs.map +1 -1
  270. package/fesm2022/ngwr-validators.mjs +33 -1
  271. package/fesm2022/ngwr-validators.mjs.map +1 -1
  272. package/fesm2022/ngwr-version.mjs +1 -1
  273. package/fesm2022/ngwr-version.mjs.map +1 -1
  274. package/fesm2022/ngwr-window.mjs +16 -9
  275. package/fesm2022/ngwr-window.mjs.map +1 -1
  276. package/form/styles/_index.scss +37 -0
  277. package/graph/styles/_index.scss +1 -9
  278. package/i18n/ar.json +20 -0
  279. package/i18n/cs.json +20 -0
  280. package/i18n/de.json +20 -0
  281. package/i18n/en.json +20 -0
  282. package/i18n/es.json +20 -0
  283. package/i18n/fr.json +20 -0
  284. package/i18n/he.json +20 -0
  285. package/i18n/hi.json +20 -0
  286. package/i18n/id.json +20 -0
  287. package/i18n/it.json +20 -0
  288. package/i18n/ja.json +20 -0
  289. package/i18n/ko.json +20 -0
  290. package/i18n/nl.json +20 -0
  291. package/i18n/pl.json +20 -0
  292. package/i18n/pt.json +20 -0
  293. package/i18n/ru.json +20 -0
  294. package/i18n/sv.json +20 -0
  295. package/i18n/tr.json +20 -0
  296. package/i18n/uk.json +20 -0
  297. package/i18n/vi.json +20 -0
  298. package/i18n/zh-TW.json +20 -0
  299. package/i18n/zh.json +20 -0
  300. package/image-cropper/styles/_index.scss +1 -9
  301. package/input-number/styles/_index.scss +7 -0
  302. package/layout/styles/_index.scss +13 -1
  303. package/llms-full.txt +17 -17
  304. package/llms.txt +7 -3
  305. package/loading-bar/styles/_rules.scss +6 -0
  306. package/package.json +2 -2
  307. package/page-header/styles/_index.scss +18 -0
  308. package/popconfirm/styles/_index.scss +6 -0
  309. package/popover/styles/_index.scss +31 -13
  310. package/schematics/use/symbol-map.json +3 -0
  311. package/segmented/styles/_index.scss +7 -0
  312. package/select/styles/_index.scss +7 -0
  313. package/sidebar/styles/_index.scss +6 -0
  314. package/skills/ngwr/references/catalog.md +2 -2
  315. package/sortable-list/styles/_rules.scss +1 -9
  316. package/speed-dial/styles/_index.scss +6 -0
  317. package/stepper/styles/_index.scss +1 -9
  318. package/table/styles/_index.scss +49 -0
  319. package/theme/_index.scss +12 -1
  320. package/theme/styles/_colors.scss +11 -0
  321. package/theme/styles/_contrast.scss +6 -0
  322. package/theme/styles/_index.scss +1 -0
  323. package/theme/styles/_mixins.scss +45 -0
  324. package/theme/styles/_print.scss +17 -0
  325. package/toast/styles/_index.scss +7 -0
  326. package/tour/styles/_index.scss +14 -0
  327. package/tree/styles/_index.scss +1 -9
  328. package/types/ngwr-anchor.d.ts +3 -0
  329. package/types/ngwr-animations-aurora.d.ts +6 -0
  330. package/types/ngwr-animations-blur-reveal.d.ts +6 -0
  331. package/types/ngwr-animations-click-sparks.d.ts +6 -0
  332. package/types/ngwr-animations-confetti.d.ts +6 -0
  333. package/types/ngwr-animations-decode.d.ts +6 -0
  334. package/types/ngwr-animations-destruct.d.ts +6 -0
  335. package/types/ngwr-animations-dot-grid.d.ts +6 -0
  336. package/types/ngwr-animations-falling-letters.d.ts +6 -0
  337. package/types/ngwr-animations-flow-lines.d.ts +6 -0
  338. package/types/ngwr-animations-fluid-cursor.d.ts +6 -0
  339. package/types/ngwr-animations-glitch.d.ts +6 -0
  340. package/types/ngwr-animations-glow-border.d.ts +6 -0
  341. package/types/ngwr-animations-gradient-flow.d.ts +6 -0
  342. package/types/ngwr-animations-marquee.d.ts +6 -0
  343. package/types/ngwr-animations-orbit.d.ts +6 -0
  344. package/types/ngwr-animations-reveal.d.ts +6 -0
  345. package/types/ngwr-animations-ripple-grid.d.ts +6 -0
  346. package/types/ngwr-animations-rotate-reveal.d.ts +6 -0
  347. package/types/ngwr-animations-shimmer.d.ts +6 -0
  348. package/types/ngwr-animations-spotlight.d.ts +6 -0
  349. package/types/ngwr-animations-thread-lines.d.ts +6 -0
  350. package/types/ngwr-animations-tilt.d.ts +10 -0
  351. package/types/ngwr-animations-typewriter.d.ts +6 -0
  352. package/types/ngwr-breadcrumbs.d.ts +25 -0
  353. package/types/ngwr-button.d.ts +23 -3
  354. package/types/ngwr-carousel-testing.d.ts +6 -4
  355. package/types/ngwr-carousel.d.ts +16 -3
  356. package/types/ngwr-cascader-testing.d.ts +4 -3
  357. package/types/ngwr-cascader.d.ts +34 -3
  358. package/types/ngwr-charts-bar-chart-testing.d.ts +15 -13
  359. package/types/ngwr-charts-bar-chart.d.ts +220 -48
  360. package/types/ngwr-charts-boxplot-chart-testing.d.ts +9 -2
  361. package/types/ngwr-charts-boxplot-chart.d.ts +110 -19
  362. package/types/ngwr-charts-bullet-chart.d.ts +72 -12
  363. package/types/ngwr-charts-calendar-heatmap.d.ts +119 -15
  364. package/types/ngwr-charts-candlestick-chart-testing.d.ts +19 -9
  365. package/types/ngwr-charts-candlestick-chart.d.ts +195 -62
  366. package/types/ngwr-charts-chart-legend.d.ts +142 -5
  367. package/types/ngwr-charts-core.d.ts +275 -21
  368. package/types/ngwr-charts-donut-chart-testing.d.ts +11 -5
  369. package/types/ngwr-charts-donut-chart.d.ts +124 -16
  370. package/types/ngwr-charts-funnel-chart.d.ts +62 -6
  371. package/types/ngwr-charts-gauge-testing.d.ts +5 -1
  372. package/types/ngwr-charts-gauge.d.ts +72 -10
  373. package/types/ngwr-charts-heatmap-chart.d.ts +103 -20
  374. package/types/ngwr-charts-line-chart-testing.d.ts +16 -2
  375. package/types/ngwr-charts-line-chart.d.ts +215 -86
  376. package/types/ngwr-charts-meter-group.d.ts +98 -7
  377. package/types/ngwr-charts-radar-chart-testing.d.ts +14 -3
  378. package/types/ngwr-charts-radar-chart.d.ts +148 -28
  379. package/types/ngwr-charts-scatter-chart-testing.d.ts +22 -10
  380. package/types/ngwr-charts-scatter-chart.d.ts +188 -18
  381. package/types/ngwr-charts-sparkline.d.ts +26 -4
  382. package/types/ngwr-charts-treemap-chart.d.ts +121 -23
  383. package/types/ngwr-charts-waterfall-chart-testing.d.ts +8 -1
  384. package/types/ngwr-charts-waterfall-chart.d.ts +108 -21
  385. package/types/ngwr-checkbox.d.ts +1 -0
  386. package/types/ngwr-color-picker.d.ts +28 -0
  387. package/types/ngwr-context-menu-testing.d.ts +10 -9
  388. package/types/ngwr-context-menu.d.ts +18 -1
  389. package/types/ngwr-copy-value.d.ts +8 -0
  390. package/types/ngwr-date-picker.d.ts +53 -2
  391. package/types/ngwr-dialog.d.ts +64 -13
  392. package/types/ngwr-directives.d.ts +12 -4
  393. package/types/ngwr-drawer.d.ts +33 -2
  394. package/types/ngwr-dropdown-testing.d.ts +8 -5
  395. package/types/ngwr-dropdown.d.ts +29 -6
  396. package/types/ngwr-event-calendar.d.ts +4 -0
  397. package/types/ngwr-form.d.ts +85 -1
  398. package/types/ngwr-graph.d.ts +22 -6
  399. package/types/ngwr-i18n.d.ts +65 -5
  400. package/types/ngwr-input-number.d.ts +8 -0
  401. package/types/ngwr-input.d.ts +7 -0
  402. package/types/ngwr-layout.d.ts +1 -1
  403. package/types/ngwr-lightbox.d.ts +15 -0
  404. package/types/ngwr-loading-bar-router.d.ts +6 -0
  405. package/types/ngwr-overlay.d.ts +16 -1
  406. package/types/ngwr-page-header.d.ts +23 -1
  407. package/types/ngwr-popconfirm-testing.d.ts +11 -2
  408. package/types/ngwr-popconfirm.d.ts +29 -2
  409. package/types/ngwr-popover.d.ts +87 -13
  410. package/types/ngwr-radio.d.ts +47 -5
  411. package/types/ngwr-segmented.d.ts +7 -0
  412. package/types/ngwr-select.d.ts +57 -13
  413. package/types/ngwr-sortable-list.d.ts +20 -7
  414. package/types/ngwr-table.d.ts +59 -6
  415. package/types/ngwr-tabs-router.d.ts +6 -0
  416. package/types/ngwr-toast.d.ts +11 -0
  417. package/types/ngwr-tour.d.ts +21 -3
  418. package/types/ngwr-tree-testing.d.ts +1 -2
  419. package/types/ngwr-tree.d.ts +33 -2
  420. package/types/ngwr-typography.d.ts +7 -0
  421. package/types/ngwr-utils-router.d.ts +6 -0
  422. package/types/ngwr-utils.d.ts +56 -2
  423. package/types/ngwr-validators.d.ts +49 -1
  424. package/types/ngwr-version.d.ts +1 -1
  425. package/types/ngwr-window.d.ts +14 -11
  426. package/typography/styles/_index.scss +4 -0
  427. package/window/styles/_index.scss +6 -19
@@ -104,6 +104,8 @@ export declare class WrInputNumber<M extends WrInputNumberMode = 'number'> imple
104
104
  * `--wr-control-*` contract. @default 'md'
105
105
  */
106
106
  readonly size: import("@angular/core").InputSignal<WrInputSize>;
107
+ /** Stretch the field to fill its parent's width. @default false */
108
+ readonly block: import("@angular/core").InputSignalWithTransform<boolean, any>;
107
109
  /** Pill-shaped corners — forwarded to the group AND the field. @default false */
108
110
  readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
109
111
  /** Optional prefix label (e.g. `"$"`). */
@@ -169,6 +171,7 @@ export declare class WrInputNumber<M extends WrInputNumberMode = 'number'> imple
169
171
  private readonly group;
170
172
  /** Text currently in the input (may be partial / invalid mid-type). */
171
173
  protected readonly text: import("@angular/core").WritableSignal<string>;
174
+ private lastCommitted;
172
175
  /** Whether the input is focused. While true, the input handlers own `text`. */
173
176
  protected readonly focused: import("@angular/core").WritableSignal<boolean>;
174
177
  private readonly field;
@@ -282,6 +285,11 @@ export declare class WrInputNumber<M extends WrInputNumberMode = 'number'> imple
282
285
  "required": false;
283
286
  "isSignal": true;
284
287
  };
288
+ "block": {
289
+ "alias": "block";
290
+ "required": false;
291
+ "isSignal": true;
292
+ };
285
293
  "rounded": {
286
294
  "alias": "rounded";
287
295
  "required": false;
@@ -65,6 +65,13 @@ export declare class WrInput {
65
65
  private readonly fieldAria;
66
66
  protected readonly describedBy: import("@angular/core").Signal<string | null>;
67
67
  protected readonly ariaInvalid: import("@angular/core").Signal<"true" | null>;
68
+ /** The element's own `aria-required`, read once: a hand-written one wins over the field's. */
69
+ private readonly ownAriaRequired;
70
+ /**
71
+ * Native `required` (including the one Signal Forms binds) already announces it,
72
+ * so the field's `required` only fills in when neither is there.
73
+ */
74
+ protected ariaRequired(): string | null;
68
75
  /**
69
76
  * Control size. @default 'md'
70
77
  *
@@ -93,7 +93,7 @@ export declare class WrLayoutHeader {
93
93
  }
94
94
  /**
95
95
  * Main content area of a {@link WrLayout}. Flex-grows to fill
96
- * remaining space.
96
+ * remaining space. Its padding is `--wr-layout-content-padding`, one length.
97
97
  */
98
98
  export declare class WrLayoutContent {
99
99
  constructor();
@@ -1,6 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { Signal, TemplateRef } from "@angular/core";
3
3
  import { WrClassInput } from "ngwr/utils";
4
+ import { WrOverlayAutoFocus } from "ngwr/overlay";
4
5
  /**
5
6
  * Image with click-to-zoom lightbox. The thumbnail is a plain `<img>`
6
7
  * with whatever sizing/`object-fit` you give it; clicking opens a CDK
@@ -51,6 +52,15 @@ export declare class WrLightbox {
51
52
  * paint. @default null
52
53
  */
53
54
  readonly aspectRatio: import("@angular/core").InputSignal<string | number | null>;
55
+ /**
56
+ * Where focus goes when the viewer opens. `'dialog'` puts it on the viewer
57
+ * itself, with no ring, so the keyboard is inside and no button is lit;
58
+ * `'first-tabbable'` puts it on the Close button; `false` leaves it on the
59
+ * thumbnail. The viewer traps Tab in every mode, and closing returns focus to
60
+ * the thumbnail.
61
+ * @default 'dialog'
62
+ */
63
+ readonly autoFocus: import("@angular/core").InputSignal<WrOverlayAutoFocus>;
54
64
  /**
55
65
  * Extra CSS classes for the viewer's overlay pane.
56
66
  *
@@ -194,6 +204,11 @@ export declare class WrLightbox {
194
204
  "required": false;
195
205
  "isSignal": true;
196
206
  };
207
+ "autoFocus": {
208
+ "alias": "autoFocus";
209
+ "required": false;
210
+ "isSignal": true;
211
+ };
197
212
  "panelClass": {
198
213
  "alias": "panelClass";
199
214
  "required": false;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Use of this source code is governed by an MIT-style license that can be
5
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
6
+ */
1
7
  import { EnvironmentProviders } from "@angular/core";
2
8
  /**
3
9
  * Drive {@link WrLoadingBar} from router navigations: `NavigationStart` takes a
@@ -1,5 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { InjectionToken, Injector } from "@angular/core";
3
+ import { FocusTrap } from "@angular/cdk/a11y";
3
4
  import { ConnectedPosition, Overlay, OverlayContainer, OverlayRef } from "@angular/cdk/overlay";
4
5
  import { Observable } from "rxjs";
5
6
  import { Direction, Directionality } from "@angular/cdk/bidi";
@@ -95,6 +96,20 @@ export declare function wrAnchoredPositions(position: WrAnchoredPosition, option
95
96
  * @param onClose Invoked on click.
96
97
  */
97
98
  export declare function wrAppendOverlayClose(host: HTMLElement, className: string, label: string, onClose: () => void): HTMLButtonElement;
99
+ /**
100
+ * Moves focus into a freshly opened modal overlay the way its `autoFocus`
101
+ * option asks. An element marked `cdkFocusInitial` wins in every mode.
102
+ *
103
+ * `'first-tabbable'` is the focus trap's own initial focus. `'dialog'` focuses
104
+ * the panel (made programmatically focusable with `tabindex="-1"`), `false`
105
+ * leaves focus where it is. Both wait for the next render, because the content
106
+ * is not in the DOM before that.
107
+ *
108
+ * @internal
109
+ */
110
+ export declare function wrFocusOverlay(host: HTMLElement, trap: FocusTrap, mode: WrOverlayAutoFocus, injector: Injector): void;
111
+ /** What a dialog or drawer does with focus when it opens. */
112
+ type WrOverlayAutoFocus = 'first-tabbable' | 'dialog' | false;
98
113
  /**
99
114
  * Keep an OPEN overlay on the application's reading direction.
100
115
  *
@@ -344,4 +359,4 @@ export declare const WR_OVERLAY: InjectionToken<Overlay>;
344
359
  * @internal
345
360
  */
346
361
  export declare const WR_OVERLAY_CONTAINER: InjectionToken<OverlayContainer>;
347
- export type { WrAnchoredPosition, WrAnchoredPositionsOptions };
362
+ export type { WrAnchoredPosition, WrAnchoredPositionsOptions, WrOverlayAutoFocus };
@@ -30,6 +30,16 @@ import * as i0 from "@angular/core";
30
30
  * header's height plus `--wr-page-header-sticky-top`, and focus, anchors and
31
31
  * `scrollIntoView()` all stop short of it.
32
32
  *
33
+ * The filters row is inside the header's own box, so under `sticky` it stays in
34
+ * view with the title: it is the place for a view switch or tabs as well.
35
+ *
36
+ * `bleed` carries the header over the padding of the box it tops, to the top and
37
+ * both side edges, and pads it by as much, so a sticky header's background and
38
+ * border run edge to edge. The amount is `--wr-page-header-bleed`, which reads
39
+ * `--wr-layout-content-padding`: inside `wr-layout-content` it follows the
40
+ * content's padding, and anywhere else it is zero until set. Make the header
41
+ * the first thing in that box.
42
+ *
33
43
  * A bare `<div>` wrapper in the actions or the filters slot, one with no `class`
34
44
  * and no `style`, is laid out as a wrapping row with the region's own gap, so
35
45
  * the controls inside it are spaced exactly like controls projected one by one.
@@ -40,7 +50,7 @@ import * as i0 from "@angular/core";
40
50
  *
41
51
  * @example
42
52
  * ```html
43
- * <wr-page-header title="Settings" subtitle="Manage your workspace" compact sticky>
53
+ * <wr-page-header title="Settings" subtitle="Manage your workspace" compact sticky bleed>
44
54
  * <nav wrPageHeaderBreadcrumbs>…</nav>
45
55
  * <div wrPageHeaderActions>
46
56
  * <button wr-btn>Invite</button>
@@ -84,6 +94,13 @@ export declare class WrPageHeader {
84
94
  * @default false
85
95
  */
86
96
  readonly sticky: import("@angular/core").InputSignalWithTransform<boolean, any>;
97
+ /**
98
+ * Run over the padding of the box the header tops, to the top and both side
99
+ * edges, by `--wr-page-header-bleed` (the content padding inside
100
+ * `wr-layout-content`, zero elsewhere until set).
101
+ * @default false
102
+ */
103
+ readonly bleed: import("@angular/core").InputSignalWithTransform<boolean, any>;
87
104
  static ɵfac: i0.ɵɵFactoryDeclaration<WrPageHeader, never>;
88
105
  static ɵcmp: i0.ɵɵComponentDeclaration<WrPageHeader, "wr-page-header", never, {
89
106
  "title": {
@@ -111,5 +128,10 @@ export declare class WrPageHeader {
111
128
  "required": false;
112
129
  "isSignal": true;
113
130
  };
131
+ "bleed": {
132
+ "alias": "bleed";
133
+ "required": false;
134
+ "isSignal": true;
135
+ };
114
136
  }, {}, never, ["[wrPageHeaderBreadcrumbs]", "[wrPageHeaderActions]", "[wrPageHeaderExtra]", "[wrPageHeaderFilters]"], true, never>;
115
137
  }
@@ -128,10 +128,16 @@ export declare class WrPopconfirmHarness extends ContentContainerComponentHarnes
128
128
  * for it, since the button itself allows no colour at all.
129
129
  */
130
130
  getConfirmColor(): Promise<WrColor | null>;
131
- /** Which action holds keyboard focus, by label, or `null` when focus is elsewhere. */
131
+ /**
132
+ * Which action holds keyboard focus, by label, or `null` when focus is
133
+ * elsewhere: on the panel itself right after it opens, unless `wrPopconfirmAutoFocus` is
134
+ * `'first-tabbable'`.
135
+ */
132
136
  getFocusedActionLabel(): Promise<string | null>;
133
137
  /** Answer the question: click confirm, which emits `confirmed` and closes the dialog. */
134
138
  confirm(): Promise<void>;
139
+ /** Whether the panel itself holds focus, as it does right after it opens by default. */
140
+ isPanelFocused(): Promise<boolean>;
135
141
  /** Decline: click cancel, which emits `cancelled` and closes the dialog. */
136
142
  cancel(): Promise<void>;
137
143
  /**
@@ -140,7 +146,10 @@ export declare class WrPopconfirmHarness extends ContentContainerComponentHarnes
140
146
  * Sent at the pane rather than at the focused button, because the target makes
141
147
  * no difference: the key is picked up by the overlay's keyboard dispatcher,
142
148
  * which keeps one listener on the document and routes to the topmost overlay.
143
- * The pane is the one element guaranteed to be there.
149
+ * The panel inside the pane is the one element guaranteed to be there, and it
150
+ * is not the pane itself: `sendKeys` focuses its target first, and the pane
151
+ * takes focus, so typing at one of two open dialogs would dismiss the other by
152
+ * moving focus out of it.
144
153
  */
145
154
  sendEscape(): Promise<void>;
146
155
  /**
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { WrClassInput } from "ngwr/utils";
3
- import { ConnectedPosition } from "@angular/cdk/overlay";
4
- import { WrAnchoredPosition } from "ngwr/overlay";
3
+ import { WrAnchoredPosition, WrOverlayAutoFocus } from "ngwr/overlay";
4
+ import "@angular/cdk/overlay";
5
5
  export declare class WrPopconfirm {
6
6
  /** Confirmation message. */
7
7
  readonly message: import("@angular/core").InputSignal<string>;
@@ -36,6 +36,18 @@ export declare class WrPopconfirm {
36
36
  * handle on it. A space-separated string works as well as an array.
37
37
  */
38
38
  readonly panelClass: import("@angular/core").InputSignal<WrClassInput>;
39
+ /**
40
+ * Where focus goes when the panel opens. `'dialog'` puts it on the panel
41
+ * itself, with no ring, so Tab reaches Cancel and no button is lit;
42
+ * `'first-tabbable'` puts it on Cancel; `false` leaves it on the trigger,
43
+ * and Tab from there walks into the panel. Closing hands focus back to the
44
+ * trigger in every mode.
45
+ *
46
+ * Prefixed because the directive sits on your own element, where an
47
+ * `autoFocus` attribute would also be the native `autofocus`.
48
+ * @default 'dialog'
49
+ */
50
+ readonly autoFocus: import("@angular/core").InputSignal<WrOverlayAutoFocus>;
39
51
  /**
40
52
  * Turns the question off: a click on the host opens nothing and is left to
41
53
  * propagate, `open()` does nothing, and an open panel closes without
@@ -55,6 +67,7 @@ export declare class WrPopconfirm {
55
67
  readonly cancelled: import("@angular/core").OutputEmitterRef<void>;
56
68
  private readonly host;
57
69
  private readonly focusMonitor;
70
+ private readonly focusTraps;
58
71
  private readonly overlay;
59
72
  private readonly dir;
60
73
  private readonly outsideClick;
@@ -66,6 +79,7 @@ export declare class WrPopconfirm {
66
79
  /** Whether the popconfirm is open. Read-only: `open()` and `close()` change it. */
67
80
  readonly isOpen: import("@angular/core").Signal<boolean>;
68
81
  private overlayRef;
82
+ private finder;
69
83
  private readonly uid;
70
84
  /** @internal Public so the host binding can read it. */
71
85
  protected readonly panelId: string;
@@ -91,6 +105,14 @@ export declare class WrPopconfirm {
91
105
  * and Confirm, in that order.
92
106
  */
93
107
  private readonly onPaneKeydown;
108
+ /**
109
+ * Tab on the trigger while the panel is open walks into it, as it would into a
110
+ * panel rendered beside the trigger. The way in when focus did not move on
111
+ * open (`wrPopconfirmAutoFocus` is `false`).
112
+ *
113
+ * @internal
114
+ */
115
+ protected onTriggerKeydown(event: KeyboardEvent): void;
94
116
  /**
95
117
  * Focus that leaves the panel by any other road (a click on something
96
118
  * focusable elsewhere) dismisses it too, and is left where it went. A `null`
@@ -150,6 +172,11 @@ export declare class WrPopconfirm {
150
172
  "required": false;
151
173
  "isSignal": true;
152
174
  };
175
+ "autoFocus": {
176
+ "alias": "wrPopconfirmAutoFocus";
177
+ "required": false;
178
+ "isSignal": true;
179
+ };
153
180
  "disabled": {
154
181
  "alias": "wrPopconfirmDisabled";
155
182
  "required": false;
@@ -1,8 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
- import { Signal, TemplateRef } from "@angular/core";
2
+ import { AfterViewInit, Signal, TemplateRef } from "@angular/core";
3
3
  import { WrClassInput } from "ngwr/utils";
4
- import { ConnectedPosition } from "@angular/cdk/overlay";
5
- import { WrAnchoredPosition } from "ngwr/overlay";
4
+ import { WrAnchoredPosition, WrOverlayAutoFocus } from "ngwr/overlay";
5
+ import "@angular/cdk/overlay";
6
6
  /**
7
7
  * What a chart's hover tooltip says about one section.
8
8
  *
@@ -26,6 +26,12 @@ interface WrChartTooltipDatum {
26
26
  * always been.
27
27
  */
28
28
  readonly rows?: readonly WrChartTooltipRow[];
29
+ /**
30
+ * A class the chip takes beside its own, so the chart that opened it can restyle its
31
+ * own chip: the chip is drawn in an overlay, outside the chart, where no hook set on
32
+ * the chart reaches it.
33
+ */
34
+ readonly className?: string;
29
35
  }
30
36
  /**
31
37
  * One line of a chart tooltip's `rows`.
@@ -118,8 +124,15 @@ type WrPopoverPosition = WrAnchoredPosition;
118
124
  * then point at a neighbour. The measurement is written to
119
125
  * `--wr-chart-tooltip-arrow` on the chip, and the stylesheet puts the arrow there.
120
126
  *
121
- * **A chip at its section sits over the sections beside it**, and it is hoverable
122
- * (below), so the way onto it can cross another section: straight up from a heatmap
127
+ * **The chip lets the pointer through by default.** It belongs to the chart, not to a
128
+ * hint a reader has to reach: the pointer passes under it to the sections it covers, so
129
+ * moving to the bar beside one switches at once, and off the chart it closes. That
130
+ * fails WCAG 1.4.13's "hoverable", on purpose and by the maintainer's call: every value
131
+ * the chip shows is also the section's accessible name and the chart's data table.
132
+ * `tooltip="hoverable"` brings the hoverable chip back, described next.
133
+ *
134
+ * **A hoverable chip at its section sits over the sections beside it**, so the way onto
135
+ * it can cross another section: straight up from a heatmap
123
136
  * day runs through the day above. Switching the moment that day reported itself
124
137
  * would move the chip away from a pointer on its way to it — WCAG 1.4.13 with extra
125
138
  * steps. So the strip between the anchor and the chip is a bridge: another section
@@ -130,8 +143,7 @@ type WrPopoverPosition = WrAnchoredPosition;
130
143
  * pointer that keeps on going up a heatmap's column is moving onto the chip, so it
131
144
  * passes over it and the days under it read out only once it comes out the far side.
132
145
  *
133
- * **Why an overlay and not a positioned child, the way `wr-line-chart` draws its
134
- * own.** A child is clipped by every `overflow` between it and the page, and a
146
+ * **Why an overlay and not a positioned child.** A child is clipped by every `overflow` between it and the page, and a
135
147
  * chart sits inside those constantly: `wr-calendar-heatmap` IS a scroll
136
148
  * container, and a sparkline in a `wr-table` cell sits under two more.
137
149
  *
@@ -147,7 +159,8 @@ type WrPopoverPosition = WrAnchoredPosition;
147
159
  *
148
160
  * Call from an injection context — a chart's field initialiser.
149
161
  *
150
- * @param enabled The chart's `tooltip` input. Turning it off closes an open tooltip.
162
+ * @param enabled The chart's `tooltip` input: `true` for the chip the pointer passes
163
+ * under, `'hoverable'` for one it can rest on. Turning it off closes an open tooltip.
151
164
  * @param resolve What to show for section `index`, and where. It runs after
152
165
  * render, so it may read the DOM the section just drew; the signals it reads
153
166
  * are tracked, so a data change under an open tooltip re-reads it, and a
@@ -166,8 +179,14 @@ type WrPopoverPosition = WrAnchoredPosition;
166
179
  *
167
180
  * @internal
168
181
  */
169
- export declare function useChartTooltip(enabled: Signal<boolean>, resolve: (index: number) => WrChartTooltipTarget | null, sectionAt?: (x: number, y: number) => number | null): WrChartTooltip;
170
- export declare class WrPopover {
182
+ export declare function useChartTooltip(enabled: Signal<boolean | 'hoverable'>, resolve: (index: number) => WrChartTooltipTarget | null, sectionAt?: (x: number, y: number) => number | null): WrChartTooltip;
183
+ /**
184
+ * A chart's `tooltip` input: `'hoverable'` as it is, anything else as a boolean attribute.
185
+ *
186
+ * @internal
187
+ */
188
+ export declare function wrCoerceChartTooltip(value: unknown): boolean | 'hoverable';
189
+ export declare class WrPopover implements AfterViewInit {
171
190
  /**
172
191
  * Content to render inside the panel.
173
192
  * - In **popover** mode (default): pass a `TemplateRef`.
@@ -180,7 +199,11 @@ export declare class WrPopover {
180
199
  * - `'popover'` (default) — template content, click trigger, dialog
181
200
  * semantics.
182
201
  * - `'tooltip'` — text content, hover / keyboard-focus trigger,
183
- * `role="tooltip"`, `aria-describedby` on the host.
202
+ * `role="tooltip"`, `aria-describedby` on the host. A button or link host
203
+ * with no accessible name (no text, `aria-label`, `aria-labelledby` or
204
+ * `title`) is named by the text instead, through `aria-label`, and gets no
205
+ * `aria-describedby`. Your own `aria-label` always wins; when it equals the
206
+ * text, the host is not described by it a second time.
184
207
  */
185
208
  readonly mode: import("@angular/core").InputSignal<"popover" | "tooltip">;
186
209
  /**
@@ -228,6 +251,20 @@ export declare class WrPopover {
228
251
  * has a heading or a purpose, pass it.
229
252
  */
230
253
  readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
254
+ /**
255
+ * Popover mode only: where focus goes when a click or the keyboard opens the
256
+ * panel. `false` leaves it on the trigger, and Tab from there walks into the
257
+ * panel; `'dialog'` puts it on the panel itself, with no ring;
258
+ * `'first-tabbable'` on the first control inside. An element marked
259
+ * `cdkFocusInitial` in the content takes focus in every mode. A pointer
260
+ * hovering a `trigger="hover"` popover never moves focus. Closing hands focus
261
+ * back to the trigger whenever it was inside.
262
+ *
263
+ * Prefixed because the directive sits on your own element, where an
264
+ * `autoFocus` attribute would also be the native `autofocus`.
265
+ * @default false
266
+ */
267
+ readonly autoFocus: import("@angular/core").InputSignal<WrOverlayAutoFocus>;
231
268
  /**
232
269
  * Extra CSS classes for the popover's (or tooltip's) overlay pane.
233
270
  *
@@ -243,6 +280,7 @@ export declare class WrPopover {
243
280
  readonly closed: import("@angular/core").OutputEmitterRef<void>;
244
281
  private readonly host;
245
282
  private readonly focusMonitor;
283
+ private readonly focusTraps;
246
284
  private readonly keystroke;
247
285
  private readonly overlay;
248
286
  private readonly dir;
@@ -263,19 +301,31 @@ export declare class WrPopover {
263
301
  private overlayRef;
264
302
  private connected;
265
303
  private textPanelRef;
304
+ private finder;
266
305
  /** Whether the HOST itself holds focus — not a descendant of it. */
267
306
  private hostFocused;
268
307
  private hoverCloseTimer;
269
308
  /**
270
309
  * Whether Enter or Space opened a `trigger="hover"` popover. The pointer owns
271
310
  * a hover popover and must leave the caret alone; the keyboard has nothing
272
- * else to reach the content with, so a keyboard open moves focus in, exactly
273
- * as a click popover's open does.
311
+ * else to reach the content with, so a keyboard open behaves exactly as a
312
+ * click popover's open does: `wrPopoverAutoFocus` applies and Tab walks in.
274
313
  */
275
314
  private openedByKeyboard;
276
315
  private showTimer;
277
316
  private hideTimer;
317
+ /** The `aria-label` this directive wrote on a host that had no name. */
318
+ private writtenName;
319
+ /** Whether the tooltip text is the host's accessible name, so it must not describe it too. */
320
+ protected readonly namesHost: import("@angular/core").WritableSignal<boolean>;
321
+ private readonly onServer;
278
322
  constructor();
323
+ /**
324
+ * The first name, on the server too, where no render hook runs. A view hook
325
+ * rather than an `effect()`: effects run before host bindings, and `<wr-btn>`
326
+ * gets its `role` from one.
327
+ */
328
+ ngAfterViewInit(): void;
279
329
  /** Open the panel. Does nothing while the trigger is disabled. */
280
330
  open(): void;
281
331
  close(): void;
@@ -305,6 +355,16 @@ export declare class WrPopover {
305
355
  * @internal
306
356
  */
307
357
  protected onActivateKey(event: Event): void;
358
+ /**
359
+ * Tab on the trigger while its click or keyboard-opened popover is showing
360
+ * walks into the panel, as it would into one rendered beside the trigger: the
361
+ * pane sits at the end of `<body>`, where Tab would not find it. A panel with
362
+ * no tab stop closes instead and Tab moves on through the page, which is what
363
+ * Tab past the last control of a panel does.
364
+ *
365
+ * @internal
366
+ */
367
+ protected onTriggerTab(event: Event): void;
308
368
  /** @internal */
309
369
  protected onEscape(): void;
310
370
  /**
@@ -326,6 +386,15 @@ export declare class WrPopover {
326
386
  * app, where the CDK never expires an origin at all.
327
387
  */
328
388
  private fromNavigationKey;
389
+ /**
390
+ * Names a button or link that has no accessible name with the tooltip text,
391
+ * and records whether that text is the host's name either way.
392
+ *
393
+ * A tooltip that only describes leaves an icon-only control unnamed, and one
394
+ * that repeats the name is read twice. An `aria-label` this did not write is
395
+ * the consumer's and is never replaced.
396
+ */
397
+ private syncName;
329
398
  private scheduleShow;
330
399
  private scheduleHide;
331
400
  private clearTimers;
@@ -451,6 +520,11 @@ export declare class WrPopover {
451
520
  "required": false;
452
521
  "isSignal": true;
453
522
  };
523
+ "autoFocus": {
524
+ "alias": "wrPopoverAutoFocus";
525
+ "required": false;
526
+ "isSignal": true;
527
+ };
454
528
  "panelClass": {
455
529
  "alias": "panelClass";
456
530
  "required": false;
@@ -118,11 +118,14 @@ interface WrRadioGroupContext {
118
118
  /**
119
119
  * Hosts a group of `<wr-radio>` children as a single-value selection.
120
120
  *
121
- * A signal-forms native control: it implements `FormValueControl<unknown>`, so
121
+ * A signal-forms native control: it implements `FormValueControl`, so
122
122
  * `[formField]` binds to its `value` model — the currently selected radio's
123
123
  * `value`. `[(value)]` works standalone. Classic `[(ngModel)]` / reactive forms
124
124
  * keep working through Angular's bridge.
125
125
  *
126
+ * `T` is an item of `[options]` and `V` is a radio's value: the return type of
127
+ * `[valueWith]`, or else the type of the value binding.
128
+ *
126
129
  * @example
127
130
  * ```html
128
131
  * <wr-radio-group [formField]="form.size">
@@ -130,17 +133,41 @@ interface WrRadioGroupContext {
130
133
  * <wr-radio value="md">Medium</wr-radio>
131
134
  * <wr-radio value="lg">Large</wr-radio>
132
135
  * </wr-radio-group>
136
+ *
137
+ * <!-- One radio per item, the id in the model -->
138
+ * <wr-radio-group [options]="plans" [displayWith]="planName" [valueWith]="planId" [(value)]="planId" />
133
139
  * ```
134
140
  *
135
141
  * @see https://ngwr.dev/reference/components/radio
136
142
  */
137
- export declare class WrRadioGroup implements FormValueControl<unknown>, WrRadioGroupContext {
143
+ export declare class WrRadioGroup<T = unknown, V = T> implements FormValueControl<V | null>, WrRadioGroupContext {
138
144
  constructor();
139
145
  /**
140
146
  * Shared `name` attribute. Defaults to a random id so multiple groups
141
147
  * on the same page don't collide. (Also the `FormUiControl.name` slot.)
142
148
  */
143
149
  readonly name: import("@angular/core").InputSignal<string>;
150
+ /**
151
+ * Option array. Each item is rendered as a `<wr-radio>` whose value is the
152
+ * item, or `[valueWith]` of it, and whose label comes from `[displayWith]`,
153
+ * before any projected `<wr-radio>` children.
154
+ *
155
+ * @example
156
+ * ```html
157
+ * <wr-radio-group [options]="plans" [displayWith]="planName" [valueWith]="planId" [(value)]="planId" />
158
+ * ```
159
+ */
160
+ readonly options: import("@angular/core").InputSignal<readonly T[]>;
161
+ /** Maps an `[options]` item to its label. @default String */
162
+ readonly displayWith: import("@angular/core").InputSignal<(item: T) => string>;
163
+ /**
164
+ * Maps an `[options]` item to the value the model holds, so a list of objects
165
+ * can bind an id. Values are compared with `===`. Without it an item is its
166
+ * own value.
167
+ */
168
+ readonly valueWith: import("@angular/core").InputSignal<((item: T) => V) | null>;
169
+ /** An item's value: `valueWith` of it, or the item itself. */
170
+ protected valueOf(item: T): V;
144
171
  /**
145
172
  * Disable the whole group. Bound automatically from the field's disabled
146
173
  * state when used with `[formField]`.
@@ -172,7 +199,7 @@ export declare class WrRadioGroup implements FormValueControl<unknown>, WrRadioG
172
199
  protected readonly fieldAria: import("ngwr/form").WrFormFieldAria;
173
200
  protected readonly labelledBy: import("@angular/core").Signal<string | null>;
174
201
  /** The selected radio's value. Bound by `[formField]`, or two-way via `[(value)]`. */
175
- readonly value: import("@angular/core").ModelSignal<unknown>;
202
+ readonly value: import("@angular/core").ModelSignal<V | null>;
176
203
  /** Emitted on blur from any child so a bound field can mark itself touched. */
177
204
  readonly touch: import("@angular/core").OutputEmitterRef<void>;
178
205
  /** Effective disabled state (WrRadioGroupContext). */
@@ -190,13 +217,28 @@ export declare class WrRadioGroup implements FormValueControl<unknown>, WrRadioG
190
217
  focus(options?: FocusOptions): void;
191
218
  select(value: unknown): void;
192
219
  markTouched(): void;
193
- static ɵfac: i0.ɵɵFactoryDeclaration<WrRadioGroup, never>;
194
- static ɵcmp: i0.ɵɵComponentDeclaration<WrRadioGroup, "wr-radio-group", never, {
220
+ static ɵfac: i0.ɵɵFactoryDeclaration<WrRadioGroup<any, any>, never>;
221
+ static ɵcmp: i0.ɵɵComponentDeclaration<WrRadioGroup<any, any>, "wr-radio-group", never, {
195
222
  "name": {
196
223
  "alias": "name";
197
224
  "required": false;
198
225
  "isSignal": true;
199
226
  };
227
+ "options": {
228
+ "alias": "options";
229
+ "required": false;
230
+ "isSignal": true;
231
+ };
232
+ "displayWith": {
233
+ "alias": "displayWith";
234
+ "required": false;
235
+ "isSignal": true;
236
+ };
237
+ "valueWith": {
238
+ "alias": "valueWith";
239
+ "required": false;
240
+ "isSignal": true;
241
+ };
200
242
  "disabled": {
201
243
  "alias": "disabled";
202
244
  "required": false;
@@ -91,6 +91,8 @@ export declare class WrSegmented<T = unknown> implements FormValueControl<T | nu
91
91
  readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, any>;
92
92
  /** Control size — shares the `--wr-control-*` contract. @default 'md' */
93
93
  readonly size: import("@angular/core").InputSignal<WrSegmentedSize>;
94
+ /** Stretch the strip to fill its parent's width, shared equally by the segments. @default false */
95
+ readonly block: import("@angular/core").InputSignalWithTransform<boolean, any>;
94
96
  private readonly host;
95
97
  private readonly field;
96
98
  /**
@@ -240,6 +242,11 @@ export declare class WrSegmented<T = unknown> implements FormValueControl<T | nu
240
242
  "required": false;
241
243
  "isSignal": true;
242
244
  };
245
+ "block": {
246
+ "alias": "block";
247
+ "required": false;
248
+ "isSignal": true;
249
+ };
243
250
  }, {
244
251
  "value": "valueChange";
245
252
  "touch": "touch";