ngwr 15.9.0 → 16.1.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 (455) hide show
  1. package/animations/aurora/styles/_index.scss +1 -1
  2. package/animations/blur-reveal/styles/_index.scss +1 -1
  3. package/animations/decode/styles/_index.scss +1 -1
  4. package/animations/dot-grid/styles/_index.scss +1 -1
  5. package/animations/flow-lines/styles/_index.scss +1 -1
  6. package/animations/fluid-cursor/styles/_index.scss +1 -1
  7. package/animations/{core → internal}/styles/_mixins.scss +1 -1
  8. package/animations/reveal/styles/_index.scss +1 -1
  9. package/animations/ripple-grid/styles/_index.scss +1 -1
  10. package/animations/rotate-reveal/styles/_index.scss +1 -1
  11. package/animations/thread-lines/styles/_index.scss +1 -1
  12. package/animations/typewriter/styles/_index.scss +1 -1
  13. package/badge/styles/_tag.scss +8 -4
  14. package/button/styles/_index.scss +13 -7
  15. package/cascader/styles/_rules.scss +4 -2
  16. package/checkbox/styles/_index.scss +4 -2
  17. package/copy-value/styles/_index.scss +104 -0
  18. package/date-picker/styles/_index.scss +121 -0
  19. package/date-stamp/styles/_index.scss +38 -0
  20. package/dialog/styles/_index.scss +38 -0
  21. package/fesm2022/{ngwr-animations-core.mjs → internal-BaQU4t_0.mjs} +6 -49
  22. package/fesm2022/internal-BaQU4t_0.mjs.map +1 -0
  23. package/fesm2022/internal-CVLvP9b_.mjs +33 -0
  24. package/fesm2022/internal-CVLvP9b_.mjs.map +1 -0
  25. package/fesm2022/ngwr-alert.mjs +13 -9
  26. package/fesm2022/ngwr-alert.mjs.map +1 -1
  27. package/fesm2022/ngwr-animations-aurora.mjs +21 -21
  28. package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
  29. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  30. package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
  31. package/fesm2022/ngwr-animations-click-sparks.mjs +2 -2
  32. package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
  33. package/fesm2022/ngwr-animations-confetti.mjs +5 -5
  34. package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
  35. package/fesm2022/ngwr-animations-decode.mjs +4 -4
  36. package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
  37. package/fesm2022/ngwr-animations-destruct.mjs +5 -5
  38. package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
  39. package/fesm2022/ngwr-animations-dot-grid.mjs +7 -7
  40. package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
  41. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  42. package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
  43. package/fesm2022/ngwr-animations-flow-lines.mjs +17 -17
  44. package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
  45. package/fesm2022/ngwr-animations-fluid-cursor.mjs +12 -12
  46. package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
  47. package/fesm2022/ngwr-animations-glitch.mjs +2 -2
  48. package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
  49. package/fesm2022/ngwr-animations-marquee.mjs +2 -2
  50. package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
  51. package/fesm2022/ngwr-animations-orbit.mjs +7 -7
  52. package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
  53. package/fesm2022/ngwr-animations-reveal.mjs +4 -4
  54. package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
  55. package/fesm2022/ngwr-animations-ripple-grid.mjs +5 -5
  56. package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
  57. package/fesm2022/ngwr-animations-rotate-reveal.mjs +4 -4
  58. package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
  59. package/fesm2022/ngwr-animations-shimmer.mjs +2 -2
  60. package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
  61. package/fesm2022/ngwr-animations-spotlight.mjs +1 -1
  62. package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
  63. package/fesm2022/ngwr-animations-thread-lines.mjs +16 -16
  64. package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
  65. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  66. package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
  67. package/fesm2022/ngwr-animations-typewriter.mjs +4 -4
  68. package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
  69. package/fesm2022/ngwr-avatar.mjs +14 -10
  70. package/fesm2022/ngwr-avatar.mjs.map +1 -1
  71. package/fesm2022/ngwr-back-top.mjs +10 -6
  72. package/fesm2022/ngwr-back-top.mjs.map +1 -1
  73. package/fesm2022/ngwr-badge.mjs +18 -6
  74. package/fesm2022/ngwr-badge.mjs.map +1 -1
  75. package/fesm2022/ngwr-burger.mjs +9 -6
  76. package/fesm2022/ngwr-burger.mjs.map +1 -1
  77. package/fesm2022/ngwr-button.mjs +8 -4
  78. package/fesm2022/ngwr-button.mjs.map +1 -1
  79. package/fesm2022/ngwr-calendar.mjs +19 -8
  80. package/fesm2022/ngwr-calendar.mjs.map +1 -1
  81. package/fesm2022/ngwr-card.mjs +9 -5
  82. package/fesm2022/ngwr-card.mjs.map +1 -1
  83. package/fesm2022/ngwr-cascader.mjs +54 -25
  84. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  85. package/fesm2022/ngwr-charts-bar-chart.mjs +13 -13
  86. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  87. package/fesm2022/ngwr-charts-boxplot-chart.mjs +9 -9
  88. package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
  89. package/fesm2022/ngwr-charts-bullet-chart.mjs +8 -8
  90. package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
  91. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +5 -2
  92. package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
  93. package/fesm2022/ngwr-charts-candlestick-chart.mjs +11 -11
  94. package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
  95. package/fesm2022/ngwr-charts-chart-legend.mjs +2 -2
  96. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  97. package/fesm2022/ngwr-charts-core.mjs +20 -20
  98. package/fesm2022/ngwr-charts-core.mjs.map +1 -1
  99. package/fesm2022/ngwr-charts-donut-chart.mjs +2 -2
  100. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  101. package/fesm2022/ngwr-charts-funnel-chart.mjs +6 -6
  102. package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
  103. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  104. package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
  105. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  106. package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
  107. package/fesm2022/ngwr-charts-line-chart.mjs +10 -10
  108. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  109. package/fesm2022/ngwr-charts-meter-group.mjs +2 -2
  110. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  111. package/fesm2022/ngwr-charts-radar-chart.mjs +11 -11
  112. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  113. package/fesm2022/ngwr-charts-scatter-chart.mjs +10 -10
  114. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  115. package/fesm2022/ngwr-charts-treemap-chart.mjs +4 -4
  116. package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
  117. package/fesm2022/ngwr-charts-waterfall-chart.mjs +7 -7
  118. package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
  119. package/fesm2022/ngwr-checkbox.mjs +12 -8
  120. package/fesm2022/ngwr-checkbox.mjs.map +1 -1
  121. package/fesm2022/ngwr-clipboard.mjs +2 -1
  122. package/fesm2022/ngwr-clipboard.mjs.map +1 -1
  123. package/fesm2022/ngwr-collapse.mjs +11 -7
  124. package/fesm2022/ngwr-collapse.mjs.map +1 -1
  125. package/fesm2022/ngwr-color-picker.mjs +56 -54
  126. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  127. package/fesm2022/ngwr-command-palette.mjs +4 -4
  128. package/fesm2022/ngwr-command-palette.mjs.map +1 -1
  129. package/fesm2022/ngwr-comment.mjs +15 -9
  130. package/fesm2022/ngwr-comment.mjs.map +1 -1
  131. package/fesm2022/ngwr-compare.mjs +15 -9
  132. package/fesm2022/ngwr-compare.mjs.map +1 -1
  133. package/fesm2022/ngwr-context-menu.mjs +8 -6
  134. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  135. package/fesm2022/ngwr-copy-value-testing.mjs +58 -0
  136. package/fesm2022/ngwr-copy-value-testing.mjs.map +1 -0
  137. package/fesm2022/ngwr-copy-value.mjs +201 -0
  138. package/fesm2022/ngwr-copy-value.mjs.map +1 -0
  139. package/fesm2022/ngwr-counter.mjs +3 -3
  140. package/fesm2022/ngwr-counter.mjs.map +1 -1
  141. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  142. package/fesm2022/ngwr-date-picker.mjs +303 -70
  143. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  144. package/fesm2022/ngwr-date-stamp-testing.mjs +34 -0
  145. package/fesm2022/ngwr-date-stamp-testing.mjs.map +1 -0
  146. package/fesm2022/ngwr-date-stamp.mjs +149 -0
  147. package/fesm2022/ngwr-date-stamp.mjs.map +1 -0
  148. package/fesm2022/ngwr-date.mjs +304 -53
  149. package/fesm2022/ngwr-date.mjs.map +1 -1
  150. package/fesm2022/ngwr-descriptions.mjs +9 -5
  151. package/fesm2022/ngwr-descriptions.mjs.map +1 -1
  152. package/fesm2022/ngwr-dialog-testing.mjs +23 -2
  153. package/fesm2022/ngwr-dialog-testing.mjs.map +1 -1
  154. package/fesm2022/ngwr-dialog.mjs +77 -19
  155. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  156. package/fesm2022/ngwr-directives.mjs +218 -12
  157. package/fesm2022/ngwr-directives.mjs.map +1 -1
  158. package/fesm2022/ngwr-divider.mjs +4 -2
  159. package/fesm2022/ngwr-divider.mjs.map +1 -1
  160. package/fesm2022/ngwr-drawer.mjs +32 -6
  161. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  162. package/fesm2022/ngwr-dropdown.mjs +17 -14
  163. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  164. package/fesm2022/ngwr-editor.mjs +33 -30
  165. package/fesm2022/ngwr-editor.mjs.map +1 -1
  166. package/fesm2022/ngwr-event-calendar.mjs +9 -7
  167. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  168. package/fesm2022/ngwr-file-upload.mjs +17 -11
  169. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  170. package/fesm2022/ngwr-form.mjs +18 -6
  171. package/fesm2022/ngwr-form.mjs.map +1 -1
  172. package/fesm2022/ngwr-graph.mjs +3 -3
  173. package/fesm2022/ngwr-graph.mjs.map +1 -1
  174. package/fesm2022/ngwr-hotkey.mjs +22 -22
  175. package/fesm2022/ngwr-hotkey.mjs.map +1 -1
  176. package/fesm2022/ngwr-i18n-ar.mjs +7 -0
  177. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  178. package/fesm2022/ngwr-i18n-cs.mjs +7 -0
  179. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  180. package/fesm2022/ngwr-i18n-de.mjs +7 -0
  181. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  182. package/fesm2022/ngwr-i18n-en.mjs +7 -0
  183. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  184. package/fesm2022/ngwr-i18n-es.mjs +7 -0
  185. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  186. package/fesm2022/ngwr-i18n-fr.mjs +7 -0
  187. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  188. package/fesm2022/ngwr-i18n-he.mjs +7 -0
  189. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  190. package/fesm2022/ngwr-i18n-hi.mjs +7 -0
  191. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  192. package/fesm2022/ngwr-i18n-id.mjs +7 -0
  193. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  194. package/fesm2022/ngwr-i18n-it.mjs +7 -0
  195. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  196. package/fesm2022/ngwr-i18n-ja.mjs +7 -0
  197. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  198. package/fesm2022/ngwr-i18n-ko.mjs +7 -0
  199. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  200. package/fesm2022/ngwr-i18n-nl.mjs +7 -0
  201. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  202. package/fesm2022/ngwr-i18n-pl.mjs +7 -0
  203. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  204. package/fesm2022/ngwr-i18n-pt.mjs +7 -0
  205. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  206. package/fesm2022/ngwr-i18n-ru.mjs +7 -0
  207. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  208. package/fesm2022/ngwr-i18n-sv.mjs +7 -0
  209. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  210. package/fesm2022/ngwr-i18n-tr.mjs +7 -0
  211. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  212. package/fesm2022/ngwr-i18n-uk.mjs +7 -0
  213. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  214. package/fesm2022/ngwr-i18n-vi.mjs +7 -0
  215. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  216. package/fesm2022/ngwr-i18n-zh-tw.mjs +7 -0
  217. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  218. package/fesm2022/ngwr-i18n-zh.mjs +7 -0
  219. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  220. package/fesm2022/ngwr-i18n.mjs +36 -10
  221. package/fesm2022/ngwr-i18n.mjs.map +1 -1
  222. package/fesm2022/ngwr-icon.mjs +5 -5
  223. package/fesm2022/ngwr-icon.mjs.map +1 -1
  224. package/fesm2022/ngwr-image-cropper.mjs +11 -11
  225. package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
  226. package/fesm2022/ngwr-input-number.mjs +13 -7
  227. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  228. package/fesm2022/ngwr-input-otp.mjs +6 -4
  229. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  230. package/fesm2022/ngwr-input.mjs +35 -25
  231. package/fesm2022/ngwr-input.mjs.map +1 -1
  232. package/fesm2022/ngwr-keyboard.mjs +37 -31
  233. package/fesm2022/ngwr-keyboard.mjs.map +1 -1
  234. package/fesm2022/ngwr-knob.mjs +13 -7
  235. package/fesm2022/ngwr-knob.mjs.map +1 -1
  236. package/fesm2022/ngwr-layout.mjs +13 -5
  237. package/fesm2022/ngwr-layout.mjs.map +1 -1
  238. package/fesm2022/ngwr-lightbox.mjs +11 -7
  239. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  240. package/fesm2022/ngwr-list.mjs +13 -5
  241. package/fesm2022/ngwr-list.mjs.map +1 -1
  242. package/fesm2022/ngwr-load-state.mjs +11 -7
  243. package/fesm2022/ngwr-load-state.mjs.map +1 -1
  244. package/fesm2022/ngwr-mention.mjs +6 -6
  245. package/fesm2022/ngwr-mention.mjs.map +1 -1
  246. package/fesm2022/ngwr-meta.mjs +19 -3
  247. package/fesm2022/ngwr-meta.mjs.map +1 -1
  248. package/fesm2022/ngwr-overlay.mjs +87 -4
  249. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  250. package/fesm2022/ngwr-pagination.mjs +10 -7
  251. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  252. package/fesm2022/ngwr-pipes.mjs +22 -8
  253. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  254. package/fesm2022/ngwr-platform.mjs +4 -1
  255. package/fesm2022/ngwr-platform.mjs.map +1 -1
  256. package/fesm2022/ngwr-popconfirm.mjs +6 -5
  257. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  258. package/fesm2022/ngwr-popover.mjs +124 -34
  259. package/fesm2022/ngwr-popover.mjs.map +1 -1
  260. package/fesm2022/ngwr-progress.mjs +4 -2
  261. package/fesm2022/ngwr-progress.mjs.map +1 -1
  262. package/fesm2022/ngwr-pull-to-refresh.mjs +2 -2
  263. package/fesm2022/ngwr-pull-to-refresh.mjs.map +1 -1
  264. package/fesm2022/ngwr-qr.mjs +6 -6
  265. package/fesm2022/ngwr-qr.mjs.map +1 -1
  266. package/fesm2022/ngwr-radio.mjs +12 -8
  267. package/fesm2022/ngwr-radio.mjs.map +1 -1
  268. package/fesm2022/ngwr-rating.mjs +19 -13
  269. package/fesm2022/ngwr-rating.mjs.map +1 -1
  270. package/fesm2022/ngwr-resizable.mjs +503 -0
  271. package/fesm2022/ngwr-resizable.mjs.map +1 -0
  272. package/fesm2022/ngwr-result.mjs +9 -5
  273. package/fesm2022/ngwr-result.mjs.map +1 -1
  274. package/fesm2022/ngwr-schema-form.mjs +15 -5
  275. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  276. package/fesm2022/ngwr-segmented.mjs +4 -2
  277. package/fesm2022/ngwr-segmented.mjs.map +1 -1
  278. package/fesm2022/ngwr-select.mjs +70 -39
  279. package/fesm2022/ngwr-select.mjs.map +1 -1
  280. package/fesm2022/ngwr-sidebar.mjs +3 -3
  281. package/fesm2022/ngwr-sidebar.mjs.map +1 -1
  282. package/fesm2022/ngwr-skeleton.mjs +6 -4
  283. package/fesm2022/ngwr-skeleton.mjs.map +1 -1
  284. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  285. package/fesm2022/ngwr-slider.mjs +17 -15
  286. package/fesm2022/ngwr-slider.mjs.map +1 -1
  287. package/fesm2022/ngwr-sortable-list.mjs +3 -3
  288. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  289. package/fesm2022/ngwr-speed-dial.mjs +4 -2
  290. package/fesm2022/ngwr-speed-dial.mjs.map +1 -1
  291. package/fesm2022/ngwr-spinner.mjs +4 -2
  292. package/fesm2022/ngwr-spinner.mjs.map +1 -1
  293. package/fesm2022/ngwr-splitter.mjs +21 -25
  294. package/fesm2022/ngwr-splitter.mjs.map +1 -1
  295. package/fesm2022/ngwr-statistic.mjs +5 -3
  296. package/fesm2022/ngwr-statistic.mjs.map +1 -1
  297. package/fesm2022/ngwr-stepper.mjs +9 -3
  298. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  299. package/fesm2022/ngwr-storage.mjs +6 -4
  300. package/fesm2022/ngwr-storage.mjs.map +1 -1
  301. package/fesm2022/ngwr-switch.mjs +11 -7
  302. package/fesm2022/ngwr-switch.mjs.map +1 -1
  303. package/fesm2022/ngwr-table-testing.mjs +5 -1
  304. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  305. package/fesm2022/ngwr-table.mjs +396 -35
  306. package/fesm2022/ngwr-table.mjs.map +1 -1
  307. package/fesm2022/ngwr-tabs.mjs +2 -2
  308. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  309. package/fesm2022/ngwr-textarea.mjs +9 -3
  310. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  311. package/fesm2022/ngwr-timeline.mjs +18 -8
  312. package/fesm2022/ngwr-timeline.mjs.map +1 -1
  313. package/fesm2022/ngwr-toast-testing.mjs +14 -2
  314. package/fesm2022/ngwr-toast-testing.mjs.map +1 -1
  315. package/fesm2022/ngwr-toast.mjs +588 -120
  316. package/fesm2022/ngwr-toast.mjs.map +1 -1
  317. package/fesm2022/ngwr-tour.mjs +7 -7
  318. package/fesm2022/ngwr-tour.mjs.map +1 -1
  319. package/fesm2022/ngwr-transfer.mjs +24 -11
  320. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  321. package/fesm2022/ngwr-tree.mjs +68 -26
  322. package/fesm2022/ngwr-tree.mjs.map +1 -1
  323. package/fesm2022/ngwr-typography.mjs +9 -3
  324. package/fesm2022/ngwr-typography.mjs.map +1 -1
  325. package/fesm2022/ngwr-utils-router.mjs +18 -2
  326. package/fesm2022/ngwr-utils-router.mjs.map +1 -1
  327. package/fesm2022/ngwr-utils.mjs +106 -56
  328. package/fesm2022/ngwr-utils.mjs.map +1 -1
  329. package/fesm2022/ngwr-validators.mjs +2 -2
  330. package/fesm2022/ngwr-validators.mjs.map +1 -1
  331. package/fesm2022/ngwr-version.mjs +1 -1
  332. package/fesm2022/ngwr-version.mjs.map +1 -1
  333. package/fesm2022/ngwr-window.mjs +33 -30
  334. package/fesm2022/ngwr-window.mjs.map +1 -1
  335. package/fesm2022/ngwr.mjs.map +1 -1
  336. package/i18n/ar.json +11 -0
  337. package/i18n/cs.json +11 -0
  338. package/i18n/de.json +11 -0
  339. package/i18n/en.json +11 -0
  340. package/i18n/es.json +11 -0
  341. package/i18n/fr.json +11 -0
  342. package/i18n/he.json +11 -0
  343. package/i18n/hi.json +11 -0
  344. package/i18n/id.json +11 -0
  345. package/i18n/it.json +11 -0
  346. package/i18n/ja.json +11 -0
  347. package/i18n/ko.json +11 -0
  348. package/i18n/nl.json +11 -0
  349. package/i18n/pl.json +11 -0
  350. package/i18n/pt.json +11 -0
  351. package/i18n/ru.json +11 -0
  352. package/i18n/sv.json +11 -0
  353. package/i18n/tr.json +11 -0
  354. package/i18n/uk.json +11 -0
  355. package/i18n/vi.json +11 -0
  356. package/i18n/zh-TW.json +11 -0
  357. package/i18n/zh.json +11 -0
  358. package/input/styles/_index.scss +10 -5
  359. package/input-number/styles/_index.scss +12 -3
  360. package/input-otp/styles/_index.scss +4 -2
  361. package/llms-full.txt +54 -23
  362. package/llms.txt +45 -23
  363. package/mcp/providers.js +1 -1
  364. package/package.json +29 -10
  365. package/radio/styles/_index.scss +4 -2
  366. package/resizable/styles/_index.scss +154 -0
  367. package/schematics/icon-set/index.js +3 -3
  368. package/schematics/migrations/v16/index.js +742 -0
  369. package/schematics/migrations.json +5 -0
  370. package/schematics/ng-add/index.js +4 -4
  371. package/schematics/provider/index.js +4 -4
  372. package/schematics/use/rule.js +1 -0
  373. package/schematics/use/symbol-map.json +6 -0
  374. package/select/styles/_index.scss +7 -4
  375. package/skills/ngwr/SKILL.md +6 -4
  376. package/skills/ngwr/references/catalog.md +8 -3
  377. package/skills/ngwr/references/setup.md +13 -9
  378. package/switch/styles/_index.scss +4 -2
  379. package/table/styles/_index.scss +138 -29
  380. package/textarea/styles/_index.scss +4 -2
  381. package/theme/styles/_motion.scss +6 -0
  382. package/toast/styles/_index.scss +49 -0
  383. package/tree/styles/_index.scss +17 -0
  384. package/types/index-CXbgza47.d.ts +13 -0
  385. package/types/ngwr-animations-aurora.d.ts +1 -1
  386. package/types/ngwr-animations-blur-reveal.d.ts +2 -2
  387. package/types/ngwr-animations-dot-grid.d.ts +1 -2
  388. package/types/ngwr-animations-flow-lines.d.ts +1 -1
  389. package/types/ngwr-animations-fluid-cursor.d.ts +1 -1
  390. package/types/ngwr-animations-reveal.d.ts +4 -8
  391. package/types/ngwr-animations-ripple-grid.d.ts +1 -1
  392. package/types/ngwr-animations-spotlight.d.ts +1 -1
  393. package/types/ngwr-animations-thread-lines.d.ts +1 -1
  394. package/types/ngwr-animations-tilt.d.ts +1 -1
  395. package/types/ngwr-avatar.d.ts +2 -2
  396. package/types/ngwr-badge.d.ts +1 -1
  397. package/types/ngwr-burger.d.ts +0 -1
  398. package/types/ngwr-calendar.d.ts +7 -0
  399. package/types/ngwr-cascader.d.ts +12 -1
  400. package/types/ngwr-charts-boxplot-chart.d.ts +1 -1
  401. package/types/ngwr-charts-bullet-chart.d.ts +2 -2
  402. package/types/ngwr-charts-calendar-heatmap.d.ts +2 -1
  403. package/types/ngwr-charts-candlestick-chart.d.ts +1 -1
  404. package/types/ngwr-charts-core.d.ts +12 -12
  405. package/types/ngwr-charts-line-chart.d.ts +2 -2
  406. package/types/ngwr-charts-radar-chart.d.ts +1 -1
  407. package/types/ngwr-charts-scatter-chart.d.ts +2 -2
  408. package/types/ngwr-charts-waterfall-chart.d.ts +1 -1
  409. package/types/ngwr-clipboard.d.ts +7 -0
  410. package/types/ngwr-color-picker.d.ts +12 -12
  411. package/types/ngwr-copy-value-testing.d.ts +87 -0
  412. package/types/ngwr-copy-value.d.ts +95 -0
  413. package/types/ngwr-date-picker-testing.d.ts +3 -3
  414. package/types/ngwr-date-picker.d.ts +106 -3
  415. package/types/ngwr-date-stamp-testing.d.ts +47 -0
  416. package/types/ngwr-date-stamp.d.ts +81 -0
  417. package/types/ngwr-date.d.ts +179 -27
  418. package/types/ngwr-dialog-testing.d.ts +10 -0
  419. package/types/ngwr-dialog.d.ts +120 -5
  420. package/types/ngwr-directives.d.ts +76 -1
  421. package/types/ngwr-drawer.d.ts +22 -1
  422. package/types/ngwr-dropdown.d.ts +3 -2
  423. package/types/ngwr-hotkey.d.ts +5 -5
  424. package/types/ngwr-i18n.d.ts +47 -17
  425. package/types/ngwr-icon.d.ts +26 -26
  426. package/types/ngwr-input-number.d.ts +2 -2
  427. package/types/ngwr-input.d.ts +8 -8
  428. package/types/ngwr-load-state.d.ts +6 -6
  429. package/types/ngwr-meta.d.ts +18 -0
  430. package/types/ngwr-overlay.d.ts +36 -0
  431. package/types/ngwr-pipes.d.ts +21 -4
  432. package/types/ngwr-platform.d.ts +2 -1
  433. package/types/ngwr-popconfirm.d.ts +3 -2
  434. package/types/ngwr-popover.d.ts +43 -4
  435. package/types/ngwr-resizable.d.ts +228 -0
  436. package/types/ngwr-select.d.ts +33 -18
  437. package/types/ngwr-slider-testing.d.ts +2 -2
  438. package/types/ngwr-slider.d.ts +3 -3
  439. package/types/ngwr-statistic.d.ts +5 -1
  440. package/types/ngwr-storage.d.ts +1 -1
  441. package/types/ngwr-table-testing.d.ts +5 -2
  442. package/types/ngwr-table.d.ts +255 -14
  443. package/types/ngwr-tabs.d.ts +10 -2
  444. package/types/ngwr-toast-testing.d.ts +18 -3
  445. package/types/ngwr-toast.d.ts +248 -23
  446. package/types/ngwr-transfer.d.ts +5 -0
  447. package/types/ngwr-tree.d.ts +22 -2
  448. package/types/ngwr-utils-router.d.ts +22 -0
  449. package/types/ngwr-utils.d.ts +165 -83
  450. package/types/ngwr-validators.d.ts +4 -2
  451. package/types/ngwr-version.d.ts +1 -1
  452. package/types/ngwr.d.ts +2 -0
  453. package/types/pointer-tracker-D7fXxLQL.d.ts +24 -0
  454. package/fesm2022/ngwr-animations-core.mjs.map +0 -1
  455. package/types/ngwr-animations-core.d.ts +0 -294
