ngwr 16.2.0 → 16.4.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 (418) hide show
  1. package/badge/styles/_tag.scss +73 -1
  2. package/calendar/styles/_index.scss +22 -0
  3. package/carousel/styles/_index.scss +53 -1
  4. package/cascader/styles/_rules.scss +7 -0
  5. package/color-picker/styles/_index.scss +21 -0
  6. package/date-picker/styles/_index.scss +19 -0
  7. package/dropdown/styles/_index.scss +13 -19
  8. package/fesm2022/ngwr-affix.mjs +3 -3
  9. package/fesm2022/ngwr-alert-testing.mjs +70 -0
  10. package/fesm2022/ngwr-alert-testing.mjs.map +1 -0
  11. package/fesm2022/ngwr-alert.mjs +3 -3
  12. package/fesm2022/ngwr-anchor.mjs +17 -6
  13. package/fesm2022/ngwr-anchor.mjs.map +1 -1
  14. package/fesm2022/ngwr-animations-aurora.mjs +3 -3
  15. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  16. package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
  17. package/fesm2022/ngwr-animations-confetti.mjs +3 -3
  18. package/fesm2022/ngwr-animations-decode.mjs +3 -3
  19. package/fesm2022/ngwr-animations-destruct.mjs +3 -3
  20. package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
  21. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  22. package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
  23. package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
  24. package/fesm2022/ngwr-animations-glitch.mjs +3 -3
  25. package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
  26. package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
  27. package/fesm2022/ngwr-animations-marquee.mjs +3 -3
  28. package/fesm2022/ngwr-animations-orbit.mjs +3 -3
  29. package/fesm2022/ngwr-animations-reveal.mjs +3 -3
  30. package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
  31. package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
  32. package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
  33. package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
  34. package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
  35. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  36. package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
  37. package/fesm2022/ngwr-avatar.mjs +3 -3
  38. package/fesm2022/ngwr-back-top.mjs +3 -3
  39. package/fesm2022/ngwr-badge.mjs +129 -11
  40. package/fesm2022/ngwr-badge.mjs.map +1 -1
  41. package/fesm2022/ngwr-breadcrumbs-testing.mjs +83 -0
  42. package/fesm2022/ngwr-breadcrumbs-testing.mjs.map +1 -0
  43. package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
  44. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  45. package/fesm2022/ngwr-burger-testing.mjs +45 -0
  46. package/fesm2022/ngwr-burger-testing.mjs.map +1 -0
  47. package/fesm2022/ngwr-burger.mjs +3 -3
  48. package/fesm2022/ngwr-button.mjs +6 -6
  49. package/fesm2022/ngwr-calendar-testing.mjs +18 -0
  50. package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
  51. package/fesm2022/ngwr-calendar.mjs +500 -73
  52. package/fesm2022/ngwr-calendar.mjs.map +1 -1
  53. package/fesm2022/ngwr-card.mjs +9 -9
  54. package/fesm2022/ngwr-carousel-testing.mjs +24 -1
  55. package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
  56. package/fesm2022/ngwr-carousel.mjs +73 -10
  57. package/fesm2022/ngwr-carousel.mjs.map +1 -1
  58. package/fesm2022/ngwr-cascader.mjs +45 -37
  59. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  60. package/fesm2022/ngwr-charts-bar-chart.mjs +5 -4
  61. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  62. package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
  63. package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
  64. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
  65. package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
  66. package/fesm2022/ngwr-charts-chart-legend.mjs +26 -11
  67. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  68. package/fesm2022/ngwr-charts-core.mjs +3 -3
  69. package/fesm2022/ngwr-charts-donut-chart.mjs +5 -4
  70. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  71. package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
  72. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  73. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  74. package/fesm2022/ngwr-charts-line-chart-testing.mjs +3 -2
  75. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-line-chart.mjs +17 -7
  77. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-meter-group.mjs +5 -4
  79. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-radar-chart.mjs +5 -4
  81. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  82. package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -4
  83. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  84. package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
  85. package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
  86. package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
  87. package/fesm2022/ngwr-checkbox.mjs +6 -6
  88. package/fesm2022/ngwr-clipboard.mjs +3 -3
  89. package/fesm2022/ngwr-collapse.mjs +9 -9
  90. package/fesm2022/ngwr-color-picker-testing.mjs +11 -1
  91. package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
  92. package/fesm2022/ngwr-color-picker.mjs +153 -37
  93. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  94. package/fesm2022/ngwr-command-palette.mjs +3 -3
  95. package/fesm2022/ngwr-comment.mjs +10 -6
  96. package/fesm2022/ngwr-comment.mjs.map +1 -1
  97. package/fesm2022/ngwr-compare-testing.mjs +84 -0
  98. package/fesm2022/ngwr-compare-testing.mjs.map +1 -0
  99. package/fesm2022/ngwr-compare.mjs +3 -3
  100. package/fesm2022/ngwr-context-menu.mjs +28 -13
  101. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  102. package/fesm2022/ngwr-cookie.mjs +3 -3
  103. package/fesm2022/ngwr-copy-value.mjs +3 -3
  104. package/fesm2022/ngwr-counter.mjs +6 -6
  105. package/fesm2022/ngwr-date-picker-testing.mjs +30 -4
  106. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  107. package/fesm2022/ngwr-date-picker.mjs +342 -69
  108. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  109. package/fesm2022/ngwr-date-stamp.mjs +3 -3
  110. package/fesm2022/ngwr-date.mjs +59 -8
  111. package/fesm2022/ngwr-date.mjs.map +1 -1
  112. package/fesm2022/ngwr-density.mjs +6 -6
  113. package/fesm2022/ngwr-descriptions.mjs +6 -6
  114. package/fesm2022/ngwr-dialog.mjs +18 -18
  115. package/fesm2022/ngwr-directives.mjs +15 -15
  116. package/fesm2022/ngwr-divider.mjs +3 -3
  117. package/fesm2022/ngwr-drawer.mjs +51 -29
  118. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  119. package/fesm2022/ngwr-dropdown-testing.mjs +11 -3
  120. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  121. package/fesm2022/ngwr-dropdown.mjs +70 -99
  122. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  123. package/fesm2022/ngwr-editor.mjs +4 -3
  124. package/fesm2022/ngwr-editor.mjs.map +1 -1
  125. package/fesm2022/ngwr-empty.mjs +3 -3
  126. package/fesm2022/ngwr-event-calendar.mjs +186 -33
  127. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  128. package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
  129. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  130. package/fesm2022/ngwr-file-upload.mjs +279 -16
  131. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  132. package/fesm2022/ngwr-form.mjs +9 -9
  133. package/fesm2022/ngwr-form.mjs.map +1 -1
  134. package/fesm2022/ngwr-graph-testing.mjs +30 -0
  135. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  136. package/fesm2022/ngwr-graph.mjs +664 -43
  137. package/fesm2022/ngwr-graph.mjs.map +1 -1
  138. package/fesm2022/ngwr-hotkey.mjs +6 -6
  139. package/fesm2022/ngwr-i18n-ar.mjs +27 -8
  140. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  141. package/fesm2022/ngwr-i18n-cs.mjs +27 -8
  142. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  143. package/fesm2022/ngwr-i18n-de.mjs +27 -8
  144. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  145. package/fesm2022/ngwr-i18n-en.mjs +27 -8
  146. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  147. package/fesm2022/ngwr-i18n-es.mjs +27 -8
  148. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  149. package/fesm2022/ngwr-i18n-fr.mjs +27 -8
  150. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  151. package/fesm2022/ngwr-i18n-he.mjs +27 -8
  152. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  153. package/fesm2022/ngwr-i18n-hi.mjs +27 -8
  154. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  155. package/fesm2022/ngwr-i18n-id.mjs +27 -8
  156. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  157. package/fesm2022/ngwr-i18n-it.mjs +27 -8
  158. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  159. package/fesm2022/ngwr-i18n-ja.mjs +27 -8
  160. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  161. package/fesm2022/ngwr-i18n-ko.mjs +27 -8
  162. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  163. package/fesm2022/ngwr-i18n-nl.mjs +27 -8
  164. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  165. package/fesm2022/ngwr-i18n-pl.mjs +27 -8
  166. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  167. package/fesm2022/ngwr-i18n-pt.mjs +27 -8
  168. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  169. package/fesm2022/ngwr-i18n-ru.mjs +27 -8
  170. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  171. package/fesm2022/ngwr-i18n-sv.mjs +27 -8
  172. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  173. package/fesm2022/ngwr-i18n-tr.mjs +27 -8
  174. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  175. package/fesm2022/ngwr-i18n-uk.mjs +27 -8
  176. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  177. package/fesm2022/ngwr-i18n-vi.mjs +27 -8
  178. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  179. package/fesm2022/ngwr-i18n-zh-tw.mjs +27 -8
  180. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  181. package/fesm2022/ngwr-i18n-zh.mjs +27 -8
  182. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  183. package/fesm2022/ngwr-i18n.mjs +9 -9
  184. package/fesm2022/ngwr-icon.mjs +6 -6
  185. package/fesm2022/ngwr-image-cropper.mjs +3 -3
  186. package/fesm2022/ngwr-input-number-testing.mjs +11 -0
  187. package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
  188. package/fesm2022/ngwr-input-number.mjs +68 -7
  189. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  190. package/fesm2022/ngwr-input-otp.mjs +23 -3
  191. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  192. package/fesm2022/ngwr-input-testing.mjs +24 -1
  193. package/fesm2022/ngwr-input-testing.mjs.map +1 -1
  194. package/fesm2022/ngwr-input.mjs +152 -36
  195. package/fesm2022/ngwr-input.mjs.map +1 -1
  196. package/fesm2022/ngwr-keyboard.mjs +3 -3
  197. package/fesm2022/ngwr-knob.mjs +3 -3
  198. package/fesm2022/ngwr-layout.mjs +15 -15
  199. package/fesm2022/ngwr-lightbox.mjs +8 -8
  200. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  201. package/fesm2022/ngwr-list.mjs +8 -8
  202. package/fesm2022/ngwr-list.mjs.map +1 -1
  203. package/fesm2022/ngwr-load-state.mjs +15 -15
  204. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  205. package/fesm2022/ngwr-mention.mjs +6 -6
  206. package/fesm2022/ngwr-meta.mjs +6 -6
  207. package/fesm2022/ngwr-overlay.mjs +175 -13
  208. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  209. package/fesm2022/ngwr-page-header.mjs +3 -3
  210. package/fesm2022/ngwr-pagination.mjs +6 -3
  211. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  212. package/fesm2022/ngwr-pipes.mjs +31 -29
  213. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  214. package/fesm2022/ngwr-platform.mjs +9 -9
  215. package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
  216. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  217. package/fesm2022/ngwr-popconfirm.mjs +44 -63
  218. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  219. package/fesm2022/ngwr-popover-testing.mjs +7 -1
  220. package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
  221. package/fesm2022/ngwr-popover.mjs +58 -156
  222. package/fesm2022/ngwr-popover.mjs.map +1 -1
  223. package/fesm2022/ngwr-progress.mjs +50 -9
  224. package/fesm2022/ngwr-progress.mjs.map +1 -1
  225. package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
  226. package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
  227. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  228. package/fesm2022/ngwr-qr.mjs +3 -3
  229. package/fesm2022/ngwr-radio.mjs +6 -6
  230. package/fesm2022/ngwr-rating.mjs +3 -3
  231. package/fesm2022/ngwr-resizable-testing.mjs +113 -0
  232. package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
  233. package/fesm2022/ngwr-resizable.mjs +3 -3
  234. package/fesm2022/ngwr-result.mjs +12 -12
  235. package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
  236. package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
  237. package/fesm2022/ngwr-schema-form.mjs +416 -19
  238. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  239. package/fesm2022/ngwr-scroll.mjs +3 -3
  240. package/fesm2022/ngwr-segmented.mjs +3 -3
  241. package/fesm2022/ngwr-select-testing.mjs +19 -0
  242. package/fesm2022/ngwr-select-testing.mjs.map +1 -1
  243. package/fesm2022/ngwr-select.mjs +361 -84
  244. package/fesm2022/ngwr-select.mjs.map +1 -1
  245. package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
  246. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
  247. package/fesm2022/ngwr-sidebar.mjs +3 -3
  248. package/fesm2022/ngwr-skeleton.mjs +3 -3
  249. package/fesm2022/ngwr-slider-testing.mjs +6 -0
  250. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  251. package/fesm2022/ngwr-slider.mjs +21 -3
  252. package/fesm2022/ngwr-slider.mjs.map +1 -1
  253. package/fesm2022/ngwr-sortable-list.mjs +29 -12
  254. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  255. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  256. package/fesm2022/ngwr-spinner.mjs +3 -3
  257. package/fesm2022/ngwr-splitter.mjs +3 -3
  258. package/fesm2022/ngwr-statistic.mjs +9 -9
  259. package/fesm2022/ngwr-stepper.mjs +42 -11
  260. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  261. package/fesm2022/ngwr-storage.mjs +3 -3
  262. package/fesm2022/ngwr-switch.mjs +3 -3
  263. package/fesm2022/ngwr-table-testing.mjs +157 -3
  264. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  265. package/fesm2022/ngwr-table.mjs +1051 -74
  266. package/fesm2022/ngwr-table.mjs.map +1 -1
  267. package/fesm2022/ngwr-tabs-router.mjs +3 -3
  268. package/fesm2022/ngwr-tabs-testing.mjs +1 -1
  269. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  270. package/fesm2022/ngwr-tabs.mjs +15 -10
  271. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  272. package/fesm2022/ngwr-textarea-testing.mjs +11 -0
  273. package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
  274. package/fesm2022/ngwr-textarea.mjs +128 -16
  275. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  276. package/fesm2022/ngwr-theme.mjs +3 -3
  277. package/fesm2022/ngwr-timeline.mjs +6 -6
  278. package/fesm2022/ngwr-toast.mjs +40 -19
  279. package/fesm2022/ngwr-toast.mjs.map +1 -1
  280. package/fesm2022/ngwr-toolbar.mjs +3 -3
  281. package/fesm2022/ngwr-tour-testing.mjs +13 -1
  282. package/fesm2022/ngwr-tour-testing.mjs.map +1 -1
  283. package/fesm2022/ngwr-tour.mjs +19 -15
  284. package/fesm2022/ngwr-tour.mjs.map +1 -1
  285. package/fesm2022/ngwr-transfer-testing.mjs +6 -0
  286. package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
  287. package/fesm2022/ngwr-transfer.mjs +24 -5
  288. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  289. package/fesm2022/ngwr-tree-testing.mjs +62 -2
  290. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  291. package/fesm2022/ngwr-tree.mjs +978 -79
  292. package/fesm2022/ngwr-tree.mjs.map +1 -1
  293. package/fesm2022/ngwr-typography.mjs +3 -3
  294. package/fesm2022/ngwr-utils-router.mjs +3 -3
  295. package/fesm2022/ngwr-utils.mjs +97 -1
  296. package/fesm2022/ngwr-utils.mjs.map +1 -1
  297. package/fesm2022/ngwr-version.mjs +1 -1
  298. package/fesm2022/ngwr-version.mjs.map +1 -1
  299. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  300. package/fesm2022/ngwr-window.mjs +33 -22
  301. package/fesm2022/ngwr-window.mjs.map +1 -1
  302. package/file-upload/styles/_index.scss +156 -0
  303. package/graph/styles/_index.scss +87 -0
  304. package/i18n/ar.json +29 -8
  305. package/i18n/cs.json +29 -8
  306. package/i18n/de.json +29 -8
  307. package/i18n/en.json +29 -8
  308. package/i18n/es.json +29 -8
  309. package/i18n/fr.json +29 -8
  310. package/i18n/he.json +29 -8
  311. package/i18n/hi.json +29 -8
  312. package/i18n/id.json +29 -8
  313. package/i18n/it.json +29 -8
  314. package/i18n/ja.json +29 -8
  315. package/i18n/ko.json +29 -8
  316. package/i18n/nl.json +29 -8
  317. package/i18n/pl.json +29 -8
  318. package/i18n/pt.json +29 -8
  319. package/i18n/ru.json +29 -8
  320. package/i18n/sv.json +29 -8
  321. package/i18n/tr.json +29 -8
  322. package/i18n/uk.json +29 -8
  323. package/i18n/vi.json +29 -8
  324. package/i18n/zh-TW.json +29 -8
  325. package/i18n/zh.json +29 -8
  326. package/input/styles/_index.scss +68 -1
  327. package/input-otp/styles/_index.scss +14 -0
  328. package/llms-full.txt +53 -21
  329. package/llms.txt +57 -24
  330. package/overlay/styles/_arrow.scss +4 -4
  331. package/package.json +33 -1
  332. package/popconfirm/styles/_index.scss +3 -11
  333. package/progress/styles/_index.scss +32 -0
  334. package/schema-form/styles/_index.scss +78 -0
  335. package/schematics/collection.json +5 -0
  336. package/schematics/eject/index.js +158 -0
  337. package/schematics/eject/schema.js +8 -0
  338. package/schematics/eject/schema.json +24 -0
  339. package/schematics/eject/source.js +295 -0
  340. package/schematics/use/rule.js +2 -0
  341. package/schematics/use/symbol-map.json +5 -0
  342. package/select/styles/_index.scss +127 -22
  343. package/skills/ngwr/SKILL.md +31 -4
  344. package/skills/ngwr/references/catalog.md +9 -1
  345. package/slider/styles/_index.scss +22 -0
  346. package/table/styles/_index.scss +191 -3
  347. package/textarea/styles/_index.scss +80 -0
  348. package/theme/styles/_focus.scss +16 -1
  349. package/theme/styles/_motion.scss +5 -0
  350. package/transfer/styles/_index.scss +84 -0
  351. package/tree/styles/_index.scss +138 -5
  352. package/types/ngwr-alert-testing.d.ts +88 -0
  353. package/types/ngwr-badge.d.ts +72 -2
  354. package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
  355. package/types/ngwr-burger-testing.d.ts +51 -0
  356. package/types/ngwr-calendar-testing.d.ts +18 -6
  357. package/types/ngwr-calendar.d.ts +272 -22
  358. package/types/ngwr-carousel-testing.d.ts +27 -6
  359. package/types/ngwr-carousel.d.ts +42 -6
  360. package/types/ngwr-cascader.d.ts +13 -6
  361. package/types/ngwr-charts-chart-legend.d.ts +9 -4
  362. package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
  363. package/types/ngwr-charts-line-chart.d.ts +7 -4
  364. package/types/ngwr-color-picker-testing.d.ts +15 -4
  365. package/types/ngwr-color-picker.d.ts +76 -6
  366. package/types/ngwr-compare-testing.d.ts +72 -0
  367. package/types/ngwr-context-menu.d.ts +2 -0
  368. package/types/ngwr-date-picker-testing.d.ts +23 -8
  369. package/types/ngwr-date-picker.d.ts +100 -9
  370. package/types/ngwr-date.d.ts +71 -1
  371. package/types/ngwr-drawer.d.ts +9 -0
  372. package/types/ngwr-dropdown-testing.d.ts +20 -0
  373. package/types/ngwr-dropdown.d.ts +26 -6
  374. package/types/ngwr-event-calendar.d.ts +66 -8
  375. package/types/ngwr-file-upload-testing.d.ts +31 -2
  376. package/types/ngwr-file-upload.d.ts +156 -3
  377. package/types/ngwr-form.d.ts +47 -3
  378. package/types/ngwr-graph-testing.d.ts +36 -3
  379. package/types/ngwr-graph.d.ts +309 -13
  380. package/types/ngwr-input-number-testing.d.ts +10 -0
  381. package/types/ngwr-input-number.d.ts +30 -1
  382. package/types/ngwr-input-otp.d.ts +10 -0
  383. package/types/ngwr-input-testing.d.ts +30 -0
  384. package/types/ngwr-input.d.ts +54 -3
  385. package/types/ngwr-overlay.d.ts +84 -5
  386. package/types/ngwr-pipes.d.ts +2 -1
  387. package/types/ngwr-popconfirm-testing.d.ts +12 -3
  388. package/types/ngwr-popconfirm.d.ts +28 -3
  389. package/types/ngwr-popover-testing.d.ts +19 -2
  390. package/types/ngwr-popover.d.ts +22 -2
  391. package/types/ngwr-progress.d.ts +29 -1
  392. package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
  393. package/types/ngwr-resizable-testing.d.ts +116 -0
  394. package/types/ngwr-schema-form-testing.d.ts +260 -0
  395. package/types/ngwr-schema-form.d.ts +76 -6
  396. package/types/ngwr-select-testing.d.ts +20 -0
  397. package/types/ngwr-select.d.ts +149 -11
  398. package/types/ngwr-sidebar-testing.d.ts +176 -0
  399. package/types/ngwr-slider-testing.d.ts +3 -1
  400. package/types/ngwr-slider.d.ts +21 -1
  401. package/types/ngwr-sortable-list.d.ts +6 -0
  402. package/types/ngwr-stepper.d.ts +20 -11
  403. package/types/ngwr-table-testing.d.ts +122 -7
  404. package/types/ngwr-table.d.ts +572 -50
  405. package/types/ngwr-tabs-testing.d.ts +14 -17
  406. package/types/ngwr-tabs.d.ts +6 -0
  407. package/types/ngwr-textarea-testing.d.ts +10 -0
  408. package/types/ngwr-textarea.d.ts +48 -2
  409. package/types/ngwr-toast.d.ts +8 -1
  410. package/types/ngwr-tour-testing.d.ts +10 -0
  411. package/types/ngwr-tour.d.ts +11 -2
  412. package/types/ngwr-transfer-testing.d.ts +3 -0
  413. package/types/ngwr-transfer.d.ts +24 -1
  414. package/types/ngwr-tree-testing.d.ts +65 -1
  415. package/types/ngwr-tree.d.ts +335 -12
  416. package/types/ngwr-utils.d.ts +107 -1
  417. package/types/ngwr-version.d.ts +1 -1
  418. package/types/ngwr-window.d.ts +7 -4
