@affinda/wc 0.0.25 → 0.0.26

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 (287) hide show
  1. package/dist/affinda/affinda.esm.js +1 -1
  2. package/dist/affinda/{p-3b4fb1a5.entry.js → p-00a226ba.entry.js} +1 -1
  3. package/dist/affinda/{p-0c408447.entry.js → p-0979ad4d.entry.js} +1 -1
  4. package/dist/affinda/p-14c85efd.entry.js +1 -0
  5. package/dist/affinda/{p-b0babcae.entry.js → p-1e37fea2.entry.js} +1 -1
  6. package/dist/affinda/{p-7c4f05a7.entry.js → p-1f810e9c.entry.js} +1 -1
  7. package/dist/affinda/p-203a908b.entry.js +1 -0
  8. package/dist/affinda/{p-4844d749.entry.js → p-23f9e0cc.entry.js} +1 -1
  9. package/dist/affinda/{p-b563bb90.entry.js → p-2ab645a3.entry.js} +1 -1
  10. package/dist/affinda/p-30c704f8.entry.js +1 -0
  11. package/dist/affinda/p-37977b9d.entry.js +1 -0
  12. package/dist/affinda/{p-e169a37b.entry.js → p-3b3f69a5.entry.js} +1 -1
  13. package/dist/affinda/{p-45d62b98.entry.js → p-4196ab5d.entry.js} +1 -1
  14. package/dist/affinda/p-4521a8f3.entry.js +1 -0
  15. package/dist/affinda/{p-678cb08c.entry.js → p-46c9b92e.entry.js} +1 -1
  16. package/dist/affinda/p-485cfd5d.entry.js +1 -0
  17. package/dist/affinda/{p-470b9a06.entry.js → p-50a6a219.entry.js} +1 -1
  18. package/dist/affinda/p-542fd771.entry.js +1 -0
  19. package/dist/affinda/{p-ad71a40c.entry.js → p-666fc4a6.entry.js} +1 -1
  20. package/dist/affinda/{p-da9d1f7d.entry.js → p-687f157a.entry.js} +1 -1
  21. package/dist/affinda/{p-66dd6356.entry.js → p-76b6d6e0.entry.js} +1 -1
  22. package/dist/affinda/p-82674a06.entry.js +1 -0
  23. package/dist/affinda/p-82fb88df.entry.js +1 -0
  24. package/dist/affinda/{p-416836f3.entry.js → p-87daf220.entry.js} +1 -1
  25. package/dist/affinda/p-9133ff23.entry.js +1 -0
  26. package/dist/affinda/{p-821c1522.entry.js → p-92904a41.entry.js} +1 -1
  27. package/dist/affinda/{p-39967eba.entry.js → p-a12a37b6.entry.js} +1 -1
  28. package/dist/affinda/p-a6210fab.entry.js +1 -0
  29. package/dist/affinda/{p-1d94a137.entry.js → p-b049555b.entry.js} +1 -1
  30. package/dist/affinda/{p-1f51e065.entry.js → p-b8dde234.entry.js} +1 -1
  31. package/dist/affinda/p-c03893bd.entry.js +1 -0
  32. package/dist/affinda/p-ca14e17a.entry.js +1 -0
  33. package/dist/affinda/p-cb889d6b.entry.js +1 -0
  34. package/dist/affinda/{p-29fd5654.entry.js → p-cdfaffc6.entry.js} +1 -1
  35. package/dist/affinda/{p-6059b95e.entry.js → p-cfe018f1.entry.js} +1 -1
  36. package/dist/affinda/p-d7129564.entry.js +1 -0
  37. package/dist/affinda/{p-8c34efbb.entry.js → p-d8ad81a4.entry.js} +1 -1
  38. package/dist/affinda/{p-21b7ea67.entry.js → p-d9cfea73.entry.js} +1 -1
  39. package/dist/affinda/{p-dce846f2.entry.js → p-da2759a0.entry.js} +1 -1
  40. package/dist/affinda/{p-fb01c4e0.entry.js → p-dd47655f.entry.js} +1 -1
  41. package/dist/affinda/p-e0915179.entry.js +1 -0
  42. package/dist/affinda/{p-c1cb8ef8.entry.js → p-ebb36c5f.entry.js} +1 -1
  43. package/dist/affinda/p-f3d5d1be.entry.js +1 -0
  44. package/dist/affinda/{p-7bc1ed79.entry.js → p-f617ae1d.entry.js} +1 -1
  45. package/dist/affinda/p-fcb04e98.entry.js +1 -0
  46. package/dist/affinda/{p-e91ef47c.entry.js → p-fd603900.entry.js} +1 -1
  47. package/dist/cjs/af-accordion-item.cjs.entry.js +1 -27
  48. package/dist/cjs/af-accordion.cjs.entry.js +1 -1
  49. package/dist/cjs/af-button.cjs.entry.js +5 -4
  50. package/dist/cjs/af-card.cjs.entry.js +2 -2
  51. package/dist/cjs/af-center.cjs.entry.js +1 -1
  52. package/dist/cjs/af-client-carousel.cjs.entry.js +1 -1
  53. package/dist/cjs/af-contact-item.cjs.entry.js +1 -1
  54. package/dist/cjs/af-divider.cjs.entry.js +1 -1
  55. package/dist/cjs/af-feature-accordion.cjs.entry.js +2 -2
  56. package/dist/cjs/af-feature-grid.cjs.entry.js +1 -1
  57. package/dist/cjs/af-footer-column.cjs.entry.js +1 -1
  58. package/dist/cjs/af-footer-link.cjs.entry.js +1 -1
  59. package/dist/cjs/af-footer.cjs.entry.js +1 -1
  60. package/dist/cjs/af-grid.cjs.entry.js +2 -2
  61. package/dist/cjs/af-icon-box.cjs.entry.js +1 -1
  62. package/dist/cjs/af-icon-button.cjs.entry.js +1 -1
  63. package/dist/cjs/af-icon-text.cjs.entry.js +1 -1
  64. package/dist/cjs/af-illustrated-card.cjs.entry.js +1 -1
  65. package/dist/cjs/af-image.cjs.entry.js +12 -2
  66. package/dist/cjs/af-in-page-banner.cjs.entry.js +2 -2
  67. package/dist/cjs/af-inline.cjs.entry.js +1 -1
  68. package/dist/cjs/af-logo-well.cjs.entry.js +1 -1
  69. package/dist/cjs/af-nav-accordion-item.cjs.entry.js +2 -2
  70. package/dist/cjs/af-nav-accordion.cjs.entry.js +1 -1
  71. package/dist/cjs/af-nav-menu-nest.cjs.entry.js +1 -1
  72. package/dist/cjs/af-nav-menu.cjs.entry.js +1 -1
  73. package/dist/cjs/af-number-badge.cjs.entry.js +1 -1
  74. package/dist/cjs/af-progress-line.cjs.entry.js +2 -2
  75. package/dist/cjs/af-section.cjs.entry.js +3 -3
  76. package/dist/cjs/af-show.cjs.entry.js +1 -1
  77. package/dist/cjs/af-social-link.cjs.entry.js +1 -1
  78. package/dist/cjs/af-spacer.cjs.entry.js +1 -1
  79. package/dist/cjs/af-split-section.cjs.entry.js +2 -2
  80. package/dist/cjs/af-stack.cjs.entry.js +1 -1
  81. package/dist/cjs/af-stepper-step.cjs.entry.js +1 -1
  82. package/dist/cjs/af-stepper.cjs.entry.js +1 -1
  83. package/dist/cjs/af-tag.cjs.entry.js +7 -8
  84. package/dist/cjs/af-testimonial-carousel.cjs.entry.js +1 -1
  85. package/dist/cjs/af-testimonial-stat.cjs.entry.js +1 -1
  86. package/dist/cjs/af-testimonial.cjs.entry.js +3 -3
  87. package/dist/cjs/af-text-image-nest.cjs.entry.js +1 -1
  88. package/dist/cjs/af-theme-override.cjs.entry.js +2 -2
  89. package/dist/cjs/af-typography-lockup.cjs.entry.js +1 -1
  90. package/dist/cjs/af-video-container.cjs.entry.js +1 -1
  91. package/dist/cjs/af-visually-hidden.cjs.entry.js +1 -1
  92. package/dist/cjs/affinda.cjs.js +1 -1
  93. package/dist/cjs/loader.cjs.js +1 -1
  94. package/dist/collection/components/af-accordion/af-accordion.js +1 -1
  95. package/dist/collection/components/af-accordion-item/af-accordion-item.js +1 -27
  96. package/dist/collection/components/af-button/af-button.css +24 -24
  97. package/dist/collection/components/af-button/af-button.js +10 -9
  98. package/dist/collection/components/af-card/af-card.css +2 -2
  99. package/dist/collection/components/af-card/af-card.js +1 -1
  100. package/dist/collection/components/af-center/af-center.js +1 -1
  101. package/dist/collection/components/af-client-carousel/af-client-carousel.js +1 -1
  102. package/dist/collection/components/af-contact-item/af-contact-item.js +1 -1
  103. package/dist/collection/components/af-divider/af-divider.js +1 -1
  104. package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +2 -2
  105. package/dist/collection/components/af-feature-grid/af-feature-grid.js +1 -1
  106. package/dist/collection/components/af-footer/af-footer.js +1 -1
  107. package/dist/collection/components/af-footer-column/af-footer-column.js +1 -1
  108. package/dist/collection/components/af-footer-link/af-footer-link.js +1 -1
  109. package/dist/collection/components/af-grid/af-grid.js +2 -2
  110. package/dist/collection/components/af-icon-box/af-icon-box.js +1 -1
  111. package/dist/collection/components/af-icon-button/af-icon-button.css +2 -2
  112. package/dist/collection/components/af-icon-text/af-icon-text.js +3 -3
  113. package/dist/collection/components/af-illustrated-card/af-illustrated-card.js +4 -3
  114. package/dist/collection/components/af-image/af-image.css +21 -4
  115. package/dist/collection/components/af-image/af-image.js +33 -1
  116. package/dist/collection/components/af-in-page-banner/af-in-page-banner.css +5 -3
  117. package/dist/collection/components/af-in-page-banner/af-in-page-banner.js +11 -1
  118. package/dist/collection/components/af-inline/af-inline.js +1 -1
  119. package/dist/collection/components/af-logo-well/af-logo-well.js +1 -1
  120. package/dist/collection/components/af-nav-accordion/af-nav-accordion.js +1 -1
  121. package/dist/collection/components/af-nav-accordion-item/af-nav-accordion-item.js +2 -2
  122. package/dist/collection/components/af-nav-menu/af-nav-menu.js +1 -1
  123. package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js +1 -1
  124. package/dist/collection/components/af-number-badge/af-number-badge.js +1 -1
  125. package/dist/collection/components/af-progress-line/af-progress-line.js +2 -2
  126. package/dist/collection/components/af-section/af-section.css +16 -15
  127. package/dist/collection/components/af-section/af-section.js +2 -2
  128. package/dist/collection/components/af-show/af-show.js +1 -1
  129. package/dist/collection/components/af-social-link/af-social-link.js +1 -1
  130. package/dist/collection/components/af-spacer/af-spacer.js +1 -1
  131. package/dist/collection/components/af-split-section/af-split-section.js +2 -2
  132. package/dist/collection/components/af-stack/af-stack.js +1 -1
  133. package/dist/collection/components/af-stepper/af-stepper.js +1 -1
  134. package/dist/collection/components/af-stepper-step/af-stepper-step.js +1 -1
  135. package/dist/collection/components/af-tag/af-tag.css +41 -21
  136. package/dist/collection/components/af-tag/af-tag.js +16 -13
  137. package/dist/collection/components/af-testimonial/af-testimonial.css +28 -6
  138. package/dist/collection/components/af-testimonial/af-testimonial.js +14 -6
  139. package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +1 -1
  140. package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +1 -1
  141. package/dist/collection/components/af-text-image-nest/af-text-image-nest.js +1 -1
  142. package/dist/collection/components/af-theme-override/af-theme-override.css +15 -15
  143. package/dist/collection/components/af-theme-override/af-theme-override.js +1 -1
  144. package/dist/collection/components/af-typography-lockup/af-typography-lockup.css +30 -4
  145. package/dist/collection/components/af-video-container/af-video-container.js +1 -1
  146. package/dist/collection/components/af-visually-hidden/af-visually-hidden.js +1 -1
  147. package/dist/components/af-accordion-item.js +1 -1
  148. package/dist/components/af-accordion.js +1 -1
  149. package/dist/components/af-button.js +1 -1
  150. package/dist/components/af-card.js +1 -1
  151. package/dist/components/af-center.js +1 -1
  152. package/dist/components/af-client-carousel.js +1 -1
  153. package/dist/components/af-contact-item.js +1 -1
  154. package/dist/components/af-divider.js +1 -1
  155. package/dist/components/af-feature-accordion.js +1 -1
  156. package/dist/components/af-feature-card.js +1 -1
  157. package/dist/components/af-feature-grid.js +1 -1
  158. package/dist/components/af-footer-column.js +1 -1
  159. package/dist/components/af-footer-link.js +1 -1
  160. package/dist/components/af-footer.js +1 -1
  161. package/dist/components/af-grid-callout.js +1 -1
  162. package/dist/components/af-grid.js +1 -1
  163. package/dist/components/af-icon-box.js +1 -1
  164. package/dist/components/af-icon-button.js +1 -1
  165. package/dist/components/af-icon-text.js +1 -1
  166. package/dist/components/af-illustrated-card.js +1 -1
  167. package/dist/components/af-image.js +1 -1
  168. package/dist/components/af-in-page-banner.js +1 -1
  169. package/dist/components/af-inline.js +1 -1
  170. package/dist/components/af-logo-well.js +1 -1
  171. package/dist/components/af-nav-accordion-item.js +1 -1
  172. package/dist/components/af-nav-accordion.js +1 -1
  173. package/dist/components/af-nav-menu-nest.js +1 -1
  174. package/dist/components/af-nav-menu.js +1 -1
  175. package/dist/components/af-number-badge.js +1 -1
  176. package/dist/components/af-progress-line.js +1 -1
  177. package/dist/components/af-section.js +1 -1
  178. package/dist/components/af-show.js +1 -1
  179. package/dist/components/af-social-link.js +1 -1
  180. package/dist/components/af-spacer.js +1 -1
  181. package/dist/components/af-split-section.js +1 -1
  182. package/dist/components/af-stack.js +1 -1
  183. package/dist/components/af-stepper-step.js +1 -1
  184. package/dist/components/af-stepper.js +1 -1
  185. package/dist/components/af-tag.js +1 -1
  186. package/dist/components/af-testimonial-carousel.js +1 -1
  187. package/dist/components/af-testimonial-stat.js +1 -1
  188. package/dist/components/af-testimonial.js +1 -1
  189. package/dist/components/af-text-image-nest.js +1 -1
  190. package/dist/components/af-text-image.js +1 -1
  191. package/dist/components/af-theme-override.js +1 -1
  192. package/dist/components/af-typography-lockup.js +1 -1
  193. package/dist/components/af-video-container.js +1 -1
  194. package/dist/components/af-visually-hidden.js +1 -1
  195. package/dist/components/index.js +1 -1
  196. package/dist/components/p-BGeRQgDo.js +1 -0
  197. package/dist/components/p-BUFbtjxU.js +1 -0
  198. package/dist/components/p-BeVM-2kH.js +1 -0
  199. package/dist/components/p-BlfywPKX.js +1 -0
  200. package/dist/components/{p-BE3eM0xx.js → p-BwpItMWU.js} +1 -1
  201. package/dist/components/p-BzH2LxRQ.js +1 -0
  202. package/dist/components/p-CSpMqpfj.js +1 -0
  203. package/dist/components/{p-sbtSgHjb.js → p-Dvos4xtG.js} +1 -1
  204. package/dist/components/p-HkfUr6-S.js +1 -0
  205. package/dist/components/p-vWuqpbX0.js +1 -0
  206. package/dist/esm/af-accordion-item.entry.js +1 -27
  207. package/dist/esm/af-accordion.entry.js +1 -1
  208. package/dist/esm/af-button.entry.js +5 -4
  209. package/dist/esm/af-card.entry.js +2 -2
  210. package/dist/esm/af-center.entry.js +1 -1
  211. package/dist/esm/af-client-carousel.entry.js +1 -1
  212. package/dist/esm/af-contact-item.entry.js +1 -1
  213. package/dist/esm/af-divider.entry.js +1 -1
  214. package/dist/esm/af-feature-accordion.entry.js +2 -2
  215. package/dist/esm/af-feature-grid.entry.js +1 -1
  216. package/dist/esm/af-footer-column.entry.js +1 -1
  217. package/dist/esm/af-footer-link.entry.js +1 -1
  218. package/dist/esm/af-footer.entry.js +1 -1
  219. package/dist/esm/af-grid.entry.js +2 -2
  220. package/dist/esm/af-icon-box.entry.js +1 -1
  221. package/dist/esm/af-icon-button.entry.js +1 -1
  222. package/dist/esm/af-icon-text.entry.js +1 -1
  223. package/dist/esm/af-illustrated-card.entry.js +1 -1
  224. package/dist/esm/af-image.entry.js +12 -2
  225. package/dist/esm/af-in-page-banner.entry.js +2 -2
  226. package/dist/esm/af-inline.entry.js +1 -1
  227. package/dist/esm/af-logo-well.entry.js +1 -1
  228. package/dist/esm/af-nav-accordion-item.entry.js +2 -2
  229. package/dist/esm/af-nav-accordion.entry.js +1 -1
  230. package/dist/esm/af-nav-menu-nest.entry.js +1 -1
  231. package/dist/esm/af-nav-menu.entry.js +1 -1
  232. package/dist/esm/af-number-badge.entry.js +1 -1
  233. package/dist/esm/af-progress-line.entry.js +2 -2
  234. package/dist/esm/af-section.entry.js +3 -3
  235. package/dist/esm/af-show.entry.js +1 -1
  236. package/dist/esm/af-social-link.entry.js +1 -1
  237. package/dist/esm/af-spacer.entry.js +1 -1
  238. package/dist/esm/af-split-section.entry.js +2 -2
  239. package/dist/esm/af-stack.entry.js +1 -1
  240. package/dist/esm/af-stepper-step.entry.js +1 -1
  241. package/dist/esm/af-stepper.entry.js +1 -1
  242. package/dist/esm/af-tag.entry.js +7 -8
  243. package/dist/esm/af-testimonial-carousel.entry.js +1 -1
  244. package/dist/esm/af-testimonial-stat.entry.js +1 -1
  245. package/dist/esm/af-testimonial.entry.js +3 -3
  246. package/dist/esm/af-text-image-nest.entry.js +1 -1
  247. package/dist/esm/af-theme-override.entry.js +2 -2
  248. package/dist/esm/af-typography-lockup.entry.js +1 -1
  249. package/dist/esm/af-video-container.entry.js +1 -1
  250. package/dist/esm/af-visually-hidden.entry.js +1 -1
  251. package/dist/esm/affinda.js +1 -1
  252. package/dist/esm/loader.js +1 -1
  253. package/dist/types/components/af-button/af-button.d.ts +6 -5
  254. package/dist/types/components/af-icon-text/af-icon-text.d.ts +2 -2
  255. package/dist/types/components/af-illustrated-card/af-illustrated-card.d.ts +3 -2
  256. package/dist/types/components/af-image/af-image.d.ts +10 -0
  257. package/dist/types/components/af-in-page-banner/af-in-page-banner.d.ts +10 -0
  258. package/dist/types/components/af-tag/af-tag.d.ts +10 -7
  259. package/dist/types/components/af-testimonial/af-testimonial.d.ts +11 -2
  260. package/dist/types/components.d.ts +96 -37
  261. package/package.json +1 -1
  262. package/dist/affinda/p-04a096ee.entry.js +0 -1
  263. package/dist/affinda/p-26362b90.entry.js +0 -1
  264. package/dist/affinda/p-2e1df315.entry.js +0 -1
  265. package/dist/affinda/p-43c24797.entry.js +0 -1
  266. package/dist/affinda/p-4758f89c.entry.js +0 -1
  267. package/dist/affinda/p-4c362739.entry.js +0 -1
  268. package/dist/affinda/p-5636afa9.entry.js +0 -1
  269. package/dist/affinda/p-60cf2a82.entry.js +0 -1
  270. package/dist/affinda/p-65207722.entry.js +0 -1
  271. package/dist/affinda/p-69cccdef.entry.js +0 -1
  272. package/dist/affinda/p-6d43ed06.entry.js +0 -1
  273. package/dist/affinda/p-6dc635ec.entry.js +0 -1
  274. package/dist/affinda/p-6f5d8680.entry.js +0 -1
  275. package/dist/affinda/p-b435de99.entry.js +0 -1
  276. package/dist/affinda/p-c1df7855.entry.js +0 -1
  277. package/dist/affinda/p-c83e8184.entry.js +0 -1
  278. package/dist/affinda/p-d3d9eac1.entry.js +0 -1
  279. package/dist/affinda/p-ddd41c87.entry.js +0 -1
  280. package/dist/components/p-B7lJGMfD.js +0 -1
  281. package/dist/components/p-BAJW_4SY.js +0 -1
  282. package/dist/components/p-BMwWkh8F.js +0 -1
  283. package/dist/components/p-CQfk7gDb.js +0 -1
  284. package/dist/components/p-CRW9bpXa.js +0 -1
  285. package/dist/components/p-CwPFdy8d.js +0 -1
  286. package/dist/components/p-Doypq9O5.js +0 -1
  287. package/dist/components/p-wM1k9Wi7.js +0 -1
