ngwr 16.1.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 (412) 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 +108 -1
  6. package/dropdown/styles/_index.scss +40 -10
  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 +48 -4
  101. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  102. package/fesm2022/ngwr-date-picker.mjs +492 -75
  103. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  104. package/fesm2022/ngwr-date-stamp-testing.mjs.map +1 -1
  105. package/fesm2022/ngwr-date-stamp.mjs +76 -12
  106. package/fesm2022/ngwr-date-stamp.mjs.map +1 -1
  107. package/fesm2022/ngwr-date.mjs +144 -12
  108. package/fesm2022/ngwr-date.mjs.map +1 -1
  109. package/fesm2022/ngwr-density.mjs +6 -6
  110. package/fesm2022/ngwr-descriptions.mjs +6 -6
  111. package/fesm2022/ngwr-dialog.mjs +18 -18
  112. package/fesm2022/ngwr-directives.mjs +15 -15
  113. package/fesm2022/ngwr-divider.mjs +3 -3
  114. package/fesm2022/ngwr-drawer.mjs +51 -29
  115. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  116. package/fesm2022/ngwr-dropdown-testing.mjs +48 -5
  117. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  118. package/fesm2022/ngwr-dropdown.mjs +407 -116
  119. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  120. package/fesm2022/ngwr-editor.mjs +4 -3
  121. package/fesm2022/ngwr-editor.mjs.map +1 -1
  122. package/fesm2022/ngwr-empty.mjs +3 -3
  123. package/fesm2022/ngwr-event-calendar.mjs +186 -33
  124. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  125. package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
  126. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  127. package/fesm2022/ngwr-file-upload.mjs +274 -15
  128. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  129. package/fesm2022/ngwr-form.mjs +9 -9
  130. package/fesm2022/ngwr-form.mjs.map +1 -1
  131. package/fesm2022/ngwr-graph-testing.mjs +3 -0
  132. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  133. package/fesm2022/ngwr-graph.mjs +102 -42
  134. package/fesm2022/ngwr-graph.mjs.map +1 -1
  135. package/fesm2022/ngwr-hotkey.mjs +6 -6
  136. package/fesm2022/ngwr-i18n-ar.mjs +26 -6
  137. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  138. package/fesm2022/ngwr-i18n-cs.mjs +26 -6
  139. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  140. package/fesm2022/ngwr-i18n-de.mjs +26 -6
  141. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  142. package/fesm2022/ngwr-i18n-en.mjs +26 -6
  143. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  144. package/fesm2022/ngwr-i18n-es.mjs +26 -6
  145. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  146. package/fesm2022/ngwr-i18n-fr.mjs +26 -6
  147. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  148. package/fesm2022/ngwr-i18n-he.mjs +26 -6
  149. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  150. package/fesm2022/ngwr-i18n-hi.mjs +26 -6
  151. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  152. package/fesm2022/ngwr-i18n-id.mjs +26 -6
  153. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  154. package/fesm2022/ngwr-i18n-it.mjs +26 -6
  155. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  156. package/fesm2022/ngwr-i18n-ja.mjs +26 -6
  157. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  158. package/fesm2022/ngwr-i18n-ko.mjs +26 -6
  159. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  160. package/fesm2022/ngwr-i18n-nl.mjs +26 -6
  161. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  162. package/fesm2022/ngwr-i18n-pl.mjs +26 -6
  163. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  164. package/fesm2022/ngwr-i18n-pt.mjs +26 -6
  165. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  166. package/fesm2022/ngwr-i18n-ru.mjs +26 -6
  167. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  168. package/fesm2022/ngwr-i18n-sv.mjs +26 -6
  169. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  170. package/fesm2022/ngwr-i18n-tr.mjs +26 -6
  171. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  172. package/fesm2022/ngwr-i18n-uk.mjs +26 -6
  173. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  174. package/fesm2022/ngwr-i18n-vi.mjs +26 -6
  175. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  176. package/fesm2022/ngwr-i18n-zh-tw.mjs +26 -6
  177. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  178. package/fesm2022/ngwr-i18n-zh.mjs +26 -6
  179. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  180. package/fesm2022/ngwr-i18n.mjs +9 -9
  181. package/fesm2022/ngwr-icon.mjs +6 -6
  182. package/fesm2022/ngwr-image-cropper.mjs +3 -3
  183. package/fesm2022/ngwr-input-number-testing.mjs +11 -0
  184. package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
  185. package/fesm2022/ngwr-input-number.mjs +68 -7
  186. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  187. package/fesm2022/ngwr-input-otp.mjs +23 -3
  188. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  189. package/fesm2022/ngwr-input-testing.mjs +24 -1
  190. package/fesm2022/ngwr-input-testing.mjs.map +1 -1
  191. package/fesm2022/ngwr-input.mjs +152 -36
  192. package/fesm2022/ngwr-input.mjs.map +1 -1
  193. package/fesm2022/ngwr-keyboard.mjs +3 -3
  194. package/fesm2022/ngwr-knob.mjs +3 -3
  195. package/fesm2022/ngwr-layout.mjs +15 -15
  196. package/fesm2022/ngwr-lightbox-testing.mjs +26 -0
  197. package/fesm2022/ngwr-lightbox-testing.mjs.map +1 -1
  198. package/fesm2022/ngwr-lightbox.mjs +249 -13
  199. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  200. package/fesm2022/ngwr-list.mjs +8 -8
  201. package/fesm2022/ngwr-list.mjs.map +1 -1
  202. package/fesm2022/ngwr-load-state.mjs +15 -15
  203. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  204. package/fesm2022/ngwr-mention.mjs +6 -6
  205. package/fesm2022/ngwr-meta.mjs +6 -6
  206. package/fesm2022/ngwr-overlay.mjs +175 -13
  207. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  208. package/fesm2022/ngwr-page-header.mjs +3 -3
  209. package/fesm2022/ngwr-pagination.mjs +5 -3
  210. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  211. package/fesm2022/ngwr-pipes.mjs +57 -33
  212. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  213. package/fesm2022/ngwr-platform.mjs +9 -9
  214. package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
  215. package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
  216. package/fesm2022/ngwr-popconfirm.mjs +44 -63
  217. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  218. package/fesm2022/ngwr-popover-testing.mjs +7 -1
  219. package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
  220. package/fesm2022/ngwr-popover.mjs +58 -156
  221. package/fesm2022/ngwr-popover.mjs.map +1 -1
  222. package/fesm2022/ngwr-progress.mjs +50 -9
  223. package/fesm2022/ngwr-progress.mjs.map +1 -1
  224. package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
  225. package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
  226. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  227. package/fesm2022/ngwr-qr.mjs +3 -3
  228. package/fesm2022/ngwr-radio.mjs +6 -6
  229. package/fesm2022/ngwr-rating.mjs +3 -3
  230. package/fesm2022/ngwr-resizable-testing.mjs +113 -0
  231. package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
  232. package/fesm2022/ngwr-resizable.mjs +3 -3
  233. package/fesm2022/ngwr-result.mjs +12 -12
  234. package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
  235. package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
  236. package/fesm2022/ngwr-schema-form.mjs +418 -19
  237. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  238. package/fesm2022/ngwr-scroll.mjs +3 -3
  239. package/fesm2022/ngwr-segmented.mjs +3 -3
  240. package/fesm2022/ngwr-select-testing.mjs +19 -0
  241. package/fesm2022/ngwr-select-testing.mjs.map +1 -1
  242. package/fesm2022/ngwr-select.mjs +263 -83
  243. package/fesm2022/ngwr-select.mjs.map +1 -1
  244. package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
  245. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
  246. package/fesm2022/ngwr-sidebar.mjs +3 -3
  247. package/fesm2022/ngwr-skeleton.mjs +3 -3
  248. package/fesm2022/ngwr-slider-testing.mjs +23 -0
  249. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  250. package/fesm2022/ngwr-slider.mjs +108 -14
  251. package/fesm2022/ngwr-slider.mjs.map +1 -1
  252. package/fesm2022/ngwr-sortable-list-testing.mjs +103 -0
  253. package/fesm2022/ngwr-sortable-list-testing.mjs.map +1 -0
  254. package/fesm2022/ngwr-sortable-list.mjs +284 -63
  255. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  256. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  257. package/fesm2022/ngwr-spinner.mjs +3 -3
  258. package/fesm2022/ngwr-splitter.mjs +3 -3
  259. package/fesm2022/ngwr-statistic.mjs +9 -9
  260. package/fesm2022/ngwr-stepper.mjs +42 -11
  261. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  262. package/fesm2022/ngwr-storage.mjs +3 -3
  263. package/fesm2022/ngwr-switch.mjs +3 -3
  264. package/fesm2022/ngwr-table-testing.mjs +88 -2
  265. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  266. package/fesm2022/ngwr-table.mjs +891 -74
  267. package/fesm2022/ngwr-table.mjs.map +1 -1
  268. package/fesm2022/ngwr-tabs-router.mjs +3 -3
  269. package/fesm2022/ngwr-tabs-testing.mjs +1 -1
  270. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  271. package/fesm2022/ngwr-tabs.mjs +15 -10
  272. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  273. package/fesm2022/ngwr-textarea-testing.mjs +11 -0
  274. package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
  275. package/fesm2022/ngwr-textarea.mjs +128 -16
  276. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  277. package/fesm2022/ngwr-theme.mjs +3 -3
  278. package/fesm2022/ngwr-timeline.mjs +6 -6
  279. package/fesm2022/ngwr-toast.mjs +40 -19
  280. package/fesm2022/ngwr-toast.mjs.map +1 -1
  281. package/fesm2022/ngwr-toolbar.mjs +3 -3
  282. package/fesm2022/ngwr-tour.mjs +6 -6
  283. package/fesm2022/ngwr-transfer-testing.mjs +6 -0
  284. package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
  285. package/fesm2022/ngwr-transfer.mjs +24 -5
  286. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  287. package/fesm2022/ngwr-tree-testing.mjs +62 -2
  288. package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
  289. package/fesm2022/ngwr-tree.mjs +966 -78
  290. package/fesm2022/ngwr-tree.mjs.map +1 -1
  291. package/fesm2022/ngwr-typography.mjs +3 -3
  292. package/fesm2022/ngwr-utils-router.mjs +3 -3
  293. package/fesm2022/ngwr-utils.mjs +34 -1
  294. package/fesm2022/ngwr-utils.mjs.map +1 -1
  295. package/fesm2022/ngwr-version.mjs +1 -1
  296. package/fesm2022/ngwr-version.mjs.map +1 -1
  297. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  298. package/fesm2022/ngwr-window.mjs +33 -22
  299. package/fesm2022/ngwr-window.mjs.map +1 -1
  300. package/file-upload/styles/_index.scss +156 -0
  301. package/i18n/ar.json +28 -6
  302. package/i18n/cs.json +28 -6
  303. package/i18n/de.json +28 -6
  304. package/i18n/en.json +28 -6
  305. package/i18n/es.json +28 -6
  306. package/i18n/fr.json +28 -6
  307. package/i18n/he.json +28 -6
  308. package/i18n/hi.json +28 -6
  309. package/i18n/id.json +28 -6
  310. package/i18n/it.json +28 -6
  311. package/i18n/ja.json +28 -6
  312. package/i18n/ko.json +28 -6
  313. package/i18n/nl.json +28 -6
  314. package/i18n/pl.json +28 -6
  315. package/i18n/pt.json +28 -6
  316. package/i18n/ru.json +28 -6
  317. package/i18n/sv.json +28 -6
  318. package/i18n/tr.json +28 -6
  319. package/i18n/uk.json +28 -6
  320. package/i18n/vi.json +28 -6
  321. package/i18n/zh-TW.json +28 -6
  322. package/i18n/zh.json +28 -6
  323. package/input/styles/_index.scss +68 -1
  324. package/input-otp/styles/_index.scss +14 -0
  325. package/lightbox/styles/_rules.scss +96 -0
  326. package/llms-full.txt +61 -25
  327. package/llms.txt +12 -0
  328. package/overlay/styles/_arrow.scss +4 -4
  329. package/package.json +37 -1
  330. package/popconfirm/styles/_index.scss +3 -11
  331. package/progress/styles/_index.scss +32 -0
  332. package/schema-form/styles/_index.scss +78 -0
  333. package/schematics/use/rule.js +2 -0
  334. package/schematics/use/symbol-map.json +5 -0
  335. package/select/styles/_index.scss +114 -22
  336. package/skills/ngwr/SKILL.md +1 -1
  337. package/skills/ngwr/references/catalog.md +11 -2
  338. package/slider/styles/_index.scss +128 -0
  339. package/sortable-list/styles/_rules.scss +23 -1
  340. package/table/styles/_index.scss +167 -3
  341. package/textarea/styles/_index.scss +80 -0
  342. package/theme/styles/_focus.scss +5 -0
  343. package/theme/styles/_motion.scss +5 -0
  344. package/transfer/styles/_index.scss +84 -0
  345. package/tree/styles/_index.scss +138 -5
  346. package/types/ngwr-alert-testing.d.ts +88 -0
  347. package/types/ngwr-badge.d.ts +72 -2
  348. package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
  349. package/types/ngwr-burger-testing.d.ts +51 -0
  350. package/types/ngwr-calendar-testing.d.ts +18 -6
  351. package/types/ngwr-calendar.d.ts +272 -22
  352. package/types/ngwr-cascader.d.ts +10 -1
  353. package/types/ngwr-charts-chart-legend.d.ts +9 -4
  354. package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
  355. package/types/ngwr-charts-line-chart.d.ts +7 -4
  356. package/types/ngwr-color-picker-testing.d.ts +15 -4
  357. package/types/ngwr-color-picker.d.ts +76 -6
  358. package/types/ngwr-compare-testing.d.ts +72 -0
  359. package/types/ngwr-date-picker-testing.d.ts +40 -8
  360. package/types/ngwr-date-picker.d.ts +178 -10
  361. package/types/ngwr-date-stamp-testing.d.ts +1 -1
  362. package/types/ngwr-date-stamp.d.ts +53 -7
  363. package/types/ngwr-date.d.ts +188 -15
  364. package/types/ngwr-drawer.d.ts +9 -0
  365. package/types/ngwr-dropdown-testing.d.ts +73 -5
  366. package/types/ngwr-dropdown.d.ts +124 -6
  367. package/types/ngwr-event-calendar.d.ts +66 -8
  368. package/types/ngwr-file-upload-testing.d.ts +31 -2
  369. package/types/ngwr-file-upload.d.ts +148 -1
  370. package/types/ngwr-form.d.ts +47 -3
  371. package/types/ngwr-graph-testing.d.ts +8 -3
  372. package/types/ngwr-graph.d.ts +147 -7
  373. package/types/ngwr-input-number-testing.d.ts +10 -0
  374. package/types/ngwr-input-number.d.ts +30 -1
  375. package/types/ngwr-input-otp.d.ts +10 -0
  376. package/types/ngwr-input-testing.d.ts +30 -0
  377. package/types/ngwr-input.d.ts +54 -3
  378. package/types/ngwr-lightbox-testing.d.ts +27 -0
  379. package/types/ngwr-lightbox.d.ts +71 -6
  380. package/types/ngwr-overlay.d.ts +84 -5
  381. package/types/ngwr-pipes.d.ts +34 -13
  382. package/types/ngwr-popconfirm-testing.d.ts +12 -3
  383. package/types/ngwr-popconfirm.d.ts +28 -3
  384. package/types/ngwr-popover-testing.d.ts +19 -2
  385. package/types/ngwr-popover.d.ts +22 -2
  386. package/types/ngwr-progress.d.ts +29 -1
  387. package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
  388. package/types/ngwr-resizable-testing.d.ts +116 -0
  389. package/types/ngwr-schema-form-testing.d.ts +260 -0
  390. package/types/ngwr-schema-form.d.ts +76 -6
  391. package/types/ngwr-select-testing.d.ts +20 -0
  392. package/types/ngwr-select.d.ts +112 -11
  393. package/types/ngwr-sidebar-testing.d.ts +176 -0
  394. package/types/ngwr-slider-testing.d.ts +10 -1
  395. package/types/ngwr-slider.d.ts +109 -3
  396. package/types/ngwr-sortable-list-testing.d.ts +79 -0
  397. package/types/ngwr-sortable-list.d.ts +119 -10
  398. package/types/ngwr-stepper.d.ts +20 -11
  399. package/types/ngwr-table-testing.d.ts +70 -6
  400. package/types/ngwr-table.d.ts +480 -50
  401. package/types/ngwr-tabs-testing.d.ts +14 -17
  402. package/types/ngwr-tabs.d.ts +6 -0
  403. package/types/ngwr-textarea-testing.d.ts +10 -0
  404. package/types/ngwr-textarea.d.ts +48 -2
  405. package/types/ngwr-toast.d.ts +8 -1
  406. package/types/ngwr-transfer-testing.d.ts +3 -0
  407. package/types/ngwr-transfer.d.ts +24 -1
  408. package/types/ngwr-tree-testing.d.ts +65 -1
  409. package/types/ngwr-tree.d.ts +333 -12
  410. package/types/ngwr-utils.d.ts +28 -0
  411. package/types/ngwr-version.d.ts +1 -1
  412. 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: 233 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'` | — |
