@spw-ds/spw-stencil-library 1.19.0 → 1.21.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 (635) hide show
  1. package/dist/cem.json +876 -52
  2. package/dist/cjs/{index-CfCTfMKB.js → index-C_UxJk3Q.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/spw-accordion_4.cjs.entry.js +138 -17
  5. package/dist/cjs/spw-alert.cjs.entry.js +2 -2
  6. package/dist/cjs/spw-avatar.cjs.entry.js +2 -2
  7. package/dist/cjs/spw-block-content.cjs.entry.js +11 -4
  8. package/dist/cjs/spw-box.cjs.entry.js +6 -7
  9. package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +2 -2
  10. package/dist/cjs/spw-breadcrumb.cjs.entry.js +2 -2
  11. package/dist/cjs/spw-button_2.cjs.entry.js +3 -3
  12. package/dist/cjs/spw-card-content.cjs.entry.js +3 -3
  13. package/dist/cjs/spw-card-excerpt.cjs.entry.js +2 -2
  14. package/dist/cjs/spw-card-image.cjs.entry.js +3 -3
  15. package/dist/cjs/spw-card-subtag-item.cjs.entry.js +6 -4
  16. package/dist/cjs/spw-card-subtags.cjs.entry.js +2 -2
  17. package/dist/cjs/spw-card-title.cjs.entry.js +2 -2
  18. package/dist/cjs/spw-card.cjs.entry.js +17 -6
  19. package/dist/cjs/spw-checkbox.cjs.entry.js +51 -7
  20. package/dist/cjs/spw-cookies.cjs.entry.js +1 -1
  21. package/dist/cjs/spw-custom-select.cjs.entry.js +1 -1
  22. package/dist/cjs/spw-date-picker.cjs.entry.js +2 -2
  23. package/dist/cjs/spw-drawer.cjs.entry.js +4 -4
  24. package/dist/cjs/spw-dropdown-container.cjs.entry.js +2 -2
  25. package/dist/cjs/spw-dropdown-item.cjs.entry.js +2 -2
  26. package/dist/cjs/spw-dropdown.cjs.entry.js +2 -2
  27. package/dist/cjs/spw-field-label_8.cjs.entry.js +66 -12
  28. package/dist/cjs/spw-file-upload.cjs.entry.js +3 -3
  29. package/dist/cjs/spw-footer-bottom.cjs.entry.js +2 -2
  30. package/dist/cjs/spw-footer-content-col.cjs.entry.js +2 -2
  31. package/dist/cjs/spw-footer-content.cjs.entry.js +2 -2
  32. package/dist/cjs/spw-footer-link.cjs.entry.js +2 -2
  33. package/dist/cjs/spw-footer.cjs.entry.js +2 -2
  34. package/dist/cjs/spw-grid-item.cjs.entry.js +3 -3
  35. package/dist/cjs/spw-grid.cjs.entry.js +4 -4
  36. package/dist/cjs/spw-header-lang.cjs.entry.js +2 -2
  37. package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +2 -2
  38. package/dist/cjs/spw-header-navigation-item.cjs.entry.js +2 -2
  39. package/dist/cjs/spw-header-navigation.cjs.entry.js +6 -3
  40. package/dist/cjs/spw-header-persona-item.cjs.entry.js +2 -2
  41. package/dist/cjs/spw-header-persona.cjs.entry.js +2 -2
  42. package/dist/cjs/spw-header.cjs.entry.js +64 -16
  43. package/dist/cjs/spw-hero.cjs.entry.js +4 -4
  44. package/dist/cjs/spw-illustration.cjs.entry.js +1 -1
  45. package/dist/cjs/spw-input-slider.cjs.entry.js +2 -2
  46. package/dist/cjs/spw-lightbox-item.cjs.entry.js +12 -3
  47. package/dist/cjs/spw-lightbox.cjs.entry.js +54 -6
  48. package/dist/cjs/spw-list-description.cjs.entry.js +2 -2
  49. package/dist/cjs/spw-list-item.cjs.entry.js +3 -3
  50. package/dist/cjs/spw-list-title.cjs.entry.js +2 -2
  51. package/dist/cjs/spw-list.cjs.entry.js +2 -2
  52. package/dist/cjs/spw-message.cjs.entry.js +1 -1
  53. package/dist/cjs/spw-modal.cjs.entry.js +4 -4
  54. package/dist/cjs/spw-mosaic-item.cjs.entry.js +2 -2
  55. package/dist/cjs/spw-mosaic.cjs.entry.js +2 -2
  56. package/dist/cjs/spw-pagination.cjs.entry.js +7 -7
  57. package/dist/cjs/spw-radio.cjs.entry.js +39 -3
  58. package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
  59. package/dist/cjs/spw-search-field.cjs.entry.js +21 -3
  60. package/dist/cjs/spw-select.cjs.entry.js +1 -1
  61. package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +2 -2
  62. package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +4 -4
  63. package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +2 -2
  64. package/dist/cjs/spw-sidebar.cjs.entry.js +2 -2
  65. package/dist/cjs/spw-sidenav-group.cjs.entry.js +3 -3
  66. package/dist/cjs/spw-sidenav-item.cjs.entry.js +9 -6
  67. package/dist/cjs/spw-sidenav.cjs.entry.js +10 -12
  68. package/dist/cjs/spw-skeleton.cjs.entry.js +2 -2
  69. package/dist/cjs/spw-slider-item.cjs.entry.js +3 -3
  70. package/dist/cjs/spw-slider.cjs.entry.js +125 -20
  71. package/dist/cjs/spw-socials.cjs.entry.js +2 -2
  72. package/dist/cjs/spw-stencil-library.cjs.js +2 -2
  73. package/dist/cjs/spw-table-body.cjs.entry.js +2 -2
  74. package/dist/cjs/spw-table-cell.cjs.entry.js +2 -2
  75. package/dist/cjs/spw-table-container.cjs.entry.js +2 -2
  76. package/dist/cjs/spw-table-footer.cjs.entry.js +2 -2
  77. package/dist/cjs/spw-table-head.cjs.entry.js +2 -2
  78. package/dist/cjs/spw-table-header.cjs.entry.js +4 -4
  79. package/dist/cjs/spw-table-row.cjs.entry.js +2 -2
  80. package/dist/cjs/spw-table-sidebar.cjs.entry.js +2 -2
  81. package/dist/cjs/spw-table.cjs.entry.js +1 -1
  82. package/dist/cjs/spw-tabs-content.cjs.entry.js +1 -1
  83. package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +2 -2
  84. package/dist/cjs/spw-tabs-navigation.cjs.entry.js +2 -2
  85. package/dist/cjs/spw-tabs.cjs.entry.js +2 -2
  86. package/dist/cjs/spw-tag.cjs.entry.js +2 -2
  87. package/dist/cjs/spw-text-field.cjs.entry.js +2 -2
  88. package/dist/cjs/spw-textarea.cjs.entry.js +2 -2
  89. package/dist/cjs/spw-tile-description.cjs.entry.js +3 -3
  90. package/dist/cjs/spw-tile-title.cjs.entry.js +5 -3
  91. package/dist/cjs/spw-tile.cjs.entry.js +23 -4
  92. package/dist/cjs/spw-timeline-item.cjs.entry.js +3 -3
  93. package/dist/cjs/spw-timeline.cjs.entry.js +3 -3
  94. package/dist/cjs/spw-toast-controller.cjs.entry.js +1 -1
  95. package/dist/cjs/spw-toast.cjs.entry.js +1 -1
  96. package/dist/cjs/spw-toc-container.cjs.entry.js +1 -1
  97. package/dist/cjs/spw-toc-navigation.cjs.entry.js +1 -1
  98. package/dist/cjs/spw-toc.cjs.entry.js +2 -2
  99. package/dist/cjs/spw-topbar.cjs.entry.js +2 -2
  100. package/dist/cjs/spw-wizard-item.cjs.entry.js +2 -2
  101. package/dist/cjs/spw-wizard.cjs.entry.js +77 -3
  102. package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.css +16 -0
  103. package/dist/collection/components/spw-accordion/spw-accordion-content/spw-accordion-content.js +21 -1
  104. package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.css +3 -0
  105. package/dist/collection/components/spw-accordion/spw-accordion-item/spw-accordion-item.js +98 -3
  106. package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.css +14 -0
  107. package/dist/collection/components/spw-accordion/spw-accordion-title/spw-accordion-title.js +23 -1
  108. package/dist/collection/components/spw-accordion/spw-accordion.css +1 -0
  109. package/dist/collection/components/spw-accordion/spw-accordion.js +11 -7
  110. package/dist/collection/components/spw-alert/spw-alert.css +7 -0
  111. package/dist/collection/components/spw-avatar/spw-avatar.js +1 -1
  112. package/dist/collection/components/spw-block-content/spw-block-content.css +85 -12
  113. package/dist/collection/components/spw-block-content/spw-block-content.js +34 -8
  114. package/dist/collection/components/spw-box/spw-box.css +0 -4
  115. package/dist/collection/components/spw-box/spw-box.js +5 -7
  116. package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.js +1 -1
  117. package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.js +1 -1
  118. package/dist/collection/components/spw-button/spw-button.js +1 -1
  119. package/dist/collection/components/spw-card/spw-card-content/spw-card-content.css +6 -1
  120. package/dist/collection/components/spw-card/spw-card-content/spw-card-content.js +1 -1
  121. package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.js +1 -1
  122. package/dist/collection/components/spw-card/spw-card-image/spw-card-image.css +1 -0
  123. package/dist/collection/components/spw-card/spw-card-image/spw-card-image.js +1 -1
  124. package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.css +1 -0
  125. package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.js +4 -2
  126. package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.js +1 -1
  127. package/dist/collection/components/spw-card/spw-card-title/spw-card-title.js +1 -1
  128. package/dist/collection/components/spw-card/spw-card.css +27 -2
  129. package/dist/collection/components/spw-card/spw-card.js +75 -4
  130. package/dist/collection/components/spw-checkbox/spw-checkbox.css +131 -2
  131. package/dist/collection/components/spw-checkbox/spw-checkbox.js +91 -7
  132. package/dist/collection/components/spw-date-picker/spw-date-picker.js +1 -1
  133. package/dist/collection/components/spw-drawer/spw-drawer.js +3 -3
  134. package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.js +1 -1
  135. package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +1 -1
  136. package/dist/collection/components/spw-dropdown/spw-dropdown.js +1 -1
  137. package/dist/collection/components/spw-field-label/spw-field-label.js +1 -1
  138. package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
  139. package/dist/collection/components/spw-file-upload/spw-file-upload.js +2 -2
  140. package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.js +1 -1
  141. package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.js +1 -1
  142. package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +1 -1
  143. package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
  144. package/dist/collection/components/spw-footer/spw-footer.js +1 -1
  145. package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
  146. package/dist/collection/components/spw-grid/spw-grid.css +5 -0
  147. package/dist/collection/components/spw-grid/spw-grid.js +4 -4
  148. package/dist/collection/components/spw-group/spw-group.css +17 -6
  149. package/dist/collection/components/spw-group/spw-group.js +142 -1
  150. package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
  151. package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.css +3 -0
  152. package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +24 -1
  153. package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
  154. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
  155. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
  156. package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
  157. package/dist/collection/components/spw-header/spw-header.js +80 -15
  158. package/dist/collection/components/spw-hero/spw-hero.js +3 -3
  159. package/dist/collection/components/spw-icon/spw-icon.js +1 -1
  160. package/dist/collection/components/spw-input-slider/spw-input-slider.js +1 -1
  161. package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.css +2 -2
  162. package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +15 -1
  163. package/dist/collection/components/spw-lightbox/spw-lightbox.css +11 -0
  164. package/dist/collection/components/spw-lightbox/spw-lightbox.js +134 -25
  165. package/dist/collection/components/spw-link/spw-link.css +13 -0
  166. package/dist/collection/components/spw-link/spw-link.js +5 -5
  167. package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
  168. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.css +11 -1
  169. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
  170. package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
  171. package/dist/collection/components/spw-list/spw-list.js +1 -1
  172. package/dist/collection/components/spw-loading/spw-loading.js +1 -1
  173. package/dist/collection/components/spw-modal/spw-modal.js +3 -3
  174. package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
  175. package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
  176. package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
  177. package/dist/collection/components/spw-radio/spw-radio.css +128 -0
  178. package/dist/collection/components/spw-radio/spw-radio.js +79 -3
  179. package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
  180. package/dist/collection/components/spw-search-field/spw-search-field.js +40 -2
  181. package/dist/collection/components/spw-separator/spw-separator.js +1 -1
  182. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
  183. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
  184. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
  185. package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
  186. package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.js +2 -2
  187. package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.css +7 -3
  188. package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +84 -4
  189. package/dist/collection/components/spw-sidenav/spw-sidenav.js +9 -11
  190. package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
  191. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.css +11 -0
  192. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
  193. package/dist/collection/components/spw-slider/spw-slider.css +90 -0
  194. package/dist/collection/components/spw-slider/spw-slider.js +325 -19
  195. package/dist/collection/components/spw-socials/spw-socials.js +1 -1
  196. package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
  197. package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
  198. package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
  199. package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
  200. package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
  201. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.css +4 -0
  202. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
  203. package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
  204. package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
  205. package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
  206. package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
  207. package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
  208. package/dist/collection/components/spw-tag/spw-tag.js +1 -1
  209. package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
  210. package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
  211. package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
  212. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.css +6 -0
  213. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
  214. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +32 -1
  215. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +29 -1
  216. package/dist/collection/components/spw-tile/spw-tile.css +101 -0
  217. package/dist/collection/components/spw-tile/spw-tile.js +29 -4
  218. package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
  219. package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
  220. package/dist/collection/components/spw-toc/spw-toc.js +1 -1
  221. package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
  222. package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
  223. package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
  224. package/dist/collection/components/spw-wizard/spw-wizard.css +3 -0
  225. package/dist/collection/components/spw-wizard/spw-wizard.js +86 -1
  226. package/dist/collection/stories/components/spw-block-content/spw-block-content.stories.js +61 -16
  227. package/dist/collection/stories/components/spw-box/spw-box.stories.js +44 -0
  228. package/dist/collection/stories/components/spw-checkbox/spw-checkbox.stories.js +187 -0
  229. package/dist/collection/stories/components/spw-link/spw-link.stories.js +40 -0
  230. package/dist/collection/stories/components/spw-radio/spw-radio.stories.js +131 -0
  231. package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +99 -70
  232. package/dist/collection/stories/organisms/spw-accordion/spw-accordion.stories.js +159 -2
  233. package/dist/collection/stories/organisms/spw-alert/spw-alert.stories.js +9 -0
  234. package/dist/collection/stories/organisms/spw-group/spw-group.stories.js +69 -0
  235. package/dist/collection/stories/organisms/spw-header/spw-header.stories.js +46 -0
  236. package/dist/collection/stories/organisms/spw-lightbox/spw-lightbox.stories.js +1 -160
  237. package/dist/collection/stories/organisms/spw-list/spw-list.stories.js +31 -0
  238. package/dist/collection/stories/organisms/spw-sidenav/spw-sidenav.stories.js +64 -0
  239. package/dist/collection/stories/organisms/spw-slider/spw-slider.stories.js +146 -1
  240. package/dist/collection/stories/organisms/spw-tile/spw-tile.stories.js +109 -3
  241. package/dist/collection/stories/organisms/spw-toc/spw-toc.stories.js +3 -3
  242. package/dist/collection/utils/utils.js +1 -1
  243. package/dist/components/index.js +1 -1
  244. package/dist/components/p-B7VfgMNy.js +1 -0
  245. package/dist/components/{p-CMrHIi6V.js → p-B9J7xbpQ.js} +1 -1
  246. package/dist/components/{p-VmfmCYD6.js → p-BK5d5dXN.js} +1 -1
  247. package/dist/components/{p-Cjd09L60.js → p-BSQRkvuQ.js} +1 -1
  248. package/dist/components/p-BhpddpYy.js +1 -0
  249. package/dist/components/{p-CdYKps3q.js → p-BqbBUZit.js} +1 -1
  250. package/dist/components/p-C0Kjwc3C.js +1 -0
  251. package/dist/components/p-CP7K0gLt.js +1 -0
  252. package/dist/components/p-CzRB_COv.js +1 -0
  253. package/dist/components/{p-D9JMaCxL.js → p-D7kEk_Bq.js} +1 -1
  254. package/dist/components/{p-DfbLlF27.js → p-D9yobKiX.js} +1 -1
  255. package/dist/components/{p-BrrQs_CF.js → p-DPbnqynk.js} +1 -1
  256. package/dist/components/p-DmD0U8OW.js +1 -0
  257. package/dist/components/p-N9GtuZLt.js +1 -0
  258. package/dist/components/{p-BCuU5Ywh.js → p-ngXzYfRV.js} +1 -1
  259. package/dist/{spw-stencil-library/p-ce07c9cd.entry.js → components/p-yXpAcpXR.js} +1 -1
  260. package/dist/components/spw-accordion-content.js +1 -1
  261. package/dist/components/spw-accordion-item.js +1 -1
  262. package/dist/components/spw-accordion-title.js +1 -1
  263. package/dist/components/spw-accordion.js +1 -1
  264. package/dist/components/spw-alert.js +1 -1
  265. package/dist/components/spw-avatar.js +1 -1
  266. package/dist/components/spw-block-content.js +1 -1
  267. package/dist/components/spw-box.js +1 -1
  268. package/dist/components/spw-breadcrumb-item.js +1 -1
  269. package/dist/components/spw-breadcrumb.js +1 -1
  270. package/dist/components/spw-button.js +1 -1
  271. package/dist/components/spw-card-content.js +1 -1
  272. package/dist/components/spw-card-excerpt.js +1 -1
  273. package/dist/components/spw-card-image.js +1 -1
  274. package/dist/components/spw-card-subtag-item.js +1 -1
  275. package/dist/components/spw-card-subtags.js +1 -1
  276. package/dist/components/spw-card-title.js +1 -1
  277. package/dist/components/spw-card.js +1 -1
  278. package/dist/components/spw-checkbox.js +1 -1
  279. package/dist/components/spw-cookies.js +1 -1
  280. package/dist/components/spw-custom-select.js +1 -1
  281. package/dist/components/spw-date-picker.js +1 -1
  282. package/dist/components/spw-drawer.js +1 -1
  283. package/dist/components/spw-dropdown-container.js +1 -1
  284. package/dist/components/spw-dropdown-item.js +1 -1
  285. package/dist/components/spw-dropdown.js +1 -1
  286. package/dist/components/spw-field-label.js +1 -1
  287. package/dist/components/spw-field-message.js +1 -1
  288. package/dist/components/spw-file-upload.js +1 -1
  289. package/dist/components/spw-footer-bottom.js +1 -1
  290. package/dist/components/spw-footer-content-col.js +1 -1
  291. package/dist/components/spw-footer-content.js +1 -1
  292. package/dist/components/spw-footer-link.js +1 -1
  293. package/dist/components/spw-footer.js +1 -1
  294. package/dist/components/spw-grid-item.js +1 -1
  295. package/dist/components/spw-grid.js +1 -1
  296. package/dist/components/spw-group.js +1 -1
  297. package/dist/components/spw-header-lang.js +1 -1
  298. package/dist/components/spw-header-navigation-dropdown.js +1 -1
  299. package/dist/components/spw-header-navigation-item.js +1 -1
  300. package/dist/components/spw-header-navigation.js +1 -1
  301. package/dist/components/spw-header-persona-item.js +1 -1
  302. package/dist/components/spw-header-persona.js +1 -1
  303. package/dist/components/spw-header.js +1 -1
  304. package/dist/components/spw-hero.js +1 -1
  305. package/dist/components/spw-icon.js +1 -1
  306. package/dist/components/spw-input-slider.js +1 -1
  307. package/dist/components/spw-lightbox-item.js +1 -1
  308. package/dist/components/spw-lightbox.js +1 -1
  309. package/dist/components/spw-link.js +1 -1
  310. package/dist/components/spw-list-description.js +1 -1
  311. package/dist/components/spw-list-item.js +1 -1
  312. package/dist/components/spw-list-title.js +1 -1
  313. package/dist/components/spw-list.js +1 -1
  314. package/dist/components/spw-loading.js +1 -1
  315. package/dist/components/spw-message.js +1 -1
  316. package/dist/components/spw-modal.js +1 -1
  317. package/dist/components/spw-mosaic-item.js +1 -1
  318. package/dist/components/spw-mosaic.js +1 -1
  319. package/dist/components/spw-pagination.js +1 -1
  320. package/dist/components/spw-radio.js +1 -1
  321. package/dist/components/spw-scrolltop.js +1 -1
  322. package/dist/components/spw-search-field.js +1 -1
  323. package/dist/components/spw-select.js +1 -1
  324. package/dist/components/spw-separator.js +1 -1
  325. package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
  326. package/dist/components/spw-sidebar-navigation-item.js +1 -1
  327. package/dist/components/spw-sidebar-navigation-separator.js +1 -1
  328. package/dist/components/spw-sidebar.js +1 -1
  329. package/dist/components/spw-sidenav-group.js +1 -1
  330. package/dist/components/spw-sidenav-item.js +1 -1
  331. package/dist/components/spw-sidenav.js +1 -1
  332. package/dist/components/spw-skeleton.js +1 -1
  333. package/dist/components/spw-slider-item.js +1 -1
  334. package/dist/components/spw-slider.js +1 -1
  335. package/dist/components/spw-socials.js +1 -1
  336. package/dist/components/spw-table-body.js +1 -1
  337. package/dist/components/spw-table-cell.js +1 -1
  338. package/dist/components/spw-table-container.js +1 -1
  339. package/dist/components/spw-table-footer.js +1 -1
  340. package/dist/components/spw-table-head.js +1 -1
  341. package/dist/components/spw-table-header.js +1 -1
  342. package/dist/components/spw-table-row.js +1 -1
  343. package/dist/components/spw-table-sidebar.js +1 -1
  344. package/dist/components/spw-tabs-navigation-item.js +1 -1
  345. package/dist/components/spw-tabs-navigation.js +1 -1
  346. package/dist/components/spw-tabs.js +1 -1
  347. package/dist/components/spw-tag.js +1 -1
  348. package/dist/components/spw-text-field.js +1 -1
  349. package/dist/components/spw-textarea.js +1 -1
  350. package/dist/components/spw-theme-provider.js +1 -1
  351. package/dist/components/spw-tile-description.js +1 -1
  352. package/dist/components/spw-tile-title.js +1 -1
  353. package/dist/components/spw-tile.js +1 -1
  354. package/dist/components/spw-timeline-item.js +1 -1
  355. package/dist/components/spw-timeline.js +1 -1
  356. package/dist/components/spw-toast-controller.js +1 -1
  357. package/dist/components/spw-toast.js +1 -1
  358. package/dist/components/spw-toc-container.js +1 -1
  359. package/dist/components/spw-toc.js +1 -1
  360. package/dist/components/spw-tooltip.js +1 -1
  361. package/dist/components/spw-topbar.js +1 -1
  362. package/dist/components/spw-wizard-item.js +1 -1
  363. package/dist/components/spw-wizard.js +1 -1
  364. package/dist/components_json.json +1451 -165
  365. package/dist/components_vscode.json +275 -9
  366. package/dist/esm/{index-mthi2pFj.js → index-DkYGNpnN.js} +1 -1
  367. package/dist/esm/loader.js +3 -3
  368. package/dist/esm/spw-accordion_4.entry.js +138 -17
  369. package/dist/esm/spw-alert.entry.js +2 -2
  370. package/dist/esm/spw-avatar.entry.js +2 -2
  371. package/dist/esm/spw-block-content.entry.js +11 -4
  372. package/dist/esm/spw-box.entry.js +6 -7
  373. package/dist/esm/spw-breadcrumb-item.entry.js +2 -2
  374. package/dist/esm/spw-breadcrumb.entry.js +2 -2
  375. package/dist/esm/spw-button_2.entry.js +3 -3
  376. package/dist/esm/spw-card-content.entry.js +3 -3
  377. package/dist/esm/spw-card-excerpt.entry.js +2 -2
  378. package/dist/esm/spw-card-image.entry.js +3 -3
  379. package/dist/esm/spw-card-subtag-item.entry.js +6 -4
  380. package/dist/esm/spw-card-subtags.entry.js +2 -2
  381. package/dist/esm/spw-card-title.entry.js +2 -2
  382. package/dist/esm/spw-card.entry.js +17 -6
  383. package/dist/esm/spw-checkbox.entry.js +51 -7
  384. package/dist/esm/spw-cookies.entry.js +1 -1
  385. package/dist/esm/spw-custom-select.entry.js +1 -1
  386. package/dist/esm/spw-date-picker.entry.js +2 -2
  387. package/dist/esm/spw-drawer.entry.js +4 -4
  388. package/dist/esm/spw-dropdown-container.entry.js +2 -2
  389. package/dist/esm/spw-dropdown-item.entry.js +2 -2
  390. package/dist/esm/spw-dropdown.entry.js +2 -2
  391. package/dist/esm/spw-field-label_8.entry.js +66 -12
  392. package/dist/esm/spw-file-upload.entry.js +3 -3
  393. package/dist/esm/spw-footer-bottom.entry.js +2 -2
  394. package/dist/esm/spw-footer-content-col.entry.js +2 -2
  395. package/dist/esm/spw-footer-content.entry.js +2 -2
  396. package/dist/esm/spw-footer-link.entry.js +2 -2
  397. package/dist/esm/spw-footer.entry.js +2 -2
  398. package/dist/esm/spw-grid-item.entry.js +3 -3
  399. package/dist/esm/spw-grid.entry.js +4 -4
  400. package/dist/esm/spw-header-lang.entry.js +2 -2
  401. package/dist/esm/spw-header-navigation-dropdown.entry.js +2 -2
  402. package/dist/esm/spw-header-navigation-item.entry.js +2 -2
  403. package/dist/esm/spw-header-navigation.entry.js +6 -3
  404. package/dist/esm/spw-header-persona-item.entry.js +2 -2
  405. package/dist/esm/spw-header-persona.entry.js +2 -2
  406. package/dist/esm/spw-header.entry.js +64 -16
  407. package/dist/esm/spw-hero.entry.js +4 -4
  408. package/dist/esm/spw-illustration.entry.js +1 -1
  409. package/dist/esm/spw-input-slider.entry.js +2 -2
  410. package/dist/esm/spw-lightbox-item.entry.js +12 -3
  411. package/dist/esm/spw-lightbox.entry.js +54 -6
  412. package/dist/esm/spw-list-description.entry.js +2 -2
  413. package/dist/esm/spw-list-item.entry.js +3 -3
  414. package/dist/esm/spw-list-title.entry.js +2 -2
  415. package/dist/esm/spw-list.entry.js +2 -2
  416. package/dist/esm/spw-message.entry.js +1 -1
  417. package/dist/esm/spw-modal.entry.js +4 -4
  418. package/dist/esm/spw-mosaic-item.entry.js +2 -2
  419. package/dist/esm/spw-mosaic.entry.js +2 -2
  420. package/dist/esm/spw-pagination.entry.js +7 -7
  421. package/dist/esm/spw-radio.entry.js +39 -3
  422. package/dist/esm/spw-scrolltop.entry.js +2 -2
  423. package/dist/esm/spw-search-field.entry.js +21 -3
  424. package/dist/esm/spw-select.entry.js +1 -1
  425. package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +2 -2
  426. package/dist/esm/spw-sidebar-navigation-item.entry.js +4 -4
  427. package/dist/esm/spw-sidebar-navigation-separator.entry.js +2 -2
  428. package/dist/esm/spw-sidebar.entry.js +2 -2
  429. package/dist/esm/spw-sidenav-group.entry.js +3 -3
  430. package/dist/esm/spw-sidenav-item.entry.js +9 -6
  431. package/dist/esm/spw-sidenav.entry.js +10 -12
  432. package/dist/esm/spw-skeleton.entry.js +2 -2
  433. package/dist/esm/spw-slider-item.entry.js +3 -3
  434. package/dist/esm/spw-slider.entry.js +125 -20
  435. package/dist/esm/spw-socials.entry.js +2 -2
  436. package/dist/esm/spw-stencil-library.js +3 -3
  437. package/dist/esm/spw-table-body.entry.js +2 -2
  438. package/dist/esm/spw-table-cell.entry.js +2 -2
  439. package/dist/esm/spw-table-container.entry.js +2 -2
  440. package/dist/esm/spw-table-footer.entry.js +2 -2
  441. package/dist/esm/spw-table-head.entry.js +2 -2
  442. package/dist/esm/spw-table-header.entry.js +4 -4
  443. package/dist/esm/spw-table-row.entry.js +2 -2
  444. package/dist/esm/spw-table-sidebar.entry.js +2 -2
  445. package/dist/esm/spw-table.entry.js +1 -1
  446. package/dist/esm/spw-tabs-content.entry.js +1 -1
  447. package/dist/esm/spw-tabs-navigation-item.entry.js +2 -2
  448. package/dist/esm/spw-tabs-navigation.entry.js +2 -2
  449. package/dist/esm/spw-tabs.entry.js +2 -2
  450. package/dist/esm/spw-tag.entry.js +2 -2
  451. package/dist/esm/spw-text-field.entry.js +2 -2
  452. package/dist/esm/spw-textarea.entry.js +2 -2
  453. package/dist/esm/spw-tile-description.entry.js +3 -3
  454. package/dist/esm/spw-tile-title.entry.js +5 -3
  455. package/dist/esm/spw-tile.entry.js +23 -4
  456. package/dist/esm/spw-timeline-item.entry.js +3 -3
  457. package/dist/esm/spw-timeline.entry.js +3 -3
  458. package/dist/esm/spw-toast-controller.entry.js +1 -1
  459. package/dist/esm/spw-toast.entry.js +1 -1
  460. package/dist/esm/spw-toc-container.entry.js +1 -1
  461. package/dist/esm/spw-toc-navigation.entry.js +1 -1
  462. package/dist/esm/spw-toc.entry.js +2 -2
  463. package/dist/esm/spw-topbar.entry.js +2 -2
  464. package/dist/esm/spw-wizard-item.entry.js +2 -2
  465. package/dist/esm/spw-wizard.entry.js +77 -3
  466. package/dist/spw-stencil-library/assets/images/mockup.png +0 -0
  467. package/dist/spw-stencil-library/{p-3f83cca0.entry.js → p-0225eae6.entry.js} +1 -1
  468. package/dist/spw-stencil-library/{p-932bee0e.entry.js → p-0552fb3c.entry.js} +1 -1
  469. package/dist/spw-stencil-library/{p-9964d952.entry.js → p-05ed7f8c.entry.js} +1 -1
  470. package/dist/spw-stencil-library/{p-3ad5c457.entry.js → p-07421627.entry.js} +1 -1
  471. package/dist/spw-stencil-library/{p-361f6350.entry.js → p-0a8d9ea5.entry.js} +1 -1
  472. package/dist/spw-stencil-library/p-0dbd1777.entry.js +1 -0
  473. package/dist/spw-stencil-library/{p-455036fe.entry.js → p-19d6f92f.entry.js} +1 -1
  474. package/dist/spw-stencil-library/{p-1dc8918c.entry.js → p-1e9e9847.entry.js} +1 -1
  475. package/dist/spw-stencil-library/{p-c369f61b.entry.js → p-21022935.entry.js} +1 -1
  476. package/dist/spw-stencil-library/{p-698c0030.entry.js → p-22b01bfa.entry.js} +1 -1
  477. package/dist/spw-stencil-library/{p-adbcce82.entry.js → p-250704ca.entry.js} +1 -1
  478. package/dist/spw-stencil-library/{p-89931481.entry.js → p-2779253d.entry.js} +1 -1
  479. package/dist/spw-stencil-library/{p-4a06e37f.entry.js → p-2aeb538a.entry.js} +1 -1
  480. package/dist/spw-stencil-library/{p-f98ff9fd.entry.js → p-2bf9275b.entry.js} +1 -1
  481. package/dist/spw-stencil-library/p-30028ea4.entry.js +1 -0
  482. package/dist/spw-stencil-library/{p-e8f6b76c.entry.js → p-30f77b9c.entry.js} +1 -1
  483. package/dist/spw-stencil-library/p-335b2f57.entry.js +1 -0
  484. package/dist/spw-stencil-library/{p-1bdf3e61.entry.js → p-34d01701.entry.js} +1 -1
  485. package/dist/spw-stencil-library/{p-fc1e3eb6.entry.js → p-36225351.entry.js} +1 -1
  486. package/dist/spw-stencil-library/p-3b9a184f.entry.js +1 -0
  487. package/dist/spw-stencil-library/{p-57cd2788.entry.js → p-3d48b3ef.entry.js} +1 -1
  488. package/dist/spw-stencil-library/{p-bdcd9e24.entry.js → p-3d616279.entry.js} +1 -1
  489. package/dist/spw-stencil-library/p-4444edf0.entry.js +1 -0
  490. package/dist/spw-stencil-library/{p-61f2278c.entry.js → p-50dc5fb5.entry.js} +1 -1
  491. package/dist/spw-stencil-library/{p-2b1e084f.entry.js → p-524b1240.entry.js} +1 -1
  492. package/dist/spw-stencil-library/{p-faf4a80a.entry.js → p-53723414.entry.js} +1 -1
  493. package/dist/spw-stencil-library/{p-1e4878b8.entry.js → p-53e6a62e.entry.js} +1 -1
  494. package/dist/spw-stencil-library/p-542dc71f.entry.js +1 -0
  495. package/dist/spw-stencil-library/{p-154a2f90.entry.js → p-563225aa.entry.js} +1 -1
  496. package/dist/spw-stencil-library/{p-90100e0c.entry.js → p-5ca0e318.entry.js} +1 -1
  497. package/dist/spw-stencil-library/{p-0647a776.entry.js → p-5e448c5e.entry.js} +1 -1
  498. package/dist/spw-stencil-library/{p-bda30c93.entry.js → p-66695277.entry.js} +1 -1
  499. package/dist/spw-stencil-library/{p-6cc0b5f5.entry.js → p-698fdd22.entry.js} +1 -1
  500. package/dist/spw-stencil-library/{p-a8bd7ac4.entry.js → p-6a837847.entry.js} +1 -1
  501. package/dist/spw-stencil-library/{p-9f6d4141.entry.js → p-6c5156e2.entry.js} +1 -1
  502. package/dist/spw-stencil-library/p-6f84b402.entry.js +1 -0
  503. package/dist/spw-stencil-library/{p-899f21ca.entry.js → p-7875efb1.entry.js} +1 -1
  504. package/dist/spw-stencil-library/{p-3f1f7fbb.entry.js → p-79dd218a.entry.js} +1 -1
  505. package/dist/spw-stencil-library/p-7a71d533.entry.js +1 -0
  506. package/dist/spw-stencil-library/p-7b495c09.entry.js +1 -0
  507. package/dist/spw-stencil-library/{p-5e8a5a23.entry.js → p-7bdca1ab.entry.js} +1 -1
  508. package/dist/spw-stencil-library/p-7c1eff67.entry.js +1 -0
  509. package/dist/spw-stencil-library/p-7d205679.entry.js +1 -0
  510. package/dist/spw-stencil-library/{p-95062710.entry.js → p-8300baab.entry.js} +1 -1
  511. package/dist/spw-stencil-library/{p-93d33de7.entry.js → p-89e3b606.entry.js} +1 -1
  512. package/dist/spw-stencil-library/{p-f29ddbe8.entry.js → p-8ca8cc0a.entry.js} +1 -1
  513. package/dist/spw-stencil-library/p-8ecbede1.entry.js +1 -0
  514. package/dist/spw-stencil-library/{p-39add31f.entry.js → p-90aa1e04.entry.js} +1 -1
  515. package/dist/spw-stencil-library/{p-f1b2d02e.entry.js → p-91e66c74.entry.js} +1 -1
  516. package/dist/spw-stencil-library/p-932c106b.entry.js +1 -0
  517. package/dist/spw-stencil-library/{p-6e52eb6a.entry.js → p-945ae18e.entry.js} +1 -1
  518. package/dist/spw-stencil-library/{p-50588fc5.entry.js → p-9472747a.entry.js} +1 -1
  519. package/dist/spw-stencil-library/{p-a6ffe0b7.entry.js → p-999c3fbf.entry.js} +1 -1
  520. package/dist/spw-stencil-library/{p-00bbd54f.entry.js → p-9ad91e29.entry.js} +1 -1
  521. package/dist/spw-stencil-library/{p-39643956.entry.js → p-9ce65071.entry.js} +1 -1
  522. package/dist/spw-stencil-library/{p-0696997f.entry.js → p-9d0eaa1c.entry.js} +1 -1
  523. package/dist/spw-stencil-library/{p-3ad6d6f0.entry.js → p-9e350e36.entry.js} +1 -1
  524. package/dist/spw-stencil-library/{p-mthi2pFj.js → p-DkYGNpnN.js} +2 -2
  525. package/dist/spw-stencil-library/p-a9a5c1d2.entry.js +1 -0
  526. package/dist/spw-stencil-library/{p-5a697628.entry.js → p-ae43ace2.entry.js} +1 -1
  527. package/dist/spw-stencil-library/{p-cb506a6f.entry.js → p-aef5a5ca.entry.js} +1 -1
  528. package/dist/spw-stencil-library/p-b1f68930.entry.js +1 -0
  529. package/dist/spw-stencil-library/p-b2990f3e.entry.js +1 -0
  530. package/dist/spw-stencil-library/{p-17d35cee.entry.js → p-b2fd6355.entry.js} +1 -1
  531. package/dist/spw-stencil-library/{p-3777bccc.entry.js → p-b5aab148.entry.js} +1 -1
  532. package/dist/spw-stencil-library/{p-7e704f32.entry.js → p-b83ba191.entry.js} +1 -1
  533. package/dist/spw-stencil-library/{p-b28c7677.entry.js → p-bbf86fbe.entry.js} +1 -1
  534. package/dist/spw-stencil-library/p-bc40d93c.entry.js +1 -0
  535. package/dist/spw-stencil-library/{p-a89eaabb.entry.js → p-bc6a2c42.entry.js} +1 -1
  536. package/dist/spw-stencil-library/{p-ae8a6054.entry.js → p-c4945a0a.entry.js} +1 -1
  537. package/dist/spw-stencil-library/{p-eb0c9f5d.entry.js → p-cc1d8a4f.entry.js} +1 -1
  538. package/dist/spw-stencil-library/{p-ddc867bd.entry.js → p-cd1294b1.entry.js} +1 -1
  539. package/dist/spw-stencil-library/{p-f2714773.entry.js → p-cdf8b303.entry.js} +1 -1
  540. package/dist/spw-stencil-library/{p-c374d0ff.entry.js → p-d139d77f.entry.js} +1 -1
  541. package/dist/spw-stencil-library/{p-a7b71644.entry.js → p-d7d88d71.entry.js} +1 -1
  542. package/dist/spw-stencil-library/{p-2417cbbb.entry.js → p-d88b1a1f.entry.js} +1 -1
  543. package/dist/spw-stencil-library/{p-4b0db9bd.entry.js → p-d9e96fbe.entry.js} +1 -1
  544. package/dist/spw-stencil-library/{p-9ee7a00a.entry.js → p-da502510.entry.js} +1 -1
  545. package/dist/spw-stencil-library/{p-fb604e35.entry.js → p-da915195.entry.js} +1 -1
  546. package/dist/spw-stencil-library/{p-10f42f45.entry.js → p-dcc02bab.entry.js} +1 -1
  547. package/dist/spw-stencil-library/{p-0e4056ba.entry.js → p-ddf93cc8.entry.js} +1 -1
  548. package/dist/spw-stencil-library/{p-8f1513ad.entry.js → p-de76b09f.entry.js} +1 -1
  549. package/dist/spw-stencil-library/{p-b6678091.entry.js → p-df0a919c.entry.js} +1 -1
  550. package/dist/spw-stencil-library/p-e0cb4c68.entry.js +1 -0
  551. package/dist/spw-stencil-library/{p-af9ea059.entry.js → p-e35e6628.entry.js} +1 -1
  552. package/dist/spw-stencil-library/{p-b73d8a54.entry.js → p-e39126c0.entry.js} +1 -1
  553. package/dist/spw-stencil-library/{p-dad0c8fa.entry.js → p-e937613e.entry.js} +1 -1
  554. package/dist/spw-stencil-library/{p-29e1b7ba.entry.js → p-ea88e604.entry.js} +1 -1
  555. package/dist/spw-stencil-library/p-ee06a1d2.entry.js +1 -0
  556. package/dist/spw-stencil-library/{p-b835ebc5.entry.js → p-f27d6669.entry.js} +1 -1
  557. package/dist/spw-stencil-library/p-f4e9c5f8.entry.js +1 -0
  558. package/dist/spw-stencil-library/{p-0c33cd7d.entry.js → p-f548104b.entry.js} +1 -1
  559. package/dist/spw-stencil-library/{p-fabba2d4.entry.js → p-f5ef6c0a.entry.js} +1 -1
  560. package/dist/spw-stencil-library/{p-e1926d22.entry.js → p-f75c25d4.entry.js} +1 -1
  561. package/dist/spw-stencil-library/p-f9a0ac9b.entry.js +1 -0
  562. package/dist/spw-stencil-library/p-f9d970fb.entry.js +1 -0
  563. package/dist/spw-stencil-library/{p-2cbb997d.entry.js → p-facbc77c.entry.js} +1 -1
  564. package/dist/spw-stencil-library/{p-e2898a5f.entry.js → p-fe51cf75.entry.js} +4 -4
  565. package/dist/spw-stencil-library/spw-stencil-library.css +1 -1
  566. package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
  567. package/dist/stats.json +3231 -1069
  568. package/dist/types/components/spw-accordion/spw-accordion-content/spw-accordion-content.d.ts +3 -0
  569. package/dist/types/components/spw-accordion/spw-accordion-item/spw-accordion-item.d.ts +13 -0
  570. package/dist/types/components/spw-accordion/spw-accordion-title/spw-accordion-title.d.ts +2 -0
  571. package/dist/types/components/spw-accordion/spw-accordion.d.ts +1 -1
  572. package/dist/types/components/spw-block-content/spw-block-content.d.ts +8 -5
  573. package/dist/types/components/spw-box/spw-box.d.ts +0 -1
  574. package/dist/types/components/spw-card/spw-card.d.ts +7 -0
  575. package/dist/types/components/spw-checkbox/spw-checkbox.d.ts +8 -1
  576. package/dist/types/components/spw-grid/spw-grid.d.ts +1 -1
  577. package/dist/types/components/spw-group/spw-group.d.ts +21 -0
  578. package/dist/types/components/spw-header/spw-header-navigation/spw-header-navigation.d.ts +2 -0
  579. package/dist/types/components/spw-header/spw-header.d.ts +12 -0
  580. package/dist/types/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.d.ts +4 -0
  581. package/dist/types/components/spw-lightbox/spw-lightbox.d.ts +13 -2
  582. package/dist/types/components/spw-link/spw-link.d.ts +1 -1
  583. package/dist/types/components/spw-radio/spw-radio.d.ts +8 -1
  584. package/dist/types/components/spw-search-field/spw-search-field.d.ts +4 -0
  585. package/dist/types/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.d.ts +8 -0
  586. package/dist/types/components/spw-sidenav/spw-sidenav.d.ts +1 -0
  587. package/dist/types/components/spw-slider/spw-slider.d.ts +36 -0
  588. package/dist/types/components/spw-tile/spw-tile-title/spw-tile-title.d.ts +2 -0
  589. package/dist/types/components/spw-tile/spw-tile.d.ts +7 -1
  590. package/dist/types/components/spw-wizard/spw-wizard.d.ts +22 -0
  591. package/dist/types/components.d.ts +395 -40
  592. package/dist/types/stories/components/spw-block-content/spw-block-content.stories.d.ts +3 -0
  593. package/dist/types/stories/components/spw-box/spw-box.stories.d.ts +1 -0
  594. package/dist/types/stories/components/spw-checkbox/spw-checkbox.stories.d.ts +7 -0
  595. package/dist/types/stories/components/spw-link/spw-link.stories.d.ts +2 -1
  596. package/dist/types/stories/components/spw-radio/spw-radio.stories.d.ts +4 -0
  597. package/dist/types/stories/organisms/spw-accordion/spw-accordion.stories.d.ts +1 -0
  598. package/dist/types/stories/organisms/spw-group/spw-group.stories.d.ts +2 -0
  599. package/dist/types/stories/organisms/spw-header/spw-header.stories.d.ts +1 -0
  600. package/dist/types/stories/organisms/spw-list/spw-list.stories.d.ts +1 -0
  601. package/dist/types/stories/organisms/spw-sidenav/spw-sidenav.stories.d.ts +2 -1
  602. package/dist/types/stories/organisms/spw-slider/spw-slider.stories.d.ts +2 -0
  603. package/dist/types/stories/organisms/spw-tile/spw-tile.stories.d.ts +3 -0
  604. package/hydrate/index.js +879 -226
  605. package/hydrate/index.mjs +879 -226
  606. package/package.json +1 -1
  607. package/dist/components/p-B68Myli4.js +0 -1
  608. package/dist/components/p-C2YutT5r.js +0 -1
  609. package/dist/components/p-CZa7267G.js +0 -1
  610. package/dist/components/p-Ci0r8I9g.js +0 -1
  611. package/dist/components/p-CqWtzvF4.js +0 -1
  612. package/dist/components/p-DVxJ3wRZ.js +0 -1
  613. package/dist/components/p-DaUZrpCq.js +0 -1
  614. package/dist/components/p-oohA0YBK.js +0 -1
  615. package/dist/spw-stencil-library/p-020b4537.entry.js +0 -1
  616. package/dist/spw-stencil-library/p-0a0b5695.entry.js +0 -1
  617. package/dist/spw-stencil-library/p-1da399ed.entry.js +0 -1
  618. package/dist/spw-stencil-library/p-235a9a01.entry.js +0 -1
  619. package/dist/spw-stencil-library/p-243061e9.entry.js +0 -1
  620. package/dist/spw-stencil-library/p-4774338c.entry.js +0 -1
  621. package/dist/spw-stencil-library/p-4fbeb3f5.entry.js +0 -1
  622. package/dist/spw-stencil-library/p-55f21ebb.entry.js +0 -1
  623. package/dist/spw-stencil-library/p-655a0920.entry.js +0 -1
  624. package/dist/spw-stencil-library/p-6c9bc0df.entry.js +0 -1
  625. package/dist/spw-stencil-library/p-70947adf.entry.js +0 -1
  626. package/dist/spw-stencil-library/p-7f04e78e.entry.js +0 -1
  627. package/dist/spw-stencil-library/p-acd17168.entry.js +0 -1
  628. package/dist/spw-stencil-library/p-ade0b4ca.entry.js +0 -1
  629. package/dist/spw-stencil-library/p-bde71818.entry.js +0 -1
  630. package/dist/spw-stencil-library/p-bfde8a3a.entry.js +0 -1
  631. package/dist/spw-stencil-library/p-c36db9e3.entry.js +0 -1
  632. package/dist/spw-stencil-library/p-c7480955.entry.js +0 -1
  633. package/dist/spw-stencil-library/p-e286f138.entry.js +0 -1
  634. package/dist/spw-stencil-library/p-e7e8a60a.entry.js +0 -1
  635. package/dist/spw-stencil-library/p-f473aba1.entry.js +0 -1
@@ -8,6 +8,14 @@ export class SpwLightbox {
8
8
  this.closeOnBackdropClick = true;
9
9
  /** Affiche ou masque la galerie de miniatures sous l'image principale */
10
10
  this.showThumbnails = true;
11
+ /** Sous 1024px, limite le nombre de vignettes visibles et affiche un bouton d'ouverture */
12
+ this.limitOnMobile = true;
13
+ /** Nombre de vignettes visibles sous 1024px quand limitOnMobile est actif */
14
+ this.mobileLimit = 3;
15
+ /** Texte du bouton d'ouverture affiché sous 1024px */
16
+ this.showGalleryText = 'Afficher la galerie';
17
+ /** Type de déclencheur d'ouverture affiché sous 1024px : bouton (défaut) ou lien */
18
+ this.showGalleryTrigger = 'button';
11
19
  // Textes customisables
12
20
  /** Label aria de la dialog */
13
21
  this.textDialogLabel = "Galerie d'images";
@@ -17,17 +25,31 @@ export class SpwLightbox {
17
25
  this.textNext = 'Image suivante';
18
26
  /** Label aria de la liste de miniatures */
19
27
  this.textThumbnailsLabel = 'Miniatures';
20
- /** Label aria d'une miniature (utiliser {index} comme placeholder) */
21
- this.textThumbnailItem = 'Image {index}';
22
28
  this.opened = false;
23
29
  this.activeIndex = 0;
24
30
  this.items = [];
31
+ this.hasMobileOverflow = false;
25
32
  this.previouslyFocusedElement = null;
26
33
  this.currentAnimation = null;
27
34
  this.swipeStartX = 0;
28
35
  this.swipeStartY = 0;
29
36
  this.isSwiping = false;
30
37
  this.SWIPE_THRESHOLD = 50;
38
+ this.markMobileOverflow = () => {
39
+ const items = Array.from(this.hostElement.querySelectorAll('spw-lightbox-item'));
40
+ const hasOverflow = this.limitOnMobile && this.mobileLimit < items.length;
41
+ items.forEach((item, index) => {
42
+ var _a;
43
+ const target = (_a = item.closest('spw-grid-item')) !== null && _a !== void 0 ? _a : item;
44
+ if (hasOverflow && index >= this.mobileLimit) {
45
+ target.setAttribute('data-spw-lb-overflow', '');
46
+ }
47
+ else {
48
+ target.removeAttribute('data-spw-lb-overflow');
49
+ }
50
+ });
51
+ this.hasMobileOverflow = hasOverflow;
52
+ };
31
53
  this.handleItemClick = (event) => {
32
54
  var _a;
33
55
  this.collectItems();
@@ -77,12 +99,23 @@ export class SpwLightbox {
77
99
  this.isSwiping = false;
78
100
  };
79
101
  }
102
+ static ensureOverflowStyles() {
103
+ if (SpwLightbox.overflowStylesInjected || typeof document === 'undefined')
104
+ return;
105
+ const style = document.createElement('style');
106
+ style.setAttribute('data-spw-lightbox-overflow', '');
107
+ style.textContent = '@media (max-width:1023px){spw-lightbox.spw-lightbox--limit-mobile [data-spw-lb-overflow]{display:none !important;}}';
108
+ document.head.appendChild(style);
109
+ SpwLightbox.overflowStylesInjected = true;
110
+ }
80
111
  componentDidLoad() {
81
112
  window.addEventListener('keydown', this.handleKeydown);
82
113
  this.hostElement.addEventListener('spwLightboxItemClick', this.handleItemClick);
83
114
  this.imageWrapperEl.addEventListener('touchstart', this.handleTouchStart, { passive: true });
84
115
  this.imageWrapperEl.addEventListener('touchmove', this.handleTouchMove, { passive: false });
85
116
  this.imageWrapperEl.addEventListener('touchend', this.handleTouchEnd);
117
+ SpwLightbox.ensureOverflowStyles();
118
+ this.markMobileOverflow();
86
119
  }
87
120
  disconnectedCallback() {
88
121
  var _a, _b, _c;
@@ -93,6 +126,9 @@ export class SpwLightbox {
93
126
  (_c = this.imageWrapperEl) === null || _c === void 0 ? void 0 : _c.removeEventListener('touchend', this.handleTouchEnd);
94
127
  document.body.style.overflow = '';
95
128
  }
129
+ onLimitPropsChange() {
130
+ this.markMobileOverflow();
131
+ }
96
132
  async open(index = 0) {
97
133
  this.collectItems();
98
134
  this.activeIndex = index;
@@ -221,10 +257,15 @@ export class SpwLightbox {
221
257
  }
222
258
  render() {
223
259
  const { opened, activeItem, items, activeIndex } = this;
224
- return (h(Host, { key: 'b2a6c3c29ca1e2bfca1c392bd42a565cf25196fd' }, h("div", { key: '9d1ed10be8b822c8cc4de70014d8bc76f7430b20', inert: opened || undefined }, h("slot", { key: '1b22070c18e533afb84fd932b1922be16e75d7c1' })), h("div", { key: '35427f00ca32aa836f11f18207c1f9854a825718', ref: el => (this.lightboxContainer = el), class: { 'spw-lightbox': true, 'spw-lightbox--opened': opened }, role: "dialog", "aria-modal": "true", "aria-label": this.textDialogLabel }, h("div", { key: 'a8cf360a208ff147518824485e9a1b29573a7afa', class: "spw-lightbox__backdrop", onClick: () => this.handleBackdropClick(), "aria-hidden": "true" }), h("div", { key: '1f94bbb3f5d4db413ba2a119ddb2152312206efc', class: "spw-lightbox__container" }, h("div", { key: '24a8f992a0a248b6c903df571af100ed84eebb64', class: "spw-lightbox__toolbar" }, h("span", { key: '6cdea3d52fd040991fcd821eb1e58a35b147c153', class: "spw-lightbox__counter", "aria-live": "polite" }, items.length > 0 ? `${activeIndex + 1} / ${items.length}` : ''), h("div", { key: '41ea12b32467313f6d37c10d75c844961fd063ca', ref: el => (this.closeButtonEl = el), class: "spw-lightbox__close", tabIndex: 0, role: "button", onClick: () => this.doClose(), onKeyDown: (e) => {
260
+ return (h(Host, { key: 'fc882fae18f6bb8c52a8624a8f9ca1f3c8752120', class: { 'spw-lightbox--limit-mobile': this.hasMobileOverflow } }, h("div", { key: 'e67f81c2d1d04f8322ba1c29cde376411aade9a1', inert: opened || undefined }, h("slot", { key: '2b59692671ca399fc77d01ffba706e8a7d7ae02e' }), this.hasMobileOverflow && (h("div", { key: '2d0e85ff554bbd5ba80ab714bab57063ea547417', class: "spw-lightbox__show-gallery" }, this.showGalleryTrigger === 'link' ? (h("spw-link", { icon: "fa-images", "icon-position": "left", role: "button", tabindex: "0", onClick: () => this.open(0), onKeyDown: (e) => {
261
+ if (e.key === 'Enter' || e.key === ' ') {
262
+ e.preventDefault();
263
+ this.open(0);
264
+ }
265
+ } }, this.showGalleryText)) : (h("spw-button", { icon: "fa-images", "icon-position": "left", onClick: () => this.open(0) }, this.showGalleryText))))), h("div", { key: '02ded76f5a4d76b97a58e0d0ea28af6b7b86da8e', ref: el => (this.lightboxContainer = el), class: { 'spw-lightbox': true, 'spw-lightbox--opened': opened }, role: "dialog", "aria-modal": "true", "aria-label": this.textDialogLabel }, h("div", { key: '7a069e3f6d64040b1b9afd5fa34e72c650d4f172', class: "spw-lightbox__backdrop", onClick: () => this.handleBackdropClick(), "aria-hidden": "true" }), h("div", { key: '97a0c94f9d1dfb48d4aefb0dd49d42903802868e', class: "spw-lightbox__container" }, h("div", { key: '3db76875855c17689f52f178f76263b2eff0569f', class: "spw-lightbox__toolbar" }, h("span", { key: '0d1e5d864a2f4c233ebf5b901d73cf4ecb0b4778', class: "spw-lightbox__counter", "aria-live": "polite" }, items.length > 0 ? `${activeIndex + 1} / ${items.length}` : ''), h("div", { key: '5e986567fe2559201310eb63d2ac1f3785a64fe6', ref: el => (this.closeButtonEl = el), class: "spw-lightbox__close", tabIndex: 0, role: "button", onClick: () => this.doClose(), onKeyDown: (e) => {
225
266
  if (e.key === 'Enter' || e.key === ' ')
226
267
  this.doClose();
227
- } }, h("spw-link", { key: 'd8937cce322ec4d84ec8e88924ffbd136dc924a6', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText))), h("div", { key: '26747c32ac89bdfd6b188fc167eb1f397fe95280', class: "spw-lightbox__stage" }, items.length > 1 && (h("spw-button", { key: '5c8e10020b57c3776aa7f942043d5fc1ea5f2bd1', class: "spw-lightbox__nav spw-lightbox__nav--prev", "is-icon-only": true, icon: "fa-chevron-left", "acc-aria-label": this.textPrevious, variant: "secondary", onClick: () => this.navigate(-1) })), h("div", { key: 'da9ea4b7f334926db23cd3de93b18a56fd3fb017', class: "spw-lightbox__image-wrapper", ref: el => (this.imageWrapperEl = el) }, activeItem && (h("div", { key: 'c832cd6fddbc2a11fe8060de84f214b7adab99d5', class: "spw-lightbox__image-frame" }, h("img", { class: "spw-lightbox__image", src: activeItem.src, alt: activeItem.alt || '', key: activeItem.src }), ((activeItem === null || activeItem === void 0 ? void 0 : activeItem.captionTitle) || (activeItem === null || activeItem === void 0 ? void 0 : activeItem.captionText) || (activeItem === null || activeItem === void 0 ? void 0 : activeItem.copyrightText)) && (h("div", { key: 'ee412ad77d1d836d8ca54376eee9a2439d1c51e5', class: "spw-lightbox__caption", "aria-live": "polite" }, h("div", { key: '5812b0870433c6a6f2617462768d0bcaeffde9b3', class: "spw-lightbox__caption-content" }, activeItem.captionTitle && h("strong", { key: 'a3e92448604833dc526f296b1f1c980d8ea2fcbf', class: "spw-lightbox__caption-title" }, activeItem.captionTitle), activeItem.captionText && h("span", { key: '41c00fc3046f26ec7017e54bc9f624036037175e', class: "spw-lightbox__caption-text" }, activeItem.captionText)), activeItem.copyrightText && (h("spw-tag", { key: '67613579f76c9ebf0c8802b4396a31cbd957ae53', size: "small", "icon-variant": activeItem.copyrightIconVariant, class: "spw-lightbox__copyright", icon: activeItem.copyrightIcon, href: activeItem.copyrightHref || undefined, target: activeItem.copyrightHref ? activeItem.copyrightTarget : undefined }, activeItem.copyrightText))))))), items.length > 1 && (h("spw-button", { key: '802268b587f4d21ac94a3295897860ae5437721e', class: "spw-lightbox__nav spw-lightbox__nav--next", "is-icon-only": true, icon: "fa-chevron-right", "acc-aria-label": this.textNext, variant: "secondary", onClick: () => this.navigate(1) }))), this.showThumbnails && items.length > 1 && (h("div", { key: '9139619acc0e1e9138269cdd4e58565de9927248', class: "spw-lightbox__thumbnails", role: "tablist", "aria-label": this.textThumbnailsLabel, ref: el => (this.thumbnailsEl = el) }, items.map((item, index) => (h("button", { key: item.src, role: "tab", class: { 'spw-lightbox__thumb': true, 'spw-lightbox__thumb--active': index === activeIndex }, onClick: () => (this.activeIndex = index), "aria-selected": String(index === activeIndex), "aria-label": item.alt || this.textThumbnailItem.replace('{index}', String(index + 1)) }, h("img", { src: item.src, alt: item.alt || '', loading: "lazy" }))))))))));
268
+ } }, h("spw-link", { key: 'dfb799961776ec8569a5c4836b2f5690e74e4811', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText))), h("div", { key: '18e2526c16f7651228d1a0a46e22f5927314c5fc', class: "spw-lightbox__stage" }, items.length > 1 && (h("spw-button", { key: '3d6096dba914c42c5d42366526a24d82e9e51bc1', class: "spw-lightbox__nav spw-lightbox__nav--prev", "is-icon-only": true, icon: "fa-chevron-left", "acc-aria-label": this.textPrevious, variant: "secondary", onClick: () => this.navigate(-1) })), h("div", { key: '2880a266401eebc0e0d611923889e0d3f8107272', class: "spw-lightbox__image-wrapper", ref: el => (this.imageWrapperEl = el) }, activeItem && (h("div", { key: 'ac5a3f27bf60147409af5e014ac523aecc86c761', class: "spw-lightbox__image-frame" }, h("img", { class: "spw-lightbox__image", src: activeItem.src, alt: activeItem.alt || '', key: activeItem.src }), ((activeItem === null || activeItem === void 0 ? void 0 : activeItem.captionTitle) || (activeItem === null || activeItem === void 0 ? void 0 : activeItem.captionText) || (activeItem === null || activeItem === void 0 ? void 0 : activeItem.copyrightText)) && (h("div", { key: '192b0229b206dcd2b78a084afdd19ce0debdaed0', class: "spw-lightbox__caption", "aria-live": "polite" }, h("div", { key: '28419fdd76e3583fbca7abf8ee10468d1b4ace50', class: "spw-lightbox__caption-content" }, activeItem.captionTitle && h("strong", { key: 'ca1853b7ab2a49c8484897a6a1632dedd7b475e2', class: "spw-lightbox__caption-title" }, activeItem.captionTitle), activeItem.captionText && h("span", { key: 'fd7a4366841c9335ae25205a329d3dba17fa630a', class: "spw-lightbox__caption-text" }, activeItem.captionText)), activeItem.copyrightText && (h("spw-tag", { key: '3643d0c570f1f813fcb205b4cf20fa4a4722813e', size: "small", "icon-variant": activeItem.copyrightIconVariant, class: "spw-lightbox__copyright", icon: activeItem.copyrightIcon, href: activeItem.copyrightHref || undefined, target: activeItem.copyrightHref ? activeItem.copyrightTarget : undefined }, activeItem.copyrightText))))))), items.length > 1 && (h("spw-button", { key: '99985efab292f4ccf1400b60ba4694b35449f829', class: "spw-lightbox__nav spw-lightbox__nav--next", "is-icon-only": true, icon: "fa-chevron-right", "acc-aria-label": this.textNext, variant: "secondary", onClick: () => this.navigate(1) }))), this.showThumbnails && items.length > 1 && (h("div", { key: 'b7f0aac537c525e08a72e23e4c4b011cb1620880', class: "spw-lightbox__thumbnails", role: "tablist", "aria-label": this.textThumbnailsLabel, ref: el => (this.thumbnailsEl = el) }, items.map((item, index) => (h("button", { key: item.src, role: "tab", class: { 'spw-lightbox__thumb': true, 'spw-lightbox__thumb--active': index === activeIndex }, onClick: () => (this.activeIndex = index), "aria-selected": String(index === activeIndex), "aria-label": item.alt || 'Image ' + (index + 1) }, h("img", { src: item.src, alt: item.alt || '', loading: "lazy" }))))))))));
228
269
  }
229
270
  static get is() { return "spw-lightbox"; }
230
271
  static get encapsulation() { return "shadow"; }
@@ -319,7 +360,47 @@ export class SpwLightbox {
319
360
  "attribute": "show-thumbnails",
320
361
  "defaultValue": "true"
321
362
  },
322
- "textDialogLabel": {
363
+ "limitOnMobile": {
364
+ "type": "boolean",
365
+ "mutable": false,
366
+ "complexType": {
367
+ "original": "boolean",
368
+ "resolved": "boolean",
369
+ "references": {}
370
+ },
371
+ "required": false,
372
+ "optional": false,
373
+ "docs": {
374
+ "tags": [],
375
+ "text": "Sous 1024px, limite le nombre de vignettes visibles et affiche un bouton d'ouverture"
376
+ },
377
+ "getter": false,
378
+ "setter": false,
379
+ "reflect": false,
380
+ "attribute": "limit-on-mobile",
381
+ "defaultValue": "true"
382
+ },
383
+ "mobileLimit": {
384
+ "type": "number",
385
+ "mutable": false,
386
+ "complexType": {
387
+ "original": "number",
388
+ "resolved": "number",
389
+ "references": {}
390
+ },
391
+ "required": false,
392
+ "optional": false,
393
+ "docs": {
394
+ "tags": [],
395
+ "text": "Nombre de vignettes visibles sous 1024px quand limitOnMobile est actif"
396
+ },
397
+ "getter": false,
398
+ "setter": false,
399
+ "reflect": false,
400
+ "attribute": "mobile-limit",
401
+ "defaultValue": "3"
402
+ },
403
+ "showGalleryText": {
323
404
  "type": "string",
324
405
  "mutable": false,
325
406
  "complexType": {
@@ -331,15 +412,35 @@ export class SpwLightbox {
331
412
  "optional": false,
332
413
  "docs": {
333
414
  "tags": [],
334
- "text": "Label aria de la dialog"
415
+ "text": "Texte du bouton d'ouverture affich\u00E9 sous 1024px"
335
416
  },
336
417
  "getter": false,
337
418
  "setter": false,
338
419
  "reflect": false,
339
- "attribute": "text-dialog-label",
340
- "defaultValue": "\"Galerie d'images\""
420
+ "attribute": "show-gallery-text",
421
+ "defaultValue": "'Afficher la galerie'"
341
422
  },
342
- "textPrevious": {
423
+ "showGalleryTrigger": {
424
+ "type": "string",
425
+ "mutable": false,
426
+ "complexType": {
427
+ "original": "'button' | 'link'",
428
+ "resolved": "\"button\" | \"link\"",
429
+ "references": {}
430
+ },
431
+ "required": false,
432
+ "optional": false,
433
+ "docs": {
434
+ "tags": [],
435
+ "text": "Type de d\u00E9clencheur d'ouverture affich\u00E9 sous 1024px : bouton (d\u00E9faut) ou lien"
436
+ },
437
+ "getter": false,
438
+ "setter": false,
439
+ "reflect": false,
440
+ "attribute": "show-gallery-trigger",
441
+ "defaultValue": "'button'"
442
+ },
443
+ "textDialogLabel": {
343
444
  "type": "string",
344
445
  "mutable": false,
345
446
  "complexType": {
@@ -351,15 +452,15 @@ export class SpwLightbox {
351
452
  "optional": false,
352
453
  "docs": {
353
454
  "tags": [],
354
- "text": "Label aria du bouton image pr\u00E9c\u00E9dente"
455
+ "text": "Label aria de la dialog"
355
456
  },
356
457
  "getter": false,
357
458
  "setter": false,
358
459
  "reflect": false,
359
- "attribute": "text-previous",
360
- "defaultValue": "'Image pr\u00E9c\u00E9dente'"
460
+ "attribute": "text-dialog-label",
461
+ "defaultValue": "\"Galerie d'images\""
361
462
  },
362
- "textNext": {
463
+ "textPrevious": {
363
464
  "type": "string",
364
465
  "mutable": false,
365
466
  "complexType": {
@@ -371,15 +472,15 @@ export class SpwLightbox {
371
472
  "optional": false,
372
473
  "docs": {
373
474
  "tags": [],
374
- "text": "Label aria du bouton image suivante"
475
+ "text": "Label aria du bouton image pr\u00E9c\u00E9dente"
375
476
  },
376
477
  "getter": false,
377
478
  "setter": false,
378
479
  "reflect": false,
379
- "attribute": "text-next",
380
- "defaultValue": "'Image suivante'"
480
+ "attribute": "text-previous",
481
+ "defaultValue": "'Image pr\u00E9c\u00E9dente'"
381
482
  },
382
- "textThumbnailsLabel": {
483
+ "textNext": {
383
484
  "type": "string",
384
485
  "mutable": false,
385
486
  "complexType": {
@@ -391,15 +492,15 @@ export class SpwLightbox {
391
492
  "optional": false,
392
493
  "docs": {
393
494
  "tags": [],
394
- "text": "Label aria de la liste de miniatures"
495
+ "text": "Label aria du bouton image suivante"
395
496
  },
396
497
  "getter": false,
397
498
  "setter": false,
398
499
  "reflect": false,
399
- "attribute": "text-thumbnails-label",
400
- "defaultValue": "'Miniatures'"
500
+ "attribute": "text-next",
501
+ "defaultValue": "'Image suivante'"
401
502
  },
402
- "textThumbnailItem": {
503
+ "textThumbnailsLabel": {
403
504
  "type": "string",
404
505
  "mutable": false,
405
506
  "complexType": {
@@ -411,13 +512,13 @@ export class SpwLightbox {
411
512
  "optional": false,
412
513
  "docs": {
413
514
  "tags": [],
414
- "text": "Label aria d'une miniature (utiliser {index} comme placeholder)"
515
+ "text": "Label aria de la liste de miniatures"
415
516
  },
416
517
  "getter": false,
417
518
  "setter": false,
418
519
  "reflect": false,
419
- "attribute": "text-thumbnail-item",
420
- "defaultValue": "'Image {index}'"
520
+ "attribute": "text-thumbnails-label",
521
+ "defaultValue": "'Miniatures'"
421
522
  }
422
523
  };
423
524
  }
@@ -425,7 +526,8 @@ export class SpwLightbox {
425
526
  return {
426
527
  "opened": {},
427
528
  "activeIndex": {},
428
- "items": {}
529
+ "items": {},
530
+ "hasMobileOverflow": {}
429
531
  };
430
532
  }
431
533
  static get events() {
@@ -506,6 +608,12 @@ export class SpwLightbox {
506
608
  static get elementRef() { return "hostElement"; }
507
609
  static get watchers() {
508
610
  return [{
611
+ "propName": "limitOnMobile",
612
+ "methodName": "onLimitPropsChange"
613
+ }, {
614
+ "propName": "mobileLimit",
615
+ "methodName": "onLimitPropsChange"
616
+ }, {
509
617
  "propName": "opened",
510
618
  "methodName": "onOpenedChange"
511
619
  }, {
@@ -523,3 +631,4 @@ export class SpwLightbox {
523
631
  }];
524
632
  }
525
633
  }
634
+ SpwLightbox.overflowStylesInjected = false;
@@ -434,6 +434,19 @@ template {
434
434
  color: var(--spw-ds-white);
435
435
  opacity: 0.5;
436
436
  }
437
+ .spw-link--surface-light {
438
+ color: var(--spw-color-themes-grey-grey-900);
439
+ }
440
+ .spw-link--surface-light:hover {
441
+ color: var(--spw-color-themes-grey-grey-900);
442
+ }
443
+ .spw-link--surface-light:active {
444
+ color: var(--spw-color-themes-grey-grey-900);
445
+ }
446
+ .spw-link--surface-light[aria-disabled=true] {
447
+ color: var(--spw-color-themes-grey-grey-900);
448
+ opacity: 0.5;
449
+ }
437
450
  .spw-link--has-icon-right spw-icon {
438
451
  margin-left: var(--spw-link-padding);
439
452
  margin-right: var(--spw-link-margin);
@@ -8,7 +8,7 @@ export class SpwLink {
8
8
  /** Si désactivé, le lien n'est pas cliquable */
9
9
  this.disabled = false;
10
10
  /** Permet de choisir la surface d'arrière-plan du lien */
11
- this.surface = 'light';
11
+ this.surface = 'default';
12
12
  this.onClick = (ev) => {
13
13
  if (this.disabled) {
14
14
  ev.preventDefault();
@@ -34,7 +34,7 @@ export class SpwLink {
34
34
  };
35
35
  const iconClass = `spw-icon--${iconPosition}`;
36
36
  const iconElement = icon ? h("spw-icon", { class: iconClass, icon: icon }) : null;
37
- return (h("a", Object.assign({ key: 'd5be41769ed88158d44c0ee98d83fab4317be6a5', href: disabled ? undefined : href, rel: rel, download: download, target: target, class: this.elementClass, onClick: this.onClick }, ariaAttributes), iconPosition === 'left' && iconElement, h("div", { key: '47d3624ade93495ed465f0e38a9b977daa9f5f54', class: "spw-link__inner" }, h("slot", { key: '4be6098d68c2af585383b36fa8eeb3103b00dcb4' })), iconPosition === 'right' && iconElement));
37
+ return (h("a", Object.assign({ key: 'f92ef49479e2afbfed7b98937a5f19d08746015a', href: disabled ? undefined : href, rel: rel, download: download, target: target, class: this.elementClass, onClick: this.onClick }, ariaAttributes), iconPosition === 'left' && iconElement, h("div", { key: '7f08833f185f348e2402ecf362bcdcfe6ec7ef25', class: "spw-link__inner" }, h("slot", { key: '515176325cfc6aa223f7037231d76a90c5d11fda' })), iconPosition === 'right' && iconElement));
38
38
  }
39
39
  static get is() { return "spw-link"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -209,8 +209,8 @@ export class SpwLink {
209
209
  "type": "string",
210
210
  "mutable": false,
211
211
  "complexType": {
212
- "original": "'light' | 'dark'",
213
- "resolved": "\"dark\" | \"light\"",
212
+ "original": "'default' | 'light' | 'dark'",
213
+ "resolved": "\"dark\" | \"default\" | \"light\"",
214
214
  "references": {}
215
215
  },
216
216
  "required": false,
@@ -223,7 +223,7 @@ export class SpwLink {
223
223
  "setter": false,
224
224
  "reflect": false,
225
225
  "attribute": "surface",
226
- "defaultValue": "'light'"
226
+ "defaultValue": "'default'"
227
227
  }
228
228
  };
229
229
  }
@@ -9,7 +9,7 @@ export class SpwListDescription {
9
9
  };
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '6e93cd2d20262971b35242a0a9f409b214d07fda' }, h("div", { key: '7e5bc2a9d0551d5eaa93951e4eb122c6872a5b8b', class: this.elementClass }, h("slot", { key: '9f021a6d52dca8341446e8e91b39363a2b49284c' }))));
12
+ return (h(Host, { key: '82cc428d16223c26a6d66765219b917ee7b78318' }, h("div", { key: '8b66fd5bb14cd22498f9c4d7977f7ff714f96411', class: this.elementClass }, h("slot", { key: '15f4c88c6f3aae348df630d0f8ae174607b9ba83' }))));
13
13
  }
14
14
  static get is() { return "spw-list-description"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -362,11 +362,12 @@ template {
362
362
 
363
363
  :host {
364
364
  display: contents;
365
+ color: var(--spw-color-themes-grey-grey-900);
365
366
  }
366
367
 
367
368
  .spw-list-item {
368
369
  position: relative;
369
- color: var(--spw-color-themes-grey-grey-900);
370
+ color: inherit;
370
371
  transition: all 0.3s ease-in-out;
371
372
  text-decoration: none;
372
373
  }
@@ -379,6 +380,15 @@ template {
379
380
  .spw-list-item--icon {
380
381
  padding-left: 28px;
381
382
  }
383
+ .spw-list-item__icon {
384
+ position: absolute;
385
+ top: 0;
386
+ left: 0;
387
+ display: flex;
388
+ align-items: center;
389
+ height: 1lh;
390
+ color: inherit;
391
+ }
382
392
  .spw-list-item__category {
383
393
  display: inline-block;
384
394
  position: relative;
@@ -106,7 +106,7 @@ export class SpwListItem {
106
106
  href,
107
107
  target,
108
108
  };
109
- return (h(Host, { key: '0ee1d5414fb44485398889450f17f925f86ea600' }, h("li", { key: 'a8029a27abaf8b542e75f20c1e497d99b30aef1e', role: "listitem", class: this.elementClass }, this.category && (h("span", { key: '32f0f4f0f3f5be0b1987f3a4d5f7fa906b57f0c5', class: this.elementCatClass, onClick: () => this.handleClick() }, this.categoryIcon && h("spw-icon", { key: 'bfa39e160ee28ff2843009ff31dab426fb6f1e7b', icon: this.categoryIcon }), " ", this.category)), h(TagType, Object.assign({ key: '3b49e671cf1b49f6c38f4ad826a5f7a5d8deca9b' }, attrs), h("slot", { key: '91f451f876f65ac22a81a82eda4fd2436117d2ac' })), h("slot", { key: 'ef6db2666d3c33281e019b0bab1bedfc32813d3b', name: "buttons" }))));
109
+ return (h(Host, { key: '385f931f7fd23a8f352c8c32c444a8610afc2b38' }, h("li", { key: '303c1084ffbc19a8e60180a2eac56401432ed93a', role: "listitem", class: this.elementClass }, this.icon && this.el.hasAttribute('icon') && !this.el.querySelector('spw-list-title') && h("spw-icon", { key: 'cb7848a123ac199fec2437c0fe9f5a5ee3873fad', class: "spw-list-item__icon", icon: this.icon }), this.category && (h("span", { key: '46175b36a80a1cd31e313ce64d8c8f27720cb6d1', class: this.elementCatClass, onClick: () => this.handleClick() }, this.categoryIcon && h("spw-icon", { key: '0c2c9df3d90225df5a02d959351d97c44f7ab849', icon: this.categoryIcon }), " ", this.category)), h(TagType, Object.assign({ key: '73820043fd22800f411857bd938a31204ac7aced' }, attrs), h("slot", { key: '4fb7776f8cde72ee26c4e844621e976ad8a34177' })), h("slot", { key: 'cdd1536696cd5bec6dfd2623d9a411b5a36da837', name: "buttons" }))));
110
110
  }
111
111
  static get is() { return "spw-list-item"; }
112
112
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class SpwListTitle {
10
10
  };
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '3e3372c3c1f9f1a217f14544f13e3e18eea3d6a6' }, h("div", { key: 'ddc8b1d97e127ca04eabb8f9bdf4f8a1279f12d0', class: this.elementClass }, this.icon && h("spw-icon", { key: '20df277083366109edfd8c0ad8d4e70a56e1153b', icon: this.icon }), h("div", { key: '05e7408ca855a128494cbe9f428c6352c51bb05c', class: "spw-list-title__content" }, h("div", { key: '02922d36ae3181e536ce1debbd6ee7d944047717', class: "spw-list-title__content-text" }, h("slot", { key: 'e80e22e5254f59d76aa95c46217e952e0d919e05' }))))));
13
+ return (h(Host, { key: 'f3ef765bf957b79183c387598b8454d42908eb36' }, h("div", { key: '3ee64eea38a3cbea6a243c78609abe8f32812dfe', class: this.elementClass }, this.icon && h("spw-icon", { key: '67bd0d6167017006d5db5e543b186db87b840bbe', icon: this.icon }), h("div", { key: 'd1bdb899df43933bf86824adeb0a7af5a08938ba', class: "spw-list-title__content" }, h("div", { key: '2c13acd0bb5a75ec7e706efc0fc0a47265d91e10', class: "spw-list-title__content-text" }, h("slot", { key: 'c6f6907eea19c41887912b950450a95be29e128e' }))))));
14
14
  }
15
15
  static get is() { return "spw-list-title"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class SpwList {
29
29
  };
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: 'cbbc8658f28d972321e1e1c5438f2b5634f93cd7' }, h("ul", { key: '678b947dbb862e419285aa570eeda45c1bdd1966', role: "list", class: this.elementClass }, h("slot", { key: '32e2fa8c8c476c934b258c2f4835b03f5277cace' }))));
32
+ return (h(Host, { key: '7638cbf0ee2ff02b62c0cad996bc6cc844786f9a' }, h("ul", { key: '91f6eb7f74bd438acf9610a31f8500e63e8ce9c6', role: "list", class: this.elementClass }, h("slot", { key: 'c4fe0623956394514b9abd7091f876725ad47e86' }))));
33
33
  }
34
34
  static get is() { return "spw-list"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class SpwLoading {
19
19
  };
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: 'c85777807f3c2395e10d245cfdea46f7e9f5007b' }, h("div", { key: 'b8f579b3ea814f7906051e9cd33c31ec80eead32', class: this.loadingClasses }, h("div", { key: 'be383b68c18cb591f896e43c566058fc57ec8d74', class: "spw-loading__spinner" }), this.text && h("p", { key: '3614167062d2d0da1ec03be2fd595a61900a5ecb', class: "spw-loading__text" }, this.text))));
22
+ return (h(Host, { key: '76cf34de4fcf09b6fb52453822e34a6e26d6d070' }, h("div", { key: '2ce941734d29fc333e15b1a4fee1bf535a3aed4a', class: this.loadingClasses }, h("div", { key: '6fa9fef281da025e26864903e4867f96e507fe0b', class: "spw-loading__spinner" }), this.text && h("p", { key: '4cee47a4936be359ffbe432d1addcb953ae1c5b4', class: "spw-loading__text" }, this.text))));
23
23
  }
24
24
  static get is() { return "spw-loading"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -172,13 +172,13 @@ export class SpwModal {
172
172
  };
173
173
  }
174
174
  render() {
175
- return (h(Host, { key: 'fe142f53124c6321a5957ac6a3bbef10cc1101bf' }, h("div", { key: '3362a6c6fe8a83199b89944be269287b426a444f', ref: el => (this.modalContainer = el), class: this.elementClass }, h("div", { key: '2ebc574019a11596fa4523494e4d6021e9dad6d3', class: "spw-modal__overlay", onClick: () => this.handleOverlayClick() }), h("div", { key: '0c139e5ed0d0b8fb5204e6a53142bfd7d3c1f3b8', class: `spw-modal__content-container spw-modal__content-container--${this.size}`, role: "dialog", "aria-modal": "true", "aria-label": this.caption }, h("div", { key: '85e28a5a614a75e273430fb575a20408b1686d1c', class: "spw-modal__content", ref: el => (this.modalContent = el), onScroll: this.handleContentScroll }, h("div", { key: '215bc908c4395b4921c69144678833b1c97d8dea', class: "spw-modal__header" }, h("div", { key: '14a87714b92eecd24de61f5068c5a757303288a5', class: "spw-modal__title-container" }, this.alertIcon && h("spw-icon", { key: '75be1ff83b5b7ddcea9139e656be892a83797f85', class: "spw-modal__alert-icon", icon: this.alertIcon }), h("h2", { key: '7f9e3383b4b771bc2d5e5398f03bbf71deae7c4f', class: "spw-modal__caption" }, this.caption)), this.showCloseButton && (h("div", { key: '3199af8af2b5db1a3887ae99836a839bf2058031', class: {
175
+ return (h(Host, { key: 'bd4e9c04cab8653097ef97673d8f49ab140dc5b3' }, h("div", { key: '8b1ba84f62fdd79b612469ce78fd0e906b90c176', ref: el => (this.modalContainer = el), class: this.elementClass }, h("div", { key: 'c6dccc2e6570d0f90d37c4600dedd472d5f1b562', class: "spw-modal__overlay", onClick: () => this.handleOverlayClick() }), h("div", { key: 'f34b4c137ac80b0f38c2098b73b9654776e1a4b8', class: `spw-modal__content-container spw-modal__content-container--${this.size}`, role: "dialog", "aria-modal": "true", "aria-label": this.caption }, h("div", { key: '1659d22b2619a68b3e9d7dad8c7095def8daf19e', class: "spw-modal__content", ref: el => (this.modalContent = el), onScroll: this.handleContentScroll }, h("div", { key: 'e09893f9b8f44d0f68c18fbd8be0e18119d3eee1', class: "spw-modal__header" }, h("div", { key: '8981dbdb894c101e203bc22c2a416e5a48282f86', class: "spw-modal__title-container" }, this.alertIcon && h("spw-icon", { key: 'e5cff7df714f3f869eb1015ea36aab3fefe47156', class: "spw-modal__alert-icon", icon: this.alertIcon }), h("h2", { key: '06268e7c2fce950b1931254a5ed91347f75b6631', class: "spw-modal__caption" }, this.caption)), this.showCloseButton && (h("div", { key: '6cfdb4469167b6935efd7485aec8f2b233feb9d9', class: {
176
176
  'spw-modal__close-button': true,
177
177
  'spw-modal__close-button--sticky': this.isCloseButtonSticky,
178
- }, ref: el => (this.closeButton = el), onClick: () => this.doBeforeClose('CLOSE_BUTTON') }, h("spw-link", { key: 'afbf438621ce63ec9846b6b39819168b48bd964e', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText)))), h("div", { key: 'b584d2a83d9762b9336ad12a1a526e2d5ffffaa0', class: "spw-modal__body" }, h("slot", { key: 'c3354c0526626b4634d4bd2a1c76dc2d097db9eb', name: "content" })), h("div", { key: '061c5a7b42b3128ba966c49c22fd2282ebeea18e', class: { 'spw-modal__buttons': true, 'spw-modal__footer--buttons-present': this.slotButtonsPresent } }, h("slot", { key: '88aac2829847cf2cfb5ebfe02cb81816168ad8d2', name: "buttons", onSlotchange: (e) => {
178
+ }, ref: el => (this.closeButton = el), onClick: () => this.doBeforeClose('CLOSE_BUTTON') }, h("spw-link", { key: '6bfe34c67838503f5a71b442df52a559ee44ca47', "icon-position": "right", icon: "fa-xmark" }, this.closeButtonText)))), h("div", { key: '328c29868ebf538b1a6a58c051337f931ef2d29a', class: "spw-modal__body" }, h("slot", { key: '129a87bf3cc1382a5b8f53861dee4f8027486dfd', name: "content" })), h("div", { key: '523facf0e734e25d5db4c13e9bc1b31721ddfe4b', class: { 'spw-modal__buttons': true, 'spw-modal__footer--buttons-present': this.slotButtonsPresent } }, h("slot", { key: '28eacf80be5cbdc6da0de18e6b55b10e368c57a3', name: "buttons", onSlotchange: (e) => {
179
179
  const slot = e.target;
180
180
  this.slotButtonsPresent = slot.assignedNodes({ flatten: true }).length > 0;
181
- } })))), h("div", { key: '962913f4e74dfacff2c32bbfe9034ec159a82d65', "data-focus-trap-edge": true, onFocus: this.handleBottomFocus, tabindex: "0" }))));
181
+ } })))), h("div", { key: 'bd56f5598bcfa3c3995ebdf7dec6a2426cf6e4ed', "data-focus-trap-edge": true, onFocus: this.handleBottomFocus, tabindex: "0" }))));
182
182
  }
183
183
  static get is() { return "spw-modal"; }
184
184
  static get encapsulation() { return "shadow"; }
@@ -45,7 +45,7 @@ export class SpwMosaicItem {
45
45
  }
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: '4ce401eb99d39dba612b00dfac2fe82a8dc9fdb1' }, h("slot", { key: '27104be717fd540abd49ec147cddec67ef5f67b0' })));
48
+ return (h(Host, { key: 'f70536eb02cd74dc63e6fd57c8514c421eb24e54' }, h("slot", { key: '3ad328b69e8d2080e31af75600e533cc25da19c8' })));
49
49
  }
50
50
  static get is() { return "spw-mosaic-item"; }
51
51
  static get encapsulation() { return "shadow"; }
@@ -162,7 +162,7 @@ export class SpwMosaic {
162
162
  };
163
163
  }
164
164
  render() {
165
- return (h(Host, { key: '6d61d691c842acdf82aa9a0afe8c95d681c4d998' }, h("div", { key: '3b16252b34dcf76bdfa9180150810bb50f38eaa0', class: this.elementClass }, h("slot", { key: 'f33d6215cc269e3790961fdb83a44b3fc128da4a' }))));
165
+ return (h(Host, { key: '2f089897601479ee6a6de26c457460a08d0ba884' }, h("div", { key: '32c337b7772c450732445c47dc37331ba7ef697d', class: this.elementClass }, h("slot", { key: '8cc1dc94be28dd59ee942676800e827754d5c0dc' }))));
166
166
  }
167
167
  static get is() { return "spw-mosaic"; }
168
168
  static get encapsulation() { return "shadow"; }
@@ -167,12 +167,12 @@ export class SpwPagination {
167
167
  const pages = this.calculatePageRange();
168
168
  const showPrevArrow = this.currentPage > 1;
169
169
  const showNextArrow = this.currentPage < this.totalPages;
170
- const prevArrow = showPrevArrow && (h("li", { key: '7116f25ede7abfa5e5af835e2a5f4939b3e75756', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: '8a7d326a460272cd65064af1c730499b5332cae9', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: '921c0ccff2df735e704399b44d6fd83eeb63fd08', icon: "fa-chevron-left" }), " ", h("span", { key: 'b3dd87a5b530b4fa29714727803944e93d9b8860', class: "spw-pagination__item-arrow-text" }, this.previousButtonText))));
171
- const nextArrow = showNextArrow && (h("li", { key: '7a75ac9361c878b6e21c0ac53e17dc48888cc04f', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: 'e374d655594527cb43206b135737af4af1a98e5b', onClick: () => this.goToPage(this.currentPage + 1) }, h("span", { key: 'b4daa21a89247f09a8d83a1895e9b67b803f23d0', class: "spw-pagination__item-arrow-text" }, this.nextButtonText), " ", h("spw-icon", { key: '87b6218e03bd55a59ad09683b900931a203b28f1', icon: "fa-chevron-right" }))));
172
- const prevArrowMobile = this.currentPage > 1 && (h("li", { key: '3cc85284dc162f18362b628c830658ca6a9bbfba', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: '70880571f952df099ab1d3706a8418d81f091588', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: 'e0537399d4b1faac904d1ee5a57bb6ad71aed6af', icon: "fa-chevron-left" }), " ", h("span", { key: '2c71838b3852f357bcec153d08a5f4568bd4f183' }, this.previousButtonText))));
173
- const nextArrowMobile = this.currentPage < this.totalPages && (h("li", { key: 'ea098b08b9b8200d31c95a5cf996b76cd18247bd', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: '3e765d9e601745a806df587a3f2bb5fa8238ff12', onClick: () => this.goToPage(this.currentPage + 1), disabled: this.currentPage >= this.totalPages }, h("span", { key: '76a732549979b16c6c108ee5919c20ffdf38abbe' }, this.nextButtonText), " ", h("spw-icon", { key: 'a0cdcc734f900448a469b8e1a873cf8f598571f6', icon: "fa-chevron-right" }))));
174
- const mobileArrows = (h("ul", { key: '58006c95276db1718d0b61acfc819e4bd3af8b4f', class: "spw-pagination__mobile-arrows" }, prevArrowMobile, nextArrowMobile));
175
- return (h(Host, { key: 'a1fd096c2eaedbc176d125327a8b52366ccc0e7f' }, h("div", { key: '3dea745d48b9b8102c97d2631130f68472bdb779', class: this.getPaginationClass() }, this.variant === 'input' && (h(Fragment, { key: 'c2038113bd7a8413ec9c7ae9bb977b28a311703a' }, h("ul", { key: '956db5eabd5114d9c64cafc55968502dcfc616f7' }, prevArrow, h("li", { key: 'dd091db64f4dc572f0586fb80f6b3cfc7f95cae0', class: "spw-pagination__input" }, h("spw-text-field", { key: 'c2666ab40762378a5a5b64de1eae6aa24ea18a64', value: this.inputPageValue, type: "text", name: "pagination-input", onInput: event => this.handleInputChange(event), onKeyDown: event => this.handleKeyDown(event), disabled: this.isDisabled })), h("li", { key: '1784c6a041d1e6c6f6bc18573c1211f1d7236f21', class: "spw-pagination__total-pages" }, "sur ", this.totalPages, " ", this.totalPages === 1 ? 'page' : 'pages'), nextArrow), mobileArrows)), this.variant === 'numbers' && (h(Fragment, { key: '830bc71b0a0da453a3ad8fe71b79e39b7e12c1b3' }, h("ul", { key: 'ed343763fb171e6d35fbbf520013a94cfea25346' }, prevArrow, pages.map(({ page, class: pageClass }) => {
170
+ const prevArrow = showPrevArrow && (h("li", { key: 'b84213529792e41d6fdc14af67801d8c709f0f69', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: 'fdda9c8eed1553ad552b40158d03081d9401069b', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: '1012c813c379d97f91c859cfd950fa30ea346af2', icon: "fa-chevron-left" }), " ", h("span", { key: '05cc676da38ee9f4cbc9cd97a4ed120af552b342', class: "spw-pagination__item-arrow-text" }, this.previousButtonText))));
171
+ const nextArrow = showNextArrow && (h("li", { key: 'cc16631f997ed1eab3d2beefbde88fd49204f195', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: '5a6a4e13922c00e9d91eeb08c9ad2b317e1825ca', onClick: () => this.goToPage(this.currentPage + 1) }, h("span", { key: '7e8329d128eed2fe03412701f8179295f1b2aebb', class: "spw-pagination__item-arrow-text" }, this.nextButtonText), " ", h("spw-icon", { key: '8cd4037965d980da28c0577d65fee206072a627b', icon: "fa-chevron-right" }))));
172
+ const prevArrowMobile = this.currentPage > 1 && (h("li", { key: 'dc0832c032680e0a1419b1499dff06c63b92dd60', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: '3e2917ccc49bc161c4a5d8096832a6a0d0c1bd9a', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: '49245cf34526ac9706b3f731ffc737adc3643a91', icon: "fa-chevron-left" }), " ", h("span", { key: '769a740d3e05213996f76e09ac74a41e4fd0ef69' }, this.previousButtonText))));
173
+ const nextArrowMobile = this.currentPage < this.totalPages && (h("li", { key: '6e236299858eca24a1074831f5c73aa5ca7321d1', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: 'e577fb3c98e80f45e92a83f2bf20c9fb7798f648', onClick: () => this.goToPage(this.currentPage + 1), disabled: this.currentPage >= this.totalPages }, h("span", { key: 'a9a0ef10e81024d08cf894d38978ae8048ffeb1e' }, this.nextButtonText), " ", h("spw-icon", { key: '3674d79412476f03ce1745a278dc7e3f0b03578e', icon: "fa-chevron-right" }))));
174
+ const mobileArrows = (h("ul", { key: '1920cff0102f87b927ebd315fb374c716a635e9e', class: "spw-pagination__mobile-arrows" }, prevArrowMobile, nextArrowMobile));
175
+ return (h(Host, { key: 'a362b963708afb6a7d1b3d91d6fcffb55edec974' }, h("div", { key: 'e05338ca78a938d525f7a1a6d3e6a98153cd94fa', class: this.getPaginationClass() }, this.variant === 'input' && (h(Fragment, { key: 'ea815e6de3d12793411b05ce5938c733c1b84136' }, h("ul", { key: '8b7d63d5bbec21cabb12f3ccb8cbe3046409abf2' }, prevArrow, h("li", { key: '55367459a8be4819278530cc31d36cc3eb0d1107', class: "spw-pagination__input" }, h("spw-text-field", { key: '26926e63f93958af0d692bfc2962d66983790683', value: this.inputPageValue, type: "text", name: "pagination-input", onInput: event => this.handleInputChange(event), onKeyDown: event => this.handleKeyDown(event), disabled: this.isDisabled })), h("li", { key: '3f84bcc43732a2d39505b038f6762eed0d9ccfae', class: "spw-pagination__total-pages" }, "sur ", this.totalPages, " ", this.totalPages === 1 ? 'page' : 'pages'), nextArrow), mobileArrows)), this.variant === 'numbers' && (h(Fragment, { key: '2961252972f7f08fc437b4ec8fb797a21e2e936a' }, h("ul", { key: 'ad621520e14899fbff346bd421a20a99aefa0396' }, prevArrow, pages.map(({ page, class: pageClass }) => {
176
176
  if (page === '...') {
177
177
  return (h("li", { class: `spw-pagination__item spw-pagination__item--dots ${pageClass}` }, h("spw-icon", { icon: "fa-ellipsis" })));
178
178
  }