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,338 @@
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 step of a `<wr-waterfall-chart>`: a change that moves the running total, or — with
11
+ * `total` — a bar from zero that shows it.
12
+ */
13
+ interface WrWaterfallStep {
14
+ /** The step's name, under its bar, in the tooltip, in its accessible name and as its row header in the data table. */
15
+ readonly label: string;
16
+ /**
17
+ * How much the step moves the running total: up for a positive value, down for a
18
+ * negative one. Zero is neither: a hairline at the running total in the chart's neutral
19
+ * `--wr-waterfall-chart-flat-color`, classed `--flat`, printed `0` with no sign. A value
20
+ * that is not a finite number counts as zero, and so is drawn the same way — one bad
21
+ * figure cannot break every total after it, nor pass for growth.
22
+ *
23
+ * On a `total` step it is the total itself, and the chart CHECKS it rather than draws
24
+ * it: the bar is the running total the steps above add up to, and in dev mode a value
25
+ * that differs warns. The one exception is a total that comes before every change, where
26
+ * there is nothing to add up yet: its value is where the running total starts — an
27
+ * opening balance.
28
+ */
29
+ readonly value: number;
30
+ /**
31
+ * Draw the step as a total: a full bar from zero to the running total, in the chart's
32
+ * `totalColor`, with its figure written unsigned. @default false
33
+ */
34
+ readonly total?: boolean;
35
+ }
36
+ /**
37
+ * Where a `<wr-waterfall-chart>` is about to write a figure, handed to its `valueFormat`
38
+ * as the second argument: `'label'` for the figure printed past a bar, where room is
39
+ * tight and a compact form fits (`1.2K`); `'tick'` for the value axis; `'value'` for the
40
+ * tooltip, the accessible names and the data table, where a reader goes for the exact
41
+ * figure.
42
+ */
43
+ type WrWaterfallValueContext = 'label' | 'tick' | 'value';
44
+ /** What a step is: a change up, a change down, a change of nothing, or a total from zero. */
45
+ type Kind = 'increase' | 'decrease' | 'flat' | 'total';
46
+ /** One step as drawn and announced. */
47
+ interface DrawnStep {
48
+ readonly label: string;
49
+ readonly kind: Kind;
50
+ readonly start: number;
51
+ readonly end: number;
52
+ /** The bar's bottom and top, as percentages of the drawing's height from its bottom. */
53
+ readonly lo: number;
54
+ readonly hi: number;
55
+ /** The bar's paint, or `null` on a change of zero, which the stylesheet's neutral hook paints. */
56
+ readonly color: string | null;
57
+ /** The figure printed on the drawing: the signed change, or the total, as `valueFormat` writes a `'label'`. */
58
+ readonly display: string;
59
+ /** Whether that figure goes under the bar — a change down, a total below zero — rather than over it. */
60
+ readonly below: boolean;
61
+ /** The change in full with its sign, `''` on a total. */
62
+ readonly changeText: string;
63
+ /** The running total after the step, in full. */
64
+ readonly totalText: string;
65
+ /** What the step announces. */
66
+ readonly name: string;
67
+ /** The level of the connector to the next step, as a percentage of the drawing's height, or `null` for none. */
68
+ readonly connector: number | null;
69
+ }
70
+ /**
71
+ * Waterfall chart: how a figure gets from one value to another, one change at a time — an
72
+ * opening balance, the revenue and costs that move it, the balance it closes on. HTML
73
+ * marks laid out by the stylesheet, no dependency.
74
+ *
75
+ * @example
76
+ * ```html
77
+ * <wr-waterfall-chart
78
+ * ariaLabel="Profit bridge, Q3"
79
+ * [steps]="[
80
+ * { label: 'Opening', value: 4200, total: true },
81
+ * { label: 'Sales', value: 1800 },
82
+ * { label: 'Refunds', value: -350 },
83
+ * { label: 'Payroll', value: -900 },
84
+ * { label: 'Closing', value: 4750, total: true }
85
+ * ]"
86
+ * />
87
+ * ```
88
+ *
89
+ * **The arithmetic is the chart's.** A change step floats between the running total
90
+ * before it and after it; a total step is a full bar from zero to the running total. A
91
+ * total's own `value` is checked rather than drawn, so the bars cannot disagree with each
92
+ * other: the closing bar ends exactly where the last change does, and in dev mode a
93
+ * `value` that says otherwise warns — the steps above it do not add up to the figure the
94
+ * host expected. The one total that is not checked is one before every change, where
95
+ * nothing has run yet: its value is where the running total starts. A change that is not
96
+ * a finite number counts as zero.
97
+ *
98
+ * **Colour is not the only channel.** An increase is `increaseColor`, a decrease
99
+ * `decreaseColor` and a total `totalColor` — success, danger and primary unless told
100
+ * otherwise — and each is also told apart without hue: a change runs UP or DOWN from the
101
+ * thin connector that carries the previous running total to it, and its figure is printed
102
+ * on the side it runs to, with its sign (`+1,800`, `−350`); a total stands on the zero
103
+ * line, its figure has no `+` and its label is set in a heavier weight. A change of zero
104
+ * — or of a value that is not a finite number — is neither: a hairline at the running
105
+ * total in the neutral `--wr-waterfall-chart-flat-color`, printed `0` with no sign, and
106
+ * classed `--flat` rather than as an increase.
107
+ *
108
+ * Those cues are the figures and the connectors, so turning BOTH `showValues` and
109
+ * `showConnectors` off leaves colour alone to tell a change up from a change down on
110
+ * screen: a +100 and a following −100 float over the same span. Each step's name and the
111
+ * data table still carry the change; keep one of the two on wherever the chart has to
112
+ * read without hue. On a narrow chart a figure too wide for its column is left out (see
113
+ * `showValues`), and there the connectors are the cue that stays.
114
+ *
115
+ * Every figure below zero is written with `−` (U+2212 MINUS SIGN) in front of its
116
+ * magnitude — a change, a running total, a total and a tick alike — so a name reads
117
+ * "Eq: −900, running total −600" with one sign, not Intl's hyphen beside the chart's minus.
118
+ *
119
+ * **What a screen reader gets.** The chart is a named `role="group"` of one `role="img"`
120
+ * per step, as the bar chart's columns are, each named with its change and the running
121
+ * total after it — "Refunds: −350, running total 5,650" — or, for a total, "Closing:
122
+ * total 4,750". `dataTable` adds the same figures as a table to walk cell by cell. The
123
+ * tooltip is pointer only, and no part of the chart is a tab stop.
124
+ *
125
+ * The value axis always includes zero, so a total is a bar from the zero line and a
126
+ * running total that goes negative hangs below it. Under RTL the steps run from the
127
+ * right, with the value axis at the inline start, as every part of the layout is logical.
128
+ * The gap between two bars is `--wr-waterfall-chart-gap`, held to a quarter of one step's
129
+ * share of the drawing, so a chart of many steps narrows its gaps with its bars rather
130
+ * than running out of room.
131
+ *
132
+ * @see https://ngwr.dev/charts/waterfall-chart
133
+ */
134
+ export declare class WrWaterfallChart {
135
+ /**
136
+ * The steps, in order. A step without `total` is a change to the running total; a step
137
+ * with it is a bar from zero showing the running total. See {@link WrWaterfallStep} for
138
+ * what a total's `value` does.
139
+ */
140
+ readonly steps: import("@angular/core").InputSignal<readonly WrWaterfallStep[]>;
141
+ /**
142
+ * Accessible name of the chart, and the data table's caption. Each step names itself, so
143
+ * say what the chart shows. Falls back to `waterfallChart.label` ("Waterfall chart").
144
+ */
145
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
146
+ protected readonly resolvedAriaLabel: import("@angular/core").Signal<string>;
147
+ /** The colour of a change up. Any CSS colour, `var(--wr-…)` included. @default 'var(--wr-color-success)' */
148
+ readonly increaseColor: import("@angular/core").InputSignal<string>;
149
+ /** The colour of a change down. Any CSS colour. @default 'var(--wr-color-danger)' */
150
+ readonly decreaseColor: import("@angular/core").InputSignal<string>;
151
+ /** The colour of a total. Any CSS colour. @default 'var(--wr-color-primary)' */
152
+ readonly totalColor: import("@angular/core").InputSignal<string>;
153
+ /** The plot's height in px, at least 80. @default 240 */
154
+ readonly height: import("@angular/core").InputSignalWithTransform<number, unknown>;
155
+ /** Show the gridlines and the value axis' tick labels. @default true */
156
+ readonly showGrid: import("@angular/core").InputSignalWithTransform<boolean, any>;
157
+ /**
158
+ * Print each step's figure past the end of its bar: a change with its sign, over the bar
159
+ * when it runs up and under it when it runs down, and a total with no `+`. Compact from
160
+ * a thousand up (`+1.2K`) by default; with `valueFormat`, whatever it writes for
161
+ * `'label'`, so a formatter can go compact here and stay exact everywhere else.
162
+ *
163
+ * A figure is printed whole or not at all: one wider than its column and a quarter of
164
+ * the gap on either side — which keeps it clear of its neighbours' — is left out rather
165
+ * than cut, since `+$1,…` is not a figure and `−$9…` reads as −$9. The tooltip, the
166
+ * names and the data table carry every figure in full.
167
+ *
168
+ * The sign is one of the two cues besides colour that tell a change up from a change
169
+ * down; the connectors are the other. Off together with `showConnectors`, colour is the
170
+ * only one left on screen. @default true
171
+ */
172
+ readonly showValues: import("@angular/core").InputSignalWithTransform<boolean, any>;
173
+ /**
174
+ * Draw the thin line that carries each running total across the gap to the next bar,
175
+ * which starts from it. None leads into a total that starts a running total of its own
176
+ * — one before every change, at a value the line would not meet.
177
+ *
178
+ * A change up leaves the line at its bottom and a change down at its top, so the line
179
+ * is one of the two cues besides colour that tell them apart; the signed figures are
180
+ * the other. Off together with `showValues`, colour is the only one left on screen.
181
+ * @default true
182
+ */
183
+ readonly showConnectors: import("@angular/core").InputSignalWithTransform<boolean, any>;
184
+ /**
185
+ * Show a tooltip with the step's change and the running total after it on hover. Pointer
186
+ * only — each step's accessible name already carries both. @default true
187
+ */
188
+ readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean, any>;
189
+ /**
190
+ * Render the chart's figures as a table only assistive technology reaches, beside the
191
+ * drawing: a row per step, headed by its label, with its change (empty on a total) and
192
+ * the running total after it, each written as the tooltip writes it.
193
+ *
194
+ * Each step's accessible name already carries both figures; the table is for a reader
195
+ * who wants to move through them cell by cell, with the column headings read out. It is
196
+ * clipped to nothing: it takes no room, draws nothing and holds no tab stop.
197
+ * @default false
198
+ */
199
+ readonly dataTable: import("@angular/core").InputSignalWithTransform<boolean, any>;
200
+ /**
201
+ * Writes every number the chart shows: the figures on the drawing, the axis ticks, the
202
+ * tooltip, the accessible names and the data table. Every figure is handed over as its
203
+ * MAGNITUDE, never below zero, and the chart writes the sign in front: `+` or `−`
204
+ * (U+2212 MINUS SIGN) on a change, `−` on a running total, a total or a tick below zero.
205
+ * So one formatter writes every figure, and one minus sign appears throughout.
206
+ *
207
+ * It is told where the figure goes (see {@link WrWaterfallValueContext}): `'label'` past
208
+ * a bar, where a compact form fits a narrow column; `'tick'` on the value axis; `'value'`
209
+ * in the tooltip, the names and the data table, which a reader goes to for the exact
210
+ * figure. A `(value) => string` written for another chart fits too, and writes all three
211
+ * alike. `null` uses `Intl.NumberFormat` in `LOCALE_ID`: compact past the bars from a
212
+ * thousand up, compact ticks (`1.2K`, `3.4M`) unless the full numbers are shorter, and
213
+ * the exact figure everywhere else.
214
+ */
215
+ readonly valueFormat: import("@angular/core").InputSignal<((value: number, context: WrWaterfallValueContext) => string) | null>;
216
+ /** The figures, the compact labels and the ticks, in `LOCALE_ID` unless `valueFormat` is given. */
217
+ private readonly numbers;
218
+ private readonly stepName;
219
+ private readonly changeName;
220
+ private readonly runningTotalName;
221
+ private readonly changeStepName;
222
+ private readonly totalStepName;
223
+ private readonly barEls;
224
+ constructor();
225
+ /**
226
+ * Every step with its arithmetic done. The running total starts at zero, and a total
227
+ * before every change sets it to its own value; a change moves it; a later total shows
228
+ * it and only checks its own value against it.
229
+ */
230
+ private readonly resolved;
231
+ /**
232
+ * The value axis, from `chartAxis` over every bar's two ends with zero always inside —
233
+ * a total stands on it — snapped outward to a readable step and lifted a step where the
234
+ * highest bar would end on the frame. With no step, the empty 0 to 1 frame.
235
+ */
236
+ protected readonly axis: import("@angular/core").Signal<import("ngwr/charts/core").WrChartAxis>;
237
+ /** Where zero is, as a percentage of the drawing's height from its bottom: the line every total stands on. */
238
+ protected readonly zero: import("@angular/core").Signal<number>;
239
+ /**
240
+ * The ticks, top to bottom: each value's label, and its gridline's distance from the
241
+ * drawing's top (for the label) and from its bottom (for the line).
242
+ */
243
+ protected readonly ticks: import("@angular/core").Signal<{
244
+ label: string;
245
+ bottom: number;
246
+ top: number;
247
+ }[]>;
248
+ /**
249
+ * The steps as drawn and announced: every figure written once, here, so the drawing, the
250
+ * names, the tooltip and the table cannot disagree.
251
+ */
252
+ protected readonly drawn: import("@angular/core").Signal<readonly DrawnStep[]>;
253
+ /**
254
+ * The figures for `dataTable`: the chart's name as the caption, a row per step headed by
255
+ * its label, and its change and the running total after it as the columns. A total has
256
+ * no change, so that cell is empty.
257
+ */
258
+ protected readonly tableData: import("@angular/core").Signal<WrChartTableData>;
259
+ /**
260
+ * One tooltip for the whole chart, for the step under the pointer: its swatch and label
261
+ * as the heading, then its change — a total has none — and the running total after it.
262
+ * It points at the top edge of the BAR rather than at the column, which is the full
263
+ * height of the plot; a change of zero keeps its hairline to point at, and no swatch,
264
+ * since its neutral paint says nothing. Each figure is isolated (see `isolate`), so a
265
+ * sign stays in front of its digits in an RTL document.
266
+ */
267
+ protected readonly tip: import("ngwr/popover").WrChartTooltip;
268
+ /** Where `value` sits on the axis, as a percentage of the drawing's height from its bottom. */
269
+ private level;
270
+ /** A change with its sign in front of its magnitude: `+` up, `−` down, and none for a change of zero. */
271
+ private signed;
272
+ /** A figure with `−` in front of its magnitude below zero and no sign otherwise: a running total, a total. */
273
+ private written;
274
+ static ɵfac: i0.ɵɵFactoryDeclaration<WrWaterfallChart, never>;
275
+ static ɵcmp: i0.ɵɵComponentDeclaration<WrWaterfallChart, "wr-waterfall-chart", never, {
276
+ "steps": {
277
+ "alias": "steps";
278
+ "required": false;
279
+ "isSignal": true;
280
+ };
281
+ "ariaLabel": {
282
+ "alias": "ariaLabel";
283
+ "required": false;
284
+ "isSignal": true;
285
+ };
286
+ "increaseColor": {
287
+ "alias": "increaseColor";
288
+ "required": false;
289
+ "isSignal": true;
290
+ };
291
+ "decreaseColor": {
292
+ "alias": "decreaseColor";
293
+ "required": false;
294
+ "isSignal": true;
295
+ };
296
+ "totalColor": {
297
+ "alias": "totalColor";
298
+ "required": false;
299
+ "isSignal": true;
300
+ };
301
+ "height": {
302
+ "alias": "height";
303
+ "required": false;
304
+ "isSignal": true;
305
+ };
306
+ "showGrid": {
307
+ "alias": "showGrid";
308
+ "required": false;
309
+ "isSignal": true;
310
+ };
311
+ "showValues": {
312
+ "alias": "showValues";
313
+ "required": false;
314
+ "isSignal": true;
315
+ };
316
+ "showConnectors": {
317
+ "alias": "showConnectors";
318
+ "required": false;
319
+ "isSignal": true;
320
+ };
321
+ "tooltip": {
322
+ "alias": "tooltip";
323
+ "required": false;
324
+ "isSignal": true;
325
+ };
326
+ "dataTable": {
327
+ "alias": "dataTable";
328
+ "required": false;
329
+ "isSignal": true;
330
+ };
331
+ "valueFormat": {
332
+ "alias": "valueFormat";
333
+ "required": false;
334
+ "isSignal": true;
335
+ };
336
+ }, {}, never, never, true, never>;
337
+ }
338
+ export type { WrWaterfallStep, WrWaterfallValueContext };
@@ -98,18 +98,6 @@ export declare function parseHex(input: string): WrRgb | null;
98
98
  * ```
99
99
  */
100
100
  export declare function toHex(rgb: WrRgb, withAlpha?: boolean): string;
101
- /**
102
- * Read a colour written in any format `<wr-color-picker>` can emit — hex,
103
- * `rgb()` / `rgba()`, `hsl()` / `hsla()` — or `null` when it is none of them.
104
- *
105
- * The picker emits in whichever format it was given, so a `[(value)]` binding
106
- * hands its own output straight back on the next external write. Accepting only
107
- * hex there (which is what it used to do) turned every non-hex value into black.
108
- *
109
- * `null` rather than a throw or a black fallback: the caller is often a text
110
- * field mid-typing, where "not valid yet" is the normal state.
111
- */
112
- declare function parseColor(input: string): WrRgb | null;
113
101
  /**
114
102
  * @license
115
103
  *
@@ -129,15 +117,6 @@ declare function parseColor(input: string): WrRgb | null;
129
117
  * `[(value)]` binding round-trips its own output.
130
118
  */
131
119
  type WrColorFormat = 'hex' | 'rgba' | 'hsla';
132
- /**
133
- * Render a colour in the format a `<wr-color-picker>` was asked for.
134
- *
135
- * `withAlpha` follows the picker's own `alpha` input, so each format has an
136
- * opaque and a translucent spelling — `#3969e2` / `#3969e2ff`,
137
- * `rgb(…)` / `rgba(…)`, `hsl(…)` / `hsla(…)` — and a picker with the alpha
138
- * slider turned off never emits a channel the caller cannot see or edit.
139
- */
140
- declare function formatColor(rgb: WrRgb, format: WrColorFormat, withAlpha: boolean): string;
141
120
  type Tab = 'hex' | 'rgb' | 'hsl';