@@ -35,6 +35,11 @@
35
35
  "version": "15.0.0",
36
36
  "description": "Rewrites what means the same in its new place: the seven chart paths from ngwr/<name> to ngwr/charts/<name> and the twenty-one bit paths to ngwr/bits/<name>, ngwr/drag-drop to ngwr/sortable-list and ngwr/icon/adapters/lucide to ngwr/icon (TypeScript, @use, /testing and JSON); provideWrDensity(), provideWrToastConfig(), provideWrStorage(), provideWrMeta(), provideWrDateAdapter() and provideWrTheme() in a providers array into one provideWr(...) call with withDensity(), withToast(), withStorage(), withMeta(), withDates() and withTheme(), imports included (a bare provideWrDateAdapter() is deleted); rgba(var(--wr-color-<name>-rgb), a) to color-mix(in srgb, var(--wr-color-<name>) a%, transparent); the neutral token reads --wr-color-light and --wr-color-outline to --wr-border-base, --wr-color-border* to --wr-border-subtle, --wr-color-dark and --wr-color-white-contrast to --wr-color-on-surface, --wr-color-medium and --wr-color-muted-text to --wr-color-on-surface-muted; [wrTypography] tone dark/medium to base/muted and <wr-timeline-item color=\"medium\"> to neutral, with their classes. Reports, by file and line, what needs a decision: @use 'ngwr', a density setting with no density sheet, a removed intent (secondary, light, medium, dark) as a colour, class, token, shade or $base-colors key, [data-theme] and theme.dark, a -rgb read or a removed token declaration it could not rewrite, a provider call it could not move, provideWrOverlay (delete it), ngwr/config, ngwr/media, the responsive bottom sheets, ngwr/markdown and <wr-editor format>, ngwr/action-sheet, ngwr/squircle, <wr-drawer showHandle>, the date-fns, Luxon and Feather adapters, the sortable list's loop, provideWrFormErrors and the validation copy ngwr no longer ships, the sidebar's new shape and the keyboard inset. Touches .ts, .html, .scss, .sass, .css and .json files.",