@@ -40,6 +40,8 @@ interface WrSelectOptionRegistration {
40
40
  * plain reader let the trigger cache the English fallback forever.
41
41
  */
42
42
  readonly label: Signal<string>;
43
+ /** `label` lowercased once, for the search filter. Optional, like `host`. */
44
+ readonly searchLabel?: Signal<string>;
43
45
  /**
44
46
  * The option's own element, when it has one. The keyboard cursor walks the
45
47
  * registry, and registration order is CREATION order — projected children are
@@ -117,6 +119,8 @@ interface WrSelectContext {
117
119
  selectOption(value: unknown): void;
118
120
  /** Register an option; returns an unregister function. */
119
121
  registerOption(reg: WrSelectOptionRegistration): () => void;
122
+ /** Replace a registered option, matched by id, without moving it. */
123
+ updateOption(reg: WrSelectOptionRegistration): void;
120
124
  }
121
125
  /**
122
126
  * @license
@@ -528,10 +532,16 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
528
532
  readonly retryable: import("@angular/core").InputSignalWithTransform<boolean, any>;
529
533
  /** Search mode: label of the retry action on the error row. Falls back to `select.retry`. */
530
534
  readonly retryText: import("@angular/core").InputSignal<string | null>;
535
+ /**
536
+ * Search mode: what a screen reader hears once a search has settled on some
537
+ * options. `{{count}}` is their number. Falls back to `select.results`.
538
+ */
539
+ readonly resultsText: import("@angular/core").InputSignal<string | null>;
531
540
  protected readonly resolvedNoResults: import("@angular/core").Signal<string>;
