ngwr 16.2.0 → 16.3.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 (398) hide show
  1. package/badge/styles/_tag.scss +73 -1
  2. package/calendar/styles/_index.scss +22 -0
  3. package/cascader/styles/_rules.scss +7 -0
  4. package/color-picker/styles/_index.scss +21 -0
  5. package/date-picker/styles/_index.scss +19 -0
  6. package/dropdown/styles/_index.scss +13 -19
  7. package/fesm2022/ngwr-affix.mjs +3 -3
  8. package/fesm2022/ngwr-alert-testing.mjs +70 -0
  9. package/fesm2022/ngwr-alert-testing.mjs.map +1 -0
  10. package/fesm2022/ngwr-alert.mjs +3 -3
  11. package/fesm2022/ngwr-anchor.mjs +17 -6
  12. package/fesm2022/ngwr-anchor.mjs.map +1 -1
  13. package/fesm2022/ngwr-animations-aurora.mjs +3 -3
  14. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  15. package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
  16. package/fesm2022/ngwr-animations-confetti.mjs +3 -3
  17. package/fesm2022/ngwr-animations-decode.mjs +3 -3
  18. package/fesm2022/ngwr-animations-destruct.mjs +3 -3
  19. package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
  20. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  21. package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
  22. package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
  23. package/fesm2022/ngwr-animations-glitch.mjs +3 -3
  24. package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
  25. package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
  26. package/fesm2022/ngwr-animations-marquee.mjs +3 -3
  27. package/fesm2022/ngwr-animations-orbit.mjs +3 -3
  28. package/fesm2022/ngwr-animations-reveal.mjs +3 -3
  29. package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
  30. package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
  31. package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
  32. package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
  33. package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
  34. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  35. package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
  36. package/fesm2022/ngwr-avatar.mjs +3 -3
  37. package/fesm2022/ngwr-back-top.mjs +3 -3
  38. package/fesm2022/ngwr-badge.mjs +129 -11
  39. package/fesm2022/ngwr-badge.mjs.map +1 -1
  40. package/fesm2022/ngwr-breadcrumbs-testing.mjs +83 -0
  41. package/fesm2022/ngwr-breadcrumbs-testing.mjs.map +1 -0
  42. package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
  43. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  44. package/fesm2022/ngwr-burger-testing.mjs +45 -0
  45. package/fesm2022/ngwr-burger-testing.mjs.map +1 -0
  46. package/fesm2022/ngwr-burger.mjs +3 -3
  47. package/fesm2022/ngwr-button.mjs +6 -6
  48. package/fesm2022/ngwr-calendar-testing.mjs +18 -0
  49. package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
  50. package/fesm2022/ngwr-calendar.mjs +500 -73
  51. package/fesm2022/ngwr-calendar.mjs.map +1 -1
  52. package/fesm2022/ngwr-card.mjs +9 -9
  53. package/fesm2022/ngwr-carousel.mjs +6 -6
  54. package/fesm2022/ngwr-cascader.mjs +37 -16
  55. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  56. package/fesm2022/ngwr-charts-bar-chart.mjs +5 -4
  57. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  58. package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
  59. package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
  60. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
  61. package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
  62. package/fesm2022/ngwr-charts-chart-legend.mjs +26 -11
  63. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  64. package/fesm2022/ngwr-charts-core.mjs +3 -3
  65. package/fesm2022/ngwr-charts-donut-chart.mjs +5 -4
  66. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  67. package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
  68. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  69. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  70. package/fesm2022/ngwr-charts-line-chart-testing.mjs +3 -2
  71. package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
  72. package/fesm2022/ngwr-charts-line-chart.mjs +17 -7
  73. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  74. package/fesm2022/ngwr-charts-meter-group.mjs +5 -4
  75. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  76. package/fesm2022/ngwr-charts-radar-chart.mjs +5 -4
  77. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  78. package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -4
  79. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  80. package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
  81. package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
  82. package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
  83. package/fesm2022/ngwr-checkbox.mjs +6 -6
  84. package/fesm2022/ngwr-clipboard.mjs +3 -3
  85. package/fesm2022/ngwr-collapse.mjs +9 -9
  86. package/fesm2022/ngwr-color-picker-testing.mjs +11 -1
  87. package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
  88. package/fesm2022/ngwr-color-picker.mjs +153 -37
  89. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  90. package/fesm2022/ngwr-command-palette.mjs +3 -3
  91. package/fesm2022/ngwr-comment.mjs +10 -6
  92. package/fesm2022/ngwr-comment.mjs.map +1 -1
  93. package/fesm2022/ngwr-compare-testing.mjs +84 -0
  94. package/fesm2022/ngwr-compare-testing.mjs.map +1 -0
  95. package/fesm2022/ngwr-compare.mjs +3 -3
  96. package/fesm2022/ngwr-context-menu.mjs +12 -12
  97. package/fesm2022/ngwr-cookie.mjs +3 -3
  98. package/fesm2022/ngwr-copy-value.mjs +3 -3
  99. package/fesm2022/ngwr-counter.mjs +6 -6
  100. package/fesm2022/ngwr-date-picker-testing.mjs +30 -4
  101. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  102. package/fesm2022/ngwr-date-picker.mjs +342 -69
  103. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  104. package/fesm2022/ngwr-date-stamp.mjs +3 -3
  105. package/fesm2022/ngwr-date.mjs +59 -8
  106. package/fesm2022/ngwr-date.mjs.map +1 -1
  107. package/fesm2022/ngwr-density.mjs +6 -6
  108. package/fesm2022/ngwr-descriptions.mjs +6 -6
  109. package/fesm2022/ngwr-dialog.mjs +18 -18
  110. package/fesm2022/ngwr-directives.mjs +15 -15
  111. package/fesm2022/ngwr-divider.mjs +3 -3
  112. package/fesm2022/ngwr-drawer.mjs +51 -29
  113. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  114. package/fesm2022/ngwr-dropdown-testing.mjs +11 -3
  115. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  116. package/fesm2022/ngwr-dropdown.mjs +52 -95
  117. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  118. package/fesm2022/ngwr-editor.mjs +4 -3
  119. package/fesm2022/ngwr-editor.mjs.map +1 -1
  120. package/fesm2022/ngwr-empty.mjs +3 -3
  121. package/fesm2022/ngwr-event-calendar.mjs +186 -33
  122. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  123. package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
  124. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  125. package/fesm2022/ngwr-file-upload.mjs +274 -15
  126. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  127. package/fesm2022/ngwr-form.mjs +9 -9
  128. package/fesm2022/ngwr-form.mjs.map +1 -1
  129. package/fesm2022/ngwr-graph-testing.mjs +3 -0
  130. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  131. package/fesm2022/ngwr-graph.mjs +102 -42
  132. package/fesm2022/ngwr-graph.mjs.map +1 -1
  133. package/fesm2022/ngwr-hotkey.mjs +6 -6
  134. package/fesm2022/ngwr-i18n-ar.mjs +19 -4
  135. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  136. package/fesm2022/ngwr-i18n-cs.mjs +19 -4
  137. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  138. package/fesm2022/ngwr-i18n-de.mjs +19 -4
  139. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  140. package/fesm2022/ngwr-i18n-en.mjs +19 -4
  141. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  142. package/fesm2022/ngwr-i18n-es.mjs +19 -4
  143. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  144. package/fesm2022/ngwr-i18n-fr.mjs +19 -4
  145. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  146. package/fesm2022/ngwr-i18n-he.mjs +19 -4
  147. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  148. package/fesm2022/ngwr-i18n-hi.mjs +19 -4
  149. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  150. package/fesm2022/ngwr-i18n-id.mjs +19 -4
  151. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  152. package/fesm2022/ngwr-i18n-it.mjs +19 -4
  153. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  154. package/fesm2022/ngwr-i18n-ja.mjs +19 -4
  155. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  156. package/fesm2022/ngwr-i18n-ko.mjs +19 -4
  157. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  158. package/fesm2022/ngwr-i18n-nl.mjs +19 -4
  159. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  160. package/fesm2022/ngwr-i18n-pl.mjs +19 -4
  161. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  162. package/fesm2022/ngwr-i18n-pt.mjs +19 -4
  163. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  164. package/fesm2022/ngwr-i18n-ru.mjs +19 -4
  165. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  166. package/fesm2022/ngwr-i18n-sv.mjs +19 -4
  167. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  168. package/fesm2022/ngwr-i18n-tr.mjs +19 -4
  169. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  170. package/fesm2022/ngwr-i18n-uk.mjs +19 -4
  171. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  172. package/fesm2022/ngwr-i18n-vi.mjs +19 -4
  173. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  174. package/fesm2022/ngwr-i18n-zh-tw.mjs +19 -4
  175. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  176. package/fesm2022/ngwr-i18n-zh.mjs +19 -4
  177. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  178. package/fesm2022/ngwr-i18n.mjs +9 -9
  179. package/fesm2022/ngwr-icon.mjs +6 -6
  180. package/fesm2022/ngwr-image-cropper.mjs +3 -3
  181. package/fesm2022/ngwr-input-number-testing.mjs +11 -0
  182. package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
  183. package/fesm2022/ngwr-input-number.mjs +68 -7
  184. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  185. package/fesm2022/ngwr-input-otp.mjs +23 -3
  186. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  187. package/fesm2022/ngwr-input-testing.mjs +24 -1
  188. package/fesm2022/ngwr-input-testing.mjs.map +1 -1
  189. package/fesm2022/ngwr-input.mjs +152 -36
  190. package/fesm2022/ngwr-input.mjs.map +1 -1
  191. package/fesm2022/ngwr-keyboard.mjs +3 -3
  192. package/fesm2022/ngwr-knob.mjs +3 -3
  193. package/fesm2022/ngwr-layout.mjs +15 -15
  194. package/fesm2022/ngwr-lightbox.mjs +8 -8
  195. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  196. package/fesm2022/ngwr-list.mjs +8 -8
  197. package/fesm2022/ngwr-list.mjs.map +1 -1
  198. package/fesm2022/ngwr-load-state.mjs +15 -15
  199. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  200. package/fesm2022/ngwr-mention.mjs +6 -6
  201. package/fesm2022/ngwr-meta.mjs +6 -6
  202. package/fesm2022/ngwr-overlay.mjs +175 -13
  203. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  204. package/fesm2022/ngwr-page-header.mjs +3 -3
  205. package/fesm2022/ngwr-pagination.mjs +5 -3
  206. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  207. package/fesm2022/ngwr-pipes.mjs +31 -29
  208. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  209. package/fesm2022/ngwr-platform.mjs +9 -9
  210. package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
  211. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  212. package/fesm2022/ngwr-popconfirm.mjs +44 -63
  213. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  214. package/fesm2022/ngwr-popover-testing.mjs +7 -1
  215. package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
  216. package/fesm2022/ngwr-popover.mjs +58 -156
  217. package/fesm2022/ngwr-popover.mjs.map +1 -1
  218. package/fesm2022/ngwr-progress.mjs +50 -9
  219. package/fesm2022/ngwr-progress.mjs.map +1 -1
  220. package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
  221. package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
  222. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  223. package/fesm2022/ngwr-qr.mjs +3 -3
  224. package/fesm2022/ngwr-radio.mjs +6 -6
  225. package/fesm2022/ngwr-rating.mjs +3 -3
  226. package/fesm2022/ngwr-resizable-testing.mjs +113 -0
  227. package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
  228. package/fesm2022/ngwr-resizable.mjs +3 -3
  229. package/fesm2022/ngwr-result.mjs +12 -12
  230. package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
  231. package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
  232. package/fesm2022/ngwr-schema-form.mjs +415 -19
  233. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  234. package/fesm2022/ngwr-scroll.mjs +3 -3
  235. package/fesm2022/ngwr-segmented.mjs +3 -3
  236. package/fesm2022/ngwr-select-testing.mjs +19 -0
  237. package/fesm2022/ngwr-select-testing.mjs.map +1 -1
  238. package/fesm2022/ngwr-select.mjs +263 -83
  239. package/fesm2022/ngwr-select.mjs.map +1 -1
  240. package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
  241. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
  242. package/fesm2022/ngwr-sidebar.mjs +3 -3
  243. package/fesm2022/ngwr-skeleton.mjs +3 -3
  244. package/fesm2022/ngwr-slider-testing.mjs +6 -0
  245. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  246. package/fesm2022/ngwr-slider.mjs +21 -3
  247. package/fesm2022/ngwr-slider.mjs.map +1 -1
  248. package/fesm2022/ngwr-sortable-list.mjs +29 -12
  249. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  250. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  251. package/fesm2022/ngwr-spinner.mjs +3 -3
  252. package/fesm2022/ngwr-splitter.mjs +3 -3
  253. package/fesm2022/ngwr-statistic.mjs +9 -9
  254. package/fesm2022/ngwr-stepper.mjs +42 -11
  255. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  256. package/fesm2022/ngwr-storage.mjs +3 -3
  257. package/fesm2022/ngwr-switch.mjs +3 -3
  258. package/fesm2022/ngwr-table-testing.mjs +88 -2
  259. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  260. package/fesm2022/ngwr-table.mjs +891 -74
  261. package/fesm2022/ngwr-table.mjs.map +1 -1
  262. package/fesm2022/ngwr-tabs-router.mjs +3 -3
  263. package/fesm2022/ngwr-tabs-testing.mjs +1 -1
  264. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  265. package/fesm2022/ngwr-tabs.mjs +15 -10
  266. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  267. package/fesm2022/ngwr-textarea-testing.mjs +11 -0
  268. package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
  269. package/fesm2022/ngwr-textarea.mjs +128 -16
  270. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  271. package/fesm2022/ngwr-theme.mjs +3 -3
  272. package/fesm2022/ngwr-timeline.mjs +6 -6
  273. package/fesm2022/ngwr-toast.mjs +40 -19
  274. package/fesm2022/ngwr-toast.mjs.map +1 -1
  275. package/fesm2022/ngwr-toolbar.mjs +3 -3
  276. package/fesm2022/ngwr-tour.mjs +6 -6
  277. package/fesm2022/ngwr-transfer-testing.mjs +6 -0
  278. package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
  279. package/fesm2022/ngwr-transfer.mjs +24 -5
  280. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  281. package/fesm2022/ngwr-tree-testing.mjs +62 -2
  282. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  283. package/fesm2022/ngwr-tree.mjs +966 -78
  284. package/fesm2022/ngwr-tree.mjs.map +1 -1
  285. package/fesm2022/ngwr-typography.mjs +3 -3
  286. package/fesm2022/ngwr-utils-router.mjs +3 -3
  287. package/fesm2022/ngwr-utils.mjs +34 -1
  288. package/fesm2022/ngwr-utils.mjs.map +1 -1
  289. package/fesm2022/ngwr-version.mjs +1 -1
  290. package/fesm2022/ngwr-version.mjs.map +1 -1
  291. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  292. package/fesm2022/ngwr-window.mjs +33 -22
  293. package/fesm2022/ngwr-window.mjs.map +1 -1
  294. package/file-upload/styles/_index.scss +156 -0
  295. package/i18n/ar.json +21 -4
  296. package/i18n/cs.json +21 -4
  297. package/i18n/de.json +21 -4
  298. package/i18n/en.json +21 -4
  299. package/i18n/es.json +21 -4
  300. package/i18n/fr.json +21 -4
  301. package/i18n/he.json +21 -4
  302. package/i18n/hi.json +21 -4
  303. package/i18n/id.json +21 -4
  304. package/i18n/it.json +21 -4
  305. package/i18n/ja.json +21 -4
  306. package/i18n/ko.json +21 -4
  307. package/i18n/nl.json +21 -4
  308. package/i18n/pl.json +21 -4
  309. package/i18n/pt.json +21 -4
  310. package/i18n/ru.json +21 -4
  311. package/i18n/sv.json +21 -4
  312. package/i18n/tr.json +21 -4
  313. package/i18n/uk.json +21 -4
  314. package/i18n/vi.json +21 -4
  315. package/i18n/zh-TW.json +21 -4
  316. package/i18n/zh.json +21 -4
  317. package/input/styles/_index.scss +68 -1
  318. package/input-otp/styles/_index.scss +14 -0
  319. package/llms-full.txt +52 -20
  320. package/overlay/styles/_arrow.scss +4 -4
  321. package/package.json +33 -1
  322. package/popconfirm/styles/_index.scss +3 -11
  323. package/progress/styles/_index.scss +32 -0
  324. package/schema-form/styles/_index.scss +78 -0
  325. package/schematics/use/rule.js +2 -0
  326. package/schematics/use/symbol-map.json +4 -0
  327. package/select/styles/_index.scss +114 -22
  328. package/skills/ngwr/SKILL.md +1 -1
  329. package/skills/ngwr/references/catalog.md +9 -1
  330. package/slider/styles/_index.scss +22 -0
  331. package/table/styles/_index.scss +167 -3
  332. package/textarea/styles/_index.scss +80 -0
  333. package/theme/styles/_focus.scss +5 -0
  334. package/theme/styles/_motion.scss +5 -0
  335. package/transfer/styles/_index.scss +84 -0
  336. package/tree/styles/_index.scss +138 -5
  337. package/types/ngwr-alert-testing.d.ts +88 -0
  338. package/types/ngwr-badge.d.ts +72 -2
  339. package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
  340. package/types/ngwr-burger-testing.d.ts +51 -0
  341. package/types/ngwr-calendar-testing.d.ts +18 -6
  342. package/types/ngwr-calendar.d.ts +272 -22
  343. package/types/ngwr-cascader.d.ts +10 -1
  344. package/types/ngwr-charts-chart-legend.d.ts +9 -4
  345. package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
  346. package/types/ngwr-charts-line-chart.d.ts +7 -4
  347. package/types/ngwr-color-picker-testing.d.ts +15 -4
  348. package/types/ngwr-color-picker.d.ts +76 -6
  349. package/types/ngwr-compare-testing.d.ts +72 -0
  350. package/types/ngwr-date-picker-testing.d.ts +23 -8
  351. package/types/ngwr-date-picker.d.ts +100 -9
  352. package/types/ngwr-date.d.ts +71 -1
  353. package/types/ngwr-drawer.d.ts +9 -0
  354. package/types/ngwr-dropdown-testing.d.ts +20 -0
  355. package/types/ngwr-dropdown.d.ts +24 -6
  356. package/types/ngwr-event-calendar.d.ts +66 -8
  357. package/types/ngwr-file-upload-testing.d.ts +31 -2
  358. package/types/ngwr-file-upload.d.ts +148 -1
  359. package/types/ngwr-form.d.ts +47 -3
  360. package/types/ngwr-graph-testing.d.ts +8 -3
  361. package/types/ngwr-graph.d.ts +147 -7
  362. package/types/ngwr-input-number-testing.d.ts +10 -0
  363. package/types/ngwr-input-number.d.ts +30 -1
  364. package/types/ngwr-input-otp.d.ts +10 -0
  365. package/types/ngwr-input-testing.d.ts +30 -0
  366. package/types/ngwr-input.d.ts +54 -3
  367. package/types/ngwr-overlay.d.ts +84 -5
  368. package/types/ngwr-pipes.d.ts +2 -1
  369. package/types/ngwr-popconfirm-testing.d.ts +12 -3
  370. package/types/ngwr-popconfirm.d.ts +28 -3
  371. package/types/ngwr-popover-testing.d.ts +19 -2
  372. package/types/ngwr-popover.d.ts +22 -2
  373. package/types/ngwr-progress.d.ts +29 -1
  374. package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
  375. package/types/ngwr-resizable-testing.d.ts +116 -0
  376. package/types/ngwr-schema-form-testing.d.ts +260 -0
  377. package/types/ngwr-schema-form.d.ts +76 -6
  378. package/types/ngwr-select-testing.d.ts +20 -0
  379. package/types/ngwr-select.d.ts +112 -11
  380. package/types/ngwr-sidebar-testing.d.ts +176 -0
  381. package/types/ngwr-slider-testing.d.ts +3 -1
  382. package/types/ngwr-slider.d.ts +21 -1
  383. package/types/ngwr-sortable-list.d.ts +6 -0
  384. package/types/ngwr-stepper.d.ts +20 -11
  385. package/types/ngwr-table-testing.d.ts +70 -6
  386. package/types/ngwr-table.d.ts +480 -50
  387. package/types/ngwr-tabs-testing.d.ts +14 -17
  388. package/types/ngwr-tabs.d.ts +6 -0
  389. package/types/ngwr-textarea-testing.d.ts +10 -0
  390. package/types/ngwr-textarea.d.ts +48 -2
  391. package/types/ngwr-toast.d.ts +8 -1
  392. package/types/ngwr-transfer-testing.d.ts +3 -0
  393. package/types/ngwr-transfer.d.ts +24 -1
  394. package/types/ngwr-tree-testing.d.ts +65 -1
  395. package/types/ngwr-tree.d.ts +333 -12
  396. package/types/ngwr-utils.d.ts +28 -0
  397. package/types/ngwr-version.d.ts +1 -1
  398. package/types/ngwr-window.d.ts +7 -4
