ngwr 15.0.1 → 15.2.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 (420) hide show
  1. package/anchor/styles/_index.scss +13 -2
  2. package/bits/aurora/styles/_rules.scss +11 -0
  3. package/bits/dot-grid/dot-grid.scss +1 -0
  4. package/bits/dot-grid/styles/_index.scss +8 -0
  5. package/bits/dot-grid/styles/_rules.scss +54 -0
  6. package/bits/iridescence/iridescence.scss +1 -0
  7. package/bits/iridescence/styles/_index.scss +8 -0
  8. package/bits/iridescence/styles/_rules.scss +72 -0
  9. package/bits/marquee/styles/_rules.scss +7 -3
  10. package/bits/ripple-grid/ripple-grid.scss +1 -0
  11. package/bits/ripple-grid/styles/_index.scss +8 -0
  12. package/bits/ripple-grid/styles/_rules.scss +63 -0
  13. package/bits/spotlight-card/styles/_rules.scss +7 -4
  14. package/bits/star-border/styles/_rules.scss +5 -2
  15. package/bits/threads/styles/_index.scss +8 -0
  16. package/bits/threads/styles/_rules.scss +76 -0
  17. package/bits/threads/threads.scss +1 -0
  18. package/bits/waves/styles/_rules.scss +8 -1
  19. package/charts/bar-chart/styles/_index.scss +607 -7
  20. package/charts/boxplot-chart/styles/_index.scss +297 -0
  21. package/charts/bullet-chart/styles/_index.scss +268 -0
  22. package/charts/calendar-heatmap/styles/_index.scss +25 -3
  23. package/charts/candlestick-chart/styles/_index.scss +307 -0
  24. package/charts/chart-legend/styles/_index.scss +143 -0
  25. package/charts/core/styles/_index.scss +30 -0
  26. package/charts/donut-chart/styles/_index.scss +39 -3
  27. package/charts/funnel-chart/styles/_index.scss +237 -0
  28. package/charts/gauge/styles/_index.scss +4 -2
  29. package/charts/heatmap-chart/styles/_index.scss +329 -0
  30. package/charts/line-chart/styles/_index.scss +141 -8
  31. package/charts/meter-group/styles/_index.scss +44 -13
  32. package/charts/radar-chart/styles/_index.scss +206 -0
  33. package/charts/scatter-chart/styles/_index.scss +245 -0
  34. package/charts/sparkline/styles/_index.scss +10 -1
  35. package/charts/treemap-chart/styles/_index.scss +215 -0
  36. package/charts/waterfall-chart/styles/_index.scss +321 -0
  37. package/collapse/styles/_index.scss +6 -1
  38. package/fesm2022/ngwr-affix.mjs +3 -3
  39. package/fesm2022/ngwr-alert.mjs +3 -3
  40. package/fesm2022/ngwr-anchor.mjs +3 -3
  41. package/fesm2022/ngwr-avatar.mjs +3 -3
  42. package/fesm2022/ngwr-back-top.mjs +3 -3
  43. package/fesm2022/ngwr-badge.mjs +6 -6
  44. package/fesm2022/ngwr-bits-aurora.mjs +30 -38
  45. package/fesm2022/ngwr-bits-aurora.mjs.map +1 -1
  46. package/fesm2022/ngwr-bits-blur-text.mjs +3 -3
  47. package/fesm2022/ngwr-bits-border-glow-testing.mjs.map +1 -1
  48. package/fesm2022/ngwr-bits-border-glow.mjs +11 -5
  49. package/fesm2022/ngwr-bits-border-glow.mjs.map +1 -1
  50. package/fesm2022/ngwr-bits-circular-text.mjs +3 -3
  51. package/fesm2022/ngwr-bits-click-spark.mjs +3 -3
  52. package/fesm2022/ngwr-bits-confetti.mjs +3 -3
  53. package/fesm2022/ngwr-bits-decrypt-text.mjs +3 -3
  54. package/fesm2022/ngwr-bits-dot-grid-testing.mjs +40 -0
  55. package/fesm2022/ngwr-bits-dot-grid-testing.mjs.map +1 -0
  56. package/fesm2022/ngwr-bits-dot-grid.mjs +482 -0
  57. package/fesm2022/ngwr-bits-dot-grid.mjs.map +1 -0
  58. package/fesm2022/ngwr-bits-falling-text.mjs +3 -3
  59. package/fesm2022/ngwr-bits-fuzzy-text.mjs +3 -3
  60. package/fesm2022/ngwr-bits-glitch-text.mjs +3 -3
  61. package/fesm2022/ngwr-bits-gradient-text.mjs +3 -3
  62. package/fesm2022/ngwr-bits-iridescence-testing.mjs +31 -0
  63. package/fesm2022/ngwr-bits-iridescence-testing.mjs.map +1 -0
  64. package/fesm2022/ngwr-bits-iridescence.mjs +591 -0
  65. package/fesm2022/ngwr-bits-iridescence.mjs.map +1 -0
  66. package/fesm2022/ngwr-bits-marquee-testing.mjs +1 -1
  67. package/fesm2022/ngwr-bits-marquee-testing.mjs.map +1 -1
  68. package/fesm2022/ngwr-bits-marquee.mjs +7 -7
  69. package/fesm2022/ngwr-bits-marquee.mjs.map +1 -1
  70. package/fesm2022/ngwr-bits-ripple-grid-testing.mjs +40 -0
  71. package/fesm2022/ngwr-bits-ripple-grid-testing.mjs.map +1 -0
  72. package/fesm2022/ngwr-bits-ripple-grid.mjs +805 -0
  73. package/fesm2022/ngwr-bits-ripple-grid.mjs.map +1 -0
  74. package/fesm2022/ngwr-bits-rotating-text.mjs +3 -3
  75. package/fesm2022/ngwr-bits-shiny-text.mjs +6 -6
  76. package/fesm2022/ngwr-bits-splash-cursor.mjs +3 -3
  77. package/fesm2022/ngwr-bits-split-text.mjs +3 -3
  78. package/fesm2022/ngwr-bits-spotlight-card-testing.mjs +1 -1
  79. package/fesm2022/ngwr-bits-spotlight-card-testing.mjs.map +1 -1
  80. package/fesm2022/ngwr-bits-spotlight-card.mjs +10 -10
  81. package/fesm2022/ngwr-bits-spotlight-card.mjs.map +1 -1
  82. package/fesm2022/ngwr-bits-star-border-testing.mjs +1 -1
  83. package/fesm2022/ngwr-bits-star-border-testing.mjs.map +1 -1
  84. package/fesm2022/ngwr-bits-star-border.mjs +7 -7
  85. package/fesm2022/ngwr-bits-star-border.mjs.map +1 -1
  86. package/fesm2022/ngwr-bits-threads-testing.mjs +41 -0
  87. package/fesm2022/ngwr-bits-threads-testing.mjs.map +1 -0
  88. package/fesm2022/ngwr-bits-threads.mjs +482 -0
  89. package/fesm2022/ngwr-bits-threads.mjs.map +1 -0
  90. package/fesm2022/ngwr-bits-tilt-card.mjs +6 -6
  91. package/fesm2022/ngwr-bits-typewriter.mjs +3 -3
  92. package/fesm2022/ngwr-bits-waves-testing.mjs.map +1 -1
  93. package/fesm2022/ngwr-bits-waves.mjs +60 -41
  94. package/fesm2022/ngwr-bits-waves.mjs.map +1 -1
  95. package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
  96. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  97. package/fesm2022/ngwr-burger.mjs +3 -3
  98. package/fesm2022/ngwr-button.mjs +6 -6
  99. package/fesm2022/ngwr-calendar.mjs +3 -3
  100. package/fesm2022/ngwr-card.mjs +9 -9
  101. package/fesm2022/ngwr-carousel.mjs +6 -6
  102. package/fesm2022/ngwr-cascader.mjs +5 -5
  103. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  104. package/fesm2022/ngwr-charts-bar-chart-testing.mjs +127 -3
  105. package/fesm2022/ngwr-charts-bar-chart-testing.mjs.map +1 -1
  106. package/fesm2022/ngwr-charts-bar-chart.mjs +683 -49
  107. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  108. package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs +161 -0
  109. package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs.map +1 -0
  110. package/fesm2022/ngwr-charts-boxplot-chart.mjs +517 -0
  111. package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -0
  112. package/fesm2022/ngwr-charts-bullet-chart-testing.mjs +68 -0
  113. package/fesm2022/ngwr-charts-bullet-chart-testing.mjs.map +1 -0
  114. package/fesm2022/ngwr-charts-bullet-chart.mjs +459 -0
  115. package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -0
  116. package/fesm2022/ngwr-charts-calendar-heatmap-testing.mjs +27 -0
  117. package/fesm2022/ngwr-charts-calendar-heatmap-testing.mjs.map +1 -1
  118. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +96 -17
  119. package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
  120. package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs +107 -0
  121. package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs.map +1 -0
  122. package/fesm2022/ngwr-charts-candlestick-chart.mjs +508 -0
  123. package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -0
  124. package/fesm2022/ngwr-charts-chart-legend-testing.mjs +126 -0
  125. package/fesm2022/ngwr-charts-chart-legend-testing.mjs.map +1 -0
  126. package/fesm2022/ngwr-charts-chart-legend.mjs +251 -0
  127. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -0
  128. package/fesm2022/ngwr-charts-core.mjs +383 -0
  129. package/fesm2022/ngwr-charts-core.mjs.map +1 -0
  130. package/fesm2022/ngwr-charts-donut-chart-testing.mjs +10 -1
  131. package/fesm2022/ngwr-charts-donut-chart-testing.mjs.map +1 -1
  132. package/fesm2022/ngwr-charts-donut-chart.mjs +187 -31
  133. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  134. package/fesm2022/ngwr-charts-funnel-chart-testing.mjs +100 -0
  135. package/fesm2022/ngwr-charts-funnel-chart-testing.mjs.map +1 -0
  136. package/fesm2022/ngwr-charts-funnel-chart.mjs +415 -0
  137. package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -0
  138. package/fesm2022/ngwr-charts-gauge-testing.mjs +9 -3
  139. package/fesm2022/ngwr-charts-gauge-testing.mjs.map +1 -1
  140. package/fesm2022/ngwr-charts-gauge.mjs +9 -15
  141. package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
  142. package/fesm2022/ngwr-charts-heatmap-chart-testing.mjs +120 -0
  143. package/fesm2022/ngwr-charts-heatmap-chart-testing.mjs.map +1 -0
  144. package/fesm2022/ngwr-charts-heatmap-chart.mjs +519 -0
  145. package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -0
  146. package/fesm2022/ngwr-charts-line-chart-testing.mjs +43 -1
  147. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  148. package/fesm2022/ngwr-charts-line-chart.mjs +436 -122
  149. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  150. package/fesm2022/ngwr-charts-meter-group-testing.mjs +14 -2
  151. package/fesm2022/ngwr-charts-meter-group-testing.mjs.map +1 -1
  152. package/fesm2022/ngwr-charts-meter-group.mjs +101 -32
  153. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  154. package/fesm2022/ngwr-charts-radar-chart-testing.mjs +98 -0
  155. package/fesm2022/ngwr-charts-radar-chart-testing.mjs.map +1 -0
  156. package/fesm2022/ngwr-charts-radar-chart.mjs +720 -0
  157. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -0
  158. package/fesm2022/ngwr-charts-scatter-chart-testing.mjs +132 -0
  159. package/fesm2022/ngwr-charts-scatter-chart-testing.mjs.map +1 -0
  160. package/fesm2022/ngwr-charts-scatter-chart.mjs +545 -0
  161. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -0
  162. package/fesm2022/ngwr-charts-sparkline-testing.mjs.map +1 -1
  163. package/fesm2022/ngwr-charts-sparkline.mjs +14 -16
  164. package/fesm2022/ngwr-charts-sparkline.mjs.map +1 -1
  165. package/fesm2022/ngwr-charts-treemap-chart-testing.mjs +103 -0
  166. package/fesm2022/ngwr-charts-treemap-chart-testing.mjs.map +1 -0
  167. package/fesm2022/ngwr-charts-treemap-chart.mjs +535 -0
  168. package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -0
  169. package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs +131 -0
  170. package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs.map +1 -0
  171. package/fesm2022/ngwr-charts-waterfall-chart.mjs +462 -0
  172. package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -0
  173. package/fesm2022/ngwr-checkbox.mjs +6 -6
  174. package/fesm2022/ngwr-clipboard.mjs +3 -3
  175. package/fesm2022/ngwr-collapse.mjs +9 -9
  176. package/fesm2022/ngwr-color-picker.mjs +6 -6
  177. package/fesm2022/ngwr-command-palette.mjs +3 -3
  178. package/fesm2022/ngwr-compare.mjs +3 -3
  179. package/fesm2022/ngwr-context-menu.mjs +12 -12
  180. package/fesm2022/ngwr-cookie.mjs +3 -3
  181. package/fesm2022/ngwr-counter.mjs +6 -6
  182. package/fesm2022/ngwr-date-picker.mjs +21 -21
  183. package/fesm2022/ngwr-date.mjs +6 -6
  184. package/fesm2022/ngwr-density.mjs +6 -6
  185. package/fesm2022/ngwr-descriptions.mjs +6 -6
  186. package/fesm2022/ngwr-dialog.mjs +15 -15
  187. package/fesm2022/ngwr-directives.mjs +12 -12
  188. package/fesm2022/ngwr-divider.mjs +3 -3
  189. package/fesm2022/ngwr-drawer.mjs +18 -18
  190. package/fesm2022/ngwr-dropdown.mjs +9 -9
  191. package/fesm2022/ngwr-editor.mjs +3 -3
  192. package/fesm2022/ngwr-empty.mjs +3 -3
  193. package/fesm2022/ngwr-event-calendar.mjs +6 -6
  194. package/fesm2022/ngwr-file-upload.mjs +3 -3
  195. package/fesm2022/ngwr-form.mjs +9 -9
  196. package/fesm2022/ngwr-graph.mjs +6 -6
  197. package/fesm2022/ngwr-hotkey.mjs +6 -6
  198. package/fesm2022/ngwr-i18n-ar.mjs +90 -4
  199. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  200. package/fesm2022/ngwr-i18n-cs.mjs +90 -4
  201. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  202. package/fesm2022/ngwr-i18n-de.mjs +90 -4
  203. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  204. package/fesm2022/ngwr-i18n-en.mjs +90 -4
  205. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  206. package/fesm2022/ngwr-i18n-es.mjs +90 -4
  207. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  208. package/fesm2022/ngwr-i18n-fr.mjs +90 -4
  209. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  210. package/fesm2022/ngwr-i18n-he.mjs +90 -4
  211. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  212. package/fesm2022/ngwr-i18n-hi.mjs +90 -4
  213. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  214. package/fesm2022/ngwr-i18n-id.mjs +90 -4
  215. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  216. package/fesm2022/ngwr-i18n-it.mjs +90 -4
  217. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  218. package/fesm2022/ngwr-i18n-ja.mjs +90 -4
  219. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  220. package/fesm2022/ngwr-i18n-ko.mjs +90 -4
  221. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  222. package/fesm2022/ngwr-i18n-nl.mjs +90 -4
  223. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  224. package/fesm2022/ngwr-i18n-pl.mjs +90 -4
  225. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  226. package/fesm2022/ngwr-i18n-pt.mjs +90 -4
  227. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  228. package/fesm2022/ngwr-i18n-ru.mjs +90 -4
  229. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  230. package/fesm2022/ngwr-i18n-sv.mjs +90 -4
  231. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  232. package/fesm2022/ngwr-i18n-tr.mjs +90 -4
  233. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  234. package/fesm2022/ngwr-i18n-uk.mjs +90 -4
  235. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  236. package/fesm2022/ngwr-i18n-vi.mjs +90 -4
  237. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  238. package/fesm2022/ngwr-i18n-zh-tw.mjs +90 -4
  239. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  240. package/fesm2022/ngwr-i18n-zh.mjs +90 -4
  241. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  242. package/fesm2022/ngwr-i18n.mjs +9 -9
  243. package/fesm2022/ngwr-icon.mjs +6 -6
  244. package/fesm2022/ngwr-image-cropper.mjs +3 -3
  245. package/fesm2022/ngwr-input-number.mjs +3 -3
  246. package/fesm2022/ngwr-input-otp.mjs +3 -3
  247. package/fesm2022/ngwr-input.mjs +15 -15
  248. package/fesm2022/ngwr-keyboard.mjs +3 -3
  249. package/fesm2022/ngwr-knob.mjs +3 -3
  250. package/fesm2022/ngwr-layout.mjs +15 -15
  251. package/fesm2022/ngwr-lightbox.mjs +5 -5
  252. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  253. package/fesm2022/ngwr-list.mjs +8 -8
  254. package/fesm2022/ngwr-list.mjs.map +1 -1
  255. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  256. package/fesm2022/ngwr-mention.mjs +6 -6
  257. package/fesm2022/ngwr-meta.mjs +6 -6
  258. package/fesm2022/ngwr-overlay.mjs +6 -6
  259. package/fesm2022/ngwr-page-header.mjs +3 -3
  260. package/fesm2022/ngwr-pagination.mjs +3 -3
  261. package/fesm2022/ngwr-pipes.mjs +21 -21
  262. package/fesm2022/ngwr-platform.mjs +6 -6
  263. package/fesm2022/ngwr-popconfirm.mjs +6 -6
  264. package/fesm2022/ngwr-popover.mjs +43 -20
  265. package/fesm2022/ngwr-popover.mjs.map +1 -1
  266. package/fesm2022/ngwr-progress.mjs +3 -3
  267. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  268. package/fesm2022/ngwr-qr.mjs +4 -3
  269. package/fesm2022/ngwr-qr.mjs.map +1 -1
  270. package/fesm2022/ngwr-radio.mjs +6 -6
  271. package/fesm2022/ngwr-rating.mjs +3 -3
  272. package/fesm2022/ngwr-result.mjs +12 -12
  273. package/fesm2022/ngwr-schema-form.mjs +3 -3
  274. package/fesm2022/ngwr-scroll.mjs +3 -3
  275. package/fesm2022/ngwr-segmented.mjs +3 -3
  276. package/fesm2022/ngwr-select.mjs +12 -12
  277. package/fesm2022/ngwr-sidebar.mjs +3 -3
  278. package/fesm2022/ngwr-skeleton.mjs +3 -3
  279. package/fesm2022/ngwr-slider.mjs +3 -3
  280. package/fesm2022/ngwr-sortable-list.mjs +11 -11
  281. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  282. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  283. package/fesm2022/ngwr-spinner.mjs +3 -3
  284. package/fesm2022/ngwr-splitter.mjs +3 -3
  285. package/fesm2022/ngwr-statistic.mjs +9 -9
  286. package/fesm2022/ngwr-stepper.mjs +6 -6
  287. package/fesm2022/ngwr-storage.mjs +3 -3
  288. package/fesm2022/ngwr-switch.mjs +3 -3
  289. package/fesm2022/ngwr-table.mjs +18 -18
  290. package/fesm2022/ngwr-tabs-router.mjs +3 -3
  291. package/fesm2022/ngwr-tabs.mjs +6 -6
  292. package/fesm2022/ngwr-textarea.mjs +3 -3
  293. package/fesm2022/ngwr-theme.mjs +3 -3
  294. package/fesm2022/ngwr-timeline.mjs +6 -6
  295. package/fesm2022/ngwr-toast-testing.mjs +2 -1
  296. package/fesm2022/ngwr-toast-testing.mjs.map +1 -1
  297. package/fesm2022/ngwr-toast.mjs +34 -15
  298. package/fesm2022/ngwr-toast.mjs.map +1 -1
  299. package/fesm2022/ngwr-toolbar.mjs +3 -3
  300. package/fesm2022/ngwr-tour.mjs +6 -6
  301. package/fesm2022/ngwr-transfer.mjs +3 -3
  302. package/fesm2022/ngwr-tree.mjs +3 -3
  303. package/fesm2022/ngwr-typography.mjs +3 -3
  304. package/fesm2022/ngwr-utils.mjs +31 -1
  305. package/fesm2022/ngwr-utils.mjs.map +1 -1
  306. package/fesm2022/ngwr-version.mjs +1 -1
  307. package/fesm2022/ngwr-version.mjs.map +1 -1
  308. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  309. package/fesm2022/ngwr-window-testing.mjs +61 -5
  310. package/fesm2022/ngwr-window-testing.mjs.map +1 -1
  311. package/fesm2022/ngwr-window.mjs +1538 -895
  312. package/fesm2022/ngwr-window.mjs.map +1 -1
  313. package/fesm2022/ngwr.mjs.map +1 -1
  314. package/i18n/ar.json +84 -4
  315. package/i18n/cs.json +84 -4
  316. package/i18n/de.json +84 -4
  317. package/i18n/en.json +84 -4
  318. package/i18n/es.json +84 -4
  319. package/i18n/fr.json +84 -4
  320. package/i18n/he.json +84 -4
  321. package/i18n/hi.json +84 -4
  322. package/i18n/id.json +84 -4
  323. package/i18n/it.json +84 -4
  324. package/i18n/ja.json +84 -4
  325. package/i18n/ko.json +84 -4
  326. package/i18n/nl.json +84 -4
  327. package/i18n/pl.json +84 -4
  328. package/i18n/pt.json +84 -4
  329. package/i18n/ru.json +84 -4
  330. package/i18n/sv.json +84 -4
  331. package/i18n/tr.json +84 -4
  332. package/i18n/uk.json +84 -4
  333. package/i18n/vi.json +84 -4
  334. package/i18n/zh-TW.json +84 -4
  335. package/i18n/zh.json +84 -4
  336. package/llms-full.txt +266 -9
  337. package/llms.txt +30 -7
  338. package/mcp/api.js +69 -1
  339. package/mcp/catalog.js +10 -1
  340. package/mcp/server.js +15 -1
  341. package/mcp/tools.js +122 -26
  342. package/package.json +132 -1
  343. package/popover/styles/_index.scss +75 -7
  344. package/schematics/component-style/index.js +3 -0
  345. package/schematics/migrations/v15/index.js +3 -26
  346. package/schematics/ng-add/index.js +2 -2
  347. package/schematics/use/symbol-map.json +14 -0
  348. package/schematics/utility/global-styles.js +19 -4
  349. package/schematics/utility/v15-moves.js +55 -0
  350. package/skills/ngwr/SKILL.md +8 -2
  351. package/skills/ngwr/references/catalog.md +28 -0
  352. package/skills/ngwr/references/setup.md +5 -4
  353. package/theme/styles/_focus.scss +8 -0
  354. package/toast/styles/_index.scss +103 -12
  355. package/types/ngwr-bits-aurora.d.ts +11 -0
  356. package/types/ngwr-bits-border-glow-testing.d.ts +5 -6
  357. package/types/ngwr-bits-border-glow.d.ts +5 -1
  358. package/types/ngwr-bits-dot-grid-testing.d.ts +92 -0
  359. package/types/ngwr-bits-dot-grid.d.ts +158 -0
  360. package/types/ngwr-bits-iridescence-testing.d.ts +85 -0
  361. package/types/ngwr-bits-iridescence.d.ts +244 -0
  362. package/types/ngwr-bits-ripple-grid-testing.d.ts +96 -0
  363. package/types/ngwr-bits-ripple-grid.d.ts +294 -0
  364. package/types/ngwr-bits-splash-cursor.d.ts +0 -1
  365. package/types/ngwr-bits-spotlight-card-testing.d.ts +3 -1
  366. package/types/ngwr-bits-star-border-testing.d.ts +7 -7
  367. package/types/ngwr-bits-threads-testing.d.ts +97 -0
  368. package/types/ngwr-bits-threads.d.ts +216 -0
  369. package/types/ngwr-bits-waves-testing.d.ts +1 -1
  370. package/types/ngwr-bits-waves.d.ts +20 -3
  371. package/types/ngwr-charts-bar-chart-testing.d.ts +193 -14
  372. package/types/ngwr-charts-bar-chart.d.ts +546 -38
  373. package/types/ngwr-charts-boxplot-chart-testing.d.ts +165 -0
  374. package/types/ngwr-charts-boxplot-chart.d.ts +308 -0
  375. package/types/ngwr-charts-bullet-chart-testing.d.ts +99 -0
  376. package/types/ngwr-charts-bullet-chart.d.ts +262 -0
  377. package/types/ngwr-charts-calendar-heatmap-testing.d.ts +32 -1
  378. package/types/ngwr-charts-calendar-heatmap.d.ts +55 -6
  379. package/types/ngwr-charts-candlestick-chart-testing.d.ts +135 -0
  380. package/types/ngwr-charts-candlestick-chart.d.ts +361 -0
  381. package/types/ngwr-charts-chart-legend-testing.d.ts +84 -0
  382. package/types/ngwr-charts-chart-legend.d.ts +178 -0
  383. package/types/ngwr-charts-core.d.ts +391 -0
  384. package/types/ngwr-charts-donut-chart-testing.d.ts +28 -5
  385. package/types/ngwr-charts-donut-chart.d.ts +124 -12
  386. package/types/ngwr-charts-funnel-chart-testing.d.ts +130 -0
  387. package/types/ngwr-charts-funnel-chart.d.ts +296 -0
  388. package/types/ngwr-charts-gauge-testing.d.ts +5 -0
  389. package/types/ngwr-charts-gauge.d.ts +6 -4
  390. package/types/ngwr-charts-heatmap-chart-testing.d.ts +148 -0
  391. package/types/ngwr-charts-heatmap-chart.d.ts +359 -0
  392. package/types/ngwr-charts-line-chart-testing.d.ts +72 -11
  393. package/types/ngwr-charts-line-chart.d.ts +291 -67
  394. package/types/ngwr-charts-meter-group-testing.d.ts +16 -2
  395. package/types/ngwr-charts-meter-group.d.ts +71 -11
  396. package/types/ngwr-charts-radar-chart-testing.d.ts +162 -0
  397. package/types/ngwr-charts-radar-chart.d.ts +461 -0
  398. package/types/ngwr-charts-scatter-chart-testing.d.ts +147 -0
  399. package/types/ngwr-charts-scatter-chart.d.ts +396 -0
  400. package/types/ngwr-charts-sparkline-testing.d.ts +4 -1
  401. package/types/ngwr-charts-sparkline.d.ts +8 -6
  402. package/types/ngwr-charts-treemap-chart-testing.d.ts +131 -0
  403. package/types/ngwr-charts-treemap-chart.d.ts +295 -0
  404. package/types/ngwr-charts-waterfall-chart-testing.d.ts +149 -0
  405. package/types/ngwr-charts-waterfall-chart.d.ts +338 -0
  406. package/types/ngwr-color-picker.d.ts +0 -21
  407. package/types/ngwr-dropdown.d.ts +0 -52
  408. package/types/ngwr-editor.d.ts +2 -84
  409. package/types/ngwr-i18n.d.ts +0 -15
  410. package/types/ngwr-mention.d.ts +0 -13
  411. package/types/ngwr-popconfirm.d.ts +0 -33
  412. package/types/ngwr-popover.d.ts +29 -53
  413. package/types/ngwr-toast-testing.d.ts +6 -1
  414. package/types/ngwr-tour.d.ts +0 -2
  415. package/types/ngwr-utils.d.ts +49 -7
  416. package/types/ngwr-version.d.ts +1 -1
  417. package/types/ngwr-window-testing.d.ts +65 -7
  418. package/types/ngwr-window.d.ts +831 -207
  419. package/types/ngwr.d.ts +1 -0
  420. package/window/styles/_index.scss +528 -82