142
121
  type Edges = 'sv' | 'hue' | 'alpha';
143
122
  /**
@@ -33,58 +33,6 @@ export declare class WrDropdownMenu {
33
33
  * Where the dropdown menu opens, relative to the trigger.
34
34
  */
35
35
  type WrDropdownPosition = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'right';
36
- /**
37
- * The CDK geometry for each placement — one position, no fallbacks.
38
- *
39
- * No `offsetX` / `offsetY`, unlike `wr-popover`'s table: the gap between the
40
- * trigger and the menu is PADDING on the pane (`.wr-dropdown-overlay--<placement>`),
41
- * so the pointer crossing it is still over the overlay and a `trigger="hover"`
42
- * menu does not close on the way in. It also means nothing here is
43
- * direction-dependent, which is why the directive needs no `wrMirrorOffsets`.
44
- *
45
- * @internal
46
- */
47
- declare const WR_DROPDOWN_POSITIONS: Record<WrDropdownPosition, ConnectedPosition>;
48
- /**
49
- * What each placement is allowed to flip to when it does not fit, best first.
50
- * The requested placement always leads, so a menu that fits never moves.
51
- *
52
- * The same chains as `wr-popover`'s, restricted to the eight placements a
53
- * dropdown offers — which needs no editing, since every link in those eight
54
- * chains is itself one of the eight. Alignment is kept down the chain, a
55
- * block-axis placement only flips to its opposite, and a side placement may
56
- * also fall below or above, because on a phone neither side of a mid-page
57
- * trigger has the room. Once it has, the directive drops the side links for as
58
- * long as the menu stays open — the gap changes axis with the placement, so a
59
- * pane is only measured correctly against links on one axis at a time.
60
- *
61
- * Each list used to hold ONE position. With `withPush(true)` and nothing to
62
- * fall back to, a menu that did not fit below its trigger was pushed back up
63
- * over it instead — measured in Chromium at 1280×700 with a `bottom-start`
64
- * trigger 40px above the fold: the menu's top landed at 626, inside the
65
- * trigger's 630–660 box, covering the control that opened it.
66
- *
67
- * @internal
68
- */
69
- declare const WR_DROPDOWN_FALLBACKS: Record<WrDropdownPosition, readonly WrDropdownPosition[]>;
70
- /**
71
- * The list `withPositions()` wants — the chain in `WR_DROPDOWN_FALLBACKS` order,
72
- * as fresh objects, so the directive can tell which link the CDK landed on by
73
- * the IDENTITY of the position it reports back.
74
- *
75
- * Deliberately untagged, and this is where the dropdown parts from `wr-popover`,
76
- * which puts each placement's class in the position's own `panelClass`. The CDK
77
- * takes those classes off the pane BEFORE it measures it for fit, and here the
78
- * class carries the gap, as padding — so a tagged list is measured without its
79
- * gap. A menu with less room than that gap was judged to fit and the flexible
80
- * bounding box squeezed it instead: measured in Chromium at 1280×700 with 2px to
81
- * spare below the trigger, the menu's box shrank from 74px to 68px and its last
82
- * row ran through the bottom border. The directive writes the class itself, which
83
- * the CDK leaves alone, so the pane is measured with the gap it will render with.
84
- *
85
- * @internal
86
- */
87
- declare function wrDropdownPositions(position: WrDropdownPosition): ConnectedPosition[];
88
36
  /**
89
37
  * @license
90
38
  *
@@ -1,8 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { Signal } from "@angular/core";
3
3
  import { FormValueControl } from "@angular/forms/signals";
4
- import { Mark, Schema } from "prosemirror-model";
5
- import { Command, EditorState, Plugin } from "prosemirror-state";
4
+ import "prosemirror-model";
5
+ import "prosemirror-state";
6
6
  import { WrFormFieldContext } from "ngwr/form";
7
7
  /**
8
8
  * @license
@@ -73,88 +73,6 @@ type WrEditorTool = 'bold' | 'italic' | 'underline' | 'strike' | 'code' | 'parag
73
73
  type WrEditorValue = WrEditorJson | null;
74
74
  /** Every tool but the separator. */
