@spw-ds/spw-stencil-library 1.15.0 → 1.16.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 (533) hide show
  1. package/dist/cem.json +313 -12
  2. package/dist/cjs/{index-BSEZn_kI.js → index-D3lyhQSW.js} +13 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/spw-accordion_4.cjs.entry.js +1 -1
  5. package/dist/cjs/spw-avatar.cjs.entry.js +1 -1
  6. package/dist/cjs/spw-block-content.cjs.entry.js +1 -1
  7. package/dist/cjs/spw-box.cjs.entry.js +28 -9
  8. package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +2 -2
  9. package/dist/cjs/spw-breadcrumb.cjs.entry.js +3 -3
  10. package/dist/cjs/spw-button_2.cjs.entry.js +3 -3
  11. package/dist/cjs/spw-card-content.cjs.entry.js +2 -2
  12. package/dist/cjs/spw-card-excerpt.cjs.entry.js +2 -2
  13. package/dist/cjs/spw-card-image.cjs.entry.js +2 -2
  14. package/dist/cjs/spw-card-subtag-item.cjs.entry.js +2 -2
  15. package/dist/cjs/spw-card-subtags.cjs.entry.js +2 -2
  16. package/dist/cjs/spw-card-title.cjs.entry.js +13 -3
  17. package/dist/cjs/spw-card.cjs.entry.js +2 -2
  18. package/dist/cjs/spw-checkbox.cjs.entry.js +2 -2
  19. package/dist/cjs/spw-cookies.cjs.entry.js +1 -1
  20. package/dist/cjs/spw-custom-select.cjs.entry.js +1 -1
  21. package/dist/cjs/spw-date-picker.cjs.entry.js +2 -2
  22. package/dist/cjs/spw-drawer.cjs.entry.js +4 -4
  23. package/dist/cjs/spw-dropdown-container.cjs.entry.js +2 -2
  24. package/dist/cjs/spw-dropdown-item.cjs.entry.js +2 -2
  25. package/dist/cjs/spw-dropdown.cjs.entry.js +11 -6
  26. package/dist/cjs/spw-field-label_8.cjs.entry.js +9 -9
  27. package/dist/cjs/spw-file-upload.cjs.entry.js +3 -3
  28. package/dist/cjs/spw-footer-bottom.cjs.entry.js +2 -2
  29. package/dist/cjs/spw-footer-content-col.cjs.entry.js +2 -2
  30. package/dist/cjs/spw-footer-content.cjs.entry.js +2 -2
  31. package/dist/cjs/spw-footer-link.cjs.entry.js +2 -2
  32. package/dist/cjs/spw-footer.cjs.entry.js +2 -2
  33. package/dist/cjs/spw-grid-item.cjs.entry.js +3 -3
  34. package/dist/cjs/spw-grid.cjs.entry.js +3 -3
  35. package/dist/cjs/spw-header-lang.cjs.entry.js +2 -2
  36. package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +2 -2
  37. package/dist/cjs/spw-header-navigation-item.cjs.entry.js +2 -2
  38. package/dist/cjs/spw-header-navigation.cjs.entry.js +2 -2
  39. package/dist/cjs/spw-header-persona-item.cjs.entry.js +2 -2
  40. package/dist/cjs/spw-header-persona.cjs.entry.js +2 -2
  41. package/dist/cjs/spw-header.cjs.entry.js +5 -3
  42. package/dist/cjs/spw-hero.cjs.entry.js +4 -4
  43. package/dist/cjs/spw-illustration.cjs.entry.js +1 -1
  44. package/dist/cjs/spw-input-slider.cjs.entry.js +2 -2
  45. package/dist/cjs/spw-lightbox-item.cjs.entry.js +2 -2
  46. package/dist/cjs/spw-lightbox.cjs.entry.js +3 -3
  47. package/dist/cjs/spw-list-description.cjs.entry.js +2 -2
  48. package/dist/cjs/spw-list-item.cjs.entry.js +2 -2
  49. package/dist/cjs/spw-list-title.cjs.entry.js +2 -2
  50. package/dist/cjs/spw-list.cjs.entry.js +2 -2
  51. package/dist/cjs/spw-message.cjs.entry.js +1 -1
  52. package/dist/cjs/spw-modal.cjs.entry.js +4 -4
  53. package/dist/cjs/spw-mosaic-item.cjs.entry.js +2 -2
  54. package/dist/cjs/spw-mosaic.cjs.entry.js +26 -6
  55. package/dist/cjs/spw-pagination.cjs.entry.js +7 -7
  56. package/dist/cjs/spw-radio.cjs.entry.js +2 -2
  57. package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
  58. package/dist/cjs/spw-search-field.cjs.entry.js +1 -1
  59. package/dist/cjs/spw-select.cjs.entry.js +1 -1
  60. package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +2 -2
  61. package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +4 -4
  62. package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +2 -2
  63. package/dist/cjs/spw-sidebar.cjs.entry.js +2 -2
  64. package/dist/cjs/spw-sidenav-group.cjs.entry.js +22 -0
  65. package/dist/cjs/spw-sidenav-item.cjs.entry.js +154 -0
  66. package/dist/cjs/spw-sidenav.cjs.entry.js +23 -0
  67. package/dist/cjs/spw-skeleton.cjs.entry.js +2 -2
  68. package/dist/cjs/spw-slider-item.cjs.entry.js +2 -2
  69. package/dist/cjs/spw-slider.cjs.entry.js +2 -2
  70. package/dist/cjs/spw-socials.cjs.entry.js +2 -2
  71. package/dist/cjs/spw-stencil-library.cjs.js +2 -2
  72. package/dist/cjs/spw-table-body.cjs.entry.js +2 -2
  73. package/dist/cjs/spw-table-cell.cjs.entry.js +2 -2
  74. package/dist/cjs/spw-table-container.cjs.entry.js +2 -2
  75. package/dist/cjs/spw-table-footer.cjs.entry.js +2 -2
  76. package/dist/cjs/spw-table-head.cjs.entry.js +2 -2
  77. package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
  78. package/dist/cjs/spw-table-row.cjs.entry.js +2 -2
  79. package/dist/cjs/spw-table-sidebar.cjs.entry.js +2 -2
  80. package/dist/cjs/spw-table.cjs.entry.js +1 -1
  81. package/dist/cjs/spw-tabs-content.cjs.entry.js +1 -1
  82. package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +2 -2
  83. package/dist/cjs/spw-tabs-navigation.cjs.entry.js +2 -2
  84. package/dist/cjs/spw-tabs.cjs.entry.js +2 -2
  85. package/dist/cjs/spw-tag.cjs.entry.js +2 -2
  86. package/dist/cjs/spw-text-field.cjs.entry.js +3 -3
  87. package/dist/cjs/spw-textarea.cjs.entry.js +2 -2
  88. package/dist/cjs/spw-tile-description.cjs.entry.js +3 -3
  89. package/dist/cjs/spw-tile-title.cjs.entry.js +2 -2
  90. package/dist/cjs/spw-tile.cjs.entry.js +19 -13
  91. package/dist/cjs/spw-timeline-item.cjs.entry.js +3 -3
  92. package/dist/cjs/spw-timeline.cjs.entry.js +3 -3
  93. package/dist/cjs/spw-toast-controller.cjs.entry.js +1 -1
  94. package/dist/cjs/spw-toast.cjs.entry.js +1 -1
  95. package/dist/cjs/spw-toc-container.cjs.entry.js +1 -1
  96. package/dist/cjs/spw-toc-navigation.cjs.entry.js +1 -1
  97. package/dist/cjs/spw-toc.cjs.entry.js +2 -2
  98. package/dist/cjs/spw-topbar.cjs.entry.js +2 -2
  99. package/dist/cjs/spw-wizard-item.cjs.entry.js +2 -2
  100. package/dist/cjs/spw-wizard.cjs.entry.js +2 -2
  101. package/dist/collection/collection-manifest.json +3 -0
  102. package/dist/collection/components/spw-box/spw-box.css +11 -60
  103. package/dist/collection/components/spw-box/spw-box.js +39 -9
  104. package/dist/collection/components/spw-breadcrumb/spw-breadcrumb-item/spw-breadcrumb-item.js +1 -1
  105. package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.css +1 -2
  106. package/dist/collection/components/spw-breadcrumb/spw-breadcrumb.js +1 -1
  107. package/dist/collection/components/spw-button/spw-button.js +1 -1
  108. package/dist/collection/components/spw-card/spw-card-content/spw-card-content.js +1 -1
  109. package/dist/collection/components/spw-card/spw-card-excerpt/spw-card-excerpt.js +1 -1
  110. package/dist/collection/components/spw-card/spw-card-image/spw-card-image.js +1 -1
  111. package/dist/collection/components/spw-card/spw-card-subtag-item/spw-card-subtag-item.js +1 -1
  112. package/dist/collection/components/spw-card/spw-card-subtags/spw-card-subtags.js +1 -1
  113. package/dist/collection/components/spw-card/spw-card-title/spw-card-title.css +48 -0
  114. package/dist/collection/components/spw-card/spw-card-title/spw-card-title.js +31 -1
  115. package/dist/collection/components/spw-card/spw-card.js +1 -1
  116. package/dist/collection/components/spw-checkbox/spw-checkbox.js +1 -1
  117. package/dist/collection/components/spw-date-picker/spw-date-picker.js +1 -1
  118. package/dist/collection/components/spw-drawer/spw-drawer.js +3 -3
  119. package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.js +1 -1
  120. package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +1 -1
  121. package/dist/collection/components/spw-dropdown/spw-dropdown.js +10 -5
  122. package/dist/collection/components/spw-field-label/spw-field-label.js +1 -1
  123. package/dist/collection/components/spw-field-message/spw-field-message.js +1 -1
  124. package/dist/collection/components/spw-file-upload/spw-file-upload.js +2 -2
  125. package/dist/collection/components/spw-footer/spw-footer-bottom/spw-footer-bottom.js +1 -1
  126. package/dist/collection/components/spw-footer/spw-footer-content/spw-footer-content.js +1 -1
  127. package/dist/collection/components/spw-footer/spw-footer-content-col/spw-footer-content-col.js +1 -1
  128. package/dist/collection/components/spw-footer/spw-footer-link/spw-footer-link.js +1 -1
  129. package/dist/collection/components/spw-footer/spw-footer.js +1 -1
  130. package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +2 -2
  131. package/dist/collection/components/spw-grid/spw-grid.js +2 -2
  132. package/dist/collection/components/spw-group/spw-group.js +1 -1
  133. package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
  134. package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +1 -1
  135. package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
  136. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
  137. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
  138. package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
  139. package/dist/collection/components/spw-header/spw-header.css +14 -0
  140. package/dist/collection/components/spw-header/spw-header.js +3 -1
  141. package/dist/collection/components/spw-hero/spw-hero.js +3 -3
  142. package/dist/collection/components/spw-icon/spw-icon.js +1 -1
  143. package/dist/collection/components/spw-input-slider/spw-input-slider.js +1 -1
  144. package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +1 -1
  145. package/dist/collection/components/spw-lightbox/spw-lightbox.js +2 -2
  146. package/dist/collection/components/spw-link/spw-link.js +1 -1
  147. package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
  148. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
  149. package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
  150. package/dist/collection/components/spw-list/spw-list.js +1 -1
  151. package/dist/collection/components/spw-loading/spw-loading.js +1 -1
  152. package/dist/collection/components/spw-modal/spw-modal.js +3 -3
  153. package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
  154. package/dist/collection/components/spw-mosaic/spw-mosaic.js +25 -5
  155. package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
  156. package/dist/collection/components/spw-radio/spw-radio.js +1 -1
  157. package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
  158. package/dist/collection/components/spw-separator/spw-separator.js +1 -1
  159. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
  160. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
  161. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
  162. package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
  163. package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.css +379 -0
  164. package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.js +48 -0
  165. package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.css +468 -0
  166. package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +323 -0
  167. package/dist/collection/components/spw-sidenav/spw-sidenav.css +370 -0
  168. package/dist/collection/components/spw-sidenav/spw-sidenav.js +49 -0
  169. package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
  170. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
  171. package/dist/collection/components/spw-slider/spw-slider.js +1 -1
  172. package/dist/collection/components/spw-socials/spw-socials.js +1 -1
  173. package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
  174. package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
  175. package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
  176. package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
  177. package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
  178. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
  179. package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
  180. package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
  181. package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
  182. package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
  183. package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
  184. package/dist/collection/components/spw-tag/spw-tag.js +1 -1
  185. package/dist/collection/components/spw-text-field/spw-text-field.css +6 -0
  186. package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
  187. package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
  188. package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
  189. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.css +34 -0
  190. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
  191. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
  192. package/dist/collection/components/spw-tile/spw-tile.css +32 -22
  193. package/dist/collection/components/spw-tile/spw-tile.js +24 -18
  194. package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
  195. package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
  196. package/dist/collection/components/spw-toc/spw-toc.js +1 -1
  197. package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
  198. package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
  199. package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
  200. package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
  201. package/dist/collection/stories/organisms/spw-header/spw-header.stories.js +101 -1
  202. package/dist/components/index.js +1 -1
  203. package/dist/components/{p-2iE5Jfvp.js → p-2AbKLqDf.js} +1 -1
  204. package/dist/components/p-B2P8l7B3.js +1 -0
  205. package/dist/components/{p-BP0QYENJ.js → p-B43Zutdz.js} +1 -1
  206. package/dist/components/{p-F4DuhyF5.js → p-BY3XOPGU.js} +1 -1
  207. package/dist/components/{p-kkVxHcEB.js → p-C5-yiily.js} +1 -1
  208. package/dist/components/{p-CQNvd2fn.js → p-C82UsmH4.js} +1 -1
  209. package/dist/components/{p-DPpA6jtb.js → p-CnzSr9Im.js} +1 -1
  210. package/dist/components/{p-DIUtCQyY.js → p-DAfHVLjA.js} +1 -1
  211. package/dist/components/{p-C9EdSa5U.js → p-DXd3uPkn.js} +1 -1
  212. package/dist/components/{p-DlnEjqPF.js → p-DlhwYK4n.js} +1 -1
  213. package/dist/components/{p-DDihlS_6.js → p-aWQ1v8BH.js} +1 -1
  214. package/dist/components/{p-D3XYY2gS.js → p-m97KOJBa.js} +1 -1
  215. package/dist/components/{p-rbXNWvxL.js → p-yEYYjoyI.js} +1 -1
  216. package/dist/components/spw-accordion-title.js +1 -1
  217. package/dist/components/spw-box.js +1 -1
  218. package/dist/components/spw-breadcrumb-item.js +1 -1
  219. package/dist/components/spw-breadcrumb.js +1 -1
  220. package/dist/components/spw-button.js +1 -1
  221. package/dist/components/spw-card-content.js +1 -1
  222. package/dist/components/spw-card-excerpt.js +1 -1
  223. package/dist/components/spw-card-image.js +1 -1
  224. package/dist/components/spw-card-subtag-item.js +1 -1
  225. package/dist/components/spw-card-subtags.js +1 -1
  226. package/dist/components/spw-card-title.js +1 -1
  227. package/dist/components/spw-card.js +1 -1
  228. package/dist/components/spw-checkbox.js +1 -1
  229. package/dist/components/spw-cookies.js +1 -1
  230. package/dist/components/spw-custom-select.js +1 -1
  231. package/dist/components/spw-date-picker.js +1 -1
  232. package/dist/components/spw-drawer.js +1 -1
  233. package/dist/components/spw-dropdown-container.js +1 -1
  234. package/dist/components/spw-dropdown-item.js +1 -1
  235. package/dist/components/spw-dropdown.js +1 -1
  236. package/dist/components/spw-field-label.js +1 -1
  237. package/dist/components/spw-field-message.js +1 -1
  238. package/dist/components/spw-file-upload.js +1 -1
  239. package/dist/components/spw-footer-bottom.js +1 -1
  240. package/dist/components/spw-footer-content-col.js +1 -1
  241. package/dist/components/spw-footer-content.js +1 -1
  242. package/dist/components/spw-footer-link.js +1 -1
  243. package/dist/components/spw-footer.js +1 -1
  244. package/dist/components/spw-grid-item.js +1 -1
  245. package/dist/components/spw-grid.js +1 -1
  246. package/dist/components/spw-group.js +1 -1
  247. package/dist/components/spw-header-lang.js +1 -1
  248. package/dist/components/spw-header-navigation-dropdown.js +1 -1
  249. package/dist/components/spw-header-navigation-item.js +1 -1
  250. package/dist/components/spw-header-navigation.js +1 -1
  251. package/dist/components/spw-header-persona-item.js +1 -1
  252. package/dist/components/spw-header-persona.js +1 -1
  253. package/dist/components/spw-header.js +1 -1
  254. package/dist/components/spw-hero.js +1 -1
  255. package/dist/components/spw-icon.js +1 -1
  256. package/dist/components/spw-input-slider.js +1 -1
  257. package/dist/components/spw-lightbox-item.js +1 -1
  258. package/dist/components/spw-lightbox.js +1 -1
  259. package/dist/components/spw-link.js +1 -1
  260. package/dist/components/spw-list-description.js +1 -1
  261. package/dist/components/spw-list-item.js +1 -1
  262. package/dist/components/spw-list-title.js +1 -1
  263. package/dist/components/spw-list.js +1 -1
  264. package/dist/components/spw-loading.js +1 -1
  265. package/dist/components/spw-message.js +1 -1
  266. package/dist/components/spw-modal.js +1 -1
  267. package/dist/components/spw-mosaic-item.js +1 -1
  268. package/dist/components/spw-mosaic.js +1 -1
  269. package/dist/components/spw-pagination.js +1 -1
  270. package/dist/components/spw-radio.js +1 -1
  271. package/dist/components/spw-scrolltop.js +1 -1
  272. package/dist/components/spw-search-field.js +1 -1
  273. package/dist/components/spw-select.js +1 -1
  274. package/dist/components/spw-separator.js +1 -1
  275. package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
  276. package/dist/components/spw-sidebar-navigation-item.js +1 -1
  277. package/dist/components/spw-sidebar-navigation-separator.js +1 -1
  278. package/dist/components/spw-sidebar.js +1 -1
  279. package/dist/components/spw-sidenav-group.d.ts +11 -0
  280. package/dist/components/spw-sidenav-group.js +1 -0
  281. package/dist/components/spw-sidenav-item.d.ts +11 -0
  282. package/dist/components/spw-sidenav-item.js +1 -0
  283. package/dist/components/spw-sidenav.d.ts +11 -0
  284. package/dist/components/spw-sidenav.js +1 -0
  285. package/dist/components/spw-skeleton.js +1 -1
  286. package/dist/components/spw-slider-item.js +1 -1
  287. package/dist/components/spw-slider.js +1 -1
  288. package/dist/components/spw-socials.js +1 -1
  289. package/dist/components/spw-table-body.js +1 -1
  290. package/dist/components/spw-table-cell.js +1 -1
  291. package/dist/components/spw-table-container.js +1 -1
  292. package/dist/components/spw-table-footer.js +1 -1
  293. package/dist/components/spw-table-head.js +1 -1
  294. package/dist/components/spw-table-header.js +1 -1
  295. package/dist/components/spw-table-row.js +1 -1
  296. package/dist/components/spw-table-sidebar.js +1 -1
  297. package/dist/components/spw-tabs-navigation-item.js +1 -1
  298. package/dist/components/spw-tabs-navigation.js +1 -1
  299. package/dist/components/spw-tabs.js +1 -1
  300. package/dist/components/spw-tag.js +1 -1
  301. package/dist/components/spw-text-field.js +1 -1
  302. package/dist/components/spw-textarea.js +1 -1
  303. package/dist/components/spw-theme-provider.js +1 -1
  304. package/dist/components/spw-tile-description.js +1 -1
  305. package/dist/components/spw-tile-title.js +1 -1
  306. package/dist/components/spw-tile.js +1 -1
  307. package/dist/components/spw-timeline-item.js +1 -1
  308. package/dist/components/spw-timeline.js +1 -1
  309. package/dist/components/spw-toast-controller.js +1 -1
  310. package/dist/components/spw-toast.js +1 -1
  311. package/dist/components/spw-toc.js +1 -1
  312. package/dist/components/spw-tooltip.js +1 -1
  313. package/dist/components/spw-topbar.js +1 -1
  314. package/dist/components/spw-wizard-item.js +1 -1
  315. package/dist/components/spw-wizard.js +1 -1
  316. package/dist/components_json.json +396 -12
  317. package/dist/components_vscode.json +77 -3
  318. package/dist/esm/{index-C5N6FAxf.js → index-DkNryMko.js} +13 -1
  319. package/dist/esm/loader.js +3 -3
  320. package/dist/esm/spw-accordion_4.entry.js +1 -1
  321. package/dist/esm/spw-avatar.entry.js +1 -1
  322. package/dist/esm/spw-block-content.entry.js +1 -1
  323. package/dist/esm/spw-box.entry.js +28 -9
  324. package/dist/esm/spw-breadcrumb-item.entry.js +2 -2
  325. package/dist/esm/spw-breadcrumb.entry.js +3 -3
  326. package/dist/esm/spw-button_2.entry.js +3 -3
  327. package/dist/esm/spw-card-content.entry.js +2 -2
  328. package/dist/esm/spw-card-excerpt.entry.js +2 -2
  329. package/dist/esm/spw-card-image.entry.js +2 -2
  330. package/dist/esm/spw-card-subtag-item.entry.js +2 -2
  331. package/dist/esm/spw-card-subtags.entry.js +2 -2
  332. package/dist/esm/spw-card-title.entry.js +13 -3
  333. package/dist/esm/spw-card.entry.js +2 -2
  334. package/dist/esm/spw-checkbox.entry.js +2 -2
  335. package/dist/esm/spw-cookies.entry.js +1 -1
  336. package/dist/esm/spw-custom-select.entry.js +1 -1
  337. package/dist/esm/spw-date-picker.entry.js +2 -2
  338. package/dist/esm/spw-drawer.entry.js +4 -4
  339. package/dist/esm/spw-dropdown-container.entry.js +2 -2
  340. package/dist/esm/spw-dropdown-item.entry.js +2 -2
  341. package/dist/esm/spw-dropdown.entry.js +11 -6
  342. package/dist/esm/spw-field-label_8.entry.js +9 -9
  343. package/dist/esm/spw-file-upload.entry.js +3 -3
  344. package/dist/esm/spw-footer-bottom.entry.js +2 -2
  345. package/dist/esm/spw-footer-content-col.entry.js +2 -2
  346. package/dist/esm/spw-footer-content.entry.js +2 -2
  347. package/dist/esm/spw-footer-link.entry.js +2 -2
  348. package/dist/esm/spw-footer.entry.js +2 -2
  349. package/dist/esm/spw-grid-item.entry.js +3 -3
  350. package/dist/esm/spw-grid.entry.js +3 -3
  351. package/dist/esm/spw-header-lang.entry.js +2 -2
  352. package/dist/esm/spw-header-navigation-dropdown.entry.js +2 -2
  353. package/dist/esm/spw-header-navigation-item.entry.js +2 -2
  354. package/dist/esm/spw-header-navigation.entry.js +2 -2
  355. package/dist/esm/spw-header-persona-item.entry.js +2 -2
  356. package/dist/esm/spw-header-persona.entry.js +2 -2
  357. package/dist/esm/spw-header.entry.js +5 -3
  358. package/dist/esm/spw-hero.entry.js +4 -4
  359. package/dist/esm/spw-illustration.entry.js +1 -1
  360. package/dist/esm/spw-input-slider.entry.js +2 -2
  361. package/dist/esm/spw-lightbox-item.entry.js +2 -2
  362. package/dist/esm/spw-lightbox.entry.js +3 -3
  363. package/dist/esm/spw-list-description.entry.js +2 -2
  364. package/dist/esm/spw-list-item.entry.js +2 -2
  365. package/dist/esm/spw-list-title.entry.js +2 -2
  366. package/dist/esm/spw-list.entry.js +2 -2
  367. package/dist/esm/spw-message.entry.js +1 -1
  368. package/dist/esm/spw-modal.entry.js +4 -4
  369. package/dist/esm/spw-mosaic-item.entry.js +2 -2
  370. package/dist/esm/spw-mosaic.entry.js +26 -6
  371. package/dist/esm/spw-pagination.entry.js +7 -7
  372. package/dist/esm/spw-radio.entry.js +2 -2
  373. package/dist/esm/spw-scrolltop.entry.js +2 -2
  374. package/dist/esm/spw-search-field.entry.js +1 -1
  375. package/dist/esm/spw-select.entry.js +1 -1
  376. package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +2 -2
  377. package/dist/esm/spw-sidebar-navigation-item.entry.js +4 -4
  378. package/dist/esm/spw-sidebar-navigation-separator.entry.js +2 -2
  379. package/dist/esm/spw-sidebar.entry.js +2 -2
  380. package/dist/esm/spw-sidenav-group.entry.js +20 -0
  381. package/dist/esm/spw-sidenav-item.entry.js +152 -0
  382. package/dist/esm/spw-sidenav.entry.js +21 -0
  383. package/dist/esm/spw-skeleton.entry.js +2 -2
  384. package/dist/esm/spw-slider-item.entry.js +2 -2
  385. package/dist/esm/spw-slider.entry.js +2 -2
  386. package/dist/esm/spw-socials.entry.js +2 -2
  387. package/dist/esm/spw-stencil-library.js +3 -3
  388. package/dist/esm/spw-table-body.entry.js +2 -2
  389. package/dist/esm/spw-table-cell.entry.js +2 -2
  390. package/dist/esm/spw-table-container.entry.js +2 -2
  391. package/dist/esm/spw-table-footer.entry.js +2 -2
  392. package/dist/esm/spw-table-head.entry.js +2 -2
  393. package/dist/esm/spw-table-header.entry.js +3 -3
  394. package/dist/esm/spw-table-row.entry.js +2 -2
  395. package/dist/esm/spw-table-sidebar.entry.js +2 -2
  396. package/dist/esm/spw-table.entry.js +1 -1
  397. package/dist/esm/spw-tabs-content.entry.js +1 -1
  398. package/dist/esm/spw-tabs-navigation-item.entry.js +2 -2
  399. package/dist/esm/spw-tabs-navigation.entry.js +2 -2
  400. package/dist/esm/spw-tabs.entry.js +2 -2
  401. package/dist/esm/spw-tag.entry.js +2 -2
  402. package/dist/esm/spw-text-field.entry.js +3 -3
  403. package/dist/esm/spw-textarea.entry.js +2 -2
  404. package/dist/esm/spw-tile-description.entry.js +3 -3
  405. package/dist/esm/spw-tile-title.entry.js +2 -2
  406. package/dist/esm/spw-tile.entry.js +19 -13
  407. package/dist/esm/spw-timeline-item.entry.js +3 -3
  408. package/dist/esm/spw-timeline.entry.js +3 -3
  409. package/dist/esm/spw-toast-controller.entry.js +1 -1
  410. package/dist/esm/spw-toast.entry.js +1 -1
  411. package/dist/esm/spw-toc-container.entry.js +1 -1
  412. package/dist/esm/spw-toc-navigation.entry.js +1 -1
  413. package/dist/esm/spw-toc.entry.js +2 -2
  414. package/dist/esm/spw-topbar.entry.js +2 -2
  415. package/dist/esm/spw-wizard-item.entry.js +2 -2
  416. package/dist/esm/spw-wizard.entry.js +2 -2
  417. package/dist/spw-stencil-library/{p-f240cb23.entry.js → p-014cceee.entry.js} +1 -1
  418. package/dist/spw-stencil-library/{p-43e3fe34.entry.js → p-082f93eb.entry.js} +1 -1
  419. package/dist/spw-stencil-library/{p-a052c62f.entry.js → p-0f5debdb.entry.js} +1 -1
  420. package/dist/spw-stencil-library/{p-2579f0f9.entry.js → p-1001e077.entry.js} +1 -1
  421. package/dist/spw-stencil-library/{p-18c0f6b5.entry.js → p-10bf5c42.entry.js} +1 -1
  422. package/dist/spw-stencil-library/{p-8aece962.entry.js → p-11ee7e7a.entry.js} +1 -1
  423. package/dist/spw-stencil-library/{p-da1efbb7.entry.js → p-1ba59470.entry.js} +1 -1
  424. package/dist/spw-stencil-library/{p-b8987bdc.entry.js → p-1d319daa.entry.js} +1 -1
  425. package/dist/spw-stencil-library/p-1e940c23.entry.js +1 -0
  426. package/dist/spw-stencil-library/{p-c2f82f35.entry.js → p-1fca6b4f.entry.js} +1 -1
  427. package/dist/spw-stencil-library/p-20ed6c87.entry.js +1 -0
  428. package/dist/spw-stencil-library/{p-90b598b7.entry.js → p-21db201c.entry.js} +1 -1
  429. package/dist/spw-stencil-library/{p-cc406002.entry.js → p-21e998ba.entry.js} +1 -1
  430. package/dist/spw-stencil-library/{p-1a0de816.entry.js → p-24cc1b85.entry.js} +1 -1
  431. package/dist/spw-stencil-library/{p-903d2621.entry.js → p-2e0e0459.entry.js} +1 -1
  432. package/dist/spw-stencil-library/{p-5a4a24e9.entry.js → p-39990b60.entry.js} +1 -1
  433. package/dist/spw-stencil-library/{p-6dbccd34.entry.js → p-3a44068e.entry.js} +1 -1
  434. package/dist/spw-stencil-library/{p-7bbfac6c.entry.js → p-3e8e6a41.entry.js} +1 -1
  435. package/dist/spw-stencil-library/{p-6c5e9eb1.entry.js → p-41568f68.entry.js} +1 -1
  436. package/dist/spw-stencil-library/{p-ef7977c0.entry.js → p-426be39b.entry.js} +1 -1
  437. package/dist/spw-stencil-library/{p-a37ed701.entry.js → p-42dce53f.entry.js} +1 -1
  438. package/dist/spw-stencil-library/{p-60d1f1ab.entry.js → p-43af0902.entry.js} +1 -1
  439. package/dist/spw-stencil-library/{p-2597abf2.entry.js → p-45be9fce.entry.js} +1 -1
  440. package/dist/spw-stencil-library/{p-db477bbd.entry.js → p-49e53cd8.entry.js} +1 -1
  441. package/dist/spw-stencil-library/{p-3d69bc6d.entry.js → p-4d45c143.entry.js} +1 -1
  442. package/dist/spw-stencil-library/{p-8212d5e4.entry.js → p-4f65655d.entry.js} +1 -1
  443. package/dist/spw-stencil-library/{p-61a2830d.entry.js → p-51238b72.entry.js} +1 -1
  444. package/dist/spw-stencil-library/{p-1d1b1ae3.entry.js → p-51d1b03f.entry.js} +1 -1
  445. package/dist/spw-stencil-library/{p-3ad59624.entry.js → p-53dfe461.entry.js} +1 -1
  446. package/dist/spw-stencil-library/p-56511a1a.entry.js +1 -0
  447. package/dist/spw-stencil-library/{p-8926576b.entry.js → p-571107dc.entry.js} +1 -1
  448. package/dist/spw-stencil-library/p-57d57d31.entry.js +1 -0
  449. package/dist/spw-stencil-library/p-5ca2790b.entry.js +1 -0
  450. package/dist/spw-stencil-library/{p-909463ec.entry.js → p-68787bbe.entry.js} +1 -1
  451. package/dist/spw-stencil-library/{p-84856ff4.entry.js → p-69f36918.entry.js} +1 -1
  452. package/dist/spw-stencil-library/{p-4d44ffe3.entry.js → p-6be62066.entry.js} +1 -1
  453. package/dist/spw-stencil-library/{p-ba50a10d.entry.js → p-723229e0.entry.js} +1 -1
  454. package/dist/spw-stencil-library/{p-c9feda78.entry.js → p-7233f2b1.entry.js} +1 -1
  455. package/dist/spw-stencil-library/{p-cad173a3.entry.js → p-723b695b.entry.js} +1 -1
  456. package/dist/spw-stencil-library/{p-d87005a9.entry.js → p-76b03045.entry.js} +1 -1
  457. package/dist/spw-stencil-library/{p-0b369fe0.entry.js → p-79081772.entry.js} +1 -1
  458. package/dist/spw-stencil-library/{p-ee69cf36.entry.js → p-7996c7c8.entry.js} +1 -1
  459. package/dist/spw-stencil-library/{p-e3ada16c.entry.js → p-8010145c.entry.js} +1 -1
  460. package/dist/spw-stencil-library/{p-00ff273e.entry.js → p-83e6a17b.entry.js} +1 -1
  461. package/dist/spw-stencil-library/{p-b80e1328.entry.js → p-898f2ca7.entry.js} +1 -1
  462. package/dist/spw-stencil-library/{p-d35fb0e2.entry.js → p-8aa81b70.entry.js} +1 -1
  463. package/dist/spw-stencil-library/{p-bd1ddbb0.entry.js → p-915cbfd3.entry.js} +1 -1
  464. package/dist/spw-stencil-library/{p-09aa872b.entry.js → p-936fc4c0.entry.js} +1 -1
  465. package/dist/spw-stencil-library/{p-d009ebf1.entry.js → p-94581684.entry.js} +1 -1
  466. package/dist/spw-stencil-library/{p-ec4b0f0d.entry.js → p-95f41c17.entry.js} +4 -4
  467. package/dist/spw-stencil-library/{p-294eb7ff.entry.js → p-995bf47d.entry.js} +1 -1
  468. package/dist/spw-stencil-library/{p-C5N6FAxf.js → p-DkNryMko.js} +1 -1
  469. package/dist/spw-stencil-library/{p-bf7d4828.entry.js → p-a20d2a78.entry.js} +1 -1
  470. package/dist/spw-stencil-library/{p-68e31c3d.entry.js → p-a6c5c836.entry.js} +1 -1
  471. package/dist/spw-stencil-library/p-a775d477.entry.js +1 -0
  472. package/dist/spw-stencil-library/{p-74b6e21f.entry.js → p-a94801a1.entry.js} +1 -1
  473. package/dist/spw-stencil-library/{p-188af666.entry.js → p-ae18c590.entry.js} +1 -1
  474. package/dist/spw-stencil-library/{p-0bab1123.entry.js → p-af8ccb80.entry.js} +1 -1
  475. package/dist/spw-stencil-library/{p-32c71e5b.entry.js → p-afa2f53d.entry.js} +1 -1
  476. package/dist/spw-stencil-library/{p-07ebfa15.entry.js → p-b08eb675.entry.js} +1 -1
  477. package/dist/spw-stencil-library/{p-c66f0d01.entry.js → p-b868a3da.entry.js} +1 -1
  478. package/dist/spw-stencil-library/{p-6763bad4.entry.js → p-bcc0bc5b.entry.js} +1 -1
  479. package/dist/spw-stencil-library/{p-cec973c7.entry.js → p-bd0b3958.entry.js} +1 -1
  480. package/dist/spw-stencil-library/{p-cea47613.entry.js → p-bec8374e.entry.js} +1 -1
  481. package/dist/spw-stencil-library/{p-6cceddce.entry.js → p-c06529c8.entry.js} +1 -1
  482. package/dist/spw-stencil-library/{p-a13f1a19.entry.js → p-c2d6da7e.entry.js} +1 -1
  483. package/dist/spw-stencil-library/{p-0373be2e.entry.js → p-c62049fc.entry.js} +1 -1
  484. package/dist/spw-stencil-library/{p-5af9996f.entry.js → p-ca25cbef.entry.js} +1 -1
  485. package/dist/spw-stencil-library/{p-ed01e9a1.entry.js → p-ca3263fb.entry.js} +1 -1
  486. package/dist/spw-stencil-library/{p-b73ea513.entry.js → p-caba8c80.entry.js} +1 -1
  487. package/dist/spw-stencil-library/{p-89aa9616.entry.js → p-cb4b31a7.entry.js} +1 -1
  488. package/dist/spw-stencil-library/{p-b5aaaa2e.entry.js → p-cb5dbe40.entry.js} +1 -1
  489. package/dist/spw-stencil-library/{p-a8bde8f1.entry.js → p-d29e6f62.entry.js} +1 -1
  490. package/dist/spw-stencil-library/{p-b15fecbf.entry.js → p-d321091b.entry.js} +1 -1
  491. package/dist/spw-stencil-library/{p-ae7b5957.entry.js → p-d6587b45.entry.js} +1 -1
  492. package/dist/spw-stencil-library/{p-937bcc42.entry.js → p-da1e18c0.entry.js} +1 -1
  493. package/dist/spw-stencil-library/{p-3ec14e26.entry.js → p-de10edb8.entry.js} +1 -1
  494. package/dist/spw-stencil-library/{p-ee61dc7a.entry.js → p-de47fd8e.entry.js} +1 -1
  495. package/dist/spw-stencil-library/{p-2807b7be.entry.js → p-e172632c.entry.js} +1 -1
  496. package/dist/spw-stencil-library/p-e2fbc5ff.entry.js +1 -0
  497. package/dist/spw-stencil-library/{p-2baca3a5.entry.js → p-e592738a.entry.js} +1 -1
  498. package/dist/spw-stencil-library/{p-b85cae0c.entry.js → p-e6beeeae.entry.js} +1 -1
  499. package/dist/spw-stencil-library/{p-b02b61ee.entry.js → p-e6f4a095.entry.js} +1 -1
  500. package/dist/spw-stencil-library/{p-68db1b65.entry.js → p-e82e97da.entry.js} +1 -1
  501. package/dist/spw-stencil-library/{p-2a980bf0.entry.js → p-ec7f05ae.entry.js} +1 -1
  502. package/dist/spw-stencil-library/{p-43a0782d.entry.js → p-f0590340.entry.js} +1 -1
  503. package/dist/spw-stencil-library/{p-5e6a842f.entry.js → p-f0e49272.entry.js} +1 -1
  504. package/dist/spw-stencil-library/{p-5f9e2ce5.entry.js → p-f420e077.entry.js} +1 -1
  505. package/dist/spw-stencil-library/p-f5420f60.entry.js +1 -0
  506. package/dist/spw-stencil-library/{p-390b54b3.entry.js → p-f7a94fe7.entry.js} +1 -1
  507. package/dist/spw-stencil-library/{p-f2ec0ac9.entry.js → p-f8c9e28a.entry.js} +1 -1
  508. package/dist/spw-stencil-library/{p-3c5e087d.entry.js → p-f91a179d.entry.js} +1 -1
  509. package/dist/spw-stencil-library/{p-05c01409.entry.js → p-fbc26e62.entry.js} +1 -1
  510. package/dist/spw-stencil-library/{p-24ba55fd.entry.js → p-fd339689.entry.js} +1 -1
  511. package/dist/spw-stencil-library/{p-4f9ee2af.entry.js → p-fdcc3c5d.entry.js} +1 -1
  512. package/dist/spw-stencil-library/{p-70c8ae3f.entry.js → p-fdd83154.entry.js} +1 -1
  513. package/dist/spw-stencil-library/{p-f391852d.entry.js → p-fe5f81cc.entry.js} +1 -1
  514. package/dist/spw-stencil-library/spw-stencil-library.css +1 -1
  515. package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
  516. package/dist/stats.json +2176 -990
  517. package/dist/types/components/spw-box/spw-box.d.ts +7 -2
  518. package/dist/types/components/spw-card/spw-card-title/spw-card-title.d.ts +3 -0
  519. package/dist/types/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.d.ts +5 -0
  520. package/dist/types/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.d.ts +37 -0
  521. package/dist/types/components/spw-sidenav/spw-sidenav.d.ts +6 -0
  522. package/dist/types/components/spw-tile/spw-tile.d.ts +3 -3
  523. package/dist/types/components.d.ts +148 -9
  524. package/dist/types/stories/organisms/spw-header/spw-header.stories.d.ts +1 -0
  525. package/hydrate/index.js +434 -142
  526. package/hydrate/index.mjs +434 -142
  527. package/package.json +1 -1
  528. package/dist/components/p-C5lqDBLM.js +0 -1
  529. package/dist/spw-stencil-library/p-41b54c1d.entry.js +0 -1
  530. package/dist/spw-stencil-library/p-62000770.entry.js +0 -1
  531. package/dist/spw-stencil-library/p-7f28ab5f.entry.js +0 -1
  532. package/dist/spw-stencil-library/p-8eaf94c3.entry.js +0 -1
  533. package/dist/spw-stencil-library/p-c713ef7e.entry.js +0 -1