@@ -0,0 +1,262 @@
1
+ import * as i0 from "@angular/core";
2
+ /** One qualitative band as drawn: where it starts and how much of the scale it covers, both as shares from 0 to 1. */
3
+ interface Band {
4
+ /** Its position in the sorted `ranges`, which decides its shade. */
5
+ readonly index: number;
6
+ readonly start: number;
7
+ readonly size: number;
8
+ /** How far its shade has moved from the strongest grey towards the faintest, as a CSS percentage. */
9
+ readonly mix: string;
10
+ }
11
+ /** A tick of the scale: its label, its share of the scale, and which end of the scale it sits on, if either. */
12
+ interface Tick {
13
+ readonly label: string;
14
+ readonly at: number;
15
+ readonly edge: 'start' | 'end' | null;
16
+ }
17
+ /**
18
+ * Bullet chart: one measure against a target, over qualitative bands — Stephen Few's
19
+ * bullet graph, the compact replacement for a dashboard gauge. Horizontal, one line high.
20
+ * HTML and CSS only — no external dependency.
21
+ *
22
+ * @example
23
+ * ```html
24
+ * <wr-bullet-chart label="Revenue" subLabel="USD, thousands" [value]="270" [target]="250" [ranges]="[150, 225, 300]" />
25
+ * ```
26
+ *
27
+ * **What is drawn.** `ranges` are the upper limits of the qualitative bands — poor,
28
+ * satisfactory, good — drawn as stepped greys from the theme's neutral roles, the
29
+ * strongest nearest zero and each band after it fainter, so they read as steps in
30
+ * LIGHTNESS and survive greyscale. The value is a bar a third of the line high, from zero;
31
+ * the target is a perpendicular marker. The two are told apart by shape, not by colour,
32
+ * and both are drawn in the text colour, which keeps 3:1 against the strongest band in
33
+ * either theme where the primary blue does not.
34
+ *
35
+ * **The scale** starts at zero, or lower where a value, the target or a range limit is
36
+ * negative, and ends at `max` — by default the largest of the value, the target and the
37
+ * ranges, exactly, so the last band reaches the end. A value past a fixed `max` is drawn
38
+ * to the end and announced as itself. A narrow drawing prints fewer ticks, so no two of
39
+ * their labels touch. Under RTL the chart mirrors, as a progress bar does:
40
+ * the label is on the right and the bar grows leftwards.
41
+ *
42
+ * **What a screen reader gets.** The drawing is one `role="img"` named by a sentence —
43
+ * "Revenue: 270 of target 250" (`bulletChart.summary`) — and described by the sub-label.
44
+ * The label and the sub-label beside it are `aria-hidden`, since the sentence and the
45
+ * description already carry them, and so are the scale's ticks. The bands have no names,
46
+ * so they are not announced: say what they mean in `ariaLabel` where it matters. There is
47
+ * no data table, since there is one number, and no tab stop.
48
+ *
49
+ * @see https://ngwr.dev/charts/bullet-chart
50
+ */
51
+ export declare class WrBulletChart {
52
+ /**
53
+ * The measure. A value that is not a finite number — `null` while it loads — draws no
54
+ * bar, and the chart is announced as having no value rather than as zero.
55
+ */
56
+ readonly value: import("@angular/core").InputSignalWithTransform<number | null, unknown>;
57
+ /**
58
+ * The comparative measure, drawn as a marker across the line. `null`, or anything that
59
+ * is not a finite number, draws none and leaves it out of the accessible name.
60
+ * @default null
61
+ */
62
+ readonly target: import("@angular/core").InputSignalWithTransform<number | null, unknown>;
63
+ /**
64
+ * The upper limit of each qualitative band, in any order: `[150, 225, 300]` draws a band
65
+ * from the scale's start to 150, one from 150 to 225 and one from 225 to 300. They are
66
+ * sorted, a repeated limit counts once, and one that is not a finite number is dropped.
67
+ * The band nearest zero is the strongest grey and each one after it fainter, between
68
+ * `--wr-bullet-chart-range-start` and `--wr-bullet-chart-range-end`. Few recommends no
69
+ * more than five.
70
+ *
71
+ * The first band is everything below the first limit, so it has room only where the
72
+ * scale reaches below that limit. A negative first limit lower than both the value and
73
+ * the target is where the scale starts, which leaves that band no room: it is not drawn,
74
+ * and the drawing opens with the second band and its paler grey. Where the scale runs on
75
+ * past the last limit, a rule marks where the last band ends.
76
+ */
77
+ readonly ranges: import("@angular/core").InputSignal<readonly number[]>;
78
+ /**
79
+ * The end of the scale. `0` takes the largest of `value`, `target` and `ranges`, so the
80
+ * last band reaches the end; a value above `0` fixes it, and anything past it is drawn to
81
+ * the end — the accessible name and the tooltip still give its own figure. @default 0
82
+ */
83
+ readonly max: import("@angular/core").InputSignalWithTransform<number, unknown>;
84
+ /**
85
+ * What is measured, shown at inline start beside the drawing, ellipsised past
86
+ * `--wr-bullet-chart-label-max-width`. It heads the tooltip and opens the accessible
87
+ * name; without it the name opens with `bulletChart.label` ("Bullet chart").
88
+ */
89
+ readonly label: import("@angular/core").InputSignal<string | null>;
90
+ /**
91
+ * A line under the label — the unit, the period. The drawing is described by it
92
+ * (`aria-describedby`), so a screen reader hears it after the name.
93
+ */
94
+ readonly subLabel: import("@angular/core").InputSignal<string | null>;
95
+ /**
96
+ * Accessible name of the drawing, in place of the sentence the chart writes itself —
97
+ * "Revenue: 270 of target 250". Give one where the bands mean something a reader needs,
98
+ * since they have no names of their own.
99
+ */
100
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
101
+ /**
102
+ * Writes every number the chart shows: the scale's ticks, the tooltip and the
103
+ * accessible name. `null` uses `Intl.NumberFormat` in `LOCALE_ID`, with compact ticks
104
+ * (`1.2K`) unless the full numbers are shorter.
105
+ */
106
+ readonly valueFormat: import("@angular/core").InputSignal<((value: number) => string) | null>;
107
+ /** Show the scale's ticks under the drawing. @default true */
108
+ readonly showScale: import("@angular/core").InputSignalWithTransform<boolean, any>;
109
+ /**
110
+ * Show a tooltip with the label, the value and the target while the pointer is over the
111
+ * drawing. Pointer only: the accessible name says the same. @default true
112
+ */
113
+ readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean, any>;
114
+ /** The exact figures and the scale's compact ticks, in `LOCALE_ID` unless `valueFormat` is given. */
115
+ private readonly numbers;
116
+ private readonly track;
117
+ private readonly host;
118
+ /**
119
+ * The drawing's laid-out width and a tick label's width per character, once a browser
120
+ * has measured them: whether the ticks fit is a question of pixels. Until then — on the
121
+ * server and in the first paint — the scale draws its usual count.
122
+ */
123
+ private readonly measured;
124
+ /** The drawing's width as the observer last reported it, in px; 0 until it has. */
125
+ private trackWidth;
126
+ constructor();
127
+ /**
128
+ * Read a tick label's width per character off the labels as laid out, and keep it with
129
+ * the drawing's width. Per character, from the label that is widest for its length: the
130
+ * digits are tabular, so the figure holds for the labels a coarser scale would print too.
131
+ */
132
+ private measure;
133
+ /** The id of the sub-label, which describes the drawing. */
134
+ protected readonly subLabelId: string;
135
+ /** Whether there is a label column to draw. */
136
+ protected readonly labelled: import("@angular/core").Signal<boolean>;
137
+ /** The range limits as drawn: finite, sorted, and each once. */
138
+ private readonly limits;
139
+ /**
140
+ * The scale. It starts at zero, or at the lowest of the value, the target and the first
141
+ * range limit where that is below zero, and ends at a fixed `max` or else at the largest
142
+ * of the three. With nothing above the start to reach, the empty 0 to 1 frame.
143
+ */
144
+ private readonly scale;
145
+ /** A number's share of the scale from its start, held to the scale. */
146
+ private share;
147
+ /**
148
+ * The bands, from the scale's start: each from the limit before it — the first from the
149
+ * scale's start, so a negative value sits in the first band — to its own limit, held to
150
+ * the scale. A band the scale leaves no room for is not drawn, and keeps its shade for
151
+ * the bands that are: shades follow the limits given, not the bands that fit.
152
+ */
153
+ protected readonly bands: import("@angular/core").Signal<readonly Band[]>;
154
+ /**
155
+ * The value's bar, from zero to the value — leftwards of zero for a negative one — or
156
+ * `null` with no value. A zero is still drawn, as a sliver, since it is a reading.
157
+ */
158
+ protected readonly bar: import("@angular/core").Signal<{
159
+ start: number;
160
+ size: number;
161
+ negative: boolean;
162
+ } | null>;
163
+ /** The target marker's share of the scale, or `null` with no target. */
164
+ protected readonly targetAt: import("@angular/core").Signal<number | null>;
165
+ /**
166
+ * The scale's ticks, from its start: `chartAxis` over the scale with the ticks it would
167
+ * draw past either end left out, so the scale ends where `max` says rather than on the
168
+ * next round number. Decided for the whole scale, as an axis' ticks are
169
+ * (`useChartNumbers().ticks`). A tick on either end is aligned inwards, so its label
170
+ * stays over the drawing — and once a browser has measured it, so is a tick near an end
171
+ * whose centred label would reach past it.
172
+ *
173
+ * A narrow drawing gets fewer: once a browser has measured it, the scale aims for four
174
+ * gaps, then three, two and one, and keeps the first whose labels stand at least 8px
175
+ * apart, each as wide as its characters at the measured width per character.
176
+ */
177
+ protected readonly ticks: import("@angular/core").Signal<readonly Tick[]>;
178
+ /**
179
+ * The scale's ticks for `chartAxis` aiming at `count` gaps. A tick on an end is aligned
180
+ * inwards; with a measurement, so is one whose label, centred on it, would cross an end.
181
+ */
182
+ private ticksFor;
183
+ /** Whether each tick label ends at least `TICK_GAP` before the next begins, placed as the stylesheet places them. */
184
+ private fits;
185
+ /** The accessible name's subject: the label, else the catalog's name for the chart. */
186
+ private readonly subject;
187
+ private readonly summaryText;
188
+ private readonly summaryNoTargetText;
189
+ private readonly summaryNoValueText;
190
+ private readonly noValueText;
191
+ /** The tooltip's name for the target's row. */
192
+ private readonly targetWord;
193
+ /**
194
+ * The drawing's accessible name: `ariaLabel`, or a sentence with the value and the
195
+ * target written as the tooltip writes them — one of four, so a missing value or target
196
+ * is said rather than left as a gap in a template.
197
+ */
198
+ protected readonly resolvedAriaLabel: import("@angular/core").Signal<string>;
199
+ /**
200
+ * One tooltip for the whole chart: the label as its heading with the value beside it and
201
+ * the bar's own paint as the swatch, then a row for the target. It points at the end of
202
+ * the bar from above — or at the target with no value — so the arrow marks the reading.
203
+ * The label is the `label` input, never the catalog's fallback, which names the kind of
204
+ * chart rather than the measure. With neither a value nor a target there is nothing to
205
+ * say, and it does not open.
206
+ */
207
+ protected readonly tip: import("ngwr/popover").WrChartTooltip;
208
+ static ɵfac: i0.ɵɵFactoryDeclaration<WrBulletChart, never>;
209
+ static ɵcmp: i0.ɵɵComponentDeclaration<WrBulletChart, "wr-bullet-chart", never, {
210
+ "value": {
211
+ "alias": "value";
212
+ "required": true;
213
+ "isSignal": true;
214
+ };
215
+ "target": {
216
+ "alias": "target";
217
+ "required": false;
218
+ "isSignal": true;
219
+ };
220
+ "ranges": {
221
+ "alias": "ranges";
222
+ "required": false;
223
+ "isSignal": true;
224
+ };
225
+ "max": {
226
+ "alias": "max";
227
+ "required": false;
228
+ "isSignal": true;
229
+ };
230
+ "label": {
231
+ "alias": "label";
232
+ "required": false;
233
+ "isSignal": true;
234
+ };
235
+ "subLabel": {
236
+ "alias": "subLabel";
237
+ "required": false;
238
+ "isSignal": true;
239
+ };
240
+ "ariaLabel": {
241
+ "alias": "ariaLabel";
242
+ "required": false;
243
+ "isSignal": true;
244
+ };
245
+ "valueFormat": {
246
+ "alias": "valueFormat";
247
+ "required": false;
248
+ "isSignal": true;
249
+ };
250
+ "showScale": {
251
+ "alias": "showScale";
252
+ "required": false;
253
+ "isSignal": true;
254
+ };
255
+ "tooltip": {
256
+ "alias": "tooltip";
257
+ "required": false;
258
+ "isSignal": true;
259
+ };
260
+ }, {}, never, never, true, never>;
261
+ }
262
+ export {};
@@ -15,6 +15,16 @@ interface WrCalendarHeatmapCell {
15
15
  /** Which weekday row it sits in, one-based. */
16
16
  readonly day: number;
17
17
  }
