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,295 @@
1
+ import * as i0 from "@angular/core";
2
+ import { WrChartTableData } from "ngwr/charts/core";
3
+ /**
4
+ * @license
5
+ *
6
+ * Use of this source code is governed by an MIT-style license that can be
7
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
8
+ */
9
+ /**
10
+ * One node of a `<wr-treemap-chart>`: a leaf with a value, or a group of nodes drawn
11
+ * inside its own rectangle.
12
+ */
13
+ interface WrTreemapNode {
14
+ /** The node's name: on its tile, in the tooltip's path and in the data table's row header. */
15
+ readonly label: string;
16
+ /**
17
+ * What the node measures. A leaf's tile is drawn with an area in proportion to it; a
18
+ * leaf with no value, or one that is not a finite number above zero, has no area and
19
+ * draws no tile, and the data table still lists it with its own figure.
20
+ *
21
+ * On a group it may be left out, and the group's value is then the sum of its
22
+ * children's. Given, it is the group's own total: a value above that sum leaves the
23
+ * rest of the group's rectangle empty — an "everything else" the children do not
24
+ * account for — and one below it is ignored for the area, since the children have to
25
+ * fit, and still shown as the group's figure.
26
+ */
27
+ readonly value?: number;
28
+ /** The nodes inside this one. A node with none is a leaf. */
29
+ readonly children?: readonly WrTreemapNode[];
30
+ /**
31
+ * Any CSS colour, `var(--wr-…)` included, for this node and every node inside it that
32
+ * has none of its own. Left out, a top-level node takes the next palette colour and a
33
+ * nested one its parent's.
34
+ */
35
+ readonly color?: string;
36
+ }
37
+ /** A node of the data, resolved: where it sits in the tree, its colour, its figure and its area. */
38
+ interface ResolvedNode {
39
+ /** Its position in the tree, `0.2.1`: unique, and stable while the data keeps its shape. */
40
+ readonly key: string;
41
+ readonly label: string;
42
+ /** Every name from the top-level node down to this one. */
43
+ readonly path: readonly string[];
44
+ readonly color: string;
45
+ /** Its own `value`, when that is a finite number. */
46
+ readonly own: number | null;
47
+ /**
48
+ * The figure the tooltip and the data table show: its own value, or for a group with
49
+ * none the sum of its children's areas. `null` for a leaf with no value.
50
+ */
51
+ readonly value: number | null;
52
+ /** The weight its rectangle is drawn with. `0` draws nothing. */
53
+ readonly size: number;
54
+ /** What its children's areas add up to. */
55
+ readonly childSize: number;
56
+ readonly children: readonly ResolvedNode[];
57
+ }
58
+ /**
59
+ * Treemap chart: a hierarchy as nested rectangles, each with an area in proportion to its
60
+ * value. For the parts of a whole when there are too many for a donut, or when they come
61
+ * in groups — a budget by department and team, a disk by folder. HTML only — no external
62
+ * dependency.
63
+ *
64
+ * @example
65
+ * ```html
66
+ * <wr-treemap-chart
67
+ * ariaLabel="Budget by department"
68
+ * [data]="[
69
+ * { label: 'Engineering', children: [{ label: 'Web', value: 310 }, { label: 'Mobile', value: 260 }] },
70
+ * { label: 'Sales', children: [{ label: 'EMEA', value: 280 }, { label: 'APAC', value: 150 }] },
71
+ * { label: 'Legal', value: 60 }
72
+ * ]"
73
+ * />
74
+ * ```
75
+ *
76
+ * **The layout** is the squarified algorithm (Bruls, Huizing and van Wijk, 2000): each
77
+ * set of siblings is cut largest first into rectangles as close to square as it allows,
78
+ * so areas can be compared and names have room. It starts in the inline-start top corner,
79
+ * so under RTL the largest node sits at the top right — the tiles are positioned by
80
+ * `inset-inline-start`, and the whole drawing mirrors with the writing direction.
81
+ *
82
+ * **Groups.** A node with children is drawn as a rectangle with its children inside it,
83
+ * a few pixels in from its edge, under a strip carrying its name when it is tall enough.
84
+ * Its value is the sum of its children's unless it is given one, and a value above that
85
+ * sum leaves the rest of its rectangle empty: what the children do not account for. A
86
+ * group too small to hold its children is drawn as one block.
87
+ *
88
+ * **Colour is the top-level node's**, from the chart's palette, and every node inside it
89
+ * takes it unless it has a `color` of its own. It is never the only thing that tells two
90
+ * groups apart: each carries its name where there is room, and its tiles sit inside its
91
+ * own rectangle; the tooltip and the data table name the ones too small to write in. The
92
+ * gap round every tile is a faint separator in the surface colour, not a boundary drawn
93
+ * to be read on its own; under `prefers-contrast: more` it is a line at 3:1 or more
94
+ * against the tints, and under forced colours an outline in the text colour. With more
95
+ * than five top-level nodes the palette repeats, and the names are what tell neighbours
96
+ * of one colour apart.
97
+ *
98
+ * **Names are written inside the tiles that have room** — a group's in its strip, a
99
+ * leaf's in its corner with its value under it — and ellipsised past the tile's width.
100
+ * A tile smaller than about 36 × 22 px writes nothing; the tooltip and the data table
101
+ * name every node in full, with its whole path. A value is never cut: one wider than its
102
+ * tile, or than the room its group's name leaves in the strip, is left out, since `$12…`
103
+ * reads as another number, and the tooltip and the data table carry it whole.
104
+ *
105
+ * **What a screen reader gets.** The drawing is one named `role="img"`, and nothing in it
106
+ * is announced. The tooltip is pointer only, so say what the chart shows in `ariaLabel`,
107
+ * or turn on `dataTable`, which lists every node by its path with its value and its share
108
+ * of the whole. No part of the chart is a tab stop.
109
+ *
110
+ * **No drill-down.** Every level is drawn at once and nothing zooms into a group; a
111
+ * deep tree is better split into several charts, or given one level at a time by the host.
112
+ *
113
+ * The tiles are laid out for the plot's measured size, so on the server and in the first
114
+ * render they are cut for an assumed width and squared up once the plot is measured.
115
+ *
116
+ * @see https://ngwr.dev/charts/treemap-chart
117
+ */
118
+ export declare class WrTreemapChart {
119
+ /**
120
+ * The nodes, top level first. A node with `children` is a group drawn round them, and
121
+ * one without is a leaf drawn at its `value`. Top-level nodes with no `color` take the
122
+ * palette's colours in order.
123
+ */
124
+ readonly data: import("@angular/core").InputSignal<readonly WrTreemapNode[]>;
125
+ /**
126
+ * Accessible name of the drawing. The tiles carry no text a screen reader reaches, so
127
+ * this is where to say what the chart shows — or turn on `dataTable`. Falls back to
128
+ * `treemapChart.label`, which is also the data table's caption.
129
+ */
130
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
131
+ protected readonly resolvedAriaLabel: import("@angular/core").Signal<string>;
132
+ /**
133
+ * What the values measure — revenue, size on disk — as the heading of the data table's
134
+ * value column. Falls back to `treemapChart.value` ("Value").
135
+ */
136
+ readonly valueLabel: import("@angular/core").InputSignal<string | null>;
137
+ protected readonly valueName: import("@angular/core").Signal<string>;
138
+ /** The heading of the share column and the name of the tooltip's share row. */
139
+ protected readonly shareName: import("@angular/core").Signal<string>;
140
+ /** The plot's height in px, at least 80. Its width is the container's. @default 280 */
141
+ readonly height: import("@angular/core").InputSignalWithTransform<number, unknown>;
142
+ /**
143
+ * Write the names inside the tiles that have room for them, a group's in a strip along
144
+ * its top. Off, no tile carries text and no group reserves a strip. @default true
145
+ */
146
+ readonly showLabels: import("@angular/core").InputSignalWithTransform<boolean, any>;
147
+ /** Write each value under its name, and each group's beside its name, where there is room. @default true */
148
+ readonly showValues: import("@angular/core").InputSignalWithTransform<boolean, any>;
149
+ /**
150
+ * Show a tooltip for the tile under the pointer: its path from the top-level node, its
151
+ * value, and its share of the whole. Pointer only — the data table is where the same
152
+ * figures are for a keyboard or a screen reader. @default true
153
+ */
154
+ readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean, any>;
155
+ /**
156
+ * Writes every value the chart shows: inside the tiles, in the tooltip and in the data
157
+ * table. `null` uses `Intl.NumberFormat` in `LOCALE_ID`, compact inside the tiles
158
+ * (`1.2K`). A value wider than its tile is left out of it rather than cut. Shares are
159
+ * `percentFormat`'s.
160
+ */
161
+ readonly valueFormat: import("@angular/core").InputSignal<((value: number) => string) | null>;
162
+ /**
163
+ * Writes every share the chart shows, given as a RATIO — `0.25` for a quarter — the
164
+ * number `Intl.NumberFormat`'s `percent` style takes, so one of those can be passed as
165
+ * it is: in the tooltip and in the data table. `null` uses that style in `LOCALE_ID`,
166
+ * with up to one fraction digit, and two significant digits below 1% so a sliver is not
167
+ * printed as `0%`.
168
+ */
169
+ readonly percentFormat: import("@angular/core").InputSignal<((ratio: number) => string) | null>;
170
+ /**
171
+ * Render the chart's figures as a table that only assistive technology reaches: a row
172
+ * per node, parents before their children in the data's order, headed by its path —
173
+ * `Engineering / Web` — with its value and its share of the whole. A node with no area
174
+ * is listed with an empty share, and a leaf with no value with an empty value too.
175
+ *
176
+ * The drawing is one named `role="img"`, which hides everything inside it, so without
177
+ * the table the numbers are nowhere a screen reader can walk. It is rendered beside the
178
+ * drawing, clipped to nothing: it takes no room, draws nothing and holds no tab stop.
179
+ * @default false
180
+ */
181
+ readonly dataTable: import("@angular/core").InputSignalWithTransform<boolean, any>;
182
+ /** The exact figures and the tiles' compact ones, in `LOCALE_ID` unless `valueFormat` is given. */
183
+ private readonly numbers;
184
+ /** Shares from one percent up, to one decimal: `12.5 %`, `3 %`. */
185
+ private readonly shares;
186
+ /** Shares below one percent, to two significant digits, so a sliver does not read `0 %`. */
187
+ private readonly smallShares;
188
+ private readonly plot;
189
+ private readonly tileEls;
190
+ /** The plot's measured content box, once a browser has laid it out. */
191
+ private readonly box;
192
+ constructor();
193
+ /** The data, resolved: top-level nodes with every node below them. */
194
+ private readonly tree;
195
+ /** Every node, parents before their children, in the data's order. */
196
+ private readonly nodes;
197
+ /** The whole: the area of every top-level node together, which every share is of. */
198
+ private readonly total;
199
+ /** The size the layout is cut for: the measured plot, or the fallback width at `height`. */
200
+ private readonly layoutBox;
201
+ /**
202
+ * Every tile drawn, parents before their children, with its rectangle as percentages
203
+ * of the plot — `start` from the inline-start edge — and its figure as the tile writes it.
204
+ * Its position in this list is what the tooltip and the template know it by.
205
+ */
206
+ protected readonly tiles: import("@angular/core").Signal<{
207
+ key: string;
208
+ node: ResolvedNode;
209
+ group: boolean;
210
+ header: boolean;
211
+ labelled: boolean;
212
+ valued: boolean;
213
+ text: string;
214
+ start: number;
215
+ top: number;
216
+ width: number;
217
+ height: number;
218
+ }[]>;
219
+ /** The height of a group's name strip, in px, for the stylesheet. */
220
+ protected readonly headerHeight = 20;
221
+ /**
222
+ * The figures for `dataTable`: the drawing's name as the caption, and a row per node with
223
+ * its value and its share of the whole, written as the tooltip writes them.
224
+ */
225
+ protected readonly tableData: import("@angular/core").Signal<WrChartTableData>;
226
+ /**
227
+ * One tooltip for the whole chart, for the tile under the pointer: the node's swatch,
228
+ * its path and its value as the heading, and its share of the whole under it. It points
229
+ * at the tile from above. The pointer over a group's strip or its edge reads the group,
230
+ * with its total.
231
+ */
232
+ protected readonly tip: import("ngwr/popover").WrChartTooltip;
233
+ /**
234
+ * The tile under the pointer, heard once on the plot rather than on every tile: the
235
+ * nearest tile up from the element the pointer is over. A MOUSE event, as every chart's
236
+ * is: a tap fires the compatibility `mousemove` and no `pointermove`.
237
+ */
238
+ protected onPointerMove(event: MouseEvent): void;
239
+ /** A node's share of the whole, through `percentFormat` or as a percentage in `LOCALE_ID`, or `''` for one with no area. */
240
+ private share;
241
+ static ɵfac: i0.ɵɵFactoryDeclaration<WrTreemapChart, never>;
242
+ static ɵcmp: i0.ɵɵComponentDeclaration<WrTreemapChart, "wr-treemap-chart", never, {
243
+ "data": {
244
+ "alias": "data";
245
+ "required": false;
246
+ "isSignal": true;
247
+ };
248
+ "ariaLabel": {
249
+ "alias": "ariaLabel";
250
+ "required": false;
251
+ "isSignal": true;
252
+ };
253
+ "valueLabel": {
254
+ "alias": "valueLabel";
255
+ "required": false;
256
+ "isSignal": true;
257
+ };
258
+ "height": {
259
+ "alias": "height";
260
+ "required": false;
261
+ "isSignal": true;
262
+ };
263
+ "showLabels": {
264
+ "alias": "showLabels";
265
+ "required": false;
266
+ "isSignal": true;
267
+ };
268
+ "showValues": {
269
+ "alias": "showValues";
270
+ "required": false;
271
+ "isSignal": true;
272
+ };
273
+ "tooltip": {
274
+ "alias": "tooltip";
275
+ "required": false;
276
+ "isSignal": true;
277
+ };
278
+ "valueFormat": {
279
+ "alias": "valueFormat";
280
+ "required": false;
281
+ "isSignal": true;
282
+ };
283
+ "percentFormat": {
284
+ "alias": "percentFormat";
285
+ "required": false;
286
+ "isSignal": true;
287
+ };
288
+ "dataTable": {
289
+ "alias": "dataTable";
290
+ "required": false;
291
+ "isSignal": true;
292
+ };
293
+ }, {}, never, never, true, never>;
294
+ }
295
+ export type { WrTreemapNode };
@@ -0,0 +1,149 @@
1
+ import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
2
+ /** Narrows which `<wr-waterfall-chart>` a harness query matches. */
3
+ interface WrWaterfallChartHarnessFilters extends BaseHarnessFilters {
4
+ /** Match the chart's accessible name. */
5
+ readonly ariaLabel?: string | RegExp;
6
+ /** Match a chart with a step of this label. */
7
+ readonly stepLabel?: string | RegExp;
8
+ }
9
+ /** One step, as the chart draws and announces it. */
10
+ interface WrWaterfallChartHarnessStep {
11
+ /** The label printed under the bar — the full text, ellipsised on screen or not. */
12
+ readonly label: string;
13
+ /**
14
+ * What the step is, read off its modifier class: a change `'increase'` or `'decrease'`,
15
+ * a `'flat'` change of zero (a value that is not a finite number included), or a `'total'`.
16
+ */
17
+ readonly kind: 'increase' | 'decrease' | 'flat' | 'total';
18
+ /** What the step announces: its change and the running total after it, or its total, in one string. */
19
+ readonly name: string | null;
20
+ /**
21
+ * The figure printed past the bar's end — a signed change, or a total — or `null` when
22
+ * none is printed (`showValues` off). One wider than its column is printed and then
23
+ * wrapped out of sight by the stylesheet, which jsdom cannot show, so it is read here.
24
+ */
25
+ readonly value: string | null;
26
+ /** The running total before the step. */
27
+ readonly start: number;
28
+ /** The running total after it — what a total step shows. */
29
+ readonly end: number;
30
+ /** The bar's bottom, as the percentage of the drawing's height from its bottom the component wrote. */
31
+ readonly bottomPercent: number;
32
+ /** The bar's top, the same way. A change of zero has its top at its bottom: its hairline is the stylesheet's floor. */
33
+ readonly topPercent: number;
34
+ /** Whether a connector leaves the step for the next one (`showConnectors`, and a next step that starts from it). */
35
+ readonly connected: boolean;
36
+ }
37
+ /**
38
+ * One row of the chart's data table (`dataTable`): the step it reads, as its row header,
39
+ * and its change and the running total after it.
40
+ */
41
+ interface WrWaterfallChartTableRow {
42
+ /** The row header — the step's label. */
43
+ readonly header: string;
44
+ /** The change, `''` on a total, and the running total after the step, written as the tooltip writes them. */
45
+ readonly cells: readonly string[];
46
+ }
47
+ /**
48
+ * Test harness for `<wr-waterfall-chart>`.
49
+ *
50
+ * **The bars are read as PERCENTAGES of the drawing, not as pixels.** Each step's two
51
+ * ends are written inline as shares of the drawing's height from its bottom, which is the
52
+ * one number that survives a test with no layout, and they are read off the `style`
53
+ * ATTRIBUTE rather than through `getCssValue()`: in a browser that answers laid-out pixels
54
+ * and in jsdom the declaration, with nothing to say which. The running totals before and
55
+ * after each step are read off the `data-*` the component writes beside them, so a spec
56
+ * can hold the arithmetic and the drawing apart — a total at the right figure and the
57
+ * wrong height is exactly the defect worth catching. The hairline a change of zero keeps
58
+ * is the stylesheet's floor, so no method reports it.
59
+ *
60
+ * **Two questions are not one.** A step's printed figure and its accessible name are read
61
+ * separately ({@link WrWaterfallChartHarnessStep.value} and
62
+ * {@link WrWaterfallChartHarnessStep.name}): the column is an `img`, so the name is what a
63
+ * screen reader gets, and asserting only what is drawn would pass on a step that announces
64
+ * nothing.
65
+ *
66
+ * **Whether a printed figure fits is not read.** The stylesheet hides a figure wider than
67
+ * its column by wrapping it out of sight, which takes a layout jsdom does not have;
68
+ * {@link WrWaterfallChartHarnessStep.value} gives the text the component printed, fitting
69
+ * or not.
70
+ *
71
+ * **What tells the kinds apart is read as such.** {@link WrWaterfallChartHarnessStep.kind} comes
72
+ * off the modifier class, not off the colour, and the sign is in the printed figure — so a
73
+ * spec can assert the channels that are not colour, which are the ones a reader without
74
+ * hue relies on. A change of zero is `'flat'`, neither way, so a missing figure the chart
75
+ * counted as nothing never reads as an increase.
76
+ *
77
+ * **No hover method.** The tooltip repeats the step's name, and the chip renders into the
78
+ * overlay container with nothing tying it to this chart, so a query for it would answer
79
+ * with whichever chart's chip is open. The same figures are in the names and in the data
80
+ * table, which {@link getTableRows} reads.
81
+ *
82
+ * @example
83
+ * ```ts
84
+ * const chart = await loader.getHarness(WrWaterfallChartHarness);
85
+ *
86
+ * expect(await chart.getLabels()).toEqual(['Opening', 'Sales', 'Refunds', 'Closing']);
87
+ * const steps = await chart.getSteps();
88
+ * expect(steps[2]).toMatchObject({ kind: 'decrease', value: '−350', end: 5650 });
89
+ * ```
90
+ *
91
+ * @see https://ngwr.dev/guides/testing
92
+ */
93
+ export declare class WrWaterfallChartHarness extends ComponentHarness {
94
+ static hostSelector: string;
95
+ /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
96
+ static with(options?: WrWaterfallChartHarnessFilters): HarnessPredicate<WrWaterfallChartHarness>;
97
+ /** The chart's accessible name, on the `group` that holds the steps. */
98
+ getAccessibleName(): Promise<string | null>;
99
+ /** How many steps the chart drew — one per step given. */
100
+ getStepCount(): Promise<number>;
101
+ /** The labels under the bars, in order — the full text, ellipsised on screen or not. */
102
+ getLabels(): Promise<string[]>;
103
+ /**
104
+ * Every step, in order: its label, its kind, what it prints and announces, the running
105
+ * totals before and after it, and where its bar runs.
106
+ *
107
+ * Throws on a step missing anything the component writes on every one, rather than
108
+ * answering with a `NaN` a spec could compare against.
109
+ */
110
+ getSteps(): Promise<WrWaterfallChartHarnessStep[]>;
111
+ /** Whether any figure is printed past a bar (`showValues`, and at least one step). */
112
+ hasValues(): Promise<boolean>;
113
+ /** How many connectors are drawn: one per step that the next one starts from, with `showConnectors`. */
114
+ getConnectorCount(): Promise<number>;
115
+ /** Whether the gridlines are drawn (`showGrid`). */
116
+ hasGrid(): Promise<boolean>;
117
+ /** The value axis' tick labels, top to bottom; `[]` with `showGrid` off. */
118
+ getYTicks(): Promise<string[]>;
119
+ /**
120
+ * Where zero is — the line every total stands on — as the percentage of the drawing's
121
+ * height from its bottom that the component wrote: `0` when nothing goes below zero.
122
+ */
123
+ getZeroPercent(): Promise<number>;
124
+ /** Whether the hidden data table is rendered (`dataTable`). */
125
+ hasDataTable(): Promise<boolean>;
126
+ /**
127
+ * The data table's column headings: the change and the running total, in that order.
128
+ *
129
+ * Throws when the chart renders no table (`dataTable` off) rather than answering with
130
+ * no columns.
131
+ */
132
+ getTableColumns(): Promise<string[]>;
133
+ /**
134
+ * The data table's rows, one per step: its label, its change (`''` on a total) and the
135
+ * running total after it, as a screen reader walks them.
136
+ *
137
+ * Throws when the chart renders no table (`dataTable` off), for the reason
138
+ * {@link getTableColumns} gives.
139
+ */
140
+ getTableRows(): Promise<WrWaterfallChartTableRow[]>;
141
+ /**
142
+ * The plot's height in pixels, read off the `style` ATTRIBUTE the component wrote, not
143
+ * through `getCssValue()`, which answers from the laid-out box and so differs between
144
+ * jsdom and a browser.
145
+ */
146
+ getPlotHeight(): Promise<number>;
147
+ private assertDataTable;
148
+ }
149
+ export type { WrWaterfallChartHarnessFilters, WrWaterfallChartHarnessStep, WrWaterfallChartTableRow };