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
@@ -94,6 +94,15 @@ export declare class WrDialogRef<C, R = unknown> {
94
94
  }
95
95
  /** The ARIA role a dialog panel announces. */
96
96
  type WrDialogRole = 'dialog' | 'alertdialog';
97
+ /**
98
+ * What a dialog does with focus when it opens: `'first-tabbable'` focuses the
99
+ * first tabbable element, `'dialog'` focuses the panel itself (no ring, so the
100
+ * first Tab reaches the first control), `false` moves nothing. An element with
101
+ * `cdkFocusInitial` wins in every mode.
102
+ */
103
+ type WrDialogAutoFocus = 'first-tabbable' | 'dialog' | false;
104
+ /** A dialog size: a width step, read from `--wr-dialog-width-<size>`, and the scale of the dialog's parts. */
105
+ type WrDialogSize = 'sm' | 'md' | 'lg';
97
106
  /**
98
107
  * Options accepted by `WrDialog.open()`.
99
108
  */
@@ -129,10 +138,34 @@ interface WrDialogOptions<D = unknown> {
129
138
  readonly closable?: boolean;
130
139
  /** Accessible name for the dismiss button. Falls back to the `dialog.close` catalog key. */
131
140
  readonly closeLabel?: string;
132
- /** Width applied to the panel — any valid CSS length. */
141
+ /**
142
+ * `sm`, `md` or `lg`. A width step, 28rem, 40rem and 56rem unless the
143
+ * `--wr-dialog-width-<size>` hooks say otherwise, and the scale of the
144
+ * dialog: its padding, title, text, dismiss button and footer gap, through
145
+ * the `--wr-dialog-*` hooks. `md` scales nothing. A `wr-btn` inside with no
146
+ * `size` of its own takes this one, the buttons of `confirm()` and `alert()`
147
+ * included. The panel gets the `wr-dialog-panel--<size>` class and still
148
+ * narrows to the viewport gutter. An explicit `width` wins over the width
149
+ * step only. With neither, the panel is as wide as its content.
150
+ * @default undefined, or what `withDialog()` sets for `open()`
151
+ */
152
+ readonly size?: WrDialogSize;
153
+ /** Width applied to the panel — any valid CSS length. Wins over the width of a `size`. */
133
154
  readonly width?: string;
155
+ /**
156
+ * Minimum width applied to the panel, in place of `--wr-dialog-min-width`.
157
+ * A minimum wins over the viewport gutter, so a long one overflows a phone.
158
+ */
159
+ readonly minWidth?: string;
134
160
  /** Maximum width applied to the panel. */
135
161
  readonly maxWidth?: string;
162
+ /**
163
+ * Height applied to the panel — any valid CSS length. The viewport gutter
164
+ * still caps it, and `[wrDialogContent]` takes the room left and scrolls.
165
+ */
166
+ readonly height?: string;
167
+ /** Maximum height applied to the panel, in place of the viewport gutter. */
168
+ readonly maxHeight?: string;
136
169
  /**
137
170
  * Extra CSS classes for the panel. A space-separated string works as well as
138
171
  * an array — the CDK would throw `InvalidCharacterError` on the first, so the
@@ -159,9 +192,20 @@ interface WrDialogOptions<D = unknown> {
159
192
  * @default 'above'
160
193
  */
161
194
  readonly toasts?: 'above' | 'below';
195
+ /**
196
+ * Where focus goes when the dialog opens. `'dialog'` focuses the panel itself,
197
+ * with no ring, so the first Tab goes to the first control. `'first-tabbable'`
198
+ * focuses the first tabbable element, which lights the focus ring on a button
199
+ * when the user pressed nothing. `false` leaves focus where it was. The default is `'dialog'`: a modal that moves no focus strands keyboard
200
+ * users, and `'first-tabbable'` is the explicit opt-in. An
201
+ * element marked `cdkFocusInitial` wins in every mode. The focus trap and the
202
+ * return of focus to the opener on close do not change.
203
+ * @default 'dialog', or what `withDialog()` sets
204
+ */
205
+ readonly autoFocus?: WrDialogAutoFocus;
162
206
  }
163
207
  /** The `WrDialogOptions` that `confirm()` and `alert()` pass through to the dialog. */
164
- type WrDialogMessageOptions = Pick<WrDialogOptions, 'width' | 'maxWidth' | 'panelClass' | 'closeOnBackdropClick' | 'closeOnEscape' | 'closeOnNavigation' | 'tabTitle' | 'toasts'>;
208
+ type WrDialogMessageOptions = Pick<WrDialogOptions, 'size' | 'width' | 'maxWidth' | 'panelClass' | 'closeOnBackdropClick' | 'closeOnEscape' | 'closeOnNavigation' | 'tabTitle' | 'autoFocus' | 'toasts'>;
165
209
  /** The meaning a `confirm()` or an `alert()` dialog shows as an icon before its title. */
