@spw-ds/spw-stencil-library 1.10.2 → 1.12.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 (586) hide show
  1. package/dist/cem.json +1207 -160
  2. package/dist/cjs/{animation-DMuoVGnA.js → animation-tH5DQHbp.js} +7 -2
  3. package/dist/cjs/index-id_AkABS.js +3187 -0
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/spw-accordion_4.cjs.entry.js +5 -5
  6. package/dist/cjs/spw-avatar.cjs.entry.js +2 -2
  7. package/dist/cjs/spw-block-content.cjs.entry.js +3 -3
  8. package/dist/cjs/spw-box.cjs.entry.js +62 -0
  9. package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +2 -2
  10. package/dist/cjs/spw-breadcrumb.cjs.entry.js +2 -2
  11. package/dist/cjs/spw-button_2.cjs.entry.js +4 -4
  12. package/dist/cjs/spw-card-content.cjs.entry.js +3 -3
  13. package/dist/cjs/spw-card-excerpt.cjs.entry.js +2 -2
  14. package/dist/cjs/spw-card-image.cjs.entry.js +5 -3
  15. package/dist/cjs/spw-card-subtag-item.cjs.entry.js +2 -2
  16. package/dist/cjs/spw-card-subtags.cjs.entry.js +2 -2
  17. package/dist/cjs/spw-card-title.cjs.entry.js +2 -2
  18. package/dist/cjs/spw-card.cjs.entry.js +3 -3
  19. package/dist/cjs/spw-checkbox.cjs.entry.js +2 -2
  20. package/dist/cjs/spw-cookies.cjs.entry.js +1 -1
  21. package/dist/cjs/spw-custom-select.cjs.entry.js +65 -6
  22. package/dist/cjs/spw-date-picker.cjs.entry.js +2 -2
  23. package/dist/cjs/spw-dropdown-container.cjs.entry.js +2 -2
  24. package/dist/cjs/spw-dropdown-item.cjs.entry.js +2 -2
  25. package/dist/cjs/spw-dropdown.cjs.entry.js +2 -2
  26. package/dist/cjs/spw-field-label_7.cjs.entry.js +18 -18
  27. package/dist/cjs/spw-field-message.cjs.entry.js +2 -2
  28. package/dist/cjs/spw-file-upload.cjs.entry.js +3 -3
  29. package/dist/cjs/spw-footer-bottom.cjs.entry.js +3 -3
  30. package/dist/cjs/spw-footer-content-col.cjs.entry.js +7 -3
  31. package/dist/cjs/spw-footer-content.cjs.entry.js +2 -2
  32. package/dist/cjs/spw-footer-link.cjs.entry.js +3 -3
  33. package/dist/cjs/spw-footer.cjs.entry.js +2 -2
  34. package/dist/cjs/spw-grid-item.cjs.entry.js +3 -3
  35. package/dist/cjs/spw-grid.cjs.entry.js +6 -4
  36. package/dist/cjs/spw-header-lang.cjs.entry.js +2 -2
  37. package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +2 -2
  38. package/dist/cjs/spw-header-navigation-item.cjs.entry.js +3 -3
  39. package/dist/cjs/spw-header-navigation.cjs.entry.js +2 -2
  40. package/dist/cjs/spw-header-persona-item.cjs.entry.js +2 -2
  41. package/dist/cjs/spw-header-persona.cjs.entry.js +3 -3
  42. package/dist/cjs/spw-header.cjs.entry.js +16 -3
  43. package/dist/cjs/spw-hero.cjs.entry.js +21 -5
  44. package/dist/cjs/spw-illustration.cjs.entry.js +1 -1
  45. package/dist/cjs/spw-input-slider.cjs.entry.js +2 -2
  46. package/dist/cjs/spw-lightbox-item.cjs.entry.js +55 -0
  47. package/dist/cjs/spw-lightbox.cjs.entry.js +249 -0
  48. package/dist/cjs/spw-list-description.cjs.entry.js +2 -2
  49. package/dist/cjs/spw-list-item.cjs.entry.js +2 -2
  50. package/dist/cjs/spw-list-title.cjs.entry.js +2 -2
  51. package/dist/cjs/spw-list.cjs.entry.js +2 -2
  52. package/dist/cjs/spw-message.cjs.entry.js +1 -1
  53. package/dist/cjs/spw-modal.cjs.entry.js +5 -5
  54. package/dist/cjs/spw-mosaic-item.cjs.entry.js +2 -2
  55. package/dist/cjs/spw-mosaic.cjs.entry.js +2 -2
  56. package/dist/cjs/spw-pagination.cjs.entry.js +7 -7
  57. package/dist/cjs/spw-radio.cjs.entry.js +2 -2
  58. package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
  59. package/dist/cjs/spw-search-field.cjs.entry.js +12 -6
  60. package/dist/cjs/spw-select.cjs.entry.js +2 -2
  61. package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +2 -2
  62. package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +4 -4
  63. package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +2 -2
  64. package/dist/cjs/spw-sidebar.cjs.entry.js +2 -2
  65. package/dist/cjs/spw-skeleton.cjs.entry.js +2 -2
  66. package/dist/cjs/spw-slider-item.cjs.entry.js +2 -2
  67. package/dist/cjs/spw-slider.cjs.entry.js +26 -9
  68. package/dist/cjs/spw-socials.cjs.entry.js +2 -2
  69. package/dist/cjs/spw-stencil-library.cjs.js +2 -2
  70. package/dist/cjs/spw-table-body.cjs.entry.js +2 -2
  71. package/dist/cjs/spw-table-cell.cjs.entry.js +2 -2
  72. package/dist/cjs/spw-table-container.cjs.entry.js +2 -2
  73. package/dist/cjs/spw-table-footer.cjs.entry.js +2 -2
  74. package/dist/cjs/spw-table-head.cjs.entry.js +2 -2
  75. package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
  76. package/dist/cjs/spw-table-row.cjs.entry.js +2 -2
  77. package/dist/cjs/spw-table-sidebar.cjs.entry.js +2 -2
  78. package/dist/cjs/spw-table.cjs.entry.js +3 -3
  79. package/dist/cjs/spw-tabs-content.cjs.entry.js +1 -1
  80. package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +2 -2
  81. package/dist/cjs/spw-tabs-navigation.cjs.entry.js +3 -3
  82. package/dist/cjs/spw-tabs.cjs.entry.js +2 -2
  83. package/dist/cjs/spw-tag.cjs.entry.js +2 -2
  84. package/dist/cjs/spw-text-field.cjs.entry.js +69 -10
  85. package/dist/cjs/spw-textarea.cjs.entry.js +2 -2
  86. package/dist/cjs/spw-tile-description.cjs.entry.js +2 -2
  87. package/dist/cjs/spw-tile-title.cjs.entry.js +2 -2
  88. package/dist/cjs/spw-tile.cjs.entry.js +2 -2
  89. package/dist/cjs/spw-timeline-item.cjs.entry.js +3 -3
  90. package/dist/cjs/spw-timeline.cjs.entry.js +3 -3
  91. package/dist/cjs/spw-toast-controller.cjs.entry.js +2 -2
  92. package/dist/cjs/spw-toast.cjs.entry.js +2 -2
  93. package/dist/cjs/spw-toc-container.cjs.entry.js +2 -2
  94. package/dist/cjs/spw-toc-navigation.cjs.entry.js +1 -1
  95. package/dist/cjs/spw-toc.cjs.entry.js +2 -2
  96. package/dist/cjs/spw-topbar.cjs.entry.js +2 -2
  97. package/dist/cjs/spw-wizard-item.cjs.entry.js +2 -2
  98. package/dist/cjs/spw-wizard.cjs.entry.js +2 -2
  99. package/dist/collection/collection-manifest.json +3 -0
  100. package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.js +1 -1
  101. package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.js +1 -1
  102. package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.js +1 -1
  103. package/dist/collection/components/spw-accordion/spw-accordion.js +1 -1
  104. package/dist/collection/components/spw-avatar/spw-avatar.js +1 -1
  105. package/dist/collection/components/spw-block-content/spw-block-content.css +6 -6
  106. package/dist/collection/components/spw-block-content/spw-block-content.js +1 -1
  107. package/dist/collection/components/spw-box/spw-box.css +507 -0
  108. package/dist/collection/components/spw-box/spw-box.js +213 -0
  109. package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.js +1 -1
  110. package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.js +1 -1
  111. package/dist/collection/components/spw-button/spw-button.css +2 -2
  112. package/dist/collection/components/spw-button/spw-button.js +2 -2
  113. package/dist/collection/components/spw-card/spw-card-content/spw-card-content.css +15 -0
  114. package/dist/collection/components/spw-card/spw-card-content/spw-card-content.js +1 -1
  115. package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.js +1 -1
  116. package/dist/collection/components/spw-card/spw-card-image/spw-card-image.css +17 -0
  117. package/dist/collection/components/spw-card/spw-card-image/spw-card-image.js +25 -1
  118. package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.js +1 -1
  119. package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.js +1 -1
  120. package/dist/collection/components/spw-card/spw-card-title/spw-card-title.js +1 -1
  121. package/dist/collection/components/spw-card/spw-card.css +12 -0
  122. package/dist/collection/components/spw-card/spw-card.js +3 -3
  123. package/dist/collection/components/spw-checkbox/spw-checkbox.js +1 -1
  124. package/dist/collection/components/spw-custom-select/spw-custom-select.css +61 -3
  125. package/dist/collection/components/spw-custom-select/spw-custom-select.js +124 -5
  126. package/dist/collection/components/spw-date-picker/spw-date-picker.js +2 -2
  127. package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.js +1 -1
  128. package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +1 -1
  129. package/dist/collection/components/spw-dropdown/spw-dropdown.js +1 -1
  130. package/dist/collection/components/spw-field-label/spw-field-label.js +1 -1
  131. package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
  132. package/dist/collection/components/spw-file-upload/spw-file-upload.js +2 -2
  133. package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.css +3 -1
  134. package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.js +1 -1
  135. package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.js +1 -1
  136. package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.css +35 -0
  137. package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +12 -1
  138. package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.css +3 -1
  139. package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
  140. package/dist/collection/components/spw-footer/spw-footer.js +1 -1
  141. package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
  142. package/dist/collection/components/spw-grid/spw-grid.css +18 -1
  143. package/dist/collection/components/spw-grid/spw-grid.js +24 -2
  144. package/dist/collection/components/spw-group/spw-group.js +1 -1
  145. package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
  146. package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +1 -1
  147. package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
  148. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +10 -0
  149. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
  150. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.css +19 -4
  151. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
  152. package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
  153. package/dist/collection/components/spw-header/spw-header.css +5 -0
  154. package/dist/collection/components/spw-header/spw-header.js +34 -1
  155. package/dist/collection/components/spw-hero/spw-hero.css +37 -0
  156. package/dist/collection/components/spw-hero/spw-hero.js +97 -5
  157. package/dist/collection/components/spw-icon/spw-icon.js +1 -1
  158. package/dist/collection/components/spw-input-slider/spw-input-slider.js +1 -1
  159. package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.css +462 -0
  160. package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +314 -0
  161. package/dist/collection/components/spw-lightbox/spw-lightbox.css +614 -0
  162. package/dist/collection/components/spw-lightbox/spw-lightbox.js +525 -0
  163. package/dist/collection/components/spw-link/spw-link.js +1 -1
  164. package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
  165. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
  166. package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
  167. package/dist/collection/components/spw-list/spw-list.js +1 -1
  168. package/dist/collection/components/spw-loading/spw-loading.js +1 -1
  169. package/dist/collection/components/spw-modal/spw-modal.js +3 -3
  170. package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
  171. package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
  172. package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
  173. package/dist/collection/components/spw-radio/spw-radio.js +1 -1
  174. package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
  175. package/dist/collection/components/spw-search-field/spw-search-field.css +6 -3
  176. package/dist/collection/components/spw-search-field/spw-search-field.js +51 -5
  177. package/dist/collection/components/spw-select/spw-select.js +2 -2
  178. package/dist/collection/components/spw-separator/spw-separator.js +1 -1
  179. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
  180. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
  181. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
  182. package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
  183. package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
  184. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
  185. package/dist/collection/components/spw-slider/spw-slider.css +15 -0
  186. package/dist/collection/components/spw-slider/spw-slider.js +89 -7
  187. package/dist/collection/components/spw-socials/spw-socials.js +1 -1
  188. package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
  189. package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
  190. package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
  191. package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
  192. package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
  193. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
  194. package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
  195. package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
  196. package/dist/collection/components/spw-table/spw-table.js +2 -2
  197. package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.css +4 -1
  198. package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
  199. package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
  200. package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
  201. package/dist/collection/components/spw-tag/spw-tag.js +1 -1
  202. package/dist/collection/components/spw-text-field/spw-text-field.js +88 -10
  203. package/dist/collection/components/spw-textarea/spw-textarea.js +2 -2
  204. package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
  205. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
  206. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
  207. package/dist/collection/components/spw-tile/spw-tile.js +1 -1
  208. package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
  209. package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
  210. package/dist/collection/components/spw-toast/spw-toast-controller/spw-toast-controller.js +1 -1
  211. package/dist/collection/components/spw-toc/spw-toc-container/spw-toc-container.js +1 -1
  212. package/dist/collection/components/spw-toc/spw-toc.js +1 -1
  213. package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
  214. package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
  215. package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
  216. package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
  217. package/dist/collection/stories/components/spw-box/spw-box.stories.js +312 -0
  218. package/dist/collection/stories/components/spw-custom-select/spw-custom-select.stories.js +23 -2
  219. package/dist/collection/stories/organisms/spw-card/spw-card.stories.js +58 -1
  220. package/dist/collection/stories/organisms/spw-hero/spw-hero.stories.js +61 -0
  221. package/dist/collection/stories/organisms/spw-lightbox/spw-lightbox.stories.js +623 -0
  222. package/dist/collection/stories/organisms/spw-slider/spw-slider.stories.js +142 -6
  223. package/dist/collection/stories/organisms/spw-toc/spw-toc.stories.js +40 -34
  224. package/dist/collection/utils/animation.js +7 -2
  225. package/dist/components/index.js +1 -1
  226. package/dist/components/{p-DwCnnHgn.js → p-26TmvHEb.js} +1 -1
  227. package/dist/components/{p-CMLl0RMI.js → p-B3wy-a7G.js} +1 -1
  228. package/dist/components/{p-D6LWZKvR.js → p-BAbzUkqV.js} +1 -1
  229. package/dist/components/{p-LSa_rZXb.js → p-BNsbxGcj.js} +1 -1
  230. package/dist/components/p-BRFNx2DL.js +1 -0
  231. package/dist/components/{p-BhdoYDTm.js → p-BRlLi9Ar.js} +1 -1
  232. package/dist/components/{p-DbSA5Qg5.js → p-Bu_U3_Ez.js} +1 -1
  233. package/dist/components/{p-BjLZzV7o.js → p-C8Vf9QlU.js} +1 -1
  234. package/dist/components/{p-CDlTW4jP.js → p-CLCgZYzK.js} +1 -1
  235. package/dist/components/p-CwQbV4MW.js +1 -0
  236. package/dist/components/{p-BxRsJDtg.js → p-DBIs7bbJ.js} +1 -1
  237. package/dist/components/{p-JuqrTYPp.js → p-DdZeGXq7.js} +1 -1
  238. package/dist/components/{p-DJvzArBD.js → p-Dv3JuDht.js} +1 -1
  239. package/dist/components/p-FB4itEEQ.js +1 -0
  240. package/dist/components/{p-BlIs4luv.js → p-HzgF73Oa.js} +1 -1
  241. package/dist/components/{p-DiO72wMf.js → p-oVOlDrOp.js} +1 -1
  242. package/dist/components/{p-D8N138f1.js → p-w411zfAm.js} +1 -1
  243. package/dist/components/spw-accordion-content.js +1 -1
  244. package/dist/components/spw-accordion-item.js +1 -1
  245. package/dist/components/spw-accordion-title.js +1 -1
  246. package/dist/components/spw-accordion.js +1 -1
  247. package/dist/components/spw-avatar.js +1 -1
  248. package/dist/components/spw-block-content.js +1 -1
  249. package/dist/components/spw-box.d.ts +11 -0
  250. package/dist/components/spw-box.js +1 -0
  251. package/dist/components/spw-breadcrumb-item.js +1 -1
  252. package/dist/components/spw-breadcrumb.js +1 -1
  253. package/dist/components/spw-button.js +1 -1
  254. package/dist/components/spw-card-content.js +1 -1
  255. package/dist/components/spw-card-excerpt.js +1 -1
  256. package/dist/components/spw-card-image.js +1 -1
  257. package/dist/components/spw-card-subtag-item.js +1 -1
  258. package/dist/components/spw-card-subtags.js +1 -1
  259. package/dist/components/spw-card-title.js +1 -1
  260. package/dist/components/spw-card.js +1 -1
  261. package/dist/components/spw-checkbox.js +1 -1
  262. package/dist/components/spw-cookies.js +1 -1
  263. package/dist/components/spw-custom-select.js +1 -1
  264. package/dist/components/spw-date-picker.js +1 -1
  265. package/dist/components/spw-dropdown-container.js +1 -1
  266. package/dist/components/spw-dropdown-item.js +1 -1
  267. package/dist/components/spw-dropdown.js +1 -1
  268. package/dist/components/spw-field-label.js +1 -1
  269. package/dist/components/spw-field-message.js +1 -1
  270. package/dist/components/spw-file-upload.js +1 -1
  271. package/dist/components/spw-footer-bottom.js +1 -1
  272. package/dist/components/spw-footer-content-col.js +1 -1
  273. package/dist/components/spw-footer-content.js +1 -1
  274. package/dist/components/spw-footer-link.js +1 -1
  275. package/dist/components/spw-footer.js +1 -1
  276. package/dist/components/spw-grid-item.js +1 -1
  277. package/dist/components/spw-grid.js +1 -1
  278. package/dist/components/spw-group.js +1 -1
  279. package/dist/components/spw-header-lang.js +1 -1
  280. package/dist/components/spw-header-navigation-dropdown.js +1 -1
  281. package/dist/components/spw-header-navigation-item.js +1 -1
  282. package/dist/components/spw-header-navigation.js +1 -1
  283. package/dist/components/spw-header-persona-item.js +1 -1
  284. package/dist/components/spw-header-persona.js +1 -1
  285. package/dist/components/spw-header.js +1 -1
  286. package/dist/components/spw-hero.js +1 -1
  287. package/dist/components/spw-icon.js +1 -1
  288. package/dist/components/spw-input-slider.js +1 -1
  289. package/dist/components/spw-lightbox-item.d.ts +11 -0
  290. package/dist/components/spw-lightbox-item.js +1 -0
  291. package/dist/components/spw-lightbox.d.ts +11 -0
  292. package/dist/components/spw-lightbox.js +1 -0
  293. package/dist/components/spw-link.js +1 -1
  294. package/dist/components/spw-list-description.js +1 -1
  295. package/dist/components/spw-list-item.js +1 -1
  296. package/dist/components/spw-list-title.js +1 -1
  297. package/dist/components/spw-list.js +1 -1
  298. package/dist/components/spw-loading.js +1 -1
  299. package/dist/components/spw-message.js +1 -1
  300. package/dist/components/spw-modal.js +1 -1
  301. package/dist/components/spw-mosaic-item.js +1 -1
  302. package/dist/components/spw-mosaic.js +1 -1
  303. package/dist/components/spw-pagination.js +1 -1
  304. package/dist/components/spw-radio.js +1 -1
  305. package/dist/components/spw-scrolltop.js +1 -1
  306. package/dist/components/spw-search-field.js +1 -1
  307. package/dist/components/spw-select.js +1 -1
  308. package/dist/components/spw-separator.js +1 -1
  309. package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
  310. package/dist/components/spw-sidebar-navigation-item.js +1 -1
  311. package/dist/components/spw-sidebar-navigation-separator.js +1 -1
  312. package/dist/components/spw-sidebar.js +1 -1
  313. package/dist/components/spw-skeleton.js +1 -1
  314. package/dist/components/spw-slider-item.js +1 -1
  315. package/dist/components/spw-slider.js +1 -1
  316. package/dist/components/spw-socials.js +1 -1
  317. package/dist/components/spw-table-body.js +1 -1
  318. package/dist/components/spw-table-cell.js +1 -1
  319. package/dist/components/spw-table-container.js +1 -1
  320. package/dist/components/spw-table-footer.js +1 -1
  321. package/dist/components/spw-table-head.js +1 -1
  322. package/dist/components/spw-table-header.js +1 -1
  323. package/dist/components/spw-table-row.js +1 -1
  324. package/dist/components/spw-table-sidebar.js +1 -1
  325. package/dist/components/spw-table.js +1 -1
  326. package/dist/components/spw-tabs-navigation-item.js +1 -1
  327. package/dist/components/spw-tabs-navigation.js +1 -1
  328. package/dist/components/spw-tabs.js +1 -1
  329. package/dist/components/spw-tag.js +1 -1
  330. package/dist/components/spw-text-field.js +1 -1
  331. package/dist/components/spw-textarea.js +1 -1
  332. package/dist/components/spw-theme-provider.js +1 -1
  333. package/dist/components/spw-tile-description.js +1 -1
  334. package/dist/components/spw-tile-title.js +1 -1
  335. package/dist/components/spw-tile.js +1 -1
  336. package/dist/components/spw-timeline-item.js +1 -1
  337. package/dist/components/spw-timeline.js +1 -1
  338. package/dist/components/spw-toast-controller.js +1 -1
  339. package/dist/components/spw-toast.js +1 -1
  340. package/dist/components/spw-toc-container.js +1 -1
  341. package/dist/components/spw-toc.js +1 -1
  342. package/dist/components/spw-tooltip.js +1 -1
  343. package/dist/components/spw-topbar.js +1 -1
  344. package/dist/components/spw-wizard-item.js +1 -1
  345. package/dist/components/spw-wizard.js +1 -1
  346. package/dist/components_json.json +1675 -121
  347. package/dist/esm/{animation-BO7xVlWo.js → animation-BRFNx2DL.js} +7 -2
  348. package/dist/esm/index-BvJ4Kko5.js +3158 -0
  349. package/dist/esm/loader.js +3 -3
  350. package/dist/esm/spw-accordion_4.entry.js +5 -5
  351. package/dist/esm/spw-avatar.entry.js +2 -2
  352. package/dist/esm/spw-block-content.entry.js +3 -3
  353. package/dist/esm/spw-box.entry.js +60 -0
  354. package/dist/esm/spw-breadcrumb-item.entry.js +2 -2
  355. package/dist/esm/spw-breadcrumb.entry.js +2 -2
  356. package/dist/esm/spw-button_2.entry.js +4 -4
  357. package/dist/esm/spw-card-content.entry.js +3 -3
  358. package/dist/esm/spw-card-excerpt.entry.js +2 -2
  359. package/dist/esm/spw-card-image.entry.js +5 -3
  360. package/dist/esm/spw-card-subtag-item.entry.js +2 -2
  361. package/dist/esm/spw-card-subtags.entry.js +2 -2
  362. package/dist/esm/spw-card-title.entry.js +2 -2
  363. package/dist/esm/spw-card.entry.js +3 -3
  364. package/dist/esm/spw-checkbox.entry.js +2 -2
  365. package/dist/esm/spw-cookies.entry.js +1 -1
  366. package/dist/esm/spw-custom-select.entry.js +65 -6
  367. package/dist/esm/spw-date-picker.entry.js +2 -2
  368. package/dist/esm/spw-dropdown-container.entry.js +2 -2
  369. package/dist/esm/spw-dropdown-item.entry.js +2 -2
  370. package/dist/esm/spw-dropdown.entry.js +2 -2
  371. package/dist/esm/spw-field-label_7.entry.js +18 -18
  372. package/dist/esm/spw-field-message.entry.js +2 -2
  373. package/dist/esm/spw-file-upload.entry.js +3 -3
  374. package/dist/esm/spw-footer-bottom.entry.js +3 -3
  375. package/dist/esm/spw-footer-content-col.entry.js +7 -3
  376. package/dist/esm/spw-footer-content.entry.js +2 -2
  377. package/dist/esm/spw-footer-link.entry.js +3 -3
  378. package/dist/esm/spw-footer.entry.js +2 -2
  379. package/dist/esm/spw-grid-item.entry.js +3 -3
  380. package/dist/esm/spw-grid.entry.js +6 -4
  381. package/dist/esm/spw-header-lang.entry.js +2 -2
  382. package/dist/esm/spw-header-navigation-dropdown.entry.js +2 -2
  383. package/dist/esm/spw-header-navigation-item.entry.js +3 -3
  384. package/dist/esm/spw-header-navigation.entry.js +2 -2
  385. package/dist/esm/spw-header-persona-item.entry.js +2 -2
  386. package/dist/esm/spw-header-persona.entry.js +3 -3
  387. package/dist/esm/spw-header.entry.js +16 -3
  388. package/dist/esm/spw-hero.entry.js +21 -5
  389. package/dist/esm/spw-illustration.entry.js +1 -1
  390. package/dist/esm/spw-input-slider.entry.js +2 -2
  391. package/dist/esm/spw-lightbox-item.entry.js +53 -0
  392. package/dist/esm/spw-lightbox.entry.js +247 -0
  393. package/dist/esm/spw-list-description.entry.js +2 -2
  394. package/dist/esm/spw-list-item.entry.js +2 -2
  395. package/dist/esm/spw-list-title.entry.js +2 -2
  396. package/dist/esm/spw-list.entry.js +2 -2
  397. package/dist/esm/spw-message.entry.js +1 -1
  398. package/dist/esm/spw-modal.entry.js +5 -5
  399. package/dist/esm/spw-mosaic-item.entry.js +2 -2
  400. package/dist/esm/spw-mosaic.entry.js +2 -2
  401. package/dist/esm/spw-pagination.entry.js +7 -7
  402. package/dist/esm/spw-radio.entry.js +2 -2
  403. package/dist/esm/spw-scrolltop.entry.js +2 -2
  404. package/dist/esm/spw-search-field.entry.js +12 -6
  405. package/dist/esm/spw-select.entry.js +2 -2
  406. package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +2 -2
  407. package/dist/esm/spw-sidebar-navigation-item.entry.js +4 -4
  408. package/dist/esm/spw-sidebar-navigation-separator.entry.js +2 -2
  409. package/dist/esm/spw-sidebar.entry.js +2 -2
  410. package/dist/esm/spw-skeleton.entry.js +2 -2
  411. package/dist/esm/spw-slider-item.entry.js +2 -2
  412. package/dist/esm/spw-slider.entry.js +26 -9
  413. package/dist/esm/spw-socials.entry.js +2 -2
  414. package/dist/esm/spw-stencil-library.js +3 -3
  415. package/dist/esm/spw-table-body.entry.js +2 -2
  416. package/dist/esm/spw-table-cell.entry.js +2 -2
  417. package/dist/esm/spw-table-container.entry.js +2 -2
  418. package/dist/esm/spw-table-footer.entry.js +2 -2
  419. package/dist/esm/spw-table-head.entry.js +2 -2
  420. package/dist/esm/spw-table-header.entry.js +3 -3
  421. package/dist/esm/spw-table-row.entry.js +2 -2
  422. package/dist/esm/spw-table-sidebar.entry.js +2 -2
  423. package/dist/esm/spw-table.entry.js +3 -3
  424. package/dist/esm/spw-tabs-content.entry.js +1 -1
  425. package/dist/esm/spw-tabs-navigation-item.entry.js +2 -2
  426. package/dist/esm/spw-tabs-navigation.entry.js +3 -3
  427. package/dist/esm/spw-tabs.entry.js +2 -2
  428. package/dist/esm/spw-tag.entry.js +2 -2
  429. package/dist/esm/spw-text-field.entry.js +69 -10
  430. package/dist/esm/spw-textarea.entry.js +2 -2
  431. package/dist/esm/spw-tile-description.entry.js +2 -2
  432. package/dist/esm/spw-tile-title.entry.js +2 -2
  433. package/dist/esm/spw-tile.entry.js +2 -2
  434. package/dist/esm/spw-timeline-item.entry.js +3 -3
  435. package/dist/esm/spw-timeline.entry.js +3 -3
  436. package/dist/esm/spw-toast-controller.entry.js +2 -2
  437. package/dist/esm/spw-toast.entry.js +2 -2
  438. package/dist/esm/spw-toc-container.entry.js +2 -2
  439. package/dist/esm/spw-toc-navigation.entry.js +1 -1
  440. package/dist/esm/spw-toc.entry.js +2 -2
  441. package/dist/esm/spw-topbar.entry.js +2 -2
  442. package/dist/esm/spw-wizard-item.entry.js +2 -2
  443. package/dist/esm/spw-wizard.entry.js +2 -2
  444. package/dist/spw-stencil-library/{p-3049cc60.entry.js → p-02de5468.entry.js} +1 -1
  445. package/dist/spw-stencil-library/{p-72d6b4cb.entry.js → p-049c5159.entry.js} +1 -1
  446. package/dist/spw-stencil-library/{p-eb71cf55.entry.js → p-05819904.entry.js} +1 -1
  447. package/dist/spw-stencil-library/{p-4aa5759c.entry.js → p-0a9288b5.entry.js} +1 -1
  448. package/dist/spw-stencil-library/{p-c195597b.entry.js → p-0b4fd80e.entry.js} +1 -1
  449. package/dist/spw-stencil-library/{p-d21b0833.entry.js → p-0cf5aadc.entry.js} +1 -1
  450. package/dist/spw-stencil-library/{p-a4336c0c.entry.js → p-153a026f.entry.js} +1 -1
  451. package/dist/spw-stencil-library/{p-b460afdc.entry.js → p-1875874e.entry.js} +1 -1
  452. package/dist/spw-stencil-library/p-19c01c71.entry.js +1 -0
  453. package/dist/spw-stencil-library/{p-92b69e67.entry.js → p-1fa367e7.entry.js} +1 -1
  454. package/dist/spw-stencil-library/{p-eba031ea.entry.js → p-2298be7a.entry.js} +1 -1
  455. package/dist/spw-stencil-library/{p-06e9e52e.entry.js → p-242e2de6.entry.js} +1 -1
  456. package/dist/spw-stencil-library/{p-a574c1f7.entry.js → p-28a5d0bf.entry.js} +1 -1
  457. package/dist/spw-stencil-library/{p-1e21eb78.entry.js → p-28e49d02.entry.js} +1 -1
  458. package/dist/spw-stencil-library/{p-2ef62013.entry.js → p-2b182fc8.entry.js} +1 -1
  459. package/dist/spw-stencil-library/{p-935f19f8.entry.js → p-2dda4dfe.entry.js} +1 -1
  460. package/dist/spw-stencil-library/{p-77c9e985.entry.js → p-34cc819b.entry.js} +1 -1
  461. package/dist/spw-stencil-library/{p-46256b79.entry.js → p-35b865cf.entry.js} +1 -1
  462. package/dist/spw-stencil-library/{p-8cfe9a5c.entry.js → p-38a53864.entry.js} +1 -1
  463. package/dist/spw-stencil-library/{p-fc3463d2.entry.js → p-3ccb9c03.entry.js} +1 -1
  464. package/dist/spw-stencil-library/{p-f413fe3a.entry.js → p-3e7b44af.entry.js} +1 -1
  465. package/dist/spw-stencil-library/{p-8fc73ffb.entry.js → p-450306c5.entry.js} +1 -1
  466. package/dist/spw-stencil-library/{p-937eeeeb.entry.js → p-47478c37.entry.js} +1 -1
  467. package/dist/spw-stencil-library/{p-5b6d907b.entry.js → p-474cbbca.entry.js} +1 -1
  468. package/dist/spw-stencil-library/{p-11039299.entry.js → p-47a23440.entry.js} +1 -1
  469. package/dist/spw-stencil-library/{p-584f8ba5.entry.js → p-48b4e11f.entry.js} +1 -1
  470. package/dist/spw-stencil-library/{p-9eeeb874.entry.js → p-4c59112a.entry.js} +1 -1
  471. package/dist/spw-stencil-library/p-4dd215d6.entry.js +1 -0
  472. package/dist/spw-stencil-library/{p-12878c95.entry.js → p-4eda33d4.entry.js} +1 -1
  473. package/dist/spw-stencil-library/{p-12e209dc.entry.js → p-50ccad8a.entry.js} +1 -1
  474. package/dist/spw-stencil-library/{p-5c58ca89.entry.js → p-52731c22.entry.js} +1 -1
  475. package/dist/spw-stencil-library/{p-536082bb.entry.js → p-58393ab6.entry.js} +1 -1
  476. package/dist/spw-stencil-library/{p-72e7b957.entry.js → p-59925808.entry.js} +1 -1
  477. package/dist/spw-stencil-library/p-61b5224c.entry.js +1 -0
  478. package/dist/spw-stencil-library/{p-017e66d3.entry.js → p-661d7e73.entry.js} +1 -1
  479. package/dist/spw-stencil-library/{p-231fbcc9.entry.js → p-661fcef1.entry.js} +1 -1
  480. package/dist/spw-stencil-library/{p-9bcade02.entry.js → p-6676fc1b.entry.js} +1 -1
  481. package/dist/spw-stencil-library/{p-04208e52.entry.js → p-66da29be.entry.js} +1 -1
  482. package/dist/spw-stencil-library/{p-862ebaf0.entry.js → p-6cf39777.entry.js} +1 -1
  483. package/dist/spw-stencil-library/{p-989fa86f.entry.js → p-7107ed7f.entry.js} +1 -1
  484. package/dist/spw-stencil-library/{p-dd9a9e15.entry.js → p-7177a4f7.entry.js} +2 -2
  485. package/dist/spw-stencil-library/{p-ed5c4229.entry.js → p-732b2f4c.entry.js} +1 -1
  486. package/dist/spw-stencil-library/{p-1c25df2f.entry.js → p-7ccef87e.entry.js} +1 -1
  487. package/dist/spw-stencil-library/{p-9f3abef5.entry.js → p-7db10e21.entry.js} +1 -1
  488. package/dist/spw-stencil-library/{p-e88d700b.entry.js → p-7dd7816b.entry.js} +1 -1
  489. package/dist/spw-stencil-library/{p-3ad3b8d1.entry.js → p-8063aa58.entry.js} +1 -1
  490. package/dist/spw-stencil-library/{p-68c8ab55.entry.js → p-822b0a4b.entry.js} +1 -1
  491. package/dist/spw-stencil-library/{p-d8967e7d.entry.js → p-82aa983b.entry.js} +1 -1
  492. package/dist/spw-stencil-library/{p-862856bf.entry.js → p-85e3a088.entry.js} +1 -1
  493. package/dist/spw-stencil-library/{p-899045e0.entry.js → p-862fdbdb.entry.js} +1 -1
  494. package/dist/spw-stencil-library/p-873c504b.entry.js +1 -0
  495. package/dist/spw-stencil-library/p-8a65a845.entry.js +1 -0
  496. package/dist/spw-stencil-library/{p-461f9d48.entry.js → p-8c750816.entry.js} +1 -1
  497. package/dist/spw-stencil-library/{p-d9b44e31.entry.js → p-95710898.entry.js} +1 -1
  498. package/dist/spw-stencil-library/{p-c84743b7.entry.js → p-97c81dd9.entry.js} +1 -1
  499. package/dist/spw-stencil-library/{p-218ae66c.entry.js → p-9eef1265.entry.js} +1 -1
  500. package/dist/spw-stencil-library/p-BRFNx2DL.js +1 -0
  501. package/dist/spw-stencil-library/p-BvJ4Kko5.js +2 -0
  502. package/dist/spw-stencil-library/p-a3176800.entry.js +1 -0
  503. package/dist/spw-stencil-library/{p-21ac7e70.entry.js → p-a3c881c8.entry.js} +1 -1
  504. package/dist/spw-stencil-library/{p-6ac1cfdb.entry.js → p-a3ee7134.entry.js} +1 -1
  505. package/dist/spw-stencil-library/p-a6250c87.entry.js +1 -0
  506. package/dist/spw-stencil-library/{p-ef377fc3.entry.js → p-a6fb9fd7.entry.js} +1 -1
  507. package/dist/spw-stencil-library/p-aba5a50e.entry.js +1 -0
  508. package/dist/spw-stencil-library/p-ada5d5c1.entry.js +1 -0
  509. package/dist/spw-stencil-library/{p-fb0820ba.entry.js → p-ae28e3c0.entry.js} +1 -1
  510. package/dist/spw-stencil-library/p-b02ea898.entry.js +1 -0
  511. package/dist/spw-stencil-library/{p-bef41011.entry.js → p-b04edce9.entry.js} +1 -1
  512. package/dist/spw-stencil-library/{p-335b9ec2.entry.js → p-b106fb83.entry.js} +1 -1
  513. package/dist/spw-stencil-library/{p-9911694d.entry.js → p-bc45cc77.entry.js} +1 -1
  514. package/dist/spw-stencil-library/{p-6b8ad6ec.entry.js → p-c319b12a.entry.js} +1 -1
  515. package/dist/spw-stencil-library/{p-ce6499ac.entry.js → p-c3fcebbb.entry.js} +1 -1
  516. package/dist/spw-stencil-library/{p-fd8ae317.entry.js → p-c44b2b7a.entry.js} +1 -1
  517. package/dist/spw-stencil-library/{p-bc6051f9.entry.js → p-c8b2eba5.entry.js} +1 -1
  518. package/dist/spw-stencil-library/{p-428c33de.entry.js → p-cf452afb.entry.js} +1 -1
  519. package/dist/spw-stencil-library/{p-326f87ff.entry.js → p-d9d9f6e6.entry.js} +1 -1
  520. package/dist/spw-stencil-library/p-da114b29.entry.js +1 -0
  521. package/dist/spw-stencil-library/p-de825095.entry.js +1 -0
  522. package/dist/spw-stencil-library/{p-a77de6f3.entry.js → p-e0ce83c2.entry.js} +1 -1
  523. package/dist/spw-stencil-library/{p-c9cb2441.entry.js → p-e838ba61.entry.js} +1 -1
  524. package/dist/spw-stencil-library/{p-acd69768.entry.js → p-ecf926b0.entry.js} +1 -1
  525. package/dist/spw-stencil-library/{p-1a85816b.entry.js → p-eeacd7b2.entry.js} +1 -1
  526. package/dist/spw-stencil-library/{p-bb50f1c6.entry.js → p-f194ab4b.entry.js} +1 -1
  527. package/dist/spw-stencil-library/{p-e53ff9dd.entry.js → p-f1baf303.entry.js} +1 -1
  528. package/dist/spw-stencil-library/p-f1ecd17e.entry.js +1 -0
  529. package/dist/spw-stencil-library/{p-b82b3af6.entry.js → p-f20b2da0.entry.js} +1 -1
  530. package/dist/spw-stencil-library/{p-7d0fb1fc.entry.js → p-f2b58e55.entry.js} +1 -1
  531. package/dist/spw-stencil-library/{p-53b60fa8.entry.js → p-f5d2d168.entry.js} +1 -1
  532. package/dist/spw-stencil-library/p-f69182ff.entry.js +1 -0
  533. package/dist/spw-stencil-library/{p-f5b3255d.entry.js → p-f898a06d.entry.js} +1 -1
  534. package/dist/spw-stencil-library/{p-6c67f42e.entry.js → p-fab8c92f.entry.js} +1 -1
  535. package/dist/spw-stencil-library/{p-33b37c7f.entry.js → p-fc96be97.entry.js} +1 -1
  536. package/dist/spw-stencil-library/{p-3694301c.entry.js → p-fd564976.entry.js} +1 -1
  537. package/dist/spw-stencil-library/{p-39cae775.entry.js → p-ff289cc8.entry.js} +1 -1
  538. package/dist/spw-stencil-library/{p-c7f64bb6.entry.js → p-ffe7898a.entry.js} +1 -1
  539. package/dist/spw-stencil-library/spw-stencil-library.css +4 -4
  540. package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
  541. package/dist/stats.json +12396 -9103
  542. package/dist/types/components/spw-box/spw-box.d.ts +25 -0
  543. package/dist/types/components/spw-card/spw-card-image/spw-card-image.d.ts +2 -0
  544. package/dist/types/components/spw-card/spw-card.d.ts +1 -1
  545. package/dist/types/components/spw-custom-select/spw-custom-select.d.ts +12 -1
  546. package/dist/types/components/spw-date-picker/spw-date-picker.d.ts +1 -1
  547. package/dist/types/components/spw-footer/spw-footer-content-col/spw-footer-content-col.d.ts +2 -0
  548. package/dist/types/components/spw-grid/spw-grid.d.ts +2 -0
  549. package/dist/types/components/spw-header/spw-header.d.ts +2 -0
  550. package/dist/types/components/spw-hero/spw-hero.d.ts +9 -1
  551. package/dist/types/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.d.ts +39 -0
  552. package/dist/types/components/spw-lightbox/spw-lightbox.d.ts +72 -0
  553. package/dist/types/components/spw-search-field/spw-search-field.d.ts +7 -1
  554. package/dist/types/components/spw-select/spw-select.d.ts +1 -1
  555. package/dist/types/components/spw-slider/spw-slider.d.ts +17 -0
  556. package/dist/types/components/spw-text-field/spw-text-field.d.ts +6 -1
  557. package/dist/types/components/spw-textarea/spw-textarea.d.ts +1 -1
  558. package/dist/types/components.d.ts +554 -18
  559. package/dist/types/stories/components/spw-box/spw-box.stories.d.ts +10 -0
  560. package/dist/types/stories/components/spw-custom-select/spw-custom-select.stories.d.ts +1 -0
  561. package/dist/types/stories/organisms/spw-card/spw-card.stories.d.ts +2 -1
  562. package/dist/types/stories/organisms/spw-hero/spw-hero.stories.d.ts +3 -0
  563. package/dist/types/stories/organisms/spw-lightbox/spw-lightbox.stories.d.ts +16 -0
  564. package/dist/types/stories/organisms/spw-slider/spw-slider.stories.d.ts +8 -1
  565. package/hydrate/index.js +798 -188
  566. package/hydrate/index.mjs +798 -188
  567. package/package.json +1 -1
  568. package/dist/cjs/index-CX9is0m-.js +0 -3175
  569. package/dist/components/p-BO7xVlWo.js +0 -1
  570. package/dist/components/p-CANbQKSH.js +0 -1
  571. package/dist/components/p-D4YZDvw0.js +0 -1
  572. package/dist/components_vscode.json +0 -4824
  573. package/dist/esm/index-Dk6w7kAO.js +0 -3146
  574. package/dist/spw-stencil-library/p-17891524.entry.js +0 -1
  575. package/dist/spw-stencil-library/p-438fedef.entry.js +0 -1
  576. package/dist/spw-stencil-library/p-5779ce33.entry.js +0 -1
  577. package/dist/spw-stencil-library/p-9397da21.entry.js +0 -1
  578. package/dist/spw-stencil-library/p-9e73b259.entry.js +0 -1
  579. package/dist/spw-stencil-library/p-BO7xVlWo.js +0 -1
  580. package/dist/spw-stencil-library/p-Dk6w7kAO.js +0 -2
  581. package/dist/spw-stencil-library/p-b4391972.entry.js +0 -1
  582. package/dist/spw-stencil-library/p-c452d5b0.entry.js +0 -1
  583. package/dist/spw-stencil-library/p-c8800fc9.entry.js +0 -1
  584. package/dist/spw-stencil-library/p-ce6317dd.entry.js +0 -1
  585. package/dist/spw-stencil-library/p-dd4fe0fb.entry.js +0 -1
  586. package/dist/spw-stencil-library/p-e1b7565b.entry.js +0 -1
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-Dk6w7kAO.js';
1
+ import { r as registerInstance, h, H as Host } from './index-BvJ4Kko5.js';
2
2
 