@@ -0,0 +1,49 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class SpwSidenav {
3
+ /** Ferme tous les items ouverts */
4
+ async closeAll() {
5
+ const items = this.el.querySelectorAll('spw-sidenav-item');
6
+ items.forEach(item => { var _a; return (_a = item.close) === null || _a === void 0 ? void 0 : _a.call(item); });
7
+ }
8
+ render() {
9
+ return (h(Host, { key: 'c248ceeea7443805b4471b20553fe005a71af44d' }, h("nav", { key: '32ac7857681d12475f5c09d61d21e9c1c0645a00', class: "spw-sidenav" }, h("slot", { key: '0e88515dba47eb47d0db02eb6c7b45fe9e341db9' }))));
10
+ }
11
+ static get is() { return "spw-sidenav"; }
12
+ static get encapsulation() { return "shadow"; }
13
+ static get originalStyleUrls() {
14
+ return {
15
+ "$": ["spw-sidenav.scss"]
16
+ };
17
+ }
18
+ static get styleUrls() {
19
+ return {
20
+ "$": ["spw-sidenav.css"]
21
+ };
22
+ }
23
+ static get methods() {
24
+ return {
25
+ "closeAll": {
26
+ "complexType": {
27
+ "signature": "() => Promise<void>",
28
+ "parameters": [],
29
+ "references": {
30
+ "Promise": {
31
+ "location": "global",
32
+ "id": "global::Promise"
33
+ },
34
+ "NodeListOf": {
35
+ "location": "global",
36
+ "id": "global::NodeListOf"
37
+ }
38
+ },
39
+ "return": "Promise<void>"
40
+ },
41
+ "docs": {
42
+ "text": "Ferme tous les items ouverts",
43
+ "tags": []
44
+ }
45
+ }
46
+ };
47
+ }
48
+ static get elementRef() { return "el"; }
49
+ }
@@ -44,7 +44,7 @@ export class SpwSkeleton {
44
44
  }