@@ -111,7 +115,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
111
115
  | `ngwr/divider` | `import { WrDivider } from 'ngwr/divider'` | `wr-divider` |
112
116
  | `ngwr/drawer` | `import { WrDrawer } from 'ngwr/drawer'` | `[wrDrawerClose]` `[wrDrawerContent]` `[wrDrawerFooter]` `[wrDrawerTitle]` `wr-drawer` |
113
117
  | `ngwr/drawer/testing` | `import { WrDrawerHarness } from 'ngwr/drawer/testing'` | — |
114
- | `ngwr/dropdown` | `import { WrDropdown } from 'ngwr/dropdown'` | `wr-dropdown-item` `wr-dropdown-menu` `[wrDropdown]` |
118
+ | `ngwr/dropdown` | `import { WrDropdown } from 'ngwr/dropdown'` | `wr-dropdown-item` `wr-dropdown-menu` `[wrDropdownSubmenu]` `[wrDropdown]` |
115
119
  | `ngwr/dropdown/testing` | `import { WrDropdownHarness } from 'ngwr/dropdown/testing'` | — |
116
120
  | `ngwr/editor` | `import { WrEditor } from 'ngwr/editor'` | `wr-editor` |
117
121
  | `ngwr/editor/testing` | `import { WrEditorHarness } from 'ngwr/editor/testing'` | — |