3
- const spwHeroCss = () => `@charset "UTF-8";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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;--spw-hero-content-max-width:578px;--spw-hero-ratio-picture:initial;--spw-hero-shadow:var(--spw-effect-elevation-5);--spw-hero-radius:12px}.spw-hero{position:relative;overflow:hidden}.spw-hero--has-shadow{box-shadow:var(--spw-hero-shadow)}.spw-hero--has-radius{border-radius:var(--spw-hero-radius)}.spw-hero--surface-dark{color:white}.spw-hero--surface-light{color:var(--spw-color-themes-grey-grey-900)}.spw-hero--grey{background:var(--spw-color-themes-grey-grey-100)}.spw-hero--white{background:white}.spw-hero--grey,.spw-hero--white{display:flex;flex-direction:column;padding:24px;gap:24px}@media (min-width: 1024px){.spw-hero--grey,.spw-hero--white{padding:64px;gap:48px;flex-direction:row;align-items:center}}.spw-hero--has-picture-full{padding:0;gap:0}.spw-hero.spw-hero--grey.spw-hero--left,.spw-hero.spw-hero--white.spw-hero--left{flex-direction:column}@media (min-width: 1024px){.spw-hero.spw-hero--grey.spw-hero--left,.spw-hero.spw-hero--white.spw-hero--left{flex-direction:row-reverse}}.spw-hero__container{display:flex;position:relative;margin:0 auto;z-index:3;padding-left:0;padding-right:0}.spw-hero--photo .spw-hero__container{padding:48px 24px}@media (min-width: 1024px){.spw-hero--photo .spw-hero__container{padding:64px}}.spw-hero--has-picture-full .spw-hero__container{padding:24px}@media (min-width: 1024px){.spw-hero--has-picture-full .spw-hero__container{padding:80px 48px}}@media (min-width: 1024px){.spw-hero--has-picture-full.spw-hero--left .spw-hero__container{padding-left:calc(50% + 48px)}}@media (min-width: 1024px){.spw-hero--has-picture-full.spw-hero--right .spw-hero__container{padding-right:calc(50% + 48px)}}.spw-hero--maxi .spw-hero__container{padding:80px 24px}@media (min-width: 1024px){.spw-hero--maxi .spw-hero__container{padding:148px 24px}}.spw-hero--left .spw-hero__container{justify-content:flex-start}.spw-hero--center .spw-hero__container{justify-content:center}.spw-hero--right .spw-hero__container{justify-content:flex-end}.spw-hero__overlay,.spw-hero__image{position:absolute;width:100%;height:100%;left:0;top:0}.spw-hero__overlay{z-index:2;pointer-events:none}.spw-hero--surface-dark .spw-hero__overlay{background:var(--spw-color-themes-grey-grey-900)}.spw-hero--surface-light .spw-hero__overlay{background:white}.spw-hero__image-play{z-index:2;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);background:white;color:var(--spw-ds-primary);box-shadow:var(--spw-effect-elevation-5);width:64px;height:64px;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:24px;transition:all 0.3s ease;cursor:pointer}.spw-hero__image-play:hover{transform:translate(-50%, -50%) scale(1.1)}.spw-hero__image{z-index:1;overflow:hidden}.spw-hero__image img{width:100%;height:100%;object-fit:cover;display:block}.spw-hero--has-video .spw-hero__image{z-index:4}.spw-hero--white .spw-hero__image,.spw-hero--grey .spw-hero__image{display:block;position:relative;aspect-ratio:var(--spw-hero-ratio-picture);width:100%;border-radius:6px}@media (min-width: 1024px){.spw-hero--white .spw-hero__image,.spw-hero--grey .spw-hero__image{max-width:435px}}.spw-hero--has-picture-full .spw-hero__image{display:block;position:relative;aspect-ratio:var(--spw-hero-ratio-picture);width:100%;border-radius:6px}@media (min-width: 1024px){.spw-hero--has-picture-full .spw-hero__image{position:absolute;max-width:50%}}.spw-hero--has-picture-full.spw-hero--right .spw-hero__image{border-radius:0}@media (min-width: 1024px){.spw-hero--has-picture-full.spw-hero--right .spw-hero__image{right:0;left:auto}}.spw-hero--has-picture-full.spw-hero--left .spw-hero__image{border-radius:0}.spw-hero--has-picture-full.spw-hero--right.spw-hero--has-radius .spw-hero__image{border-bottom-right-radius:0;border-bottom-left-radius:0}@media (min-width: 1024px){.spw-hero--has-picture-full.spw-hero--right.spw-hero--has-radius .spw-hero__image{border-top-left-radius:0;border-bottom-left-radius:0}}.spw-hero--has-picture-full.spw-hero--left.spw-hero--has-radius .spw-hero__image{border-bottom-right-radius:0;border-bottom-left-radius:0}@media (min-width: 1024px){.spw-hero--has-picture-full.spw-hero--left.spw-hero--has-radius .spw-hero__image{border-top-right-radius:0;border-bottom-right-radius:0}}.spw-hero__copyright{position:absolute;bottom:8px;right:8px;z-index:3}.spw-hero__content{width:100%}@media (min-width: 1024px){.spw-hero__content{max-width:var(--spw-hero-content-max-width)}}.spw-hero--maxi .spw-hero__content{--spw-hero-content-max-width:784px;margin:0 auto;text-align:center}.spw-hero--photo .spw-hero__content{padding:32px;background-color:var(--spw-ds-white);border-radius:8px;box-shadow:var(--spw-effect-elevation-8)}.spw-hero--mini.spw-hero--surface-light .spw-hero__content,.spw-hero--mini.spw-hero--surface-light .spw-hero__image{background-color:var(--spw-color-themes-grey-grey-100)}.spw-hero--mini.spw-hero--surface-dark .spw-hero__content,.spw-hero--mini.spw-hero--surface-dark .spw-hero__image{background-color:var(--spw-ds-primary)}.spw-hero--mini .spw-hero__image{width:calc(100% - 280px);left:280px;height:100%}@media (min-width: 768px){.spw-hero--mini .spw-hero__image{width:calc(100% - 400px);left:400px}}.spw-hero--mini .spw-hero__image img{border-top-left-radius:900px}.spw-hero--mini .spw-hero__content{position:relative;z-index:3;width:280px;padding:24px;padding-top:48px;border-radius:0}@media (min-width: 768px){.spw-hero--mini .spw-hero__content{padding:32px;padding-top:64px;width:400px}}.spw-hero--mini.spw-hero--no-picture .spw-hero__content{width:100%;max-width:100%}`;
3
+ const spwHeroCss = () => `@charset "UTF-8";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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;--spw-hero-content-max-width:578px;--spw-hero-ratio-picture:initial;--spw-hero-shadow:var(--spw-effect-elevation-5);--spw-hero-radius:12px;--spw-hero-featured-ratio-mobile:initial;--spw-hero-featured-ratio-tablet:initial;--spw-hero-featured-ratio-desktop:initial}.spw-hero{position:relative;overflow:hidden}.spw-hero--has-shadow{box-shadow:var(--spw-hero-shadow)}.spw-hero--has-radius{border-radius:var(--spw-hero-radius)}.spw-hero--surface-dark{color:white}.spw-hero--surface-light{color:var(--spw-color-themes-grey-grey-900)}.spw-hero--grey{background:var(--spw-color-themes-grey-grey-100)}.spw-hero--white{background:white}.spw-hero--grey,.spw-hero--white{display:flex;flex-direction:column;padding:24px;gap:24px}@media (min-width: 1024px){.spw-hero--grey,.spw-hero--white{padding:64px;gap:48px;flex-direction:row;align-items:center}}.spw-hero--has-picture-full{padding:0;gap:0}.spw-hero.spw-hero--grey.spw-hero--left,.spw-hero.spw-hero--white.spw-hero--left{flex-direction:column}@media (min-width: 1024px){.spw-hero.spw-hero--grey.spw-hero--left,.spw-hero.spw-hero--white.spw-hero--left{flex-direction:row-reverse}}.spw-hero__container{display:flex;position:relative;margin:0 auto;z-index:3;padding-left:0;padding-right:0}.spw-hero--photo .spw-hero__container{padding:48px 24px}@media (min-width: 1024px){.spw-hero--photo .spw-hero__container{padding:64px}}.spw-hero--has-picture-full .spw-hero__container{padding:24px}@media (min-width: 1024px){.spw-hero--has-picture-full .spw-hero__container{padding:80px 48px}}@media (min-width: 1024px){.spw-hero--has-picture-full.spw-hero--left .spw-hero__container{padding-left:calc(50% + 48px)}}@media (min-width: 1024px){.spw-hero--has-picture-full.spw-hero--right .spw-hero__container{padding-right:calc(50% + 48px)}}.spw-hero--maxi .spw-hero__container{padding:80px 24px}@media (min-width: 1024px){.spw-hero--maxi .spw-hero__container{padding:148px 24px}}.spw-hero--left .spw-hero__container{justify-content:flex-start}.spw-hero--center .spw-hero__container{justify-content:center}.spw-hero--right .spw-hero__container{justify-content:flex-end}.spw-hero__overlay,.spw-hero__image{position:absolute;width:100%;height:100%;left:0;top:0}.spw-hero__overlay{z-index:2;pointer-events:none}.spw-hero--surface-dark .spw-hero__overlay{background:var(--spw-color-themes-grey-grey-900)}.spw-hero--surface-light .spw-hero__overlay{background:white}.spw-hero__image-play{z-index:2;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);background:white;color:var(--spw-ds-primary);box-shadow:var(--spw-effect-elevation-5);width:64px;height:64px;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:24px;transition:all 0.3s ease;cursor:pointer}.spw-hero__image-play:hover{transform:translate(-50%, -50%) scale(1.1)}.spw-hero__image{z-index:1;overflow:hidden}.spw-hero__image img{width:100%;height:100%;object-fit:cover;display:block}.spw-hero--has-video .spw-hero__image{z-index:4}.spw-hero--white .spw-hero__image,.spw-hero--grey .spw-hero__image{display:block;position:relative;aspect-ratio:var(--spw-hero-ratio-picture);width:100%;border-radius:6px}@media (min-width: 1024px){.spw-hero--white .spw-hero__image,.spw-hero--grey .spw-hero__image{max-width:435px}}.spw-hero--has-picture-full .spw-hero__image{display:block;position:relative;aspect-ratio:var(--spw-hero-ratio-picture);width:100%;border-radius:6px}@media (min-width: 1024px){.spw-hero--has-picture-full .spw-hero__image{position:absolute;max-width:50%}}.spw-hero--has-picture-full.spw-hero--right .spw-hero__image{border-radius:0}@media (min-width: 1024px){.spw-hero--has-picture-full.spw-hero--right .spw-hero__image{right:0;left:auto}}.spw-hero--has-picture-full.spw-hero--left .spw-hero__image{border-radius:0}.spw-hero--has-picture-full.spw-hero--right.spw-hero--has-radius .spw-hero__image{border-bottom-right-radius:0;border-bottom-left-radius:0}@media (min-width: 1024px){.spw-hero--has-picture-full.spw-hero--right.spw-hero--has-radius .spw-hero__image{border-top-left-radius:0;border-bottom-left-radius:0}}.spw-hero--has-picture-full.spw-hero--left.spw-hero--has-radius .spw-hero__image{border-bottom-right-radius:0;border-bottom-left-radius:0}@media (min-width: 1024px){.spw-hero--has-picture-full.spw-hero--left.spw-hero--has-radius .spw-hero__image{border-top-right-radius:0;border-bottom-right-radius:0}}.spw-hero__copyright{position:absolute;bottom:8px;right:8px;z-index:3}.spw-hero__content{width:100%}@media (min-width: 1024px){.spw-hero__content{max-width:var(--spw-hero-content-max-width)}}.spw-hero--maxi .spw-hero__content{--spw-hero-content-max-width:784px;margin:0 auto;text-align:center}.spw-hero--photo .spw-hero__content{padding:32px;background-color:var(--spw-ds-white);border-radius:8px;box-shadow:var(--spw-effect-elevation-8)}.spw-hero--featured .spw-hero__image{position:relative;width:100%;height:auto}.spw-hero--featured .spw-hero__image img{width:100%;height:auto;display:block}.spw-hero--featured.spw-hero--featured-ratio .spw-hero__image{aspect-ratio:var(--spw-hero-featured-ratio-mobile)}@media (min-width: 768px){.spw-hero--featured.spw-hero--featured-ratio .spw-hero__image{aspect-ratio:var(--spw-hero-featured-ratio-tablet)}}@media (min-width: 1024px){.spw-hero--featured.spw-hero--featured-ratio .spw-hero__image{aspect-ratio:var(--spw-hero-featured-ratio-desktop)}}.spw-hero--featured.spw-hero--featured-ratio .spw-hero__image img{position:absolute;top:0;left:0;height:100%;object-fit:cover}.spw-hero--mini.spw-hero--surface-light .spw-hero__content,.spw-hero--mini.spw-hero--surface-light .spw-hero__image{background-color:var(--spw-color-themes-grey-grey-100)}.spw-hero--mini.spw-hero--surface-dark .spw-hero__content,.spw-hero--mini.spw-hero--surface-dark .spw-hero__image{background-color:var(--spw-ds-primary)}.spw-hero--mini .spw-hero__image{width:calc(100% - 280px);left:280px;height:100%}@media (min-width: 768px){.spw-hero--mini .spw-hero__image{width:calc(100% - 400px);left:400px}}.spw-hero--mini .spw-hero__image img{border-top-left-radius:900px}.spw-hero--mini .spw-hero__content{position:relative;z-index:3;width:280px;padding:24px;padding-top:48px;border-radius:0}@media (min-width: 768px){.spw-hero--mini .spw-hero__content{padding:32px;padding-top:64px;width:400px}}.spw-hero--mini.spw-hero--no-picture .spw-hero__content{width:100%;max-width:100%}`;
4
4
 