532
541
  protected readonly resolvedLoading: import("@angular/core").Signal<string>;
533
542
  protected readonly resolvedLoadError: import("@angular/core").Signal<string>;
534
543
  protected readonly resolvedRetry: import("@angular/core").Signal<string>;
544
+ private readonly resultsFormat;
535
545
  /**
536
546
  * Debounced search query, gated to searchable selects. Emits on every settled
537
547
  * change — including the empty string when the field is cleared — so a
@@ -636,6 +646,24 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
636
646
  * disabled look — and refuse a pick until one is removed. @default 0
637
647
  */
638
648
  readonly maxItems: import("@angular/core").InputSignalWithTransform<number, unknown>;
649
+ /**
650
+ * Multi mode: a first, pinned "Select all" row in the panel. It toggles every
651
+ * enabled option the panel is offering, so under a search only the ones the
652
+ * query matches, and with `virtualScroll` the whole filtered list rather than
653
+ * the rendered rows. It adds in display order and stops at `maxItems`; a
654
+ * second press, with nothing left to add, takes the offered options out again.
655
+ * A selection the search is hiding is never touched.
656
+ *
657
+ * The row is a `role="option"`, since a listbox owns nothing else, and says
658
+ * its state through `aria-checked`: `true` when every offered option is
659
+ * selected, `mixed` when some are, `false` when none. The arrows and Home
660
+ * reach it like any row and Enter or Space toggles it. Not drawn in single
661
+ * mode, in tag mode, or while the panel offers no option. @default false
662
+ */
663
+ readonly selectAll: import("@angular/core").InputSignalWithTransform<boolean, any>;
664
+ /** Text of the select-all row. Falls back to `select.selectAll`, then `'Select all'`. */
665
+ readonly selectAllLabel: import("@angular/core").InputSignal<string | null>;
666
+ protected readonly resolvedSelectAll: import("@angular/core").Signal<string>;
639
667
  /**
640
668
  * Maximum number of chips rendered before collapsing the rest into a
641
669
  * `+N more` indicator. `0` = render every chip. @default 0
@@ -655,24 +683,52 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
655
683
  readonly closed: import("@angular/core").OutputEmitterRef<void>;
656
684
  /** Listbox id used by the trigger's `aria-controls`. */