75
75
  type WrEditorCommandTool = Exclude<WrEditorTool, '|'>;
76
- /** A shortcut, always on the platform's primary modifier (⌘ on Apple, Ctrl elsewhere). */
77
- interface WrEditorShortcut {
78
- readonly key: string;
79
- readonly shift?: boolean;
80
- readonly alt?: boolean;
81
- }
82
- /**
83
- * The keyboard half of each tool — the keymap below binds exactly these, so a
84
- * hint can never name a shortcut that does nothing.
85
- *
86
- * Where a convention exists it is followed: Google Docs for the block types
87
- * (Mod-Alt-0…3, Mod-Shift-7/8), and Tiptap / Notion for the three it does not
88
- * cover (Mod-Shift-S strikethrough, Mod-E inline code, Mod-Shift-B quote,
89
- * Mod-Alt-C code block). The horizontal rule has none. Tab is deliberately not
90
- * bound — indenting with it would be a keyboard trap (WCAG 2.1.2), so list items
91
- * move with Mod-] and Mod-[ — and neither is Escape, which `<wr-dialog>` needs.
92
- *
93
- * Where a layout types `[` and `]` with AltGr or Option (German, French, the
94
- * Nordic and Polish layouts), the bracket chords are also read with that Alt
95
- * held — see {@link bracketKeys} — since nothing else indents a list item. The
96
- * Mod-Alt chords are NOT widened the same way: on Windows, Ctrl+Alt is AltGr, and
97
- * on those layouts AltGr+0 types `}` and AltGr+C types `ć`. Taking the chord by
98
- * physical key would make those characters impossible to type in the editor, so
99
- * there the key types its character and the toolbar sets the block type.
100
- */
101
- declare const SHORTCUTS: Readonly<Partial<Record<WrEditorCommandTool, WrEditorShortcut>>>;
102
- /**
103
- * The tools a click toggles — the ones that carry `aria-pressed`. Not `link`,
104
- * which opens a panel: a popup button that also claimed to be pressed would say
105
- * two contradictory things.
106
- */
107
- declare const TOGGLES: ReadonlySet<WrEditorCommandTool>;
108
- /** Whether a tool's state is "on" at the selection — what `aria-pressed` reports. */
109
- declare function toolActive(tool: WrEditorCommandTool, state: EditorState): boolean;
110
- /** What a tool does. */
111
- declare function toolCommand(tool: WrEditorCommandTool, schema: Schema): Command;
112
- /** Mod-Enter in a table: out of it, onto a new line below — what `exitCode` does for a code block. */
113
- declare const exitTable: Command;
114
- /**
115
- * The arrow key off the edge of a table nothing can be reached past: ArrowDown on
116
- * the last line of its last row with no text anywhere after it, ArrowUp on the
117
- * first line of its first row with none before. Anywhere else the key moves the
118
- * caret as it always does. Up and down only — left and right swap ends under
119
- * `dir="rtl"`, and the vertical pair means the same thing in both directions.
120
- */
121
- declare function leaveTable(side: 'before' | 'after'): Command;
122
- /**
123
- * The run of text carrying one link around the selection — the whole link, when
124
- * the caret merely sits in it — or `null` when there is none.
125
- */
126
- declare function linkRange(state: EditorState): {
127
- readonly from: number;
128
- readonly to: number;
129
- readonly mark: Mark;
130
- } | null;
131
- /**
132
- * Link the selection to `href` — replacing the link it sits in when the caret
133
- * is inside one, and inserting the address as its own text when nothing is
134
- * selected at all. `href` has already passed the URL policy.
135
- */
136
- declare function setLink(href: string): Command;
137
- /** Remove the link the selection is in or covers. */
138
- declare const removeLink: Command;
139
- /**
140
- * The editor's plugin stack, in precedence order: its own keys, history keys,
141
- * ProseMirror's base keymap, then history and the markdown-style input rules.
142
- *
143
- * `canEdit` is asked for every document-changing transaction, because
144
- * `view.dispatch()` does not consult `editable` — a toolbar click or a plugin
145
- * would otherwise change a read-only document. Outside writes never pass here:
146
- * they replace the state wholesale.
147
- *
148
- * The input rules are the block shortcuts only. The typographic ones (smart
149
- * quotes, the em dash, the ellipsis) are left out on purpose: in a form control
150
- * they silently rewrite what someone typed into a name, a code or a reference.
151
- */
152
- declare function editorPlugins(schema: Schema, options: {
153
- readonly apple: boolean;
154
- readonly canEdit: () => boolean;
155
- }): Plugin[];
156
- /** A shortcut in ProseMirror's key-name syntax. */
157
- declare function comboOf(shortcut: WrEditorShortcut): string;
158
76
  /**
159
77
  * The field the link panel's URL input belongs to — provided as `WR_FORM_FIELD`
160
78
  * for the editor's whole subtree.
@@ -51,20 +51,7 @@ interface WrI18nConfigResolved {
51
51
  * `LOCALE_ID` in an injection context. @internal
52
52
  */