@@ -183,24 +187,29 @@ 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'` | — |
203
211
  | `ngwr/sortable-list` | `import { WrSortableList } from 'ngwr/sortable-list'` | `[wrDragHandle]` `wr-sortable-item` `wr-sortable-list` |
212
+ | `ngwr/sortable-list/testing` | `import { WrSortableListHarness } from 'ngwr/sortable-list/testing'` | — |
204
213
  | `ngwr/speed-dial` | `import { WrSpeedDial } from 'ngwr/speed-dial'` | `wr-speed-dial` |
205
214
  | `ngwr/speed-dial/testing` | `import { WrSpeedDialActionHarness } from 'ngwr/speed-dial/testing'` | — |
206
215
  | `ngwr/spinner` | `import { WrSpinner } from 'ngwr/spinner'` | `wr-spinner` |
@@ -212,7 +221,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
212
221
  | `ngwr/storage` | `import { WrStorage } from 'ngwr/storage'` | — |
213
222
  | `ngwr/switch` | `import { WrSwitch } from 'ngwr/switch'` | `wr-switch` |
214
223
  | `ngwr/switch/testing` | `import { WrSwitchHarness } from 'ngwr/switch/testing'` | — |
215
- | `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` |
216
225
  | `ngwr/table/testing` | `import { WrTableCellHarness } from 'ngwr/table/testing'` | — |
