@spw-ds/spw-stencil-library 1.19.0 → 1.20.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 (534) hide show
  1. package/dist/cem.json +297 -21
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/spw-accordion_4.cjs.entry.js +137 -16
  4. package/dist/cjs/spw-avatar.cjs.entry.js +1 -1
  5. package/dist/cjs/spw-block-content.cjs.entry.js +3 -2
  6. package/dist/cjs/spw-box.cjs.entry.js +5 -6
  7. package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +1 -1
  8. package/dist/cjs/spw-breadcrumb.cjs.entry.js +1 -1
  9. package/dist/cjs/spw-button_2.cjs.entry.js +2 -2
  10. package/dist/cjs/spw-card-content.cjs.entry.js +1 -1
  11. package/dist/cjs/spw-card-excerpt.cjs.entry.js +1 -1
  12. package/dist/cjs/spw-card-image.cjs.entry.js +1 -1
  13. package/dist/cjs/spw-card-subtag-item.cjs.entry.js +5 -3
  14. package/dist/cjs/spw-card-subtags.cjs.entry.js +1 -1
  15. package/dist/cjs/spw-card-title.cjs.entry.js +1 -1
  16. package/dist/cjs/spw-card.cjs.entry.js +1 -1
  17. package/dist/cjs/spw-checkbox.cjs.entry.js +6 -6
  18. package/dist/cjs/spw-date-picker.cjs.entry.js +1 -1
  19. package/dist/cjs/spw-drawer.cjs.entry.js +3 -3
  20. package/dist/cjs/spw-dropdown-container.cjs.entry.js +1 -1
  21. package/dist/cjs/spw-dropdown-item.cjs.entry.js +1 -1
  22. package/dist/cjs/spw-dropdown.cjs.entry.js +1 -1
  23. package/dist/cjs/spw-field-label_8.cjs.entry.js +51 -9
  24. package/dist/cjs/spw-file-upload.cjs.entry.js +2 -2
  25. package/dist/cjs/spw-footer-bottom.cjs.entry.js +1 -1
  26. package/dist/cjs/spw-footer-content-col.cjs.entry.js +1 -1
  27. package/dist/cjs/spw-footer-content.cjs.entry.js +1 -1
  28. package/dist/cjs/spw-footer-link.cjs.entry.js +1 -1
  29. package/dist/cjs/spw-footer.cjs.entry.js +1 -1
  30. package/dist/cjs/spw-grid-item.cjs.entry.js +2 -2
  31. package/dist/cjs/spw-grid.cjs.entry.js +2 -2
  32. package/dist/cjs/spw-header-lang.cjs.entry.js +1 -1
  33. package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +1 -1
  34. package/dist/cjs/spw-header-navigation-item.cjs.entry.js +1 -1
  35. package/dist/cjs/spw-header-navigation.cjs.entry.js +1 -1
  36. package/dist/cjs/spw-header-persona-item.cjs.entry.js +1 -1
  37. package/dist/cjs/spw-header-persona.cjs.entry.js +1 -1
  38. package/dist/cjs/spw-header.cjs.entry.js +63 -15
  39. package/dist/cjs/spw-hero.cjs.entry.js +3 -3
  40. package/dist/cjs/spw-input-slider.cjs.entry.js +1 -1
  41. package/dist/cjs/spw-lightbox-item.cjs.entry.js +11 -2
  42. package/dist/cjs/spw-lightbox.cjs.entry.js +53 -5
  43. package/dist/cjs/spw-list-description.cjs.entry.js +1 -1
  44. package/dist/cjs/spw-list-item.cjs.entry.js +1 -1
  45. package/dist/cjs/spw-list-title.cjs.entry.js +1 -1
  46. package/dist/cjs/spw-list.cjs.entry.js +1 -1
  47. package/dist/cjs/spw-modal.cjs.entry.js +3 -3
  48. package/dist/cjs/spw-mosaic-item.cjs.entry.js +1 -1
  49. package/dist/cjs/spw-mosaic.cjs.entry.js +1 -1
  50. package/dist/cjs/spw-pagination.cjs.entry.js +6 -6
  51. package/dist/cjs/spw-scrolltop.cjs.entry.js +1 -1
  52. package/dist/cjs/spw-search-field.cjs.entry.js +20 -2
  53. package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +1 -1
  54. package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +3 -3
  55. package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +1 -1
  56. package/dist/cjs/spw-sidebar.cjs.entry.js +1 -1
  57. package/dist/cjs/spw-sidenav-group.cjs.entry.js +2 -2
  58. package/dist/cjs/spw-sidenav-item.cjs.entry.js +8 -5
  59. package/dist/cjs/spw-sidenav.cjs.entry.js +2 -2
  60. package/dist/cjs/spw-skeleton.cjs.entry.js +1 -1
  61. package/dist/cjs/spw-slider-item.cjs.entry.js +1 -1
  62. package/dist/cjs/spw-slider.cjs.entry.js +1 -1
  63. package/dist/cjs/spw-socials.cjs.entry.js +1 -1
  64. package/dist/cjs/spw-stencil-library.cjs.js +1 -1
  65. package/dist/cjs/spw-table-body.cjs.entry.js +1 -1
  66. package/dist/cjs/spw-table-cell.cjs.entry.js +1 -1
  67. package/dist/cjs/spw-table-container.cjs.entry.js +1 -1
  68. package/dist/cjs/spw-table-footer.cjs.entry.js +1 -1
  69. package/dist/cjs/spw-table-head.cjs.entry.js +1 -1
  70. package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
  71. package/dist/cjs/spw-table-row.cjs.entry.js +1 -1
  72. package/dist/cjs/spw-table-sidebar.cjs.entry.js +1 -1
  73. package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +1 -1
  74. package/dist/cjs/spw-tabs-navigation.cjs.entry.js +1 -1
  75. package/dist/cjs/spw-tabs.cjs.entry.js +1 -1
  76. package/dist/cjs/spw-tag.cjs.entry.js +1 -1
  77. package/dist/cjs/spw-text-field.cjs.entry.js +1 -1
  78. package/dist/cjs/spw-textarea.cjs.entry.js +1 -1
  79. package/dist/cjs/spw-tile-description.cjs.entry.js +1 -1
  80. package/dist/cjs/spw-tile-title.cjs.entry.js +1 -1
  81. package/dist/cjs/spw-tile.cjs.entry.js +1 -1
  82. package/dist/cjs/spw-timeline-item.cjs.entry.js +2 -2
  83. package/dist/cjs/spw-timeline.cjs.entry.js +2 -2
  84. package/dist/cjs/spw-toc.cjs.entry.js +1 -1
  85. package/dist/cjs/spw-topbar.cjs.entry.js +1 -1
  86. package/dist/cjs/spw-wizard-item.cjs.entry.js +1 -1
  87. package/dist/cjs/spw-wizard.cjs.entry.js +76 -2
  88. package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.css +16 -0
  89. package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.js +21 -1
  90. package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.css +3 -0
  91. package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.js +98 -3
  92. package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.css +14 -0
  93. package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.js +23 -1
  94. package/dist/collection/components/spw-accordion/spw-accordion.css +1 -0
  95. package/dist/collection/components/spw-accordion/spw-accordion.js +11 -7
  96. package/dist/collection/components/spw-avatar/spw-avatar.js +1 -1
  97. package/dist/collection/components/spw-block-content/spw-block-content.css +13 -0
  98. package/dist/collection/components/spw-block-content/spw-block-content.js +2 -1
  99. package/dist/collection/components/spw-box/spw-box.css +0 -4
  100. package/dist/collection/components/spw-box/spw-box.js +5 -7
  101. package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.js +1 -1
  102. package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.js +1 -1
  103. package/dist/collection/components/spw-button/spw-button.js +1 -1
  104. package/dist/collection/components/spw-card/spw-card-content/spw-card-content.js +1 -1
  105. package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.js +1 -1
  106. package/dist/collection/components/spw-card/spw-card-image/spw-card-image.js +1 -1
  107. package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.css +1 -0
  108. package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.js +4 -2
  109. package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.js +1 -1
  110. package/dist/collection/components/spw-card/spw-card-title/spw-card-title.js +1 -1
  111. package/dist/collection/components/spw-card/spw-card.js +1 -1
  112. package/dist/collection/components/spw-checkbox/spw-checkbox.css +2 -2
  113. package/dist/collection/components/spw-checkbox/spw-checkbox.js +5 -5
  114. package/dist/collection/components/spw-date-picker/spw-date-picker.js +1 -1
  115. package/dist/collection/components/spw-drawer/spw-drawer.js +3 -3
  116. package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.js +1 -1
  117. package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +1 -1
  118. package/dist/collection/components/spw-dropdown/spw-dropdown.js +1 -1
  119. package/dist/collection/components/spw-field-label/spw-field-label.js +1 -1
  120. package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
  121. package/dist/collection/components/spw-file-upload/spw-file-upload.js +2 -2
  122. package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.js +1 -1
  123. package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.js +1 -1
  124. package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +1 -1
  125. package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
  126. package/dist/collection/components/spw-footer/spw-footer.js +1 -1
  127. package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
  128. package/dist/collection/components/spw-grid/spw-grid.js +2 -2
  129. package/dist/collection/components/spw-group/spw-group.css +9 -0
  130. package/dist/collection/components/spw-group/spw-group.js +129 -1
  131. package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
  132. package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +1 -1
  133. package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
  134. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
  135. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
  136. package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
  137. package/dist/collection/components/spw-header/spw-header.js +80 -15
  138. package/dist/collection/components/spw-hero/spw-hero.js +3 -3
  139. package/dist/collection/components/spw-icon/spw-icon.js +1 -1
  140. package/dist/collection/components/spw-input-slider/spw-input-slider.js +1 -1
  141. package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.css +2 -2
  142. package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +15 -1
  143. package/dist/collection/components/spw-lightbox/spw-lightbox.css +11 -0
  144. package/dist/collection/components/spw-lightbox/spw-lightbox.js +134 -25
  145. package/dist/collection/components/spw-link/spw-link.js +1 -1
  146. package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
  147. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
  148. package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
  149. package/dist/collection/components/spw-list/spw-list.js +1 -1
  150. package/dist/collection/components/spw-loading/spw-loading.js +1 -1
  151. package/dist/collection/components/spw-modal/spw-modal.js +3 -3
  152. package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
  153. package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
  154. package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
  155. package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
  156. package/dist/collection/components/spw-search-field/spw-search-field.js +40 -2
  157. package/dist/collection/components/spw-separator/spw-separator.js +1 -1
  158. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
  159. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
  160. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
  161. package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
  162. package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.js +2 -2
  163. package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.css +6 -2
  164. package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +84 -4
  165. package/dist/collection/components/spw-sidenav/spw-sidenav.js +2 -2
  166. package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
  167. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
  168. package/dist/collection/components/spw-slider/spw-slider.js +1 -1
  169. package/dist/collection/components/spw-socials/spw-socials.js +1 -1
  170. package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
  171. package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
  172. package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
  173. package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
  174. package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
  175. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.css +4 -0
  176. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
  177. package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
  178. package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
  179. package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
  180. package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
  181. package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
  182. package/dist/collection/components/spw-tag/spw-tag.js +1 -1
  183. package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
  184. package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
  185. package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
  186. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
  187. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
  188. package/dist/collection/components/spw-tile/spw-tile.js +1 -1
  189. package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
  190. package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
  191. package/dist/collection/components/spw-toc/spw-toc.js +1 -1
  192. package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
  193. package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
  194. package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
  195. package/dist/collection/components/spw-wizard/spw-wizard.css +3 -0
  196. package/dist/collection/components/spw-wizard/spw-wizard.js +86 -1
  197. package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +99 -70
  198. package/dist/collection/stories/organisms/spw-accordion/spw-accordion.stories.js +159 -2
  199. package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +69 -0
  200. package/dist/collection/stories/organisms/spw-lightbox/spw-lightbox.stories.js +1 -160
  201. package/dist/collection/stories/organisms/spw-sidenav/spw-sidenav.stories.js +64 -0
  202. package/dist/collection/stories/organisms/spw-toc/spw-toc.stories.js +3 -3
  203. package/dist/collection/utils/utils.js +1 -1
  204. package/dist/components/{p-BCuU5Ywh.js → p-BTTY1Aoh.js} +1 -1
  205. package/dist/components/p-CZ233jUc.js +1 -0
  206. package/dist/components/p-CzRB_COv.js +1 -0
  207. package/dist/components/{p-D9JMaCxL.js → p-D7kEk_Bq.js} +1 -1
  208. package/dist/components/{p-DfbLlF27.js → p-D9yobKiX.js} +1 -1
  209. package/dist/components/{p-B68Myli4.js → p-DFkINEAb.js} +1 -1
  210. package/dist/components/{p-CdYKps3q.js → p-DNh7jzbV.js} +1 -1
  211. package/dist/components/p-DmD0U8OW.js +1 -0
  212. package/dist/components/p-DxQ74GK8.js +1 -0
  213. package/dist/components/{p-CMrHIi6V.js → p-EnUTqnRk.js} +1 -1
  214. package/dist/components/p-N9GtuZLt.js +1 -0
  215. package/dist/components/{p-BrrQs_CF.js → p-_nYzjIHU.js} +1 -1
  216. package/dist/components/{p-Cjd09L60.js → p-ijn7X7l6.js} +1 -1
  217. package/dist/components/{p-oohA0YBK.js → p-qWBjG9IQ.js} +1 -1
  218. package/dist/components/{p-VmfmCYD6.js → p-rooGoPru.js} +1 -1
  219. package/dist/{spw-stencil-library/p-ce07c9cd.entry.js → components/p-yXpAcpXR.js} +1 -1
  220. package/dist/components/spw-accordion-content.js +1 -1
  221. package/dist/components/spw-accordion-item.js +1 -1
  222. package/dist/components/spw-accordion-title.js +1 -1
  223. package/dist/components/spw-accordion.js +1 -1
  224. package/dist/components/spw-alert.js +1 -1
  225. package/dist/components/spw-avatar.js +1 -1
  226. package/dist/components/spw-block-content.js +1 -1
  227. package/dist/components/spw-box.js +1 -1
  228. package/dist/components/spw-breadcrumb-item.js +1 -1
  229. package/dist/components/spw-breadcrumb.js +1 -1
  230. package/dist/components/spw-button.js +1 -1
  231. package/dist/components/spw-card-content.js +1 -1
  232. package/dist/components/spw-card-excerpt.js +1 -1
  233. package/dist/components/spw-card-image.js +1 -1
  234. package/dist/components/spw-card-subtag-item.js +1 -1
  235. package/dist/components/spw-card-subtags.js +1 -1
  236. package/dist/components/spw-card-title.js +1 -1
  237. package/dist/components/spw-card.js +1 -1
  238. package/dist/components/spw-checkbox.js +1 -1
  239. package/dist/components/spw-cookies.js +1 -1
  240. package/dist/components/spw-custom-select.js +1 -1
  241. package/dist/components/spw-date-picker.js +1 -1
  242. package/dist/components/spw-drawer.js +1 -1
  243. package/dist/components/spw-dropdown-container.js +1 -1
  244. package/dist/components/spw-dropdown-item.js +1 -1
  245. package/dist/components/spw-dropdown.js +1 -1
  246. package/dist/components/spw-field-label.js +1 -1
  247. package/dist/components/spw-field-message.js +1 -1
  248. package/dist/components/spw-file-upload.js +1 -1
  249. package/dist/components/spw-footer-bottom.js +1 -1
  250. package/dist/components/spw-footer-content-col.js +1 -1
  251. package/dist/components/spw-footer-content.js +1 -1
  252. package/dist/components/spw-footer-link.js +1 -1
  253. package/dist/components/spw-footer.js +1 -1
  254. package/dist/components/spw-grid-item.js +1 -1
  255. package/dist/components/spw-grid.js +1 -1
  256. package/dist/components/spw-group.js +1 -1
  257. package/dist/components/spw-header-lang.js +1 -1
  258. package/dist/components/spw-header-navigation-dropdown.js +1 -1
  259. package/dist/components/spw-header-navigation-item.js +1 -1
  260. package/dist/components/spw-header-navigation.js +1 -1
  261. package/dist/components/spw-header-persona-item.js +1 -1
  262. package/dist/components/spw-header-persona.js +1 -1
  263. package/dist/components/spw-header.js +1 -1
  264. package/dist/components/spw-hero.js +1 -1
  265. package/dist/components/spw-icon.js +1 -1
  266. package/dist/components/spw-input-slider.js +1 -1
  267. package/dist/components/spw-lightbox-item.js +1 -1
  268. package/dist/components/spw-lightbox.js +1 -1
  269. package/dist/components/spw-link.js +1 -1
  270. package/dist/components/spw-list-description.js +1 -1
  271. package/dist/components/spw-list-item.js +1 -1
  272. package/dist/components/spw-list-title.js +1 -1
  273. package/dist/components/spw-list.js +1 -1
  274. package/dist/components/spw-loading.js +1 -1
  275. package/dist/components/spw-message.js +1 -1
  276. package/dist/components/spw-modal.js +1 -1
  277. package/dist/components/spw-mosaic-item.js +1 -1
  278. package/dist/components/spw-mosaic.js +4 -4
  279. package/dist/components/spw-pagination.js +1 -1
  280. package/dist/components/spw-scrolltop.js +1 -1
  281. package/dist/components/spw-search-field.js +1 -1
  282. package/dist/components/spw-select.js +1 -1
  283. package/dist/components/spw-separator.js +1 -1
  284. package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
  285. package/dist/components/spw-sidebar-navigation-item.js +1 -1
  286. package/dist/components/spw-sidebar-navigation-separator.js +1 -1
  287. package/dist/components/spw-sidebar.js +1 -1
  288. package/dist/components/spw-sidenav-group.js +1 -1
  289. package/dist/components/spw-sidenav-item.js +1 -1
  290. package/dist/components/spw-sidenav.js +1 -1
  291. package/dist/components/spw-skeleton.js +1 -1
  292. package/dist/components/spw-slider-item.js +1 -1
  293. package/dist/components/spw-slider.js +1 -1
  294. package/dist/components/spw-socials.js +1 -1
  295. package/dist/components/spw-table-body.js +1 -1
  296. package/dist/components/spw-table-cell.js +1 -1
  297. package/dist/components/spw-table-container.js +1 -1
  298. package/dist/components/spw-table-footer.js +1 -1
  299. package/dist/components/spw-table-head.js +1 -1
  300. package/dist/components/spw-table-header.js +1 -1
  301. package/dist/components/spw-table-row.js +1 -1
  302. package/dist/components/spw-table-sidebar.js +1 -1
  303. package/dist/components/spw-tabs-navigation-item.js +1 -1
  304. package/dist/components/spw-tabs-navigation.js +1 -1
  305. package/dist/components/spw-tabs.js +1 -1
  306. package/dist/components/spw-tag.js +1 -1
  307. package/dist/components/spw-text-field.js +1 -1
  308. package/dist/components/spw-textarea.js +1 -1
  309. package/dist/components/spw-theme-provider.js +1 -1
  310. package/dist/components/spw-tile-description.js +1 -1
  311. package/dist/components/spw-tile-title.js +1 -1
  312. package/dist/components/spw-tile.js +1 -1
  313. package/dist/components/spw-timeline-item.js +1 -1
  314. package/dist/components/spw-timeline.js +1 -1
  315. package/dist/components/spw-toast-controller.js +1 -1
  316. package/dist/components/spw-toast.js +1 -1
  317. package/dist/components/spw-toc-container.js +1 -1
  318. package/dist/components/spw-toc.js +1 -1
  319. package/dist/components/spw-tooltip.js +1 -1
  320. package/dist/components/spw-topbar.js +1 -1
  321. package/dist/components/spw-wizard-item.js +1 -1
  322. package/dist/components/spw-wizard.js +1 -1
  323. package/dist/components_json.json +446 -29
  324. package/dist/components_vscode.json +75 -4
  325. package/dist/esm/loader.js +1 -1
  326. package/dist/esm/spw-accordion_4.entry.js +137 -16
  327. package/dist/esm/spw-avatar.entry.js +1 -1
  328. package/dist/esm/spw-block-content.entry.js +3 -2
  329. package/dist/esm/spw-box.entry.js +5 -6
  330. package/dist/esm/spw-breadcrumb-item.entry.js +1 -1
  331. package/dist/esm/spw-breadcrumb.entry.js +1 -1
  332. package/dist/esm/spw-button_2.entry.js +2 -2
  333. package/dist/esm/spw-card-content.entry.js +1 -1
  334. package/dist/esm/spw-card-excerpt.entry.js +1 -1
  335. package/dist/esm/spw-card-image.entry.js +1 -1
  336. package/dist/esm/spw-card-subtag-item.entry.js +5 -3
  337. package/dist/esm/spw-card-subtags.entry.js +1 -1
  338. package/dist/esm/spw-card-title.entry.js +1 -1
  339. package/dist/esm/spw-card.entry.js +1 -1
  340. package/dist/esm/spw-checkbox.entry.js +6 -6
  341. package/dist/esm/spw-date-picker.entry.js +1 -1
  342. package/dist/esm/spw-drawer.entry.js +3 -3
  343. package/dist/esm/spw-dropdown-container.entry.js +1 -1
  344. package/dist/esm/spw-dropdown-item.entry.js +1 -1
  345. package/dist/esm/spw-dropdown.entry.js +1 -1
  346. package/dist/esm/spw-field-label_8.entry.js +51 -9
  347. package/dist/esm/spw-file-upload.entry.js +2 -2
  348. package/dist/esm/spw-footer-bottom.entry.js +1 -1
  349. package/dist/esm/spw-footer-content-col.entry.js +1 -1
  350. package/dist/esm/spw-footer-content.entry.js +1 -1
  351. package/dist/esm/spw-footer-link.entry.js +1 -1
  352. package/dist/esm/spw-footer.entry.js +1 -1
  353. package/dist/esm/spw-grid-item.entry.js +2 -2
  354. package/dist/esm/spw-grid.entry.js +2 -2
  355. package/dist/esm/spw-header-lang.entry.js +1 -1
  356. package/dist/esm/spw-header-navigation-dropdown.entry.js +1 -1
  357. package/dist/esm/spw-header-navigation-item.entry.js +1 -1
  358. package/dist/esm/spw-header-navigation.entry.js +1 -1
  359. package/dist/esm/spw-header-persona-item.entry.js +1 -1
  360. package/dist/esm/spw-header-persona.entry.js +1 -1
  361. package/dist/esm/spw-header.entry.js +63 -15
  362. package/dist/esm/spw-hero.entry.js +3 -3
  363. package/dist/esm/spw-input-slider.entry.js +1 -1
  364. package/dist/esm/spw-lightbox-item.entry.js +11 -2
  365. package/dist/esm/spw-lightbox.entry.js +53 -5
  366. package/dist/esm/spw-list-description.entry.js +1 -1
  367. package/dist/esm/spw-list-item.entry.js +1 -1
  368. package/dist/esm/spw-list-title.entry.js +1 -1
  369. package/dist/esm/spw-list.entry.js +1 -1
  370. package/dist/esm/spw-modal.entry.js +3 -3
  371. package/dist/esm/spw-mosaic-item.entry.js +1 -1
  372. package/dist/esm/spw-mosaic.entry.js +1 -1
  373. package/dist/esm/spw-pagination.entry.js +6 -6
  374. package/dist/esm/spw-scrolltop.entry.js +1 -1
  375. package/dist/esm/spw-search-field.entry.js +20 -2
  376. package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +1 -1
  377. package/dist/esm/spw-sidebar-navigation-item.entry.js +3 -3
  378. package/dist/esm/spw-sidebar-navigation-separator.entry.js +1 -1
  379. package/dist/esm/spw-sidebar.entry.js +1 -1
  380. package/dist/esm/spw-sidenav-group.entry.js +2 -2
  381. package/dist/esm/spw-sidenav-item.entry.js +8 -5
  382. package/dist/esm/spw-sidenav.entry.js +2 -2
  383. package/dist/esm/spw-skeleton.entry.js +1 -1
  384. package/dist/esm/spw-slider-item.entry.js +1 -1
  385. package/dist/esm/spw-slider.entry.js +1 -1
  386. package/dist/esm/spw-socials.entry.js +1 -1
  387. package/dist/esm/spw-stencil-library.js +1 -1
  388. package/dist/esm/spw-table-body.entry.js +1 -1
  389. package/dist/esm/spw-table-cell.entry.js +1 -1
  390. package/dist/esm/spw-table-container.entry.js +1 -1
  391. package/dist/esm/spw-table-footer.entry.js +1 -1
  392. package/dist/esm/spw-table-head.entry.js +1 -1
  393. package/dist/esm/spw-table-header.entry.js +3 -3
  394. package/dist/esm/spw-table-row.entry.js +1 -1
  395. package/dist/esm/spw-table-sidebar.entry.js +1 -1
  396. package/dist/esm/spw-tabs-navigation-item.entry.js +1 -1
  397. package/dist/esm/spw-tabs-navigation.entry.js +1 -1
  398. package/dist/esm/spw-tabs.entry.js +1 -1
  399. package/dist/esm/spw-tag.entry.js +1 -1
  400. package/dist/esm/spw-text-field.entry.js +1 -1
  401. package/dist/esm/spw-textarea.entry.js +1 -1
  402. package/dist/esm/spw-tile-description.entry.js +1 -1
  403. package/dist/esm/spw-tile-title.entry.js +1 -1
  404. package/dist/esm/spw-tile.entry.js +1 -1
  405. package/dist/esm/spw-timeline-item.entry.js +2 -2
  406. package/dist/esm/spw-timeline.entry.js +2 -2
  407. package/dist/esm/spw-toc.entry.js +1 -1
  408. package/dist/esm/spw-topbar.entry.js +1 -1
  409. package/dist/esm/spw-wizard-item.entry.js +1 -1
  410. package/dist/esm/spw-wizard.entry.js +76 -2
  411. package/dist/spw-stencil-library/{p-10f42f45.entry.js → p-00eb3fc6.entry.js} +1 -1
  412. package/dist/spw-stencil-library/{p-7e704f32.entry.js → p-030f69b3.entry.js} +1 -1
  413. package/dist/spw-stencil-library/{p-a89eaabb.entry.js → p-074c9eb4.entry.js} +1 -1
  414. package/dist/spw-stencil-library/{p-1dc8918c.entry.js → p-0db31b24.entry.js} +1 -1
  415. package/dist/spw-stencil-library/p-0dba5faf.entry.js +1 -0
  416. package/dist/spw-stencil-library/{p-455036fe.entry.js → p-105b9fc6.entry.js} +1 -1
  417. package/dist/spw-stencil-library/p-12052c7f.entry.js +1 -0
  418. package/dist/spw-stencil-library/{p-b835ebc5.entry.js → p-13b5e2e9.entry.js} +1 -1
  419. package/dist/spw-stencil-library/{p-2417cbbb.entry.js → p-13d1d1a1.entry.js} +1 -1
  420. package/dist/spw-stencil-library/{p-4774338c.entry.js → p-1428b28a.entry.js} +1 -1
  421. package/dist/spw-stencil-library/{p-1bdf3e61.entry.js → p-15cc6506.entry.js} +1 -1
  422. package/dist/spw-stencil-library/p-16a60b1b.entry.js +1 -0
  423. package/dist/spw-stencil-library/{p-50588fc5.entry.js → p-1c021756.entry.js} +1 -1
  424. package/dist/spw-stencil-library/{p-6e52eb6a.entry.js → p-1f91c68f.entry.js} +1 -1
  425. package/dist/spw-stencil-library/{p-e8f6b76c.entry.js → p-1fe079d1.entry.js} +1 -1
  426. package/dist/spw-stencil-library/{p-6cc0b5f5.entry.js → p-27769aed.entry.js} +1 -1
  427. package/dist/spw-stencil-library/{p-a8bd7ac4.entry.js → p-2b9ffd95.entry.js} +1 -1
  428. package/dist/spw-stencil-library/{p-95062710.entry.js → p-31830ac7.entry.js} +1 -1
  429. package/dist/spw-stencil-library/{p-2b1e084f.entry.js → p-32587b59.entry.js} +1 -1
  430. package/dist/spw-stencil-library/p-348f1398.entry.js +1 -0
  431. package/dist/spw-stencil-library/{p-a6ffe0b7.entry.js → p-36ef809d.entry.js} +1 -1
  432. package/dist/spw-stencil-library/{p-3ad5c457.entry.js → p-37894ae0.entry.js} +1 -1
  433. package/dist/spw-stencil-library/{p-e2898a5f.entry.js → p-3e0a3cbd.entry.js} +2 -2
  434. package/dist/spw-stencil-library/p-40f40ab3.entry.js +1 -0
  435. package/dist/spw-stencil-library/{p-bfde8a3a.entry.js → p-4667f645.entry.js} +1 -1
  436. package/dist/spw-stencil-library/{p-fb604e35.entry.js → p-4fa02be3.entry.js} +1 -1
  437. package/dist/spw-stencil-library/{p-90100e0c.entry.js → p-514d03e9.entry.js} +1 -1
  438. package/dist/spw-stencil-library/{p-70947adf.entry.js → p-54a965f4.entry.js} +1 -1
  439. package/dist/spw-stencil-library/{p-698c0030.entry.js → p-5f4a8aaf.entry.js} +1 -1
  440. package/dist/spw-stencil-library/{p-9ee7a00a.entry.js → p-605e3722.entry.js} +1 -1
  441. package/dist/spw-stencil-library/{p-932bee0e.entry.js → p-68674b0f.entry.js} +1 -1
  442. package/dist/spw-stencil-library/{p-b6678091.entry.js → p-68883d0b.entry.js} +1 -1
  443. package/dist/spw-stencil-library/{p-f2714773.entry.js → p-6c85ba9a.entry.js} +1 -1
  444. package/dist/spw-stencil-library/{p-39643956.entry.js → p-6db83ee1.entry.js} +1 -1
  445. package/dist/spw-stencil-library/p-7168b693.entry.js +1 -0
  446. package/dist/spw-stencil-library/{p-1e4878b8.entry.js → p-7a927b3d.entry.js} +1 -1
  447. package/dist/spw-stencil-library/{p-4b0db9bd.entry.js → p-7fb7c421.entry.js} +1 -1
  448. package/dist/spw-stencil-library/{p-8f1513ad.entry.js → p-816980dc.entry.js} +1 -1
  449. package/dist/spw-stencil-library/p-85660075.entry.js +1 -0
  450. package/dist/spw-stencil-library/{p-dad0c8fa.entry.js → p-89e7e9ed.entry.js} +1 -1
  451. package/dist/spw-stencil-library/{p-0696997f.entry.js → p-8ce39569.entry.js} +1 -1
  452. package/dist/spw-stencil-library/{p-2cbb997d.entry.js → p-911379c9.entry.js} +1 -1
  453. package/dist/spw-stencil-library/p-91f21a93.entry.js +1 -0
  454. package/dist/spw-stencil-library/{p-bda30c93.entry.js → p-9900c3e8.entry.js} +1 -1
  455. package/dist/spw-stencil-library/{p-5e8a5a23.entry.js → p-9a0ccce8.entry.js} +1 -1
  456. package/dist/spw-stencil-library/{p-4a06e37f.entry.js → p-9ac75aa3.entry.js} +1 -1
  457. package/dist/spw-stencil-library/{p-fabba2d4.entry.js → p-a0027de0.entry.js} +1 -1
  458. package/dist/spw-stencil-library/{p-a7b71644.entry.js → p-a28732e3.entry.js} +1 -1
  459. package/dist/spw-stencil-library/{p-3f1f7fbb.entry.js → p-a292c806.entry.js} +1 -1
  460. package/dist/spw-stencil-library/p-a527d245.entry.js +1 -0
  461. package/dist/spw-stencil-library/{p-ddc867bd.entry.js → p-ab310621.entry.js} +1 -1
  462. package/dist/spw-stencil-library/{p-6c9bc0df.entry.js → p-ab7d74f0.entry.js} +1 -1
  463. package/dist/spw-stencil-library/{p-e1926d22.entry.js → p-b0b2f9ce.entry.js} +1 -1
  464. package/dist/spw-stencil-library/{p-9964d952.entry.js → p-b32a76cf.entry.js} +1 -1
  465. package/dist/spw-stencil-library/{p-0c33cd7d.entry.js → p-b45175b2.entry.js} +1 -1
  466. package/dist/spw-stencil-library/p-b5716911.entry.js +1 -0
  467. package/dist/spw-stencil-library/p-b969ceba.entry.js +1 -0
  468. package/dist/spw-stencil-library/{p-c374d0ff.entry.js → p-c0fb3674.entry.js} +1 -1
  469. package/dist/spw-stencil-library/{p-9f6d4141.entry.js → p-c5dbb538.entry.js} +1 -1
  470. package/dist/spw-stencil-library/{p-0e4056ba.entry.js → p-c93bf39b.entry.js} +1 -1
  471. package/dist/spw-stencil-library/{p-fc1e3eb6.entry.js → p-ca38f08f.entry.js} +1 -1
  472. package/dist/spw-stencil-library/{p-f1b2d02e.entry.js → p-ca439c3b.entry.js} +1 -1
  473. package/dist/spw-stencil-library/p-cadcb419.entry.js +1 -0
  474. package/dist/spw-stencil-library/{p-f98ff9fd.entry.js → p-cd7eef16.entry.js} +1 -1
  475. package/dist/spw-stencil-library/{p-b28c7677.entry.js → p-ce583729.entry.js} +1 -1
  476. package/dist/spw-stencil-library/{p-bdcd9e24.entry.js → p-d3e4ff9e.entry.js} +1 -1
  477. package/dist/spw-stencil-library/{p-0647a776.entry.js → p-d87aaef9.entry.js} +1 -1
  478. package/dist/spw-stencil-library/{p-eb0c9f5d.entry.js → p-df0a11b9.entry.js} +1 -1
  479. package/dist/spw-stencil-library/{p-3777bccc.entry.js → p-e1b3f417.entry.js} +1 -1
  480. package/dist/spw-stencil-library/{p-1da399ed.entry.js → p-e6beadc2.entry.js} +1 -1
  481. package/dist/spw-stencil-library/{p-361f6350.entry.js → p-ea11c40b.entry.js} +1 -1
  482. package/dist/spw-stencil-library/p-ecc49c2e.entry.js +1 -0
  483. package/dist/spw-stencil-library/{p-57cd2788.entry.js → p-ed4747f2.entry.js} +1 -1
  484. package/dist/spw-stencil-library/{p-243061e9.entry.js → p-ed53f129.entry.js} +1 -1
  485. package/dist/spw-stencil-library/{p-5a697628.entry.js → p-ee625904.entry.js} +1 -1
  486. package/dist/spw-stencil-library/{p-adbcce82.entry.js → p-f11412df.entry.js} +1 -1
  487. package/dist/spw-stencil-library/{p-3ad6d6f0.entry.js → p-f214f8e4.entry.js} +1 -1
  488. package/dist/spw-stencil-library/{p-af9ea059.entry.js → p-f4046756.entry.js} +1 -1
  489. package/dist/spw-stencil-library/{p-3f83cca0.entry.js → p-f9e5eaf8.entry.js} +1 -1
  490. package/dist/spw-stencil-library/p-f9f9c695.entry.js +1 -0
  491. package/dist/spw-stencil-library/{p-00bbd54f.entry.js → p-fc10235a.entry.js} +1 -1
  492. package/dist/spw-stencil-library/{p-39add31f.entry.js → p-fc1ccbf0.entry.js} +1 -1
  493. package/dist/spw-stencil-library/{p-93d33de7.entry.js → p-fe41767f.entry.js} +1 -1
  494. package/dist/spw-stencil-library/{p-89931481.entry.js → p-ffa41886.entry.js} +1 -1
  495. package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
  496. package/dist/stats.json +1334 -495
  497. package/dist/types/components/spw-accordion/spw-accordion-content/spw-accordion-content.d.ts +3 -0
  498. package/dist/types/components/spw-accordion/spw-accordion-item/spw-accordion-item.d.ts +13 -0
  499. package/dist/types/components/spw-accordion/spw-accordion-title/spw-accordion-title.d.ts +2 -0
  500. package/dist/types/components/spw-accordion/spw-accordion.d.ts +1 -1
  501. package/dist/types/components/spw-box/spw-box.d.ts +0 -1
  502. package/dist/types/components/spw-group/spw-group.d.ts +18 -0
  503. package/dist/types/components/spw-header/spw-header.d.ts +12 -0
  504. package/dist/types/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.d.ts +4 -0
  505. package/dist/types/components/spw-lightbox/spw-lightbox.d.ts +13 -2
  506. package/dist/types/components/spw-search-field/spw-search-field.d.ts +4 -0
  507. package/dist/types/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.d.ts +8 -0
  508. package/dist/types/components/spw-wizard/spw-wizard.d.ts +22 -0
  509. package/dist/types/components.d.ts +152 -11
  510. package/dist/types/stories/organisms/spw-accordion/spw-accordion.stories.d.ts +1 -0
  511. package/dist/types/stories/organisms/spw-group/spw-group.stories.d.ts +2 -0
  512. package/dist/types/stories/organisms/spw-sidenav/spw-sidenav.stories.d.ts +2 -1
  513. package/hydrate/index.js +564 -175
  514. package/hydrate/index.mjs +564 -175
  515. package/package.json +1 -1
  516. package/dist/components/p-C2YutT5r.js +0 -1
  517. package/dist/components/p-CZa7267G.js +0 -1
  518. package/dist/components/p-Ci0r8I9g.js +0 -1
  519. package/dist/components/p-CqWtzvF4.js +0 -1
  520. package/dist/components/p-DVxJ3wRZ.js +0 -1
  521. package/dist/components/p-DaUZrpCq.js +0 -1
  522. package/dist/spw-stencil-library/p-0a0b5695.entry.js +0 -1
  523. package/dist/spw-stencil-library/p-235a9a01.entry.js +0 -1
  524. package/dist/spw-stencil-library/p-55f21ebb.entry.js +0 -1
  525. package/dist/spw-stencil-library/p-655a0920.entry.js +0 -1
  526. package/dist/spw-stencil-library/p-7f04e78e.entry.js +0 -1
  527. package/dist/spw-stencil-library/p-acd17168.entry.js +0 -1
  528. package/dist/spw-stencil-library/p-ade0b4ca.entry.js +0 -1
  529. package/dist/spw-stencil-library/p-bde71818.entry.js +0 -1
  530. package/dist/spw-stencil-library/p-c36db9e3.entry.js +0 -1
  531. package/dist/spw-stencil-library/p-c7480955.entry.js +0 -1
  532. package/dist/spw-stencil-library/p-e286f138.entry.js +0 -1
  533. package/dist/spw-stencil-library/p-e7e8a60a.entry.js +0 -1
  534. package/dist/spw-stencil-library/p-f473aba1.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, a as getElement, c as createEvent } from './index-mthi2pFj.js';
