ngwr 16.0.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 (268) hide show
  1. package/badge/styles/_tag.scss +8 -4
  2. package/button/styles/_index.scss +13 -7
  3. package/cascader/styles/_rules.scss +4 -2
  4. package/checkbox/styles/_index.scss +4 -2
  5. package/date-picker/styles/_index.scss +6 -2
  6. package/date-stamp/styles/_index.scss +38 -0
  7. package/dialog/styles/_index.scss +38 -0
  8. package/fesm2022/internal-CVLvP9b_.mjs +33 -0
  9. package/fesm2022/internal-CVLvP9b_.mjs.map +1 -0
  10. package/fesm2022/ngwr-alert.mjs +11 -7
  11. package/fesm2022/ngwr-alert.mjs.map +1 -1
  12. package/fesm2022/ngwr-avatar.mjs +11 -7
  13. package/fesm2022/ngwr-avatar.mjs.map +1 -1
  14. package/fesm2022/ngwr-back-top.mjs +10 -6
  15. package/fesm2022/ngwr-back-top.mjs.map +1 -1
  16. package/fesm2022/ngwr-badge.mjs +18 -6
  17. package/fesm2022/ngwr-badge.mjs.map +1 -1
  18. package/fesm2022/ngwr-burger.mjs +9 -6
  19. package/fesm2022/ngwr-burger.mjs.map +1 -1
  20. package/fesm2022/ngwr-button.mjs +8 -4
  21. package/fesm2022/ngwr-button.mjs.map +1 -1
  22. package/fesm2022/ngwr-calendar.mjs +19 -8
  23. package/fesm2022/ngwr-calendar.mjs.map +1 -1
  24. package/fesm2022/ngwr-card.mjs +9 -5
  25. package/fesm2022/ngwr-card.mjs.map +1 -1
  26. package/fesm2022/ngwr-cascader.mjs +11 -5
  27. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  28. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +5 -2
  29. package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
  30. package/fesm2022/ngwr-checkbox.mjs +10 -6
  31. package/fesm2022/ngwr-checkbox.mjs.map +1 -1
  32. package/fesm2022/ngwr-clipboard.mjs +2 -1
  33. package/fesm2022/ngwr-clipboard.mjs.map +1 -1
  34. package/fesm2022/ngwr-collapse.mjs +9 -5
  35. package/fesm2022/ngwr-collapse.mjs.map +1 -1
  36. package/fesm2022/ngwr-color-picker.mjs +4 -2
  37. package/fesm2022/ngwr-color-picker.mjs.map +1 -1
  38. package/fesm2022/ngwr-comment.mjs +13 -7
  39. package/fesm2022/ngwr-comment.mjs.map +1 -1
  40. package/fesm2022/ngwr-compare.mjs +9 -3
  41. package/fesm2022/ngwr-compare.mjs.map +1 -1
  42. package/fesm2022/ngwr-context-menu.mjs +4 -2
  43. package/fesm2022/ngwr-context-menu.mjs.map +1 -1
  44. package/fesm2022/ngwr-copy-value.mjs +11 -6
  45. package/fesm2022/ngwr-copy-value.mjs.map +1 -1
  46. package/fesm2022/ngwr-date-picker.mjs +86 -30
  47. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  48. package/fesm2022/ngwr-date-stamp-testing.mjs +34 -0
  49. package/fesm2022/ngwr-date-stamp-testing.mjs.map +1 -0
  50. package/fesm2022/ngwr-date-stamp.mjs +149 -0
  51. package/fesm2022/ngwr-date-stamp.mjs.map +1 -0
  52. package/fesm2022/ngwr-date.mjs +279 -50
  53. package/fesm2022/ngwr-date.mjs.map +1 -1
  54. package/fesm2022/ngwr-descriptions.mjs +9 -5
  55. package/fesm2022/ngwr-descriptions.mjs.map +1 -1
  56. package/fesm2022/ngwr-dialog-testing.mjs +23 -2
  57. package/fesm2022/ngwr-dialog-testing.mjs.map +1 -1
  58. package/fesm2022/ngwr-dialog.mjs +45 -16
  59. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  60. package/fesm2022/ngwr-directives.mjs +102 -11
  61. package/fesm2022/ngwr-directives.mjs.map +1 -1
  62. package/fesm2022/ngwr-divider.mjs +4 -2
  63. package/fesm2022/ngwr-divider.mjs.map +1 -1
  64. package/fesm2022/ngwr-drawer.mjs +29 -3
  65. package/fesm2022/ngwr-drawer.mjs.map +1 -1
  66. package/fesm2022/ngwr-dropdown.mjs +4 -2
  67. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  68. package/fesm2022/ngwr-editor.mjs +5 -2
  69. package/fesm2022/ngwr-editor.mjs.map +1 -1
  70. package/fesm2022/ngwr-event-calendar.mjs +4 -2
  71. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  72. package/fesm2022/ngwr-file-upload.mjs +9 -3
  73. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  74. package/fesm2022/ngwr-form.mjs +18 -6
  75. package/fesm2022/ngwr-form.mjs.map +1 -1
  76. package/fesm2022/ngwr-i18n-ar.mjs +2 -0
  77. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  78. package/fesm2022/ngwr-i18n-cs.mjs +2 -0
  79. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  80. package/fesm2022/ngwr-i18n-de.mjs +2 -0
  81. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  82. package/fesm2022/ngwr-i18n-en.mjs +2 -0
  83. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  84. package/fesm2022/ngwr-i18n-es.mjs +2 -0
  85. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  86. package/fesm2022/ngwr-i18n-fr.mjs +2 -0
  87. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  88. package/fesm2022/ngwr-i18n-he.mjs +2 -0
  89. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  90. package/fesm2022/ngwr-i18n-hi.mjs +2 -0
  91. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  92. package/fesm2022/ngwr-i18n-id.mjs +2 -0
  93. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  94. package/fesm2022/ngwr-i18n-it.mjs +2 -0
  95. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  96. package/fesm2022/ngwr-i18n-ja.mjs +2 -0
  97. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  98. package/fesm2022/ngwr-i18n-ko.mjs +2 -0
  99. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  100. package/fesm2022/ngwr-i18n-nl.mjs +2 -0
  101. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  102. package/fesm2022/ngwr-i18n-pl.mjs +2 -0
  103. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  104. package/fesm2022/ngwr-i18n-pt.mjs +2 -0
  105. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  106. package/fesm2022/ngwr-i18n-ru.mjs +2 -0
  107. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  108. package/fesm2022/ngwr-i18n-sv.mjs +2 -0
  109. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  110. package/fesm2022/ngwr-i18n-tr.mjs +2 -0
  111. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  112. package/fesm2022/ngwr-i18n-uk.mjs +2 -0
  113. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  114. package/fesm2022/ngwr-i18n-vi.mjs +2 -0
  115. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  116. package/fesm2022/ngwr-i18n-zh-tw.mjs +2 -0
  117. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  118. package/fesm2022/ngwr-i18n-zh.mjs +2 -0
  119. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  120. package/fesm2022/ngwr-i18n.mjs +34 -8
  121. package/fesm2022/ngwr-i18n.mjs.map +1 -1
  122. package/fesm2022/ngwr-input-number.mjs +9 -3
  123. package/fesm2022/ngwr-input-number.mjs.map +1 -1
  124. package/fesm2022/ngwr-input-otp.mjs +4 -2
  125. package/fesm2022/ngwr-input-otp.mjs.map +1 -1
  126. package/fesm2022/ngwr-input.mjs +20 -10
  127. package/fesm2022/ngwr-input.mjs.map +1 -1
  128. package/fesm2022/ngwr-keyboard.mjs +9 -3
  129. package/fesm2022/ngwr-keyboard.mjs.map +1 -1
  130. package/fesm2022/ngwr-knob.mjs +9 -3
  131. package/fesm2022/ngwr-knob.mjs.map +1 -1
  132. package/fesm2022/ngwr-layout.mjs +13 -5
  133. package/fesm2022/ngwr-layout.mjs.map +1 -1
  134. package/fesm2022/ngwr-lightbox.mjs +9 -5
  135. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  136. package/fesm2022/ngwr-list.mjs +13 -5
  137. package/fesm2022/ngwr-list.mjs.map +1 -1
  138. package/fesm2022/ngwr-load-state.mjs +9 -5
  139. package/fesm2022/ngwr-load-state.mjs.map +1 -1
  140. package/fesm2022/ngwr-overlay.mjs +84 -1
  141. package/fesm2022/ngwr-overlay.mjs.map +1 -1
  142. package/fesm2022/ngwr-pagination.mjs +3 -2
  143. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  144. package/fesm2022/ngwr-pipes.mjs +21 -5
  145. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  146. package/fesm2022/ngwr-popover.mjs +93 -4
  147. package/fesm2022/ngwr-popover.mjs.map +1 -1
  148. package/fesm2022/ngwr-progress.mjs +4 -2
  149. package/fesm2022/ngwr-progress.mjs.map +1 -1
  150. package/fesm2022/ngwr-radio.mjs +9 -5
  151. package/fesm2022/ngwr-radio.mjs.map +1 -1
  152. package/fesm2022/ngwr-rating.mjs +9 -3
  153. package/fesm2022/ngwr-rating.mjs.map +1 -1
  154. package/fesm2022/ngwr-resizable.mjs +503 -0
  155. package/fesm2022/ngwr-resizable.mjs.map +1 -0
  156. package/fesm2022/ngwr-result.mjs +9 -5
  157. package/fesm2022/ngwr-result.mjs.map +1 -1
  158. package/fesm2022/ngwr-segmented.mjs +4 -2
  159. package/fesm2022/ngwr-segmented.mjs.map +1 -1
  160. package/fesm2022/ngwr-select.mjs +13 -5
  161. package/fesm2022/ngwr-select.mjs.map +1 -1
  162. package/fesm2022/ngwr-skeleton.mjs +4 -2
  163. package/fesm2022/ngwr-skeleton.mjs.map +1 -1
  164. package/fesm2022/ngwr-slider.mjs +4 -2
  165. package/fesm2022/ngwr-slider.mjs.map +1 -1
  166. package/fesm2022/ngwr-speed-dial.mjs +4 -2
  167. package/fesm2022/ngwr-speed-dial.mjs.map +1 -1
  168. package/fesm2022/ngwr-spinner.mjs +4 -2
  169. package/fesm2022/ngwr-spinner.mjs.map +1 -1
  170. package/fesm2022/ngwr-splitter.mjs +17 -21
  171. package/fesm2022/ngwr-splitter.mjs.map +1 -1
  172. package/fesm2022/ngwr-stepper.mjs +9 -3
  173. package/fesm2022/ngwr-stepper.mjs.map +1 -1
  174. package/fesm2022/ngwr-switch.mjs +9 -5
  175. package/fesm2022/ngwr-switch.mjs.map +1 -1
  176. package/fesm2022/ngwr-table-testing.mjs +5 -1
  177. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  178. package/fesm2022/ngwr-table.mjs +167 -10
  179. package/fesm2022/ngwr-table.mjs.map +1 -1
  180. package/fesm2022/ngwr-textarea.mjs +9 -3
  181. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  182. package/fesm2022/ngwr-timeline.mjs +18 -8
  183. package/fesm2022/ngwr-timeline.mjs.map +1 -1
  184. package/fesm2022/ngwr-toast-testing.mjs +6 -1
  185. package/fesm2022/ngwr-toast-testing.mjs.map +1 -1
  186. package/fesm2022/ngwr-toast.mjs +529 -104
  187. package/fesm2022/ngwr-toast.mjs.map +1 -1
  188. package/fesm2022/ngwr-transfer.mjs +4 -2
  189. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  190. package/fesm2022/ngwr-tree.mjs +4 -2
  191. package/fesm2022/ngwr-tree.mjs.map +1 -1
  192. package/fesm2022/ngwr-typography.mjs +9 -3
  193. package/fesm2022/ngwr-typography.mjs.map +1 -1
  194. package/fesm2022/ngwr-utils-router.mjs +18 -2
  195. package/fesm2022/ngwr-utils-router.mjs.map +1 -1
  196. package/fesm2022/ngwr-utils.mjs +9 -2
  197. package/fesm2022/ngwr-utils.mjs.map +1 -1
  198. package/fesm2022/ngwr-version.mjs +1 -1
  199. package/fesm2022/ngwr-version.mjs.map +1 -1
  200. package/fesm2022/ngwr-window.mjs +7 -4
  201. package/fesm2022/ngwr-window.mjs.map +1 -1
  202. package/fesm2022/ngwr.mjs.map +1 -1
  203. package/i18n/ar.json +6 -0
  204. package/i18n/cs.json +6 -0
  205. package/i18n/de.json +6 -0
  206. package/i18n/en.json +6 -0
  207. package/i18n/es.json +6 -0
  208. package/i18n/fr.json +6 -0
  209. package/i18n/he.json +6 -0
  210. package/i18n/hi.json +6 -0
  211. package/i18n/id.json +6 -0
  212. package/i18n/it.json +6 -0
  213. package/i18n/ja.json +6 -0
  214. package/i18n/ko.json +6 -0
  215. package/i18n/nl.json +6 -0
  216. package/i18n/pl.json +6 -0
  217. package/i18n/pt.json +6 -0
  218. package/i18n/ru.json +6 -0
  219. package/i18n/sv.json +6 -0
  220. package/i18n/tr.json +6 -0
  221. package/i18n/uk.json +6 -0
  222. package/i18n/vi.json +6 -0
  223. package/i18n/zh-TW.json +6 -0
  224. package/i18n/zh.json +6 -0
  225. package/input/styles/_index.scss +10 -5
  226. package/input-number/styles/_index.scss +6 -3
  227. package/input-otp/styles/_index.scss +4 -2
  228. package/llms-full.txt +29 -10
  229. package/llms.txt +8 -4
  230. package/package.json +15 -1
  231. package/radio/styles/_index.scss +4 -2
  232. package/resizable/styles/_index.scss +154 -0
  233. package/schematics/use/rule.js +1 -0
  234. package/schematics/use/symbol-map.json +4 -0
  235. package/select/styles/_index.scss +6 -3
  236. package/skills/ngwr/SKILL.md +1 -1
  237. package/skills/ngwr/references/catalog.md +4 -1
  238. package/skills/ngwr/references/setup.md +3 -0
  239. package/switch/styles/_index.scss +4 -2
  240. package/table/styles/_index.scss +53 -0
  241. package/textarea/styles/_index.scss +4 -2
  242. package/theme/styles/_motion.scss +6 -0
  243. package/toast/styles/_index.scss +19 -0
  244. package/types/ngwr-burger.d.ts +0 -1
  245. package/types/ngwr-calendar.d.ts +7 -0
  246. package/types/ngwr-charts-calendar-heatmap.d.ts +2 -1
  247. package/types/ngwr-clipboard.d.ts +7 -0
  248. package/types/ngwr-date-picker.d.ts +9 -2
  249. package/types/ngwr-date-stamp-testing.d.ts +47 -0
  250. package/types/ngwr-date-stamp.d.ts +81 -0
  251. package/types/ngwr-date.d.ts +135 -24
  252. package/types/ngwr-dialog-testing.d.ts +10 -0
  253. package/types/ngwr-dialog.d.ts +72 -4
  254. package/types/ngwr-directives.d.ts +36 -1
  255. package/types/ngwr-drawer.d.ts +21 -0
  256. package/types/ngwr-i18n.d.ts +44 -14
  257. package/types/ngwr-overlay.d.ts +36 -0
  258. package/types/ngwr-pipes.d.ts +15 -0
  259. package/types/ngwr-popover.d.ts +39 -1
  260. package/types/ngwr-resizable.d.ts +228 -0
  261. package/types/ngwr-table-testing.d.ts +3 -1
  262. package/types/ngwr-table.d.ts +120 -4
  263. package/types/ngwr-toast-testing.d.ts +12 -1
  264. package/types/ngwr-toast.d.ts +215 -18
  265. package/types/ngwr-utils-router.d.ts +22 -0
  266. package/types/ngwr-utils.d.ts +8 -1
  267. package/types/ngwr-version.d.ts +1 -1
  268. package/types/ngwr.d.ts +1 -0