5
5
  const SpwHero = class {
6
6
  constructor(hostRef) {
@@ -55,6 +55,7 @@ const SpwHero = class {
55
55
  [`spw-hero--has-shadow`]: this.hasShadow,
56
56
  [`spw-hero--has-radius`]: this.hasRadius,
57
57
  [`spw-hero--${this.variant}`]: true,
58
+ [`spw-hero--featured-ratio`]: this.variant === 'featured' && !!(this.featuredRatio || this.featuredRatioMobile || this.featuredRatioTablet || this.featuredRatioDesktop),
58
59
  [`spw-hero--${this.alignment}`]: this.variant !== 'mini' ? true : this.alignment === 'left',
59
60
  };
60
61
  }
@@ -65,10 +66,25 @@ const SpwHero = class {
65
66
  };
66
67
  }
67
68
  render() {
68
- const contentSlot = (h("div", { key: 'c7f6ee7c999e2352099f9d9de21cbd4a3c4ab9f7', class: "spw-hero__content" }, h("slot", { key: '04dd6c1cabc95756df2335a4845f38998f21d2d4' })));
69
- const copyrightTag = this.copyrightText && (h("spw-tag", { key: '853831d9417e1ff2b666b3f86828c51873a851c4', size: "small", "icon-variant": this.copyrightIconVariant, class: "spw-hero__copyright", icon: this.copyrightIcon, href: this.copyrightHref || undefined, target: this.copyrightHref ? this.copyrightTarget : undefined }, this.copyrightText));
69
+ const contentSlot = (h("div", { key: '3d71b0adb42273714affbb6f8461900d529e231a', class: "spw-hero__content" }, h("slot", { key: '866fca9afc61622c34e6efbbe99cd98e3ee7058f' })));
70
+ const copyrightTag = this.copyrightText && (h("spw-tag", { key: 'e2d987fb30ce11300fa353da115004c3a5d07ce6', size: "small", "icon-variant": this.copyrightIconVariant, class: "spw-hero__copyright", icon: this.copyrightIcon, href: this.copyrightHref || undefined, target: this.copyrightHref ? this.copyrightTarget : undefined }, this.copyrightText));
70
71
  const isImageVariant = this.variant === 'grey' || this.variant === 'white';
71
- return (h(Host, { key: '3f2b280826f39bc5667401816d900f5f63cc0e4b' }, h("div", { key: 'b478696362447d777d37cfd758e969dbb3307b78', class: this.elementClass }, this.imageSrc && (h("div", { key: 'd3015ce890915878370056b15cdf229b9d2f0dd8', class: "spw-hero__image" }, this.hasVideo && this.variant !== 'maxi' && this.variant !== 'photo' && (h("div", { key: '4718d31c41f4d21d0eae92e422c8d9f6038097a7', class: "spw-hero__image-play", onClick: this.triggerModal, onKeyDown: this.handleKeyDown, tabIndex: 0, role: "button", "aria-label": this.accPlayButtonAriaLabel }, h("spw-icon", { key: '6a60813ac7ecfc2c3952b45d7e44d674c0e0b37a', icon: "fa-play" }))), h("div", { key: 'c4a514849854be15c54e89204f9de4525acac7e7', class: "spw-hero__overlay", style: this.overlayStyle }), h("img", { key: '1b7a87c0f62419bfe47affb36329e80f6eefecda', src: this.imageSrc, alt: this.imageAlt, style: this.imagePosition ? { objectPosition: this.imagePosition } : undefined }), isImageVariant && copyrightTag)), this.variant === 'mini' ? contentSlot : h("div", { class: "spw-ds-container spw-hero__container" }, contentSlot), !isImageVariant && copyrightTag)));
72
+ const isFeatured = this.variant === 'featured';
73
+ const featuredStyle = {};
74
+ if (isFeatured) {
75
+ if (this.featuredRatio) {
76
+ featuredStyle['--spw-hero-featured-ratio-mobile'] = this.featuredRatio;
77
+ featuredStyle['--spw-hero-featured-ratio-tablet'] = this.featuredRatio;
78
+ featuredStyle['--spw-hero-featured-ratio-desktop'] = this.featuredRatio;
79
+ }
80
+ if (this.featuredRatioMobile)
81
+ featuredStyle['--spw-hero-featured-ratio-mobile'] = this.featuredRatioMobile;
82
+ if (this.featuredRatioTablet)
83
+ featuredStyle['--spw-hero-featured-ratio-tablet'] = this.featuredRatioTablet;
84
+ if (this.featuredRatioDesktop)
85
+ featuredStyle['--spw-hero-featured-ratio-desktop'] = this.featuredRatioDesktop;
86
+ }
87
+ return (h(Host, { key: 'f4ce920d19685d2f38f04268e22403080497b437', style: featuredStyle }, h("div", { key: '1822787f342842d14fea4d8282e2e40e462bc91d', class: this.elementClass }, this.imageSrc && (h("div", { key: 'cc3175ecff1485f901616b9381c5717c819f7b10', class: "spw-hero__image" }, this.hasVideo && this.variant !== 'maxi' && this.variant !== 'photo' && !isFeatured && (h("div", { key: '0124f42b0589fcecbd51f25ba1bf45e98fbec6a8', class: "spw-hero__image-play", onClick: this.triggerModal, onKeyDown: this.handleKeyDown, tabIndex: 0, role: "button", "aria-label": this.accPlayButtonAriaLabel }, h("spw-icon", { key: '96ce095788e5579c77368d5a5a45b3a0ac3b7b33', icon: "fa-play" }))), h("div", { key: '8d09824419f7d0231a03e9a65687b69aaef7a649', class: "spw-hero__overlay", style: this.overlayStyle }), h("img", { key: '9ca04bbf44e4b9be7a05f9a1f9c95596ccf4588c', src: this.imageSrc, alt: this.imageAlt, style: this.imagePosition ? { objectPosition: this.imagePosition } : undefined }), (isImageVariant || isFeatured) && copyrightTag)), !isFeatured && (this.variant === 'mini' ? contentSlot : h("div", { class: "spw-ds-container spw-hero__container" }, contentSlot)), !isImageVariant && !isFeatured && copyrightTag)));
72
88
  }