217
226
  | `ngwr/tabs` | `import { WrTabs } from 'ngwr/tabs'` | `wr-tab` `wr-tabs` |
218
227
  | `ngwr/tabs/router` | `import { WrTabsRouting } from 'ngwr/tabs/router'` | `[wrTabsRouting]` |
@@ -15,6 +15,15 @@
15
15
  --wr-slider-label-margin-top: var(--wr-space-sm);
16
16
  --wr-slider-label-font-size: var(--wr-text-sm);
17
17
  --wr-slider-label-line-height: var(--wr-text-sm-leading);
18
+ --wr-slider-vertical-height: 10rem;
19
+ --wr-slider-mark-size: var(--wr-space-sm);
20
+ --wr-slider-mark-bg: var(--wr-color-surface);
21
+ --wr-slider-mark-color: var(--wr-border-base);
22
+ --wr-slider-mark-active-color: var(--wr-color-primary);
23
+ --wr-slider-mark-gap: var(--wr-space-sm);
24
+ --wr-slider-mark-label-color: var(--wr-color-on-surface-muted);
25
+ --wr-slider-mark-label-font-size: var(--wr-text-xs);
26
+ --wr-slider-mark-label-line-height: var(--wr-text-xs-leading);
18
27
 
19
28
  display: block;