@@ -452,6 +452,16 @@
452
452
  --wr-select-panel-message-padding: var(--wr-space-md);
453
453
  --wr-select-panel-retry-gap: var(--wr-space-sm);
454
454
  --wr-select-panel-retry-active-bg: var(--wr-color-hover);
455
+ // The select-all row's box: a checkbox drawn, not a control, so it has hooks
456
+ // of its own rather than `--wr-checkbox-*`.
457
+ --wr-select-panel-select-all-box-size: 1rem;
458
+ --wr-select-panel-select-all-box-radius: var(--wr-border-radius-sm);
459
+ --wr-select-panel-select-all-box-bg: var(--wr-color-surface);
460
+ --wr-select-panel-select-all-box-border: var(--wr-border-base);
461
+ --wr-select-panel-select-all-box-on-bg: var(--wr-color-primary);
462
+ --wr-select-panel-select-all-box-on-color: var(--wr-color-primary-contrast);
463
+ --wr-select-panel-select-all-hover-bg: var(--wr-color-hover);
464
+ --wr-select-panel-select-all-cursor: var(--wr-color-primary);
455
465
  // Option sizing — default md. --sm/--lg are set from the trigger size because
456
466
  // the panel is portaled into an overlay and can't inherit the host size class.
457
467
  --wr-option-font-size: var(--wr-control-font-size-md);