73
89
  };
74
90
  SpwHero.style = spwHeroCss();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-Dk6w7kAO.js';
1
+ import { r as registerInstance, h } from './index-BvJ4Kko5.js';
2
2
 
3
3
  const spwIllustrationCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;--spw-ds-illustration-max-width:400px;--spw-ds-illustration-max-height:100%;--spw-ds-illustration-width:100%;--spw-ds-illustration-height:100%}.spw-illustration svg{height:var(--spw-ds-illustration-height);width:var(--spw-ds-illustration-width);max-width:var(--spw-ds-illustration-max-width);max-height:var(--spw-ds-illustration-max-height);margin:0 auto;display:block}`;
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Dk6w7kAO.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BvJ4Kko5.js';
2
2
 
3
3
  const spwInputSliderCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-input-slider{position:relative}.spw-input-slider__field-message{margin-bottom:8px;margin-top:-4px}.spw-input-slider__container{padding:10px 0;position:relative}.spw-input-slider--horizontal .spw-input-slider__container{width:100%;height:20px}.spw-input-slider--vertical .spw-input-slider__container{width:20px;height:300px}.spw-input-slider--disabled{opacity:0.5;cursor:not-allowed}.spw-input-slider--disabled .spw-input-slider__track,.spw-input-slider--disabled .spw-input-slider__handle{cursor:not-allowed}.spw-input-slider__track{position:relative;background-color:#d1d5db;border-radius:4px;cursor:pointer}.spw-input-slider--horizontal .spw-input-slider__track{height:4px;width:100%}.spw-input-slider--vertical .spw-input-slider__track{width:4px;height:100%}.spw-input-slider__range{position:absolute;background-color:var(--spw-ds-primary);border-radius:4px}.spw-input-slider--horizontal .spw-input-slider__range{height:100%}.spw-input-slider--vertical .spw-input-slider__range{width:100%}.spw-input-slider--is-error .spw-input-slider__range{background-color:var(--spw-colors-states-error-error-300)}.spw-input-slider__handle{position:absolute;width:20px;height:20px;background-color:white;border:3px solid var(--spw-ds-primary);border-radius:50%;cursor:grab;transition:transform 0.1s ease, box-shadow 0.2s ease;z-index:2}.spw-input-slider--is-error .spw-input-slider__handle{border-color:var(--spw-colors-states-error-error-300)}.spw-input-slider--horizontal .spw-input-slider__handle{top:50%;transform:translate(-50%, -50%)}.spw-input-slider--vertical .spw-input-slider__handle{left:50%;transform:translate(-50%, 50%)}.spw-input-slider__handle:hover{transform:translate(-50%, -50%) scale(1.1);box-shadow:0 0 0 8px rgba(var(--spw-ds-primary-rgb, 219, 0, 118), 0.1)}.spw-input-slider__handle:active,.spw-input-slider--dragging .spw-input-slider__handle{cursor:grabbing;transform:translate(-50%, -50%) scale(1.15);box-shadow:0 0 0 12px rgba(var(--spw-ds-primary-rgb, 219, 0, 118), 0.15)}.spw-input-slider--vertical .spw-input-slider__handle:hover{transform:translate(-50%, 50%) scale(1.1)}.spw-input-slider--vertical .spw-input-slider__handle:active,.spw-input-slider--vertical.spw-input-slider--dragging .spw-input-slider__handle{transform:translate(-50%, 50%) scale(1.15)}.spw-input-slider__tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background-color:var(--spw-ds-primary);color:white;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:700;white-space:nowrap;pointer-events:none;z-index:10}.spw-input-slider--is-error .spw-input-slider__tooltip{background-color:var(--spw-colors-states-error-error-300)}.spw-input-slider__tooltip::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid var(--spw-ds-primary)}.spw-input-slider--is-error .spw-input-slider__tooltip::after{border-top-color:var(--spw-colors-states-error-error-300)}.spw-input-slider--vertical .spw-input-slider__tooltip{bottom:auto;left:calc(100% + 8px);top:50%;transform:translateY(-50%)}.spw-input-slider--vertical .spw-input-slider__tooltip::after{top:50%;left:auto;right:100%;transform:translateY(-50%);border-left:none;border-top:4px solid transparent;border-bottom:4px solid transparent;border-right:4px solid var(--spw-ds-primary)}.spw-input-slider--is-error .spw-input-slider--vertical .spw-input-slider__tooltip::after{border-right-color:var(--spw-colors-states-error-error-300)}`;