20
29
  width: 100%;
@@ -22,6 +31,28 @@
22
31
  font-family: var(--wr-slider-font-family);
23
32
  padding: calc(var(--wr-slider-thumb-size) / 2) 0;
24
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
+
25
56
  &__track {
26
57
  position: relative;
27
58
  height: var(--wr-slider-track-height);
@@ -40,6 +71,50 @@
40
71
  pointer-events: none;
41
72
  }
42
73
 
74
+ // A ring centred on its value the way the thumb is, mirrored the same way.
75
+ &__mark {
76
+ position: absolute;
77
+ top: 50%;
78
+ width: var(--wr-slider-mark-size);
79
+ height: var(--wr-slider-mark-size);
80
+ transform: translate(-50%, -50%);
81
+ box-sizing: border-box;
82
+ background: var(--wr-slider-mark-bg);
83
+ border: 2px solid var(--wr-slider-mark-color);
84
+ border-radius: 50%;
85
+ pointer-events: none;
86
+
87
+ &--active {
88
+ border-color: var(--wr-slider-mark-active-color);
89
+ }
90
+
91
+ [dir='rtl'] & {
92
+ transform: translate(50%, -50%);
93
+ }
94
+ }
95
+
96
+ // One grid cell holds every label, so the tallest one sets the row's height
97
+ // and each is then offset along the track from the cell's start edge.
98
+ &__mark-labels {
99
+ display: grid;
100
+ margin-top: var(--wr-slider-mark-gap);
101
+ color: var(--wr-slider-mark-label-color);
102
+ font-size: var(--wr-slider-mark-label-font-size);
103
+ line-height: var(--wr-slider-mark-label-line-height);
104
+ }
105
+
106
+ &__mark-label {
107
+ position: relative;
108
+ grid-area: 1 / 1;
109
+ justify-self: start;
110
+ transform: translateX(-50%);
111
+ white-space: nowrap;
112
+
113
+ [dir='rtl'] & {
114
+ transform: translateX(50%);
115
+ }
116
+ }
117
+
43
118
  &__thumb {
44
119
  position: absolute;
45
120
  top: 50%;
@@ -90,6 +165,58 @@
90
165
  font-variant-numeric: tabular-nums;
91
166
  }