package/llms-full.txt CHANGED
@@ -477,7 +477,7 @@
477
477
 
478
478
  ## ngwr/clipboard
479
479
  - import: `import { WrClipboard } from 'ngwr/clipboard'`
480
- - exports: WrClipboard, WrClipboardPermission
480
+ - exports: WR_COPIED_DURATION, WrClipboard, WrClipboardPermission
481
481
  - keywords: copy, paste, wr-clipboard, service
482
482
  - Copy text to the clipboard and read it back.
483
483
 
@@ -569,7 +569,7 @@
569
569
 
570
570
  ## ngwr/date
571
571
  - import: `import { WrDateAdapter } from 'ngwr/date'`
572
- - exports: WrDateAdapter, WrNativeDateAdapter, wrIsNamedFormat, wrToLocalDate, wrParseDate, withDates, WR_DATE_LOCALE, WrDateFormat, WrDatesOptions
572
+ - exports: WrDateAdapter, WrNativeDateAdapter, wrIsNamedFormat, wrIsDateOnly, wrToLocalDate, wrParseDate, wrDateLocale, withDates, WR_DATE_LOCALE, WR_DATE_TIME_ZONE, WrDateFormat, WrDatesOptions
573
573
  - The date adapter behind the calendar, the event calendar and every date picker. With no provider it is `WrNativeDateAdapter`, over `Date` and `Intl` in `LOCALE_ID`. `provideWr(withDates({ locale, adapter }))` pins a locale or passes your own `WrDateAdapter` subclass.