4
4
 
@@ -268,7 +268,7 @@ const SpwInputSlider = class {
268
268
  }
269
269
  render() {
270
270
  const rangeStyle = this.getRangeStyle();
271
- return (h(Host, { key: '217f406c8e3b5b5c4f5913d388fdafea68cd56ed' }, h("div", { key: '491d2ec19b76de95d3cbb76c49405a6a7b57a172', class: this.elementClass }, this.label && (h("spw-field-label", { key: '9e22ea2f8cef0b357ae30c04f6ebeaac644271d4', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '4a04781d4d0e4344b02ff0477342afddfb87bb39', class: "spw-input-slider__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '268fe49b093e49ea2558f27ab57d998972db75bd', class: "spw-input-slider__container" }, h("div", { key: '5130f875a03bfae4d8f9b5e1ac2c5115ef836e36', class: "spw-input-slider__track", ref: el => (this.sliderRef = el), onMouseDown: e => this.handleMouseDown(e, null), onTouchStart: e => this.handleMouseDown(e, null), "aria-label": this.accAriaLabel || this.name || this.label, role: "slider", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": typeof this.internalValue === 'number' ? this.internalValue : undefined, "aria-disabled": this.disabled }, h("div", { key: '19a70a413fecd48ff029edb726aec225bc0afcd7', class: "spw-input-slider__range", style: rangeStyle }), this.range && Array.isArray(this.internalValue) ? ([
271
+ return (h(Host, { key: 'ce7a1bac0112208635812f23c6250263993074ce' }, h("div", { key: 'fae370516945b3a706f71617aa1fd5ab98b885ea', class: this.elementClass }, this.label && (h("spw-field-label", { key: 'c7d5edaeb63d8cb81ee93c44f63071a17d2e8172', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '86b2260f7c3b63f312ee77b23cc4f77e01b483cb', class: "spw-input-slider__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '3ab5eb9c2c60e94e33287dbced5de608bf21ba55', class: "spw-input-slider__container" }, h("div", { key: 'cafcd3db377896465676910cffa2f6a12207cbfe', class: "spw-input-slider__track", ref: el => (this.sliderRef = el), onMouseDown: e => this.handleMouseDown(e, null), onTouchStart: e => this.handleMouseDown(e, null), "aria-label": this.accAriaLabel || this.name || this.label, role: "slider", "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": typeof this.internalValue === 'number' ? this.internalValue : undefined, "aria-disabled": this.disabled }, h("div", { key: '9aedd9b66a22fce636efacb0aba514c1cad755af', class: "spw-input-slider__range", style: rangeStyle }), this.range && Array.isArray(this.internalValue) ? ([
272
272
  h("div", { key: "handle-min", class: "spw-input-slider__handle spw-input-slider__handle--min", style: this.orientation === 'horizontal'
273
273
  ? { left: `${this.getHandlePosition(this.internalValue[0])}%` }
274
274
  : { bottom: `${this.getHandlePosition(this.internalValue[0])}%` }, onMouseDown: e => this.handleMouseDown(e, 'min'), onTouchStart: e => this.handleMouseDown(e, 'min') }, this.hasTooltip && h("div", { class: "spw-input-slider__tooltip" }, this.internalValue[0])),
@@ -0,0 +1,53 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BvJ4Kko5.js';
2
+
3
+ const spwLightboxItemCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block;cursor:pointer;border-radius:4px;outline:none;height:100%}.spw-lightbox-item__wrapper{position:relative;width:100%;height:100%;overflow:hidden;border-radius:4px}.spw-lightbox-item__wrapper:focus-visible{outline:3px solid #fff;outline-offset:-1px;box-shadow:0 0 0 5px #000}.spw-lightbox-item__img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity 0.15s}::slotted(img){display:block;width:100%;height:100%;object-fit:cover}.spw-lightbox-item__wrapper--hoverable{transition:box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out}.spw-lightbox-item__wrapper--hoverable:hover{box-shadow:var(--spw-effect-elevation-4);transform:translateY(-5px)}.spw-lightbox-item__hover-overlay{position:absolute;z-index:2;display:flex;visibility:hidden;top:0;left:0;width:100%;height:100%;color:white;justify-content:center;align-items:center;opacity:0;transition:all 0.3s ease}.spw-lightbox-item__hover-overlay:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:black;opacity:0.4}.spw-lightbox-item__hover-overlay spw-icon{position:relative;z-index:1;font-size:30px;font-weight:300;transform:scale(1.5);transition:all 0.3s ease}:host(:hover) .spw-lightbox-item__hover-overlay{visibility:visible;opacity:1}:host(:hover) .spw-lightbox-item__hover-overlay spw-icon{transform:scale(1)}`;
4
+
5
+ const SpwLightboxItem = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.spwLightboxItemClick = createEvent(this, "spwLightboxItemClick", 7);
9
+ /** Texte alternatif de l'image */
10
+ this.alt = '';
11
+ /** Icône Font Awesome du copyright */
12
+ this.copyrightIcon = 'fa-copyright';
13
+ /** Permet de spécifier une variante de Font Awesome pour l'icône de copyright */
14
+ this.copyrightIconVariant = 'fa-light';
15
+ /** Target du lien du copyright */
16
+ this.copyrightTarget = '_blank';
17
+ /** Texte du label aria du bouton déclencheur */
18
+ this.textOpenImage = "Ouvrir l'image";
19
+ /** Affiche une icône de loupe en superposition au survol */
20
+ this.isHover = true;
21
+ /** Icône affichée au survol de l'image (référence Font Awesome) */
22
+ this.hoverIcon = 'fa-magnifying-glass';
23
+ }
24
+ getIndex() {
25
+ const parent = this.hostElement.closest('spw-lightbox');
26
+ if (!parent)
27
+ return 0;
28
+ const siblings = Array.from(parent.querySelectorAll('spw-lightbox-item'));
29
+ return siblings.indexOf(this.hostElement);
30
+ }
31
+ handleClick() {
32
+ this.spwLightboxItemClick.emit({
33
+ src: this.src,
34
+ alt: this.alt,
35
+ captionTitle: this.captionTitle || '',
36
+ captionText: this.captionText || '',
37
+ index: this.getIndex(),
38
+ });
39
+ }
40
+ handleKeydown(event) {
41
+ if (event.key === 'Enter' || event.key === ' ') {
42
+ event.preventDefault();
43
+ this.handleClick();
44
+ }
45
+ }
46
+ render() {
47
+ return (h(Host, { key: 'a1485280ce1d717a812436f5d224c47d318e82dc' }, h("div", { key: '808d96afeecc8dac7f25653eafda50ecac1eada3', class: { 'spw-lightbox-item__wrapper': true, 'spw-lightbox-item__wrapper--hoverable': this.isHover }, role: "button", tabindex: "0", "aria-label": this.alt || this.textOpenImage, onClick: () => this.handleClick(), onKeyDown: (e) => this.handleKeydown(e) }, h("slot", { key: 'eba2c8bfa1597e4cb48cd444840448c7e1389913' }, h("img", { key: '62b551ff93e925616db814771c778ae532c6a8e3', class: "spw-lightbox-item__img", src: this.src, alt: this.alt, loading: "lazy" })), this.isHover && (h("div", { key: '15639999fb71f18bbb728ae3a8245db9a9b495cd', class: "spw-lightbox-item__hover-overlay" }, h("spw-icon", { key: '21e91249bfa31456acdfd6756a27dce43014fec3', icon: this.hoverIcon }))))));
48
+ }
49
+ get hostElement() { return getElement(this); }
50
+ };
51
+ SpwLightboxItem.style = spwLightboxItemCss();
52
+
53
+ export { SpwLightboxItem as spw_lightbox_item };
@@ -0,0 +1,247 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BvJ4Kko5.js';
2
+ import { a as animationTo, K as KEYFRAMES } from './animation-BRFNx2DL.js';
3
+
4
+ const spwLightboxCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:contents}:host>div:first-child{display:contents}.spw-lightbox{display:none;position:fixed;inset:0;z-index:1070;align-items:center;justify-content:center}.spw-lightbox--opened{display:flex}.spw-lightbox__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.68);backdrop-filter:blur(9.5px);cursor:pointer}.spw-lightbox__container{position:relative;z-index:1;display:flex;flex-direction:column;width:100%;max-width:1200px;height:100dvh;padding:0 16px 16px;box-sizing:border-box;gap:12px;pointer-events:none}.spw-lightbox__container>*{pointer-events:auto}.spw-lightbox__toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 0 0;color:#fff;pointer-events:none}.spw-lightbox__toolbar>*{pointer-events:auto}.spw-lightbox__counter{font-size:14px;opacity:0.8}.spw-lightbox__close{cursor:pointer;font-size:14px;display:inline-flex;align-items:center;flex-wrap:nowrap;justify-content:center;padding:3px 6px;border-radius:4px;outline:3px solid transparent}.spw-lightbox__close:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #000}.spw-lightbox__close spw-link{--spw-link-color:#fff;--spw-link-hover-color:#fff;--spw-link-active-color:#fff;--spw-link-wrap:nowrap;pointer-events:none}.spw-lightbox__stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;gap:12px;pointer-events:none}.spw-lightbox__stage>*{pointer-events:auto}@media (min-width: 1024px){.spw-lightbox__stage{gap:36px}}.spw-lightbox__image-wrapper{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;overflow:hidden}.spw-lightbox__image-frame{position:relative;display:inline-flex;max-width:100%;max-height:80vh;border-radius:16px;overflow:hidden}.spw-lightbox__image{display:block;min-width:0;min-height:0;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:cover;border-radius:16px}.spw-lightbox__nav{flex-shrink:0}@media (max-width: 767px){.spw-lightbox__nav{display:none}}.spw-lightbox__caption{position:absolute;bottom:0;left:0;width:100%;padding:24px;padding-top:10%;box-sizing:border-box;background:linear-gradient(to bottom, transparent, rgb(0, 0, 0));display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:16px;pointer-events:none;border-radius:0 0 4px 4px}.spw-lightbox__caption-content{display:flex;flex-direction:column;gap:4px;min-width:0}.spw-lightbox__caption-title{display:block;color:#fff;font-size:16px;font-weight:700;line-height:1.3}.spw-lightbox__caption-text{display:block;color:rgba(255, 255, 255, 0.85);font-size:14px;line-height:1.5}.spw-lightbox__copyright{flex-shrink:0;pointer-events:all}.spw-lightbox__thumbnails{display:flex;justify-content:safe center;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:4px;scrollbar-width:none;pointer-events:none}.spw-lightbox__thumbnails>*{pointer-events:auto}.spw-lightbox__thumbnails::-webkit-scrollbar{display:none}.spw-lightbox__thumb{width:56px;height:56px;padding:0;border:2px solid transparent;border-radius:4px;overflow:hidden;cursor:pointer;background:none;transition:border-color 0.15s, opacity 0.15s;opacity:0.5;flex-shrink:0}.spw-lightbox__thumb img{width:100%;height:100%;object-fit:cover;display:block}.spw-lightbox__thumb--active{border-color:#fff;opacity:1}.spw-lightbox__thumb:hover{opacity:0.85}.spw-lightbox__thumb:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #000}`;
5
+
6
+ const SpwLightbox = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.spwLightboxOpen = createEvent(this, "spwLightboxOpen", 7);
10
+ this.spwLightboxClose = createEvent(this, "spwLightboxClose", 7);
11
+ /** Texte du bouton de fermeture */
12
+ this.closeButtonText = 'Fermer';
13
+ /** Indique si la fermeture est possible en cliquant sur le backdrop */
14
+ this.closeOnBackdropClick = true;
15
+ /** Affiche ou masque la galerie de miniatures sous l'image principale */
16
+ this.showThumbnails = true;
17
+ // Textes customisables
18
+ /** Label aria de la dialog */
19
+ this.textDialogLabel = "Galerie d'images";
20
+ /** Label aria du bouton image précédente */
21
+ this.textPrevious = 'Image précédente';
22
+ /** Label aria du bouton image suivante */
23
+ this.textNext = 'Image suivante';
24
+ /** Label aria de la liste de miniatures */
25
+ this.textThumbnailsLabel = 'Miniatures';
26
+ /** Label aria d'une miniature (utiliser {index} comme placeholder) */
27
+ this.textThumbnailItem = 'Image {index}';
28
+ this.opened = false;
29
+ this.activeIndex = 0;
30
+ this.items = [];
31
+ this.previouslyFocusedElement = null;
32
+ this.currentAnimation = null;
33
+ this.swipeStartX = 0;
34
+ this.swipeStartY = 0;
35
+ this.isSwiping = false;
36
+ this.SWIPE_THRESHOLD = 50;
37
+ this.handleItemClick = (event) => {
38
+ var _a;
39
+ this.collectItems();
40
+ this.activeIndex = (_a = event.detail.index) !== null && _a !== void 0 ? _a : 0;
41
+ this.opened = true;
42
+ };
43
+ this.handleKeydown = (event) => {
44
+ if (!this.opened)
45
+ return;
46
+ switch (event.key) {
47
+ case 'Escape':
48
+ this.doClose();
49
+ break;
50
+ case 'ArrowRight':
51
+ case 'ArrowDown':
52
+ event.preventDefault();
53
+ this.navigate(1);
54
+ break;
55
+ case 'ArrowLeft':
56
+ case 'ArrowUp':
57
+ event.preventDefault();
58
+ this.navigate(-1);
59
+ break;
60
+ }
61
+ };
62
+ this.handleTouchStart = (event) => {
63
+ this.swipeStartX = event.touches[0].clientX;
64
+ this.swipeStartY = event.touches[0].clientY;
65
+ this.isSwiping = true;
66
+ };
67
+ this.handleTouchMove = (event) => {
68
+ if (!this.isSwiping)
69
+ return;
70
+ const dx = event.touches[0].clientX - this.swipeStartX;
71
+ const dy = event.touches[0].clientY - this.swipeStartY;
72
+ if (Math.abs(dx) > Math.abs(dy)) {
73
+ event.preventDefault();
74
+ }
75
+ };
76
+ this.handleTouchEnd = (event) => {
77
+ if (!this.isSwiping)
78
+ return;
79
+ const dx = this.swipeStartX - event.changedTouches[0].clientX;
80
+ if (Math.abs(dx) >= this.SWIPE_THRESHOLD) {
81
+ this.navigate(dx > 0 ? 1 : -1);
82
+ }
83
+ this.isSwiping = false;
84
+ };
85
+ }
86
+ componentDidLoad() {
87
+ window.addEventListener('keydown', this.handleKeydown);
88
+ this.hostElement.addEventListener('spwLightboxItemClick', this.handleItemClick);
89
+ this.imageWrapperEl.addEventListener('touchstart', this.handleTouchStart, { passive: true });
90
+ this.imageWrapperEl.addEventListener('touchmove', this.handleTouchMove, { passive: false });
91
+ this.imageWrapperEl.addEventListener('touchend', this.handleTouchEnd);
92
+ }
93
+ disconnectedCallback() {
94
+ var _a, _b, _c;
95
+ window.removeEventListener('keydown', this.handleKeydown);
96
+ this.hostElement.removeEventListener('spwLightboxItemClick', this.handleItemClick);
97
+ (_a = this.imageWrapperEl) === null || _a === void 0 ? void 0 : _a.removeEventListener('touchstart', this.handleTouchStart);
98
+ (_b = this.imageWrapperEl) === null || _b === void 0 ? void 0 : _b.removeEventListener('touchmove', this.handleTouchMove);
99
+ (_c = this.imageWrapperEl) === null || _c === void 0 ? void 0 : _c.removeEventListener('touchend', this.handleTouchEnd);
100
+ document.body.style.overflow = '';
101
+ }
102
+ async open(index = 0) {
103
+ this.collectItems();
104
+ this.activeIndex = index;
105
+ this.opened = true;
106
+ }
107
+ async close() {
108
+ this.doClose();
109
+ }
110
+ onOpenedChange(newValue) {
111
+ if (newValue) {
112
+ this.onOpen();
113
+ }
114
+ else {
115
+ this.onClose();
116
+ }
117
+ }
118
+ collectItems() {
119
+ const lightboxItems = this.hostElement.querySelectorAll(`spw-lightbox-item`);
120
+ this.items = Array.from(lightboxItems).map(el => ({
121
+ src: el.getAttribute('src') || '',
122
+ alt: el.getAttribute('alt') || '',
123
+ captionTitle: el.getAttribute('caption-title') || '',
124
+ captionText: el.getAttribute('caption-text') || '',
125
+ copyrightText: el.getAttribute('copyright-text') || '',
126
+ copyrightIcon: el.getAttribute('copyright-icon') || 'fa-copyright',
127
+ copyrightIconVariant: el.getAttribute('copyright-icon-variant') || 'fa-light',
128
+ copyrightHref: el.getAttribute('copyright-href') || '',
129
+ copyrightTarget: el.getAttribute('copyright-target') || '_blank',
130
+ }));
131
+ }
132
+ cancelCurrentAnimation() {
133
+ if (this.currentAnimation) {
134
+ this.currentAnimation.cancel();
135
+ this.currentAnimation = null;
136
+ }
137
+ }
138
+ scrollToActiveThumbnail() {
139
+ if (!this.thumbnailsEl)
140
+ return;
141
+ const thumb = this.thumbnailsEl.querySelectorAll('.spw-lightbox__thumb')[this.activeIndex];
142
+ thumb === null || thumb === void 0 ? void 0 : thumb.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'center' });
143
+ }
144
+ onOpen() {
145
+ var _a;
146
+ this.cancelCurrentAnimation();
147
+ this.previouslyFocusedElement = document.activeElement;
148
+ document.body.style.overflow = 'hidden';
149
+ try {
150
+ this.currentAnimation = animationTo(this.lightboxContainer, KEYFRAMES.fadeIn, { duration: 200 });
151
+ this.currentAnimation.addEventListener('finish', () => {
152
+ var _a;
153
+ this.currentAnimation = null;
154
+ (_a = this.closeButtonEl) === null || _a === void 0 ? void 0 : _a.focus();
155
+ this.scrollToActiveThumbnail();
156
+ this.spwLightboxOpen.emit({ index: this.activeIndex });
157
+ });
158
+ }
159
+ catch (_b) {
160
+ this.currentAnimation = null;
161
+ (_a = this.closeButtonEl) === null || _a === void 0 ? void 0 : _a.focus();
162
+ this.scrollToActiveThumbnail();
163
+ this.spwLightboxOpen.emit({ index: this.activeIndex });
164
+ }
165
+ }
166
+ onClose() {
167
+ var _a;
168
+ this.cancelCurrentAnimation();
169
+ document.body.style.overflow = '';
170
+ try {
171
+ this.currentAnimation = animationTo(this.lightboxContainer, KEYFRAMES.fadeOut, { duration: 200 });
172
+ this.currentAnimation.addEventListener('finish', () => {
173
+ var _a;
174
+ this.currentAnimation = null;
175
+ (_a = this.previouslyFocusedElement) === null || _a === void 0 ? void 0 : _a.focus();
176
+ this.spwLightboxClose.emit();
177
+ });
178
+ }
179
+ catch (_b) {
180
+ this.currentAnimation = null;
181
+ (_a = this.previouslyFocusedElement) === null || _a === void 0 ? void 0 : _a.focus();
182
+ this.spwLightboxClose.emit();
183
+ }
184
+ }
185
+ doClose() {
186
+ this.opened = false;
187
+ }
188
+ handleFocusTrap(event) {
189
+ var _a, _b;
190
+ if (!this.opened || event.key !== 'Tab')
191
+ return;
192
+ const focusable = (_a = this.hostElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('button:not([disabled]), [tabindex]:not([tabindex="-1"])');
193
+ if (!focusable || focusable.length === 0)
194
+ return;
195
+ const first = focusable[0];
196
+ const last = focusable[focusable.length - 1];
197
+ const active = (_b = this.hostElement.shadowRoot) === null || _b === void 0 ? void 0 : _b.activeElement;
198
+ if (event.shiftKey) {
199
+ if (active === first) {
200
+ event.preventDefault();
201
+ last === null || last === void 0 ? void 0 : last.focus();
202
+ }
203
+ }
204
+ else {
205
+ if (active === last) {
206
+ event.preventDefault();
207
+ first === null || first === void 0 ? void 0 : first.focus();
208
+ }
209
+ }
210
+ }
211
+ navigate(direction) {
212
+ if (this.items.length <= 1)
213
+ return;
214
+ this.activeIndex = (this.activeIndex + direction + this.items.length) % this.items.length;
215
+ }
216
+ onActiveIndexChange() {
217
+ this.scrollToActiveThumbnail();
218
+ }
219
+ handleBackdropClick() {
220
+ if (this.closeOnBackdropClick) {
221
+ this.doClose();
222
+ }
223
+ }
224
+ get activeItem() {
225
+ var _a;
226
+ return (_a = this.items[this.activeIndex]) !== null && _a !== void 0 ? _a : null;
227
+ }
228
+ render() {
229
+ const { opened, activeItem, items, activeIndex } = this;
230
+ return (h(Host, { key: '82f09859f985e2ced84a3c23a6d9556d23fdfac3' }, h("div", { key: '07ccb0969c57164634b593244e7bdbbd77624118', inert: opened || undefined }, h("slot", { key: '703697fe06bb4e35233b45af1440333ed2907eef' })), h("div", { key: '83f8fc36eff6467eb93bfff20c7a985e8707fe20', ref: el => (this.lightboxContainer = el), class: { 'spw-lightbox': true, 'spw-lightbox--opened': opened }, role: "dialog", "aria-modal": "true", "aria-label": this.textDialogLabel }, h("div", { key: '010c22cfc2d327f22e939ddf64927f4e9d080c2b', class: "spw-lightbox__backdrop", onClick: () => this.handleBackdropClick(), "aria-hidden": "true" }), h("div", { key: '7bb393d0aac7d026fd67846ce70eef245de6d62f', class: "spw-lightbox__container" }, h("div", { key: '3cfad6891f1f3dbf61ac3873bbb59b0539e017c2', class: "spw-lightbox__toolbar" }, h("span", { key: 'a629606363df7d34e622f66fea4c9c4f3b540360', class: "spw-lightbox__counter", "aria-live": "polite" }, items.length > 0 ? `${activeIndex + 1} / ${items.length}` : ''), h("div", { key: '6f7dccb6fc628d76469b2acd370d15a78cecf91d', ref: el => (this.closeButtonEl = el), class: "spw-lightbox__close", tabIndex: 0, role: "button", onClick: () => this.doClose(), onKeyDown: (e) => {
231
+ if (e.key === 'Enter' || e.key === ' ')
232
+ this.doClose();
233
+ } }, h("spw-link", { key: 'eec6d31fb305140765ef0c6642072b6908b9f847', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText))), h("div", { key: '82ee2aad1c7cb153ca077bf83c00c8684bd54314', class: "spw-lightbox__stage" }, items.length > 1 && (h("spw-button", { key: '726defc5d1930802c24c94cbc0aa6cd659426e1d', class: "spw-lightbox__nav spw-lightbox__nav--prev", "is-icon-only": true, icon: "fa-chevron-left", "acc-aria-label": this.textPrevious, variant: "secondary", onClick: () => this.navigate(-1) })), h("div", { key: '6f7582b0733bd3091cbafd9a0c07c1d86184668c', class: "spw-lightbox__image-wrapper", ref: el => (this.imageWrapperEl = el) }, activeItem && (h("div", { key: 'be5aa3822872fab8608a225ebd526c71f52e7c37', class: "spw-lightbox__image-frame" }, h("img", { class: "spw-lightbox__image", src: activeItem.src, alt: activeItem.alt || '', key: activeItem.src }), ((activeItem === null || activeItem === void 0 ? void 0 : activeItem.captionTitle) || (activeItem === null || activeItem === void 0 ? void 0 : activeItem.captionText) || (activeItem === null || activeItem === void 0 ? void 0 : activeItem.copyrightText)) && (h("div", { key: '6bf0226b1ff9741ffb15d0981f17ba61db257e55', class: "spw-lightbox__caption", "aria-live": "polite" }, h("div", { key: '23f6a32908f30dcbd024283013e08760d58a0507', class: "spw-lightbox__caption-content" }, activeItem.captionTitle && h("strong", { key: '90500406e8fefe23f013d581670005d287c00ea6', class: "spw-lightbox__caption-title" }, activeItem.captionTitle), activeItem.captionText && h("span", { key: '5be08c1459ee6c6fa3be9fe8a854d0fc6967288b', class: "spw-lightbox__caption-text" }, activeItem.captionText)), activeItem.copyrightText && (h("spw-tag", { key: '3e1b3bff55708e34ba97a502ac4a65fe5bdd0448', size: "small", "icon-variant": activeItem.copyrightIconVariant, class: "spw-lightbox__copyright", icon: activeItem.copyrightIcon, href: activeItem.copyrightHref || undefined, target: activeItem.copyrightHref ? activeItem.copyrightTarget : undefined }, activeItem.copyrightText))))))), items.length > 1 && (h("spw-button", { key: 'c94feeca844f367c141bb48e23bbdb96f41e9566', class: "spw-lightbox__nav spw-lightbox__nav--next", "is-icon-only": true, icon: "fa-chevron-right", "acc-aria-label": this.textNext, variant: "secondary", onClick: () => this.navigate(1) }))), this.showThumbnails && items.length > 1 && (h("div", { key: 'c06cf2a19b7b64702180ef0303b1cc32bf85151c', class: "spw-lightbox__thumbnails", role: "tablist", "aria-label": this.textThumbnailsLabel, ref: el => (this.thumbnailsEl = el) }, items.map((item, index) => (h("button", { key: item.src, role: "tab", class: { 'spw-lightbox__thumb': true, 'spw-lightbox__thumb--active': index === activeIndex }, onClick: () => (this.activeIndex = index), "aria-selected": String(index === activeIndex), "aria-label": item.alt || this.textThumbnailItem.replace('{index}', String(index + 1)) }, h("img", { src: item.src, alt: item.alt || '', loading: "lazy" }))))))))));
234
+ }
235
+ get hostElement() { return getElement(this); }
236
+ static get watchers() { return {
237
+ "opened": [{
238
+ "onOpenedChange": 0
239
+ }],
240
+ "activeIndex": [{
241
+ "onActiveIndexChange": 0
242
+ }]
243
+ }; }
244
+ };
245
+ SpwLightbox.style = spwLightboxCss();
246
+
247
+ export { SpwLightbox as spw_lightbox };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-Dk6w7kAO.js';
1
+ import { r as registerInstance, h, H as Host } from './index-BvJ4Kko5.js';
2
2
 
3
3
  const spwListDescriptionCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-list-description{margin-top:6px;color:var(--spw-color-themes-grey-grey-800);font-size:16px;line-height:1.25}.spw-list-description--has-clamp{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis}.spw-list-description--clamp-1{-webkit-line-clamp:1;line-clamp:1}.spw-list-description--clamp-2{-webkit-line-clamp:2;line-clamp:2}.spw-list-description--clamp-3{-webkit-line-clamp:3;line-clamp:3}.spw-list-description--clamp-4{-webkit-line-clamp:4;line-clamp:4}.spw-list-description--clamp-5{-webkit-line-clamp:5;line-clamp:5}.spw-list-description--clamp-6{-webkit-line-clamp:6;line-clamp:6}.spw-list-description--clamp-7{-webkit-line-clamp:7;line-clamp:7}.spw-list-description--clamp-8{-webkit-line-clamp:8;line-clamp:8}.spw-list-description--clamp-9{-webkit-line-clamp:9;line-clamp:9}.spw-list-description--clamp-10{-webkit-line-clamp:10;line-clamp:10}`;
4
4
 
@@ -15,7 +15,7 @@ const SpwListDescription = class {
15
15
  };
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '4a5332f1e2d248434476bf4db340c2134b0f4721' }, h("div", { key: '185346b31af0b07cec1053ebab48db7308ecaef4', class: this.elementClass }, h("slot", { key: '3f2719c69ee614f95cec8a489bd72f096d4f36f3' }))));
18
+ return (h(Host, { key: 'b4b72cc7427baab592a63fa96d94648916e15194' }, h("div", { key: '64b8ba560fb842051c84266a987e5784bc69e5a0', class: this.elementClass }, h("slot", { key: 'c104a9a85823c9a6f5d7526f2dd3594816895c16' }))));
19
19
  }
20
20
  };
21
21
  SpwListDescription.style = spwListDescriptionCss();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Dk6w7kAO.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BvJ4Kko5.js';
2
2
 
3
3
  const spwListItemCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:contents}.spw-list-item{position:relative;color:var(--spw-color-themes-grey-grey-900);transition:all 0.3s ease-in-out;text-decoration:none}:host(.--dark) .spw-list-item{color:var(--spw-ds-white)}.spw-list-item a{text-decoration:none}.spw-list-item--icon{padding-left:28px}.spw-list-item__category{display:inline-block;position:relative;margin-bottom:6px;color:var(--spw-ds-primary);font-weight:700;font-size:16px;line-height:1.5}.spw-list-item__category spw-icon{position:absolute;top:2px;left:-28px}.spw-list-item__category--hoverable{cursor:pointer}.spw-list-item__category--hoverable:hover{text-decoration:underline}.spw-list-item ::slotted([slot=buttons]){display:block;margin-top:12px}`;
4
4
 
@@ -110,7 +110,7 @@ const SpwListItem = class {
110
110
  href,
111
111
  target,
112
112
  };
113
- return (h(Host, { key: 'e08ec16f4b29e594e282c629bfafd41b7e5d0953' }, h("li", { key: 'e09d70fbf9097893b8735d775532c763aaafaa0e', role: "listitem", class: this.elementClass }, this.category && (h("span", { key: '363fbf92dfc1a78dcc269b23a641829dc393258f', class: this.elementCatClass, onClick: () => this.handleClick() }, this.categoryIcon && h("spw-icon", { key: '3fe6a5d676289330889559c95182f20e7e664b81', icon: this.categoryIcon }), " ", this.category)), h(TagType, Object.assign({ key: '79053ec58beb7119297937b4a834b2d63e5d1805' }, attrs), h("slot", { key: '510699e74d0c883afc4aab90ec652fc18a0b651a' })), h("slot", { key: '13727b38959a6ee6f3dced49ea3e7a638680008a', name: "buttons" }))));
113
+ return (h(Host, { key: '8c807f37bef2f056b0e5e33031c36e99ee74b3a3' }, h("li", { key: '203903edb02ba2d244b9d9375f24428e459e3a47', role: "listitem", class: this.elementClass }, this.category && (h("span", { key: '80e567a90fe0a06ac2523d74731d0fc607592045', class: this.elementCatClass, onClick: () => this.handleClick() }, this.categoryIcon && h("spw-icon", { key: '2ecb923c0fed03840648777d480f66aea1291fdf', icon: this.categoryIcon }), " ", this.category)), h(TagType, Object.assign({ key: 'e86f4f394260b3a396b1f04a34df4abbc28e55ea' }, attrs), h("slot", { key: '577415c2ea250cad41364c018cbadb192954d994' })), h("slot", { key: '9b1be1bfae9fcd009c8769eb504b2208e7ab82fe', name: "buttons" }))));
114
114
  }
115
115
  get el() { return getElement(this); }
116
116
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-Dk6w7kAO.js';
1
+ import { r as registerInstance, h, H as Host } from './index-BvJ4Kko5.js';
2
2
 
3
3
  const spwListTitleCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-ds-typography,[class*=spw-ds-typography-]{font-family:var(--spw-ds-font-main)}.spw-ds-typography-display-1{font-size:56px;line-height:1.2;font-weight:400}@media (min-width: 1024px){.spw-ds-typography-display-1{font-size:68px;line-height:1.1;font-weight:400}}.spw-ds-typography-display-2{font-size:40px;line-height:1.25;font-weight:400}@media (min-width: 1024px){.spw-ds-typography-display-2{font-size:56px;line-height:1.2;font-weight:400}}.spw-ds-typography-display-3{font-size:32px;line-height:1.4;font-weight:400}@media (min-width: 1024px){.spw-ds-typography-display-3{font-size:48px;line-height:1.2;font-weight:400}}.spw-ds-typography-heading-01{font-size:28px;font-weight:700;line-height:1.4}@media (min-width: 1024px){.spw-ds-typography-heading-01{font-size:32px;font-weight:700;line-height:1.25}}.spw-ds-typography-heading-02{font-size:24px;font-weight:700;line-height:1.4}@media (min-width: 1024px){.spw-ds-typography-heading-02{font-size:28px;font-weight:700;line-height:1.3}}.spw-ds-typography-heading-03{font-size:20px;font-weight:700;line-height:1.4}@media (min-width: 1024px){.spw-ds-typography-heading-03{font-size:20px;font-weight:700;line-height:1.4}}.spw-ds-typography-heading-04,:host(.--default) .spw-list-title{font-size:18px;font-weight:700;line-height:1.5}@media (min-width: 1024px){.spw-ds-typography-heading-04,:host(.--default) .spw-list-title{font-size:18px;font-weight:700;line-height:1.5}}.spw-ds-typography-heading-05,:host(.--shortcut) .spw-list-title{font-size:16px;font-weight:700;line-height:1.5}@media (min-width: 1024px){.spw-ds-typography-heading-05,:host(.--shortcut) .spw-list-title{font-size:16px;font-weight:700;line-height:1.6}}.spw-ds-typography-heading-06{font-size:14px;font-weight:700;line-height:1.7}@media (min-width: 1024px){.spw-ds-typography-heading-06{font-size:14px;font-weight:700;line-height:1.6}}.spw-ds-typography-lead-body{font-size:20px !important;line-height:1.6;font-weight:400}@media (min-width: 1024px){.spw-ds-typography-lead-body{font-size:20px;line-height:1.5;font-weight:400}}.spw-ds-typography-lead-body-compact{font-size:20px;line-height:1.5;font-weight:400}@media (min-width: 1024px){.spw-ds-typography-lead-body-compact{font-size:20px;line-height:1.25;font-weight:400}}.spw-ds-typography-body-1{font-size:18px;font-weight:400;line-height:1.6}@media (min-width: 1024px){.spw-ds-typography-body-1{font-size:18px;font-weight:400;line-height:1.5}}.spw-ds-typography-body-compact-1{font-size:18px;font-weight:400;line-height:1.5}@media (min-width: 1024px){.spw-ds-typography-body-compact-1{font-size:18px;font-weight:400;line-height:1.25}}.spw-ds-typography-body-2{font-size:16px;font-weight:400;line-height:1.6}@media (min-width: 1024px){.spw-ds-typography-body-2{font-size:16px;font-weight:400;line-height:1.5}}.spw-ds-typography-body-compact-2{font-size:16px;font-weight:400;line-height:1.5}@media (min-width: 1024px){.spw-ds-typography-body-compact-2{font-size:16px;font-weight:400;line-height:1.25}}.spw-ds-typography-body-3{font-size:14px;font-weight:400;line-height:1.6}@media (min-width: 1024px){.spw-ds-typography-body-3{font-size:14px;font-weight:400;line-height:1.5}}.spw-ds-typography-body-compact-3{font-size:14px;font-weight:400;line-height:1.5}@media (min-width: 1024px){.spw-ds-typography-body-compact-3{font-size:14px;font-weight:400;line-height:1.25}}.spw-ds-typography-tag{font-weight:700;font-size:14px;line-height:1.2}.spw-ds-typography-label{font-weight:600;font-size:16px;line-height:1.2}.spw-ds-typography-date{font-size:16px;line-height:1;font-weight:300}.spw-ds-typography-caption{font-size:14px;font-style:italic;line-height:1;font-weight:300}.spw-ds-typography-link{font-weight:700;font-size:inherit;line-height:1.2;color:var(--spw-ds-primary);text-decoration:underline;text-underline-offset:2px}.spw-ds-typography-link:hover{color:var(--spw-ds-variant)}.spw-ds-typography-link:active{color:var(--spw-ds-active)}.spw-ds-typography-link:hover,.spw-ds-typography-link:active{text-decoration-thickness:2px}.spw-ds-typography-hint{font-size:14px;font-weight:400;line-height:1.5}.spw-ds-typography-code{font-size:14px;font-weight:400;line-height:1.2;font-family:monospace}.spw-ds-typography-overline{font-size:10px;font-weight:800;line-height:1;text-transform:uppercase}:host{display:block}.spw-list-title{position:relative;display:inline-flex;line-height:1.35}.spw-list-title spw-icon{position:absolute;top:4px;left:-28px;color:var(--spw-ds-primary)}:host(.--active) .spw-list-title spw-icon{color:var(--spw-ds-active)}:host(.--dark) .spw-list-title spw-icon{color:var(--spw-ds-white)}.spw-list-title__content-text{display:inline;text-decoration:none;text-underline-offset:2px}:host(.--hovered) .spw-list-title__content-text{text-decoration:underline}:host(.--active) .spw-list-title__content-text{text-decoration:underline}:host(.--default) .spw-list-title{color:var(--spw-color-themes-grey-grey-900)}:host(.--shortcut) .spw-list-title{color:var(--spw-ds-primary)}:host(.--hovered) .spw-list-title{color:var(--spw-ds-primary)}:host(.--active) .spw-list-title{color:var(--spw-ds-active)}:host(.--dark) .spw-list-title{color:var(--spw-ds-white)}.spw-list-title--has-clamp .spw-list-title__content{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis}.spw-list-title--clamp-1 .spw-list-title__content{-webkit-line-clamp:1;line-clamp:1}.spw-list-title--clamp-2 .spw-list-title__content{-webkit-line-clamp:2;line-clamp:2}.spw-list-title--clamp-3 .spw-list-title__content{-webkit-line-clamp:3;line-clamp:3}.spw-list-title--clamp-4 .spw-list-title__content{-webkit-line-clamp:4;line-clamp:4}.spw-list-title--clamp-5 .spw-list-title__content{-webkit-line-clamp:5;line-clamp:5}.spw-list-title--clamp-6 .spw-list-title__content{-webkit-line-clamp:6;line-clamp:6}.spw-list-title--clamp-7 .spw-list-title__content{-webkit-line-clamp:7;line-clamp:7}.spw-list-title--clamp-8 .spw-list-title__content{-webkit-line-clamp:8;line-clamp:8}.spw-list-title--clamp-9 .spw-list-title__content{-webkit-line-clamp:9;line-clamp:9}.spw-list-title--clamp-10 .spw-list-title__content{-webkit-line-clamp:10;line-clamp:10}`;
4
4
 
@@ -16,7 +16,7 @@ const SpwListTitle = class {
16
16
  };
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '795f1701d85b2d52aa31b786121be9de1e878b57' }, h("div", { key: '3d2d3043f716a0ea80075d069e424089263072da', class: this.elementClass }, this.icon && h("spw-icon", { key: 'b118fc4fad5345b71d2766b0831146d122f41ebb', icon: this.icon }), h("div", { key: '1ce942e4070671b4d82cc78f61d01729ba61a070', class: "spw-list-title__content" }, h("div", { key: '9e9d379f65bfffb15f6ca7d7356787b2505061ca', class: "spw-list-title__content-text" }, h("slot", { key: '6a50b0ce145ed7d1ee3fe550ff9ef3a3679800a6' }))))));
19
+ return (h(Host, { key: '96b5bac8e6721db88297b4881fe67424415c0227' }, h("div", { key: '719182fd51fb67dd24915bd5a8b612e1b63dd112', class: this.elementClass }, this.icon && h("spw-icon", { key: '6f96398057f175024fbdb512a8f81bfa5fc4e6ac', icon: this.icon }), h("div", { key: '27fe08ce105bcd6f80f25bcee410cc44f685a06d', class: "spw-list-title__content" }, h("div", { key: '1fda7233de36d1b92ce9abfbf8768ffab64eac20', class: "spw-list-title__content-text" }, h("slot", { key: '6a47e207887b8d60619f31ad17a3353ae85cbf4c' }))))));
20
20
  }
21
21
  };
22
22
  SpwListTitle.style = spwListTitleCss();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Dk6w7kAO.js';
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BvJ4Kko5.js';
2
2
 
3
3
  const spwListCss = () => `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)}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 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}:root{--spw-ds-container-xl:1232px;--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: 460px){.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: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:block}.spw-list{display:flex;flex-direction:column}.spw-list--small{gap:12px}.spw-list--medium{gap:24px}.spw-list--large{gap:32px}`;
4
4
 
@@ -33,7 +33,7 @@ const SpwList = class {
33
33
  };
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: '5783a5ea988594e0ac7630ffefbb296ac9105e34' }, h("ul", { key: 'd57ec4255cfef3bf1816fcaf529459023f45f978', role: "list", class: this.elementClass }, h("slot", { key: 'd8756ca6497a8bd6065ad810271b5f11cad1ac92' }))));
36
+ return (h(Host, { key: '437fb36977c9791f1c64020a28b56fa57127509e' }, h("ul", { key: '8c117fa57f2f8ccaaaf4fc4c7247bc57910979fe', role: "list", class: this.elementClass }, h("slot", { key: '400e532fbece3f626b96c8bf44701c583cfb0784' }))));
37
37
  }
38
38
  get el() { return getElement(this); }
39
39
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Dk6w7kAO.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BvJ4Kko5.js';
2
2
 
3
3
  const getIcon = variant => {
4
4
  const icons = {
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Dk6w7kAO.js';
2
- import { a as animationTo, K as KEYFRAMES } from './animation-BO7xVlWo.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BvJ4Kko5.js';
2
+ import { a as animationTo, K as KEYFRAMES } from './animation-BRFNx2DL.js';
3
3
 
4
4
  /**
5
5
  * Copy/pasted from https://github.com/andreasbm/focus-trap
@@ -284,13 +284,13 @@ const SpwModal = class {
284
284
  };
285
285
  }
286
286
  render() {
287
- return (h(Host, { key: '672e6ee79675a69b7bf9455a0a10b71353129a53' }, h("div", { key: 'f0f737f1e6ba61788c575978f140321271fc0761', ref: el => (this.modalContainer = el), class: this.elementClass }, h("div", { key: 'c4bdb3ae9e4e7f8f108a07523aee30dadfb69492', class: "spw-modal__overlay", onClick: () => this.handleOverlayClick() }), h("div", { key: '04ad128adae51a6c47a5dc9cb03d48d381306f19', class: `spw-modal__content-container spw-modal__content-container--${this.size}`, role: "dialog", "aria-modal": "true", "aria-label": this.caption }, h("div", { key: '7ed6045ddd6d74c3c90ac31d8038753cf380b94c', class: "spw-modal__content", ref: el => (this.modalContent = el), onScroll: this.handleContentScroll }, h("div", { key: '821fb004557f50c2fb0c7246e400098476e17bec', class: "spw-modal__header" }, h("div", { key: '62c0906da57593ec51b4ad4f5fb2c95b042c880f', class: "spw-modal__title-container" }, this.alertIcon && h("spw-icon", { key: '6bbf60ee022b2e25945acfd23022721ef18a28bf', class: "spw-modal__alert-icon", icon: this.alertIcon }), h("h2", { key: 'e57764e17bb77bb5c4e221f2e524c917e5d29c7d', class: "spw-modal__caption" }, this.caption)), this.showCloseButton && (h("div", { key: '3bcb4c4d36fc6efab35096767706ed1029b088c0', class: {
287
+ return (h(Host, { key: 'c157646646bcdc2336f4b91b657f20bec00df4dc' }, h("div", { key: 'ecd8f315db80d19e433391a9ffe7deefc9736bd5', ref: el => (this.modalContainer = el), class: this.elementClass }, h("div", { key: '519205765483e2739404bbe70e2e59b6c2f28b75', class: "spw-modal__overlay", onClick: () => this.handleOverlayClick() }), h("div", { key: '4b3c34065c64c272ef71ede849cdf5987ebd5453', class: `spw-modal__content-container spw-modal__content-container--${this.size}`, role: "dialog", "aria-modal": "true", "aria-label": this.caption }, h("div", { key: '7bcc2f2747f6fcc70249de6913f9751e97e12a6b', class: "spw-modal__content", ref: el => (this.modalContent = el), onScroll: this.handleContentScroll }, h("div", { key: '80ece3a351c1e0a6eb1345b70478edf1f4c7cab7', class: "spw-modal__header" }, h("div", { key: '64cb2a0695bf11a1295fae8350a62fa9ca355eff', class: "spw-modal__title-container" }, this.alertIcon && h("spw-icon", { key: 'adb258fbcba9dd8c3659dc47ef51f7c2b41e8b72', class: "spw-modal__alert-icon", icon: this.alertIcon }), h("h2", { key: '778b74582a8660dec60e345fb0136a06aa5aa1a2', class: "spw-modal__caption" }, this.caption)), this.showCloseButton && (h("div", { key: 'da8ea051072980ff579caa2556fd73bcf59ed221', class: {
288
288
  'spw-modal__close-button': true,
289
289
  'spw-modal__close-button--sticky': this.isCloseButtonSticky,
290
- }, ref: el => (this.closeButton = el), onClick: () => this.doBeforeClose('CLOSE_BUTTON') }, h("spw-link", { key: 'a089fb0b8b88170f7a5d84cd3ce2df4cb4bc8d6c', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText)))), h("div", { key: 'df3f41aba76d95ab047023d75e73883fb2ba8a58', class: "spw-modal__body" }, h("slot", { key: '779d94057417bb4db7025a14bf6a9a12e6bb1231', name: "content" })), h("div", { key: '5b5d7309368d6d5ebf8cede7afc900e19c337ca6', class: { 'spw-modal__buttons': true, 'spw-modal__footer--buttons-present': this.slotButtonsPresent } }, h("slot", { key: '9bb5c12d9ae3cb34b08ce454ab68b78d93de4199', name: "buttons", onSlotchange: (e) => {
290
+ }, ref: el => (this.closeButton = el), onClick: () => this.doBeforeClose('CLOSE_BUTTON') }, h("spw-link", { key: 'd9a440db7d4d25fbea422f4138695bc709894233', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText)))), h("div", { key: 'fc1f867b109b5e9d34a40141a0d063ad530aadac', class: "spw-modal__body" }, h("slot", { key: '6a048196c218df1d3e0145f2c27695853b5e6178', name: "content" })), h("div", { key: '57c9a3144e2c27c1e90a556c423faa230aa1bd60', class: { 'spw-modal__buttons': true, 'spw-modal__footer--buttons-present': this.slotButtonsPresent } }, h("slot", { key: 'b8c04462cae8435332af8769650c0bd58f950bb3', name: "buttons", onSlotchange: (e) => {
291
291
  const slot = e.target;
292
292
  this.slotButtonsPresent = slot.assignedNodes({ flatten: true }).length > 0;
293
- } })))), h("div", { key: 'b41b4b50f8147c6530de423547858fd559124ba3', "data-focus-trap-edge": true, onFocus: this.handleBottomFocus, tabindex: "0" }))));
293
+ } })))), h("div", { key: '07522150f05d312d3773f3dd3497e41cab4015bd', "data-focus-trap-edge": true, onFocus: this.handleBottomFocus, tabindex: "0" }))));
294
294
  }
295
295
  get hostElement() { return getElement(this); }
296
296
  static get watchers() { return {