37
37
  "factory": "./migrations/v15/index#default"
38
+ },
39
+ "migration-v16": {
40
+ "version": "16.0.0",
41
+ "description": "Renames the functions, constants and types that v16 gave the library prefix, as imports from ngwr/utils, ngwr/color-picker, ngwr/icon, ngwr/date, ngwr/hotkey, ngwr/i18n, ngwr/storage, ngwr/toast and ngwr/charts/core and at every use of the binding in the file: a function takes wr and a capital (clamp to wrClamp, isDefined to wrIsDefined, lucideIcons to wrLucideIcons), a constant WR_ (KEYS to WR_KEYS, CHART_PALETTE to WR_CHART_PALETTE, DEFAULT_TOAST_CONFIG to DEFAULT_WR_TOAST_CONFIG), a type Wr (Maybe to WrMaybe). An aliased import keeps its alias, a re-export and a shorthand property keep the app's own name, and a namespace member (utils.clamp) is renamed too. Uses are matched by binding, so a same-named identifier that is not the ngwr import (debounce from rxjs, a local clamp) is left alone. Renames the inputs and options that changed name, each only where the place says whose it is: showLabel to showValue on <wr-slider>, showLabel and hideLabel to showPasswordLabel and hidePasswordLabel on <wr-password-toggle> (the attribute and the binding, in templates and inline templates), and the toast option dismissible to closable in the argument of show() on a WrToast and in an object typed as WrToastOptions. Renames isDismissible() to isClosable() on a WrToastHarness the file got from getHarness(), getAllHarnesses() or harnessForFixture(), or typed as one. Reports, by file and line, an import of ngwr/animations/core, which is no longer an entry point, a mock factory or dynamic import() of an entry point with renamed exports, a dismissible it could not place in a file that uses the toast, an isDismissible() call it could not tie to the harness in a file that imports WrToastHarness, and isOpen.set() or isOpen.update() on a popover, a dropdown or a popconfirm, whose isOpen is read-only now (call open() or close()). Touches .ts and .html files.",
42
+ "factory": "./migrations/v16/index#default"
38
43
  }
