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
@@ -1,9 +1,35 @@
1
1
  import * as i0 from "@angular/core";
2
+ import { WrChartLegendItem } from "ngwr/charts/chart-legend";
3
+ import { WrChartTableData } from "ngwr/charts/core";
4
+ /** One line of a `<wr-line-chart>`: a name, one value per x, and optionally its own colour. */
2
5
  interface WrLineSeries {
6
+ /** The series' name, in the legend, the tooltip and the data table's column heading. */
3
7
  readonly label: string;
8
+ /**
9
+ * One value per x, evenly spaced along the axis, in the order of `xLabels`. A value that
10
+ * is not a finite number — `NaN` is how to write one — is a HOLE: the line, and its fill
11
+ * with `showArea`, break there, it adds nothing to a stack, and the tooltip and the data
12
+ * table leave it out. A shorter list ends where it ends.
13
+ */
4
14
  readonly data: readonly number[];
15
+ /** Any CSS colour, `var(--wr-…)` included. Left out, the series takes the next palette colour. */
5
16
  readonly color?: string;
6
17
  }
18
+ /**
19
+ * Where the readout sits: over the crosshair at the top of the plot, over it at the bottom,
20
+ * or at the top beside it on either side. Physical, as the drawing's own x is.
21
+ */
22
+ type TooltipPlacement = 'top' | 'below' | 'left' | 'right';
23
+ /** A series as it is drawn: `tops` is what each x is plotted at, `bases` where its band starts under `stacked`. */
24
+ interface PlottedSeries {
25
+ readonly index: number;
26
+ readonly label: string;
27
+ readonly dash: string;
28
+ readonly color: string;
29
+ readonly data: readonly (number | null)[];
30
+ readonly tops: readonly (number | null)[];
31
+ readonly bases: readonly (number | null)[] | null;
32
+ }
7
33
  /**
8
34
  * Multi-series line chart with axes, gridlines, and a hover tooltip.
9
35
  * SVG-only — no external dependency.
@@ -19,6 +45,21 @@ interface WrLineSeries {
19
45
  * />
20
46
  * ```
21
47
  *
48
+ * The legend is a `ul[wr-chart-legend]` (`ngwr/charts/chart-legend`), and with
49
+ * `toggleableLegend` its rows show and hide their series through `hiddenSeries`.
50
+ *
51
+ * An AREA chart is this one with `showArea`, which fills under every line down to
52
+ * zero, and `stacked` piles the series on each other so the top line reads the total:
53
+ *
54
+ * ```html
55
+ * <wr-line-chart [series]="series" [xLabels]="labels" showArea stacked />
56
+ * ```
57
+ *
58
+ * The x labels are printed every one while the widest fits between two points, and every
59
+ * n-th otherwise, so a long axis keeps whole labels rather than a row of ellipses; the
60
+ * tooltip and the data table name every x. The drawing keeps time running left to right
61
+ * under RTL, as every SVG chart here does; the y labels move to the right of it.
62
+ *
22
63
  * @see https://ngwr.dev/charts/line-chart
23
64
  */