657
685
  protected readonly listboxId: string;
658
- /** Registered options (insertion order). Internal — distinct from the public `[options]` input. */
659
- private readonly registry;
686
+ /**
687
+ * Registered options by id, in creation order. Internal, distinct from the
688
+ * public `[options]` input. A plain map and not a signal of arrays: every
689
+ * option registers as the panel opens and unregisters as it closes, and a
690
+ * copy of the list per option is quadratic. Readers track `registryVersion`.
691
+ */
692
+ private readonly registrations;
693
+ private readonly registryVersion;
694
+ /** The first registration carrying each value, as `find` over creation order answered. */
695
+ private readonly registryByValue;
696
+ /**
697
+ * The registry sorted by document position. Kept between reads and appended
698
+ * to while each new option follows the last one, as every `[options]` row of
699
+ * an opening panel does: each option's `active` binding reads the order
700
+ * between two registrations, so a sort per read is a sort per option.
701
+ */
702
+ private ordered;
703
+ private orderStale;
704
+ /** `ordered` is also creation order, so an option no sort can place goes last in both. */
705
+ private orderIsCreation;
660
706
  /**
661
707
  * The registry in DOM order — the list the keyboard cursor walks.
662
708
  *
663
- * `registry` is CREATION order, and projected `<wr-option>` children are created
709
+ * The registry is CREATION order, and projected `<wr-option>` children are created
664
710
  * before the panel renders its own `[options]` rows, so with both in play the
665
711
  * cursor moved in an order the eye could not follow: opening highlighted the
666
- * third row on screen and ArrowDown went to the last. Value lookups keep reading
667
- * `registry` — they do not care about order — and a registration with no element
668
- * keeps its place, since the sort is stable.
712
+ * third row on screen and ArrowDown went to the last. Value lookups do not
713
+ * care about order, and a registration with no element keeps its place, since
714
+ * the sort is stable.
715
+ *
716
+ * It hands out the one `ordered` array, so it never compares equal.
669
717
  */
