ngwr 15.9.0 → 16.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (455) hide show
  1. package/animations/aurora/styles/_index.scss +1 -1
  2. package/animations/blur-reveal/styles/_index.scss +1 -1
  3. package/animations/decode/styles/_index.scss +1 -1
  4. package/animations/dot-grid/styles/_index.scss +1 -1
  5. package/animations/flow-lines/styles/_index.scss +1 -1
  6. package/animations/fluid-cursor/styles/_index.scss +1 -1
  7. package/animations/{core → internal}/styles/_mixins.scss +1 -1
  8. package/animations/reveal/styles/_index.scss +1 -1
  9. package/animations/ripple-grid/styles/_index.scss +1 -1
  10. package/animations/rotate-reveal/styles/_index.scss +1 -1
  11. package/animations/thread-lines/styles/_index.scss +1 -1
  12. package/animations/typewriter/styles/_index.scss +1 -1
  13. package/badge/styles/_tag.scss +8 -4
  14. package/button/styles/_index.scss +13 -7
  15. package/cascader/styles/_rules.scss +4 -2
  16. package/checkbox/styles/_index.scss +4 -2
  17. package/copy-value/styles/_index.scss +104 -0
  18. package/date-picker/styles/_index.scss +121 -0
  19. package/date-stamp/styles/_index.scss +38 -0
  20. package/dialog/styles/_index.scss +38 -0
  21. package/fesm2022/{ngwr-animations-core.mjs → internal-BaQU4t_0.mjs} +6 -49
  22. package/fesm2022/internal-BaQU4t_0.mjs.map +1 -0
  23. package/fesm2022/internal-CVLvP9b_.mjs +33 -0
  24. package/fesm2022/internal-CVLvP9b_.mjs.map +1 -0
  25. package/fesm2022/ngwr-alert.mjs +13 -9
  26. package/fesm2022/ngwr-alert.mjs.map +1 -1
  27. package/fesm2022/ngwr-animations-aurora.mjs +21 -21
  28. package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
  29. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  30. package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
  31. package/fesm2022/ngwr-animations-click-sparks.mjs +2 -2
  32. package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
  33. package/fesm2022/ngwr-animations-confetti.mjs +5 -5
  34. package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
  35. package/fesm2022/ngwr-animations-decode.mjs +4 -4
  36. package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
  37. package/fesm2022/ngwr-animations-destruct.mjs +5 -5
  38. package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
  39. package/fesm2022/ngwr-animations-dot-grid.mjs +7 -7
  40. package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
  41. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  42. package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
  43. package/fesm2022/ngwr-animations-flow-lines.mjs +17 -17
  44. package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
  45. package/fesm2022/ngwr-animations-fluid-cursor.mjs +12 -12
  46. package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
  47. package/fesm2022/ngwr-animations-glitch.mjs +2 -2
  48. package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
  49. package/fesm2022/ngwr-animations-marquee.mjs +2 -2
  50. package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
  51. package/fesm2022/ngwr-animations-orbit.mjs +7 -7
  52. package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
  53. package/fesm2022/ngwr-animations-reveal.mjs +4 -4
  54. package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
  55. package/fesm2022/ngwr-animations-ripple-grid.mjs +5 -5
  56. package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
  57. package/fesm2022/ngwr-animations-rotate-reveal.mjs +4 -4
  58. package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
  59. package/fesm2022/ngwr-animations-shimmer.mjs +2 -2
  60. package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
  61. package/fesm2022/ngwr-animations-spotlight.mjs +1 -1
  62. package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
  63. package/fesm2022/ngwr-animations-thread-lines.mjs +16 -16
  64. package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
  65. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  66. package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
  67. package/fesm2022/ngwr-animations-typewriter.mjs +4 -4
  68. package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
  69. package/fesm2022/ngwr-avatar.mjs +14 -10
  70. package/fesm2022/ngwr-avatar.mjs.map +1 -1
  71. package/fesm2022/ngwr-back-top.mjs +10 -6
  72. package/fesm2022/ngwr-back-top.mjs.map +1 -1
  73. package/fesm2022/ngwr-badge.mjs +18 -6
  74. package/fesm2022/ngwr-badge.mjs.map +1 -1
  75. package/fesm2022/ngwr-burger.mjs +9 -6
  76. package/fesm2022/ngwr-burger.mjs.map +1 -1
  77. package/fesm2022/ngwr-button.mjs +8 -4
  78. package/fesm2022/ngwr-button.mjs.map +1 -1
  79. package/fesm2022/ngwr-calendar.mjs +19 -8
  80. package/fesm2022/ngwr-calendar.mjs.map +1 -1
  81. package/fesm2022/ngwr-card.mjs +9 -5
  82. package/fesm2022/ngwr-card.mjs.map +1 -1
  83. package/fesm2022/ngwr-cascader.mjs +54 -25
  84. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  85. package/fesm2022/ngwr-charts-bar-chart.mjs +13 -13
  86. package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
  87. package/fesm2022/ngwr-charts-boxplot-chart.mjs +9 -9
  88. package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
  89. package/fesm2022/ngwr-charts-bullet-chart.mjs +8 -8
  90. package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
  91. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +5 -2
  92. package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
  93. package/fesm2022/ngwr-charts-candlestick-chart.mjs +11 -11
  94. package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
  95. package/fesm2022/ngwr-charts-chart-legend.mjs +2 -2
  96. package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
  97. package/fesm2022/ngwr-charts-core.mjs +20 -20
  98. package/fesm2022/ngwr-charts-core.mjs.map +1 -1
  99. package/fesm2022/ngwr-charts-donut-chart.mjs +2 -2
  100. package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
  101. package/fesm2022/ngwr-charts-funnel-chart.mjs +6 -6
  102. package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
  103. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  104. package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
  105. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  106. package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
  107. package/fesm2022/ngwr-charts-line-chart.mjs +10 -10
  108. package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
  109. package/fesm2022/ngwr-charts-meter-group.mjs +2 -2
  110. package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
  111. package/fesm2022/ngwr-charts-radar-chart.mjs +11 -11
  112. package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
  113. package/fesm2022/ngwr-charts-scatter-chart.mjs +10 -10
  114. package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
  115. package/fesm2022/ngwr-charts-treemap-chart.mjs +4 -4
  116. package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
  117. package/fesm2022/ngwr-charts-waterfall-chart.mjs +7 -7
  118. package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
  119. package/fesm2022/ngwr-checkbox.mjs +12 -8
  120. package/fesm2022/ngwr-checkbox.mjs.map +1 -1
  121. package/fesm2022/ngwr-clipboard.mjs +2 -1
  122. package/fesm2022/ngwr-clipboard.mjs.map +1 -1
  123. package/fesm2022/ngwr-collapse.mjs +11 -7
  124. package/fesm2022/ngwr-collapse.mjs.map +1 -1
  125. package/fesm2022/ngwr-color-picker.mjs +56 -54
  126. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  127. package/fesm2022/ngwr-command-palette.mjs +4 -4
  128. package/fesm2022/ngwr-command-palette.mjs.map +1 -1
  129. package/fesm2022/ngwr-comment.mjs +15 -9
  130. package/fesm2022/ngwr-comment.mjs.map +1 -1
  131. package/fesm2022/ngwr-compare.mjs +15 -9
  132. package/fesm2022/ngwr-compare.mjs.map +1 -1
  133. package/fesm2022/ngwr-context-menu.mjs +8 -6
  134. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  135. package/fesm2022/ngwr-copy-value-testing.mjs +58 -0
  136. package/fesm2022/ngwr-copy-value-testing.mjs.map +1 -0
  137. package/fesm2022/ngwr-copy-value.mjs +201 -0
  138. package/fesm2022/ngwr-copy-value.mjs.map +1 -0
  139. package/fesm2022/ngwr-counter.mjs +3 -3
  140. package/fesm2022/ngwr-counter.mjs.map +1 -1
  141. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  142. package/fesm2022/ngwr-date-picker.mjs +303 -70
  143. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  144. package/fesm2022/ngwr-date-stamp-testing.mjs +34 -0
  145. package/fesm2022/ngwr-date-stamp-testing.mjs.map +1 -0
  146. package/fesm2022/ngwr-date-stamp.mjs +149 -0
  147. package/fesm2022/ngwr-date-stamp.mjs.map +1 -0
  148. package/fesm2022/ngwr-date.mjs +304 -53
  149. package/fesm2022/ngwr-date.mjs.map +1 -1
  150. package/fesm2022/ngwr-descriptions.mjs +9 -5
  151. package/fesm2022/ngwr-descriptions.mjs.map +1 -1
  152. package/fesm2022/ngwr-dialog-testing.mjs +23 -2
  153. package/fesm2022/ngwr-dialog-testing.mjs.map +1 -1
  154. package/fesm2022/ngwr-dialog.mjs +77 -19
  155. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  156. package/fesm2022/ngwr-directives.mjs +218 -12
  157. package/fesm2022/ngwr-directives.mjs.map +1 -1
  158. package/fesm2022/ngwr-divider.mjs +4 -2
  159. package/fesm2022/ngwr-divider.mjs.map +1 -1
  160. package/fesm2022/ngwr-drawer.mjs +32 -6
  161. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  162. package/fesm2022/ngwr-dropdown.mjs +17 -14
  163. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  164. package/fesm2022/ngwr-editor.mjs +33 -30
  165. package/fesm2022/ngwr-editor.mjs.map +1 -1
  166. package/fesm2022/ngwr-event-calendar.mjs +9 -7
  167. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  168. package/fesm2022/ngwr-file-upload.mjs +17 -11
  169. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  170. package/fesm2022/ngwr-form.mjs +18 -6
  171. package/fesm2022/ngwr-form.mjs.map +1 -1
  172. package/fesm2022/ngwr-graph.mjs +3 -3
  173. package/fesm2022/ngwr-graph.mjs.map +1 -1
  174. package/fesm2022/ngwr-hotkey.mjs +22 -22
  175. package/fesm2022/ngwr-hotkey.mjs.map +1 -1
  176. package/fesm2022/ngwr-i18n-ar.mjs +7 -0
  177. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  178. package/fesm2022/ngwr-i18n-cs.mjs +7 -0
  179. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  180. package/fesm2022/ngwr-i18n-de.mjs +7 -0
  181. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  182. package/fesm2022/ngwr-i18n-en.mjs +7 -0
  183. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  184. package/fesm2022/ngwr-i18n-es.mjs +7 -0
  185. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  186. package/fesm2022/ngwr-i18n-fr.mjs +7 -0
  187. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  188. package/fesm2022/ngwr-i18n-he.mjs +7 -0
  189. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  190. package/fesm2022/ngwr-i18n-hi.mjs +7 -0
  191. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  192. package/fesm2022/ngwr-i18n-id.mjs +7 -0
  193. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  194. package/fesm2022/ngwr-i18n-it.mjs +7 -0
  195. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  196. package/fesm2022/ngwr-i18n-ja.mjs +7 -0
  197. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  198. package/fesm2022/ngwr-i18n-ko.mjs +7 -0
  199. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  200. package/fesm2022/ngwr-i18n-nl.mjs +7 -0
  201. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  202. package/fesm2022/ngwr-i18n-pl.mjs +7 -0
  203. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  204. package/fesm2022/ngwr-i18n-pt.mjs +7 -0
  205. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  206. package/fesm2022/ngwr-i18n-ru.mjs +7 -0
  207. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  208. package/fesm2022/ngwr-i18n-sv.mjs +7 -0
  209. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  210. package/fesm2022/ngwr-i18n-tr.mjs +7 -0
  211. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  212. package/fesm2022/ngwr-i18n-uk.mjs +7 -0
  213. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  214. package/fesm2022/ngwr-i18n-vi.mjs +7 -0
  215. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  216. package/fesm2022/ngwr-i18n-zh-tw.mjs +7 -0
  217. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  218. package/fesm2022/ngwr-i18n-zh.mjs +7 -0
  219. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  220. package/fesm2022/ngwr-i18n.mjs +36 -10
  221. package/fesm2022/ngwr-i18n.mjs.map +1 -1
  222. package/fesm2022/ngwr-icon.mjs +5 -5
  223. package/fesm2022/ngwr-icon.mjs.map +1 -1
  224. package/fesm2022/ngwr-image-cropper.mjs +11 -11
  225. package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
  226. package/fesm2022/ngwr-input-number.mjs +13 -7
  227. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  228. package/fesm2022/ngwr-input-otp.mjs +6 -4
  229. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  230. package/fesm2022/ngwr-input.mjs +35 -25
  231. package/fesm2022/ngwr-input.mjs.map +1 -1
  232. package/fesm2022/ngwr-keyboard.mjs +37 -31
  233. package/fesm2022/ngwr-keyboard.mjs.map +1 -1
  234. package/fesm2022/ngwr-knob.mjs +13 -7
  235. package/fesm2022/ngwr-knob.mjs.map +1 -1
  236. package/fesm2022/ngwr-layout.mjs +13 -5
  237. package/fesm2022/ngwr-layout.mjs.map +1 -1
  238. package/fesm2022/ngwr-lightbox.mjs +11 -7
  239. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  240. package/fesm2022/ngwr-list.mjs +13 -5
  241. package/fesm2022/ngwr-list.mjs.map +1 -1
  242. package/fesm2022/ngwr-load-state.mjs +11 -7
  243. package/fesm2022/ngwr-load-state.mjs.map +1 -1
  244. package/fesm2022/ngwr-mention.mjs +6 -6
  245. package/fesm2022/ngwr-mention.mjs.map +1 -1
  246. package/fesm2022/ngwr-meta.mjs +19 -3
  247. package/fesm2022/ngwr-meta.mjs.map +1 -1
  248. package/fesm2022/ngwr-overlay.mjs +87 -4
  249. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  250. package/fesm2022/ngwr-pagination.mjs +10 -7
  251. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  252. package/fesm2022/ngwr-pipes.mjs +22 -8
  253. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  254. package/fesm2022/ngwr-platform.mjs +4 -1
  255. package/fesm2022/ngwr-platform.mjs.map +1 -1
  256. package/fesm2022/ngwr-popconfirm.mjs +6 -5
  257. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  258. package/fesm2022/ngwr-popover.mjs +124 -34
  259. package/fesm2022/ngwr-popover.mjs.map +1 -1
  260. package/fesm2022/ngwr-progress.mjs +4 -2
  261. package/fesm2022/ngwr-progress.mjs.map +1 -1
  262. package/fesm2022/ngwr-pull-to-refresh.mjs +2 -2
  263. package/fesm2022/ngwr-pull-to-refresh.mjs.map +1 -1
  264. package/fesm2022/ngwr-qr.mjs +6 -6
  265. package/fesm2022/ngwr-qr.mjs.map +1 -1
  266. package/fesm2022/ngwr-radio.mjs +12 -8
  267. package/fesm2022/ngwr-radio.mjs.map +1 -1
  268. package/fesm2022/ngwr-rating.mjs +19 -13
  269. package/fesm2022/ngwr-rating.mjs.map +1 -1
  270. package/fesm2022/ngwr-resizable.mjs +503 -0
  271. package/fesm2022/ngwr-resizable.mjs.map +1 -0
  272. package/fesm2022/ngwr-result.mjs +9 -5
  273. package/fesm2022/ngwr-result.mjs.map +1 -1
  274. package/fesm2022/ngwr-schema-form.mjs +15 -5
  275. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  276. package/fesm2022/ngwr-segmented.mjs +4 -2
  277. package/fesm2022/ngwr-segmented.mjs.map +1 -1
  278. package/fesm2022/ngwr-select.mjs +70 -39
  279. package/fesm2022/ngwr-select.mjs.map +1 -1
  280. package/fesm2022/ngwr-sidebar.mjs +3 -3
  281. package/fesm2022/ngwr-sidebar.mjs.map +1 -1
  282. package/fesm2022/ngwr-skeleton.mjs +6 -4
  283. package/fesm2022/ngwr-skeleton.mjs.map +1 -1
  284. package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
  285. package/fesm2022/ngwr-slider.mjs +17 -15
  286. package/fesm2022/ngwr-slider.mjs.map +1 -1
  287. package/fesm2022/ngwr-sortable-list.mjs +3 -3
  288. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  289. package/fesm2022/ngwr-speed-dial.mjs +4 -2
  290. package/fesm2022/ngwr-speed-dial.mjs.map +1 -1
  291. package/fesm2022/ngwr-spinner.mjs +4 -2
  292. package/fesm2022/ngwr-spinner.mjs.map +1 -1
  293. package/fesm2022/ngwr-splitter.mjs +21 -25
  294. package/fesm2022/ngwr-splitter.mjs.map +1 -1
  295. package/fesm2022/ngwr-statistic.mjs +5 -3
  296. package/fesm2022/ngwr-statistic.mjs.map +1 -1
  297. package/fesm2022/ngwr-stepper.mjs +9 -3
  298. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  299. package/fesm2022/ngwr-storage.mjs +6 -4
  300. package/fesm2022/ngwr-storage.mjs.map +1 -1
  301. package/fesm2022/ngwr-switch.mjs +11 -7
  302. package/fesm2022/ngwr-switch.mjs.map +1 -1
  303. package/fesm2022/ngwr-table-testing.mjs +5 -1
  304. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  305. package/fesm2022/ngwr-table.mjs +396 -35
  306. package/fesm2022/ngwr-table.mjs.map +1 -1
  307. package/fesm2022/ngwr-tabs.mjs +2 -2
  308. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  309. package/fesm2022/ngwr-textarea.mjs +9 -3
  310. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  311. package/fesm2022/ngwr-timeline.mjs +18 -8
  312. package/fesm2022/ngwr-timeline.mjs.map +1 -1
  313. package/fesm2022/ngwr-toast-testing.mjs +14 -2
  314. package/fesm2022/ngwr-toast-testing.mjs.map +1 -1
  315. package/fesm2022/ngwr-toast.mjs +588 -120
  316. package/fesm2022/ngwr-toast.mjs.map +1 -1
  317. package/fesm2022/ngwr-tour.mjs +7 -7
  318. package/fesm2022/ngwr-tour.mjs.map +1 -1
  319. package/fesm2022/ngwr-transfer.mjs +24 -11
  320. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  321. package/fesm2022/ngwr-tree.mjs +68 -26
  322. package/fesm2022/ngwr-tree.mjs.map +1 -1
  323. package/fesm2022/ngwr-typography.mjs +9 -3
  324. package/fesm2022/ngwr-typography.mjs.map +1 -1
  325. package/fesm2022/ngwr-utils-router.mjs +18 -2
  326. package/fesm2022/ngwr-utils-router.mjs.map +1 -1
  327. package/fesm2022/ngwr-utils.mjs +106 -56
  328. package/fesm2022/ngwr-utils.mjs.map +1 -1
  329. package/fesm2022/ngwr-validators.mjs +2 -2
  330. package/fesm2022/ngwr-validators.mjs.map +1 -1
  331. package/fesm2022/ngwr-version.mjs +1 -1
  332. package/fesm2022/ngwr-version.mjs.map +1 -1
  333. package/fesm2022/ngwr-window.mjs +33 -30
  334. package/fesm2022/ngwr-window.mjs.map +1 -1
  335. package/fesm2022/ngwr.mjs.map +1 -1
  336. package/i18n/ar.json +11 -0
  337. package/i18n/cs.json +11 -0
  338. package/i18n/de.json +11 -0
  339. package/i18n/en.json +11 -0
  340. package/i18n/es.json +11 -0
  341. package/i18n/fr.json +11 -0
  342. package/i18n/he.json +11 -0
  343. package/i18n/hi.json +11 -0
  344. package/i18n/id.json +11 -0
  345. package/i18n/it.json +11 -0
  346. package/i18n/ja.json +11 -0
  347. package/i18n/ko.json +11 -0
  348. package/i18n/nl.json +11 -0
  349. package/i18n/pl.json +11 -0
  350. package/i18n/pt.json +11 -0
  351. package/i18n/ru.json +11 -0
  352. package/i18n/sv.json +11 -0
  353. package/i18n/tr.json +11 -0
  354. package/i18n/uk.json +11 -0
  355. package/i18n/vi.json +11 -0
  356. package/i18n/zh-TW.json +11 -0
  357. package/i18n/zh.json +11 -0
  358. package/input/styles/_index.scss +10 -5
  359. package/input-number/styles/_index.scss +12 -3
  360. package/input-otp/styles/_index.scss +4 -2
  361. package/llms-full.txt +54 -23
  362. package/llms.txt +45 -23
  363. package/mcp/providers.js +1 -1
  364. package/package.json +29 -10
  365. package/radio/styles/_index.scss +4 -2
  366. package/resizable/styles/_index.scss +154 -0
  367. package/schematics/icon-set/index.js +3 -3
  368. package/schematics/migrations/v16/index.js +742 -0
  369. package/schematics/migrations.json +5 -0
  370. package/schematics/ng-add/index.js +4 -4
  371. package/schematics/provider/index.js +4 -4
  372. package/schematics/use/rule.js +1 -0
  373. package/schematics/use/symbol-map.json +6 -0
  374. package/select/styles/_index.scss +7 -4
  375. package/skills/ngwr/SKILL.md +6 -4
  376. package/skills/ngwr/references/catalog.md +8 -3
  377. package/skills/ngwr/references/setup.md +13 -9
  378. package/switch/styles/_index.scss +4 -2
  379. package/table/styles/_index.scss +138 -29
  380. package/textarea/styles/_index.scss +4 -2
  381. package/theme/styles/_motion.scss +6 -0
  382. package/toast/styles/_index.scss +49 -0
  383. package/tree/styles/_index.scss +17 -0
  384. package/types/index-CXbgza47.d.ts +13 -0
  385. package/types/ngwr-animations-aurora.d.ts +1 -1
  386. package/types/ngwr-animations-blur-reveal.d.ts +2 -2
  387. package/types/ngwr-animations-dot-grid.d.ts +1 -2
  388. package/types/ngwr-animations-flow-lines.d.ts +1 -1
  389. package/types/ngwr-animations-fluid-cursor.d.ts +1 -1
  390. package/types/ngwr-animations-reveal.d.ts +4 -8
  391. package/types/ngwr-animations-ripple-grid.d.ts +1 -1
  392. package/types/ngwr-animations-spotlight.d.ts +1 -1
  393. package/types/ngwr-animations-thread-lines.d.ts +1 -1
  394. package/types/ngwr-animations-tilt.d.ts +1 -1
  395. package/types/ngwr-avatar.d.ts +2 -2
  396. package/types/ngwr-badge.d.ts +1 -1
  397. package/types/ngwr-burger.d.ts +0 -1
  398. package/types/ngwr-calendar.d.ts +7 -0
  399. package/types/ngwr-cascader.d.ts +12 -1
  400. package/types/ngwr-charts-boxplot-chart.d.ts +1 -1
  401. package/types/ngwr-charts-bullet-chart.d.ts +2 -2
  402. package/types/ngwr-charts-calendar-heatmap.d.ts +2 -1
  403. package/types/ngwr-charts-candlestick-chart.d.ts +1 -1
  404. package/types/ngwr-charts-core.d.ts +12 -12
  405. package/types/ngwr-charts-line-chart.d.ts +2 -2
  406. package/types/ngwr-charts-radar-chart.d.ts +1 -1
  407. package/types/ngwr-charts-scatter-chart.d.ts +2 -2
  408. package/types/ngwr-charts-waterfall-chart.d.ts +1 -1
  409. package/types/ngwr-clipboard.d.ts +7 -0
  410. package/types/ngwr-color-picker.d.ts +12 -12
  411. package/types/ngwr-copy-value-testing.d.ts +87 -0
  412. package/types/ngwr-copy-value.d.ts +95 -0
  413. package/types/ngwr-date-picker-testing.d.ts +3 -3
  414. package/types/ngwr-date-picker.d.ts +106 -3
  415. package/types/ngwr-date-stamp-testing.d.ts +47 -0
  416. package/types/ngwr-date-stamp.d.ts +81 -0
  417. package/types/ngwr-date.d.ts +179 -27
  418. package/types/ngwr-dialog-testing.d.ts +10 -0
  419. package/types/ngwr-dialog.d.ts +120 -5
  420. package/types/ngwr-directives.d.ts +76 -1
  421. package/types/ngwr-drawer.d.ts +22 -1
  422. package/types/ngwr-dropdown.d.ts +3 -2
  423. package/types/ngwr-hotkey.d.ts +5 -5
  424. package/types/ngwr-i18n.d.ts +47 -17
  425. package/types/ngwr-icon.d.ts +26 -26
  426. package/types/ngwr-input-number.d.ts +2 -2
  427. package/types/ngwr-input.d.ts +8 -8
  428. package/types/ngwr-load-state.d.ts +6 -6
  429. package/types/ngwr-meta.d.ts +18 -0
  430. package/types/ngwr-overlay.d.ts +36 -0
  431. package/types/ngwr-pipes.d.ts +21 -4
  432. package/types/ngwr-platform.d.ts +2 -1
  433. package/types/ngwr-popconfirm.d.ts +3 -2
  434. package/types/ngwr-popover.d.ts +43 -4
  435. package/types/ngwr-resizable.d.ts +228 -0
  436. package/types/ngwr-select.d.ts +33 -18
  437. package/types/ngwr-slider-testing.d.ts +2 -2
  438. package/types/ngwr-slider.d.ts +3 -3
  439. package/types/ngwr-statistic.d.ts +5 -1
  440. package/types/ngwr-storage.d.ts +1 -1
  441. package/types/ngwr-table-testing.d.ts +5 -2
  442. package/types/ngwr-table.d.ts +255 -14
  443. package/types/ngwr-tabs.d.ts +10 -2
  444. package/types/ngwr-toast-testing.d.ts +18 -3
  445. package/types/ngwr-toast.d.ts +248 -23
  446. package/types/ngwr-transfer.d.ts +5 -0
  447. package/types/ngwr-tree.d.ts +22 -2
  448. package/types/ngwr-utils-router.d.ts +22 -0
  449. package/types/ngwr-utils.d.ts +165 -83
  450. package/types/ngwr-validators.d.ts +4 -2
  451. package/types/ngwr-version.d.ts +1 -1
  452. package/types/ngwr.d.ts +2 -0
  453. package/types/pointer-tracker-D7fXxLQL.d.ts +24 -0
  454. package/fesm2022/ngwr-animations-core.mjs.map +0 -1
  455. package/types/ngwr-animations-core.d.ts +0 -294