18
+ /**
19
+ * One row of the heatmap's data table (`dataTable`): a week, headed by its dates, and one
20
+ * cell per weekday, Sunday first.
21
+ */
22
+ interface WrCalendarHeatmapTableRow {
23
+ /** The row header — the week's first and last day drawn. */
24
+ readonly header: string;
25
+ /** Each weekday's count, written as the tooltip writes it; `''` for a day after the last one drawn. */
26
+ readonly cells: readonly string[];
27
+ }
18
28
  /**
19
29
  * Test harness for `<wr-calendar-heatmap>`.
20
30
  *
@@ -34,6 +44,11 @@ interface WrCalendarHeatmapCell {
34
44
  * included, rather than filtering — a spec asserting seven entries with four blanks
35
45
  * is pinning the real layout.
36
46
  *
47
+ * **Whether the year scrolls is not read.** The host is a tab stop while the grid is
48
+ * wider than its container, decided by measuring the layout after render; jsdom has none,
49
+ * so a method asking would answer "no" for a chart that scrolls and for one that is broken
50
+ * alike.
51
+ *
37
52
  * @see https://ngwr.dev/guides/testing
38
53
  */
39
54
  export declare class WrCalendarHeatmapHarness extends ComponentHarness {
@@ -62,5 +77,21 @@ export declare class WrCalendarHeatmapHarness extends ComponentHarness {
62
77
  getWeekdayLabels(): Promise<string[]>;
63
78
  /** The month labels along the top, in order. */
64
79
  getMonthLabels(): Promise<string[]>;
80
+ /** Whether the hidden data table is rendered (`dataTable`). */
81
+ hasDataTable(): Promise<boolean>;
82
+ /**
83
+ * The data table's column headings: the seven weekdays, Sunday first.
84
+ *
85
+ * Throws when the heatmap renders no table (`dataTable` off) rather than answering with
86
+ * no columns.
87
+ */
88
+ getTableColumns(): Promise<string[]>;
89
+ /**
90
+ * The data table's rows, one per week: its dates and each weekday's count, as a screen
91
+ * reader walks them. Throws when the heatmap renders no table, as
92
+ * {@link getTableColumns} does.
93
+ */
94
+ getTableRows(): Promise<WrCalendarHeatmapTableRow[]>;
95
+ private assertDataTable;
65
96
  }
66
- export type { WrCalendarHeatmapCell, WrCalendarHeatmapHarnessFilters };
97
+ export type { WrCalendarHeatmapCell, WrCalendarHeatmapHarnessFilters, WrCalendarHeatmapTableRow };
@@ -1,4 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
+ import { WrChartTableData } from "ngwr/charts/core";
2
3
  interface WrHeatmapDatum {
3
4
  /** ISO date string (`YYYY-MM-DD`) or `Date`. */
4
5
  readonly date: string | Date;
@@ -17,6 +18,17 @@ interface Cell {
17
18
  * GitHub-style year-grid heatmap. One column per ISO week, one row per
18
19
  * weekday — cells coloured by `value` relative to the data set's max.
19
20
  *
21
+ * **A year does not reflow.** Its 53 columns are a fixed cell size, so in a container
22
+ * narrower than the grid the host scrolls sideways. While it does, it is a tab stop with
23
+ * the shared focus ring, so the keyboard can scroll it too — WebKit makes no scroller
24
+ * focusable by itself — and it opens on the inline END, the newest weeks, rather than on
25
+ * the oldest. The stop carries no name of its own: focus lands on the grid's picture,
26
+ * named by `ariaLabel`.
27
+ *
28
+ * **What a screen reader gets.** The grid is one named `role="img"` and every square is
29
+ * hidden, so the days' values are not in text anywhere unless `dataTable` renders them;
30
+ * without it, say what the year shows in `ariaLabel`.
31
+ *
20
32
  * @example
21
33
  * ```html
22
34
  * <wr-calendar-heatmap [data]="contributions" />
@@ -81,7 +93,7 @@ export declare class WrCalendarHeatmap {
81
93
  readonly cellSize: import("@angular/core").InputSignalWithTransform<number, unknown>;
82
94
  /** Pixel gap between cells. @default 2 */
83
95
  readonly cellGap: import("@angular/core").InputSignalWithTransform<number, unknown>;
84
- /** Cell fill colour at full intensity. @default primary */
96
+ /** Cell fill colour at full intensity. @default 'var(--wr-color-primary)' */
85
97
  readonly color: import("@angular/core").InputSignal<string>;
86
98
  /** Background colour for zero-value days. @default color-mix(in srgb, var(--wr-border-base) 50%, transparent) */
87
99
  readonly emptyColor: import("@angular/core").InputSignal<string>;
@@ -94,16 +106,33 @@ export declare class WrCalendarHeatmap {
94
106
  */
95
107
  readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean, any>;
96
108
  /**
97
- * Writes each day's count in the tooltip and the `title`. `null` uses
109
+ * Writes each day's count in the tooltip, the `title` and the data table. `null` uses
98
110
  * `Intl.NumberFormat` in `LOCALE_ID`.
99
111
  */
100
112
  readonly valueFormat: import("@angular/core").InputSignal<((value: number) => string) | null>;
101
- private readonly numberLocale;
113
+ /**
114
+ * Render the days' values as a table that only assistive technology reaches: a row per
115
+ * week, headed by its dates, and a column per weekday, each day's count written the way
116
+ * the tooltip writes it. A day after the last one drawn is an empty cell.
117
+ *
118
+ * The grid is one named `role="img"`, which hides everything inside it, so without the
119
+ * table the values are nowhere a screen reader can walk. It is rendered beside the grid,
120
+ * clipped to nothing: it takes no room, draws nothing and holds no tab stop.
121
+ * @default false
122
+ */
123
+ readonly dataTable: import("@angular/core").InputSignalWithTransform<boolean, any>;
124
+ /** A day's count as the tooltip, the `title` and the data table write it, in `LOCALE_ID`: never compact. */
102
125
  private readonly numbers;
103
- /** Below one, by significant digits, which keep 0.0004 from rounding to `0`. */
104
- private readonly smallNumbers;
105
- private formatValue;
106
126
  private readonly daysEl;
127
+ private readonly gridEl;
128
+ /**
129
+ * Whether the year is wider than the host, which then scrolls it — and is a tab stop
130
+ * while it does. `axe`'s `scrollable-region-focusable` named the scroller with no stop
131
+ * at all, and in WebKit, which makes no scroller focusable by itself, a keyboard could
132
+ * not reach the newest weeks. Measured in the browser after render and on every resize;
133
+ * `false` on the server and in jsdom, which lay nothing out.
134
+ */
135
+ protected readonly scrollable: import("@angular/core").WritableSignal<boolean>;
107
136
  private readonly locale;
108
137
  /**
109
138
  * Weekday names from the locale rather than a hard-coded English list — the row order is
@@ -113,6 +142,14 @@ export declare class WrCalendarHeatmap {
113
142
  protected readonly weekdayLabels: import("@angular/core").Signal<readonly string[]>;
114
143
  private readonly monthNames;
115
144
  protected readonly cells: import("@angular/core").Signal<readonly Cell[]>;
145
+ /** Every weekday's full name, Sunday first as the rows are: the data table's columns. */
146
+ private readonly weekdayNames;
147
+ /**
148
+ * The figures for `dataTable`: the grid's name as the caption, a column per weekday and
149
+ * a row per week, headed by the week's first and last day drawn — `formatRange`, so the
150
+ * locale writes the span its own way — and every day's count as the tooltip writes it.
151
+ */
152
+ protected readonly tableData: import("@angular/core").Signal<WrChartTableData>;
116
153
  protected readonly monthLabels: import("@angular/core").Signal<{
117
154
  label: string;
118
155
  week: number;
@@ -138,6 +175,13 @@ export declare class WrCalendarHeatmap {
138
175
  * between two squares it is on none, and the tooltip starts to leave.
139
176
  */
140
177
  protected onCellsPointer(event: MouseEvent): void;
178
+ constructor();
179
+ /**
180
+ * Scrolls the host to its inline end, where the newest weeks are: the right in LTR and
181
+ * the left under RTL, where `scrollLeft` runs from 0 down to minus the overflow. The
182
+ * value is clamped by the browser, so either sign of the whole width lands on the end.
183
+ */
184
+ private static scrollToEnd;
141
185
  protected colorFor(intensity: number): string;
142
186
  protected opacityFor(intensity: number): number;
143
187
  static ɵfac: i0.ɵɵFactoryDeclaration<WrCalendarHeatmap, never>;
@@ -197,6 +241,11 @@ export declare class WrCalendarHeatmap {
197
241
  "required": false;
198
242
  "isSignal": true;
199
243
  };
244
+ "dataTable": {
245
+ "alias": "dataTable";
246
+ "required": false;
247
+ "isSignal": true;
248
+ };
200
249
  }, {}, never, never, true, never>;
201
250
  }
202
251
  export type { WrHeatmapDatum };
@@ -0,0 +1,135 @@
1
+ import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
2
+ /** Narrows which `<wr-candlestick-chart>` a harness query matches. */
3
+ interface WrCandlestickChartHarnessFilters extends BaseHarnessFilters {
4
+ /** Match the plot's accessible name. */
5
+ readonly ariaLabel?: string | RegExp;
6
+ }
7
+ /** One drawn candle, as {@link WrCandlestickChartHarness.getCandles} reads it off the box the component wrote. */
8
+ interface WrCandlestickChartHarnessCandle {
9
+ /** The candle's period, as its position in `data` — a period with no candle keeps its position. */
10
+ readonly index: number;
11
+ /** The period's open. */
12
+ readonly open: number;
13
+ /** The period's high. */
14
+ readonly high: number;
15
+ /** The period's low. */
16
+ readonly low: number;
17
+ /** The period's close. */
18
+ readonly close: number;
19
+ /**
20
+ * `'increase'` for a candle drawn rising — hollow, in the increase colour — and
21
+ * `'decrease'` for one drawn falling, filled: the waterfall's words for a change up and
22
+ * a change down.
23
+ */
24
+ readonly direction: 'increase' | 'decrease';
25
+ /** Where the candle's centre sits, as a percentage of the drawing's width from its left edge. */
26
+ readonly left: number;
27
+ /** Where the candle's top sits, as a percentage of the drawing's height from its top edge. */
28
+ readonly top: number;
29
+ /** How far the candle reaches down from its top, as a percentage of the drawing's height. */
30
+ readonly height: number;
31
+ /** How much of the candle's own height the upper wick takes, from its top to the body, in percent. */
32
+ readonly upperWick: number;
33
+ /** How much of the candle's own height the lower wick takes, from the body to its bottom, in percent. */
34
+ readonly lowerWick: number;
35
+ }
36
+ /** One row of the chart's data table (`dataTable`): the period, and its open, high, low and close. */
37
+ interface WrCandlestickChartTableRow {
38
+ /** The row header: the period's label. */
39
+ readonly header: string;
40
+ /** The open, the high, the low and the close, written as the tooltip writes them; empty where a price is not a number. */
41
+ readonly cells: readonly string[];
42
+ }
43
+ /**
44
+ * Test harness for `<wr-candlestick-chart>`.
45
+ *
46
+ * **Candles are read off what the component WROTE, never off a layout.** jsdom lays
47
+ * nothing out, so a measured box would read 0 for a working chart and a broken one
48
+ * alike. Every candle is a box the component places by percentage, and it carries its
49
+ * period's prices in `data-*` attributes beside that placement — so {@link getCandles}
50
+ * answers both questions a spec has: which period is this, and where did the chart put
51
+ * it. A candle with the right prices at the wrong height is exactly the defect worth
52
+ * catching. Hollow or filled is read as the `--increase` / `--decrease` modifier the
53
+ * stylesheet draws it from; what that paints is a browser's question.
54
+ *
55
+ * **A body's width is not read**: it is a share of the slot that the stylesheet holds
56
+ * between 1px and a ceiling, and jsdom has no stylesheet. {@link isDense} reads the
57
+ * decision the component made from that width, which in a unit test is made against
58
+ * the 560px drawing it assumes before a browser measures one — as are the x labels
59
+ * {@link getXLabels} reads.
60
+ *
61
+ * **There is deliberately no hover method.** The tooltip opens on the slot under the
62
+ * pointer, measured against the drawing's box, which jsdom reports as 0×0 — so every
63
+ * synthetic move resolves to nothing, and a `hoverCandle()` would answer "no tooltip"
64
+ * for a working chart. A spec that needs the tooltip stubs the drawing's and the plot's
65
+ * `getBoundingClientRect` and dispatches the `mousemove` itself, as the component's own
66
+ * spec does.
67
+ *
68
+ * @example
69
+ * ```ts
70
+ * const chart = await loader.getHarness(WrCandlestickChartHarness);
71
+ *
72
+ * expect(await chart.getCandleCount()).toBe(20);
73
+ * expect((await chart.getCandles())[0]).toMatchObject({ open: 102, close: 106, direction: 'increase' });
74
+ * ```
75
+ *
76
+ * @see https://ngwr.dev/guides/testing
77
+ */
78
+ export declare class WrCandlestickChartHarness extends ComponentHarness {
79
+ static hostSelector: string;
80
+ /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
81
+ static with(options?: WrCandlestickChartHarnessFilters): HarnessPredicate<WrCandlestickChartHarness>;
82
+ /** The plot's accessible name — the only name the drawing has. */
83
+ getAccessibleName(): Promise<string | null>;
84
+ /** How many candles were drawn: every period whose open, high, low and close are all finite. */
85
+ getCandleCount(): Promise<number>;
86
+ /**
87
+ * Every drawn candle, oldest first, with its prices, its direction and the percentages
88
+ * the component placed it at.
89
+ *
90
+ * Throws on a candle missing any of what the component writes on every one, rather
91
+ * than answering with a `NaN` a spec could compare against.
92
+ */
93
+ getCandles(): Promise<WrCandlestickChartHarnessCandle[]>;
94
+ /**
95
+ * Whether the chart is drawn dense: its bodies too narrow to leave hollow, so a rising
96
+ * one is dotted. Decided on the measured body in a browser, and on the assumed 560px
97
+ * drawing before that — which is every unit test.
98
+ */
99
+ isDense(): Promise<boolean>;
100
+ /** Whether the gridlines are drawn (`showGrid`). */
101
+ hasGrid(): Promise<boolean>;
102
+ /** The y-axis tick labels, top to bottom; `[]` with `showGrid` off. */
103
+ getYTicks(): Promise<string[]>;
104
+ /**
105
+ * The period labels printed under the candles, left to right — every n-th where they
106
+ * do not all fit, and with `showGrid` off too, since they are the time axis. The hidden
107
+ * copy the chart measures is not one of them.
108
+ */
109
+ getXLabels(): Promise<string[]>;
110
+ /** Whether the hidden data table is rendered (`dataTable`). */
111
+ hasDataTable(): Promise<boolean>;
112
+ /**
113
+ * The data table's column headings: the open, the high, the low and the close.
114
+ *
115
+ * Throws when the chart renders no table (`dataTable` off), rather than answering with
116
+ * no columns.
117
+ */
118
+ getTableColumns(): Promise<string[]>;
119
+ /**
120
+ * The data table's rows, one per period — a period with no candle included — as a
121
+ * screen reader walks them: the period, then its four prices.
122
+ *
123
+ * Throws when the chart renders no table (`dataTable` off), for the reason
124
+ * {@link getTableColumns} gives.
125
+ */
126
+ getTableRows(): Promise<WrCandlestickChartTableRow[]>;
127
+ /**
128
+ * The plot's height in pixels, read off the `style` ATTRIBUTE the component wrote,
129
+ * not through `getCssValue()`, which answers from the laid-out box and so differs
130
+ * between jsdom and a browser.
131
+ */
132
+ getPlotHeight(): Promise<number>;
133
+ private assertDataTable;
134
+ }
135
+ export type { WrCandlestickChartHarnessCandle, WrCandlestickChartHarnessFilters, WrCandlestickChartTableRow };