574
574
 
575
575
  ## ngwr/date-picker
@@ -583,6 +583,17 @@
583
583
  - import: `import { WrDatePickerDayHarness } from 'ngwr/date-picker/testing'`
584
584
  - exports: WrDatePickerDayHarness, WrDatePickerHarness, WrDateRangePickerHarness, WrAnyDatePickerHarness, WrDatePickerDayHarnessFilters, WrDatePickerHarnessFilters, WrDatePickerTimeFields, WrDateRangePickerEnd, WrDateRangePickerHarnessFilters
585
585
 
586
+ ## ngwr/date-stamp
587
+ - import: `import { WrDateStamp } from 'ngwr/date-stamp'`
588
+ - selector: `wr-date-stamp`
589
+ - exports: WrDateStamp
590
+ - keywords: date stamp, date, time, timestamp, table cell, time zone
591
+ - A date over a time, for a table cell.
592
+
593
+ ## ngwr/date-stamp/testing
594
+ - import: `import { WrDateStampHarness } from 'ngwr/date-stamp/testing'`
595
+ - exports: WrDateStampHarness, WrDateStampHarnessFilters
596
+
586
597
  ## ngwr/density
587
598
  - import: `import { WrDensity } from 'ngwr/density'`
588
599
  - selector: `[wrDensity]`
@@ -599,7 +610,7 @@
599
610
  ## ngwr/dialog
600
611
  - import: `import { WrDialog } from 'ngwr/dialog'`
601
612
  - selector: `[wrDialogClose]`, `[wrDialogContent]`, `[wrDialogFooter]`, `[wrDialogTitle]`
602
- - exports: WrDialog, WrDialogRef, WR_DIALOG_DATA, WR_DIALOG_REF, withDialog, WrDialogConfirmOptions, WrDialogDefaults, WrDialogOptions, WrDialogRole, WrDialogTitle, WrDialogContent, WrDialogFooter, WrDialogClose
613
+ - exports: WrDialog, WrDialogRef, WR_DIALOG_DATA, WR_DIALOG_REF, withDialog, WrDialogAlertOptions, WrDialogConfirmOptions, WrDialogDefaults, WrDialogIntent, WrDialogMessageOptions, WrDialogOptions, WrDialogRole, WrDialogTitle, WrDialogContent, WrDialogFooter, WrDialogClose
603
614
  - keywords: modal, wr-dialog, overlay, portal
604
615
  - Open any component as a modal dialog and await its result.
605
616
 
@@ -713,7 +724,7 @@
713
724
  ## ngwr/i18n
714
725
  - import: `import { WrI18n } from 'ngwr/i18n'`
715
726
  - selector: `[wrT]`