92
167
 
168
+ // After the parts above, so these outrank their RTL mirrors at equal weight.
169
+ &--vertical,
170
+ &:where([orientation='vertical']) {
171
+ display: inline-flex;
172
+ width: auto;
173
+ height: var(--wr-slider-vertical-height);
174
+
175
+ .wr-slider__track {
176
+ flex: none;
177
+ width: var(--wr-slider-track-height);
178
+ height: auto;
179
+ margin: 0 calc((var(--wr-slider-thumb-size) - var(--wr-slider-track-height)) / 2);
180
+ }
181
+
182
+ .wr-slider__fill {
183
+ top: auto;
184
+ inset-inline: 0;
185
+ }
186
+
187
+ .wr-slider__thumb,
188
+ .wr-slider__mark {
189
+ top: auto;
190
+ // rtl-ok: centred across the track against a physical translateX, identical under RTL
191
+ left: 50%;
192
+ transform: translate(-50%, 50%);
193
+ }
194
+
195
+ .wr-slider__thumb:active {
196
+ transform: translate(-50%, 50%) scale(1.1);
197
+ }
198
+
199
+ // Both are raised by a percentage of the track's height and centred on it.
200
+ .wr-slider__mark-labels {
201
+ margin-top: 0;
202
+ margin-inline-start: var(--wr-slider-mark-gap);
203
+ }
204
+
205
+ .wr-slider__mark-label {
206
+ align-self: end;
207
+ transform: translateY(50%);
208
+ }
209
+
210
+ .wr-slider__label {
211
+ position: relative;
212
+ align-self: flex-end;
213
+ margin-top: 0;
214
+ margin-inline-start: var(--wr-slider-label-margin-top);
215
+ transform: translateY(50%);
216
+ white-space: nowrap;
217
+ }
218
+ }
219
+
93
220
  // A read-only slider still takes focus and still announces its value, so it