670
718
  private readonly orderedRegistry;
719
+ /**
720
+ * Bumped once the panel is attached. Only then are projected option hosts in
721
+ * the document, so only then can `orderedRegistry` sort what was added or
722
+ * moved while the panel was closed.
723
+ */
724
+ private readonly panelAttached;
671
725
  /** Keyboard cursor index into `options`. -1 = none. */
672
726
  protected readonly activeIndex: import("@angular/core").WritableSignal<number>;
673
727
  /** Id of the active option (for `aria-activedescendant`). */
674
728
  readonly activeOptionId: import("@angular/core").Signal<string | null>;
675
- protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
729
+ private readonly openState;
730
+ /** Whether the panel is open. Read-only: `open()` and `close()` change it. */
731
+ readonly isOpen: import("@angular/core").Signal<boolean>;
676
732
  /** WrSelectContext — whether the panel is open. Options gate their leading visual on it. */
677
733
  readonly panelOpen: import("@angular/core").Signal<boolean>;
678
734
  /**
@@ -732,7 +788,7 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
732
788
  * Trigger label for single mode. Multi reads `selectedChips` instead.
733
789
  *
734
790
  * A `computed`, and that is the whole point. It used to be a `signal` written
735
- * from an effect keyed on `value` / `registry` / `isMulti` / `displayWith` —
791
+ * from an effect keyed on `value` / the registry / `isMulti` / `displayWith` —
736
792
  * not one of which moves when the OPTION'S OWN TEXT does, and that text is
737
793
  * projected content whose ordinary way of changing is a translation catalog
738
794
  * landing a microtask after the first pass. The trigger kept the English
@@ -761,6 +817,9 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
761
817
  * `<wr-option>` in the panel, in every mode that has one.
762
818
  */
763
819
  protected readonly dynamicOptions: import("@angular/core").Signal<readonly T[]>;
820
+ private readonly dynamicOptionSet;
821
+ /** Lowercased labels of `dynamicOptions()`, by index: a query reads them, and never `displayWith`. */
822
+ private readonly dynamicSearchLabels;
764
823
  private static readonly FALLBACK_ROW_PX;
765
824
  private static readonly FALLBACK_VIEWPORT_PX;
766
825
  /**
@@ -871,6 +930,26 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
871
930
  protected readonly meetsMinChars: import("@angular/core").Signal<boolean>;
872
931
  /** Search mode: show "no results" when the panel has nothing to offer. */
873
932
  protected readonly hasNoResults: import("@angular/core").Signal<boolean>;
933
+ /**
934
+ * Search mode: what the open panel has to say to someone who cannot see it.
935
+ * The loading, error and "no results" rows are text in a listbox, which a
936
+ * screen reader does not read unless the user walks there, and a count is
937
+ * nowhere on screen at all.
938
+ */
939
+ private readonly searchStatus;
940
+ /** Text of the one live region. Written {@link ANNOUNCE_DELAY} ms after the status last changed. */
941
+ protected readonly announcement: import("@angular/core").WritableSignal<string>;
942
+ /** The status last said, or taken as said when the panel opened: the same one is not said twice. */
943
+ private announced;
944
+ private announceTimer;
945
+ /**
946
+ * Says the search status once it has stood still. Every keystroke of a client
947
+ * filter moves the count and every debounced load passes through "Loading", so
948
+ * each change restarts the wait and only what the typing settles on is read. A
949
+ * panel that opens on its full list says nothing: the count is news once a
950
+ * query has changed it.
951
+ */
952
+ private announceStatus;
874
953
  /** Search mode: the error row, in place of "no results", after a failed load and through its retry. */
875
954
  protected readonly showLoadError: import("@angular/core").Signal<boolean>;
876
955
  /** A `<ng-template wrSelectLoadError>` declared as a direct child, or `undefined`. */
@@ -893,6 +972,34 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
893
972
  protected readonly retryOffered: import("@angular/core").Signal<boolean>;
894
973
  /** Id of the error row, which `aria-activedescendant` names while it offers a retry. */
895
974
  protected readonly retryRowId: string;
975
+ /** Id of the select-all row, which `aria-activedescendant` names while the cursor is on it. */
976
+ protected readonly selectAllId: string;
977
+ /**
978
+ * What the select-all row acts on: the value of every enabled option the panel
979
+ * is offering, in display order. The virtual path reads the filtered data, not
980
+ * the rendered window; the full-render path reads the registry, where a
981
+ * filtered-out option stays registered and has to be dropped by hand.
982
+ */
983
+ private readonly selectAllTargets;
984
+ /** Whether the panel draws the select-all row: asked for, multi, and with something to select. */
985
+ protected readonly showSelectAll: import("@angular/core").Signal<boolean>;
986
+ /** How many of the offered options are selected: every one, some, or none. */
987
+ protected readonly selectAllState: import("@angular/core").Signal<"some" | "none" | "all">;
988
+ /** The row's `aria-checked`. */
989
+ protected readonly selectAllChecked: import("@angular/core").Signal<"true" | "false" | "mixed">;
990
+ /**
991
+ * `maxItems` is full of options the panel is not offering, so the row can
992
+ * neither add one nor take one out.
993
+ */
994
+ protected readonly selectAllUnavailable: import("@angular/core").Signal<boolean>;
995
+ /** Whether the keyboard cursor is on the select-all row. */
996
+ protected readonly selectAllActive: import("@angular/core").Signal<boolean>;
997
+ /**
998
+ * The select-all row. While an offered option can still be added it adds them,
999
+ * in display order, up to `maxItems`; with nothing left to add it removes the
1000
+ * offered ones. Values the search is hiding stay as they are either way.
1001
+ */
1002
+ protected toggleSelectAll(): void;
896
1003
  /** Search mode: is this option hidden by the current query? @internal */
897
1004
  private isOptionHidden;
898
1005
  protected readonly panelTpl: import("@angular/core").Signal<TemplateRef<any>>;
