@spw-ds/spw-stencil-library 1.19.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (534) hide show
  1. package/dist/cem.json +297 -21
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/spw-accordion_4.cjs.entry.js +137 -16
  4. package/dist/cjs/spw-avatar.cjs.entry.js +1 -1
  5. package/dist/cjs/spw-block-content.cjs.entry.js +3 -2
  6. package/dist/cjs/spw-box.cjs.entry.js +5 -6
  7. package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +1 -1
  8. package/dist/cjs/spw-breadcrumb.cjs.entry.js +1 -1
  9. package/dist/cjs/spw-button_2.cjs.entry.js +2 -2
  10. package/dist/cjs/spw-card-content.cjs.entry.js +1 -1
  11. package/dist/cjs/spw-card-excerpt.cjs.entry.js +1 -1
  12. package/dist/cjs/spw-card-image.cjs.entry.js +1 -1
  13. package/dist/cjs/spw-card-subtag-item.cjs.entry.js +5 -3
  14. package/dist/cjs/spw-card-subtags.cjs.entry.js +1 -1
  15. package/dist/cjs/spw-card-title.cjs.entry.js +1 -1
  16. package/dist/cjs/spw-card.cjs.entry.js +1 -1
  17. package/dist/cjs/spw-checkbox.cjs.entry.js +6 -6
  18. package/dist/cjs/spw-date-picker.cjs.entry.js +1 -1
  19. package/dist/cjs/spw-drawer.cjs.entry.js +3 -3
  20. package/dist/cjs/spw-dropdown-container.cjs.entry.js +1 -1
  21. package/dist/cjs/spw-dropdown-item.cjs.entry.js +1 -1
  22. package/dist/cjs/spw-dropdown.cjs.entry.js +1 -1
  23. package/dist/cjs/spw-field-label_8.cjs.entry.js +51 -9
  24. package/dist/cjs/spw-file-upload.cjs.entry.js +2 -2
  25. package/dist/cjs/spw-footer-bottom.cjs.entry.js +1 -1
  26. package/dist/cjs/spw-footer-content-col.cjs.entry.js +1 -1
  27. package/dist/cjs/spw-footer-content.cjs.entry.js +1 -1
  28. package/dist/cjs/spw-footer-link.cjs.entry.js +1 -1
  29. package/dist/cjs/spw-footer.cjs.entry.js +1 -1
  30. package/dist/cjs/spw-grid-item.cjs.entry.js +2 -2
  31. package/dist/cjs/spw-grid.cjs.entry.js +2 -2
  32. package/dist/cjs/spw-header-lang.cjs.entry.js +1 -1
  33. package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +1 -1
  34. package/dist/cjs/spw-header-navigation-item.cjs.entry.js +1 -1
  35. package/dist/cjs/spw-header-navigation.cjs.entry.js +1 -1
  36. package/dist/cjs/spw-header-persona-item.cjs.entry.js +1 -1
  37. package/dist/cjs/spw-header-persona.cjs.entry.js +1 -1
  38. package/dist/cjs/spw-header.cjs.entry.js +63 -15
  39. package/dist/cjs/spw-hero.cjs.entry.js +3 -3
  40. package/dist/cjs/spw-input-slider.cjs.entry.js +1 -1
  41. package/dist/cjs/spw-lightbox-item.cjs.entry.js +11 -2
  42. package/dist/cjs/spw-lightbox.cjs.entry.js +53 -5
  43. package/dist/cjs/spw-list-description.cjs.entry.js +1 -1
  44. package/dist/cjs/spw-list-item.cjs.entry.js +1 -1
  45. package/dist/cjs/spw-list-title.cjs.entry.js +1 -1
  46. package/dist/cjs/spw-list.cjs.entry.js +1 -1
  47. package/dist/cjs/spw-modal.cjs.entry.js +3 -3
  48. package/dist/cjs/spw-mosaic-item.cjs.entry.js +1 -1
  49. package/dist/cjs/spw-mosaic.cjs.entry.js +1 -1
  50. package/dist/cjs/spw-pagination.cjs.entry.js +6 -6
  51. package/dist/cjs/spw-scrolltop.cjs.entry.js +1 -1
  52. package/dist/cjs/spw-search-field.cjs.entry.js +20 -2
  53. package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +1 -1
  54. package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +3 -3
  55. package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +1 -1
  56. package/dist/cjs/spw-sidebar.cjs.entry.js +1 -1
  57. package/dist/cjs/spw-sidenav-group.cjs.entry.js +2 -2
  58. package/dist/cjs/spw-sidenav-item.cjs.entry.js +8 -5
  59. package/dist/cjs/spw-sidenav.cjs.entry.js +2 -2
  60. package/dist/cjs/spw-skeleton.cjs.entry.js +1 -1
  61. package/dist/cjs/spw-slider-item.cjs.entry.js +1 -1
  62. package/dist/cjs/spw-slider.cjs.entry.js +1 -1
  63. package/dist/cjs/spw-socials.cjs.entry.js +1 -1
  64. package/dist/cjs/spw-stencil-library.cjs.js +1 -1
  65. package/dist/cjs/spw-table-body.cjs.entry.js +1 -1
  66. package/dist/cjs/spw-table-cell.cjs.entry.js +1 -1
  67. package/dist/cjs/spw-table-container.cjs.entry.js +1 -1
  68. package/dist/cjs/spw-table-footer.cjs.entry.js +1 -1
  69. package/dist/cjs/spw-table-head.cjs.entry.js +1 -1
  70. package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
  71. package/dist/cjs/spw-table-row.cjs.entry.js +1 -1
  72. package/dist/cjs/spw-table-sidebar.cjs.entry.js +1 -1
  73. package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +1 -1
  74. package/dist/cjs/spw-tabs-navigation.cjs.entry.js +1 -1
  75. package/dist/cjs/spw-tabs.cjs.entry.js +1 -1
  76. package/dist/cjs/spw-tag.cjs.entry.js +1 -1
  77. package/dist/cjs/spw-text-field.cjs.entry.js +1 -1
  78. package/dist/cjs/spw-textarea.cjs.entry.js +1 -1
  79. package/dist/cjs/spw-tile-description.cjs.entry.js +1 -1
  80. package/dist/cjs/spw-tile-title.cjs.entry.js +1 -1
  81. package/dist/cjs/spw-tile.cjs.entry.js +1 -1
  82. package/dist/cjs/spw-timeline-item.cjs.entry.js +2 -2
  83. package/dist/cjs/spw-timeline.cjs.entry.js +2 -2
  84. package/dist/cjs/spw-toc.cjs.entry.js +1 -1
  85. package/dist/cjs/spw-topbar.cjs.entry.js +1 -1
  86. package/dist/cjs/spw-wizard-item.cjs.entry.js +1 -1
  87. package/dist/cjs/spw-wizard.cjs.entry.js +76 -2
  88. package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.css +16 -0
  89. package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.js +21 -1
  90. package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.css +3 -0
  91. package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.js +98 -3
  92. package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.css +14 -0
  93. package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.js +23 -1
  94. package/dist/collection/components/spw-accordion/spw-accordion.css +1 -0
  95. package/dist/collection/components/spw-accordion/spw-accordion.js +11 -7
  96. package/dist/collection/components/spw-avatar/spw-avatar.js +1 -1
  97. package/dist/collection/components/spw-block-content/spw-block-content.css +13 -0
  98. package/dist/collection/components/spw-block-content/spw-block-content.js +2 -1
  99. package/dist/collection/components/spw-box/spw-box.css +0 -4
  100. package/dist/collection/components/spw-box/spw-box.js +5 -7
  101. package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.js +1 -1
  102. package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.js +1 -1
  103. package/dist/collection/components/spw-button/spw-button.js +1 -1
  104. package/dist/collection/components/spw-card/spw-card-content/spw-card-content.js +1 -1
  105. package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.js +1 -1
  106. package/dist/collection/components/spw-card/spw-card-image/spw-card-image.js +1 -1
  107. package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.css +1 -0
  108. package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.js +4 -2
  109. package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.js +1 -1
  110. package/dist/collection/components/spw-card/spw-card-title/spw-card-title.js +1 -1
  111. package/dist/collection/components/spw-card/spw-card.js +1 -1
  112. package/dist/collection/components/spw-checkbox/spw-checkbox.css +2 -2
  113. package/dist/collection/components/spw-checkbox/spw-checkbox.js +5 -5
  114. package/dist/collection/components/spw-date-picker/spw-date-picker.js +1 -1
  115. package/dist/collection/components/spw-drawer/spw-drawer.js +3 -3
  116. package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.js +1 -1
  117. package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +1 -1
  118. package/dist/collection/components/spw-dropdown/spw-dropdown.js +1 -1
  119. package/dist/collection/components/spw-field-label/spw-field-label.js +1 -1
  120. package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
  121. package/dist/collection/components/spw-file-upload/spw-file-upload.js +2 -2
  122. package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.js +1 -1
  123. package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.js +1 -1
  124. package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +1 -1
  125. package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
  126. package/dist/collection/components/spw-footer/spw-footer.js +1 -1
  127. package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
  128. package/dist/collection/components/spw-grid/spw-grid.js +2 -2
  129. package/dist/collection/components/spw-group/spw-group.css +9 -0
  130. package/dist/collection/components/spw-group/spw-group.js +129 -1
  131. package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
  132. package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +1 -1
  133. package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
  134. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
  135. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
  136. package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
  137. package/dist/collection/components/spw-header/spw-header.js +80 -15
  138. package/dist/collection/components/spw-hero/spw-hero.js +3 -3
  139. package/dist/collection/components/spw-icon/spw-icon.js +1 -1
  140. package/dist/collection/components/spw-input-slider/spw-input-slider.js +1 -1
  141. package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.css +2 -2
  142. package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +15 -1
  143. package/dist/collection/components/spw-lightbox/spw-lightbox.css +11 -0
  144. package/dist/collection/components/spw-lightbox/spw-lightbox.js +134 -25
  145. package/dist/collection/components/spw-link/spw-link.js +1 -1
  146. package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
  147. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
  148. package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
  149. package/dist/collection/components/spw-list/spw-list.js +1 -1
  150. package/dist/collection/components/spw-loading/spw-loading.js +1 -1
  151. package/dist/collection/components/spw-modal/spw-modal.js +3 -3
  152. package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
  153. package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
  154. package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
  155. package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
  156. package/dist/collection/components/spw-search-field/spw-search-field.js +40 -2
  157. package/dist/collection/components/spw-separator/spw-separator.js +1 -1
  158. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
  159. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
  160. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
  161. package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
  162. package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.js +2 -2
  163. package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.css +6 -2
  164. package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +84 -4
  165. package/dist/collection/components/spw-sidenav/spw-sidenav.js +2 -2
  166. package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
  167. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
  168. package/dist/collection/components/spw-slider/spw-slider.js +1 -1
  169. package/dist/collection/components/spw-socials/spw-socials.js +1 -1
  170. package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
  171. package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
  172. package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
  173. package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
  174. package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
  175. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.css +4 -0
  176. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
  177. package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
  178. package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
  179. package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
  180. package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
  181. package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
  182. package/dist/collection/components/spw-tag/spw-tag.js +1 -1
  183. package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
  184. package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
  185. package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
  186. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
  187. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
  188. package/dist/collection/components/spw-tile/spw-tile.js +1 -1
  189. package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
  190. package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
  191. package/dist/collection/components/spw-toc/spw-toc.js +1 -1
  192. package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
  193. package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
  194. package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
  195. package/dist/collection/components/spw-wizard/spw-wizard.css +3 -0
  196. package/dist/collection/components/spw-wizard/spw-wizard.js +86 -1
  197. package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +99 -70
  198. package/dist/collection/stories/organisms/spw-accordion/spw-accordion.stories.js +159 -2
  199. package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +69 -0
  200. package/dist/collection/stories/organisms/spw-lightbox/spw-lightbox.stories.js +1 -160
  201. package/dist/collection/stories/organisms/spw-sidenav/spw-sidenav.stories.js +64 -0
  202. package/dist/collection/stories/organisms/spw-toc/spw-toc.stories.js +3 -3
  203. package/dist/collection/utils/utils.js +1 -1
  204. package/dist/components/{p-BCuU5Ywh.js → p-BTTY1Aoh.js} +1 -1
  205. package/dist/components/p-CZ233jUc.js +1 -0
  206. package/dist/components/p-CzRB_COv.js +1 -0
  207. package/dist/components/{p-D9JMaCxL.js → p-D7kEk_Bq.js} +1 -1
  208. package/dist/components/{p-DfbLlF27.js → p-D9yobKiX.js} +1 -1
  209. package/dist/components/{p-B68Myli4.js → p-DFkINEAb.js} +1 -1
  210. package/dist/components/{p-CdYKps3q.js → p-DNh7jzbV.js} +1 -1
  211. package/dist/components/p-DmD0U8OW.js +1 -0
  212. package/dist/components/p-DxQ74GK8.js +1 -0
  213. package/dist/components/{p-CMrHIi6V.js → p-EnUTqnRk.js} +1 -1
  214. package/dist/components/p-N9GtuZLt.js +1 -0
  215. package/dist/components/{p-BrrQs_CF.js → p-_nYzjIHU.js} +1 -1
  216. package/dist/components/{p-Cjd09L60.js → p-ijn7X7l6.js} +1 -1
  217. package/dist/components/{p-oohA0YBK.js → p-qWBjG9IQ.js} +1 -1
  218. package/dist/components/{p-VmfmCYD6.js → p-rooGoPru.js} +1 -1
  219. package/dist/{spw-stencil-library/p-ce07c9cd.entry.js → components/p-yXpAcpXR.js} +1 -1
  220. package/dist/components/spw-accordion-content.js +1 -1
  221. package/dist/components/spw-accordion-item.js +1 -1
  222. package/dist/components/spw-accordion-title.js +1 -1
  223. package/dist/components/spw-accordion.js +1 -1
  224. package/dist/components/spw-alert.js +1 -1
  225. package/dist/components/spw-avatar.js +1 -1
  226. package/dist/components/spw-block-content.js +1 -1
  227. package/dist/components/spw-box.js +1 -1
  228. package/dist/components/spw-breadcrumb-item.js +1 -1
  229. package/dist/components/spw-breadcrumb.js +1 -1
  230. package/dist/components/spw-button.js +1 -1
  231. package/dist/components/spw-card-content.js +1 -1
  232. package/dist/components/spw-card-excerpt.js +1 -1
  233. package/dist/components/spw-card-image.js +1 -1
  234. package/dist/components/spw-card-subtag-item.js +1 -1
  235. package/dist/components/spw-card-subtags.js +1 -1
  236. package/dist/components/spw-card-title.js +1 -1
  237. package/dist/components/spw-card.js +1 -1
  238. package/dist/components/spw-checkbox.js +1 -1
  239. package/dist/components/spw-cookies.js +1 -1
  240. package/dist/components/spw-custom-select.js +1 -1
  241. package/dist/components/spw-date-picker.js +1 -1
  242. package/dist/components/spw-drawer.js +1 -1
  243. package/dist/components/spw-dropdown-container.js +1 -1
  244. package/dist/components/spw-dropdown-item.js +1 -1
  245. package/dist/components/spw-dropdown.js +1 -1
  246. package/dist/components/spw-field-label.js +1 -1
  247. package/dist/components/spw-field-message.js +1 -1
  248. package/dist/components/spw-file-upload.js +1 -1
  249. package/dist/components/spw-footer-bottom.js +1 -1
  250. package/dist/components/spw-footer-content-col.js +1 -1
  251. package/dist/components/spw-footer-content.js +1 -1
  252. package/dist/components/spw-footer-link.js +1 -1
  253. package/dist/components/spw-footer.js +1 -1
  254. package/dist/components/spw-grid-item.js +1 -1
  255. package/dist/components/spw-grid.js +1 -1
  256. package/dist/components/spw-group.js +1 -1
  257. package/dist/components/spw-header-lang.js +1 -1
  258. package/dist/components/spw-header-navigation-dropdown.js +1 -1
  259. package/dist/components/spw-header-navigation-item.js +1 -1
  260. package/dist/components/spw-header-navigation.js +1 -1
  261. package/dist/components/spw-header-persona-item.js +1 -1
  262. package/dist/components/spw-header-persona.js +1 -1
  263. package/dist/components/spw-header.js +1 -1
  264. package/dist/components/spw-hero.js +1 -1
  265. package/dist/components/spw-icon.js +1 -1
  266. package/dist/components/spw-input-slider.js +1 -1
  267. package/dist/components/spw-lightbox-item.js +1 -1
  268. package/dist/components/spw-lightbox.js +1 -1
  269. package/dist/components/spw-link.js +1 -1
  270. package/dist/components/spw-list-description.js +1 -1
  271. package/dist/components/spw-list-item.js +1 -1
  272. package/dist/components/spw-list-title.js +1 -1
  273. package/dist/components/spw-list.js +1 -1
  274. package/dist/components/spw-loading.js +1 -1
  275. package/dist/components/spw-message.js +1 -1
  276. package/dist/components/spw-modal.js +1 -1
  277. package/dist/components/spw-mosaic-item.js +1 -1
  278. package/dist/components/spw-mosaic.js +4 -4
  279. package/dist/components/spw-pagination.js +1 -1
  280. package/dist/components/spw-scrolltop.js +1 -1
  281. package/dist/components/spw-search-field.js +1 -1
  282. package/dist/components/spw-select.js +1 -1
  283. package/dist/components/spw-separator.js +1 -1
  284. package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
  285. package/dist/components/spw-sidebar-navigation-item.js +1 -1
  286. package/dist/components/spw-sidebar-navigation-separator.js +1 -1
  287. package/dist/components/spw-sidebar.js +1 -1
  288. package/dist/components/spw-sidenav-group.js +1 -1
  289. package/dist/components/spw-sidenav-item.js +1 -1
  290. package/dist/components/spw-sidenav.js +1 -1
  291. package/dist/components/spw-skeleton.js +1 -1
  292. package/dist/components/spw-slider-item.js +1 -1
  293. package/dist/components/spw-slider.js +1 -1
  294. package/dist/components/spw-socials.js +1 -1
  295. package/dist/components/spw-table-body.js +1 -1
  296. package/dist/components/spw-table-cell.js +1 -1
  297. package/dist/components/spw-table-container.js +1 -1
  298. package/dist/components/spw-table-footer.js +1 -1
  299. package/dist/components/spw-table-head.js +1 -1
  300. package/dist/components/spw-table-header.js +1 -1
  301. package/dist/components/spw-table-row.js +1 -1
  302. package/dist/components/spw-table-sidebar.js +1 -1
  303. package/dist/components/spw-tabs-navigation-item.js +1 -1
  304. package/dist/components/spw-tabs-navigation.js +1 -1
  305. package/dist/components/spw-tabs.js +1 -1
  306. package/dist/components/spw-tag.js +1 -1
  307. package/dist/components/spw-text-field.js +1 -1
  308. package/dist/components/spw-textarea.js +1 -1
  309. package/dist/components/spw-theme-provider.js +1 -1
  310. package/dist/components/spw-tile-description.js +1 -1
  311. package/dist/components/spw-tile-title.js +1 -1
  312. package/dist/components/spw-tile.js +1 -1
  313. package/dist/components/spw-timeline-item.js +1 -1
  314. package/dist/components/spw-timeline.js +1 -1
  315. package/dist/components/spw-toast-controller.js +1 -1
  316. package/dist/components/spw-toast.js +1 -1
  317. package/dist/components/spw-toc-container.js +1 -1
  318. package/dist/components/spw-toc.js +1 -1
  319. package/dist/components/spw-tooltip.js +1 -1
  320. package/dist/components/spw-topbar.js +1 -1
  321. package/dist/components/spw-wizard-item.js +1 -1
  322. package/dist/components/spw-wizard.js +1 -1
  323. package/dist/components_json.json +446 -29
  324. package/dist/components_vscode.json +75 -4
  325. package/dist/esm/loader.js +1 -1
  326. package/dist/esm/spw-accordion_4.entry.js +137 -16
  327. package/dist/esm/spw-avatar.entry.js +1 -1
  328. package/dist/esm/spw-block-content.entry.js +3 -2
  329. package/dist/esm/spw-box.entry.js +5 -6
  330. package/dist/esm/spw-breadcrumb-item.entry.js +1 -1
  331. package/dist/esm/spw-breadcrumb.entry.js +1 -1
  332. package/dist/esm/spw-button_2.entry.js +2 -2
  333. package/dist/esm/spw-card-content.entry.js +1 -1
  334. package/dist/esm/spw-card-excerpt.entry.js +1 -1
  335. package/dist/esm/spw-card-image.entry.js +1 -1
  336. package/dist/esm/spw-card-subtag-item.entry.js +5 -3
  337. package/dist/esm/spw-card-subtags.entry.js +1 -1
  338. package/dist/esm/spw-card-title.entry.js +1 -1
  339. package/dist/esm/spw-card.entry.js +1 -1
  340. package/dist/esm/spw-checkbox.entry.js +6 -6
  341. package/dist/esm/spw-date-picker.entry.js +1 -1
  342. package/dist/esm/spw-drawer.entry.js +3 -3
  343. package/dist/esm/spw-dropdown-container.entry.js +1 -1
  344. package/dist/esm/spw-dropdown-item.entry.js +1 -1
  345. package/dist/esm/spw-dropdown.entry.js +1 -1
  346. package/dist/esm/spw-field-label_8.entry.js +51 -9
  347. package/dist/esm/spw-file-upload.entry.js +2 -2
  348. package/dist/esm/spw-footer-bottom.entry.js +1 -1
  349. package/dist/esm/spw-footer-content-col.entry.js +1 -1
  350. package/dist/esm/spw-footer-content.entry.js +1 -1
  351. package/dist/esm/spw-footer-link.entry.js +1 -1
  352. package/dist/esm/spw-footer.entry.js +1 -1
  353. package/dist/esm/spw-grid-item.entry.js +2 -2
  354. package/dist/esm/spw-grid.entry.js +2 -2
  355. package/dist/esm/spw-header-lang.entry.js +1 -1
  356. package/dist/esm/spw-header-navigation-dropdown.entry.js +1 -1
  357. package/dist/esm/spw-header-navigation-item.entry.js +1 -1
  358. package/dist/esm/spw-header-navigation.entry.js +1 -1
  359. package/dist/esm/spw-header-persona-item.entry.js +1 -1
  360. package/dist/esm/spw-header-persona.entry.js +1 -1
  361. package/dist/esm/spw-header.entry.js +63 -15
  362. package/dist/esm/spw-hero.entry.js +3 -3
  363. package/dist/esm/spw-input-slider.entry.js +1 -1
  364. package/dist/esm/spw-lightbox-item.entry.js +11 -2
  365. package/dist/esm/spw-lightbox.entry.js +53 -5
  366. package/dist/esm/spw-list-description.entry.js +1 -1
  367. package/dist/esm/spw-list-item.entry.js +1 -1
  368. package/dist/esm/spw-list-title.entry.js +1 -1
  369. package/dist/esm/spw-list.entry.js +1 -1
  370. package/dist/esm/spw-modal.entry.js +3 -3
  371. package/dist/esm/spw-mosaic-item.entry.js +1 -1
  372. package/dist/esm/spw-mosaic.entry.js +1 -1
  373. package/dist/esm/spw-pagination.entry.js +6 -6
  374. package/dist/esm/spw-scrolltop.entry.js +1 -1
  375. package/dist/esm/spw-search-field.entry.js +20 -2
  376. package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +1 -1
  377. package/dist/esm/spw-sidebar-navigation-item.entry.js +3 -3
  378. package/dist/esm/spw-sidebar-navigation-separator.entry.js +1 -1
  379. package/dist/esm/spw-sidebar.entry.js +1 -1
  380. package/dist/esm/spw-sidenav-group.entry.js +2 -2
  381. package/dist/esm/spw-sidenav-item.entry.js +8 -5
  382. package/dist/esm/spw-sidenav.entry.js +2 -2
  383. package/dist/esm/spw-skeleton.entry.js +1 -1
  384. package/dist/esm/spw-slider-item.entry.js +1 -1
  385. package/dist/esm/spw-slider.entry.js +1 -1
  386. package/dist/esm/spw-socials.entry.js +1 -1
  387. package/dist/esm/spw-stencil-library.js +1 -1
  388. package/dist/esm/spw-table-body.entry.js +1 -1
  389. package/dist/esm/spw-table-cell.entry.js +1 -1
  390. package/dist/esm/spw-table-container.entry.js +1 -1
  391. package/dist/esm/spw-table-footer.entry.js +1 -1
  392. package/dist/esm/spw-table-head.entry.js +1 -1
  393. package/dist/esm/spw-table-header.entry.js +3 -3
  394. package/dist/esm/spw-table-row.entry.js +1 -1
  395. package/dist/esm/spw-table-sidebar.entry.js +1 -1
  396. package/dist/esm/spw-tabs-navigation-item.entry.js +1 -1
  397. package/dist/esm/spw-tabs-navigation.entry.js +1 -1
  398. package/dist/esm/spw-tabs.entry.js +1 -1
  399. package/dist/esm/spw-tag.entry.js +1 -1
  400. package/dist/esm/spw-text-field.entry.js +1 -1
  401. package/dist/esm/spw-textarea.entry.js +1 -1
  402. package/dist/esm/spw-tile-description.entry.js +1 -1
  403. package/dist/esm/spw-tile-title.entry.js +1 -1
  404. package/dist/esm/spw-tile.entry.js +1 -1
  405. package/dist/esm/spw-timeline-item.entry.js +2 -2
  406. package/dist/esm/spw-timeline.entry.js +2 -2
  407. package/dist/esm/spw-toc.entry.js +1 -1
  408. package/dist/esm/spw-topbar.entry.js +1 -1
  409. package/dist/esm/spw-wizard-item.entry.js +1 -1
  410. package/dist/esm/spw-wizard.entry.js +76 -2
  411. package/dist/spw-stencil-library/{p-10f42f45.entry.js → p-00eb3fc6.entry.js} +1 -1
  412. package/dist/spw-stencil-library/{p-7e704f32.entry.js → p-030f69b3.entry.js} +1 -1
  413. package/dist/spw-stencil-library/{p-a89eaabb.entry.js → p-074c9eb4.entry.js} +1 -1
  414. package/dist/spw-stencil-library/{p-1dc8918c.entry.js → p-0db31b24.entry.js} +1 -1
  415. package/dist/spw-stencil-library/p-0dba5faf.entry.js +1 -0
  416. package/dist/spw-stencil-library/{p-455036fe.entry.js → p-105b9fc6.entry.js} +1 -1
  417. package/dist/spw-stencil-library/p-12052c7f.entry.js +1 -0
  418. package/dist/spw-stencil-library/{p-b835ebc5.entry.js → p-13b5e2e9.entry.js} +1 -1
  419. package/dist/spw-stencil-library/{p-2417cbbb.entry.js → p-13d1d1a1.entry.js} +1 -1
  420. package/dist/spw-stencil-library/{p-4774338c.entry.js → p-1428b28a.entry.js} +1 -1
  421. package/dist/spw-stencil-library/{p-1bdf3e61.entry.js → p-15cc6506.entry.js} +1 -1
  422. package/dist/spw-stencil-library/p-16a60b1b.entry.js +1 -0
  423. package/dist/spw-stencil-library/{p-50588fc5.entry.js → p-1c021756.entry.js} +1 -1
  424. package/dist/spw-stencil-library/{p-6e52eb6a.entry.js → p-1f91c68f.entry.js} +1 -1
  425. package/dist/spw-stencil-library/{p-e8f6b76c.entry.js → p-1fe079d1.entry.js} +1 -1
  426. package/dist/spw-stencil-library/{p-6cc0b5f5.entry.js → p-27769aed.entry.js} +1 -1
  427. package/dist/spw-stencil-library/{p-a8bd7ac4.entry.js → p-2b9ffd95.entry.js} +1 -1
  428. package/dist/spw-stencil-library/{p-95062710.entry.js → p-31830ac7.entry.js} +1 -1
  429. package/dist/spw-stencil-library/{p-2b1e084f.entry.js → p-32587b59.entry.js} +1 -1
  430. package/dist/spw-stencil-library/p-348f1398.entry.js +1 -0
  431. package/dist/spw-stencil-library/{p-a6ffe0b7.entry.js → p-36ef809d.entry.js} +1 -1
  432. package/dist/spw-stencil-library/{p-3ad5c457.entry.js → p-37894ae0.entry.js} +1 -1
  433. package/dist/spw-stencil-library/{p-e2898a5f.entry.js → p-3e0a3cbd.entry.js} +2 -2
  434. package/dist/spw-stencil-library/p-40f40ab3.entry.js +1 -0
  435. package/dist/spw-stencil-library/{p-bfde8a3a.entry.js → p-4667f645.entry.js} +1 -1
  436. package/dist/spw-stencil-library/{p-fb604e35.entry.js → p-4fa02be3.entry.js} +1 -1
  437. package/dist/spw-stencil-library/{p-90100e0c.entry.js → p-514d03e9.entry.js} +1 -1
  438. package/dist/spw-stencil-library/{p-70947adf.entry.js → p-54a965f4.entry.js} +1 -1
  439. package/dist/spw-stencil-library/{p-698c0030.entry.js → p-5f4a8aaf.entry.js} +1 -1
  440. package/dist/spw-stencil-library/{p-9ee7a00a.entry.js → p-605e3722.entry.js} +1 -1
  441. package/dist/spw-stencil-library/{p-932bee0e.entry.js → p-68674b0f.entry.js} +1 -1
  442. package/dist/spw-stencil-library/{p-b6678091.entry.js → p-68883d0b.entry.js} +1 -1
  443. package/dist/spw-stencil-library/{p-f2714773.entry.js → p-6c85ba9a.entry.js} +1 -1
  444. package/dist/spw-stencil-library/{p-39643956.entry.js → p-6db83ee1.entry.js} +1 -1
  445. package/dist/spw-stencil-library/p-7168b693.entry.js +1 -0
  446. package/dist/spw-stencil-library/{p-1e4878b8.entry.js → p-7a927b3d.entry.js} +1 -1
  447. package/dist/spw-stencil-library/{p-4b0db9bd.entry.js → p-7fb7c421.entry.js} +1 -1
  448. package/dist/spw-stencil-library/{p-8f1513ad.entry.js → p-816980dc.entry.js} +1 -1
  449. package/dist/spw-stencil-library/p-85660075.entry.js +1 -0
  450. package/dist/spw-stencil-library/{p-dad0c8fa.entry.js → p-89e7e9ed.entry.js} +1 -1
  451. package/dist/spw-stencil-library/{p-0696997f.entry.js → p-8ce39569.entry.js} +1 -1
  452. package/dist/spw-stencil-library/{p-2cbb997d.entry.js → p-911379c9.entry.js} +1 -1
  453. package/dist/spw-stencil-library/p-91f21a93.entry.js +1 -0
  454. package/dist/spw-stencil-library/{p-bda30c93.entry.js → p-9900c3e8.entry.js} +1 -1
  455. package/dist/spw-stencil-library/{p-5e8a5a23.entry.js → p-9a0ccce8.entry.js} +1 -1
  456. package/dist/spw-stencil-library/{p-4a06e37f.entry.js → p-9ac75aa3.entry.js} +1 -1
  457. package/dist/spw-stencil-library/{p-fabba2d4.entry.js → p-a0027de0.entry.js} +1 -1
  458. package/dist/spw-stencil-library/{p-a7b71644.entry.js → p-a28732e3.entry.js} +1 -1
  459. package/dist/spw-stencil-library/{p-3f1f7fbb.entry.js → p-a292c806.entry.js} +1 -1
  460. package/dist/spw-stencil-library/p-a527d245.entry.js +1 -0
  461. package/dist/spw-stencil-library/{p-ddc867bd.entry.js → p-ab310621.entry.js} +1 -1
  462. package/dist/spw-stencil-library/{p-6c9bc0df.entry.js → p-ab7d74f0.entry.js} +1 -1
  463. package/dist/spw-stencil-library/{p-e1926d22.entry.js → p-b0b2f9ce.entry.js} +1 -1
  464. package/dist/spw-stencil-library/{p-9964d952.entry.js → p-b32a76cf.entry.js} +1 -1
  465. package/dist/spw-stencil-library/{p-0c33cd7d.entry.js → p-b45175b2.entry.js} +1 -1
  466. package/dist/spw-stencil-library/p-b5716911.entry.js +1 -0
  467. package/dist/spw-stencil-library/p-b969ceba.entry.js +1 -0
  468. package/dist/spw-stencil-library/{p-c374d0ff.entry.js → p-c0fb3674.entry.js} +1 -1
  469. package/dist/spw-stencil-library/{p-9f6d4141.entry.js → p-c5dbb538.entry.js} +1 -1
  470. package/dist/spw-stencil-library/{p-0e4056ba.entry.js → p-c93bf39b.entry.js} +1 -1
  471. package/dist/spw-stencil-library/{p-fc1e3eb6.entry.js → p-ca38f08f.entry.js} +1 -1
  472. package/dist/spw-stencil-library/{p-f1b2d02e.entry.js → p-ca439c3b.entry.js} +1 -1
  473. package/dist/spw-stencil-library/p-cadcb419.entry.js +1 -0
  474. package/dist/spw-stencil-library/{p-f98ff9fd.entry.js → p-cd7eef16.entry.js} +1 -1
  475. package/dist/spw-stencil-library/{p-b28c7677.entry.js → p-ce583729.entry.js} +1 -1
  476. package/dist/spw-stencil-library/{p-bdcd9e24.entry.js → p-d3e4ff9e.entry.js} +1 -1
  477. package/dist/spw-stencil-library/{p-0647a776.entry.js → p-d87aaef9.entry.js} +1 -1
  478. package/dist/spw-stencil-library/{p-eb0c9f5d.entry.js → p-df0a11b9.entry.js} +1 -1
  479. package/dist/spw-stencil-library/{p-3777bccc.entry.js → p-e1b3f417.entry.js} +1 -1
  480. package/dist/spw-stencil-library/{p-1da399ed.entry.js → p-e6beadc2.entry.js} +1 -1
  481. package/dist/spw-stencil-library/{p-361f6350.entry.js → p-ea11c40b.entry.js} +1 -1
  482. package/dist/spw-stencil-library/p-ecc49c2e.entry.js +1 -0
  483. package/dist/spw-stencil-library/{p-57cd2788.entry.js → p-ed4747f2.entry.js} +1 -1
  484. package/dist/spw-stencil-library/{p-243061e9.entry.js → p-ed53f129.entry.js} +1 -1
  485. package/dist/spw-stencil-library/{p-5a697628.entry.js → p-ee625904.entry.js} +1 -1
  486. package/dist/spw-stencil-library/{p-adbcce82.entry.js → p-f11412df.entry.js} +1 -1
  487. package/dist/spw-stencil-library/{p-3ad6d6f0.entry.js → p-f214f8e4.entry.js} +1 -1
  488. package/dist/spw-stencil-library/{p-af9ea059.entry.js → p-f4046756.entry.js} +1 -1
  489. package/dist/spw-stencil-library/{p-3f83cca0.entry.js → p-f9e5eaf8.entry.js} +1 -1
  490. package/dist/spw-stencil-library/p-f9f9c695.entry.js +1 -0
  491. package/dist/spw-stencil-library/{p-00bbd54f.entry.js → p-fc10235a.entry.js} +1 -1
  492. package/dist/spw-stencil-library/{p-39add31f.entry.js → p-fc1ccbf0.entry.js} +1 -1
  493. package/dist/spw-stencil-library/{p-93d33de7.entry.js → p-fe41767f.entry.js} +1 -1
  494. package/dist/spw-stencil-library/{p-89931481.entry.js → p-ffa41886.entry.js} +1 -1
  495. package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
  496. package/dist/stats.json +1334 -495
  497. package/dist/types/components/spw-accordion/spw-accordion-content/spw-accordion-content.d.ts +3 -0
  498. package/dist/types/components/spw-accordion/spw-accordion-item/spw-accordion-item.d.ts +13 -0
  499. package/dist/types/components/spw-accordion/spw-accordion-title/spw-accordion-title.d.ts +2 -0
  500. package/dist/types/components/spw-accordion/spw-accordion.d.ts +1 -1
  501. package/dist/types/components/spw-box/spw-box.d.ts +0 -1
  502. package/dist/types/components/spw-group/spw-group.d.ts +18 -0
  503. package/dist/types/components/spw-header/spw-header.d.ts +12 -0
  504. package/dist/types/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.d.ts +4 -0
  505. package/dist/types/components/spw-lightbox/spw-lightbox.d.ts +13 -2
  506. package/dist/types/components/spw-search-field/spw-search-field.d.ts +4 -0
  507. package/dist/types/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.d.ts +8 -0
  508. package/dist/types/components/spw-wizard/spw-wizard.d.ts +22 -0
  509. package/dist/types/components.d.ts +152 -11
  510. package/dist/types/stories/organisms/spw-accordion/spw-accordion.stories.d.ts +1 -0
  511. package/dist/types/stories/organisms/spw-group/spw-group.stories.d.ts +2 -0
  512. package/dist/types/stories/organisms/spw-sidenav/spw-sidenav.stories.d.ts +2 -1
  513. package/hydrate/index.js +564 -175
  514. package/hydrate/index.mjs +564 -175
  515. package/package.json +1 -1
  516. package/dist/components/p-C2YutT5r.js +0 -1
  517. package/dist/components/p-CZa7267G.js +0 -1
  518. package/dist/components/p-Ci0r8I9g.js +0 -1
  519. package/dist/components/p-CqWtzvF4.js +0 -1
  520. package/dist/components/p-DVxJ3wRZ.js +0 -1
  521. package/dist/components/p-DaUZrpCq.js +0 -1
  522. package/dist/spw-stencil-library/p-0a0b5695.entry.js +0 -1
  523. package/dist/spw-stencil-library/p-235a9a01.entry.js +0 -1
  524. package/dist/spw-stencil-library/p-55f21ebb.entry.js +0 -1
  525. package/dist/spw-stencil-library/p-655a0920.entry.js +0 -1
  526. package/dist/spw-stencil-library/p-7f04e78e.entry.js +0 -1
  527. package/dist/spw-stencil-library/p-acd17168.entry.js +0 -1
  528. package/dist/spw-stencil-library/p-ade0b4ca.entry.js +0 -1
  529. package/dist/spw-stencil-library/p-bde71818.entry.js +0 -1
  530. package/dist/spw-stencil-library/p-c36db9e3.entry.js +0 -1
  531. package/dist/spw-stencil-library/p-c7480955.entry.js +0 -1
  532. package/dist/spw-stencil-library/p-e286f138.entry.js +0 -1
  533. package/dist/spw-stencil-library/p-e7e8a60a.entry.js +0 -1
  534. package/dist/spw-stencil-library/p-f473aba1.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as s,a as n}from"./p-mthi2pFj.js";const o=class{constructor(i){t(this,i),this.stepClick=e(this,"stepClick",7),this.currentStep=1,this.variant="horizontal",this.canClickNextSteps=!1}componentWillLoad(){this.updateStepsState()}slotChanged(){this.updateStepsState()}async setStep(t){this.currentStep=t,this.updateStepsState(),this.scrollToWizard()}handleStepClick(t){const e=t.detail;(e<this.currentStep||this.canClickNextSteps&&e>this.currentStep)&&(this.currentStep=e,this.updateStepsState(),this.stepClick.emit(e),this.scrollToWizard())}scrollToWizard(){var t;const e=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.host,i=(null==e?void 0:e.parentElement)||this.el;i&&i.scrollIntoView({behavior:"smooth",block:"start"})}updateStepsState(){requestAnimationFrame((()=>{const t=this.el.querySelectorAll("spw-wizard-item");t.forEach(((e,i)=>{const s=i+1;s>this.currentStep&&e.hasAttribute("status")&&e.removeAttribute("status"),e.hasAttribute("status")||e.setAttribute("state",s<this.currentStep?"completed":s===this.currentStep?"active":"inactive"),e.setAttribute("variant",this.variant),e.setAttribute("step-number",s.toString()),e.setAttribute("is-last",(i===t.length-1).toString()),e.setAttribute("is-clickable",(s!==this.currentStep&&(s<this.currentStep||this.canClickNextSteps)).toString()),e.setAttribute("is-current",(s===this.currentStep).toString()),e.setAttribute("is-before-current",(s<this.currentStep).toString()),e.setAttribute("is-after-current",(s>this.currentStep).toString())}))}))}get elementClass(){return{"spw-wizard":!0,[`spw-wizard--${this.variant}`]:!0}}render(){return i(s,{key:"fca5fb18cc1e1b51ce10a6865cd5eeabae009d0f"},i("div",{key:"e15ae1aa49baf01979760c0b0a7219c7ef7113ad",class:this.elementClass},i("slot",{key:"6ee7f97222868d54bb039458e8abb1647c173604"})))}get el(){return n(this)}};o.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-wizard{display:flex;gap:0}.spw-wizard--horizontal{flex-direction:row}.spw-wizard--vertical{flex-direction:column;align-items:flex-start}";export{o as spw_wizard}