45
45
  }
46
46
  render() {
47
- return (h(Host, { key: 'dc1d4fbea06557e09954e5006267dbd9e7e5b49f' }, h("div", { key: '0ebff5226d490759c099556f6f0f0bcc0d4e1746', class: "spw-skeleton" }, this.renderVariant(), h("slot", { key: 'be2621647c254e502452007f49d6d31566a4b2d9' }))));
47
+ return (h(Host, { key: 'baf6617e7f6f8d16bc09d9ed86ddfb299a23f94a' }, h("div", { key: '089813b4d4cdeb5d8e9737ed121df936711a8de6', class: "spw-skeleton" }, this.renderVariant(), h("slot", { key: 'bc44a9531c3922c90137cf8110ebcf80cc6f3f16' }))));
48
48
  }
49
49
  static get is() { return "spw-skeleton"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  export class SpwSliderItem {
3
3
  render() {
4
- return (h(Host, { key: 'c938284ccf2f8a59ae9cc4eb5239611383d0200e' }, h("div", { key: '055adbd2aab6e5463be6b9bcf908d2dfa47f413d', class: "spw-slider-item" }, h("slot", { key: 'dd5e639fb9af8ed604ca931c7015530886516cad' }))));
4
+ return (h(Host, { key: 'c1227e735448eaea0fa907b30fcefb1c707be454' }, h("div", { key: '276be5b2365d43ae37f11d217a321f0fdddf0f90', class: "spw-slider-item" }, h("slot", { key: '594ebb9169c11d0e08debc43f12dce462cbc4ff3' }))));
5
5
  }
6
6
  static get is() { return "spw-slider-item"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -394,7 +394,7 @@ export class SpwSlider {
394
394
  }, onClick: () => this.handleDotClick(i), "aria-label": `Slide ${i + 1}`, "aria-current": i === this.activeIndex ? 'true' : 'false' })))));