@@ -34,7 +34,7 @@ export class AfSpacer {
34
34
  style.height = sizeValue;
35
35
  }
36
36
  }
37
- return h(Host, { key: 'e3d8bff163b92ef7caf5802947556444ce2f1a48', style: style, "aria-hidden": "true" });
37
+ return h(Host, { key: '667181ea8f243b47e0a54fbfc5441b7551d69082', style: style, "aria-hidden": "true" });
38
38
  }
39
39
  static get is() { return "af-spacer"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -26,14 +26,14 @@ export class AfSplitSection {
26
26
  this.container = true;
27
27
  }
28
28
  render() {
29
- const content = h("slot", { key: 'bc307598c8f20de642f691d1bd02269cbd34738c' });
29
+ const content = h("slot", { key: 'de39e81b9bc88da7323663c248faf7a4faf20f7f' });
30
30
  // Create the split background using CSS gradient
31
31
  const topColor = themeColors[this.topTheme];
32
32
  const bottomColor = themeColors[this.bottomTheme];
33
33
  const backgroundStyle = {
34
34
  background: `linear-gradient(to bottom, ${topColor} 0%, ${topColor} 50%, ${bottomColor} 50%, ${bottomColor} 100%)`
35
35
  };
36
- return (h(Host, { key: 'd96957b3dc7f8daea9f3480269fde7116c587461' }, h("div", { key: 'f274ae8e50c5b1fa9f59b54a1bce3dbb5408a77b', class: `split-section padding-${this.padding} top-theme-${this.topTheme}`, style: backgroundStyle }, this.container ? (h("af-container", null, content)) : content)));
36
+ return (h(Host, { key: '4b140cb28dd9ec3dd2a5148737aada241dbbfb1d' }, h("div", { key: '7eeb358bbae0e98e403e39020482505248c3bb69', class: `split-section padding-${this.padding} top-theme-${this.topTheme}`, style: backgroundStyle }, this.container ? (h("af-container", null, content)) : content)));
37
37
  }
38
38
  static get is() { return "af-split-section"; }
39
39
  static get encapsulation() { return "scoped"; }
@@ -55,7 +55,7 @@ export class AfStack {
55
55
  justifyContent: justifyMap[this.justify],
56
56
  flexWrap: this.wrap ? 'wrap' : 'nowrap',
57
57
  };
58
- return (h(Host, { key: '72e0cbdd57b5f300e1957549d225f72ae4cdc2d2', style: style }, h("slot", { key: '9f71bea28b78fa1fcb414e5f3e2b9f9e68d7962d' })));
58
+ return (h(Host, { key: '757fee5201ab0831e7dc51aa0f7dc2cad4279f95', style: style }, h("slot", { key: '06e94b64a308a3465e54d79e1a5ffb3758c6e626' })));
59
59
  }