166
210
  type WrDialogIntent = 'info' | 'success' | 'warning' | 'danger';
167
211
  /**
@@ -216,8 +260,11 @@ interface WrDialogAlertOptions extends WrDialogMessageOptions {
216
260
  /** An icon before the title, in the intent's color. It is decorative. */
217
261
  readonly intent?: WrDialogIntent;
218
262
  }
219
- /** App-wide dialog defaults, passed to `provideWr(withDialog(...))`. */
220
- type WrDialogDefaults = Pick<WrDialogOptions, 'tabTitle'>;
263
+ /**
264
+ * App-wide dialog defaults, passed to `provideWr(withDialog(...))`. `size`
265
+ * applies to `open()` only: `confirm()` and `alert()` take their own.
266
+ */
267
+ type WrDialogDefaults = Pick<WrDialogOptions, 'tabTitle' | 'autoFocus' | 'size'>;
221
268
  /**
222
269
  * Opens dialog components in an isolated NGWR overlay.
223
270
  *
@@ -252,6 +299,7 @@ export declare class WrDialog {
252
299
  private readonly defaults;
253
300
  private readonly order;
254
301
  open<C, R = unknown, D = unknown>(component: ComponentType<C>, options?: WrDialogOptions<D>): WrDialogRef<C, R>;
302
+ private mount;
255
303
  /**
256
304
  * Ask a yes-or-no question and get the answer: `true` only when the user
257
305
  * pressed the confirm button. Escape, the backdrop, the cancel button, a
@@ -262,8 +310,9 @@ export declare class WrDialog {
262
310
  * The dialog is `role="alertdialog"`, named by `title` and described by
263
311
  * `message`, with no corner dismiss: the two buttons are the answers. Labels
264
312
  * fall back to the `common.ok` and `common.cancel` catalog keys. With
265
- * `confirmColor: 'danger'` initial focus is on the cancel button; otherwise it
266
- * is on the confirm button. Focus returns to the opener on close, as it does
313
+ * `autoFocus: 'first-tabbable'` and `confirmColor: 'danger'` initial focus is on
314
+ * the cancel button, and on the confirm button otherwise; by default the panel
315
+ * takes it. Focus returns to the opener on close, as it does
267
316
  * for `open()`.
268
317
  *
269
318
  * `intent` puts an icon before the title, and `danger` or `warning` color the
@@ -293,7 +342,7 @@ export declare class WrDialog {
293
342
  *
294
343
  * The dialog is `confirm()`'s with one button: `role="alertdialog"` for every
295
344
  * intent, named by `title` and described by `message`, with no corner
296
- * dismiss. The button takes the initial focus and its label falls back to the
345
+ * dismiss. Under `autoFocus: 'first-tabbable'` the button takes the initial focus; its label falls back to the
297
346
  * `common.ok` catalog key. `intent` puts an icon before the title.
298
347
  *
299
348
  * On the server it resolves at once and opens nothing.
@@ -309,6 +358,7 @@ export declare class WrDialog {
309
358
  * ```
310
359
  */
311
360
  alert(options: WrDialogAlertOptions): Promise<void>;
361
+ private autoFocusOf;
312
362
  private ask;
313
363
  /**
314
364
  * Tie the dialog's lifetime to the URL it was opened on.
@@ -397,9 +447,10 @@ export declare const WR_DIALOG_DATA: InjectionToken<unknown>;
397
447
  */
398
448
  export declare const WR_DIALOG_REF: InjectionToken<WrDialogRef<unknown, unknown>>;
399
449
  /**
400
- * App-wide dialog defaults, as a feature of `provideWr()`: today `tabTitle`,
401
- * so every dialog names the browser tab while it is open. The same option on
402
- * `open()` or `confirm()` still wins.
450
+ * App-wide dialog defaults, as a feature of `provideWr()`: `tabTitle`, so
451
+ * every dialog names the browser tab while it is open, `autoFocus`, where
452
+ * focus goes on open, and `size`, the size of every `open()`. The same
453
+ * option on `open()` or `confirm()` still wins.
403
454
  *
404
455
  * Bootstrap only: `WrDialog` is root-provided and reads it once, from the root
405
456
  * injector, so in a route's `providers` it changes nothing.
@@ -410,7 +461,7 @@ export declare const WR_DIALOG_REF: InjectionToken<WrDialogRef<unknown, unknown>
410
461
  * import { withDialog } from 'ngwr/dialog';
411
462
  *
412
463
  * bootstrapApplication(App, {
413
- * providers: [provideWr(withDialog({ tabTitle: true }))],
464
+ * providers: [provideWr(withDialog({ tabTitle: true, autoFocus: 'first-tabbable' }))],
414
465
  * });
415
466
  * ```
416
467
  */