@@ -513,6 +523,86 @@
513
523
  text-align: center;
514
524
  }
515
525
 
526
+ // The first row under `selectAll`. Laid out as an option, from the same
527
+ // `--wr-option-*` hooks, and pinned: the panel scrolls under it. Its fill is
528
+ // the panel's own surface with the hover tint painted OVER it as an image,
529
+ // because that tint is translucent and the options behind would show through.
530
+ // It runs edge to edge over the panel's padding and pins to the padding's top
531
+ // edge, so no option shows above or beside it while the list scrolls; the
532
+ // panel's rounded clip draws its top corners.
533
+ &__select-all {
534
+ position: sticky;
535
+ inset-block-start: calc(-1 * var(--wr-select-panel-padding));
536
+ z-index: 1;
537
+ display: flex;
538
+ flex: none;
539
+ align-items: center;
540
+ gap: var(--wr-option-inline-gap, 0.5rem);
541
+ margin-block-start: calc(-1 * var(--wr-select-panel-padding));
542
+ margin-inline: calc(-1 * var(--wr-select-panel-padding));
543
+ padding-block: calc(var(--wr-option-padding-y) + var(--wr-select-panel-padding)) var(--wr-option-padding-y);
544
+ padding-inline: calc(var(--wr-option-padding-x) + var(--wr-select-panel-padding));
545
+ background-color: var(--wr-select-panel-bg);
546
+ box-shadow: 0 1px 0 var(--wr-select-panel-border);
547
+ color: var(--wr-color-on-surface);
548
+ font-size: var(--wr-option-font-size);
549
+ font-weight: var(--wr-option-font-weight);
550
+ line-height: var(--wr-option-line-height);
551
+ cursor: pointer;
552
+ user-select: none;
553
+
554
+ &:hover,
555
+ &--active {
556
+ background-image: linear-gradient(
557
+ var(--wr-select-panel-select-all-hover-bg),
558
+ var(--wr-select-panel-select-all-hover-bg)
559
+ );
560
+ }
561
+
562
+ // The keyboard cursor: focus stays in the trigger, so this bar is the only
563
+ // sign of where the arrows are, as it is on a virtual row.
564
+ &--active::before {
565
+ content: '';
566
+ position: absolute;
567
+ inset-block: 0;
568
+ inset-inline-start: 0;
569
+ width: 2px;
570
+ background: var(--wr-select-panel-select-all-cursor);
571
+ }
572
+
573
+ &--disabled {
574
+ color: var(--wr-color-on-surface-muted);
575
+ cursor: not-allowed;
576
+ opacity: var(--wr-disabled-opacity);
577
+
578
+ &:hover {
579
+ background-image: none;
580
+ }
581
+ }
582
+ }
583
+
584
+ &__select-all-box {
585
+ display: inline-flex;
586
+ flex: none;
587
+ width: var(--wr-select-panel-select-all-box-size);
588
+ height: var(--wr-select-panel-select-all-box-size);
589
+ background: var(--wr-select-panel-select-all-box-bg);
590
+ border: 1px solid var(--wr-select-panel-select-all-box-border);
591
+ border-radius: var(--wr-select-panel-select-all-box-radius);
592
+ color: var(--wr-select-panel-select-all-box-on-color);
593
+
594
+ svg {
595
+ width: 100%;
596
+ height: 100%;
597
+ }
598
+ }
599
+
600
+ &__select-all--checked &__select-all-box,
601
+ &__select-all--mixed &__select-all-box {
602
+ --wr-select-panel-select-all-box-bg: var(--wr-select-panel-select-all-box-on-bg);
603
+ --wr-select-panel-select-all-box-border: var(--wr-select-panel-select-all-box-on-bg);
604
+ }
605
+
516
606
  // A button on a line of its own, under the message.
