@ids-group-ltd/ids-design-system 0.14.4 → 0.14.5

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 (329) hide show
  1. package/CHANGELOG.md +160 -0
  2. package/components.md +14 -14
  3. package/docs/agent/INDEX.md +1 -1
  4. package/docs/agent/charts/ds-bar-chart.md +1 -1
  5. package/docs/agent/charts/ds-chart.md +1 -1
  6. package/docs/agent/charts/ds-column-chart.md +1 -1
  7. package/docs/agent/charts/ds-funnel-chart.md +1 -1
  8. package/docs/agent/charts/ds-heatmap-chart.md +1 -1
  9. package/docs/agent/charts/ds-line-chart.md +1 -1
  10. package/docs/agent/charts/ds-pie-chart.md +3 -3
  11. package/docs/agent/charts/ds-scatter-chart.md +1 -1
  12. package/docs/agent/charts/ds-waterfall-chart.md +1 -1
  13. package/docs/agent/navigation/ds-breadcrumbs.md +1 -1
  14. package/docs/agent/overlays/ds-tooltip.md +2 -2
  15. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -6
  16. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -3
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +58 -163
  20. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +21 -34
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +34 -105
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +3 -3
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +22 -48
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +7 -7
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -10
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +28 -130
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +11 -29
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +10 -28
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +16 -13
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +3 -3
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +42 -69
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +15 -20
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +6 -7
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +3 -10
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +12 -28
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +58 -112
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +182 -432
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +8 -12
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +8 -22
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +28 -123
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +45 -116
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +3 -3
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +4 -6
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +7 -16
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +7 -8
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +3 -3
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +16 -45
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +10 -14
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +19 -41
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +48 -163
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +27 -85
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +17 -25
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +21 -41
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +3 -6
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +50 -166
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +7 -7
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +6 -11
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +19 -36
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +30 -57
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +37 -103
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +5 -6
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +9 -15
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -1
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +8 -12
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +9 -24
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +32 -120
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +14 -24
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +15 -24
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs +9 -16
  122. package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs.map +1 -1
  123. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +27 -91
  124. package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
  125. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +16 -41
  126. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  127. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +8 -11
  128. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  129. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +18 -52
  130. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  131. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +4 -7
  132. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  133. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +30 -49
  134. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  135. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +8 -12
  136. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
  137. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +6 -7
  138. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  139. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +29 -13
  140. package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
  141. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +3 -3
  142. package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
  143. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +8 -9
  144. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  145. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +5 -20
  146. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
  147. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +4 -4
  148. package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
  149. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +3 -3
  150. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  151. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +5 -9
  152. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  153. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +11 -23
  154. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  155. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +7 -16
  156. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
  157. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +9 -43
  158. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
  159. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +167 -353
  160. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  161. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +33 -86
  162. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  163. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +7 -7
  164. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  165. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +23 -47
  166. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  167. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +21 -49
  168. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  169. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +4 -4
  170. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
  171. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +35 -63
  172. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  173. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -3
  174. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  175. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +38 -50
  176. package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
  177. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
  178. package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
  179. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +3 -5
  180. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  181. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +3 -3
  182. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  183. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +28 -85
  184. package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
  185. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +325 -579
  186. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  187. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +51 -85
  188. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  189. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -21
  190. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
  191. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +4 -13
  192. package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
  193. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +1 -2
  194. package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -1
  195. package/migrations/0.14.5.json +311 -0
  196. package/package.json +1 -1
  197. package/schematics/check-overrides/surface.json +17 -2
  198. package/styles/_breakpoints.scss +6 -23
  199. package/styles/_chart-data-table.scss +3 -11
  200. package/styles/_chart-frame.scss +14 -63
  201. package/styles/_chart-interactive.scss +8 -36
  202. package/styles/_chart-motion.scss +11 -39
  203. package/styles/_check-box.scss +7 -26
  204. package/styles/_check-mark.scss +7 -23
  205. package/styles/_chip-row.scss +3 -14
  206. package/styles/_clear-button.scss +2 -7
  207. package/styles/_control-label.scss +2 -13
  208. package/styles/_control-line.scss +2 -6
  209. package/styles/_dropdown-overlay.scss +8 -33
  210. package/styles/_ds-color.scss +9 -28
  211. package/styles/_field-box.scss +4 -16
  212. package/styles/_field-group-segment.scss +6 -6
  213. package/styles/_field-label.scss +3 -14
  214. package/styles/_field-state.scss +5 -10
  215. package/styles/_focus.scss +20 -60
  216. package/styles/_icon-base.scss +0 -2
  217. package/styles/_layout-utils.scss +0 -3
  218. package/styles/_link.scss +4 -18
  219. package/styles/_overlay-motion.scss +15 -38
  220. package/styles/_page-grid.scss +4 -29
  221. package/styles/_press.scss +5 -18
  222. package/styles/_reset.scss +1 -14
  223. package/styles/_scrollbar.scss +0 -2
  224. package/styles/_skeleton-shimmer.scss +3 -14
  225. package/styles/_status.scss +5 -13
  226. package/styles/_surface-motion.scss +7 -34
  227. package/styles/_table-controls.scss +3 -6
  228. package/styles/_text-clip.scss +2 -6
  229. package/styles/_theme-activation.scss +7 -20
  230. package/styles/_toast-overlay.scss +2 -6
  231. package/styles/_tokens-charts.scss +31 -90
  232. package/styles/_tokens.scss +111 -156
  233. package/styles/_typography.scss +6 -13
  234. package/styles/_visually-hidden.scss +2 -3
  235. package/styles/ds.scss +2 -10
  236. package/themes/_base-palette.scss +12 -35
  237. package/themes/_semantic.scss +29 -98
  238. package/themes/dark/_palette.scss +15 -29
  239. package/themes/dark/_theme.scss +14 -32
  240. package/themes/light/_palette.scss +2 -17
  241. package/themes/light/_theme.scss +1 -7
  242. package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +2 -6
  243. package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +2 -3
  244. package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +45 -119
  245. package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +19 -32
  246. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +29 -92
  247. package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +1 -1
  248. package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +23 -46
  249. package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +5 -5
  250. package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -8
  251. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +27 -136
  252. package/types/ids-group-ltd-ids-design-system-components-bar.d.ts +13 -32
  253. package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +6 -12
  254. package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +6 -9
  255. package/types/ids-group-ltd-ids-design-system-components-button-group.d.ts +1 -1
  256. package/types/ids-group-ltd-ids-design-system-components-button.d.ts +36 -55
  257. package/types/ids-group-ltd-ids-design-system-components-calendar-day.d.ts +13 -18
  258. package/types/ids-group-ltd-ids-design-system-components-card.d.ts +2 -2
  259. package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +5 -11
  260. package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +10 -26
  261. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +27 -49
  262. package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +161 -385
  263. package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +6 -10
  264. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +5 -14
  265. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +29 -124
  266. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +23 -70
  267. package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +3 -3
  268. package/types/ids-group-ltd-ids-design-system-components-divider.d.ts +3 -7
  269. package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +1 -3
  270. package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +6 -8
  271. package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +1 -1
  272. package/types/ids-group-ltd-ids-design-system-components-field-group.d.ts +17 -50
  273. package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +8 -12
  274. package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +13 -28
  275. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +25 -113
  276. package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +17 -85
  277. package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +15 -23
  278. package/types/ids-group-ltd-ids-design-system-components-input.d.ts +18 -37
  279. package/types/ids-group-ltd-ids-design-system-components-layout.d.ts +3 -3
  280. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +51 -160
  281. package/types/ids-group-ltd-ids-design-system-components-list.d.ts +3 -3
  282. package/types/ids-group-ltd-ids-design-system-components-loading-overlay.d.ts +4 -9
  283. package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +13 -21
  284. package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +15 -28
  285. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +27 -83
  286. package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +5 -6
  287. package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +5 -7
  288. package/types/ids-group-ltd-ids-design-system-components-page-footer.d.ts +1 -1
  289. package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +6 -10
  290. package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +8 -22
  291. package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +18 -102
  292. package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +7 -11
  293. package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +14 -25
  294. package/types/ids-group-ltd-ids-design-system-components-reserve-messages.d.ts +7 -12
  295. package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +21 -96
  296. package/types/ids-group-ltd-ids-design-system-components-search.d.ts +12 -33
  297. package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +6 -7
  298. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +12 -41
  299. package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +8 -15
  300. package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +23 -40
  301. package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +3 -5
  302. package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +4 -4
  303. package/types/ids-group-ltd-ids-design-system-components-sparkline.d.ts +14 -10
  304. package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +1 -1
  305. package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +6 -7
  306. package/types/ids-group-ltd-ids-design-system-components-stat.d.ts +2 -15
  307. package/types/ids-group-ltd-ids-design-system-components-status-dot.d.ts +2 -2
  308. package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +4 -6
  309. package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +5 -9
  310. package/types/ids-group-ltd-ids-design-system-components-table-columns.d.ts +3 -7
  311. package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +4 -8
  312. package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +9 -43
  313. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +160 -369
  314. package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +21 -49
  315. package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +5 -5
  316. package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +17 -34
  317. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +17 -38
  318. package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +2 -2
  319. package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +20 -37
  320. package/types/ids-group-ltd-ids-design-system-components-toggle-button.d.ts +2 -3
  321. package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +17 -36
  322. package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +2 -2
  323. package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +1 -1
  324. package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +21 -70
  325. package/types/ids-group-ltd-ids-design-system-components.d.ts +262 -415
  326. package/types/ids-group-ltd-ids-design-system-core.d.ts +133 -260
  327. package/types/ids-group-ltd-ids-design-system-icons.d.ts +2 -24
  328. package/types/ids-group-ltd-ids-design-system-overlay.d.ts +4 -13
  329. package/types/ids-group-ltd-ids-design-system-theme.d.ts +4 -6
@@ -5,21 +5,21 @@ import { DS_INTL } from '@ids-group-ltd/ids-design-system/core';
5
5
 