39
44
  }
40
45
  }
@@ -15,7 +15,7 @@ const global_styles_1 = require("../utility/global-styles");
15
15
  * Base peers, regardless of prompt answers.
16
16
  *
17
17
  * `lucide` is here because the bootstrap snippet this schematic prints registers
18
- * icons through `lucideIcons()`, which converts glyphs the app imports from
18
+ * icons through `wrLucideIcons()`, which converts glyphs the app imports from
19
19
  * `lucide` itself — leaving it out made the very first snippet a consumer pastes
20
20
  * fail to resolve.
21
21
  *
@@ -193,10 +193,10 @@ function printNextSteps(options, context) {
193
193
  }
194
194
  // `ngwr/icon` ships no icons — there are no bare icon exports, so the old
195
195
  // `{ plus, trash }` import did not compile. Glyphs come from the app's own
196
- // icon package, through `lucideIcons()` for lucide or `svgIcon()` for a set
196
+ // icon package, through `wrLucideIcons()` for lucide or `wrSvgIcon()` for a set
197
197
  // that ships SVG.
198
- imports.push("import { provideWrIcons, lucideIcons } from 'ngwr/icon';", "import { Plus, Trash2 } from 'lucide';");
199
- providers.push('provideWrIcons(lucideIcons({ plus: Plus, trash: Trash2 }))');
198
+ imports.push("import { provideWrIcons, wrLucideIcons } from 'ngwr/icon';", "import { Plus, Trash2 } from 'lucide';");
199
+ providers.push('provideWrIcons(wrLucideIcons({ plus: Plus, trash: Trash2 }))');
200
200
  const importBlock = imports.join('\n');