395
395
  }
396
396
  render() {
397
- return (h(Host, { key: '8dc34409f1e66313b2b34a8b1f09d136dabe0b16' }, h("div", { key: '7292a94ec194eda34acb54e4ca44f6b86c8edea8', class: this.elementClass, style: { height: `${this.currentHeight}px` }, tabindex: "0", role: "region", "aria-label": this.accAriaLabel }, h("div", { key: '3da03e2be636e7f5bda5c0e6b9fbc3299e523b0e', class: "spw-slider__track" }, h("slot", { key: '58df3b1d27714e2c5aef081269dbd66d52f5f0ff' })), this.showArrows && (h("div", { key: '025ea96fce9080eb7fa7940bb491361393c09ca6', class: "spw-slider__navigation" }, h("button", { key: 'dcc9e6025100f79510581e5f3cf67b1598f3c8a8', class: "spw-slider__arrow spw-slider__arrow--prev", onClick: this.handlePrevious, disabled: this.activeIndex === 0, "aria-label": this.previousSlideText }, h("spw-icon", { key: '29eaeda876748b69b333c58e512d388121b59693', icon: "fa-chevron-left" })), h("button", { key: 'd77142a22e369412632dfcc1c1af7d3e4bdd5999', class: "spw-slider__arrow spw-slider__arrow--next", onClick: this.handleNext, disabled: this.activeIndex === this.totalSlides - 1, "aria-label": this.nextSlideText }, h("spw-icon", { key: '47c94e169d9c8b44725df1eb7c907914bbc554ec', icon: "fa-chevron-right" })))), this.dotsPosition === 'inside' && this.renderDots()), this.dotsPosition === 'outside' && (h("div", { key: '49e8c665ee475e25c2cd2d41c93a6c34b0547b84', class: "spw-slider__dots-container" }, this.renderDots())), this.showAutoplayToggle && (h("div", { key: 'd753476a4b1de6a0bb830563ec43e4be7c0503ec', class: "spw-slider__autoplay-toggle" }, h("spw-checkbox", { key: '51fd35c27c80d61def02c8f094e55a3fac5b78d1', variant: "toggle", checked: this.isAutoplayActive, onSpwChange: this.handleAutoplayToggle }, this.autoplayText)))));
397
+ return (h(Host, { key: 'e3cdcffa3cd1e788cb9ba3b14b54b93154658998' }, h("div", { key: '4e5895bcfa1c51594acd207537bdb6b793609f0c', class: this.elementClass, style: { height: `${this.currentHeight}px` }, tabindex: "0", role: "region", "aria-label": this.accAriaLabel }, h("div", { key: 'ee4be86960ea0cdf99f105d34a2b511a1a2ef7c9', class: "spw-slider__track" }, h("slot", { key: '9324d09e7496a54d2f70684c815a7b833668d3ef' })), this.showArrows && (h("div", { key: 'f817cf37896af468a2a595ebff223457bcb80622', class: "spw-slider__navigation" }, h("button", { key: '9002d2d66e93dc132a7c054931a259559e8e2398', class: "spw-slider__arrow spw-slider__arrow--prev", onClick: this.handlePrevious, disabled: this.activeIndex === 0, "aria-label": this.previousSlideText }, h("spw-icon", { key: '881b9786ec4c1bad320800688a99c1cdd05864f7', icon: "fa-chevron-left" })), h("button", { key: '531a890269a510ce25cbaaac99d6a7b556ebdbd5', class: "spw-slider__arrow spw-slider__arrow--next", onClick: this.handleNext, disabled: this.activeIndex === this.totalSlides - 1, "aria-label": this.nextSlideText }, h("spw-icon", { key: '67da2f2695217740053fbf13879825fc25f8a68a', icon: "fa-chevron-right" })))), this.dotsPosition === 'inside' && this.renderDots()), this.dotsPosition === 'outside' && (h("div", { key: '37854071cc07c7b649af836b6ee4d23009aa3ccc', class: "spw-slider__dots-container" }, this.renderDots())), this.showAutoplayToggle && (h("div", { key: 'b156e6623b0a19012574d538ba41bd2a87d97fd0', class: "spw-slider__autoplay-toggle" }, h("spw-checkbox", { key: '0613184d17c2426e8ef6a9c967af13b462b99e9e', variant: "toggle", checked: this.isAutoplayActive, onSpwChange: this.handleAutoplayToggle }, this.autoplayText)))));
398
398
  }
399
399
  static get is() { return "spw-slider"; }
400
400
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ export class SpwSocials {
5
5
  this.mainTitle = 'Restez connecté';
6
6
  }