2
2
 
3
- const spwAccordionCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;position:relative}.spw-accordion--box{border:1px solid var(--spw-color-themes-grey-grey-300);border-radius:6px}`;
3
+ const spwAccordionCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;position:relative;width:100%}.spw-accordion--box{border:1px solid var(--spw-color-themes-grey-grey-300);border-radius:6px}`;
4
4
 
5
5
  const SpwAccordion = class {
6
6
  constructor(hostRef) {
@@ -13,7 +13,7 @@ const SpwAccordion = class {
13
13
  componentDidLoad() {
14
14
  this.applyBackgroundToChildren();
15
15
  this.applyVariantToChildren();
16
- this.markFirstChild();
16
+ this.markEdgeChildren();
17
17
  }
18
18
  backgroundChanged() {
19
19
  this.applyBackgroundToChildren();
@@ -38,14 +38,18 @@ const SpwAccordion = class {
38
38
  item.variant = this.variant;
39
39
  });
40
40
  }
41
- markFirstChild() {
42
- const firstItem = this.el.querySelector('spw-accordion-item');
43
- if (firstItem) {
44
- firstItem.classList.add('spw-accordion-item--first');
45
- }
41
+ markEdgeChildren() {
42
+ var _a, _b;
43
+ const items = Array.from(this.el.querySelectorAll(':scope > spw-accordion-item'));
44
+ const siblingAccordions = Array.from((_b = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.children) !== null && _b !== void 0 ? _b : []).filter(el => el.tagName === 'SPW-ACCORDION');
45
+ const isLastSiblingAccordion = siblingAccordions[siblingAccordions.length - 1] === this.el;
46
+ items.forEach((item, index) => {
47
+ item.classList.toggle('spw-accordion-item--first', index === 0);
48
+ item.classList.toggle('spw-accordion-item--last', index === items.length - 1 && isLastSiblingAccordion);
49
+ });
46
50
  }
47
51
  render() {
48
- return (h(Host, { key: 'a6c5d7ef1156cf75556fbcc254fc86b0bdb32c1a' }, h("div", { key: 'ab029509bf68f1957011341e1dc30c9d53fc10b9', class: `spw-accordion spw-accordion--${this.variant}` }, h("slot", { key: 'e2008a8330af238101b0d7c9ffd915f9e0feaecb' }))));
52
+ return (h(Host, { key: '805d62a7d88d3f0dfc374154220ebf4f45d4bb48' }, h("div", { key: 'e5770457ce3924b537f00ebb02ecea7941d9e733', class: `spw-accordion spw-accordion--${this.variant}` }, h("slot", { key: '786ac45b99e2702eb2256cf7c49f8a266be6b735', onSlotchange: () => this.markEdgeChildren() }))));
49
53
  }
50
54
  get el() { return getElement(this); }
51
55
  static get watchers() { return {
@@ -59,7 +63,7 @@ const SpwAccordion = class {
59
63
  };
60
64
  SpwAccordion.style = spwAccordionCss();
61
65
 
62
- const spwAccordionContentCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.spw-accordion-content{line-height:1.5;font-weight:400;overflow:hidden;color:var(--spw-color-themes-grey-grey-800);transition:all 0.25s ease-in}:host(.--collapsed) .spw-accordion-content{max-height:0 !important}.spw-accordion-content--is-opened{max-height:100% !important}.spw-accordion-content__inner{padding:0;margin-bottom:var(--spw-spacings-spacing-lg)}`;
66
+ const spwAccordionContentCss = () => `@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{--spw-accordion-nested-indent:var(--spw-spacings-spacing-xl)}::slotted(spw-accordion){box-sizing:border-box;padding-left:var(--spw-accordion-nested-indent)}::slotted(spw-checkbox){display:flex;margin-bottom:var(--spw-spacings-spacing-sm)}.spw-accordion-content{line-height:1.5;font-weight:400;overflow:hidden;color:var(--spw-color-themes-grey-grey-800);transition:all 0.25s ease-in}:host(.--collapsed) .spw-accordion-content{max-height:0 !important}.spw-accordion-content--is-opened{max-height:100% !important}.spw-accordion-content__inner{padding:0;margin-bottom:var(--spw-spacings-spacing-lg)}`;
63
67
 
64
68
  const SpwAccordionContent = class {
65
69
  constructor(hostRef) {
@@ -71,8 +75,15 @@ const SpwAccordionContent = class {
71
75
  this.updateHeight();
72
76
  window.addEventListener('resize', this.handleResize.bind(this));
73
77
  this.contentElement.addEventListener('transitionend', this.handleTransitionEnd.bind(this));
78
+ this.innerResizeObserver = new ResizeObserver(() => {
79
+ if (this.isOpened)
80
+ this.updateHeight();
81
+ });
82
+ this.innerResizeObserver.observe(this.innerElement);
74
83
  }
75
84
  disconnectedCallback() {
85
+ var _a;
86
+ (_a = this.innerResizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
76
87
  window.removeEventListener('resize', this.handleResize.bind(this));
77
88
  this.contentElement.removeEventListener('transitionend', this.handleTransitionEnd.bind(this));
78
89
  }
@@ -106,6 +117,7 @@ const SpwAccordionContent = class {
106
117
  else {
107
118
  this.contentElement.classList.remove('spw-accordion-content--is-opened');
108
119
  }
120
+ this.updateAncestorsHeight();
109
121
  }
110
122
  }
111
123
  updateHeight() {
@@ -118,16 +130,28 @@ const SpwAccordionContent = class {
118
130
  else {
119
131
  content.style.maxHeight = '0px';
120
132
  }
133
+ this.updateAncestorsHeight();
121
134
  });
122
135
  }
136
+ updateAncestorsHeight() {
137
+ var _a, _b, _c;
138
+ let parent = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.closest('spw-accordion-content');
139
+ while (parent) {
140
+ const el = (_b = parent.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.spw-accordion-content');
141
+ if (el && el.style.maxHeight && el.style.maxHeight !== '0px') {
142
+ el.style.maxHeight = `${el.scrollHeight}px`;
143
+ }
144
+ parent = (_c = parent.parentElement) === null || _c === void 0 ? void 0 : _c.closest('spw-accordion-content');
145
+ }
146
+ }
123
147
  render() {
124
- return (h("div", { key: 'b372cc0a27e1ff25e0e9dde30f0a4e4cdc48601a', class: "spw-accordion-content", ref: el => (this.contentElement = el), "data-accordion-id": this.el.getAttribute('data-accordion-id') }, h("div", { key: '79e9cd2d38ba392dc248c9ea991753f6c897d654', class: "spw-accordion-content__inner" }, h("slot", { key: '99e8bda5b6e72ef32c355b02fd33b7fd68ff6b44', onSlotchange: () => this.updateHeight() }))));
148
+ return (h("div", { key: '7f7a56d93701ea3567304d82ffc9766dfab9fbb6', class: "spw-accordion-content", ref: el => (this.contentElement = el), "data-accordion-id": this.el.getAttribute('data-accordion-id') }, h("div", { key: '28473c2af5e1acdd3387329ee5eea71e9d24dd0e', class: "spw-accordion-content__inner", ref: el => (this.innerElement = el) }, h("slot", { key: '8de52e34ff41c59ee5b53bb0a5956e26a2695891', onSlotchange: () => this.updateHeight() }))));
125
149
  }
126
150
  get el() { return getElement(this); }
127
151
  };
128
152
  SpwAccordionContent.style = spwAccordionContentCss();
129
153
 
130
- const spwAccordionItemCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}:host(.spw-accordion-item--separated){margin-bottom:6px}.spw-accordion-item{position:relative}.spw-accordion-item__content{position:relative;border-bottom:1px solid var(--spw-color-themes-grey-grey-300)}:host(.spw-accordion-item--separated) .spw-accordion-item__content{border:1px solid var(--spw-color-themes-grey-grey-300);border-radius:6px;padding:0 12px}:host(.spw-accordion-item--box) .spw-accordion-item__content{border-top:1px solid var(--spw-color-themes-grey-grey-300);border-bottom:0;border-radius:0;padding:8px 24px}:host(.spw-accordion-item--box.spw-accordion-item--first) .spw-accordion-item__content{border-top:none}.spw-accordion-item__trigger{display:block;text-decoration:none;position:sticky;top:0;background:var(--spw-accordion-item-background);z-index:10}:host(.spw-accordion-item--separated) .spw-accordion-item__trigger{border-radius:6px}@media (min-width: 768px){.spw-accordion-item__trigger{position:relative}}.spw-accordion-item__trigger:focus-visible{outline:2px solid white;outline-offset:-3px;box-shadow:0 0 0 2px black}`;
154
+ const spwAccordionItemCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}:host(.spw-accordion-item--separated){margin-bottom:6px}.spw-accordion-item{position:relative}.spw-accordion-item__content{position:relative;border-bottom:1px solid var(--spw-color-themes-grey-grey-300)}:host(.spw-accordion-item--default.spw-accordion-item--last) .spw-accordion-item__content{border-bottom:0}:host(.spw-accordion-item--separated) .spw-accordion-item__content{border:1px solid var(--spw-color-themes-grey-grey-300);border-radius:6px;padding:0 12px}:host(.spw-accordion-item--box) .spw-accordion-item__content{border-top:1px solid var(--spw-color-themes-grey-grey-300);border-bottom:0;border-radius:0;padding:8px 24px}:host(.spw-accordion-item--box.spw-accordion-item--first) .spw-accordion-item__content{border-top:none}.spw-accordion-item__trigger{display:block;text-decoration:none;position:sticky;top:0;background:var(--spw-accordion-item-background);z-index:10}:host(.spw-accordion-item--separated) .spw-accordion-item__trigger{border-radius:6px}@media (min-width: 768px){.spw-accordion-item__trigger{position:relative}}.spw-accordion-item__trigger:focus-visible{outline:2px solid white;outline-offset:-3px;box-shadow:0 0 0 2px black}`;
131
155
 
132
156
  const SpwAccordionItem = class {
133
157
  constructor(hostRef) {
@@ -139,6 +163,16 @@ const SpwAccordionItem = class {
139
163
  this.defaultOpen = false;
140
164
  /** Variant de l'accordion-item (propagé par le parent) */
141
165
  this.variant = 'default';
166
+ this.handleCheckboxChange = (event) => {
167
+ var _a;
168
+ const target = event.target;
169
+ if (target === this.masterCheckbox) {
170
+ this.cascadeFromMaster(event.detail);
171
+ }
172
+ else if ((_a = this.contentElement) === null || _a === void 0 ? void 0 : _a.contains(target)) {
173
+ this.syncMasterFromChildren();
174
+ }
175
+ };
142
176
  }
143
177
  componentWillLoad() {
144
178
  this.isOpen = this.defaultOpen;
@@ -152,9 +186,89 @@ const SpwAccordionItem = class {
152
186
  this.accordionToggle.emit({ isOpen: this.isOpen, id: itemId });
153
187
  this.updateFocusableElements();
154
188
  }
189
+ this.setupCheckboxCascade();
155
190
  }
156
191
  disconnectedCallback() {
192
+ var _a;
157
193
  this.teardownResizeListener();
194
+ this.el.removeEventListener('spwChange', this.handleCheckboxChange);
195
+ (_a = this.checkboxObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
196
+ }
197
+ get masterCheckbox() {
198
+ return this.el.querySelector(':scope > spw-accordion-title > spw-checkbox[slot="before"]');
199
+ }
200
+ get contentElement() {
201
+ return this.el.querySelector(':scope > spw-accordion-content');
202
+ }
203
+ isCheckboxChecked(checkbox) {
204
+ const attr = checkbox.getAttribute('checked');
205
+ return checkbox.checked === true || attr === '' || attr === 'true';
206
+ }
207
+ isCheckboxDisabled(checkbox) {
208
+ const attr = checkbox.getAttribute('disabled');
209
+ return checkbox.disabled === true || attr === '' || attr === 'true';
210
+ }
211
+ setCheckboxState(checkbox, checked, icon = 'fa-check') {
212
+ if (checkbox.checked !== checked)
213
+ checkbox.checked = checked;
214
+ if (checkbox.getAttribute('checked') !== String(checked))
215
+ checkbox.setAttribute('checked', String(checked));
216
+ if (checkbox.getAttribute('icon') !== icon)
217
+ checkbox.setAttribute('icon', icon);
218
+ }
219
+ getContentCheckboxes() {
220
+ const content = this.contentElement;
221
+ if (!content)
222
+ return [];
223
+ return Array.from(content.querySelectorAll('spw-checkbox')).filter(checkbox => !this.isCheckboxDisabled(checkbox));
224
+ }
225
+ getLeafCheckboxes() {
226
+ const checkboxes = this.getContentCheckboxes();
227
+ const leaves = checkboxes.filter(checkbox => checkbox.getAttribute('slot') !== 'before');
228
+ return leaves.length ? leaves : checkboxes;
229
+ }
230
+ setupCheckboxCascade() {
231
+ const master = this.masterCheckbox;
232
+ const content = this.contentElement;
233
+ if (!master || !content)
234
+ return;
235
+ if (this.isCheckboxChecked(master) && master.getAttribute('icon') !== 'fa-minus') {
236
+ this.cascadeFromMaster(true);
237
+ }
238
+ else {
239
+ this.syncMasterFromChildren();
240
+ }
241
+ this.el.addEventListener('spwChange', this.handleCheckboxChange);
242
+ this.checkboxObserver = new MutationObserver(() => this.syncMasterFromChildren());
243
+ this.checkboxObserver.observe(content, {
244
+ subtree: true,
245
+ childList: true,
246
+ attributes: true,
247
+ attributeFilter: ['checked', 'disabled'],
248
+ });
249
+ }
250
+ cascadeFromMaster(checked) {
251
+ const master = this.masterCheckbox;
252
+ if (!master)
253
+ return;
254
+ this.getContentCheckboxes().forEach(checkbox => this.setCheckboxState(checkbox, checked));
255
+ this.setCheckboxState(master, checked);
256
+ }
257
+ syncMasterFromChildren() {
258
+ const master = this.masterCheckbox;
259
+ const leaves = this.getLeafCheckboxes();
260
+ if (!master || leaves.length === 0)
261
+ return;
262
+ const checkedCount = leaves.filter(checkbox => this.isCheckboxChecked(checkbox)).length;
263
+ if (checkedCount === leaves.length) {
264
+ this.setCheckboxState(master, true);
265
+ }
266
+ else if (checkedCount === 0) {
267
+ this.setCheckboxState(master, false);
268
+ }
269
+ else {
270
+ this.setCheckboxState(master, true, 'fa-minus');
271
+ }
158
272
  }
159
273
  defaultOpenChanged(newValue) {
160
274
  this.isOpen = newValue;
@@ -162,8 +276,9 @@ const SpwAccordionItem = class {
162
276
  this.updateFocusableElements();
163
277
  }
164
278
  assignItemId() {
165
- const index = Array.from(this.el.parentNode.children).indexOf(this.el);
166
- this.el.setAttribute('data-accordion-id', `accordion-item-${index}`);
279
+ if (!this.el.hasAttribute('data-accordion-id')) {
280
+ this.el.setAttribute('data-accordion-id', `spw-accordion-item-${SpwAccordionItem.idCounter++}`);
281
+ }
167
282
  }
168
283
  toggleContent() {
169
284
  this.isOpen = !this.isOpen;
@@ -187,6 +302,9 @@ const SpwAccordionItem = class {
187
302
  }
188
303
  handleClick(event) {
189
304
  event.preventDefault();
305
+ const fromBeforeSlot = event.composedPath().some(node => node instanceof HTMLSlotElement && node.name === 'before');
306
+ if (fromBeforeSlot)
307
+ return;
190
308
  this.toggleContent();
191
309
  }
192
310
  scrollToElement() {
@@ -255,7 +373,7 @@ const SpwAccordionItem = class {
255
373
  };
256
374
  }
257
375
  render() {
258
- return (h(Host, { key: '61ad3439c1fdcabe957ecdb7494f4df10745a490', class: this.elementClass }, h("div", { key: 'f55fc1000515d1ddb43d384e60cb25fcdef42122', class: "spw-accordion-item__content" }, h("a", { key: 'ae253f89c72ce2dfae7ed1767458bb3449a21468', href: "#", class: this.elementChildClass, onClick: event => this.handleClick(event) }, h("slot", { key: 'cf6853d6346294c6e701479218ea851175e2a070', name: "title" })), h("slot", { key: '351a30763b047eb26067ea960b0252811124ceb9', name: "content" }))));
376
+ return (h(Host, { key: '08f0d3853f1b148f3e9c21433d59a282d20cdb78', class: this.elementClass }, h("div", { key: 'fb04e22e545d07718fd7ff958f01bf745e05fcc9', class: "spw-accordion-item__content" }, h("a", { key: '3667359ff148993213650b546f2cb6b9045ed044', href: "#", class: this.elementChildClass, onClick: event => this.handleClick(event) }, h("slot", { key: '0e1f7fdba4a7b5529da893d77f654eb457445ead', name: "title" })), h("slot", { key: '1dee83b169a2be3954e4b78e1b1d2f517c4a2a61', name: "content" }))));
259
377
  }
260
378
  get el() { return getElement(this); }
261
379
  static get watchers() { return {
@@ -264,20 +382,23 @@ const SpwAccordionItem = class {
264
382
  }]
265
383
  }; }
266
384
  };
385
+ SpwAccordionItem.idCounter = 0;
267
386
  SpwAccordionItem.style = spwAccordionItemCss();
268
387
 
269
- const spwAccordionTitleCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-accordion-title{padding:var(--spw-spacings-spacing-lg) 0;transition:all 0.3s}.spw-accordion-title__flex{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.spw-accordion-title__flex-title{display:flex;font-weight:700;color:var(--spw-color-themes-grey-grey-900);transition:all 0.3s}.spw-accordion-title:hover .spw-accordion-title__flex-title{color:var(--spw-ds-primary)}.spw-accordion-title__icon{margin-right:12px}:host-context(.spw-accordion-item:hover)>.spw-accordion-title{color:var(--spw-ds-primary)}.spw-accordion-title__content{position:relative;padding-right:var(--spw-spacings-spacing-3-xl)}.spw-accordion-title__content h2,.spw-accordion-title__content h3,.spw-accordion-title__content h4,.spw-accordion-title__content h5,.spw-accordion-title__content h6{font-size:16px}.spw-accordion-title__trigger{position:absolute;top:50%;right:0;transform:translateY(-50%) rotate(180deg);transition:all 0.3s;color:black}:host(.--collapsed) .spw-accordion-title__trigger{transform:translateY(-50%) rotate(0deg)}`;
388
+ const spwAccordionTitleCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-accordion-title{padding:var(--spw-spacings-spacing-lg) 0;transition:all 0.3s}.spw-accordion-title__flex{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.spw-accordion-title__flex-title{display:flex;font-weight:700;color:var(--spw-color-themes-grey-grey-900);transition:all 0.3s}.spw-accordion-title:hover .spw-accordion-title__flex-title{color:var(--spw-ds-primary)}.spw-accordion-title__icon{margin-right:12px}:host-context(.spw-accordion-item:hover)>.spw-accordion-title{color:var(--spw-ds-primary)}.spw-accordion-title__content{position:relative;padding-right:var(--spw-spacings-spacing-3-xl)}.spw-accordion-title__content h2,.spw-accordion-title__content h3,.spw-accordion-title__content h4,.spw-accordion-title__content h5,.spw-accordion-title__content h6{font-size:16px}.spw-accordion-title--small .spw-accordion-title__content h2,.spw-accordion-title--small .spw-accordion-title__content h3,.spw-accordion-title--small .spw-accordion-title__content h4,.spw-accordion-title--small .spw-accordion-title__content h5,.spw-accordion-title--small .spw-accordion-title__content h6{font-size:14px}.spw-accordion-title--large .spw-accordion-title__content h2,.spw-accordion-title--large .spw-accordion-title__content h3,.spw-accordion-title--large .spw-accordion-title__content h4,.spw-accordion-title--large .spw-accordion-title__content h5,.spw-accordion-title--large .spw-accordion-title__content h6{font-size:20px}.spw-accordion-title__trigger{position:absolute;top:50%;right:0;transform:translateY(-50%) rotate(180deg);transition:all 0.3s;color:black}:host(.--collapsed) .spw-accordion-title__trigger{transform:translateY(-50%) rotate(0deg)}`;
270
389
 
271
390
  const SpwAccordionTitle = class {
272
391
  constructor(hostRef) {
273
392
  registerInstance(this, hostRef);
274
393
  /** Tag html du titre de l'accordéon (de h1 à h6) */
275
394
  this.tag = 'h3';
395
+ /** Taille de police du titre */
396
+ this.size = 'medium';
276
397
  }
277
398
  render() {
278
399
  const TagType = this.tag;
279
400
  const iconElement = this.icon ? h("spw-icon", { icon: this.icon }) : null;
280
- return (h(Host, { key: '63c94a62aeeffbed5dc8440a4f5c2b46d6933b86' }, h("div", { key: '3df9730005950dccb661d4c87b730e8aca00b6ac', class: "spw-accordion-title" }, h("div", { key: '5e7ed39c0e02adf8a6b4231d78f0c4106528b166', class: "spw-accordion-title__content" }, h("div", { key: 'a3222cc548ca5ea34a64a92c359957d84b223462', class: "spw-accordion-title__flex" }, h("div", { key: 'fc8c5f9e30fd7756fa05bd9e5770fec0e9f3998a', class: "spw-accordion-title__flex" }, h(TagType, { key: '199cbd51cc35ace64cf18ab08a0aec8869f89554', class: "spw-accordion-title__flex-title" }, iconElement && h("div", { key: 'e34a19ebdddb0690fc6d3494544bbece10b9b53d', class: "spw-accordion-title__icon" }, iconElement), h("div", { key: '6995a7043296073342a9fa0d38d33cb0e5e52284' }, h("slot", { key: '0d0d1ebc1c4c0b122958ac876d9a0d420a931eaa' }))), h("slot", { key: '35ea311dbbbc5c44b9c4147897b6d916457e41de', name: "left" })), h("slot", { key: 'd9620c40719eb280adb1c6149d7804ce81a0bf63', name: "right" })), h("span", { key: '9156584b416dffa334c0b01d256b7b1ba11c990a', class: "spw-accordion-title__trigger" }, h("spw-icon", { key: 'fecaca25bb5ea91d9c7234b3057093f4cc6747ac', icon: "fa-chevron-down" }))))));
401
+ return (h(Host, { key: '626dacadbe5dca32038d8abbf247b900804abb69' }, h("div", { key: 'ec778181e38c286c9d9f637588c5e6b9fda0a932', class: `spw-accordion-title spw-accordion-title--${this.size}` }, h("div", { key: '348adf4c3706daba295384f74c183f56b45eb1fd', class: "spw-accordion-title__content" }, h("div", { key: '3bc0c2afb5ad3a88862ff3c08340c41708c5eff2', class: "spw-accordion-title__flex" }, h("div", { key: '47bafa56380620369924ea64d963b36611b597c7', class: "spw-accordion-title__flex" }, h(TagType, { key: '1da6f9e84e85ccf0cf0dcd31ca588ecd8a55ea2a', class: "spw-accordion-title__flex-title" }, h("slot", { key: 'bf8b2f2cce7eda6da121f4985d0895d722c0c54c', name: "before" }), iconElement && h("div", { key: '99d15d3cc4375b56a5d975169256a5c42916597b', class: "spw-accordion-title__icon" }, iconElement), h("div", { key: 'd6ee44122b7de2665d65c7156478816bf788f963' }, h("slot", { key: '94072f3f8efaedef954c37c0950f0ce91b96c5b1' }))), h("slot", { key: '66759d45189b2135b7724f68a894e1e8b6cd8752', name: "left" })), h("slot", { key: '3bc220c74497389b405b5f0dff90aaedc34045d5', name: "right" })), h("span", { key: 'd0db01f64d14e09e364714e1eb8eb3babb9a423d', class: "spw-accordion-title__trigger" }, h("spw-icon", { key: '9f58f6d3005b2d54289d4e8a337de6667c368f92', icon: "fa-chevron-down" }))))));
281
402
  }
282
403
  };
283
404
  SpwAccordionTitle.style = spwAccordionTitleCss();
@@ -31,7 +31,7 @@ const SpwAvatar = class {
31
31
  return {};
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: 'b2de622c9540433ac94c443faa33dbea2aa3f731', class: this.hostClass, style: this.avatarStyle, role: "img", "aria-label": this.accAriaLabel || this.initials || 'Avatar' }, !this.image && this.initials && h("span", { key: '3f14e092c9f2b56d9903d7bab49c7a61f06b93df', class: "spw-avatar__initials" }, this.initials), this.bubble && h("span", { key: 'fa1e65c6467f5e0bee96e5d31bb85aa4afecae5e', class: "spw-avatar__bubble" }, this.bubble)));
34
+ return (h(Host, { key: 'c25220d746a1fb6acbc3b19a0d2a3203319a0a5a', class: this.hostClass, style: this.avatarStyle, role: "img", "aria-label": this.accAriaLabel || this.initials || 'Avatar' }, !this.image && this.initials && h("span", { key: '21673337b49cfbc357bc76af5013682450ce64ec', class: "spw-avatar__initials" }, this.initials), this.bubble && h("span", { key: 'f89d15b3096c57466c8e8ba428ef41d26876881a', class: "spw-avatar__bubble" }, this.bubble)));
35
35
  }
36
36
  };
37
37
  SpwAvatar.style = spwAvatarCss();
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-mthi2pFj.js';
2
2
 
3
- const spwBlockContentCss = () => `@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}:host(.spw-block-content--blockquote) .spw-block-content__blockquote-container{margin:0 !important;padding:0 !important;padding-left:20px !important}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__blockquote-container{padding-left:40px !important}}:host(.spw-block-content--blockquote) .spw-block-content__blockquote{margin:0;padding:24px;padding-left:44px;background-color:var(--spw-colors-multi-branding-red-red-50);border-radius:16px;color:var(--spw-colors-support-grey-grey-900);display:flex;flex-direction:column;gap:24px}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__blockquote{padding:32px;padding-left:72px}}:host(.spw-block-content--blockquote):host(.spw-block-content--bg-neutral) .spw-block-content__blockquote{background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900)}:host(.spw-block-content--blockquote) .spw-block-content__quote{display:flex;gap:16px;position:relative}:host(.spw-block-content--blockquote) .spw-block-content__quote::before{content:"“";position:absolute;left:-44px;font-size:50px;font-weight:700;color:var(--spw-colors-support-grey-grey-900);flex-shrink:0;width:40px;height:40px;padding-top:22px;padding-right:5px;font-style:italic;background:white;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;transform:translateX(-50%)}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__quote::before{left:-72px;font-size:100px;width:80px;height:80px;padding-top:45px;padding-right:10px}}:host(.spw-block-content--blockquote) .spw-block-content__quote ::slotted(*){margin:0;padding-left:16px;font-size:21px;font-style:italic;font-weight:700;line-height:1.4}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__quote ::slotted(*){font-size:24px}}:host(.spw-block-content--banner-landscape),:host(.spw-block-content--banner-portrait){background:var(--spw-ds-primary);color:white !important;border-radius:16px;overflow:hidden;position:relative}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-primary),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-purple),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-blue),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-petrol),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-neutral),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-neutral){background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900) !important}:host(.spw-block-content--banner-landscape) .spw-block-content__link,:host(.spw-block-content--banner-portrait) .spw-block-content__link{display:block;text-decoration:none;color:inherit}:host(.spw-block-content--banner-landscape) .spw-block-content__link:hover .spw-block-content__image img,:host(.spw-block-content--banner-portrait) .spw-block-content__link:hover .spw-block-content__image img{transform:scale(1.05)}:host(.spw-block-content--banner-landscape) .spw-block-content__image img,:host(.spw-block-content--banner-portrait) .spw-block-content__image img{transition:linear 0.2s transform;display:block;width:100%;height:100%;object-fit:cover;border-top-left-radius:900px}:host(.spw-block-content--banner-landscape) .spw-block-content__button,:host(.spw-block-content--banner-portrait) .spw-block-content__button{position:absolute;bottom:16px;right:16px;z-index:2}:host(.spw-block-content--banner-landscape) .spw-block-content__text,:host(.spw-block-content--banner-portrait) .spw-block-content__text{display:flex;flex-direction:column;gap:12px;padding:16px}@media (min-width: 768px){:host(.spw-block-content--banner-landscape) .spw-block-content__text,:host(.spw-block-content--banner-portrait) .spw-block-content__text{padding:24px}}:host(.spw-block-content--banner-landscape) .spw-block-content__banner{display:flex;flex-direction:row}:host(.spw-block-content--banner-landscape) .spw-block-content__image{flex-shrink:0;width:120px}@media (min-width: 768px){:host(.spw-block-content--banner-landscape) .spw-block-content__image{width:260px}}:host(.spw-block-content--banner-landscape) .spw-block-content__content{flex:1;display:flex;flex-direction:column}:host(.spw-block-content--banner-portrait) .spw-block-content__banner{display:flex;flex-direction:column}:host(.spw-block-content--banner-portrait) .spw-block-content__image{aspect-ratio:1/1}:host(.spw-block-content--banner-portrait) .spw-block-content__content{display:flex;flex-direction:column}:host(.spw-block-content--newsletter){background:var(--spw-colors-support-grey-grey-100);border-radius:20px;overflow:hidden}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white}:host(.spw-block-content--newsletter) .spw-block-content__newsletter{padding:32px 24px;text-align:center}@media (min-width: 1024px){:host(.spw-block-content--newsletter) .spw-block-content__newsletter{padding:40px 80px}}:host(.spw-block-content--callout){background:var(--spw-ds-primary);color:white;border-radius:16px;overflow:hidden}:host(.spw-block-content--callout):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-neutral){background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900)}:host(.spw-block-content--callout) .spw-block-content__callout{display:flex;flex-direction:column;padding:16px;gap:8px}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__callout{flex-direction:row;gap:24px}}:host(.spw-block-content--callout) .spw-block-content__image{flex-shrink:0;border-radius:8px;overflow:hidden;aspect-ratio:var(--spw-block-content-callout-ratio-mobile, 16/9)}@media (min-width: 768px){:host(.spw-block-content--callout) .spw-block-content__image{aspect-ratio:var(--spw-block-content-callout-ratio-tablet, 16/9)}}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__image{width:40%;aspect-ratio:var(--spw-block-content-callout-ratio-desktop, auto)}}:host(.spw-block-content--callout) .spw-block-content__image img{display:block;width:100%;height:100%;object-fit:cover}:host(.spw-block-content--callout) .spw-block-content__content{display:flex;flex-direction:column;justify-content:center;flex:1;padding:8px}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__content{padding:24px}}`;
3
+ const spwBlockContentCss = () => `@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}:host(.spw-block-content--blockquote) .spw-block-content__blockquote-container{margin:0 !important;padding:0 !important;padding-left:20px !important}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__blockquote-container{padding-left:40px !important}}:host(.spw-block-content--blockquote) .spw-block-content__blockquote{margin:0;padding:24px;padding-left:44px;background-color:var(--spw-colors-multi-branding-red-red-50);border-radius:16px;color:var(--spw-colors-support-grey-grey-900);display:flex;flex-direction:column;gap:24px}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__blockquote{padding:32px;padding-left:72px}}:host(.spw-block-content--blockquote):host(.spw-block-content--bg-neutral) .spw-block-content__blockquote{background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900)}:host(.spw-block-content--blockquote) .spw-block-content__quote{display:flex;gap:16px;position:relative}:host(.spw-block-content--blockquote) .spw-block-content__quote::before{content:"“";position:absolute;left:-44px;font-size:50px;font-weight:700;color:var(--spw-colors-support-grey-grey-900);flex-shrink:0;width:40px;height:40px;padding-top:22px;padding-right:5px;font-style:italic;background:white;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;transform:translateX(-50%)}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__quote::before{left:-72px;font-size:100px;width:80px;height:80px;padding-top:45px;padding-right:10px}}:host(.spw-block-content--blockquote) .spw-block-content__quote ::slotted(*){margin:0;padding-left:16px;font-size:21px;font-style:italic;font-weight:700;line-height:1.4}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__quote ::slotted(*){font-size:24px}}:host(.spw-block-content--banner-landscape),:host(.spw-block-content--banner-portrait){background:var(--spw-ds-primary);color:white !important;border-radius:16px;overflow:hidden;position:relative}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-primary),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-purple),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-blue),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-petrol),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-neutral),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-neutral){background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900) !important}:host(.spw-block-content--banner-landscape) .spw-block-content__link,:host(.spw-block-content--banner-portrait) .spw-block-content__link{display:block;text-decoration:none;color:inherit}:host(.spw-block-content--banner-landscape) .spw-block-content__link:hover .spw-block-content__image img,:host(.spw-block-content--banner-portrait) .spw-block-content__link:hover .spw-block-content__image img{transform:scale(1.05)}:host(.spw-block-content--banner-landscape) .spw-block-content__image img,:host(.spw-block-content--banner-portrait) .spw-block-content__image img{transition:linear 0.2s transform;display:block;width:100%;height:100%;object-fit:cover;border-top-left-radius:900px}:host(.spw-block-content--banner-landscape) .spw-block-content__button,:host(.spw-block-content--banner-portrait) .spw-block-content__button{position:absolute;bottom:16px;right:16px;z-index:2}:host(.spw-block-content--banner-landscape) .spw-block-content__text,:host(.spw-block-content--banner-portrait) .spw-block-content__text{display:flex;flex-direction:column;gap:12px;padding:16px}@media (min-width: 768px){:host(.spw-block-content--banner-landscape) .spw-block-content__text,:host(.spw-block-content--banner-portrait) .spw-block-content__text{padding:24px}}:host(.spw-block-content--banner-landscape) .spw-block-content__banner{display:flex;flex-direction:row}:host(.spw-block-content--banner-landscape) .spw-block-content__image{flex-shrink:0;width:120px}@media (min-width: 768px){:host(.spw-block-content--banner-landscape) .spw-block-content__image{width:260px}}:host(.spw-block-content--banner-landscape) .spw-block-content__content{flex:1;display:flex;flex-direction:column}:host(.spw-block-content--banner-portrait) .spw-block-content__banner{display:flex;flex-direction:column}:host(.spw-block-content--banner-portrait) .spw-block-content__image{aspect-ratio:1/1}:host(.spw-block-content--banner-portrait) .spw-block-content__content{display:flex;flex-direction:column}:host(.spw-block-content--banner-landscape.spw-block-content--no-picture){padding:24px}:host(.spw-block-content--banner-landscape.spw-block-content--no-picture) .spw-block-content__text{padding:0}:host(.spw-block-content--banner-landscape.spw-block-content--no-picture) .spw-block-content__banner{flex-direction:column}:host(.spw-block-content--banner-landscape.spw-block-content--no-picture) .spw-block-content__button{position:static}:host(.spw-block-content--newsletter){background:var(--spw-colors-support-grey-grey-100);border-radius:20px;overflow:hidden}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white}:host(.spw-block-content--newsletter) .spw-block-content__newsletter{padding:32px 24px;text-align:center}@media (min-width: 1024px){:host(.spw-block-content--newsletter) .spw-block-content__newsletter{padding:40px 80px}}:host(.spw-block-content--callout){background:var(--spw-ds-primary);color:white;border-radius:16px;overflow:hidden}:host(.spw-block-content--callout):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-neutral){background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900)}:host(.spw-block-content--callout) .spw-block-content__callout{display:flex;flex-direction:column;padding:16px;gap:8px}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__callout{flex-direction:row;gap:24px}}:host(.spw-block-content--callout) .spw-block-content__image{flex-shrink:0;border-radius:8px;overflow:hidden;aspect-ratio:var(--spw-block-content-callout-ratio-mobile, 16/9)}@media (min-width: 768px){:host(.spw-block-content--callout) .spw-block-content__image{aspect-ratio:var(--spw-block-content-callout-ratio-tablet, 16/9)}}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__image{width:40%;aspect-ratio:var(--spw-block-content-callout-ratio-desktop, auto)}}:host(.spw-block-content--callout) .spw-block-content__image img{display:block;width:100%;height:100%;object-fit:cover}:host(.spw-block-content--callout) .spw-block-content__content{display:flex;flex-direction:column;justify-content:center;flex:1;padding:8px}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__content{padding:24px}}`;
4
4
 
5
5
  const SpwBlockContent = class {
6
6
  constructor(hostRef) {
@@ -16,6 +16,7 @@ const SpwBlockContent = class {
16
16
  return {
17
17
  'spw-block-content': true,
18
18
  [`spw-block-content--${this.variant}`]: true,
19
+ [`spw-block-content--no-picture`]: !this.imageSrc,
19
20
  [`spw-block-content--bg-${this.background}`]: !!this.background,
20
21
  };
21
22
  }
@@ -52,7 +53,7 @@ const SpwBlockContent = class {
52
53
  return (h("div", { class: "spw-block-content__callout", style: style }, this.imageSrc && (h("div", { class: "spw-block-content__image" }, h("img", { src: this.imageSrc, alt: this.imageAlt || '' }))), h("div", { class: "spw-block-content__content" }, h("slot", null))));
53
54
  }
54
55
  render() {
55
- return (h(Host, { key: '2c62f3de6673b1cacaa7ef91b4fc9c0a614c66d1', class: this.elementClass }, this.variant === 'blockquote' && this.renderBlockquote(), (this.variant === 'banner-landscape' || this.variant === 'banner-portrait') && this.renderBanner(), this.variant === 'callout' && this.renderCallout(), this.variant === 'newsletter' && this.renderNewsletter()));
56
+ return (h(Host, { key: '676c321eeeec9131a1867698e5829f3d3563e178', class: this.elementClass }, this.variant === 'blockquote' && this.renderBlockquote(), (this.variant === 'banner-landscape' || this.variant === 'banner-portrait') && this.renderBanner(), this.variant === 'callout' && this.renderCallout(), this.variant === 'newsletter' && this.renderNewsletter()));
56
57
  }
57
58
  };
58
59
  SpwBlockContent.style = spwBlockContentCss();
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, a as getElement } from './index-mthi2pFj.js';
2
2
 
3
- const spwBoxCss = () => `@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-box-shadow:var(--spw-effect-elevation-7);--spw-box-radius:8px;--spw-box-sticky-top:32px;--spw-box-padding-small:16px;--spw-box-padding-medium:24px;--spw-box-padding-large:48px;--spw-box-collapse-duration:0.3s;--spw-box-background:white;--spw-box-border-color:var(--spw-colors-support-grey-grey-300);--spw-box-border-width:1px;--spw-box-border-style:solid}@media (min-width: 1024px){:host(.spw-box--is-sticky){position:sticky;top:var(--spw-box-sticky-top);align-self:flex-start}}.spw-box{background:var(--spw-box-background)}.spw-box--has-shadow{box-shadow:var(--spw-box-shadow)}.spw-box--has-radius{border-radius:var(--spw-box-radius)}.spw-box--has-border{border:var(--spw-box-border-width) var(--spw-box-border-style) var(--spw-box-border-color)}.spw-box--padding-small{padding:var(--spw-box-padding-small)}.spw-box--padding-medium{padding:var(--spw-box-padding-medium)}.spw-box--padding-large{padding:var(--spw-box-padding-large)}.spw-box__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.spw-box__header--collapsible{cursor:pointer}.spw-box--collapsible-active{cursor:pointer}.spw-box__header-icon--open{transform:rotate(180deg)}.spw-box spw-icon{transition:transform var(--spw-box-collapse-duration) ease}.spw-box__content-clipper{overflow:hidden;transition:height var(--spw-box-collapse-duration) ease}.spw-box__content{overflow:hidden}:host(.spw-box--collapsible-sm) .spw-box__header,:host(.spw-box--collapsible-md) .spw-box__header,:host(.spw-box--collapsible-lg) .spw-box__header,:host(.spw-box--collapsible-xl) .spw-box__header,:host(.spw-box--collapsible-xxl) .spw-box__header,:host(.spw-box--collapsible-always) .spw-box__header{display:flex}`;
3
+ const spwBoxCss = () => `@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-box-shadow:var(--spw-effect-elevation-7);--spw-box-radius:8px;--spw-box-sticky-top:32px;--spw-box-padding-small:16px;--spw-box-padding-medium:24px;--spw-box-padding-large:48px;--spw-box-collapse-duration:0.3s;--spw-box-background:white;--spw-box-border-color:var(--spw-colors-support-grey-grey-300);--spw-box-border-width:1px;--spw-box-border-style:solid}@media (min-width: 1024px){:host(.spw-box--is-sticky){position:sticky;top:var(--spw-box-sticky-top);align-self:flex-start}}.spw-box{background:var(--spw-box-background)}.spw-box--has-shadow{box-shadow:var(--spw-box-shadow)}.spw-box--has-radius{border-radius:var(--spw-box-radius)}.spw-box--has-border{border:var(--spw-box-border-width) var(--spw-box-border-style) var(--spw-box-border-color)}.spw-box--padding-small{padding:var(--spw-box-padding-small)}.spw-box--padding-medium{padding:var(--spw-box-padding-medium)}.spw-box--padding-large{padding:var(--spw-box-padding-large)}.spw-box__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.spw-box__header--collapsible{cursor:pointer}.spw-box--collapsible-active{cursor:pointer}.spw-box__header-icon--open{transform:rotate(180deg)}.spw-box spw-icon{transition:transform var(--spw-box-collapse-duration) ease}.spw-box__content-clipper{overflow:hidden;transition:height var(--spw-box-collapse-duration) ease}:host(.spw-box--collapsible-sm) .spw-box__header,:host(.spw-box--collapsible-md) .spw-box__header,:host(.spw-box--collapsible-lg) .spw-box__header,:host(.spw-box--collapsible-xl) .spw-box__header,:host(.spw-box--collapsible-xxl) .spw-box__header,:host(.spw-box--collapsible-always) .spw-box__header{display:flex}`;
4
4
 
5
5
  const SpwBox = class {
6
6
  constructor(hostRef) {
@@ -22,7 +22,6 @@ const SpwBox = class {
22
22
  this.collapsibleBreakpoint = 'md';
23
23
  this.isOpen = false;
24
24
  this.windowWidth = window.innerWidth;
25
- this.contentScrollHeight = 0;
26
25
  this.toggle = () => {
27
26
  if (!this.isCollapsibleActive)
28
27
  return;
@@ -36,9 +35,9 @@ const SpwBox = class {
36
35
  this.contentRef = el;
37
36
  if (!el)
38
37
  return;
39
- this.contentScrollHeight = el.offsetHeight;
38
+ // this.contentScrollHeight = el.offsetHeight;
40
39
  this.resizeObserver = new ResizeObserver(() => {
41
- this.contentScrollHeight = el.offsetHeight;
40
+ // this.contentScrollHeight = el.offsetHeight;
42
41
  });
43
42
  this.resizeObserver.observe(el);
44
43
  };
@@ -72,8 +71,8 @@ const SpwBox = class {
72
71
  }
73
72
  render() {
74
73
  const hostStyle = this.stickyTop ? { '--spw-box-sticky-top': this.stickyTop } : undefined;
75
- const clipperStyle = this.isCollapsibleActive ? { height: this.isOpen ? `${this.contentScrollHeight}px` : '0px' } : undefined;
76
- return (h(Host, { key: 'e1f3adac45ab190d185ccf346c949a4d54f9a765', class: this.hostClass, style: hostStyle }, h("div", { key: 'daa46eac04935d986287b039bd9577bee8bc5afd', class: this.elementClass, onClick: !this.isOpen ? this.toggle : undefined }, h("div", { key: 'e916d4f39b440ff1089e30b2219ad7e0632ec900', class: { 'spw-box__header': true, 'spw-box__header--collapsible': this.isCollapsibleActive }, onClick: this.isOpen ? this.toggle : undefined }, h("slot", { key: '00aed9d88ba1f4301ba22095605a8d8a762500f2', name: "header" }), this.isCollapsibleActive && h("spw-icon", { key: '16cc84e468f873720fea5f29028556b8aefa10c2', icon: "fa-chevron-down", class: { 'spw-box__header-icon--open': this.isOpen } })), h("div", { key: '7734ab95bfc3f8de07b5e20527c126330f1527da', class: { 'spw-box__content-clipper': this.isCollapsibleActive }, style: clipperStyle }, h("div", { key: 'd0af852763f5dab497fcbaaa588b0dd90da9caab', class: "spw-box__content", ref: this.setContentRef }, h("slot", { key: '8d017557eed798dbae381970f71926d0829e7b7b' }))))));
74
+ const clipperStyle = this.isCollapsibleActive ? { height: this.isOpen ? 'auto' : '0px' } : undefined;
75
+ return (h(Host, { key: '6395bf2e707f52cdbd2169d7791536fec590b867', class: this.hostClass, style: hostStyle }, h("div", { key: '77b16ec05a677be07f47bdf6eec4d76288a56ac4', class: this.elementClass, onClick: !this.isOpen ? this.toggle : undefined }, h("div", { key: '31a7064746a8ab2d0545f582d6f6b63007146d6a', class: { 'spw-box__header': true, 'spw-box__header--collapsible': this.isCollapsibleActive }, onClick: this.isOpen ? this.toggle : undefined }, h("slot", { key: '29b77e3dbd55ccc924035590de648dd15b40a374', name: "header" }), this.isCollapsibleActive && h("spw-icon", { key: 'ad59b212e0d26600ec0e4979c7c20fcb0fb4b910', icon: "fa-chevron-down", class: { 'spw-box__header-icon--open': this.isOpen } })), h("div", { key: 'bb8766a22042f269ef2fef045d824fa33e145e43', class: { 'spw-box__content-clipper': this.isCollapsibleActive }, style: clipperStyle }, h("div", { key: '9bc61a4c323e5f9a2e4fef1b05fd914f89b367e0', class: "spw-box__content", ref: this.setContentRef }, h("slot", { key: 'd9656a002b8821f203607d0860b5028421a8de56' }))))));
77
76
  }
78
77
  get el() { return getElement(this); }
79
78
  };
@@ -58,7 +58,7 @@ const SpwBreadcrumbItem = class {
58
58
  this.el.classList.add(`spw-breadcrumb-item--${this.surface}`);
59
59
  }
60
60
  render() {
61
- return (h(Host, { key: '7a9307bf938a45923959ec24c38358348d2c3152' }, h("div", { key: '0e844d79abccb408ad3a799faecc31ba0c7ec4ae', role: "listitem", class: `spw-breadcrumb-item spw-breadcrumb-item--${this.surface}` }, this.href ? (h("spw-link", { href: this.href, surface: this.surface, title: this.label }, this.truncated || h("slot", null))) : (h("span", { class: "spw-breadcrumb-item__text", "aria-current": "page", title: this.label }, this.truncated || h("slot", null))))));
61
+ return (h(Host, { key: 'be1b1666276af179fe49a28dbee20cff6c64f6be' }, h("div", { key: '5737222d5f2a4248058ca8dee11a0a0b24ef3ede', role: "listitem", class: `spw-breadcrumb-item spw-breadcrumb-item--${this.surface}` }, this.href ? (h("spw-link", { href: this.href, surface: this.surface, title: this.label }, this.truncated || h("slot", null))) : (h("span", { class: "spw-breadcrumb-item__text", "aria-current": "page", title: this.label }, this.truncated || h("slot", null))))));
62
62
  }
63
63
  get el() { return getElement(this); }
64
64
  static get watchers() { return {
@@ -47,7 +47,7 @@ const SpwBreadcrumb = class {
47
47
  [`spw-breadcrumb--font-size-${this.fontSize}`]: true,
48
48
  [`spw-breadcrumb--${this.variant}`]: true,
49
49
  };
50
- return (h(Host, { key: '6f357aa6db95e1c97d1da12346e749dea828730e' }, h("nav", { key: '499cde6c05cb0be98bc0359e13c1e7bf285a2be9', "aria-label": this.accAriaLabel, class: elementClass }, h("div", { key: 'ddfd94c45afbc35712f69bbe8f20fd506af0f4bb', role: "list", class: "spw-breadcrumb__list" }, h("slot", { key: '5cf7e2bf016055a8321f9e16547c5a9bf57b23bd' })))));
50
+ return (h(Host, { key: '80ad57a59a8f7c5a1dffcd6470407ef129d9e02c' }, h("nav", { key: 'ad8f444c513d1619dc3a474e807fbc0818f5d378', "aria-label": this.accAriaLabel, class: elementClass }, h("div", { key: 'f351a42ed6ab24d88a7deb912516f5253ef2baf1', role: "list", class: "spw-breadcrumb__list" }, h("slot", { key: '6b1d07061defe337184d9be1d3a8d0fbe009526c' })))));
51
51
  }
52
52
  get host() { return getElement(this); }
53
53
  };
@@ -116,7 +116,7 @@ const SpwButton = class {
116
116
  'aria-label': this.accAriaLabel || this.name || slotText || 'Label',
117
117
  'aria-disabled': isDisabled ? 'true' : null,
118
118
  };
119
- return (h(TagType, Object.assign({ key: 'ed8f5852374ec708ad5af1a77b18df8a489968c7' }, attrs, { ref: (el) => (this.nativeEl = el), class: this.elementClass, disabled: isDisabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, ariaAttributes), h("div", { key: 'edbe7907258f143c8f0fd6d9776b6db84362c0f0', class: "spw-button__inner" }, h("div", { key: '639ff6b673925dda4d65d9a114cd8a0247d04fbf', class: "spw-button__inner-text" }, iconPosition === 'left' && iconElement, !this.isIconOnly && h("slot", { key: '7581c17ef96947127cb0c83ae300c9a9be1a3374' }), iconPosition === 'right' && iconElement)), h("spw-loading", { key: '6fc3822ff88b7df04508935077848fa0bcc64817', text: "" })));
119
+ return (h(TagType, Object.assign({ key: '915c059f45c1fb0ab7733523dee69a76267e9e08' }, attrs, { ref: (el) => (this.nativeEl = el), class: this.elementClass, disabled: isDisabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, ariaAttributes), h("div", { key: '011f8dfeeea63fb682c8d3f93142238a3fbbe087', class: "spw-button__inner" }, h("div", { key: '3bfd04d7351f226c2454bd8a9e818f73e0a4f891', class: "spw-button__inner-text" }, iconPosition === 'left' && iconElement, !this.isIconOnly && h("slot", { key: 'b86b578ffc7ce0d2087e26b19079c0e03bf3faa8' }), iconPosition === 'right' && iconElement)), h("spw-loading", { key: '5e705d2ffdf012ab60721c7240ffe39372f361d9', text: "" })));
120
120
  }
121
121
  get el() { return getElement(this); }
122
122
  };
@@ -145,7 +145,7 @@ const SpwLoading = class {
145
145
  };
146
146
  }
147
147
  render() {
148
- return (h(Host, { key: 'c85777807f3c2395e10d245cfdea46f7e9f5007b' }, h("div", { key: 'b8f579b3ea814f7906051e9cd33c31ec80eead32', class: this.loadingClasses }, h("div", { key: 'be383b68c18cb591f896e43c566058fc57ec8d74', class: "spw-loading__spinner" }), this.text && h("p", { key: '3614167062d2d0da1ec03be2fd595a61900a5ecb', class: "spw-loading__text" }, this.text))));
148
+ return (h(Host, { key: 'b063f0c6ea680341f450e3549b148c3b3b002673' }, h("div", { key: '385d0fa8fed8cf47d4f8d2fdbdb5e5ed09801cb9', class: this.loadingClasses }, h("div", { key: '91d8c19a62af34e67c360f6fb37a5e4e833b6049', class: "spw-loading__spinner" }), this.text && h("p", { key: 'efc441ae4369baee3af03dc7dd6423dff288b2c8', class: "spw-loading__text" }, this.text))));
149
149
  }
150
150
  };
151
151
  SpwLoading.style = spwLoadingCss();
@@ -8,7 +8,7 @@ const SpwCardContent = class {
8
8
  registerInstance(this, hostRef);
9
9
  }
10
10
  render() {
11
- return (h("div", { key: 'cd5d1f95a09474ae60755044e92f54591a80b08c', class: "spw-card-content" }, this.tag && h("span", { key: '16b31103ceef376aabc1328223f68a09a8e68241', class: "spw-card-content__tag" }, this.tag), this.date && (h("time", { key: '3c3a309d3d945b0a8f10bab9f77172e36ef97870', "date-time": this.date, class: "spw-card-content__date" }, formatDate(this.date))), h("slot", { key: '5fb4814af40e8d1a8185c06dc66674e7b152dc6c' })));
11
+ return (h("div", { key: '642a4fe17ef5ba4475f2da4b2e8bbe9434aa7beb', class: "spw-card-content" }, this.tag && h("span", { key: 'fcc5f8071758d9f6d2664c0c2f6ac94b57a3334b', class: "spw-card-content__tag" }, this.tag), this.date && (h("time", { key: 'ed789424568bb1de9444dc0f072162678f92f365', "date-time": this.date, class: "spw-card-content__date" }, formatDate(this.date))), h("slot", { key: '752e469ab48fb08958e3c5d88ab8de4d89d2a8ab' })));
12
12
  }
13
13
  get el() { return getElement(this); }
14
14
  };
@@ -17,7 +17,7 @@ const SpwCardExcerpt = class {
17
17
  };
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: 'a364df98683ab08e573b277b23e2d065a53582ff' }, h("div", { key: 'e493c423f51afa09dc217b4452e8697d7b5950bd', class: this.elementClass }, h("slot", { key: 'e7275f1c8fdf6a52011d00da9bfd1f519b697767' }))));
20
+ return (h(Host, { key: '9d2fb65bb8174bbc6f7928e33fd58eed35a641c9' }, h("div", { key: 'd11f2c962a54d39b3b10f50704424a3137ac5707', class: this.elementClass }, h("slot", { key: 'b9a0e8dd019efdfd272b52b82304aa7d6f4187f4' }))));
21
21
  }
22
22
  };
23
23
  SpwCardExcerpt.style = spwCardExcerptCss();
@@ -58,7 +58,7 @@ const SpwCardImage = class {
58
58
  if (this.imageFit) {
59
59
  style['--spw-card-image-object-fit'] = this.imageFit;
60
60
  }
61
- return (h("div", { key: '540fa1dd41ecddbe3cf62133d7c26c5b4ede8259', class: this.elementClass, style: style }, this.label && h("span", { key: '0aacdf35e18bad6eed5eaf68e5b7ea87fc7e7db6', class: "spw-card-image__label" }, this.label), h("slot", { key: '85d6c5a4ab192ba37ab2233823a36d0e146ac091' }), h("div", { key: '5731e5530e7f6c8493aa92118100b69c168d0d97', class: "spw-card-image__icon" }, h("spw-icon", { key: '2f9551904e5db3da79441872b7639837318eff59', icon: this.hoverIcon }))));
61
+ return (h("div", { key: '2b1a15d89928b7adfe6e50bc41eb40b2a2b4369f', class: this.elementClass, style: style }, this.label && h("span", { key: '14dce233dc70b647e2151456346b7bbcdfd13867', class: "spw-card-image__label" }, this.label), h("slot", { key: 'f2498b59899f925dc4fde59bc64f2466c360ca0d' }), h("div", { key: '26c5ca2fc93c48f05059e885d787605b2ccf6922', class: "spw-card-image__icon" }, h("spw-icon", { key: '07b9c28f1e26c9447cfdc7bedd3e7f8bf31a364c', icon: this.hoverIcon }))));
62
62
  }
63
63
  get el() { return getElement(this); }
64
64
  };
@@ -1,13 +1,15 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-mthi2pFj.js';
2
2
 
3
- const spwCardSubtagItemCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:inline}:host(.--link) .spw-card-subtag-item{font-size:15px;color:var(--spw-ds-primary);font-weight:700}:host(.--link) .spw-card-subtag-item--has-link{text-decoration:underline}:host(.--link) .spw-card-subtag-item--has-link:hover{text-decoration:none}:host(.--link.--highlighted) .spw-card-subtag-item{color:white}:host(.--tag) .spw-card-subtag-item{display:inline-block;padding:8px 12px;border-radius:9999px;background:var(--spw-color-themes-grey-grey-200);transition:all 0.2s linear;line-height:1;font-size:14px;color:var(--spw-color-themes-grey-grey-900)}:host(.--tag) .spw-card-subtag-item:hover{background:var(--spw-color-themes-grey-grey-300)}`;
3
+ const spwCardSubtagItemCss = () => `:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:inline}:host(.--link) .spw-card-subtag-item{font-size:15px;color:var(--spw-ds-primary);font-weight:700}:host(.--link) .spw-card-subtag-item--has-link{text-decoration:underline}:host(.--link) .spw-card-subtag-item--has-link:hover{text-decoration:none}:host(.--link.--highlighted) .spw-card-subtag-item{color:white}:host(.--tag) .spw-card-subtag-item{display:inline-block;padding:8px 12px;border-radius:9999px;background:var(--spw-color-themes-grey-grey-200);transition:all 0.2s linear;line-height:1;font-size:14px;margin-bottom:8px;color:var(--spw-color-themes-grey-grey-900)}:host(.--tag) .spw-card-subtag-item:hover{background:var(--spw-color-themes-grey-grey-300)}`;
4
4
 
