ngwr 16.6.0 → 16.7.1

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 (321) hide show
  1. package/avatar/styles/_index.scss +39 -0
  2. package/button/styles/_index.scss +45 -2
  3. package/checkbox/styles/_index.scss +4 -0
  4. package/copy-value/styles/_index.scss +4 -0
  5. package/dropdown/styles/_index.scss +17 -0
  6. package/fesm2022/ngwr-affix.mjs +3 -3
  7. package/fesm2022/ngwr-alert.mjs +3 -3
  8. package/fesm2022/ngwr-anchor.mjs +3 -3
  9. package/fesm2022/ngwr-animations-aurora.mjs +3 -3
  10. package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
  11. package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
  12. package/fesm2022/ngwr-animations-confetti.mjs +3 -3
  13. package/fesm2022/ngwr-animations-decode.mjs +3 -3
  14. package/fesm2022/ngwr-animations-destruct.mjs +3 -3
  15. package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
  16. package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
  17. package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
  18. package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
  19. package/fesm2022/ngwr-animations-glitch.mjs +3 -3
  20. package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
  21. package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
  22. package/fesm2022/ngwr-animations-marquee.mjs +4 -3
  23. package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
  24. package/fesm2022/ngwr-animations-orbit.mjs +3 -3
  25. package/fesm2022/ngwr-animations-reveal.mjs +3 -3
  26. package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
  27. package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
  28. package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
  29. package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
  30. package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
  31. package/fesm2022/ngwr-animations-tilt.mjs +3 -3
  32. package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
  33. package/fesm2022/ngwr-avatar.mjs +171 -6
  34. package/fesm2022/ngwr-avatar.mjs.map +1 -1
  35. package/fesm2022/ngwr-back-top.mjs +3 -3
  36. package/fesm2022/ngwr-badge.mjs +6 -6
  37. package/fesm2022/ngwr-breadcrumbs.mjs +9 -8
  38. package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
  39. package/fesm2022/ngwr-burger.mjs +3 -3
  40. package/fesm2022/ngwr-button.mjs +26 -6
  41. package/fesm2022/ngwr-button.mjs.map +1 -1
  42. package/fesm2022/ngwr-calendar.mjs +3 -3
  43. package/fesm2022/ngwr-card.mjs +9 -9
  44. package/fesm2022/ngwr-carousel.mjs +6 -6
  45. package/fesm2022/ngwr-cascader.mjs +5 -5
  46. package/fesm2022/ngwr-cascader.mjs.map +1 -1
  47. package/fesm2022/ngwr-charts-bar-chart.mjs +3 -3
  48. package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
  49. package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
  50. package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
  51. package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
  52. package/fesm2022/ngwr-charts-chart-legend.mjs +9 -9
  53. package/fesm2022/ngwr-charts-core.mjs +6 -6
  54. package/fesm2022/ngwr-charts-donut-chart.mjs +3 -3
  55. package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
  56. package/fesm2022/ngwr-charts-gauge.mjs +3 -3
  57. package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
  58. package/fesm2022/ngwr-charts-line-chart.mjs +3 -3
  59. package/fesm2022/ngwr-charts-meter-group.mjs +3 -3
  60. package/fesm2022/ngwr-charts-radar-chart.mjs +3 -3
  61. package/fesm2022/ngwr-charts-scatter-chart.mjs +3 -3
  62. package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
  63. package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
  64. package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
  65. package/fesm2022/ngwr-checkbox.mjs +6 -6
  66. package/fesm2022/ngwr-clipboard.mjs +3 -3
  67. package/fesm2022/ngwr-collapse.mjs +9 -9
  68. package/fesm2022/ngwr-color-picker.mjs +6 -6
  69. package/fesm2022/ngwr-command-palette.mjs +3 -3
  70. package/fesm2022/ngwr-comment.mjs +7 -6
  71. package/fesm2022/ngwr-comment.mjs.map +1 -1
  72. package/fesm2022/ngwr-compare.mjs +3 -3
  73. package/fesm2022/ngwr-context-menu.mjs +12 -12
  74. package/fesm2022/ngwr-cookie.mjs +3 -3
  75. package/fesm2022/ngwr-copy-value.mjs +3 -3
  76. package/fesm2022/ngwr-counter.mjs +6 -6
  77. package/fesm2022/ngwr-date-picker-testing.mjs +35 -0
  78. package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
  79. package/fesm2022/ngwr-date-picker.mjs +103 -53
  80. package/fesm2022/ngwr-date-picker.mjs.map +1 -1
  81. package/fesm2022/ngwr-date-stamp.mjs +3 -3
  82. package/fesm2022/ngwr-date.mjs +40 -16
  83. package/fesm2022/ngwr-date.mjs.map +1 -1
  84. package/fesm2022/ngwr-density.mjs +6 -6
  85. package/fesm2022/ngwr-descriptions.mjs +6 -6
  86. package/fesm2022/ngwr-dialog.mjs +19 -18
  87. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  88. package/fesm2022/ngwr-directives.mjs +181 -18
  89. package/fesm2022/ngwr-directives.mjs.map +1 -1
  90. package/fesm2022/ngwr-divider.mjs +3 -3
  91. package/fesm2022/ngwr-drawer.mjs +18 -18
  92. package/fesm2022/ngwr-dropdown-testing.mjs +5 -1
  93. package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
  94. package/fesm2022/ngwr-dropdown.mjs +59 -16
  95. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  96. package/fesm2022/ngwr-editor.mjs +6 -5
  97. package/fesm2022/ngwr-editor.mjs.map +1 -1
  98. package/fesm2022/ngwr-empty.mjs +3 -3
  99. package/fesm2022/ngwr-event-calendar.mjs +7 -6
  100. package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
  101. package/fesm2022/ngwr-file-upload-testing.mjs +5 -0
  102. package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
  103. package/fesm2022/ngwr-file-upload.mjs +68 -13
  104. package/fesm2022/ngwr-file-upload.mjs.map +1 -1
  105. package/fesm2022/ngwr-form.mjs +18 -16
  106. package/fesm2022/ngwr-form.mjs.map +1 -1
  107. package/fesm2022/ngwr-graph-testing.mjs +30 -0
  108. package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
  109. package/fesm2022/ngwr-graph.mjs +100 -11
  110. package/fesm2022/ngwr-graph.mjs.map +1 -1
  111. package/fesm2022/ngwr-hotkey.mjs +6 -6
  112. package/fesm2022/ngwr-i18n-ar.mjs +6 -2
  113. package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
  114. package/fesm2022/ngwr-i18n-cs.mjs +6 -2
  115. package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
  116. package/fesm2022/ngwr-i18n-de.mjs +6 -2
  117. package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
  118. package/fesm2022/ngwr-i18n-en.mjs +6 -2
  119. package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
  120. package/fesm2022/ngwr-i18n-es.mjs +6 -2
  121. package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
  122. package/fesm2022/ngwr-i18n-fr.mjs +6 -2
  123. package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
  124. package/fesm2022/ngwr-i18n-he.mjs +6 -2
  125. package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
  126. package/fesm2022/ngwr-i18n-hi.mjs +6 -2
  127. package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
  128. package/fesm2022/ngwr-i18n-id.mjs +6 -2
  129. package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
  130. package/fesm2022/ngwr-i18n-it.mjs +6 -2
  131. package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
  132. package/fesm2022/ngwr-i18n-ja.mjs +6 -2
  133. package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
  134. package/fesm2022/ngwr-i18n-kk.mjs +520 -0
  135. package/fesm2022/ngwr-i18n-kk.mjs.map +1 -0
  136. package/fesm2022/ngwr-i18n-ko.mjs +6 -2
  137. package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
  138. package/fesm2022/ngwr-i18n-nl.mjs +6 -2
  139. package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
  140. package/fesm2022/ngwr-i18n-pl.mjs +6 -2
  141. package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
  142. package/fesm2022/ngwr-i18n-pt.mjs +6 -2
  143. package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
  144. package/fesm2022/ngwr-i18n-ru.mjs +6 -2
  145. package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
  146. package/fesm2022/ngwr-i18n-sv.mjs +6 -2
  147. package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
  148. package/fesm2022/ngwr-i18n-tr.mjs +6 -2
  149. package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
  150. package/fesm2022/ngwr-i18n-uk.mjs +6 -2
  151. package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
  152. package/fesm2022/ngwr-i18n-vi.mjs +6 -2
  153. package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
  154. package/fesm2022/ngwr-i18n-zh-tw.mjs +6 -2
  155. package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
  156. package/fesm2022/ngwr-i18n-zh.mjs +6 -2
  157. package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
  158. package/fesm2022/ngwr-i18n.mjs +9 -9
  159. package/fesm2022/ngwr-icon.mjs +6 -6
  160. package/fesm2022/ngwr-image-cropper.mjs +8 -4
  161. package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
  162. package/fesm2022/ngwr-input-number.mjs +3 -3
  163. package/fesm2022/ngwr-input-otp.mjs +3 -3
  164. package/fesm2022/ngwr-input.mjs +15 -15
  165. package/fesm2022/ngwr-keyboard.mjs +3 -3
  166. package/fesm2022/ngwr-knob.mjs +3 -3
  167. package/fesm2022/ngwr-layout.mjs +15 -15
  168. package/fesm2022/ngwr-lightbox.mjs +8 -8
  169. package/fesm2022/ngwr-lightbox.mjs.map +1 -1
  170. package/fesm2022/ngwr-list.mjs +8 -8
  171. package/fesm2022/ngwr-list.mjs.map +1 -1
  172. package/fesm2022/ngwr-load-state.mjs +16 -15
  173. package/fesm2022/ngwr-load-state.mjs.map +1 -1
  174. package/fesm2022/ngwr-loading-bar.mjs +6 -6
  175. package/fesm2022/ngwr-mention.mjs +6 -6
  176. package/fesm2022/ngwr-meta.mjs +6 -6
  177. package/fesm2022/ngwr-overlay.mjs +9 -9
  178. package/fesm2022/ngwr-page-header.mjs +3 -3
  179. package/fesm2022/ngwr-pagination-testing.mjs +3 -0
  180. package/fesm2022/ngwr-pagination-testing.mjs.map +1 -1
  181. package/fesm2022/ngwr-pagination.mjs +32 -5
  182. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  183. package/fesm2022/ngwr-pipes.mjs +27 -27
  184. package/fesm2022/ngwr-platform.mjs +9 -9
  185. package/fesm2022/ngwr-popconfirm.mjs +7 -6
  186. package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
  187. package/fesm2022/ngwr-popover.mjs +126 -16
  188. package/fesm2022/ngwr-popover.mjs.map +1 -1
  189. package/fesm2022/ngwr-progress.mjs +75 -10
  190. package/fesm2022/ngwr-progress.mjs.map +1 -1
  191. package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
  192. package/fesm2022/ngwr-qr.mjs +3 -3
  193. package/fesm2022/ngwr-radio.mjs +6 -6
  194. package/fesm2022/ngwr-rating.mjs +3 -3
  195. package/fesm2022/ngwr-resizable.mjs +3 -3
  196. package/fesm2022/ngwr-result.mjs +12 -12
  197. package/fesm2022/ngwr-schema-form.mjs +10 -6
  198. package/fesm2022/ngwr-schema-form.mjs.map +1 -1
  199. package/fesm2022/ngwr-scroll.mjs +255 -7
  200. package/fesm2022/ngwr-scroll.mjs.map +1 -1
  201. package/fesm2022/ngwr-segmented.mjs +3 -3
  202. package/fesm2022/ngwr-select.mjs +28 -19
  203. package/fesm2022/ngwr-select.mjs.map +1 -1
  204. package/fesm2022/ngwr-sidebar-testing.mjs +17 -1
  205. package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -1
  206. package/fesm2022/ngwr-sidebar.mjs +66 -11
  207. package/fesm2022/ngwr-sidebar.mjs.map +1 -1
  208. package/fesm2022/ngwr-skeleton.mjs +3 -3
  209. package/fesm2022/ngwr-slider.mjs +3 -3
  210. package/fesm2022/ngwr-sortable-list.mjs +11 -11
  211. package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
  212. package/fesm2022/ngwr-speed-dial.mjs +3 -3
  213. package/fesm2022/ngwr-spinner.mjs +3 -3
  214. package/fesm2022/ngwr-splitter.mjs +3 -3
  215. package/fesm2022/ngwr-statistic.mjs +9 -9
  216. package/fesm2022/ngwr-stepper.mjs +6 -6
  217. package/fesm2022/ngwr-storage.mjs +3 -3
  218. package/fesm2022/ngwr-switch.mjs +3 -3
  219. package/fesm2022/ngwr-table-router.mjs +89 -0
  220. package/fesm2022/ngwr-table-router.mjs.map +1 -0
  221. package/fesm2022/ngwr-table-testing.mjs +5 -0
  222. package/fesm2022/ngwr-table-testing.mjs.map +1 -1
  223. package/fesm2022/ngwr-table.mjs +282 -43
  224. package/fesm2022/ngwr-table.mjs.map +1 -1
  225. package/fesm2022/ngwr-tabs-router.mjs +11 -7
  226. package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
  227. package/fesm2022/ngwr-tabs-testing.mjs +8 -1
  228. package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
  229. package/fesm2022/ngwr-tabs.mjs +60 -10
  230. package/fesm2022/ngwr-tabs.mjs.map +1 -1
  231. package/fesm2022/ngwr-textarea.mjs +3 -3
  232. package/fesm2022/ngwr-theme.mjs +3 -3
  233. package/fesm2022/ngwr-timeline.mjs +6 -6
  234. package/fesm2022/ngwr-toast.mjs +15 -15
  235. package/fesm2022/ngwr-toolbar.mjs +3 -3
  236. package/fesm2022/ngwr-tour.mjs +7 -6
  237. package/fesm2022/ngwr-tour.mjs.map +1 -1
  238. package/fesm2022/ngwr-transfer.mjs +4 -3
  239. package/fesm2022/ngwr-transfer.mjs.map +1 -1
  240. package/fesm2022/ngwr-tree.mjs +3 -3
  241. package/fesm2022/ngwr-typography.mjs +3 -3
  242. package/fesm2022/ngwr-utils-router.mjs +3 -3
  243. package/fesm2022/ngwr-utils.mjs +30 -2
  244. package/fesm2022/ngwr-utils.mjs.map +1 -1
  245. package/fesm2022/ngwr-version.mjs +1 -1
  246. package/fesm2022/ngwr-version.mjs.map +1 -1
  247. package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
  248. package/fesm2022/ngwr-window.mjs +18 -13
  249. package/fesm2022/ngwr-window.mjs.map +1 -1
  250. package/file-upload/styles/_index.scss +16 -0
  251. package/graph/styles/_index.scss +48 -0
  252. package/i18n/ar.json +4 -2
  253. package/i18n/cs.json +4 -2
  254. package/i18n/de.json +4 -2
  255. package/i18n/en.json +4 -2
  256. package/i18n/es.json +4 -2
  257. package/i18n/fr.json +4 -2
  258. package/i18n/he.json +4 -2
  259. package/i18n/hi.json +4 -2
  260. package/i18n/id.json +4 -2
  261. package/i18n/it.json +4 -2
  262. package/i18n/ja.json +4 -2
  263. package/i18n/kk.json +567 -0
  264. package/i18n/ko.json +4 -2
  265. package/i18n/nl.json +4 -2
  266. package/i18n/pl.json +4 -2
  267. package/i18n/pt.json +4 -2
  268. package/i18n/ru.json +4 -2
  269. package/i18n/sv.json +4 -2
  270. package/i18n/tr.json +4 -2
  271. package/i18n/uk.json +4 -2
  272. package/i18n/vi.json +4 -2
  273. package/i18n/zh-TW.json +4 -2
  274. package/i18n/zh.json +4 -2
  275. package/llms-full.txt +29 -18
  276. package/llms.txt +4 -1
  277. package/package.json +15 -7
  278. package/pagination/styles/_index.scss +6 -0
  279. package/popover/styles/_index.scss +4 -2
  280. package/progress/styles/_index.scss +64 -0
  281. package/radio/styles/_index.scss +4 -0
  282. package/schematics/use/symbol-map.json +5 -0
  283. package/sidebar/styles/_index.scss +58 -6
  284. package/skills/ngwr/SKILL.md +7 -6
  285. package/skills/ngwr/references/catalog.md +6 -4
  286. package/switch/styles/_index.scss +4 -0
  287. package/table/styles/_index.scss +128 -32
  288. package/tabs/styles/_index.scss +9 -0
  289. package/theme/styles/_focus.scss +3 -1
  290. package/tour/styles/_index.scss +3 -2
  291. package/types/ngwr-avatar.d.ts +39 -0
  292. package/types/ngwr-button.d.ts +12 -0
  293. package/types/ngwr-date-picker-testing.d.ts +22 -0
  294. package/types/ngwr-date-picker.d.ts +84 -17
  295. package/types/ngwr-date.d.ts +51 -0
  296. package/types/ngwr-directives.d.ts +45 -0
  297. package/types/ngwr-dropdown-testing.d.ts +8 -1
  298. package/types/ngwr-dropdown.d.ts +29 -0
  299. package/types/ngwr-file-upload-testing.d.ts +10 -0
  300. package/types/ngwr-file-upload.d.ts +55 -1
  301. package/types/ngwr-form.d.ts +3 -1
  302. package/types/ngwr-graph-testing.d.ts +28 -1
  303. package/types/ngwr-graph.d.ts +53 -3
  304. package/types/ngwr-i18n-kk.d.ts +3 -0
  305. package/types/ngwr-image-cropper.d.ts +6 -0
  306. package/types/ngwr-pagination-testing.d.ts +8 -0
  307. package/types/ngwr-pagination.d.ts +16 -0
  308. package/types/ngwr-popover.d.ts +39 -0
  309. package/types/ngwr-progress.d.ts +63 -1
  310. package/types/ngwr-scroll.d.ts +95 -0
  311. package/types/ngwr-select.d.ts +31 -12
  312. package/types/ngwr-sidebar-testing.d.ts +21 -7
  313. package/types/ngwr-sidebar.d.ts +66 -4
  314. package/types/ngwr-table-router.d.ts +49 -0
  315. package/types/ngwr-table-testing.d.ts +7 -0
  316. package/types/ngwr-table.d.ts +185 -6
  317. package/types/ngwr-tabs-router.d.ts +4 -5
  318. package/types/ngwr-tabs-testing.d.ts +5 -1
  319. package/types/ngwr-tabs.d.ts +34 -1
  320. package/types/ngwr-utils.d.ts +13 -0
  321. package/types/ngwr-version.d.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ngwr-avatar.mjs","names":[],"sources":["../../../projects/lib/avatar/avatar.ts","../../../projects/lib/avatar/avatar.html"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport {\n Component,\n type ElementRef,\n LOCALE_ID,\n ViewEncapsulation,\n afterNextRender,\n computed,\n effect,\n inject,\n input,\n signal,\n untracked,\n viewChild,\n} from '@angular/core';\n\nimport { useI18nText } from 'ngwr/i18n';\nimport { WrSpinner } from 'ngwr/spinner';\nimport { wrResolveCssSize, type WrResolvedCssSize, wrCheckStyles, wrInitials } from 'ngwr/utils';\n\nimport type { WrAvatarShape, WrAvatarSize } from './types';\n\nconst DEFAULT_SIZE: WrAvatarSize = '6rem';\n\n/**\n * The tints `tint` picks from, each a `-soft` fill under its `-ink` text. Index\n * order is part of the contract: the same name lands on the same tint on every\n * render, server or client, and a reorder would re-colour every avatar.\n */\nconst TINTS = ['primary', 'success', 'warning', 'danger', 'info'] as const;\n\n/** FNV-1a over the UTF-16 units: small, dependency-free and the same everywhere. */\nfunction hash(text: string): number {\n let h = 0x811c9dc5;\n for (let i = 0; i < text.length; i++) {\n // eslint-disable-next-line no-bitwise -- the hash is defined on bits\n h ^= text.charCodeAt(i);\n h = Math.imul(h, 0x01000193);\n }\n // eslint-disable-next-line no-bitwise -- to an unsigned 32-bit integer\n return h >>> 0;\n}\n\n/**\n * Image avatar with configurable corner treatment.\n *\n * Projected content (typically initials) is the FALLBACK: it shows with no\n * `url`, while the image loads and after it fails, and leaves the paint once the\n * image has loaded. It is projected into a `.wr-avatar__content` wrapper, so a\n * `wr-avatar > …` child selector no longer reaches it. While it is there, no\n * spinner is drawn over it; with nothing projected, the spinner marks the\n * loading state instead. See `alt` for what a screen reader hears.\n *\n * `name` is the shorter route to the same avatar: it names the image, draws the\n * person's initials (`wrInitials` from `ngwr/utils`) as the fallback, and with\n * `tint` colours the box from a hash of the name. The fallback order is\n * projected content, then the `name` initials, then the spinner: the initials\n * are drawn only when nothing is projected.\n *\n * Projected initials take the text size around the avatar, capped at\n * `--wr-avatar-initials-scale` (`0.375`) of the box, so they shrink only where\n * they would not fit: a 16px avatar in a 14px chip draws 6px letters, while a\n * `6rem` one keeps the surrounding size up to 36px and is capped only past it.\n * Anything projected that is sized in `em` follows the cap too — a `<wr-icon>`\n * at its default `1.2em` included — so pin a `px` or `rem` size on the projected\n * element, or override the hook, to keep it. A `font-size` rule on the avatar\n * itself still wins, unless it sits in a cascade layer (Tailwind v4's utilities\n * do), which ngwr's unlayered stylesheet beats whatever the selector.\n *\n * The initials are inert: `pointer-events: none` hands a click on them to whatever\n * holds the avatar, and `user-select: none` keeps them out of a text selection.\n *\n * @example\n * ```html\n * <wr-avatar url=\"/me.png\" alt=\"Roman\" size=\"3rem\" shape=\"circle\" />\n * <wr-avatar [url]=\"photo\" alt=\"Roman Khegay\" [size]=\"48\">RK</wr-avatar>\n * <wr-avatar [url]=\"photo\" name=\"Roman Khegay\" [size]=\"48\" tint />\n * ```\n *\n * @see https://ngwr.dev/reference/components/avatar\n */\n@Component({\n selector: 'wr-avatar',\n templateUrl: './avatar.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-avatar',\n '[class]': 'classes()',\n '[style.width]': 'cssSize()',\n '[style.height]': 'cssSize()',\n // What the stylesheet sizes projected initials against. Always px or rem: a\n // value `wrResolveCssSize` has no pixels for falls back to the default box.\n '[style.--wr-avatar-size]': 'cssSize()',\n },\n imports: [WrSpinner],\n})\nexport class WrAvatar {\n /**\n * Image URL. Projected content (e.g. initials) shows while it is unset,\n * loading or broken, and gives way once the image has loaded.\n *\n * @default null\n */\n readonly url = input<string | null>(null);\n\n /**\n * Alt text for the image. Falls back to `avatar.alt`, then `'Avatar'` — pass\n * the person's name where you have it, since that is what a reader wants.\n *\n * With an `alt`, projected initials are hidden from assistive technology while\n * an image is in play, so the name is announced once. Without one, the image\n * carries only the generic name, so the initials stay announced beside it —\n * visually hidden once it has loaded, never dropped.\n *\n * `alt=\"\"` marks the avatar decorative, as it does on an `<img>`: the image is\n * silent and so are the initials while an image is in play — for an avatar beside\n * a name that is already printed. After a failed load with nothing projected, the\n * `alt` is still announced, so a broken image never leaves the avatar nameless.\n *\n * @default null\n */\n readonly alt = input<string | null>(null);\n\n /**\n * The person's name. It is the image's alt text when `alt` is not given\n * (`alt` wins when both are, `alt=\"\"` included), and its initials are the\n * fallback when nothing is projected: shown with no `url`, while the image\n * loads and after it fails, hidden once the image has loaded. Announced as the\n * name rather than as two letters, and once only beside an image. A name with\n * no initial (`'...'`) draws nothing and leaves the spinner to the image.\n *\n * @default null\n */\n readonly name = input<string | null>(null);\n\n /**\n * Colour the initials avatar from a stable hash of `name`: the same name is\n * the same tint on every render, server and client alike, and a new name is a\n * new tint. Five tints, each an intent's `-soft` fill under its `-ink` text,\n * so the initials reach 4.5:1 in both schemes. Nothing without `name`, and\n * nothing while projected content stands in for the initials.\n *\n * @default false\n */\n readonly tint = input(false, { transform: coerceBooleanProperty });\n\n /** `alt=\"\"`, given on purpose — see `alt`. */\n private readonly decorative = computed(() => this.alt() === '');\n\n private readonly locale = inject(LOCALE_ID);\n\n private readonly namedAlt = useI18nText(\n computed(() => {\n const name = this.name()?.trim();\n // A blank name is no name: the catalog fallback, as with no name at all.\n if (this.alt() === null && !name) return null;\n return this.alt() ?? name;\n }),\n 'avatar.alt',\n 'Avatar'\n );\n\n /** The initials `name` yields, `''` when it yields none. */\n protected readonly initials = computed(() => wrInitials(this.name(), this.locale));\n\n /** The tint modifier's intent, or `null` with `tint` off or no initials to colour. */\n private readonly tintName = computed(() => {\n if (!this.tint() || !this.initials()) return null;\n return TINTS[hash(this.name()!.trim()) % TINTS.length];\n });\n\n /** The image's text alternative: empty when decorative, else the catalog's fallback for an unset one. */\n protected readonly resolvedAlt = computed(() => (this.decorative() ? '' : this.namedAlt()));\n\n /**\n * Corner treatment. `rounded` (default) is a soft rounded square,\n * `circle` is the classic profile avatar, `squircle` is the iOS look.\n *\n * @default 'rounded'\n */\n readonly shape = input<WrAvatarShape>('rounded');\n\n /**\n * Box size. See {@link WrAvatarSize} for accepted values. The resolved value is\n * published on the host as `--wr-avatar-size`.\n *\n * @default '6rem'\n */\n readonly size = input<WrAvatarSize>(DEFAULT_SIZE);\n\n protected readonly loaded = signal(false);\n\n /**\n * Whether the image failed. Without this the spinner spun forever on a broken\n * URL — the one state where an avatar is guaranteed to have projected initials\n * worth showing instead.\n */\n protected readonly failed = signal(false);\n\n private readonly img = viewChild<ElementRef<HTMLImageElement>>('img');\n\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('avatar');\n // A new URL is a new attempt: after a failure the fallback would otherwise\n // stay put for an image that loads perfectly well.\n effect(() => {\n this.url();\n untracked(() => {\n this.loaded.set(false);\n this.failed.set(false);\n });\n });\n\n afterNextRender(() => this.adoptSettledImage());\n }\n\n /**\n * A prerendered `<img>` starts loading when the browser parses the HTML, and\n * `(load)` / `(error)` are only attached at hydration — so on a slow bundle the\n * image settles first, both events go nowhere, and the avatar sits on its\n * fallback over a photo it already has (or names a broken image it never\n * learns about). Only the FIRST render can race: every later `<img>` is\n * created on the client with its listeners in place before `src` is set.\n */\n private adoptSettledImage(): void {\n const img = this.img()?.nativeElement;\n if (!img?.complete || this.loaded() || this.failed()) return;\n\n if (img.naturalWidth > 0) {\n this.loaded.set(true);\n return;\n }\n\n // Zero wide is a broken image, or an SVG with no intrinsic size in an engine\n // that reports it as 0 — only the element can tell. Setting `src` to the\n // value it already has makes it fire `load` or `error` again, to listeners\n // that exist now.\n const src = img.getAttribute('src');\n if (src !== null) img.setAttribute('src', src);\n }\n\n protected readonly resolved = computed<WrResolvedCssSize>(() => {\n const result = wrResolveCssSize(this.size(), { defaultValue: DEFAULT_SIZE });\n if (result.pxValue == null || result.pxValue <= 0) {\n return wrResolveCssSize(DEFAULT_SIZE, { defaultValue: DEFAULT_SIZE });\n }\n return result;\n });\n\n /**\n * Whether the projected fallback is `aria-hidden`: an `<img>` is in the DOM\n * (loading or loaded) AND the consumer named it, or marked it decorative with\n * `alt=\"\"`. Then the image's `alt` owns the name, announced once and unchanged\n * at the moment the photo arrives. Without a real `alt` the image is only\n * \"Avatar\", and hiding the initials would drop the one thing that says who\n * this is.\n *\n * The stylesheet keys on the same attribute once `--loaded`: a hidden fallback\n * leaves the paint through `visibility`, a named-by-initials one is clipped and\n * stays in the accessibility tree. While loading it is painted either way.\n */\n protected readonly fallbackHidden = computed(\n () => !!this.url() && !this.failed() && (this.decorative() || !!this.alt()?.trim() || !!this.name()?.trim())\n );\n\n /**\n * The `name` initials follow the projected fallback, and go silent for a\n * decorative avatar too: with `alt=\"\"` there is a name printed beside it, and\n * two letters read on top of it would say it twice.\n */\n protected readonly initialsHidden = computed(() => this.fallbackHidden() || this.decorative());\n\n protected readonly cssSize = computed(() => this.resolved().cssValue);\n protected readonly pxSize = computed(() => this.resolved().pxValue);\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n const shape = this.shape();\n if (shape !== 'rounded') parts.push(`wr-avatar--${shape}`);\n if (this.loaded()) parts.push('wr-avatar--loaded');\n const tint = this.tintName();\n if (tint) parts.push(`wr-avatar--tint-${tint}`);\n return parts.join(' ');\n });\n\n protected onImageLoad(): void {\n this.loaded.set(true);\n }\n\n protected onImageError(): void {\n this.failed.set(true);\n }\n}\n","<span class=\"wr-avatar__content\" [attr.aria-hidden]=\"fallbackHidden() ? 'true' : null\"><ng-content /></span>\n\n@if (initials(); as letters) {\n <!--\n The `name` initials. After the projected content, which the stylesheet lets\n win when there is any; named by the person rather than by the letters.\n -->\n <span\n class=\"wr-avatar__initials\"\n role=\"img\"\n [attr.aria-label]=\"resolvedAlt()\"\n [attr.aria-hidden]=\"initialsHidden() ? 'true' : null\"\n >{{ letters }}</span\n >\n}\n\n@if (url(); as src) {\n @if (!failed()) {\n <img\n #img\n class=\"wr-avatar__img\"\n [src]=\"src\"\n [alt]=\"resolvedAlt()\"\n [attr.width]=\"pxSize()\"\n [attr.height]=\"pxSize()\"\n (load)=\"onImageLoad()\"\n (error)=\"onImageError()\"\n decoding=\"async\"\n />\n\n @if (!loaded()) {\n <wr-spinner class=\"wr-avatar__spin\" />\n }\n } @else if (resolvedAlt()) {\n <!--\n The broken <img> is removed so the fallback can show, and its `alt` went with\n it: with no initials projected, the avatar was left with no name at all. With\n initials, the stylesheet hides this and they name the avatar, as before.\n -->\n <span class=\"wr-avatar__alt\" role=\"img\" [attr.aria-label]=\"resolvedAlt()\"></span>\n }\n}\n"],"mappings":";;;;;;;;;;;;AA6BA,MAAM,eAA6B;AAOnC,MAAM,QAAQ;CAAC;CAAW;CAAW;CAAW;CAAU;AAAM;AAGhE,SAAS,KAAK,MAAY;CACxB,IAAI,IAAI;CACR,KAAK,IAAI,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK;EAEpC,KAAK,KAAK,WAAW,CAAC;EACtB,IAAI,KAAK,KAAK,GAAG,QAAU;CAC7B;CAEA,OAAO,MAAM;AACf;AAuDA,IAAa,WAAb,MAAa,SAAQ;CAOV,MAAM,MAAqB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,MAAA,CAAA,+BAAA,CAAA,CAAA;CAkBhC,MAAM,MAAqB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,MAAA,CAAA,+BAAA,CAAA,CAAA;CAYhC,OAAO,MAAqB,MAAK,GAAA,YAA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CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,MAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,MAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,KAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,OAAK,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