716
- - exports: WrI18n, WrTPipe, WrTDirective, WR_I18N_CONFIG, DEFAULT_WR_I18N_CONFIG, WrI18nCatalog, WrI18nConfig, WrI18nConfigResolved, WrI18nParams, WrI18nMissingHandler, WR_I18N_LOADER, WrI18nLoader, WR_I18N_BASE_CATALOGS, WrI18nBaseCatalogs, WrI18nStaticLoader, WrI18nStaticCatalogs, WrI18nStaticScopedCatalogs, WrI18nHttpLoader, WrI18nHttpLoaderConfig, provideWrI18n, provideWrI18nBaseCatalogs, provideWrI18nStaticLoader, provideWrI18nHttpLoader, ProvideWrI18nOptions, useI18nText, wrReadI18nText, useI18nFormatter
727
+ - exports: WrI18n, WrTPipe, WrTDirective, WR_I18N_CONFIG, DEFAULT_WR_I18N_CONFIG, WrI18nCatalog, WrI18nConfig, WrI18nConfigResolved, WrI18nParams, WrI18nTranslateOptions, WrI18nMissingHandler, WR_I18N_LOADER, WrI18nLoader, WR_I18N_BASE_CATALOGS, WrI18nBaseCatalogs, WrI18nStaticLoader, WrI18nStaticCatalogs, WrI18nStaticScopedCatalogs, WrI18nHttpLoader, WrI18nHttpLoaderConfig, provideWrI18n, provideWrI18nBaseCatalogs, provideWrI18nStaticLoader, provideWrI18nHttpLoader, ProvideWrI18nOptions, useI18nText, wrReadI18nText, useI18nFormatter
717
728
  - keywords: translation, locale, transloco, wr-i18n, service
718
729
  - Translate strings at runtime and switch the locale without a reload.
719
730
 
@@ -941,7 +952,7 @@
941
952
 
942
953
  ## ngwr/overlay
943
954
  - import: `import { WrOverlayContainer } from 'ngwr/overlay'`
944
- - exports: wrAppendOverlayClose, wrFollowDirection, wrFollowSize, wrMirrorOffsets, WrOutsideClick, WrOverlayContainer, WR_OVERLAY, WR_OVERLAY_CONTAINER
955
+ - exports: wrAppendOverlayClose, wrFollowDirection, wrFollowSize, wrMirrorOffsets, WrOutsideClick, WrOverlayContainer, WrOverlayOrder, WR_OVERLAY, WR_OVERLAY_CONTAINER
945
956
  - `WrOverlayContainer`, the container every ngwr panel renders into, kept apart from the one Angular Material, NG-ZORRO and plain CDK overlays share, with no provider. Style ngwr's overlays through its `.wr-overlay-container` class; no `z-index` reaches them, since CDK renders overlays in the top layer.
946
957
 
947
958
  ## ngwr/page-header
@@ -986,7 +997,7 @@
986
997
  ## ngwr/popover
987
998
  - import: `import { WrPopover } from 'ngwr/popover'`
988
999
  - selector: `[wrPopover]`
989
- - exports: useChartTooltip, WrPopover, WrChartTooltip, WrChartTooltipDatum, WrChartTooltipRow, WrChartTooltipTarget, WrPopoverPosition
1000
+ - exports: useChartTooltip, WrPopover, WrTextTooltip, wrUseTextTooltip, WrChartTooltip, WrChartTooltipDatum, WrChartTooltipRow, WrChartTooltipTarget, WrPopoverPosition
990
1001
  - keywords: tooltip, wr-popover, overlay
991
1002
  - Show a template, or a text tooltip, next to its trigger.
992
1003
 
@@ -1035,6 +1046,13 @@
1035
1046
  - import: `import { WrRatingHarness } from 'ngwr/rating/testing'`
1036
1047
  - exports: WrRatingHarness, WrRatingItemHarness, WrRatingHarnessFilters, WrRatingItemHarnessFilters
1037
1048
 
1049
+ ## ngwr/resizable
1050
+ - import: `import { WrResizable } from 'ngwr/resizable'`
1051
+ - selector: `[wrResizable]`
1052
+ - exports: WrResizable, WrResizableEdge, WrResizableLimit
1053
+ - keywords: resize, drag edge, side panel
1054
+ - Lets one element be resized by dragging one of its edges.
1055
+
1038
1056
  ## ngwr/result
1039
1057
  - import: `import { WrResult } from 'ngwr/result'`
1040
1058
  - selector: `wr-result-404`, `wr-result-403`, `wr-result-500`, `wr-result`
@@ -1176,7 +1194,7 @@
1176
1194
  ## ngwr/table
1177
1195
  - import: `import { WrTable } from 'ngwr/table'`
1178
1196
  - selector: `[wrTableCell]`, `ng-template[wrTableExpand]`, `wr-table-filter`, `ng-template[wrTableGroupHeader]`, `wr-table-sort`, `wr-table`
1179
- - exports: WrTable, WrTableCell, WrTableExpand, WrTableGroupHeader, WrTableSort, WrTableFilter, wrReadField, wrSortRows, WrTableCellContext, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableRow, WrTableRowClass, WrTableSortAccessor, WrTableSortState, WrTableSortDirection, WrTableSummary, WrTableSummaryContext
1197
+ - exports: WrTable, WrTableCell, WrTableExpand, WrTableGroupHeader, WrTableSort, WrTableFilter, wrReadField, wrSortRows, WrTableCellContext, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableLoadingMode, WrTableRow, WrTableRowClass, WrTableRowClick, WrTableSortAccessor, WrTableSortState, WrTableSortDirection, WrTableSummary, WrTableSummaryContext, WrTableTruncate
1180
1198
  - keywords: wrsortrows, wrreadfield, sort
1181
1199
  - Rows of data with sorting, filtering, paging and custom cells.
1182
1200
 
@@ -1224,7 +1242,8 @@
1224
1242
 
1225
1243
  ## ngwr/toast
1226
1244
  - import: `import { WrToast } from 'ngwr/toast'`
1227
- - exports: WrToast, WrToastRef, withToast, DEFAULT_WR_TOAST_CONFIG, WR_TOAST_CONFIG, WrToastAction, WrToastConfig, WrToastMode, WrToastOptions, WrToastPosition, WrToastType
1245
+ - selector: `wr-toast-outlet`
1246
+ - exports: WrToast, WrToastOutlet, WrToastRef, withToast, DEFAULT_WR_TOAST_CONFIG, WR_TOAST_CONFIG, WrToastAction, WrToastConfig, WrToastMode, WrToastOptions, WrToastPosition, WrToastType
1228
1247
  - keywords: notification, wr-toast
1229
1248
  - Short notifications that stack in a corner of the screen.
1230
1249
 
@@ -1280,12 +1299,12 @@
1280
1299
 
1281
1300
  ## ngwr/utils
1282
1301
  - import: `import { wrIsDefined } from 'ngwr/utils'`