517
607
  &__retry {
518
608
  display: flex;
@@ -540,11 +630,35 @@
540
630
  cursor: pointer;
541
631
  user-select: none;
542
632
  transition: background var(--wr-transition-short);
633
+ // Positioning context for the `--active` cursor bar below.
634
+ position: relative;
543
635
 
544
636
  &:hover {
545
637
  background: var(--wr-color-hover);
546
638
  }
547
639
 
640
+ // Keyboard cursor highlight — the list is navigated by
641
+ // aria-activedescendant, so real focus never lands on the row and the tint
642
+ // is all there was. `--wr-color-hover` is translucent and lands within about
643
+ // 1.1:1 of the panel behind it, which is the same grey to a reader who
644
+ // cannot separate hue — and it is the declaration `:hover` uses, so the row
645
+ // the arrows reached and a row under the mouse were indistinguishable. The
646
+ // bar is the channel; the tint stays as reinforcement.
647
+ &--active {
648
+ background: var(--wr-color-hover);
649
+
650
+ &::before {
651
+ content: '';
652
+ position: absolute;
653
+ inset-block: 0;
654
+ inset-inline-start: 0;
655
+ width: 2px;
656
+ background: var(--wr-color-primary);
657
+ }
658
+ }
659
+
660
+ // After the cursor, so a selected row keeps its own tint (the bar still shows
661
+ // the cursor on it, since it is a pseudo-element and not a background).
548
662
  &--selected {
549
663
  background: var(--wr-color-primary-soft);
550
664
  // Text on the intent's own `-soft` tint: `-ink`, by calibration.
@@ -604,8 +718,6 @@
604
718
  overflow: hidden;
605
719
  white-space: nowrap;
606
720
  text-overflow: ellipsis;
607
- // Positioning context for the `--active` cursor bar below.
608
- position: relative;
609
721
  }
610
722
 
611
723
  // A virtual row is a block, not a flex row (one line, so it can ellipsize),
@@ -614,26 +726,6 @@
614
726
  vertical-align: middle;
615
727
  margin-inline-end: var(--wr-option-inline-gap, 0.5rem);
616
728
  }