94
221
  // keeps the visual and only stops inviting the drag — `grab` on something that
95
222
  // cannot move is the part that looks broken. Matches `wr-knob--readonly`.
@@ -101,6 +228,7 @@
101
228
  &--disabled {
102
229
  --wr-slider-thumb-border: var(--wr-color-on-surface-muted);
103
230
  --wr-slider-fill: var(--wr-color-on-surface-muted);
231
+ --wr-slider-mark-active-color: var(--wr-color-on-surface-muted);
104
232
  pointer-events: none;
105
233
  opacity: var(--wr-disabled-opacity);
106
234
  }
@@ -22,6 +22,8 @@
22
22
  .wr-sortable-list {
23
23
  --wr-sortable-list-gap: var(--wr-space-sm);
24
24
  --wr-sortable-list-placeholder-radius: var(--wr-border-radius-base);
25
+ --wr-sortable-list-empty-min-height: calc(var(--wr-space-xl) * 2);
26
+ --wr-sortable-list-empty-color: var(--wr-color-placeholder);
25
27
 
26
28
  display: block;
27
29
 
@@ -85,6 +87,26 @@
85
87
  }
86
88
  }
87
89
 
90
+ // A list with no rows has no height, and a drop needs a box to land in. Only
91
+ // a connected list can be dropped into from outside, so only it reserves one.
92
+ &--connected#{&}--empty &__list {
93
+ min-height: var(--wr-sortable-list-empty-min-height);
94
+ }
95
+
96
+ &__empty {
97
+ color: var(--wr-sortable-list-empty-color);
98
+
99
+ // Nothing projected into the slot: no row, and no empty list item read out.
100
+ &:empty {
101
+ display: none;
102
+ }
103
+ }
104
+
105
+ // The placeholder of the row being dragged in stands where the hint was.
106
+ &.cdk-drop-list-dragging &__empty {
107
+ display: none;
108
+ }
109
+
88
110
  // The key model and the position announcements: read out, never drawn.
89
111
  &__sr-only {
90
112
  position: absolute;
@@ -176,6 +198,6 @@
176
198
  transition: transform 0.18s var(--wr-ease-spring);
177
199
  }
178
200
 
179
- .wr-sortable-list__list.cdk-drop-list-dragging .wr-sortable-list__item:not(.cdk-drag-placeholder) {
201
+ .wr-sortable-list.cdk-drop-list-dragging .wr-sortable-list__item:not(.cdk-drag-placeholder) {
180
202
  transition: transform 0.18s var(--wr-ease-spring);
181
203
  }