6
6
  class TagComponent {
7
7
  intl = inject(DS_INTL);
8
- /** Fill style — `solid` for high-emphasis, `neutral` for low-emphasis chips. */
8
+ /** `solid` for high emphasis, `neutral` for low-emphasis chips. */
9
9
  variant = input('solid', ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
10
10
  /** Shows a close button that emits `closed`. */
11
11
  closable = input(false, { ...(ngDevMode ? { debugName: "closable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
12
- /** Makes the tag clickable, emitting `toggled` on click. */
12
+ /** Makes the tag clickable, emitting `toggled`. */
13
13
  interactive = input(false, { ...(ngDevMode ? { debugName: "interactive" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
14
14
  /** Applies the active/selected visual state. */
15
15
  selected = input(false, { ...(ngDevMode ? { debugName: "selected" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
16
- /** Accessible label for the close button (e.g. "Remove Source filter").
17
- * Unset falls back to `DS_INTL.tag.remove`. */
16
+ /** Accessible label of the close button, e.g. "Remove Source filter". Unset falls back to
17
+ * `DS_INTL.tag.remove`. */
18
18
  closeLabel = input(null, ...(ngDevMode ? [{ debugName: "closeLabel" }] : /* istanbul ignore next */ []));
19
19
  closeLabelResolved = computed(() => this.closeLabel() ?? this.intl().tag.remove, ...(ngDevMode ? [{ debugName: "closeLabelResolved" }] : /* istanbul ignore next */ []));
20
20
  /** Fires when the close button is clicked. */
21
21
  closed = output();
22
- /** Fires on click when `interactive` is true. */
22
+ /** Fires on click when `interactive`. */
23
23
  toggled = output();
24
24
  onClick() {
25
25
  if (this.interactive()) {
@@ -27,7 +27,7 @@ class TagComponent {
27
27
  }
28
28
  }
29
29
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
30
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: TagComponent, isStandalone: true, selector: "ds-tag", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, closeLabel: { classPropertyName: "closeLabel", publicName: "closeLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed", toggled: "toggled" }, host: { listeners: { "click": "onClick()" }, properties: { "class.neutral": "variant() === 'neutral'", "class.closable": "closable()", "class.interactive": "interactive()", "class.is-active": "selected()" } }, ngImport: i0, template: "<ng-content></ng-content>\n\n@if (closable()) {\n <button\n type=\"button\"\n class=\"close\"\n [attr.aria-label]=\"closeLabelResolved()\"\n (click)=\"$event.stopPropagation(); closed.emit()\">\n <ds-icon\n name=\"x\"\n [size]=\"12\" />\n </button>\n}\n", styles: ["@charset \"UTF-8\";:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_tag-padding-y: var(--ds-tag-padding-y, var(--tag-pad-y));--_tag-padding-x: var(--ds-tag-padding-x, var(--tag-pad-x));--_tag-radius: var(--ds-tag-radius, var(--ds-radius-control));--_tag-bg-color: var(--ds-tag-bg-color, var(--accent));--_tag-label-color: var(--ds-tag-label-color, var(--accent-on));--_tag-font-weight: var(--ds-tag-font-weight, var(--font-weight-bold));--_tag-font-size: var(--ds-tag-font-size, var(--font-size-xs));--_tag-line-height: var(--ds-tag-line-height, var(--line-height-base));--_tag-hover-bg-color: var(--ds-tag-hover-bg-color, var(--surface-muted));--_tag-hover-label-color: var(--ds-tag-hover-label-color, var(--text-primary));--_tag-active-bg-color: var(--ds-tag-active-bg-color, var(--accent-muted));--_tag-active-label-color: var(--ds-tag-active-label-color, var(--accent-strong));--_tag-active-border: var(--ds-tag-active-border, var(--accent));display:inline-flex;align-items:center;gap:var(--tag-gap);padding:var(--_tag-padding-y) var(--_tag-padding-x);border-radius:var(--_tag-radius);background-color:var(--_tag-bg-color);color:var(--_tag-label-color);font:var(--_tag-font-weight) var(--_tag-font-size)/var(--_tag-line-height) var(--font-sans)}:host(.closable){padding-right:var(--tag-pad-x-close)}:host(.neutral){--_tag-bg-color: var(--ds-tag-bg-color, var(--surface-secondary));--_tag-label-color: var(--ds-tag-label-color, var(--text-primary));--_tag-border-color: var(--ds-tag-border-color, var(--border-divider));background-color:var(--_tag-bg-color);color:var(--_tag-label-color);border:var(--border-width-default) solid var(--_tag-border-color);padding:calc(var(--_tag-padding-y) - var(--border-width-default)) calc(var(--_tag-padding-x) - var(--border-width-default))}:host(.neutral.closable){padding-right:calc(var(--tag-pad-x-close) - var(--border-width-default))}:host(.interactive){cursor:pointer;-webkit-user-select:none;user-select:none;transition:background var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard)}:host(.interactive):active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}:host(.interactive:hover):not(.is-active){background-color:var(--_tag-hover-bg-color);color:var(--_tag-hover-label-color)}:host(.interactive.is-active){background-color:var(--_tag-active-bg-color);color:var(--_tag-active-label-color);box-shadow:inset 0 0 0 var(--border-width-default) var(--_tag-active-border)}.close{display:inline-flex;align-items:center;justify-content:center;border:0;color:inherit;font:inherit;cursor:pointer;border-radius:var(--ds-radius-inner);padding:var(--tag-close-pad);margin-left:var(--tag-close-pad);background:color-mix(in oklab,currentcolor calc(var(--opacity-state-hover) * 100%),transparent);transition:background-color var(--duration-fast) var(--ease-standard)}.close:hover{background:color-mix(in oklab,currentcolor calc(var(--opacity-state-pressed) * 100%),transparent)}.close:active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.close:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:1px;animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "ds-icon", inputs: ["name", "size", "stroke", "ariaLabel"] }] });
30
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: TagComponent, isStandalone: true, selector: "ds-tag", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, closeLabel: { classPropertyName: "closeLabel", publicName: "closeLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed", toggled: "toggled" }, host: { listeners: { "click": "onClick()" }, properties: { "class.neutral": "variant() === 'neutral'", "class.closable": "closable()", "class.interactive": "interactive()", "class.is-active": "selected()" } }, ngImport: i0, template: "<ng-content></ng-content>\n\n@if (closable()) {\n <button\n type=\"button\"\n class=\"close\"\n [attr.aria-label]=\"closeLabelResolved()\"\n (click)=\"$event.stopPropagation(); closed.emit()\">\n <ds-icon\n name=\"x\"\n [size]=\"12\" />\n </button>\n}\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_tag-padding-y: var(--ds-tag-padding-y, var(--tag-pad-y));--_tag-padding-x: var(--ds-tag-padding-x, var(--tag-pad-x));--_tag-radius: var(--ds-tag-radius, var(--ds-radius-control));--_tag-bg-color: var(--ds-tag-bg-color, var(--accent));--_tag-label-color: var(--ds-tag-label-color, var(--accent-on));--_tag-font-weight: var(--ds-tag-font-weight, var(--font-weight-bold));--_tag-font-size: var(--ds-tag-font-size, var(--font-size-xs));--_tag-line-height: var(--ds-tag-line-height, var(--line-height-base));--_tag-hover-bg-color: var(--ds-tag-hover-bg-color, var(--surface-muted));--_tag-hover-label-color: var(--ds-tag-hover-label-color, var(--text-primary));--_tag-active-bg-color: var(--ds-tag-active-bg-color, var(--accent-muted));--_tag-active-label-color: var(--ds-tag-active-label-color, var(--accent-strong));--_tag-active-border: var(--ds-tag-active-border, var(--accent));display:inline-flex;align-items:center;gap:var(--tag-gap);padding:var(--_tag-padding-y) var(--_tag-padding-x);border-radius:var(--_tag-radius);background-color:var(--_tag-bg-color);color:var(--_tag-label-color);font:var(--_tag-font-weight) var(--_tag-font-size)/var(--_tag-line-height) var(--font-sans)}:host(.closable){padding-right:var(--tag-pad-x-close)}:host(.neutral){--_tag-bg-color: var(--ds-tag-bg-color, var(--surface-secondary));--_tag-label-color: var(--ds-tag-label-color, var(--text-primary));--_tag-border-color: var(--ds-tag-border-color, var(--border-divider));background-color:var(--_tag-bg-color);color:var(--_tag-label-color);border:var(--border-width-default) solid var(--_tag-border-color);padding:calc(var(--_tag-padding-y) - var(--border-width-default)) calc(var(--_tag-padding-x) - var(--border-width-default))}:host(.neutral.closable){padding-right:calc(var(--tag-pad-x-close) - var(--border-width-default))}:host(.interactive){cursor:pointer;-webkit-user-select:none;user-select:none;transition:background var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard)}:host(.interactive):active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}:host(.interactive:hover):not(.is-active){background-color:var(--_tag-hover-bg-color);color:var(--_tag-hover-label-color)}:host(.interactive.is-active){background-color:var(--_tag-active-bg-color);color:var(--_tag-active-label-color);box-shadow:inset 0 0 0 var(--border-width-default) var(--_tag-active-border)}.close{display:inline-flex;align-items:center;justify-content:center;border:0;color:inherit;font:inherit;cursor:pointer;border-radius:var(--ds-radius-inner);padding:var(--tag-close-pad);margin-left:var(--tag-close-pad);background:color-mix(in oklab,currentcolor calc(var(--opacity-state-hover) * 100%),transparent);transition:background-color var(--duration-fast) var(--ease-standard)}.close:hover{background:color-mix(in oklab,currentcolor calc(var(--opacity-state-pressed) * 100%),transparent)}.close:active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.close:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:1px;animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "ds-icon", inputs: ["name", "size", "stroke", "ariaLabel"] }] });
31
31
  }
32
32
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TagComponent, decorators: [{
33
33
  type: Component,
@@ -37,7 +37,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
37
37
  '[class.interactive]': 'interactive()',
38
38
  '[class.is-active]': 'selected()',
39
39
  '(click)': 'onClick()',
40
- }, template: "<ng-content></ng-content>\n\n@if (closable()) {\n <button\n type=\"button\"\n class=\"close\"\n [attr.aria-label]=\"closeLabelResolved()\"\n (click)=\"$event.stopPropagation(); closed.emit()\">\n <ds-icon\n name=\"x\"\n [size]=\"12\" />\n </button>\n}\n", styles: ["@charset \"UTF-8\";:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_tag-padding-y: var(--ds-tag-padding-y, var(--tag-pad-y));--_tag-padding-x: var(--ds-tag-padding-x, var(--tag-pad-x));--_tag-radius: var(--ds-tag-radius, var(--ds-radius-control));--_tag-bg-color: var(--ds-tag-bg-color, var(--accent));--_tag-label-color: var(--ds-tag-label-color, var(--accent-on));--_tag-font-weight: var(--ds-tag-font-weight, var(--font-weight-bold));--_tag-font-size: var(--ds-tag-font-size, var(--font-size-xs));--_tag-line-height: var(--ds-tag-line-height, var(--line-height-base));--_tag-hover-bg-color: var(--ds-tag-hover-bg-color, var(--surface-muted));--_tag-hover-label-color: var(--ds-tag-hover-label-color, var(--text-primary));--_tag-active-bg-color: var(--ds-tag-active-bg-color, var(--accent-muted));--_tag-active-label-color: var(--ds-tag-active-label-color, var(--accent-strong));--_tag-active-border: var(--ds-tag-active-border, var(--accent));display:inline-flex;align-items:center;gap:var(--tag-gap);padding:var(--_tag-padding-y) var(--_tag-padding-x);border-radius:var(--_tag-radius);background-color:var(--_tag-bg-color);color:var(--_tag-label-color);font:var(--_tag-font-weight) var(--_tag-font-size)/var(--_tag-line-height) var(--font-sans)}:host(.closable){padding-right:var(--tag-pad-x-close)}:host(.neutral){--_tag-bg-color: var(--ds-tag-bg-color, var(--surface-secondary));--_tag-label-color: var(--ds-tag-label-color, var(--text-primary));--_tag-border-color: var(--ds-tag-border-color, var(--border-divider));background-color:var(--_tag-bg-color);color:var(--_tag-label-color);border:var(--border-width-default) solid var(--_tag-border-color);padding:calc(var(--_tag-padding-y) - var(--border-width-default)) calc(var(--_tag-padding-x) - var(--border-width-default))}:host(.neutral.closable){padding-right:calc(var(--tag-pad-x-close) - var(--border-width-default))}:host(.interactive){cursor:pointer;-webkit-user-select:none;user-select:none;transition:background var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard)}:host(.interactive):active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}:host(.interactive:hover):not(.is-active){background-color:var(--_tag-hover-bg-color);color:var(--_tag-hover-label-color)}:host(.interactive.is-active){background-color:var(--_tag-active-bg-color);color:var(--_tag-active-label-color);box-shadow:inset 0 0 0 var(--border-width-default) var(--_tag-active-border)}.close{display:inline-flex;align-items:center;justify-content:center;border:0;color:inherit;font:inherit;cursor:pointer;border-radius:var(--ds-radius-inner);padding:var(--tag-close-pad);margin-left:var(--tag-close-pad);background:color-mix(in oklab,currentcolor calc(var(--opacity-state-hover) * 100%),transparent);transition:background-color var(--duration-fast) var(--ease-standard)}.close:hover{background:color-mix(in oklab,currentcolor calc(var(--opacity-state-pressed) * 100%),transparent)}.close:active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.close:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:1px;animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}\n"] }]
40
+ }, template: "<ng-content></ng-content>\n\n@if (closable()) {\n <button\n type=\"button\"\n class=\"close\"\n [attr.aria-label]=\"closeLabelResolved()\"\n (click)=\"$event.stopPropagation(); closed.emit()\">\n <ds-icon\n name=\"x\"\n [size]=\"12\" />\n </button>\n}\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_tag-padding-y: var(--ds-tag-padding-y, var(--tag-pad-y));--_tag-padding-x: var(--ds-tag-padding-x, var(--tag-pad-x));--_tag-radius: var(--ds-tag-radius, var(--ds-radius-control));--_tag-bg-color: var(--ds-tag-bg-color, var(--accent));--_tag-label-color: var(--ds-tag-label-color, var(--accent-on));--_tag-font-weight: var(--ds-tag-font-weight, var(--font-weight-bold));--_tag-font-size: var(--ds-tag-font-size, var(--font-size-xs));--_tag-line-height: var(--ds-tag-line-height, var(--line-height-base));--_tag-hover-bg-color: var(--ds-tag-hover-bg-color, var(--surface-muted));--_tag-hover-label-color: var(--ds-tag-hover-label-color, var(--text-primary));--_tag-active-bg-color: var(--ds-tag-active-bg-color, var(--accent-muted));--_tag-active-label-color: var(--ds-tag-active-label-color, var(--accent-strong));--_tag-active-border: var(--ds-tag-active-border, var(--accent));display:inline-flex;align-items:center;gap:var(--tag-gap);padding:var(--_tag-padding-y) var(--_tag-padding-x);border-radius:var(--_tag-radius);background-color:var(--_tag-bg-color);color:var(--_tag-label-color);font:var(--_tag-font-weight) var(--_tag-font-size)/var(--_tag-line-height) var(--font-sans)}:host(.closable){padding-right:var(--tag-pad-x-close)}:host(.neutral){--_tag-bg-color: var(--ds-tag-bg-color, var(--surface-secondary));--_tag-label-color: var(--ds-tag-label-color, var(--text-primary));--_tag-border-color: var(--ds-tag-border-color, var(--border-divider));background-color:var(--_tag-bg-color);color:var(--_tag-label-color);border:var(--border-width-default) solid var(--_tag-border-color);padding:calc(var(--_tag-padding-y) - var(--border-width-default)) calc(var(--_tag-padding-x) - var(--border-width-default))}:host(.neutral.closable){padding-right:calc(var(--tag-pad-x-close) - var(--border-width-default))}:host(.interactive){cursor:pointer;-webkit-user-select:none;user-select:none;transition:background var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard)}:host(.interactive):active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}:host(.interactive:hover):not(.is-active){background-color:var(--_tag-hover-bg-color);color:var(--_tag-hover-label-color)}:host(.interactive.is-active){background-color:var(--_tag-active-bg-color);color:var(--_tag-active-label-color);box-shadow:inset 0 0 0 var(--border-width-default) var(--_tag-active-border)}.close{display:inline-flex;align-items:center;justify-content:center;border:0;color:inherit;font:inherit;cursor:pointer;border-radius:var(--ds-radius-inner);padding:var(--tag-close-pad);margin-left:var(--tag-close-pad);background:color-mix(in oklab,currentcolor calc(var(--opacity-state-hover) * 100%),transparent);transition:background-color var(--duration-fast) var(--ease-standard)}.close:hover{background:color-mix(in oklab,currentcolor calc(var(--opacity-state-pressed) * 100%),transparent)}.close:active:not(:disabled,[disabled],.is-disabled){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.close:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:1px;animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}\n"] }]
41
41
  }], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], closeLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeLabel", required: false }] }], closed: [{ type: i0.Output, args: ["closed"] }], toggled: [{ type: i0.Output, args: ["toggled"] }] } });
42
42
 
43
43
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-components-tag.mjs","sources":["../../../src/lib/components/tag/tag.component.ts","../../../src/lib/components/tag/tag.component.html","../../../src/lib/components/tag/ids-group-ltd-ids-design-system-components-tag.ts"],"sourcesContent":["import {\n Component,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n inject,\n input,\n output,\n} from '@angular/core';\nimport { IconComponent } from '@ids-group-ltd/ids-design-system/icons';\nimport { DS_INTL } from '@ids-group-ltd/ids-design-system/core';\nimport type { TagVariant } from './tag.types';\n\n@Component({\n selector: 'ds-tag',\n standalone: true,\n imports: [IconComponent],\n templateUrl: './tag.component.html',\n styleUrl: './tag.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[class.neutral]': \"variant() === 'neutral'\",\n '[class.closable]': 'closable()',\n '[class.interactive]': 'interactive()',\n '[class.is-active]': 'selected()',\n '(click)': 'onClick()',\n },\n})\nexport class TagComponent {\n protected readonly intl = inject(DS_INTL);\n /** Fill style — `solid` for high-emphasis, `neutral` for low-emphasis chips. */\n readonly variant = input<TagVariant>('solid');\n /** Shows a close button that emits `closed`. */\n readonly closable = input(false, { transform: booleanAttribute });\n /** Makes the tag clickable, emitting `toggled` on click. */\n readonly interactive = input(false, { transform: booleanAttribute });\n /** Applies the active/selected visual state. */\n readonly selected = input(false, { transform: booleanAttribute });\n /** Accessible label for the close button (e.g. \"Remove Source filter\").\n * Unset falls back to `DS_INTL.tag.remove`. */\n readonly closeLabel = input<string | null>(null);\n readonly closeLabelResolved = computed(\n () => this.closeLabel() ?? this.intl().tag.remove,\n );\n /** Fires when the close button is clicked. */\n readonly closed = output<void>();\n /** Fires on click when `interactive` is true. */\n readonly toggled = output<void>();\n\n protected onClick(): void {\n if (this.interactive()) {\n this.toggled.emit();\n }\n }\n}\n","<ng-content></ng-content>\n\n@if (closable()) {\n <button\n type=\"button\"\n class=\"close\"\n [attr.aria-label]=\"closeLabelResolved()\"\n (click)=\"$event.stopPropagation(); closed.emit()\">\n <ds-icon\n name=\"x\"\n [size]=\"12\" />\n </button>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MA4Ba,YAAY,CAAA;AACJ,IAAA,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC;;AAEhC,IAAA,OAAO,GAAG,KAAK,CAAa,OAAO,8EAAC;;IAEpC,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;IAExD,WAAW,GAAG,KAAK,CAAC,KAAK,mFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;IAE3D,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AACjE;AACgD;AACvC,IAAA,UAAU,GAAG,KAAK,CAAgB,IAAI,iFAAC;IACvC,kBAAkB,GAAG,QAAQ,CACpC,MAAM,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,MAAM,yFAClD;;IAEQ,MAAM,GAAG,MAAM,EAAQ;;IAEvB,OAAO,GAAG,MAAM,EAAQ;IAEvB,OAAO,GAAA;AACf,QAAA,IAAI,IAAI,CAAC,WAAW,EAAE,EAAE;AACtB,YAAA,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;QACrB;IACF;wGAzBW,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EA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AA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,QAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAYZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAfxB,SAAS;+BACE,QAAQ,EAAA,UAAA,EACN,IAAI,EAAA,OAAA,EACP,CAAC,aAAa,CAAC,EAAA,aAAA,EAGT,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,iBAAiB,EAAE,yBAAyB;AAC5C,wBAAA,kBAAkB,EAAE,YAAY;AAChC,wBAAA,qBAAqB,EAAE,eAAe;AACtC,wBAAA,mBAAmB,EAAE,YAAY;AACjC,wBAAA,SAAS,EAAE,WAAW;AACvB,qBAAA,EAAA,QAAA,EAAA,0RAAA,EAAA,MAAA,EAAA,CAAA,8qIAAA,CAAA,EAAA;;;AE1BH;;AAEG;;;;"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system-components-tag.mjs","sources":["../../../src/lib/components/tag/tag.component.ts","../../../src/lib/components/tag/tag.component.html","../../../src/lib/components/tag/ids-group-ltd-ids-design-system-components-tag.ts"],"sourcesContent":["import {\n Component,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n inject,\n input,\n output,\n} from '@angular/core';\nimport { IconComponent } from '@ids-group-ltd/ids-design-system/icons';\nimport { DS_INTL } from '@ids-group-ltd/ids-design-system/core';\nimport type { TagVariant } from './tag.types';\n\n@Component({\n selector: 'ds-tag',\n standalone: true,\n imports: [IconComponent],\n templateUrl: './tag.component.html',\n styleUrl: './tag.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n '[class.neutral]': \"variant() === 'neutral'\",\n '[class.closable]': 'closable()',\n '[class.interactive]': 'interactive()',\n '[class.is-active]': 'selected()',\n '(click)': 'onClick()',\n },\n})\nexport class TagComponent {\n protected readonly intl = inject(DS_INTL);\n /** `solid` for high emphasis, `neutral` for low-emphasis chips. */\n readonly variant = input<TagVariant>('solid');\n /** Shows a close button that emits `closed`. */\n readonly closable = input(false, { transform: booleanAttribute });\n /** Makes the tag clickable, emitting `toggled`. */\n readonly interactive = input(false, { transform: booleanAttribute });\n /** Applies the active/selected visual state. */\n readonly selected = input(false, { transform: booleanAttribute });\n /** Accessible label of the close button, e.g. \"Remove Source filter\". Unset falls back to\n * `DS_INTL.tag.remove`. */\n readonly closeLabel = input<string | null>(null);\n readonly closeLabelResolved = computed(\n () => this.closeLabel() ?? this.intl().tag.remove,\n );\n /** Fires when the close button is clicked. */\n readonly closed = output<void>();\n /** Fires on click when `interactive`. */\n readonly toggled = output<void>();\n\n protected onClick(): void {\n if (this.interactive()) {\n this.toggled.emit();\n }\n }\n}\n","<ng-content></ng-content>\n\n@if (closable()) {\n <button\n type=\"button\"\n class=\"close\"\n [attr.aria-label]=\"closeLabelResolved()\"\n (click)=\"$event.stopPropagation(); closed.emit()\">\n <ds-icon\n name=\"x\"\n [size]=\"12\" />\n </button>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MA4Ba,YAAY,CAAA;AACJ,IAAA,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC;;AAEhC,IAAA,OAAO,GAAG,KAAK,CAAa,OAAO,8EAAC;;IAEpC,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;IAExD,WAAW,GAAG,KAAK,CAAC,KAAK,mFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;IAE3D,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AACjE;AAC4B;AACnB,IAAA,UAAU,GAAG,KAAK,CAAgB,IAAI,iFAAC;IACvC,kBAAkB,GAAG,QAAQ,CACpC,MAAM,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,MAAM,yFAClD;;IAEQ,MAAM,GAAG,MAAM,EA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,EAAA,EAAA,eAAA,EAAA,yBAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC5BzB,0RAaA,EAAA,MAAA,EAAA,CAAA,2pIAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDGY,aAAa,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,QAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAYZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAfxB,SAAS;+BACE,QAAQ,EAAA,UAAA,EACN,IAAI,EAAA,OAAA,EACP,CAAC,aAAa,CAAC,EAAA,aAAA,EAGT,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,iBAAiB,EAAE,yBAAyB;AAC5C,wBAAA,kBAAkB,EAAE,YAAY;AAChC,wBAAA,qBAAqB,EAAE,eAAe;AACtC,wBAAA,mBAAmB,EAAE,YAAY;AACjC,wBAAA,SAAS,EAAE,WAAW;AACvB,qBAAA,EAAA,QAAA,EAAA,0RAAA,EAAA,MAAA,EAAA,CAAA,2pIAAA,CAAA,EAAA;;;AE1BH;;AAEG;;;;"}
@@ -12,8 +12,7 @@ class TextareaComponent extends DsControlValueAccessor {
12
12
  overflowMirror = viewChild('overflowMirror', ...(ngDevMode ? [{ debugName: "overflowMirror" }] : /* istanbul ignore next */ []));
13
13
  /** Text value, two-way bound. */
14
14
  value = model('', ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
15
- /** Field height — sm/md/lg.
16
- * Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
15
+ /** Field height; falls back to `DS_CONFIG.control.size`, then `'md'`. */
17
16
  size = input(null, ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
18
17
  sizeResolved = resolveWithConfig(this.size, (config) => config.control?.size, 'md');
19
18
  /** Label shown above the field. */
@@ -24,25 +23,19 @@ class TextareaComponent extends DsControlValueAccessor {
24
23
  disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
25
24
  /** Prevents editing while still allowing focus and selection. */
26
25
  readOnly = input(false, { ...(ngDevMode ? { debugName: "readOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
27
- /**
28
- * The contract spelling of `readOnly`, a second input because signal forms binds
29
- * by NAME — a `readonly()` rule was reaching nothing before this existed.
30
- */
26
+ /** The contract spelling of `readOnly`: signal forms binds by NAME, so a `readonly()` rule reaches nothing without it. */
31
27
  readonlyBinding = input(false, { ...(ngDevMode ? { debugName: "readonlyBinding" } : /* istanbul ignore next */ {}),
32
- // The alias IS the point: signal forms binds by name, and the contract
33
- // spells it `readonly` where the DS spells it `readOnly`.
34
28
  // eslint-disable-next-line @angular-eslint/no-input-rename
35
29
  alias: 'readonly',
36
30
  transform: booleanAttribute });
37
31
  isReadOnly = computed(() => this.readOnly() || this.readonlyBinding(), ...(ngDevMode ? [{ debugName: "isReadOnly" }] : /* istanbul ignore next */ []));
38
- /** Confirmation text, shown when there is no error or warning — and it paints
39
- * the field's success border. A string like `warning`: the text IS the state. */
32
+ /** Confirmation text, shown when there is no error or warning; paints the success border. */
40
33
  success = input('', { ...(ngDevMode ? { debugName: "success" } : /* istanbul ignore next */ {}), transform: trimmedText });
41
- /** Marks the field required — shows an asterisk and sets `aria-required`. */
34
+ /** Marks the field required - shows an asterisk and sets `aria-required`. */
42
35
  required = input(false, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
43
36
  /** Shows an "(optional)" marker next to the label (ignored when `required`). */
44
37
  optional = input(false, { ...(ngDevMode ? { debugName: "optional" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
45
- /** Native `rows` attribute — visible line count. */
38
+ /** Native `rows` attribute - visible line count. */
46
39
  rows = input(3, ...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
47
40
  /** Native `name` attribute. */
48
41
  name = input(null, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
@@ -52,25 +45,18 @@ class TextareaComponent extends DsControlValueAccessor {
52
45
  minRows = input(null, ...(ngDevMode ? [{ debugName: "minRows" }] : /* istanbul ignore next */ []));
53
46
  /** Maximum height in lines when `autosize`, beyond which it scrolls. */
54
47
  maxRows = input(null, ...(ngDevMode ? [{ debugName: "maxRows" }] : /* istanbul ignore next */ []));
55
- /** Native CSS `resize` behaviour — ignored when `autosize`. */
48
+ /** Native CSS `resize` behaviour - ignored when `autosize`. */
56
49
  resize = input('vertical', ...(ngDevMode ? [{ debugName: "resize" }] : /* istanbul ignore next */ []));
57
50
  /** Accessible name when no visible `label` is provided. */
58
51
  ariaLabel = input(null, ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
59
- /** Character limit - shows a live "{current}/{max}" counter below the field.
60
- * `maxLengthMode` decides what happens at the limit. Counts `value.length`, the
61
- * UTF-16 units the native `maxlength` counts, whitespace included, unless
62
- * `countTrimmed` is set. */
52
+ /** Character limit with a live "{current}/{max}" counter; `maxLengthMode` decides what happens at the limit.
53
+ * Counts `value.length` (UTF-16 units, as native `maxlength` does) unless `countTrimmed` is set. */
63
54
  maxLength = input(null, { ...(ngDevMode ? { debugName: "maxLength" } : /* istanbul ignore next */ {}), transform: optionalBound });
64
- /** `'hard'` applies the native maxlength attribute, so typing and paste stop at
65
- * `maxLength`. `'soft'` lets the text run past it: the counter turns red, the
66
- * characters past the limit are highlighted, and the field reports invalid
67
- * (`aria-invalid`, with the counter as its description). Blocking a save on
68
- * it is the form's job. */
55
+ /** `'hard'` applies the native maxlength attribute. `'soft'` lets the text run past it: the counter turns red, the excess is
56
+ * highlighted and the field reports invalid (`aria-invalid`). */
69
57
  maxLengthMode = input('hard', ...(ngDevMode ? [{ debugName: "maxLengthMode" }] : /* istanbul ignore next */ []));
70
- /** Leaves whitespace at either end of the text out of the counter, the soft-limit
71
- * state and the highlight, for a value the server stores trimmed. Whitespace
72
- * between words still counts. The native `maxlength` of `maxLengthMode="hard"`
73
- * counts every character regardless. */
58
+ /** Leaves leading and trailing whitespace out of the counter, soft-limit state and highlight.
59
+ * The native `maxlength` of `maxLengthMode="hard"` counts every character regardless. */
74
60
  countTrimmed = input(false, { ...(ngDevMode ? { debugName: "countTrimmed" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
75
61
  countedRange = computed(() => {
76
62
  const value = this.value();
@@ -94,10 +80,8 @@ class TextareaComponent extends DsControlValueAccessor {
94
80
  const value = this.value();
95
81
  const { end } = this.countedRange();
96
82
  let splitAt = end - this.overLimitBy();
97
- // A limit inside a surrogate pair marks the whole pair: half a pair renders
98
- // at another width and shifts every mirrored line after it.
99
- // A limit inside an emoji ZWJ sequence still shifts them; splitting on
100
- // Intl.Segmenter graphemes would not, once every supported Firefox has it (125+).
83
+ // A limit inside a surrogate pair marks the whole pair: half a pair renders at another width and shifts every mirrored line after it.
84
+ // A limit inside an emoji ZWJ sequence still shifts them; Intl.Segmenter graphemes would not (Firefox 125+).
101
85
  const previous = value.charCodeAt(splitAt - 1);
102
86
  if (previous >= 0xd800 && previous <= 0xdbff) {
103
87
  splitAt -= 1;
@@ -108,18 +92,16 @@ class TextareaComponent extends DsControlValueAccessor {
108
92
  after: value.slice(end),
109
93
  };
110
94
  }, ...(ngDevMode ? [{ debugName: "overflowParts" }] : /* istanbul ignore next */ []));
111
- // Signal forms binds these by name; without them a `pattern()` or `minLength()`
112
- // rule validated in the form model while the native element advertised nothing.
95
+ // Signal forms binds these by name; without them the native element advertises no rule.
113
96
  /** Native `minlength` attribute. */
114
97
  minLength = input(null, { ...(ngDevMode ? { debugName: "minLength" } : /* istanbul ignore next */ {}), transform: optionalBound });
115
- /** Native `pattern` attribute — signal forms sends the schema's RegExp list. */
98
+ /** Native `pattern` attribute - signal forms sends the schema's RegExp list. */
116
99
  pattern = input([], { ...(ngDevMode ? { debugName: "pattern" } : /* istanbul ignore next */ {}), transform: (value) => value === undefined
117
100
  ? []
118
101
  : typeof value === 'string'
119
102
  ? [new RegExp(value)]
120
103
  : value });
121
- /** A native `pattern` takes ONE expression; the schema can carry several, so
122
- * they are ANDed with lookaheads rather than silently dropping all but one. */
104
+ /** A native `pattern` takes one expression; several are ANDed with lookaheads. */
123
105
  patternAttribute = computed(() => {
124
106
  const expressions = this.pattern();
125
107
  if (!expressions.length) {
@@ -145,7 +127,6 @@ class TextareaComponent extends DsControlValueAccessor {
145
127
  controlState = this.fieldMessage.controlState;
146
128
  invalidResolved = this.fieldMessage.invalid;
147
129
  resolvedAriaLabel = computed(() => this.label() ? null : this.ariaLabel() || this.placeholder() || null, ...(ngDevMode ? [{ debugName: "resolvedAriaLabel" }] : /* istanbul ignore next */ []));
148
- /** Effective disabled — own `disabled` input OR the reactive-forms state. */
149
130
  isDisabled = computed(() => this.disabled() || this.formDisabled(), ...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
150
131
  counterId = computed(() => this.maxLength() !== null ? `${this.uid}-counter` : null, ...(ngDevMode ? [{ debugName: "counterId" }] : /* istanbul ignore next */ []));
151
132
  describedBy = computed(() => [this.hintId(), this.overLimitBy() > 0 ? this.counterId() : null]
@@ -179,14 +160,12 @@ class TextareaComponent extends DsControlValueAccessor {
179
160
  }, ...(ngDevMode ? [{ debugName: "wrapperClasses" }] : /* istanbul ignore next */ []));
180
161
  autosizeMinHeight = computed(() => this.autosize() && this.minRows() ? `${this.minRows()}lh` : null, ...(ngDevMode ? [{ debugName: "autosizeMinHeight" }] : /* istanbul ignore next */ []));
181
162
  autosizeMaxHeight = computed(() => this.autosize() && this.maxRows() ? `${this.maxRows()}lh` : null, ...(ngDevMode ? [{ debugName: "autosizeMaxHeight" }] : /* istanbul ignore next */ []));
182
- // Autosize grows with content, so a manual resize handle conflicts — force none.
183
163
  effectiveResize = computed(() => this.autosize() ? 'none' : this.resize(), ...(ngDevMode ? [{ debugName: "effectiveResize" }] : /* istanbul ignore next */ []));
184
164
  constructor() {
185
165
  super();
186
166
  afterRenderEffect({
187
167
  write: () => {
188
- // The textarea scrolls on input before the mirror re-renders the new
189
- // text, so the `(scroll)` sync alone leaves the mirror behind.
168
+ // The textarea scrolls on input before the mirror re-renders, so the `(scroll)` sync alone leaves the mirror behind.
190
169
  this.overflowParts();
191
170
  this.syncOverflowScroll();
192
171
  },
@@ -199,8 +178,7 @@ class TextareaComponent extends DsControlValueAccessor {
199
178
  mirror.scrollTop = control.scrollTop;
200
179
  }
201
180
  }
202
- /** Move keyboard focus to the native textarea — public so a host can drive it
203
- * deliberately, e.g. focusing the first invalid field on a failed submit. */
181
+ /** Moves keyboard focus to the native textarea. */
204
182
  focus(options) {
205
183
  this.control()?.nativeElement.focus(options);
206
184
  }
@@ -213,10 +191,8 @@ class TextareaComponent extends DsControlValueAccessor {
213
191
  return this.control()?.nativeElement.selectionEnd ?? 0;
214
192
  }
215
193
  /**
216
- * Mirrors `HTMLTextAreaElement.setSelectionRange`. Does not move focus - call
217
- * `focus()` first when the selection has to be visible. A value written through
218
- * `value` reaches the element a microtask later and drops the caret to the end,
219
- * so after `value.set(...)` set the range from a `setTimeout`, not synchronously.
194
+ * Mirrors `HTMLTextAreaElement.setSelectionRange`; does not move focus. A value written through `value` reaches the
195
+ * element a microtask later and drops the caret to the end, so after `value.set(...)` set the range from a `setTimeout`.
220
196
  */
221
197
  setSelectionRange(start, end, direction) {
222
198
  this.control()?.nativeElement.setSelectionRange(start, end, direction);
@@ -232,7 +208,7 @@ class TextareaComponent extends DsControlValueAccessor {
232
208
  useExisting: forwardRef(() => TextareaComponent),
233
209
  multi: true,
234
210
  },
235
- ], viewQueries: [{ propertyName: "control", first: true, predicate: ["control"], descendants: true, isSignal: true }, { propertyName: "overflowMirror", first: true, predicate: ["overflowMirror"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n @if (overLimitBy() > 0) {\n <div\n #overflowMirror\n class=\"overflow-mirror\"\n aria-hidden=\"true\">\n <span [textContent]=\"overflowParts().within\"></span>\n\n <mark [textContent]=\"overflowParts().over\"></mark>\n\n <span [textContent]=\"overflowParts().after\"></span>\n </div>\n }\n\n <textarea\n #control\n [id]=\"uid\"\n [rows]=\"rows()\"\n [attr.name]=\"name()\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.maxlength]=\"nativeMaxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [style.resize]=\"effectiveResize()\"\n [style.min-height]=\"autosizeMinHeight()\"\n [style.max-height]=\"autosizeMaxHeight()\"\n [style.overflow-y]=\"autosize() && maxRows() ? 'auto' : null\"\n [(ngModel)]=\"value\"\n (blur)=\"markTouched()\"\n (scroll)=\"syncOverflowScroll()\">\n </textarea>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [class.over-limit]=\"overLimitBy() > 0\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n @if (overLimitBy() > 0) {\n <span class=\"visually-hidden\">\n {{ intl().field.overLimit(overLimitBy()) }}\n </span>\n }\n </span>\n }\n </div>\n }\n</div>\n", styles: ["@charset \"UTF-8\";:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));--_input-bg-color: var(--ds-input-bg-color, var(--surface-default));--_input-border: var(--ds-input-border, var(--_field-border-color));--_input-radius: var(--ds-input-radius, var(--ds-radius-control));--_input-padding-y: var(--ds-input-padding-y, var(--space-3));--_input-padding-x: var(--ds-input-padding-x, var(--field-pad-x));--_input-text-color: var(--ds-input-text-color, var(--_field-text-color));--_input-placeholder: var(--ds-input-placeholder, var(--_field-placeholder-color));--_input-border-hover: var(--ds-input-border-hover, var(--_field-border-color-hover));--_input-border-focus: var(--ds-input-border-focus, var(--_field-border-color-focus));--_input-focus-shadow: var(--ds-input-focus-shadow, var(--ds-field-focus-shadow));--_input-focus-shadow-error: var(--ds-input-focus-shadow-error, var(--ds-field-focus-shadow-error));--_input-bg-color-disabled: var(--ds-input-bg-color-disabled, var(--surface-disabled));--_input-bg-color-error: var(--ds-input-bg-color-error, var(--error-subtitle));--_input-border-error: var(--ds-input-border-error, var(--error));--_input-border-success: var(--ds-input-border-success, var(--success));--_input-font-size: var(--ds-input-font-size, var(--_field-font-size));--_textarea-font: var(--font-weight-regular) var(--_input-font-size) / var(--line-height-base) var(--font-sans);display:block}.field{display:flex;flex-direction:column;gap:var(--field-label-gap);width:100%}.field .label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing)}.field .label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.field .label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.field .control{display:flex;align-items:stretch;gap:var(--space-2);background-color:var(--_input-bg-color);border:var(--border-width-default) solid var(--_input-border);border-radius:var(--_input-radius);padding:0 var(--_input-padding-x);height:auto;transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard),background var(--duration-fast) var(--ease-standard)}.field .control textarea{flex:1;min-width:0;appearance:none;border:0}@media not (forced-colors:active){.field .control textarea{outline:none}}.field .control textarea{background:transparent;font:var(--_textarea-font);color:var(--_input-text-color);min-height:var(--field-textarea-rows-min, 60px);padding:var(--_input-padding-y) 0}.field .control textarea::placeholder{color:var(--_input-placeholder)}.field .control:hover{border-color:var(--_input-border-hover)}.field .control:focus-within{border-color:var(--_input-border-focus);box-shadow:var(--_input-focus-shadow)}@media not (forced-colors:active){.field .control textarea:where(:focus-visible){outline:none}}.field.disabled .control{background-color:var(--_input-bg-color-disabled);border-color:var(--border-disabled)}.field.disabled textarea{color:var(--text-disabled)}.field.read-only .control{background:var(--surface-secondary)}.field.read-only .control textarea{cursor:default}.field.sm .control{padding:0 var(--space-2)}.field.lg .control{padding:0 var(--space-3)}.field.autosize .control textarea{field-sizing:content;overflow:hidden}.field .field-footer{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2)}.field .char-counter{font-size:var(--font-size-xs);color:var(--text-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;margin-left:auto}.field .char-counter.over-limit{position:relative;color:var(--error-text)}.field .char-counter .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.field.soft-limit .control{position:relative}.field.soft-limit .control textarea{position:relative;scrollbar-gutter:stable}.field .overflow-mirror{position:absolute;inset:0;box-sizing:border-box;padding-inline:inherit;overflow:hidden;scrollbar-gutter:stable;font:var(--_textarea-font);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:pre-wrap;overflow-wrap:break-word;color:transparent;pointer-events:none;-webkit-user-select:none;user-select:none}.field .overflow-mirror:after{content:\" \"}.field .overflow-mirror mark{color:transparent;background-color:var(--error-highlight);border-radius:var(--ds-radius-inner)}@media(forced-colors:active){.field .overflow-mirror mark{forced-color-adjust:none;background-color:transparent;text-decoration:underline wavy CanvasText;text-decoration-skip-ink:none}}.field .control :is(textarea,.overflow-mirror){padding-block:var(--_input-padding-y)}.field.sm .control :is(textarea,.overflow-mirror){padding-block:var(--space-2)}.field.lg .control :is(textarea,.overflow-mirror){padding-block:var(--space-4)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-error);background-color:var(--_input-bg-color-error)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--_input-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-success)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: FieldMessageComponent, selector: "ds-field-message", inputs: ["text", "state", "messageId", "icon", "reserve"] }, { kind: "directive", type: FieldClickFocusDirective, selector: "[dsFieldClickFocus]" }] });
211
+ ], viewQueries: [{ propertyName: "control", first: true, predicate: ["control"], descendants: true, isSignal: true }, { propertyName: "overflowMirror", first: true, predicate: ["overflowMirror"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n @if (overLimitBy() > 0) {\n <div\n #overflowMirror\n class=\"overflow-mirror\"\n aria-hidden=\"true\">\n <span [textContent]=\"overflowParts().within\"></span>\n\n <mark [textContent]=\"overflowParts().over\"></mark>\n\n <span [textContent]=\"overflowParts().after\"></span>\n </div>\n }\n\n <textarea\n #control\n [id]=\"uid\"\n [rows]=\"rows()\"\n [attr.name]=\"name()\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.maxlength]=\"nativeMaxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [style.resize]=\"effectiveResize()\"\n [style.min-height]=\"autosizeMinHeight()\"\n [style.max-height]=\"autosizeMaxHeight()\"\n [style.overflow-y]=\"autosize() && maxRows() ? 'auto' : null\"\n [(ngModel)]=\"value\"\n (blur)=\"markTouched()\"\n (scroll)=\"syncOverflowScroll()\">\n </textarea>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [class.over-limit]=\"overLimitBy() > 0\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n @if (overLimitBy() > 0) {\n <span class=\"visually-hidden\">\n {{ intl().field.overLimit(overLimitBy()) }}\n </span>\n }\n </span>\n }\n </div>\n }\n</div>\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));--_input-bg-color: var(--ds-input-bg-color, var(--surface-default));--_input-border: var(--ds-input-border, var(--_field-border-color));--_input-radius: var(--ds-input-radius, var(--ds-radius-control));--_input-padding-y: var(--ds-input-padding-y, var(--space-3));--_input-padding-x: var(--ds-input-padding-x, var(--field-pad-x));--_input-text-color: var(--ds-input-text-color, var(--_field-text-color));--_input-placeholder: var(--ds-input-placeholder, var(--_field-placeholder-color));--_input-border-hover: var(--ds-input-border-hover, var(--_field-border-color-hover));--_input-border-focus: var(--ds-input-border-focus, var(--_field-border-color-focus));--_input-focus-shadow: var(--ds-input-focus-shadow, var(--ds-field-focus-shadow));--_input-focus-shadow-error: var(--ds-input-focus-shadow-error, var(--ds-field-focus-shadow-error));--_input-bg-color-disabled: var(--ds-input-bg-color-disabled, var(--surface-disabled));--_input-bg-color-error: var(--ds-input-bg-color-error, var(--error-subtitle));--_input-border-error: var(--ds-input-border-error, var(--error));--_input-border-success: var(--ds-input-border-success, var(--success));--_input-font-size: var(--ds-input-font-size, var(--_field-font-size));--_textarea-font: var(--font-weight-regular) var(--_input-font-size) / var(--line-height-base) var(--font-sans);display:block}.field{display:flex;flex-direction:column;gap:var(--field-label-gap);width:100%}.field .label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing)}.field .label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.field .label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.field .control{display:flex;align-items:stretch;gap:var(--space-2);background-color:var(--_input-bg-color);border:var(--border-width-default) solid var(--_input-border);border-radius:var(--_input-radius);padding:0 var(--_input-padding-x);height:auto;transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard),background var(--duration-fast) var(--ease-standard)}.field .control textarea{flex:1;min-width:0;appearance:none;border:0}@media not (forced-colors:active){.field .control textarea{outline:none}}.field .control textarea{background:transparent;font:var(--_textarea-font);color:var(--_input-text-color);min-height:var(--field-textarea-rows-min, 60px);padding:var(--_input-padding-y) 0}.field .control textarea::placeholder{color:var(--_input-placeholder)}.field .control:hover{border-color:var(--_input-border-hover)}.field .control:focus-within{border-color:var(--_input-border-focus);box-shadow:var(--_input-focus-shadow)}@media not (forced-colors:active){.field .control textarea:where(:focus-visible){outline:none}}.field.disabled .control{background-color:var(--_input-bg-color-disabled);border-color:var(--border-disabled)}.field.disabled textarea{color:var(--text-disabled)}.field.read-only .control{background:var(--surface-secondary)}.field.read-only .control textarea{cursor:default}.field.sm .control{padding:0 var(--space-2)}.field.lg .control{padding:0 var(--space-3)}.field.autosize .control textarea{field-sizing:content;overflow:hidden}.field .field-footer{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2)}.field .char-counter{font-size:var(--font-size-xs);color:var(--text-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;margin-left:auto}.field .char-counter.over-limit{position:relative;color:var(--error-text)}.field .char-counter .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.field.soft-limit .control{position:relative}.field.soft-limit .control textarea{position:relative;scrollbar-gutter:stable}.field .overflow-mirror{position:absolute;inset:0;box-sizing:border-box;padding-inline:inherit;overflow:hidden;scrollbar-gutter:stable;font:var(--_textarea-font);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:pre-wrap;overflow-wrap:break-word;color:transparent;pointer-events:none;-webkit-user-select:none;user-select:none}.field .overflow-mirror:after{content:\" \"}.field .overflow-mirror mark{color:transparent;background-color:var(--error-highlight);border-radius:var(--ds-radius-inner)}@media(forced-colors:active){.field .overflow-mirror mark{forced-color-adjust:none;background-color:transparent;text-decoration:underline wavy CanvasText;text-decoration-skip-ink:none}}.field .control :is(textarea,.overflow-mirror){padding-block:var(--_input-padding-y)}.field.sm .control :is(textarea,.overflow-mirror){padding-block:var(--space-2)}.field.lg .control :is(textarea,.overflow-mirror){padding-block:var(--space-4)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-error);background-color:var(--_input-bg-color-error)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--_input-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-success)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: FieldMessageComponent, selector: "ds-field-message", inputs: ["text", "state", "messageId", "icon", "reserve"] }, { kind: "directive", type: FieldClickFocusDirective, selector: "[dsFieldClickFocus]" }] });
236
212
  }
237
213
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TextareaComponent, decorators: [{
238
214
  type: Component,
@@ -244,7 +220,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
244
220
  useExisting: forwardRef(() => TextareaComponent),
245
221
  multi: true,
246
222
  },
247
- ], template: "<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n @if (overLimitBy() > 0) {\n <div\n #overflowMirror\n class=\"overflow-mirror\"\n aria-hidden=\"true\">\n <span [textContent]=\"overflowParts().within\"></span>\n\n <mark [textContent]=\"overflowParts().over\"></mark>\n\n <span [textContent]=\"overflowParts().after\"></span>\n </div>\n }\n\n <textarea\n #control\n [id]=\"uid\"\n [rows]=\"rows()\"\n [attr.name]=\"name()\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.maxlength]=\"nativeMaxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [style.resize]=\"effectiveResize()\"\n [style.min-height]=\"autosizeMinHeight()\"\n [style.max-height]=\"autosizeMaxHeight()\"\n [style.overflow-y]=\"autosize() && maxRows() ? 'auto' : null\"\n [(ngModel)]=\"value\"\n (blur)=\"markTouched()\"\n (scroll)=\"syncOverflowScroll()\">\n </textarea>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [class.over-limit]=\"overLimitBy() > 0\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n @if (overLimitBy() > 0) {\n <span class=\"visually-hidden\">\n {{ intl().field.overLimit(overLimitBy()) }}\n </span>\n }\n </span>\n }\n </div>\n }\n</div>\n", styles: ["@charset \"UTF-8\";:where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));--_input-bg-color: var(--ds-input-bg-color, var(--surface-default));--_input-border: var(--ds-input-border, var(--_field-border-color));--_input-radius: var(--ds-input-radius, var(--ds-radius-control));--_input-padding-y: var(--ds-input-padding-y, var(--space-3));--_input-padding-x: var(--ds-input-padding-x, var(--field-pad-x));--_input-text-color: var(--ds-input-text-color, var(--_field-text-color));--_input-placeholder: var(--ds-input-placeholder, var(--_field-placeholder-color));--_input-border-hover: var(--ds-input-border-hover, var(--_field-border-color-hover));--_input-border-focus: var(--ds-input-border-focus, var(--_field-border-color-focus));--_input-focus-shadow: var(--ds-input-focus-shadow, var(--ds-field-focus-shadow));--_input-focus-shadow-error: var(--ds-input-focus-shadow-error, var(--ds-field-focus-shadow-error));--_input-bg-color-disabled: var(--ds-input-bg-color-disabled, var(--surface-disabled));--_input-bg-color-error: var(--ds-input-bg-color-error, var(--error-subtitle));--_input-border-error: var(--ds-input-border-error, var(--error));--_input-border-success: var(--ds-input-border-success, var(--success));--_input-font-size: var(--ds-input-font-size, var(--_field-font-size));--_textarea-font: var(--font-weight-regular) var(--_input-font-size) / var(--line-height-base) var(--font-sans);display:block}.field{display:flex;flex-direction:column;gap:var(--field-label-gap);width:100%}.field .label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing)}.field .label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.field .label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.field .control{display:flex;align-items:stretch;gap:var(--space-2);background-color:var(--_input-bg-color);border:var(--border-width-default) solid var(--_input-border);border-radius:var(--_input-radius);padding:0 var(--_input-padding-x);height:auto;transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard),background var(--duration-fast) var(--ease-standard)}.field .control textarea{flex:1;min-width:0;appearance:none;border:0}@media not (forced-colors:active){.field .control textarea{outline:none}}.field .control textarea{background:transparent;font:var(--_textarea-font);color:var(--_input-text-color);min-height:var(--field-textarea-rows-min, 60px);padding:var(--_input-padding-y) 0}.field .control textarea::placeholder{color:var(--_input-placeholder)}.field .control:hover{border-color:var(--_input-border-hover)}.field .control:focus-within{border-color:var(--_input-border-focus);box-shadow:var(--_input-focus-shadow)}@media not (forced-colors:active){.field .control textarea:where(:focus-visible){outline:none}}.field.disabled .control{background-color:var(--_input-bg-color-disabled);border-color:var(--border-disabled)}.field.disabled textarea{color:var(--text-disabled)}.field.read-only .control{background:var(--surface-secondary)}.field.read-only .control textarea{cursor:default}.field.sm .control{padding:0 var(--space-2)}.field.lg .control{padding:0 var(--space-3)}.field.autosize .control textarea{field-sizing:content;overflow:hidden}.field .field-footer{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2)}.field .char-counter{font-size:var(--font-size-xs);color:var(--text-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;margin-left:auto}.field .char-counter.over-limit{position:relative;color:var(--error-text)}.field .char-counter .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.field.soft-limit .control{position:relative}.field.soft-limit .control textarea{position:relative;scrollbar-gutter:stable}.field .overflow-mirror{position:absolute;inset:0;box-sizing:border-box;padding-inline:inherit;overflow:hidden;scrollbar-gutter:stable;font:var(--_textarea-font);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:pre-wrap;overflow-wrap:break-word;color:transparent;pointer-events:none;-webkit-user-select:none;user-select:none}.field .overflow-mirror:after{content:\" \"}.field .overflow-mirror mark{color:transparent;background-color:var(--error-highlight);border-radius:var(--ds-radius-inner)}@media(forced-colors:active){.field .overflow-mirror mark{forced-color-adjust:none;background-color:transparent;text-decoration:underline wavy CanvasText;text-decoration-skip-ink:none}}.field .control :is(textarea,.overflow-mirror){padding-block:var(--_input-padding-y)}.field.sm .control :is(textarea,.overflow-mirror){padding-block:var(--space-2)}.field.lg .control :is(textarea,.overflow-mirror){padding-block:var(--space-4)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-error);background-color:var(--_input-bg-color-error)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--_input-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-success)}\n"] }]
223
+ ], template: "<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n @if (overLimitBy() > 0) {\n <div\n #overflowMirror\n class=\"overflow-mirror\"\n aria-hidden=\"true\">\n <span [textContent]=\"overflowParts().within\"></span>\n\n <mark [textContent]=\"overflowParts().over\"></mark>\n\n <span [textContent]=\"overflowParts().after\"></span>\n </div>\n }\n\n <textarea\n #control\n [id]=\"uid\"\n [rows]=\"rows()\"\n [attr.name]=\"name()\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.maxlength]=\"nativeMaxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [style.resize]=\"effectiveResize()\"\n [style.min-height]=\"autosizeMinHeight()\"\n [style.max-height]=\"autosizeMaxHeight()\"\n [style.overflow-y]=\"autosize() && maxRows() ? 'auto' : null\"\n [(ngModel)]=\"value\"\n (blur)=\"markTouched()\"\n (scroll)=\"syncOverflowScroll()\">\n </textarea>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [class.over-limit]=\"overLimitBy() > 0\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n @if (overLimitBy() > 0) {\n <span class=\"visually-hidden\">\n {{ intl().field.overLimit(overLimitBy()) }}\n </span>\n }\n </span>\n }\n </div>\n }\n</div>\n", styles: [":where(:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}@keyframes ds-focus-ring-in{0%{outline-color:transparent}}:root[data-focus=ring]{--ds-field-focus-shadow: var(--focus-ring);--ds-field-focus-shadow-error: var(--focus-ring-error)}:root[data-focus=edge]{--focus-ring-offset: 0px;--ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);--ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error)}[data-focus=inset]{--focus-ring-offset: calc(-1 * var(--focus-ring-width));--ds-field-focus-shadow: var(--focus-ring-inset);--ds-field-focus-shadow-error: var(--focus-ring-inset-error)}@media(forced-colors:active){:where(:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_field-border-color: var(--ds-field-border-color, var(--border-default));--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));--_field-text-color: var(--ds-field-text-color, var(--text-primary));--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));--_field-font-size: var(--ds-field-font-size, var(--font-size-s));--_input-bg-color: var(--ds-input-bg-color, var(--surface-default));--_input-border: var(--ds-input-border, var(--_field-border-color));--_input-radius: var(--ds-input-radius, var(--ds-radius-control));--_input-padding-y: var(--ds-input-padding-y, var(--space-3));--_input-padding-x: var(--ds-input-padding-x, var(--field-pad-x));--_input-text-color: var(--ds-input-text-color, var(--_field-text-color));--_input-placeholder: var(--ds-input-placeholder, var(--_field-placeholder-color));--_input-border-hover: var(--ds-input-border-hover, var(--_field-border-color-hover));--_input-border-focus: var(--ds-input-border-focus, var(--_field-border-color-focus));--_input-focus-shadow: var(--ds-input-focus-shadow, var(--ds-field-focus-shadow));--_input-focus-shadow-error: var(--ds-input-focus-shadow-error, var(--ds-field-focus-shadow-error));--_input-bg-color-disabled: var(--ds-input-bg-color-disabled, var(--surface-disabled));--_input-bg-color-error: var(--ds-input-bg-color-error, var(--error-subtitle));--_input-border-error: var(--ds-input-border-error, var(--error));--_input-border-success: var(--ds-input-border-success, var(--success));--_input-font-size: var(--ds-input-font-size, var(--_field-font-size));--_textarea-font: var(--font-weight-regular) var(--_input-font-size) / var(--line-height-base) var(--font-sans);display:block}.field{display:flex;flex-direction:column;gap:var(--field-label-gap);width:100%}.field .label{--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));--_field-label-color: var(--ds-field-label-color, var(--text-secondary));--_field-label-text-transform: var(--ds-field-label-text-transform, none);--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);display:flex;align-items:center;gap:var(--field-gap-req);font:var(--_field-label-font-weight) var(--_field-label-font-size)/var(--line-height-base) var(--font-sans);color:var(--_field-label-color);text-transform:var(--_field-label-text-transform);letter-spacing:var(--_field-label-letter-spacing)}.field .label .req{color:var(--error);font-weight:var(--font-weight-semibold)}.field .label .optional-marker{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}.field .control{display:flex;align-items:stretch;gap:var(--space-2);background-color:var(--_input-bg-color);border:var(--border-width-default) solid var(--_input-border);border-radius:var(--_input-radius);padding:0 var(--_input-padding-x);height:auto;transition:border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard),background var(--duration-fast) var(--ease-standard)}.field .control textarea{flex:1;min-width:0;appearance:none;border:0}@media not (forced-colors:active){.field .control textarea{outline:none}}.field .control textarea{background:transparent;font:var(--_textarea-font);color:var(--_input-text-color);min-height:var(--field-textarea-rows-min, 60px);padding:var(--_input-padding-y) 0}.field .control textarea::placeholder{color:var(--_input-placeholder)}.field .control:hover{border-color:var(--_input-border-hover)}.field .control:focus-within{border-color:var(--_input-border-focus);box-shadow:var(--_input-focus-shadow)}@media not (forced-colors:active){.field .control textarea:where(:focus-visible){outline:none}}.field.disabled .control{background-color:var(--_input-bg-color-disabled);border-color:var(--border-disabled)}.field.disabled textarea{color:var(--text-disabled)}.field.read-only .control{background:var(--surface-secondary)}.field.read-only .control textarea{cursor:default}.field.sm .control{padding:0 var(--space-2)}.field.lg .control{padding:0 var(--space-3)}.field.autosize .control textarea{field-sizing:content;overflow:hidden}.field .field-footer{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2)}.field .char-counter{font-size:var(--font-size-xs);color:var(--text-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;margin-left:auto}.field .char-counter.over-limit{position:relative;color:var(--error-text)}.field .char-counter .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.field.soft-limit .control{position:relative}.field.soft-limit .control textarea{position:relative;scrollbar-gutter:stable}.field .overflow-mirror{position:absolute;inset:0;box-sizing:border-box;padding-inline:inherit;overflow:hidden;scrollbar-gutter:stable;font:var(--_textarea-font);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:pre-wrap;overflow-wrap:break-word;color:transparent;pointer-events:none;-webkit-user-select:none;user-select:none}.field .overflow-mirror:after{content:\" \"}.field .overflow-mirror mark{color:transparent;background-color:var(--error-highlight);border-radius:var(--ds-radius-inner)}@media(forced-colors:active){.field .overflow-mirror mark{forced-color-adjust:none;background-color:transparent;text-decoration:underline wavy CanvasText;text-decoration-skip-ink:none}}.field .control :is(textarea,.overflow-mirror){padding-block:var(--_input-padding-y)}.field.sm .control :is(textarea,.overflow-mirror){padding-block:var(--space-2)}.field.lg .control :is(textarea,.overflow-mirror){padding-block:var(--space-4)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-error);background-color:var(--_input-bg-color-error)}:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-within,:host([data-field-state=error]:not(.in-group)) .control:not(.disabled):not(:disabled):focus-visible{box-shadow:var(--_input-focus-shadow-error)}:host([data-field-state=warning]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--warning-text)}:host([data-field-state=success]:not(.in-group)) .control:not(.disabled):not(:disabled){border-color:var(--_input-border-success)}\n"] }]
248
224
  }], ctorParameters: () => [], propDecorators: { control: [{ type: i0.ViewChild, args: ['control', { isSignal: true }] }], overflowMirror: [{ type: i0.ViewChild, args: ['overflowMirror', { isSignal: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], readonlyBinding: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], success: [{ type: i0.Input, args: [{ isSignal: true, alias: "success", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], optional: [{ type: i0.Input, args: [{ isSignal: true, alias: "optional", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], autosize: [{ type: i0.Input, args: [{ isSignal: true, alias: "autosize", required: false }] }], minRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "minRows", required: false }] }], maxRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxRows", required: false }] }], resize: [{ type: i0.Input, args: [{ isSignal: true, alias: "resize", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], maxLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLength", required: false }] }], maxLengthMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLengthMode", required: false }] }], countTrimmed: [{ type: i0.Input, args: [{ isSignal: true, alias: "countTrimmed", required: false }] }], minLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minLength", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }] } });
249
225
 
250
226
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-components-textarea.mjs","sources":["../../../src/lib/components/textarea/textarea.component.ts","../../../src/lib/components/textarea/textarea.component.html","../../../src/lib/components/textarea/ids-group-ltd-ids-design-system-components-textarea.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n ViewEncapsulation,\n afterRenderEffect,\n booleanAttribute,\n computed,\n forwardRef,\n inject,\n input,\n model,\n viewChild,\n} from '@angular/core';\nimport { DS_INTL, optionalBound } from '@ids-group-ltd/ids-design-system/core';\nimport { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { DsControlValueAccessor } from '@ids-group-ltd/ids-design-system/components';\nimport type { TextareaMaxLengthMode, TextareaResize } from './textarea.types';\nimport type { DsSize } from '@ids-group-ltd/ids-design-system/core';\nimport { FieldMessageComponent } from '@ids-group-ltd/ids-design-system/components/field-message';\nimport {\n resolveFieldMessage,\n trimmedText,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { nextControlId } from '@ids-group-ltd/ids-design-system/components';\nimport { FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';\nimport { resolveWithConfig } from '@ids-group-ltd/ids-design-system/core';\n\n@Component({\n selector: 'ds-textarea',\n standalone: true,\n imports: [FormsModule, FieldMessageComponent, FieldClickFocusDirective],\n templateUrl: './textarea.component.html',\n styleUrl: './textarea.component.scss',\n host: {\n '[attr.data-field-state]': 'controlState()',\n },\n encapsulation: ViewEncapsulation.Emulated,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => TextareaComponent),\n multi: true,\n },\n ],\n})\nexport class TextareaComponent extends DsControlValueAccessor<string> {\n protected readonly intl = inject(DS_INTL);\n private readonly control =\n viewChild<ElementRef<HTMLTextAreaElement>>('control');\n private readonly overflowMirror =\n viewChild<ElementRef<HTMLDivElement>>('overflowMirror');\n\n /** Text value, two-way bound. */\n readonly value = model<string>('');\n /** Field height — sm/md/lg.\n * Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */\n readonly size = input<DsSize | null>(null);\n readonly sizeResolved = resolveWithConfig(\n this.size,\n (config) => config.control?.size,\n 'md' as DsSize,\n );\n /** Label shown above the field. */\n readonly label = input<string>('');\n /** Placeholder shown when empty. */\n readonly placeholder = input<string>('');\n /** Disables the field and blocks all interaction. */\n readonly disabled = input(false, { transform: booleanAttribute });\n /** Prevents editing while still allowing focus and selection. */\n readonly readOnly = input(false, { transform: booleanAttribute });\n /**\n * The contract spelling of `readOnly`, a second input because signal forms binds\n * by NAME — a `readonly()` rule was reaching nothing before this existed.\n */\n readonly readonlyBinding = input(false, {\n // The alias IS the point: signal forms binds by name, and the contract\n // spells it `readonly` where the DS spells it `readOnly`.\n // eslint-disable-next-line @angular-eslint/no-input-rename\n alias: 'readonly',\n transform: booleanAttribute,\n });\n protected readonly isReadOnly = computed(\n () => this.readOnly() || this.readonlyBinding(),\n );\n /** Confirmation text, shown when there is no error or warning — and it paints\n * the field's success border. A string like `warning`: the text IS the state. */\n readonly success = input<string, string | null | undefined>('', {\n transform: trimmedText,\n });\n /** Marks the field required — shows an asterisk and sets `aria-required`. */\n readonly required = input(false, { transform: booleanAttribute });\n /** Shows an \"(optional)\" marker next to the label (ignored when `required`). */\n readonly optional = input(false, { transform: booleanAttribute });\n /** Native `rows` attribute — visible line count. */\n readonly rows = input<number>(3);\n /** Native `name` attribute. */\n readonly name = input<string | null>(null);\n /** Grows the field with content instead of scrolling; forces `resize` to none. */\n readonly autosize = input(false, { transform: booleanAttribute });\n /** Minimum height in lines when `autosize`. */\n readonly minRows = input<number | null>(null);\n /** Maximum height in lines when `autosize`, beyond which it scrolls. */\n readonly maxRows = input<number | null>(null);\n /** Native CSS `resize` behaviour — ignored when `autosize`. */\n readonly resize = input<TextareaResize>('vertical');\n /** Accessible name when no visible `label` is provided. */\n readonly ariaLabel = input<string | null>(null);\n /** Character limit - shows a live \"{current}/{max}\" counter below the field.\n * `maxLengthMode` decides what happens at the limit. Counts `value.length`, the\n * UTF-16 units the native `maxlength` counts, whitespace included, unless\n * `countTrimmed` is set. */\n readonly maxLength = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n /** `'hard'` applies the native maxlength attribute, so typing and paste stop at\n * `maxLength`. `'soft'` lets the text run past it: the counter turns red, the\n * characters past the limit are highlighted, and the field reports invalid\n * (`aria-invalid`, with the counter as its description). Blocking a save on\n * it is the form's job. */\n readonly maxLengthMode = input<TextareaMaxLengthMode>('hard');\n /** Leaves whitespace at either end of the text out of the counter, the soft-limit\n * state and the highlight, for a value the server stores trimmed. Whitespace\n * between words still counts. The native `maxlength` of `maxLengthMode=\"hard\"`\n * counts every character regardless. */\n readonly countTrimmed = input(false, { transform: booleanAttribute });\n private readonly countedRange = computed(() => {\n const value = this.value();\n if (!this.countTrimmed()) {\n return { start: 0, end: value.length };\n }\n const start = value.length - value.trimStart().length;\n\n return { start, end: Math.max(start, value.trimEnd().length) };\n });\n protected readonly currentLength = computed(() => {\n const { start, end } = this.countedRange();\n\n return end - start;\n });\n protected readonly overLimitBy = computed(() => {\n const limit = this.maxLength();\n\n return this.maxLengthMode() === 'soft' && limit !== null\n ? Math.max(0, this.currentLength() - limit)\n : 0;\n });\n protected readonly overflowParts = computed(() => {\n const value = this.value();\n const { end } = this.countedRange();\n let splitAt = end - this.overLimitBy();\n // A limit inside a surrogate pair marks the whole pair: half a pair renders\n // at another width and shifts every mirrored line after it.\n // A limit inside an emoji ZWJ sequence still shifts them; splitting on\n // Intl.Segmenter graphemes would not, once every supported Firefox has it (125+).\n const previous = value.charCodeAt(splitAt - 1);\n if (previous >= 0xd800 && previous <= 0xdbff) {\n splitAt -= 1;\n }\n\n return {\n within: value.slice(0, splitAt),\n over: value.slice(splitAt, end),\n after: value.slice(end),\n };\n });\n\n // Signal forms binds these by name; without them a `pattern()` or `minLength()`\n // rule validated in the form model while the native element advertised nothing.\n /** Native `minlength` attribute. */\n readonly minLength = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n /** Native `pattern` attribute — signal forms sends the schema's RegExp list. */\n readonly pattern = input<\n readonly RegExp[],\n readonly RegExp[] | string | undefined\n >([], {\n transform: (value) =>\n value === undefined\n ? []\n : typeof value === 'string'\n ? [new RegExp(value)]\n : value,\n });\n /** A native `pattern` takes ONE expression; the schema can carry several, so\n * they are ANDed with lookaheads rather than silently dropping all but one. */\n protected readonly patternAttribute = computed(() => {\n const expressions = this.pattern();\n if (!expressions.length) {\n return null;\n }\n\n return (\n expressions.map((expression) => `(?=${expression.source})`).join('') +\n '.*'\n );\n });\n protected readonly uid = nextControlId('ds-textarea');\n protected readonly hintId = computed(() =>\n this.message().text ? `${this.uid}-hint` : null,\n );\n private readonly fieldMessage = resolveFieldMessage({\n disabled: () => this.isDisabled(),\n hint: this.hint,\n warning: this.warning,\n error: this.error,\n errors: this.errors,\n invalid: computed(() => this.invalid() || this.overLimitBy() > 0),\n success: this.success,\n touchedSelf: this.touchedSelf,\n touched: this.touched,\n });\n protected readonly message = this.fieldMessage.message;\n protected readonly controlState = this.fieldMessage.controlState;\n protected readonly invalidResolved = this.fieldMessage.invalid;\n protected readonly resolvedAriaLabel = computed(() =>\n this.label() ? null : this.ariaLabel() || this.placeholder() || null,\n );\n\n /** Effective disabled — own `disabled` input OR the reactive-forms state. */\n protected readonly isDisabled = computed(\n () => this.disabled() || this.formDisabled(),\n );\n\n protected readonly counterId = computed(() =>\n this.maxLength() !== null ? `${this.uid}-counter` : null,\n );\n protected readonly describedBy = computed(\n () =>\n [this.hintId(), this.overLimitBy() > 0 ? this.counterId() : null]\n .filter(Boolean)\n .join(' ') || null,\n );\n protected readonly nativeMaxLength = computed(() =>\n this.maxLengthMode() === 'hard' ? this.maxLength() : null,\n );\n\n protected readonly wrapperClasses = computed(() => {\n const parts = ['field'];\n if (this.sizeResolved() === 'sm') {\n parts.push('sm');\n }\n if (this.sizeResolved() === 'lg') {\n parts.push('lg');\n }\n if (this.invalidResolved()) {\n parts.push('error');\n }\n if (this.isDisabled()) {\n parts.push('disabled');\n }\n if (this.isReadOnly()) {\n parts.push('read-only');\n }\n if (this.autosize()) {\n parts.push('autosize');\n }\n if (this.maxLengthMode() === 'soft' && this.maxLength() !== null) {\n parts.push('soft-limit');\n }\n\n return parts.join(' ');\n });\n\n protected readonly autosizeMinHeight = computed(() =>\n this.autosize() && this.minRows() ? `${this.minRows()}lh` : null,\n );\n protected readonly autosizeMaxHeight = computed(() =>\n this.autosize() && this.maxRows() ? `${this.maxRows()}lh` : null,\n );\n\n // Autosize grows with content, so a manual resize handle conflicts — force none.\n protected readonly effectiveResize = computed<TextareaResize>(() =>\n this.autosize() ? 'none' : this.resize(),\n );\n\n constructor() {\n super();\n afterRenderEffect({\n write: () => {\n // The textarea scrolls on input before the mirror re-renders the new\n // text, so the `(scroll)` sync alone leaves the mirror behind.\n this.overflowParts();\n this.syncOverflowScroll();\n },\n });\n }\n\n protected syncOverflowScroll(): void {\n const mirror = this.overflowMirror()?.nativeElement;\n const control = this.control()?.nativeElement;\n if (mirror && control) {\n mirror.scrollTop = control.scrollTop;\n }\n }\n\n /** Move keyboard focus to the native textarea — public so a host can drive it\n * deliberately, e.g. focusing the first invalid field on a failed submit. */\n override focus(options?: FocusOptions): void {\n this.control()?.nativeElement.focus(options);\n }\n\n /** Index of the first selected character of the native textarea; 0 before the view exists. */\n get selectionStart(): number {\n return this.control()?.nativeElement.selectionStart ?? 0;\n }\n\n /** Index after the last selected character of the native textarea; 0 before the view exists. */\n get selectionEnd(): number {\n return this.control()?.nativeElement.selectionEnd ?? 0;\n }\n\n /**\n * Mirrors `HTMLTextAreaElement.setSelectionRange`. Does not move focus - call\n * `focus()` first when the selection has to be visible. A value written through\n * `value` reaches the element a microtask later and drops the caret to the end,\n * so after `value.set(...)` set the range from a `setTimeout`, not synchronously.\n */\n setSelectionRange(\n start: number,\n end: number,\n direction?: 'forward' | 'backward' | 'none',\n ): void {\n this.control()?.nativeElement.setSelectionRange(start, end, direction);\n }\n\n /** Selects the whole text, as `HTMLTextAreaElement.select()` does. */\n select(): void {\n this.control()?.nativeElement.select();\n }\n}\n","<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n @if (overLimitBy() > 0) {\n <div\n #overflowMirror\n class=\"overflow-mirror\"\n aria-hidden=\"true\">\n <span [textContent]=\"overflowParts().within\"></span>\n\n <mark [textContent]=\"overflowParts().over\"></mark>\n\n <span [textContent]=\"overflowParts().after\"></span>\n </div>\n }\n\n <textarea\n #control\n [id]=\"uid\"\n [rows]=\"rows()\"\n [attr.name]=\"name()\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.maxlength]=\"nativeMaxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [style.resize]=\"effectiveResize()\"\n [style.min-height]=\"autosizeMinHeight()\"\n [style.max-height]=\"autosizeMaxHeight()\"\n [style.overflow-y]=\"autosize() && maxRows() ? 'auto' : null\"\n [(ngModel)]=\"value\"\n (blur)=\"markTouched()\"\n (scroll)=\"syncOverflowScroll()\">\n </textarea>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [class.over-limit]=\"overLimitBy() > 0\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n @if (overLimitBy() > 0) {\n <span class=\"visually-hidden\">\n {{ intl().field.overLimit(overLimitBy()) }}\n </span>\n }\n </span>\n }\n </div>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AA6CM,MAAO,iBAAkB,SAAQ,sBAA8B,CAAA;AAChD,IAAA,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC;AACxB,IAAA,OAAO,GACtB,SAAS,CAAkC,SAAS,8EAAC;AACtC,IAAA,cAAc,GAC7B,SAAS,CAA6B,gBAAgB,qFAAC;;AAGhD,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,4EAAC;AAClC;AACiE;AACxD,IAAA,IAAI,GAAG,KAAK,CAAgB,IAAI,2EAAC;IACjC,YAAY,GAAG,iBAAiB,CACvC,IAAI,CAAC,IAAI,EACT,CAAC,MAAM,KAAK,MAAM,CAAC,OAAO,EAAE,IAAI,EAChC,IAAc,CACf;;AAEQ,IAAA,KAAK,G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AA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,eAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,cAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,WAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,SAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AElD1D;;AAEG;;;;"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system-components-textarea.mjs","sources":["../../../src/lib/components/textarea/textarea.component.ts","../../../src/lib/components/textarea/textarea.component.html","../../../src/lib/components/textarea/ids-group-ltd-ids-design-system-components-textarea.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n ViewEncapsulation,\n afterRenderEffect,\n booleanAttribute,\n computed,\n forwardRef,\n inject,\n input,\n model,\n viewChild,\n} from '@angular/core';\nimport { DS_INTL, optionalBound } from '@ids-group-ltd/ids-design-system/core';\nimport { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { DsControlValueAccessor } from '@ids-group-ltd/ids-design-system/components';\nimport type { TextareaMaxLengthMode, TextareaResize } from './textarea.types';\nimport type { DsSize } from '@ids-group-ltd/ids-design-system/core';\nimport { FieldMessageComponent } from '@ids-group-ltd/ids-design-system/components/field-message';\nimport {\n resolveFieldMessage,\n trimmedText,\n} from '@ids-group-ltd/ids-design-system/components';\nimport { nextControlId } from '@ids-group-ltd/ids-design-system/components';\nimport { FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';\nimport { resolveWithConfig } from '@ids-group-ltd/ids-design-system/core';\n\n@Component({\n selector: 'ds-textarea',\n standalone: true,\n imports: [FormsModule, FieldMessageComponent, FieldClickFocusDirective],\n templateUrl: './textarea.component.html',\n styleUrl: './textarea.component.scss',\n host: {\n '[attr.data-field-state]': 'controlState()',\n },\n encapsulation: ViewEncapsulation.Emulated,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => TextareaComponent),\n multi: true,\n },\n ],\n})\nexport class TextareaComponent extends DsControlValueAccessor<string> {\n protected readonly intl = inject(DS_INTL);\n private readonly control =\n viewChild<ElementRef<HTMLTextAreaElement>>('control');\n private readonly overflowMirror =\n viewChild<ElementRef<HTMLDivElement>>('overflowMirror');\n\n /** Text value, two-way bound. */\n readonly value = model<string>('');\n /** Field height; falls back to `DS_CONFIG.control.size`, then `'md'`. */\n readonly size = input<DsSize | null>(null);\n readonly sizeResolved = resolveWithConfig(\n this.size,\n (config) => config.control?.size,\n 'md' as DsSize,\n );\n /** Label shown above the field. */\n readonly label = input<string>('');\n /** Placeholder shown when empty. */\n readonly placeholder = input<string>('');\n /** Disables the field and blocks all interaction. */\n readonly disabled = input(false, { transform: booleanAttribute });\n /** Prevents editing while still allowing focus and selection. */\n readonly readOnly = input(false, { transform: booleanAttribute });\n /** The contract spelling of `readOnly`: signal forms binds by NAME, so a `readonly()` rule reaches nothing without it. */\n readonly readonlyBinding = input(false, {\n // eslint-disable-next-line @angular-eslint/no-input-rename\n alias: 'readonly',\n transform: booleanAttribute,\n });\n protected readonly isReadOnly = computed(\n () => this.readOnly() || this.readonlyBinding(),\n );\n /** Confirmation text, shown when there is no error or warning; paints the success border. */\n readonly success = input<string, string | null | undefined>('', {\n transform: trimmedText,\n });\n /** Marks the field required - shows an asterisk and sets `aria-required`. */\n readonly required = input(false, { transform: booleanAttribute });\n /** Shows an \"(optional)\" marker next to the label (ignored when `required`). */\n readonly optional = input(false, { transform: booleanAttribute });\n /** Native `rows` attribute - visible line count. */\n readonly rows = input<number>(3);\n /** Native `name` attribute. */\n readonly name = input<string | null>(null);\n /** Grows the field with content instead of scrolling; forces `resize` to none. */\n readonly autosize = input(false, { transform: booleanAttribute });\n /** Minimum height in lines when `autosize`. */\n readonly minRows = input<number | null>(null);\n /** Maximum height in lines when `autosize`, beyond which it scrolls. */\n readonly maxRows = input<number | null>(null);\n /** Native CSS `resize` behaviour - ignored when `autosize`. */\n readonly resize = input<TextareaResize>('vertical');\n /** Accessible name when no visible `label` is provided. */\n readonly ariaLabel = input<string | null>(null);\n /** Character limit with a live \"{current}/{max}\" counter; `maxLengthMode` decides what happens at the limit.\n * Counts `value.length` (UTF-16 units, as native `maxlength` does) unless `countTrimmed` is set. */\n readonly maxLength = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n /** `'hard'` applies the native maxlength attribute. `'soft'` lets the text run past it: the counter turns red, the excess is\n * highlighted and the field reports invalid (`aria-invalid`). */\n readonly maxLengthMode = input<TextareaMaxLengthMode>('hard');\n /** Leaves leading and trailing whitespace out of the counter, soft-limit state and highlight.\n * The native `maxlength` of `maxLengthMode=\"hard\"` counts every character regardless. */\n readonly countTrimmed = input(false, { transform: booleanAttribute });\n private readonly countedRange = computed(() => {\n const value = this.value();\n if (!this.countTrimmed()) {\n return { start: 0, end: value.length };\n }\n const start = value.length - value.trimStart().length;\n\n return { start, end: Math.max(start, value.trimEnd().length) };\n });\n protected readonly currentLength = computed(() => {\n const { start, end } = this.countedRange();\n\n return end - start;\n });\n protected readonly overLimitBy = computed(() => {\n const limit = this.maxLength();\n\n return this.maxLengthMode() === 'soft' && limit !== null\n ? Math.max(0, this.currentLength() - limit)\n : 0;\n });\n protected readonly overflowParts = computed(() => {\n const value = this.value();\n const { end } = this.countedRange();\n let splitAt = end - this.overLimitBy();\n // A limit inside a surrogate pair marks the whole pair: half a pair renders at another width and shifts every mirrored line after it.\n // A limit inside an emoji ZWJ sequence still shifts them; Intl.Segmenter graphemes would not (Firefox 125+).\n const previous = value.charCodeAt(splitAt - 1);\n if (previous >= 0xd800 && previous <= 0xdbff) {\n splitAt -= 1;\n }\n\n return {\n within: value.slice(0, splitAt),\n over: value.slice(splitAt, end),\n after: value.slice(end),\n };\n });\n\n // Signal forms binds these by name; without them the native element advertises no rule.\n /** Native `minlength` attribute. */\n readonly minLength = input<number | null, number | null | undefined>(null, {\n transform: optionalBound,\n });\n /** Native `pattern` attribute - signal forms sends the schema's RegExp list. */\n readonly pattern = input<\n readonly RegExp[],\n readonly RegExp[] | string | undefined\n >([], {\n transform: (value) =>\n value === undefined\n ? []\n : typeof value === 'string'\n ? [new RegExp(value)]\n : value,\n });\n /** A native `pattern` takes one expression; several are ANDed with lookaheads. */\n protected readonly patternAttribute = computed(() => {\n const expressions = this.pattern();\n if (!expressions.length) {\n return null;\n }\n\n return (\n expressions.map((expression) => `(?=${expression.source})`).join('') +\n '.*'\n );\n });\n protected readonly uid = nextControlId('ds-textarea');\n protected readonly hintId = computed(() =>\n this.message().text ? `${this.uid}-hint` : null,\n );\n private readonly fieldMessage = resolveFieldMessage({\n disabled: () => this.isDisabled(),\n hint: this.hint,\n warning: this.warning,\n error: this.error,\n errors: this.errors,\n invalid: computed(() => this.invalid() || this.overLimitBy() > 0),\n success: this.success,\n touchedSelf: this.touchedSelf,\n touched: this.touched,\n });\n protected readonly message = this.fieldMessage.message;\n protected readonly controlState = this.fieldMessage.controlState;\n protected readonly invalidResolved = this.fieldMessage.invalid;\n protected readonly resolvedAriaLabel = computed(() =>\n this.label() ? null : this.ariaLabel() || this.placeholder() || null,\n );\n\n protected readonly isDisabled = computed(\n () => this.disabled() || this.formDisabled(),\n );\n\n protected readonly counterId = computed(() =>\n this.maxLength() !== null ? `${this.uid}-counter` : null,\n );\n protected readonly describedBy = computed(\n () =>\n [this.hintId(), this.overLimitBy() > 0 ? this.counterId() : null]\n .filter(Boolean)\n .join(' ') || null,\n );\n protected readonly nativeMaxLength = computed(() =>\n this.maxLengthMode() === 'hard' ? this.maxLength() : null,\n );\n\n protected readonly wrapperClasses = computed(() => {\n const parts = ['field'];\n if (this.sizeResolved() === 'sm') {\n parts.push('sm');\n }\n if (this.sizeResolved() === 'lg') {\n parts.push('lg');\n }\n if (this.invalidResolved()) {\n parts.push('error');\n }\n if (this.isDisabled()) {\n parts.push('disabled');\n }\n if (this.isReadOnly()) {\n parts.push('read-only');\n }\n if (this.autosize()) {\n parts.push('autosize');\n }\n if (this.maxLengthMode() === 'soft' && this.maxLength() !== null) {\n parts.push('soft-limit');\n }\n\n return parts.join(' ');\n });\n\n protected readonly autosizeMinHeight = computed(() =>\n this.autosize() && this.minRows() ? `${this.minRows()}lh` : null,\n );\n protected readonly autosizeMaxHeight = computed(() =>\n this.autosize() && this.maxRows() ? `${this.maxRows()}lh` : null,\n );\n\n protected readonly effectiveResize = computed<TextareaResize>(() =>\n this.autosize() ? 'none' : this.resize(),\n );\n\n constructor() {\n super();\n afterRenderEffect({\n write: () => {\n // The textarea scrolls on input before the mirror re-renders, so the `(scroll)` sync alone leaves the mirror behind.\n this.overflowParts();\n this.syncOverflowScroll();\n },\n });\n }\n\n protected syncOverflowScroll(): void {\n const mirror = this.overflowMirror()?.nativeElement;\n const control = this.control()?.nativeElement;\n if (mirror && control) {\n mirror.scrollTop = control.scrollTop;\n }\n }\n\n /** Moves keyboard focus to the native textarea. */\n override focus(options?: FocusOptions): void {\n this.control()?.nativeElement.focus(options);\n }\n\n /** Index of the first selected character of the native textarea; 0 before the view exists. */\n get selectionStart(): number {\n return this.control()?.nativeElement.selectionStart ?? 0;\n }\n\n /** Index after the last selected character of the native textarea; 0 before the view exists. */\n get selectionEnd(): number {\n return this.control()?.nativeElement.selectionEnd ?? 0;\n }\n\n /**\n * Mirrors `HTMLTextAreaElement.setSelectionRange`; does not move focus. A value written through `value` reaches the\n * element a microtask later and drops the caret to the end, so after `value.set(...)` set the range from a `setTimeout`.\n */\n setSelectionRange(\n start: number,\n end: number,\n direction?: 'forward' | 'backward' | 'none',\n ): void {\n this.control()?.nativeElement.setSelectionRange(start, end, direction);\n }\n\n /** Selects the whole text, as `HTMLTextAreaElement.select()` does. */\n select(): void {\n this.control()?.nativeElement.select();\n }\n}\n","<div [class]=\"wrapperClasses()\">\n @if (label()) {\n <label\n class=\"label\"\n [attr.for]=\"uid\">\n {{ label() }}\n @if (required()) {\n <span\n class=\"req\"\n aria-hidden=\"true\">\n *\n </span>\n } @else if (optional()) {\n <span\n class=\"optional-marker\"\n aria-hidden=\"true\">\n {{ intl().field.optional }}\n </span>\n }\n </label>\n }\n\n <div\n class=\"control\"\n dsFieldClickFocus>\n @if (overLimitBy() > 0) {\n <div\n #overflowMirror\n class=\"overflow-mirror\"\n aria-hidden=\"true\">\n <span [textContent]=\"overflowParts().within\"></span>\n\n <mark [textContent]=\"overflowParts().over\"></mark>\n\n <span [textContent]=\"overflowParts().after\"></span>\n </div>\n }\n\n <textarea\n #control\n [id]=\"uid\"\n [rows]=\"rows()\"\n [attr.name]=\"name()\"\n [attr.placeholder]=\"placeholder() || null\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n [attr.aria-invalid]=\"invalidResolved() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.maxlength]=\"nativeMaxLength()\"\n [attr.minlength]=\"minLength()\"\n [attr.pattern]=\"patternAttribute()\"\n [disabled]=\"isDisabled()\"\n [readOnly]=\"isReadOnly()\"\n [required]=\"required()\"\n [style.resize]=\"effectiveResize()\"\n [style.min-height]=\"autosizeMinHeight()\"\n [style.max-height]=\"autosizeMaxHeight()\"\n [style.overflow-y]=\"autosize() && maxRows() ? 'auto' : null\"\n [(ngModel)]=\"value\"\n (blur)=\"markTouched()\"\n (scroll)=\"syncOverflowScroll()\">\n </textarea>\n </div>\n\n @if (\n reserveMessageResolved() ||\n message().text ||\n maxLength() !== null\n ) {\n <div class=\"field-footer\">\n <ds-field-message\n [icon]=\"messageIcon()\"\n [text]=\"message().text\"\n [state]=\"message().state\"\n [messageId]=\"hintId()\"\n [reserve]=\"reserveMessageResolved()\" />\n\n @if (maxLength() !== null) {\n <span\n class=\"char-counter\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n [class.over-limit]=\"overLimitBy() > 0\"\n [id]=\"counterId()\">\n {{ currentLength() }}/{{ maxLength() }}\n @if (overLimitBy() > 0) {\n <span class=\"visually-hidden\">\n {{ intl().field.overLimit(overLimitBy()) }}\n </span>\n }\n </span>\n }\n </div>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AA6CM,MAAO,iBAAkB,SAAQ,sBAA8B,CAAA;AAChD,IAAA,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC;AACxB,IAAA,OAAO,GACtB,SAAS,CAAkC,SAAS,8EAAC;AACtC,IAAA,cAAc,GAC7B,SAAS,CAA6B,gBAAgB,qFAAC;;AAGhD,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,4EAAC;;AAEzB,IAAA,IAAI,GAAG,KAAK,CAAgB,IAAI,2EAAC;IACjC,YAAY,GAAG,iBAAiB,CACvC,IAAI,CAAC,IAAI,EACT,CAAC,MAAM,KAAK,MAAM,CAAC,OAAO,EAAE,IAAI,EAChC,IAAc,CACf;;AAEQ,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,4EAAC;;AAEzB,IAAA,WAAW,GAAG,KAAK,CAAS,EAAE,kFAAC;;IAE/B,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;IAExD,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB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