@@ -4,7 +4,7 @@
4
4
  // `<wr-aurora />`: a curtain of light hanging from one edge of a section,
5
5
  // like an aurora, behind the section's content. The component paints one
6
6
  // WebGL canvas and reads its three stops and the surface back from the hooks
7
- // below through `resolveCssColorChannels`, so a retheme and a scheme switch
7
+ // below through `wrResolveCssColorChannels`, so a retheme and a scheme switch
8
8
  // both reach the pixels. How bright it is, how far it reaches and how it
9
9
  // moves are inputs and the shader's numbers, not the sheet's.
10
10
  .wr-aurora {
@@ -1,5 +1,5 @@
1
1
  @use '../../../theme/styles' as theme;
2
- @use '../../core/styles/mixins' as core;
2
+ @use '../../internal/styles/mixins' as core;
3
3
  @include theme.loaded('animations/blur-reveal');
4
4
 
5
5
  // `[wrBlurReveal]`: the host's text comes in piece by piece the first time it
@@ -1,5 +1,5 @@
1
1
  @use '../../../theme/styles' as theme;
2
- @use '../../core/styles/mixins' as core;
2
+ @use '../../internal/styles/mixins' as core;
3
3
  @include theme.loaded('animations/decode');
4
4
 
5
5
  // `[wrDecode]`: the host's text shows random glyphs that lock on to the real
@@ -3,7 +3,7 @@
3
3
 
4
4
  // `<wr-dot-grid />`: an even field of small, faint dots behind a section's
5
5
  // content. The component paints one canvas and reads its two colours back
6
- // from the hooks below through `resolveCssColorChannels`, so a retheme and a
6
+ // from the hooks below through `wrResolveCssColorChannels`, so a retheme and a
7
7
  // scheme switch both reach the pixels. The strengths (how much of each colour
8
8
  // a dot shows at rest and lit) and the dot sizes live in `dot-grid.ts`: they
9
9
  // are the canvas's numbers, not the sheet's.
@@ -4,7 +4,7 @@
4
4
  // `<wr-flow-lines />`: a dense field of thin parallel lines behind a section's
5
5
  // content, bent in slow waves and pushed aside round the pointer. The component
6
6
  // paints one WebGL canvas and reads its two colours and the surface back from
7
- // the hooks below through `resolveCssColorChannels`, so a retheme and a scheme
7
+ // the hooks below through `wrResolveCssColorChannels`, so a retheme and a scheme
8
8
  // switch both reach the pixels. How much of a colour a line lays and its
9
9
  // thickness live in the component and its shader: they are the canvas's
10
10
  // numbers, not the sheet's.
@@ -4,7 +4,7 @@
4
4
  // `<wr-fluid-cursor />`: coloured ink behind a region's content, stirred by
5
5
  // the pointer and gone a few seconds later. The component paints one WebGL
6
6
  // canvas and reads its palette back from the hooks below through
7
- // `resolveCssColorChannels`, so a retheme and a scheme switch both reach the
7
+ // `wrResolveCssColorChannels`, so a retheme and a scheme switch both reach the
8
8
  // pixels. How the ink covers the surface (as ink on a light one, lifted on a
9
9
  // dark one) and the splat sizes live in the component and its model: they
10
10
  // are the canvas's numbers, not the sheet's.
@@ -1,5 +1,5 @@
1
1
  // Sass shared by the animation sheets. Not a public entry: there is no
2
- // `styles/_index.scss` here, so `@use 'ngwr/animations/core'` resolves to
2
+ // `styles/_index.scss` here, so `@use 'ngwr/animations/internal'` resolves to
3
3
  // nothing and the manifest carries no `sass` condition for it. An effect's own
4
4
  // `_index.scss` loads this file by its relative path.
5
5
 
@@ -1,5 +1,5 @@
1
1
  @use '../../../theme/styles' as theme;
2
- @use '../../core/styles/mixins' as core;
2
+ @use '../../internal/styles/mixins' as core;
3
3
  @include theme.loaded('animations/reveal');
4
4
 
5
5
  // `<wr-reveal>`: a text run whose pieces rise into place one after
@@ -4,7 +4,7 @@
4
4
  // `<wr-ripple-grid />`: a faint square grid of thin lines behind a page's
5
5
  // content, that ripples out from a click. The component paints one canvas and
6
6
  // reads its two colours back from the hooks below through
7
- // `resolveCssColorChannels`, so a retheme and a scheme switch both reach the
7
+ // `wrResolveCssColorChannels`, so a retheme and a scheme switch both reach the
8
8
  // pixels. The strengths (how much of each colour a line shows at rest and lit)
9
9
  // and the line width live in `ripple-grid.ts`: they are the canvas's numbers,
10
10
  // not the sheet's.
@@ -1,5 +1,5 @@
1
1
  @use '../../../theme/styles' as theme;
2
- @use '../../core/styles/mixins' as core;
2
+ @use '../../internal/styles/mixins' as core;
3
3
  @include theme.loaded('animations/rotate-reveal');
4
4
 
5
5
  // `<wr-rotate-reveal>`: one word of a sentence that gives way to the next in
@@ -5,7 +5,7 @@
5
5
  // a cord at one end and frayed apart at the other, riding slow waves and
6
6
  // parting round the pointer. The component paints one WebGL canvas and reads
7
7
  // its two colours and the surface back from the hooks below through
8
- // `resolveCssColorChannels`, so a retheme and a scheme switch both reach the
8
+ // `wrResolveCssColorChannels`, so a retheme and a scheme switch both reach the
9
9
  // pixels. How much of a colour a strand lays, its glow and its thickness live
10
10
  // in the component and its shader: they are the canvas's numbers, not the
11
11
  // sheet's.
@@ -1,5 +1,5 @@
1
1
  @use '../../../theme/styles' as theme;
2
- @use '../../core/styles/mixins' as core;
2
+ @use '../../internal/styles/mixins' as core;
3
3
  @include theme.loaded('animations/typewriter');
4
4
 
5
5
  // `<wr-typewriter>`: a line typed character by character behind a caret.
@@ -50,7 +50,8 @@
50
50
  transition: var(--wr-transition-base);
51
51
 
52
52
  // Shape
53
- &--rounded {
53
+ &--rounded,
54
+ &:where([rounded]:not([rounded='false'])) {
54
55
  --wr-tag-radius: var(--wr-border-radius-pill);
55
56
  --wr-tag-padding-x: var(--wr-space-md);
56
57
  }
@@ -77,7 +78,8 @@
77
78
 
78
79
  // Colored variants
79
80
  @each $name in theme.$colors {
80
- &--#{$name} {
81
+ &--#{$name},
82
+ &:where([color='#{$name}']) {
81
83
  --wr-tag-color: var(--wr-color-#{$name}-contrast);
82
84
  --wr-tag-bg: var(--wr-color-#{$name});
83
85
  --wr-tag-border: var(--wr-color-#{$name});
@@ -88,13 +90,15 @@
88
90
  // whole visual change here. The 6% fill stays, and that is the one place
89
91
  // the two deliberately differ: a tag is a chip you can click, hover and
90
92
  // dismiss, so it keeps a body the badge has none of.
91
- &.wr-tag--outlined {
93
+ &.wr-tag--outlined,
94
+ &:where([outlined]:not([outlined='false'])) {
92
95
  --wr-tag-color: var(--wr-color-#{$name}-ink);
93
96
  --wr-tag-bg: color-mix(in srgb, var(--wr-color-#{$name}) 6%, transparent);
94
97
  --wr-tag-border: var(--wr-color-#{$name}-soft-border);
95
98
  }
96
99
 
97
- &.wr-tag--transparent {
100
+ &.wr-tag--transparent,
101
+ &:where([transparent]:not([transparent='false'])) {
98
102
  --wr-tag-color: var(--wr-color-#{$name}-ink);
99
103
  --wr-tag-bg: color-mix(in srgb, var(--wr-color-#{$name}) 10%, transparent);
100
104
  --wr-tag-border: transparent;
@@ -141,7 +141,7 @@
141
141
  //
142
142
  // `block` is excluded — it is width:100% by contract, and squaring it would
143
143
  // turn a full-width button into a giant tile.
144
- &:has(> &__label:empty):not(&--block) {
144
+ &:has(> &__label:empty):not(&--block, &:where([block]:not([block='false']))) {
145
145
  padding-inline: calc(var(--wr-btn-padding-y) * var(--wr-density-y, 1));
146
146
 
147
147
  .wr-btn__icon {
@@ -175,7 +175,8 @@
175
175
  // three `--wr-control-*-sm` tokens are shared so button, input and select line
176
176
  // up in a row, and 22px is the number `/guides/tokens/sizing` publishes.
177
177
  // Space the targets, or use `md` where they sit together.
178
- &--sm {
178
+ &--sm,
179
+ &:where([size='sm']) {
179
180
  --wr-btn-radius: var(--wr-control-radius-sm);
180
181
  --wr-btn-gap: var(--wr-space-xs);
181
182
  --wr-btn-padding-y: var(--wr-control-padding-y-sm);
@@ -185,7 +186,8 @@
185
186
  --wr-btn-icon-size: 0.875rem; // 14px
186
187
  }
187
188
 
188
- &--lg {
189
+ &--lg,
190
+ &:where([size='lg']) {
189
191
  --wr-btn-radius: var(--wr-control-radius-lg);
190
192
  --wr-btn-gap: var(--wr-space-md);
191
193
  --wr-btn-padding-y: var(--wr-control-padding-y-lg);
@@ -217,7 +219,8 @@
217
219
  }
218
220
 
219
221
  // Layout
220
- &--block {
222
+ &--block,
223
+ &:where([block]:not([block='false'])) {
221
224
  display: flex;
222
225
  width: 100%;
223
226
  }
@@ -249,7 +252,8 @@
249
252
  // wherever a removed intent had been, and the docs page put the two side by
250
253
  // side. Transparent rather than a tint: the border is the whole of what
251
254
  // outlined means here, and the surface behind it belongs to the host.
252
- &--outlined {
255
+ &--outlined,
256
+ &:where([outlined]:not([outlined='false'])) {
253
257
  --wr-btn-bg: transparent;
254
258
 
255
259
  &:hover {
@@ -263,7 +267,8 @@
263
267
 
264
268
  // Color variants
265
269
  @each $name in theme.$colors {
266
- &--#{$name} {
270
+ &--#{$name},
271
+ &:where([color='#{$name}']) {
267
272
  --wr-btn-color: var(--wr-color-#{$name}-contrast);
268
273
  --wr-btn-bg: var(--wr-color-#{$name});
269
274
  --wr-btn-border: var(--wr-color-#{$name});
@@ -278,7 +283,8 @@
278
283
  --wr-btn-border: var(--wr-color-#{$name}-darker);
279
284
  }
280
285
 
281
- &.wr-btn--outlined {
286
+ &.wr-btn--outlined,
287
+ &:where([outlined]:not([outlined='false'])) {
282
288
  // `-ink`, not the bare intent. The label is TEXT on whatever surface the
283
289
  // host gives the transparent button, and the bare token does not clear
284
290
  // AA there: `#3567ff` on the dark canvas measures 4.06:1, and in light
@@ -73,7 +73,8 @@
73
73
  }
74
74
 
75
75
  // Sizes — trigger on the control contract (sm 22 / md 30 / lg 36).
76
- &--sm {
76
+ &--sm,
77
+ &:where([size='sm']) {
77
78
  --wr-cascader-radius: var(--wr-control-radius-sm);
78
79
  --wr-cascader-padding-y: var(--wr-control-padding-y-sm);
79
80
  --wr-cascader-padding-x: var(--wr-control-padding-x-sm);
@@ -81,7 +82,8 @@
81
82
  --wr-cascader-line-height: var(--wr-control-line-height-sm);
82
83
  }
83
84
 
84
- &--lg {
85
+ &--lg,
86
+ &:where([size='lg']) {
85
87
  --wr-cascader-radius: var(--wr-control-radius-lg);
86
88
  --wr-cascader-padding-y: var(--wr-control-padding-y-lg);
87
89
  --wr-cascader-padding-x: var(--wr-control-padding-x-lg);
@@ -100,14 +100,16 @@
100
100
  }
101
101
 
102
102
  // Sizes — box, radius, label font + line-height scale together.
103
- &--sm {
103
+ &--sm,
104
+ &:where([size='sm']) {
104
105
  --wr-checkbox-size: 1rem; // 16px
105
106
  --wr-checkbox-radius: var(--wr-control-radius-sm);
106
107
  --wr-checkbox-font-size: var(--wr-text-xs);
107
108
  --wr-checkbox-line-height: var(--wr-control-line-height-sm);
108
109
  }
109
110
 
110
- &--lg {
111
+ &--lg,
112
+ &:where([size='lg']) {
111
113
  --wr-checkbox-size: 1.25rem; // 20px
112
114
  --wr-checkbox-radius: var(--wr-control-radius-lg);
113
115
  --wr-checkbox-font-size: var(--wr-text-base);
@@ -0,0 +1,104 @@
1
+ @use '../../theme/styles' as theme;
2
+
3
+ @include theme.loaded('copy-value');
4
+
5
+ .wr-copy-value {
6
+ --wr-copy-value-gap: var(--wr-space-xs);
7
+ --wr-copy-value-empty-color: var(--wr-color-on-surface-muted);
8
+ --wr-copy-value-button-color: var(--wr-color-on-surface-muted);
9
+ --wr-copy-value-button-hover-color: var(--wr-color-on-surface);
10
+ --wr-copy-value-button-hover-bg: var(--wr-color-hover);
11
+ // A graphic, so the bare intent: `-ink` is for text.
12
+ --wr-copy-value-button-copied-color: var(--wr-color-success);
13
+ --wr-copy-value-button-padding: var(--wr-space-xs);
14
+ --wr-copy-value-button-radius: var(--wr-border-radius-sm);
15
+
16
+ // Relative, so the visually hidden status stays inside the host's box.
17
+ position: relative;
18
+ display: inline-flex;
19
+ align-items: center;
20
+ gap: var(--wr-copy-value-gap);
21
+ // Both, so the text can shrink below its content inside a flex or grid cell
22
+ // and never runs past the cell it sits in.
23
+ min-width: 0;
24
+ max-width: 100%;
25
+ vertical-align: bottom;
26
+
27
+ &__text {
28
+ flex: 0 1 auto;
29
+ min-width: 0;
30
+ overflow: hidden;
31
+ text-overflow: ellipsis;
32
+ white-space: nowrap;
33
+ }
34
+
35
+ &__empty {
36
+ color: var(--wr-copy-value-empty-color);
37
+ }
38
+
39
+ &__button {
40
+ flex: 0 0 auto;
41
+ display: inline-flex;
42
+ align-items: center;
43
+ justify-content: center;
44
+ appearance: none;
45
+ margin: 0;
46
+ padding: var(--wr-copy-value-button-padding);
47
+ border: 0;
48
+ border-radius: var(--wr-copy-value-button-radius);
49
+ background: transparent;
50
+ color: var(--wr-copy-value-button-color);
51
+ cursor: pointer;
52
+ // The glyph is `1em`, and a `<button>` takes the browser's control font
53
+ // unless the app resets it. The size only, never the `font` shorthand.
54
+ font-size: inherit;
55
+ transition:
56
+ color var(--wr-transition-base),
57
+ background-color var(--wr-transition-base);
58
+
59
+ @include theme.touch-target; // glyph -> 44px tap area on touch
60
+
61
+ &:hover {
62
+ color: var(--wr-copy-value-button-hover-color);
63
+ background: var(--wr-copy-value-button-hover-bg);
64
+ }
65
+
66
+ &:focus-visible {
67
+ @include theme.focus-ring;
68
+ }
69
+ }
70
+
71
+ &__icon {
72
+ display: block;
73
+ width: 1em;
74
+ height: 1em;
75
+ }
76
+
77
+ &__status {
78
+ position: absolute;
79
+ width: 1px;
80
+ height: 1px;
81
+ margin: -1px;
82
+ padding: 0;
83
+ overflow: hidden;
84
+ clip: rect(0, 0, 0, 0);
85
+ border: 0;
86
+ white-space: nowrap;
87
+ }
88
+
89
+ &--copied &__button,
90
+ &--copied &__button:hover {
91
+ color: var(--wr-copy-value-button-copied-color);
92
+ }
93
+
94
+ &--wrap {
95
+ // The button stays on the first line of a value that runs over several.
96
+ align-items: flex-start;
97
+ }
98
+
99
+ &--wrap &__text {
100
+ overflow: visible;
101
+ white-space: normal;
102
+ overflow-wrap: anywhere;
103
+ }
104
+ }
@@ -34,8 +34,18 @@
34
34
  .wr-date-picker {
35
35
  display: inline-block;
36
36
 
37
+ // A form field stretches the host, and the group is the box the user sees.
38
+ // Alone, the host shrink-wraps, so 100% is the group's content width again.
39
+ > .wr-input-group {
40
+ width: 100%;
41
+ }
42
+
37
43
  // Inner button — same affix sizing rules as wr-input-group's toggle.
38
44
  &__trigger {
45
+ // Box of the calendar / clock glyph. It follows the control's font size, the
46
+ // way the select chevron and the input-number steppers do.
47
+ --wr-date-picker-trigger-icon-size: var(--wr-control-font-size-md);
48
+
39
49
  appearance: none;
40
50
  background: transparent;
41
51
  border: 0;
@@ -55,12 +65,106 @@
55
65
  cursor: not-allowed;
56
66
  opacity: var(--wr-disabled-opacity);
57
67
  }
68
+
69
+ // CSS size, so it beats the markup's `width` / `height` attributes.
70
+ svg {
71
+ width: var(--wr-date-picker-trigger-icon-size);
72
+ height: var(--wr-date-picker-trigger-icon-size);
73
+ }
74
+ }
75
+ }
76
+
77
+ // The clear (×) both pickers draw between the last field and the trigger — the
78
+ // select's, in a group instead of a button.
79
+ .wr-date-picker__clear {
80
+ --wr-date-picker-clear-radius: var(--wr-border-radius-pill);
81
+ // The glyph is a bare `.wr-icon__svg`, which is `1em`.
82
+ --wr-date-picker-clear-icon-size: var(--wr-control-font-size-md);
83
+
84
+ flex: 0 0 auto;
85
+ align-self: center;
86
+ display: inline-flex;
87
+ align-items: center;
88
+ justify-content: center;
89
+ width: 1.125rem;
90
+ height: 1.125rem;
91
+ border-radius: var(--wr-date-picker-clear-radius);
92
+ color: var(--wr-color-on-surface-muted);
93
+ font-size: var(--wr-date-picker-clear-icon-size);
94
+ cursor: pointer;
95
+ transition:
96
+ background 0.12s ease,
97
+ color 0.12s ease;
98
+
99
+ &:hover {
100
+ background: color-mix(in srgb, var(--wr-color-on-surface) 6%, transparent);
101
+ color: var(--wr-color-on-surface);
102
+ }
103
+ }
104
+
105
+ // Touch pointers get a wider × that fills the field's height instead of growing it.
106
+ @media (pointer: coarse) {
107
+ .wr-date-picker__clear {
108
+ align-self: stretch;
109
+ width: 2rem;
110
+ height: auto;
111
+ }
112
+ }
113
+
114
+ // The field keeps the affix gutter when the × sits between it and the trigger,
115
+ // so the text does not move as the × comes and goes.
116
+ .wr-date-picker .wr-input:has(+ .wr-date-picker__clear),
117
+ .wr-date-range-picker .wr-input:has(+ .wr-date-picker__clear) {
118
+ padding-inline-end: var(--wr-input-group-affix-gap);
119
+ }
120
+
121
+ // Sizes — share the `--wr-control-*` contract (22 / 30 / 36 px). The fields carry
122
+ // `wr-input--<size>` themselves; the group and the trigger are their siblings and
123
+ // read the size from the host. Both pickers draw the same trigger.
124
+ .wr-date-picker--sm,
125
+ .wr-date-picker:where([size='sm']),
126
+ .wr-date-range-picker--sm,
127
+ .wr-date-range-picker:where([size='sm']) {
128
+ > .wr-input-group {
129
+ --wr-input-group-radius: var(--wr-control-radius-sm);
130
+ --wr-input-group-padding-x: var(--wr-control-padding-x-sm);
131
+ }
132
+
133
+ .wr-date-picker__trigger {
134
+ --wr-date-picker-trigger-icon-size: var(--wr-control-font-size-sm);
135
+ }
136
+
137
+ .wr-date-picker__clear {
138
+ --wr-date-picker-clear-icon-size: var(--wr-control-font-size-sm);
139
+ }
140
+ }
141
+
142
+ .wr-date-picker--lg,
143
+ .wr-date-picker:where([size='lg']),
144
+ .wr-date-range-picker--lg,
145
+ .wr-date-range-picker:where([size='lg']) {
146
+ > .wr-input-group {
147
+ --wr-input-group-radius: var(--wr-control-radius-lg);
148
+ --wr-input-group-padding-x: var(--wr-control-padding-x-lg);
149
+ }
150
+
151
+ .wr-date-picker__trigger {
152
+ --wr-date-picker-trigger-icon-size: var(--wr-control-font-size-lg);
153
+ }
154
+
155
+ .wr-date-picker__clear {
156
+ --wr-date-picker-clear-icon-size: var(--wr-control-font-size-lg);
58
157
  }
59
158
  }
60
159
 
61
160
  .wr-date-range-picker {
62
161
  display: inline-block;
63
162
 
163
+ // As `.wr-date-picker` above.
164
+ > .wr-input-group {
165
+ width: 100%;
166
+ }
167
+
64
168
  // Each end shares the group's width so the pair reads as one control.
65
169
  &__input {
66
170
  flex: 1 1 0;
@@ -69,14 +173,31 @@
69
173
 
70
174
  &__separator {
71
175
  --wr-date-range-picker-separator-padding-x: var(--wr-space-xs);
176
+ // The page's text at md, as it has always been. `sm` and `lg` take the
177
+ // control's: the page's line box is taller than an `sm` field and stretched
178
+ // the group past 22px.
179
+ --wr-date-range-picker-separator-font-size: inherit;
180
+ --wr-date-range-picker-separator-line-height: inherit;
72
181
 
73
182
  display: inline-flex;
74
183
  align-items: center;
75
184
  padding: 0 var(--wr-date-range-picker-separator-padding-x);
76
185
  color: var(--wr-color-on-surface-muted);
186
+ font-size: var(--wr-date-range-picker-separator-font-size);
187
+ line-height: var(--wr-date-range-picker-separator-line-height);
77
188
  user-select: none;
78
189
  }
79
190
 
191
+ &--sm &__separator {
192
+ --wr-date-range-picker-separator-font-size: var(--wr-control-font-size-sm);
193
+ --wr-date-range-picker-separator-line-height: var(--wr-control-line-height-sm);
194
+ }
195
+
196
+ &--lg &__separator {
197
+ --wr-date-range-picker-separator-font-size: var(--wr-control-font-size-lg);
198
+ --wr-date-range-picker-separator-line-height: var(--wr-control-line-height-lg);
199
+ }
200
+
80
201
  &--disabled {
81
202
  .wr-date-range-picker__separator {
82
203
  opacity: var(--wr-disabled-opacity);
@@ -0,0 +1,38 @@
1
+ @use '../../theme/styles' as theme;
2
+
3
+ @include theme.loaded('date-stamp');
4
+
5
+ .wr-date-stamp {
6
+ --wr-date-stamp-gap: 0;
7
+ --wr-date-stamp-line-height: var(--wr-text-sm-leading);
8
+ --wr-date-stamp-date-color: inherit;
9
+ --wr-date-stamp-time-color: var(--wr-color-on-surface-muted);
10
+ --wr-date-stamp-time-font-size: var(--wr-text-sm);
11
+ --wr-date-stamp-empty-color: var(--wr-color-on-surface-muted);
12
+
13
+ display: inline-block;
14
+ // A column of stamps lines up digit under digit.
15
+ font-variant-numeric: tabular-nums;
16
+ line-height: var(--wr-date-stamp-line-height);
17
+ white-space: nowrap;
18
+ vertical-align: middle;
19
+
20
+ &__value {
21
+ display: inline-flex;
22
+ flex-direction: column;
23
+ gap: var(--wr-date-stamp-gap);
24
+ }
25
+
26
+ &__date {
27
+ color: var(--wr-date-stamp-date-color);
28
+ }
29
+
30
+ &__time {
31
+ color: var(--wr-date-stamp-time-color);
32
+ font-size: var(--wr-date-stamp-time-font-size);
33
+ }
34
+
35
+ &__empty {
36
+ color: var(--wr-date-stamp-empty-color);
37
+ }
38
+ }
@@ -86,6 +86,12 @@
86
86
  --wr-dialog-close-radius: var(--wr-border-radius-sm);
87
87
  --wr-dialog-close-font-size: var(--wr-text-base);
88
88
  --wr-dialog-footer-gap: var(--wr-space-sm);
89
+ --wr-dialog-intent-size: 1.25rem;
90
+ --wr-dialog-intent-gap: var(--wr-space-sm);
91
+ --wr-dialog-intent-info: var(--wr-color-info);
92
+ --wr-dialog-intent-success: var(--wr-color-success);
93
+ --wr-dialog-intent-warning: var(--wr-color-warning);
94
+ --wr-dialog-intent-danger: var(--wr-color-danger);
89
95
 
90
96
  display: flex;
91
97
  flex-direction: column;
@@ -248,6 +254,38 @@
248
254
  }
249
255
  }
250
256
 
257
+ // `confirm()` and `alert()`: the intent icon sits before the title as a flex
258
+ // item, so a title that wraps keeps its lines clear of the icon.
259
+ .wr-dialog-confirm {
260
+ .wr-dialog__title {
261
+ display: flex;
262
+ align-items: flex-start;
263
+ gap: var(--wr-dialog-intent-gap);
264
+ }
265
+
266
+ &__icon {
267
+ flex: 0 0 auto;
268
+ width: var(--wr-dialog-intent-size);
269
+ height: var(--wr-dialog-intent-size);
270
+ // Centred on the title's first line.
271
+ margin-block-start: calc((var(--wr-dialog-title-line-height) - var(--wr-dialog-intent-size)) / 2);
272
+
273
+ // Written out, not looped: `gen:css-vars` reads the hooks from the source.
274
+ &--info {
275
+ color: var(--wr-dialog-intent-info);
276
+ }
277
+ &--success {
278
+ color: var(--wr-dialog-intent-success);
279
+ }
280
+ &--warning {
281
+ color: var(--wr-dialog-intent-warning);
282
+ }
283
+ &--danger {
284
+ color: var(--wr-dialog-intent-danger);
285
+ }
286
+ }
287
+ }
288
+
251
289
  @keyframes wr-dialog-enter {
252
290
  from {
253
291
  opacity: 0;