7
7
  render() {
8
- return (h(Host, { key: '6ff94089395e7f04c18e6ef5a874d93f85756892' }, h("div", { key: 'c69878fbdf01d369993b8f78dc7acabb1dd93b33', class: "spw-socials" }, h("div", { key: '5ac6c685042d450dacb44dc6407147a291ab219e', class: "spw-ds-container" }, h("h2", { key: '4990f8ed609500bdc9e93e3ec484e5abb1a2caf9', class: "spw-socials__title" }, this.mainTitle), h("div", { key: 'f9d540af4a0c90a882a79cc0b53be1ae4d707015', class: "spw-socials__content" }, h("slot", { key: '9d35b25004b30bed178be0dea7de3e5afb335881' }))))));
8
+ return (h(Host, { key: '37ed3a03b7350050ba217872a8a8ee9fcdb747b2' }, h("div", { key: '887f4e81d701a19b99317dead5eacc7f11f64ac3', class: "spw-socials" }, h("div", { key: '037ab94e4f7c748854fbc6375d282bcef10603f2', class: "spw-ds-container" }, h("h2", { key: '4722c336fefac98c035b261e9e03823e6f548975', class: "spw-socials__title" }, this.mainTitle), h("div", { key: 'd3eb5112d91db92e9fff52e51339c31d6085fa9b', class: "spw-socials__content" }, h("slot", { key: '535992ccec35ea2249f67c62491dda3defd40299' }))))));
9
9
  }
10
10
  static get is() { return "spw-socials"; }
11
11
  static get originalStyleUrls() {
@@ -33,7 +33,7 @@ export class SpwTableBody {
33
33
  });
34
34
  }
35
35
  render() {
36
- return (h("tbody", { key: '8eca6f932be8e3f41d7f5ab71ec74f998c79ef7b', part: "tbody" }, h("slot", { key: 'c61936337141cce8f2cc73dffd117b6cf01e5bca' })));
36
+ return (h("tbody", { key: 'a9e204e735c6df8af028d0973e6e9d093b724d1f', part: "tbody" }, h("slot", { key: 'd4ef5fb72710dba922b4ee232b83dc34c4c85fce' })));
37
37
  }
38
38
  static get is() { return "spw-table-body"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -87,7 +87,7 @@ export class SpwTableCell {
87
87
  }
88
88
  attrs.style = stickyStyles;
89
89
  }
90
- return (h("td", Object.assign({ key: 'b0d327adc0c9619af3a61343e229116d8f462c93' }, attrs), h("slot", { key: '06cb1436fea375aeded6ed127582976774661f68' })));
90
+ return (h("td", Object.assign({ key: 'dd15e98018e126db78124d0a36ecc3ada952cd7d' }, attrs), h("slot", { key: '34b37091089de46915e0947ed69800d81a45ba69' })));
91
91
  }
92
92
  static get is() { return "spw-table-cell"; }
93
93
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  export class SpwTableContainer {
3
3
  render() {
4
- return (h(Host, { key: 'a5803eebb686b9e1c9468bd86fb8e5df8f19b1b8' }, h("div", { key: '416427397e66484228354f651dbd82e7c61f6269', class: "spw-table-container" }, h("slot", { key: 'fba054a19a3d613df8f439b7fb78febf2a178b6f' }))));
4
+ return (h(Host, { key: 'ba32d8351f460f3eb7a5243f8b7a838afa85fe71' }, h("div", { key: '515717d2400c7aefb573e0e5f3b1f69be364c020', class: "spw-table-container" }, h("slot", { key: '8d168442cd75f0556cb369e382fde91d7ecb223d' }))));
5
5
  }
6
6
  static get is() { return "spw-table-container"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class SpwTableFooter {
3
3
  render() {
4
- return (h("div", { key: '92f118144c69b82db4ec2900c2249ea39c6dc19e', class: "spw-table-footer" }, h("slot", { key: '349546976cd454047bbaf008114c3b2d1f0ff251', name: "left" }), h("slot", { key: '0e47a990a5c9366354d30ebfbb80156fb2edff8e', name: "center" }), h("slot", { key: 'be21d0063070072a820c9ce061d75abb2cc99c0c', name: "right" })));
4
+ return (h("div", { key: '12ca1ccd23f29a2ff5ce4f83d5c95c144e3ed05b', class: "spw-table-footer" }, h("slot", { key: '1f0c922c3ebffeb4e03cc038ad9283531986ba7a', name: "left" }), h("slot", { key: 'b35dc377529b095c7aeb421d94b38386f7533567', name: "center" }), h("slot", { key: '668cab6205dcc48004e0e9a2ec2b1605ccfe26a2', name: "right" })));
5
5
  }
6
6
  static get is() { return "spw-table-footer"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class SpwTableHead {
3
3
  render() {
4
- return (h("thead", { key: 'f242ce7e1550c4a49580fa591b4a6c9b61a3193d', part: "thead" }, h("slot", { key: '25b91ffa697555d2f02a9211d81ef490572b2448' })));
4
+ return (h("thead", { key: 'd957840628bb81aefe0d028e2b87bcdcb70dbefb', part: "thead" }, h("slot", { key: '3d0d79e4b275b2ee7241e7d7f39d2fbb81041dd3' })));
5
5
  }
6
6
  static get is() { return "spw-table-head"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -65,10 +65,10 @@ export class SpwTableHeader {
65
65
  }
66
66
  attrs.style = stickyStyles;
67
67
  }
68
- return (h("th", Object.assign({ key: 'ce7cc74eed9c6938e861a8a0d655136d26a06aa7' }, attrs), h("div", { key: '083f10b3048ac936f2bb75880550093bd98c1155', class: {
68
+ return (h("th", Object.assign({ key: '49901ac1ee181ba20ed0a3034df8e66806ae1e54' }, attrs), h("div", { key: '340392945a5dd4d4c60ec8f0dd3b1e11190e106a', class: {
69
69
  'spw-table-header__content': true,
70
70
  'spw-table-header__content--is-sorted': this.isSorted,
71
- } }, h("slot", { key: '4613e31e43c8614664f44415ee08ac516dae162b' }), h("div", { key: '35472e4873913118019d977ce34f1712946b975d', class: "spw-table-header__icons" }, h("slot", { key: 'a7fba819781c4934f310957d4b45bef79b0f76ea', name: "filters" }), (this.tooltipTitle || this.tooltipText) && (h("spw-tooltip", { key: '5f3fc7ac464ff405e7cc806e7e5f05caadda089c', "tooltip-title": this.tooltipTitle, "tooltip-text": this.tooltipText }, h("spw-icon", { key: 'f5b37045e1747cad5a6ea2e7a1479959a67d7d37', variant: "fa-regular", icon: "fa-circle-question" }))), this.sortable && (h("spw-icon", { key: 'ee41a3e217eea013939681a48def032d6aebac45', class: "spw-table-header__sort-icon", icon: this.isSorted ? (this.sortDirection === 'asc' ? 'fa-arrow-up-short-wide' : 'fa-arrow-down-wide-short') : 'fa-arrow-up-arrow-down' }))))));
71
+ } }, h("slot", { key: '3cdadf97c4a97d6f7f1fe8778ef3509c761a15d2' }), h("div", { key: 'aad3d5b6d8465ca5cbec4fb056e70fbb99cbec9d', class: "spw-table-header__icons" }, h("slot", { key: '3775fb68e7a129db0c1bb6f021ca6ee475a0b8fb', name: "filters" }), (this.tooltipTitle || this.tooltipText) && (h("spw-tooltip", { key: '04a1b70d162ec187ead78f6ea90f4773dc605124', "tooltip-title": this.tooltipTitle, "tooltip-text": this.tooltipText }, h("spw-icon", { key: '724d62b0d6c8532bd50e486778ab5cc43c45ed19', variant: "fa-regular", icon: "fa-circle-question" }))), this.sortable && (h("spw-icon", { key: 'ff9ea419a7fe8f8fe10e8bafb67c20278fbf6c94', class: "spw-table-header__sort-icon", icon: this.isSorted ? (this.sortDirection === 'asc' ? 'fa-arrow-up-short-wide' : 'fa-arrow-down-wide-short') : 'fa-arrow-up-arrow-down' }))))));
72
72
  }
73
73
  static get is() { return "spw-table-header"; }
74
74
  static get encapsulation() { return "shadow"; }
@@ -49,7 +49,7 @@ export class SpwTableRow {
49
49
  };
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: 'd63972338e3a369fcf4283785dcb0a6c9a951bca', part: "row" }, h("tr", { key: 'b0360654aff1fa225205e1d14559d4c870ee2d4b', class: this.elementClass, part: "row" }, h("slot", { key: '2a13f9383b5edf0ba26e6666cb81f5c7cc1d38bb' }))));
52
+ return (h(Host, { key: '2e5b39c7bd307e27d424b9b7607fb42935e4498c', part: "row" }, h("tr", { key: '43ce9efb0946dc89c6bf783da7073406a6fd6b76', class: this.elementClass, part: "row" }, h("slot", { key: '16c69e9d52c86d0286ae3fc42d9c0abc5c339121' }))));
53
53
  }