1283
- - exports: WrMaybe, WrSafeAny, WrClassInput, wrIsDefined, wrIsNonEmptyArray, wrIsObservable, wrClamp, wrRound, wrDecimal, wrDecimalAdd, wrDecimalCompare, wrDecimalDivide, wrDecimalMultiply, wrDecimalRound, wrDecimalSubtract, WrDecimalLike, wrNumAttr, wrToClassList, wrIsSafeCssValue, wrResolveCssSize, WrResolveCssSizeOptions, WrResolvedCssSize, wrGetRootFontSize, wrGetFocusableElements, wrResolveCssColor, wrResolveCssColorChannels, wrTrapFocus, wrWatchColorScheme, wrCheckStyles, wrContentDispositionFileName, wrDownloadBlob, wrRestoreFocus, WrWatchColorSchemeOptions, WrColorScheme, wrRandomId, wrNoop, wrDebounce, wrThrottle, WrDebouncedFn, WrThrottledFn, WR_KEYS, WR_KEY_LABELS, wrHasModifier, wrIsComposing, wrIsPrintableKey, WrKey, wrBadgeError, wrBadgeLog, wrBadgeWarn, wrInitials, WrInitialsOptions, WrInitialsOrder, WrInitialsStyle, wrFeature, WrFeature, wrAction, wrKeyedAction, wrResourceValue, WrAction, WrActionStatus, WrKeyedAction
1302
+ - exports: WrMaybe, WrSafeAny, WrClassInput, wrIsDefined, wrIsNonEmptyArray, wrIsObservable, wrClamp, wrRound, wrDecimal, wrDecimalAdd, wrDecimalCompare, wrDecimalDivide, wrDecimalMultiply, wrDecimalRound, wrDecimalSubtract, WrDecimalLike, wrNumAttr, wrToClassList, wrIsSafeCssValue, wrResolveCssSize, WrResolveCssSizeOptions, WrResolvedCssSize, wrGetRootFontSize, wrGetFocusableElements, wrResolveCssColor, wrResolveCssColorChannels, wrTrapFocus, wrWatchColorScheme, wrCheckStyles, wrContentDispositionFileName, wrDownloadBlob, wrRestoreFocus, WrWatchColorSchemeOptions, WrColorScheme, wrRandomId, wrNoop, wrDebounce, wrThrottle, WrDebouncedFn, WrThrottledFn, WR_KEYS, WR_KEY_LABELS, wrHasModifier, wrIsComposing, wrIsPrintableKey, WrKey, wrBadgeError, wrBadgeLog, wrBadgeWarn, wrInitials, WrInitialsOptions, WrInitialsOrder, WrInitialsStyle, WR_LIVE_LOCALE, wrFeature, WrFeature, wrAction, wrKeyedAction, wrResourceValue, WrAction, WrActionStatus, WrKeyedAction
1284
1303
  - Small helpers: coercion (`wrNumAttr`), DOM and keyboard guards, maths, ids, `wrDebounce` / `wrThrottle`, `wrResolveCssColor`, and the shared types `WrMaybe` and `WrSafeAny`.
1285
1304
 
1286
1305
  ## ngwr/utils/router
1287
1306
  - import: `import { wrQueryParam } from 'ngwr/utils/router'`
1288
- - exports: wrQueryParam, WrQueryParamOptions, WrQueryParamStringOptions
1307
+ - exports: wrQueryParam, withRenderOnNavigation, WrQueryParamOptions, WrQueryParamStringOptions
1289
1308
  - `wrQueryParam(name, options?)`, a writable signal linked to one query parameter: follows the address, writes it on `set`, one navigation per task, the default left out. A string needs no options; any other type needs `default`, `parse` and `serialize`.
1290
1309
 
1291
1310
  ## ngwr/validators
package/llms.txt CHANGED
@@ -154,9 +154,12 @@ The rest are calls of their own, added from their entry points as needed:
154
154
  last, and the other side's keys stop resolving with nothing logged — ngwr's
155
155
  components fall back to English and a `wrT` read renders the raw key.
156
156
  - Calendar, event calendar and date-picker need no date provider:
157
- `WrDateAdapter` resolves to the native adapter (`Date` + `Intl`, locale from
158
- `LOCALE_ID`). `provideWr(withDates({ locale }))` (`ngwr/date`) pins another
159
- locale; for another date library, extend `WrDateAdapter` and pass the class as
157
+ `WrDateAdapter` resolves to the native adapter (`Date` + `Intl`). It writes in
158
+ the interface language of `provideWrI18n()` and follows `WrI18n.use()`, or in
159
+ `LOCALE_ID` without it. `provideWr(withDates({ locale }))` (`ngwr/date`) pins
160
+ another locale, and `withDates({ timeZone })` sets the zone instants are
161
+ shown in: an IANA name, an offset, or a function returning one. A date-only
162
+ value does not shift. For another date library, extend `WrDateAdapter` and pass the class as
160
163
  `withDates({ adapter })`. Its `format` and `parse` handle every `WrDateFormat`
161
164
  key, including the `12h`, `24h` and `Seconds` variants of `time` and
162
165
  `shortDateTime` (`time24h`, `shortDateTime12hSeconds`) that v15 added.
@@ -453,7 +456,8 @@ before writing your own. Full catalog: https://ngwr.dev/reference/components.
453
456
  `provideWrLoadingBarRouter()` (`ngwr/loading-bar/router`), and it does NOT
454
457
  throw — without the provider the bar simply never moves.
455
458
  - **i18n** — `{{ 'key' | wrT }}` (pipe from `ngwr/i18n`). The locale defaults to
456
- Angular's `LOCALE_ID`, not the browser, for both copy and dates; an app that
459
+ Angular's `LOCALE_ID`, not the browser, for both copy and dates, and
460
+ `WrI18n.use()` moves both at runtime; an app that
457
461
  wants the browser's tag writes
458
462
  `provideWr(withDates({ locale: navigator.language }))`. A named date format
459
463
  (`shortDate`, `time`, …) parses through the same `Intl` formatter that printed
package/package.json CHANGED
@@ -555,6 +555,15 @@
555
555
  "types": "./types/ngwr-date-picker-testing.d.ts",
556
556
  "default": "./fesm2022/ngwr-date-picker-testing.mjs"
557
557
  },
558
+ "./date-stamp": {
559
+ "types": "./types/ngwr-date-stamp.d.ts",
560
+ "sass": "./date-stamp/styles/_index.scss",
561
+ "default": "./fesm2022/ngwr-date-stamp.mjs"
562
+ },
563
+ "./date-stamp/testing": {
564
+ "types": "./types/ngwr-date-stamp-testing.d.ts",
565
+ "default": "./fesm2022/ngwr-date-stamp-testing.mjs"
566
+ },
558
567
  "./density": {
559
568
  "types": "./types/ngwr-density.d.ts",
560
569
  "sass": "./density/styles/_index.scss",
@@ -929,6 +938,11 @@
929
938
  "types": "./types/ngwr-rating-testing.d.ts",
930
939
  "default": "./fesm2022/ngwr-rating-testing.mjs"
931
940
  },
941
+ "./resizable": {
942
+ "types": "./types/ngwr-resizable.d.ts",
943
+ "sass": "./resizable/styles/_index.scss",
944
+ "default": "./fesm2022/ngwr-resizable.mjs"
945
+ },
932
946
  "./result": {
933
947
  "types": "./types/ngwr-result.d.ts",
934
948
  "sass": "./result/styles/_index.scss",
@@ -1168,5 +1182,5 @@
1168
1182
  "sass": "./styles/_typography.scss"
1169
1183
  }
1170
1184
  },
1171
- "version": "16.0.0"
1185
+ "version": "16.1.0"
1172
1186
  }
@@ -97,13 +97,15 @@
97
97
  }
98
98
 
99
99
  // Sizes — dot, label font + line-height scale together.
