@affinda/wc 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/dist/affinda/af-input.entry.esm.js.map +1 -1
  2. package/dist/affinda/af-textarea.entry.esm.js.map +1 -1
  3. package/dist/affinda/affinda.esm.js +1 -1
  4. package/dist/affinda/index.esm.js +1 -1
  5. package/dist/affinda/{p-bb80195f.entry.js → p-01b848e9.entry.js} +2 -2
  6. package/dist/affinda/{p-75d76909.entry.js → p-0c4a59b3.entry.js} +2 -2
  7. package/dist/affinda/{p-1819ae80.entry.js → p-0cbb1cb2.entry.js} +2 -2
  8. package/dist/affinda/p-11d41c9a.entry.js +2 -0
  9. package/dist/affinda/p-160997b3.entry.js +2 -0
  10. package/dist/affinda/{p-15a1d019.entry.js.map → p-160997b3.entry.js.map} +1 -1
  11. package/dist/affinda/p-1c19e94c.entry.js +2 -0
  12. package/dist/affinda/{p-64159112.entry.js → p-1c922fff.entry.js} +2 -2
  13. package/dist/affinda/{p-b31e438d.entry.js → p-223b2e70.entry.js} +2 -2
  14. package/dist/affinda/{p-a4b36eb7.entry.js → p-2315cb6b.entry.js} +2 -2
  15. package/dist/affinda/{p-41580a3c.entry.js → p-296a6ece.entry.js} +2 -2
  16. package/dist/affinda/{p-e057ebf1.entry.js → p-2e67fb0d.entry.js} +2 -2
  17. package/dist/affinda/{p-5834ffe7.entry.js → p-319b51c7.entry.js} +2 -2
  18. package/dist/affinda/{p-50e12df0.entry.js → p-39a40e6a.entry.js} +2 -2
  19. package/dist/affinda/{p-c23d7aa5.entry.js → p-3df90209.entry.js} +2 -2
  20. package/dist/affinda/p-3ed2eb32.entry.js +2 -0
  21. package/dist/affinda/{p-fd772af4.entry.js.map → p-3ed2eb32.entry.js.map} +1 -1
  22. package/dist/affinda/{p-616e0116.entry.js → p-3fb33478.entry.js} +2 -2
  23. package/dist/affinda/p-5fdb4aad.entry.js +2 -0
  24. package/dist/affinda/{p-838bbc80.entry.js.map → p-5fdb4aad.entry.js.map} +1 -1
  25. package/dist/affinda/{p-be219843.entry.js → p-604399ed.entry.js} +2 -2
  26. package/dist/affinda/p-6525d4fe.entry.js +2 -0
  27. package/dist/affinda/p-6525d4fe.entry.js.map +1 -0
  28. package/dist/affinda/{p-c15d00b5.entry.js → p-653bca57.entry.js} +2 -2
  29. package/dist/affinda/{p-6ff65e42.entry.js → p-6c4137dc.entry.js} +2 -2
  30. package/dist/affinda/{p-95da58f3.entry.js → p-764601e6.entry.js} +2 -2
  31. package/dist/affinda/{p-8b0d08de.entry.js → p-765883e7.entry.js} +2 -2
  32. package/dist/affinda/{p-cea1c1ff.entry.js → p-7b60b684.entry.js} +2 -2
  33. package/dist/affinda/{p-df10dee2.entry.js → p-805148d0.entry.js} +2 -2
  34. package/dist/affinda/{p-d573d115.entry.js → p-8eb57e35.entry.js} +2 -2
  35. package/dist/affinda/{p-656630fc.entry.js → p-90e9e29c.entry.js} +2 -2
  36. package/dist/affinda/{p-eca85313.entry.js → p-9c470a88.entry.js} +2 -2
  37. package/dist/affinda/{p-1a71d0f9.entry.js → p-9c8d18a3.entry.js} +2 -2
  38. package/dist/affinda/{p-cc2539de.entry.js → p-9d85f685.entry.js} +2 -2
  39. package/dist/affinda/{p-3fd3d4cd.entry.js → p-aa0cb70d.entry.js} +2 -2
  40. package/dist/affinda/{p-1f2f7fff.entry.js → p-aabe4d24.entry.js} +2 -2
  41. package/dist/affinda/{p-88f38401.entry.js → p-ae27e9da.entry.js} +2 -2
  42. package/dist/affinda/{p-919e2144.entry.js → p-bc3d2bb4.entry.js} +2 -2
  43. package/dist/affinda/{p-d9b0f217.entry.js → p-be71688c.entry.js} +2 -2
  44. package/dist/affinda/p-c87e5b29.entry.js +2 -0
  45. package/dist/affinda/p-cd8cfa7f.entry.js +2 -0
  46. package/dist/affinda/p-cd8cfa7f.entry.js.map +1 -0
  47. package/dist/affinda/p-da247ea4.entry.js +2 -0
  48. package/dist/affinda/{p-ea5aea86.entry.js.map → p-da247ea4.entry.js.map} +1 -1
  49. package/dist/affinda/{p-7b08b7ba.entry.js → p-dd30a9b8.entry.js} +2 -2
  50. package/dist/affinda/{p-8f36e911.entry.js → p-e2667603.entry.js} +2 -2
  51. package/dist/affinda/{p-02c6f6d1.entry.js → p-e678100f.entry.js} +2 -2
  52. package/dist/affinda/{p-374f9557.entry.js → p-e8a91b15.entry.js} +2 -2
  53. package/dist/affinda/{p-7eff3490.entry.js → p-e9527b93.entry.js} +2 -2
  54. package/dist/affinda/{p-67b08108.entry.js → p-eb611fb5.entry.js} +2 -2
  55. package/dist/affinda/{p-f1705df1.entry.js → p-edb426e6.entry.js} +2 -2
  56. package/dist/affinda/{p-54dc41a9.entry.js → p-f47d0d2d.entry.js} +2 -2
  57. package/dist/affinda/{p-56e96bd3.entry.js → p-f49b41f9.entry.js} +2 -2
  58. package/dist/affinda/{p-976e0c29.entry.js → p-f6e1750e.entry.js} +2 -2
  59. package/dist/affinda/{p-3084cb0f.entry.js → p-fad2d40b.entry.js} +2 -2
  60. package/dist/affinda/{p-a79077d5.entry.js → p-fc19f53c.entry.js} +2 -2
  61. package/dist/affinda/p-fd39a1c2.entry.js +2 -0
  62. package/dist/affinda/{p-a3ed4092.entry.js → p-fee9359c.entry.js} +2 -2
  63. package/dist/cjs/af-accordion-item.cjs.entry.js +1 -1
  64. package/dist/cjs/af-accordion.cjs.entry.js +1 -1
  65. package/dist/cjs/af-card.cjs.entry.js +1 -1
  66. package/dist/cjs/af-center.cjs.entry.js +1 -1
  67. package/dist/cjs/af-client-carousel.cjs.entry.js +1 -1
  68. package/dist/cjs/af-contact-item.cjs.entry.js +1 -1
  69. package/dist/cjs/af-divider.cjs.entry.js +1 -1
  70. package/dist/cjs/af-feature-accordion.cjs.entry.js +2 -2
  71. package/dist/cjs/af-feature-grid.cjs.entry.js +1 -1
  72. package/dist/cjs/af-footer-column.cjs.entry.js +1 -1
  73. package/dist/cjs/af-footer-link.cjs.entry.js +1 -1
  74. package/dist/cjs/af-footer.cjs.entry.js +1 -1
  75. package/dist/cjs/af-grid.cjs.entry.js +2 -2
  76. package/dist/cjs/af-hero.cjs.entry.js +2 -2
  77. package/dist/cjs/af-icon-box.cjs.entry.js +1 -1
  78. package/dist/cjs/af-icon-text.cjs.entry.js +1 -1
  79. package/dist/cjs/af-illustrated-card.cjs.entry.js +1 -1
  80. package/dist/cjs/af-image.cjs.entry.js +1 -1
  81. package/dist/cjs/af-in-page-banner.cjs.entry.js +1 -1
  82. package/dist/cjs/af-inline.cjs.entry.js +1 -1
  83. package/dist/cjs/af-input.cjs.entry.js +23 -5
  84. package/dist/cjs/af-input.entry.cjs.js.map +1 -1
  85. package/dist/cjs/af-logo-well.cjs.entry.js +1 -1
  86. package/dist/cjs/af-nav-accordion-item.cjs.entry.js +2 -2
  87. package/dist/cjs/af-nav-accordion.cjs.entry.js +1 -1
  88. package/dist/cjs/af-nav-menu-nest.cjs.entry.js +1 -1
  89. package/dist/cjs/af-nav-menu.cjs.entry.js +1 -1
  90. package/dist/cjs/af-number-badge.cjs.entry.js +1 -1
  91. package/dist/cjs/af-numbered-stepper-item.cjs.entry.js +1 -1
  92. package/dist/cjs/af-numbered-stepper.cjs.entry.js +1 -1
  93. package/dist/cjs/af-paperclip-decoration.cjs.entry.js +1 -1
  94. package/dist/cjs/af-progress-line.cjs.entry.js +2 -2
  95. package/dist/cjs/af-section.cjs.entry.js +2 -2
  96. package/dist/cjs/af-show.cjs.entry.js +1 -1
  97. package/dist/cjs/af-social-link.cjs.entry.js +1 -1
  98. package/dist/cjs/af-spacer.cjs.entry.js +1 -1
  99. package/dist/cjs/af-split-section.cjs.entry.js +2 -2
  100. package/dist/cjs/af-stack.cjs.entry.js +1 -1
  101. package/dist/cjs/af-stat.cjs.entry.js +1 -1
  102. package/dist/cjs/af-stats-row.cjs.entry.js +1 -1
  103. package/dist/cjs/af-stepper-step.cjs.entry.js +1 -1
  104. package/dist/cjs/af-stepper.cjs.entry.js +1 -1
  105. package/dist/cjs/af-tab-bar.cjs.entry.js +1 -1
  106. package/dist/cjs/af-tab.cjs.entry.js +1 -1
  107. package/dist/cjs/af-tag.cjs.entry.js +2 -2
  108. package/dist/cjs/af-testimonial-carousel.cjs.entry.js +1 -1
  109. package/dist/cjs/af-testimonial-stat.cjs.entry.js +1 -1
  110. package/dist/cjs/af-testimonial.cjs.entry.js +2 -2
  111. package/dist/cjs/af-text-image-nest.cjs.entry.js +1 -1
  112. package/dist/cjs/af-textarea.cjs.entry.js +14 -1
  113. package/dist/cjs/af-textarea.entry.cjs.js.map +1 -1
  114. package/dist/cjs/af-theme-override.cjs.entry.js +1 -1
  115. package/dist/cjs/af-video-container.cjs.entry.js +1 -1
  116. package/dist/cjs/af-visually-hidden.cjs.entry.js +1 -1
  117. package/dist/cjs/affinda.cjs.js +1 -1
  118. package/dist/cjs/loader.cjs.js +1 -1
  119. package/dist/collection/components/af-accordion/af-accordion.js +1 -1
  120. package/dist/collection/components/af-accordion-item/af-accordion-item.js +1 -1
  121. package/dist/collection/components/af-card/af-card.js +1 -1
  122. package/dist/collection/components/af-center/af-center.js +1 -1
  123. package/dist/collection/components/af-client-carousel/af-client-carousel.js +1 -1
  124. package/dist/collection/components/af-contact-item/af-contact-item.js +1 -1
  125. package/dist/collection/components/af-divider/af-divider.js +1 -1
  126. package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +2 -2
  127. package/dist/collection/components/af-feature-grid/af-feature-grid.js +1 -1
  128. package/dist/collection/components/af-footer/af-footer.js +1 -1
  129. package/dist/collection/components/af-footer-column/af-footer-column.js +1 -1
  130. package/dist/collection/components/af-footer-link/af-footer-link.js +1 -1
  131. package/dist/collection/components/af-grid/af-grid.js +2 -2
  132. package/dist/collection/components/af-hero/af-hero.js +2 -2
  133. package/dist/collection/components/af-icon-box/af-icon-box.js +1 -1
  134. package/dist/collection/components/af-icon-text/af-icon-text.js +1 -1
  135. package/dist/collection/components/af-illustrated-card/af-illustrated-card.js +1 -1
  136. package/dist/collection/components/af-image/af-image.js +1 -1
  137. package/dist/collection/components/af-in-page-banner/af-in-page-banner.js +1 -1
  138. package/dist/collection/components/af-inline/af-inline.js +1 -1
  139. package/dist/collection/components/af-input/af-input.css +42 -0
  140. package/dist/collection/components/af-input/af-input.js +88 -10
  141. package/dist/collection/components/af-input/af-input.js.map +1 -1
  142. package/dist/collection/components/af-logo-well/af-logo-well.js +1 -1
  143. package/dist/collection/components/af-nav-accordion/af-nav-accordion.js +1 -1
  144. package/dist/collection/components/af-nav-accordion-item/af-nav-accordion-item.js +2 -2
  145. package/dist/collection/components/af-nav-menu/af-nav-menu.js +1 -1
  146. package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js +1 -1
  147. package/dist/collection/components/af-number-badge/af-number-badge.js +1 -1
  148. package/dist/collection/components/af-numbered-stepper/af-numbered-stepper.js +1 -1
  149. package/dist/collection/components/af-numbered-stepper-item/af-numbered-stepper-item.js +1 -1
  150. package/dist/collection/components/af-paperclip-decoration/af-paperclip-decoration.js +1 -1
  151. package/dist/collection/components/af-progress-line/af-progress-line.js +2 -2
  152. package/dist/collection/components/af-section/af-section.js +2 -2
  153. package/dist/collection/components/af-show/af-show.js +1 -1
  154. package/dist/collection/components/af-social-link/af-social-link.js +1 -1
  155. package/dist/collection/components/af-spacer/af-spacer.js +1 -1
  156. package/dist/collection/components/af-split-section/af-split-section.js +2 -2
  157. package/dist/collection/components/af-stack/af-stack.js +1 -1
  158. package/dist/collection/components/af-stat/af-stat.js +1 -1
  159. package/dist/collection/components/af-stats-row/af-stats-row.js +1 -1
  160. package/dist/collection/components/af-stepper/af-stepper.js +1 -1
  161. package/dist/collection/components/af-stepper-step/af-stepper-step.js +1 -1
  162. package/dist/collection/components/af-tab/af-tab.js +1 -1
  163. package/dist/collection/components/af-tab-bar/af-tab-bar.js +1 -1
  164. package/dist/collection/components/af-tag/af-tag.js +2 -2
  165. package/dist/collection/components/af-testimonial/af-testimonial.js +2 -2
  166. package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +1 -1
  167. package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +1 -1
  168. package/dist/collection/components/af-text-image-nest/af-text-image-nest.js +1 -1
  169. package/dist/collection/components/af-textarea/af-textarea.js +20 -1
  170. package/dist/collection/components/af-textarea/af-textarea.js.map +1 -1
  171. package/dist/collection/components/af-theme-override/af-theme-override.js +1 -1
  172. package/dist/collection/components/af-video-container/af-video-container.js +1 -1
  173. package/dist/collection/components/af-visually-hidden/af-visually-hidden.js +1 -1
  174. package/dist/components/af-accordion-item.js +1 -1
  175. package/dist/components/af-accordion.js +1 -1
  176. package/dist/components/af-card.js +1 -1
  177. package/dist/components/af-center.js +1 -1
  178. package/dist/components/af-client-carousel.js +1 -1
  179. package/dist/components/af-contact-item.js +1 -1
  180. package/dist/components/af-divider.js +1 -1
  181. package/dist/components/af-feature-accordion.js +2 -2
  182. package/dist/components/af-feature-card.js +1 -1
  183. package/dist/components/af-feature-grid.js +2 -2
  184. package/dist/components/af-footer-column.js +1 -1
  185. package/dist/components/af-footer-link.js +1 -1
  186. package/dist/components/af-footer.js +1 -1
  187. package/dist/components/af-grid.js +2 -2
  188. package/dist/components/af-hero.js +1 -1
  189. package/dist/components/af-icon-box.js +1 -1
  190. package/dist/components/af-icon-text.js +2 -2
  191. package/dist/components/af-illustrated-card.js +1 -1
  192. package/dist/components/af-image.js +1 -1
  193. package/dist/components/af-in-page-banner.js +1 -1
  194. package/dist/components/af-inline.js +1 -1
  195. package/dist/components/af-input.js +1 -1
  196. package/dist/components/af-logo-well.js +1 -1
  197. package/dist/components/af-nav-accordion-item.js +2 -2
  198. package/dist/components/af-nav-accordion.js +1 -1
  199. package/dist/components/af-nav-menu-nest.js +1 -1
  200. package/dist/components/af-nav-menu.js +1 -1
  201. package/dist/components/af-number-badge.js +1 -1
  202. package/dist/components/af-numbered-stepper-item.js +2 -2
  203. package/dist/components/af-numbered-stepper.js +1 -1
  204. package/dist/components/af-paperclip-decoration.js +1 -1
  205. package/dist/components/af-progress-line.js +1 -1
  206. package/dist/components/af-section.js +1 -1
  207. package/dist/components/af-show.js +1 -1
  208. package/dist/components/af-social-link.js +1 -1
  209. package/dist/components/af-spacer.js +1 -1
  210. package/dist/components/af-split-section.js +2 -2
  211. package/dist/components/af-stack.js +1 -1
  212. package/dist/components/af-stat.js +1 -1
  213. package/dist/components/af-stats-row.js +1 -1
  214. package/dist/components/af-stepper-step.js +1 -1
  215. package/dist/components/af-stepper.js +1 -1
  216. package/dist/components/af-tab-bar.js +1 -1
  217. package/dist/components/af-tab.js +1 -1
  218. package/dist/components/af-tag.js +1 -1
  219. package/dist/components/af-testimonial-carousel.js +2 -2
  220. package/dist/components/af-testimonial-stat.js +1 -1
  221. package/dist/components/af-testimonial.js +2 -2
  222. package/dist/components/af-text-image-nest.js +1 -1
  223. package/dist/components/af-text-image.js +1 -1
  224. package/dist/components/af-textarea.js +1 -1
  225. package/dist/components/af-theme-override.js +1 -1
  226. package/dist/components/af-video-container.js +1 -1
  227. package/dist/components/af-visually-hidden.js +1 -1
  228. package/dist/components/index.js +8 -8
  229. package/dist/components/{p-CmU4eYJE.js → p-B4bimVSM.js} +4 -4
  230. package/dist/components/{p-CmU4eYJE.js.map → p-B4bimVSM.js.map} +1 -1
  231. package/dist/components/{p-WJ7nfpxz.js → p-BSgEGp12.js} +5 -5
  232. package/dist/components/{p-WJ7nfpxz.js.map → p-BSgEGp12.js.map} +1 -1
  233. package/dist/components/{p-DUWgh2he.js → p-BgQvXXuB.js} +3 -3
  234. package/dist/components/{p-DUWgh2he.js.map → p-BgQvXXuB.js.map} +1 -1
  235. package/dist/components/{p-Dd_y3e80.js → p-BiSEOBg5.js} +3 -3
  236. package/dist/components/{p-Dd_y3e80.js.map → p-BiSEOBg5.js.map} +1 -1
  237. package/dist/components/{p-D1kXpb5A.js → p-BwowgpiS.js} +4 -4
  238. package/dist/components/{p-D1kXpb5A.js.map → p-BwowgpiS.js.map} +1 -1
  239. package/dist/components/{p-CxQXmlHR.js → p-CNPKZ3ct.js} +3 -3
  240. package/dist/components/{p-CxQXmlHR.js.map → p-CNPKZ3ct.js.map} +1 -1
  241. package/dist/components/{p-DinivoZj.js → p-CSejCgwa.js} +3 -3
  242. package/dist/components/{p-DinivoZj.js.map → p-CSejCgwa.js.map} +1 -1
  243. package/dist/components/{p-DNdQkidf.js → p-CTVS7dJ6.js} +3 -3
  244. package/dist/components/{p-DNdQkidf.js.map → p-CTVS7dJ6.js.map} +1 -1
  245. package/dist/components/{p-Bebi4EvS.js → p-CixFE5Cu.js} +16 -3
  246. package/dist/components/p-CixFE5Cu.js.map +1 -0
  247. package/dist/components/{p-DBtE-heu.js → p-DPgWkfHr.js} +4 -4
  248. package/dist/components/{p-DBtE-heu.js.map → p-DPgWkfHr.js.map} +1 -1
  249. package/dist/components/{p-DOZPKyww.js → p-Dacy0GsN.js} +28 -7
  250. package/dist/components/p-Dacy0GsN.js.map +1 -0
  251. package/dist/components/{p-CY3F_EFI.js → p-DxYqml-M.js} +3 -3
  252. package/dist/components/{p-CY3F_EFI.js.map → p-DxYqml-M.js.map} +1 -1
  253. package/dist/components/{p-CmOT3tAE.js → p-fLdNRQwR.js} +3 -3
  254. package/dist/components/{p-CmOT3tAE.js.map → p-fLdNRQwR.js.map} +1 -1
  255. package/dist/components/{p-CPPy4ZvS.js → p-sIePTJnR.js} +4 -4
  256. package/dist/components/{p-CPPy4ZvS.js.map → p-sIePTJnR.js.map} +1 -1
  257. package/dist/esm/af-accordion-item.entry.js +1 -1
  258. package/dist/esm/af-accordion.entry.js +1 -1
  259. package/dist/esm/af-card.entry.js +1 -1
  260. package/dist/esm/af-center.entry.js +1 -1
  261. package/dist/esm/af-client-carousel.entry.js +1 -1
  262. package/dist/esm/af-contact-item.entry.js +1 -1
  263. package/dist/esm/af-divider.entry.js +1 -1
  264. package/dist/esm/af-feature-accordion.entry.js +2 -2
  265. package/dist/esm/af-feature-grid.entry.js +1 -1
  266. package/dist/esm/af-footer-column.entry.js +1 -1
  267. package/dist/esm/af-footer-link.entry.js +1 -1
  268. package/dist/esm/af-footer.entry.js +1 -1
  269. package/dist/esm/af-grid.entry.js +2 -2
  270. package/dist/esm/af-hero.entry.js +2 -2
  271. package/dist/esm/af-icon-box.entry.js +1 -1
  272. package/dist/esm/af-icon-text.entry.js +1 -1
  273. package/dist/esm/af-illustrated-card.entry.js +1 -1
  274. package/dist/esm/af-image.entry.js +1 -1
  275. package/dist/esm/af-in-page-banner.entry.js +1 -1
  276. package/dist/esm/af-inline.entry.js +1 -1
  277. package/dist/esm/af-input.entry.js +23 -5
  278. package/dist/esm/af-input.entry.js.map +1 -1
  279. package/dist/esm/af-logo-well.entry.js +1 -1
  280. package/dist/esm/af-nav-accordion-item.entry.js +2 -2
  281. package/dist/esm/af-nav-accordion.entry.js +1 -1
  282. package/dist/esm/af-nav-menu-nest.entry.js +1 -1
  283. package/dist/esm/af-nav-menu.entry.js +1 -1
  284. package/dist/esm/af-number-badge.entry.js +1 -1
  285. package/dist/esm/af-numbered-stepper-item.entry.js +1 -1
  286. package/dist/esm/af-numbered-stepper.entry.js +1 -1
  287. package/dist/esm/af-paperclip-decoration.entry.js +1 -1
  288. package/dist/esm/af-progress-line.entry.js +2 -2
  289. package/dist/esm/af-section.entry.js +2 -2
  290. package/dist/esm/af-show.entry.js +1 -1
  291. package/dist/esm/af-social-link.entry.js +1 -1
  292. package/dist/esm/af-spacer.entry.js +1 -1
  293. package/dist/esm/af-split-section.entry.js +2 -2
  294. package/dist/esm/af-stack.entry.js +1 -1
  295. package/dist/esm/af-stat.entry.js +1 -1
  296. package/dist/esm/af-stats-row.entry.js +1 -1
  297. package/dist/esm/af-stepper-step.entry.js +1 -1
  298. package/dist/esm/af-stepper.entry.js +1 -1
  299. package/dist/esm/af-tab-bar.entry.js +1 -1
  300. package/dist/esm/af-tab.entry.js +1 -1
  301. package/dist/esm/af-tag.entry.js +2 -2
  302. package/dist/esm/af-testimonial-carousel.entry.js +1 -1
  303. package/dist/esm/af-testimonial-stat.entry.js +1 -1
  304. package/dist/esm/af-testimonial.entry.js +2 -2
  305. package/dist/esm/af-text-image-nest.entry.js +1 -1
  306. package/dist/esm/af-textarea.entry.js +14 -1
  307. package/dist/esm/af-textarea.entry.js.map +1 -1
  308. package/dist/esm/af-theme-override.entry.js +1 -1
  309. package/dist/esm/af-video-container.entry.js +1 -1
  310. package/dist/esm/af-visually-hidden.entry.js +1 -1
  311. package/dist/esm/affinda.js +1 -1
  312. package/dist/esm/loader.js +1 -1
  313. package/dist/hydrate/index.js +106 -66
  314. package/dist/hydrate/index.mjs +106 -66
  315. package/dist/types/components/af-input/af-input.d.ts +21 -6
  316. package/dist/types/components/af-textarea/af-textarea.d.ts +9 -0
  317. package/dist/types/components.d.ts +63 -13
  318. package/package.json +1 -1
  319. package/dist/affinda/p-15a1d019.entry.js +0 -2
  320. package/dist/affinda/p-838bbc80.entry.js +0 -2
  321. package/dist/affinda/p-a196f362.entry.js +0 -2
  322. package/dist/affinda/p-a6be61c2.entry.js +0 -2
  323. package/dist/affinda/p-b77fa201.entry.js +0 -2
  324. package/dist/affinda/p-b77fa201.entry.js.map +0 -1
  325. package/dist/affinda/p-c2a6c874.entry.js +0 -2
  326. package/dist/affinda/p-c925d301.entry.js +0 -2
  327. package/dist/affinda/p-c925d301.entry.js.map +0 -1
  328. package/dist/affinda/p-cd21a62a.entry.js +0 -2
  329. package/dist/affinda/p-ea5aea86.entry.js +0 -2
  330. package/dist/affinda/p-fd772af4.entry.js +0 -2
  331. package/dist/components/p-Bebi4EvS.js.map +0 -1
  332. package/dist/components/p-DOZPKyww.js.map +0 -1
  333. /package/dist/affinda/{p-bb80195f.entry.js.map → p-01b848e9.entry.js.map} +0 -0
  334. /package/dist/affinda/{p-75d76909.entry.js.map → p-0c4a59b3.entry.js.map} +0 -0
  335. /package/dist/affinda/{p-1819ae80.entry.js.map → p-0cbb1cb2.entry.js.map} +0 -0
  336. /package/dist/affinda/{p-a196f362.entry.js.map → p-11d41c9a.entry.js.map} +0 -0
  337. /package/dist/affinda/{p-a6be61c2.entry.js.map → p-1c19e94c.entry.js.map} +0 -0
  338. /package/dist/affinda/{p-64159112.entry.js.map → p-1c922fff.entry.js.map} +0 -0
  339. /package/dist/affinda/{p-b31e438d.entry.js.map → p-223b2e70.entry.js.map} +0 -0
  340. /package/dist/affinda/{p-a4b36eb7.entry.js.map → p-2315cb6b.entry.js.map} +0 -0
  341. /package/dist/affinda/{p-41580a3c.entry.js.map → p-296a6ece.entry.js.map} +0 -0
  342. /package/dist/affinda/{p-e057ebf1.entry.js.map → p-2e67fb0d.entry.js.map} +0 -0
  343. /package/dist/affinda/{p-5834ffe7.entry.js.map → p-319b51c7.entry.js.map} +0 -0
  344. /package/dist/affinda/{p-50e12df0.entry.js.map → p-39a40e6a.entry.js.map} +0 -0
  345. /package/dist/affinda/{p-c23d7aa5.entry.js.map → p-3df90209.entry.js.map} +0 -0
  346. /package/dist/affinda/{p-616e0116.entry.js.map → p-3fb33478.entry.js.map} +0 -0
  347. /package/dist/affinda/{p-be219843.entry.js.map → p-604399ed.entry.js.map} +0 -0
  348. /package/dist/affinda/{p-c15d00b5.entry.js.map → p-653bca57.entry.js.map} +0 -0
  349. /package/dist/affinda/{p-6ff65e42.entry.js.map → p-6c4137dc.entry.js.map} +0 -0
  350. /package/dist/affinda/{p-95da58f3.entry.js.map → p-764601e6.entry.js.map} +0 -0
  351. /package/dist/affinda/{p-8b0d08de.entry.js.map → p-765883e7.entry.js.map} +0 -0
  352. /package/dist/affinda/{p-cea1c1ff.entry.js.map → p-7b60b684.entry.js.map} +0 -0
  353. /package/dist/affinda/{p-df10dee2.entry.js.map → p-805148d0.entry.js.map} +0 -0
  354. /package/dist/affinda/{p-d573d115.entry.js.map → p-8eb57e35.entry.js.map} +0 -0
  355. /package/dist/affinda/{p-656630fc.entry.js.map → p-90e9e29c.entry.js.map} +0 -0
  356. /package/dist/affinda/{p-eca85313.entry.js.map → p-9c470a88.entry.js.map} +0 -0
  357. /package/dist/affinda/{p-1a71d0f9.entry.js.map → p-9c8d18a3.entry.js.map} +0 -0
  358. /package/dist/affinda/{p-cc2539de.entry.js.map → p-9d85f685.entry.js.map} +0 -0
  359. /package/dist/affinda/{p-3fd3d4cd.entry.js.map → p-aa0cb70d.entry.js.map} +0 -0
  360. /package/dist/affinda/{p-1f2f7fff.entry.js.map → p-aabe4d24.entry.js.map} +0 -0
  361. /package/dist/affinda/{p-88f38401.entry.js.map → p-ae27e9da.entry.js.map} +0 -0
  362. /package/dist/affinda/{p-919e2144.entry.js.map → p-bc3d2bb4.entry.js.map} +0 -0
  363. /package/dist/affinda/{p-d9b0f217.entry.js.map → p-be71688c.entry.js.map} +0 -0
  364. /package/dist/affinda/{p-cd21a62a.entry.js.map → p-c87e5b29.entry.js.map} +0 -0
  365. /package/dist/affinda/{p-7b08b7ba.entry.js.map → p-dd30a9b8.entry.js.map} +0 -0
  366. /package/dist/affinda/{p-8f36e911.entry.js.map → p-e2667603.entry.js.map} +0 -0
  367. /package/dist/affinda/{p-02c6f6d1.entry.js.map → p-e678100f.entry.js.map} +0 -0
  368. /package/dist/affinda/{p-374f9557.entry.js.map → p-e8a91b15.entry.js.map} +0 -0
  369. /package/dist/affinda/{p-7eff3490.entry.js.map → p-e9527b93.entry.js.map} +0 -0
  370. /package/dist/affinda/{p-67b08108.entry.js.map → p-eb611fb5.entry.js.map} +0 -0
  371. /package/dist/affinda/{p-f1705df1.entry.js.map → p-edb426e6.entry.js.map} +0 -0
  372. /package/dist/affinda/{p-54dc41a9.entry.js.map → p-f47d0d2d.entry.js.map} +0 -0
  373. /package/dist/affinda/{p-56e96bd3.entry.js.map → p-f49b41f9.entry.js.map} +0 -0
  374. /package/dist/affinda/{p-976e0c29.entry.js.map → p-f6e1750e.entry.js.map} +0 -0
  375. /package/dist/affinda/{p-3084cb0f.entry.js.map → p-fad2d40b.entry.js.map} +0 -0
  376. /package/dist/affinda/{p-a79077d5.entry.js.map → p-fc19f53c.entry.js.map} +0 -0
  377. /package/dist/affinda/{p-c2a6c874.entry.js.map → p-fd39a1c2.entry.js.map} +0 -0
  378. /package/dist/affinda/{p-a3ed4092.entry.js.map → p-fee9359c.entry.js.map} +0 -0