@@ -488,7 +539,7 @@ export declare class WrDialogFooter {
488
539
  *
489
540
  * @default 'end'
490
541
  */
491
- readonly align: import("@angular/core").InputSignal<"center" | "start" | "end">;
542
+ readonly align: import("@angular/core").InputSignal<"center" | "end" | "start">;
492
543
  protected readonly classes: import("@angular/core").Signal<string>;
493
544
  static ɵfac: i0.ɵɵFactoryDeclaration<WrDialogFooter, never>;
494
545
  static ɵdir: i0.ɵɵDirectiveDeclaration<WrDialogFooter, "[wrDialogFooter]", never, {
@@ -528,4 +579,4 @@ export declare class WrDialogClose<R = unknown> {
528
579
  };
529
580
  }, {}, never, never, true, never>;
530
581
  }
531
- export type { WrDialogAlertOptions, WrDialogConfirmOptions, WrDialogDefaults, WrDialogIntent, WrDialogMessageOptions, WrDialogOptions, WrDialogRole };
582
+ export type { WrDialogAlertOptions, WrDialogAutoFocus, WrDialogConfirmOptions, WrDialogDefaults, WrDialogIntent, WrDialogMessageOptions, WrDialogOptions, WrDialogRole, WrDialogSize };
@@ -1,18 +1,26 @@
1
1
  import * as i0 from "@angular/core";
2
2
  /**
3
- * Focus the host element after the first render — or whenever the bound
4
- * expression transitions to truthy.
3
+ * Focus the host element after the first render, or whenever the bound
4
+ * expression turns truthy. `"first"` focuses the first focusable element
5
+ * inside the host instead: the control of a form, a card or a dialog body.
6
+ * Disabled and hidden elements are skipped.
5
7
  *
6
8
  * @example
7
9
  * ```html
8
10
  * <input wrAutofocus />
9
11
  * <input [wrAutofocus]="shouldFocus()" />
12
+ * <form wrAutofocus="first">…</form>
13
+ * <form [wrAutofocus]="editing() && 'first'">…</form>
10
14
  * ```
11
15
  */