@@ -937,7 +1044,9 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
937
1044
  protected onSearchBlur(): void;
938
1045
  /** A pointer is down inside the panel: until it lifts, a blur of the field is not a leave. */
939
1046
  private pressInPanel;
1047
+ private pressEnd;
940
1048
  protected onPanelPointerDown(event: PointerEvent): void;
1049
+ private endPanelPress;
941
1050
  /** `freeText`: a non-empty trimmed query becomes the value. */
942
1051
  private commitQuery;
943
1052
  protected onSearchKey(event: KeyboardEvent): void;
@@ -1007,6 +1116,11 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
1007
1116
  * is not exported from `ngwr/select`. @internal
1008
1117
  */
1009
1118
  registerOption(reg: WrSelectOptionRegistration): () => void;
1119
+ /**
1120
+ * Replaces a registered option in its slot, so a change of value or disabled
1121
+ * does not move it in the keyboard order. @internal
1122
+ */
1123
+ updateOption(reg: WrSelectOptionRegistration): void;
1010
1124
  /**
1011
1125
  * Remove one selection (chip × button) BY POSITION. Works for multi and tag
1012
1126
  * modes.
@@ -1047,15 +1161,23 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
1047
1161
  protected onTriggerKey(event: KeyboardEvent): void;
1048
1162
  /**
1049
1163
  * A seed was taken before the panel attached. The panel's own `[options]` rows
1050
- * register as the portal attaches, so a seed over a registry without them is
1051
- * redone then; a click-open seeds nothing and stays cursor-less.
1164
+ * register as the portal attaches, and projected ones can only be put in DOM
1165
+ * order then, so a seed is redone over the list as rendered: `selected` as
1166
+ * `seedActiveIndex` takes it, `first` as a query does. A click-open seeds
1167
+ * nothing and stays cursor-less.
1052
1168
  */
1053
1169
  private reseedOnAttach;
1054
1170
  private seedActiveIndex;
1171
+ private readonly liveLocale;
1172
+ private readonly typeahead;
1173
+ /** A letter opened the panel: the match is found once its rows are there. */
1174
+ private typeaheadPending;
1175
+ /** Move the cursor to the option the typed letters point at. */
1176
+ private applyTypeahead;
1055
1177
  private moveActive;
1056
1178
  /**
1057
1179
  * Both scan `orderedRegistry`, and that is not interchangeable with
1058
- * `registry`.
1180
+ * creation order.
1059
1181
  *
1060
1182
  * They RETURN an index, and every reader of `activeIndex` — `activeOptionId`,
1061
1183
  * `moveActive`, `seedActiveIndex`, the Enter branch of `onTriggerKey` —
@@ -1207,6 +1329,11 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
1207
1329
  "required": false;
1208
1330
  "isSignal": true;
1209
1331
  };
1332
+ "resultsText": {
1333
+ "alias": "resultsText";
1334
+ "required": false;
1335
+ "isSignal": true;
1336
+ };
1210
1337
  "loading": {
1211
1338
  "alias": "loading";
1212
1339
  "required": false;
@@ -1247,6 +1374,16 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
1247
1374
  "required": false;
1248
1375
  "isSignal": true;
1249
1376
  };
1377
+ "selectAll": {
1378
+ "alias": "selectAll";
1379
+ "required": false;
1380
+ "isSignal": true;
1381
+ };
1382
+ "selectAllLabel": {
1383
+ "alias": "selectAllLabel";
1384
+ "required": false;
1385
+ "isSignal": true;
1386
+ };
1250
1387
  "maxTagCount": {
1251
1388
  "alias": "maxTagCount";
1252
1389
  "required": false;
@@ -1352,6 +1489,7 @@ export declare class WrOption {
1352
1489
  * chip is never what a `[label]="person.name"` on a missing name meant.
1353
1490
  */
1354
1491
  private readonly resolvedLabel;