5
5
  const SpwCardSubtagItem = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  }
9
- handleClick() {
9
+ handleClick(event) {
10
10
  if (this.link) {
11
+ event.preventDefault();
12
+ event.stopPropagation();
11
13
  window.location.href = this.link;
12
14
  }
13
15
  }
@@ -18,7 +20,7 @@ const SpwCardSubtagItem = class {
18
20
  };
19
21
  }
20
22
  render() {
21
- return (h(Host, { key: 'b4a9d824ac06dc515bbe51391a339935e51124dc' }, h("span", { key: 'c4dd1c031986517057a926e669ab487284709389', class: this.elementClass, onClick: () => this.handleClick() }, h("slot", { key: '0dd6d9dbd19d3fadc43c71f69834ac581a46efc8' }))));
23
+ return (h(Host, { key: 'a9b500f081a9d164ccaebcc2f203ff9df83ef3fb' }, h("span", { key: '5abb3fb4dcaed1c9c5210983a282cd03fd24cf51', class: this.elementClass, onClick: event => this.handleClick(event) }, h("slot", { key: '7783076b9dab5632907821f364a6dfeeebbd2d29' }))));
22
24
  }
23
25
  };
24
26
  SpwCardSubtagItem.style = spwCardSubtagItemCss();
@@ -30,7 +30,7 @@ const SpwCardSubtags = class {
30
30
  };
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '4addd05d03f290efa69a9fe718abd9f8ad67feab' }, h("div", { key: '644824ba0e8defe2ccc8ed1df72357529c1860d5', class: this.elementClass }, h("slot", { key: '757f84b690603461a4475da3e9e99a87478e631d' }))));
33
+ return (h(Host, { key: '36068a1a22bda2c9170d1cdfefca6deabe011875' }, h("div", { key: '435a8746a533ced07539ffa7db3aff9721a21b85', class: this.elementClass }, h("slot", { key: '74412fb663f4bee8137297affc0b614834b798b6' }))));
34
34
  }
35
35
  get el() { return getElement(this); }
36
36
  };
@@ -19,7 +19,7 @@ const SpwCardTitle = class {
19
19
  };
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: '6435bc0abf98cf0dfcba3514ae4df5991eae8281', style: { '--spw-card-title-border-color': this.borderColor } }, h("h3", { key: '389cba699b86c5574237e4d3cb960c6d86f6d82b', class: this.elementClass }, h("span", { key: 'a51b0f834f9a05e89be5a9e117c8746a75debe00', class: "spw-card-title__text" }, h("slot", { key: 'e8f9f37bdd570a002f5c7ef2f5555fa58d652316' })))));
22
+ return (h(Host, { key: 'ed9eabb91827ed20f3ae203af45dd57c0a14ddad', style: { '--spw-card-title-border-color': this.borderColor } }, h("h3", { key: '88d1cb267628d6ecbc4c1807ffcba4199365a328', class: this.elementClass }, h("span", { key: '1ff8d04e21c2825c2e6fab5145aaf47e848f3e57', class: "spw-card-title__text" }, h("slot", { key: '0a87bdd42ee228f85ccb216616a2d78316ffbfc4' })))));
23
23
  }
24
24
  };
25
25
  SpwCardTitle.style = spwCardTitleCss();