12
16
  export declare class WrAutofocus {
13
- /** Truthy = focus. Defaults to `true` so bare `wrAutofocus` works. */
14
- readonly wrAutofocus: import("@angular/core").InputSignalWithTransform<boolean, any>;
17
+ /**
18
+ * Truthy = focus the host, `'first'` = focus the first focusable element
19
+ * inside it. Defaults to `true` so bare `wrAutofocus` works.
20
+ */
21
+ readonly wrAutofocus: import("@angular/core").InputSignalWithTransform<boolean | "first", unknown>;
15
22
  private readonly el;
23
+ private readonly injector;
16
24
  constructor();
17
25
  static ɵfac: i0.ɵɵFactoryDeclaration<WrAutofocus, never>;
18
26
  static ɵdir: i0.ɵɵDirectiveDeclaration<WrAutofocus, "[wrAutofocus]", never, {
@@ -13,6 +13,13 @@ import { ReplaySubject } from "rxjs";
13
13
  */
14
14
  /** Side of the viewport the drawer slides in from. */
15
15
  type WrDrawerPosition = 'left' | 'right' | 'top' | 'bottom';
16
+ /**
17
+ * What a drawer does with focus when it opens: `'first-tabbable'` focuses the
18
+ * first tabbable element, `'dialog'` focuses the panel itself (no ring, so the
19
+ * first Tab reaches the first control), `false` moves nothing. An element with
20
+ * `cdkFocusInitial` wins in every mode.
21
+ */
22
+ type WrDrawerAutoFocus = 'first-tabbable' | 'dialog' | false;
16
23
  /**
17
24
  * Options accepted by `WrDrawerManager.open()`.
18
25
  *
@@ -83,6 +90,17 @@ interface WrDrawerOptions<D = unknown> {
83
90
  * @default 'above'
84
91
  */
85
92
  readonly toasts?: 'above' | 'below';
93
+ /**
94
+ * Where focus goes when the drawer opens. `'dialog'` focuses the panel itself,
95
+ * with no ring, so the first Tab goes to the first control. `'first-tabbable'`
96
+ * focuses the first tabbable element, which lights the focus ring on a button
97
+ * when the user pressed nothing. `false` leaves focus where it was. The default is `'dialog'`: a modal that moves no focus strands keyboard
98
+ * users, and `'first-tabbable'` is the explicit opt-in. An
99
+ * element marked `cdkFocusInitial` wins in every mode. The trap of a modal
100
+ * drawer and the return of focus on close do not change.
101
+ * @default 'dialog'
102
+ */
103
+ readonly autoFocus?: WrDrawerAutoFocus;
86
104
  }
87
105
  /**
88
106
  * Side panel that slides in from an edge of the viewport. Two-way binds
@@ -167,6 +185,14 @@ export declare class WrDrawer {
167
185
  * @default 'above'
168
186
  */
169
187
  readonly toasts: import("@angular/core").InputSignal<"below" | "above">;
188
+ /**
189
+ * Where focus goes when the drawer opens: `'dialog'` focuses the panel itself
190
+ * with no ring so the first Tab reaches the first control, `'first-tabbable'`
191
+ * focuses the first tabbable element, `false` moves nothing. An element
192
+ * marked `cdkFocusInitial` wins in every mode. Read when the drawer opens.
193
+ * @default 'dialog'
194
+ */
195
+ readonly autoFocus: import("@angular/core").InputSignal<WrDrawerAutoFocus>;
170
196
  protected readonly resolvedCloseLabel: import("@angular/core").Signal<string>;
171
197
  protected readonly panelTpl: import("@angular/core").Signal<TemplateRef<any>>;
172
198
  /**
@@ -311,6 +337,11 @@ export declare class WrDrawer {
311
337
  "required": false;
312
338
  "isSignal": true;
313
339
  };
340
+ "autoFocus": {
341
+ "alias": "autoFocus";
342
+ "required": false;
343
+ "isSignal": true;
344
+ };
314
345
  }, {
315
346
  "open": "openChange";
316
347
  }, ["projectedTitle"], ["*"], true, never>;
@@ -551,7 +582,7 @@ export declare class WrDrawerContent {
551
582
  export declare class WrDrawerFooter {
552
583
  constructor();
553
584
  /** Horizontal alignment of footer content. @default 'end' */
554
- readonly align: import("@angular/core").InputSignal<"center" | "start" | "end">;
585
+ readonly align: import("@angular/core").InputSignal<"center" | "end" | "start">;
555
586
  protected readonly classes: import("@angular/core").Signal<string>;
556
587
  static ɵfac: i0.ɵɵFactoryDeclaration<WrDrawerFooter, never>;
557
588
  static ɵdir: i0.ɵɵDirectiveDeclaration<WrDrawerFooter, "[wrDrawerFooter]", never, {
@@ -596,4 +627,4 @@ export declare class WrDrawerClose<R = unknown> {
596
627
  };
597
628
  }, {}, never, never, true, never>;
598
629
  }
599
- export type { WrDrawerOptions, WrDrawerPosition };
630
+ export type { WrDrawerAutoFocus, WrDrawerOptions, WrDrawerPosition };
@@ -139,7 +139,8 @@ export declare class WrDropdownHarness extends ContentContainerComponentHarness
139
139
  open(): Promise<void>;
140
140
  /**
141
141
  * Open the menu from the keyboard — ArrowDown on the trigger, the APG
142
- * menu-button path (ArrowUp / Enter / Space do the same).
142
+ * menu-button path (ArrowUp / Enter / Space do the same). Focus stays on the
143
+ * trigger unless the dropdown sets `wrDropdownAutoFocus`.
143
144
  *
144
145
  * Worth its own method rather than an argument to `open()`: it is the only way
145
146
  * to get TWO dropdowns open at once, because clicking a second trigger is an
@@ -183,10 +184,12 @@ export declare class WrDropdownHarness extends ContentContainerComponentHarness
183
184
  * The label of the item that currently holds focus, or `null` when focus is
184
185
  * elsewhere.
185
186
  *
186
- * The menu roves focus rather than moving a visual cursor — it lands on the
187
- * first ENABLED item as the menu renders, and the arrow keys walk it from there
188
- * over the enabled items only (a disabled one is not a stop) — so this is the
189
- * only way to ask where the keyboard is.
187
+ * The menu roves focus rather than moving a visual cursor, so this is the only
188
+ * way to ask where the keyboard is. Opening leaves focus on the trigger unless
189
+ * the dropdown sets `wrDropdownAutoFocus`: send ArrowDown to the host
190
+ * (`(await dropdown.host()).sendKeys(TestKey.DOWN_ARROW)`) to walk in at the
191
+ * first ENABLED item, and the arrow keys walk from there over the enabled
192
+ * items only (a disabled one is not a stop).
190
193
  */