24
65
  export declare class WrLineChart {
@@ -29,10 +70,14 @@ export declare class WrLineChart {
29
70
  readonly series: import("@angular/core").InputSignal<readonly WrLineSeries[]>;
30
71
  /**
31
72
  * Accessible name of the chart. The legend carries the series NAMES only — the numbers
32
- * are nowhere in text — so without this the plot is nothing at all to a screen reader.
33
- * Falls back to `lineChart.label`.
73
+ * are nowhere in text unless `dataTable` puts them there — so without this the plot is
74
+ * nothing at all to a screen reader. Falls back to `lineChart.label`, or to
75
+ * `lineChart.areaLabel` with `showArea`.
34
76
  */
35
77
  readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
78
+ private readonly lineLabel;
79
+ private readonly areaLabel;
80
+ /** The plot's name, which the data table takes as its caption. */
36
81
  protected readonly resolvedAriaLabel: import("@angular/core").Signal<string>;
37
82
  /**
38
83
  * Writes every number the chart shows: the y-axis ticks and the tooltip values.
@@ -40,14 +85,14 @@ export declare class WrLineChart {
40
85
  * unless the full numbers are shorter.
41
86
  */
42
87
  readonly valueFormat: import("@angular/core").InputSignal<((value: number) => string) | null>;
43
- private readonly locale;
88
+ /** The tooltip's exact figures and the axis' compact ticks, in `LOCALE_ID` unless `valueFormat` is given. */
44
89
  private readonly numbers;
45
90
  /**
46
- * Below one, by significant digits rather than the default three fraction digits,
47
- * which round a reading of 0.0004 to `0`.
91
+ * Labels for the X axis (one per data point). Printed every one while the widest fits
92
+ * between two points, and every n-th otherwise. An x past the end of this list is named
93
+ * by its position, counting from 1, in `LOCALE_ID`'s digits, in the tooltip and the data
94
+ * table.
48
95
  */
49
- private readonly smallNumbers;
50
- /** Labels for the X axis (one per data point). */
51
96
  readonly xLabels: import("@angular/core").InputSignal<readonly string[]>;
52
97
  /** Chart pixel height. @default 240 */
53
98
  readonly height: import("@angular/core").InputSignalWithTransform<number, unknown>;
@@ -55,8 +100,69 @@ export declare class WrLineChart {
55
100
  readonly showGrid: import("@angular/core").InputSignalWithTransform<boolean, any>;
56
101
  /** Show the legend above the chart. @default true */
57
102
  readonly showLegend: import("@angular/core").InputSignalWithTransform<boolean, any>;
103
+ /**
104
+ * Make each legend row a toggle button that shows and hides its series, through
105
+ * `hiddenSeries`. A row is a `<button aria-pressed>`, pressed while its series is
106
+ * shown, so the legend becomes one tab stop per series. @default false
107
+ */
108
+ readonly toggleableLegend: import("@angular/core").InputSignalWithTransform<boolean, any>;
109
+ /**
110
+ * The positions in `series` of the series that are hidden. Positions rather than
111
+ * labels, since two series may share a label. A toggleable legend writes it, and a
112
+ * host may bind it with or without one: `[(hiddenSeries)]`.
113
+ *
114
+ * A hidden series is left out of everything that reads its values. It draws no line
115
+ * and no dots, it has no row or ring in the tooltip, and the y axis is fitted to the
116
+ * series still shown, so hiding a large series lets the small ones fill the plot. The
117
+ * x axis does not change, because its length belongs to the chart (`xLabels`) rather
118
+ * than to one series, and the lines still shown keep their positions. The legend keeps
119
+ * the hidden series' row, struck through, so it can be shown again; the row says
120
+ * "hidden" to a screen reader as well, through `aria-pressed` on a toggle and a
121
+ * visually hidden word otherwise. With every series
122
+ * hidden the plot is the empty 0 to 1 frame. A position past the end of `series` is
123
+ * kept and ignored.
124
+ */
125
+ readonly hiddenSeries: import("@angular/core").ModelSignal<readonly number[]>;
58
126
  /** Show dots at each data point. @default true */
59
127
  readonly showDots: import("@angular/core").InputSignalWithTransform<boolean, any>;
128
+ /**
129
+ * Fill the space under each line, down to zero, which makes this an area chart.
130
+ *
131
+ * Each unbroken run of a series is one fill (`.wr-line-chart__area`) in the series'
132
+ * colour at `--wr-line-chart-area-opacity`. A hole in the data breaks the fill as it
133
+ * breaks the line, and a lone point between two holes has nothing to fill. Every fill
134
+ * is drawn under every line, so the lines and their dashes stay on top and the series
135
+ * are still told apart by shape where the fills overlap. The y axis takes zero in,
136
+ * since the fills reach it: an all-negative series fills up to a zero at the top of
137
+ * the plot. The plot's name falls back to `lineChart.areaLabel`. @default false
138
+ */
139
+ readonly showArea: import("@angular/core").InputSignalWithTransform<boolean, any>;
140
+ /**
141
+ * Stack the series on each other in order, so at every x each series is drawn on top
142
+ * of the ones before it and the top line reads the total.
143
+ *
144
+ * Positive values stack up from zero and negative values stack down from it, each sign
145
+ * on its own, so no band crosses another at a point. A hole, or the missing end of a
146
+ * shorter series, adds nothing to the stack and breaks that series' own line. The
147
+ * lines, the dots, the hover markers and the y axis follow the stacked tops; the
148
+ * tooltip and the data table keep each series' own value, which is the figure a reader
149
+ * asks for. A series hidden through `hiddenSeries` leaves the stack. With `showArea`
150
+ * each band fills from the series below to its own line, and the fill is stronger,
151
+ * since the bands do not overlap. @default false
152
+ */
153
+ readonly stacked: import("@angular/core").InputSignalWithTransform<boolean, any>;
154
+ /**
155
+ * Render the chart's figures as a table that only assistive technology reaches: a row
156
+ * per x, headed by its x label, and a column per series shown, every value written the
157
+ * way the tooltip writes it. A hole is an empty cell.
158
+ *
159
+ * The plot is one named `role="img"`, which hides everything inside it, so without
160
+ * the table the numbers are nowhere a screen reader can walk. It is rendered beside
161
+ * the plot, clipped to nothing: it takes no room, draws nothing and holds no tab stop.
162
+ * A stacked chart's table keeps each series' own values, and a hidden series leaves
163
+ * it. @default false
164
+ */
165
+ readonly dataTable: import("@angular/core").InputSignalWithTransform<boolean, any>;
60
166
  /**
61
167
  * Show the hover readout: the crosshair, the point markers and the tooltip. Off
62
168
  * drops all three, since a crosshair with no values beside it points at nothing.
@@ -74,6 +180,19 @@ export declare class WrLineChart {
74
180
  protected readonly vbW = 600;
75
181
  protected readonly vbH = 300;
76
182
  private readonly svg;
183
+ private readonly plot;
184
+ private readonly probe;
185
+ private readonly tooltipEl;
186
+ /** An x with no label of its own, by its position from 1 in the reader's own digits. */
187
+ private readonly ordinals;
188
+ /** What a browser measured, once it has: `null` on the server and until the first render. */
189
+ private readonly measured;
190
+ /**
191
+ * Where the readout sits (see `placeTooltip`): at the top of the plot unless that covers
192
+ * a marker it reads. Decided in a browser, from the readout's own size, each time the
193
+ * hovered x changes.
194
+ */
195
+ protected readonly tooltipPlacement: import("@angular/core").WritableSignal<TooltipPlacement>;
77
196
  /** Hovered point index (across all series) — null when no hover. */
78
197
  protected readonly hoveredIndex: import("@angular/core").WritableSignal<number | null>;
79
198
  /** The hovered index while the readout is on, so turning `tooltip` off mid-hover clears it. */
@@ -87,48 +206,57 @@ export declare class WrLineChart {
87
206
  private dismissed;
88
207
  constructor();
89
208
  /**
90
- * A dash pattern per series, so the lines are told apart by SHAPE and not
91
- * only by hue.
92
- *
93
- * The default palette's colours sit within about 1.06:1 of each other in
94
- * relative luminance — that is the whole nine-intent scale's constraint, and
95
- * it means a reader with red-green colour blindness sees several of these
96
- * strokes as one grey. A legend that pairs a coloured square with a name does
97
- * not rescue it: matching the square to the line is exactly the step that
98
- * needs hue. Distinguishing series by dash is the standard remedy and the
99
- * only one that survives greyscale, printing and a monochrome display.
209
+ * Every series, resolved: its palette colour, its dash (`chartDash`, so the lines are
210
+ * told apart by shape and not only by hue, the first one solid) and its data with a
211
+ * HOLE at each non-finite point. Hidden ones included, since the legend lists them.
100
212
  *
101
- * The FIRST entry is solid on purpose. A single-series chart is the common
102
- * case and there is nothing to tell apart in it, so it is left exactly as it
103
- * was; the patterns only appear once a second series does.
213
+ * A non-finite point becomes a hole at its own index, not a missing element. It
214
+ * cannot stay a number: `Math.min` and `Math.max` over the pooled data are both NaN
215
+ * as soon as one datum is, so every coordinate in EVERY series came out `NaN`, which
216
+ * is invalid path geometry, and the whole chart vanished rather than the one bad
217
+ * point. But filtering it out closed the gap and slid every LATER point one x-slot to
218
+ * the left, so each of them was drawn under, and reported in the tooltip as, the
219
+ * wrong x label. A gap is kept as a gap and the line is broken across it:
220
+ * interpolating would invent a reading the data never took.
104
221
  */
105
- private static readonly DASHES;
106
222
  protected readonly resolvedSeries: import("@angular/core").Signal<{
223
+ index: number;
107
224
  label: string;
108
- dash: "" | "7 4" | "2 3" | "10 4 2 4" | "1 4" | "6 3 2 3";
225
+ dash: string;
226
+ data: (number | null)[];
227
+ color: string;
228
+ }[]>;
229
+ /** The legend's rows: every series, keyed by its own dash. */
230
+ protected readonly legendItems: import("@angular/core").Signal<readonly WrChartLegendItem[]>;
231
+ /** The series drawn, read and fitted to: every one `hiddenSeries` does not name. */
232
+ protected readonly visibleSeries: import("@angular/core").Signal<{
233
+ index: number;
234
+ label: string;
235
+ dash: string;
109
236
  data: (number | null)[];
110
237
  color: string;
111
238
  }[]>;
112
239
  /**
113
- * The axis bounds, SNAPPED to a readable step — and the snapping is the point.
114
- *
115
- * This used to be "the data's max plus 10%, divided into four", which lands on
116
- * a round number almost never: seven integers between 3 and 35 gave an axis
117
- * reading 38.2 / 28.7 / 19.1 / 9.6 / 0. The numbers were right and nobody can
118
- * read them. A chart's axis is the one part of it a reader is supposed to do
119
- * arithmetic against.
240
+ * The series drawn, each with the value it is PLOTTED at for every x. That is its own
241
+ * value, except under `stacked`, where it is the top of its band, and `bases` holds
242
+ * where the band starts: zero, or the top of the last series before it on the same
243
+ * side of zero. Positive values pile up and negative ones pile down, each sign on its
244
+ * own, so two bands never cross at a point. A hole stays a hole and adds nothing.
245
+ */
246
+ protected readonly plottedSeries: import("@angular/core").Signal<readonly PlottedSeries[]>;
247
+ /**
248
+ * The y axis, from `chartAxis`, over what is plotted for the series still shown. It
249
+ * floors at zero and never lifts to zero from below, so an all-negative series keeps
250
+ * an axis that ends just above its peak, and it snaps to a readable step: seven
251
+ * integers between 3 and 35 read 0 / 10 / 20 / 30 / 40, where "the data's max plus
252
+ * 10%, divided into four" read 38.2 / 28.7 / 19.1 / 9.6 / 0. With nothing to fit, it is
253
+ * the empty 0 to 1 frame.
120
254
  *
121
- * So the step is rounded UP to the nearest 1, 2, 2.5 or 5 times a power of
122
- * ten — the conventional nice-number ladder — and the bounds are then snapped
123
- * outward to whole multiples of it. The same 3..35 now reads 0 / 10 / 20 / 30
124
- * / 40. Snapping outward is what replaces the old 10% padding: the top tick is
125
- * at or above the data, so the line never touches the frame.
126
- */
127
- protected readonly bounds: import("@angular/core").Signal<{
128
- min: number;
129
- max: number;
130
- step: number;
131
- }>;
255
+ * With `showArea` or `stacked` it takes zero in on either side instead: zero is the
256
+ * baseline a fill reaches and the floor a stack starts from, so an axis that stopped
257
+ * short of it would cut the fills off and misstate every band.
258
+ */
259
+ protected readonly bounds: import("@angular/core").Signal<import("ngwr/charts/core").WrChartAxis>;
132
260
  protected readonly pointCount: import("@angular/core").Signal<number>;
133
261
  /**
134
262
  * Y-axis tick marks, one per `step` from the top down — so every label is a
@@ -140,12 +268,35 @@ export declare class WrLineChart {
140
268
  y: number;
141
269
  }[]>;
142
270
  /**
143
- * The SVG path for a series — one subpath per unbroken run, so a hole in the data
144
- * leaves a hole in the line rather than a straight segment across it.
271
+ * The SVG path for a series' plotted values — one subpath per unbroken run, so a hole
272
+ * in the data leaves a hole in the line rather than a straight segment across it.
145
273
  */
146
- protected pathFor(series: {
147
- data: readonly (number | null)[];
148
- }): string;
274
+ protected pathFor(values: readonly (number | null)[]): string;
275
+ /**
276
+ * Every series shown as the template draws it: its line's path, and with `showDots` a
277
+ * dot's path per x, `null` on a hole. Built once per change to the data or the axis, so
278
+ * moving the pointer from x to x, which re-renders the hover layer, rebuilds no path.
279
+ */
280
+ protected readonly drawn: import("@angular/core").Signal<{
281
+ index: number;
282
+ color: string;
283
+ dash: string;
284
+ d: string;
285
+ dots: (string | null)[];
286
+ }[]>;
287
+ /**
288
+ * The fills under the lines with `showArea`: one per unbroken run of two points or
289
+ * more, from the line down to zero, or down to the top of the band below under
290
+ * `stacked`. A run of one point has no width to fill. Keyed by the series' position
291
+ * and the run's first x, so a run that moves is a new fill.
292
+ */
293
+ protected readonly areas: import("@angular/core").Signal<{
294
+ key: string;
295
+ color: string;
296
+ d: string;
297
+ }[]>;
298
+ /** One fill: along the run's plotted values, then back along its base, from `start` up to `end`. */
299
+ private areaPath;
149
300
  /** A point's x in the viewBox — a lone point in the middle, as the sparkline draws one. */
150
301
  protected pointX(index: number): number;
151
302
  protected pointY(value: number): number;
@@ -156,14 +307,48 @@ export declare class WrLineChart {
156
307
  */
157
308
  protected xPercent(index: number): number;
158
309
  /**
159
- * How far apart two neighbouring points are, as a percentage of the drawing's width —
160
- * the room each x label has, half on either side of its point. The stylesheet bounds a
161
- * label to it, cut back at the ends of the strip, and ellipsises past that. Centring a
162
- * label on its point says nothing about its WIDTH, and with no bound at all twelve
163
- * month names printed over each other and the last one hung outside the chart.
310
+ * How far apart two neighbouring printed labels are, as a percentage of the drawing's
311
+ * width — the room each x label has, half on either side of its point: the distance
312
+ * between two points times the step `xAxis` prints at. The stylesheet bounds a label to
313
+ * it, cut back at the ends of the strip, and ellipsises past that. Centring a label on its
314
+ * point says nothing about its WIDTH, and with no bound at all twelve month names printed
315
+ * over each other and the last one hung outside the chart.
164
316
  */
165
317
  protected readonly xSlot: import("@angular/core").Signal<number>;
318
+ /**
319
+ * Every x label once, a line each: the hidden copy the labels' room is measured against.
320
+ * Laid out as wide as its widest line, so it measures the widest label rather than the
321
+ * one with the most characters — `WWWWW` is wider than `iiiiiii`.
322
+ */
323
+ protected readonly probeText: import("@angular/core").Signal<string>;
324
+ /**
325
+ * Which x labels print. Every one while the widest label and a gap fit between two
326
+ * points, as before there was any thinning; otherwise every `every`-th from the first,
327
+ * the smallest step whose labels keep that gap — the first label included, which the
328
+ * strip's start moves inwards when it is wider than the room before its point — and the
329
+ * last one printed is left out if moving it inwards from the strip's end brings it
330
+ * within the gap of the one before. The step is decided in a browser from the widest
331
+ * label as laid out and the drawing's width, and against `ASSUMED_WIDTH` and seven
332
+ * pixels a character before that, so the server thins a long axis too.
333
+ *
334
+ * Only the printed labels render: a label laid out and hidden still costs its share of
335
+ * every resize.
336
+ */
337
+ protected readonly xAxis: import("@angular/core").Signal<{
338
+ every: number;
339
+ ticks: {
340
+ readonly index: number;
341
+ readonly label: string;
342
+ readonly x: number;
343
+ }[];
344
+ }>;
345
+ /**
346
+ * The hovered x's readings, one per series shown that has one. Each marker sits where
347
+ * the series is drawn, which under `stacked` is the top of its band, while the row
348
+ * reads the series' own value.
349
+ */
166
350
  protected readonly hoverPoints: import("@angular/core").Signal<{
351
+ index: number;
167
352
  label: string;
168
353
  value: number;
169
354
  text: string;
@@ -189,29 +374,34 @@ export declare class WrLineChart {
189
374
  /** A zero-length line at a point, which a round cap paints as a dot. */
190
375
  protected dotPath(x: number, y: number): string;
191
376
  /**
192
- * A reading as the tooltip writes it: `valueFormat` when one is given, else
193
- * `Intl.NumberFormat` in `LOCALE_ID` — never compact, since the tooltip is where a
194
- * reader goes for the exact figure the axis rounds.
377
+ * Read the drawing's width, the plot's inline padding and the widest x label off the
378
+ * layout. A hidden chart measures 0 and keeps its last reading rather than thin to
379
+ * nothing; with no label to measure the estimate stays in charge.
380
+ */
381
+ private measure;
382
+ /**
383
+ * Place the readout clear of the markers it reads. Over the crosshair at the top of the
384
+ * plot, as it always sat, while that covers none of them; else at the bottom, while that
385
+ * covers none; else beside the crosshair at the top, on the side with more room, which
386
+ * covers none of them as long as it fits there — every marker is on the crosshair. Where
387
+ * each covers some, the one that covers fewest, in that order on a tie.
388
+ *
389
+ * Every candidate is worked out from the readout's own size and from how far inside the
390
+ * drawing's edge it sits, which is the same at the top and, moved below, at the bottom —
391
+ * so the choice never depends on where it is now, and settles in one pass.
195
392
  */
196
- private formatValue;
393
+ private placeTooltip;
197
394
  /**
198
395
  * The y-axis labels, top to bottom, in the reader's own language — and decided for
199
- * the AXIS, not one tick at a time.
396
+ * the AXIS, not one tick at a time (`useChartNumbers().ticks`).
200
397
  *
201
398
  * Compact, through `Intl` (`1.2K`, `3.4M`, `4 Mio.`, `5 тыс.`): the abbreviation used
202
399
  * to be a `k` from the catalog beside digits from `Intl`, which no locale's own
203
400
  * convention matched past the thousands, and `Intl` knows each one's units — German
204
- * abbreviates no thousands at all, Japanese counts in ten-thousands.
205
- *
206
- * Each tick gets exactly the significant digits the STEP needs: down to the step's last
207
- * digit, and no further. A fixed count cannot be right at every magnitude — one
208
- * fraction digit printed 1250 beside 1000 as `1.3k` and `1k` on an axis stepping by
209
- * 250, and -1000 and -1025 as `-1k` twice on one stepping by 25. A hard `1` below the
210
- * thousands printed a 0.25 step as 0.2, 0.3, 0.2, 0.3.
211
- *
212
- * And when abbreviating would make the labels LONGER — a fine step on large numbers,
213
- * where `-1.025K` is wider than `-1,025` — the whole axis is written in full instead, so
214
- * no axis mixes `-1K` with `-1,025`. Grouping is the locale's.
401
+ * abbreviates no thousands at all, Japanese counts in ten-thousands. Each tick gets
402
+ * exactly the significant digits the STEP needs, and when abbreviating would make the
403
+ * labels LONGER the whole axis is written in full instead, so no axis mixes `-1K`
404
+ * with `-1,025`.
215
405
  */
216
406
  protected readonly tickLabels: import("@angular/core").Signal<readonly string[]>;
217
407
  /**
@@ -225,6 +415,13 @@ export declare class WrLineChart {
225
415
  y: number;
226
416
  }[]>;
227
417
  protected readonly viewBox: import("@angular/core").Signal<string>;
418
+ /**
419
+ * The figures for `dataTable`: the plot's name as the caption, a column per series
420
+ * shown and a row per x, headed as the tooltip heads it. Each cell is the series' own
421
+ * value, stacked or not, written as the tooltip writes it, and empty on a hole. With
422
+ * every series hidden there is nothing to tabulate, and no rows.
423
+ */
424
+ protected readonly tableData: import("@angular/core").Signal<WrChartTableData>;
228
425
  static ɵfac: i0.ɵɵFactoryDeclaration<WrLineChart, never>;
229
426
  static ɵcmp: i0.ɵɵComponentDeclaration<WrLineChart, "wr-line-chart", never, {
230
427
  "series": {
@@ -262,16 +459,43 @@ export declare class WrLineChart {
262
459
  "required": false;
263
460
  "isSignal": true;
264
461
  };
462
+ "toggleableLegend": {
463
+ "alias": "toggleableLegend";
464
+ "required": false;
465
+ "isSignal": true;
466
+ };
467
+ "hiddenSeries": {
468
+ "alias": "hiddenSeries";
469
+ "required": false;
470
+ "isSignal": true;
471
+ };
265
472
  "showDots": {
266
473
  "alias": "showDots";
267
474
  "required": false;
268
475
  "isSignal": true;
269
476
  };
477
+ "showArea": {
478
+ "alias": "showArea";
479
+ "required": false;
480
+ "isSignal": true;
481
+ };
482
+ "stacked": {
483
+ "alias": "stacked";
484
+ "required": false;
485
+ "isSignal": true;
486
+ };
487
+ "dataTable": {
488
+ "alias": "dataTable";
489
+ "required": false;
490
+ "isSignal": true;
491
+ };
270
492
  "tooltip": {
271
493
  "alias": "tooltip";
272
494
  "required": false;
273
495
  "isSignal": true;
274
496
  };
275
- }, {}, never, never, true, never>;
497
+ }, {
498
+ "hiddenSeries": "hiddenSeriesChange";
499
+ }, never, never, true, never>;
276
500
  }
277
501
  export type { WrLineSeries };
@@ -1,4 +1,5 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
2
+ import { WrChartLegendHarness } from "ngwr/charts/chart-legend/testing";
2
3
  /** Narrows which `<wr-meter-group>` a harness query matches. */
3
4
  interface WrMeterGroupHarnessFilters extends BaseHarnessFilters {
4
5
  /** Match the bar's accessible name. */
@@ -46,13 +47,26 @@ export declare class WrMeterGroupHarness extends ComponentHarness {
46
47
  getValue(): Promise<number>;
47
48
  /** The full capacity, from `aria-valuemax` — given, or the sum of the bands. */
48
49
  getMax(): Promise<number>;
49
- /** The bands, in order, with the share of the bar each takes. */
50
+ /**
51
+ * A finite number off one of the bar's attributes, or a sentence saying which one it
52
+ * lacks. `Number(null)` is `0`, so a lost binding read as an empty bar.
53
+ */
54
+ private numberAttribute;
55
+ /** The bands, in order, with the share of the bar each takes. A hidden segment draws no band. */
50
56
  getSlices(): Promise<WrMeterGroupSlice[]>;
51
57
  /** Parse one band's declared share. See the class note on why this is not `getCssValue()`. */
52
58
  private static percentOf;
53
59
  /** Whether the legend is rendered (`showLegend`, and at least one band). */
54
60
  hasLegend(): Promise<boolean>;
55
- /** The legend's labels, in order. */
61
+ /**
62
+ * The legend as a {@link WrChartLegendHarness}: each row's key and its hidden state
63
+ * and, with `toggleableLegend`, the toggles that show and hide a segment.
64
+ *
65
+ * Throws when the group draws no legend (`showLegend` off, or no segments) rather
66
+ * than answering with an empty one: {@link hasLegend} is the question for that.
67
+ */
68
+ getLegendHarness(): Promise<WrChartLegendHarness>;
69
+ /** The legend's labels, in order — hidden segments included, since their rows stay. */
56
70
  getLegendLabels(): Promise<string[]>;
57
71
  /** The legend's values, in order — empty when `showValues` is off. */
58
72
  getLegendValues(): Promise<string[]>;