60
60
  static get is() { return "af-stack"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class AfStepper {
40
40
  });
41
41
  }
42
42
  render() {
43
- return (h(Host, { key: 'a9c2328058c0495bbec34d3a08deb0375e2f6dae', class: `stepper stepper--${this.orientation}` }, h("div", { key: '91fb9864b86a9c2b44e84db1356099ebf5d119f3', class: "stepper__connector", "aria-hidden": "true" }), h("slot", { key: '680bf938f006e4696882aa55f7ca6fa02bcf4db4' })));
43
+ return (h(Host, { key: '0ca79e9f0006bfbe3ab6e18cceaafd0257f4defb', class: `stepper stepper--${this.orientation}` }, h("div", { key: '8682fe5e58f7df3fb9866966fb6c04715203fd87', class: "stepper__connector", "aria-hidden": "true" }), h("slot", { key: 'ecdf79d87ee099666521dbb6f8e32375dd829fea' })));
44
44
  }
45
45
  static get is() { return "af-stepper"; }
46
46
  static get encapsulation() { return "scoped"; }
@@ -18,7 +18,7 @@ export class AfStepperStep {
18
18
  this.index = 1;
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: 'b91b1f537b806fcd529fa52e67399f6be16bca5d' }, h("span", { key: '9622f4f96632b3ba69144afd82a6787e32eb7c2c', class: "stepper-step__badge" }, this.index), h("div", { key: '315447d305191d0b74116a486454c9b4b5f6dd22', class: "stepper-step__content" }, h("div", { key: 'fc838c36ffa5ca04d798faabb1c1fa6fd446ee2a', class: "stepper-step__heading" }, h("slot", { key: '24199d97434f81e1d635cdb3a06a9946d27f969b', name: "heading" })), h("div", { key: 'ad23f7a9e6459a9ac9459202901d144df44c2f03', class: "stepper-step__body" }, h("slot", { key: '66a4b92593430b057479e15b2a0d47f5a10eb229', name: "body" })))));
21
+ return (h(Host, { key: '36a45ffc037fb0efd1352fb1aa8482205faada04' }, h("span", { key: '93a75d705f40f920b3480607dfe2ed9f4ba37e55', class: "stepper-step__badge" }, this.index), h("div", { key: '2eb52b18397349da4fd3a9322fb7f1af0a271b4c', class: "stepper-step__content" }, h("div", { key: 'cf0fff2d73189a63e675017b1d431d2edc03e0c6', class: "stepper-step__heading" }, h("slot", { key: '6649a32664e82bc04e6f53c05d92050ad9b828d6', name: "heading" })), h("div", { key: '8f66cf21ff1b3e1bb4e817e6e85b418c1bdffd24', class: "stepper-step__body" }, h("slot", { key: 'a38c1c2c19d5d821ca513f098cd1b4fe6d007a92', name: "body" })))));
22
22
  }
23
23
  static get is() { return "af-stepper-step"; }
24
24
  static get encapsulation() { return "scoped"; }
@@ -17,54 +17,77 @@
17
17
  cursor: default;
18
18
  }
19
19
 
20
- /* Make links look clickable */
21
20
  a.tag {
22
21
  cursor: pointer;
23
22
  }
24
23
 
25
24
  /* ==========================================================================
26
- VARIANT: SAND (Soft-clay/tan colored - default)
25
+ VARIANT: DEFAULT (inherits from parent theme context)
27
26
  ========================================================================== */
28
27
 