191
194
  getFocusedItemText(): Promise<string | null>;
192
195
  /**
@@ -1,8 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { TemplateRef } from "@angular/core";
3
3
  import { WrClassInput } from "ngwr/utils";
4
- import { ConnectedPosition } from "@angular/cdk/overlay";
5
4
  import { WrAnchoredPosition } from "ngwr/overlay";
5
+ import "@angular/cdk/overlay";
6
6
  /**
7
7
  * Holds the menu content rendered when a {@link WrDropdown} opens.
8
8
  *
@@ -94,6 +94,18 @@ export declare class WrDropdown {
94
94
  * @default false
95
95
  */
96
96
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, any>;
97
+ /**
98
+ * Focus the first item when a click, a key or `open()` opens the menu. Off,
99
+ * focus stays on the trigger and ArrowDown / ArrowUp there walk into the menu
100
+ * at its first / last item; a letter jumps to the item it starts. A pointer
101
+ * hovering a `trigger="hover"` menu never moves focus.
102
+ *
103
+ * Prefixed because the directive sits on your own element, where an
104
+ * `autoFocus` attribute would also be the native `autofocus`.
105
+ *
106
+ * @default false
107
+ */
108
+ readonly autoFocus: import("@angular/core").InputSignalWithTransform<boolean, any>;
97
109
  /**
98
110
  * Extra CSS classes for the menu's overlay pane.
99
111
  *
@@ -154,6 +166,8 @@ export declare class WrDropdown {
154
166
  private overlayRef;
155
167
  /** The root menu's link to the submenus open below it. */
156
168
  private level;
169
+ /** The open root menu's type-ahead, for a letter typed on the trigger. */
170
+ private typeInMenu;
157
171
  constructor();
158
172
  /** Open the menu. Does nothing while the trigger is disabled. */
159
173
  open(): void;