1
+ import{p as t,H as e,h as i,a as n,t as o}from"./index.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.background="white",this.variant="default"}componentDidLoad(){this.applyBackgroundToChildren(),this.applyVariantToChildren(),this.markEdgeChildren()}backgroundChanged(){this.applyBackgroundToChildren()}variantChanged(){this.applyVariantToChildren()}applyBackgroundToChildren(){this.el.querySelectorAll("spw-accordion-item").forEach((t=>{this.background?t.style.setProperty("--spw-accordion-item-background",this.background):t.style.removeProperty("--spw-accordion-item-background")}))}applyVariantToChildren(){this.el.querySelectorAll("spw-accordion-item").forEach((t=>{t.variant=this.variant}))}markEdgeChildren(){var t,e;const i=Array.from(this.el.querySelectorAll(":scope > spw-accordion-item")),n=Array.from(null!==(e=null===(t=this.el.parentElement)||void 0===t?void 0:t.children)&&void 0!==e?e:[]).filter((t=>"SPW-ACCORDION"===t.tagName)),o=n[n.length-1]===this.el;i.forEach(((t,e)=>{t.classList.toggle("spw-accordion-item--first",0===e),t.classList.toggle("spw-accordion-item--last",e===i.length-1&&o)}))}render(){return i(n,{key:"805d62a7d88d3f0dfc374154220ebf4f45d4bb48"},i("div",{key:"e5770457ce3924b537f00ebb02ecea7941d9e733",class:`spw-accordion spw-accordion--${this.variant}`},i("slot",{key:"786ac45b99e2702eb2256cf7c49f8a266be6b735",onSlotchange:()=>this.markEdgeChildren()})))}get el(){return this}static get watchers(){return{background:[{backgroundChanged:0}],variant:[{variantChanged:0}]}}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;position:relative;width:100%}.spw-accordion--box{border:1px solid var(--spw-color-themes-grey-grey-300);border-radius:6px}"}},[257,"spw-accordion",{background:[1],variant:[1]},void 0,{background:[{backgroundChanged:0}],variant:[{variantChanged:0}]}]);function s(){"undefined"!=typeof customElements&&["spw-accordion"].forEach((t=>{"spw-accordion"===t&&(customElements.get(o(t))||customElements.define(o(t),a))}))}export{a as S,s as d}
@@ -1 +1 @@
1
- import{S as o,d as s}from"./p-DVxJ3wRZ.js";const p=o,r=s;export{p as SpwAccordionContent,r as defineCustomElement}
1
+ import{S as t,d as o}from"./p-N9GtuZLt.js";const s=t,p=o;export{s as SpwAccordionContent,p as defineCustomElement}
@@ -1 +1 @@
1
- import{S as o,d as r}from"./p-C2YutT5r.js";const s=o,t=r;export{s as SpwAccordionItem,t as defineCustomElement}
1
+ import{S as o,d as s}from"./p-DmD0U8OW.js";const m=o,p=s;export{m as SpwAccordionItem,p as defineCustomElement}
@@ -1 +1 @@
1
- import{S as o,d as r}from"./p-Ci0r8I9g.js";const s=o,p=r;export{s as SpwAccordionTitle,p as defineCustomElement}
1
+ import{S as o,d as s}from"./p-CzRB_COv.js";const p=o,r=s;export{p as SpwAccordionTitle,r as defineCustomElement}
@@ -1 +1 @@
1
- import{S as o,d as p}from"./p-DaUZrpCq.js";const r=o,s=p;export{r as SpwAccordion,s as defineCustomElement}
1
+ import{S as p,d as o}from"./p-yXpAcpXR.js";const s=p,r=o;export{s as SpwAccordion,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,c as i,h as s,a as n,t as a}from"./index.js";import{d as o}from"./p-DfbLlF27.js";import{d as r}from"./p-B68Myli4.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.spwDismiss=i(this,"spwDismiss",7),this.isDismissable=!0,this.dismissableText="Masquer",this.alertTitle="Notification",this.isVisible=!0,this.handleKeyDown=t=>{"Enter"===t.key&&(t.preventDefault(),this.handleDismiss())},this.handleDismiss=()=>{this.spwDismiss.emit({alertId:this.alertId}),this.isVisible=!1}}async showAlert(){this.isVisible=!0}async hideAlert(){this.isVisible=!1}render(){return this.isVisible?s(n,null,s("div",{class:"spw-alert",role:"alert","aria-live":"polite","aria-label":this.alertTitle},s("div",{class:"spw-alert__container"},s("div",{class:"spw-alert__text-container"},s("div",{class:"spw-alert__text"},s("slot",null)),s("slot",{name:"button"})),this.isDismissable&&s("div",{class:"spw-alert__close"},s("spw-link",{tabindex:"0",icon:"fa-close","aria-label":this.dismissableText,onClick:this.handleDismiss,onKeyDown:this.handleKeyDown},s("span",{class:"spw-alert__close-text"},this.dismissableText)))))):null}get el(){return this}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-alert-font-size:14px;--spw-alert-background-color:var(--spw-ds-primary);--spw-alert-text-line-clamp:2}.spw-alert{width:100%;padding-top:16px;padding-bottom:16px;background:var(--spw-alert-background-color);color:var(--spw-ds-white);font-size:var(--spw-alert-font-size)}.spw-alert__container{display:flex;flex-direction:row;justify-content:space-between;align-items:stretch;width:100%;gap:16px;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-alert__container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-alert__container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-alert__container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-alert__container{max-width:var(--spw-ds-container-xl)}}.spw-alert__text-container{display:flex;align-items:center;gap:16px;flex-direction:row;width:100%;justify-content:space-between;flex-wrap:wrap}@media (min-width: 768px){.spw-alert__text-container{flex-wrap:nowrap}}.spw-alert__title{font-size:16px;flex:1;display:block}.spw-alert__text{color:var(--spw-ds-white);line-height:1.4;font-size:14px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis;-webkit-line-clamp:var(--spw-alert-text-line-clamp);line-clamp:var(--spw-alert-text-line-clamp);min-width:200px}.spw-alert__close{display:flex;align-items:center;padding-left:4px;border-left:1px solid rgba(255, 255, 255, 0.3)}.spw-alert spw-link{font-size:14px;--spw-link-color:var(--spw-ds-white);--spw-link-hover-color:var(--spw-ds-white);--spw-link-active-color:var(--spw-ds-white);--spw-link-padding:8px}.spw-alert spw-link:focus-visible{outline:3px solid white;outline-offset:0;box-shadow:0 0 0 6px black}.spw-alert spw-link .spw-alert__close-text{display:none}"}},[257,"spw-alert",{alertId:[1,"alert-id"],isDismissable:[4,"is-dismissable"],dismissableText:[1,"dismissable-text"],alertTitle:[1,"alert-title"],isVisible:[32],showAlert:[64],hideAlert:[64]}]),p=l,d=function(){"undefined"!=typeof customElements&&["spw-alert","spw-icon","spw-link"].forEach((t=>{switch(t){case"spw-alert":customElements.get(a(t))||customElements.define(a(t),l);break;case"spw-icon":customElements.get(a(t))||o();break;case"spw-link":customElements.get(a(t))||r()}}))};export{p as SpwAlert,d as defineCustomElement}
1
+ import{p as t,H as e,c as i,h as s,a as n,t as a}from"./index.js";import{d as o}from"./p-D9yobKiX.js";import{d as r}from"./p-DFkINEAb.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.spwDismiss=i(this,"spwDismiss",7),this.isDismissable=!0,this.dismissableText="Masquer",this.alertTitle="Notification",this.isVisible=!0,this.handleKeyDown=t=>{"Enter"===t.key&&(t.preventDefault(),this.handleDismiss())},this.handleDismiss=()=>{this.spwDismiss.emit({alertId:this.alertId}),this.isVisible=!1}}async showAlert(){this.isVisible=!0}async hideAlert(){this.isVisible=!1}render(){return this.isVisible?s(n,null,s("div",{class:"spw-alert",role:"alert","aria-live":"polite","aria-label":this.alertTitle},s("div",{class:"spw-alert__container"},s("div",{class:"spw-alert__text-container"},s("div",{class:"spw-alert__text"},s("slot",null)),s("slot",{name:"button"})),this.isDismissable&&s("div",{class:"spw-alert__close"},s("spw-link",{tabindex:"0",icon:"fa-close","aria-label":this.dismissableText,onClick:this.handleDismiss,onKeyDown:this.handleKeyDown},s("span",{class:"spw-alert__close-text"},this.dismissableText)))))):null}get el(){return this}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-alert-font-size:14px;--spw-alert-background-color:var(--spw-ds-primary);--spw-alert-text-line-clamp:2}.spw-alert{width:100%;padding-top:16px;padding-bottom:16px;background:var(--spw-alert-background-color);color:var(--spw-ds-white);font-size:var(--spw-alert-font-size)}.spw-alert__container{display:flex;flex-direction:row;justify-content:space-between;align-items:stretch;width:100%;gap:16px;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-alert__container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-alert__container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-alert__container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-alert__container{max-width:var(--spw-ds-container-xl)}}.spw-alert__text-container{display:flex;align-items:center;gap:16px;flex-direction:row;width:100%;justify-content:space-between;flex-wrap:wrap}@media (min-width: 768px){.spw-alert__text-container{flex-wrap:nowrap}}.spw-alert__title{font-size:16px;flex:1;display:block}.spw-alert__text{color:var(--spw-ds-white);line-height:1.4;font-size:14px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis;-webkit-line-clamp:var(--spw-alert-text-line-clamp);line-clamp:var(--spw-alert-text-line-clamp);min-width:200px}.spw-alert__close{display:flex;align-items:center;padding-left:4px;border-left:1px solid rgba(255, 255, 255, 0.3)}.spw-alert spw-link{font-size:14px;--spw-link-color:var(--spw-ds-white);--spw-link-hover-color:var(--spw-ds-white);--spw-link-active-color:var(--spw-ds-white);--spw-link-padding:8px}.spw-alert spw-link:focus-visible{outline:3px solid white;outline-offset:0;box-shadow:0 0 0 6px black}.spw-alert spw-link .spw-alert__close-text{display:none}"}},[257,"spw-alert",{alertId:[1,"alert-id"],isDismissable:[4,"is-dismissable"],dismissableText:[1,"dismissable-text"],alertTitle:[1,"alert-title"],isVisible:[32],showAlert:[64],hideAlert:[64]}]),p=l,d=function(){"undefined"!=typeof customElements&&["spw-alert","spw-icon","spw-link"].forEach((t=>{switch(t){case"spw-alert":customElements.get(a(t))||customElements.define(a(t),l);break;case"spw-icon":customElements.get(a(t))||o();break;case"spw-link":customElements.get(a(t))||r()}}))};export{p as SpwAlert,d as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as a,a as i,t as s}from"./index.js";const o=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.size="medium",this.clickable=!1}get hostClass(){return{"spw-avatar":!0,"spw-avatar--rounded":!0,["spw-avatar--"+this.size]:!0,"spw-avatar--has-image":!!this.image,"spw-avatar--clickable":this.clickable}}get avatarStyle(){return this.image?{"background-image":`url(${this.image})`}:{}}render(){return a(i,{key:"b2de622c9540433ac94c443faa33dbea2aa3f731",class:this.hostClass,style:this.avatarStyle,role:"img","aria-label":this.accAriaLabel||this.initials||"Avatar"},!this.image&&this.initials&&a("span",{key:"3f14e092c9f2b56d9903d7bab49c7a61f06b93df",class:"spw-avatar__initials"},this.initials),this.bubble&&a("span",{key:"fa1e65c6467f5e0bee96e5d31bb85aa4afecae5e",class:"spw-avatar__bubble"},this.bubble))}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:inline-flex;align-items:center;justify-content:center;position:relative;background-color:var(--spw-color-themes-grey-grey-200);background-size:cover;background-position:center;background-repeat:no-repeat}:host(.spw-avatar--rounded){border-radius:50%}:host(.spw-avatar--squared){border-radius:4px}:host(.spw-avatar--small){width:32px;height:32px;font-size:12px}:host(.spw-avatar--medium){width:45px;height:45px;font-size:14px}:host(.spw-avatar--large){width:60px;height:60px;font-size:18px}.spw-avatar__initials{color:var(--spw-colors-support-grey-grey-900);font-weight:600;text-transform:uppercase;line-height:1;user-select:none}.spw-avatar__bubble{position:absolute;top:-4px;right:-4px;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;font-size:10px;font-weight:600;line-height:1;border:2px solid white;border-radius:9999px;background-color:var(--spw-ds-primary);color:white}:host(.spw-avatar--small) .spw-avatar__bubble{min-width:16px;height:16px;font-size:9px;top:-3px;right:-3px}:host(.spw-avatar--large) .spw-avatar__bubble{min-width:20px;height:20px;font-size:11px;top:-5px;right:-5px}:host(.spw-avatar--clickable){cursor:pointer;transition:background-color 0.1s ease-in}:host(.spw-avatar--clickable):hover{background-color:var(--spw-color-themes-grey-grey-300)}:host(.spw-avatar--clickable):active{background-color:var(--spw-color-themes-grey-grey-400)}"}},[1,"spw-avatar",{size:[1],image:[1],initials:[1],bubble:[1],clickable:[4],accAriaLabel:[1,"acc-aria-label"]}]),n=o,r=function(){"undefined"!=typeof customElements&&["spw-avatar"].forEach((t=>{"spw-avatar"===t&&(customElements.get(s(t))||customElements.define(s(t),o))}))};export{n as SpwAvatar,r as defineCustomElement}
1
+ import{p as t,H as e,h as a,a as i,t as s}from"./index.js";const o=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.size="medium",this.clickable=!1}get hostClass(){return{"spw-avatar":!0,"spw-avatar--rounded":!0,["spw-avatar--"+this.size]:!0,"spw-avatar--has-image":!!this.image,"spw-avatar--clickable":this.clickable}}get avatarStyle(){return this.image?{"background-image":`url(${this.image})`}:{}}render(){return a(i,{key:"c25220d746a1fb6acbc3b19a0d2a3203319a0a5a",class:this.hostClass,style:this.avatarStyle,role:"img","aria-label":this.accAriaLabel||this.initials||"Avatar"},!this.image&&this.initials&&a("span",{key:"21673337b49cfbc357bc76af5013682450ce64ec",class:"spw-avatar__initials"},this.initials),this.bubble&&a("span",{key:"f89d15b3096c57466c8e8ba428ef41d26876881a",class:"spw-avatar__bubble"},this.bubble))}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:inline-flex;align-items:center;justify-content:center;position:relative;background-color:var(--spw-color-themes-grey-grey-200);background-size:cover;background-position:center;background-repeat:no-repeat}:host(.spw-avatar--rounded){border-radius:50%}:host(.spw-avatar--squared){border-radius:4px}:host(.spw-avatar--small){width:32px;height:32px;font-size:12px}:host(.spw-avatar--medium){width:45px;height:45px;font-size:14px}:host(.spw-avatar--large){width:60px;height:60px;font-size:18px}.spw-avatar__initials{color:var(--spw-colors-support-grey-grey-900);font-weight:600;text-transform:uppercase;line-height:1;user-select:none}.spw-avatar__bubble{position:absolute;top:-4px;right:-4px;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;font-size:10px;font-weight:600;line-height:1;border:2px solid white;border-radius:9999px;background-color:var(--spw-ds-primary);color:white}:host(.spw-avatar--small) .spw-avatar__bubble{min-width:16px;height:16px;font-size:9px;top:-3px;right:-3px}:host(.spw-avatar--large) .spw-avatar__bubble{min-width:20px;height:20px;font-size:11px;top:-5px;right:-5px}:host(.spw-avatar--clickable){cursor:pointer;transition:background-color 0.1s ease-in}:host(.spw-avatar--clickable):hover{background-color:var(--spw-color-themes-grey-grey-300)}:host(.spw-avatar--clickable):active{background-color:var(--spw-color-themes-grey-grey-400)}"}},[1,"spw-avatar",{size:[1],image:[1],initials:[1],bubble:[1],clickable:[4],accAriaLabel:[1,"acc-aria-label"]}]),n=o,r=function(){"undefined"!=typeof customElements&&["spw-avatar"].forEach((t=>{"spw-avatar"===t&&(customElements.get(s(t))||customElements.define(s(t),o))}))};export{n as SpwAvatar,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as o,h as n,a as e,t as s}from"./index.js";const c=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="blockquote",this.target="_self",this.background="primary"}get elementClass(){return{"spw-block-content":!0,["spw-block-content--"+this.variant]:!0,["spw-block-content--bg-"+this.background]:!!this.background}}renderBlockquote(){return n("blockquote",{class:"spw-block-content__blockquote-container"},n("div",{class:"spw-block-content__blockquote"},n("div",{class:"spw-block-content__top"},n("slot",{name:"top"})),n("div",{class:"spw-block-content__quote"},n("slot",{name:"quote"})),n("div",{class:"spw-block-content__bottom"},n("slot",{name:"bottom"}))))}renderBanner(){const t=n("div",{class:"spw-block-content__banner"},n("div",{class:"spw-block-content__content"},n("div",{class:"spw-block-content__text"},n("slot",null))),this.imageSrc&&n("div",{class:"spw-block-content__image"},n("img",{src:this.imageSrc,alt:this.imageAlt||""})),n("div",{class:"spw-block-content__button"},n("slot",{name:"button"})));return this.href?n("a",{href:this.href,target:this.target,class:"spw-block-content__link"},t):t}renderNewsletter(){return n("div",{class:"spw-block-content__newsletter"},n("slot",null))}renderCallout(){const t={};return this.ratio&&(t["--spw-block-content-callout-ratio"]=this.ratio,t["--spw-block-content-callout-ratio-mobile"]=this.ratio,t["--spw-block-content-callout-ratio-tablet"]=this.ratio,t["--spw-block-content-callout-ratio-desktop"]=this.ratio),this.ratioMobile&&(t["--spw-block-content-callout-ratio-mobile"]=this.ratioMobile),this.ratioTablet&&(t["--spw-block-content-callout-ratio-tablet"]=this.ratioTablet),this.ratioDesktop&&(t["--spw-block-content-callout-ratio-desktop"]=this.ratioDesktop),n("div",{class:"spw-block-content__callout",style:t},this.imageSrc&&n("div",{class:"spw-block-content__image"},n("img",{src:this.imageSrc,alt:this.imageAlt||""})),n("div",{class:"spw-block-content__content"},n("slot",null)))}render(){return n(e,{key:"2c62f3de6673b1cacaa7ef91b4fc9c0a614c66d1",class:this.elementClass},"blockquote"===this.variant&&this.renderBlockquote(),("banner-landscape"===this.variant||"banner-portrait"===this.variant)&&this.renderBanner(),"callout"===this.variant&&this.renderCallout(),"newsletter"===this.variant&&this.renderNewsletter())}static get style(){return'@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}:host(.spw-block-content--blockquote) .spw-block-content__blockquote-container{margin:0 !important;padding:0 !important;padding-left:20px !important}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__blockquote-container{padding-left:40px !important}}:host(.spw-block-content--blockquote) .spw-block-content__blockquote{margin:0;padding:24px;padding-left:44px;background-color:var(--spw-colors-multi-branding-red-red-50);border-radius:16px;color:var(--spw-colors-support-grey-grey-900);display:flex;flex-direction:column;gap:24px}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__blockquote{padding:32px;padding-left:72px}}:host(.spw-block-content--blockquote):host(.spw-block-content--bg-neutral) .spw-block-content__blockquote{background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900)}:host(.spw-block-content--blockquote) .spw-block-content__quote{display:flex;gap:16px;position:relative}:host(.spw-block-content--blockquote) .spw-block-content__quote::before{content:"“";position:absolute;left:-44px;font-size:50px;font-weight:700;color:var(--spw-colors-support-grey-grey-900);flex-shrink:0;width:40px;height:40px;padding-top:22px;padding-right:5px;font-style:italic;background:white;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;transform:translateX(-50%)}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__quote::before{left:-72px;font-size:100px;width:80px;height:80px;padding-top:45px;padding-right:10px}}:host(.spw-block-content--blockquote) .spw-block-content__quote ::slotted(*){margin:0;padding-left:16px;font-size:21px;font-style:italic;font-weight:700;line-height:1.4}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__quote ::slotted(*){font-size:24px}}:host(.spw-block-content--banner-landscape),:host(.spw-block-content--banner-portrait){background:var(--spw-ds-primary);color:white !important;border-radius:16px;overflow:hidden;position:relative}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-primary),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-purple),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-blue),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-petrol),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-neutral),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-neutral){background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900) !important}:host(.spw-block-content--banner-landscape) .spw-block-content__link,:host(.spw-block-content--banner-portrait) .spw-block-content__link{display:block;text-decoration:none;color:inherit}:host(.spw-block-content--banner-landscape) .spw-block-content__link:hover .spw-block-content__image img,:host(.spw-block-content--banner-portrait) .spw-block-content__link:hover .spw-block-content__image img{transform:scale(1.05)}:host(.spw-block-content--banner-landscape) .spw-block-content__image img,:host(.spw-block-content--banner-portrait) .spw-block-content__image img{transition:linear 0.2s transform;display:block;width:100%;height:100%;object-fit:cover;border-top-left-radius:900px}:host(.spw-block-content--banner-landscape) .spw-block-content__button,:host(.spw-block-content--banner-portrait) .spw-block-content__button{position:absolute;bottom:16px;right:16px;z-index:2}:host(.spw-block-content--banner-landscape) .spw-block-content__text,:host(.spw-block-content--banner-portrait) .spw-block-content__text{display:flex;flex-direction:column;gap:12px;padding:16px}@media (min-width: 768px){:host(.spw-block-content--banner-landscape) .spw-block-content__text,:host(.spw-block-content--banner-portrait) .spw-block-content__text{padding:24px}}:host(.spw-block-content--banner-landscape) .spw-block-content__banner{display:flex;flex-direction:row}:host(.spw-block-content--banner-landscape) .spw-block-content__image{flex-shrink:0;width:120px}@media (min-width: 768px){:host(.spw-block-content--banner-landscape) .spw-block-content__image{width:260px}}:host(.spw-block-content--banner-landscape) .spw-block-content__content{flex:1;display:flex;flex-direction:column}:host(.spw-block-content--banner-portrait) .spw-block-content__banner{display:flex;flex-direction:column}:host(.spw-block-content--banner-portrait) .spw-block-content__image{aspect-ratio:1/1}:host(.spw-block-content--banner-portrait) .spw-block-content__content{display:flex;flex-direction:column}:host(.spw-block-content--newsletter){background:var(--spw-colors-support-grey-grey-100);border-radius:20px;overflow:hidden}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white}:host(.spw-block-content--newsletter) .spw-block-content__newsletter{padding:32px 24px;text-align:center}@media (min-width: 1024px){:host(.spw-block-content--newsletter) .spw-block-content__newsletter{padding:40px 80px}}:host(.spw-block-content--callout){background:var(--spw-ds-primary);color:white;border-radius:16px;overflow:hidden}:host(.spw-block-content--callout):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-neutral){background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900)}:host(.spw-block-content--callout) .spw-block-content__callout{display:flex;flex-direction:column;padding:16px;gap:8px}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__callout{flex-direction:row;gap:24px}}:host(.spw-block-content--callout) .spw-block-content__image{flex-shrink:0;border-radius:8px;overflow:hidden;aspect-ratio:var(--spw-block-content-callout-ratio-mobile, 16/9)}@media (min-width: 768px){:host(.spw-block-content--callout) .spw-block-content__image{aspect-ratio:var(--spw-block-content-callout-ratio-tablet, 16/9)}}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__image{width:40%;aspect-ratio:var(--spw-block-content-callout-ratio-desktop, auto)}}:host(.spw-block-content--callout) .spw-block-content__image img{display:block;width:100%;height:100%;object-fit:cover}:host(.spw-block-content--callout) .spw-block-content__content{display:flex;flex-direction:column;justify-content:center;flex:1;padding:8px}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__content{padding:24px}}'}},[257,"spw-block-content",{variant:[1],imageSrc:[1,"image-src"],imageAlt:[1,"image-alt"],href:[1],target:[1],background:[1],ratio:[1],ratioMobile:[1,"ratio-mobile"],ratioTablet:[1,"ratio-tablet"],ratioDesktop:[1,"ratio-desktop"]}]),l=c,i=function(){"undefined"!=typeof customElements&&["spw-block-content"].forEach((t=>{"spw-block-content"===t&&(customElements.get(s(t))||customElements.define(s(t),c))}))};export{l as SpwBlockContent,i as defineCustomElement}
1
+ import{p as t,H as o,h as n,a as e,t as s}from"./index.js";const c=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="blockquote",this.target="_self",this.background="primary"}get elementClass(){return{"spw-block-content":!0,["spw-block-content--"+this.variant]:!0,"spw-block-content--no-picture":!this.imageSrc,["spw-block-content--bg-"+this.background]:!!this.background}}renderBlockquote(){return n("blockquote",{class:"spw-block-content__blockquote-container"},n("div",{class:"spw-block-content__blockquote"},n("div",{class:"spw-block-content__top"},n("slot",{name:"top"})),n("div",{class:"spw-block-content__quote"},n("slot",{name:"quote"})),n("div",{class:"spw-block-content__bottom"},n("slot",{name:"bottom"}))))}renderBanner(){const t=n("div",{class:"spw-block-content__banner"},n("div",{class:"spw-block-content__content"},n("div",{class:"spw-block-content__text"},n("slot",null))),this.imageSrc&&n("div",{class:"spw-block-content__image"},n("img",{src:this.imageSrc,alt:this.imageAlt||""})),n("div",{class:"spw-block-content__button"},n("slot",{name:"button"})));return this.href?n("a",{href:this.href,target:this.target,class:"spw-block-content__link"},t):t}renderNewsletter(){return n("div",{class:"spw-block-content__newsletter"},n("slot",null))}renderCallout(){const t={};return this.ratio&&(t["--spw-block-content-callout-ratio"]=this.ratio,t["--spw-block-content-callout-ratio-mobile"]=this.ratio,t["--spw-block-content-callout-ratio-tablet"]=this.ratio,t["--spw-block-content-callout-ratio-desktop"]=this.ratio),this.ratioMobile&&(t["--spw-block-content-callout-ratio-mobile"]=this.ratioMobile),this.ratioTablet&&(t["--spw-block-content-callout-ratio-tablet"]=this.ratioTablet),this.ratioDesktop&&(t["--spw-block-content-callout-ratio-desktop"]=this.ratioDesktop),n("div",{class:"spw-block-content__callout",style:t},this.imageSrc&&n("div",{class:"spw-block-content__image"},n("img",{src:this.imageSrc,alt:this.imageAlt||""})),n("div",{class:"spw-block-content__content"},n("slot",null)))}render(){return n(e,{key:"676c321eeeec9131a1867698e5829f3d3563e178",class:this.elementClass},"blockquote"===this.variant&&this.renderBlockquote(),("banner-landscape"===this.variant||"banner-portrait"===this.variant)&&this.renderBanner(),"callout"===this.variant&&this.renderCallout(),"newsletter"===this.variant&&this.renderNewsletter())}static get style(){return'@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}:host(.spw-block-content--blockquote) .spw-block-content__blockquote-container{margin:0 !important;padding:0 !important;padding-left:20px !important}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__blockquote-container{padding-left:40px !important}}:host(.spw-block-content--blockquote) .spw-block-content__blockquote{margin:0;padding:24px;padding-left:44px;background-color:var(--spw-colors-multi-branding-red-red-50);border-radius:16px;color:var(--spw-colors-support-grey-grey-900);display:flex;flex-direction:column;gap:24px}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__blockquote{padding:32px;padding-left:72px}}:host(.spw-block-content--blockquote):host(.spw-block-content--bg-neutral) .spw-block-content__blockquote{background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900)}:host(.spw-block-content--blockquote) .spw-block-content__quote{display:flex;gap:16px;position:relative}:host(.spw-block-content--blockquote) .spw-block-content__quote::before{content:"“";position:absolute;left:-44px;font-size:50px;font-weight:700;color:var(--spw-colors-support-grey-grey-900);flex-shrink:0;width:40px;height:40px;padding-top:22px;padding-right:5px;font-style:italic;background:white;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;transform:translateX(-50%)}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__quote::before{left:-72px;font-size:100px;width:80px;height:80px;padding-top:45px;padding-right:10px}}:host(.spw-block-content--blockquote) .spw-block-content__quote ::slotted(*){margin:0;padding-left:16px;font-size:21px;font-style:italic;font-weight:700;line-height:1.4}@media (min-width: 768px){:host(.spw-block-content--blockquote) .spw-block-content__quote ::slotted(*){font-size:24px}}:host(.spw-block-content--banner-landscape),:host(.spw-block-content--banner-portrait){background:var(--spw-ds-primary);color:white !important;border-radius:16px;overflow:hidden;position:relative}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-primary),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-purple),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-blue),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-petrol),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white !important}:host(.spw-block-content--banner-landscape):host(.spw-block-content--bg-neutral),:host(.spw-block-content--banner-portrait):host(.spw-block-content--bg-neutral){background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900) !important}:host(.spw-block-content--banner-landscape) .spw-block-content__link,:host(.spw-block-content--banner-portrait) .spw-block-content__link{display:block;text-decoration:none;color:inherit}:host(.spw-block-content--banner-landscape) .spw-block-content__link:hover .spw-block-content__image img,:host(.spw-block-content--banner-portrait) .spw-block-content__link:hover .spw-block-content__image img{transform:scale(1.05)}:host(.spw-block-content--banner-landscape) .spw-block-content__image img,:host(.spw-block-content--banner-portrait) .spw-block-content__image img{transition:linear 0.2s transform;display:block;width:100%;height:100%;object-fit:cover;border-top-left-radius:900px}:host(.spw-block-content--banner-landscape) .spw-block-content__button,:host(.spw-block-content--banner-portrait) .spw-block-content__button{position:absolute;bottom:16px;right:16px;z-index:2}:host(.spw-block-content--banner-landscape) .spw-block-content__text,:host(.spw-block-content--banner-portrait) .spw-block-content__text{display:flex;flex-direction:column;gap:12px;padding:16px}@media (min-width: 768px){:host(.spw-block-content--banner-landscape) .spw-block-content__text,:host(.spw-block-content--banner-portrait) .spw-block-content__text{padding:24px}}:host(.spw-block-content--banner-landscape) .spw-block-content__banner{display:flex;flex-direction:row}:host(.spw-block-content--banner-landscape) .spw-block-content__image{flex-shrink:0;width:120px}@media (min-width: 768px){:host(.spw-block-content--banner-landscape) .spw-block-content__image{width:260px}}:host(.spw-block-content--banner-landscape) .spw-block-content__content{flex:1;display:flex;flex-direction:column}:host(.spw-block-content--banner-portrait) .spw-block-content__banner{display:flex;flex-direction:column}:host(.spw-block-content--banner-portrait) .spw-block-content__image{aspect-ratio:1/1}:host(.spw-block-content--banner-portrait) .spw-block-content__content{display:flex;flex-direction:column}:host(.spw-block-content--banner-landscape.spw-block-content--no-picture){padding:24px}:host(.spw-block-content--banner-landscape.spw-block-content--no-picture) .spw-block-content__text{padding:0}:host(.spw-block-content--banner-landscape.spw-block-content--no-picture) .spw-block-content__banner{flex-direction:column}:host(.spw-block-content--banner-landscape.spw-block-content--no-picture) .spw-block-content__button{position:static}:host(.spw-block-content--newsletter){background:var(--spw-colors-support-grey-grey-100);border-radius:20px;overflow:hidden}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white}:host(.spw-block-content--newsletter):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white}:host(.spw-block-content--newsletter) .spw-block-content__newsletter{padding:32px 24px;text-align:center}@media (min-width: 1024px){:host(.spw-block-content--newsletter) .spw-block-content__newsletter{padding:40px 80px}}:host(.spw-block-content--callout){background:var(--spw-ds-primary);color:white;border-radius:16px;overflow:hidden}:host(.spw-block-content--callout):host(.spw-block-content--bg-primary){background:var(--spw-ds-primary);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-purple){background:var(--spw-ds-alt-purple);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-blue){background:var(--spw-ds-alt-blue);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-petrol){background:var(--spw-ds-alt-petrol);color:white}:host(.spw-block-content--callout):host(.spw-block-content--bg-neutral){background:var(--spw-colors-support-grey-grey-100);color:var(--spw-colors-support-grey-grey-900)}:host(.spw-block-content--callout) .spw-block-content__callout{display:flex;flex-direction:column;padding:16px;gap:8px}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__callout{flex-direction:row;gap:24px}}:host(.spw-block-content--callout) .spw-block-content__image{flex-shrink:0;border-radius:8px;overflow:hidden;aspect-ratio:var(--spw-block-content-callout-ratio-mobile, 16/9)}@media (min-width: 768px){:host(.spw-block-content--callout) .spw-block-content__image{aspect-ratio:var(--spw-block-content-callout-ratio-tablet, 16/9)}}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__image{width:40%;aspect-ratio:var(--spw-block-content-callout-ratio-desktop, auto)}}:host(.spw-block-content--callout) .spw-block-content__image img{display:block;width:100%;height:100%;object-fit:cover}:host(.spw-block-content--callout) .spw-block-content__content{display:flex;flex-direction:column;justify-content:center;flex:1;padding:8px}@media (min-width: 1024px){:host(.spw-block-content--callout) .spw-block-content__content{padding:24px}}'}},[257,"spw-block-content",{variant:[1],imageSrc:[1,"image-src"],imageAlt:[1,"image-alt"],href:[1],target:[1],background:[1],ratio:[1],ratioMobile:[1,"ratio-mobile"],ratioTablet:[1,"ratio-tablet"],ratioDesktop:[1,"ratio-desktop"]}]),l=c,p=function(){"undefined"!=typeof customElements&&["spw-block-content"].forEach((t=>{"spw-block-content"===t&&(customElements.get(s(t))||customElements.define(s(t),c))}))};export{l as SpwBlockContent,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as s,H as e,h as t,a as o,t as i}from"./index.js";import{d as a}from"./p-DfbLlF27.js";const n=s(class extends e{constructor(s){super(),!1!==s&&this.__registerHost(),this.__attachShadow(),this.hasRadius=!1,this.hasShadow=!1,this.hasBorder=!1,this.isSticky=!1,this.padding="none",this.isCollapsible=!1,this.collapsibleBreakpoint="md",this.isOpen=!1,this.windowWidth=window.innerWidth,this.contentScrollHeight=0,this.toggle=()=>{this.isCollapsibleActive&&(this.isOpen=!this.isOpen)},this.setContentRef=s=>{var e;s!==this.contentRef&&(null===(e=this.resizeObserver)||void 0===e||e.disconnect(),this.contentRef=s,s&&(this.contentScrollHeight=s.offsetHeight,this.resizeObserver=new ResizeObserver((()=>{this.contentScrollHeight=s.offsetHeight})),this.resizeObserver.observe(s)))}}onResize(){this.windowWidth=window.innerWidth}get isCollapsibleActive(){return!!this.isCollapsible&&("always"===this.collapsibleBreakpoint||this.windowWidth<{sm:360,md:768,lg:1024,xl:1200,xxl:1700}[this.collapsibleBreakpoint])}get hostClass(){return{"spw-box--is-sticky":this.isSticky,["spw-box--collapsible-"+this.collapsibleBreakpoint]:this.isCollapsible}}get elementClass(){return{"spw-box":!0,"spw-box--has-radius":this.hasRadius,"spw-box--has-shadow":this.hasShadow,"spw-box--has-border":this.hasBorder,["spw-box--padding-"+this.padding]:"none"!==this.padding,"spw-box--collapsible-active":this.isCollapsibleActive&&!this.isOpen}}render(){const s=this.isCollapsibleActive?{height:this.isOpen?this.contentScrollHeight+"px":"0px"}:void 0;return t(o,{key:"e1f3adac45ab190d185ccf346c949a4d54f9a765",class:this.hostClass,style:this.stickyTop?{"--spw-box-sticky-top":this.stickyTop}:void 0},t("div",{key:"daa46eac04935d986287b039bd9577bee8bc5afd",class:this.elementClass,onClick:this.isOpen?void 0:this.toggle},t("div",{key:"e916d4f39b440ff1089e30b2219ad7e0632ec900",class:{"spw-box__header":!0,"spw-box__header--collapsible":this.isCollapsibleActive},onClick:this.isOpen?this.toggle:void 0},t("slot",{key:"00aed9d88ba1f4301ba22095605a8d8a762500f2",name:"header"}),this.isCollapsibleActive&&t("spw-icon",{key:"16cc84e468f873720fea5f29028556b8aefa10c2",icon:"fa-chevron-down",class:{"spw-box__header-icon--open":this.isOpen}})),t("div",{key:"7734ab95bfc3f8de07b5e20527c126330f1527da",class:{"spw-box__content-clipper":this.isCollapsibleActive},style:s},t("div",{key:"d0af852763f5dab497fcbaaa588b0dd90da9caab",class:"spw-box__content",ref:this.setContentRef},t("slot",{key:"8d017557eed798dbae381970f71926d0829e7b7b"})))))}get el(){return this}static get style(){return'@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-box-shadow:var(--spw-effect-elevation-7);--spw-box-radius:8px;--spw-box-sticky-top:32px;--spw-box-padding-small:16px;--spw-box-padding-medium:24px;--spw-box-padding-large:48px;--spw-box-collapse-duration:0.3s;--spw-box-background:white;--spw-box-border-color:var(--spw-colors-support-grey-grey-300);--spw-box-border-width:1px;--spw-box-border-style:solid}@media (min-width: 1024px){:host(.spw-box--is-sticky){position:sticky;top:var(--spw-box-sticky-top);align-self:flex-start}}.spw-box{background:var(--spw-box-background)}.spw-box--has-shadow{box-shadow:var(--spw-box-shadow)}.spw-box--has-radius{border-radius:var(--spw-box-radius)}.spw-box--has-border{border:var(--spw-box-border-width) var(--spw-box-border-style) var(--spw-box-border-color)}.spw-box--padding-small{padding:var(--spw-box-padding-small)}.spw-box--padding-medium{padding:var(--spw-box-padding-medium)}.spw-box--padding-large{padding:var(--spw-box-padding-large)}.spw-box__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.spw-box__header--collapsible{cursor:pointer}.spw-box--collapsible-active{cursor:pointer}.spw-box__header-icon--open{transform:rotate(180deg)}.spw-box spw-icon{transition:transform var(--spw-box-collapse-duration) ease}.spw-box__content-clipper{overflow:hidden;transition:height var(--spw-box-collapse-duration) ease}.spw-box__content{overflow:hidden}:host(.spw-box--collapsible-sm) .spw-box__header,:host(.spw-box--collapsible-md) .spw-box__header,:host(.spw-box--collapsible-lg) .spw-box__header,:host(.spw-box--collapsible-xl) .spw-box__header,:host(.spw-box--collapsible-xxl) .spw-box__header,:host(.spw-box--collapsible-always) .spw-box__header{display:flex}'}},[257,"spw-box",{hasRadius:[4,"has-radius"],hasShadow:[4,"has-shadow"],hasBorder:[4,"has-border"],isSticky:[4,"is-sticky"],stickyTop:[1,"sticky-top"],padding:[1],isCollapsible:[4,"is-collapsible"],collapsibleBreakpoint:[1,"collapsible-breakpoint"],isOpen:[32],windowWidth:[32],contentScrollHeight:[32]},[[9,"resize","onResize"]]]),p=n,r=function(){"undefined"!=typeof customElements&&["spw-box","spw-icon"].forEach((s=>{switch(s){case"spw-box":customElements.get(i(s))||customElements.define(i(s),n);break;case"spw-icon":customElements.get(i(s))||a()}}))};export{p as SpwBox,r as defineCustomElement}
1
+ import{p as s,H as e,h as t,a as o,t as i}from"./index.js";import{d as a}from"./p-D9yobKiX.js";const n=s(class extends e{constructor(s){super(),!1!==s&&this.__registerHost(),this.__attachShadow(),this.hasRadius=!1,this.hasShadow=!1,this.hasBorder=!1,this.isSticky=!1,this.padding="none",this.isCollapsible=!1,this.collapsibleBreakpoint="md",this.isOpen=!1,this.windowWidth=window.innerWidth,this.toggle=()=>{this.isCollapsibleActive&&(this.isOpen=!this.isOpen)},this.setContentRef=s=>{var e;s!==this.contentRef&&(null===(e=this.resizeObserver)||void 0===e||e.disconnect(),this.contentRef=s,s&&(this.resizeObserver=new ResizeObserver((()=>{})),this.resizeObserver.observe(s)))}}onResize(){this.windowWidth=window.innerWidth}get isCollapsibleActive(){return!!this.isCollapsible&&("always"===this.collapsibleBreakpoint||this.windowWidth<{sm:360,md:768,lg:1024,xl:1200,xxl:1700}[this.collapsibleBreakpoint])}get hostClass(){return{"spw-box--is-sticky":this.isSticky,["spw-box--collapsible-"+this.collapsibleBreakpoint]:this.isCollapsible}}get elementClass(){return{"spw-box":!0,"spw-box--has-radius":this.hasRadius,"spw-box--has-shadow":this.hasShadow,"spw-box--has-border":this.hasBorder,["spw-box--padding-"+this.padding]:"none"!==this.padding,"spw-box--collapsible-active":this.isCollapsibleActive&&!this.isOpen}}render(){const s=this.isCollapsibleActive?{height:this.isOpen?"auto":"0px"}:void 0;return t(o,{key:"6395bf2e707f52cdbd2169d7791536fec590b867",class:this.hostClass,style:this.stickyTop?{"--spw-box-sticky-top":this.stickyTop}:void 0},t("div",{key:"77b16ec05a677be07f47bdf6eec4d76288a56ac4",class:this.elementClass,onClick:this.isOpen?void 0:this.toggle},t("div",{key:"31a7064746a8ab2d0545f582d6f6b63007146d6a",class:{"spw-box__header":!0,"spw-box__header--collapsible":this.isCollapsibleActive},onClick:this.isOpen?this.toggle:void 0},t("slot",{key:"29b77e3dbd55ccc924035590de648dd15b40a374",name:"header"}),this.isCollapsibleActive&&t("spw-icon",{key:"ad59b212e0d26600ec0e4979c7c20fcb0fb4b910",icon:"fa-chevron-down",class:{"spw-box__header-icon--open":this.isOpen}})),t("div",{key:"bb8766a22042f269ef2fef045d824fa33e145e43",class:{"spw-box__content-clipper":this.isCollapsibleActive},style:s},t("div",{key:"9bc61a4c323e5f9a2e4fef1b05fd914f89b367e0",class:"spw-box__content",ref:this.setContentRef},t("slot",{key:"d9656a002b8821f203607d0860b5028421a8de56"})))))}get el(){return this}static get style(){return'@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-box-shadow:var(--spw-effect-elevation-7);--spw-box-radius:8px;--spw-box-sticky-top:32px;--spw-box-padding-small:16px;--spw-box-padding-medium:24px;--spw-box-padding-large:48px;--spw-box-collapse-duration:0.3s;--spw-box-background:white;--spw-box-border-color:var(--spw-colors-support-grey-grey-300);--spw-box-border-width:1px;--spw-box-border-style:solid}@media (min-width: 1024px){:host(.spw-box--is-sticky){position:sticky;top:var(--spw-box-sticky-top);align-self:flex-start}}.spw-box{background:var(--spw-box-background)}.spw-box--has-shadow{box-shadow:var(--spw-box-shadow)}.spw-box--has-radius{border-radius:var(--spw-box-radius)}.spw-box--has-border{border:var(--spw-box-border-width) var(--spw-box-border-style) var(--spw-box-border-color)}.spw-box--padding-small{padding:var(--spw-box-padding-small)}.spw-box--padding-medium{padding:var(--spw-box-padding-medium)}.spw-box--padding-large{padding:var(--spw-box-padding-large)}.spw-box__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.spw-box__header--collapsible{cursor:pointer}.spw-box--collapsible-active{cursor:pointer}.spw-box__header-icon--open{transform:rotate(180deg)}.spw-box spw-icon{transition:transform var(--spw-box-collapse-duration) ease}.spw-box__content-clipper{overflow:hidden;transition:height var(--spw-box-collapse-duration) ease}:host(.spw-box--collapsible-sm) .spw-box__header,:host(.spw-box--collapsible-md) .spw-box__header,:host(.spw-box--collapsible-lg) .spw-box__header,:host(.spw-box--collapsible-xl) .spw-box__header,:host(.spw-box--collapsible-xxl) .spw-box__header,:host(.spw-box--collapsible-always) .spw-box__header{display:flex}'}},[257,"spw-box",{hasRadius:[4,"has-radius"],hasShadow:[4,"has-shadow"],hasBorder:[4,"has-border"],isSticky:[4,"is-sticky"],stickyTop:[1,"sticky-top"],padding:[1],isCollapsible:[4,"is-collapsible"],collapsibleBreakpoint:[1,"collapsible-breakpoint"],isOpen:[32],windowWidth:[32]},[[9,"resize","onResize"]]]),p=n,r=function(){"undefined"!=typeof customElements&&["spw-box","spw-icon"].forEach((s=>{switch(s){case"spw-box":customElements.get(i(s))||customElements.define(i(s),n);break;case"spw-icon":customElements.get(i(s))||a()}}))};export{p as SpwBox,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as i,a as s,t as n}from"./index.js";import{d as r}from"./p-DfbLlF27.js";import{d as o}from"./p-B68Myli4.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.href="",this.surface="light",this.label="",this.truncated=""}surfaceChanged(){this.updateSurfaceClass()}componentWillLoad(){this.getSurfaceFromParent()}componentDidLoad(){this.readSlotText(),this.mutationObserver=new MutationObserver((()=>this.readSlotText())),this.mutationObserver.observe(this.el,{childList:!0,characterData:!0,subtree:!0})}disconnectedCallback(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}readSlotText(){var e,t;const i=null!==(t=null===(e=this.el.textContent)||void 0===e?void 0:e.trim())&&void 0!==t?t:"";i!==this.label&&(this.label=i,this.truncated=i.length>40?i.slice(0,40)+"…":i)}getSurfaceFromParent(){let e=this.el.parentElement;for(;e;){if("spw-breadcrumb"===e.tagName.toLowerCase()){this.surface=e.getAttribute("surface"),this.surface||(this.surface="light"),this.updateSurfaceClass();break}e=e.shadowRoot?e.shadowRoot.host:e.parentElement}}updateSurfaceClass(){this.el.classList.remove("spw-breadcrumb-item--light","spw-breadcrumb-item--dark"),this.el.classList.add("spw-breadcrumb-item--"+this.surface)}render(){return i(s,{key:"7a9307bf938a45923959ec24c38358348d2c3152"},i("div",{key:"0e844d79abccb408ad3a799faecc31ba0c7ec4ae",role:"listitem",class:"spw-breadcrumb-item spw-breadcrumb-item--"+this.surface},this.href?i("spw-link",{href:this.href,surface:this.surface,title:this.label},this.truncated||i("slot",null)):i("span",{class:"spw-breadcrumb-item__text","aria-current":"page",title:this.label},this.truncated||i("slot",null))))}get el(){return this}static get watchers(){return{surface:[{surfaceChanged:0}]}}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:contents;white-space:nowrap}.spw-breadcrumb-item{list-style:none;display:inline;white-space:nowrap}.spw-breadcrumb-item__text{font-weight:700;white-space:nowrap;color:var(--spw-color-themes-grey-grey-900)}:host(.spw-breadcrumb-item--dark) .spw-breadcrumb-item__text{color:var(--spw-ds-white)}.spw-breadcrumb-item spw-link{--spw-link-font-weight:400}@media (min-width: 1024px){.spw-breadcrumb-item spw-link{--spw-link-white-space:nowrap}}:host(.spw-breadcrumb-item--light) .spw-breadcrumb-item spw-link{--spw-link-color:var(--spw-color-themes-grey-grey-900);--spw-link-hover-color:var(--spw-color-themes-grey-grey-900);--spw-link-active-color:var(--spw-color-themes-grey-grey-800)}"}},[257,"spw-breadcrumb-item",{href:[1],surface:[32],label:[32],truncated:[32]},void 0,{surface:[{surfaceChanged:0}]}]),p=a,c=function(){"undefined"!=typeof customElements&&["spw-breadcrumb-item","spw-icon","spw-link"].forEach((e=>{switch(e){case"spw-breadcrumb-item":customElements.get(n(e))||customElements.define(n(e),a);break;case"spw-icon":customElements.get(n(e))||r();break;case"spw-link":customElements.get(n(e))||o()}}))};export{p as SpwBreadcrumbItem,c as defineCustomElement}
1
+ import{p as e,H as t,h as i,a as s,t as n}from"./index.js";import{d as r}from"./p-D9yobKiX.js";import{d as o}from"./p-DFkINEAb.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.href="",this.surface="light",this.label="",this.truncated=""}surfaceChanged(){this.updateSurfaceClass()}componentWillLoad(){this.getSurfaceFromParent()}componentDidLoad(){this.readSlotText(),this.mutationObserver=new MutationObserver((()=>this.readSlotText())),this.mutationObserver.observe(this.el,{childList:!0,characterData:!0,subtree:!0})}disconnectedCallback(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}readSlotText(){var e,t;const i=null!==(t=null===(e=this.el.textContent)||void 0===e?void 0:e.trim())&&void 0!==t?t:"";i!==this.label&&(this.label=i,this.truncated=i.length>40?i.slice(0,40)+"…":i)}getSurfaceFromParent(){let e=this.el.parentElement;for(;e;){if("spw-breadcrumb"===e.tagName.toLowerCase()){this.surface=e.getAttribute("surface"),this.surface||(this.surface="light"),this.updateSurfaceClass();break}e=e.shadowRoot?e.shadowRoot.host:e.parentElement}}updateSurfaceClass(){this.el.classList.remove("spw-breadcrumb-item--light","spw-breadcrumb-item--dark"),this.el.classList.add("spw-breadcrumb-item--"+this.surface)}render(){return i(s,{key:"be1b1666276af179fe49a28dbee20cff6c64f6be"},i("div",{key:"5737222d5f2a4248058ca8dee11a0a0b24ef3ede",role:"listitem",class:"spw-breadcrumb-item spw-breadcrumb-item--"+this.surface},this.href?i("spw-link",{href:this.href,surface:this.surface,title:this.label},this.truncated||i("slot",null)):i("span",{class:"spw-breadcrumb-item__text","aria-current":"page",title:this.label},this.truncated||i("slot",null))))}get el(){return this}static get watchers(){return{surface:[{surfaceChanged:0}]}}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:contents;white-space:nowrap}.spw-breadcrumb-item{list-style:none;display:inline;white-space:nowrap}.spw-breadcrumb-item__text{font-weight:700;white-space:nowrap;color:var(--spw-color-themes-grey-grey-900)}:host(.spw-breadcrumb-item--dark) .spw-breadcrumb-item__text{color:var(--spw-ds-white)}.spw-breadcrumb-item spw-link{--spw-link-font-weight:400}@media (min-width: 1024px){.spw-breadcrumb-item spw-link{--spw-link-white-space:nowrap}}:host(.spw-breadcrumb-item--light) .spw-breadcrumb-item spw-link{--spw-link-color:var(--spw-color-themes-grey-grey-900);--spw-link-hover-color:var(--spw-color-themes-grey-grey-900);--spw-link-active-color:var(--spw-color-themes-grey-grey-800)}"}},[257,"spw-breadcrumb-item",{href:[1],surface:[32],label:[32],truncated:[32]},void 0,{surface:[{surfaceChanged:0}]}]),p=a,d=function(){"undefined"!=typeof customElements&&["spw-breadcrumb-item","spw-icon","spw-link"].forEach((e=>{switch(e){case"spw-breadcrumb-item":customElements.get(n(e))||customElements.define(n(e),a);break;case"spw-icon":customElements.get(n(e))||r();break;case"spw-link":customElements.get(n(e))||o()}}))};export{p as SpwBreadcrumbItem,d as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as i,a as s,t as a}from"./index.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.maxItems=5,this.variant="default",this.surface="light",this.fontSize="small"}componentDidLoad(){this.updateBreadcrumbVisibility()}componentDidUpdate(){this.updateBreadcrumbVisibility()}updateBreadcrumbVisibility(){const e=this.host.querySelectorAll("spw-breadcrumb-item"),t=e.length;if(e.forEach((e=>{e.classList.remove("hidden-item","collapsed-item")})),t>this.maxItems){const i=this.maxItems-1;e.forEach(((e,s)=>{s>=i&&s<t-1&&e.classList.add(s===t-2?"collapsed-item":"hidden-item")}))}}render(){return i(s,{key:"6f357aa6db95e1c97d1da12346e749dea828730e"},i("nav",{key:"499cde6c05cb0be98bc0359e13c1e7bf285a2be9","aria-label":this.accAriaLabel,class:{"spw-breadcrumb":!0,["spw-breadcrumb--surface-"+this.surface]:!0,["spw-breadcrumb--font-size-"+this.fontSize]:!0,["spw-breadcrumb--"+this.variant]:!0}},i("div",{key:"ddfd94c45afbc35712f69bbe8f20fd506af0f4bb",role:"list",class:"spw-breadcrumb__list"},i("slot",{key:"5cf7e2bf016055a8321f9e16547c5a9bf57b23bd"}))))}get host(){return this}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-breadcrumb{font-size:16px;max-width:100%;width:100%}.spw-breadcrumb--font-size-small{font-size:14px}.spw-breadcrumb__list{display:flex;list-style:none;padding:0;margin:0;width:100%;max-width:100%}@media (min-width: 1024px){.spw-breadcrumb--multiline .spw-breadcrumb__list{display:block}}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:last-child){display:block;margin-top:12px !important}}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)):after{display:none !important}}::slotted(spw-breadcrumb-item){margin-right:10px !important;padding-left:24px !important;position:relative;display:none;white-space:nowrap}::slotted(spw-breadcrumb-item):after{position:absolute;top:50%;transform:translateY(-50%);left:0;font-family:var(--spw-ds-font-icons-regular);content:"\\f060";font-size:14px}@media (min-width: 1024px){::slotted(spw-breadcrumb-item):after{right:0;left:auto;transform:translateY(-50%);content:"\\f054";font-size:12px}}@media (min-width: 1024px){::slotted(spw-breadcrumb-item){display:inline-block;padding-left:0 !important;padding-right:16px !important}}::slotted(spw-breadcrumb-item:last-child){flex:1;overflow:hidden;display:none;margin-right:0 !important;-webkit-box-orient:vertical;text-overflow:ellipsis;-webkit-line-clamp:1;line-clamp:1;padding-right:0 !important}::slotted(spw-breadcrumb-item:last-child):after{display:none}@media (min-width: 1024px){::slotted(spw-breadcrumb-item:last-child){display:-webkit-box}}.spw-breadcrumb:not(.spw-breadcrumb--multiline):not(.spw-breadcrumb--one-line) ::slotted(spw-breadcrumb-item:nth-last-child(2)){display:-webkit-box !important}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item){display:none}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item){display:inline-block}}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child){overflow:initial;display:-webkit-box !important}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child):after{display:block}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child):after{display:none}}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child){display:inline-block}}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item){display:none}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item){display:inline-block}}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)){overflow:initial;display:-webkit-box !important}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)):after{display:block}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)){display:inline-block !important}}::slotted(.hidden-item){display:none}::slotted(.collapsed-item){display:none}@media (min-width: 1024px){::slotted(.collapsed-item){display:inline-block;font-size:0;position:relative}}@media (min-width: 1024px){::slotted(.collapsed-item)::before{font-family:var(--spw-ds-font-icons-solid);font-weight:700;content:"\\f141";font-size:14px;color:var(--spw-color-themes-grey-grey-900)}}.spw-breadcrumb--surface-light ::slotted(spw-breadcrumb-item):after{opacity:1;color:var(--spw-color-themes-grey-grey-900)}.spw-breadcrumb--surface-dark{color:var(--spw-ds-white) !important}.spw-breadcrumb--surface-dark ::slotted(spw-breadcrumb-item):after{opacity:0.7;color:var(--spw-ds-white)}.spw-breadcrumb--surface-dark ::slotted(.collapsed-item):before{opacity:0.7;color:var(--spw-ds-white)}'}},[257,"spw-breadcrumb",{variant:[1],surface:[1],fontSize:[1,"font-size"],accAriaLabel:[1,"acc-aria-label"]}]),r=n,o=function(){"undefined"!=typeof customElements&&["spw-breadcrumb"].forEach((e=>{"spw-breadcrumb"===e&&(customElements.get(a(e))||customElements.define(a(e),n))}))};export{r as SpwBreadcrumb,o as defineCustomElement}
1
+ import{p as e,H as t,h as i,a,t as s}from"./index.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.maxItems=5,this.variant="default",this.surface="light",this.fontSize="small"}componentDidLoad(){this.updateBreadcrumbVisibility()}componentDidUpdate(){this.updateBreadcrumbVisibility()}updateBreadcrumbVisibility(){const e=this.host.querySelectorAll("spw-breadcrumb-item"),t=e.length;if(e.forEach((e=>{e.classList.remove("hidden-item","collapsed-item")})),t>this.maxItems){const i=this.maxItems-1;e.forEach(((e,a)=>{a>=i&&a<t-1&&e.classList.add(a===t-2?"collapsed-item":"hidden-item")}))}}render(){return i(a,{key:"80ad57a59a8f7c5a1dffcd6470407ef129d9e02c"},i("nav",{key:"ad8f444c513d1619dc3a474e807fbc0818f5d378","aria-label":this.accAriaLabel,class:{"spw-breadcrumb":!0,["spw-breadcrumb--surface-"+this.surface]:!0,["spw-breadcrumb--font-size-"+this.fontSize]:!0,["spw-breadcrumb--"+this.variant]:!0}},i("div",{key:"f351a42ed6ab24d88a7deb912516f5253ef2baf1",role:"list",class:"spw-breadcrumb__list"},i("slot",{key:"6b1d07061defe337184d9be1d3a8d0fbe009526c"}))))}get host(){return this}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-breadcrumb{font-size:16px;max-width:100%;width:100%}.spw-breadcrumb--font-size-small{font-size:14px}.spw-breadcrumb__list{display:flex;list-style:none;padding:0;margin:0;width:100%;max-width:100%}@media (min-width: 1024px){.spw-breadcrumb--multiline .spw-breadcrumb__list{display:block}}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:last-child){display:block;margin-top:12px !important}}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)):after{display:none !important}}::slotted(spw-breadcrumb-item){margin-right:10px !important;padding-left:24px !important;position:relative;display:none;white-space:nowrap}::slotted(spw-breadcrumb-item):after{position:absolute;top:50%;transform:translateY(-50%);left:0;font-family:var(--spw-ds-font-icons-regular);content:"\\f060";font-size:14px}@media (min-width: 1024px){::slotted(spw-breadcrumb-item):after{right:0;left:auto;transform:translateY(-50%);content:"\\f054";font-size:12px}}@media (min-width: 1024px){::slotted(spw-breadcrumb-item){display:inline-block;padding-left:0 !important;padding-right:16px !important}}::slotted(spw-breadcrumb-item:last-child){flex:1;overflow:hidden;display:none;margin-right:0 !important;-webkit-box-orient:vertical;text-overflow:ellipsis;-webkit-line-clamp:1;line-clamp:1;padding-right:0 !important}::slotted(spw-breadcrumb-item:last-child):after{display:none}@media (min-width: 1024px){::slotted(spw-breadcrumb-item:last-child){display:-webkit-box}}.spw-breadcrumb:not(.spw-breadcrumb--multiline):not(.spw-breadcrumb--one-line) ::slotted(spw-breadcrumb-item:nth-last-child(2)){display:-webkit-box !important}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item){display:none}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item){display:inline-block}}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child){overflow:initial;display:-webkit-box !important}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child):after{display:block}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child):after{display:none}}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child){display:inline-block}}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item){display:none}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item){display:inline-block}}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)){overflow:initial;display:-webkit-box !important}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)):after{display:block}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)){display:inline-block !important}}::slotted(.hidden-item){display:none}::slotted(.collapsed-item){display:none}@media (min-width: 1024px){::slotted(.collapsed-item){display:inline-block;font-size:0;position:relative}}@media (min-width: 1024px){::slotted(.collapsed-item)::before{font-family:var(--spw-ds-font-icons-solid);font-weight:700;content:"\\f141";font-size:14px;color:var(--spw-color-themes-grey-grey-900)}}.spw-breadcrumb--surface-light ::slotted(spw-breadcrumb-item):after{opacity:1;color:var(--spw-color-themes-grey-grey-900)}.spw-breadcrumb--surface-dark{color:var(--spw-ds-white) !important}.spw-breadcrumb--surface-dark ::slotted(spw-breadcrumb-item):after{opacity:0.7;color:var(--spw-ds-white)}.spw-breadcrumb--surface-dark ::slotted(.collapsed-item):before{opacity:0.7;color:var(--spw-ds-white)}'}},[257,"spw-breadcrumb",{variant:[1],surface:[1],fontSize:[1,"font-size"],accAriaLabel:[1,"acc-aria-label"]}]),r=n,o=function(){"undefined"!=typeof customElements&&["spw-breadcrumb"].forEach((e=>{"spw-breadcrumb"===e&&(customElements.get(s(e))||customElements.define(s(e),n))}))};export{r as SpwBreadcrumb,o as defineCustomElement}
@@ -1 +1 @@
1
- import{S as o,d as s}from"./p-BCuU5Ywh.js";const p=o,r=s;export{p as SpwButton,r as defineCustomElement}
1
+ import{S as o,d as s}from"./p-BTTY1Aoh.js";const p=o,r=s;export{p as SpwButton,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as o,t as n}from"./index.js";import{f as i}from"./p-BBi01mKM.js";const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return o("div",{key:"cd5d1f95a09474ae60755044e92f54591a80b08c",class:"spw-card-content"},this.tag&&o("span",{key:"16b31103ceef376aabc1328223f68a09a8e68241",class:"spw-card-content__tag"},this.tag),this.date&&o("time",{key:"3c3a309d3d945b0a8f10bab9f77172e36ef97870","date-time":this.date,class:"spw-card-content__date"},i(this.date)),o("slot",{key:"5fb4814af40e8d1a8185c06dc66674e7b152dc6c"}))}get el(){return this}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host(.--video){min-width:100%;width:100%;margin-top:auto}.spw-card-content{position:relative;display:flex;flex-direction:column;padding:12px 24px 24px 24px;z-index:5}:host(.--vertical) .spw-card-content{padding:24px}:host(.--vertical) .spw-card-content ::slotted(spw-card-subtags){margin-top:12px}:host(.--event) .spw-card-content{padding:24px}:host(.--event) .spw-card-content ::slotted(spw-card-subtags){margin-top:12px}:host(.--no-image.--event) .spw-card-content{padding-left:104px}:host(.--no-image.--event) .spw-card-content:before{content:"";position:absolute;top:0;left:0;width:80px;height:100%;background:var(--spw-color-themes-grey-grey-300);border-radius:5px 0 0 5px}:host(.--sidebar) .spw-card-content{padding:0}:host(.--people) .spw-card-content{padding:24px;flex-direction:row;gap:24px}:host(.--highlighted) .spw-card-content{position:absolute;width:100%;bottom:0;padding:24px;padding-top:64px;overflow:hidden;border-radius:0 0 5px 5px}:host(.--highlighted) .spw-card-content:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;isolation:isolate;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 0.87) 100%)}@media (min-width: 1024px){:host(.--highlighted) .spw-card-content{padding:32px;padding-top:64px}}:host(.--vertical) .spw-card-content,:host(.--sidebar) .spw-card-content,:host(.--event) .spw-card-content{justify-content:center;height:100%}:host(.--video) .spw-card-content{justify-content:flex-end;padding-right:80px;border-radius:0 0 5px 5px;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 0.87) 100%)}:host(.--video) .spw-card-content:after{position:absolute;bottom:24px;right:24px;font-family:var(--spw-ds-font-icons-solid);font-weight:900;content:"\\f144";font-size:36px;color:white}.spw-card-content__tag{position:absolute;top:-25px;left:25px;padding:6px 10px;border-radius:4px 4px 0px 0px;background:var(--spw-ds-white);color:var(--spw-ds-primary);font-size:15px;font-weight:700}:host(.--no-image) .spw-card-content__tag,:host(.--event) .spw-card-content__tag,:host(.--video) .spw-card-content__tag,:host(.--vertical) .spw-card-content__tag{position:relative;top:0;left:0;padding:0;margin-bottom:8px}:host(.--video) .spw-card-content__tag,:host(.--highlighted) .spw-card-content__tag{width:auto;align-self:flex-start;display:inline-block;padding:8px 12px;border-radius:9999px;line-height:1;color:var(--spw-color-themes-grey-grey-900);box-shadow:var(--spw-effect-elevation-3);font-size:14px;background:var(--spw-ds-white)}:host(.--highlighted) .spw-card-content__tag{position:static;margin-bottom:12px}.spw-card-content__date{margin-bottom:7px;font-size:15px;font-weight:300;color:var(--spw-color-themes-grey-grey-600)}:host(.--highlighted) .spw-card-content__date{display:none}.spw-card-content ::slotted(spw-card){--spw-card-background:var(--spw-color-themes-grey-grey-50);--spw-card-box-shadow:none;--spw-card-border:1px solid var(--spw-color-themes-grey-grey-300)}:host(.--rounded-picture) .spw-card-content{padding:16px 0 0 0}:host(.--rounded-picture) .spw-card-content__tag{display:inline-block;width:fit-content;font-size:14px;margin-bottom:12px;position:static;top:auto;left:auto;border:1px solid var(--spw-color-themes-grey-grey-300);padding:4px 12px;border-radius:9999px}'}},[257,"spw-card-content",{tag:[1],date:[1],hasImage:[32]}]),a=s,r=function(){"undefined"!=typeof customElements&&["spw-card-content"].forEach((t=>{"spw-card-content"===t&&(customElements.get(n(t))||customElements.define(n(t),s))}))};export{a as SpwCardContent,r as defineCustomElement}
1
+ import{p as t,H as e,h as o,t as n}from"./index.js";import{f as i}from"./p-BBi01mKM.js";const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return o("div",{key:"642a4fe17ef5ba4475f2da4b2e8bbe9434aa7beb",class:"spw-card-content"},this.tag&&o("span",{key:"fcc5f8071758d9f6d2664c0c2f6ac94b57a3334b",class:"spw-card-content__tag"},this.tag),this.date&&o("time",{key:"ed789424568bb1de9444dc0f072162678f92f365","date-time":this.date,class:"spw-card-content__date"},i(this.date)),o("slot",{key:"752e469ab48fb08958e3c5d88ab8de4d89d2a8ab"}))}get el(){return this}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host(.--video){min-width:100%;width:100%;margin-top:auto}.spw-card-content{position:relative;display:flex;flex-direction:column;padding:12px 24px 24px 24px;z-index:5}:host(.--vertical) .spw-card-content{padding:24px}:host(.--vertical) .spw-card-content ::slotted(spw-card-subtags){margin-top:12px}:host(.--event) .spw-card-content{padding:24px}:host(.--event) .spw-card-content ::slotted(spw-card-subtags){margin-top:12px}:host(.--no-image.--event) .spw-card-content{padding-left:104px}:host(.--no-image.--event) .spw-card-content:before{content:"";position:absolute;top:0;left:0;width:80px;height:100%;background:var(--spw-color-themes-grey-grey-300);border-radius:5px 0 0 5px}:host(.--sidebar) .spw-card-content{padding:0}:host(.--people) .spw-card-content{padding:24px;flex-direction:row;gap:24px}:host(.--highlighted) .spw-card-content{position:absolute;width:100%;bottom:0;padding:24px;padding-top:64px;overflow:hidden;border-radius:0 0 5px 5px}:host(.--highlighted) .spw-card-content:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;isolation:isolate;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 0.87) 100%)}@media (min-width: 1024px){:host(.--highlighted) .spw-card-content{padding:32px;padding-top:64px}}:host(.--vertical) .spw-card-content,:host(.--sidebar) .spw-card-content,:host(.--event) .spw-card-content{justify-content:center;height:100%}:host(.--video) .spw-card-content{justify-content:flex-end;padding-right:80px;border-radius:0 0 5px 5px;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 0.87) 100%)}:host(.--video) .spw-card-content:after{position:absolute;bottom:24px;right:24px;font-family:var(--spw-ds-font-icons-solid);font-weight:900;content:"\\f144";font-size:36px;color:white}.spw-card-content__tag{position:absolute;top:-25px;left:25px;padding:6px 10px;border-radius:4px 4px 0px 0px;background:var(--spw-ds-white);color:var(--spw-ds-primary);font-size:15px;font-weight:700}:host(.--no-image) .spw-card-content__tag,:host(.--event) .spw-card-content__tag,:host(.--video) .spw-card-content__tag,:host(.--vertical) .spw-card-content__tag{position:relative;top:0;left:0;padding:0;margin-bottom:8px}:host(.--video) .spw-card-content__tag,:host(.--highlighted) .spw-card-content__tag{width:auto;align-self:flex-start;display:inline-block;padding:8px 12px;border-radius:9999px;line-height:1;color:var(--spw-color-themes-grey-grey-900);box-shadow:var(--spw-effect-elevation-3);font-size:14px;background:var(--spw-ds-white)}:host(.--highlighted) .spw-card-content__tag{position:static;margin-bottom:12px}.spw-card-content__date{margin-bottom:7px;font-size:15px;font-weight:300;color:var(--spw-color-themes-grey-grey-600)}:host(.--highlighted) .spw-card-content__date{display:none}.spw-card-content ::slotted(spw-card){--spw-card-background:var(--spw-color-themes-grey-grey-50);--spw-card-box-shadow:none;--spw-card-border:1px solid var(--spw-color-themes-grey-grey-300)}:host(.--rounded-picture) .spw-card-content{padding:16px 0 0 0}:host(.--rounded-picture) .spw-card-content__tag{display:inline-block;width:fit-content;font-size:14px;margin-bottom:12px;position:static;top:auto;left:auto;border:1px solid var(--spw-color-themes-grey-grey-300);padding:4px 12px;border-radius:9999px}'}},[257,"spw-card-content",{tag:[1],date:[1],hasImage:[32]}]),a=s,r=function(){"undefined"!=typeof customElements&&["spw-card-content"].forEach((t=>{"spw-card-content"===t&&(customElements.get(n(t))||customElements.define(n(t),s))}))};export{a as SpwCardContent,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as i,a as n,t as o}from"./index.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.lineClamp=3}get elementClass(){const e="none"!==this.lineClamp;return{"spw-card-excerpt":!0,"spw-card-excerpt--has-clamp":e,["spw-card-excerpt--clamp-"+this.lineClamp]:e}}render(){return i(n,{key:"a364df98683ab08e573b277b23e2d065a53582ff"},i("div",{key:"e493c423f51afa09dc217b4452e8697d7b5950bd",class:this.elementClass},i("slot",{key:"e7275f1c8fdf6a52011d00da9bfd1f519b697767"})))}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host(.--people){flex:1}:host(.--people) ::slotted(spw-link){--spw-link-color:#000;--spw-link-hover-color:#000;--spw-link-active-color:#000;--spw-link-font-weight:400}.spw-card-excerpt{color:var(--spw-color-themes-grey-grey-600);font-family:"Nunito Sans";font-size:16px;line-height:1.3;margin-top:12px}.spw-card-excerpt--has-clamp{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis}:host(.--people) .spw-card-excerpt{margin-top:0;font-size:16px;color:var(--spw-color-themes-grey-grey-900)}:host(.--highlighted) .spw-card-excerpt{color:white}:host(.--sidebar) .spw-card-excerpt{margin-top:8px}.spw-card-excerpt--clamp-1{-webkit-line-clamp:1;line-clamp:1}.spw-card-excerpt--clamp-2{-webkit-line-clamp:2;line-clamp:2}.spw-card-excerpt--clamp-3{-webkit-line-clamp:3;line-clamp:3}.spw-card-excerpt--clamp-4{-webkit-line-clamp:4;line-clamp:4}.spw-card-excerpt--clamp-5{-webkit-line-clamp:5;line-clamp:5}.spw-card-excerpt--clamp-6{-webkit-line-clamp:6;line-clamp:6}.spw-card-excerpt--clamp-7{-webkit-line-clamp:7;line-clamp:7}.spw-card-excerpt--clamp-8{-webkit-line-clamp:8;line-clamp:8}.spw-card-excerpt--clamp-9{-webkit-line-clamp:9;line-clamp:9}.spw-card-excerpt--clamp-10{-webkit-line-clamp:10;line-clamp:10}'}},[257,"spw-card-excerpt",{lineClamp:[8,"line-clamp"]}]),p=a,s=function(){"undefined"!=typeof customElements&&["spw-card-excerpt"].forEach((e=>{"spw-card-excerpt"===e&&(customElements.get(o(e))||customElements.define(o(e),a))}))};export{p as SpwCardExcerpt,s as defineCustomElement}
1
+ import{p as e,H as t,h as i,a as n,t as o}from"./index.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.lineClamp=3}get elementClass(){const e="none"!==this.lineClamp;return{"spw-card-excerpt":!0,"spw-card-excerpt--has-clamp":e,["spw-card-excerpt--clamp-"+this.lineClamp]:e}}render(){return i(n,{key:"9d2fb65bb8174bbc6f7928e33fd58eed35a641c9"},i("div",{key:"d11f2c962a54d39b3b10f50704424a3137ac5707",class:this.elementClass},i("slot",{key:"b9a0e8dd019efdfd272b52b82304aa7d6f4187f4"})))}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host(.--people){flex:1}:host(.--people) ::slotted(spw-link){--spw-link-color:#000;--spw-link-hover-color:#000;--spw-link-active-color:#000;--spw-link-font-weight:400}.spw-card-excerpt{color:var(--spw-color-themes-grey-grey-600);font-family:"Nunito Sans";font-size:16px;line-height:1.3;margin-top:12px}.spw-card-excerpt--has-clamp{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis}:host(.--people) .spw-card-excerpt{margin-top:0;font-size:16px;color:var(--spw-color-themes-grey-grey-900)}:host(.--highlighted) .spw-card-excerpt{color:white}:host(.--sidebar) .spw-card-excerpt{margin-top:8px}.spw-card-excerpt--clamp-1{-webkit-line-clamp:1;line-clamp:1}.spw-card-excerpt--clamp-2{-webkit-line-clamp:2;line-clamp:2}.spw-card-excerpt--clamp-3{-webkit-line-clamp:3;line-clamp:3}.spw-card-excerpt--clamp-4{-webkit-line-clamp:4;line-clamp:4}.spw-card-excerpt--clamp-5{-webkit-line-clamp:5;line-clamp:5}.spw-card-excerpt--clamp-6{-webkit-line-clamp:6;line-clamp:6}.spw-card-excerpt--clamp-7{-webkit-line-clamp:7;line-clamp:7}.spw-card-excerpt--clamp-8{-webkit-line-clamp:8;line-clamp:8}.spw-card-excerpt--clamp-9{-webkit-line-clamp:9;line-clamp:9}.spw-card-excerpt--clamp-10{-webkit-line-clamp:10;line-clamp:10}'}},[257,"spw-card-excerpt",{lineClamp:[8,"line-clamp"]}]),p=a,s=function(){"undefined"!=typeof customElements&&["spw-card-excerpt"].forEach((e=>{"spw-card-excerpt"===e&&(customElements.get(o(e))||customElements.define(o(e),a))}))};export{p as SpwCardExcerpt,s as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as i,t as o}from"./index.js";import{d as a}from"./p-DfbLlF27.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.hoverIcon="fa-plus"}componentDidLoad(){const e=this.el.closest("spw-card");e&&(e.addEventListener("mouseenter",(()=>this.onCardHover(!0))),e.addEventListener("mouseleave",(()=>this.onCardHover(!1))))}onCardHover(e){const t=this.el.shadowRoot.querySelector(".spw-card-image");t&&(e?t.classList.add("--is-hovered"):t.classList.remove("--is-hovered"))}get hasRatio(){return!!(this.ratio||this.ratioMobile||this.ratioTablet||this.ratioDesktop)}get elementClass(){return{"spw-card-image":!0,"spw-card-image--ratio":this.hasRatio}}render(){const e={};return this.ratio&&(e["--spw-card-image-ratio"]=this.ratio,e["--spw-card-image-ratio-mobile"]=this.ratio,e["--spw-card-image-ratio-tablet"]=this.ratio,e["--spw-card-image-ratio-desktop"]=this.ratio),this.ratioMobile&&(e["--spw-card-image-ratio-mobile"]=this.ratioMobile),this.ratioTablet&&(e["--spw-card-image-ratio-tablet"]=this.ratioTablet),this.ratioDesktop&&(e["--spw-card-image-ratio-desktop"]=this.ratioDesktop),this.imagePosition&&(e["--spw-card-image-object-position"]=this.imagePosition),this.imageFit&&(e["--spw-card-image-object-fit"]=this.imageFit),i("div",{key:"540fa1dd41ecddbe3cf62133d7c26c5b4ede8259",class:this.elementClass,style:e},this.label&&i("span",{key:"0aacdf35e18bad6eed5eaf68e5b7ea87fc7e7db6",class:"spw-card-image__label"},this.label),i("slot",{key:"85d6c5a4ab192ba37ab2233823a36d0e146ac091"}),i("div",{key:"5731e5530e7f6c8493aa92118100b69c168d0d97",class:"spw-card-image__icon"},i("spw-icon",{key:"2f9551904e5db3da79441872b7639837318eff59",icon:this.hoverIcon})))}get el(){return this}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host(.--video):after,:host(.--highlighted):after{content:"";background:black;opacity:0.4;transition:all linear 0.2s;border-radius:5px;position:absolute;top:0;left:0;width:100%;height:100%}:host{width:100%;line-height:1;--spw-card-image-display:block}:host(.--people){width:112px;max-width:112px}.spw-card-image{position:relative;overflow:hidden;border-radius:5px 5px 0 0;display:var(--spw-card-image-display)}:host(.--vertical) .spw-card-image,:host(.--event) .spw-card-image{border-radius:5px 0 0 5px}:host(.--highlighted) .spw-card-image,:host(.--people) .spw-card-image{border-radius:5px}:host(.--video) .spw-card-image,:host(.--sidebar) .spw-card-image{border-radius:5px}.spw-card-image ::slotted(img),.spw-card-image img{width:100%;height:auto;transition:all 0.3s ease;transform-origin:center center}.spw-card-image--ratio{aspect-ratio:var(--spw-card-image-ratio-mobile, var(--spw-card-image-ratio))}@media (min-width: 768px){.spw-card-image--ratio{aspect-ratio:var(--spw-card-image-ratio-tablet, var(--spw-card-image-ratio))}}@media (min-width: 1024px){.spw-card-image--ratio{aspect-ratio:var(--spw-card-image-ratio-desktop, var(--spw-card-image-ratio))}}.spw-card-image--ratio ::slotted(img),.spw-card-image--ratio img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}.spw-card-image__icon:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:black;opacity:0.4}.spw-card-image__icon{position:absolute;z-index:2;display:flex;visibility:hidden;width:100%;height:100%;font-size:30px;font-weight:300;opacity:0;top:0;left:0;color:white;justify-content:center;align-items:center;transition:all 0.3s ease}.spw-card-image__icon spw-icon{transform:scale(1.5);transition:all 0.3s ease}.spw-card-image__label{position:absolute;top:10px;right:10px;display:inline-flex;padding:8px 12px;align-items:center;border-radius:9999px;color:var(--spw-color-themes-grey-grey-900);box-shadow:var(--spw-effect-elevation-3);font-size:14px;background:var(--spw-ds-white);z-index:3;line-height:1}:host(.--hovered:not(.--video):not(.--event)) .spw-card-image .spw-card-image__icon,:host(.--hovered:not(.--video):not(.--event)) .spw-card-image.--is-hovered .spw-card-image__icon{visibility:visible;opacity:1}:host(.--hovered:not(.--video):not(.--event)) .spw-card-image .spw-card-image__icon spw-icon,:host(.--hovered:not(.--video):not(.--event)) .spw-card-image.--is-hovered .spw-card-image__icon spw-icon{transform:scale(1)}:host(.--hovered:not(.--video):not(.--event)) .spw-card-image ::slotted(img),:host(.--hovered:not(.--video):not(.--event)) .spw-card-image.--is-hovered ::slotted(img){transform:scale(1.1)}:host(.--vertical),:host(.--event){width:170px;min-width:170px;position:relative;overflow:hidden}:host(.--vertical) .spw-card-image,:host(.--event) .spw-card-image{height:100%}:host(.--vertical) .spw-card-image ::slotted(img),:host(.--event) .spw-card-image ::slotted(img){position:absolute;top:0;left:0;width:100%;height:100% !important;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}:host(.--vertical){width:170px;min-width:170px}:host(.--event){width:100px;min-width:100px}:host(.--sidebar){width:75px;min-width:75px;height:75px;min-height:75px;position:relative;overflow:hidden}:host(.--sidebar) .spw-card-image{height:100%}:host(.--sidebar) .spw-card-image ::slotted(img){position:absolute;top:0;left:0;width:100%;height:100% !important;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}:host(.--highlighted){position:relative}:host(.--highlighted):after{opacity:0}:host(.--video){width:100%;height:100%;position:absolute;overflow:hidden;top:0;left:0}:host(.--video):after{opacity:0}:host(.--video) .spw-card-image{height:100%}:host(.--video) .spw-card-image ::slotted(img){position:absolute;top:0;left:0;width:100%;height:100% !important;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}:host(.--video.--hovered):after{opacity:0.2}:host(.--rounded-picture){width:100%}:host(.--rounded-picture) .spw-card-image{border-radius:8px 8px 120px 8px;border:1px solid var(--spw-color-themes-grey-grey-300);overflow:hidden}:host(.--rounded-picture) .spw-card-image ::slotted(img),:host(.--rounded-picture) .spw-card-image img{width:100%;height:100% !important;object-fit:cover;object-position:center;display:block}'}},[257,"spw-card-image",{label:[1],ratio:[1],ratioMobile:[1,"ratio-mobile"],ratioTablet:[1,"ratio-tablet"],ratioDesktop:[1,"ratio-desktop"],imagePosition:[1,"image-position"],hoverIcon:[1,"hover-icon"],imageFit:[1,"image-fit"]}]),r=s,n=function(){"undefined"!=typeof customElements&&["spw-card-image","spw-icon"].forEach((e=>{switch(e){case"spw-card-image":customElements.get(o(e))||customElements.define(o(e),s);break;case"spw-icon":customElements.get(o(e))||a()}}))};export{r as SpwCardImage,n as defineCustomElement}
1
+ import{p as e,H as t,h as i,t as o}from"./index.js";import{d as a}from"./p-D9yobKiX.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.hoverIcon="fa-plus"}componentDidLoad(){const e=this.el.closest("spw-card");e&&(e.addEventListener("mouseenter",(()=>this.onCardHover(!0))),e.addEventListener("mouseleave",(()=>this.onCardHover(!1))))}onCardHover(e){const t=this.el.shadowRoot.querySelector(".spw-card-image");t&&(e?t.classList.add("--is-hovered"):t.classList.remove("--is-hovered"))}get hasRatio(){return!!(this.ratio||this.ratioMobile||this.ratioTablet||this.ratioDesktop)}get elementClass(){return{"spw-card-image":!0,"spw-card-image--ratio":this.hasRatio}}render(){const e={};return this.ratio&&(e["--spw-card-image-ratio"]=this.ratio,e["--spw-card-image-ratio-mobile"]=this.ratio,e["--spw-card-image-ratio-tablet"]=this.ratio,e["--spw-card-image-ratio-desktop"]=this.ratio),this.ratioMobile&&(e["--spw-card-image-ratio-mobile"]=this.ratioMobile),this.ratioTablet&&(e["--spw-card-image-ratio-tablet"]=this.ratioTablet),this.ratioDesktop&&(e["--spw-card-image-ratio-desktop"]=this.ratioDesktop),this.imagePosition&&(e["--spw-card-image-object-position"]=this.imagePosition),this.imageFit&&(e["--spw-card-image-object-fit"]=this.imageFit),i("div",{key:"2b1a15d89928b7adfe6e50bc41eb40b2a2b4369f",class:this.elementClass,style:e},this.label&&i("span",{key:"14dce233dc70b647e2151456346b7bbcdfd13867",class:"spw-card-image__label"},this.label),i("slot",{key:"f2498b59899f925dc4fde59bc64f2466c360ca0d"}),i("div",{key:"26c5ca2fc93c48f05059e885d787605b2ccf6922",class:"spw-card-image__icon"},i("spw-icon",{key:"07b9c28f1e26c9447cfdc7bedd3e7f8bf31a364c",icon:this.hoverIcon})))}get el(){return this}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host(.--video):after,:host(.--highlighted):after{content:"";background:black;opacity:0.4;transition:all linear 0.2s;border-radius:5px;position:absolute;top:0;left:0;width:100%;height:100%}:host{width:100%;line-height:1;--spw-card-image-display:block}:host(.--people){width:112px;max-width:112px}.spw-card-image{position:relative;overflow:hidden;border-radius:5px 5px 0 0;display:var(--spw-card-image-display)}:host(.--vertical) .spw-card-image,:host(.--event) .spw-card-image{border-radius:5px 0 0 5px}:host(.--highlighted) .spw-card-image,:host(.--people) .spw-card-image{border-radius:5px}:host(.--video) .spw-card-image,:host(.--sidebar) .spw-card-image{border-radius:5px}.spw-card-image ::slotted(img),.spw-card-image img{width:100%;height:auto;transition:all 0.3s ease;transform-origin:center center}.spw-card-image--ratio{aspect-ratio:var(--spw-card-image-ratio-mobile, var(--spw-card-image-ratio))}@media (min-width: 768px){.spw-card-image--ratio{aspect-ratio:var(--spw-card-image-ratio-tablet, var(--spw-card-image-ratio))}}@media (min-width: 1024px){.spw-card-image--ratio{aspect-ratio:var(--spw-card-image-ratio-desktop, var(--spw-card-image-ratio))}}.spw-card-image--ratio ::slotted(img),.spw-card-image--ratio img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}.spw-card-image__icon:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:black;opacity:0.4}.spw-card-image__icon{position:absolute;z-index:2;display:flex;visibility:hidden;width:100%;height:100%;font-size:30px;font-weight:300;opacity:0;top:0;left:0;color:white;justify-content:center;align-items:center;transition:all 0.3s ease}.spw-card-image__icon spw-icon{transform:scale(1.5);transition:all 0.3s ease}.spw-card-image__label{position:absolute;top:10px;right:10px;display:inline-flex;padding:8px 12px;align-items:center;border-radius:9999px;color:var(--spw-color-themes-grey-grey-900);box-shadow:var(--spw-effect-elevation-3);font-size:14px;background:var(--spw-ds-white);z-index:3;line-height:1}:host(.--hovered:not(.--video):not(.--event)) .spw-card-image .spw-card-image__icon,:host(.--hovered:not(.--video):not(.--event)) .spw-card-image.--is-hovered .spw-card-image__icon{visibility:visible;opacity:1}:host(.--hovered:not(.--video):not(.--event)) .spw-card-image .spw-card-image__icon spw-icon,:host(.--hovered:not(.--video):not(.--event)) .spw-card-image.--is-hovered .spw-card-image__icon spw-icon{transform:scale(1)}:host(.--hovered:not(.--video):not(.--event)) .spw-card-image ::slotted(img),:host(.--hovered:not(.--video):not(.--event)) .spw-card-image.--is-hovered ::slotted(img){transform:scale(1.1)}:host(.--vertical),:host(.--event){width:170px;min-width:170px;position:relative;overflow:hidden}:host(.--vertical) .spw-card-image,:host(.--event) .spw-card-image{height:100%}:host(.--vertical) .spw-card-image ::slotted(img),:host(.--event) .spw-card-image ::slotted(img){position:absolute;top:0;left:0;width:100%;height:100% !important;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}:host(.--vertical){width:170px;min-width:170px}:host(.--event){width:100px;min-width:100px}:host(.--sidebar){width:75px;min-width:75px;height:75px;min-height:75px;position:relative;overflow:hidden}:host(.--sidebar) .spw-card-image{height:100%}:host(.--sidebar) .spw-card-image ::slotted(img){position:absolute;top:0;left:0;width:100%;height:100% !important;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}:host(.--highlighted){position:relative}:host(.--highlighted):after{opacity:0}:host(.--video){width:100%;height:100%;position:absolute;overflow:hidden;top:0;left:0}:host(.--video):after{opacity:0}:host(.--video) .spw-card-image{height:100%}:host(.--video) .spw-card-image ::slotted(img){position:absolute;top:0;left:0;width:100%;height:100% !important;object-fit:var(--spw-card-image-object-fit, cover);object-position:var(--spw-card-image-object-position, center)}:host(.--video.--hovered):after{opacity:0.2}:host(.--rounded-picture){width:100%}:host(.--rounded-picture) .spw-card-image{border-radius:8px 8px 120px 8px;border:1px solid var(--spw-color-themes-grey-grey-300);overflow:hidden}:host(.--rounded-picture) .spw-card-image ::slotted(img),:host(.--rounded-picture) .spw-card-image img{width:100%;height:100% !important;object-fit:cover;object-position:center;display:block}'}},[257,"spw-card-image",{label:[1],ratio:[1],ratioMobile:[1,"ratio-mobile"],ratioTablet:[1,"ratio-tablet"],ratioDesktop:[1,"ratio-desktop"],imagePosition:[1,"image-position"],hoverIcon:[1,"hover-icon"],imageFit:[1,"image-fit"]}]),r=s,n=function(){"undefined"!=typeof customElements&&["spw-card-image","spw-icon"].forEach((e=>{switch(e){case"spw-card-image":customElements.get(o(e))||customElements.define(o(e),s);break;case"spw-icon":customElements.get(o(e))||a()}}))};export{r as SpwCardImage,n as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as i,a as n,t as o}from"./index.js";const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}handleClick(){this.link&&(window.location.href=this.link)}get elementClass(){return{"spw-card-subtag-item":!0,"spw-card-subtag-item--has-link":!!this.link}}render(){return i(n,{key:"b4a9d824ac06dc515bbe51391a339935e51124dc"},i("span",{key:"c4dd1c031986517057a926e669ab487284709389",class:this.elementClass,onClick:()=>this.handleClick()},i("slot",{key:"0dd6d9dbd19d3fadc43c71f69834ac581a46efc8"})))}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:inline}:host(.--link) .spw-card-subtag-item{font-size:15px;color:var(--spw-ds-primary);font-weight:700}:host(.--link) .spw-card-subtag-item--has-link{text-decoration:underline}:host(.--link) .spw-card-subtag-item--has-link:hover{text-decoration:none}:host(.--link.--highlighted) .spw-card-subtag-item{color:white}:host(.--tag) .spw-card-subtag-item{display:inline-block;padding:8px 12px;border-radius:9999px;background:var(--spw-color-themes-grey-grey-200);transition:all 0.2s linear;line-height:1;font-size:14px;color:var(--spw-color-themes-grey-grey-900)}:host(.--tag) .spw-card-subtag-item:hover{background:var(--spw-color-themes-grey-grey-300)}"}},[257,"spw-card-subtag-item",{link:[1]}]),a=s,r=function(){"undefined"!=typeof customElements&&["spw-card-subtag-item"].forEach((t=>{"spw-card-subtag-item"===t&&(customElements.get(o(t))||customElements.define(o(t),s))}))};export{a as SpwCardSubtagItem,r as defineCustomElement}
1
+ import{p as t,H as e,h as i,a as n,t as o}from"./index.js";const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}handleClick(t){this.link&&(t.preventDefault(),t.stopPropagation(),window.location.href=this.link)}get elementClass(){return{"spw-card-subtag-item":!0,"spw-card-subtag-item--has-link":!!this.link}}render(){return i(n,{key:"a9b500f081a9d164ccaebcc2f203ff9df83ef3fb"},i("span",{key:"5abb3fb4dcaed1c9c5210983a282cd03fd24cf51",class:this.elementClass,onClick:t=>this.handleClick(t)},i("slot",{key:"7783076b9dab5632907821f364a6dfeeebbd2d29"})))}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:inline}:host(.--link) .spw-card-subtag-item{font-size:15px;color:var(--spw-ds-primary);font-weight:700}:host(.--link) .spw-card-subtag-item--has-link{text-decoration:underline}:host(.--link) .spw-card-subtag-item--has-link:hover{text-decoration:none}:host(.--link.--highlighted) .spw-card-subtag-item{color:white}:host(.--tag) .spw-card-subtag-item{display:inline-block;padding:8px 12px;border-radius:9999px;background:var(--spw-color-themes-grey-grey-200);transition:all 0.2s linear;line-height:1;font-size:14px;margin-bottom:8px;color:var(--spw-color-themes-grey-grey-900)}:host(.--tag) .spw-card-subtag-item:hover{background:var(--spw-color-themes-grey-grey-300)}"}},[257,"spw-card-subtag-item",{link:[1]}]),a=s,r=function(){"undefined"!=typeof customElements&&["spw-card-subtag-item"].forEach((t=>{"spw-card-subtag-item"===t&&(customElements.get(o(t))||customElements.define(o(t),s))}))};export{a as SpwCardSubtagItem,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as s,H as a,h as t,a as e,t as r}from"./index.js";const d=s(class extends a{constructor(s){super(),!1!==s&&this.__registerHost(),this.variant="link"}componentWillLoad(){this.applyVariantToChildren()}applyVariantToChildren(){requestAnimationFrame((()=>{const s="--"+this.variant;this.el.querySelectorAll("spw-card-subtag-item").forEach((a=>{a.classList.add(s),this.el.classList.contains("--highlighted")&&a.classList.add("--highlighted")}))}))}get elementClass(){return{"spw-card-subtags":!0,["spw-card-subtags--"+this.variant]:!0}}render(){return t(e,{key:"4addd05d03f290efa69a9fe718abd9f8ad67feab"},t("div",{key:"644824ba0e8defe2ccc8ed1df72357529c1860d5",class:this.elementClass},t("slot",{key:"757f84b690603461a4475da3e9e99a87478e631d"})))}get el(){return this}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}spw-card-subtags{font-family:var(--spw-ds-font-main);box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}spw-card-subtags h1,spw-card-subtags h2,spw-card-subtags h3,spw-card-subtags h4,spw-card-subtags h5,spw-card-subtags h6,spw-card-subtags p,spw-card-subtags ul,spw-card-subtags li{padding:0;margin:0}spw-card-subtags ul{list-style:none}spw-card-subtags *,spw-card-subtags *::before,spw-card-subtags *::after{box-sizing:inherit;letter-spacing:-0.18px}spw-card-subtags{}spw-card-subtags hr{box-sizing:content-box;height:0;overflow:visible;}spw-card-subtags{}spw-card-subtags pre{font-family:monospace, monospace;font-size:1em;}spw-card-subtags{}spw-card-subtags a{background-color:transparent}spw-card-subtags{}spw-card-subtags abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}spw-card-subtags{}spw-card-subtags b,spw-card-subtags strong{font-weight:bolder}spw-card-subtags{}spw-card-subtags code,spw-card-subtags kbd,spw-card-subtags samp{font-family:monospace, monospace;font-size:1em;}spw-card-subtags{}spw-card-subtags small{font-size:80%}spw-card-subtags{}spw-card-subtags sub,spw-card-subtags sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}spw-card-subtags sub{bottom:-0.25em}spw-card-subtags sup{top:-0.5em}spw-card-subtags{}spw-card-subtags img{border-style:none}spw-card-subtags{}spw-card-subtags button,spw-card-subtags input,spw-card-subtags optgroup,spw-card-subtags select,spw-card-subtags textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}spw-card-subtags{}spw-card-subtags button,spw-card-subtags input{overflow:visible}spw-card-subtags{}spw-card-subtags button,spw-card-subtags select{text-transform:none}spw-card-subtags{}spw-card-subtags button,spw-card-subtags [type=button],spw-card-subtags [type=reset],spw-card-subtags [type=submit]{-webkit-appearance:button}spw-card-subtags{}spw-card-subtags button::-moz-focus-inner,spw-card-subtags [type=button]::-moz-focus-inner,spw-card-subtags [type=reset]::-moz-focus-inner,spw-card-subtags [type=submit]::-moz-focus-inner{border-style:none;padding:0}spw-card-subtags{}spw-card-subtags button:-moz-focusring,spw-card-subtags [type=button]:-moz-focusring,spw-card-subtags [type=reset]:-moz-focusring,spw-card-subtags [type=submit]:-moz-focusring{outline:1px dotted ButtonText}spw-card-subtags{}spw-card-subtags fieldset{padding:0.35em 0.75em 0.625em}spw-card-subtags{}spw-card-subtags legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}spw-card-subtags{}spw-card-subtags progress{vertical-align:baseline}spw-card-subtags{}spw-card-subtags textarea{overflow:auto}spw-card-subtags{}spw-card-subtags [type=checkbox],spw-card-subtags [type=radio]{box-sizing:border-box;padding:0;}spw-card-subtags{}spw-card-subtags [type=number]::-webkit-inner-spin-button,spw-card-subtags [type=number]::-webkit-outer-spin-button{height:auto}spw-card-subtags{}spw-card-subtags [type=search]{-webkit-appearance:textfield;outline-offset:-2px;}spw-card-subtags{}spw-card-subtags [type=search]::-webkit-search-decoration{-webkit-appearance:none}spw-card-subtags{}spw-card-subtags ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}spw-card-subtags{}spw-card-subtags details{display:block}spw-card-subtags{}spw-card-subtags summary{display:list-item}spw-card-subtags{}spw-card-subtags template{display:none}spw-card-subtags{}spw-card-subtags [hidden]{display:none}:host{display:contents}.spw-card-subtags{margin-bottom:8px;color:var(--spw-ds-primary)}.--highlighted .spw-card-subtags{color:white}.spw-card-subtags spw-card-subtag-item:after,.spw-card-subtags .spw-card-subtag-item:after{content:",";margin-right:2px;display:inline}.spw-card-subtags spw-card-subtag-item:last-child:after,.spw-card-subtags .spw-card-subtag-item:last-child:after{display:none}.spw-card-subtags--tag spw-card-subtag-item:after,.spw-card-subtags--tag .spw-card-subtag-item:after{content:"";margin-right:4px}'}},[260,"spw-card-subtags",{variant:[1]}]),p=d,i=function(){"undefined"!=typeof customElements&&["spw-card-subtags"].forEach((s=>{"spw-card-subtags"===s&&(customElements.get(r(s))||customElements.define(r(s),d))}))};export{p as SpwCardSubtags,i as defineCustomElement}
1
+ import{p as s,H as a,h as t,a as r,t as e}from"./index.js";const p=s(class extends a{constructor(s){super(),!1!==s&&this.__registerHost(),this.variant="link"}componentWillLoad(){this.applyVariantToChildren()}applyVariantToChildren(){requestAnimationFrame((()=>{const s="--"+this.variant;this.el.querySelectorAll("spw-card-subtag-item").forEach((a=>{a.classList.add(s),this.el.classList.contains("--highlighted")&&a.classList.add("--highlighted")}))}))}get elementClass(){return{"spw-card-subtags":!0,["spw-card-subtags--"+this.variant]:!0}}render(){return t(r,{key:"36068a1a22bda2c9170d1cdfefca6deabe011875"},t("div",{key:"435a8746a533ced07539ffa7db3aff9721a21b85",class:this.elementClass},t("slot",{key:"74412fb663f4bee8137297affc0b614834b798b6"})))}get el(){return this}static get style(){return':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}spw-card-subtags{font-family:var(--spw-ds-font-main);box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}spw-card-subtags h1,spw-card-subtags h2,spw-card-subtags h3,spw-card-subtags h4,spw-card-subtags h5,spw-card-subtags h6,spw-card-subtags p,spw-card-subtags ul,spw-card-subtags li{padding:0;margin:0}spw-card-subtags ul{list-style:none}spw-card-subtags *,spw-card-subtags *::before,spw-card-subtags *::after{box-sizing:inherit;letter-spacing:-0.18px}spw-card-subtags{}spw-card-subtags hr{box-sizing:content-box;height:0;overflow:visible;}spw-card-subtags{}spw-card-subtags pre{font-family:monospace, monospace;font-size:1em;}spw-card-subtags{}spw-card-subtags a{background-color:transparent}spw-card-subtags{}spw-card-subtags abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}spw-card-subtags{}spw-card-subtags b,spw-card-subtags strong{font-weight:bolder}spw-card-subtags{}spw-card-subtags code,spw-card-subtags kbd,spw-card-subtags samp{font-family:monospace, monospace;font-size:1em;}spw-card-subtags{}spw-card-subtags small{font-size:80%}spw-card-subtags{}spw-card-subtags sub,spw-card-subtags sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}spw-card-subtags sub{bottom:-0.25em}spw-card-subtags sup{top:-0.5em}spw-card-subtags{}spw-card-subtags img{border-style:none}spw-card-subtags{}spw-card-subtags button,spw-card-subtags input,spw-card-subtags optgroup,spw-card-subtags select,spw-card-subtags textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}spw-card-subtags{}spw-card-subtags button,spw-card-subtags input{overflow:visible}spw-card-subtags{}spw-card-subtags button,spw-card-subtags select{text-transform:none}spw-card-subtags{}spw-card-subtags button,spw-card-subtags [type=button],spw-card-subtags [type=reset],spw-card-subtags [type=submit]{-webkit-appearance:button}spw-card-subtags{}spw-card-subtags button::-moz-focus-inner,spw-card-subtags [type=button]::-moz-focus-inner,spw-card-subtags [type=reset]::-moz-focus-inner,spw-card-subtags [type=submit]::-moz-focus-inner{border-style:none;padding:0}spw-card-subtags{}spw-card-subtags button:-moz-focusring,spw-card-subtags [type=button]:-moz-focusring,spw-card-subtags [type=reset]:-moz-focusring,spw-card-subtags [type=submit]:-moz-focusring{outline:1px dotted ButtonText}spw-card-subtags{}spw-card-subtags fieldset{padding:0.35em 0.75em 0.625em}spw-card-subtags{}spw-card-subtags legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}spw-card-subtags{}spw-card-subtags progress{vertical-align:baseline}spw-card-subtags{}spw-card-subtags textarea{overflow:auto}spw-card-subtags{}spw-card-subtags [type=checkbox],spw-card-subtags [type=radio]{box-sizing:border-box;padding:0;}spw-card-subtags{}spw-card-subtags [type=number]::-webkit-inner-spin-button,spw-card-subtags [type=number]::-webkit-outer-spin-button{height:auto}spw-card-subtags{}spw-card-subtags [type=search]{-webkit-appearance:textfield;outline-offset:-2px;}spw-card-subtags{}spw-card-subtags [type=search]::-webkit-search-decoration{-webkit-appearance:none}spw-card-subtags{}spw-card-subtags ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}spw-card-subtags{}spw-card-subtags details{display:block}spw-card-subtags{}spw-card-subtags summary{display:list-item}spw-card-subtags{}spw-card-subtags template{display:none}spw-card-subtags{}spw-card-subtags [hidden]{display:none}:host{display:contents}.spw-card-subtags{margin-bottom:8px;color:var(--spw-ds-primary)}.--highlighted .spw-card-subtags{color:white}.spw-card-subtags spw-card-subtag-item:after,.spw-card-subtags .spw-card-subtag-item:after{content:",";margin-right:2px;display:inline}.spw-card-subtags spw-card-subtag-item:last-child:after,.spw-card-subtags .spw-card-subtag-item:last-child:after{display:none}.spw-card-subtags--tag spw-card-subtag-item:after,.spw-card-subtags--tag .spw-card-subtag-item:after{content:"";margin-right:4px}'}},[260,"spw-card-subtags",{variant:[1]}]),d=p,i=function(){"undefined"!=typeof customElements&&["spw-card-subtags"].forEach((s=>{"spw-card-subtags"===s&&(customElements.get(e(s))||customElements.define(e(s),p))}))};export{d as SpwCardSubtags,i as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as i,a as o,t as n}from"./index.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.borderColor="",this.lineClamp="none"}get elementClass(){const e="none"!==this.lineClamp;return{"spw-card-title":!0,"spw-card-title--has-clamp":e,["spw-card-title--clamp-"+this.lineClamp]:e}}render(){return i(o,{key:"6435bc0abf98cf0dfcba3514ae4df5991eae8281",style:{"--spw-card-title-border-color":this.borderColor}},i("h3",{key:"389cba699b86c5574237e4d3cb960c6d86f6d82b",class:this.elementClass},i("span",{key:"a51b0f834f9a05e89be5a9e117c8746a75debe00",class:"spw-card-title__text"},i("slot",{key:"e8f9f37bdd570a002f5c7ef2f5555fa58d652316"}))))}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.spw-card-title{line-height:1.3;font-weight:700}.spw-card-title--has-clamp{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis}.spw-card-title--clamp-1{-webkit-line-clamp:1;line-clamp:1}.spw-card-title--clamp-2{-webkit-line-clamp:2;line-clamp:2}.spw-card-title--clamp-3{-webkit-line-clamp:3;line-clamp:3}.spw-card-title--clamp-4{-webkit-line-clamp:4;line-clamp:4}.spw-card-title--clamp-5{-webkit-line-clamp:5;line-clamp:5}.spw-card-title--clamp-6{-webkit-line-clamp:6;line-clamp:6}.spw-card-title--clamp-7{-webkit-line-clamp:7;line-clamp:7}.spw-card-title--clamp-8{-webkit-line-clamp:8;line-clamp:8}.spw-card-title--clamp-9{-webkit-line-clamp:9;line-clamp:9}.spw-card-title--clamp-10{-webkit-line-clamp:10;line-clamp:10}.spw-card-title{font-size:20px;transition:all 0.3s ease;color:var(--spw-color-themes-grey-grey-900)}:host(.--hovered:not(.--video):not(.--people):not(.--highlighted)) .spw-card-title{color:var(--spw-ds-primary)}:host(.--video) .spw-card-title,:host(.--highlighted) .spw-card-title{color:white}:host(.--highlighted) .spw-card-title{font-size:24px}@media (min-width: 768px){:host(.--highlighted) .spw-card-title{font-size:32px}}:host(.--sidebar) .spw-card-title{font-size:18px;line-height:1.2}:host(.--people) .spw-card-title{padding:0 24px;border-bottom:1px solid var(--spw-color-themes-grey-grey-300)}:host(.--people) .spw-card-title__text{display:inline-block;padding:18px 0;border-bottom:4px solid var(--spw-card-title-border-color, var(--spw-ds-primary))}"}},[257,"spw-card-title",{borderColor:[1,"border-color"],lineClamp:[8,"line-clamp"]}]),s=a,l=function(){"undefined"!=typeof customElements&&["spw-card-title"].forEach((e=>{"spw-card-title"===e&&(customElements.get(n(e))||customElements.define(n(e),a))}))};export{s as SpwCardTitle,l as defineCustomElement}
1
+ import{p as e,H as t,h as i,a as o,t as n}from"./index.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.borderColor="",this.lineClamp="none"}get elementClass(){const e="none"!==this.lineClamp;return{"spw-card-title":!0,"spw-card-title--has-clamp":e,["spw-card-title--clamp-"+this.lineClamp]:e}}render(){return i(o,{key:"ed9eabb91827ed20f3ae203af45dd57c0a14ddad",style:{"--spw-card-title-border-color":this.borderColor}},i("h3",{key:"88d1cb267628d6ecbc4c1807ffcba4199365a328",class:this.elementClass},i("span",{key:"1ff8d04e21c2825c2e6fab5145aaf47e848f3e57",class:"spw-card-title__text"},i("slot",{key:"0a87bdd42ee228f85ccb216616a2d78316ffbfc4"}))))}static get style(){return":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.spw-card-title{line-height:1.3;font-weight:700}.spw-card-title--has-clamp{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis}.spw-card-title--clamp-1{-webkit-line-clamp:1;line-clamp:1}.spw-card-title--clamp-2{-webkit-line-clamp:2;line-clamp:2}.spw-card-title--clamp-3{-webkit-line-clamp:3;line-clamp:3}.spw-card-title--clamp-4{-webkit-line-clamp:4;line-clamp:4}.spw-card-title--clamp-5{-webkit-line-clamp:5;line-clamp:5}.spw-card-title--clamp-6{-webkit-line-clamp:6;line-clamp:6}.spw-card-title--clamp-7{-webkit-line-clamp:7;line-clamp:7}.spw-card-title--clamp-8{-webkit-line-clamp:8;line-clamp:8}.spw-card-title--clamp-9{-webkit-line-clamp:9;line-clamp:9}.spw-card-title--clamp-10{-webkit-line-clamp:10;line-clamp:10}.spw-card-title{font-size:20px;transition:all 0.3s ease;color:var(--spw-color-themes-grey-grey-900)}:host(.--hovered:not(.--video):not(.--people):not(.--highlighted)) .spw-card-title{color:var(--spw-ds-primary)}:host(.--video) .spw-card-title,:host(.--highlighted) .spw-card-title{color:white}:host(.--highlighted) .spw-card-title{font-size:24px}@media (min-width: 768px){:host(.--highlighted) .spw-card-title{font-size:32px}}:host(.--sidebar) .spw-card-title{font-size:18px;line-height:1.2}:host(.--people) .spw-card-title{padding:0 24px;border-bottom:1px solid var(--spw-color-themes-grey-grey-300)}:host(.--people) .spw-card-title__text{display:inline-block;padding:18px 0;border-bottom:4px solid var(--spw-card-title-border-color, var(--spw-ds-primary))}"}},[257,"spw-card-title",{borderColor:[1,"border-color"],lineClamp:[8,"line-clamp"]}]),s=a,l=function(){"undefined"!=typeof customElements&&["spw-card-title"].forEach((e=>{"spw-card-title"===e&&(customElements.get(n(e))||customElements.define(n(e),a))}))};export{s as SpwCardTitle,l as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as a,a as s,t as i}from"./index.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.hasImage=!1,this.childHoveredCount=0,this.variant="news",this.elementType="a",this.target="_self",this.monthLabels=["jan","fév","mar","avr","mai","jun","jul","aoû","sep","oct","nov","déc"],this.fromLabel="du",this.toLabel="au",this.fullHeight=!1,this.disabled=!1,this.onNestedCardEnter=()=>{this.childHoveredCount++,this.setImageHovered(!1)},this.onNestedCardLeave=()=>{this.childHoveredCount=Math.max(0,this.childHoveredCount-1),0===this.childHoveredCount&&this.isPointerInside(this.el)&&this.setImageHovered(!0)}}componentWillLoad(){this.checkForImage(),this.applyVariantToChildren(),this.attachNestedCardListeners()}slotChanged(){this.checkForImage(),this.applyVariantToChildren(),this.attachNestedCardListeners()}onMouseEnter(){0===this.childHoveredCount&&this.setImageHovered(!0)}onMouseLeave(){this.setImageHovered(!1)}attachNestedCardListeners(){requestAnimationFrame((()=>{this.el.querySelectorAll("spw-card").forEach((e=>{e.addEventListener("mouseenter",this.onNestedCardEnter.bind(this),!0),e.addEventListener("mouseleave",this.onNestedCardLeave.bind(this),!0)}))}))}isPointerInside(e){const t=e.getBoundingClientRect(),{left:a,top:s,right:i,bottom:n}=t,{clientX:o,clientY:r}=window;return o>=a&&o<=i&&r>=s&&r<=n}checkForImage(){requestAnimationFrame((()=>{const e=this.el.querySelector("spw-card-image"),t=this.el.querySelector("spw-card-content");this.hasImage=!!e,this.hasImage||null==t||t.classList.add("--no-image")}))}formatDate(e){var t;if(!e)return[];const[s,i]=e.split("/"),n=null!==(t=this.monthLabels[parseInt(i,10)-1])&&void 0!==t?t:i;return[a("span",{class:"spw-card__date-day"},s),a("span",{class:"spw-card__date-month"},n)]}applyVariantToChildren(){requestAnimationFrame((()=>{const e="--"+this.variant,t=this.el.querySelector("spw-card-content"),a=this.el.querySelector("spw-card-image"),s=this.el.querySelector("spw-card-title"),i=this.el.querySelector("spw-card-excerpt"),n=this.el.querySelector("spw-card-subtags");null==t||t.classList.add(e),null==a||a.classList.add(e),null==s||s.classList.add(e),null==i||i.classList.add(e),null==n||n.classList.add(e)}))}setImageHovered(e){const t=this.el.querySelector("spw-card-image"),a=this.el.querySelector("spw-card-title");t&&this.href&&t.classList.toggle("--hovered",e),a&&this.href&&a.classList.toggle("--hovered",e)}get elementClass(){return{"spw-card":!0,"spw-card--hoverable":!!this.href,"spw-card--no-image":!this.hasImage,["spw-card--"+this.variant]:!0,"spw-card--has-2-dates":"event"===this.variant&&!(!this.dateStart||!this.dateEnd)}}render(){const{href:e,rel:t,target:i,dateStart:n,dateEnd:o,variant:r}=this,d=void 0===this.href?"div":"a",c="div"===d?{}:{href:e,rel:t,target:i},p={"aria-label":null==this?void 0:this.accAriaLabel,"aria-disabled":this.disabled?"true":null};return a(s,{key:"2b5a70c7b2e6fe0481388ba7d73ba05df9046254",class:{"--is-full-height":this.fullHeight}},a("article",{key:"b1e4083316c2f2127dcff0d9bb47f08270a2618e",class:this.elementClass},("event"===r||"news"===r)&&a(d,Object.assign({key:"486282e186f42aefd4faae041d3220c29366a80a"},c,{class:{"spw-card__dates":!0,"spw-card__dates--range":!(!n||!o),"spw-card__dates--single":!(!n||o)}}),n&&a("div",{key:"adf2686be5e86d3db9cef7caf7dbda8a28f0b1ad",class:"spw-card__date-item"},a("div",{key:"c5dd6c1687688649dea03722c3a662438520d9ef",class:"spw-card__date-content"},o&&a("span",{key:"3711c55c5a29d085e28199bac4c7999b2283f1aa",class:"spw-card__date-label"},this.fromLabel),this.formatDate(n))),o&&a("div",{key:"1345d8902be35e7bdd6fb15e5913a6c996236087",class:"spw-card__date-item"},a("div",{key:"cb9b0da231fea0a1fa2727ce2dce138d8ad3aedc",class:"spw-card__date-content"},a("span",{key:"c07ac7c2b10c1e93de3fea21c3dec84e2a267b70",class:"spw-card__date-label"},this.toLabel),this.formatDate(o)))),a(d,Object.assign({key:"e3d16deb01a4c66e034a9978845fb66f2dcfe562"},c,p,{class:"spw-card__link"}),a("slot",{key:"9ead9b5cc5d453256bf9d34494cfeeed5b9e5e94"}))))}get el(){return this}static get style(){return'@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;position:relative;width:100%;--spw-card-background:var(--spw-ds-white);--spw-card-box-shadow:var(--spw-effect-elevation-6);--spw-card-border:none}:host[data-modal-trigger]{cursor:pointer}:host(.--is-full-height){height:100%}.spw-card{display:block;border-radius:5px;background:var(--spw-card-background);box-shadow:var(--spw-card-box-shadow);border:var(--spw-card-border);transition:all 0.3s ease-in-out}:host(.--is-full-height) .spw-card{height:100%}.spw-card--hoverable:hover{box-shadow:var(--spw-effect-elevation-4);transform:translateY(-5px)}.spw-card__dates{cursor:pointer;position:absolute;top:50%;left:25px;transform:translate(0, -50%);flex-direction:column;line-height:1.1;width:50px;text-align:center;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;z-index:6}.spw-card__dates--single{top:auto;transform:none;bottom:24px}.spw-card--no-image.spw-card--event .spw-card__dates{left:15px}.spw-card--news .spw-card__dates{left:auto;right:16px;top:16px;bottom:auto;transform:none}.spw-card__date-item{text-align:center;margin:4px 0}.spw-card__date-label{display:block;font-size:12px;color:var(--spw-color-themes-grey-grey-600);margin-bottom:4px}.spw-card__date-day{font-size:18px;font-weight:bold;display:block;color:var(--spw-color-themes-grey-grey-900)}.spw-card__date-month{font-size:12px;display:block;color:var(--spw-color-themes-grey-grey-900)}.spw-card__date-content{padding:8px 12px;background:white;border-radius:6px}.spw-card__link{display:block;height:100%;width:100%;color:inherit;text-decoration:none}.spw-card--no-image .spw-card__link{padding-top:15px}.spw-card--no-image.spw-card--event .spw-card__link{padding-top:0}.spw-card__link:focus-visible{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black;border-radius:5px}.spw-card--vertical .spw-card__link,.spw-card--video .spw-card__link{display:flex;min-height:240px}.spw-card--has-2-dates .spw-card__link{min-height:180px}.spw-card--event{position:relative}.spw-card--event .spw-card__link{display:flex}.spw-card--sidebar{box-shadow:none}.spw-card--sidebar:hover{box-shadow:none}.spw-card--sidebar .spw-card__link{display:flex;gap:16px}.spw-card--rounded-picture{box-shadow:none;background:transparent}.spw-card--rounded-picture:hover{box-shadow:none}.spw-card--rounded-picture .spw-card__link{display:flex;flex-direction:column}'}},[257,"spw-card",{variant:[1],elementType:[1,"element-type"],href:[1],target:[1],rel:[1],dateStart:[1,"date-start"],dateEnd:[1,"date-end"],monthLabels:[16],fromLabel:[1,"from-label"],toLabel:[1,"to-label"],fullHeight:[4,"full-height"],disabled:[4],accAriaLabel:[1,"acc-aria-label"],hasImage:[32]},[[0,"slotchange","slotChanged"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]]),o=n,r=function(){"undefined"!=typeof customElements&&["spw-card"].forEach((e=>{"spw-card"===e&&(customElements.get(i(e))||customElements.define(i(e),n))}))};export{o as SpwCard,r as defineCustomElement}
1
+ import{p as e,H as t,h as a,a as s,t as i}from"./index.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.hasImage=!1,this.childHoveredCount=0,this.variant="news",this.elementType="a",this.target="_self",this.monthLabels=["jan","fév","mar","avr","mai","jun","jul","aoû","sep","oct","nov","déc"],this.fromLabel="du",this.toLabel="au",this.fullHeight=!1,this.disabled=!1,this.onNestedCardEnter=()=>{this.childHoveredCount++,this.setImageHovered(!1)},this.onNestedCardLeave=()=>{this.childHoveredCount=Math.max(0,this.childHoveredCount-1),0===this.childHoveredCount&&this.isPointerInside(this.el)&&this.setImageHovered(!0)}}componentWillLoad(){this.checkForImage(),this.applyVariantToChildren(),this.attachNestedCardListeners()}slotChanged(){this.checkForImage(),this.applyVariantToChildren(),this.attachNestedCardListeners()}onMouseEnter(){0===this.childHoveredCount&&this.setImageHovered(!0)}onMouseLeave(){this.setImageHovered(!1)}attachNestedCardListeners(){requestAnimationFrame((()=>{this.el.querySelectorAll("spw-card").forEach((e=>{e.addEventListener("mouseenter",this.onNestedCardEnter.bind(this),!0),e.addEventListener("mouseleave",this.onNestedCardLeave.bind(this),!0)}))}))}isPointerInside(e){const t=e.getBoundingClientRect(),{left:a,top:s,right:i,bottom:n}=t,{clientX:o,clientY:r}=window;return o>=a&&o<=i&&r>=s&&r<=n}checkForImage(){requestAnimationFrame((()=>{const e=this.el.querySelector("spw-card-image"),t=this.el.querySelector("spw-card-content");this.hasImage=!!e,this.hasImage||null==t||t.classList.add("--no-image")}))}formatDate(e){var t;if(!e)return[];const[s,i]=e.split("/"),n=null!==(t=this.monthLabels[parseInt(i,10)-1])&&void 0!==t?t:i;return[a("span",{class:"spw-card__date-day"},s),a("span",{class:"spw-card__date-month"},n)]}applyVariantToChildren(){requestAnimationFrame((()=>{const e="--"+this.variant,t=this.el.querySelector("spw-card-content"),a=this.el.querySelector("spw-card-image"),s=this.el.querySelector("spw-card-title"),i=this.el.querySelector("spw-card-excerpt"),n=this.el.querySelector("spw-card-subtags");null==t||t.classList.add(e),null==a||a.classList.add(e),null==s||s.classList.add(e),null==i||i.classList.add(e),null==n||n.classList.add(e)}))}setImageHovered(e){const t=this.el.querySelector("spw-card-image"),a=this.el.querySelector("spw-card-title");t&&this.href&&t.classList.toggle("--hovered",e),a&&this.href&&a.classList.toggle("--hovered",e)}get elementClass(){return{"spw-card":!0,"spw-card--hoverable":!!this.href,"spw-card--no-image":!this.hasImage,["spw-card--"+this.variant]:!0,"spw-card--has-2-dates":"event"===this.variant&&!(!this.dateStart||!this.dateEnd)}}render(){const{href:e,rel:t,target:i,dateStart:n,dateEnd:o,variant:r}=this,d=void 0===this.href?"div":"a",c="div"===d?{}:{href:e,rel:t,target:i},p={"aria-label":null==this?void 0:this.accAriaLabel,"aria-disabled":this.disabled?"true":null};return a(s,{key:"adc8c36f6ee2d9440fab46ff732fda4ca6d840bd",class:{"--is-full-height":this.fullHeight}},a("article",{key:"eda570f1ff4415a4e3486ce9c6c14e343ee58a1c",class:this.elementClass},("event"===r||"news"===r)&&a(d,Object.assign({key:"baa0498a12a09e3bc0802fb09d411362b269efdc"},c,{class:{"spw-card__dates":!0,"spw-card__dates--range":!(!n||!o),"spw-card__dates--single":!(!n||o)}}),n&&a("div",{key:"da816ddfe4ac8e47c051cf5e85a6f6514962c833",class:"spw-card__date-item"},a("div",{key:"297218bc0df2beeaa793c0a263afe11d43d55676",class:"spw-card__date-content"},o&&a("span",{key:"906cdae7d332cf4325437470645de30570c6d10e",class:"spw-card__date-label"},this.fromLabel),this.formatDate(n))),o&&a("div",{key:"9d0ca22655e1cb73650f636744a4c9fe7dbd4fdd",class:"spw-card__date-item"},a("div",{key:"c61caa80b430fad452351fdfbb7f165c7ad173c3",class:"spw-card__date-content"},a("span",{key:"40c39750eca8dedcca27b9b877f0b07c86960c20",class:"spw-card__date-label"},this.toLabel),this.formatDate(o)))),a(d,Object.assign({key:"6630e5b98591f1b88619e15027deb82ea8176e55"},c,p,{class:"spw-card__link"}),a("slot",{key:"5fdbf048d74dae2a3bb083cf306b1a05ec35e1c1"}))))}get el(){return this}static get style(){return'@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;position:relative;width:100%;--spw-card-background:var(--spw-ds-white);--spw-card-box-shadow:var(--spw-effect-elevation-6);--spw-card-border:none}:host[data-modal-trigger]{cursor:pointer}:host(.--is-full-height){height:100%}.spw-card{display:block;border-radius:5px;background:var(--spw-card-background);box-shadow:var(--spw-card-box-shadow);border:var(--spw-card-border);transition:all 0.3s ease-in-out}:host(.--is-full-height) .spw-card{height:100%}.spw-card--hoverable:hover{box-shadow:var(--spw-effect-elevation-4);transform:translateY(-5px)}.spw-card__dates{cursor:pointer;position:absolute;top:50%;left:25px;transform:translate(0, -50%);flex-direction:column;line-height:1.1;width:50px;text-align:center;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;z-index:6}.spw-card__dates--single{top:auto;transform:none;bottom:24px}.spw-card--no-image.spw-card--event .spw-card__dates{left:15px}.spw-card--news .spw-card__dates{left:auto;right:16px;top:16px;bottom:auto;transform:none}.spw-card__date-item{text-align:center;margin:4px 0}.spw-card__date-label{display:block;font-size:12px;color:var(--spw-color-themes-grey-grey-600);margin-bottom:4px}.spw-card__date-day{font-size:18px;font-weight:bold;display:block;color:var(--spw-color-themes-grey-grey-900)}.spw-card__date-month{font-size:12px;display:block;color:var(--spw-color-themes-grey-grey-900)}.spw-card__date-content{padding:8px 12px;background:white;border-radius:6px}.spw-card__link{display:block;height:100%;width:100%;color:inherit;text-decoration:none}.spw-card--no-image .spw-card__link{padding-top:15px}.spw-card--no-image.spw-card--event .spw-card__link{padding-top:0}.spw-card__link:focus-visible{outline:3px solid white;outline-offset:-1px;box-shadow:0 0 0 5px black;border-radius:5px}.spw-card--vertical .spw-card__link,.spw-card--video .spw-card__link{display:flex;min-height:240px}.spw-card--has-2-dates .spw-card__link{min-height:180px}.spw-card--event{position:relative}.spw-card--event .spw-card__link{display:flex}.spw-card--sidebar{box-shadow:none}.spw-card--sidebar:hover{box-shadow:none}.spw-card--sidebar .spw-card__link{display:flex;gap:16px}.spw-card--rounded-picture{box-shadow:none;background:transparent}.spw-card--rounded-picture:hover{box-shadow:none}.spw-card--rounded-picture .spw-card__link{display:flex;flex-direction:column}'}},[257,"spw-card",{variant:[1],elementType:[1,"element-type"],href:[1],target:[1],rel:[1],dateStart:[1,"date-start"],dateEnd:[1,"date-end"],monthLabels:[16],fromLabel:[1,"from-label"],toLabel:[1,"to-label"],fullHeight:[4,"full-height"],disabled:[4],accAriaLabel:[1,"acc-aria-label"],hasImage:[32]},[[0,"slotchange","slotChanged"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]]),o=n,r=function(){"undefined"!=typeof customElements&&["spw-card"].forEach((e=>{"spw-card"===e&&(customElements.get(i(e))||customElements.define(i(e),n))}))};export{o as SpwCard,r as defineCustomElement}
@@ -1 +1 @@
1
- import{S as o,d as s}from"./p-CqWtzvF4.js";const t=o,p=s;export{t as SpwCheckbox,p as defineCustomElement}
1
+ import{S as o,d as s}from"./p-DxQ74GK8.js";const p=o,r=s;export{p as SpwCheckbox,r as defineCustomElement}