@@ -11,7 +11,7 @@ export class AfFooterLink {
11
11
  this.external = false;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'bbd1c9452688e637e2f042855b460c550a04ab7d' }, h("li", { key: '01c2e3ea98cb848935f587e7dd83a71735f9bacb' }, h("a", { key: '965d00d17484deade15cc8e502ad507e67443f8c', href: this.href, class: "footer-link", target: this.external ? '_blank' : undefined, rel: this.external ? 'noopener noreferrer' : undefined }, h("slot", { key: '4536f9279791c59a9d198454ed2bf4e60194d52e' }), this.external && (h("svg", { key: '5e7a04185d8643b164f4b35f95dba5f0312ce1f4', class: "footer-link__external-icon", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: '6a6a43d0276a36ffc43f6a29e31a74d8c4ae3c57', d: "M10 6.5v3a1 1 0 0 1-1 1H2.5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h3M7.5 1.5h3v3M5.5 6.5l5-5", stroke: "currentColor", "stroke-width": "1.2", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
14
+ return (h(Host, { key: 'e341043b7d2a33e6bad09755eef69f170c7b809a' }, h("li", { key: 'abd9188151d0d11b0b98ad28ec7263f68cf03ee9' }, h("a", { key: '8de2cdf51282334947408dc2d5f5b4060a94e73a', href: this.href, class: "footer-link", target: this.external ? '_blank' : undefined, rel: this.external ? 'noopener noreferrer' : undefined }, h("slot", { key: '3f2fd206e8b121afcd137de19e2ef7ce974ef16e' }), this.external && (h("svg", { key: '9e3075f004cfdee1dcf25be2a0437f841a2baeda', class: "footer-link__external-icon", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: '72d0f422c4ded4b4ff44107edd5afa99b30ff123', d: "M10 6.5v3a1 1 0 0 1-1 1H2.5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h3M7.5 1.5h3v3M5.5 6.5l5-5", stroke: "currentColor", "stroke-width": "1.2", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
15
15
  }
16
16
  static get is() { return "af-footer-link"; }
17
17
  static get encapsulation() { return "scoped"; }
@@ -28,14 +28,14 @@ export class AfGrid {
28
28
  end: 'end',
29
29
  stretch: 'stretch',
30
30
  };
31
- return (h(Host, { key: 'bb11b9a7bd4d800f5466f199789ca36ca699e82d', style: {
31
+ return (h(Host, { key: 'd8f5d8d0eb7a070892ed00bea3b6cacba55ebfd0', style: {
32
32
  '--grid-columns': String(this.columns),
33
33
  '--grid-columns-lg': String(this.columnsLg ?? this.columns),
34
34
  '--grid-columns-md': String(this.columnsMd ?? this.columnsLg ?? this.columns),
35
35
  '--grid-columns-sm': String(this.columnsSm ?? this.columnsMd ?? this.columnsLg ?? 1),
36
36
  '--grid-gap': `var(--space-${this.gap})`,
37
37
  '--grid-align': alignMap[this.align],
38
- } }, h("div", { key: '02d1c73218c856deee3915f5c1c61c6e01380fe3', class: "grid" }, h("slot", { key: 'c4d54340438da4c9bc0f865e1e62c206b1cc4e3f' }))));
38
+ } }, h("div", { key: '11c90d93bb50c200faeab87ffaef287256609f4e', class: "grid" }, h("slot", { key: '4e468e5ce63b0550ae6f16694b7e0a5e26d8564f' }))));
39
39
  }
40
40
  static get is() { return "af-grid"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -135,12 +135,12 @@ export class AfHero {
135
135
  const hasIllustration = v === 'inkwell-illustration' ||
136
136
  v === 'soft-clay-illustration' ||
137
137
  v === 'mist-green-illustration';
138
- return (h(Host, { key: '0a992496d31ad5bfbc3d987f8e14d4947ed4634a', class: {
138
+ return (h(Host, { key: 'c40393e3a50d1beecbe83804a1407a51d46e82ce', class: {
139
139
  [`hero--${v}`]: true,
140
140
  [`hero--pad-${this.topPad}`]: true,
141
141
  [`hero--theme-${this.theme}`]: true,
142
142
  'hero--float-navbar': this.resolvedFloatNavbar,
143
- } }, h("af-section", { key: 'e7fb9c00edf9df24b3a6f31ec73153f076623b80', theme: this.theme, padding: "none", container: false, class: "hero__section" }, centered && (h("div", { key: 'c11031876d2de4e7bdec1ff11ff05488f91e1b95', class: "hero__paperclip", "aria-hidden": "true" }, h("slot", { key: 'e374f0ebeb82e4d1f5f0be91a0067a2d6c0dc5ec', name: "paperclip" }))), h("af-container", { key: '516ef86f39140df14422abd4dc2688d5afe95327', class: "hero__inner" }, centered ? (this.renderCopy()) : (h("div", { class: "hero__grid" }, this.renderCopy(), hasImage && this.renderPhoto(), hasIllustration && this.renderIllustration()))), h("div", { key: '946d5bd24bba79faa0aa11af2313538d9131acdc', class: "hero__logos" }, h("slot", { key: '3e6f93398f642963bf38f95dbd9c037f26dcf8f9', name: "logos-below" })))));
143
+ } }, h("af-section", { key: '77ce170dadae5685fd58ccd3e9b679099ed7068f', theme: this.theme, padding: "none", container: false, class: "hero__section" }, centered && (h("div", { key: 'e1f70ac7c9f4f708a3ac033aaba9c61aa1c5ca58', class: "hero__paperclip", "aria-hidden": "true" }, h("slot", { key: '4cc7a2ca78151e4190e81af45ad9989e28c667b1', name: "paperclip" }))), h("af-container", { key: 'c3e00acd79776207246290a7b3d5b8bb7b776791', class: "hero__inner" }, centered ? (this.renderCopy()) : (h("div", { class: "hero__grid" }, this.renderCopy(), hasImage && this.renderPhoto(), hasIllustration && this.renderIllustration()))), h("div", { key: '0cdd9f9071e3670a6d4b4a6082abe9252750d3b5', class: "hero__logos" }, h("slot", { key: '8b53c58048c404b6d057f0e56d1ec0402ffd6e00', name: "logos-below" })))));
144
144
  }
145
145
  static get is() { return "af-hero"; }
146
146
  static get encapsulation() { return "scoped"; }
@@ -27,7 +27,7 @@ export class AfIconBox {
27
27
  [`icon-box--size-${this.size}`]: true,
28
28
  };
29
29
  const iconSize = this.size === 'small' ? 20 : this.size === 'large' ? 48 : 40;
30
- return (h(Host, { key: 'b224f522fa4db3081cb97fbe88aec0a4f4198d61' }, h("div", { key: '99ee87a2104918c6d3855cc5d7e90dcbda2d9638', class: containerClasses }, h("af-icon", { key: '778170ce3b08ca6b34289cc6bd1d49ade9583bc1', name: this.icon, size: iconSize }))));
30
+ return (h(Host, { key: '2a0468909e1ec2a92c20b7cda6cb39af8584a42b' }, h("div", { key: '57eaff445b3d6a04c5eb7c39729bfb576866ca07', class: containerClasses }, h("af-icon", { key: '5590e7bd7dea9951f2f647c85240ee6673bcac32', name: this.icon, size: iconSize }))));
31
31
  }
32
32
  static get is() { return "af-icon-box"; }
33
33
  static get encapsulation() { return "scoped"; }
@@ -43,7 +43,7 @@ export class AfIconText {
43
43
  'icon-text': true,
44
44
  [`icon-text--${this.orientation}`]: true,
45
45
  };
46
- return (h(Host, { key: 'e00ca808eec26f88a177d91373d749908f3b2b5a' }, h("div", { key: 'c2709624720dd8775474c7c5be41ab93291bbe83', class: containerClasses }, h("af-icon-box", { key: '68feda331b07eefd23f10a4edf25b935e0298cf8', icon: this.icon, size: this.iconSize, class: "icon-text__icon" }), h("af-typography-lockup", { key: '56ee1da85e0808e3e12033abc7f0c74786b0b099', headingSize: this.headingSize, textAlignment: "left", buttonAlignment: "vertical", class: "icon-text__lockup" }, h("slot", { key: '056bef68d2251e514527cd49cbe2e8623556cc2a' }), h("span", { key: 'fb3379b7494d73b306a10f792f403ea1da719067', slot: "description" }, h("slot", { key: '7d06d6f52096fd80343823bd406f5a80d0035eaa', name: "description" })), h("span", { key: '9b4e20bc667fe53312297bdea1b5a96706dd3521', slot: "buttons" }, h("slot", { key: 'dac8dfcef4cb3f1f3d7caacb6ef40d29e52b53fe', name: "buttons" }))))));
46
+ return (h(Host, { key: 'cff8f57c2175530744bbf82bcaf80883602dea66' }, h("div", { key: '2fd499767ec70050ed0319a27d8cdb91b5b9432c', class: containerClasses }, h("af-icon-box", { key: 'd39fe7b335e68064ee0ef88a9fa210ae7c7d5166', icon: this.icon, size: this.iconSize, class: "icon-text__icon" }), h("af-typography-lockup", { key: 'f613b10a4f90fef207ac007170be63a06d3018a9', headingSize: this.headingSize, textAlignment: "left", buttonAlignment: "vertical", class: "icon-text__lockup" }, h("slot", { key: '151b8544c65eede0f0c7fa3c0bfc003bed54c25a' }), h("span", { key: 'eae7c355f05b99b3a443d2dd7a211d9c4ee9398c', slot: "description" }, h("slot", { key: '2514ef8f6b6524d8647e43cc2a111a03ea17f094', name: "description" })), h("span", { key: '0271986cc47f4b0625294109f720b76cb8917e21', slot: "buttons" }, h("slot", { key: '28a5b615d74f94249a60ab59561e756ad49c9726', name: "buttons" }))))));
47
47
  }
48
48
  static get is() { return "af-icon-text"; }
49
49
  static get encapsulation() { return "scoped"; }
@@ -34,7 +34,7 @@ export class AfIllustratedCard {
34
34
  [`illustrated-card--breakpoint-${this.breakpoint}`]: true,
35
35
  [`illustrated-card--size-${this.cardSize}`]: true,
36
36
  };
37
- return (h(Host, { key: '6cfa00ec3678220a5cb65c47c2a6dd120a8c5553' }, h("div", { key: '0b2fe8e581ead66d4f87007effce17bc506acb90', class: wrapperClasses }, h("af-card", { key: '7c9b545d3dd1960c43a6913ed28beb7f061c31e7', theme: this.theme }, h("div", { key: 'cfe8a3385853a6affefc77f18f5625f292f10489', class: "illustrated-card__content" }, h("af-typography-lockup", { key: '38e539b8617502fdd4ae2ebd6e1e536cf502b9a1', headingSize: 3, breakpoint: this.breakpoint, textAlignment: "left", buttonLayout: "vertical" }, h("slot", { key: '8988255edefe50349f78fe45db72c584ba6378ef' }), h("span", { key: '769cbdd181f166b086974e21a7f941dd4e17add0', slot: "description" }, h("slot", { key: 'ac1793bf3c0cc8e1a5d1ce9b2958a4e320b81134', name: "body" })), h("span", { key: 'ef22764670352f88d7e647b44625ac1afa94d51f', slot: "buttons" }, h("slot", { key: '625f23188a6cd9914b67b1c9937c728bc7125f4f', name: "buttons" })))), h("div", { key: '0616a426ea07da6c92488c65d85ba3c3ab84c40b', class: "illustrated-card__illustration-area" }, h("slot", { key: 'cf2998e62fb20f3cd049e0640004322a0b438ac1', name: "illustration" }))))));
37
+ return (h(Host, { key: '9cb248db15ab8be5119df3183457470491de468b' }, h("div", { key: 'c3ba0afed9c7fe45f5d577aedf9b320a1f875e47', class: wrapperClasses }, h("af-card", { key: '07f201cc8c56bade2e793e68b7777c23ac7d0ba7', theme: this.theme }, h("div", { key: '7f1a2579a29229f8161771836b60c0d882cabf59', class: "illustrated-card__content" }, h("af-typography-lockup", { key: 'b5d9150b3f63e46e36f478380f36fb3f273f227c', headingSize: 3, breakpoint: this.breakpoint, textAlignment: "left", buttonLayout: "vertical" }, h("slot", { key: '6aba88b9857866d246270d6a7c0ebe9ba67c5d74' }), h("span", { key: '2e0454ef021e537917aad2227fd75e66b421761c', slot: "description" }, h("slot", { key: 'a7779fbb7ce77d4d24ac834bd302e3aa437610ab', name: "body" })), h("span", { key: 'c0c82b1f5470dfd8f7b75474b4730e679c2641d7', slot: "buttons" }, h("slot", { key: '1a9ec3da3c50fe815e4502ec71218c8a21dc3b1c', name: "buttons" })))), h("div", { key: 'e758d3071a54afdad44903e0002d5aa8a50b17e0', class: "illustrated-card__illustration-area" }, h("slot", { key: '9521bbe523e32015e5bfd8f56cdcc1959e382fc2', name: "illustration" }))))));
38
38
  }
39
39
  static get is() { return "af-illustrated-card"; }
40
40
  static get encapsulation() { return "scoped"; }
@@ -17,7 +17,7 @@ export class AfImage {
17
17
  this.shape = 'rounded';
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: 'a8954272f3c0defc0b9e33d5f3221c6e1083d927' }, h("div", { key: '2fd3bad5b46360cac57d069031ec2f69103f6542', class: `image-container image-container--${this.shape}` }, h("img", { key: '72a11cde6b65481320d8b6a1d65e85862d4a449e', src: this.src, alt: this.alt, class: "image" }), h("div", { key: '7727e1ac4179e96f8c8928de678136337bd82f44', class: "image-border", "aria-hidden": "true" }))));
20
+ return (h(Host, { key: '4f48634e84e032c9a93cf48444709146ffe591b7' }, h("div", { key: 'c26f889afa7c3d35e5f65dcc23d63a41a9c0987e', class: `image-container image-container--${this.shape}` }, h("img", { key: 'c1474197475df3bff2263b509f3abf59a53aa932', src: this.src, alt: this.alt, class: "image" }), h("div", { key: 'bb6e0cae628bf65e423d5986df8ed119af74e699', class: "image-border", "aria-hidden": "true" }))));
21
21
  }
22
22
  static get is() { return "af-image"; }
23
23
  static get encapsulation() { return "scoped"; }
@@ -66,7 +66,7 @@ export class AfInPageBanner {
66
66
  return (h("div", { class: "banner__wave-overlay", "aria-hidden": "true" }, h("svg", { viewBox: "0 0 521 323", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "banner__wave-svg" }, h("path", { d: "M473.775 46.273C443.539 15.92 403.701 -0.631616 361.351 0.0184478H154.183L112.67 67.225H361.893C362.189 67.225 362.533 67.225 362.829 67.225C387.155 67.225 410.004 76.7259 427.289 94.0776C445.017 111.879 454.816 135.682 454.816 161.134C454.816 213.389 412.959 255.843 361.548 255.843H108.041C84.9457 255.843 66.1345 236.742 66.1345 213.289C66.1345 189.837 84.9949 170.435 107.992 169.735H334.957L377.799 102.528H106.859C47.9636 104.029 0 153.683 0 213.289C0 272.895 48.456 323 108.041 323H361.548C449.449 323 521 250.343 521 161.084C521 117.53 504.257 76.7759 473.824 46.2229L473.775 46.273Z", fill: "currentColor" }))));
67
67
  }
68
68
  render() {
69
- return (h(Host, { key: '87abd1c23d56419cbbaf1c34230afa17f7ccffa8' }, h("div", { key: 'ea56f17212a63e56bf1339009dbbac39835aacf3', class: `banner theme-${this.theme}` }, this.showWaveDecoration && this.renderWaveOverlay(), h("div", { key: '09016e39680edb60995ce373f906025d86e4c9d4', class: "banner__illustration" }, this.illustrationUrl ? (h("img", { src: this.illustrationUrl, alt: "", class: "banner__illustration-img", loading: "lazy" })) : (h("slot", { name: "illustration" }))), h("div", { key: 'aebd3b10940e61b6b24a4592741173e175b8f17a', class: "banner__content" }, h("div", { key: 'e3f900a1775c905f4e5816ed56fc7ccfd48581a7', class: "banner__copy" }, h("h2", { key: 'fde36b2f853c379ab9434c2619eb9b5959f47a66', class: "banner__heading" }, h("slot", { key: 'd872bb70022c71240442fbf884e2479332657973', name: "heading" }, this.heading)), h("div", { key: '21728ca79ef014f2397da9c9bea6e42d278fdcbf', class: "banner__description" }, h("slot", { key: '5c383f37817482d3865d0aa9f4119522ef6b9152', name: "description" }, this.description))), h("div", { key: '057731169459a52833810baf53ad3f62c4687693', class: "banner__buttons" }, h("slot", { key: '1e6da776478fd903694226b78ccf4b99f9848d39', name: "buttons" }, this.primaryButtonText && (h("af-button", { key: '8c930f1b11bcd07a1078caa8a65dc29ef9a625f4', href: this.primaryButtonUrl, variant: "primary" }, this.primaryButtonText)), this.secondaryButtonText && (h("af-button", { key: '0b57d550f76dd26b2d5253f618fb4cd03cfd5186', href: this.secondaryButtonUrl, variant: "secondary" }, this.secondaryButtonText))))))));
69
+ return (h(Host, { key: '022f98e0925a4cdc04db66889b266f1741932513' }, h("div", { key: '64f60ef33b18ba4e0e20d5248a3a8d396a72b4cd', class: `banner theme-${this.theme}` }, this.showWaveDecoration && this.renderWaveOverlay(), h("div", { key: '26ff6aefd41268a5bece7fb2c5161cfacd38d54e', class: "banner__illustration" }, this.illustrationUrl ? (h("img", { src: this.illustrationUrl, alt: "", class: "banner__illustration-img", loading: "lazy" })) : (h("slot", { name: "illustration" }))), h("div", { key: '025c1664b11d6531d2471ab652a0715e58ee5d46', class: "banner__content" }, h("div", { key: 'e58cc91158e663068ddaa01fd9776135055769fc', class: "banner__copy" }, h("h2", { key: '7f3afcf9b28cbc1b924f6dec0bf4882c64b1c306', class: "banner__heading" }, h("slot", { key: 'ac04c8f27d294f97f79ab11595ce4c1e12e3d9f3', name: "heading" }, this.heading)), h("div", { key: '7b5a689cf681591d8eac098f9e0a8d3b01348140', class: "banner__description" }, h("slot", { key: '724079691b59aab3f336a3524b85f5fe27ad754d', name: "description" }, this.description))), h("div", { key: 'e4d8eedee783e6b48ca780bf95337048384165fc', class: "banner__buttons" }, h("slot", { key: 'e1b5995706145354b41daa5a774086ddaa65accc', name: "buttons" }, this.primaryButtonText && (h("af-button", { key: 'c5e797d3c62876d4ba964272efe7d9d97b962a36', href: this.primaryButtonUrl, variant: "primary" }, this.primaryButtonText)), this.secondaryButtonText && (h("af-button", { key: 'e4a8ba0065181b3201f906fdc718595ad9bdd4fc', href: this.secondaryButtonUrl, variant: "secondary" }, this.secondaryButtonText))))))));
70
70
  }
71
71
  static get is() { return "af-in-page-banner"; }
72
72
  static get encapsulation() { return "scoped"; }
@@ -49,7 +49,7 @@ export class AfInline {
49
49
  justifyContent: justifyMap[this.justify],
50
50
  flexWrap: this.wrap ? 'wrap' : 'nowrap',
51
51
  };
52
- return (h(Host, { key: '3dce5c336021a6c5046258120a72f3087a421e2a', style: style }, h("slot", { key: '28fb5aff7cb1a0edf1389bc7146d21560313468c' })));
52
+ return (h(Host, { key: '7069c721994bbd1acc8d57875522dbefdaf796d9', style: style }, h("slot", { key: 'e39c2d982cca56ab6545e3e8a43eea7696708f21' })));
53
53
  }
54
54
  static get is() { return "af-inline"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -214,6 +214,48 @@
214
214
  border-radius: 4px;
215
215
  }
216
216
 
217
+ /* ---------- Multiline (textarea) mode ---------- */
218
+
219
+ /* Container has no inner padding in multiline mode — the textarea
220
+ element owns the padding so it fills the box and resizes cleanly. */
221
+ .input-container--multiline {
222
+ padding: 0;
223
+ min-height: 0;
224
+ overflow: hidden;
225
+ }
226
+
227
+ /* Native textarea */
228
+ .input--multiline {
229
+ flex: 1;
230
+ min-width: 0;
231
+ min-height: 108px;
232
+ padding: 12px 16px;
233
+ border: none;
234
+ background: transparent;
235
+ font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
236
+ font-weight: var(--font-weight-regular, 400);
237
+ font-size: 16px;
238
+ line-height: 24px;
239
+ color: var(--af-input-text, var(--af-typography-body-dark, #14343b));
240
+ outline: none;
241
+ resize: vertical;
242
+ }
243
+
244
+ .input--multiline::placeholder {
245
+ color: var(--af-input-placeholder, var(--af-typography-body-subtle, #60767b));
246
+ opacity: 1;
247
+ }
248
+
249
+ .input--multiline:disabled {
250
+ cursor: not-allowed;
251
+ color: var(--af-input-placeholder, var(--af-typography-body-subtle, #60767b));
252
+ resize: none;
253
+ }
254
+
255
+ .input--multiline:disabled::placeholder {
256
+ color: var(--af-input-placeholder, var(--af-typography-body-subtle, #60767b));
257
+ }
258
+
217
259
  /* Error row */
218
260
  .error-row {
219
261
  display: flex;
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  /**
3
3
  * Input field component with label, description, and error states.
4
- * Supports various input types and validation states.
4
+ * Supports single-line and multi-line (textarea) modes via the `multiline` prop.
5
5
  *
6
6
  * @slot label-end - Content to display at the end of the label (e.g., info icon)
7
7
  */
@@ -12,7 +12,8 @@ export class AfInput {
12
12
  */
13
13
  this.value = '';
14
14
  /**
15
- * The input type (text, email, password, number, tel, url, search)
15
+ * The input type (text, email, password, number, tel, url, search).
16
+ * Ignored when `multiline` is true.
16
17
  */
17
18
  this.type = 'text';
18
19
  /**
@@ -32,13 +33,27 @@ export class AfInput {
32
33
  */
33
34
  this.showInfoIcon = false;
34
35
  /**
35
- * Whether to show a search icon in the input
36
+ * Whether to show a search icon in the input. Ignored when `multiline` is true.
36
37
  */
37
38
  this.showSearchIcon = false;
38
39
  /**
39
- * Whether to show a clear button when input has value
40
+ * Whether to show a clear button when input has value. Ignored when `multiline` is true.
40
41
  */
41
42
  this.clearable = false;
43
+ /**
44
+ * Render as a multi-line textarea instead of a single-line input.
45
+ * Activates `rows` and `resize` props; ignores `type`, `pattern`,
46
+ * `autocomplete`, `showSearchIcon`, `clearable`.
47
+ */
48
+ this.multiline = false;
49
+ /**
50
+ * Number of visible rows when `multiline` is true. Ignored otherwise.
51
+ */
52
+ this.rows = 4;
53
+ /**
54
+ * Whether the textarea is resizable. Ignored when `multiline` is false.
55
+ */
56
+ this.resize = 'vertical';
42
57
  this.isFocused = false;
43
58
  this.isHovered = false;
44
59
  this.handleInput = (event) => {
@@ -75,8 +90,10 @@ export class AfInput {
75
90
  render() {
76
91
  const hasError = !!this.error;
77
92
  const hasValue = !!(this.value && this.value.length > 0);
93
+ const multiline = this.multiline;
78
94
  const wrapperClasses = {
79
95
  'input-wrapper': true,
96
+ 'input-wrapper--multiline': multiline,
80
97
  'disabled': this.disabled,
81
98
  'error': hasError,
82
99
  'focused': this.isFocused,
@@ -85,12 +102,13 @@ export class AfInput {
85
102
  };
86
103
  const inputContainerClasses = {
87
104
  'input-container': true,
105
+ 'input-container--multiline': multiline,
88
106
  'disabled': this.disabled,
89
107
  'error': hasError,
90
108
  'focused': this.isFocused,
91
109
  'hovered': this.isHovered && !this.disabled && !this.isFocused
92
110
  };
93
- return (h(Host, { key: '5bf8980e12ad5fc3b8b84df3acc749bddf61042d' }, h("div", { key: 'd0266eca85871397ed73381ca3d36f3dc2dd79ce', class: wrapperClasses }, this.label && (h("div", { key: 'f9fc2fe3f52a1f9be1404943d91489357ea941dc', class: "label-row" }, h("label", { key: '76283a7f0c9be127aa8c9115fcbc26b2d67d51cc', class: "label", htmlFor: "input" }, this.label, this.required && h("span", { key: '6b0de23e857abfdd25d6eefaa6ff22f22fa813dd', class: "required" }, "*")), this.showInfoIcon && (h("button", { key: '7c5f7a47a8357301f3fe28d6078bdec3ec1160c3', type: "button", class: "info-icon", onClick: this.handleInfoClick, "aria-label": "More information" }, h("svg", { key: '655c9448589937c2047a58962f78ab1872e0da84', viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5066c29389ac8f9e1e27771f43a98f75f9b03634', d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '1993da070066d33575618267d6af5b13b641143b', d: "M12 16V12", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: 'dd99ac12d4a23b98c98fca1df34916968276fc0e', d: "M12 8H12.01", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("slot", { key: 'b406de5a455af79a69497c6a641b5c41347ee1ab', name: "label-end" }))), this.description && (h("p", { key: '0dcebb186df7055efb168f96ad4199e2f614a87c', class: "description" }, this.description)), h("div", { key: '754b8a3e67d5807d7d484d475d31913dee8004f4', class: inputContainerClasses, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, this.showSearchIcon && (h("span", { key: '5757962a3479a6cd1f12bd1da183919af69ad9f4', class: "search-icon" }, h("svg", { key: '4106175e5b41e4c978b38eda6db36799a6a6f762', viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '1d54b9a8c682c9049e97b28143f0dcd90e068dee', d: "M11 19C15.4183 19 19 15.4183 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: 'd3ed0187abde8c14eae462612c918e10cb46916d', d: "M21 21L16.65 16.65", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("input", { key: 'fb7a551d44282686732b78865bab8720c5e08830', ref: (el) => this.inputEl = el ?? undefined, id: "input", class: "input", type: this.type, name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.disabled, required: this.required, readonly: this.readonly, autocomplete: this.autocomplete, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, "aria-invalid": hasError ? 'true' : undefined, "aria-describedby": hasError ? 'error-message' : this.description ? 'description' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.clearable && hasValue && !this.disabled && !this.readonly && (h("button", { key: '6ad41a3ee4ffdbeefa11e45754a22143b33405e5', type: "button", class: "clear-button", onClick: this.handleClear, "aria-label": "Clear input" }, h("svg", { key: '129f73660030e81ff17071fae51bb34af23eca57', viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '78d4c71521ac7daced7023c5bcfb2bfccf593fab', d: "M18 6L6 18", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '4eb85452029e8347dd648dcc849fa000b41b7fea', d: "M6 6L18 18", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), hasError && (h("div", { key: 'cc3b6083e88bb99ec17edffbf95ec89e2bb27e97', class: "error-row", id: "error-message" }, h("span", { key: 'fe264a854aaebe481a6913275859ca57b1d61d0d', class: "error-icon" }, h("svg", { key: '1159f77b184d1888c5c5ebe6138070c66abb66e6', viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '59975a202086127c2548843e842d33895d6ba1ff', d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '11c79f296c1dce73beebd67eeefe3d71b17ee191', d: "M12 16V12", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '9f146c96a38b14afb1919cf480224ee520ac16b0', d: "M12 8H12.01", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("span", { key: '2d326d0d72727dca4c4839fb5279323e556fbe04', class: "error-text" }, this.error))))));
111
+ return (h(Host, { key: '55cf204d355367913c765891190048599a46653e' }, h("div", { key: '8f72840a7a6fa8615e535f171f5297fb5d0cdfe5', class: wrapperClasses }, this.label && (h("div", { key: '06711c6031da07fca88bd438db7fb80acc12df71', class: "label-row" }, h("label", { key: '1db607ff65a624aa2520bdfbc2063c0f6587b00c', class: "label", htmlFor: "input" }, this.label, this.required && h("span", { key: 'd2ffc85aafb99e5fc7723993354a23fd99f04ac6', class: "required" }, "*")), this.showInfoIcon && (h("button", { key: '1adcddb4121582d35eff611d8299ff4ed6d0cc24', type: "button", class: "info-icon", onClick: this.handleInfoClick, "aria-label": "More information" }, h("svg", { key: 'e1abef80244c616ba98f89d23f9a4b6b2e4d97e1', viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'fedd67859d45345298c7e6e4a67e1e98ac4a9178', d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '076a1ff76cc8b5287dd29df42d6b629d34ae739e', d: "M12 16V12", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '640f19dd94e31f1090704ccc534b3917cc70a905', d: "M12 8H12.01", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("slot", { key: 'e3b42a60ad6b2378ab6593e239208b847d20c8ad', name: "label-end" }))), this.description && (h("p", { key: '8bf359cd53f562bedbe29f54004d5a974398db7b', class: "description" }, this.description)), h("div", { key: 'eb5a21523188828d60713cc772a477fa2a22a3a3', class: inputContainerClasses, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, !multiline && this.showSearchIcon && (h("span", { key: 'ed8945ddd4601e3d2ef84f2644a7ab567156157a', class: "search-icon" }, h("svg", { key: '2684f4233757a74cb55abfb1e62481e5848a5fbc', viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'f6855623658e5ea149421b37f039967e6622c955', d: "M11 19C15.4183 19 19 15.4183 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: 'db81f64ac649e9f41bfdb47a287d3e671951f171', d: "M21 21L16.65 16.65", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), multiline ? (h("textarea", { ref: (el) => this.inputEl = el ?? undefined, id: "input", class: "input input--multiline", name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.disabled, required: this.required, readonly: this.readonly, rows: this.rows, maxlength: this.maxlength, minlength: this.minlength, style: { resize: this.resize }, "aria-invalid": hasError ? 'true' : undefined, "aria-describedby": hasError ? 'error-message' : this.description ? 'description' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur })) : (h("input", { ref: (el) => this.inputEl = el ?? undefined, id: "input", class: "input", type: this.type, name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.disabled, required: this.required, readonly: this.readonly, autocomplete: this.autocomplete, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, "aria-invalid": hasError ? 'true' : undefined, "aria-describedby": hasError ? 'error-message' : this.description ? 'description' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur })), !multiline && this.clearable && hasValue && !this.disabled && !this.readonly && (h("button", { key: 'ed7c9c3753fd291aa1105c2f30e00a2b2868efed', type: "button", class: "clear-button", onClick: this.handleClear, "aria-label": "Clear input" }, h("svg", { key: '0615828eb7d27c6cf45fa7f91b25a14dd97fe972', viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '6a60d954427656fcc01940dd861c37bd214570d0', d: "M18 6L6 18", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '9471a7899c62b9fbce7ceafc4986b29c0000f26f', d: "M6 6L18 18", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), hasError && (h("div", { key: '1972022a3ca5a7f366a83cf35e2eecb4b812bd29', class: "error-row", id: "error-message" }, h("span", { key: '450e80c8d42914048eb114a222d9db8e9b94d3fa', class: "error-icon" }, h("svg", { key: '57eeb2884b16a9adf5fe0744814d00465da436e1', viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '9e25cb82f47c915b4c4afa0283a143c9221b465c', d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: 'faf252192e9a4706c5ed363ba240a0cb1ddf6770', d: "M12 16V12", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '4eda8b2840b7bf70919460ffe46e54d702ec3191', d: "M12 8H12.01", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("span", { key: 'a22e99093a097f8c7be12c8aa4a1b65a87484eb3', class: "error-text" }, this.error))))));
94
112
  }
95
113
  static get is() { return "af-input"; }
96
114
  static get encapsulation() { return "shadow"; }
@@ -195,7 +213,7 @@ export class AfInput {
195
213
  "optional": false,
196
214
  "docs": {
197
215
  "tags": [],
198
- "text": "The input type (text, email, password, number, tel, url, search)"
216
+ "text": "The input type (text, email, password, number, tel, url, search).\nIgnored when `multiline` is true."
199
217
  },
200
218
  "getter": false,
201
219
  "setter": false,
@@ -333,7 +351,7 @@ export class AfInput {
333
351
  "optional": false,
334
352
  "docs": {
335
353
  "tags": [],
336
- "text": "Whether to show a search icon in the input"
354
+ "text": "Whether to show a search icon in the input. Ignored when `multiline` is true."
337
355
  },
338
356
  "getter": false,
339
357
  "setter": false,
@@ -353,7 +371,7 @@ export class AfInput {
353
371
  "optional": false,
354
372
  "docs": {
355
373
  "tags": [],
356
- "text": "Whether to show a clear button when input has value"
374
+ "text": "Whether to show a clear button when input has value. Ignored when `multiline` is true."
357
375
  },
358
376
  "getter": false,
359
377
  "setter": false,
@@ -430,12 +448,72 @@ export class AfInput {
430
448
  "optional": true,
431
449
  "docs": {
432
450
  "tags": [],
433
- "text": "Pattern for input validation (regex)"
451
+ "text": "Pattern for input validation (regex). Ignored when `multiline` is true."
434
452
  },
435
453
  "getter": false,
436
454
  "setter": false,
437
455
  "reflect": false,
438
456
  "attribute": "pattern"
457
+ },
458
+ "multiline": {
459
+ "type": "boolean",
460
+ "mutable": false,
461
+ "complexType": {
462
+ "original": "boolean",
463
+ "resolved": "boolean",
464
+ "references": {}
465
+ },
466
+ "required": false,
467
+ "optional": false,
468
+ "docs": {
469
+ "tags": [],
470
+ "text": "Render as a multi-line textarea instead of a single-line input.\nActivates `rows` and `resize` props; ignores `type`, `pattern`,\n`autocomplete`, `showSearchIcon`, `clearable`."
471
+ },
472
+ "getter": false,
473
+ "setter": false,
474
+ "reflect": false,
475
+ "attribute": "multiline",
476
+ "defaultValue": "false"
477
+ },
478
+ "rows": {
479
+ "type": "number",
480
+ "mutable": false,
481
+ "complexType": {
482
+ "original": "number",
483
+ "resolved": "number",
484
+ "references": {}
485
+ },
486
+ "required": false,
487
+ "optional": false,
488
+ "docs": {
489
+ "tags": [],
490
+ "text": "Number of visible rows when `multiline` is true. Ignored otherwise."
491
+ },
492
+ "getter": false,
493
+ "setter": false,
494
+ "reflect": false,
495
+ "attribute": "rows",
496
+ "defaultValue": "4"
497
+ },
498
+ "resize": {
499
+ "type": "string",
500
+ "mutable": false,
501
+ "complexType": {
502
+ "original": "'none' | 'vertical' | 'horizontal' | 'both'",
503
+ "resolved": "\"both\" | \"horizontal\" | \"none\" | \"vertical\"",
504
+ "references": {}
505
+ },
506
+ "required": false,
507
+ "optional": false,
508
+ "docs": {
509
+ "tags": [],
510
+ "text": "Whether the textarea is resizable. Ignored when `multiline` is false."
511
+ },
512
+ "getter": false,
513
+ "setter": false,
514
+ "reflect": false,
515
+ "attribute": "resize",
516
+ "defaultValue": "'vertical'"
439
517
  }
440
518
  };
441
519
  }
@@ -499,7 +577,7 @@ export class AfInput {
499
577
  "composed": true,
500
578
  "docs": {
501
579
  "tags": [],
502
- "text": "Emitted when the clear button is clicked"
580
+ "text": "Emitted when the clear button is clicked. Only fires in single-line mode."
503
581
  },
504
582
  "complexType": {
505
583
  "original": "void",
@@ -1 +1 @@
1
- {"version":3,"file":"af-input.js","sourceRoot":"","sources":["../../../src/components/af-input/af-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAC;AAErF;;;;;GAKG;AAMH,MAAM,OAAO,OAAO;IALpB;QAqBE;;WAEG;QACsB,UAAK,GAAW,EAAE,CAAC;QAE5C;;WAEG;QACK,SAAI,GAAwE,MAAM,CAAC;QAO3F;;WAEG;QACsB,aAAQ,GAAY,KAAK,CAAC;QAEnD;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAElC;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAOlC;;WAEG;QACK,iBAAY,GAAY,KAAK,CAAC;QAEtC;;WAEG;QACK,mBAAc,GAAY,KAAK,CAAC;QAExC;;WAEG;QACK,cAAS,GAAY,KAAK,CAAC;QA+ClB,cAAS,GAAY,KAAK,CAAC;QAC3B,cAAS,GAAY,KAAK,CAAC;QAIpC,gBAAW,GAAG,CAAC,KAAY,EAAE,EAAE;YACrC,MAAM,MAAM,GAAG,KAAK,CAAC,MAA0B,CAAC;YAChD,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;YAC1B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;QAC3C,CAAC,CAAC;QAEM,gBAAW,GAAG,GAAG,EAAE;YACzB,IAAI,CAAC,SAAS,GAAG,IAAI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,OAAO,qBAAiB,OAAO,GAAE,CAC3G,CACD;oBACP,6DAAM,KAAK,EAAC,YAAY,IAAE,IAAI,CAAC,KAAK,CAAQ,CACxC,CACP,CACG,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, Host, Event, EventEmitter, State } from '@stencil/core';\n\n/**\n * Input field component with label, description, and error states.\n * Supports various input types and validation states.\n * \n * @slot label-end - Content to display at the end of the label (e.g., info icon)\n */\n@Component({\n tag: 'af-input',\n styleUrl: 'af-input.css',\n shadow: true\n})\nexport class AfInput {\n /**\n * The label text for the input field\n */\n @Prop() label?: string;\n\n /**\n * Description text displayed below the label\n */\n @Prop() description?: string;\n\n /**\n * Placeholder text for the input\n */\n @Prop() placeholder?: string;\n\n /**\n * The current value of the input\n */\n @Prop({ mutable: true }) value: string = '';\n\n /**\n * The input type (text, email, password, number, tel, url, search)\n */\n @Prop() type: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' = 'text';\n\n /**\n * The name of the input for form submission\n */\n @Prop() name?: string;\n\n /**\n * Whether the input is disabled\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Whether the input is required\n */\n @Prop() required: boolean = false;\n\n /**\n * Whether the input is read-only\n */\n @Prop() readonly: boolean = false;\n\n /**\n * Error message to display (also sets error state)\n */\n @Prop() error?: string;\n\n /**\n * Whether to show the info icon next to the label\n */\n @Prop() showInfoIcon: boolean = false;\n\n /**\n * Whether to show a search icon in the input\n */\n @Prop() showSearchIcon: boolean = false;\n\n /**\n * Whether to show a clear button when input has value\n */\n @Prop() clearable: boolean = false;\n\n /**\n * Autocomplete attribute for the input\n */\n @Prop() autocomplete?: string;\n\n /**\n * Maximum length of input value\n */\n @Prop() maxlength?: number;\n\n /**\n * Minimum length of input value\n */\n @Prop() minlength?: number;\n\n /**\n * Pattern for input validation (regex)\n */\n @Prop() pattern?: string;\n\n /**\n * Emitted when the input value changes\n */\n @Event() afInput!: EventEmitter<{ value: string }>;\n\n /**\n * Emitted when the input loses focus\n */\n @Event() afBlur!: EventEmitter<void>;\n\n /**\n * Emitted when the input gains focus\n */\n @Event() afFocus!: EventEmitter<void>;\n\n /**\n * Emitted when the clear button is clicked\n */\n @Event() afClear!: EventEmitter<void>;\n\n /**\n * Emitted when the info icon is clicked\n */\n @Event() afInfoClick!: EventEmitter<void>;\n\n @State() private isFocused: boolean = false;\n @State() private isHovered: boolean = false;\n\n private inputEl?: HTMLInputElement;\n\n private handleInput = (event: Event) => {\n const target = event.target as HTMLInputElement;\n this.value = target.value;\n this.afInput.emit({ value: this.value });\n };\n\n private handleFocus = () => {\n this.isFocused = true;\n this.afFocus.emit();\n };\n\n private handleBlur = () => {\n this.isFocused = false;\n this.afBlur.emit();\n };\n\n private handleMouseEnter = () => {\n this.isHovered = true;\n };\n\n private handleMouseLeave = () => {\n this.isHovered = false;\n };\n\n private handleClear = () => {\n this.value = '';\n this.afClear.emit();\n this.afInput.emit({ value: '' });\n this.inputEl?.focus();\n };\n\n private handleInfoClick = (event: MouseEvent) => {\n event.preventDefault();\n event.stopPropagation();\n this.afInfoClick.emit();\n };\n\n render() {\n const hasError = !!this.error;\n const hasValue = !!(this.value && this.value.length > 0);\n\n const wrapperClasses = {\n 'input-wrapper': true,\n 'disabled': this.disabled,\n 'error': hasError,\n 'focused': this.isFocused,\n 'hovered': this.isHovered && !this.disabled && !this.isFocused,\n 'populated': hasValue\n };\n\n const inputContainerClasses = {\n 'input-container': true,\n 'disabled': this.disabled,\n 'error': hasError,\n 'focused': this.isFocused,\n 'hovered': this.isHovered && !this.disabled && !this.isFocused\n };\n\n return (\n <Host>\n <div class={wrapperClasses}>\n {/* Label */}\n {this.label && (\n <div class=\"label-row\">\n <label class=\"label\" htmlFor=\"input\">\n {this.label}\n {this.required && <span class=\"required\">*</span>}\n </label>\n {this.showInfoIcon && (\n <button \n type=\"button\" \n class=\"info-icon\" \n onClick={this.handleInfoClick}\n aria-label=\"More information\"\n >\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M12 16V12\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M12 8H12.01\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n </button>\n )}\n <slot name=\"label-end\"></slot>\n </div>\n )}\n\n {/* Description */}\n {this.description && (\n <p class=\"description\">{this.description}</p>\n )}\n\n {/* Input container */}\n <div \n class={inputContainerClasses}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n >\n {/* Search icon */}\n {this.showSearchIcon && (\n <span class=\"search-icon\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M11 19C15.4183 19 19 15.4183 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M21 21L16.65 16.65\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n </span>\n )}\n\n {/* Native input */}\n <input\n ref={(el) => this.inputEl = el ?? undefined}\n id=\"input\"\n class=\"input\"\n type={this.type}\n name={this.name}\n value={this.value}\n placeholder={this.placeholder}\n disabled={this.disabled}\n required={this.required}\n readonly={this.readonly}\n autocomplete={this.autocomplete}\n maxlength={this.maxlength}\n minlength={this.minlength}\n pattern={this.pattern}\n aria-invalid={hasError ? 'true' : undefined}\n aria-describedby={hasError ? 'error-message' : this.description ? 'description' : undefined}\n onInput={this.handleInput}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n />\n\n {/* Clear button */}\n {this.clearable && hasValue && !this.disabled && !this.readonly && (\n <button \n type=\"button\" \n class=\"clear-button\" \n onClick={this.handleClear}\n aria-label=\"Clear input\"\n >\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M18 6L6 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M6 6L18 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n </button>\n )}\n </div>\n\n {/* Error message */}\n {hasError && (\n <div class=\"error-row\" id=\"error-message\">\n <span class=\"error-icon\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M12 16V12\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M12 8H12.01\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n </span>\n <span class=\"error-text\">{this.error}</span>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n\n"]}
1
+ {"version":3,"file":"af-input.js","sourceRoot":"","sources":["../../../src/components/af-input/af-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAC;AAErF;;;;;GAKG;AAMH,MAAM,OAAO,OAAO;IALpB;QAqBE;;WAEG;QACsB,UAAK,GAAW,EAAE,CAAC;QAE5C;;;WAGG;QACK,SAAI,GAAwE,MAAM,CAAC;QAO3F;;WAEG;QACsB,aAAQ,GAAY,KAAK,CAAC;QAEnD;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAElC;;WAEG;QACK,aAAQ,GAAY,KAAK,CAAC;QAOlC;;WAEG;QACK,iBAAY,GAAY,KAAK,CAAC;QAEtC;;WAEG;QACK,mBAAc,GAAY,KAAK,CAAC;QAExC;;WAEG;QACK,cAAS,GAAY,KAAK,CAAC;QAsBnC;;;;WAIG;QACK,cAAS,GAAY,KAAK,CAAC;QAEnC;;WAEG;QACK,SAAI,GAAW,CAAC,CAAC;QAEzB;;WAEG;QACK,WAAM,GAAgD,UAAU,CAAC;QA2BxD,cAAS,GAAY,KAAK,CAAC;QAC3B,cAAS,GAAY,KAAK,CAAC;QAIpC,gBAAW,GAAG,CAAC,KAAY,EAAE,EAAE;YACrC,MAAM,MAAM,GAAG,KAAK,CAAC,MAAgD,CAAC;YACtE,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;YAC1B,IAAI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ACzG,CACD;oBACP,6DAAM,KAAK,EAAC,YAAY,IAAE,IAAI,CAAC,KAAK,CAAQ,CACxC,CACP,CACG,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, Host, Event, EventEmitter, State } from '@stencil/core';\n\n/**\n * Input field component with label, description, and error states.\n * Supports single-line and multi-line (textarea) modes via the `multiline` prop.\n *\n * @slot label-end - Content to display at the end of the label (e.g., info icon)\n */\n@Component({\n tag: 'af-input',\n styleUrl: 'af-input.css',\n shadow: true\n})\nexport class AfInput {\n /**\n * The label text for the input field\n */\n @Prop() label?: string;\n\n /**\n * Description text displayed below the label\n */\n @Prop() description?: string;\n\n /**\n * Placeholder text for the input\n */\n @Prop() placeholder?: string;\n\n /**\n * The current value of the input\n */\n @Prop({ mutable: true }) value: string = '';\n\n /**\n * The input type (text, email, password, number, tel, url, search).\n * Ignored when `multiline` is true.\n */\n @Prop() type: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' = 'text';\n\n /**\n * The name of the input for form submission\n */\n @Prop() name?: string;\n\n /**\n * Whether the input is disabled\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Whether the input is required\n */\n @Prop() required: boolean = false;\n\n /**\n * Whether the input is read-only\n */\n @Prop() readonly: boolean = false;\n\n /**\n * Error message to display (also sets error state)\n */\n @Prop() error?: string;\n\n /**\n * Whether to show the info icon next to the label\n */\n @Prop() showInfoIcon: boolean = false;\n\n /**\n * Whether to show a search icon in the input. Ignored when `multiline` is true.\n */\n @Prop() showSearchIcon: boolean = false;\n\n /**\n * Whether to show a clear button when input has value. Ignored when `multiline` is true.\n */\n @Prop() clearable: boolean = false;\n\n /**\n * Autocomplete attribute for the input\n */\n @Prop() autocomplete?: string;\n\n /**\n * Maximum length of input value\n */\n @Prop() maxlength?: number;\n\n /**\n * Minimum length of input value\n */\n @Prop() minlength?: number;\n\n /**\n * Pattern for input validation (regex). Ignored when `multiline` is true.\n */\n @Prop() pattern?: string;\n\n /**\n * Render as a multi-line textarea instead of a single-line input.\n * Activates `rows` and `resize` props; ignores `type`, `pattern`,\n * `autocomplete`, `showSearchIcon`, `clearable`.\n */\n @Prop() multiline: boolean = false;\n\n /**\n * Number of visible rows when `multiline` is true. Ignored otherwise.\n */\n @Prop() rows: number = 4;\n\n /**\n * Whether the textarea is resizable. Ignored when `multiline` is false.\n */\n @Prop() resize: 'none' | 'vertical' | 'horizontal' | 'both' = 'vertical';\n\n /**\n * Emitted when the input value changes\n */\n @Event() afInput!: EventEmitter<{ value: string }>;\n\n /**\n * Emitted when the input loses focus\n */\n @Event() afBlur!: EventEmitter<void>;\n\n /**\n * Emitted when the input gains focus\n */\n @Event() afFocus!: EventEmitter<void>;\n\n /**\n * Emitted when the clear button is clicked. Only fires in single-line mode.\n */\n @Event() afClear!: EventEmitter<void>;\n\n /**\n * Emitted when the info icon is clicked\n */\n @Event() afInfoClick!: EventEmitter<void>;\n\n @State() private isFocused: boolean = false;\n @State() private isHovered: boolean = false;\n\n private inputEl?: HTMLInputElement | HTMLTextAreaElement;\n\n private handleInput = (event: Event) => {\n const target = event.target as HTMLInputElement | HTMLTextAreaElement;\n this.value = target.value;\n this.afInput.emit({ value: this.value });\n };\n\n private handleFocus = () => {\n this.isFocused = true;\n this.afFocus.emit();\n };\n\n private handleBlur = () => {\n this.isFocused = false;\n this.afBlur.emit();\n };\n\n private handleMouseEnter = () => {\n this.isHovered = true;\n };\n\n private handleMouseLeave = () => {\n this.isHovered = false;\n };\n\n private handleClear = () => {\n this.value = '';\n this.afClear.emit();\n this.afInput.emit({ value: '' });\n this.inputEl?.focus();\n };\n\n private handleInfoClick = (event: MouseEvent) => {\n event.preventDefault();\n event.stopPropagation();\n this.afInfoClick.emit();\n };\n\n render() {\n const hasError = !!this.error;\n const hasValue = !!(this.value && this.value.length > 0);\n const multiline = this.multiline;\n\n const wrapperClasses = {\n 'input-wrapper': true,\n 'input-wrapper--multiline': multiline,\n 'disabled': this.disabled,\n 'error': hasError,\n 'focused': this.isFocused,\n 'hovered': this.isHovered && !this.disabled && !this.isFocused,\n 'populated': hasValue\n };\n\n const inputContainerClasses = {\n 'input-container': true,\n 'input-container--multiline': multiline,\n 'disabled': this.disabled,\n 'error': hasError,\n 'focused': this.isFocused,\n 'hovered': this.isHovered && !this.disabled && !this.isFocused\n };\n\n return (\n <Host>\n <div class={wrapperClasses}>\n {/* Label */}\n {this.label && (\n <div class=\"label-row\">\n <label class=\"label\" htmlFor=\"input\">\n {this.label}\n {this.required && <span class=\"required\">*</span>}\n </label>\n {this.showInfoIcon && (\n <button\n type=\"button\"\n class=\"info-icon\"\n onClick={this.handleInfoClick}\n aria-label=\"More information\"\n >\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M12 16V12\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M12 8H12.01\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n </button>\n )}\n <slot name=\"label-end\"></slot>\n </div>\n )}\n\n {/* Description */}\n {this.description && (\n <p class=\"description\">{this.description}</p>\n )}\n\n {/* Input container */}\n <div\n class={inputContainerClasses}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n >\n {/* Search icon (single-line only) */}\n {!multiline && this.showSearchIcon && (\n <span class=\"search-icon\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M11 19C15.4183 19 19 15.4183 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M21 21L16.65 16.65\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n </span>\n )}\n\n {/* Native input or textarea */}\n {multiline ? (\n <textarea\n ref={(el) => this.inputEl = el ?? undefined}\n id=\"input\"\n class=\"input input--multiline\"\n name={this.name}\n value={this.value}\n placeholder={this.placeholder}\n disabled={this.disabled}\n required={this.required}\n readonly={this.readonly}\n rows={this.rows}\n maxlength={this.maxlength}\n minlength={this.minlength}\n style={{ resize: this.resize }}\n aria-invalid={hasError ? 'true' : undefined}\n aria-describedby={hasError ? 'error-message' : this.description ? 'description' : undefined}\n onInput={this.handleInput}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n />\n ) : (\n <input\n ref={(el) => this.inputEl = el ?? undefined}\n id=\"input\"\n class=\"input\"\n type={this.type}\n name={this.name}\n value={this.value}\n placeholder={this.placeholder}\n disabled={this.disabled}\n required={this.required}\n readonly={this.readonly}\n autocomplete={this.autocomplete}\n maxlength={this.maxlength}\n minlength={this.minlength}\n pattern={this.pattern}\n aria-invalid={hasError ? 'true' : undefined}\n aria-describedby={hasError ? 'error-message' : this.description ? 'description' : undefined}\n onInput={this.handleInput}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n />\n )}\n\n {/* Clear button (single-line only) */}\n {!multiline && this.clearable && hasValue && !this.disabled && !this.readonly && (\n <button\n type=\"button\"\n class=\"clear-button\"\n onClick={this.handleClear}\n aria-label=\"Clear input\"\n >\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M18 6L6 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M6 6L18 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n </button>\n )}\n </div>\n\n {/* Error message */}\n {hasError && (\n <div class=\"error-row\" id=\"error-message\">\n <span class=\"error-icon\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M12 16V12\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M12 8H12.01\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n </span>\n <span class=\"error-text\">{this.error}</span>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n\n"]}
@@ -4,7 +4,7 @@ import { h, Host } from "@stencil/core";
4
4
  */
5
5
  export class AfLogoWell {
6
6
  render() {
7
- return (h(Host, { key: '3dce73db40979d85f0ec5f467baf049e3582d8e2' }, h("div", { key: '7c788d3abb3ad7b1f6835d4561c3389dda007ffa', class: "logo-well" }, h("slot", { key: 'fa27e27c2c6204256582143b8dd00c8de5f73501' }))));
7
+ return (h(Host, { key: '89f971eecc9e4a0656c6a6865c2653e64bbdd7bb' }, h("div", { key: 'a4ac54bd1649f010caa095b2ea1f8e7ea8b24a02', class: "logo-well" }, h("slot", { key: '11cf1c916f2b056c6ee575351263d83778529146' }))));
8
8
  }
9
9
  static get is() { return "af-logo-well"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,7 @@ export class AfNavAccordion {
71
71
  this.syncItems();
72
72
  }
73
73
  render() {
74
- return (h(Host, { key: 'e60e0f40da03dce1a766a880f1f3649dd957b63e', class: { [`breakpoint-${this.breakpoint}`]: true, [`mode-${this.mode}`]: true } }, h("div", { key: 'e80e79b012c3060a9fdfcec22af050eb5d063648', class: "nav-accordion" }, h("slot", { key: '234d41321e32046d3d439a93a544c0325b0a02a8' }))));
74
+ return (h(Host, { key: '111706b5210510f44864d0dd8f5d2fe1901839da', class: { [`breakpoint-${this.breakpoint}`]: true, [`mode-${this.mode}`]: true } }, h("div", { key: 'e21f1a8ae3edf2c8aa08385240a536c69cf0da6e', class: "nav-accordion" }, h("slot", { key: 'c452fa149aec51c88dbaef3e59de7e28c4f89de3' }))));
75
75
  }
76
76
  static get is() { return "af-nav-accordion"; }
77
77
  static get encapsulation() { return "scoped"; }
@@ -84,11 +84,11 @@ export class AfNavAccordionItem {
84
84
  // sub-content to expand. A plain href item with no children is a
85
85
  // direct link and shouldn't show a disclosure affordance.
86
86
  const hasDropdownContent = this.hasContent;
87
- return (h(Host, { key: '4027092e406bd448da8d84941b626a5416d7974f', class: {
87
+ return (h(Host, { key: 'bcdd77ad3dea306e2c1b9b8481d3e00a8cd8cc72', class: {
88
88
  'is-open': this.open,
89
89
  'is-disabled': this.disabled,
90
90
  [`breakpoint-${this.breakpoint}`]: true
91
- } }, h("div", { key: '5ed6f75516a8b2a82c9231568beef6b8d5257318', class: "nav-accordion-item" }, this.href ? (h("a", { href: this.href, class: "trigger", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": `content-${this.itemId}` }, h("div", { class: "trigger-content" }, h("slot", { name: "trigger", onSlotchange: this.handleSlotChange }, h("span", { class: "label" }, this.label))), hasDropdownContent && (h("button", { class: "chevron-button", onClick: (e) => { e.preventDefault(); e.stopPropagation(); this.toggle(); }, "aria-label": this.open ? 'Collapse' : 'Expand', type: "button" }, h("div", { class: { 'chevron': true, 'is-open': this.open } }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor" }, h("path", { d: "M6 9l6 6 6-6", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))) : (h("button", { class: "trigger", onClick: this.handleTriggerClick, onKeyDown: this.handleKeyDown, "aria-expanded": this.open ? 'true' : 'false', "aria-controls": `content-${this.itemId}`, disabled: this.disabled, type: "button" }, h("div", { class: "trigger-content" }, h("slot", { name: "trigger", onSlotchange: this.handleSlotChange }, h("span", { class: "label" }, this.label))), hasDropdownContent && (h("div", { class: { 'chevron': true, 'is-open': this.open } }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor" }, h("path", { d: "M6 9l6 6 6-6", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '158bd9902b4f77655cccfb8571802fd4853abbcc', id: `content-${this.itemId}`, class: "content-wrapper", style: contentStyle, "aria-hidden": !this.open ? 'true' : 'false' }, h("div", { key: 'a3a4a2214fb02312d2ed90772afc83f5799f01dc', class: "content", ref: (el) => (this.contentRef = el) }, h("slot", { key: '834d9fc168ca9e17bcfa2dc9cd117e51e331344e' }))))));
91
+ } }, h("div", { key: 'b82a343372689e06aff2ec3eb2b9b2b0ba02c14d', class: "nav-accordion-item" }, this.href ? (h("a", { href: this.href, class: "trigger", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": `content-${this.itemId}` }, h("div", { class: "trigger-content" }, h("slot", { name: "trigger", onSlotchange: this.handleSlotChange }, h("span", { class: "label" }, this.label))), hasDropdownContent && (h("button", { class: "chevron-button", onClick: (e) => { e.preventDefault(); e.stopPropagation(); this.toggle(); }, "aria-label": this.open ? 'Collapse' : 'Expand', type: "button" }, h("div", { class: { 'chevron': true, 'is-open': this.open } }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor" }, h("path", { d: "M6 9l6 6 6-6", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))) : (h("button", { class: "trigger", onClick: this.handleTriggerClick, onKeyDown: this.handleKeyDown, "aria-expanded": this.open ? 'true' : 'false', "aria-controls": `content-${this.itemId}`, disabled: this.disabled, type: "button" }, h("div", { class: "trigger-content" }, h("slot", { name: "trigger", onSlotchange: this.handleSlotChange }, h("span", { class: "label" }, this.label))), hasDropdownContent && (h("div", { class: { 'chevron': true, 'is-open': this.open } }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor" }, h("path", { d: "M6 9l6 6 6-6", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '880a15014002f905a4c1c1e20dc5516022b9aee1', id: `content-${this.itemId}`, class: "content-wrapper", style: contentStyle, "aria-hidden": !this.open ? 'true' : 'false' }, h("div", { key: 'e47b8972907ad32e3fee37f030f1d86c17ac30bc', class: "content", ref: (el) => (this.contentRef = el) }, h("slot", { key: '1def93a51457196a6a023ab32905b8eaa7590c05' }))))));
92
92
  }
93
93
  static get is() { return "af-nav-accordion-item"; }
94
94
  static get encapsulation() { return "scoped"; }
@@ -30,7 +30,7 @@ export class AfNavMenu {
30
30
  'has-border': this.showBorder,
31
31
  'card-style': this.cardStyle
32
32
  };
33
- return (h(Host, { key: 'b77aa8f55e2148e3a21dea9009ccc9f345ad5da1' }, h("div", { key: '0ef8c2202f6ba4925bf16a2e448dec67f65b1bd6', class: classes }, this.heading && (h("div", { key: '6164df7a1a6efe8afb57860d20175fa5ecabf39c', class: "menu-header" }, h("h3", { key: 'a517c7e3039424974c111dc8bf085b9bb57ce833', class: "menu-heading" }, this.heading))), h("div", { key: '18389d1f29886f2d832744bf1cadc449c8e96948', class: "menu-items" }, h("slot", { key: '40c5ffc54a5c1eedd8e07fbecd040070f1b16d97' })))));
33
+ return (h(Host, { key: '3245ae98bb4b1ab013d36630802bb1cdece57675' }, h("div", { key: 'e84dcdc45b92f928ee7b8dd2328a2b7276a2e02a', class: classes }, this.heading && (h("div", { key: 'd42c91176b53b5d0375cb29d489b722dcd3c8e74', class: "menu-header" }, h("h3", { key: 'b2cf5d6cb682db6f68c9a45045fb060710097137', class: "menu-heading" }, this.heading))), h("div", { key: '89e7aef886d60d2ce3d8b82cd1b2c588d4894be8', class: "menu-items" }, h("slot", { key: '29d596f664fdfc83fc40c17686751f1b893bce26' })))));
34
34
  }
35
35
  static get is() { return "af-nav-menu"; }
36
36
  static get encapsulation() { return "scoped"; }
@@ -48,7 +48,7 @@ export class AfNavMenuNest {
48
48
  [`type-${this.type}`]: true,
49
49
  [`breakpoint-${this.breakpoint}`]: true
50
50
  };
51
- return (h(Host, { key: '90fbee205d076ffd9884122101a2f337088d6cd6' }, h("div", { key: '49e9b2290833f5200119d2cac7d4381e74eddbec', class: classes }, h("div", { key: '148790bd4481d662149913a6b53e248c4ff49f95', class: "menu-columns" }, h("slot", { key: '7790aa268c060cc8253bab3dc08c9de0819eb39a' })), h("div", { key: '393ed046ddcd717e4d1dd8a2e9df0332f1612238', class: "menu-sidebar" }, h("slot", { key: 'cb61c9744b070aaf2bcbbbf2b402664e41e2866c', name: "sidebar" })))));
51
+ return (h(Host, { key: 'b0eb2c4904916a16b2b6ec6d612337fed3c05e12' }, h("div", { key: 'dd1836b1c6ee6f75555989334a35e2a41d9bacab', class: classes }, h("div", { key: '4e3ae3951e9969d21a5e18a0489a33631bb1e8f2', class: "menu-columns" }, h("slot", { key: '64c660d4a5b35dda06b0ff0ca21c0e24014ceef2' })), h("div", { key: '7418a543431a9fd0fbbf95b1e3b5e862d5ac3917', class: "menu-sidebar" }, h("slot", { key: 'd36bb4016c86d9258a70ddbb46232264bdb156e4', name: "sidebar" })))));
52
52
  }
53
53
  static get is() { return "af-nav-menu-nest"; }
54
54
  static get encapsulation() { return "scoped"; }
@@ -34,7 +34,7 @@ export class AfNumberBadge {
34
34
  height: `${this.size}px`,
35
35
  fontSize: `${fontSize}px`,
36
36
  };
37
- return (h(Host, { key: '6d275b5b5e029c0d34508dca9cd674cfcc686130', role: "img", "aria-label": `Number ${this.number}${isInCircle ? ' badge' : ''}` }, h("span", { key: 'd158b8c0139ac46b892170859ae0d0c43ec2eb9a', class: {
37
+ return (h(Host, { key: 'e38ee2826f507669b252c5aac8b02c9f0040d97e', role: "img", "aria-label": `Number ${this.number}${isInCircle ? ' badge' : ''}` }, h("span", { key: '49d9df033be715ce38e87b32a8fec3b2d9596675', class: {
38
38
  'badge': true,
39
39
  [`variant-${this.variant}`]: true,
40
40
  }, style: badgeStyle }, this.number)));
@@ -49,7 +49,7 @@ export class AfNumberedStepper {
49
49
  });
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: '018229242bb7fbcd74c312683b4a6ce4e7337894', class: `numbered-stepper numbered-stepper--${this.orientation}`, role: "list" }, h("slot", { key: '3fae9bbb5bc403d2f55bd4076c1794163e9631e2' })));
52
+ return (h(Host, { key: '468809af144520073ec0924b8b293a1a7a98c2a6', class: `numbered-stepper numbered-stepper--${this.orientation}`, role: "list" }, h("slot", { key: 'e7ab09871620ab5ccc1b384443824a91750a15c3' })));
53
53
  }
54
54
  static get is() { return "af-numbered-stepper"; }
55
55
  static get encapsulation() { return "scoped"; }
@@ -24,7 +24,7 @@ export class AfNumberedStepperItem {
24
24
  render() {
25
25
  // The badge supports 1–10; clamp for safety so we never pass a bad prop.
26
26
  const clamped = Math.max(1, Math.min(10, this.index | 0));
27
- return (h(Host, { key: 'f703f0459299a2a7f9bec41634fb9c71749aebdb', role: "listitem" }, h("div", { key: '635c36a16c67735dd241228fb44b3dda152bc9d9', class: "numbered-stepper-item__marker-row", "aria-hidden": "true" }, h("af-number-badge", { key: 'ce495f0f0f17ea196a0ba0032c4e897fb027b2ad', class: "numbered-stepper-item__badge", number: clamped, variant: "inCircle", size: 40 }), h("span", { key: '5158ca703611b55d28bb34b445f68fa462b582cf', class: "numbered-stepper-item__connector" })), h("af-typography-lockup", { key: '591e3622a0cd4132a13ea7b0c87e368954ce287c', class: "numbered-stepper-item__lockup", "heading-size": "card", "text-alignment": "center" }, h("slot", { key: '0b8ada7fb0b6bd5bb29eb8f1fffa07eb79984b3f', name: "heading" }), h("span", { key: '83813e92ed8e70dbaf507db4fb306e0d69cf5d51', slot: "description" }, h("slot", { key: 'a676610379b5f948d65acad4f8c4adeecf5c81a1', name: "body" })))));
27
+ return (h(Host, { key: '62bc6f558da62d664e22c680af3d4a0cd959ee27', role: "listitem" }, h("div", { key: 'aac9fb7f30e3a0bbb70303102526bc9871910737', class: "numbered-stepper-item__marker-row", "aria-hidden": "true" }, h("af-number-badge", { key: 'fb4ba62a61cdc4bced7985f8013a7adcc309cf0e', class: "numbered-stepper-item__badge", number: clamped, variant: "inCircle", size: 40 }), h("span", { key: '3090034f17f0c62ab94a91bd45b5772856b6c632', class: "numbered-stepper-item__connector" })), h("af-typography-lockup", { key: 'fdcc257515a9265330d4443d6e665ad44630cc73', class: "numbered-stepper-item__lockup", "heading-size": "card", "text-alignment": "center" }, h("slot", { key: '6905c5a82d0dc82ed81ef3847f534bde32be9262', name: "heading" }), h("span", { key: '8be84e524019bf3f51b5d8447eaae5d6d2b881f0', slot: "description" }, h("slot", { key: '6c0b5d91a79706cb864fa532d6432699130bd728', name: "body" })))));
28
28
  }
29
29
  static get is() { return "af-numbered-stepper-item"; }
30
30
  static get encapsulation() { return "scoped"; }
@@ -50,7 +50,7 @@ export class AfPaperclipDecoration {
50
50
  this.fill = 'white';
51
51
  }
52
52
  render() {
53
- return (h(Host, { key: '4236fa1de1c1847b0665c79341000bfb63ab4509' }, h("svg", { key: '6c11c85851c7e6e11d625dac2eb546bb9a0405dc', "aria-hidden": "true", width: this.width, height: this.height, viewBox: "0 0 655 754", fill: "none", xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "none" }, h("path", { key: 'ab2f7bcda82bd715dcf336abb1e191badd1f624a', d: "M1102.14 108.279C1031.8 37.5181 939.128 -1.06817 840.61 0.447304H358.674L262.104 157.124H841.87C842.558 157.124 843.36 157.124 844.047 157.124C900.638 157.124 953.791 179.273 994 219.725C1035.24 261.225 1058.04 316.715 1058.04 376.052C1058.04 497.872 960.665 596.844 841.068 596.844H251.335C197.609 596.844 153.848 552.313 153.848 497.639C153.848 442.965 197.723 397.734 251.221 396.102H779.208L878.872 239.426H248.586C111.577 242.923 0 358.682 0 497.639C0 636.596 112.723 753.404 251.335 753.404H841.068C1045.55 753.404 1212 584.021 1212 375.935C1212 274.398 1173.05 179.39 1102.26 108.162L1102.14 108.279Z", fill: this.fill, "fill-opacity": this.opacity }))));
53
+ return (h(Host, { key: '2056080b6be950fecf3cd1dc43114e457dac513b' }, h("svg", { key: '8a054a7d2794adc1042d474cffb0e82ad686bb63', "aria-hidden": "true", width: this.width, height: this.height, viewBox: "0 0 655 754", fill: "none", xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "none" }, h("path", { key: 'e8704baa60e7b272d3c731b104b8e93f7a7ae517', d: "M1102.14 108.279C1031.8 37.5181 939.128 -1.06817 840.61 0.447304H358.674L262.104 157.124H841.87C842.558 157.124 843.36 157.124 844.047 157.124C900.638 157.124 953.791 179.273 994 219.725C1035.24 261.225 1058.04 316.715 1058.04 376.052C1058.04 497.872 960.665 596.844 841.068 596.844H251.335C197.609 596.844 153.848 552.313 153.848 497.639C153.848 442.965 197.723 397.734 251.221 396.102H779.208L878.872 239.426H248.586C111.577 242.923 0 358.682 0 497.639C0 636.596 112.723 753.404 251.335 753.404H841.068C1045.55 753.404 1212 584.021 1212 375.935C1212 274.398 1173.05 179.39 1102.26 108.162L1102.14 108.279Z", fill: this.fill, "fill-opacity": this.opacity }))));
54
54
  }
55
55
  static get is() { return "af-paperclip-decoration"; }
56
56
  static get encapsulation() { return "shadow"; }