@@ -165,10 +179,10 @@ export declare class WrDropdown {
165
179
  /**
166
180
  * Whether the pointer, rather than the keyboard, opened the current menu.
167
181
  *
168
- * A hover-opened menu must not take focus — the APG shows a menu on hover and
169
- * leaves the caret where it was — while a keyboard-opened one must. The
170
- * trigger MODE cannot answer that on its own: a `trigger="hover"` menu is
171
- * still openable with Enter, and that open should focus the first item.
182
+ * A hover-opened menu must not take focus, even under `wrDropdownAutoFocus` — the APG
183
+ * shows a menu on hover and leaves the caret where it was. The trigger MODE
184
+ * cannot answer that on its own: a `trigger="hover"` menu is still openable
185
+ * with Enter, and that open follows `wrDropdownAutoFocus`.
172
186
  */
173
187
  private openedByPointer;
174
188
  protected onClick(event: MouseEvent): void;
@@ -194,7 +208,11 @@ export declare class WrDropdown {
194
208
  * its way out of the document.
195
209
  */
196
210
  private closeOverlay;
197
- /** @internal Trigger keydown — ArrowDown/Up/Enter/Space open the menu. */
211
+ /**
212
+ * @internal Trigger keydown — ArrowDown/Up/Enter/Space open the menu. While
213
+ * it is open the arrows reach `handleMenuKeydown` through the overlay, and a
214
+ * letter goes to the menu's type-ahead.
215
+ */
198
216
  protected onKeydown(event: KeyboardEvent): void;
199
217
  private handleMenuKeydown;
200
218
  /** The focus stops of `pane`, the root menu's own by default. */
@@ -232,6 +250,11 @@ export declare class WrDropdown {
232
250
  "required": false;
233
251
  "isSignal": true;
234
252
  };
253
+ "autoFocus": {
254
+ "alias": "wrDropdownAutoFocus";
255
+ "required": false;
256
+ "isSignal": true;
257
+ };
235
258
  "panelClass": {
236
259
  "alias": "panelClass";
237
260
  "required": false;
@@ -388,6 +388,10 @@ export declare class WrEventCalendar {
388
388
  */
389
389
  private stepRow;
390
390
  private shift;
391
+ /** Wall-clock minutes since midnight of the day `date` is on. */
392
+ private wallMinutes;
393
+ /** The wall-clock time `minutes` after midnight of `date`'s day; past 1440 it rolls into the next days. */
394
+ private atMinutes;
391
395
  private startOfDay;
392
396
  private startOfWeek;
393
397
  /** Whole days apart — computed on the day floor, so DST cannot round it off. */
@@ -1,6 +1,82 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { AfterContentChecked, InjectionToken, Signal } from "@angular/core";
3
3
  import { NgControl, ValidationErrors } from "@angular/forms";
4
+ /**
5
+ * Lays out the fields of a form: a column with a gap by default, a wrapping
6
+ * row with `inline`, or rows of `columns` equal columns that fall back to one
7
+ * column when the form itself is narrow.
8
+ *
9
+ * @example
10
+ * ```html
11
+ * <form wrForm columns="2">
12
+ * <wr-form-field label="First name"><input wrInput /></wr-form-field>
13
+ * <wr-form-field label="Last name"><input wrInput /></wr-form-field>
14
+ * <wr-form-field label="Email" wrFormSpan><input wrInput /></wr-form-field>
15
+ * </form>
16
+ * ```
17
+ *
18
+ * @see https://ngwr.dev/reference/components/form
19
+ */
20
+ export declare class WrForm {
21
+ constructor();
22
+ /**
23
+ * Lay the fields out in a wrapping row, aligned on their bottom edge.
24
+ * `columns` is ignored.
25
+ *
26
+ * @default false
27
+ */
28
+ readonly inline: import("@angular/core").InputSignalWithTransform<boolean, any>;
29
+ /**
30
+ * How many equal columns a row holds. Below a form width of `30rem` every
31
+ * field takes a full row.
32
+ *
33
+ * @default 1
34
+ */
35
+ readonly columns: import("@angular/core").InputSignalWithTransform<number, unknown>;
36
+ protected readonly grid: import("@angular/core").Signal<boolean>;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<WrForm, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<WrForm, "[wrForm]", never, {
39
+ "inline": {
40
+ "alias": "inline";
41
+ "required": false;
42
+ "isSignal": true;
43
+ };
44
+ "columns": {
45
+ "alias": "columns";
46
+ "required": false;
47
+ "isSignal": true;
48
+ };
49
+ }, {}, never, never, true, never>;
50
+ }
51
+ /**
52
+ * Stretches a child of `[wrForm]` over several columns: all of them with no
53
+ * value, or the given number.
54
+ *
55
+ * @example
56
+ * ```html
57
+ * <wr-form-field label="Address" wrFormSpan="2"><input wrInput /></wr-form-field>
58
+ * ```
59
+ *
60
+ * @see https://ngwr.dev/reference/components/form
61
+ */
62
+ export declare class WrFormSpan {
63
+ constructor();
64
+ /**
65
+ * Columns to span. Empty or `'full'` takes the whole row.
66
+ *
67
+ * @default 'full'
68
+ */
69
+ readonly span: import("@angular/core").InputSignalWithTransform<number | "full", unknown>;
70
+ protected readonly track: import("@angular/core").Signal<string>;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<WrFormSpan, never>;
72
+ static ɵdir: i0.ɵɵDirectiveDeclaration<WrFormSpan, "[wrFormSpan]", never, {
73
+ "span": {
74
+ "alias": "wrFormSpan";
75
+ "required": false;
76
+ "isSignal": true;
77
+ };
78
+ }, {}, never, never, true, never>;
79
+ }
4
80
  /**
5
81
  * Wraps a label + control + error message into a single field row.
6
82
  *
@@ -89,6 +165,12 @@ interface WrFormFieldContext {
89
165
  * field without it simply describes nothing but its errors.
90
166
  */
91
167
  readonly hintId?: Signal<string | null>;
168
+ /**
169
+ * Whether the field is marked `required`. Read through `useFormFieldAria()` as
170
+ * `aria-required`. Optional so an app that provides its own `WR_FORM_FIELD`
171
+ * keeps compiling.
172
+ */
173
+ readonly required?: Signal<boolean>;
92
174
  }
93
175
  /** Present only inside a `<wr-form-field>`; inject with `{ optional: true }`. */
94
176
  export declare const WR_FORM_FIELD: InjectionToken<WrFormFieldContext>;
@@ -172,7 +254,7 @@ export declare class WrFormField implements WrFormFieldContext, AfterContentChec
172
254
  readonly label: import("@angular/core").InputSignal<string>;
173
255
  /** Hint text shown below the control. Hidden when an error is visible. */
174
256
  readonly hint: import("@angular/core").InputSignal<string>;
175
- /** Show a `*` next to the label. @default false */
257
+ /** Show a `*` next to the label and set `aria-required` on the projected control. @default false */
176
258
  readonly required: import("@angular/core").InputSignalWithTransform<boolean, any>;
177
259
  /**
178
260
  * Show an "optional" marker next to the label — the word comes from
@@ -361,6 +443,8 @@ interface WrFormFieldAria {
361
443
  readonly describedBy: Signal<string | null>;
362
444
  /** `'true'` while the field has a validation error, `null` otherwise. */
363
445
  readonly ariaInvalid: Signal<'true' | null>;
446
+ /** `'true'` while the field is `required`, `null` otherwise. */
447
+ readonly ariaRequired: Signal<'true' | null>;
364
448
  /**
365
449
  * Id of the field's `<label>`, for a control `<label for>` cannot reach.
366
450
  *
@@ -234,17 +234,20 @@ export declare class WrGraph<TData = unknown> {
234
234
  readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
235
235
  /**
236
236
  * Lets the viewport zoom and pan instead of scrolling: `Ctrl` or `⌘` with the
237
- * wheel, a pinch, a drag on the field, the keyboard and three buttons. The
238
- * drawing is fitted on first draw and whenever the layout changes its size,
239
- * until the view is moved by hand. A touch drag on the graph then pans it
240
- * rather than scrolling the page.
237
+ * wheel, a pinch, a drag on the field, the keyboard and three buttons. A plain
238
+ * wheel or a two-finger scroll pans while the drawing has more to show that
239
+ * way, and scrolls the page once it has none. The drawing is fitted on first
240
+ * draw and whenever the layout changes its size, until the view is moved by
241
+ * hand. A touch drag on the graph then pans it rather than scrolling the page.
241
242
  *
242
243
  * @default false
243
244
  */
244
245
  readonly zoomable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
245
246
  /**
246
- * Lets a plain wheel zoom, with no modifier key. The page then no longer
247
- * scrolls while the pointer is over the graph.
247
+ * Lets a plain wheel zoom, with no modifier key. The wheel then never pans,
248
+ * and the page no longer scrolls while the pointer is over the graph. Without
249
+ * it a plain wheel pans the drawing, and scrolls the page once the drawing has
250
+ * nothing more to show in that direction.
248
251
  *
249
252
  * @default false
250
253
  */
@@ -359,6 +362,8 @@ export declare class WrGraph<TData = unknown> {
359
362
  private frameId;
360
363
  private readonly pointers;
361
364
  private dragging;
365
+ /** The zoom a Safari pinch started from, while one is under way. */
366
+ private pinchFrom;
362
367
  /**
363
368
  * The visually hidden sentence per node id: its parents, then its children, as
364
369
  * name lists. Never a count — the catalogs have no plural forms. A neighbour
@@ -384,6 +389,8 @@ export declare class WrGraph<TData = unknown> {
384
389
  private frame;
385
390
  /** The fitted transform, or `null` while there is nothing to fit or no box to fit it in. */
386
391
  private fitted;
392
+ /** The viewport's padding, which a fit and a scroll both stop at. */
393
+ private insets;
387
394
  /** After a new drawing or a new box: fit it, or keep a view moved by hand within reach. */
388
395
  private settle;
389
396
  /** The transform the next frame will show. */
@@ -397,6 +404,15 @@ export declare class WrGraph<TData = unknown> {
397
404
  private zoomBy;
398
405
  private panBy;
399
406
  private onWheel;
407
+ /**
408
+ * A plain wheel or a two-finger scroll, handled as a scroll container handles
409
+ * it: the drawing moves while it has more to show that way and the event is
410
+ * taken; once it has none the event is left alone and the page scrolls on.
411
+ */
412
+ private onWheelPan;
413
+ private onGestureStart;
414
+ private onGestureChange;
415
+ private onGestureEnd;
400
416
  private onKeydown;
401
417
  private onPointerDown;
402
418
  private onPointerMove;
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { EnvironmentProviders, InjectionToken, PipeTransform, Provider, Signal } from "@angular/core";
2
+ import { EnvironmentProviders, InjectionToken, Injector, PipeTransform, Provider, Signal } from "@angular/core";
3
3
  import { Observable } from "rxjs";
4
4
  /** Translation catalog — flat or nested record of strings. */
5
5
  interface WrI18nCatalog {
@@ -144,6 +144,8 @@ export declare class WrI18n {
144
144
  private readonly revision;
145
145
  /** In-flight load promises — dedupes parallel `t()` callers. @internal */
146
146
  private readonly inflight;
147
+ /** Keys whose last load failed: `t()` does not retry them, `use()` and `registerScope()` do. @internal */
148
+ private readonly failed;
147
149
  /** Registered scopes — auto-loaded whenever the locale changes. @internal */
148
150
  private readonly scopes;
149
151
  /** Active locale. Writes go through `use()` so storage stays in sync. */
@@ -363,9 +365,8 @@ interface WrI18nHttpLoaderConfig {
363
365
  readonly rootPath?: string;
364
366
  }
365
367
  /**
366
- * Loader that fetches catalogs via `HttpClient`. Failures resolve to `{}`
367
- * (logged once at the service layer) so a missing file never throws into
368
- * user code.
368
+ * Loader that fetches catalogs via `HttpClient`. A failure errors the stream;
369
+ * the service logs it, serves the key and retries on the next `use()`.
369
370
  */
370
371
  export declare class WrI18nHttpLoader implements WrI18nLoader {
371
372
  private readonly config;
@@ -499,4 +500,63 @@ export declare function wrReadI18nText(key: string, fallback: string): Signal<st
499
500
  * ```
500
501
  */
501
502
  export declare function useI18nFormatter(key: string, fallback: string): (params?: WrI18nParams) => string;
502
- export type { ProvideWrI18nOptions, WrI18nBaseCatalogs, WrI18nCatalog, WrI18nConfig, WrI18nConfigResolved, WrI18nHttpLoaderConfig, WrI18nLoader, WrI18nMissingHandler, WrI18nParams, WrI18nStaticCatalogs, WrI18nStaticScopedCatalogs, WrI18nTranslateOptions };
503
+ /** A screen's own sentence for one status: the text, or a function of the error. */
504
+ type WrHttpErrorOverride = string | ((error: unknown) => string);
505
+ /** Options of {@link wrHttpErrorText}. */
506
+ interface WrHttpErrorTextOptions {
507
+ /** The screen's own sentence per status, `0` being a network failure. Wins over everything else. */
508
+ readonly overrides?: Readonly<Partial<Record<number, WrHttpErrorOverride>>>;
509
+ /**
510
+ * Prefer the sentence the server put in the body: `error.error.message`, or
511
+ * a body that is a plain string. For an API that writes its errors for the
512
+ * person at the screen.
513
+ * @default false
514
+ */
515
+ readonly serverMessage?: boolean;
516
+ /** Where to read `WrI18n` from when the call is outside an injection context, such as a `catch`. */
517
+ readonly injector?: Injector;
518
+ }
519
+ /**
520
+ * The HTTP status of a failed request: of an `HttpErrorResponse`, a `Response`
521
+ * or anything else carrying a numeric `status`. `0` is a request nothing
522
+ * answered (offline, CORS, a dropped connection); `null` is a value that is not
523
+ * an HTTP error at all.
524
+ *
525
+ * @example
526
+ * ```ts
527
+ * if (wrHttpStatus(error) === 401) void router.navigate(['/login']);
528
+ * ```
529
+ *
530
+ * @see https://ngwr.dev/reference/utils/wr-http-error-text
531
+ */
532
+ export declare function wrHttpStatus(error: unknown): number | null;
533
+ /**
534
+ * A sentence for a failed request, in the active language. Highest first:
535
+ *
536
+ * 1. `overrides[status]`, the screen's own wording.
537
+ * 2. With `serverMessage`, the sentence in the response body.
538
+ * 3. The catalog: `httpError.<status>`, then `httpError.4xx` / `httpError.5xx`
539
+ * (both take `{{status}}`), `httpError.network` for status `0`, and
540
+ * `httpError.unknown` for the rest. An app's own catalog wins over ngwr's,
541
+ * and English is the floor when neither has the key.
542
+ *
543
+ * Call it in an injection context, or pass `injector` from a `catch` or a
544
+ * callback.
545
+ *
546
+ * @example
547
+ * ```ts
548
+ * private readonly injector = inject(Injector);
549
+ *
550
+ * try {
551
+ * await this.api.save(order);
552
+ * } catch (error) {
553
+ * this.toast.danger(
554
+ * wrHttpErrorText(error, { injector: this.injector, overrides: { 409: 'This name is taken.' } })
555
+ * );
556
+ * }
557
+ * ```
558
+ *
559
+ * @see https://ngwr.dev/reference/utils/wr-http-error-text
560
+ */
561
+ export declare function wrHttpErrorText(error: unknown, options?: WrHttpErrorTextOptions): string;
562
+ export type { ProvideWrI18nOptions, WrHttpErrorOverride, WrHttpErrorTextOptions, WrI18nBaseCatalogs, WrI18nCatalog, WrI18nConfig, WrI18nConfigResolved, WrI18nHttpLoaderConfig, WrI18nLoader, WrI18nMissingHandler, WrI18nParams, WrI18nStaticCatalogs, WrI18nStaticScopedCatalogs, WrI18nTranslateOptions };