201
201
  const providerBlock = providers.map(p => ` ${p},`).join('\n');
202
202
  // `withDensity()` in the snippet reads nothing without the density sheet,
@@ -24,13 +24,13 @@ const PROVIDE_WR = 'provideWr';
24
24
  const PROVIDERS = {
25
25
  icons: {
26
26
  // `ngwr/icon` ships no icons — there are no bare icon exports. The glyphs
27
- // come from the app's own `lucide` install through `lucideIcons()`, exactly
27
+ // come from the app's own `lucide` install through `wrLucideIcons()`, exactly
28
28
  // as `ng add` wires them.
29
29
  subpath: 'ngwr/icon',
30
30
  factory: 'provideWrIcons',
31
- call: 'provideWrIcons(lucideIcons({ plus: Plus, trash: Trash2 }))',
31
+ call: 'provideWrIcons(wrLucideIcons({ plus: Plus, trash: Trash2 }))',
32
32
  extras: [
33
- ['lucideIcons', 'ngwr/icon'],
33
+ ['wrLucideIcons', 'ngwr/icon'],
34
34
  ['Plus, Trash2', 'lucide'],
35
35
  ],
36
36
  },
@@ -346,7 +346,7 @@ function printSnippet(spec) {
346
346
  // user gets — it has to include `extras`, or the printed code references symbols
347
347
  // it never imports. That was exactly the gap `extras` was declared to close.
348
348
  // Grouped by module, so an extra from the factory's own entry point
349
- // (`lucideIcons` beside `provideWrIcons`) joins its line rather than
349
+ // (`wrLucideIcons` beside `provideWrIcons`) joins its line rather than
350
350
  // printing a second import of `ngwr/icon` — the shape `ensureImport` writes.
351
351
  const bySubpath = new Map();
352
352
  if (spec.feature)
@@ -48,6 +48,7 @@ const NON_DECLARABLE = {
48
48
  WrNativeDateAdapter: 'a service',
49
49
  WrOutsideClick: 'a service',
50
50
  WrOverlayContainer: 'a service',
51
+ WrOverlayOrder: 'a service',
51
52
  WrPlatform: 'a service',
52
53
  WrScroll: 'a service',
53
54
  WrStorage: 'a service',
@@ -75,12 +75,14 @@
75
75
  "WrContextMenuItem": "ngwr/context-menu",
76
76
  "WrContextMenuDivider": "ngwr/context-menu",
77
77
  "WrCookie": "ngwr/cookie",
78
+ "WrCopyValue": "ngwr/copy-value",
78
79
  "WrCounter": "ngwr/counter",
79
80
  "WrCountUp": "ngwr/counter",
80
81
  "WrDateAdapter": "ngwr/date",
81
82
  "WrNativeDateAdapter": "ngwr/date",
82
83
  "WrDatePicker": "ngwr/date-picker",
83
84
  "WrDateRangePicker": "ngwr/date-picker",
85
+ "WrDateStamp": "ngwr/date-stamp",
84
86
  "WrDensity": "ngwr/density",
85
87
  "WrDensityDirective": "ngwr/density",
86
88
  "WrDescriptions": "ngwr/descriptions",
@@ -95,6 +97,7 @@
95
97
  "WrAutosize": "ngwr/directives",
96
98
  "WrClickOutside": "ngwr/directives",
97
99
  "WrCopyToClipboard": "ngwr/directives",
100
+ "WrFitText": "ngwr/directives",
98
101
  "WrDivider": "ngwr/divider",
99
102
  "WrDrawer": "ngwr/drawer",
100
103
  "WrDrawerManager": "ngwr/drawer",
@@ -155,6 +158,7 @@
155
158
  "WrMetaBinding": "ngwr/meta",
156
159
  "WrOutsideClick": "ngwr/overlay",
157
160
  "WrOverlayContainer": "ngwr/overlay",
161
+ "WrOverlayOrder": "ngwr/overlay",
158
162
  "WrPageHeader": "ngwr/page-header",
159
163
  "WrPagination": "ngwr/pagination",
160
164
  "WrBytes": "ngwr/pipes",
@@ -177,6 +181,7 @@
177
181
  "WrRadio": "ngwr/radio",
178
182
  "WrRadioGroup": "ngwr/radio",
179
183
  "WrRating": "ngwr/rating",
184
+ "WrResizable": "ngwr/resizable",
180
185
  "WrResult": "ngwr/result",
181
186
  "WrResult404": "ngwr/result",
182
187
  "WrResult403": "ngwr/result",
@@ -219,6 +224,7 @@
219
224
  "WrTimeline": "ngwr/timeline",
220
225
  "WrTimelineItem": "ngwr/timeline",
221
226
  "WrToast": "ngwr/toast",
227
+ "WrToastOutlet": "ngwr/toast",
222
228
  "WrToastRef": "ngwr/toast",
223
229
  "WrToolbar": "ngwr/toolbar",
224
230
  "WrTour": "ngwr/tour",
@@ -73,7 +73,8 @@
73
73
  // Sizes — share the `--wr-control-*` contract (22 / 30 / 36 px). Multi/tag
74
74
  // min-height and the search/tag inputs all read these vars, so every mode
75
75
  // tracks the size. Declared before `--rounded` so the pill modifier wins.
76
- &--sm {
76
+ &--sm,
77
+ &:where([size='sm']) {
77
78
  --wr-select-radius: var(--wr-control-radius-sm);
78
79
  --wr-select-padding-y: var(--wr-control-padding-y-sm);
79
80
  --wr-select-padding-x: var(--wr-control-padding-x-sm);
@@ -81,7 +82,8 @@
81
82
  --wr-select-line-height: var(--wr-control-line-height-sm);
82
83
  }
83
84
 
84
- &--lg {
85
+ &--lg,
86
+ &:where([size='lg']) {
85
87
  --wr-select-radius: var(--wr-control-radius-lg);
86
88
  --wr-select-padding-y: var(--wr-control-padding-y-lg);
87
89
  --wr-select-padding-x: var(--wr-control-padding-x-lg);
@@ -89,7 +91,8 @@
89
91
  --wr-select-line-height: var(--wr-control-line-height-lg);
90
92
  }
91
93
 
92
- &--rounded {
94
+ &--rounded,
95
+ &:where([rounded]:not([rounded='false'])) {
93
96
  --wr-select-radius: var(--wr-border-radius-pill);
94
97
  --wr-select-padding-x: var(--wr-space-lg);
95
98
 
@@ -575,7 +578,7 @@
575
578
  }
576
579
  }
577
580
 
578
- // --- Virtual scroll (search-mode data-array path) ---------------------------
581
+ // --- Virtual scroll (data-array path) ---------------------------------------
579
582
  .wr-select-panel--virtual {
580
583
  // The inner `__vlist` owns scrolling; the panel must not add a second scroll
581
584
  // container or cap height, and the flex `gap` would drift the fixed-offset
@@ -5,7 +5,7 @@ description: Build Angular UIs with the ngwr component library (standalone, sign
5
5
 
6
6
  # ngwr
7
7
 
8
- An Angular 22 UI library: 229 tree-shakable entry points, 125 of them shipping a selector.
8
+ An Angular 22 UI library: 233 tree-shakable entry points, 129 of them shipping a selector.
9
9
  Standalone, signals-first, zoneless, `ViewEncapsulation.None`. No runtime
10
10
  dependencies.
11
11
 
@@ -44,10 +44,12 @@ guess gets backwards.
44
44
  `provideWrConfig()`, `provideWrOverlay()` or `provideWrDateAdapter()`:
45
45
  overlays and dates need no provider, and a `size` or `rounded` default is
46
46
  bound on the input.
47
- - **Code written for v14 or older: run `ng update ngwr`.** It runs
47
+ - **Code written for v15 or older: run `ng update ngwr`.** It runs
48
48
  `migration-v15`, which rewrites the paths, the provider calls, the `-rgb`
49
49
  reads and the renamed token reads, and lists by file and line what needs a
50
- decision. https://ngwr.dev/docs/migration lists every change.
50
+ decision, then `migration-v16`, which renames the exports that had no
51
+ prefix: `clamp` is `wrClamp`, `KEYS` is `WR_KEYS`, `Maybe` is
52
+ `WrMaybe`. https://ngwr.dev/docs/migration lists every change.
51
53
  - **The selector is not always the entry point name.** The button is
52
54
  `wr-btn`, not `wr-button`. Check `references/catalog.md` before writing a tag.
53
55
  - **Check for a MODE before reaching for another component.** The catalog is
@@ -134,7 +136,7 @@ the `imports` entry would not — `inject()` it instead.
134
136
  Each of these compiles fine and then does nothing, with no error naming the
135
137
  cause.
136
138
 
137
- - `provideWrIcons(lucideIcons({ … })) // from 'ngwr/icon'`
139
+ - `provideWrIcons(wrLucideIcons({ … })) // from 'ngwr/icon'`
138
140
  — icons resolve by name from a registry you populate
139
141
  — needed by: `WrIcon`
140
142
  - `provideWrLoadingBarRouter() // from 'ngwr/loading-bar/router'`
@@ -95,15 +95,19 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
95
95
  | `ngwr/context-menu` | `import { WrContextMenu } from 'ngwr/context-menu'` | `wr-context-menu-divider` `wr-context-menu-item` `wr-context-menu` `[wrContextMenu]` |
96
96
  | `ngwr/context-menu/testing` | `import { WrContextMenuHarness } from 'ngwr/context-menu/testing'` | — |
97
97
  | `ngwr/cookie` | `import { WrCookie } from 'ngwr/cookie'` | — |
98
+ | `ngwr/copy-value` | `import { WrCopyValue } from 'ngwr/copy-value'` | `wr-copy-value` |
99
+ | `ngwr/copy-value/testing` | `import { WrCopyValueHarness } from 'ngwr/copy-value/testing'` | — |
98
100
  | `ngwr/counter` | `import { WrCounter } from 'ngwr/counter'` | `wr-count-up` `wr-counter` |
99
101
  | `ngwr/date` | `import { WrDateAdapter } from 'ngwr/date'` | — |
100
102
  | `ngwr/date-picker` | `import { WrDatePicker } from 'ngwr/date-picker'` | `wr-date-picker` `wr-date-range-picker` |
101
103
  | `ngwr/date-picker/testing` | `import { WrDatePickerDayHarness } from 'ngwr/date-picker/testing'` | — |
104
+ | `ngwr/date-stamp` | `import { WrDateStamp } from 'ngwr/date-stamp'` | `wr-date-stamp` |
105
+ | `ngwr/date-stamp/testing` | `import { WrDateStampHarness } from 'ngwr/date-stamp/testing'` | — |
102
106
  | `ngwr/density` | `import { WrDensity } from 'ngwr/density'` | `[wrDensity]` |
103
107
  | `ngwr/descriptions` | `import { WrDescriptions } from 'ngwr/descriptions'` | `wr-description-item` `wr-descriptions` |
104
108
  | `ngwr/dialog` | `import { WrDialog } from 'ngwr/dialog'` | `[wrDialogClose]` `[wrDialogContent]` `[wrDialogFooter]` `[wrDialogTitle]` |
105
109
  | `ngwr/dialog/testing` | `import { WrDialogHarness } from 'ngwr/dialog/testing'` | — |
106
- | `ngwr/directives` | `import { WrAutofocus } from 'ngwr/directives'` | `[wrAutofocus]` `textarea[wrAutosize]` `[wrClickOutside]` `[wrCopyToClipboard]` |
110
+ | `ngwr/directives` | `import { WrAutofocus } from 'ngwr/directives'` | `[wrAutofocus]` `textarea[wrAutosize]` `[wrClickOutside]` `[wrCopyToClipboard]` `[wrFitText]` |
107
111
  | `ngwr/divider` | `import { WrDivider } from 'ngwr/divider'` | `wr-divider` |
108
112
  | `ngwr/drawer` | `import { WrDrawer } from 'ngwr/drawer'` | `[wrDrawerClose]` `[wrDrawerContent]` `[wrDrawerFooter]` `[wrDrawerTitle]` `wr-drawer` |
109
113
  | `ngwr/drawer/testing` | `import { WrDrawerHarness } from 'ngwr/drawer/testing'` | — |
@@ -184,6 +188,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
184
188
  | `ngwr/radio/testing` | `import { WrRadioGroupHarness } from 'ngwr/radio/testing'` | — |
185
189
  | `ngwr/rating` | `import { WrRating } from 'ngwr/rating'` | `wr-rating` |
186
190
  | `ngwr/rating/testing` | `import { WrRatingHarness } from 'ngwr/rating/testing'` | — |
191
+ | `ngwr/resizable` | `import { WrResizable } from 'ngwr/resizable'` | `[wrResizable]` |
187
192
  | `ngwr/result` | `import { WrResult } from 'ngwr/result'` | `wr-result-404` `wr-result-403` `wr-result-500` `wr-result` |
188
193
  | `ngwr/schema-form` | `import { WrSchemaForm } from 'ngwr/schema-form'` | `wr-schema-form` |
189
194
  | `ngwr/scroll` | `import { WrScroll } from 'ngwr/scroll'` | — |
@@ -216,7 +221,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
216
221
  | `ngwr/textarea/testing` | `import { WrTextareaHarness } from 'ngwr/textarea/testing'` | — |
217
222
  | `ngwr/theme` | `import { WrTheme } from 'ngwr/theme'` | — |
218
223
  | `ngwr/timeline` | `import { WrTimeline } from 'ngwr/timeline'` | `wr-timeline-item` `wr-timeline` |
219
- | `ngwr/toast` | `import { WrToast } from 'ngwr/toast'` | — |
224
+ | `ngwr/toast` | `import { WrToast } from 'ngwr/toast'` | `wr-toast-outlet` |
220
225
  | `ngwr/toast/testing` | `import { WrToastHarness } from 'ngwr/toast/testing'` | — |
221
226
  | `ngwr/toolbar` | `import { WrToolbar } from 'ngwr/toolbar'` | `wr-toolbar` |
222
227
  | `ngwr/tour` | `import { WrTour } from 'ngwr/tour'` | `wr-tour-popup` |
@@ -226,7 +231,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
226
231
  | `ngwr/tree` | `import { WrTree } from 'ngwr/tree'` | `wr-tree` |
227
232
  | `ngwr/tree/testing` | `import { WrTreeHarness } from 'ngwr/tree/testing'` | — |
228
233
  | `ngwr/typography` | `import { WrTypography } from 'ngwr/typography'` | `[wrTypography]` |
229
- | `ngwr/utils` | `import { isDefined } from 'ngwr/utils'` | — |
234
+ | `ngwr/utils` | `import { wrIsDefined } from 'ngwr/utils'` | — |
230
235
  | `ngwr/utils/router` | `import { wrQueryParam } from 'ngwr/utils/router'` | — |
231
236
  | `ngwr/validators` | `import { WrValidators } from 'ngwr/validators'` | — |
232
237
  | `ngwr/version` | `import { NGWR_VERSION } from 'ngwr/version'` | — |
@@ -12,13 +12,13 @@ snippet tailored to the answers.
12
12
  ## Bootstrap
13
13
 
14
14
  ```ts
15
- import { lucideIcons, provideWrIcons } from 'ngwr/icon';
15
+ import { wrLucideIcons, provideWrIcons } from 'ngwr/icon';
16
16
  import { Check, ChevronDown } from 'lucide';
17
17
 
18
18
  bootstrapApplication(App, {
19
19
  providers: [
20
20
  provideZonelessChangeDetection(),
21
- provideWrIcons(lucideIcons({ check: Check, 'chevron-down': ChevronDown })),
21
+ provideWrIcons(wrLucideIcons({ check: Check, 'chevron-down': ChevronDown })),
22
22
  ],
23
23
  });
24
24
  ```
@@ -89,7 +89,7 @@ back to the OS. The service applies a remembered choice, or a non-`auto`
89
89
  screen never injects it paints the OS scheme. Ship `wrThemePrePaintScript()`
90
90
  in `<head>` with the same values to apply the choice before first paint.
91
91
  A canvas cannot draw a `light-dark()` value: resolve its colours with
92
- `resolveCssColor()` and redraw a still frame from `watchColorScheme()`, both
92
+ `wrResolveCssColor()` and redraw a still frame from `wrWatchColorScheme()`, both
93
93
  in `ngwr/utils`.
94
94
  Write your own dark values with `light-dark()` as well — there is no theme
95
95
  attribute to key a selector on.
@@ -99,7 +99,7 @@ tokens are `light-dark()` values.
99
99
 
100
100
  ## Providers with no default
101
101
 
102
- ### `provideWrIcons(lucideIcons({ … })) // from 'ngwr/icon'`
102
+ ### `provideWrIcons(wrLucideIcons({ … })) // from 'ngwr/icon'`
103
103
 
104
104
  Icons resolve by name from a registry you populate. Needed by `WrIcon`.
105
105
 
@@ -149,11 +149,15 @@ bootstrapApplication(App, {
149
149
  - `withTheme({ defaultMode: 'dark' })` from `ngwr/theme` — the default
150
150
  scheme and its storage key, and `WrTheme` created at boot.
151
151
  - `withToast({ … })` from `ngwr/toast`, `withStorage({ … })` from
152
- `ngwr/storage`, `withMeta({ … })` from `ngwr/meta` and
153
- `withWindows({ bounds })` from `ngwr/window` — toast defaults, the storage
154
- engine, prefix and TTL, `<head>` defaults for every route, and the work area
155
- floating windows keep inside. Like density and theme they configure a root
156
- service, so they belong at bootstrap.
152
+ `ngwr/storage`, `withMeta({ … })` from `ngwr/meta`,
153
+ `withWindows({ bounds })` from `ngwr/window` and
154
+ `withDialog({ tabTitle })` from `ngwr/dialog` — toast defaults, the storage
155
+ engine, prefix and TTL, `<head>` defaults for every route, the work area
156
+ floating windows keep inside, and the browser tab named after the open dialog.
157
+ Like density and theme they configure a root service, so they belong at bootstrap.
158
+ - `withRenderOnNavigation()` from `ngwr/utils/router` — in a zoneless app, ticks
159
+ right after `NavigationEnd` so a routed page is bound before the browser
160
+ paints it and no transition runs from the browser's defaults.
157
161
  - A `validation` namespace in your own i18n catalog — ngwr ships no validation
158
162
  copy. `<wr-form-field>` reads `validation.<key>` for an error whose validator
159
163
  carries no `{ message }`, with the error payload as params.
@@ -72,7 +72,8 @@
72
72
  }
73
73
 
74
74
  // Sizes — track, thumb, label font + line-height scale together.
75
- &--sm {
75
+ &--sm,
76
+ &:where([size='sm']) {
76
77
  --wr-switch-track-width: 1.75rem;
77
78
  --wr-switch-track-height: 1rem;
78
79
  --wr-switch-thumb-size: 0.75rem;
@@ -80,7 +81,8 @@
80
81
  --wr-switch-line-height: var(--wr-control-line-height-sm);
81
82
  }
82
83
 
83
- &--lg {
84
+ &--lg,
85
+ &:where([size='lg']) {
84
86
  --wr-switch-track-width: 2.375rem;
85
87
  --wr-switch-track-height: 1.25rem;
86
88
  --wr-switch-thumb-size: 1rem;
@@ -15,6 +15,7 @@
15
15
  @use '../../checkbox/styles' as checkbox-styles; // WrCheckbox
16
16
  @use '../../dropdown/styles' as dropdown-styles; // WrDropdown
17
17
  @use '../../pagination/styles' as pagination-styles; // WrPagination
18
+ @use '../../popover/styles' as popover-styles; // WrPopover
18
19
  @use '../../spinner/styles' as spinner-styles; // WrSpinner
19
20
  @include theme.loaded('table');
20
21
 
@@ -60,6 +61,19 @@
60
61
  --wr-table-foot-cell-font-weight: var(--wr-font-weight-semibold);
61
62
  --wr-table-empty-padding: var(--wr-space-xl);
62
63
  --wr-table-pager-padding: var(--wr-space-sm) var(--wr-space-md);
64
+ --wr-table-loading-bar-height: 0.125rem;
65
+ --wr-table-loading-bar-color: var(--wr-color-primary);
66
+ --wr-table-loading-bar-track: color-mix(in srgb, var(--wr-color-primary) 20%, transparent);
67
+ --wr-table-loading-bar-duration: 1.4s;
68
+ // The scroll area of a `stickyHeader` or virtualized table. The component
69
+ // writes `viewportHeight` to `-scroll-height`, and the measured header and
70
+ // footer heights to the two below it, inline on `.wr-table__scroll`; these
71
+ // are what holds before that. `-scroll-min-height` is the floor of a table
72
+ // that fills its parent.
73
+ --wr-table-scroll-height: 30rem;
74
+ --wr-table-scroll-min-height: 16rem;
75
+ --wr-table-head-height: 2.5rem;
76
+ --wr-table-foot-height: 0px;
63
77
 
64
78
  // Card mode (`--responsive` inside its own container query). Declared on the
65
79
  // BASE rather than down in the `@container` block, because a custom property
@@ -143,6 +157,14 @@
143
157
  overflow: hidden;
144
158
  }
145
159
 
160
+ // `truncate: 'tooltip'`. The cut happens where the column cannot grow: under
161
+ // a fixed layout, or at the `max-width` the component writes from `width`.
162
+ &__td--truncate {
163
+ overflow: hidden;
164
+ text-overflow: ellipsis;
165
+ white-space: nowrap;
166
+ }
167
+
146
168
  &__resize-handle {
147
169
  position: absolute;
148
170
  top: 0;
@@ -406,32 +428,46 @@
406
428
  background-image: linear-gradient(var(--wr-table-row-hover), var(--wr-table-row-hover));
407
429
  }
408
430
 
409
- // Separating shadow on the inner edge of each pinned group. `box-shadow` has
410
- // no logical form — its offset is always physical — while the cell it belongs
411
- // to is anchored by `[style.inset-inline-start.px]` / `[style.inset-inline-end.px]`
412
- // in table.html, written from `leftPin()` / `rightPin()`. The shadow leans the
413
- // way the offset pins, so the sign has to be set per direction by hand.
431
+ // Separating shadow on the inner edge of each pinned group, cast only over
432
+ // columns hidden behind it: the component puts `--overflow-start` on the host
433
+ // while the table is scrolled away from its start, and `--overflow-end` while
434
+ // more of it lies past the end. A table that fits draws neither.
435
+ //
436
+ // `box-shadow` has no logical form — its offset is always physical — while
437
+ // the cell it belongs to is anchored by `[style.inset-inline-start.px]` /
438
+ // `[style.inset-inline-end.px]` in table.html, written from `leftPin()` /
439
+ // `rightPin()`. The shadow leans the way the offset pins, so the sign has to
440
+ // be set per direction by hand.
414
441
  &__th--pin-edge-left,
415
- &__td--pin-edge-left {
442
+ &__td--pin-edge-left,
443
+ &__th--pin-edge-right,
444
+ &__td--pin-edge-right {
445
+ transition: box-shadow var(--wr-transition-base);
446
+ }
447
+
448
+ &--overflow-start &__th--pin-edge-left,
449
+ &--overflow-start &__td--pin-edge-left {
416
450
  box-shadow: 0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
417
451
  }
418
452
 
419
- &__th--pin-edge-right,
420
- &__td--pin-edge-right {
453
+ &--overflow-end &__th--pin-edge-right,
454
+ &--overflow-end &__td--pin-edge-right {
421
455
  box-shadow: -0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
422
456
  // rtl-ok: `box-shadow` has no logical form; the RTL sign is set explicitly below
423
457
  }
424
458
 
425
459
  // Under `dir="rtl"` the start-pinned group sits at the physical right and the
426
460
  // end-pinned group at the physical left, so both shadows point the other way.
427
- [dir='rtl'] &__th--pin-edge-left,
461
+ // `:where()` keeps the specificity of the pair above, so card mode's
462
+ // `box-shadow: none` still wins by order.
463
+ :where([dir='rtl']) &--overflow-start &__th--pin-edge-left,
428
464
  // rtl-ok: `box-shadow` has no logical form; the RTL sign is set explicitly below
429
- [dir='rtl'] &__td--pin-edge-left {
465
+ :where([dir='rtl']) &--overflow-start &__td--pin-edge-left {
430
466
  box-shadow: -0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
431
467
  }
432
468
 
433
- [dir='rtl'] &__th--pin-edge-right,
434
- [dir='rtl'] &__td--pin-edge-right {
469
+ :where([dir='rtl']) &--overflow-end &__th--pin-edge-right,
470
+ :where([dir='rtl']) &--overflow-end &__td--pin-edge-right {
435
471
  box-shadow: 0.375rem 0 0.375rem -0.25rem var(--wr-table-pin-shadow-ink);
436
472
  // rtl-ok: this IS the RTL sign for the rule above
437
473
  }
@@ -609,6 +645,36 @@
609
645
  pointer-events: none;
610
646
  }
611
647
 
648
+ // Along the top edge of the header, which is the top of the scroll area under
649
+ // a sticky header too. Above the corner-sticky header cells (z-index 3).
650
+ &__loading-bar {
651
+ position: absolute;
652
+ inset-block-start: 0;
653
+ inset-inline: 0;
654
+ z-index: 4;
655
+ height: var(--wr-table-loading-bar-height);
656
+ overflow: hidden;
657
+ background: var(--wr-table-loading-bar-track);
658
+ pointer-events: none;
659
+
660
+ &::after {
661
+ content: '';
662
+ position: absolute;
663
+ inset-block: 0;
664
+ // rtl-ok: an indeterminate sweep has no reading direction
665
+ left: 0;
666
+ width: 40%;
667
+ background: var(--wr-table-loading-bar-color);
668
+ animation: wr-table-loading-bar var(--wr-table-loading-bar-duration) var(--wr-ease-in-out) infinite;
669
+ }
670
+
671
+ @media (forced-colors: active) {
672
+ &::after {
673
+ background: CanvasText;
674
+ }
675
+ }
676
+ }
677
+
612
678
  // --- Row grouping ---------------------------------------------------------
613
679
  --wr-table-group-bg: var(--wr-color-fill-subtle);
614
680
  --wr-table-group-inner-gap: var(--wr-space-sm);
@@ -729,14 +795,24 @@
729
795
  }
730
796
  }
731
797
 
732
- // --- Virtualized body -------------------------------------------------------
733
- // Scoped under the host `--virtual` class, so a non-virtual table is untouched.
734
- .wr-table--virtual {
798
+ // --- Own scroll area --------------------------------------------------------
799
+ // Scoped under the host `--sticky-head` class (`stickyHeader`, or a virtualized
800
+ // body), so a table without either is untouched.
801
+ .wr-table--sticky-head {
735
802
  // One dual-axis scroll container: keep overflow-x (pins), add overflow-y.
736
- // `max-height` is set inline from `viewportHeight`.
737
803
  .wr-table__scroll {
738
804
  overflow-y: auto;
739
805
  overscroll-behavior: contain;
806
+ max-height: var(--wr-table-scroll-height);
807
+ // A row focused or scrolled into view stops clear of the sticky edges.
808
+ scroll-padding-block-start: var(--wr-table-head-height);
809
+ scroll-padding-block-end: var(--wr-table-foot-height);
810
+ }
811
+
812
+ // Inset, as on a tree row: the host is `overflow: hidden`.
813
+ .wr-table__scroll:focus-visible {
814
+ @include theme.focus-ring;
815
+ outline-offset: -2px;
740
816
  }
741
817
 
742
818
  // Sticky header. Plain (non-pinned) cells need an OPAQUE base or scrolled body
@@ -759,19 +835,6 @@
759
835
  z-index: 3;
760
836
  }
761
837
 
762
- // Uniform row height (fixed layout is already forced → cells truncate via the
763
- // existing `--fixed` rules). `height` is a MINIMUM, not a clamp — see the
764
- // rowHeight contract on the component.
765
- .wr-table__tr {
766
- height: var(--wr-table-row-h);
767
- }
768
-
769
- // Height-only reserved rows contribute nothing to columns or borders.
770
- .wr-table__spacer > td {
771
- padding: 0;
772
- border: 0;
773
- }
774
-
775
838
  // Grand footer pinned to the viewport bottom; plain cells get the opaque base.
776
839
  tfoot .wr-table__foot-cell {
777
840
  position: sticky;
@@ -795,6 +858,42 @@
795
858
  }
796
859
  }
797
860
 
861
+ // `viewportHeight="fill"`: the table takes the height its parent has left, and
862
+ // the rows scroll in what the pager leaves of it. A flex-column parent shrinks
863
+ // the host; `max-height` does it under a block parent with a definite height.
864
+ .wr-table--fill {
865
+ display: flex;
866
+ flex-direction: column;
867
+ min-height: var(--wr-table-scroll-min-height);
868
+ max-height: 100%;
869
+
870
+ .wr-table__scroll {
871
+ flex: 1 1 auto;
872
+ min-height: 0;
873
+ max-height: none;
874
+ }
875
+
876
+ .wr-table__pager {
877
+ flex: none;
878
+ }
879
+ }
880
+
881
+ // --- Virtualized body -------------------------------------------------------
882
+ .wr-table--virtual {
883
+ // Uniform row height (fixed layout is already forced → cells truncate via the
884
+ // existing `--fixed` rules). `height` is a MINIMUM, not a clamp — see the
885
+ // rowHeight contract on the component.
886
+ .wr-table__tr {
887
+ height: var(--wr-table-row-h);
888
+ }
889
+
890
+ // Height-only reserved rows contribute nothing to columns or borders.
891
+ .wr-table__spacer > td {
892
+ padding: 0;
893
+ border: 0;
894
+ }
895
+ }
896
+
798
897
  // Responsive tables: when the box is too narrow for columns, each row becomes a
799
898
  // card and every cell shows its column title (from `data-label`) as a label.
800
899
  @container wr-table (max-width: 36rem) {
@@ -1187,3 +1286,13 @@
1187
1286
  .cdk-drag-animating.wr-table__th {
1188
1287
  transition: transform 0.18s var(--wr-ease-out);
1189
1288
  }
1289
+
1290
+ @keyframes wr-table-loading-bar {
1291
+ from {
1292
+ transform: translateX(-100%);
1293
+ }
1294
+
1295
+ to {
1296
+ transform: translateX(250%);
1297
+ }
1298
+ }
@@ -55,7 +55,8 @@
55
55
  }
56
56
 
57
57
  // Sizes — radius, padding, font + line-height scale; height stays content-driven.
58
- &--sm {
58
+ &--sm,
59
+ &:where([size='sm']) {
59
60
  --wr-textarea-radius: var(--wr-control-radius-sm);
60
61
  --wr-textarea-padding-y: var(--wr-space-xs);
61
62
  --wr-textarea-padding-x: var(--wr-control-padding-x-sm);
@@ -63,7 +64,8 @@
63
64
  --wr-textarea-line-height: var(--wr-control-line-height-sm);
64
65
  }
65
66
 
66
- &--lg {
67
+ &--lg,
68
+ &:where([size='lg']) {
67
69
  --wr-textarea-radius: var(--wr-control-radius-lg);
68
70
  --wr-textarea-padding-y: var(--wr-space-md);
69
71
  --wr-textarea-padding-x: var(--wr-control-padding-x-lg);
@@ -82,4 +82,10 @@
82
82
  .wr-card__spinner {
83
83
  animation-duration: 1.4s !important;
84
84
  }
85
+
86
+ // The table's loading bar is a spinner drawn as a line: its sweep is the
87
+ // message, so it is slowed like one rather than stopped.
88
+ .wr-table__loading-bar::after {
89
+ animation-duration: 4s !important;
90
+ }
85
91
  }