1492
+ private readonly searchLabel;
1355
1493
  /**
1356
1494
  * @internal — true when this option is currently selected. Works for
1357
1495
  * both single and multi-select parents via `WrSelectContext.isSelected`.
@@ -0,0 +1,176 @@
1
+ import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
2
+ /** Narrows which `<wr-sidebar>` a harness query matches. */
3
+ interface WrSidebarHarnessFilters extends BaseHarnessFilters {
4
+ /** Match the landmark's accessible name: a string is an exact match, a RegExp is tested. */
5
+ readonly label?: string | RegExp;
6
+ }
7
+ /** Narrows which sidebar row a harness query matches. */
8
+ interface WrSidebarItemHarnessFilters extends BaseHarnessFilters {
9
+ /** Match the row's title: a string is an exact match, a RegExp is tested. */
10
+ readonly title?: string | RegExp;
11
+ /** Match only the current page (`true`) or only the other rows (`false`). */
12
+ readonly current?: boolean;
13
+ /** Match only disabled (`true`) or only enabled (`false`) rows. */
14
+ readonly disabled?: boolean;
15
+ }
16
+ /** Narrows which sidebar group a harness query matches. */
17
+ interface WrSidebarGroupHarnessFilters extends BaseHarnessFilters {
18
+ /** Match the group's title: a string is an exact match, a RegExp is tested. */
19
+ readonly title?: string | RegExp;
20
+ /** Match only open (`true`) or only closed (`false`) groups, as the toggle announces it. */
21
+ readonly open?: boolean;
22
+ }
23
+ /**
24
+ * Test harness for one row of a `<wr-sidebar>`: a page link, a disabled page,
25
+ * or the title row of a group.
26
+ *
27
+ * A row's accessible name is its title, badge and count joined by a hidden
28
+ * separator. Each reader here answers one piece without that separator, so
29
+ * `getTitle()` is `'Guides'` and never `'Guides,'`.
30
+ *
31
+ * @see https://ngwr.dev/guides/testing
32
+ */
33
+ export declare class WrSidebarItemHarness extends ComponentHarness {
34
+ static hostSelector: string;
35
+ /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
36
+ static with(options?: WrSidebarItemHarnessFilters): HarnessPredicate<WrSidebarItemHarness>;
37
+ /** The row's title, trimmed. */
38
+ getTitle(): Promise<string>;
39
+ /** The line under the title, or `null`. */
40
+ getSubtitle(): Promise<string | null>;
41
+ /** The word badge (`New`, `Soon`), or `null`. */
42
+ getBadge(): Promise<string | null>;
43
+ /** The count as drawn at the end of the row (`'12'`, `'99+'`), or `null`. */
44
+ getCount(): Promise<string | null>;
45
+ /** The nesting level, from 1, out of the row's `wr-sidebar__row--level-<n>` modifier. Level 3 and deeper read `3`. */
46
+ getLevel(): Promise<number>;
47
+ /** Whether this row is the current page, from `aria-current="page"`. */
48
+ isCurrent(): Promise<boolean>;
49
+ /** Whether the row is a disabled page: plain text, out of the tab order. */
50
+ isDisabled(): Promise<boolean>;
51
+ /** Whether the row is the title of a group. {@link WrSidebarGroupHarness} opens and closes it. */
52
+ isGroup(): Promise<boolean>;
53
+ /**
54
+ * Click the row: a link navigates, and a group with no page of its own
55
+ * toggles. Throws for a disabled page, which is text and does nothing.
56
+ */
57
+ click(): Promise<void>;
58
+ /** Move keyboard focus to the row. */
59
+ focus(): Promise<void>;
60
+ /** Whether the row holds focus. */
61
+ isFocused(): Promise<boolean>;
62
+ }
63
+ /**
64
+ * Test harness for one group of a `<wr-sidebar>`: a title row, and the rows it
65
+ * opens.
66
+ *
67
+ * A group comes in two shapes and the harness covers both. Without a page of
68
+ * its own the whole title row is the toggle. With one, the title is a link and
69
+ * the arrow beside it is a separate button: {@link isLink} tells them apart,
70
+ * and {@link toggle} presses whichever element carries `aria-expanded`.
71
+ *
72
+ * Open and closed are read from that attribute. The rows of a closed group
73
+ * stay in the DOM, so {@link isContentHidden} is how a spec checks they are out
74
+ * of reach of the keyboard.
75
+ *
76
+ * @see https://ngwr.dev/guides/testing
77
+ */
78
+ export declare class WrSidebarGroupHarness extends ComponentHarness {
79
+ static hostSelector: string;
80
+ /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
81
+ static with(options?: WrSidebarGroupHarnessFilters): HarnessPredicate<WrSidebarGroupHarness>;
82
+ private readonly row;
83
+ private readonly toggleElement;
84
+ private readonly body;
85
+ /** The group's title, trimmed. */
86
+ getTitle(): Promise<string>;
87
+ /** The group's title row, for its subtitle, badge, count and current state. */
88
+ getRow(): Promise<WrSidebarItemHarness>;
89
+ /** Whether the group is open, from its toggle's `aria-expanded`. */
90
+ isOpen(): Promise<boolean>;
91
+ /** Whether the group is a page as well: its title is a link, and the arrow is a button of its own. */
92
+ isLink(): Promise<boolean>;
93
+ /** The toggle's own accessible name: only a split group's arrow has one, the rest are named by their row. */
94
+ getToggleLabel(): Promise<string | null>;
95
+ /**
96
+ * Whether the group is closed around the current page, from the
97
+ * `wr-sidebar__row--holds-active` modifier that draws its dot.
98
+ */
99
+ holdsCurrent(): Promise<boolean>;
100
+ /** Whether the group's rows are out of reach of the keyboard, from `inert` on its body. */
101
+ isContentHidden(): Promise<boolean>;
102
+ /**
103
+ * The rows under this group, in order, nested groups' rows included.
104
+ * Answered whether the group is open or not: ask {@link isOpen} first when
105
+ * the question is what a user can reach.
106
+ */
107
+ getItems(filters?: WrSidebarItemHarnessFilters): Promise<WrSidebarItemHarness[]>;
108
+ /** The titles of the rows under this group, in order. */
109
+ getItemTitles(): Promise<string[]>;
110
+ /** Press the toggle. */
111
+ toggle(): Promise<void>;
112
+ /** Open the group. An already-open one is left alone. */
113
+ open(): Promise<void>;
114
+ /** Close the group. An already-closed one is left alone. */
115
+ close(): Promise<void>;
116
+ /** The body's own id, which the toggle's `aria-controls` names. */
117
+ private bodySelector;
118
+ }
119
+ /**
120
+ * Test harness for `<wr-sidebar>`, the navigation drawn from data.
121
+ *
122
+ * The sidebar has no collapsed state of its own: its groups open and close,
123
+ * each through a {@link WrSidebarGroupHarness}. A closed group keeps its rows
124
+ * in the DOM so its height can animate, which means a plain query finds links
125
+ * nobody can reach. {@link getItems} and {@link getGroups} answer with what is
126
+ * reachable, the rows outside every closed group, and `clickItem()` on a row
127
+ * inside one fails and names the rows that are there.
128
+ *
129
+ * The current page is asked for separately, across every row, because a
130
+ * collapsed group can hold it: see {@link getCurrentTitles}.
131
+ *
132
+ * @example
133
+ * ```ts
134
+ * const nav = await loader.getHarness(WrSidebarHarness);
135
+ *
136
+ * await nav.openGroup('Settings');
137
+ * await nav.clickItem('Billing');
138
+ * expect(await nav.getCurrentTitles()).toEqual(['Billing']);
139
+ * ```
140
+ *
141
+ * @see https://ngwr.dev/guides/testing
142
+ */
143
+ export declare class WrSidebarHarness extends ComponentHarness {
144
+ static hostSelector: string;
145
+ /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
146
+ static with(options?: WrSidebarHarnessFilters): HarnessPredicate<WrSidebarHarness>;
147
+ /** The accessible name of the navigation landmark. */
148
+ getLabel(): Promise<string | null>;
149
+ /** The reachable rows, in order: pages, disabled pages and group titles, outside every closed group. */
150
+ getItems(filters?: WrSidebarItemHarnessFilters): Promise<WrSidebarItemHarness[]>;
151
+ /** The titles of the reachable rows, in order. */
152
+ getItemTitles(): Promise<string[]>;
153
+ /** The first reachable row with this title, or a failure naming the rows that are reachable. */
154
+ getItem(title: string | RegExp): Promise<WrSidebarItemHarness>;
155
+ /** The reachable groups, in order. */
156
+ getGroups(filters?: WrSidebarGroupHarnessFilters): Promise<WrSidebarGroupHarness[]>;
157
+ /** The first reachable group with this title, or a failure naming the groups that are reachable. */
158
+ getGroup(title: string | RegExp): Promise<WrSidebarGroupHarness>;
159
+ /**
160
+ * The title of every row marked `aria-current="page"`, in order, whether it
161
+ * is reachable or inside a closed group.
162
+ *
163
+ * A list, because the default match is a path prefix: an entry at `['/']`
164
+ * is current on every route unless it asks for an exact match.
165
+ */
166
+ getCurrentTitles(): Promise<string[]>;
167
+ /** Click the first reachable row with this title. Throws when it is out of reach, or disabled. */
168
+ clickItem(title: string | RegExp): Promise<void>;
169
+ /** Whether the first reachable group with this title is open. */
170
+ isGroupOpen(title: string | RegExp): Promise<boolean>;
171
+ /** Open the first reachable group with this title. */
172
+ openGroup(title: string | RegExp): Promise<void>;
173
+ /** Close the first reachable group with this title. */
174
+ closeGroup(title: string | RegExp): Promise<void>;
175
+ }
176
+ export type { WrSidebarGroupHarnessFilters, WrSidebarHarnessFilters, WrSidebarItemHarnessFilters };
@@ -1,5 +1,5 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
2
- import { WrSliderMark, WrSliderValue } from "ngwr/slider";
2
+ import { WrSliderMark, WrSliderSize, WrSliderValue } from "ngwr/slider";
3
3
  /** Which end of a range slider a thumb is — the `--low` / `--high` modifier it carries. */