1
+ {"version":3,"file":"ngwr-avatar.mjs","names":[],"sources":["../../../projects/lib/avatar/avatar.ts","../../../projects/lib/avatar/avatar.html","../../../projects/lib/avatar/avatar-group.ts","../../../projects/lib/avatar/avatar-group.html"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport {\n Component,\n type ElementRef,\n LOCALE_ID,\n ViewEncapsulation,\n afterNextRender,\n computed,\n effect,\n inject,\n input,\n signal,\n untracked,\n viewChild,\n} from '@angular/core';\n\nimport { useI18nText } from 'ngwr/i18n';\nimport { WrSpinner } from 'ngwr/spinner';\nimport { wrResolveCssSize, type WrResolvedCssSize, wrCheckStyles, wrInitials } from 'ngwr/utils';\n\nimport type { WrAvatarShape, WrAvatarSize } from './types';\n\nconst DEFAULT_SIZE: WrAvatarSize = '6rem';\n\n/**\n * The tints `tint` picks from, each a `-soft` fill under its `-ink` text. Index\n * order is part of the contract: the same name lands on the same tint on every\n * render, server or client, and a reorder would re-colour every avatar.\n */\nconst TINTS = ['primary', 'success', 'warning', 'danger', 'info'] as const;\n\n/** FNV-1a over the UTF-16 units: small, dependency-free and the same everywhere. */\nfunction hash(text: string): number {\n let h = 0x811c9dc5;\n for (let i = 0; i < text.length; i++) {\n // eslint-disable-next-line no-bitwise -- the hash is defined on bits\n h ^= text.charCodeAt(i);\n h = Math.imul(h, 0x01000193);\n }\n // eslint-disable-next-line no-bitwise -- to an unsigned 32-bit integer\n return h >>> 0;\n}\n\n/**\n * Image avatar with configurable corner treatment.\n *\n * Projected content (typically initials) is the FALLBACK: it shows with no\n * `url`, while the image loads and after it fails, and leaves the paint once the\n * image has loaded. It is projected into a `.wr-avatar__content` wrapper, so a\n * `wr-avatar > …` child selector no longer reaches it. While it is there, no\n * spinner is drawn over it; with nothing projected, the spinner marks the\n * loading state instead. See `alt` for what a screen reader hears.\n *\n * `name` is the shorter route to the same avatar: it names the image, draws the\n * person's initials (`wrInitials` from `ngwr/utils`) as the fallback, and with\n * `tint` colours the box from a hash of the name. The fallback order is\n * projected content, then the `name` initials, then the spinner: the initials\n * are drawn only when nothing is projected.\n *\n * Projected initials take the text size around the avatar, capped at\n * `--wr-avatar-initials-scale` (`0.375`) of the box, so they shrink only where\n * they would not fit: a 16px avatar in a 14px chip draws 6px letters, while a\n * `6rem` one keeps the surrounding size up to 36px and is capped only past it.\n * Anything projected that is sized in `em` follows the cap too — a `<wr-icon>`\n * at its default `1.2em` included — so pin a `px` or `rem` size on the projected\n * element, or override the hook, to keep it. A `font-size` rule on the avatar\n * itself still wins, unless it sits in a cascade layer (Tailwind v4's utilities\n * do), which ngwr's unlayered stylesheet beats whatever the selector.\n *\n * The initials are inert: `pointer-events: none` hands a click on them to whatever\n * holds the avatar, and `user-select: none` keeps them out of a text selection.\n *\n * @example\n * ```html\n * <wr-avatar url=\"/me.png\" alt=\"Roman\" size=\"3rem\" shape=\"circle\" />\n * <wr-avatar [url]=\"photo\" alt=\"Roman Khegay\" [size]=\"48\">RK</wr-avatar>\n * <wr-avatar [url]=\"photo\" name=\"Roman Khegay\" [size]=\"48\" tint />\n * ```\n *\n * @see https://ngwr.dev/reference/components/avatar\n */\n@Component({\n selector: 'wr-avatar',\n templateUrl: './avatar.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-avatar',\n '[class]': 'classes()',\n '[style.width]': 'cssSize()',\n '[style.height]': 'cssSize()',\n // What the stylesheet sizes projected initials against. Always px or rem: a\n // value `wrResolveCssSize` has no pixels for falls back to the default box.\n '[style.--wr-avatar-size]': 'cssSize()',\n },\n imports: [WrSpinner],\n})\nexport class WrAvatar {\n /**\n * Image URL. Projected content (e.g. initials) shows while it is unset,\n * loading or broken, and gives way once the image has loaded.\n *\n * @default null\n */\n readonly url = input<string | null>(null);\n\n /**\n * Alt text for the image. Falls back to `avatar.alt`, then `'Avatar'` — pass\n * the person's name where you have it, since that is what a reader wants.\n *\n * With an `alt`, projected initials are hidden from assistive technology while\n * an image is in play, so the name is announced once. Without one, the image\n * carries only the generic name, so the initials stay announced beside it —\n * visually hidden once it has loaded, never dropped.\n *\n * `alt=\"\"` marks the avatar decorative, as it does on an `<img>`: the image is\n * silent and so are the initials while an image is in play — for an avatar beside\n * a name that is already printed. After a failed load with nothing projected, the\n * `alt` is still announced, so a broken image never leaves the avatar nameless.\n *\n * @default null\n */\n readonly alt = input<string | null>(null);\n\n /**\n * The person's name. It is the image's alt text when `alt` is not given\n * (`alt` wins when both are, `alt=\"\"` included), and its initials are the\n * fallback when nothing is projected: shown with no `url`, while the image\n * loads and after it fails, hidden once the image has loaded. Announced as the\n * name rather than as two letters, and once only beside an image. A name with\n * no initial (`'...'`) draws nothing and leaves the spinner to the image.\n *\n * @default null\n */\n readonly name = input<string | null>(null);\n\n /**\n * Colour the initials avatar from a stable hash of `name`: the same name is\n * the same tint on every render, server and client alike, and a new name is a\n * new tint. Five tints, each an intent's `-soft` fill under its `-ink` text,\n * so the initials reach 4.5:1 in both schemes. Nothing without `name`, and\n * nothing while projected content stands in for the initials.\n *\n * @default false\n */\n readonly tint = input(false, { transform: coerceBooleanProperty });\n\n /** `alt=\"\"`, given on purpose — see `alt`. */\n private readonly decorative = computed(() => this.alt() === '');\n\n private readonly locale = inject(LOCALE_ID);\n\n private readonly namedAlt = useI18nText(\n computed(() => {\n const name = this.name()?.trim();\n // A blank name is no name: the catalog fallback, as with no name at all.\n if (this.alt() === null && !name) return null;\n return this.alt() ?? name;\n }),\n 'avatar.alt',\n 'Avatar'\n );\n\n /** The initials `name` yields, `''` when it yields none. */\n protected readonly initials = computed(() => wrInitials(this.name(), this.locale));\n\n /** The tint modifier's intent, or `null` with `tint` off or no initials to colour. */\n private readonly tintName = computed(() => {\n if (!this.tint() || !this.initials()) return null;\n return TINTS[hash(this.name()!.trim()) % TINTS.length];\n });\n\n /** The image's text alternative: empty when decorative, else the catalog's fallback for an unset one. */\n protected readonly resolvedAlt = computed(() => (this.decorative() ? '' : this.namedAlt()));\n\n /**\n * Corner treatment. `rounded` (default) is a soft rounded square,\n * `circle` is the classic profile avatar, `squircle` is the iOS look.\n *\n * @default 'rounded'\n */\n readonly shape = input<WrAvatarShape>('rounded');\n\n /**\n * Box size. See {@link WrAvatarSize} for accepted values. The resolved value is\n * published on the host as `--wr-avatar-size`.\n *\n * @default '6rem'\n */\n readonly size = input<WrAvatarSize>(DEFAULT_SIZE);\n\n protected readonly loaded = signal(false);\n\n /**\n * Whether the image failed. Without this the spinner spun forever on a broken\n * URL — the one state where an avatar is guaranteed to have projected initials\n * worth showing instead.\n */\n protected readonly failed = signal(false);\n\n private readonly img = viewChild<ElementRef<HTMLImageElement>>('img');\n\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('avatar');\n // A new URL is a new attempt: after a failure the fallback would otherwise\n // stay put for an image that loads perfectly well.\n effect(() => {\n this.url();\n untracked(() => {\n this.loaded.set(false);\n this.failed.set(false);\n });\n });\n\n afterNextRender(() => this.adoptSettledImage());\n }\n\n /**\n * A prerendered `<img>` starts loading when the browser parses the HTML, and\n * `(load)` / `(error)` are only attached at hydration — so on a slow bundle the\n * image settles first, both events go nowhere, and the avatar sits on its\n * fallback over a photo it already has (or names a broken image it never\n * learns about). Only the FIRST render can race: every later `<img>` is\n * created on the client with its listeners in place before `src` is set.\n */\n private adoptSettledImage(): void {\n const img = this.img()?.nativeElement;\n if (!img?.complete || this.loaded() || this.failed()) return;\n\n if (img.naturalWidth > 0) {\n this.loaded.set(true);\n return;\n }\n\n // Zero wide is a broken image, or an SVG with no intrinsic size in an engine\n // that reports it as 0 — only the element can tell. Setting `src` to the\n // value it already has makes it fire `load` or `error` again, to listeners\n // that exist now.\n const src = img.getAttribute('src');\n if (src !== null) img.setAttribute('src', src);\n }\n\n protected readonly resolved = computed<WrResolvedCssSize>(() => {\n const result = wrResolveCssSize(this.size(), { defaultValue: DEFAULT_SIZE });\n if (result.pxValue == null || result.pxValue <= 0) {\n return wrResolveCssSize(DEFAULT_SIZE, { defaultValue: DEFAULT_SIZE });\n }\n return result;\n });\n\n /**\n * Whether the projected fallback is `aria-hidden`: an `<img>` is in the DOM\n * (loading or loaded) AND the consumer named it, or marked it decorative with\n * `alt=\"\"`. Then the image's `alt` owns the name, announced once and unchanged\n * at the moment the photo arrives. Without a real `alt` the image is only\n * \"Avatar\", and hiding the initials would drop the one thing that says who\n * this is.\n *\n * The stylesheet keys on the same attribute once `--loaded`: a hidden fallback\n * leaves the paint through `visibility`, a named-by-initials one is clipped and\n * stays in the accessibility tree. While loading it is painted either way.\n */\n protected readonly fallbackHidden = computed(\n () => !!this.url() && !this.failed() && (this.decorative() || !!this.alt()?.trim() || !!this.name()?.trim())\n );\n\n /**\n * The `name` initials follow the projected fallback, and go silent for a\n * decorative avatar too: with `alt=\"\"` there is a name printed beside it, and\n * two letters read on top of it would say it twice.\n */\n protected readonly initialsHidden = computed(() => this.fallbackHidden() || this.decorative());\n\n protected readonly cssSize = computed(() => this.resolved().cssValue);\n protected readonly pxSize = computed(() => this.resolved().pxValue);\n\n protected readonly classes = computed(() => {\n const parts: string[] = [];\n const shape = this.shape();\n if (shape !== 'rounded') parts.push(`wr-avatar--${shape}`);\n if (this.loaded()) parts.push('wr-avatar--loaded');\n const tint = this.tintName();\n if (tint) parts.push(`wr-avatar--tint-${tint}`);\n return parts.join(' ');\n });\n\n protected onImageLoad(): void {\n this.loaded.set(true);\n }\n\n protected onImageError(): void {\n this.failed.set(true);\n }\n}\n","<span class=\"wr-avatar__content\" [attr.aria-hidden]=\"fallbackHidden() ? 'true' : null\"><ng-content /></span>\n\n@if (initials(); as letters) {\n <!--\n The `name` initials. After the projected content, which the stylesheet lets\n win when there is any; named by the person rather than by the letters.\n -->\n <span\n class=\"wr-avatar__initials\"\n role=\"img\"\n [attr.aria-label]=\"resolvedAlt()\"\n [attr.aria-hidden]=\"initialsHidden() ? 'true' : null\"\n >{{ letters }}</span\n >\n}\n\n@if (url(); as src) {\n @if (!failed()) {\n <img\n #img\n class=\"wr-avatar__img\"\n [src]=\"src\"\n [alt]=\"resolvedAlt()\"\n [attr.width]=\"pxSize()\"\n [attr.height]=\"pxSize()\"\n (load)=\"onImageLoad()\"\n (error)=\"onImageError()\"\n decoding=\"async\"\n />\n\n @if (!loaded()) {\n <wr-spinner class=\"wr-avatar__spin\" />\n }\n } @else if (resolvedAlt()) {\n <!--\n The broken <img> is removed so the fallback can show, and its `alt` went with\n it: with no initials projected, the avatar was left with no name at all. With\n initials, the stylesheet hides this and they name the avatar, as before.\n -->\n <span class=\"wr-avatar__alt\" role=\"img\" [attr.aria-label]=\"resolvedAlt()\"></span>\n }\n}\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport {\n Component,\n ElementRef,\n Renderer2,\n ViewEncapsulation,\n computed,\n contentChildren,\n effect,\n inject,\n input,\n} from '@angular/core';\n\nimport { useI18nFormatter } from 'ngwr/i18n';\nimport { wrCheckStyles } from 'ngwr/utils';\n\nimport { WrAvatar } from './avatar';\nimport type { WrAvatarShape, WrAvatarSize } from './types';\n\n/** A count limit: a whole number from 0, anything else (`null`, `''`, `NaN`, a negative) is no limit. */\nfunction toMax(value: unknown): number | null {\n if (value === null || value === undefined || value === '') return null;\n const n = Math.floor(Number(value));\n return Number.isFinite(n) && n >= 0 ? n : null;\n}\n\n/**\n * Avatars stacked with a small overlap, and a \"+N\" avatar once more are\n * projected than `max` allows.\n *\n * The avatars beyond `max` get the `hidden` attribute (`display: none`), so they\n * leave the paint and the accessibility tree together. The \"+N\" avatar takes the\n * size and shape of the first one and is named \"N more\" through the `avatar.more`\n * i18n key, with the visible text hidden from assistive technology. Each avatar\n * keeps its own `size`: give them all the same one.\n *\n * The group is a `role=\"group\"` named by `label`; with no `label` it carries no\n * role, since an unnamed group announces nothing useful. Avatars must be direct\n * children (a `@for` is fine, a wrapper element is not).\n *\n * @example\n * ```html\n * <wr-avatar-group [max]=\"3\" label=\"Assignees\">\n * @for (p of people; track p.id) {\n * <wr-avatar shape=\"circle\" [size]=\"32\" [name]=\"p.name\" tint />\n * }\n * </wr-avatar-group>\n * ```\n *\n * @see https://ngwr.dev/reference/components/avatar\n */\n/** Marks a `hidden` the group set, as opposed to one the consumer wrote. */\nconst GROUP_HIDDEN = 'data-wr-group-hidden';\n\n@Component({\n selector: 'wr-avatar-group',\n templateUrl: './avatar-group.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-avatar-group',\n '[attr.role]': 'label() ? \"group\" : null',\n '[attr.aria-label]': 'label() || null',\n },\n imports: [WrAvatar],\n})\nexport class WrAvatarGroup {\n /**\n * The most avatars drawn. Past it the rest are hidden and a \"+N\" avatar counts\n * them. Unset, negative or not a number: no limit.\n *\n * @default null\n */\n readonly max = input<number | null, unknown>(null, { transform: toMax });\n\n /**\n * The group's accessible name, for example \"Assignees\". Without one the group\n * has no role.\n *\n * @default null\n */\n readonly label = input<string | null>(null);\n\n private readonly avatars = contentChildren(WrAvatar);\n private readonly elements = contentChildren(WrAvatar, { read: ElementRef });\n private readonly renderer = inject(Renderer2);\n private readonly moreText = useI18nFormatter('avatar.more', '{{count}} more');\n\n /** How many avatars `max` hides. */\n protected readonly hiddenCount = computed(() => {\n const max = this.max();\n return max === null ? 0 : Math.max(0, this.avatars().length - max);\n });\n\n protected readonly moreName = computed(() => this.moreText({ count: this.hiddenCount() }));\n protected readonly moreSize = computed<WrAvatarSize>(() => this.avatars()[0]?.size() ?? '6rem');\n protected readonly moreShape = computed<WrAvatarShape>(() => this.avatars()[0]?.shape() ?? 'rounded');\n\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('avatar');\n\n // Only the `hidden` the group set comes off again: one a consumer put on an\n // avatar is theirs. The mark lives on the element, so an avatar the server\n // hid is still the group's after hydration.\n effect(() => {\n const max = this.max();\n this.elements().forEach((el, i) => {\n const node = (el as ElementRef<HTMLElement>).nativeElement;\n const ours = node.hasAttribute(GROUP_HIDDEN);\n if (max !== null && i >= max) {\n if (node.hasAttribute('hidden')) return;\n this.renderer.setAttribute(node, 'hidden', '');\n this.renderer.setAttribute(node, GROUP_HIDDEN, '');\n } else if (ours) {\n this.renderer.removeAttribute(node, 'hidden');\n this.renderer.removeAttribute(node, GROUP_HIDDEN);\n }\n });\n });\n }\n}\n","<ng-content />\n\n@if (hiddenCount() > 0) {\n <!-- `role=\"img\"` makes the \"+N\" text presentational: the name says it once. -->\n <wr-avatar\n class=\"wr-avatar-group__more\"\n role=\"img\"\n [attr.aria-label]=\"moreName()\"\n [size]=\"moreSize()\"\n [shape]=\"moreShape()\"\n >+{{ hiddenCount() }}</wr-avatar\n >\n}\n"],"mappings":";;;;;;;;;;;;AA6BA,MAAM,eAA6B;AAOnC,MAAM,QAAQ;CAAC;CAAW;CAAW;CAAW;CAAU;AAAM;AAGhE,SAAS,KAAK,MAAY;CACxB,IAAI,IAAI;CACR,KAAK,IAAI,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK;EAEpC,KAAK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Q;GAAC,UAAA;EAAA,CAAA;CAmBwB,CAAA;CAAA,sBAAA,CAAA;CAAA,gBAAA;EAAA,KAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,QAAQ,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBACP,QAAQ,GAAA;IAAI,MAAM;IAAY,UAAA;GAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
@@ -48,7 +48,7 @@ var WrBackTop = class WrBackTop {
48
48
  }
49
49
  static ɵfac = i0.ɵɵngDeclareFactory({
50
50
  minVersion: "12.0.0",
51
- version: "22.2.6",
51
+ version: "22.3.0",
52
52
  ngImport: i0,
53
53
  type: WrBackTop,
54
54
  deps: [],
@@ -56,7 +56,7 @@ var WrBackTop = class WrBackTop {
56
56
  });
57
57
  static ɵcmp = i0.ɵɵngDeclareComponent({
58
58
  minVersion: "17.1.0",
59
- version: "22.2.6",
59
+ version: "22.3.0",
60
60
  type: WrBackTop,
61
61
  isStandalone: true,
62
62
  selector: "wr-back-top",
@@ -98,7 +98,7 @@ var WrBackTop = class WrBackTop {
98
98
  };
99
99
  i0.ɵɵngDeclareClassMetadata({
100
100
  minVersion: "12.0.0",
101
- version: "22.2.6",
101
+ version: "22.3.0",
102
102
  ngImport: i0,
103
103
  type: WrBackTop,
104
104
  decorators: [{
@@ -35,7 +35,7 @@ var WrBadge = class WrBadge {
35
35
  }, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
36
36
  static ɵfac = i0.ɵɵngDeclareFactory({
37
37
  minVersion: "12.0.0",
38
- version: "22.2.6",
38
+ version: "22.3.0",
39
39
  ngImport: i0,
40
40
  type: WrBadge,
41
41
  deps: [],
@@ -43,7 +43,7 @@ var WrBadge = class WrBadge {
43
43
  });
44
44
  static ɵcmp = i0.ɵɵngDeclareComponent({
45
45
  minVersion: "17.1.0",
46
- version: "22.2.6",
46
+ version: "22.3.0",
47
47
  type: WrBadge,
48
48
  isStandalone: true,
49
49
  selector: "wr-badge",
@@ -89,7 +89,7 @@ var WrBadge = class WrBadge {
89
89
  };
90
90
  i0.ɵɵngDeclareClassMetadata({
91
91
  minVersion: "12.0.0",
92
- version: "22.2.6",
92
+ version: "22.3.0",
93
93
  ngImport: i0,
94
94
  type: WrBadge,
95
95
  decorators: [{
@@ -248,7 +248,7 @@ var WrTag = class WrTag {
248
248
  }
249
249
  static ɵfac = i0.ɵɵngDeclareFactory({
250
250
  minVersion: "12.0.0",
251
- version: "22.2.6",
251
+ version: "22.3.0",
252
252
  ngImport: i0,
253
253
  type: WrTag,
254
254
  deps: [],
@@ -256,7 +256,7 @@ var WrTag = class WrTag {
256
256
  });
257
257
  static ɵcmp = i0.ɵɵngDeclareComponent({
258
258
  minVersion: "17.0.0",
259
- version: "22.2.6",
259
+ version: "22.3.0",
260
260
  type: WrTag,
261
261
  isStandalone: true,
262
262
  selector: "wr-tag",
@@ -366,7 +366,7 @@ var WrTag = class WrTag {
366
366
  };
367
367
  i0.ɵɵngDeclareClassMetadata({
368
368
  minVersion: "12.0.0",
369
- version: "22.2.6",
369
+ version: "22.3.0",
370
370
  ngImport: i0,
371
371
  type: WrTag,
372
372
  decorators: [{
@@ -26,7 +26,7 @@ var WrBreadcrumbs = class WrBreadcrumbs {
26
26
  separatorValue = computed(() => `"${cssString(this.separator())}"`, ...ngDevMode ? [{ debugName: "separatorValue" }] : /* istanbul ignore next */ []);
27
27
  static ɵfac = i0.ɵɵngDeclareFactory({
28
28
  minVersion: "12.0.0",
29
- version: "22.2.6",
29
+ version: "22.3.0",
30
30
  ngImport: i0,
31
31
  type: WrBreadcrumbs,
32
32
  deps: [],
@@ -34,7 +34,7 @@ var WrBreadcrumbs = class WrBreadcrumbs {
34
34
  });
35
35
  static ɵcmp = i0.ɵɵngDeclareComponent({
36
36
  minVersion: "17.1.0",
37
- version: "22.2.6",
37
+ version: "22.3.0",
38
38
  type: WrBreadcrumbs,
39
39
  isStandalone: true,
40
40
  selector: "wr-breadcrumbs",
@@ -70,13 +70,13 @@ var WrBreadcrumbs = class WrBreadcrumbs {
70
70
  },
71
71
  ngImport: i0,
72
72
  template: "<nav class=\"wr-breadcrumbs__nav\" [attr.aria-label]=\"resolvedAriaLabel()\">\n <ol class=\"wr-breadcrumbs__list\">\n <ng-content />\n </ol>\n</nav>\n",
73
- styles: [".wr-btn:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__sort-btn:focus-visible,.wr-table-filter__trigger:focus-visible,.wr-table__expand-btn:focus-visible,.wr-table__group-toggle:focus-visible,.wr-table__tree-toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table:has(>.wr-table__scroll:focus-visible){outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__scroll:focus-visible{outline:none}.wr-tabs__tab:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-tabs__panel:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-sidebar__row:focus-visible,.wr-sidebar__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-anchor__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-collapse__header:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-collapse--flat .wr-collapse__header:focus-visible{outline-offset:var(--wr-focus-ring-offset)}.wr-command-palette__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-mention-panel__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-segmented__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-back-top:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-carousel__nav:focus-visible,.wr-carousel__toggle:focus-visible,.wr-carousel__dot:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-speed-dial__trigger:focus-visible,.wr-speed-dial__action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-stepper__header-button:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-window__chrome-action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-date-picker__trigger:focus-visible,.wr-time-picker__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-dropdown-item:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-alert__close:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tag__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-graph__viewport:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-chart-legend__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-pull-to-refresh:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tree__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-color-picker__sv:focus-visible,.wr-color-picker__slider:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-input-group__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-input-number__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-file-upload__zone:focus-visible,.wr-file-upload__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-event-calendar__more:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);position:relative;z-index:1}.wr-graph__viewport:focus-visible,.wr-graph__control:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-breadcrumbs{--wr-breadcrumbs-separator: \"/\";--wr-breadcrumbs-gap: var(--wr-space-sm);--wr-breadcrumbs-color: color-mix(in srgb, var(--wr-color-on-surface) 60%, transparent);--wr-breadcrumbs-current-color: var(--wr-color-on-surface);--wr-breadcrumbs-link-color: var(--wr-color-primary-ink);--wr-breadcrumbs-separator-color: color-mix(in srgb, var(--wr-color-on-surface) 30%, transparent);--wr-breadcrumbs-font-family: var(--wr-font-family-base);--wr-breadcrumbs-font-size: var(--wr-text-sm);--wr-breadcrumbs-link-gap: var(--wr-space-sm);--wr-breadcrumbs-link-radius: var(--wr-border-radius-sm);--wr-breadcrumbs-current-gap: var(--wr-space-sm);--wr-breadcrumbs-current-font-weight: var(--wr-font-weight-semibold);--wr-breadcrumbs-item-max-width: 16rem;--wr-breadcrumbs-current-max-width: none;display:block;font-family:var(--wr-breadcrumbs-font-family);font-size:var(--wr-breadcrumbs-font-size);color:var(--wr-breadcrumbs-color)}.wr-breadcrumbs__nav{display:block}.wr-breadcrumbs__list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--wr-breadcrumbs-gap);margin:0;padding:0;list-style:none}.wr-breadcrumbs__item{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-gap)}.wr-breadcrumbs__item:not(:first-child):before{content:var(--wr-breadcrumbs-separator)/\"\";color:var(--wr-breadcrumbs-separator-color);-webkit-user-select:none;user-select:none}.wr-breadcrumbs__link{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-link-gap);color:var(--wr-breadcrumbs-link-color);text-decoration:none;border-radius:var(--wr-breadcrumbs-link-radius);transition:color .15s ease}.wr-breadcrumbs__link:hover{text-decoration:underline}.wr-breadcrumbs__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:2px}.wr-breadcrumbs__current{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-current-gap);color:var(--wr-breadcrumbs-current-color);font-weight:var(--wr-breadcrumbs-current-font-weight)}.wr-breadcrumbs__icon{--wr-icon-size: 1rem;flex:0 0 auto}.wr-breadcrumbs__label{display:contents}.wr-breadcrumbs--truncate .wr-breadcrumbs__item,.wr-breadcrumbs--truncate .wr-breadcrumbs__link,.wr-breadcrumbs--truncate .wr-breadcrumbs__current{min-inline-size:0}.wr-breadcrumbs--truncate .wr-breadcrumbs__link{max-inline-size:var(--wr-breadcrumbs-item-max-width)}.wr-breadcrumbs--truncate .wr-breadcrumbs__current{max-inline-size:var(--wr-breadcrumbs-current-max-width)}.wr-breadcrumbs--truncate .wr-breadcrumbs__label{display:block;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"],
73
+ styles: [".wr-btn:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__sort-btn:focus-visible,.wr-table-filter__trigger:focus-visible,.wr-table__expand-btn:focus-visible,.wr-table__group-toggle:focus-visible,.wr-table__tree-toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table:has(>.wr-table__scroll:focus-visible){outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__scroll:focus-visible{outline:none}.wr-tabs__tab:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-tabs__panel:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-sidebar__row:focus-visible,.wr-sidebar__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-anchor__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-collapse__header:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-collapse--flat .wr-collapse__header:focus-visible{outline-offset:var(--wr-focus-ring-offset)}.wr-command-palette__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-mention-panel__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-segmented__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-back-top:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-carousel__nav:focus-visible,.wr-carousel__toggle:focus-visible,.wr-carousel__dot:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-speed-dial__trigger:focus-visible,.wr-speed-dial__action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-stepper__header-button:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-window__chrome-action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-date-picker__trigger:focus-visible,.wr-time-picker__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-dropdown-item:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-alert__close:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tag__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-graph__viewport:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-chart-legend__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-pull-to-refresh:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tree__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-color-picker__sv:focus-visible,.wr-color-picker__slider:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-input-group__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-input-number__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-file-upload__zone:focus-visible,.wr-file-upload__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-event-calendar__more:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);position:relative;z-index:1}.wr-graph__viewport:focus-visible,.wr-graph__select:focus-visible,.wr-graph__control:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-breadcrumbs{--wr-breadcrumbs-separator: \"/\";--wr-breadcrumbs-gap: var(--wr-space-sm);--wr-breadcrumbs-color: color-mix(in srgb, var(--wr-color-on-surface) 60%, transparent);--wr-breadcrumbs-current-color: var(--wr-color-on-surface);--wr-breadcrumbs-link-color: var(--wr-color-primary-ink);--wr-breadcrumbs-separator-color: color-mix(in srgb, var(--wr-color-on-surface) 30%, transparent);--wr-breadcrumbs-font-family: var(--wr-font-family-base);--wr-breadcrumbs-font-size: var(--wr-text-sm);--wr-breadcrumbs-link-gap: var(--wr-space-sm);--wr-breadcrumbs-link-radius: var(--wr-border-radius-sm);--wr-breadcrumbs-current-gap: var(--wr-space-sm);--wr-breadcrumbs-current-font-weight: var(--wr-font-weight-semibold);--wr-breadcrumbs-item-max-width: 16rem;--wr-breadcrumbs-current-max-width: none;display:block;font-family:var(--wr-breadcrumbs-font-family);font-size:var(--wr-breadcrumbs-font-size);color:var(--wr-breadcrumbs-color)}.wr-breadcrumbs__nav{display:block}.wr-breadcrumbs__list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--wr-breadcrumbs-gap);margin:0;padding:0;list-style:none}.wr-breadcrumbs__item{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-gap)}.wr-breadcrumbs__item:not(:first-child):before{content:var(--wr-breadcrumbs-separator)/\"\";color:var(--wr-breadcrumbs-separator-color);-webkit-user-select:none;user-select:none}.wr-breadcrumbs__link{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-link-gap);color:var(--wr-breadcrumbs-link-color);text-decoration:none;border-radius:var(--wr-breadcrumbs-link-radius);transition:color .15s ease}.wr-breadcrumbs__link:hover{text-decoration:underline}.wr-breadcrumbs__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:2px}.wr-breadcrumbs__current{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-current-gap);color:var(--wr-breadcrumbs-current-color);font-weight:var(--wr-breadcrumbs-current-font-weight)}.wr-breadcrumbs__icon{--wr-icon-size: 1rem;flex:0 0 auto}.wr-breadcrumbs__label{display:contents}.wr-breadcrumbs--truncate .wr-breadcrumbs__item,.wr-breadcrumbs--truncate .wr-breadcrumbs__link,.wr-breadcrumbs--truncate .wr-breadcrumbs__current{min-inline-size:0}.wr-breadcrumbs--truncate .wr-breadcrumbs__link{max-inline-size:var(--wr-breadcrumbs-item-max-width)}.wr-breadcrumbs--truncate .wr-breadcrumbs__current{max-inline-size:var(--wr-breadcrumbs-current-max-width)}.wr-breadcrumbs--truncate .wr-breadcrumbs__label{display:block;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"],
74
74
  encapsulation: i0.ViewEncapsulation.None
75
75
  });
76
76
  };
77
77
  i0.ɵɵngDeclareClassMetadata({
78
78
  minVersion: "12.0.0",
79
- version: "22.2.6",
79
+ version: "22.3.0",
80
80
  ngImport: i0,
81
81
  type: WrBreadcrumbs,
82
82
  decorators: [{
@@ -90,7 +90,7 @@ i0.ɵɵngDeclareClassMetadata({
90
90
  "[style.--wr-breadcrumbs-separator]": "separatorValue()"
91
91
  },
92
92
  template: "<nav class=\"wr-breadcrumbs__nav\" [attr.aria-label]=\"resolvedAriaLabel()\">\n <ol class=\"wr-breadcrumbs__list\">\n <ng-content />\n </ol>\n</nav>\n",
93
- styles: [".wr-btn:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__sort-btn:focus-visible,.wr-table-filter__trigger:focus-visible,.wr-table__expand-btn:focus-visible,.wr-table__group-toggle:focus-visible,.wr-table__tree-toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table:has(>.wr-table__scroll:focus-visible){outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__scroll:focus-visible{outline:none}.wr-tabs__tab:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-tabs__panel:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-sidebar__row:focus-visible,.wr-sidebar__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-anchor__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-collapse__header:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-collapse--flat .wr-collapse__header:focus-visible{outline-offset:var(--wr-focus-ring-offset)}.wr-command-palette__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-mention-panel__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-segmented__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-back-top:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-carousel__nav:focus-visible,.wr-carousel__toggle:focus-visible,.wr-carousel__dot:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-speed-dial__trigger:focus-visible,.wr-speed-dial__action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-stepper__header-button:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-window__chrome-action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-date-picker__trigger:focus-visible,.wr-time-picker__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-dropdown-item:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-alert__close:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tag__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-graph__viewport:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-chart-legend__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-pull-to-refresh:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tree__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-color-picker__sv:focus-visible,.wr-color-picker__slider:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-input-group__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-input-number__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-file-upload__zone:focus-visible,.wr-file-upload__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-event-calendar__more:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);position:relative;z-index:1}.wr-graph__viewport:focus-visible,.wr-graph__control:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-breadcrumbs{--wr-breadcrumbs-separator: \"/\";--wr-breadcrumbs-gap: var(--wr-space-sm);--wr-breadcrumbs-color: color-mix(in srgb, var(--wr-color-on-surface) 60%, transparent);--wr-breadcrumbs-current-color: var(--wr-color-on-surface);--wr-breadcrumbs-link-color: var(--wr-color-primary-ink);--wr-breadcrumbs-separator-color: color-mix(in srgb, var(--wr-color-on-surface) 30%, transparent);--wr-breadcrumbs-font-family: var(--wr-font-family-base);--wr-breadcrumbs-font-size: var(--wr-text-sm);--wr-breadcrumbs-link-gap: var(--wr-space-sm);--wr-breadcrumbs-link-radius: var(--wr-border-radius-sm);--wr-breadcrumbs-current-gap: var(--wr-space-sm);--wr-breadcrumbs-current-font-weight: var(--wr-font-weight-semibold);--wr-breadcrumbs-item-max-width: 16rem;--wr-breadcrumbs-current-max-width: none;display:block;font-family:var(--wr-breadcrumbs-font-family);font-size:var(--wr-breadcrumbs-font-size);color:var(--wr-breadcrumbs-color)}.wr-breadcrumbs__nav{display:block}.wr-breadcrumbs__list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--wr-breadcrumbs-gap);margin:0;padding:0;list-style:none}.wr-breadcrumbs__item{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-gap)}.wr-breadcrumbs__item:not(:first-child):before{content:var(--wr-breadcrumbs-separator)/\"\";color:var(--wr-breadcrumbs-separator-color);-webkit-user-select:none;user-select:none}.wr-breadcrumbs__link{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-link-gap);color:var(--wr-breadcrumbs-link-color);text-decoration:none;border-radius:var(--wr-breadcrumbs-link-radius);transition:color .15s ease}.wr-breadcrumbs__link:hover{text-decoration:underline}.wr-breadcrumbs__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:2px}.wr-breadcrumbs__current{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-current-gap);color:var(--wr-breadcrumbs-current-color);font-weight:var(--wr-breadcrumbs-current-font-weight)}.wr-breadcrumbs__icon{--wr-icon-size: 1rem;flex:0 0 auto}.wr-breadcrumbs__label{display:contents}.wr-breadcrumbs--truncate .wr-breadcrumbs__item,.wr-breadcrumbs--truncate .wr-breadcrumbs__link,.wr-breadcrumbs--truncate .wr-breadcrumbs__current{min-inline-size:0}.wr-breadcrumbs--truncate .wr-breadcrumbs__link{max-inline-size:var(--wr-breadcrumbs-item-max-width)}.wr-breadcrumbs--truncate .wr-breadcrumbs__current{max-inline-size:var(--wr-breadcrumbs-current-max-width)}.wr-breadcrumbs--truncate .wr-breadcrumbs__label{display:block;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"]
93
+ styles: [".wr-btn:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__sort-btn:focus-visible,.wr-table-filter__trigger:focus-visible,.wr-table__expand-btn:focus-visible,.wr-table__group-toggle:focus-visible,.wr-table__tree-toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table:has(>.wr-table__scroll:focus-visible){outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-table__scroll:focus-visible{outline:none}.wr-tabs__tab:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-tabs__panel:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-sidebar__row:focus-visible,.wr-sidebar__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-anchor__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-collapse__header:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-collapse--flat .wr-collapse__header:focus-visible{outline-offset:var(--wr-focus-ring-offset)}.wr-command-palette__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-mention-panel__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-segmented__option:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-back-top:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-carousel__nav:focus-visible,.wr-carousel__toggle:focus-visible,.wr-carousel__dot:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-speed-dial__trigger:focus-visible,.wr-speed-dial__action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-stepper__header-button:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-window__chrome-action:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-date-picker__trigger:focus-visible,.wr-time-picker__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-dropdown-item:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-alert__close:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tag__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-graph__viewport:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-chart-legend__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-pull-to-refresh:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-tree__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-color-picker__sv:focus-visible,.wr-color-picker__slider:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-input-group__toggle:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-input-number__step:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:-2px}.wr-file-upload__zone:focus-visible,.wr-file-upload__remove:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-event-calendar__more:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);position:relative;z-index:1}.wr-graph__viewport:focus-visible,.wr-graph__select:focus-visible,.wr-graph__control:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo)}.wr-breadcrumbs{--wr-breadcrumbs-separator: \"/\";--wr-breadcrumbs-gap: var(--wr-space-sm);--wr-breadcrumbs-color: color-mix(in srgb, var(--wr-color-on-surface) 60%, transparent);--wr-breadcrumbs-current-color: var(--wr-color-on-surface);--wr-breadcrumbs-link-color: var(--wr-color-primary-ink);--wr-breadcrumbs-separator-color: color-mix(in srgb, var(--wr-color-on-surface) 30%, transparent);--wr-breadcrumbs-font-family: var(--wr-font-family-base);--wr-breadcrumbs-font-size: var(--wr-text-sm);--wr-breadcrumbs-link-gap: var(--wr-space-sm);--wr-breadcrumbs-link-radius: var(--wr-border-radius-sm);--wr-breadcrumbs-current-gap: var(--wr-space-sm);--wr-breadcrumbs-current-font-weight: var(--wr-font-weight-semibold);--wr-breadcrumbs-item-max-width: 16rem;--wr-breadcrumbs-current-max-width: none;display:block;font-family:var(--wr-breadcrumbs-font-family);font-size:var(--wr-breadcrumbs-font-size);color:var(--wr-breadcrumbs-color)}.wr-breadcrumbs__nav{display:block}.wr-breadcrumbs__list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--wr-breadcrumbs-gap);margin:0;padding:0;list-style:none}.wr-breadcrumbs__item{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-gap)}.wr-breadcrumbs__item:not(:first-child):before{content:var(--wr-breadcrumbs-separator)/\"\";color:var(--wr-breadcrumbs-separator-color);-webkit-user-select:none;user-select:none}.wr-breadcrumbs__link{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-link-gap);color:var(--wr-breadcrumbs-link-color);text-decoration:none;border-radius:var(--wr-breadcrumbs-link-radius);transition:color .15s ease}.wr-breadcrumbs__link:hover{text-decoration:underline}.wr-breadcrumbs__link:focus-visible{outline:var(--wr-focus-ring-width) solid var(--wr-focus-ring-color);outline-offset:var(--wr-focus-ring-offset);box-shadow:0 0 0 var(--wr-focus-ring-offset) var(--wr-focus-ring-halo);outline-offset:2px}.wr-breadcrumbs__current{display:inline-flex;align-items:center;gap:var(--wr-breadcrumbs-current-gap);color:var(--wr-breadcrumbs-current-color);font-weight:var(--wr-breadcrumbs-current-font-weight)}.wr-breadcrumbs__icon{--wr-icon-size: 1rem;flex:0 0 auto}.wr-breadcrumbs__label{display:contents}.wr-breadcrumbs--truncate .wr-breadcrumbs__item,.wr-breadcrumbs--truncate .wr-breadcrumbs__link,.wr-breadcrumbs--truncate .wr-breadcrumbs__current{min-inline-size:0}.wr-breadcrumbs--truncate .wr-breadcrumbs__link{max-inline-size:var(--wr-breadcrumbs-item-max-width)}.wr-breadcrumbs--truncate .wr-breadcrumbs__current{max-inline-size:var(--wr-breadcrumbs-current-max-width)}.wr-breadcrumbs--truncate .wr-breadcrumbs__label{display:block;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"]
94
94
  }]
95
95
  }],
96
96
  propDecorators: {
@@ -147,7 +147,7 @@ var WrBreadcrumbsItem = class WrBreadcrumbsItem {
147
147
  rootClass = computed(() => this.isLink() ? "wr-breadcrumbs__link" : "wr-breadcrumbs__current", ...ngDevMode ? [{ debugName: "rootClass" }] : /* istanbul ignore next */ []);
148
148
  static ɵfac = i0.ɵɵngDeclareFactory({
149
149
  minVersion: "12.0.0",
150
- version: "22.2.6",
150
+ version: "22.3.0",
151
151
  ngImport: i0,
152
152
  type: WrBreadcrumbsItem,
153
153
  deps: [],
@@ -155,7 +155,7 @@ var WrBreadcrumbsItem = class WrBreadcrumbsItem {
155
155
  });
156
156
  static ɵcmp = i0.ɵɵngDeclareComponent({
157
157
  minVersion: "17.0.0",
158
- version: "22.2.6",
158
+ version: "22.3.0",
159
159
  type: WrBreadcrumbsItem,
160
160
  isStandalone: true,
161
161
  selector: "wr-breadcrumbs-item",
@@ -230,6 +230,7 @@ var WrBreadcrumbsItem = class WrBreadcrumbsItem {
230
230
  "skipLocationChange",
231
231
  "replaceUrl",
232
232
  "browserUrl",
233
+ "scroll",
233
234
  "routerLink"
234
235
  ]
235
236
  },
@@ -245,7 +246,7 @@ var WrBreadcrumbsItem = class WrBreadcrumbsItem {
245
246
  };
246
247
  i0.ɵɵngDeclareClassMetadata({
247
248
  minVersion: "12.0.0",
248
- version: "22.2.6",
249
+ version: "22.3.0",
249
250
  ngImport: i0,
250
251
  type: WrBreadcrumbsItem,
251
252
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ngwr-breadcrumbs.mjs","names":[],"sources":["../../../projects/lib/breadcrumbs/breadcrumbs.ts","../../../projects/lib/breadcrumbs/breadcrumbs.html","../../../projects/lib/breadcrumbs/breadcrumbs-item.ts","../../../projects/lib/breadcrumbs/breadcrumbs-item.html"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\n\nimport { useI18nText } from 'ngwr/i18n';\n\n/** Escape a string for use inside a double-quoted CSS `<string>`. */\nfunction cssString(value: string): string {\n return value.replace(/[\\\\\"]/g, '\\\\$&').replace(/[\\n\\r\\f]/g, char => `\\\\${char.codePointAt(0)!.toString(16)} `);\n}\n\n/**\n * Breadcrumb navigation. Project `<wr-breadcrumbs-item>` children — each keeps\n * its own element and takes `role=\"listitem\"` inside the `<ol>` rather than\n * rendering an `<li>`, separated by the configured glyph (default `/`). The\n * container exposes the `nav[aria-label]` landmark required by WCAG.\n *\n * @example\n * ```html\n * <wr-breadcrumbs>\n * <wr-breadcrumbs-item routerLink=\"/\">Home</wr-breadcrumbs-item>\n * <wr-breadcrumbs-item routerLink=\"/docs\">Docs</wr-breadcrumbs-item>\n * <wr-breadcrumbs-item>Current</wr-breadcrumbs-item>\n * </wr-breadcrumbs>\n *\n * <!-- Custom separator -->\n * <wr-breadcrumbs separator=\"›\">…</wr-breadcrumbs>\n *\n * <!-- Long names end in an ellipsis instead of wrapping -->\n * <wr-breadcrumbs truncate>…</wr-breadcrumbs>\n * ```\n *\n * @see https://ngwr.dev/reference/components/breadcrumbs\n */\n@Component({\n selector: 'wr-breadcrumbs',\n templateUrl: './breadcrumbs.html',\n styleUrl: './breadcrumbs.scss',\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-breadcrumbs',\n '[class.wr-breadcrumbs--truncate]': 'truncate()',\n '[style.--wr-breadcrumbs-separator]': 'separatorValue()',\n },\n})\nexport class WrBreadcrumbs {\n /** Separator glyph between items. Any short string. @default '/' */\n readonly separator = input('/');\n\n /**\n * Accessible label for the `nav` landmark. Falls back to `breadcrumbs.label`,\n * then `'Breadcrumbs'`.\n */\n readonly ariaLabel = input<string | null>(null);\n\n /**\n * Keep every item on one line and end a long one in an ellipsis. A linked item\n * is cut at `--wr-breadcrumbs-item-max-width` (16rem). The current item is cut\n * at `--wr-breadcrumbs-current-max-width`, `none` by default, so it is cut only\n * where it is wider than the trail. A cut item shows its full text as a `title`\n * on hover.\n * @default false\n */\n readonly truncate = input(false, { transform: coerceBooleanProperty });\n\n // The English default used to live on the input itself, which made this the one\n // landmark in the library a catalog could not reach: `wr-anchor` and `wr-sidebar`\n // announced in Russian on the same page while this one stayed \"Breadcrumbs\", and\n // the only escape was restating `[ariaLabel]` on every trail.\n protected readonly resolvedAriaLabel = useI18nText(this.ariaLabel, 'breadcrumbs.label', 'Breadcrumbs');\n\n // The glyph is WRAPPED in quotes here and unwrapped by `content:` in the\n // stylesheet, so an unescaped `\"` inside it closes the library's own string\n // and the rest of the value is parsed as CSS — `/\" url(\"…\") \"` computes to\n // `content: \"/\" url(\"…\") \"\"`, an image the browser fetches. Escaping is the\n // whole fix, and it is lossless: a separator that IS a quote still renders.\n protected readonly separatorValue = computed(() => `\"${cssString(this.separator())}\"`);\n}\n","<nav class=\"wr-breadcrumbs__nav\" [attr.aria-label]=\"resolvedAriaLabel()\">\n <ol class=\"wr-breadcrumbs__list\">\n <ng-content />\n </ol>\n</nav>\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { NgTemplateOutlet } from '@angular/common';\nimport { Component, ElementRef, ViewEncapsulation, computed, inject, input, signal } from '@angular/core';\nimport { type Params, RouterLink } from '@angular/router';\n\nimport { WrIcon, type WrIconName } from 'ngwr/icon';\nimport { wrCheckStyles } from 'ngwr/utils';\n\n/**\n * One row inside `<wr-breadcrumbs>`. The host itself is the row — a\n * `<wr-breadcrumbs-item role=\"listitem\" class=\"wr-breadcrumbs__item\">`\n * inside the parent's `<ol>` — and it contains either a real\n * `<a class=\"wr-breadcrumbs__link\">` (when `[href]` or `[routerLink]` is\n * set) or, for the current crumb, a non-interactive\n * `<a class=\"wr-breadcrumbs__current\" role=\"text\" tabindex=\"-1\"\n * aria-current=\"page\">` (when neither is set — typically the last crumb).\n *\n * The text sits in a `<span class=\"wr-breadcrumbs__label\">`, which has no box of\n * its own until the trail is `truncate`. A label that is cut then takes its full\n * text as a `title` while the pointer is over the crumb. The accessible name is\n * the text itself, cut or not.\n *\n * @example\n * ```html\n * <wr-breadcrumbs-item icon=\"home\" routerLink=\"/\">Home</wr-breadcrumbs-item>\n * <wr-breadcrumbs-item routerLink=\"/debts\" [queryParams]=\"{ date: day }\">Debts</wr-breadcrumbs-item>\n * <wr-breadcrumbs-item href=\"https://ngwr.dev\">External</wr-breadcrumbs-item>\n * <wr-breadcrumbs-item>Current page</wr-breadcrumbs-item>\n * ```\n */\n@Component({\n selector: 'wr-breadcrumbs-item',\n templateUrl: './breadcrumbs-item.html',\n encapsulation: ViewEncapsulation.None,\n imports: [NgTemplateOutlet, RouterLink, WrIcon],\n host: { class: 'wr-breadcrumbs__item', role: 'listitem', '(pointerenter)': 'markCut()' },\n})\nexport class WrBreadcrumbsItem {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('breadcrumbs');\n }\n\n /** Plain anchor href. Overridden by `routerLink` when both are set. */\n readonly href = input<string | null>(null);\n\n /** Angular router target. Anything `RouterLink` accepts (string or `any[]`). */\n readonly routerLink = input<string | readonly unknown[] | null>(null);\n\n /**\n * Query parameters for a `routerLink` crumb, the way `RouterLink` takes them.\n * A `?` written into `routerLink` is part of the path, and the router escapes\n * it: `/debts?date=1` became `/debts%3Fdate%3D1`. Ignored without `routerLink`.\n *\n * @default null\n */\n readonly queryParams = input<Params | null>(null);\n\n /** Open external `href` in a new tab. Ignored when `routerLink` is set. @default false */\n readonly external = input(false);\n\n /** Optional leading icon rendered inline before the label. @default null */\n readonly icon = input<WrIconName | null>(null);\n\n protected readonly isLink = computed(() => this.href() != null || this.routerLink() != null);\n protected readonly isRouter = computed(() => this.routerLink() != null);\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n protected readonly cutTitle = signal<string | null>(null);\n\n protected markCut(): void {\n const label = this.host.nativeElement.querySelector<HTMLElement>('.wr-breadcrumbs__label');\n // A pixel of slack: a fractional width rounds the two reads apart.\n const cut = !!label && label.scrollWidth > label.clientWidth + 1;\n this.cutTitle.set(cut ? label.textContent.trim() : null);\n }\n\n protected readonly rootClass = computed(() => (this.isLink() ? 'wr-breadcrumbs__link' : 'wr-breadcrumbs__current'));\n}\n","<!--\n The label lives in a template rather than inside each branch below. A default\n `<ng-content />` written into two `@if` branches fills only ONE of them — the\n last in static order — and the other renders empty, with no template error and\n nothing in the console. This component has been broken exactly that way\n before; stamping one template from either branch keeps two anchors and one\n projection.\n-->\n<ng-template #label>\n @if (icon(); as i) {\n <wr-icon class=\"wr-breadcrumbs__icon\" [name]=\"i\" />\n }\n <span class=\"wr-breadcrumbs__label\" [attr.title]=\"cutTitle()\"><ng-content /></span>\n</ng-template>\n\n@if (isRouter()) {\n <!--\n Only ROUTER crumbs get `RouterLink`. Applied unconditionally it owns the\n anchor's `href` and writes null into it whenever `routerLink` is null —\n which silently turned every `href`-based crumb, a documented input, into\n text that navigates nowhere.\n -->\n <a [class]=\"rootClass()\" [routerLink]=\"routerLink()\" [queryParams]=\"queryParams()\">\n <ng-container [ngTemplateOutlet]=\"label\" />\n </a>\n} @else {\n <a\n [class]=\"rootClass()\"\n [attr.href]=\"href()\"\n [attr.aria-current]=\"isLink() ? null : 'page'\"\n [attr.role]=\"isLink() ? null : 'text'\"\n [attr.tabindex]=\"isLink() ? null : -1\"\n [attr.target]=\"external() ? '_blank' : null\"\n [attr.rel]=\"external() ? 'noreferrer noopener' : null\"\n >\n <ng-container [ngTemplateOutlet]=\"label\" />\n </a>\n}\n"],"mappings":";;;;;;;;;;;;;;AAaA,SAAS,UAAU,OAAa;CAC9B,OAAO,MAAM,QAAQ,UAAU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AA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAM,UAAA;IAAA,QAAA,CAAA,MAAA;GAAA;EAAA;EAAA,eAAA,GAAA,kBAAA;CAAA,CAAA;;AAGnC,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAiB,YAAA,CAAA;EAP7B,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAqB,eAEhB,kBAAkB;GAAI,SAC5B;IAAC;IAAkB;IAAY;GAAM;GAAC,MACzC;IAAE,OAAO;IAAwB,MAAM;IAAY,kBAAkB;GAAW;GAAE,UAAA;EAAA,CAAA"}
1
+ {"version":3,"file":"ngwr-breadcrumbs.mjs","names":[],"sources":["../../../projects/lib/breadcrumbs/breadcrumbs.ts","../../../projects/lib/breadcrumbs/breadcrumbs.html","../../../projects/lib/breadcrumbs/breadcrumbs-item.ts","../../../projects/lib/breadcrumbs/breadcrumbs-item.html"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Component, ViewEncapsulation, computed, input } from '@angular/core';\n\nimport { useI18nText } from 'ngwr/i18n';\n\n/** Escape a string for use inside a double-quoted CSS `<string>`. */\nfunction cssString(value: string): string {\n return value.replace(/[\\\\\"]/g, '\\\\$&').replace(/[\\n\\r\\f]/g, char => `\\\\${char.codePointAt(0)!.toString(16)} `);\n}\n\n/**\n * Breadcrumb navigation. Project `<wr-breadcrumbs-item>` children — each keeps\n * its own element and takes `role=\"listitem\"` inside the `<ol>` rather than\n * rendering an `<li>`, separated by the configured glyph (default `/`). The\n * container exposes the `nav[aria-label]` landmark required by WCAG.\n *\n * @example\n * ```html\n * <wr-breadcrumbs>\n * <wr-breadcrumbs-item routerLink=\"/\">Home</wr-breadcrumbs-item>\n * <wr-breadcrumbs-item routerLink=\"/docs\">Docs</wr-breadcrumbs-item>\n * <wr-breadcrumbs-item>Current</wr-breadcrumbs-item>\n * </wr-breadcrumbs>\n *\n * <!-- Custom separator -->\n * <wr-breadcrumbs separator=\"›\">…</wr-breadcrumbs>\n *\n * <!-- Long names end in an ellipsis instead of wrapping -->\n * <wr-breadcrumbs truncate>…</wr-breadcrumbs>\n * ```\n *\n * @see https://ngwr.dev/reference/components/breadcrumbs\n */\n@Component({\n selector: 'wr-breadcrumbs',\n templateUrl: './breadcrumbs.html',\n styleUrl: './breadcrumbs.scss',\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'wr-breadcrumbs',\n '[class.wr-breadcrumbs--truncate]': 'truncate()',\n '[style.--wr-breadcrumbs-separator]': 'separatorValue()',\n },\n})\nexport class WrBreadcrumbs {\n /** Separator glyph between items. Any short string. @default '/' */\n readonly separator = input('/');\n\n /**\n * Accessible label for the `nav` landmark. Falls back to `breadcrumbs.label`,\n * then `'Breadcrumbs'`.\n */\n readonly ariaLabel = input<string | null>(null);\n\n /**\n * Keep every item on one line and end a long one in an ellipsis. A linked item\n * is cut at `--wr-breadcrumbs-item-max-width` (16rem). The current item is cut\n * at `--wr-breadcrumbs-current-max-width`, `none` by default, so it is cut only\n * where it is wider than the trail. A cut item shows its full text as a `title`\n * on hover.\n * @default false\n */\n readonly truncate = input(false, { transform: coerceBooleanProperty });\n\n // The English default used to live on the input itself, which made this the one\n // landmark in the library a catalog could not reach: `wr-anchor` and `wr-sidebar`\n // announced in Russian on the same page while this one stayed \"Breadcrumbs\", and\n // the only escape was restating `[ariaLabel]` on every trail.\n protected readonly resolvedAriaLabel = useI18nText(this.ariaLabel, 'breadcrumbs.label', 'Breadcrumbs');\n\n // The glyph is WRAPPED in quotes here and unwrapped by `content:` in the\n // stylesheet, so an unescaped `\"` inside it closes the library's own string\n // and the rest of the value is parsed as CSS — `/\" url(\"…\") \"` computes to\n // `content: \"/\" url(\"…\") \"\"`, an image the browser fetches. Escaping is the\n // whole fix, and it is lossless: a separator that IS a quote still renders.\n protected readonly separatorValue = computed(() => `\"${cssString(this.separator())}\"`);\n}\n","<nav class=\"wr-breadcrumbs__nav\" [attr.aria-label]=\"resolvedAriaLabel()\">\n <ol class=\"wr-breadcrumbs__list\">\n <ng-content />\n </ol>\n</nav>\n","/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { NgTemplateOutlet } from '@angular/common';\nimport { Component, ElementRef, ViewEncapsulation, computed, inject, input, signal } from '@angular/core';\nimport { type Params, RouterLink } from '@angular/router';\n\nimport { WrIcon, type WrIconName } from 'ngwr/icon';\nimport { wrCheckStyles } from 'ngwr/utils';\n\n/**\n * One row inside `<wr-breadcrumbs>`. The host itself is the row — a\n * `<wr-breadcrumbs-item role=\"listitem\" class=\"wr-breadcrumbs__item\">`\n * inside the parent's `<ol>` — and it contains either a real\n * `<a class=\"wr-breadcrumbs__link\">` (when `[href]` or `[routerLink]` is\n * set) or, for the current crumb, a non-interactive\n * `<a class=\"wr-breadcrumbs__current\" role=\"text\" tabindex=\"-1\"\n * aria-current=\"page\">` (when neither is set — typically the last crumb).\n *\n * The text sits in a `<span class=\"wr-breadcrumbs__label\">`, which has no box of\n * its own until the trail is `truncate`. A label that is cut then takes its full\n * text as a `title` while the pointer is over the crumb. The accessible name is\n * the text itself, cut or not.\n *\n * @example\n * ```html\n * <wr-breadcrumbs-item icon=\"home\" routerLink=\"/\">Home</wr-breadcrumbs-item>\n * <wr-breadcrumbs-item routerLink=\"/debts\" [queryParams]=\"{ date: day }\">Debts</wr-breadcrumbs-item>\n * <wr-breadcrumbs-item href=\"https://ngwr.dev\">External</wr-breadcrumbs-item>\n * <wr-breadcrumbs-item>Current page</wr-breadcrumbs-item>\n * ```\n */\n@Component({\n selector: 'wr-breadcrumbs-item',\n templateUrl: './breadcrumbs-item.html',\n encapsulation: ViewEncapsulation.None,\n imports: [NgTemplateOutlet, RouterLink, WrIcon],\n host: { class: 'wr-breadcrumbs__item', role: 'listitem', '(pointerenter)': 'markCut()' },\n})\nexport class WrBreadcrumbsItem {\n constructor() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) wrCheckStyles('breadcrumbs');\n }\n\n /** Plain anchor href. Overridden by `routerLink` when both are set. */\n readonly href = input<string | null>(null);\n\n /** Angular router target. Anything `RouterLink` accepts (string or `any[]`). */\n readonly routerLink = input<string | readonly unknown[] | null>(null);\n\n /**\n * Query parameters for a `routerLink` crumb, the way `RouterLink` takes them.\n * A `?` written into `routerLink` is part of the path, and the router escapes\n * it: `/debts?date=1` became `/debts%3Fdate%3D1`. Ignored without `routerLink`.\n *\n * @default null\n */\n readonly queryParams = input<Params | null>(null);\n\n /** Open external `href` in a new tab. Ignored when `routerLink` is set. @default false */\n readonly external = input(false);\n\n /** Optional leading icon rendered inline before the label. @default null */\n readonly icon = input<WrIconName | null>(null);\n\n protected readonly isLink = computed(() => this.href() != null || this.routerLink() != null);\n protected readonly isRouter = computed(() => this.routerLink() != null);\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n protected readonly cutTitle = signal<string | null>(null);\n\n protected markCut(): void {\n const label = this.host.nativeElement.querySelector<HTMLElement>('.wr-breadcrumbs__label');\n // A pixel of slack: a fractional width rounds the two reads apart.\n const cut = !!label && label.scrollWidth > label.clientWidth + 1;\n this.cutTitle.set(cut ? label.textContent.trim() : null);\n }\n\n protected readonly rootClass = computed(() => (this.isLink() ? 'wr-breadcrumbs__link' : 'wr-breadcrumbs__current'));\n}\n","<!--\n The label lives in a template rather than inside each branch below. A default\n `<ng-content />` written into two `@if` branches fills only ONE of them — the\n last in static order — and the other renders empty, with no template error and\n nothing in the console. This component has been broken exactly that way\n before; stamping one template from either branch keeps two anchors and one\n projection.\n-->\n<ng-template #label>\n @if (icon(); as i) {\n <wr-icon class=\"wr-breadcrumbs__icon\" [name]=\"i\" />\n }\n <span class=\"wr-breadcrumbs__label\" [attr.title]=\"cutTitle()\"><ng-content /></span>\n</ng-template>\n\n@if (isRouter()) {\n <!--\n Only ROUTER crumbs get `RouterLink`. Applied unconditionally it owns the\n anchor's `href` and writes null into it whenever `routerLink` is null —\n which silently turned every `href`-based crumb, a documented input, into\n text that navigates nowhere.\n -->\n <a [class]=\"rootClass()\" [routerLink]=\"routerLink()\" [queryParams]=\"queryParams()\">\n <ng-container [ngTemplateOutlet]=\"label\" />\n </a>\n} @else {\n <a\n [class]=\"rootClass()\"\n [attr.href]=\"href()\"\n [attr.aria-current]=\"isLink() ? null : 'page'\"\n [attr.role]=\"isLink() ? null : 'text'\"\n [attr.tabindex]=\"isLink() ? null : -1\"\n [attr.target]=\"external() ? '_blank' : null\"\n [attr.rel]=\"external() ? 'noreferrer noopener' : null\"\n >\n <ng-container [ngTemplateOutlet]=\"label\" />\n </a>\n}\n"],"mappings":";;;;;;;;;;;;;;AAaA,SAAS,UAAU,OAAa;CAC9B,OAAO,MAAM,QAAQ,UAAU,MAAM,CAAC,CAAC,QAAQ,cAAa,SAAQ,KAAK,KAAK,YAAY,CAAC,CAAE,CAAC,SAAS,EAAE,EAAC,EAAG;AAC/G;AAoCA,IAAa,gBAAb,MAAa,cAAa;CAEf,YAAY,MAAM,KAAI,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;CAMtB,YAAY,MAAqB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;CAUtC,WAAW,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;EAAI,WAAW;CAAqB,CAAA;CAMhD,oBAAoB,YAAY,KAAK,WAAW,qBAAqB,aAAa;CAOlF,iBAAiB,eAAe,IAAI,UAAU,KAAK,UAAS,CAAE,EAAC,IAAI,GAAA,YAAA,CAAA,EAAA,WAAA,iBAAA,CAAA,+BAAA,CAAA,CAAA;CA/B3E,OAAA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,
32
32
  type: WrBurger,
33
33
  deps: [],
@@ -35,7 +35,7 @@ var WrBurger = class WrBurger {
35
35
  });
36
36
  static ɵcmp = i0.ɵɵngDeclareComponent({
37
37
  minVersion: "17.1.0",
38
- version: "22.2.6",
38
+ version: "22.3.0",
39
39
  type: WrBurger,
40
40
  isStandalone: true,
41
41
  selector: "wr-burger",
@@ -74,7 +74,7 @@ var WrBurger = class WrBurger {
74
74
  };
75
75
  i0.ɵɵngDeclareClassMetadata({
76
76
  minVersion: "12.0.0",
77
- version: "22.2.6",
77
+ version: "22.3.0",
78
78
  ngImport: i0,
79
79
  type: WrBurger,
80
80
  decorators: [{
@@ -38,6 +38,10 @@ var WrButton = class WrButton {
38
38
  ...ngDevMode ? { debugName: "outlined" } : /* istanbul ignore next */ {},
39
39
  transform: coerceBooleanProperty
40
40
  });
41
+ ghost = input(false, {
42
+ ...ngDevMode ? { debugName: "ghost" } : /* istanbul ignore next */ {},
43
+ transform: coerceBooleanProperty
44
+ });
41
45
  block = input(false, {
42
46
  ...ngDevMode ? { debugName: "block" } : /* istanbul ignore next */ {},
43
47
  transform: coerceBooleanProperty
@@ -119,6 +123,7 @@ var WrButton = class WrButton {
119
123
  const shape = this.resolvedShape();
120
124
  if (shape !== "rounded") parts.push(`wr-btn--${shape}`);
121
125
  if (this.outlined()) parts.push("wr-btn--outlined");
126
+ if (this.ghost()) parts.push("wr-btn--ghost");
122
127
  if (this.block()) parts.push("wr-btn--block");
123
128
  if (this.loading()) parts.push("wr-btn--loading");
124
129
  if (!!this.icon() || this.loading()) parts.push(`wr-btn--icon-${this.iconPosition()}`);
@@ -126,7 +131,7 @@ var WrButton = class WrButton {
126
131
  }, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
127
132
  static ɵfac = i0.ɵɵngDeclareFactory({
128
133
  minVersion: "12.0.0",
129
- version: "22.2.6",
134
+ version: "22.3.0",
130
135
  ngImport: i0,
131
136
  type: WrButton,
132
137
  deps: [],
@@ -134,7 +139,7 @@ var WrButton = class WrButton {
134
139
  });
135
140
  static ɵcmp = i0.ɵɵngDeclareComponent({
136
141
  minVersion: "17.0.0",
137
- version: "22.2.6",
142
+ version: "22.3.0",
138
143
  type: WrButton,
139
144
  isStandalone: true,
140
145
  selector: "wr-btn, button[wr-btn], a[wr-btn]",
@@ -188,6 +193,13 @@ var WrButton = class WrButton {
188
193
  isRequired: false,
189
194
  transformFunction: null
190
195
  },
196
+ ghost: {
197
+ classPropertyName: "ghost",
198
+ publicName: "ghost",
199
+ isSignal: true,
200
+ isRequired: false,
201
+ transformFunction: null
202
+ },
191
203
  block: {
192
204
  classPropertyName: "block",
193
205
  publicName: "block",
@@ -244,7 +256,7 @@ var WrButton = class WrButton {
244
256
  };
245
257
  i0.ɵɵngDeclareClassMetadata({
246
258
  minVersion: "12.0.0",
247
- version: "22.2.6",
259
+ version: "22.3.0",
248
260
  ngImport: i0,
249
261
  type: WrButton,
250
262
  decorators: [{
@@ -326,6 +338,14 @@ i0.ɵɵngDeclareClassMetadata({
326
338
  required: false
327
339
  }]
328
340
  }],
341
+ ghost: [{
342
+ type: i0.Input,
343
+ args: [{
344
+ isSignal: true,
345
+ alias: "ghost",
346
+ required: false
347
+ }]
348
+ }],
329
349
  block: [{
330
350
  type: i0.Input,
331
351
  args: [{
@@ -371,7 +391,7 @@ var WrButtonGroup = class WrButtonGroup {
371
391
  }, ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
372
392
  static ɵfac = i0.ɵɵngDeclareFactory({
373
393
  minVersion: "12.0.0",
374
- version: "22.2.6",
394
+ version: "22.3.0",
375
395
  ngImport: i0,
376
396
  type: WrButtonGroup,
377
397
  deps: [],
@@ -379,7 +399,7 @@ var WrButtonGroup = class WrButtonGroup {
379
399
  });
380
400
  static ɵcmp = i0.ɵɵngDeclareComponent({
381
401
  minVersion: "17.1.0",
382
- version: "22.2.6",
402
+ version: "22.3.0",
383
403
  type: WrButtonGroup,
384
404
  isStandalone: true,
385
405
  selector: "wr-btn-group",
@@ -407,7 +427,7 @@ var WrButtonGroup = class WrButtonGroup {
407
427
  };
408
428
  i0.ɵɵngDeclareClassMetadata({
409
429
  minVersion: "12.0.0",
410
- version: "22.2.6",
430
+ version: "22.3.0",
411
431
  ngImport: i0,
412
432
  type: WrButtonGroup,
413
433
  decorators: [{