54
54
  static get is() { return "spw-table-row"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -123,7 +123,7 @@ export class SpwTableSidebar {
123
123
  }
124
124
  render() {
125
125
  const style = Object.assign(Object.assign({}, (this.observedHeight !== undefined && { height: `${this.observedHeight}px` })), { '--spw-table-sidebar-width': `${this.sidebarWidth}px` });
126
- return (h(Host, { key: 'e4a9d1a354e32ef75efd8ef35f43c762b076e870', style: style, class: this.hostClass }, h("nav", { key: 'bb90239cc30b9eca49ebf0c894aa49e5b58c6aef', class: this.elementClass }, h("span", { key: '156cb5e97301822b609b589976cea3863fdb7b54', class: "spw-table-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: '8fc362d585fbcc5a5665794fea821cbcb96caaa7', icon: "fa-chevron-left" })), h("div", { key: '7482227bda0933747f31f9b22619ed38a6a3079f', class: "spw-table-sidebar__mini", onClick: this.toggleSidebar }, h("spw-icon", { key: '4a83771c96c9c27f23cb4b1679894875fd644530', icon: this.sidebarIcon, variant: "fa-regular" })), h("div", { key: '60bad1c24dee5c603ac3ec6fbe853ecced481cc2', class: "spw-table-sidebar__content" }, h("div", { key: '1a638e4991e67185a86417792f4454da4a145451', class: "spw-table-sidebar__header" }, h("span", { key: 'fc0f7b5a002d3fd73bd1a5991048c90dece45398', class: "spw-table-sidebar__header-title" }, h("spw-icon", { key: '86dae93102277fc63cc260f3d3d28fa538d07eb9', icon: this.sidebarIcon, variant: "fa-regular" }), " ", this.sidebarTitle), this.hasReset && (h("spw-button", { key: '97f4c00f9c1ca32d01292261c661134c7e86ee5a', class: "spw-table-sidebar__header-reset", onClick: this.handleReset, type: "button", variant: "secondary", size: "small", isIconOnly: true, icon: this.resetIcon }))), h("div", { key: '88281ad76c136273bde8e9ac8217503cfd10eaca', class: "spw-table-sidebar__scrollable-content" }, h("slot", { key: 'd37272c7272d51abe6c972882809bad6b4ffe7fd' })), h("div", { key: '65eb9775f2c0a53797ee59bda9a134e3551f6fd1', class: "spw-table-sidebar__footer" }, h("slot", { key: '62999f25d68bc356b3033c3bd4943d0a79611740', name: "sidebar-footer" }))))));
126
+ return (h(Host, { key: 'fb4374fe40ceeefaaf11ae09e93de670caded7c6', style: style, class: this.hostClass }, h("nav", { key: '11f9cf9fab69bd57a4d7580d4f3cdeb5c14a79c0', class: this.elementClass }, h("span", { key: '47b5f9bdf217683e357e04851bd5a01f7f600b32', class: "spw-table-sidebar__toggle", onClick: this.toggleSidebar, "aria-expanded": this.expanded.toString() }, h("spw-icon", { key: '3b837e3d4d2292218a4d5ea91f7ff2c3dc7c8552', icon: "fa-chevron-left" })), h("div", { key: 'd9a7679ed519a5734c89ee529b798b44a897badf', class: "spw-table-sidebar__mini", onClick: this.toggleSidebar }, h("spw-icon", { key: '6d21fbc9dcbd8aadbbaf44307b0fb6f1b7818410', icon: this.sidebarIcon, variant: "fa-regular" })), h("div", { key: '07eb451fd29dedf0c39bd9c5bb132968a184ced6', class: "spw-table-sidebar__content" }, h("div", { key: '43fd77c40dabedb907fd8cc936e97776f582164b', class: "spw-table-sidebar__header" }, h("span", { key: '0142aaa659a39687f7b3c6da39f01285c602b59d', class: "spw-table-sidebar__header-title" }, h("spw-icon", { key: '25b7139651b3832fab1543d43fe9252b1b316010', icon: this.sidebarIcon, variant: "fa-regular" }), " ", this.sidebarTitle), this.hasReset && (h("spw-button", { key: 'c03787c7c5faa815479b641715ce560db0fe3418', class: "spw-table-sidebar__header-reset", onClick: this.handleReset, type: "button", variant: "secondary", size: "small", isIconOnly: true, icon: this.resetIcon }))), h("div", { key: '66e976bf79f4cf19678b3f48c325ec6ca04d7ba2', class: "spw-table-sidebar__scrollable-content" }, h("slot", { key: '8eb07f0a9b371f6ee63663a30cff72be20967f1c' })), h("div", { key: '3c085ce9a9acef989a0b3d86759a0fa89c49469a', class: "spw-table-sidebar__footer" }, h("slot", { key: 'c7ad275117018bec8f1e42325d0335bf6d56b5d8', name: "sidebar-footer" }))))));
127
127
  }
128
128
  static get is() { return "spw-table-sidebar"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -102,7 +102,7 @@ export class SpwTabsNavigation {
102
102
  'spw-tabs-navigation__list--vertical-on-mobile': this.isVerticalOnMobile,
103
103
  'spw-tabs-navigation__list--centered': this.isCentered && !this.hasOverflow,
104
104
  };
105
- return (h("div", { key: '08654a87ffbca2483e7ba8d06e66c3acfa7451af', class: containerClass }, this.showLeftArrow && (h("button", { key: 'd65d96c9cea2f377c3c3a87c97a86c6de5a49657', class: "spw-tabs-navigation__arrow spw-tabs-navigation__arrow--left", onClick: this.scrollLeft, "aria-label": "Faire d\u00E9filer vers la gauche" }, h("spw-icon", { key: '8796f9bdb3b676075019cb5394405e93b59ceb5d', icon: "fa-chevron-left" }))), h("nav", { key: '695e3d495ad17b0b04f54b2f6129839dc534647d', class: navClass, "aria-label": this.accAriaLabel || 'Navigation' }, h("ul", { key: 'f09a3444ba343b2276ed776bcc7c9afec626b5c7', class: listClass, role: "tablist", ref: el => (this.ulElement = el), onScroll: this.handleScroll }, h("slot", { key: 'df732f63ab39e30a6c4674d7e5314636b49976ae' }))), this.showRightArrow && (h("button", { key: '0e7cae5c151ecbdb30054da1bcd94481305e7101', class: "spw-tabs-navigation__arrow spw-tabs-navigation__arrow--right", onClick: this.scrollRight, "aria-label": "Faire d\u00E9filer vers la droite" }, h("spw-icon", { key: '306b468cbc6a1befd79db4e44b4e92bffe8573ad', icon: "fa-chevron-right" })))));
105
+ return (h("div", { key: '2b227b9d3edc52fe3cd7358e8e1b0269863c07d5', class: containerClass }, this.showLeftArrow && (h("button", { key: '6ffc6f975492936714466215e27519ff3137261b', class: "spw-tabs-navigation__arrow spw-tabs-navigation__arrow--left", onClick: this.scrollLeft, "aria-label": "Faire d\u00E9filer vers la gauche" }, h("spw-icon", { key: 'c3609240c389f9f480c79d956b894f433e66a0bd', icon: "fa-chevron-left" }))), h("nav", { key: '85918963ae8cffb79eb21467e54bcda93afb27cb', class: navClass, "aria-label": this.accAriaLabel || 'Navigation' }, h("ul", { key: '36f65c10bcbc0c52095c8491a37fd6bcd6199492', class: listClass, role: "tablist", ref: el => (this.ulElement = el), onScroll: this.handleScroll }, h("slot", { key: '9c0ad17537706fbee2a6158e014593cc6f26b17e' }))), this.showRightArrow && (h("button", { key: '95a250291a6d6586331bc8fd90f6bd011b05f949', class: "spw-tabs-navigation__arrow spw-tabs-navigation__arrow--right", onClick: this.scrollRight, "aria-label": "Faire d\u00E9filer vers la droite" }, h("spw-icon", { key: '6d8646a6d37e816fdfd8a278b5794de3da5f5068', icon: "fa-chevron-right" })))));
106
106
  }
107
107
  static get is() { return "spw-tabs-navigation"; }
108
108
  static get encapsulation() { return "shadow"; }
@@ -63,7 +63,7 @@ export class SpwTabsNavigationItem {
63
63
  const iconClass = `spw-icon--${iconPosition}`;
64
64
  const iconElement = this.icon ? h("spw-icon", { class: iconClass, icon: this.icon }) : null;
65
65
  const tagElement = this.tagText ? (h("spw-tag", { size: "small", "has-icon": this.tagIcon ? 'true' : 'false', variant: this.tagVariant }, this.tagText)) : null;
66
- return (h(Host, { key: '8a6ab7177120da7cfeaa6df17b4702b77280158c', class: this.active ? '--active' : '' }, h("li", { key: '059aa9439e4782abbfcf1be19bd643507e38597f', id: `tab-${this.tabId}`, role: "tab", "aria-selected": this.active ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.accAriaLabel || this.slotText, onKeyDown: this.handleKeyDown, tabIndex: this.disabled ? -1 : 0, class: this.elementClass, onClick: this.handleClick }, this.hasEllipsis && (h("spw-tooltip", { key: 'a409e234a4fae3f7d1f4fd4d1e11dfc374021afe', cursor: this.disabled ? 'disabled' : 'pointer', class: "spw-tooltip--has-ellipsis", tooltipText: this.slotText }, iconPosition === 'left' && iconElement, h("slot", { key: 'e517fa9a8a021881b97ce9503a1e8ea63dc2257a' }), iconPosition === 'right' && iconElement, tagElement)), !this.hasEllipsis && (h(Fragment, { key: '99b80b94b52376f53e0d52e25d574280a290cd1d' }, iconPosition === 'left' && iconElement, h("slot", { key: 'ea54c06d2b5be6190bd8118d8168a95c7a6099fc' }), iconPosition === 'right' && iconElement, tagElement)), ' ', this.bubble && h("span", { key: '5445b05a864444ca81bc825ee52d4727b8c760ee', class: "bubble" }))));
66
+ return (h(Host, { key: '3a8f8534ca1682b8e171f8c19e4db53ce29bd0c4', class: this.active ? '--active' : '' }, h("li", { key: '2e12362ae8375e351c93d53c0f3c37e32e96bf11', id: `tab-${this.tabId}`, role: "tab", "aria-selected": this.active ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.accAriaLabel || this.slotText, onKeyDown: this.handleKeyDown, tabIndex: this.disabled ? -1 : 0, class: this.elementClass, onClick: this.handleClick }, this.hasEllipsis && (h("spw-tooltip", { key: 'c212ddbc7e42daee44b30b4b4859c474cfb9938f', cursor: this.disabled ? 'disabled' : 'pointer', class: "spw-tooltip--has-ellipsis", tooltipText: this.slotText }, iconPosition === 'left' && iconElement, h("slot", { key: 'c28046baad6d3160d1bc9dc8fb9258c76432562c' }), iconPosition === 'right' && iconElement, tagElement)), !this.hasEllipsis && (h(Fragment, { key: '8ad13772538c74b690e78da8aa114c179be1d05c' }, iconPosition === 'left' && iconElement, h("slot", { key: 'ea83c3dbb8587ecdebad8f1fa81894a535491c2d' }), iconPosition === 'right' && iconElement, tagElement)), ' ', this.bubble && h("span", { key: '28d465f9942b8207263057e53f9ed0f277a9ab99', class: "bubble" }))));
67
67
  }
68
68
  static get is() { return "spw-tabs-navigation-item"; }
69
69
  static get encapsulation() { return "shadow"; }
@@ -167,7 +167,7 @@ export class SpwTabs {
167
167
  };
168
168
  }
169
169
  render() {
170
- return (h("div", { key: '7e118680d9abcc148c3ec800194d3ce8a18f4178', class: this.elementClass }, h("slot", { key: '7a5c3ecbbf5673b04c892e9acf9e9d472e50e0ee', name: "navigation" }), h("slot", { key: '9bb53a4d2111087ce6fe378861ead015bfcb525f', name: "content" })));
170
+ return (h("div", { key: '3bfb6a6bea5d4ebc4bc2cec369756414c4d94056', class: this.elementClass }, h("slot", { key: '1b73931774867138ceb9bebb0fb5e56b0a0483c6', name: "navigation" }), h("slot", { key: '229876d6e286f1bf7de291dfd41122ca067de57e', name: "content" })));
171
171
  }
172
172
  static get is() { return "spw-tabs"; }
173
173
  static get encapsulation() { return "shadow"; }
@@ -49,7 +49,7 @@ export class SpwTag {
49
49
  };
50
50
  const iconToDisplay = this.icon || this.getIcon(this.variant);
51
51
  const iconElement = this.hasIcon ? h("spw-icon", { variant: this.iconVariant, icon: iconToDisplay }) : null;
52
- return (h(Host, { key: 'b3d137d06f23bbc00e32c2b4f4d0d80872f0bd0f' }, h(TagType, Object.assign({ key: '856fc1cf018cb5b81bb75486aa0504436d80d16e' }, attrs, { class: this.elementClass }), this.iconPosition === 'left' && iconElement, h("slot", { key: 'e3565bbe9c857973b4dcbd6aad56ad10a3558bb2' }), this.iconPosition === 'right' && iconElement)));
52
+ return (h(Host, { key: '4a6158008a587e4a6c534634df08be0c63b98e4b' }, h(TagType, Object.assign({ key: 'bd12d6475acbac06d2f5dfdd87aeb2a15b540ff1' }, attrs, { class: this.elementClass }), this.iconPosition === 'left' && iconElement, h("slot", { key: '195ff4cda1e6e74eab0a3a46d4a04bdbf101da96' }), this.iconPosition === 'right' && iconElement)));
53
53
  }
54
54
  static get is() { return "spw-tag"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -582,6 +582,12 @@ template {
582
582
  height: 60px;
583
583
  font-size: 18px;
584
584
  }
585
+ .spw-text-field--disabled .spw-text-field__number-btn {
586
+ border-color: var(--spw-color-themes-grey-grey-400);
587
+ }
588
+ .spw-text-field--is-error .spw-text-field__number-btn {
589
+ border-color: var(--spw-colors-states-error-error-300);
590
+ }
585
591
  .spw-text-field--has-controls .spw-text-field__input {
586
592
  border-radius: 0;
587
593
  border-left: none;
@@ -282,7 +282,7 @@ export class SpwTextField {
282
282
  };
283
283
  }
284
284
  render() {
285
- return (h("div", { key: '5869c33237fa6f602e1e14952e5907c84f033cc3', class: this.elementClass }, this.label && (h("spw-field-label", { key: '45aa105846bb5e410ed0c6eed3d7b885c85e2e80', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '2291b70d8173c62784789acfc3fe33444f537a71', class: "spw-text-field__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: 'd94f8a1a1330ac41e5005f39e6895a73758db0a9', class: "spw-text-field__container" }, this.type === 'number' && this.hasControls && (h("button", { key: '22f2bf66c017b29250754153a1fe1c92c974e392', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--decrement", onClick: () => this.decrement(), disabled: this.disabled || (this.min != null && Number(this.value) <= this.min), "aria-label": this.accAriaLabelDecrement }, h("spw-icon", { key: '0b4e07fe06704629a758657b71ef05a97192579b', icon: "fa-minus" }))), h("div", { key: 'a68d68dbca4b903824d9e3c281865288ac1e964c', class: "spw-text-field__input-container" }, h("input", { key: 'f5bd3a5e1995dbb1a6fa35b09e1b6f22683ff710', class: "spw-text-field__input", ref: el => (this.inputElement = el), type: this.type === 'number' && (this.decimalPrecision != null || this.mask != null) ? 'text' : this.type, inputMode: this.type === 'number' && (this.decimalPrecision != null || this.mask != null) ? 'decimal' : undefined, min: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.min : undefined, max: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.max : undefined, step: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.step : undefined, placeholder: this.placeholder, "aria-label": this.accAriaLabel || this.name, disabled: this.disabled, name: this.name, id: this.name, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleInput(event), onKeyDown: event => this.handleKeyDown(event) }), (this.isSearch || this.isClearIconVisible) && (h("div", { key: 'd6b12c440ed633c0f332a7f8fb4a241fca505016', class: "spw-text-field__icons" }, this.isClearIconVisible && (h("span", { key: '98a87e1ce6d02571796116aa7588378a0c34eebb', class: "spw-text-field__clear", onClick: () => this.handleClear() }, h("spw-icon", { key: '2a4b6cebc5fe099e3d5375d308332267d86dec59', class: "spw-text-field__icon spw-text-field__icon--clear", icon: "fa-xmark" }))), this.isSearch && !this.hasSubmitButton && h("spw-icon", { key: '5e3838098d4bd150306215ce71d247d48e611a01', class: "spw-text-field__icon spw-text-field__icon--search", icon: "fa-magnifying-glass" }), this.hasSubmitButton && (h("button", { key: 'd1bbf030d7769d8afa31e43b2c2d5769f7588c55', type: "button", class: "spw-text-field__submit", onClick: () => this.handleSubmit(), "aria-label": "Rechercher" }, h("spw-icon", { key: '790f1e3032a95b06de87d6deb9c77adf0fb69ad7', icon: "fa-magnifying-glass" })))))), this.type === 'number' && this.hasControls && (h("button", { key: '47baef8589df4aa6e6d065f19d7d3732bb49ed75', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--increment", onClick: () => this.increment(), disabled: this.disabled || (this.max != null && Number(this.value) >= this.max), "aria-label": this.accAriaLabelIncrement }, h("spw-icon", { key: 'c4b681cca4a413ddf96171b5dd2d3eaf7aa80c47', icon: "fa-plus" }))), this.indicator && h("div", { key: 'e66969d09f31e4a15139ff02d721a4e4827d6dc9', class: "spw-text-field__indicator" }, this.indicator)), this.renderErrorMessage(), this.renderHintMessage(), this.renderSuccessMessage(), this.renderWarningMessage()));
285
+ return (h("div", { key: 'e4bd9a7658360bb809fea011c1be848d410fd4ac', class: this.elementClass }, this.label && (h("spw-field-label", { key: '966ebc8ec9fc846bb3bbddd5872ea9dadf57f559', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '89cda5a205c9e6ebbc559e244df8b2f09af824a6', class: "spw-text-field__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: 'b9117308948f17fef393c1342e02b838cbb8d1f3', class: "spw-text-field__container" }, this.type === 'number' && this.hasControls && (h("button", { key: '3e9e5115840166cf7d725f6be9353d820ab49752', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--decrement", onClick: () => this.decrement(), disabled: this.disabled || (this.min != null && Number(this.value) <= this.min), "aria-label": this.accAriaLabelDecrement }, h("spw-icon", { key: 'cccf7aa4bce081ed985bd29a90d9d9f0fcd7df87', icon: "fa-minus" }))), h("div", { key: 'ce2962bd886e188465abfb7e882ca1e6bebc1844', class: "spw-text-field__input-container" }, h("input", { key: '9266a73c59ff0625e9bb444af04f1966ae3295bf', class: "spw-text-field__input", ref: el => (this.inputElement = el), type: this.type === 'number' && (this.decimalPrecision != null || this.mask != null) ? 'text' : this.type, inputMode: this.type === 'number' && (this.decimalPrecision != null || this.mask != null) ? 'decimal' : undefined, min: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.min : undefined, max: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.max : undefined, step: this.type === 'number' && this.decimalPrecision == null && this.mask == null ? this.step : undefined, placeholder: this.placeholder, "aria-label": this.accAriaLabel || this.name, disabled: this.disabled, name: this.name, id: this.name, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleInput(event), onKeyDown: event => this.handleKeyDown(event) }), (this.isSearch || this.isClearIconVisible) && (h("div", { key: '2e0e41f825ef7b54057e9f8eac56dbbd1692b0eb', class: "spw-text-field__icons" }, this.isClearIconVisible && (h("span", { key: '8c289f6d07ab2a494b8379bb4dd96b7913b636dc', class: "spw-text-field__clear", onClick: () => this.handleClear() }, h("spw-icon", { key: '45cee755cd23114506a58e6ed8f84547e6531a47', class: "spw-text-field__icon spw-text-field__icon--clear", icon: "fa-xmark" }))), this.isSearch && !this.hasSubmitButton && h("spw-icon", { key: '6e50f234680a9b77143dbd8d247afab10b262976', class: "spw-text-field__icon spw-text-field__icon--search", icon: "fa-magnifying-glass" }), this.hasSubmitButton && (h("button", { key: '4fbcdab588dce86c0498badad56cd378cf1bede5', type: "button", class: "spw-text-field__submit", onClick: () => this.handleSubmit(), "aria-label": "Rechercher" }, h("spw-icon", { key: '9d0df46e6f24a1c321ccdd9dd883e18907241017', icon: "fa-magnifying-glass" })))))), this.type === 'number' && this.hasControls && (h("button", { key: '415467e32e7940ccdb3c79b6eac874e1a249c977', type: "button", class: "spw-text-field__number-btn spw-text-field__number-btn--increment", onClick: () => this.increment(), disabled: this.disabled || (this.max != null && Number(this.value) >= this.max), "aria-label": this.accAriaLabelIncrement }, h("spw-icon", { key: 'f854ab9b9b580b0e995991d5ae8dfaa4e1258caa', icon: "fa-plus" }))), this.indicator && h("div", { key: '23924b26b55b036341038b3a6dd18df9fd3d650e', class: "spw-text-field__indicator" }, this.indicator)), this.renderErrorMessage(), this.renderHintMessage(), this.renderSuccessMessage(), this.renderWarningMessage()));
286
286
  }
287
287
  static get is() { return "spw-text-field"; }
288
288
  static get encapsulation() { return "shadow"; }
@@ -97,7 +97,7 @@ export class SpwTextarea {
97
97
  };
98
98
  }
99
99
  render() {
100
- return (h("div", { key: '83625aa979ac1eb4d28c656dad54b105ff481be7', class: this.elementClass }, this.label && (h("spw-field-label", { key: 'f0783d52a5ff1b3972588672314c117bdf3e5396', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: 'a914637fb2443731874d2d924e93812d131be6b3', class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: '6493f6c3a7ac951bd0ab0d921297edd6188ad250', class: "spw-textarea__container" }, h("textarea", { key: '53a1ee705c79dfb677088ae6dbacdd74bcf51ae9', class: "spw-textarea__input", ref: el => (this.textareaElement = el), value: this.internalValue, placeholder: this.placeholder, disabled: this.disabled, name: this.name, id: this.name, rows: this.rows, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleChange(event) })), this.renderErrorMessage(), this.renderHintMessage(), this.renderSuccessMessage(), this.renderWarningMessage()));
100
+ return (h("div", { key: '5b930e7ce813970305f482400ba5c86b09bbe3b7', class: this.elementClass }, this.label && (h("spw-field-label", { key: '88877f24e5a0835dc4c06eb7cc44b64c35870566', label: this.label, name: this.name, required: this.required, tooltipTitle: this.tooltipTitle, tooltipText: this.tooltipText, tooltipMaxWidth: this.tooltipMaxWidth, tooltipDirection: this.tooltipDirection, tooltipCursor: this.tooltipCursor })), this.assistiveText && (h("spw-field-message", { key: '311d473c1a77c266aa473ade76168b83a61fbc65', class: "spw-textarea__field-message", variant: "hint", showIcon: false }, this.assistiveText)), h("div", { key: 'cdade3d3b5dde315863a4d51a99904b1a4c4e17c', class: "spw-textarea__container" }, h("textarea", { key: '1ea8a011713f49a21d6f452acb5024899471756a', class: "spw-textarea__input", ref: el => (this.textareaElement = el), value: this.internalValue, placeholder: this.placeholder, disabled: this.disabled, name: this.name, id: this.name, rows: this.rows, minLength: this.minLength, maxLength: this.maxLength, required: this.required, onInput: event => this.handleChange(event) })), this.renderErrorMessage(), this.renderHintMessage(), this.renderSuccessMessage(), this.renderWarningMessage()));
101
101
  }
102
102
  static get is() { return "spw-textarea"; }
103
103
  static get encapsulation() { return "shadow"; }
@@ -24,7 +24,7 @@ export class SpwThemeProvider {
24
24
  document.documentElement.setAttribute('data-theme', theme);
25
25
  }
26
26
  render() {
27
- return (h("main", { key: 'f3b357211e37d7e3442e042ef33068df5b2683e2', class: `spw-theme-${this.theme}` }, h("slot", { key: 'e6bdb0c0710b6441b35f705888656aa2a4c53e4b' })));
27
+ return (h("main", { key: '0285afd390f8bd53ce43e58ff0982acf2bfb2de0', class: `spw-theme-${this.theme}` }, h("slot", { key: '0ae37393d3ebfad492887fa1979e21123363db79' })));
28
28
  }
29
29
  static get is() { return "spw-theme-provider"; }
30
30
  static get properties() {
@@ -362,6 +362,40 @@ template {
362
362
 
363
363
  :host {
364
364
  display: block;
365
+ overflow: hidden;
366
+ }
367
+
368
+ :host(.--light),
369
+ :host(.--big) {
370
+ margin-top: 6px;
371
+ }
372
+
373
+ @media (max-width: 1023px) {
374
+ :host(.--reveal-on-hover) {
375
+ display: none;
376
+ }
377
+ }
378
+ @media (min-width: 1024px) {
379
+ :host(.--reveal-on-hover) {
380
+ display: grid;
381
+ grid-template-rows: 0fr;
382
+ margin-top: 0;
383
+ opacity: 0;
384
+ transition: grid-template-rows 0.25s ease-in, margin-top 0.25s ease-in, opacity 0.35s 0.05s ease-in;
385
+ }
386
+ }
387
+
388
+ @media (min-width: 1024px) {
389
+ :host(.--reveal-on-hover.--revealed) {
390
+ grid-template-rows: 1fr;
391
+ margin-top: 6px;
392
+ opacity: 1;
393
+ }
394
+ }
395
+
396
+ :host(.--reveal-on-hover) .spw-tile-description {
397
+ min-height: 0;
398
+ overflow: hidden;
365
399
  }
366
400
 
367
401
  :host(.--icon) .spw-tile-description {
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class SpwTileDescription {
3
3
  render() {
4
- return (h("div", { key: '10111f6125a54c499de83df1059af7068196fb91', class: "spw-tile-description" }, h("slot", { key: 'c496445be46a2b21a053d1cba9d3cda1996d0bac' })));
4
+ return (h("div", { key: '3d9b003f759787e34582178117a40aa86beb62d5', class: "spw-tile-description" }, h("slot", { key: '5ad0c5d8d9d9e776cff00017784bde5b59502d1e' })));
5
5
  }
6
6
  static get is() { return "spw-tile-description"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class SpwTileTitle {
3
3
  render() {
4
- return (h("h3", { key: 'f99caa90ebcbb8e1cc6523a5d78b6bd549bd3b78', class: "spw-tile-title" }, h("slot", { key: '553527800ce162bc3d7d7350f47784d0bf80ca1d' })));
4
+ return (h("h3", { key: 'ae2f43d85a1b248315b0866d301c30bfb3e3adc2', class: "spw-tile-title" }, h("slot", { key: '97d54e933b52987434a5bc3c5efd535cfcbefc86' })));
5
5
  }
6
6
  static get is() { return "spw-tile-title"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -415,9 +415,6 @@ template {
415
415
  height: 100%;
416
416
  z-index: 2;
417
417
  }
418
- .spw-tile--big:hover:before, .spw-tile--light:hover:before {
419
- opacity: 0.3;
420
- }
421
418
  .spw-tile__overlay, .spw-tile__image {
422
419
  position: absolute;
423
420
  width: 100%;
@@ -427,55 +424,68 @@ template {
427
424
  }
428
425
  .spw-tile__overlay {
429
426
  z-index: 2;
430
- background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0.75) 100%);
427
+ height: calc(100% + 48px);
428
+ bottom: 0;
429
+ top: auto;
430
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--shades-alpha-dark-alpha-dark-alpha-900, rgba(0, 0, 0, 0.87)) 100%);
431
431
  }
432
432
  .spw-tile__image {
433
433
  z-index: 1;
434
434
  object-fit: cover;
435
435
  }
436
436
  .spw-tile__button {
437
- background: white;
437
+ position: absolute;
438
+ bottom: 24px;
439
+ right: 24px;
440
+ background: transparent;
438
441
  width: 48px;
439
442
  height: 48px;
440
443
  display: inline-flex;
441
444
  align-items: center;
442
445
  justify-content: center;
443
- color: var(--spw-ds-primary);
446
+ color: white;
444
447
  border-radius: 50%;
445
448
  transition: all 0.2s ease-in;
446
- border: 2px solid transparent;
449
+ border: 3px solid white;
447
450
  font-size: 20px;
448
451
  margin-top: 12px;
452
+ z-index: 2;
449
453
  }
450
454
  .spw-tile:hover .spw-tile__button {
451
- border-color: white;
452
- color: white;
453
- background: transparent;
455
+ background: rgba(0, 0, 0, 0.5);
454
456
  }
455
457
 
456
- .spw-tile--icon .spw-tile__content {
457
- display: flex;
458
- flex-direction: column;
459
- gap: 12px;
460
- padding: 0 12px;
461
- text-align: center;
462
- }
463
- .spw-tile--icon .spw-tile__content ::slotted(spw-icon) {
464
- font-size: 32px;
465
- color: var(--spw-ds-primary);
466
- }
467
458
  .spw-tile--light .spw-tile__content, .spw-tile--big .spw-tile__content {
468
459
  position: absolute;
469
460
  z-index: 3;
470
461
  display: flex;
471
462
  flex-direction: column;
472
- gap: 6px;
463
+ gap: 0;
473
464
  padding: 24px;
474
465
  bottom: 0;
475
466
  left: 0;
476
467
  width: 100%;
477
468
  }
469
+ .spw-tile--big.spw-tile--hoverable .spw-tile__content {
470
+ padding-right: 84px;
471
+ }
478
472
  .spw-tile--light .spw-tile__content {
479
473
  text-align: center;
480
474
  padding-bottom: 24px;
475
+ }
476
+ .spw-tile__content-inner {
477
+ position: relative;
478
+ z-index: 3;
479
+ flex: 1;
480
+ }
481
+ .spw-tile--icon .spw-tile__content-inner {
482
+ display: flex;
483
+ flex-direction: column;
484
+ gap: 12px;
485
+ padding: 0 12px;
486
+ text-align: center;
487
+ }
488
+ .spw-tile--icon .spw-tile__content-inner ::slotted(spw-icon) {
489
+ font-size: 32px;
490
+ color: var(--spw-ds-primary);
481
491
  }
@@ -9,23 +9,24 @@ export class SpwTile {
9
9
  this.target = '_self';
10
10
  /** Texte alternatif de l'image de fond */
11
11
  this.imageAlt = '';
12
- /** Opacité de l'overlay (valeur entre 0 et 100) */
13
- this.overlayOpacity = 100;
12
+ /** Masque la spw-tile-description et la révèle au hover (uniquement pour la variante light et big - masquée en mobile) */
13
+ this.revealDescription = true;
14
14
  }
15
- componentWillLoad() {
15
+ componentDidLoad() {
16
16
  this.applyVariantToChildren();
17
17
  }
18
18
  slotChanged() {
19
19
  this.applyVariantToChildren();
20
20
  }
21
21
  applyVariantToChildren() {
22
- requestAnimationFrame(() => {
23
- const variantClass = `--${this.variant}`;
24
- const titleElement = this.el.querySelector('spw-tile-title');
25
- const descriptionElement = this.el.querySelector('spw-tile-description');
26
- titleElement && titleElement.classList.add(variantClass);
27
- descriptionElement && descriptionElement.classList.add(variantClass);
28
- });
22
+ const variantClass = `--${this.variant}`;
23
+ const titleElement = this.el.querySelector('spw-tile-title');
24
+ const descriptionElement = this.el.querySelector('spw-tile-description');
25
+ titleElement && titleElement.classList.add(variantClass);
26
+ if (descriptionElement) {
27
+ descriptionElement.classList.add(variantClass);
28
+ descriptionElement.classList.toggle('--reveal-on-hover', this.revealDescription && (this.variant === 'light' || this.variant === 'big'));
29
+ }
29
30
  }
30
31
  get elementClass() {
31
32
  return {
@@ -33,6 +34,7 @@ export class SpwTile {
33
34
  'spw-tile--hoverable': !!this.href,
34
35
  [`spw-tile--${this.variant}`]: true,
35
36
  [`spw-tile--height-${this.height}`]: true,
37
+ 'spw-tile--reveal-description': this.revealDescription && (this.variant === 'light' || this.variant === 'big'),
36
38
  };
37
39
  }
38
40
  onMouseEnter() {
@@ -46,6 +48,10 @@ export class SpwTile {
46
48
  if (titleElement && this.href) {
47
49
  titleElement.classList.toggle('--hovered', isHovered);
48
50
  }
51
+ const descriptionElement = this.el.querySelector('spw-tile-description');
52
+ if (descriptionElement && this.revealDescription && (this.variant === 'light' || this.variant === 'big')) {
53
+ descriptionElement.classList.toggle('--revealed', isHovered);
54
+ }
49
55
  }
50
56
  render() {
51
57
  const { href, target } = this;
@@ -56,7 +62,7 @@ export class SpwTile {
56
62
  href,
57
63
  target,
58
64
  };
59
- return (h(Host, { key: '89a1d7890f33b4277fe290561b4478b283532c2c' }, h(TagType, Object.assign({ key: '23faf83b253d66ba49ca510a3a46eace74fa52fa' }, attrs, { class: this.elementClass }), this.imageSrc && (this.variant === 'big' || this.variant === 'light') && (h(Fragment, { key: 'ef2de37dddbed6327ccbfe8477b4c9d298e30004' }, h("div", { key: 'ec4a36c628552e8e98a01e35eea34d7a79e75767', class: "spw-tile__overlay", style: { opacity: `${this.overlayOpacity / 100}` } }), h("img", { key: 'ef410c766d41b6e441b0005324a0c5adf1323ff7', src: this.imageSrc, alt: this.imageAlt, class: "spw-tile__image" }))), h("div", { key: 'e23849e31aec483c8ad27b2bf06bc87cfbdb1b5c', class: "spw-tile__content" }, h("slot", { key: 'ff78c1e5b5547cf69ac606a1408d06ead6b3998e' }), this.href && this.variant === 'big' && (h("span", { key: '2a16455c519cd52fd95697392bab1f2bd6f7bc23', class: "spw-tile__button" }, h("spw-icon", { key: 'fa1aca41ab16723c6a8f3bca5d1cbed78b8f56d1', icon: "fa-chevron-right" })))))));
65
+ return (h(Host, { key: 'cf901f3325453adb4fe130b1d0d3bc9dfa78a323' }, h(TagType, Object.assign({ key: 'f37a6ad65125bb464e3a366760c1bd7850fa3023' }, attrs, { class: this.elementClass }), this.imageSrc && (this.variant === 'big' || this.variant === 'light') && (h(Fragment, { key: '3bbb2140643181cf6d98ae87583572994b38463b' }, h("img", { key: '8fd96171e647c8ec905955755175d135406f0b50', src: this.imageSrc, alt: this.imageAlt, class: "spw-tile__image" }))), h("div", { key: '4749a5833581683cb77c175cbec538293b789dd7', class: "spw-tile__content" }, (this.variant === 'big' || this.variant === 'light') && h("div", { key: 'c84b7a75688366c2e61e9aeb67194c64bd447705', class: "spw-tile__overlay" }), h("div", { key: '445985aa0760b2fbc60081c788005b0abfe9bf23', class: "spw-tile__content-inner" }, h("slot", { key: '3f5241b7be0673970e1a044d23817141a6091c73' })), this.href && this.variant === 'big' && (h("span", { key: '3f0a6cd4f1bdea9bbec8708ac86f5d4e895eac59', class: "spw-tile__button" }, h("spw-icon", { key: '1555a4b7c7087b1a177a07d265facfb9fcf37f6d', icon: "fa-chevron-right" })))))));
60
66
  }
61
67
  static get is() { return "spw-tile"; }
62
68
  static get encapsulation() { return "shadow"; }
@@ -190,25 +196,25 @@ export class SpwTile {
190
196
  "attribute": "image-alt",
191
197
  "defaultValue": "''"
192
198
  },
193
- "overlayOpacity": {
194
- "type": "number",
199
+ "revealDescription": {
200
+ "type": "boolean",
195
201
  "mutable": false,
196
202
  "complexType": {
197
- "original": "number",
198
- "resolved": "number",
203
+ "original": "boolean",
204
+ "resolved": "boolean",
199
205
  "references": {}
200
206
  },
201
207
  "required": false,
202
208
  "optional": true,
203
209
  "docs": {
204
210
  "tags": [],
205
- "text": "Opacit\u00E9 de l'overlay (valeur entre 0 et 100)"
211
+ "text": "Masque la spw-tile-description et la r\u00E9v\u00E8le au hover (uniquement pour la variante light et big - masqu\u00E9e en mobile)"
206
212
  },
207
213
  "getter": false,
208
214
  "setter": false,
209
215
  "reflect": false,
210
- "attribute": "overlay-opacity",
211
- "defaultValue": "100"
216
+ "attribute": "reveal-description",
217
+ "defaultValue": "true"
212
218
  }
213
219
  };
214
220
  }
@@ -55,10 +55,10 @@ export class SpwTimelineItem {
55
55
  }
56
56
  render() {
57
57
  const showConnector = this.isLast === 'false';
58
- return (h(Host, { key: '3411a4dad7b254fb64ec6e495cddfb0a3e96bf12' }, h("div", { key: '17add3871d75777fb208e0460cefd44bd438ac70', class: this.elementClass }, h("div", { key: 'f0e0bdc7bca68101f84517cfa8acc81cbee5a708', class: "spw-timeline-item__step" }, h("div", { key: '7b240a6afcc7370957cb68fd2415d723e117faa7', class: "spw-timeline-item__icon" }), showConnector && h("div", { key: 'ad54ebc763fbc4a22de6609545086e13a1721e4c', class: "spw-timeline-item__connector" })), h("div", { key: '07b50deacbe371184a7be1d75b234b11e91d4501', class: "spw-timeline-item__content" }, this.renderLabel(), this.description && (h("div", { key: 'e09d96371e0ea9db29d5cd4c4485bd9902246a84', class: "spw-timeline-item__description-wrapper" }, h("div", { key: 'ec9797e7065e7f23915e4364f95e7ced7411ca3d', ref: el => (this.descriptionRef = el), class: {
58
+ return (h(Host, { key: 'bed06990940bf27088d30acf046c7898b36d1867' }, h("div", { key: 'e0097fb58a7e949b624a3f849772c77452ff23e9', class: this.elementClass }, h("div", { key: '650e758e17174fe9616e65f9988cd5da2b57a403', class: "spw-timeline-item__step" }, h("div", { key: '531e0380dbabbee8106a08c12e68e7404860316b', class: "spw-timeline-item__icon" }), showConnector && h("div", { key: '51ecd63ea9e2dc2240c8a5a42a2cf0d53b1d5f1f', class: "spw-timeline-item__connector" })), h("div", { key: '7f3da2d7a0ee388eddcfefc8c1b57079c7968097', class: "spw-timeline-item__content" }, this.renderLabel(), this.description && (h("div", { key: 'a608d47b21e8e07f1ae10c63424c534dafc50a91', class: "spw-timeline-item__description-wrapper" }, h("div", { key: 'fdec9cbc5f723358d6244ae351e886e7a173371e', ref: el => (this.descriptionRef = el), class: {
59
59
  'spw-timeline-item__description': true,
60
60
  'spw-timeline-item__description--collapsed': !this.isDescriptionExpanded,
61
- } }, this.description))), h("slot", { key: 'fe602e230db5f2efebe1700db6f0481d288b6a7d' })))));
61
+ } }, this.description))), h("slot", { key: '0f999df3ae5f72eb9aa2e2933bb8f5a897983d62' })))));
62
62
  }
63
63
  static get is() { return "spw-timeline-item"; }
64
64
  static get encapsulation() { return "shadow"; }