100
- &--sm {
100
+ &--sm,
101
+ &:where([size='sm']) {
101
102
  --wr-radio-size: 1rem; // 16px
102
103
  --wr-radio-font-size: var(--wr-text-xs);
103
104
  --wr-radio-line-height: var(--wr-control-line-height-sm);
104
105
  }
105
106
 
106
- &--lg {
107
+ &--lg,
108
+ &:where([size='lg']) {
107
109
  --wr-radio-size: 1.25rem; // 20px
108
110
  --wr-radio-font-size: var(--wr-text-base);
109
111
  --wr-radio-line-height: var(--wr-control-line-height-lg);
@@ -0,0 +1,154 @@
1
+ @use '../../theme/styles' as theme;
2
+ @include theme.loaded('resizable');
3
+
4
+ .wr-resizable {
5
+ --wr-resizable-handle-size: var(--wr-space-sm);
6
+ --wr-resizable-handle-hover-bg: var(--wr-color-primary-soft);
7
+ --wr-resizable-line-size: 1px;
8
+ --wr-resizable-line-color: var(--wr-border-subtle);
9
+ --wr-resizable-line-active-color: var(--wr-color-primary);
10
+ --wr-resizable-grip-length: 2rem;
11
+ --wr-resizable-grip-thickness: var(--wr-space-xs);
12
+ --wr-resizable-grip-color: var(--wr-border-base);
13
+ --wr-resizable-grip-active-color: var(--wr-color-primary);
14
+ --wr-resizable-grip-radius: var(--wr-border-radius-pill);
15
+
16
+ // The content of a box with no size must not hang out of it. Padding and
17
+ // borders are the host's own and stay, so a host that has them keeps them on
18
+ // an inner element.
19
+ &--collapsed {
20
+ overflow: hidden;
21
+ min-width: 0;
22
+ min-height: 0;
23
+ }
24
+
25
+ // A strip INSIDE the host, flush with the edge, so a host that clips its
26
+ // overflow keeps the whole of it. The line is drawn on the edge itself.
27
+ &__handle {
28
+ position: absolute;
29
+ z-index: 1;
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ outline: 0;
34
+ // Own the drag gesture: without this a coarse pointer can hand the drag to
35
+ // the browser as a pan and fire pointercancel mid-drag.
36
+ touch-action: none;
37
+ transition: background-color var(--wr-transition-base);
38
+
39
+ // Coarse pointers: a 44px tap area centred on the strip.
40
+ @include theme.touch-target($positioned: true);
41
+
42
+ &::before {
43
+ content: '';
44
+ position: absolute;
45
+ background: var(--wr-resizable-line-color);
46
+ transition: background-color var(--wr-transition-base);
47
+ }
48
+
49
+ &:hover,
50
+ &:focus-visible {
51
+ background: var(--wr-resizable-handle-hover-bg);
52
+
53
+ &::before {
54
+ background: var(--wr-resizable-line-active-color);
55
+ }
56
+ }
57
+
58
+ &:focus-visible {
59
+ @include theme.focus-ring;
60
+ // Inside the host, which may clip: an outset ring would be cut off.
61
+ outline-offset: calc(-1 * var(--wr-focus-ring-width));
62
+ }
63
+ }
64
+
65
+ &__grip {
66
+ flex: 0 0 auto;
67
+ background: var(--wr-resizable-grip-color);
68
+ border-radius: var(--wr-resizable-grip-radius);
69
+ transition: background-color var(--wr-transition-base);
70
+ }
71
+
72
+ &__handle:hover &__grip,
73
+ &__handle:focus-visible &__grip {
74
+ background: var(--wr-resizable-grip-active-color);
75
+ }
76
+
77
+ &--start > &__handle,
78
+ &--end > &__handle {
79
+ inset-block: 0;
80
+ width: var(--wr-resizable-handle-size);
81
+ cursor: col-resize;
82
+
83
+ &::before {
84
+ inset-block: 0;
85
+ width: var(--wr-resizable-line-size);
86
+ }
87
+ }
88
+
89
+ &--start > &__handle,
90
+ &--start > &__handle::before {
91
+ inset-inline-start: 0;
92
+ }
93
+
94
+ &--end > &__handle,
95
+ &--end > &__handle::before {
96
+ inset-inline-end: 0;
97
+ }
98
+
99
+ &--top > &__handle,
100
+ &--bottom > &__handle {
101
+ inset-inline: 0;
102
+ height: var(--wr-resizable-handle-size);
103
+ cursor: row-resize;
104
+
105
+ &::before {
106
+ inset-inline: 0;
107
+ height: var(--wr-resizable-line-size);
108
+ }
109
+ }
110
+
111
+ &--top > &__handle,
112
+ &--top > &__handle::before {
113
+ // rtl-ok: the block axis, which `dir` does not mirror.
114
+ top: 0;
115
+ }
116
+
117
+ &--bottom > &__handle,
118
+ &--bottom > &__handle::before {
119
+ // rtl-ok: the block axis, which `dir` does not mirror.
120
+ bottom: 0;
121
+ }
122
+
123
+ &--start > &__handle > &__grip,
124
+ &--end > &__handle > &__grip {
125
+ width: var(--wr-resizable-grip-thickness);
126
+ height: var(--wr-resizable-grip-length);
127
+ }
128
+
129
+ &--top > &__handle > &__grip,
130
+ &--bottom > &__handle > &__grip {
131
+ width: var(--wr-resizable-grip-length);
132
+ height: var(--wr-resizable-grip-thickness);
133
+ }
134
+
135
+ &--collapsed > &__handle {
136
+ visibility: hidden;
137
+ }
138
+
139
+ &--disabled > &__handle {
140
+ cursor: not-allowed;
141
+
142
+ &:hover {
143
+ background: transparent;
144
+
145
+ &::before {
146
+ background: var(--wr-resizable-line-color);
147
+ }
148
+ }
149
+ }
150
+
151
+ &--disabled > &__handle:hover > &__grip {
152
+ background: var(--wr-resizable-grip-color);
153
+ }
154
+ }
@@ -48,6 +48,7 @@ const NON_DECLARABLE = {
48
48
  WrNativeDateAdapter: 'a service',
49
49
  WrOutsideClick: 'a service',
50
50
  WrOverlayContainer: 'a service',
51
+ WrOverlayOrder: 'a service',
51
52
  WrPlatform: 'a service',
52
53
  WrScroll: 'a service',
53
54
  WrStorage: 'a service',
@@ -82,6 +82,7 @@
82
82
  "WrNativeDateAdapter": "ngwr/date",
83
83
  "WrDatePicker": "ngwr/date-picker",
84
84
  "WrDateRangePicker": "ngwr/date-picker",
85
+ "WrDateStamp": "ngwr/date-stamp",
85
86
  "WrDensity": "ngwr/density",
86
87
  "WrDensityDirective": "ngwr/density",
87
88
  "WrDescriptions": "ngwr/descriptions",
@@ -157,6 +158,7 @@
157
158
  "WrMetaBinding": "ngwr/meta",
158
159
  "WrOutsideClick": "ngwr/overlay",
159
160
  "WrOverlayContainer": "ngwr/overlay",
161
+ "WrOverlayOrder": "ngwr/overlay",
160
162
  "WrPageHeader": "ngwr/page-header",
161
163
  "WrPagination": "ngwr/pagination",
162
164
  "WrBytes": "ngwr/pipes",
@@ -179,6 +181,7 @@
179
181
  "WrRadio": "ngwr/radio",
180
182
  "WrRadioGroup": "ngwr/radio",
181
183
  "WrRating": "ngwr/rating",
184
+ "WrResizable": "ngwr/resizable",
182
185
  "WrResult": "ngwr/result",
183
186
  "WrResult404": "ngwr/result",
184
187
  "WrResult403": "ngwr/result",
@@ -221,6 +224,7 @@
221
224
  "WrTimeline": "ngwr/timeline",
222
225
  "WrTimelineItem": "ngwr/timeline",
223
226
  "WrToast": "ngwr/toast",
227
+ "WrToastOutlet": "ngwr/toast",
224
228
  "WrToastRef": "ngwr/toast",
225
229
  "WrToolbar": "ngwr/toolbar",
226
230
  "WrTour": "ngwr/tour",
@@ -73,7 +73,8 @@
73
73
  // Sizes — share the `--wr-control-*` contract (22 / 30 / 36 px). Multi/tag
74
74
  // min-height and the search/tag inputs all read these vars, so every mode
75
75
  // tracks the size. Declared before `--rounded` so the pill modifier wins.
76
- &--sm {
76
+ &--sm,
77
+ &:where([size='sm']) {
77
78
  --wr-select-radius: var(--wr-control-radius-sm);
78
79
  --wr-select-padding-y: var(--wr-control-padding-y-sm);
79
80
  --wr-select-padding-x: var(--wr-control-padding-x-sm);
@@ -81,7 +82,8 @@
81
82
  --wr-select-line-height: var(--wr-control-line-height-sm);
82
83
  }
83
84
 
84
- &--lg {
85
+ &--lg,
86
+ &:where([size='lg']) {
85
87
  --wr-select-radius: var(--wr-control-radius-lg);
86
88
  --wr-select-padding-y: var(--wr-control-padding-y-lg);
87
89
  --wr-select-padding-x: var(--wr-control-padding-x-lg);
@@ -89,7 +91,8 @@
89
91
  --wr-select-line-height: var(--wr-control-line-height-lg);
90
92
  }
91
93
 
92
- &--rounded {
94
+ &--rounded,
95
+ &:where([rounded]:not([rounded='false'])) {
93
96
  --wr-select-radius: var(--wr-border-radius-pill);
94
97
  --wr-select-padding-x: var(--wr-space-lg);
95
98
 
@@ -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: 230 tree-shakable entry points, 126 of them shipping a selector.
8
+ An Angular 22 UI library: 233 tree-shakable entry points, 129 of them shipping a selector.
9
9
  Standalone, signals-first, zoneless, `ViewEncapsulation.None`. No runtime
10
10
  dependencies.
11
11
 
@@ -101,6 +101,8 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
101
101
  | `ngwr/date` | `import { WrDateAdapter } from 'ngwr/date'` | — |
102
102
  | `ngwr/date-picker` | `import { WrDatePicker } from 'ngwr/date-picker'` | `wr-date-picker` `wr-date-range-picker` |
103
103
  | `ngwr/date-picker/testing` | `import { WrDatePickerDayHarness } from 'ngwr/date-picker/testing'` | — |
104
+ | `ngwr/date-stamp` | `import { WrDateStamp } from 'ngwr/date-stamp'` | `wr-date-stamp` |
105
+ | `ngwr/date-stamp/testing` | `import { WrDateStampHarness } from 'ngwr/date-stamp/testing'` | — |
104
106
  | `ngwr/density` | `import { WrDensity } from 'ngwr/density'` | `[wrDensity]` |
105
107
  | `ngwr/descriptions` | `import { WrDescriptions } from 'ngwr/descriptions'` | `wr-description-item` `wr-descriptions` |
106
108
  | `ngwr/dialog` | `import { WrDialog } from 'ngwr/dialog'` | `[wrDialogClose]` `[wrDialogContent]` `[wrDialogFooter]` `[wrDialogTitle]` |
@@ -186,6 +188,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
186
188
  | `ngwr/radio/testing` | `import { WrRadioGroupHarness } from 'ngwr/radio/testing'` | — |
187
189
  | `ngwr/rating` | `import { WrRating } from 'ngwr/rating'` | `wr-rating` |
188
190
  | `ngwr/rating/testing` | `import { WrRatingHarness } from 'ngwr/rating/testing'` | — |
191
+ | `ngwr/resizable` | `import { WrResizable } from 'ngwr/resizable'` | `[wrResizable]` |
189
192
  | `ngwr/result` | `import { WrResult } from 'ngwr/result'` | `wr-result-404` `wr-result-403` `wr-result-500` `wr-result` |
190
193
  | `ngwr/schema-form` | `import { WrSchemaForm } from 'ngwr/schema-form'` | `wr-schema-form` |
191
194
  | `ngwr/scroll` | `import { WrScroll } from 'ngwr/scroll'` | — |
@@ -218,7 +221,7 @@ root barrel for components: the root `ngwr` exports only `provideWr()`.
218
221
  | `ngwr/textarea/testing` | `import { WrTextareaHarness } from 'ngwr/textarea/testing'` | — |
219
222
  | `ngwr/theme` | `import { WrTheme } from 'ngwr/theme'` | — |
220
223
  | `ngwr/timeline` | `import { WrTimeline } from 'ngwr/timeline'` | `wr-timeline-item` `wr-timeline` |
221
- | `ngwr/toast` | `import { WrToast } from 'ngwr/toast'` | — |
224
+ | `ngwr/toast` | `import { WrToast } from 'ngwr/toast'` | `wr-toast-outlet` |
222
225
  | `ngwr/toast/testing` | `import { WrToastHarness } from 'ngwr/toast/testing'` | — |
223
226
  | `ngwr/toolbar` | `import { WrToolbar } from 'ngwr/toolbar'` | `wr-toolbar` |
224
227
  | `ngwr/tour` | `import { WrTour } from 'ngwr/tour'` | `wr-tour-popup` |
@@ -155,6 +155,9 @@ bootstrapApplication(App, {
155
155
  engine, prefix and TTL, `<head>` defaults for every route, the work area
156
156
  floating windows keep inside, and the browser tab named after the open dialog.
157
157
  Like density and theme they configure a root service, so they belong at bootstrap.
158
+ - `withRenderOnNavigation()` from `ngwr/utils/router` — in a zoneless app, ticks
159
+ right after `NavigationEnd` so a routed page is bound before the browser
160
+ paints it and no transition runs from the browser's defaults.
158
161
  - A `validation` namespace in your own i18n catalog — ngwr ships no validation
159
162
  copy. `<wr-form-field>` reads `validation.<key>` for an error whose validator
160
163
  carries no `{ message }`, with the error payload as params.
@@ -72,7 +72,8 @@
72
72
  }
73
73
 
74
74
  // Sizes — track, thumb, label font + line-height scale together.
75
- &--sm {
75
+ &--sm,
76
+ &:where([size='sm']) {
76
77
  --wr-switch-track-width: 1.75rem;
77
78
  --wr-switch-track-height: 1rem;
78
79
  --wr-switch-thumb-size: 0.75rem;
@@ -80,7 +81,8 @@
80
81
  --wr-switch-line-height: var(--wr-control-line-height-sm);
81
82
  }
82
83
 
83
- &--lg {
84
+ &--lg,
85
+ &:where([size='lg']) {
84
86
  --wr-switch-track-width: 2.375rem;
85
87
  --wr-switch-track-height: 1.25rem;
86
88
  --wr-switch-thumb-size: 1rem;
@@ -15,6 +15,7 @@
15
15
  @use '../../checkbox/styles' as checkbox-styles; // WrCheckbox
16
16
  @use '../../dropdown/styles' as dropdown-styles; // WrDropdown
17
17
  @use '../../pagination/styles' as pagination-styles; // WrPagination
18
+ @use '../../popover/styles' as popover-styles; // WrPopover
18
19
  @use '../../spinner/styles' as spinner-styles; // WrSpinner
19
20
  @include theme.loaded('table');
20
21
 
@@ -60,6 +61,10 @@
60
61
  --wr-table-foot-cell-font-weight: var(--wr-font-weight-semibold);
61
62
  --wr-table-empty-padding: var(--wr-space-xl);
62
63
  --wr-table-pager-padding: var(--wr-space-sm) var(--wr-space-md);
64
+ --wr-table-loading-bar-height: 0.125rem;
65
+ --wr-table-loading-bar-color: var(--wr-color-primary);
66
+ --wr-table-loading-bar-track: color-mix(in srgb, var(--wr-color-primary) 20%, transparent);
67
+ --wr-table-loading-bar-duration: 1.4s;
63
68
  // The scroll area of a `stickyHeader` or virtualized table. The component
64
69
  // writes `viewportHeight` to `-scroll-height`, and the measured header and
65
70
  // footer heights to the two below it, inline on `.wr-table__scroll`; these
@@ -152,6 +157,14 @@
152
157
  overflow: hidden;
153
158
  }
154
159
 
160
+ // `truncate: 'tooltip'`. The cut happens where the column cannot grow: under
161
+ // a fixed layout, or at the `max-width` the component writes from `width`.
162
+ &__td--truncate {
163
+ overflow: hidden;
164
+ text-overflow: ellipsis;
165
+ white-space: nowrap;
166
+ }
167
+
155
168
  &__resize-handle {
156
169
  position: absolute;
157
170
  top: 0;
@@ -632,6 +645,36 @@
632
645
  pointer-events: none;
633
646
  }
634
647
 
648
+ // Along the top edge of the header, which is the top of the scroll area under
649
+ // a sticky header too. Above the corner-sticky header cells (z-index 3).
650
+ &__loading-bar {
651
+ position: absolute;
652
+ inset-block-start: 0;
653
+ inset-inline: 0;
654
+ z-index: 4;
655
+ height: var(--wr-table-loading-bar-height);
656
+ overflow: hidden;
657
+ background: var(--wr-table-loading-bar-track);
658
+ pointer-events: none;
659
+
660
+ &::after {
661
+ content: '';
662
+ position: absolute;
663
+ inset-block: 0;
664
+ // rtl-ok: an indeterminate sweep has no reading direction
665
+ left: 0;
666
+ width: 40%;
667
+ background: var(--wr-table-loading-bar-color);
668
+ animation: wr-table-loading-bar var(--wr-table-loading-bar-duration) var(--wr-ease-in-out) infinite;
669
+ }
670
+
671
+ @media (forced-colors: active) {
672
+ &::after {
673
+ background: CanvasText;
674
+ }
675
+ }
676
+ }
677
+
635
678
  // --- Row grouping ---------------------------------------------------------
636
679
  --wr-table-group-bg: var(--wr-color-fill-subtle);
637
680
  --wr-table-group-inner-gap: var(--wr-space-sm);
@@ -1243,3 +1286,13 @@
1243
1286
  .cdk-drag-animating.wr-table__th {
1244
1287
  transition: transform 0.18s var(--wr-ease-out);
1245
1288
  }
1289
+
1290
+ @keyframes wr-table-loading-bar {
1291
+ from {
1292
+ transform: translateX(-100%);
1293
+ }
1294
+
1295
+ to {
1296
+ transform: translateX(250%);
1297
+ }
1298
+ }
@@ -55,7 +55,8 @@
55
55
  }
56
56
 
57
57
  // Sizes — radius, padding, font + line-height scale; height stays content-driven.
58
- &--sm {
58
+ &--sm,
59
+ &:where([size='sm']) {
59
60
  --wr-textarea-radius: var(--wr-control-radius-sm);
60
61
  --wr-textarea-padding-y: var(--wr-space-xs);
61
62
  --wr-textarea-padding-x: var(--wr-control-padding-x-sm);
@@ -63,7 +64,8 @@
63
64
  --wr-textarea-line-height: var(--wr-control-line-height-sm);
64
65
  }
65
66
 
66
- &--lg {
67
+ &--lg,
68
+ &:where([size='lg']) {
67
69
  --wr-textarea-radius: var(--wr-control-radius-lg);
68
70
  --wr-textarea-padding-y: var(--wr-space-md);
69
71
  --wr-textarea-padding-x: var(--wr-control-padding-x-lg);
@@ -82,4 +82,10 @@
82
82
  .wr-card__spinner {
83
83
  animation-duration: 1.4s !important;
84
84
  }
85
+
86
+ // The table's loading bar is a spinner drawn as a line: its sweep is the
87
+ // message, so it is slowed like one rather than stopped.
88
+ .wr-table__loading-bar::after {
89
+ animation-duration: 4s !important;
90
+ }
85
91
  }
@@ -159,6 +159,25 @@ $toast-colors: (
159
159
  }
160
160
  }
161
161
 
162
+ // The stack in the page: `<wr-toast-outlet>` covers its nearest positioned
163
+ // ancestor and the host sits inside that box, not against the viewport. No
164
+ // `z-index`: where the outlet paints against its siblings is the app's own
165
+ // CSS. `isolation` keeps the collapsed stack's own z-indexes from joining
166
+ // that contest.
167
+ .wr-toast-outlet {
168
+ position: absolute;
169
+ inset: 0;
170
+ display: block;
171
+ isolation: isolate;
172
+ pointer-events: none;
173
+
174
+ > .wr-toast-host {
175
+ position: absolute;
176
+ // The box is not the screen, so its edges carry no safe-area inset.
177
+ padding: 1rem;
178
+ }
179
+ }
180
+
162
181
  .wr-toast {
163
182
  --wr-toast-bg: var(--wr-color-surface);
164
183
  --wr-toast-border: var(--wr-border-base);
@@ -29,7 +29,6 @@ export declare class WrBurger {
29
29
  /** Disable the toggle. @default false */
30
30
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, any>;
31
31
  protected readonly classes: import("@angular/core").Signal<{
32
- 'wr-burger': boolean;
33
32
  'wr-burger--opened': boolean;
34
33
  }>;
35
34
  protected toggle(): void;