617
-
618
- // Keyboard cursor highlight — the virtualized list is navigated by
619
- // aria-activedescendant, so real focus never lands on the row and the tint
620
- // is all there was. `--wr-color-hover` is translucent and lands within about
621
- // 1.1:1 of the panel behind it, which is the same grey to a reader who
622
- // cannot separate hue — and it is the declaration `:hover` uses, so the row
623
- // the arrows reached and a row under the mouse were indistinguishable. The
624
- // bar is the channel; the tint stays as reinforcement.
625
- .wr-option--active {
626
- background: var(--wr-color-hover);
627
-
628
- &::before {
629
- content: '';
630
- position: absolute;
631
- inset-block: 0;
632
- inset-inline-start: 0;
633
- width: 2px;
634
- background: var(--wr-color-primary);
635
- }
636
- }
637
729
  }
638
730
 
639
731
  .wr-option-group {
@@ -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: 234 tree-shakable entry points, 129 of them shipping a selector.
8
+ An Angular 22 UI library: 242 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
 
@@ -8,6 +8,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
8
8
  | `ngwr` | `import { provideWr } from 'ngwr'` | — |
9
9
  | `ngwr/affix` | `import { WrAffix } from 'ngwr/affix'` | `[wrAffix]` |
10
10
  | `ngwr/alert` | `import { WrAlert } from 'ngwr/alert'` | `wr-alert` |
11
+ | `ngwr/alert/testing` | `import { WrAlertHarness } from 'ngwr/alert/testing'` | — |
11
12
  | `ngwr/anchor` | `import { WrAnchor } from 'ngwr/anchor'` | `wr-anchor` |
12
13
  | `ngwr/animations/aurora` | `import { WrAurora } from 'ngwr/animations/aurora'` | `wr-aurora` |
13
14
  | `ngwr/animations/blur-reveal` | `import { WrBlurReveal } from 'ngwr/animations/blur-reveal'` | `[wrBlurReveal]` |
@@ -36,7 +37,9 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
36
37
  | `ngwr/back-top` | `import { WrBackTop } from 'ngwr/back-top'` | `wr-back-top` |
37
38
  | `ngwr/badge` | `import { WrBadge } from 'ngwr/badge'` | `wr-badge` `wr-tag` |
38
39
  | `ngwr/breadcrumbs` | `import { WrBreadcrumbs } from 'ngwr/breadcrumbs'` | `wr-breadcrumbs-item` `wr-breadcrumbs` |
40
+ | `ngwr/breadcrumbs/testing` | `import { WrBreadcrumbsHarness } from 'ngwr/breadcrumbs/testing'` | — |
39
41
  | `ngwr/burger` | `import { WrBurger } from 'ngwr/burger'` | `wr-burger` |
42
+ | `ngwr/burger/testing` | `import { WrBurgerHarness } from 'ngwr/burger/testing'` | — |
40
43
  | `ngwr/button` | `import { WrButton } from 'ngwr/button'` | `wr-btn-group` `wr-btn` `button[wr-btn]` `a[wr-btn]` |
41
44
  | `ngwr/button/testing` | `import { WrButtonHarness } from 'ngwr/button/testing'` | — |
42
45
  | `ngwr/calendar` | `import { WrCalendar } from 'ngwr/calendar'` | `wr-calendar` |
@@ -92,6 +95,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
92
95
  | `ngwr/comment` | `import { WrComment } from 'ngwr/comment'` | `wr-comment-composer` `wr-comment` |
93
96
  | `ngwr/comment/testing` | `import { WrCommentComposerHarness } from 'ngwr/comment/testing'` | — |
94
97
  | `ngwr/compare` | `import { WrCompare } from 'ngwr/compare'` | `wr-compare` |
98
+ | `ngwr/compare/testing` | `import { WrCompareHarness } from 'ngwr/compare/testing'` | — |
95
99
  | `ngwr/context-menu` | `import { WrContextMenu } from 'ngwr/context-menu'` | `wr-context-menu-divider` `wr-context-menu-item` `wr-context-menu` `[wrContextMenu]` |
96
100
  | `ngwr/context-menu/testing` | `import { WrContextMenuHarness } from 'ngwr/context-menu/testing'` | — |
97
101
  | `ngwr/cookie` | `import { WrCookie } from 'ngwr/cookie'` | — |
@@ -183,20 +187,24 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
183
187
  | `ngwr/popover/testing` | `import { WrPopoverHarness } from 'ngwr/popover/testing'` | — |
184
188
  | `ngwr/progress` | `import { WrProgress } from 'ngwr/progress'` | `wr-progress` |
185
189
  | `ngwr/pull-to-refresh` | `import { WrPullToRefresh } from 'ngwr/pull-to-refresh'` | `wr-pull-to-refresh` |
190
+ | `ngwr/pull-to-refresh/testing` | `import { WrPullToRefreshHarness } from 'ngwr/pull-to-refresh/testing'` | — |
186
191
  | `ngwr/qr` | `import { WrQr } from 'ngwr/qr'` | `wr-qr` |
187
192
  | `ngwr/radio` | `import { WrRadio } from 'ngwr/radio'` | `wr-radio-group` `wr-radio` |
188
193
  | `ngwr/radio/testing` | `import { WrRadioGroupHarness } from 'ngwr/radio/testing'` | — |
189
194
  | `ngwr/rating` | `import { WrRating } from 'ngwr/rating'` | `wr-rating` |
190
195
  | `ngwr/rating/testing` | `import { WrRatingHarness } from 'ngwr/rating/testing'` | — |
191
196
  | `ngwr/resizable` | `import { WrResizable } from 'ngwr/resizable'` | `[wrResizable]` |
197
+ | `ngwr/resizable/testing` | `import { WrResizableHarness } from 'ngwr/resizable/testing'` | — |
192
198
  | `ngwr/result` | `import { WrResult } from 'ngwr/result'` | `wr-result-404` `wr-result-403` `wr-result-500` `wr-result` |
193
199
  | `ngwr/schema-form` | `import { WrSchemaForm } from 'ngwr/schema-form'` | `wr-schema-form` |
200
+ | `ngwr/schema-form/testing` | `import { WrSchemaFormArrayHarness } from 'ngwr/schema-form/testing'` | — |
194
201
  | `ngwr/scroll` | `import { WrScroll } from 'ngwr/scroll'` | — |
195
202
  | `ngwr/segmented` | `import { WrSegmented } from 'ngwr/segmented'` | `wr-segmented` |
196
203
  | `ngwr/segmented/testing` | `import { WrSegmentedHarness } from 'ngwr/segmented/testing'` | — |
197
204
  | `ngwr/select` | `import { WrSelect } from 'ngwr/select'` | `ng-template[wrSelectLoadError]` `wr-option-group` `ng-template[wrOptionLeading]` `wr-option` `wr-select` |
198
205
  | `ngwr/select/testing` | `import { WrOptionHarness } from 'ngwr/select/testing'` | — |
199
206
  | `ngwr/sidebar` | `import { WrSidebar } from 'ngwr/sidebar'` | `wr-sidebar` |
207
+ | `ngwr/sidebar/testing` | `import { WrSidebarGroupHarness } from 'ngwr/sidebar/testing'` | — |
200
208
  | `ngwr/skeleton` | `import { WrSkeleton } from 'ngwr/skeleton'` | `wr-skeleton` |
201
209
  | `ngwr/slider` | `import { WrSlider } from 'ngwr/slider'` | `wr-slider` |
202
210
  | `ngwr/slider/testing` | `import { WrSliderHarness } from 'ngwr/slider/testing'` | — |
@@ -213,7 +221,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
213
221
  | `ngwr/storage` | `import { WrStorage } from 'ngwr/storage'` | — |
214
222
  | `ngwr/switch` | `import { WrSwitch } from 'ngwr/switch'` | `wr-switch` |
215
223
  | `ngwr/switch/testing` | `import { WrSwitchHarness } from 'ngwr/switch/testing'` | — |
216
- | `ngwr/table` | `import { WrTable } from 'ngwr/table'` | `[wrTableCell]` `ng-template[wrTableExpand]` `wr-table-filter` `ng-template[wrTableGroupHeader]` `wr-table-sort` `wr-table` |
224
+ | `ngwr/table` | `import { WrTable } from 'ngwr/table'` | `[wrTableCell]` `[wrTableEditCell]` `ng-template[wrTableExpand]` `wr-table-filter` `ng-template[wrTableGroupHeader]` `ng-template[wrTableSelectionBar]` `wr-table-sort` `wr-table` |
217
225
  | `ngwr/table/testing` | `import { WrTableCellHarness } from 'ngwr/table/testing'` | — |
218
226
  | `ngwr/tabs` | `import { WrTabs } from 'ngwr/tabs'` | `wr-tab` `wr-tabs` |
219
227
  | `ngwr/tabs/router` | `import { WrTabsRouting } from 'ngwr/tabs/router'` | `[wrTabsRouting]` |
@@ -31,6 +31,28 @@
31
31
  font-family: var(--wr-slider-font-family);
32
32
  padding: calc(var(--wr-slider-thumb-size) / 2) 0;
33
33
 
34
+ &--sm,
35
+ &:where([size='sm']) {
36
+ --wr-slider-thumb-size: 0.75rem;
37
+ --wr-slider-track-height: 0.125rem;
38
+ --wr-slider-mark-size: 0.375rem;
39
+ --wr-slider-label-font-size: var(--wr-text-xs);
40
+ --wr-slider-label-line-height: var(--wr-text-xs-leading);
41
+ // 11px: the scale stops at `xs`, which is what a mark's label reads at `md`.
42
+ --wr-slider-mark-label-font-size: 0.6875rem;
43
+ }
44
+
45
+ &--lg,
46
+ &:where([size='lg']) {
47
+ --wr-slider-thumb-size: 1.25rem;
48
+ --wr-slider-track-height: 0.375rem;
49
+ --wr-slider-mark-size: 0.625rem;
50
+ --wr-slider-label-font-size: var(--wr-text-base);
51
+ --wr-slider-label-line-height: var(--wr-text-base-leading);
52
+ --wr-slider-mark-label-font-size: var(--wr-text-sm);
53
+ --wr-slider-mark-label-line-height: var(--wr-text-sm-leading);
54
+ }
55
+
34
56
  &__track {
35
57
  position: relative;
36
58
  height: var(--wr-slider-track-height);
@@ -12,6 +12,7 @@
12
12
  //
13
13
  // Sass deduplicates `@use` within a compilation, so an app that also loads one of
14
14
  // these by hand still emits it once.
15
+ @use '../../button/styles' as button-styles; // WrButton
15
16
  @use '../../checkbox/styles' as checkbox-styles; // WrCheckbox
16
17
  @use '../../dropdown/styles' as dropdown-styles; // WrDropdown
17
18
  @use '../../pagination/styles' as pagination-styles; // WrPagination
@@ -58,9 +59,21 @@
58
59
  --wr-table-expand-btn-padding: var(--wr-space-xs);
59
60
  --wr-table-expand-btn-radius: var(--wr-border-radius-sm);
60
61
  --wr-table-detail-padding: var(--wr-space-lg);
62
+ --wr-table-edit-padding: var(--wr-space-xs) var(--wr-space-sm);
61
63
  --wr-table-foot-cell-font-weight: var(--wr-font-weight-semibold);
62
64
  --wr-table-empty-padding: var(--wr-space-xl);
63
65
  --wr-table-pager-padding: var(--wr-space-sm) var(--wr-space-md);
66
+ --wr-table-toolbar-padding: var(--wr-space-sm) var(--wr-space-md);
67
+ // The selection bar. `-height` is the header's, written inline once it is
68
+ // measured; `-inset` is the select-all column the bar leaves uncovered. It
69
+ // wears the header's own fill: the selected rows are already tinted.
70
+ --wr-table-selection-bar-bg: var(--wr-table-head-bg);
71
+ --wr-table-selection-bar-color: var(--wr-color-on-surface);
72
+ --wr-table-selection-bar-padding-x: var(--wr-space-md);
73
+ --wr-table-selection-bar-gap: var(--wr-space-md);
74
+ --wr-table-selection-bar-height: 2.5rem;
75
+ --wr-table-selection-bar-inset: 2.75rem;
76
+ --wr-table-selection-bar-font-weight: var(--wr-font-weight-medium);
64
77
  --wr-table-loading-bar-height: 0.125rem;
65
78
  --wr-table-loading-bar-color: var(--wr-color-primary);
66
79
  --wr-table-loading-bar-track: color-mix(in srgb, var(--wr-color-primary) 20%, transparent);
@@ -435,8 +448,8 @@
435
448
  //
436
449
  // `box-shadow` has no logical form — its offset is always physical — while
437
450
  // 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
451
+ // `[style.inset-inline-end.px]` in table.html, written from the measured
452
+ // pin offsets. The shadow leans the way the offset pins, so the sign has to
440
453
  // be set per direction by hand.
441
454
  &__th--pin-edge-left,
442
455
  &__td--pin-edge-left,
@@ -564,6 +577,27 @@
564
577
  line-height: 1;
565
578
  }
566
579
 
580
+ // --- Inline editing ------------------------------------------------------
581
+ // A data cell of an editable table takes focus (the grid's roving tab
582
+ // stop). Inset, for the reason the tree row's ring is.
583
+ &__td:focus-visible {
584
+ @include theme.focus-ring;
585
+ outline-offset: -2px;
586
+ }
587
+
588
+ // The editor fills the cell, so the row keeps its height while it edits.
589
+ &__table &__td--editing {
590
+ padding: var(--wr-table-edit-padding);
591
+ overflow: visible;
592
+ // The held column width is the editor's width: it never pushes the column.
593
+ min-width: 0;
594
+
595
+ > :only-child {
596
+ inline-size: 100%;
597
+ min-width: 0;
598
+ }
599
+ }
600
+
567
601
  &__tr {
568
602
  transition: background var(--wr-transition-base);
569
603
 
@@ -628,6 +662,92 @@
628
662
  }
629
663
  }