53
53
  export declare const DEFAULT_WR_I18N_CONFIG: Omit<WrI18nConfigResolved, 'defaultLocale' | 'availableLocales'>;
54
- /**
55
- * Resolve the locale half of the config. Callable only from an injection
56
- * context, because the seed is `LOCALE_ID`. @internal
57
- */
58
- declare function resolveWrI18nLocales(config: WrI18nConfig): Pick<WrI18nConfigResolved, 'defaultLocale' | 'availableLocales'>;
59
54
  export declare const WR_I18N_CONFIG: InjectionToken<WrI18nConfigResolved>;
60
- /**
61
- * `{{name}}` interpolation. Missing params resolve to `''`. Exported so
62
- * helpers in `util.ts` can interpolate the fallback template when no
63
- * `WrI18n` provider is wired up.
64
- *
65
- * @internal
66
- */
67
- declare function wrInterpolate(template: string, params: WrI18nParams | undefined): string;
68
55
  /**
69
56
  * Reactive i18n service. Holds:
70
57
  *
@@ -446,8 +433,6 @@ export declare function useI18nText(binding: Signal<string | null | undefined>,
446
433
  * button beside it "Open calendar", off the same key.
447
434
  */
448
435
  export declare function readI18nText(key: string, fallback: string): Signal<string>;