4
4
  type WrSliderThumbPosition = 'low' | 'high';
5
5
  /** Narrows which `<wr-slider>` a harness query matches. */
@@ -221,6 +221,8 @@ export declare class WrSliderHarness extends ComponentHarness {
221
221
  static with(options?: WrSliderHarnessFilters): HarnessPredicate<WrSliderHarness>;
222
222
  /** Whether the slider has two thumbs and answers with a `[low, high]` tuple. */
223
223
  isRange(): Promise<boolean>;
224
+ /** The control size. `'md'` is the default and paints no modifier of its own. */
225
+ getSize(): Promise<WrSliderSize>;
224
226
  /**
225
227
  * Whether the slider refuses interaction.
226
228
  *
@@ -14,6 +14,14 @@ interface WrSliderMark {
14
14
  /** Text under the mark, and the thumb's `aria-valuetext` while it stands on it. */
15
15
  readonly label?: string;
16
16
  }
17
+ /**
18
+ * @license
19
+ *
20
+ * Use of this source code is governed by an MIT-style license that can be
21
+ * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
22
+ */
23
+ /** Size of a `<wr-slider>`. */
24
+ type WrSliderSize = 'sm' | 'md' | 'lg';
17
25
  /**
18
26
  * @license
19
27
  *
@@ -139,6 +147,13 @@ export declare class WrSlider implements FormValueControl<WrSliderValue> {
139
147
  * @default 'horizontal'
140
148
  */
141
149
  readonly orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
150
+ /**
151
+ * Control size: the track's thickness, the thumb, the marks and both kinds
152
+ * of label text.
153
+ *
154
+ * @default 'md'
155
+ */
156
+ readonly size: import("@angular/core").InputSignal<WrSliderSize>;
142
157
  /**
143
158
  * Accessible name of the thumb — the single one, or the LOWER one in range
144
159
  * mode. Falls back to `slider.label` / `slider.lower`.
@@ -392,6 +407,11 @@ export declare class WrSlider implements FormValueControl<WrSliderValue> {
392
407
  "required": false;
393
408
  "isSignal": true;
394
409
  };
410
+ "size": {
411
+ "alias": "size";
412
+ "required": false;
413
+ "isSignal": true;
414
+ };
395
415
  "ariaLabel": {
396
416
  "alias": "ariaLabel";
397
417
  "required": false;
@@ -412,4 +432,4 @@ export declare class WrSlider implements FormValueControl<WrSliderValue> {
412
432
  "touch": "touch";
413
433
  }, never, never, true, never>;
414
434
  }
415
- export type { WrSliderMark, WrSliderValue };
435
+ export type { WrSliderMark, WrSliderSize, WrSliderValue };
@@ -34,6 +34,8 @@ interface WrSortableListContext {
34
34
  * the slot it had left.
35
35
  */
36
36
  readonly items: Signal<readonly unknown[]>;
37
+ /** A row's pointer drag was cancelled with Escape; the drop that follows changes nothing. */
38
+ cancelDrag(drag: object): void;
37
39
  /** Register a row on construction, in projection order. */
38
40
  register(item: {
39
41
  readonly host: ElementRef<HTMLElement>;
@@ -231,6 +233,10 @@ export declare class WrSortableList<T = unknown> implements WrSortableListContex
231
233
  /** True while a keyboard move is handing focus back — see `onRowFocusout`. */
232
234
  private restoringFocus;
233
235
  constructor();
236
+ /** Rows whose pointer drag Escape cancelled; the drop that follows is ignored. */
237
+ private readonly cancelledDrags;
238
+ /** @internal A row's pointer drag was cancelled with Escape. */
239
+ cancelDrag(drag: object): void;
234
240
  private onDrop;
235
241
  /**
236
242
  * The keyboard reorder path: pick up, move, drop — deliberately a two-step
@@ -106,20 +106,19 @@ export declare class WrStepper implements WrStepperContext {
106
106
  readonly responsive: import("@angular/core").InputSignalWithTransform<boolean, any>;
107
107
  protected readonly steps: import("@angular/core").Signal<readonly WrStep[]>;
108
108
  /**
109
- * The "optional" badge sits INSIDE the header button's label span, so the word
110
- * is part of the step's accessible name — a hard-coded literal announced English
111
- * to every locale, not just showed it. Catalog-only rather than an input: the
112
- * badge is one word shared by every step, and an app that wants other wording
113
- * overrides `stepper.optional` once instead of on every `<wr-step>`.
109
+ * The word of the "optional" badge, which sits inside the header button's label
110
+ * and so is part of each optional step's accessible name. One input on the
111
+ * stepper covers every step. Falls back to `stepper.optional`, then `'optional'`.
114
112
  */
115
- protected readonly optionalLabel: import("@angular/core").Signal<string>;
113
+ readonly optionalLabel: import("@angular/core").InputSignal<string | null>;
116
114
  /**
117
- * The check mark that replaces a completed step's number is `aria-hidden`, so
118
- * the state it draws reached nobody who cannot see it. This word goes into the
119
- * header button's name instead, visually hidden. Catalog-only, for the reason
120
- * `optionalLabel` is.
115
+ * The word a completed step's header button carries after its label, visually
116
+ * hidden: the check mark that replaces the number is `aria-hidden`. Falls back
117
+ * to `stepper.completed`, then `'completed'`.
121
118
  */
122
- protected readonly completedLabel: import("@angular/core").Signal<string>;
119
+ readonly completedLabel: import("@angular/core").InputSignal<string | null>;
120
+ protected readonly resolvedOptionalLabel: import("@angular/core").Signal<string>;
121
+ protected readonly resolvedCompletedLabel: import("@angular/core").Signal<string>;
123
122
  protected readonly classes: import("@angular/core").Signal<string>;
124
123
  constructor();
125
124
  /** Is the step at `index` considered completed? */
@@ -152,6 +151,16 @@ export declare class WrStepper implements WrStepperContext {
152
151
  "required": false;
153
152
  "isSignal": true;
154
153
  };
154
+ "optionalLabel": {
155
+ "alias": "optionalLabel";
156
+ "required": false;
157
+ "isSignal": true;
158
+ };
159
+ "completedLabel": {
160
+ "alias": "completedLabel";
161
+ "required": false;
162
+ "isSignal": true;
163
+ };
155
164
  }, {
156
165
  "active": "activeChange";
157
166
  }, ["steps"], ["*"], true, never>;