630
664
 
665
+ // The strip above the table that holds the column chooser's button.
666
+ &__toolbar {
667
+ display: flex;
668
+ justify-content: flex-end;
669
+ padding: var(--wr-table-toolbar-padding);
670
+ border-bottom: 1px solid var(--wr-table-border);
671
+ background: var(--wr-table-head-bg);
672
+ }
673
+
674
+ // The column chooser's panel. Its hooks are declared here rather than on
675
+ // `.wr-table`: the panel is a popover template, so it renders into the
676
+ // overlay container and inherits nothing from the table.
677
+ &__columns {
678
+ --wr-table-columns-padding: var(--wr-space-md);
679
+ --wr-table-columns-gap: var(--wr-space-sm);
680
+ --wr-table-columns-max-height: 20rem;
681
+
682
+ display: flex;
683
+ flex-direction: column;
684
+ gap: var(--wr-table-columns-gap);
685
+ min-width: 10rem;
686
+ max-height: var(--wr-table-columns-max-height);
687
+ padding: var(--wr-table-columns-padding);
688
+ overflow-y: auto;
689
+ }
690
+
691
+ // --- Selection bar --------------------------------------------------------
692
+ // In flow and of no height, right above the scroll area: its top edge is the
693
+ // header's in every mode, with or without the toolbar.
694
+ &__selection {
695
+ position: relative;
696
+ // Above the corner-sticky header cells (z-index 3).
697
+ z-index: 4;
698
+ flex: none;
699
+ height: 0;
700
+ }
701
+
702
+ &__selection-status {
703
+ position: absolute;
704
+ width: 1px;
705
+ height: 1px;
706
+ padding: 0;
707
+ margin: -1px;
708
+ overflow: hidden;
709
+ clip: rect(0, 0, 0, 0);
710
+ white-space: nowrap;
711
+ border: 0;
712
+ }
713
+
714
+ &__selection-bar {
715
+ position: absolute;
716
+ inset-block-start: 0;
717
+ inset-inline: 0;
718
+ display: flex;
719
+ align-items: center;
720
+ gap: var(--wr-table-selection-bar-gap);
721
+ box-sizing: border-box;
722
+ min-height: var(--wr-table-selection-bar-height);
723
+ padding-inline: var(--wr-table-selection-bar-padding-x);
724
+ border-bottom: 1px solid var(--wr-table-border);
725
+ // Opaque under the tint, so the header does not show through.
726
+ background-color: var(--wr-table-bg);
727
+ background-image: linear-gradient(var(--wr-table-selection-bar-bg), var(--wr-table-selection-bar-bg));
728
+ color: var(--wr-table-selection-bar-color);
729
+ font-size: var(--wr-table-font-size);
730
+ line-height: var(--wr-table-line-height);
731
+
732
+ &--inset {
733
+ inset-inline-start: var(--wr-table-selection-bar-inset);
734
+ }
735
+ }
736
+
737
+ &__selection-count {
738
+ font-weight: var(--wr-table-selection-bar-font-weight);
739
+ white-space: nowrap;
740
+ }
741
+
742
+ &__selection-actions {
743
+ display: flex;
744
+ flex: 1 1 auto;
745
+ align-items: center;
746
+ justify-content: flex-end;
747
+ gap: var(--wr-table-selection-bar-gap);
748
+ min-width: 0;
749
+ }
750
+
631
751
  &__loading {
632
752
  position: absolute;
633
753
  inset: 0;
@@ -858,6 +978,25 @@
858
978
  }