449
- /** Tiny shim — useful when the caller doesn't have an `input` to forward. */
450
- declare function nullSignal(): Signal<null>;
451
436
  /**
452
437
  * Build a per-call formatter for parametrized labels (e.g. ARIA labels
453
438
  * that interpolate a per-row value: `"Remove {{label}}"`). Returns a
@@ -212,19 +212,6 @@ export declare class WrMention<T extends WrMentionItem = WrMentionItem> {
212
212
  "wrMentionSelected": "wrMentionSelected";
213
213
  }, never, never, true, never>;
214
214
  }
215
- /**
216
- * The id of the option at `index`, given the listbox's own id.
217
- *
218
- * Lives here, and is used from both sides, because this format is a contract
219
- * between two files: the panel stamps it onto each `<li>`, and the directive
220
- * names one of them in `aria-activedescendant`. Written out twice, the two would
221
- * drift and the reference would silently dangle — and a dangling
222
- * `aria-activedescendant` is not an error the browser reports, it just stops
223
- * announcing options.
224
- *
225
- * @internal
226
- */
227
- declare function wrMentionOptionId(listboxId: string, index: number): string;
228
215
  /**
229
216
  * Overlay panel rendered by {@link WrMention}. Not intended for
230
217
  * direct use — the directive instantiates it via a ComponentPortal.
@@ -2,39 +2,6 @@ import * as i0 from "@angular/core";
2
2
  import { WrClassInput } from "ngwr/utils";
3
3
  import { ConnectedPosition } from "@angular/cdk/overlay";
4
4
  type WrPopconfirmPosition = 'top' | 'bottom' | 'left' | 'right';
5
- /**
6
- * The CDK geometry for each placement — one position each. The 8px offset is
7
- * the gap between the trigger and the panel, the same one `wr-popover` keeps.
8
- *
9
- * @internal
10
- */
11
- declare const WR_POPCONFIRM_POSITIONS: Record<WrPopconfirmPosition, ConnectedPosition>;
12
- /**
13
- * What each placement may flip to when it does not fit, best first — the chains
14
- * `wr-popover` uses for the same four sides, for the same reasons. The requested
15
- * placement leads, so a panel that fits never moves; a side placement may also
16
- * fall below or above, because on a phone neither side of a mid-page trigger has
17
- * the room.
18
- *
19
- * Each list used to hold ONE position, with `withPush(true)` and nothing to fall
20
- * back to. A `top` panel opened 60px under the top of a 1440×900 viewport was
21
- * pushed back down over its own trigger, by 20px, and a `right` panel on a 390px
22
- * phone ran off the edge with its Confirm button clipped — the panel covering the
23
- * control it was asking about, while the docs said it flips.
24
- *
25
- * @internal
26
- */
27
- declare const WR_POPCONFIRM_FALLBACKS: Record<WrPopconfirmPosition, readonly WrPopconfirmPosition[]>;
28
- /**
29
- * The list `withPositions()` wants, every link tagged with the pane class of the
30
- * side it puts the panel on, so the arrow (`.wr-popconfirm-overlay--<side>`)
31
- * follows a flip. The CDK applies a position's own `panelClass` when it lands on
32
- * it and clears it on the next one; the gap is an offset rather than padding, so
33
- * taking the class off before it measures changes nothing.
34
- *
35
- * @internal
36
- */
37
- declare function wrPopconfirmPositions(position: WrPopconfirmPosition): ConnectedPosition[];
38
5
  export declare class WrPopconfirm {
39
6
  /** Confirmation message. */
40
7
  readonly message: import("@angular/core").InputSignal<string>;