29
- .tag.variant-sand {
30
- background-color: var(--af-tag-sand-bg, var(--colour-brand-soft-clay, #b09670));
31
- color: var(--af-tag-sand-text, var(--colour-brand-inkwell, #14343b));
28
+ .tag.variant-default {
29
+ background-color: var(--af-tag-bg, var(--colour-brand-soft-clay, #b09670));
30
+ color: var(--af-tag-text, var(--colour-brand-inkwell, #14343b));
32
31
  }
33
32
 
34
- .tag.variant-sand:hover {
35
- background-color: var(--af-tag-sand-bg-hover, var(--colour-softclay-400, #c0ab8d));
33
+ .tag.variant-default:hover {
34
+ background-color: var(--af-tag-bg-hover, var(--colour-tints-soft-clay-400, #c0ab8d));
36
35
  }
37
36
 
38
37
  /* ==========================================================================
39
- VARIANT: LIGHT (Mist-green/light colored)
38
+ EXPLICIT THEME VARIANTS
40
39
  ========================================================================== */
41
40
 
42
- .tag.variant-light {
43
- background-color: var(--af-tag-light-bg, var(--colour-background-level1, #e8eeed));
44
- color: var(--af-tag-light-text, var(--colour-brand-inkwell, #14343b));
41
+ .tag.variant-inkwell {
42
+ background-color: var(--colour-brand-inkwell, #14343b);
43
+ color: var(--colour-brand-white, #ffffff);
45
44
  }
46
45
 
47
- .tag.variant-light:hover {
48
- background-color: var(--af-tag-light-bg-hover, var(--colour-tints-mist-green-200, #d2e8e3));
46
+ .tag.variant-inkwell:hover {
47
+ background-color: var(--colour-tints-inkwell-500, #1e4a48);
48
+ }
49
+
50
+ .tag.variant-white {
51
+ background-color: var(--colour-brand-white, #ffffff);
52
+ color: var(--colour-brand-inkwell, #14343b);
53
+ }
54
+
55
+ .tag.variant-white:hover {
56
+ background-color: var(--colour-tints-mist-green-100, #e1eee1);
57
+ }
58
+
59
+ .tag.variant-soft-clay {
60
+ background-color: var(--colour-brand-soft-clay, #b09670);
61
+ color: var(--colour-brand-inkwell, #14343b);
62
+ }
63
+
64
+ .tag.variant-soft-clay:hover {
65
+ background-color: var(--colour-tints-soft-clay-400, #c0ab8d);
66
+ }
67
+
68
+ .tag.variant-mist-green {
69
+ background-color: var(--colour-brand-mist-green, #c6d5d1);
70
+ color: var(--colour-brand-inkwell, #14343b);
71
+ }
72
+
73
+ .tag.variant-mist-green:hover {
74
+ background-color: var(--colour-tints-mist-green-200, #d2e8e3);
49
75
  }
50
76
 
51
77
  /* ==========================================================================
52
78
  SIZES
53
79
  ========================================================================== */
54
80
 
55
- /* Size: X-Small */
56
81
  .tag.size-x-small {
57
82
  padding: 6px 10px;
58
83
  font-size: var(--font-size-label-tag, 14px);
59
84
  }
60
85
 
61
- /* Size: Small */
62
86
  .tag.size-small {
63
87
  padding: 8px 12px;
64
88
  font-size: var(--font-size-label-tag, 14px);
65
89
  }
66
90
 
67
- /* Size: Large */
68
91
  .tag.size-large {
69
92
  padding: 12px 16px;
70
93
  font-size: var(--font-size-body-large, 18px);
@@ -74,19 +97,16 @@ a.tag {
74
97
  FOCUS STATES
75
98
  ========================================================================== */
76
99
 
77
- /* Focus state */
78
100
  .tag:focus {
79
101
  outline: none;
80
- box-shadow:
102
+ box-shadow:
81
103
  0 0 0 4px var(--af-background-base, var(--colour-background-white, #ffffff)),
82
104
  0 0 0 5px var(--af-button-secondary-stroke, var(--colour-brand-inkwell, #14343b));
83
105
  }
84
106
 
85
- /* Focus visible for keyboard navigation */
86
107
  .tag:focus-visible {
87
108
  outline: none;
88
- box-shadow:
109
+ box-shadow:
89
110
  0 0 0 4px var(--af-background-base, var(--colour-background-white, #ffffff)),
90
111
  0 0 0 5px var(--af-button-secondary-stroke, var(--colour-brand-inkwell, #14343b));
91
112
  }
92
-
@@ -3,11 +3,15 @@ import { h, Host } from "@stencil/core";
3
3
  * Tag displays a label in a styled container.
4
4
  * Perfect for categorization, topics, or metadata display.
5
5
  *
6
+ * The `default` variant inherits its colors from the parent theme context
7
+ * (af-section, af-card). Use explicit variants (`inkwell`, `white`,
8
+ * `soft-clay`, `mist-green`) to override.
9
+ *
6
10
  * @example
7
11
  * ```html
8
12
  * <af-tag>AI</af-tag>
9
- * <af-tag size="small">Machine Learning</af-tag>
10
- * <af-tag size="large" variant="light">Document Processing</af-tag>
13
+ * <af-tag size="small" variant="inkwell">Machine Learning</af-tag>
14
+ * <af-tag size="large" variant="white">Document Processing</af-tag>
11
15
  * ```
12
16
  */
13
17
  export class AfTag {
@@ -15,25 +19,24 @@ export class AfTag {
15
19
  /**
16
20
  * The size of the tag
17
21
  * - `x-small` - Compact tag with minimal padding
18
- * - `small` - Small tag with moderate padding
22
+ * - `small` - Small tag with moderate padding (default)
19
23
  * - `large` - Large tag with generous padding
20
24
  */
21
25
  this.size = 'small';
22
26
  /**
23
- * The visual variant of the tag
24
- * - `sand` - Soft-clay/tan colored background (default)
25
- * - `light` - Mist-green/light colored background
27
+ * Visual variant of the tag. `default` inherits tag colors from the
28
+ * parent theme context. Theme-named variants force a specific palette.
26
29
  */
27
- this.variant = 'sand';
30
+ this.variant = 'default';
28
31
  }
29
32
  render() {
30
33
  const TagElement = this.href ? 'a' : 'span';
31
34
  const linkProps = this.href ? { href: this.href } : {};
32
- return (h(Host, { key: '0decd339f953b58f2bdc9adbe445fa2f0a2c3bf1' }, h(TagElement, { key: '9ae4d069098dd3d1caafac4918736921a76ffece', class: {
35
+ return (h(Host, { key: '389b869350a0ead31639016403b8bbd86c8be12f' }, h(TagElement, { key: '7be8b372a4c391ae3e426827cf425274dfe3dc44', class: {
33
36
  'tag': true,
34
37
  [`size-${this.size}`]: true,
35
38
  [`variant-${this.variant}`]: true,
36
- }, ...linkProps }, h("slot", { key: '2fcbbe7cc9c3954dbca1d1bff72d5c220c4afecc' }))));
39
+ }, ...linkProps }, h("slot", { key: 'cf622bef7dca7e64215e0e778f3893097e9e30d0' }))));
37
40
  }
38
41
  static get is() { return "af-tag"; }
39
42
  static get encapsulation() { return "shadow"; }
@@ -67,7 +70,7 @@ export class AfTag {
67
70
  "optional": false,
68
71
  "docs": {
69
72
  "tags": [],
70
- "text": "The size of the tag\n- `x-small` - Compact tag with minimal padding\n- `small` - Small tag with moderate padding\n- `large` - Large tag with generous padding"
73
+ "text": "The size of the tag\n- `x-small` - Compact tag with minimal padding\n- `small` - Small tag with moderate padding (default)\n- `large` - Large tag with generous padding"
71
74
  },
72
75
  "getter": false,
73
76
  "setter": false,
@@ -80,7 +83,7 @@ export class AfTag {
80
83
  "mutable": false,
81
84
  "complexType": {
82
85
  "original": "TagVariant",
83
- "resolved": "\"light\" | \"sand\"",
86
+ "resolved": "\"default\" | \"inkwell\" | \"mist-green\" | \"soft-clay\" | \"white\"",
84
87
  "references": {
85
88
  "TagVariant": {
86
89
  "location": "local",
@@ -93,13 +96,13 @@ export class AfTag {
93
96
  "optional": false,
94
97
  "docs": {
95
98
  "tags": [],
96
- "text": "The visual variant of the tag\n- `sand` - Soft-clay/tan colored background (default)\n- `light` - Mist-green/light colored background"
99
+ "text": "Visual variant of the tag. `default` inherits tag colors from the\nparent theme context. Theme-named variants force a specific palette."
97
100
  },
98
101
  "getter": false,
99
102
  "setter": false,
100
103
  "reflect": false,
101
104
  "attribute": "variant",
102
- "defaultValue": "'sand'"
105
+ "defaultValue": "'default'"
103
106
  },
104
107
  "href": {
105
108
  "type": "string",
@@ -16,7 +16,7 @@
16
16
  /* Image side - 40.5% of card width (519px of 1280px in Figma) */
17
17
  .testimonial-image {
18
18
  position: relative;
19
- width: 40.5%;
19
+ width: 50%;
20
20
  min-width: 300px;
21
21
  /* Minimum for readability */
22
22
  max-width: 519px;
@@ -84,16 +84,38 @@
84
84
  flex-shrink: 0;
85
85
  }
86
86
 
87
- /* Quote text - layout only, typography comes from af-text */
87
+ /* Quote text 22px / 140% per Webflow reference. Accepts either the
88
+ `quote` prop (rendered as plain text) or the `quote-body` slot (rich). */
88
89
  .testimonial-text {
89
- max-height: 155px;
90
- overflow: hidden;
91
- text-overflow: ellipsis;
90
+ font-family: var(--typography-bodyfont, 'NeuSans', sans-serif);
91
+ font-size: 22px;
92
+ line-height: 1.4;
93
+ font-weight: var(--font-weight-regular, 400);
94
+ color: var(--af-typography-body-default, var(--colour-brand-inkwell, #14343b));
95
+ }
96
+ .testimonial-text ::slotted(p),
97
+ .testimonial-text p {
98
+ font: inherit;
99
+ color: inherit;
100
+ margin: 0 0 12px 0;
101
+ }
102
+ .testimonial-text ::slotted(p:last-child),
103
+ .testimonial-text p:last-child {
104
+ margin-bottom: 0;
105
+ }
106
+ .testimonial-text ::slotted(ul),
107
+ .testimonial-text ul {
108
+ margin: 0 0 12px 0;
109
+ padding-left: 20px;
92
110
  }
93
111
 
94
112
  /* Attribution uses body-dark color for emphasis */
95
113
  .testimonial-attribution {
96
- --af-typography-body-default: var(--af-typography-body-dark, var(--colour-brand-inkwell, #14343b));
114
+ font-family: var(--typography-bodyfont, 'NeuSans', sans-serif);
115
+ font-size: 16px;
116
+ line-height: 24px;
117
+ color: var(--af-typography-body-dark, var(--colour-brand-inkwell, #14343b));
118
+ margin-top: 12px;
97
119
  }
98
120
 
99
121
  .testimonial-stats {
@@ -1,4 +1,12 @@
1
1
  import { h, Host } from "@stencil/core";
2
+ /**
3
+ * @slot quote-body - Rich quote content (paragraphs, lists). Overrides the
4
+ * `quote` string prop when provided. Use for testimonials that include
5
+ * multiple paragraphs, bulleted points, or inline emphasis.
6
+ * @slot quote-icon - Quote icon (defaults to af-icon name="quote").
7
+ * @slot stats - Statistic items (af-testimonial-stat components).
8
+ * @slot navigation - Custom nav controls (when not using built-in ones).
9
+ */
2
10
  export class AfTestimonial {
3
11
  constructor() {
4
12
  /**
@@ -21,11 +29,11 @@ export class AfTestimonial {
21
29
  };
22
30
  }
23
31
  render() {
24
- return (h(Host, { key: '33b2a19b7f369227cdfcf6eee289fb834d5b6329' }, h("div", { key: '761a3e5c92a22b2ad88d0a76bf9ef8f6002cdbce', class: "testimonial-card" }, h("div", { key: '8d4d5287881cec18e5b1d64b2463ed2c07460d07', class: "testimonial-image" }, this.backgroundImage && (h("img", { key: 'a976c752ab87e3f5da7582f97b54d50ee5c1a1cd', src: this.backgroundImage, alt: "", class: "testimonial-bg-image" })), this.logoImage && (h("div", { key: 'f8141dc44ac5c28ab1141cc1d9d855467cdf8b09', class: "testimonial-logo" }, h("img", { key: '65ef7ab84bdae5e47ecfdda2f8336fd83fa90c7a', src: this.logoImage, alt: "Company logo" })))), h("div", { key: '6cb5e2b4832a5a65fb3ea04810dbf7f698b11ec1', class: "testimonial-content" }, h("div", { key: 'b1f58ce100b7721750f562a6e9de9e7f91ae93a5', class: "testimonial-quote-section" }, h("div", { key: 'c320c3775e11356bd5e5108b7677b7b67f4c6f89', class: "testimonial-quote-icon" }, h("slot", { key: 'c951a7d40e7e0012d89ba4393a3f1561665c9c4d', name: "quote-icon" }, h("af-icon", { key: '3a8764d0a3d34b16b722b777a20b11e6426cdb66', name: "quote", size: 48 }))), h("af-text", { key: 'd5c29a4a791304cb3b98b582e72a16d6865eb3ca', variant: "xlarge", class: "testimonial-text" }, this.quote), h("af-text", { key: 'a8839b04257e79df76d9f3ae97a4d9dcb0070a66', variant: "xlarge", class: "testimonial-attribution" }, this.attribution)), h("div", { key: '3eb72d12ba340557e26e9bbb7faaea3b06fbf711', class: "testimonial-stats" }, h("slot", { key: '2c54f1ed69a1c31ff5999804e11312460cd33ccb', name: "stats" })), h("div", { key: '160149782113f03e0e14e17d2aa200ac1773990b', class: "testimonial-footer" }, h("div", { key: '3f2efa1c37fca41827722b48b12b0e8a4c2c0528', class: "testimonial-nav" }, this.showNavigation ? (
32
+ return (h(Host, { key: 'ece3fb36d1f133e0429a59f8fe24dadae0d25e51' }, h("div", { key: '874ba61ab34378a92f496d9143b817d3cbbce2ef', class: "testimonial-card" }, h("div", { key: 'c7812c978b4b0ce7ad5f23e2fc429986c787ec4e', class: "testimonial-image" }, this.backgroundImage && (h("img", { key: 'd8ae7c602c4e7a78037f8ca1dfb1363136499942', src: this.backgroundImage, alt: "", class: "testimonial-bg-image" })), this.logoImage && (h("div", { key: '1e2b8f1252b1bf4d480bd453fd558c3ab8cf4888', class: "testimonial-logo" }, h("img", { key: '7d9dda13479c1f46f97bca5e3628ac03925c058a', src: this.logoImage, alt: "Company logo" })))), h("div", { key: '4bfabf5919bb04b966ba56aeba9d5ecbb473c6df', class: "testimonial-content" }, h("div", { key: 'ceb09f4ea4fa02cb1289501b94b87a378b8388bf', class: "testimonial-quote-section" }, h("div", { key: '26388df84c2fa2191edc36c844e46a131133741f', class: "testimonial-quote-icon" }, h("slot", { key: '76862abdc6eb6a79abe4e1024045252cc843fbd8', name: "quote-icon" }, h("af-icon", { key: 'ad6a19f54dd5c19d2fd41b6c8d8689e35ee5fc47', name: "quote", size: 48 }))), h("div", { key: '3773864a3bbb9bcb6788ca49b401eb59d140cbf2', class: "testimonial-text" }, h("slot", { key: 'e98fb304d608a76e95b08c3dc29e54ab556327b6', name: "quote-body" }, this.quote)), h("div", { key: 'e056c13a838325f20767bf35a3659d898843767d', class: "testimonial-attribution" }, this.attribution)), h("div", { key: 'b568594caa24f709dc3723c58eb3fa6263f229b9', class: "testimonial-stats" }, h("slot", { key: 'e463d0484e771db9fcf598f67adb6c8f4ebd2eae', name: "stats" })), h("div", { key: '3e645d385530722738d88c7764b41997385e5811', class: "testimonial-footer" }, h("div", { key: 'aa8d161c9a9030cb19f0e49e7614d665200b6c43', class: "testimonial-nav" }, this.showNavigation ? (
25
33
  // Render built-in navigation buttons
26
34
  h("div", { class: "testimonial-nav-buttons" }, h("af-icon-button", { variant: "secondary", disabled: !this.hasPrev, onClick: this.handlePrev, ariaLabel: "Previous testimonial" }, h("af-icon", { name: "arrow-left", size: 24 })), h("af-icon-button", { variant: "secondary", disabled: !this.hasNext, onClick: this.handleNext, ariaLabel: "Next testimonial" }, h("af-icon", { name: "arrow-right", size: 24 })))) : (
27
35
  // Allow custom navigation via slot
28
- h("slot", { name: "navigation" }))), this.readMoreLink && (h("af-button", { key: '68c099e51f01e9f715d93eab790ff87d99291a10', variant: "secondary", href: this.readMoreLink }, "Read full story", h("af-icon", { key: '549160eb2d850d2ae14eef62ff3d6cd72c9aa991', slot: "icon-right", name: "arrow-right", size: 24 }))))))));
36
+ h("slot", { name: "navigation" }))), this.readMoreLink && (h("af-button", { key: '3764047858f6661077ec1a696c327c6dc80c5056', variant: "secondary", href: this.readMoreLink }, "Read full story", h("af-icon", { key: 'bd1cc25cf7e59c030fc4c2d94593e1437e57cd81', slot: "icon-right", name: "arrow-right", size: 24 }))))))));
29
37
  }
30
38
  static get is() { return "af-testimonial"; }
31
39
  static get encapsulation() { return "scoped"; }
@@ -84,14 +92,14 @@ export class AfTestimonial {
84
92
  "mutable": false,
85
93
  "complexType": {
86
94
  "original": "string",
87
- "resolved": "string",
95
+ "resolved": "string | undefined",
88
96
  "references": {}
89
97
  },
90
- "required": true,
91
- "optional": false,
98
+ "required": false,
99
+ "optional": true,
92
100
  "docs": {
93
101
  "tags": [],
94
- "text": "Testimonial quote text"
102
+ "text": "Testimonial quote text. Falls back to the `quote-body` slot if that\nslot has content."
95
103
  },
96
104
  "getter": false,
97
105
  "setter": false,
@@ -94,7 +94,7 @@ export class AfTestimonialCarousel {
94
94
  return (this.currentIndex + 1) / this.testimonialCount;
95
95
  }
96
96
  render() {
97
- return (h(Host, { key: '7de8274c31991f104fd70d9dd7e2e368dbe2055f' }, h("div", { key: 'd5e7a36eed63757174991132277f4819152f5217', class: "testimonial-carousel" }, h("div", { key: '90a61824e9327c10a89843e5fdf74ec5556bf2c1', class: "testimonial-slides" }, h("slot", { key: '4f46cbe79169ec13e3c731130258fbb79af56be5' })), this.testimonialCount > 1 && (h("div", { key: '2b6c7ecbac70900477c4b15dbba76add9946e1c3', class: "testimonial-progress" }, h("af-progress-line", { key: '702f468f70e2a427c3716e0d65f1275cad302641', progress: this.getProgress() }))))));
97
+ return (h(Host, { key: 'eb9042ba8aa89a99b81f8f6b477b50e44f6ef747' }, h("div", { key: 'aeeab184ea0954c9be173c4cc0e18b9f840cbf4d', class: "testimonial-carousel" }, h("div", { key: '57e2d480f737af4e6edad66475d3394eb7d4f6d7', class: "testimonial-slides" }, h("slot", { key: '21167cf84f89dcecbc87f2d1010f6fcf77975ca1' })), this.testimonialCount > 1 && (h("div", { key: '3c3211d3d523a4cf8f9178294f3dba4b491a82dc', class: "testimonial-progress" }, h("af-progress-line", { key: '63013ffeb317f2365d27843611e4210a4baa4984', progress: this.getProgress() }))))));
98
98
  }
99
99
  static get is() { return "af-testimonial-carousel"; }
100
100
  static get encapsulation() { return "scoped"; }
@@ -7,7 +7,7 @@ export class AfTestimonialStat {
7
7
  this.accentBorder = false;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: '0225f1a245a5c9139887456077d99e53016c218c' }, h("div", { key: 'a9671fa7eedd144652b30bff9fdbb6c1c48835d3', class: `stat ${this.accentBorder ? 'stat--accent' : ''}` }, h("af-heading", { key: 'cbed7c520457c7ea8c572541ac6f2e9a6c93913f', level: 2, class: "stat-value" }, this.value), h("af-text", { key: '30748648e43f7113b533d6582210029b3ed62d91', variant: "medium", class: "stat-description" }, this.description))));
10
+ return (h(Host, { key: '3854dc5e24bdfdfc96ff889f65231ed765f1cb2a' }, h("div", { key: 'bde58050e26a65197cf0d3cdb1de385c00f4ea14', class: `stat ${this.accentBorder ? 'stat--accent' : ''}` }, h("af-heading", { key: '37fc274547ef0bc7ff3c9e539f88b996c496ad52', level: 2, class: "stat-value" }, this.value), h("af-text", { key: '83519d54647b39ac39649b22f93f21039e047d63', variant: "medium", class: "stat-description" }, this.description))));
11
11
  }
12
12
  static get is() { return "af-testimonial-stat"; }
13
13
  static get encapsulation() { return "scoped"; }
@@ -29,7 +29,7 @@ export class AfTextImageNest {
29
29
  'nest__grid': true,
30
30
  [`grid-${this.layout}`]: true,
31
31
  };
32
- return (h(Host, { key: '3ec6b9ba229f43f503b31135e64ed4fc1c11f84d' }, h("div", { key: '167fd7bc7875e0d8f780a36f27c1d4d3f981f40f', class: containerClasses }, h("div", { key: '9631f476ab5c254d048ae821c5c308e1ab96a539', class: "nest__content" }, h("div", { key: 'c210eaf566a6f18b9809bd0a3e8392d4e3789f2a', class: gridClasses }, h("slot", { key: 'f17c92f4ecd6d2edd65eee7f06f51994906bd39a' })), h("div", { key: 'e6db2988f646ab0bab78b3e3ccca02a5a1ad7cf0', class: "nest__footer" }, h("slot", { key: 'c60e084083357db2ab52c1743b236924887af55d', name: "buttons" }))))));
32
+ return (h(Host, { key: '016ac9532a42a1494490c49dcffa488f49d1d5c8' }, h("div", { key: '38e16d51c44d69323e0b66e51449564631cc9077', class: containerClasses }, h("div", { key: 'a4c596c73303dde115357b80ece979b1a383e6a8', class: "nest__content" }, h("div", { key: '8d097e97a0cf9149fc3f775b27010d6d6d6c50e4', class: gridClasses }, h("slot", { key: '25ae554ae7f9091e503f1692115e483e552c6170' })), h("div", { key: 'e6105ef43ed3438ee6cd7edc671fc627d60ffef0', class: "nest__footer" }, h("slot", { key: 'ede8c7fa69237042eea88a7d0ed54f3551764e68', name: "buttons" }))))));
33
33
  }
34
34
  static get is() { return "af-text-image-nest"; }
35
35
  static get encapsulation() { return "scoped"; }
@@ -54,9 +54,9 @@
54
54
  --af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
55
55
 
56
56
  /* Button - Tertiary */
57
- --af-button-tertiary-text: var(--colour-brand-inkwell, #14343b);
58
- --af-button-tertiary-icon: var(--colour-brand-inkwell, #14343b);
59
- --af-button-tertiary-stroke: var(--colour-brand-soft-clay, #B09670);
57
+ --af-button-ghost-text: var(--colour-brand-inkwell, #14343b);
58
+ --af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
59
+ --af-button-ghost-stroke: var(--colour-brand-soft-clay, #B09670);
60
60
 
61
61
  /* Input tokens */
62
62
  --af-input-label: var(--af-typography-body-dark);
@@ -126,9 +126,9 @@
126
126
  --af-button-secondary-stroke: var(--colour-brand-white, #ffffff);
127
127
 
128
128
  /* Button - Tertiary */
129
- --af-button-tertiary-text: var(--colour-brand-white, #ffffff);
130
- --af-button-tertiary-icon: var(--colour-brand-white, #ffffff);
131
- --af-button-tertiary-stroke: var(--colour-brand-ice, #A6FFFB);
129
+ --af-button-ghost-text: var(--colour-brand-white, #ffffff);
130
+ --af-button-ghost-icon: var(--colour-brand-white, #ffffff);
131
+ --af-button-ghost-stroke: var(--colour-brand-ice, #A6FFFB);
132
132
 
133
133
  /* Input tokens */
134
134
  --af-input-label: var(--af-typography-body-dark);
@@ -198,9 +198,9 @@
198
198
  --af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
199
199
 
200
200
  /* Button - Tertiary */
201
- --af-button-tertiary-text: var(--colour-brand-inkwell, #14343b);
202
- --af-button-tertiary-icon: var(--colour-brand-inkwell, #14343b);
203
- --af-button-tertiary-stroke: var(--colour-brand-soft-clay, #B09670);
201
+ --af-button-ghost-text: var(--colour-brand-inkwell, #14343b);
202
+ --af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
203
+ --af-button-ghost-stroke: var(--colour-brand-soft-clay, #B09670);
204
204
 
205
205
  /* Input tokens */
206
206
  --af-input-label: var(--af-typography-body-dark);
@@ -270,9 +270,9 @@
270
270
  --af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
271
271
 
272
272
  /* Button - Tertiary */
273
- --af-button-tertiary-text: var(--colour-brand-inkwell, #14343b);
274
- --af-button-tertiary-icon: var(--colour-brand-inkwell, #14343b);
275
- --af-button-tertiary-stroke: var(--colour-brand-inkwell, #14343b);
273
+ --af-button-ghost-text: var(--colour-brand-inkwell, #14343b);
274
+ --af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
275
+ --af-button-ghost-stroke: var(--colour-brand-inkwell, #14343b);
276
276
 
277
277
  /* Input tokens */
278
278
  --af-input-label: var(--af-typography-body-dark);
@@ -342,9 +342,9 @@
342
342
  --af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
343
343
 
344
344
  /* Button - Tertiary */
345
- --af-button-tertiary-text: var(--colour-brand-inkwell, #14343b);
346
- --af-button-tertiary-icon: var(--colour-brand-inkwell, #14343b);
347
- --af-button-tertiary-stroke: var(--colour-brand-soft-clay, #b09670);
345
+ --af-button-ghost-text: var(--colour-brand-inkwell, #14343b);
346
+ --af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
347
+ --af-button-ghost-stroke: var(--colour-brand-soft-clay, #b09670);
348
348
 
349
349
  /* Input tokens */
350
350
  --af-input-label: var(--af-typography-body-dark);
@@ -18,7 +18,7 @@ export class AfThemeOverride {
18
18
  this.theme = 'white';
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: '0dbebde89199b19c6716b0e521026ec82ae42ee5' }, h("div", { key: 'a8a5761b4ce5d48bc52579c995fde8f15f154aac', class: `theme-override theme-${this.theme}` }, h("slot", { key: 'f2f30666635125d26438b8b5da72493830f226b7' }))));
21
+ return (h(Host, { key: '67765126b10a933cf927169cab2c88135f9b9c9d' }, h("div", { key: '00e00242c786f339f93c30005e1bbdc2eb5cdae6', class: `theme-override theme-${this.theme}` }, h("slot", { key: '19b1cfc18e8d8218a2bc0e04fb70b2e2e3a68121' }))));
22
22
  }
23
23
  static get is() { return "af-theme-override"; }
24
24
  static get encapsulation() { return "scoped"; }
@@ -123,14 +123,22 @@
123
123
  gap: var(--space-2, 8px);
124
124
  }
125
125
 
126
- /* Heading styles */
126
+ /* Heading styles - font-weight 400 (regular) matches Webflow's NeuSans usage.
127
+ * display: flex collapses any whitespace-only text nodes that Astro (and
128
+ * other templating engines) leave between the slotted heading and the
129
+ * following named-slot siblings — those stray text nodes get projected into
130
+ * the default slot and, without flex layout, each one occupies a full line
131
+ * of the heading's line-height (user-visible "extra line break" after the
132
+ * heading). */
127
133
  .heading {
134
+ display: flex;
135
+ flex-direction: column;
128
136
  font-family: var(--typography-headingfont, 'NeuSans', sans-serif);
129
- font-weight: var(--font-weight-book, 500);
137
+ font-weight: var(--font-weight-regular, 400);
130
138
  color: var(--af-typography-heading-primary, var(--colour-typography-heading-primary, #14343B));
131
139
  line-height: var(--line-height-heading-tight, 1);
132
140
  letter-spacing: var(--letter-spacing-heading, -0.02em);
133
- white-space: pre-wrap;
141
+ white-space: normal;
134
142
  }
135
143
 
136
144
  /* Desktop heading sizes */
@@ -186,7 +194,25 @@
186
194
  font-weight: var(--font-weight-regular, 400);
187
195
  line-height: var(--line-height-body-large, 26px);
188
196
  color: var(--af-typography-body-default, var(--colour-typography-body-default, #2B484F));
189
- white-space: pre-wrap;
197
+ white-space: normal;
198
+ }
199
+
200
+ /* Heading colour variants — matches Webflow's h1.primary / h1.secondary pattern */
201
+ .heading.heading-color-primary {
202
+ color: var(--af-typography-heading-primary, var(--colour-typography-heading-primary, #14343B));
203
+ }
204
+
205
+ .heading.heading-color-secondary {
206
+ color: var(--af-typography-heading-secondary, var(--colour-brand-soft-clay, #B09670));
207
+ }
208
+
209
+ /* Description colour variants */
210
+ .description.description-color-default {
211
+ color: var(--af-typography-body-default, var(--colour-typography-body-default, #2B484F));
212
+ }
213
+
214
+ .description.description-color-secondary {
215
+ color: var(--af-typography-heading-secondary, var(--colour-brand-soft-clay, #B09670));
190
216
  }
191
217
 
192
218
  /* Description text size variations - smaller for heading 3 mobile, 4, and 5 */
@@ -42,7 +42,7 @@ export class AfVideoContainer {
42
42
  };
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: '9e6c5666aadff71d14dcff94469c194ad6255a8c' }, h("div", { key: '3690b9c6db562b3777f140e8dbf406da3e4c8f4f', class: "video-container" }, h("div", { key: 'fa80fab02b3015eb872e3d1eb6f693357ebe8f8d', class: "video-container__top" }, h("slot", { key: '795821203920f68f35c84b9155d0f44002a66042', name: "top" })), h("div", { key: '6f4fa9bd803141ce8df6468b7d29d5ba9bd6f237', class: "video-container__video" }, h("af-aspect-ratio", { key: 'bba59d56a42639aa2d4f43d84d5b95f0ef33ce72', ratio: "16:9" }, h("div", { key: 'af54817594a000b05621fb01be5d8f8fdc857ac6', class: "video-container__thumbnail-wrapper" }, this.videoThumbnailUrl && (h("img", { key: 'faba87de58bec4a981e8bf1382f744ac3e47ffbe', src: this.videoThumbnailUrl, alt: this.videoAlt, class: "video-container__thumbnail", loading: "lazy" })), h("button", { key: '1dbcf64a1a251e81eccf7013c6cd82e6b3e1b622', class: "video-container__play-button", onClick: this.handlePlayClick, "aria-label": "Play video", type: "button" }, h("af-icon", { key: 'aa96780fdaaa69d3299f25074122712cd57a0a49', name: "play", size: 24 }))))), h("div", { key: '070c4b3e448f5feff70c2bcc0f31e0dc9f90b0ce', class: "video-container__bottom" }, h("slot", { key: '6a1fec74caa7385082fc59c5e2500043038dfca1', name: "bottom" })))));
45
+ return (h(Host, { key: '805ef2cb5883f2589729c8f01a6912d9649931ed' }, h("div", { key: '0378ad7aa7ba09981fc87b8701e056cfd71c7ff2', class: "video-container" }, h("div", { key: '0d6581e16ee68472b37d1d7f5135f3ce5b6312a0', class: "video-container__top" }, h("slot", { key: '8802570242c658b176405ab1493254c4c3473d4a', name: "top" })), h("div", { key: 'ff73de6c3dc1597acbaf707dbfcb5559fde6ebdb', class: "video-container__video" }, h("af-aspect-ratio", { key: '092c02fe25891ef4436056056c1443bfe35631ab', ratio: "16:9" }, h("div", { key: '0e1def94ac6e243af93c67e13c1fb7d743eeb808', class: "video-container__thumbnail-wrapper" }, this.videoThumbnailUrl && (h("img", { key: '9437d1ee258da0548225edd8f6f38f3ac1984e66', src: this.videoThumbnailUrl, alt: this.videoAlt, class: "video-container__thumbnail", loading: "lazy" })), h("button", { key: '0269c801acca11d95e383a9d588ba07b30fa28a2', class: "video-container__play-button", onClick: this.handlePlayClick, "aria-label": "Play video", type: "button" }, h("af-icon", { key: '85ba1f8c72057d948ab6c06cdf76be075f81f9d7', name: "play", size: 24 }))))), h("div", { key: '4b50dd7066e2f0390052d0042d762f7e3d3beb1a', class: "video-container__bottom" }, h("slot", { key: 'ef00f995dc3e81e0197846d672701c829a8d61d1', name: "bottom" })))));
46
46
  }
47
47
  static get is() { return "af-video-container"; }
48
48
  static get encapsulation() { return "scoped"; }
@@ -15,7 +15,7 @@ export class AfVisuallyHidden {
15
15
  this.focusable = false;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '23738df059de827e6d1441906ac4dc9f0e568193', class: { 'focusable': this.focusable } }, h("slot", { key: 'bd867e2e71c748fc4d7faed12e993cf14bd0b311' })));
18
+ return (h(Host, { key: '9ce559b8f54328432497181c2e8c7a4136ddd67d', class: { 'focusable': this.focusable } }, h("slot", { key: '4d877b02acf7b1ab61dca5e72b4d76c37a9fc7c2' })));
19
19
  }
20
20
  static get is() { return "af-visually-hidden"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- import{p as e,H as t,d as s,h as o,c as i,t as a}from"./p-DsNqeD3z.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.accordionToggle=s(this,"af-accordion-toggle"),this.open=!1,this.disabled=!1,this.contentHeight=0,this.handleTriggerClick=()=>{this.disabled||this.toggle()}}handleOpenChange(e){e&&this.measureContent()}componentDidLoad(){fetch("http://127.0.0.1:7242/ingest/b0b55d5e-d10c-4b52-9f1d-02a40f4c5e87",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"af-accordion-item.tsx:componentDidLoad",message:"Component loaded",data:{itemId:this.itemId,hasShadowRoot:!!this.el.shadowRoot},timestamp:Date.now(),sessionId:"debug-session",hypothesisId:"E"})}).catch((()=>{}));const e=this.el.shadowRoot,t=e?.querySelector('slot[name="trigger"]'),s=t?.assignedNodes()||[],o=t?.assignedElements()||[];fetch("http://127.0.0.1:7242/ingest/b0b55d5e-d10c-4b52-9f1d-02a40f4c5e87",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"af-accordion-item.tsx:componentDidLoad:slotCheck",message:"Checking trigger slot content",data:{hasTriggerSlot:!!t,assignedNodesCount:s.length,assignedElementsCount:o.length,assignedContent:o.map((e=>({tagName:e.tagName,textContent:e.textContent})))},timestamp:Date.now(),sessionId:"debug-session",hypothesisId:"A"})}).catch((()=>{}));const i=e?.querySelector(".trigger-content"),a=i?getComputedStyle(i):null;fetch("http://127.0.0.1:7242/ingest/b0b55d5e-d10c-4b52-9f1d-02a40f4c5e87",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"af-accordion-item.tsx:componentDidLoad:styleCheck",message:"Checking trigger-content styles",data:{hasTriggerContent:!!i,width:i?.offsetWidth,height:i?.offsetHeight,color:a?.color,display:a?.display,visibility:a?.visibility},timestamp:Date.now(),sessionId:"debug-session",hypothesisId:"B,C"})}).catch((()=>{}));const n=Array.from(this.el.children),d=this.el.querySelector('[slot="trigger"]');fetch("http://127.0.0.1:7242/ingest/b0b55d5e-d10c-4b52-9f1d-02a40f4c5e87",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"af-accordion-item.tsx:componentDidLoad:lightDomCheck",message:"Checking light DOM for slotted content",data:{lightDomChildCount:n.length,lightDomTags:n.map((e=>e.tagName)),hasSlottedTrigger:!!d,slottedTriggerText:d?.textContent},timestamp:Date.now(),sessionId:"debug-session",hypothesisId:"D"})}).catch((()=>{})),this.open&&this.measureContent(),this.resizeObserver=new ResizeObserver((()=>{this.open&&this.contentRef&&(this.contentHeight=this.contentRef.scrollHeight)})),this.contentRef&&this.resizeObserver.observe(this.contentRef)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect()}async toggle(){this.disabled||(this.open=!this.open,this.accordionToggle.emit({itemId:this.itemId,open:this.open}))}measureContent(){requestAnimationFrame((()=>{this.contentRef&&(this.contentHeight=this.contentRef.scrollHeight)}))}render(){fetch("http://127.0.0.1:7242/ingest/b0b55d5e-d10c-4b52-9f1d-02a40f4c5e87",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:"af-accordion-item.tsx:render",message:"Render called",data:{itemId:this.itemId,open:this.open},timestamp:Date.now(),sessionId:"debug-session",hypothesisId:"E"})}).catch((()=>{}));const e={maxHeight:this.open?this.contentHeight+"px":"0px"};return o(i,{key:"43f7afd57f2140281370bb017cfe2b51cd2842ce",class:{"is-open":this.open,"is-disabled":this.disabled}},o("div",{key:"940e6da12aff564fba2e7fefe9d86da2ee75ace2",class:"accordion-item"},o("button",{key:"b95af456ed818845a063e171bf0f761ef9177d27",class:"trigger",onClick:this.handleTriggerClick,"aria-expanded":this.open?"true":"false","aria-controls":"content-"+this.itemId,disabled:this.disabled,type:"button"},o("div",{key:"20d794a74b04186e970ff1ca87dc1815dbe74db8",class:"trigger-content"},o("slot",{key:"4093bf6319a38abe01c2c6543943a1057cb39bd6",name:"trigger"})),o("div",{key:"5e9245bb929007455538327366ed7b1ae29c82b1",class:{chevron:!0,"is-open":this.open}},o("svg",{key:"1d6854e700f7ef35471093bc635d74a27bf370eb",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor"},o("path",{key:"9b89ceb690f036e1504b73a61c9aa44295da6227",d:"M6 9l6 6 6-6","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})))),o("div",{key:"8e7fe567cbbc396100bd6ea75ad8e8854bc92e2a",id:"content-"+this.itemId,class:"content-wrapper",style:e,"aria-hidden":this.open?"false":"true"},o("div",{key:"4a64f911c697b4c5558cfe42f77f9afa99ea5ef9",class:"content",ref:e=>this.contentRef=e},o("slot",{key:"aa5d84c7dc3a99e17a2f89a5247b3bd1b12c676b"})))))}get el(){return this}static get watchers(){return{open:[{handleOpenChange:0}]}}static get style(){return":host{display:block;width:100%}.accordion-item{width:100%}.trigger{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 0;background:transparent;border:none;border-bottom:1px solid var(--af-background-border-subtle, #e8eeed);cursor:pointer;font:inherit;text-align:left;color:var(--af-typography-body-dark, #14343b);transition:background-color 0.2s ease}.trigger:hover:not(:disabled){background-color:var(--af-background-base-hover, rgba(20, 52, 59, 0.02))}.trigger:focus-visible{outline:2px solid var(--af-background-border-active, #8a7049);outline-offset:-2px}.trigger:disabled{cursor:not-allowed;opacity:0.5}.trigger-content{flex:1;min-width:0}.chevron{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;color:var(--af-typography-body-dark, #14343b);transition:transform 0.3s ease}.chevron.is-open{transform:rotate(180deg)}.content-wrapper{overflow:hidden;transition:max-height 0.3s ease}.content{padding:0}:host(.is-disabled) .trigger{cursor:not-allowed;opacity:0.5}:host(.is-disabled) .trigger:hover{background-color:transparent}:host(.is-open) .trigger{border-bottom-color:transparent}"}},[257,"af-accordion-item",{itemId:[513,"item-id"],open:[1540],disabled:[516],contentHeight:[32],toggle:[64]},void 0,{open:[{handleOpenChange:0}]}]),d=n,r=function(){"undefined"!=typeof customElements&&["af-accordion-item"].forEach((e=>{"af-accordion-item"===e&&(customElements.get(a(e))||customElements.define(a(e),n))}))};export{d as AfAccordionItem,r as defineCustomElement}
1
+ import{p as e,H as t,d as i,h as s,c as a,t as o}from"./p-DsNqeD3z.js";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.accordionToggle=i(this,"af-accordion-toggle"),this.open=!1,this.disabled=!1,this.contentHeight=0,this.handleTriggerClick=()=>{this.disabled||this.toggle()}}handleOpenChange(e){e&&this.measureContent()}componentDidLoad(){this.open&&this.measureContent(),this.resizeObserver=new ResizeObserver((()=>{this.open&&this.contentRef&&(this.contentHeight=this.contentRef.scrollHeight)})),this.contentRef&&this.resizeObserver.observe(this.contentRef)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect()}async toggle(){this.disabled||(this.open=!this.open,this.accordionToggle.emit({itemId:this.itemId,open:this.open}))}measureContent(){requestAnimationFrame((()=>{this.contentRef&&(this.contentHeight=this.contentRef.scrollHeight)}))}render(){const e={maxHeight:this.open?this.contentHeight+"px":"0px"};return s(a,{key:"f09a5fe4d1ca9e14d674c5cb255c391355fba0b9",class:{"is-open":this.open,"is-disabled":this.disabled}},s("div",{key:"2e53d4c8599acd81e7a624ac130add7ea7be3c86",class:"accordion-item"},s("button",{key:"c3b97ff90a37ac7f582b2ba086db0faa21328dc2",class:"trigger",onClick:this.handleTriggerClick,"aria-expanded":this.open?"true":"false","aria-controls":"content-"+this.itemId,disabled:this.disabled,type:"button"},s("div",{key:"48446eb132a44680630f46c1bd65921a440f688a",class:"trigger-content"},s("slot",{key:"a47fdf5a659602a340091544587be928c226a89b",name:"trigger"})),s("div",{key:"1c938183404f982ebcfe3ba0661f57e4ecf2c006",class:{chevron:!0,"is-open":this.open}},s("svg",{key:"20d3ef9eb98b0cbb2f0af2165cc911fb3ec93bd5",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor"},s("path",{key:"7477c118131ce91b79d1c9f74174c9431ee60dca",d:"M6 9l6 6 6-6","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})))),s("div",{key:"676a89763218ddbd6daddb174a4eebecfffb6a94",id:"content-"+this.itemId,class:"content-wrapper",style:e,"aria-hidden":this.open?"false":"true"},s("div",{key:"fb0f8760497cf998daa0f1cd5c52c6349fb125e4",class:"content",ref:e=>this.contentRef=e},s("slot",{key:"300f0b749dbaf06bb44ad9b176f3d9f64c52db6e"})))))}get el(){return this}static get watchers(){return{open:[{handleOpenChange:0}]}}static get style(){return":host{display:block;width:100%}.accordion-item{width:100%}.trigger{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 0;background:transparent;border:none;border-bottom:1px solid var(--af-background-border-subtle, #e8eeed);cursor:pointer;font:inherit;text-align:left;color:var(--af-typography-body-dark, #14343b);transition:background-color 0.2s ease}.trigger:hover:not(:disabled){background-color:var(--af-background-base-hover, rgba(20, 52, 59, 0.02))}.trigger:focus-visible{outline:2px solid var(--af-background-border-active, #8a7049);outline-offset:-2px}.trigger:disabled{cursor:not-allowed;opacity:0.5}.trigger-content{flex:1;min-width:0}.chevron{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;color:var(--af-typography-body-dark, #14343b);transition:transform 0.3s ease}.chevron.is-open{transform:rotate(180deg)}.content-wrapper{overflow:hidden;transition:max-height 0.3s ease}.content{padding:0}:host(.is-disabled) .trigger{cursor:not-allowed;opacity:0.5}:host(.is-disabled) .trigger:hover{background-color:transparent}:host(.is-open) .trigger{border-bottom-color:transparent}"}},[257,"af-accordion-item",{itemId:[513,"item-id"],open:[1540],disabled:[516],contentHeight:[32],toggle:[64]},void 0,{open:[{handleOpenChange:0}]}]),n=r,d=function(){"undefined"!=typeof customElements&&["af-accordion-item"].forEach((e=>{"af-accordion-item"===e&&(customElements.get(o(e))||customElements.define(o(e),r))}))};export{n as AfAccordionItem,d as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as a,h as s,c as i,t as c}from"./p-DsNqeD3z.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.accordionChange=a(this,"af-accordion-change"),this.mode="independent",this.internalValue=[]}isControlled(){return void 0!==this.value}componentWillLoad(){const e=this.isControlled()?this.value:this.defaultValue;this.internalValue=this.normalizeValue(e)}handleValueChange(e){this.isControlled()&&(this.internalValue=this.normalizeValue(e),this.syncItems())}componentDidLoad(){this.syncItems()}handleItemToggle(e){e.stopPropagation();const{itemId:t,open:a}=e.detail;let s;s="exclusive"===this.mode?a?[t]:[]:a?[...this.internalValue,t]:this.internalValue.filter((e=>e!==t)),this.isControlled()||(this.internalValue=s,this.syncItems()),this.accordionChange.emit({value:"exclusive"===this.mode?s.length>0?s[0]:null:s})}normalizeValue(e){return null==e?[]:Array.isArray(e)?"exclusive"===this.mode?e.slice(0,1):e:[e]}syncItems(){this.el.querySelectorAll("af-accordion-item").forEach((e=>{e.itemId&&(e.open=this.internalValue.includes(e.itemId))}))}render(){return s(i,{key:"2d84a14e0db5c7f1ab90d343196fdb5456a2de89",class:{["mode-"+this.mode]:!0}},s("div",{key:"773361b5629da5b3942f7686c1efc4ee89461b61",class:"accordion"},s("slot",{key:"e88462c8d101d071b8bcfc6be975dd553a13af30"})))}get el(){return this}static get watchers(){return{value:[{handleValueChange:0}]}}static get style(){return".sc-af-accordion-h{display:block;width:100%}.accordion.sc-af-accordion{display:flex;flex-direction:column;width:100%}.sc-af-accordion-s>af-accordion-item{display:block}.sc-af-accordion-s>af-accordion-item:last-child{--accordion-item-border:transparent}"}},[262,"af-accordion",{mode:[1],value:[1025],defaultValue:[1,"default-value"],internalValue:[32]},[[0,"af-accordion-toggle","handleItemToggle"]],{value:[{handleValueChange:0}]}]),n=o,d=function(){"undefined"!=typeof customElements&&["af-accordion"].forEach((e=>{"af-accordion"===e&&(customElements.get(c(e))||customElements.define(c(e),o))}))};export{n as AfAccordion,d as defineCustomElement}
1
+ import{p as e,H as t,d as a,h as c,c as s,t as i}from"./p-DsNqeD3z.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.accordionChange=a(this,"af-accordion-change"),this.mode="independent",this.internalValue=[]}isControlled(){return void 0!==this.value}componentWillLoad(){const e=this.isControlled()?this.value:this.defaultValue;this.internalValue=this.normalizeValue(e)}handleValueChange(e){this.isControlled()&&(this.internalValue=this.normalizeValue(e),this.syncItems())}componentDidLoad(){this.syncItems()}handleItemToggle(e){e.stopPropagation();const{itemId:t,open:a}=e.detail;let c;c="exclusive"===this.mode?a?[t]:[]:a?[...this.internalValue,t]:this.internalValue.filter((e=>e!==t)),this.isControlled()||(this.internalValue=c,this.syncItems()),this.accordionChange.emit({value:"exclusive"===this.mode?c.length>0?c[0]:null:c})}normalizeValue(e){return null==e?[]:Array.isArray(e)?"exclusive"===this.mode?e.slice(0,1):e:[e]}syncItems(){this.el.querySelectorAll("af-accordion-item").forEach((e=>{e.itemId&&(e.open=this.internalValue.includes(e.itemId))}))}render(){return c(s,{key:"e0060977dd938771a54e2941a962a58bf18b61dd",class:{["mode-"+this.mode]:!0}},c("div",{key:"dacacd23dc6f116bb8c856161d1a956c0fc7d70d",class:"accordion"},c("slot",{key:"1dcc400fc416c79f0ac1cf48893de03c46e31741"})))}get el(){return this}static get watchers(){return{value:[{handleValueChange:0}]}}static get style(){return".sc-af-accordion-h{display:block;width:100%}.accordion.sc-af-accordion{display:flex;flex-direction:column;width:100%}.sc-af-accordion-s>af-accordion-item{display:block}.sc-af-accordion-s>af-accordion-item:last-child{--accordion-item-border:transparent}"}},[262,"af-accordion",{mode:[1],value:[1025],defaultValue:[1,"default-value"],internalValue:[32]},[[0,"af-accordion-toggle","handleItemToggle"]],{value:[{handleValueChange:0}]}]),n=o,d=function(){"undefined"!=typeof customElements&&["af-accordion"].forEach((e=>{"af-accordion"===e&&(customElements.get(i(e))||customElements.define(i(e),o))}))};export{n as AfAccordion,d as defineCustomElement}
@@ -1 +1 @@
1
- import{A as o,d as s}from"./p-wM1k9Wi7.js";const p=o,r=s;export{p as AfButton,r as defineCustomElement}
1
+ import{A as o,d as s}from"./p-BeVM-2kH.js";const p=o,r=s;export{p as AfButton,r as defineCustomElement}
@@ -1 +1 @@
1
- import{A as o,d as s}from"./p-BAJW_4SY.js";const p=o,r=s;export{p as AfCard,r as defineCustomElement}
1
+ import{A as o,d as s}from"./p-BlfywPKX.js";const p=o,r=s;export{p as AfCard,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as s,c as i,t as n}from"./p-DsNqeD3z.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.axis="both",this.inline=!1}render(){const e={display:this.inline?"inline-flex":"flex"};return"horizontal"!==this.axis&&"both"!==this.axis||(e.justifyContent="center"),"vertical"!==this.axis&&"both"!==this.axis||(e.alignItems="center"),this.minHeight&&(e.minHeight=this.minHeight),s(i,{key:"d5155950c8c486ac95b394c8604e1b868becb524",style:e},s("slot",{key:"e53b6eeda1351177681e57bca66b6c508e445a43"}))}static get style(){return":host{display:flex;box-sizing:border-box}:host([hidden]){display:none}"}},[257,"af-center",{axis:[1],inline:[4],minHeight:[1,"min-height"]}]),o=c,h=function(){"undefined"!=typeof customElements&&["af-center"].forEach((e=>{"af-center"===e&&(customElements.get(n(e))||customElements.define(n(e),c))}))};export{o as AfCenter,h as defineCustomElement}
1
+ import{p as e,H as t,h as s,c as i,t as n}from"./p-DsNqeD3z.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.axis="both",this.inline=!1}render(){const e={display:this.inline?"inline-flex":"flex"};return"horizontal"!==this.axis&&"both"!==this.axis||(e.justifyContent="center"),"vertical"!==this.axis&&"both"!==this.axis||(e.alignItems="center"),this.minHeight&&(e.minHeight=this.minHeight),s(i,{key:"fc1bcaef9b11c0c5f69e9ef95d58adf61b4f244a",style:e},s("slot",{key:"09dc75e0a80760d56e370ad0b52231f4143549e8"}))}static get style(){return":host{display:flex;box-sizing:border-box}:host([hidden]){display:none}"}},[257,"af-center",{axis:[1],inline:[4],minHeight:[1,"min-height"]}]),c=o,h=function(){"undefined"!=typeof customElements&&["af-center"].forEach((e=>{"af-center"===e&&(customElements.get(n(e))||customElements.define(n(e),o))}))};export{c as AfCenter,h as defineCustomElement}