859
979
  }
860
980
 
981
+ // While the selection bar shows. After the sticky-header block, whose header
982
+ // and loading layers these outrank.
983
+ .wr-table--selection-bar {
984
+ // The select-all cell stays in view beside the bar while the columns scroll
985
+ // under it, opaque and above the bar.
986
+ .wr-table__th--select {
987
+ position: sticky;
988
+ inset-inline-start: 0;
989
+ z-index: 5;
990
+ background-color: var(--wr-table-bg);
991
+ background-image: linear-gradient(var(--wr-table-head-bg), var(--wr-table-head-bg));
992
+ }
993
+
994
+ .wr-table__loading,
995
+ .wr-table__loading-bar {
996
+ z-index: 6;
997
+ }
998
+ }
999
+
861
1000
  // `viewportHeight="fill"`: the table takes the height its parent has left, and
862
1001
  // the rows scroll in what the pager leaves of it. A flex-column parent shrinks
863
1002
  // the host; `max-height` does it under a block parent with a definite height.
@@ -873,7 +1012,8 @@
873
1012
  max-height: none;
874
1013
  }
875
1014
 
876
- .wr-table__pager {
1015
+ .wr-table__pager,
1016
+ .wr-table__toolbar {
877
1017
  flex: none;
878
1018
  }
879
1019
  }
@@ -910,6 +1050,17 @@
910
1050
  display: block;
911
1051
  }
912
1052
 
1053
+ // No header to lie over: the bar takes its own strip above the cards.
1054
+ .wr-table--responsive .wr-table__selection {
1055
+ height: auto;
1056
+ }
1057
+
1058
+ .wr-table--responsive .wr-table__selection-bar {
1059
+ position: static;
1060
+ flex-wrap: wrap;
1061
+ padding-block: var(--wr-space-sm);
1062
+ }
1063
+
913
1064
  .wr-table--responsive .wr-table__table thead {
914
1065
  display: none;
915
1066
  }
@@ -1280,6 +1431,19 @@
1280
1431
  transition: none;
1281
1432
  }
1282
1433
 
1434
+ // The cursor of a column drag. The CDK preview takes no pointer events, so the
1435
+ // cursor comes from a class on `<html>` for the length of the drag, set by the
1436
+ // table; `!important` because every control under the pointer has its own.
1437
+ html.wr-table-dragging--allowed,
1438
+ html.wr-table-dragging--allowed * {
1439
+ cursor: grabbing !important;
1440
+ }
1441
+
1442
+ html.wr-table-dragging--blocked,
1443
+ html.wr-table-dragging--blocked * {
1444
+ cursor: not-allowed !important;
1445
+ }
1446
+
1283
1447
  // The settle animation after a drop. Same element as the rule above — CDK adds
1284
1448
  // `cdk-drag-animating` to the preview while it flies back to the drop slot — so
1285
1449
  // it must come after it to beat that `transition: none` at equal specificity.
@@ -1,4 +1,7 @@
1
1
  @use '../../theme/styles' as theme;
2
+
3
+ // Styles for the entry points this component's own markup renders.
4
+ @use '../../spinner/styles' as spinner-styles; // WrSpinner
2
5
  @include theme.loaded('textarea');
3
6
 
4
7
  .wr-textarea {
@@ -19,6 +22,9 @@
19
22
  --wr-textarea-font-family: var(--wr-font-family-base);
20
23
  --wr-textarea-font-size: var(--wr-text-sm);
21
24
  --wr-textarea-line-height: var(--wr-control-line-height-md);
25
+ --wr-textarea-clear-radius: var(--wr-border-radius-pill);
26
+ // The box the × and the spinner each take, and the room the text leaves for it.
27
+ --_action-size: 1.125rem;
22
28
 
23
29
  background: var(--wr-textarea-bg);
24
30
  color: var(--wr-textarea-color);
@@ -73,6 +79,28 @@
73
79
  --wr-textarea-line-height: var(--wr-control-line-height-lg);
74
80
  }
75
81
 
82
+ // The pill token on a box several lines tall is a stadium whose curve runs
83
+ // through the first and last lines of text, and it grows with `autosize`. So
84
+ // the radius stops at half the height of a one-row field: one row is a pill
85
+ // like the inputs beside it, and more rows keep that corner. After the sizes,
86
+ // so it wins at each of them.
87
+ &--rounded,
88
+ &:where([rounded]:not([rounded='false'])) {
89
+ --wr-textarea-radius: min(
90
+ var(--wr-border-radius-pill),
91
+ calc(var(--wr-textarea-line-height) / 2 + var(--wr-textarea-padding-y) * var(--wr-density-y, 1) + 1px)
92
+ );
93
+ --wr-textarea-padding-x: var(--wr-control-padding-x-lg);
94
+ corner-shape: round; // override squircle from smooth-br for pills
95
+ }
96
+
97
+ // 0.3 of the radius is where a square's corner meets the arc.
98
+ &--rounded &__resize,
99
+ &:where([rounded]:not([rounded='false'])) &__resize {
100
+ inset-inline-end: calc(var(--wr-textarea-radius) * 0.3);
101
+ bottom: calc(var(--wr-textarea-radius) * 0.3);
102
+ }
103
+
76
104
  &--no-resize &__native {
77
105
  resize: none;
78
106
  }
@@ -105,6 +133,58 @@
105
133
 
106
134
  // Corner resize grip — icon (move-vertical / -horizontal / -diagonal-2) and
107
135
  // cursor follow the `resize` direction.
136
+ // The text stops short of the × and the spinner, whether or not they are on
137
+ // show, so it does not rewrap as they come and go.
138
+ &--clearable &__native,
139
+ &--loading &__native {
140
+ padding-inline-end: calc(
141
+ var(--wr-textarea-padding-x) * var(--wr-density-x, 1) + var(--_action-size) + var(--wr-space-xs)
142
+ );
143
+ }
144
+
145
+ &--clearable#{&}--loading &__native {
146
+ padding-inline-end: calc(
147
+ var(--wr-textarea-padding-x) * var(--wr-density-x, 1) + (var(--_action-size) + var(--wr-space-xs)) * 2
148
+ );
149
+ }
150
+
151
+ // The clear (×) and the spinner, in the corner the first line ends at.
152
+ &__actions {
153
+ position: absolute;
154
+ top: calc(var(--wr-textarea-padding-y) * var(--wr-density-y, 1));
155
+ inset-inline-end: calc(var(--wr-textarea-padding-x) * var(--wr-density-x, 1));
156
+ display: inline-flex;
157
+ align-items: center;
158
+ gap: var(--wr-space-xs);
159
+ // One line of the field's own text tall, so both centre on the first line.
160
+ height: var(--wr-textarea-line-height);
161
+ color: var(--wr-color-on-surface-muted);
162
+ font-size: var(--wr-textarea-font-size);
163
+ }
164
+
165
+ // The select's ×.
166
+ &__clear {
167
+ display: inline-flex;
168
+ align-items: center;
169
+ justify-content: center;
170
+ width: var(--_action-size);
171
+ height: var(--_action-size);
172
+ border-radius: var(--wr-textarea-clear-radius);
173
+ cursor: pointer;
174
+ transition:
175
+ background 0.12s ease,
176
+ color 0.12s ease;
177
+
178
+ &:hover {
179
+ background: color-mix(in srgb, var(--wr-color-on-surface) 6%, transparent);
180
+ color: var(--wr-color-on-surface);
181
+ }
182
+ }
183
+
184
+ &__spinner {
185
+ flex: 0 0 auto;
186
+ }
187
+
108
188
  &__resize {
109
189
  position: absolute;
110
190
  // Logical now, and the drag maths moved with it: `onResize` reads
@@ -198,6 +198,11 @@
198
198
  @include focus-ring;
199
199
  }
200
200
 
201
+ // Tag remove
202
+ .wr-tag__remove:focus-visible {
203
+ @include focus-ring;
204
+ }
205
+
201
206
  // Graph viewport — the scroller is the graph's one tab stop, so a keyboard user
202
207
  // scrolling it needs to see where focus is. Safe as an OUTSET ring: the outline
203
208
  // sits outside the scroller's own box, and `.wr-graph` sets no `overflow`.
@@ -88,4 +88,9 @@
88
88
  .wr-table__loading-bar::after {
89
89
  animation-duration: 4s !important;
90
90
  }
91
+
92
+ // The same line as a component of its own.
93
+ .wr-progress--indeterminate .wr-progress__bar {
94
+ animation-duration: 4s !important;
95
+ }
91
96
  }