@spw-ds/spw-stencil-library 1.2.6 → 1.2.7

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 (458) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/spw-button.spw-loading.entry.cjs.js.map +1 -1
  3. package/dist/cjs/spw-button_2.cjs.entry.js +2 -2
  4. package/dist/cjs/spw-button_2.cjs.entry.js.map +1 -1
  5. package/dist/cjs/spw-field-label.spw-group.spw-icon.spw-link.spw-separator.spw-theme-provider.entry.cjs.js.map +1 -1
  6. package/dist/cjs/spw-field-label_6.cjs.entry.js +5 -5
  7. package/dist/cjs/spw-field-label_6.cjs.entry.js.map +1 -1
  8. package/dist/cjs/spw-grid-item.cjs.entry.js +29 -0
  9. package/dist/cjs/spw-grid-item.cjs.entry.js.map +1 -0
  10. package/dist/cjs/spw-grid-item.entry.cjs.js.map +1 -0
  11. package/dist/cjs/spw-grid.cjs.entry.js +54 -0
  12. package/dist/cjs/spw-grid.cjs.entry.js.map +1 -0
  13. package/dist/cjs/spw-grid.entry.cjs.js.map +1 -0
  14. package/dist/cjs/spw-header-lang-item.cjs.entry.js +1 -1
  15. package/dist/cjs/spw-header-lang.cjs.entry.js +1 -1
  16. package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +1 -1
  17. package/dist/cjs/spw-header-navigation-item.cjs.entry.js +1 -1
  18. package/dist/cjs/spw-header-navigation.cjs.entry.js +1 -1
  19. package/dist/cjs/spw-header-persona-item.cjs.entry.js +1 -1
  20. package/dist/cjs/spw-header-persona.cjs.entry.js +1 -1
  21. package/dist/cjs/spw-header.cjs.entry.js +2 -2
  22. package/dist/cjs/spw-header.cjs.entry.js.map +1 -1
  23. package/dist/cjs/spw-header.entry.cjs.js.map +1 -1
  24. package/dist/cjs/spw-hero.cjs.entry.js +1 -1
  25. package/dist/cjs/spw-iodda.cjs.entry.js +1 -1
  26. package/dist/cjs/spw-list-description.cjs.entry.js +1 -1
  27. package/dist/cjs/spw-list-item.cjs.entry.js +1 -1
  28. package/dist/cjs/spw-list-title.cjs.entry.js +1 -1
  29. package/dist/cjs/spw-list.cjs.entry.js +1 -1
  30. package/dist/cjs/spw-modal.cjs.entry.js +1 -1
  31. package/dist/cjs/spw-mosaic-item.cjs.entry.js +1 -1
  32. package/dist/cjs/spw-mosaic.cjs.entry.js +1 -1
  33. package/dist/cjs/spw-pagination.cjs.entry.js +6 -6
  34. package/dist/cjs/spw-radio.cjs.entry.js +1 -1
  35. package/dist/cjs/spw-search-field.cjs.entry.js +2 -2
  36. package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +1 -1
  37. package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +3 -3
  38. package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +1 -1
  39. package/dist/cjs/spw-sidebar.cjs.entry.js +1 -1
  40. package/dist/cjs/spw-skeleton.cjs.entry.js +1 -1
  41. package/dist/cjs/spw-slider-item.cjs.entry.js +20 -0
  42. package/dist/cjs/spw-slider-item.cjs.entry.js.map +1 -0
  43. package/dist/cjs/spw-slider-item.entry.cjs.js.map +1 -0
  44. package/dist/cjs/spw-slider.cjs.entry.js +246 -0
  45. package/dist/cjs/spw-slider.cjs.entry.js.map +1 -0
  46. package/dist/cjs/spw-slider.entry.cjs.js.map +1 -0
  47. package/dist/cjs/spw-socials.cjs.entry.js +2 -2
  48. package/dist/cjs/spw-socials.cjs.entry.js.map +1 -1
  49. package/dist/cjs/spw-socials.entry.cjs.js.map +1 -1
  50. package/dist/cjs/spw-stencil-library.cjs.js +1 -1
  51. package/dist/cjs/spw-table-body.cjs.entry.js +1 -1
  52. package/dist/cjs/spw-table-cell.cjs.entry.js +1 -1
  53. package/dist/cjs/spw-table-footer.cjs.entry.js +1 -1
  54. package/dist/cjs/spw-table-head.cjs.entry.js +1 -1
  55. package/dist/cjs/spw-table-header.cjs.entry.js +2 -2
  56. package/dist/cjs/spw-table-row.cjs.entry.js +1 -1
  57. package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +1 -1
  58. package/dist/cjs/spw-tabs-navigation.cjs.entry.js +1 -1
  59. package/dist/cjs/spw-tabs.cjs.entry.js +1 -1
  60. package/dist/cjs/spw-tag.cjs.entry.js +1 -1
  61. package/dist/cjs/spw-text-field.cjs.entry.js +1 -1
  62. package/dist/cjs/spw-textarea.cjs.entry.js +1 -1
  63. package/dist/cjs/spw-tile-description.cjs.entry.js +2 -2
  64. package/dist/cjs/spw-tile-description.cjs.entry.js.map +1 -1
  65. package/dist/cjs/spw-tile-description.entry.cjs.js.map +1 -1
  66. package/dist/cjs/spw-tile-title.cjs.entry.js +2 -2
  67. package/dist/cjs/spw-tile-title.cjs.entry.js.map +1 -1
  68. package/dist/cjs/spw-tile-title.entry.cjs.js.map +1 -1
  69. package/dist/cjs/spw-tile.cjs.entry.js +5 -2
  70. package/dist/cjs/spw-tile.cjs.entry.js.map +1 -1
  71. package/dist/cjs/spw-tile.entry.cjs.js.map +1 -1
  72. package/dist/cjs/spw-tooltip.cjs.entry.js +1 -1
  73. package/dist/cjs/spw-topbar.cjs.entry.js +1 -1
  74. package/dist/cjs/spw-wizard-item.cjs.entry.js +1 -1
  75. package/dist/cjs/spw-wizard.cjs.entry.js +1 -1
  76. package/dist/collection/collection-manifest.json +4 -0
  77. package/dist/collection/components/spw-button/spw-button.css +1 -1
  78. package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.css +2 -0
  79. package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +146 -0
  80. package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js.map +1 -0
  81. package/dist/collection/components/spw-grid/spw-grid.css +2 -0
  82. package/dist/collection/components/spw-grid/spw-grid.js +126 -0
  83. package/dist/collection/components/spw-grid/spw-grid.js.map +1 -0
  84. package/dist/collection/components/spw-group/spw-group.js +1 -1
  85. package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
  86. package/dist/collection/components/spw-header/spw-header-lang-item/spw-header-lang-item.js +1 -1
  87. package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +1 -1
  88. package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
  89. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
  90. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
  91. package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
  92. package/dist/collection/components/spw-header/spw-header.css +1 -1
  93. package/dist/collection/components/spw-header/spw-header.js +1 -1
  94. package/dist/collection/components/spw-header/spw-header.js.map +1 -1
  95. package/dist/collection/components/spw-hero/spw-hero.js +1 -1
  96. package/dist/collection/components/spw-icon/assets/fontawesome/webfonts/fa-light-300.woff2 +0 -0
  97. package/dist/collection/components/spw-icon/spw-icon.js +3 -3
  98. package/dist/collection/components/spw-icon/spw-icon.js.map +1 -1
  99. package/dist/collection/components/spw-iodda/spw-iodda.js +1 -1
  100. package/dist/collection/components/spw-link/spw-link.js +1 -1
  101. package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
  102. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
  103. package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
  104. package/dist/collection/components/spw-list/spw-list.js +1 -1
  105. package/dist/collection/components/spw-loading/spw-loading.js +1 -1
  106. package/dist/collection/components/spw-modal/spw-modal.js +1 -1
  107. package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
  108. package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
  109. package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
  110. package/dist/collection/components/spw-radio/spw-radio.js +1 -1
  111. package/dist/collection/components/spw-search-field/spw-search-field.js +2 -2
  112. package/dist/collection/components/spw-separator/spw-separator.js +1 -1
  113. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
  114. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
  115. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
  116. package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
  117. package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
  118. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.css +2 -0
  119. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +19 -0
  120. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js.map +1 -0
  121. package/dist/collection/components/spw-slider/spw-slider.css +2 -0
  122. package/dist/collection/components/spw-slider/spw-slider.js +319 -0
  123. package/dist/collection/components/spw-slider/spw-slider.js.map +1 -0
  124. package/dist/collection/components/spw-socials/spw-socials.css +1 -1
  125. package/dist/collection/components/spw-socials/spw-socials.js +1 -1
  126. package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
  127. package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
  128. package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
  129. package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
  130. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
  131. package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
  132. package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
  133. package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
  134. package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
  135. package/dist/collection/components/spw-tag/spw-tag.js +1 -1
  136. package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
  137. package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
  138. package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
  139. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.css +1 -1
  140. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
  141. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +1 -1
  142. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
  143. package/dist/collection/components/spw-tile/spw-tile.css +1 -1
  144. package/dist/collection/components/spw-tile/spw-tile.js +24 -1
  145. package/dist/collection/components/spw-tile/spw-tile.js.map +1 -1
  146. package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
  147. package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
  148. package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
  149. package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
  150. package/dist/components/p-B59-Q28_.js +162 -0
  151. package/dist/components/p-B59-Q28_.js.map +1 -0
  152. package/dist/components/{p-DHBpMBYT.js → p-B62I-VV0.js} +3 -3
  153. package/dist/components/{p-DHBpMBYT.js.map → p-B62I-VV0.js.map} +1 -1
  154. package/dist/components/{p-DHePkzaR.js → p-BSrgKxt5.js} +3 -3
  155. package/dist/components/{p-DHePkzaR.js.map → p-BSrgKxt5.js.map} +1 -1
  156. package/dist/components/{p-BZy3vC1Y.js → p-BlSOja6j.js} +5 -5
  157. package/dist/components/{p-BZy3vC1Y.js.map → p-BlSOja6j.js.map} +1 -1
  158. package/dist/components/{p-CVuBJlFL.js → p-BvEKH3n2.js} +3 -3
  159. package/dist/components/{p-CVuBJlFL.js.map → p-BvEKH3n2.js.map} +1 -1
  160. package/dist/components/{p-DuDAHfBT.js → p-DJZBdUDB.js} +3 -3
  161. package/dist/components/{p-DuDAHfBT.js.map → p-DJZBdUDB.js.map} +1 -1
  162. package/dist/components/{p-qgvllwX6.js → p-DKCYb8Pa.js} +3 -3
  163. package/dist/components/{p-qgvllwX6.js.map → p-DKCYb8Pa.js.map} +1 -1
  164. package/dist/components/{p-c0hJPgjJ.js → p-DN5puq3N.js} +3 -3
  165. package/dist/components/{p-c0hJPgjJ.js.map → p-DN5puq3N.js.map} +1 -1
  166. package/dist/components/{p-BFGmcTVw.js → p-Dg1wxTqL.js} +11 -11
  167. package/dist/components/{p-BFGmcTVw.js.map → p-Dg1wxTqL.js.map} +1 -1
  168. package/dist/components/{p-qROlK2WR.js → p-iQsDa7FA.js} +4 -4
  169. package/dist/components/{p-qROlK2WR.js.map → p-iQsDa7FA.js.map} +1 -1
  170. package/dist/components/{p-_q4w18VU.js → p-jHpxbAsa.js} +3 -3
  171. package/dist/components/{p-_q4w18VU.js.map → p-jHpxbAsa.js.map} +1 -1
  172. package/dist/components/spw-accordion-title.js +1 -1
  173. package/dist/components/spw-breadcrumb-item.js +2 -2
  174. package/dist/components/spw-button.js +1 -1
  175. package/dist/components/spw-card-image.js +1 -1
  176. package/dist/components/spw-checkbox.js +1 -1
  177. package/dist/components/spw-cookies.js +5 -5
  178. package/dist/components/spw-custom-select.js +3 -3
  179. package/dist/components/spw-date-picker.js +2 -2
  180. package/dist/components/spw-dropdown-item.js +1 -1
  181. package/dist/components/spw-field-message.js +1 -1
  182. package/dist/components/spw-file-upload.js +3 -3
  183. package/dist/components/spw-grid-item.d.ts +11 -0
  184. package/dist/components/spw-grid-item.js +52 -0
  185. package/dist/components/spw-grid-item.js.map +1 -0
  186. package/dist/components/spw-grid.d.ts +11 -0
  187. package/dist/components/spw-grid.js +78 -0
  188. package/dist/components/spw-grid.js.map +1 -0
  189. package/dist/components/spw-group.js +1 -1
  190. package/dist/components/spw-header-lang-item.js +1 -1
  191. package/dist/components/spw-header-lang.js +4 -4
  192. package/dist/components/spw-header-navigation-dropdown.js +1 -1
  193. package/dist/components/spw-header-navigation-item.js +2 -2
  194. package/dist/components/spw-header-navigation.js +2 -2
  195. package/dist/components/spw-header-persona-item.js +1 -1
  196. package/dist/components/spw-header-persona.js +2 -2
  197. package/dist/components/spw-header.js +5 -5
  198. package/dist/components/spw-header.js.map +1 -1
  199. package/dist/components/spw-hero.js +2 -2
  200. package/dist/components/spw-icon.js +1 -1
  201. package/dist/components/spw-iodda.js +6 -6
  202. package/dist/components/spw-link.js +1 -1
  203. package/dist/components/spw-list-description.js +1 -1
  204. package/dist/components/spw-list-item.js +2 -2
  205. package/dist/components/spw-list-title.js +2 -2
  206. package/dist/components/spw-list.js +1 -1
  207. package/dist/components/spw-loading.js +1 -1
  208. package/dist/components/spw-message.js +2 -2
  209. package/dist/components/spw-modal.js +2 -2
  210. package/dist/components/spw-mosaic-item.js +1 -1
  211. package/dist/components/spw-mosaic.js +1 -1
  212. package/dist/components/spw-pagination.js +1 -1
  213. package/dist/components/spw-radio.js +1 -1
  214. package/dist/components/spw-search-field.js +5 -5
  215. package/dist/components/spw-select.js +2 -2
  216. package/dist/components/spw-separator.js +1 -1
  217. package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
  218. package/dist/components/spw-sidebar-navigation-item.js +5 -5
  219. package/dist/components/spw-sidebar-navigation-separator.js +2 -2
  220. package/dist/components/spw-sidebar.js +2 -2
  221. package/dist/components/spw-skeleton.js +1 -1
  222. package/dist/components/spw-slider-item.d.ts +11 -0
  223. package/dist/components/spw-slider-item.js +36 -0
  224. package/dist/components/spw-slider-item.js.map +1 -0
  225. package/dist/components/spw-slider.d.ts +11 -0
  226. package/dist/components/spw-slider.js +274 -0
  227. package/dist/components/spw-slider.js.map +1 -0
  228. package/dist/components/spw-socials.js +2 -2
  229. package/dist/components/spw-socials.js.map +1 -1
  230. package/dist/components/spw-table-body.js +1 -1
  231. package/dist/components/spw-table-cell.js +1 -1
  232. package/dist/components/spw-table-footer.js +1 -1
  233. package/dist/components/spw-table-head.js +1 -1
  234. package/dist/components/spw-table-header.js +4 -4
  235. package/dist/components/spw-table-row.js +1 -1
  236. package/dist/components/spw-tabs-navigation-item.js +3 -3
  237. package/dist/components/spw-tabs-navigation.js +2 -2
  238. package/dist/components/spw-tabs.js +1 -1
  239. package/dist/components/spw-tag.js +2 -2
  240. package/dist/components/spw-text-field.js +1 -1
  241. package/dist/components/spw-textarea.js +3 -3
  242. package/dist/components/spw-theme-provider.js +1 -1
  243. package/dist/components/spw-tile-description.js +2 -2
  244. package/dist/components/spw-tile-description.js.map +1 -1
  245. package/dist/components/spw-tile-title.js +2 -2
  246. package/dist/components/spw-tile-title.js.map +1 -1
  247. package/dist/components/spw-tile.js +7 -3
  248. package/dist/components/spw-tile.js.map +1 -1
  249. package/dist/components/spw-tooltip.js +1 -1
  250. package/dist/components/spw-topbar.js +1 -1
  251. package/dist/components/spw-wizard-item.js +2 -2
  252. package/dist/components/spw-wizard.js +1 -1
  253. package/dist/components_json.json +404 -4
  254. package/dist/esm/loader.js +1 -1
  255. package/dist/esm/spw-button.spw-loading.entry.js.map +1 -1
  256. package/dist/esm/spw-button_2.entry.js +2 -2
  257. package/dist/esm/spw-button_2.entry.js.map +1 -1
  258. package/dist/esm/spw-field-label.spw-group.spw-icon.spw-link.spw-separator.spw-theme-provider.entry.js.map +1 -1
  259. package/dist/esm/spw-field-label_6.entry.js +5 -5
  260. package/dist/esm/spw-field-label_6.entry.js.map +1 -1
  261. package/dist/esm/spw-grid-item.entry.js +27 -0
  262. package/dist/esm/spw-grid-item.entry.js.map +1 -0
  263. package/dist/esm/spw-grid.entry.js +52 -0
  264. package/dist/esm/spw-grid.entry.js.map +1 -0
  265. package/dist/esm/spw-header-lang-item.entry.js +1 -1
  266. package/dist/esm/spw-header-lang.entry.js +1 -1
  267. package/dist/esm/spw-header-navigation-dropdown.entry.js +1 -1
  268. package/dist/esm/spw-header-navigation-item.entry.js +1 -1
  269. package/dist/esm/spw-header-navigation.entry.js +1 -1
  270. package/dist/esm/spw-header-persona-item.entry.js +1 -1
  271. package/dist/esm/spw-header-persona.entry.js +1 -1
  272. package/dist/esm/spw-header.entry.js +2 -2
  273. package/dist/esm/spw-header.entry.js.map +1 -1
  274. package/dist/esm/spw-hero.entry.js +1 -1
  275. package/dist/esm/spw-iodda.entry.js +1 -1
  276. package/dist/esm/spw-list-description.entry.js +1 -1
  277. package/dist/esm/spw-list-item.entry.js +1 -1
  278. package/dist/esm/spw-list-title.entry.js +1 -1
  279. package/dist/esm/spw-list.entry.js +1 -1
  280. package/dist/esm/spw-modal.entry.js +1 -1
  281. package/dist/esm/spw-mosaic-item.entry.js +1 -1
  282. package/dist/esm/spw-mosaic.entry.js +1 -1
  283. package/dist/esm/spw-pagination.entry.js +6 -6
  284. package/dist/esm/spw-radio.entry.js +1 -1
  285. package/dist/esm/spw-search-field.entry.js +2 -2
  286. package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +1 -1
  287. package/dist/esm/spw-sidebar-navigation-item.entry.js +3 -3
  288. package/dist/esm/spw-sidebar-navigation-separator.entry.js +1 -1
  289. package/dist/esm/spw-sidebar.entry.js +1 -1
  290. package/dist/esm/spw-skeleton.entry.js +1 -1
  291. package/dist/esm/spw-slider-item.entry.js +18 -0
  292. package/dist/esm/spw-slider-item.entry.js.map +1 -0
  293. package/dist/esm/spw-slider.entry.js +244 -0
  294. package/dist/esm/spw-slider.entry.js.map +1 -0
  295. package/dist/esm/spw-socials.entry.js +2 -2
  296. package/dist/esm/spw-socials.entry.js.map +1 -1
  297. package/dist/esm/spw-stencil-library.js +1 -1
  298. package/dist/esm/spw-table-body.entry.js +1 -1
  299. package/dist/esm/spw-table-cell.entry.js +1 -1
  300. package/dist/esm/spw-table-footer.entry.js +1 -1
  301. package/dist/esm/spw-table-head.entry.js +1 -1
  302. package/dist/esm/spw-table-header.entry.js +2 -2
  303. package/dist/esm/spw-table-row.entry.js +1 -1
  304. package/dist/esm/spw-tabs-navigation-item.entry.js +1 -1
  305. package/dist/esm/spw-tabs-navigation.entry.js +1 -1
  306. package/dist/esm/spw-tabs.entry.js +1 -1
  307. package/dist/esm/spw-tag.entry.js +1 -1
  308. package/dist/esm/spw-text-field.entry.js +1 -1
  309. package/dist/esm/spw-textarea.entry.js +1 -1
  310. package/dist/esm/spw-tile-description.entry.js +2 -2
  311. package/dist/esm/spw-tile-description.entry.js.map +1 -1
  312. package/dist/esm/spw-tile-title.entry.js +2 -2
  313. package/dist/esm/spw-tile-title.entry.js.map +1 -1
  314. package/dist/esm/spw-tile.entry.js +5 -2
  315. package/dist/esm/spw-tile.entry.js.map +1 -1
  316. package/dist/esm/spw-tooltip.entry.js +1 -1
  317. package/dist/esm/spw-topbar.entry.js +1 -1
  318. package/dist/esm/spw-wizard-item.entry.js +1 -1
  319. package/dist/esm/spw-wizard.entry.js +1 -1
  320. package/dist/spw-stencil-library/assets/fontawesome/webfonts/fa-light-300.woff2 +0 -0
  321. package/dist/spw-stencil-library/{p-26eb5cff.entry.js → p-04e6eb78.entry.js} +2 -2
  322. package/dist/spw-stencil-library/{p-06cb6865.entry.js → p-0d4be6b6.entry.js} +2 -2
  323. package/dist/spw-stencil-library/p-14966ecb.entry.js +2 -0
  324. package/dist/spw-stencil-library/p-14966ecb.entry.js.map +1 -0
  325. package/dist/spw-stencil-library/{p-50a66fe6.entry.js → p-1ac496bc.entry.js} +2 -2
  326. package/dist/spw-stencil-library/p-1df14251.entry.js +2 -0
  327. package/dist/spw-stencil-library/p-1df14251.entry.js.map +1 -0
  328. package/dist/spw-stencil-library/{p-13ecc56f.entry.js → p-1f9aeaa2.entry.js} +2 -2
  329. package/dist/spw-stencil-library/{p-45d99a2b.entry.js → p-257f7869.entry.js} +2 -2
  330. package/dist/spw-stencil-library/{p-86bdf571.entry.js → p-2c724ab6.entry.js} +2 -2
  331. package/dist/spw-stencil-library/{p-d0b15ea8.entry.js → p-2e612e2c.entry.js} +2 -2
  332. package/dist/spw-stencil-library/p-2e612e2c.entry.js.map +1 -0
  333. package/dist/spw-stencil-library/{p-43104fe6.entry.js → p-2e6612dd.entry.js} +2 -2
  334. package/dist/spw-stencil-library/{p-6ea811f3.entry.js → p-393aff63.entry.js} +2 -2
  335. package/dist/spw-stencil-library/{p-45caa6b4.entry.js → p-3a485895.entry.js} +2 -2
  336. package/dist/spw-stencil-library/{p-e159f34c.entry.js → p-3b10cd69.entry.js} +2 -2
  337. package/dist/spw-stencil-library/{p-df177420.entry.js → p-3cfd662b.entry.js} +2 -2
  338. package/dist/spw-stencil-library/{p-5e43e2ed.entry.js → p-40b6234e.entry.js} +2 -2
  339. package/dist/spw-stencil-library/p-48ec199f.entry.js +2 -0
  340. package/dist/spw-stencil-library/p-48ec199f.entry.js.map +1 -0
  341. package/dist/spw-stencil-library/{p-438f1793.entry.js → p-49a8e363.entry.js} +2 -2
  342. package/dist/spw-stencil-library/{p-a840f2ca.entry.js → p-4bf78ea1.entry.js} +2 -2
  343. package/dist/spw-stencil-library/{p-63d1c97f.entry.js → p-4ca8274d.entry.js} +2 -2
  344. package/dist/spw-stencil-library/{p-b0e3875a.entry.js → p-503c4a4c.entry.js} +2 -2
  345. package/dist/spw-stencil-library/{p-e4c9b397.entry.js → p-54e0ff7e.entry.js} +2 -2
  346. package/dist/spw-stencil-library/{p-852e0315.entry.js → p-55adad0b.entry.js} +2 -2
  347. package/dist/spw-stencil-library/{p-852e0315.entry.js.map → p-55adad0b.entry.js.map} +1 -1
  348. package/dist/spw-stencil-library/{p-6ec608ca.entry.js → p-582c5b43.entry.js} +2 -2
  349. package/dist/spw-stencil-library/{p-b6a56ec7.entry.js → p-64455700.entry.js} +2 -2
  350. package/dist/spw-stencil-library/{p-229981f8.entry.js → p-69220685.entry.js} +2 -2
  351. package/dist/spw-stencil-library/{p-8115c88f.entry.js → p-76366414.entry.js} +2 -2
  352. package/dist/spw-stencil-library/p-79719bbc.entry.js +2 -0
  353. package/dist/spw-stencil-library/p-79719bbc.entry.js.map +1 -0
  354. package/dist/spw-stencil-library/{p-d8ba3e5c.entry.js → p-7bfe4ee5.entry.js} +2 -2
  355. package/dist/spw-stencil-library/{p-1c2b8f70.entry.js → p-804bb957.entry.js} +2 -2
  356. package/dist/spw-stencil-library/{p-32fd509b.entry.js → p-8e42dc26.entry.js} +2 -2
  357. package/dist/spw-stencil-library/{p-066fdd57.entry.js → p-8eeda66f.entry.js} +2 -2
  358. package/dist/spw-stencil-library/{p-2113f2f6.entry.js → p-90a73e8a.entry.js} +2 -2
  359. package/dist/spw-stencil-library/{p-ab5202fa.entry.js → p-9a794a86.entry.js} +2 -2
  360. package/dist/spw-stencil-library/{p-06ac337f.entry.js → p-a3d3ce93.entry.js} +2 -2
  361. package/dist/spw-stencil-library/p-a3d3ce93.entry.js.map +1 -0
  362. package/dist/spw-stencil-library/{p-0d1330e7.entry.js → p-a496fed2.entry.js} +2 -2
  363. package/dist/spw-stencil-library/{p-5a1b3ad1.entry.js → p-a7816d9b.entry.js} +5 -5
  364. package/dist/spw-stencil-library/{p-4f0727e5.entry.js → p-ab417959.entry.js} +2 -2
  365. package/dist/spw-stencil-library/p-abee710b.entry.js +2 -0
  366. package/dist/spw-stencil-library/p-abee710b.entry.js.map +1 -0
  367. package/dist/spw-stencil-library/{p-dde9348e.entry.js → p-b027d336.entry.js} +2 -2
  368. package/dist/spw-stencil-library/p-b027d336.entry.js.map +1 -0
  369. package/dist/spw-stencil-library/{p-e60e3382.entry.js → p-b0493a84.entry.js} +2 -2
  370. package/dist/spw-stencil-library/p-b68a4a1c.entry.js +2 -0
  371. package/dist/spw-stencil-library/p-b68a4a1c.entry.js.map +1 -0
  372. package/dist/spw-stencil-library/{p-c9a3b38a.entry.js → p-b7af7c70.entry.js} +2 -2
  373. package/dist/spw-stencil-library/{p-deb92d5e.entry.js → p-c8c62aaa.entry.js} +2 -2
  374. package/dist/spw-stencil-library/p-c9c26889.entry.js +2 -0
  375. package/dist/spw-stencil-library/p-c9c26889.entry.js.map +1 -0
  376. package/dist/spw-stencil-library/{p-a8c3ce29.entry.js → p-d3242535.entry.js} +2 -2
  377. package/dist/spw-stencil-library/{p-25f95c06.entry.js → p-e4dc2bcb.entry.js} +2 -2
  378. package/dist/spw-stencil-library/{p-46567994.entry.js → p-ec380e53.entry.js} +2 -2
  379. package/dist/spw-stencil-library/{p-2dc80ae2.entry.js → p-f5d6641d.entry.js} +2 -2
  380. package/dist/spw-stencil-library/{p-4e025664.entry.js → p-f7fdda79.entry.js} +2 -2
  381. package/dist/spw-stencil-library/{p-1713c17e.entry.js → p-f96ee8a6.entry.js} +2 -2
  382. package/dist/spw-stencil-library/{p-000f04a1.entry.js → p-fa308eb6.entry.js} +2 -2
  383. package/dist/spw-stencil-library/spw-button.spw-loading.entry.esm.js.map +1 -1
  384. package/dist/spw-stencil-library/spw-field-label.spw-group.spw-icon.spw-link.spw-separator.spw-theme-provider.entry.esm.js.map +1 -1
  385. package/dist/spw-stencil-library/spw-grid-item.entry.esm.js.map +1 -0
  386. package/dist/spw-stencil-library/spw-grid.entry.esm.js.map +1 -0
  387. package/dist/spw-stencil-library/spw-header.entry.esm.js.map +1 -1
  388. package/dist/spw-stencil-library/spw-slider-item.entry.esm.js.map +1 -0
  389. package/dist/spw-stencil-library/spw-slider.entry.esm.js.map +1 -0
  390. package/dist/spw-stencil-library/spw-socials.entry.esm.js.map +1 -1
  391. package/dist/spw-stencil-library/spw-stencil-library.css +1 -1
  392. package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
  393. package/dist/spw-stencil-library/spw-tile-description.entry.esm.js.map +1 -1
  394. package/dist/spw-stencil-library/spw-tile-title.entry.esm.js.map +1 -1
  395. package/dist/spw-stencil-library/spw-tile.entry.esm.js.map +1 -1
  396. package/dist/stats.json +1700 -331
  397. package/dist/types/components/spw-grid/spw-grid-item/spw-grid-item.d.ts +16 -0
  398. package/dist/types/components/spw-grid/spw-grid.d.ts +13 -0
  399. package/dist/types/components/spw-icon/spw-icon.d.ts +1 -1
  400. package/dist/types/components/spw-slider/spw-slider-item/spw-slider-item.d.ts +3 -0
  401. package/dist/types/components/spw-slider/spw-slider.d.ts +43 -0
  402. package/dist/types/components/spw-tile/spw-tile.d.ts +2 -0
  403. package/dist/types/components.d.ts +150 -2
  404. package/hydrate/index.js +440 -66
  405. package/hydrate/index.mjs +440 -66
  406. package/package.json +1 -1
  407. package/dist/components/p-DjyPtAVX.js +0 -162
  408. package/dist/components/p-DjyPtAVX.js.map +0 -1
  409. package/dist/components_vscode.json +0 -3121
  410. package/dist/spw-stencil-library/p-06ac337f.entry.js.map +0 -1
  411. package/dist/spw-stencil-library/p-0f69442e.entry.js +0 -2
  412. package/dist/spw-stencil-library/p-0f69442e.entry.js.map +0 -1
  413. package/dist/spw-stencil-library/p-9b63ccca.entry.js +0 -2
  414. package/dist/spw-stencil-library/p-9b63ccca.entry.js.map +0 -1
  415. package/dist/spw-stencil-library/p-d0b15ea8.entry.js.map +0 -1
  416. package/dist/spw-stencil-library/p-d368cf67.entry.js +0 -2
  417. package/dist/spw-stencil-library/p-d368cf67.entry.js.map +0 -1
  418. package/dist/spw-stencil-library/p-dde9348e.entry.js.map +0 -1
  419. /package/dist/spw-stencil-library/{p-26eb5cff.entry.js.map → p-04e6eb78.entry.js.map} +0 -0
  420. /package/dist/spw-stencil-library/{p-06cb6865.entry.js.map → p-0d4be6b6.entry.js.map} +0 -0
  421. /package/dist/spw-stencil-library/{p-50a66fe6.entry.js.map → p-1ac496bc.entry.js.map} +0 -0
  422. /package/dist/spw-stencil-library/{p-13ecc56f.entry.js.map → p-1f9aeaa2.entry.js.map} +0 -0
  423. /package/dist/spw-stencil-library/{p-45d99a2b.entry.js.map → p-257f7869.entry.js.map} +0 -0
  424. /package/dist/spw-stencil-library/{p-86bdf571.entry.js.map → p-2c724ab6.entry.js.map} +0 -0
  425. /package/dist/spw-stencil-library/{p-43104fe6.entry.js.map → p-2e6612dd.entry.js.map} +0 -0
  426. /package/dist/spw-stencil-library/{p-6ea811f3.entry.js.map → p-393aff63.entry.js.map} +0 -0
  427. /package/dist/spw-stencil-library/{p-45caa6b4.entry.js.map → p-3a485895.entry.js.map} +0 -0
  428. /package/dist/spw-stencil-library/{p-e159f34c.entry.js.map → p-3b10cd69.entry.js.map} +0 -0
  429. /package/dist/spw-stencil-library/{p-df177420.entry.js.map → p-3cfd662b.entry.js.map} +0 -0
  430. /package/dist/spw-stencil-library/{p-5e43e2ed.entry.js.map → p-40b6234e.entry.js.map} +0 -0
  431. /package/dist/spw-stencil-library/{p-438f1793.entry.js.map → p-49a8e363.entry.js.map} +0 -0
  432. /package/dist/spw-stencil-library/{p-a840f2ca.entry.js.map → p-4bf78ea1.entry.js.map} +0 -0
  433. /package/dist/spw-stencil-library/{p-63d1c97f.entry.js.map → p-4ca8274d.entry.js.map} +0 -0
  434. /package/dist/spw-stencil-library/{p-b0e3875a.entry.js.map → p-503c4a4c.entry.js.map} +0 -0
  435. /package/dist/spw-stencil-library/{p-e4c9b397.entry.js.map → p-54e0ff7e.entry.js.map} +0 -0
  436. /package/dist/spw-stencil-library/{p-6ec608ca.entry.js.map → p-582c5b43.entry.js.map} +0 -0
  437. /package/dist/spw-stencil-library/{p-b6a56ec7.entry.js.map → p-64455700.entry.js.map} +0 -0
  438. /package/dist/spw-stencil-library/{p-229981f8.entry.js.map → p-69220685.entry.js.map} +0 -0
  439. /package/dist/spw-stencil-library/{p-8115c88f.entry.js.map → p-76366414.entry.js.map} +0 -0
  440. /package/dist/spw-stencil-library/{p-d8ba3e5c.entry.js.map → p-7bfe4ee5.entry.js.map} +0 -0
  441. /package/dist/spw-stencil-library/{p-1c2b8f70.entry.js.map → p-804bb957.entry.js.map} +0 -0
  442. /package/dist/spw-stencil-library/{p-32fd509b.entry.js.map → p-8e42dc26.entry.js.map} +0 -0
  443. /package/dist/spw-stencil-library/{p-066fdd57.entry.js.map → p-8eeda66f.entry.js.map} +0 -0
  444. /package/dist/spw-stencil-library/{p-2113f2f6.entry.js.map → p-90a73e8a.entry.js.map} +0 -0
  445. /package/dist/spw-stencil-library/{p-ab5202fa.entry.js.map → p-9a794a86.entry.js.map} +0 -0
  446. /package/dist/spw-stencil-library/{p-0d1330e7.entry.js.map → p-a496fed2.entry.js.map} +0 -0
  447. /package/dist/spw-stencil-library/{p-5a1b3ad1.entry.js.map → p-a7816d9b.entry.js.map} +0 -0
  448. /package/dist/spw-stencil-library/{p-4f0727e5.entry.js.map → p-ab417959.entry.js.map} +0 -0
  449. /package/dist/spw-stencil-library/{p-e60e3382.entry.js.map → p-b0493a84.entry.js.map} +0 -0
  450. /package/dist/spw-stencil-library/{p-c9a3b38a.entry.js.map → p-b7af7c70.entry.js.map} +0 -0
  451. /package/dist/spw-stencil-library/{p-deb92d5e.entry.js.map → p-c8c62aaa.entry.js.map} +0 -0
  452. /package/dist/spw-stencil-library/{p-a8c3ce29.entry.js.map → p-d3242535.entry.js.map} +0 -0
  453. /package/dist/spw-stencil-library/{p-25f95c06.entry.js.map → p-e4dc2bcb.entry.js.map} +0 -0
  454. /package/dist/spw-stencil-library/{p-46567994.entry.js.map → p-ec380e53.entry.js.map} +0 -0
  455. /package/dist/spw-stencil-library/{p-2dc80ae2.entry.js.map → p-f5d6641d.entry.js.map} +0 -0
  456. /package/dist/spw-stencil-library/{p-4e025664.entry.js.map → p-f7fdda79.entry.js.map} +0 -0
  457. /package/dist/spw-stencil-library/{p-1713c17e.entry.js.map → p-f96ee8a6.entry.js.map} +0 -0
  458. /package/dist/spw-stencil-library/{p-000f04a1.entry.js.map → p-fa308eb6.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"p-BFGmcTVw.js","mappings":";;;;;;AAAA,MAAM,gBAAgB,GAAG,20JAA20J;;MCOv1J,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;AAL1B,IAAA,WAAA,GAAA;;;;;;AAWU,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAE3B,QAAA,IAAO,CAAA,OAAA,GAAwB,SAAS;;AAEvB,QAAA,IAAW,CAAA,WAAA,GAAW,CAAC;AAMvC,QAAA,IAAc,CAAA,cAAA,GAAW,EAAE;QAC3B,IAAA,CAAA,QAAQ,GAAY,MAAM,CAAC,UAAU,GAAG,GAAG;AAa5C,QAAA,IAAc,CAAA,cAAA,GAAG,MAAK;YAC5B,IAAI,CAAC,QAAQ,GAAG,MAAM,CAA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A,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,6BAA6B,EAAA,UAAM,IAAI,CAAC,UAAU,EAAY,QAAA,CAAA,EACvE,SAAS,CACP,EACJ,YAAY,CACJ,CACZ,EACA,IAAI,CAAC,OAAO,KAAK,SAAS,KACzB,EAAC,QAAQ,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACP,CAAA,CAAA,IAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACG,SAAS,EAET,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,KAAI;AACxC,YAAA,IAAI,IAAI,KAAK,KAAK,EAAE;gBAClB,QACE,CAAI,CAAA,IAAA,EAAA,EAAA,KAAK,EAAE,CAAmD,gDAAA,EAAA,SAAS,CAAE,CAAA,EAAA,EACvE,CAAA,CAAA,UAAA,EAAA,EAAU,IAAI,EAAC,aAAa,EAAY,CAAA,CACrC;;AAIT,YAAA,QACE,CACE,CAAA,IAAA,EAAA,EAAA,KAAK,EAAE;AACL,oBAAA,sBAAsB,EAAE,IAAI;AAC5B,oBAAA,8BAA8B,EAAE,IAAI,KAAK,IAAI,CAAC,WAAW;oBACzD,CAAC,SAAS,GAAG,IAAI;AAClB,iBAAA,EAAA,EAED,CAAQ,CAAA,QAAA,EAAA,EAAA,OAAO,EAAE,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAc,CAAC,EAAE,QAAQ,EAAE,IAAI,KAAK,IAAI,CAAC,WAAW,IACtF,IAAI,CACE,CACN;SAER,CAAC,EAED,SAAS,CACP,EACJ,YAAY,CACJ,CACZ,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/spw-pagination/spw-pagination.scss?tag=spw-pagination&encapsulation=shadow","src/components/spw-pagination/spw-pagination.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n%button {\n text-align: center;\n line-height: 32px;\n font-weight: 700;\n border-radius: 32px;\n font-size: 14px;\n min-width: 32px;\n height: 32px;\n &:focus-visible {\n outline: 3px solid white;\n outline-offset: -1px;\n box-shadow: 0 0 0 5px black;\n }\n}\n\n.spw-pagination {\n display: flex;\n flex-direction: column;\n align-items: center;\n @include breakpoint(md) {\n align-items: flex-start;\n }\n\n ul {\n display: flex;\n align-items: center;\n padding: 0;\n }\n\n &__item {\n margin-right: 12px;\n spw-icon {\n font-size: 18px;\n }\n button {\n padding: 0 6px;\n margin: 0;\n border: none;\n cursor: pointer;\n color: var(--spw-color-themes-grey-grey-900);\n background: none;\n @extend %button;\n }\n\n &:not(.spw-pagination__item--active, .spw-pagination__item--dots, .spw-pagination__item--disabled):hover {\n button {\n background: var(--spw-color-themes-grey-grey-200);\n }\n }\n\n &:not(.spw-pagination__item--active, .spw-pagination__item--dots, .spw-pagination__item--disabled):active {\n button {\n background: var(--spw-color-themes-grey-grey-300);\n }\n }\n\n &--arrow {\n button {\n padding: 0 12px;\n display: flex;\n gap: 8px;\n align-items: center;\n text-decoration: underline;\n &:hover {\n text-decoration: none;\n }\n }\n }\n\n &--dots {\n position: relative;\n top: 3px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: default;\n background: none;\n color: var(--spw-color-themes-grey-grey-400);\n @extend %button;\n spw-icon {\n font-size: 16px;\n }\n }\n\n &--desktop {\n display: none;\n @include breakpoint(md) {\n display: inline-block;\n }\n }\n\n &--active {\n button {\n color: white;\n background: var(--spw-ds-primary);\n }\n }\n }\n\n &__input {\n spw-text-field {\n width: 36px;\n --spw-input-height: 32px;\n --spw-input-padding: 0 4px;\n --spw-input-text-align: center;\n --spw-input-font-size: 14px;\n }\n }\n\n &__mobile-arrows {\n margin-top: 12px;\n @include breakpoint(md) {\n display: none !important;\n }\n }\n\n &__total-pages {\n font-size: 14px;\n margin: 0 12px 0 6px;\n }\n}\n","import { Component, Fragment, Prop, Host, h, Event, EventEmitter, Watch, State, Method } from '@stencil/core';\n\n@Component({\n tag: 'spw-pagination',\n styleUrl: 'spw-pagination.scss',\n shadow: true,\n})\nexport class SpwPagination {\n /** Nombre total d'éléments à paginer */\n @Prop() totalItems: number;\n /** Nombre d'éléments à afficher par page */\n @Prop() itemsPerPage: number;\n /** Indique si la pagination est désactivée */\n @Prop() isDisabled: boolean = false;\n /** Type de variante de la pagination : 'numbers' ou 'input' */\n @Prop() variant: 'numbers' | 'input' = 'numbers';\n /** Page actuellement sélectionnée, mutable */\n @Prop({ mutable: true }) currentPage: number = 1;\n\n /** Événement émis lorsque la page est changée, renvoie le numéro de la nouvelle page */\n @Event() pageChanged: EventEmitter<number>;\n\n private totalPages: number;\n @State() inputPageValue: string = '';\n @State() isMobile: boolean = window.innerWidth < 800;\n private debounceTimer: any;\n\n componentWillLoad() {\n this.calculateTotalPages();\n this.inputPageValue = this.currentPage.toString();\n window.addEventListener('resize', this.updateIsMobile);\n }\n\n disconnectedCallback() {\n window.removeEventListener('resize', this.updateIsMobile);\n }\n\n private updateIsMobile = () => {\n this.isMobile = window.innerWidth < 800;\n };\n\n @Watch('totalItems')\n @Watch('itemsPerPage')\n @Watch('currentPage')\n calculateTotalPages() {\n this.totalPages = Math.ceil(this.totalItems / this.itemsPerPage);\n }\n\n @Watch('itemsPerPage')\n onItemsPerPageChange() {\n this.currentPage = 1;\n this.inputPageValue = '1';\n this.pageChanged.emit(this.currentPage);\n }\n\n @Watch('totalItems')\n onTotalItemsChange() {\n const newTotalPages = Math.ceil(this.totalItems / this.itemsPerPage);\n if (this.currentPage > newTotalPages || this.currentPage === 0) {\n this.currentPage = 1;\n this.inputPageValue = '1';\n this.pageChanged.emit(this.currentPage);\n }\n }\n\n /** Méthode publique pour définir la page courante */\n @Method()\n async setPage(page: number): Promise<void> {\n this.goToPage(page);\n }\n\n private goToPage(page: number) {\n if (page !== this.currentPage && !this.isDisabled && page >= 1 && page <= this.totalPages) {\n this.currentPage = page;\n this.inputPageValue = this.currentPage.toString();\n this.pageChanged.emit(this.currentPage);\n }\n }\n\n private handleInputChange(event: Event) {\n const inputValue = (event.target as HTMLInputElement).value;\n this.inputPageValue = inputValue;\n const page = parseInt(inputValue, 10);\n\n if (!isNaN(page) && page >= 1 && page <= this.totalPages) {\n clearTimeout(this.debounceTimer);\n this.debounceTimer = setTimeout(() => {\n this.goToPage(page);\n }, 500);\n }\n }\n\n private getPaginationClass() {\n const pages = this.calculatePageRange();\n const ellipsisCount = pages.filter(({ page }) => page === '...').length;\n const hasEllipsisStart = ellipsisCount > 0 && pages[1]?.page === '...';\n const hasEllipsisEnd = ellipsisCount > 0 && pages[pages.length - 2]?.page === '...';\n\n let paginationClass = `spw-pagination spw-pagination--${this.currentPage} spw-pagination--total-${this.totalPages}`;\n\n if (ellipsisCount === 2) {\n paginationClass += ' spw-pagination--double-ellipsis';\n } else if (hasEllipsisStart) {\n paginationClass += ' spw-pagination--ellipsis-start';\n } else if (hasEllipsisEnd) {\n paginationClass += ' spw-pagination--ellipsis-end';\n }\n\n return paginationClass;\n }\n\n private handleKeyDown(event: KeyboardEvent) {\n if (event.key === 'Enter') {\n const page = parseInt(this.inputPageValue, 10);\n if (!isNaN(page)) {\n this.goToPage(page);\n }\n }\n }\n\n private calculatePageRange() {\n const pages = [];\n const { currentPage, totalPages, isMobile } = this;\n\n if (isMobile) {\n // Mode mobile\n if (totalPages <= 5) {\n for (let i = 1; i <= totalPages; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--small-range' });\n }\n } else if (currentPage <= 3) {\n for (let i = 1; i <= 3; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--start-range' });\n }\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n pages.push({ page: totalPages, class: 'spw-pagination__item--end' });\n } else if (currentPage >= totalPages - 2) {\n pages.push({ page: 1, class: 'spw-pagination__item--start' });\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n for (let i = totalPages - 2; i <= totalPages; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--end-range' });\n }\n } else {\n pages.push({ page: 1, class: 'spw-pagination__item--start' });\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n for (let i = currentPage - 1; i <= currentPage + 1; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--middle-range' });\n }\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n pages.push({ page: totalPages, class: 'spw-pagination__item--end' });\n }\n } else {\n // Mode desktop\n if (totalPages <= 7) {\n for (let i = 1; i <= totalPages; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--small-range' });\n }\n } else if (currentPage <= 4) {\n for (let i = 1; i <= 4; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--start-range' });\n }\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n pages.push({ page: totalPages, class: 'spw-pagination__item--end' });\n } else if (currentPage >= totalPages - 3) {\n pages.push({ page: 1, class: 'spw-pagination__item--start' });\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n for (let i = totalPages - 3; i <= totalPages; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--end-range' });\n }\n } else {\n pages.push({ page: 1, class: 'spw-pagination__item--start' });\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n for (let i = currentPage - 2; i <= currentPage + 2; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--middle-range' });\n }\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n pages.push({ page: totalPages, class: 'spw-pagination__item--end' });\n }\n }\n\n return pages;\n }\n\n render() {\n const pages = this.calculatePageRange();\n const showPrevArrow = this.currentPage > 1;\n const showNextArrow = this.currentPage < this.totalPages;\n\n const prevArrow = showPrevArrow && (\n <li class=\"spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow\">\n <button onClick={() => this.goToPage(this.currentPage - 1)}>\n <spw-icon icon=\"fa-chevron-left\"></spw-icon> <span class=\"spw-pagination__item-arrow-text\">Précédent</span>\n </button>\n </li>\n );\n\n const nextArrow = showNextArrow && (\n <li class=\"spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow\">\n <button onClick={() => this.goToPage(this.currentPage + 1)}>\n <span class=\"spw-pagination__item-arrow-text\">Suivant</span> <spw-icon icon=\"fa-chevron-right\"></spw-icon>\n </button>\n </li>\n );\n\n const prevArrowMobile = this.currentPage > 1 && (\n <li class=\"spw-pagination__item spw-pagination__item--arrow\">\n <button onClick={() => this.goToPage(this.currentPage - 1)}>\n <spw-icon icon=\"fa-chevron-left\"></spw-icon> <span>Précédent</span>\n </button>\n </li>\n );\n\n const nextArrowMobile = this.currentPage < this.totalPages && (\n <li class=\"spw-pagination__item spw-pagination__item--arrow\">\n <button onClick={() => this.goToPage(this.currentPage + 1)} disabled={this.currentPage >= this.totalPages}>\n <span>Suivant</span> <spw-icon icon=\"fa-chevron-right\"></spw-icon>\n </button>\n </li>\n );\n\n const mobileArrows = (\n <ul class=\"spw-pagination__mobile-arrows\">\n {prevArrowMobile}\n {nextArrowMobile}\n </ul>\n );\n\n return (\n <Host>\n <div class={this.getPaginationClass()}>\n {this.variant === 'input' && (\n <Fragment>\n <ul>\n {prevArrow}\n <li class=\"spw-pagination__input\">\n <spw-text-field\n value={this.inputPageValue}\n type=\"text\"\n onInput={event => this.handleInputChange(event)}\n onKeyDown={event => this.handleKeyDown(event)}\n disabled={this.isDisabled}\n ></spw-text-field>\n </li>\n <li class=\"spw-pagination__total-pages\">sur {this.totalPages} pages</li>\n {nextArrow}\n </ul>\n {mobileArrows}\n </Fragment>\n )}\n {this.variant === 'numbers' && (\n <Fragment>\n <ul>\n {prevArrow}\n\n {pages.map(({ page, class: pageClass }) => {\n if (page === '...') {\n return (\n <li class={`spw-pagination__item spw-pagination__item--dots ${pageClass}`}>\n <spw-icon icon=\"fa-ellipsis\"></spw-icon>\n </li>\n );\n }\n\n return (\n <li\n class={{\n 'spw-pagination__item': true,\n 'spw-pagination__item--active': page === this.currentPage,\n [pageClass]: true,\n }}\n >\n <button onClick={() => this.goToPage(page as number)} disabled={page === this.currentPage}>\n {page}\n </button>\n </li>\n );\n })}\n\n {nextArrow}\n </ul>\n {mobileArrows}\n </Fragment>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-Dg1wxTqL.js","mappings":";;;;;;AAAA,MAAM,gBAAgB,GAAG,20JAA20J;;MCOv1J,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;AAL1B,IAAA,WAAA,GAAA;;;;;;AAWU,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAE3B,QAAA,IAAO,CAAA,OAAA,GAAwB,SAAS;;AAEvB,QAAA,IAAW,CAAA,WAAA,GAAW,CAAC;AAMvC,QAAA,IAAc,CAAA,cAAA,GAAW,EAAE;QAC3B,IAAA,CAAA,QAAQ,GAAY,MAAM,CAAC,UAAU,GAAG,GAAG;AAa5C,QAAA,IAAc,CAAA,cAAA,GAAG,MAAK;YAC5B,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,UAAU,GAAG,GAAG;AACzC,SAAC;AAwPF;IApQC,iBAAiB,GAAA;QACf,IAAI,CAAC,mBAAmB,EAAE;QAC1B,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE;QACjD,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC;;IAGxD,oBAAoB,GAAA;QAClB,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC;;IAU3D,mBAAmB,GAAA;AACjB,QAAA,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC;;IAIlE,oBAAoB,GAAA;AAClB,QAAA,IAAI,CAAC,WAAW,GAAG,CAAC;AACpB,QAAA,IAAI,CAAC,cAAc,GAAG,GAAG;QACzB,IAAI,CAAC,WAAW,CAAC,I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rC;;AAIT,YAAA,QACE,CACE,CAAA,IAAA,EAAA,EAAA,KAAK,EAAE;AACL,oBAAA,sBAAsB,EAAE,IAAI;AAC5B,oBAAA,8BAA8B,EAAE,IAAI,KAAK,IAAI,CAAC,WAAW;oBACzD,CAAC,SAAS,GAAG,IAAI;AAClB,iBAAA,EAAA,EAED,CAAQ,CAAA,QAAA,EAAA,EAAA,OAAO,EAAE,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAc,CAAC,EAAE,QAAQ,EAAE,IAAI,KAAK,IAAI,CAAC,WAAW,IACtF,IAAI,CACE,CACN;SAER,CAAC,EAED,SAAS,CACP,EACJ,YAAY,CACJ,CACZ,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/spw-pagination/spw-pagination.scss?tag=spw-pagination&encapsulation=shadow","src/components/spw-pagination/spw-pagination.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n%button {\n text-align: center;\n line-height: 32px;\n font-weight: 700;\n border-radius: 32px;\n font-size: 14px;\n min-width: 32px;\n height: 32px;\n &:focus-visible {\n outline: 3px solid white;\n outline-offset: -1px;\n box-shadow: 0 0 0 5px black;\n }\n}\n\n.spw-pagination {\n display: flex;\n flex-direction: column;\n align-items: center;\n @include breakpoint(md) {\n align-items: flex-start;\n }\n\n ul {\n display: flex;\n align-items: center;\n padding: 0;\n }\n\n &__item {\n margin-right: 12px;\n spw-icon {\n font-size: 18px;\n }\n button {\n padding: 0 6px;\n margin: 0;\n border: none;\n cursor: pointer;\n color: var(--spw-color-themes-grey-grey-900);\n background: none;\n @extend %button;\n }\n\n &:not(.spw-pagination__item--active, .spw-pagination__item--dots, .spw-pagination__item--disabled):hover {\n button {\n background: var(--spw-color-themes-grey-grey-200);\n }\n }\n\n &:not(.spw-pagination__item--active, .spw-pagination__item--dots, .spw-pagination__item--disabled):active {\n button {\n background: var(--spw-color-themes-grey-grey-300);\n }\n }\n\n &--arrow {\n button {\n padding: 0 12px;\n display: flex;\n gap: 8px;\n align-items: center;\n text-decoration: underline;\n &:hover {\n text-decoration: none;\n }\n }\n }\n\n &--dots {\n position: relative;\n top: 3px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n cursor: default;\n background: none;\n color: var(--spw-color-themes-grey-grey-400);\n @extend %button;\n spw-icon {\n font-size: 16px;\n }\n }\n\n &--desktop {\n display: none;\n @include breakpoint(md) {\n display: inline-block;\n }\n }\n\n &--active {\n button {\n color: white;\n background: var(--spw-ds-primary);\n }\n }\n }\n\n &__input {\n spw-text-field {\n width: 36px;\n --spw-input-height: 32px;\n --spw-input-padding: 0 4px;\n --spw-input-text-align: center;\n --spw-input-font-size: 14px;\n }\n }\n\n &__mobile-arrows {\n margin-top: 12px;\n @include breakpoint(md) {\n display: none !important;\n }\n }\n\n &__total-pages {\n font-size: 14px;\n margin: 0 12px 0 6px;\n }\n}\n","import { Component, Fragment, Prop, Host, h, Event, EventEmitter, Watch, State, Method } from '@stencil/core';\n\n@Component({\n tag: 'spw-pagination',\n styleUrl: 'spw-pagination.scss',\n shadow: true,\n})\nexport class SpwPagination {\n /** Nombre total d'éléments à paginer */\n @Prop() totalItems: number;\n /** Nombre d'éléments à afficher par page */\n @Prop() itemsPerPage: number;\n /** Indique si la pagination est désactivée */\n @Prop() isDisabled: boolean = false;\n /** Type de variante de la pagination : 'numbers' ou 'input' */\n @Prop() variant: 'numbers' | 'input' = 'numbers';\n /** Page actuellement sélectionnée, mutable */\n @Prop({ mutable: true }) currentPage: number = 1;\n\n /** Événement émis lorsque la page est changée, renvoie le numéro de la nouvelle page */\n @Event() pageChanged: EventEmitter<number>;\n\n private totalPages: number;\n @State() inputPageValue: string = '';\n @State() isMobile: boolean = window.innerWidth < 800;\n private debounceTimer: any;\n\n componentWillLoad() {\n this.calculateTotalPages();\n this.inputPageValue = this.currentPage.toString();\n window.addEventListener('resize', this.updateIsMobile);\n }\n\n disconnectedCallback() {\n window.removeEventListener('resize', this.updateIsMobile);\n }\n\n private updateIsMobile = () => {\n this.isMobile = window.innerWidth < 800;\n };\n\n @Watch('totalItems')\n @Watch('itemsPerPage')\n @Watch('currentPage')\n calculateTotalPages() {\n this.totalPages = Math.ceil(this.totalItems / this.itemsPerPage);\n }\n\n @Watch('itemsPerPage')\n onItemsPerPageChange() {\n this.currentPage = 1;\n this.inputPageValue = '1';\n this.pageChanged.emit(this.currentPage);\n }\n\n @Watch('totalItems')\n onTotalItemsChange() {\n const newTotalPages = Math.ceil(this.totalItems / this.itemsPerPage);\n if (this.currentPage > newTotalPages || this.currentPage === 0) {\n this.currentPage = 1;\n this.inputPageValue = '1';\n this.pageChanged.emit(this.currentPage);\n }\n }\n\n /** Méthode publique pour définir la page courante */\n @Method()\n async setPage(page: number): Promise<void> {\n this.goToPage(page);\n }\n\n private goToPage(page: number) {\n if (page !== this.currentPage && !this.isDisabled && page >= 1 && page <= this.totalPages) {\n this.currentPage = page;\n this.inputPageValue = this.currentPage.toString();\n this.pageChanged.emit(this.currentPage);\n }\n }\n\n private handleInputChange(event: Event) {\n const inputValue = (event.target as HTMLInputElement).value;\n this.inputPageValue = inputValue;\n const page = parseInt(inputValue, 10);\n\n if (!isNaN(page) && page >= 1 && page <= this.totalPages) {\n clearTimeout(this.debounceTimer);\n this.debounceTimer = setTimeout(() => {\n this.goToPage(page);\n }, 500);\n }\n }\n\n private getPaginationClass() {\n const pages = this.calculatePageRange();\n const ellipsisCount = pages.filter(({ page }) => page === '...').length;\n const hasEllipsisStart = ellipsisCount > 0 && pages[1]?.page === '...';\n const hasEllipsisEnd = ellipsisCount > 0 && pages[pages.length - 2]?.page === '...';\n\n let paginationClass = `spw-pagination spw-pagination--${this.currentPage} spw-pagination--total-${this.totalPages}`;\n\n if (ellipsisCount === 2) {\n paginationClass += ' spw-pagination--double-ellipsis';\n } else if (hasEllipsisStart) {\n paginationClass += ' spw-pagination--ellipsis-start';\n } else if (hasEllipsisEnd) {\n paginationClass += ' spw-pagination--ellipsis-end';\n }\n\n return paginationClass;\n }\n\n private handleKeyDown(event: KeyboardEvent) {\n if (event.key === 'Enter') {\n const page = parseInt(this.inputPageValue, 10);\n if (!isNaN(page)) {\n this.goToPage(page);\n }\n }\n }\n\n private calculatePageRange() {\n const pages = [];\n const { currentPage, totalPages, isMobile } = this;\n\n if (isMobile) {\n // Mode mobile\n if (totalPages <= 5) {\n for (let i = 1; i <= totalPages; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--small-range' });\n }\n } else if (currentPage <= 3) {\n for (let i = 1; i <= 3; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--start-range' });\n }\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n pages.push({ page: totalPages, class: 'spw-pagination__item--end' });\n } else if (currentPage >= totalPages - 2) {\n pages.push({ page: 1, class: 'spw-pagination__item--start' });\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n for (let i = totalPages - 2; i <= totalPages; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--end-range' });\n }\n } else {\n pages.push({ page: 1, class: 'spw-pagination__item--start' });\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n for (let i = currentPage - 1; i <= currentPage + 1; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--middle-range' });\n }\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n pages.push({ page: totalPages, class: 'spw-pagination__item--end' });\n }\n } else {\n // Mode desktop\n if (totalPages <= 7) {\n for (let i = 1; i <= totalPages; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--small-range' });\n }\n } else if (currentPage <= 4) {\n for (let i = 1; i <= 4; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--start-range' });\n }\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n pages.push({ page: totalPages, class: 'spw-pagination__item--end' });\n } else if (currentPage >= totalPages - 3) {\n pages.push({ page: 1, class: 'spw-pagination__item--start' });\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n for (let i = totalPages - 3; i <= totalPages; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--end-range' });\n }\n } else {\n pages.push({ page: 1, class: 'spw-pagination__item--start' });\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n for (let i = currentPage - 2; i <= currentPage + 2; i++) {\n pages.push({ page: i, class: 'spw-pagination__item--middle-range' });\n }\n pages.push({ page: '...', class: 'spw-pagination__item--ellipsis' });\n pages.push({ page: totalPages, class: 'spw-pagination__item--end' });\n }\n }\n\n return pages;\n }\n\n render() {\n const pages = this.calculatePageRange();\n const showPrevArrow = this.currentPage > 1;\n const showNextArrow = this.currentPage < this.totalPages;\n\n const prevArrow = showPrevArrow && (\n <li class=\"spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow\">\n <button onClick={() => this.goToPage(this.currentPage - 1)}>\n <spw-icon icon=\"fa-chevron-left\"></spw-icon> <span class=\"spw-pagination__item-arrow-text\">Précédent</span>\n </button>\n </li>\n );\n\n const nextArrow = showNextArrow && (\n <li class=\"spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow\">\n <button onClick={() => this.goToPage(this.currentPage + 1)}>\n <span class=\"spw-pagination__item-arrow-text\">Suivant</span> <spw-icon icon=\"fa-chevron-right\"></spw-icon>\n </button>\n </li>\n );\n\n const prevArrowMobile = this.currentPage > 1 && (\n <li class=\"spw-pagination__item spw-pagination__item--arrow\">\n <button onClick={() => this.goToPage(this.currentPage - 1)}>\n <spw-icon icon=\"fa-chevron-left\"></spw-icon> <span>Précédent</span>\n </button>\n </li>\n );\n\n const nextArrowMobile = this.currentPage < this.totalPages && (\n <li class=\"spw-pagination__item spw-pagination__item--arrow\">\n <button onClick={() => this.goToPage(this.currentPage + 1)} disabled={this.currentPage >= this.totalPages}>\n <span>Suivant</span> <spw-icon icon=\"fa-chevron-right\"></spw-icon>\n </button>\n </li>\n );\n\n const mobileArrows = (\n <ul class=\"spw-pagination__mobile-arrows\">\n {prevArrowMobile}\n {nextArrowMobile}\n </ul>\n );\n\n return (\n <Host>\n <div class={this.getPaginationClass()}>\n {this.variant === 'input' && (\n <Fragment>\n <ul>\n {prevArrow}\n <li class=\"spw-pagination__input\">\n <spw-text-field\n value={this.inputPageValue}\n type=\"text\"\n onInput={event => this.handleInputChange(event)}\n onKeyDown={event => this.handleKeyDown(event)}\n disabled={this.isDisabled}\n ></spw-text-field>\n </li>\n <li class=\"spw-pagination__total-pages\">sur {this.totalPages} pages</li>\n {nextArrow}\n </ul>\n {mobileArrows}\n </Fragment>\n )}\n {this.variant === 'numbers' && (\n <Fragment>\n <ul>\n {prevArrow}\n\n {pages.map(({ page, class: pageClass }) => {\n if (page === '...') {\n return (\n <li class={`spw-pagination__item spw-pagination__item--dots ${pageClass}`}>\n <spw-icon icon=\"fa-ellipsis\"></spw-icon>\n </li>\n );\n }\n\n return (\n <li\n class={{\n 'spw-pagination__item': true,\n 'spw-pagination__item--active': page === this.currentPage,\n [pageClass]: true,\n }}\n >\n <button onClick={() => this.goToPage(page as number)} disabled={page === this.currentPage}>\n {page}\n </button>\n </li>\n );\n })}\n\n {nextArrow}\n </ul>\n {mobileArrows}\n </Fragment>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
2
- import { d as defineCustomElement$1 } from './p-_q4w18VU.js';
2
+ import { d as defineCustomElement$1 } from './p-jHpxbAsa.js';
3
3
 
4
4
  const spwLinkCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;--spw-link-color:var(--spw-ds-primary);--spw-link-hover-color:var(--spw-ds-variant);--spw-link-active-color:var(--spw-ds-active);--spw-link-font-weight:700;--spw-link-padding:6px;box-sizing:border-box;display:inline;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-link{border-radius:4px;color:var(--spw-link-color);cursor:pointer;display:inline;font-weight:var(--spw-link-font-weight);text-decoration:none}.spw-link--surface-dark{color:var(--spw-ds-white)}.spw-link__inner{border-bottom:1px solid var(--spw-link-color);display:inline;overflow-wrap:break-word}.spw-link--surface-dark .spw-link__inner{border-bottom:1px solid var(--spw-ds-white)}.spw-link:focus-visible{outline:3px solid #000;outline-offset:2px}.spw-link:hover{color:var(--spw-link-hover-color)}.spw-link:hover .spw-link__inner{border-bottom:2px solid var(--spw-link-hover-color)}.spw-link:active{color:var(--spw-link-active-color)}.spw-link:active .spw-link__inner{border-bottom:2px solid var(--spw-link-active-color)}.spw-link[aria-disabled=true]{color:var(--spw-color-themes-grey-grey-600);cursor:not-allowed;pointer-events:none}.spw-link--surface-dark:hover{color:var(--spw-ds-white)}.spw-link--surface-dark:hover .spw-link__inner{border-bottom:2px solid var(--spw-ds-white)}.spw-link--surface-dark:active{color:var(--spw-ds-white)}.spw-link--surface-dark:active .spw-link__inner{border-bottom:2px solid var(--spw-ds-white)}.spw-link--surface-dark[aria-disabled=true]{color:var(--spw-ds-white);opacity:.5}.spw-link--has-icon-right spw-icon{margin-left:var(--spw-link-padding);margin-right:4px}.spw-link--has-icon-left spw-icon{margin-left:4px;margin-right:var(--spw-link-padding)}";
5
5
 
@@ -42,7 +42,7 @@ const SpwLink = /*@__PURE__*/ proxyCustomElement(class SpwLink extends H {
42
42
  };
43
43
  const iconClass = `spw-icon--${iconPosition}`;
44
44
  const iconElement = icon ? h("spw-icon", { class: iconClass, icon: icon }) : null;
45
- return (h("a", Object.assign({ key: '6b8b34ebb09aa98e0924f1de932e423baa048d37', href: disabled ? undefined : href, rel: rel, target: target, class: this.elementClass, onClick: this.onClick }, ariaAttributes), iconPosition === 'left' && iconElement, h("div", { key: 'ee0b12555f84eaf1d8cce884e658ed12276dbfba', class: "spw-link__inner" }, h("slot", { key: '7240f63b0d6ba01e8eeae7c7016f22916a6dc630' })), iconPosition === 'right' && iconElement));
45
+ return (h("a", Object.assign({ key: '41ab85ec896d9f89b5e9d77c3f4b66ad1c8e6a89', href: disabled ? undefined : href, rel: rel, target: target, class: this.elementClass, onClick: this.onClick }, ariaAttributes), iconPosition === 'left' && iconElement, h("div", { key: 'ae73c7f5597142e83af8c972fb7c85b1ad2d4de6', class: "spw-link__inner" }, h("slot", { key: 'cc95dcfa351c726adfc96fe6de3f000f51a80e1c' })), iconPosition === 'right' && iconElement));
46
46
  }
47
47
  get el() { return this; }
48
48
  static get style() { return spwLinkCss; }
@@ -76,6 +76,6 @@ function defineCustomElement() {
76
76
  }
77
77
 
78
78
  export { SpwLink as S, defineCustomElement as d };
79
- //# sourceMappingURL=p-qROlK2WR.js.map
79
+ //# sourceMappingURL=p-iQsDa7FA.js.map
80
80
 
81
- //# sourceMappingURL=p-qROlK2WR.js.map
81
+ //# sourceMappingURL=p-iQsDa7FA.js.map
@@ -1 +1 @@
1
- {"file":"p-qROlK2WR.js","mappings":";;;AAAA,MAAM,UAAU,GAAG,8mIAA8mI;;MCOpnI,OAAO,iBAAAA,kBAAA,CAAA,MAAA,OAAA,SAAAC,CAAA,CAAA;AALpB,IAAA,WAAA,GAAA;;;;;;AAWU,QAAA,IAAM,CAAA,MAAA,GAAY,OAAO;;AAMzB,QAAA,IAAY,CAAA,YAAA,GAAsB,OAAO;;AAEzC,QAAA,IAAQ,CAAA,QAAA,GAAa,KAAK;;AAI1B,QAAA,IAAO,CAAA,OAAA,GAAsB,OAAO;AAKpC,QAAA,IAAA,CAAA,OAAO,GAAG,CAAC,EAAc,KAAI;AACnC,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,EAAE,CAAC,cAAc,EAAE;gBACnB;;AAEF,YAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;AACxB,SAAC;AAgCF;AA9BC,IAAA,IAAY,YAAY,GAAA;QACtB,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KAAK,OAAO,IAAI,WAAW,CACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/spw-link/spw-link.scss?tag=spw-link&encapsulation=shadow","src/components/spw-link/spw-link.tsx"],"sourcesContent":[":host {\n display: inline;\n --spw-link-color: var(--spw-ds-primary);\n --spw-link-hover-color: var(--spw-ds-variant);\n --spw-link-active-color: var(--spw-ds-active);\n --spw-link-font-weight: 700;\n --spw-link-padding: 6px;\n}\n\n.spw-link {\n display: inline;\n text-decoration: none;\n cursor: pointer;\n color: var(--spw-link-color);\n border-radius: 4px;\n font-weight: var(--spw-link-font-weight);\n &--surface-dark {\n color: var(--spw-ds-white);\n }\n\n &__inner {\n display: inline;\n overflow-wrap: break-word;\n border-bottom: 1px solid var(--spw-link-color);\n .spw-link--surface-dark & {\n border-bottom: 1px solid var(--spw-ds-white);\n }\n }\n\n &:focus-visible {\n outline-offset: 2px;\n outline: 3px solid black;\n }\n\n &:hover {\n color: var(--spw-link-hover-color);\n .spw-link__inner {\n border-bottom: 2px solid var(--spw-link-hover-color);\n }\n }\n\n &:active {\n color: var(--spw-link-active-color);\n .spw-link__inner {\n border-bottom: 2px solid var(--spw-link-active-color);\n }\n }\n\n &[aria-disabled='true'] {\n pointer-events: none;\n color: var(--spw-color-themes-grey-grey-600);\n cursor: not-allowed;\n }\n\n &--surface-dark {\n &:hover {\n color: var(--spw-ds-white);\n .spw-link__inner {\n border-bottom: 2px solid var(--spw-ds-white);\n }\n }\n\n &:active {\n color: var(--spw-ds-white);\n .spw-link__inner {\n border-bottom: 2px solid var(--spw-ds-white);\n }\n }\n\n &[aria-disabled='true'] {\n color: var(--spw-ds-white);\n opacity: 0.5;\n }\n }\n\n &--has-icon-right spw-icon {\n margin-left: var(--spw-link-padding);\n margin-right: 4px;\n }\n\n &--has-icon-left spw-icon {\n margin-left: 4px;\n margin-right: var(--spw-link-padding);\n }\n}\n","import { Component, Element, Prop, h, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'spw-link',\n styleUrl: 'spw-link.scss',\n shadow: true,\n})\nexport class SpwLink {\n @Element() el: HTMLSpwLinkElement;\n\n /** Spécifie le lien href */\n @Prop() href: string;\n /** Attribut target (détermine où ouvrir le lien) */\n @Prop() target?: string = '_self';\n /** Remplit l'attribut rel */\n @Prop() rel?: string;\n /** Si rempli, permet d'utiliser une référence d'icône font-awesome */\n @Prop() icon?: string;\n /** Position de l'icône à l'intérieur du lien (gauche ou droite) */\n @Prop() iconPosition?: 'left' | 'right' = 'right';\n /** Si désactivé, le lien n'est pas cliquable */\n @Prop() disabled?: boolean = false;\n /** Remplit l'attribut aria-label, utilisé à des fins d'accessibilité */\n @Prop() accAriaLabel?: string;\n /** Permet de choisir la surface d'arrière-plan du lien */\n @Prop() surface?: 'light' | 'dark' = 'light';\n\n /** Événement déclenché lors du clic sur le lien */\n @Event() spwClick: EventEmitter<MouseEvent>;\n\n private onClick = (ev: MouseEvent) => {\n if (this.disabled) {\n ev.preventDefault();\n return;\n }\n this.spwClick.emit(ev);\n };\n\n private get elementClass(): { [className: string]: boolean } {\n return {\n 'spw-link': true,\n 'spw-link--has-icon-right': this.icon && this.iconPosition === 'right',\n 'spw-link--has-icon-left': this.icon && this.iconPosition === 'left',\n [`spw-link--surface-${this.surface}`]: true,\n 'spw-link--has-icon': !!this.icon,\n };\n }\n\n render() {\n const { href, rel, target, icon, iconPosition, accAriaLabel, disabled } = this;\n const ariaAttributes = {\n 'aria-label': accAriaLabel,\n 'aria-disabled': disabled ? 'true' : null,\n };\n\n const iconClass = `spw-icon--${iconPosition}`;\n const iconElement = icon ? <spw-icon class={iconClass} icon={icon}></spw-icon> : null;\n\n return (\n <a href={disabled ? undefined : href} rel={rel} target={target} class={this.elementClass} onClick={this.onClick} {...ariaAttributes}>\n {iconPosition === 'left' && iconElement}\n <div class=\"spw-link__inner\">\n <slot></slot>\n </div>\n {iconPosition === 'right' && iconElement}\n </a>\n );\n }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AAA,EAAA,YAAY,EAAE;QAC7C,MAAM,WAAW,GAAG,IAAI,GAAG,gBAAU,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAA,CAAa,GAAG,IAAI;AAErF,QAAA,QACE,CAAA,CAAA,GAAA,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,GAAA,EAAA,0CAAA,EAAG,IAAI,EAAE,QAAQ,GAAG,SAAS,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,IAAM,cAAc,CAAA,EAChI,YAAY,KAAK,MAAM,IAAI,WAAW,EACvC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,EACL,YAAY,KAAK,OAAO,IAAI,WAAW,CACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/spw-link/spw-link.scss?tag=spw-link&encapsulation=shadow","src/components/spw-link/spw-link.tsx"],"sourcesContent":[":host {\n display: inline;\n --spw-link-color: var(--spw-ds-primary);\n --spw-link-hover-color: var(--spw-ds-variant);\n --spw-link-active-color: var(--spw-ds-active);\n --spw-link-font-weight: 700;\n --spw-link-padding: 6px;\n}\n\n.spw-link {\n display: inline;\n text-decoration: none;\n cursor: pointer;\n color: var(--spw-link-color);\n border-radius: 4px;\n font-weight: var(--spw-link-font-weight);\n &--surface-dark {\n color: var(--spw-ds-white);\n }\n\n &__inner {\n display: inline;\n overflow-wrap: break-word;\n border-bottom: 1px solid var(--spw-link-color);\n .spw-link--surface-dark & {\n border-bottom: 1px solid var(--spw-ds-white);\n }\n }\n\n &:focus-visible {\n outline-offset: 2px;\n outline: 3px solid black;\n }\n\n &:hover {\n color: var(--spw-link-hover-color);\n .spw-link__inner {\n border-bottom: 2px solid var(--spw-link-hover-color);\n }\n }\n\n &:active {\n color: var(--spw-link-active-color);\n .spw-link__inner {\n border-bottom: 2px solid var(--spw-link-active-color);\n }\n }\n\n &[aria-disabled='true'] {\n pointer-events: none;\n color: var(--spw-color-themes-grey-grey-600);\n cursor: not-allowed;\n }\n\n &--surface-dark {\n &:hover {\n color: var(--spw-ds-white);\n .spw-link__inner {\n border-bottom: 2px solid var(--spw-ds-white);\n }\n }\n\n &:active {\n color: var(--spw-ds-white);\n .spw-link__inner {\n border-bottom: 2px solid var(--spw-ds-white);\n }\n }\n\n &[aria-disabled='true'] {\n color: var(--spw-ds-white);\n opacity: 0.5;\n }\n }\n\n &--has-icon-right spw-icon {\n margin-left: var(--spw-link-padding);\n margin-right: 4px;\n }\n\n &--has-icon-left spw-icon {\n margin-left: 4px;\n margin-right: var(--spw-link-padding);\n }\n}\n","import { Component, Element, Prop, h, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'spw-link',\n styleUrl: 'spw-link.scss',\n shadow: true,\n})\nexport class SpwLink {\n @Element() el: HTMLSpwLinkElement;\n\n /** Spécifie le lien href */\n @Prop() href: string;\n /** Attribut target (détermine où ouvrir le lien) */\n @Prop() target?: string = '_self';\n /** Remplit l'attribut rel */\n @Prop() rel?: string;\n /** Si rempli, permet d'utiliser une référence d'icône font-awesome */\n @Prop() icon?: string;\n /** Position de l'icône à l'intérieur du lien (gauche ou droite) */\n @Prop() iconPosition?: 'left' | 'right' = 'right';\n /** Si désactivé, le lien n'est pas cliquable */\n @Prop() disabled?: boolean = false;\n /** Remplit l'attribut aria-label, utilisé à des fins d'accessibilité */\n @Prop() accAriaLabel?: string;\n /** Permet de choisir la surface d'arrière-plan du lien */\n @Prop() surface?: 'light' | 'dark' = 'light';\n\n /** Événement déclenché lors du clic sur le lien */\n @Event() spwClick: EventEmitter<MouseEvent>;\n\n private onClick = (ev: MouseEvent) => {\n if (this.disabled) {\n ev.preventDefault();\n return;\n }\n this.spwClick.emit(ev);\n };\n\n private get elementClass(): { [className: string]: boolean } {\n return {\n 'spw-link': true,\n 'spw-link--has-icon-right': this.icon && this.iconPosition === 'right',\n 'spw-link--has-icon-left': this.icon && this.iconPosition === 'left',\n [`spw-link--surface-${this.surface}`]: true,\n 'spw-link--has-icon': !!this.icon,\n };\n }\n\n render() {\n const { href, rel, target, icon, iconPosition, accAriaLabel, disabled } = this;\n const ariaAttributes = {\n 'aria-label': accAriaLabel,\n 'aria-disabled': disabled ? 'true' : null,\n };\n\n const iconClass = `spw-icon--${iconPosition}`;\n const iconElement = icon ? <spw-icon class={iconClass} icon={icon}></spw-icon> : null;\n\n return (\n <a href={disabled ? undefined : href} rel={rel} target={target} class={this.elementClass} onClick={this.onClick} {...ariaAttributes}>\n {iconPosition === 'left' && iconElement}\n <div class=\"spw-link__inner\">\n <slot></slot>\n </div>\n {iconPosition === 'right' && iconElement}\n </a>\n );\n }\n}\n"],"version":3}
@@ -12,7 +12,7 @@ const SpwIcon = /*@__PURE__*/ proxyCustomElement(class SpwIcon extends H {
12
12
  }
13
13
  render() {
14
14
  const iconClassName = `spw-icon ${this.variant} ${this.icon}`;
15
- return h("i", { key: '3956b0d9bd88188bb17fb685bf31ddfc3d43ba19', class: iconClassName });
15
+ return h("i", { key: '3b09b4e2f81236ec42b41f89fa4378be870e553a', class: iconClassName });
16
16
  }
17
17
  static get assetsDirs() { return ["assets"]; }
18
18
  static get style() { return spwIconCss; }
@@ -35,6 +35,6 @@ function defineCustomElement() {
35
35
  }
36
36
 
37
37
  export { SpwIcon as S, defineCustomElement as d };
38
- //# sourceMappingURL=p-_q4w18VU.js.map
38
+ //# sourceMappingURL=p-jHpxbAsa.js.map
39
39
 
40
- //# sourceMappingURL=p-_q4w18VU.js.map
40
+ //# sourceMappingURL=p-jHpxbAsa.js.map
@@ -1 +1 @@
1
- {"file":"p-_q4w18VU.js","mappings":";;AAAA,MAAM,UAAU,GAAG,qmuKAAqmuK;;MCQ3muK,OAAO,iBAAAA,kBAAA,CAAA,MAAA,OAAA,SAAAC,CAAA,CAAA;AANpB,IAAA,WAAA,GAAA;;;;;AAUU,QAAA,IAAO,CAAA,OAAA,GAA4C,UAAU;AAMtE;IAJC,MAAM,GAAA;QACJ,MAAM,aAAa,GAAG,CAAA,SAAA,EAAY,IAAI,CAAC,OAAO,CAAA,CAAA,EAAI,IAAI,CAAC,IAAI,CAAA,CAAE;AAC7D,QAAA,OAAO,CAAG,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,aAAa,GAAM;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/spw-icon/spw-icon.scss?tag=spw-icon&encapsulation=shadow","src/components/spw-icon/spw-icon.tsx"],"sourcesContent":["@import url('./assets/fontawesome/css/all.min.css');\n\n:host {\n line-height: 1;\n}\n\n.spw-icon.fa-solid,\n.spw-icon.fa-solid:before {\n font-family: var(--spw-ds-font-icons-solid);\n}\n\n.spw-icon.fa-brands,\n.spw-icon.fa-brands:before {\n font-family: var(--spw-ds-font-icons-brands);\n}\n\n.spw-icon.fa-regular,\n.spw-icon.fa-regular:before {\n font-weight: 400;\n font-family: var(--spw-ds-font-icons-solid);\n}\n\n.spw-icon {\n font-size: inherit;\n}\n","import { Component, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'spw-icon',\n styleUrl: 'spw-icon.scss',\n shadow: true,\n assetsDirs: ['assets'],\n})\nexport class SpwIcon {\n /** Permet de spécifier une référence d'icône Font Awesome */\n @Prop() icon: string;\n /** Permet de spécifier une variante de Font Awesome */\n @Prop() variant: 'fa-solid' | 'fa-brands' | 'fa-regular' = 'fa-solid';\n\n render() {\n const iconClassName = `spw-icon ${this.variant} ${this.icon}`;\n return <i class={iconClassName}></i>;\n }\n}\n"],"version":3}
1
+ {"file":"p-jHpxbAsa.js","mappings":";;AAAA,MAAM,UAAU,GAAG,qmuKAAqmuK;;MCQ3muK,OAAO,iBAAAA,kBAAA,CAAA,MAAA,OAAA,SAAAC,CAAA,CAAA;AANpB,IAAA,WAAA,GAAA;;;;;AAUU,QAAA,IAAO,CAAA,OAAA,GAAyD,UAAU;AAMnF;IAJC,MAAM,GAAA;QACJ,MAAM,aAAa,GAAG,CAAA,SAAA,EAAY,IAAI,CAAC,OAAO,CAAA,CAAA,EAAI,IAAI,CAAC,IAAI,CAAA,CAAE;AAC7D,QAAA,OAAO,CAAG,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,aAAa,GAAM;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/spw-icon/spw-icon.scss?tag=spw-icon&encapsulation=shadow","src/components/spw-icon/spw-icon.tsx"],"sourcesContent":["@import url('./assets/fontawesome/css/all.min.css');\n\n:host {\n line-height: 1;\n}\n\n.spw-icon.fa-solid,\n.spw-icon.fa-solid:before {\n font-family: var(--spw-ds-font-icons-solid);\n}\n\n.spw-icon.fa-brands,\n.spw-icon.fa-brands:before {\n font-family: var(--spw-ds-font-icons-brands);\n}\n\n.spw-icon.fa-regular,\n.spw-icon.fa-regular:before {\n font-weight: 400;\n font-family: var(--spw-ds-font-icons-solid);\n}\n\n.spw-icon {\n font-size: inherit;\n}\n","import { Component, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'spw-icon',\n styleUrl: 'spw-icon.scss',\n shadow: true,\n assetsDirs: ['assets'],\n})\nexport class SpwIcon {\n /** Permet de spécifier une référence d'icône Font Awesome */\n @Prop() icon: string;\n /** Permet de spécifier une variante de Font Awesome */\n @Prop() variant: 'fa-solid' | 'fa-brands' | 'fa-regular' | 'fa-light' = 'fa-solid';\n\n render() {\n const iconClassName = `spw-icon ${this.variant} ${this.icon}`;\n return <i class={iconClassName}></i>;\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { S as SpwAccordionTitle$1, d as defineCustomElement$1 } from './p-c0hJPgjJ.js';
1
+ import { S as SpwAccordionTitle$1, d as defineCustomElement$1 } from './p-DN5puq3N.js';
2
2
 
3
3
  const SpwAccordionTitle = SpwAccordionTitle$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
- import { d as defineCustomElement$3 } from './p-_q4w18VU.js';
3
- import { d as defineCustomElement$2 } from './p-qROlK2WR.js';
2
+ import { d as defineCustomElement$3 } from './p-jHpxbAsa.js';
3
+ import { d as defineCustomElement$2 } from './p-iQsDa7FA.js';
4
4
 
5
5
  const spwBreadcrumbItemCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:contents;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-breadcrumb-item{display:inline;list-style:none}.spw-breadcrumb-item__text{color:var(--spw-color-themes-grey-grey-900);font-weight:700}:host(.spw-breadcrumb-item--dark) .spw-breadcrumb-item__text{color:var(--spw-ds-white)}";
6
6
 
@@ -1,4 +1,4 @@
1
- import { S as SpwButton$1, d as defineCustomElement$1 } from './p-DjyPtAVX.js';
1
+ import { S as SpwButton$1, d as defineCustomElement$1 } from './p-B59-Q28_.js';
2
2
 
3
3
  const SpwButton = SpwButton$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, h } from './index.js';
2
- import { d as defineCustomElement$2 } from './p-_q4w18VU.js';
2
+ import { d as defineCustomElement$2 } from './p-jHpxbAsa.js';
3
3
 
4
4
  const spwCardImageCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;--spw-card-image-display:block;box-sizing:border-box;font-size:100%;line-height:1;width:100%}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host(.--people){max-width:112px;width:112px}.spw-card-image{border-radius:5px 5px 0 0;display:var(--spw-card-image-display);overflow:hidden;position:relative}:host(.--event) .spw-card-image,:host(.--vertical) .spw-card-image{border-radius:5px 0 0 5px;height:100%}:host(.--people) .spw-card-image{border-radius:5px}:host(.--sidebar) .spw-card-image,:host(.--video) .spw-card-image{border-radius:5px}.spw-card-image ::slotted(img),.spw-card-image img{height:auto;transform-origin:center center;transition:all .3s ease;width:100%}.spw-card-image__icon{align-items:center;color:#fff;display:flex;font-size:30px;font-weight:300;justify-content:center;opacity:0;transition:all .3s ease;visibility:hidden;z-index:2}.spw-card-image__icon,.spw-card-image__icon:before{height:100%;left:0;position:absolute;top:0;width:100%}.spw-card-image__icon:before{background:var(--spw-ds-primary);content:\"\";opacity:.4}.spw-card-image__icon spw-icon{transform:scale(1.5);transition:all .3s ease}.spw-card-image__label{align-items:center;background:var(--spw-ds-white);border-radius:9999px;box-shadow:var(--spw-effect-elevation-3);color:var(--spw-color-themes-grey-grey-900);display:inline-flex;font-size:14px;line-height:1;padding:8px 12px;position:absolute;right:10px;top:10px;z-index:3}:host(.--hovered:not(.--video)) .spw-card-image .spw-card-image__icon,:host(.--hovered:not(.--video)) .spw-card-image.--is-hovered .spw-card-image__icon{opacity:1;visibility:visible}:host(.--hovered:not(.--video)) .spw-card-image .spw-card-image__icon spw-icon,:host(.--hovered:not(.--video)) .spw-card-image.--is-hovered .spw-card-image__icon spw-icon{transform:scale(1)}:host(.--hovered:not(.--video)) .spw-card-image ::slotted(img),:host(.--hovered:not(.--video)) .spw-card-image.--is-hovered ::slotted(img){transform:scale(1.1)}:host(.--event),:host(.--vertical){min-width:170px;overflow:hidden;position:relative;width:170px}:host(.--event) .spw-card-image ::slotted(img),:host(.--vertical) .spw-card-image ::slotted(img){height:100%!important;left:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;position:absolute;top:0;width:100%}:host(.--sidebar){height:75px;min-height:75px;min-width:75px;overflow:hidden;position:relative;width:75px}:host(.--sidebar) .spw-card-image{height:100%}:host(.--sidebar) .spw-card-image ::slotted(img){height:100%!important;left:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;position:absolute;top:0;width:100%}:host(.--video){height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}:host(.--video):after{background:#000;border-radius:5px;content:\"\";height:100%;left:0;opacity:.4;position:absolute;top:0;transition:all .2s linear;width:100%}:host(.--video) .spw-card-image{height:100%}:host(.--video) .spw-card-image ::slotted(img){height:100%!important;left:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;position:absolute;top:0;width:100%}:host(.--video.--hovered):after{opacity:.6}";
5
5
 
@@ -1,4 +1,4 @@
1
- import { S as SpwCheckbox$1, d as defineCustomElement$1 } from './p-DHBpMBYT.js';
1
+ import { S as SpwCheckbox$1, d as defineCustomElement$1 } from './p-B62I-VV0.js';
2
2
 
3
3
  const SpwCheckbox = SpwCheckbox$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -2,11 +2,11 @@ import { p as proxyCustomElement, H, h } from './index.js';
2
2
  import { d as defineCustomElement$9 } from './p-C_iAJUsF.js';
3
3
  import { d as defineCustomElement$8 } from './p-JncqUnd1.js';
4
4
  import { d as defineCustomElement$7 } from './p-D4PsQ_SH.js';
5
- import { d as defineCustomElement$6 } from './p-c0hJPgjJ.js';
6
- import { d as defineCustomElement$5 } from './p-DjyPtAVX.js';
7
- import { d as defineCustomElement$4 } from './p-DHBpMBYT.js';
8
- import { d as defineCustomElement$3 } from './p-_q4w18VU.js';
9
- import { d as defineCustomElement$2 } from './p-CVuBJlFL.js';
5
+ import { d as defineCustomElement$6 } from './p-DN5puq3N.js';
6
+ import { d as defineCustomElement$5 } from './p-B59-Q28_.js';
7
+ import { d as defineCustomElement$4 } from './p-B62I-VV0.js';
8
+ import { d as defineCustomElement$3 } from './p-jHpxbAsa.js';
9
+ import { d as defineCustomElement$2 } from './p-BvEKH3n2.js';
10
10
 
11
11
  const spwCookiesCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-cookies{align-items:flex-end;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:end;left:0;position:fixed;top:0;width:100%;z-index:9999}.spw-cookies__container{background:#fff;border-radius:5px;box-shadow:0 2px 10px rgba(0,0,0,.1);line-height:1.5;margin:12px;max-height:calc(-24px + 100vh);max-width:400px;overflow-y:auto;width:100%}.spw-cookies__buttons,.spw-cookies__content{padding:16px}@media (min-width:768px){.spw-cookies__buttons,.spw-cookies__content{padding:24px}}.spw-cookies__content{padding-bottom:0}.spw-cookies__buttons{background:#fff;bottom:0;display:flex;flex-direction:column;gap:12px;position:sticky;text-align:center;z-index:10}.spw-cookies__buttons spw-button{--spw-button-py-medium:var(--spw-button-py-large)}.spw-cookies__title{color:var(--spw-colors-support-grey-grey-900);font-size:24px;line-height:1.2;margin-bottom:.5rem}.spw-cookies__text{color:var(--spw-color-themes-grey-grey-600);margin-bottom:1rem}.spw-cookies__checkbox{padding-top:4px}.spw-cookies__checkbox-text{color:var(--spw-color-themes-grey-grey-600)}";
12
12
 
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
2
- import { d as defineCustomElement$5 } from './p-DHBpMBYT.js';
2
+ import { d as defineCustomElement$5 } from './p-B62I-VV0.js';
3
3
  import { d as defineCustomElement$4 } from './p-t1vZcpqC.js';
4
- import { d as defineCustomElement$3 } from './p-qgvllwX6.js';
5
- import { d as defineCustomElement$2 } from './p-_q4w18VU.js';
4
+ import { d as defineCustomElement$3 } from './p-DKCYb8Pa.js';
5
+ import { d as defineCustomElement$2 } from './p-jHpxbAsa.js';
6
6
 
7
7
  const spwCustomSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-custom-select{position:relative}.spw-custom-select__container{align-items:center;background-color:#fff;border:1px solid var(--spw-color-themes-grey-grey-800);border-radius:4px;display:flex;height:40px;justify-content:space-between;line-height:40px;padding:0 12px;width:100%}.spw-custom-select__container:hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-custom-select__container:focus-visible,.spw-custom-select__container:focus-within{box-shadow:0 0 0 6px #000;outline:3px solid #fff;outline-offset:0}.spw-custom-select--disabled .spw-custom-select__container{background:var(--spw-color-themes-grey-grey-100);border-color:var(--spw-color-themes-grey-grey-400);color:var(--spw-color-themes-grey-grey-500);cursor:not-allowed}.spw-custom-select--disabled .spw-custom-select__container::-moz-placeholder{color:var(--spw-color-themes-grey-grey-500)}.spw-custom-select--disabled .spw-custom-select__container::placeholder{color:var(--spw-color-themes-grey-grey-500)}.spw-custom-select--disabled .spw-custom-select__container:focus,.spw-custom-select--disabled .spw-custom-select__container:focus-visible,.spw-custom-select--disabled .spw-custom-select__container:hover{outline:none}.spw-custom-select--is-error .spw-custom-select__container{border-color:var(--spw-colors-states-error-error-300)}.spw-custom-select--large .spw-custom-select__container{height:60px;line-height:60px;padding:0 24px}.spw-custom-select--is-opened .spw-custom-select__container{border-bottom-color:transparent;border-radius:4px 4px 0 0;height:auto;line-height:1;min-height:40px}.spw-custom-select__selected{flex:1;max-width:100%;padding-right:30px}.spw-custom-select__selected-item{align-items:center;background:var(--spw-color-themes-grey-grey-200);border:1px solid var(--spw-color-themes-grey-grey-900);border-radius:999px;color:var(--spw-color-themes-grey-grey-900);display:inline-flex;font-size:14px;gap:6px;height:24px;line-height:24px;margin:4px 6px 2px 0;padding:0 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.spw-custom-select__selected-items{text-wrap:nowrap;flex:1;overflow:hidden;text-overflow:ellipsis}.spw-custom-select--is-opened .spw-custom-select__selected-items{text-wrap:initial;overflow:visible;padding-bottom:4px;padding-top:3px;text-overflow:clip}.spw-custom-select__arrow{color:var(--spw-color-themes-grey-grey-600);font-size:16px;pointer-events:none;position:absolute;right:12px;top:10px}.spw-custom-select__wrapper{position:relative}.spw-custom-select--is-opened .spw-custom-select__search{left:0;margin-top:1px;position:absolute;top:0;width:100%;z-index:11}.spw-custom-select--has-value.spw-custom-select--is-opened .spw-custom-select__search{margin-top:-3px;top:auto;top:100%}.spw-custom-select__search-input{border:none;height:38px;line-height:40px;margin:0;padding:0;text-overflow:ellipsis;width:calc(100% - 30px)}.spw-custom-select__search-input:focus{outline:none}.spw-custom-select--is-opened .spw-custom-select__search-input{border-left:1px solid var(--spw-color-themes-grey-grey-800);padding:0 12px}.spw-custom-select--is-opened.spw-custom-select--has-value .spw-custom-select__search-input{border-right:1px solid var(--spw-color-themes-grey-grey-800);width:100%}.spw-custom-select__options{background-color:#fff;border:1px solid var(--spw-color-themes-grey-grey-800);border-radius:0 0 4px 4px;max-height:200px;overflow-y:auto;position:absolute;width:100%;z-index:12}.spw-custom-select__options--down,.spw-custom-select__options--up{top:100%;transform:translateY(0)}.spw-custom-select--has-value.spw-custom-select--is-opened:not(.spw-custom-select--not-searchable) .spw-custom-select__options{margin-top:35px}.spw-custom-select__no-results{color:var(--spw-color-themes-grey-grey-600);cursor:not-allowed;padding:12px}.spw-custom-select__option{border-bottom:1px solid var(--spw-color-themes-grey-grey-900);cursor:pointer;padding:12px}.spw-custom-select__option:hover{background-color:var(--spw-color-themes-grey-grey-200)}.spw-custom-select__option:last-child{border-bottom:none}.spw-custom-select__option--selected{font-weight:700}.spw-custom-select__option--disabled{cursor:not-allowed;opacity:.5;pointer-events:none}.spw-custom-select__option--disabled:hover{background-color:transparent}.spw-custom-select__error{color:var(--spw-color-themes-grey-grey-600);display:block;font-size:12px;margin-top:8px}.spw-custom-select__option--focused{background-color:var(--spw-color-themes-grey-grey-300)}.-spw-tw-mt-1{margin-top:-.25rem}.spw-tw-mb-2{margin-bottom:.5rem}.spw-tw-mr-2{margin-right:.5rem}";
8
8
 
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
2
2
  import { g as getDefaultExportFromCjs } from './p-B85MJLTf.js';
3
3
  import { d as defineCustomElement$4 } from './p-t1vZcpqC.js';
4
- import { d as defineCustomElement$3 } from './p-qgvllwX6.js';
5
- import { d as defineCustomElement$2 } from './p-_q4w18VU.js';
4
+ import { d as defineCustomElement$3 } from './p-DKCYb8Pa.js';
5
+ import { d as defineCustomElement$2 } from './p-jHpxbAsa.js';
6
6
 
7
7
  var datepicker_min = {exports: {}};
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
- import { d as defineCustomElement$2 } from './p-_q4w18VU.js';
2
+ import { d as defineCustomElement$2 } from './p-jHpxbAsa.js';
3
3
 
4
4
  const spwDropdownItemCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-dropdown-item{align-items:center;border-radius:4px;color:var(--spw-colors-support-grey-grey-900);cursor:pointer;display:flex;font-size:14px;gap:8px;padding:8px 12px;position:relative;text-decoration:none;transition:background-color .2s ease}.spw-dropdown-item:hover{background-color:var(--spw-colors-support-grey-grey-200)}.spw-dropdown-item--disabled{cursor:not-allowed;opacity:.5;pointer-events:none}.spw-dropdown-item--has-sub-items{padding-right:32px}.spw-dropdown-item--sub-items-open{background-color:var(--spw-colors-support-grey-grey-100)}.spw-dropdown-item__icon{align-items:center;color:var(--spw-colors-support-grey-grey-700);display:inline-flex;font-size:14px;height:20px;justify-content:center;width:20px}.spw-dropdown-item__content{align-items:center;display:flex;flex:1;justify-content:space-between;position:relative}.spw-dropdown-item__label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spw-dropdown-item__toggle{align-items:center;border-radius:50%;cursor:pointer;display:inline-flex;height:20px;justify-content:center;position:absolute;right:-24px;top:50%;transform:translateY(-50%);transition:background-color .2s ease,transform .2s ease;width:20px}.spw-dropdown-item__toggle:hover{background-color:var(--spw-colors-support-grey-grey-300)}.spw-dropdown-item__toggle spw-icon{color:var(--spw-colors-support-grey-grey-900);font-size:12px;transition:transform .2s ease}.spw-dropdown-item__toggle--open spw-icon{transform:rotate(180deg)}.spw-dropdown-item__sub-items{margin-top:4px;padding-left:16px}.spw-dropdown-item__sub-items spw-dropdown-item{font-size:13px}";
5
5
 
@@ -1,4 +1,4 @@
1
- import { S as SpwFieldMessage$1, d as defineCustomElement$1 } from './p-qgvllwX6.js';
1
+ import { S as SpwFieldMessage$1, d as defineCustomElement$1 } from './p-DKCYb8Pa.js';
2
2
 
3
3
  const SpwFieldMessage = SpwFieldMessage$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
2
2
  import { a as formatFileSize } from './p-BBi01mKM.js';
3
- import { d as defineCustomElement$4 } from './p-DjyPtAVX.js';
4
- import { d as defineCustomElement$3 } from './p-_q4w18VU.js';
5
- import { d as defineCustomElement$2 } from './p-CVuBJlFL.js';
3
+ import { d as defineCustomElement$4 } from './p-B59-Q28_.js';
4
+ import { d as defineCustomElement$3 } from './p-jHpxbAsa.js';
5
+ import { d as defineCustomElement$2 } from './p-BvEKH3n2.js';
6
6
 
7
7
  const spwFileUploadCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-file-upload{display:block;position:relative}.spw-file-upload__wrapper--error{background-color:#ffe6e6;border-color:#ff4d4d}.spw-file-upload__wrapper--dragging{background-color:#e0f7fa;border-color:#00acc1}.spw-file-upload spw-button{display:inline-block;margin-bottom:8px}.spw-file-upload__errors{color:var(--spw-colors-dark-themes-red-red-500);font-size:14px;font-weight:600}.spw-file-upload__errors li{margin-top:16px}.spw-file-upload__errors--warning{color:var(--spw-color-themes-grey-grey-800);font-weight:400}.spw-file-upload__hints{color:var(--spw-color-themes-grey-grey-600);font-size:14px;margin-top:16px}.spw-file-upload__dropzone{background:var(--spw-colors-dark-themes-blue-grey-blue-grey-50);border:1px dashed #333;border-radius:8px;color:#555;cursor:pointer;font-weight:700;padding:20px;text-align:center}.spw-file-upload__dropzone:not(.spw-file-upload--disabled):hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-file-upload__dropzone:not(.spw-file-upload__wrapper--disabled):active,.spw-file-upload__dropzone:not(.spw-file-upload__wrapper--disabled):focus-visible,.spw-file-upload__dropzone:not(.spw-file-upload__wrapper--disabled):focus-within{outline:2px solid var(--spw-ds-focus)}.spw-file-upload__dropzone-link{color:var(--spw-ds-primary);text-decoration:underline}.spw-file-upload__dropzone-link:hover{text-decoration:none}.spw-file-upload__wrapper--disabled .spw-file-upload__dropzone-link{color:inherit;text-decoration:none}.spw-file-upload__wrapper--disabled .spw-file-upload__dropzone{background:var(--spw-color-themes-grey-grey-100);border-color:var(--spw-color-themes-grey-grey-300);color:var(--spw-color-themes-grey-grey-400);cursor:not-allowed;outline:none!important}.spw-file-upload--is-dragging .spw-file-upload__dropzone{background:var(--spw-colors-dark-themes-blue-grey-blue-grey-200)}.spw-file-upload__info-list{border-top:1px solid #eee;margin-top:16px}.spw-file-upload__info-list li{align-items:center;border-bottom:1px solid #eee;color:var(--spw-color-themes-grey-grey-900);display:flex;flex-wrap:wrap;font-size:14px;gap:8px;justify-content:space-between;padding:16px 8px}@media (min-width:768px){.spw-file-upload__info-list li{flex-wrap:nowrap;gap:16px}}.spw-file-upload__info-list-actions{display:flex;gap:8px}@media (min-width:768px){.spw-file-upload__info-list-actions{gap:16px}}.spw-file-upload__info-list-delete{color:inherit}.spw-file-upload__info-list-delete:hover{text-decoration:none}.spw-tw-mr-2{margin-right:.5rem}";
8
8
 
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface SpwGridItem extends Components.SpwGridItem, HTMLElement {}
4
+ export const SpwGridItem: {
5
+ prototype: SpwGridItem;
6
+ new (): SpwGridItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,52 @@
1
+ import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
+
3
+ const spwGridItemCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;grid-column:span var(--spw-grid-item-col-span-mobile,auto);grid-row:span var(--spw-grid-item-row-span-mobile,auto);line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}@media (min-width:768px){:host{grid-column:span var(--spw-grid-item-col-span-tablet,auto);grid-row:span var(--spw-grid-item-row-span-tablet,auto)}}@media (min-width:1024px){:host{grid-column:span var(--spw-grid-item-col-span-desktop,auto);grid-row:span var(--spw-grid-item-row-span-desktop,auto)}}";
4
+
5
+ const SpwGridItem$1 = /*@__PURE__*/ proxyCustomElement(class SpwGridItem extends H {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ }
11
+ render() {
12
+ var _a, _b, _c, _d, _e, _f;
13
+ return (h(Host, { key: '4bd007ba2842019053acca9b6a68673dc0d143db', style: {
14
+ '--spw-grid-item-col-span-mobile': ((_a = this.colSpanMobile) === null || _a === void 0 ? void 0 : _a.toString()) || 'auto',
15
+ '--spw-grid-item-col-span-tablet': ((_b = this.colSpanTablet) === null || _b === void 0 ? void 0 : _b.toString()) || 'auto',
16
+ '--spw-grid-item-col-span-desktop': ((_c = this.colSpanDesktop) === null || _c === void 0 ? void 0 : _c.toString()) || 'auto',
17
+ '--spw-grid-item-row-span-mobile': ((_d = this.rowSpanMobile) === null || _d === void 0 ? void 0 : _d.toString()) || 'auto',
18
+ '--spw-grid-item-row-span-tablet': ((_e = this.rowSpanTablet) === null || _e === void 0 ? void 0 : _e.toString()) || 'auto',
19
+ '--spw-grid-item-row-span-desktop': ((_f = this.rowSpanDesktop) === null || _f === void 0 ? void 0 : _f.toString()) || 'auto',
20
+ } }, h("slot", { key: '214a05704d97b4264c1461b85fdc0b5200c1509d' })));
21
+ }
22
+ get el() { return this; }
23
+ static get style() { return spwGridItemCss; }
24
+ }, [1, "spw-grid-item", {
25
+ "colSpanMobile": [2, "col-span-mobile"],
26
+ "colSpanTablet": [2, "col-span-tablet"],
27
+ "colSpanDesktop": [2, "col-span-desktop"],
28
+ "rowSpanMobile": [2, "row-span-mobile"],
29
+ "rowSpanTablet": [2, "row-span-tablet"],
30
+ "rowSpanDesktop": [2, "row-span-desktop"]
31
+ }]);
32
+ function defineCustomElement$1() {
33
+ if (typeof customElements === "undefined") {
34
+ return;
35
+ }
36
+ const components = ["spw-grid-item"];
37
+ components.forEach(tagName => { switch (tagName) {
38
+ case "spw-grid-item":
39
+ if (!customElements.get(tagName)) {
40
+ customElements.define(tagName, SpwGridItem$1);
41
+ }
42
+ break;
43
+ } });
44
+ }
45
+
46
+ const SpwGridItem = SpwGridItem$1;
47
+ const defineCustomElement = defineCustomElement$1;
48
+
49
+ export { SpwGridItem, defineCustomElement };
50
+ //# sourceMappingURL=spw-grid-item.js.map
51
+
52
+ //# sourceMappingURL=spw-grid-item.js.map
@@ -0,0 +1 @@
1
+ {"file":"spw-grid-item.js","mappings":";;AAAA,MAAM,cAAc,GAAG,w+FAAw+F;;MCOl/FA,aAAW,iBAAAC,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;;;;;;IAgBtB,MAAM,GAAA;;QACJ,QACE,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACH,KAAK,EAAE;AACL,gBAAA,iCAAiC,EAAE,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,aAAa,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,QAAQ,EAAE,KAAI,MAAM;AAC3E,gBAAA,iCAAiC,EAAE,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,aAAa,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,QAAQ,EAAE,KAAI,MAAM;AAC3E,gBAAA,kCAAkC,EAAE,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,cAAc,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,QAAQ,EAAE,KAAI,MAAM;AAC7E,gBAAA,iCAAiC,EAAE,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,aAAa,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,QAAQ,EAAE,KAAI,MAAM;AAC3E,gBAAA,iCAAiC,EAAE,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,aAAa,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,QAAQ,EAAE,KAAI,MAAM;AAC3E,gBAAA,kCAAkC,EAAE,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,cAAc,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,QAAQ,EAAE,KAAI,MAAM;AAC9E,aAAA,EAAA,EAED,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["SpwGridItem","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/spw-grid/spw-grid-item/spw-grid-item.scss?tag=spw-grid-item&encapsulation=shadow","src/components/spw-grid/spw-grid-item/spw-grid-item.tsx"],"sourcesContent":[":host {\n display: block;\n grid-column: span var(--spw-grid-item-col-span-mobile, auto);\n grid-row: span var(--spw-grid-item-row-span-mobile, auto);\n}\n\n@media (min-width: 768px) {\n :host {\n grid-column: span var(--spw-grid-item-col-span-tablet, auto);\n grid-row: span var(--spw-grid-item-row-span-tablet, auto);\n }\n}\n\n@media (min-width: 1024px) {\n :host {\n grid-column: span var(--spw-grid-item-col-span-desktop, auto);\n grid-row: span var(--spw-grid-item-row-span-desktop, auto);\n }\n}\n","import { Element, Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'spw-grid-item',\n styleUrl: 'spw-grid-item.scss',\n shadow: true,\n})\nexport class SpwGridItem {\n @Element() el: HTMLSpwGridItemElement;\n\n /** Nombre de colonnes occupées par l'item en vue mobile */\n @Prop() colSpanMobile?: number;\n /** Nombre de colonnes occupées par l'item en vue tablette */\n @Prop() colSpanTablet?: number;\n /** Nombre de colonnes occupées par l'item en vue desktop */\n @Prop() colSpanDesktop?: number;\n /** Nombre de lignes occupées par l'item en vue mobile */\n @Prop() rowSpanMobile?: number;\n /** Nombre de lignes occupées par l'item en vue tablette */\n @Prop() rowSpanTablet?: number;\n /** Nombre de lignes occupées par l'item en vue desktop */\n @Prop() rowSpanDesktop?: number;\n\n render() {\n return (\n <Host\n style={{\n '--spw-grid-item-col-span-mobile': this.colSpanMobile?.toString() || 'auto',\n '--spw-grid-item-col-span-tablet': this.colSpanTablet?.toString() || 'auto',\n '--spw-grid-item-col-span-desktop': this.colSpanDesktop?.toString() || 'auto',\n '--spw-grid-item-row-span-mobile': this.rowSpanMobile?.toString() || 'auto',\n '--spw-grid-item-row-span-tablet': this.rowSpanTablet?.toString() || 'auto',\n '--spw-grid-item-row-span-desktop': this.rowSpanDesktop?.toString() || 'auto',\n }}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface SpwGrid extends Components.SpwGrid, HTMLElement {}
4
+ export const SpwGrid: {
5
+ prototype: SpwGrid;
6
+ new (): SpwGrid;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,78 @@
1
+ import { p as proxyCustomElement, H, h, a as Host } from './index.js';
2
+
3
+ const spwGridCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.3}h1,h2,h3,h4,h5,h6,li,p,ul{margin:0;padding:0}ul{list-style:none}:host{-webkit-text-size-adjust:100%;box-sizing:border-box;display:block;font-size:100%;line-height:1.3}:host *,:host :after,:host :before{box-sizing:inherit;font-family:Nunito Sans}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px;width:100%}@media (min-width:460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width:768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width:1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width:1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}.spw-grid{display:grid;gap:24px;grid-template-columns:repeat(var(--spw-grid-cols-mobile,1),1fr)}@media (min-width:768px){.spw-grid{grid-template-columns:repeat(var(--spw-grid-cols-tablet,2),1fr)}}@media (min-width:1024px){.spw-grid{grid-template-columns:repeat(var(--spw-grid-cols-desktop,3),1fr)}}";
4
+
5
+ const SpwGrid$1 = /*@__PURE__*/ proxyCustomElement(class SpwGrid extends H {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ /** Nombre de colonnes à afficher en vue mobile */
11
+ this.colsMobile = 1;
12
+ /** Nombre de colonnes à afficher en vue tablette */
13
+ this.colsTablet = 2;
14
+ /** Nombre de colonnes à afficher en vue desktop */
15
+ this.colsDesktop = 3;
16
+ }
17
+ emitConfigurationChanged() {
18
+ const event = new CustomEvent('gridConfigurationChanged', {
19
+ detail: {
20
+ colsMobile: this.colsMobile,
21
+ colsTablet: this.colsTablet,
22
+ colsDesktop: this.colsDesktop,
23
+ },
24
+ bubbles: true,
25
+ composed: true,
26
+ });
27
+ this.el.dispatchEvent(event);
28
+ }
29
+ configurationChanged() {
30
+ this.emitConfigurationChanged();
31
+ }
32
+ componentDidLoad() {
33
+ this.emitConfigurationChanged();
34
+ }
35
+ render() {
36
+ return (h(Host, { key: '914867a79bb30c0a1b849a8ceb8404a65d39b156' }, h("div", { key: 'bbf22cdbe29e3529daca122dc41c36728aa1bdd7', class: "spw-grid", style: {
37
+ '--spw-grid-cols-mobile': this.colsMobile.toString(),
38
+ '--spw-grid-cols-tablet': this.colsTablet.toString(),
39
+ '--spw-grid-cols-desktop': this.colsDesktop.toString(),
40
+ } }, h("slot", { key: '0839edb4ed329b9cd2cf5b67423cfc559b1ac501' }))));
41
+ }
42
+ get el() { return this; }
43
+ static get watchers() { return {
44
+ "colsMobile": ["configurationChanged"],
45
+ "colsTablet": ["configurationChanged"],
46
+ "colsDesktop": ["configurationChanged"]
47
+ }; }
48
+ static get style() { return spwGridCss; }
49
+ }, [1, "spw-grid", {
50
+ "colsMobile": [2, "cols-mobile"],
51
+ "colsTablet": [2, "cols-tablet"],
52
+ "colsDesktop": [2, "cols-desktop"]
53
+ }, undefined, {
54
+ "colsMobile": ["configurationChanged"],
55
+ "colsTablet": ["configurationChanged"],
56
+ "colsDesktop": ["configurationChanged"]
57
+ }]);
58
+ function defineCustomElement$1() {
59
+ if (typeof customElements === "undefined") {
60
+ return;
61
+ }
62
+ const components = ["spw-grid"];
63
+ components.forEach(tagName => { switch (tagName) {
64
+ case "spw-grid":
65
+ if (!customElements.get(tagName)) {
66
+ customElements.define(tagName, SpwGrid$1);
67
+ }
68
+ break;
69
+ } });
70
+ }
71
+
72
+ const SpwGrid = SpwGrid$1;
73
+ const defineCustomElement = defineCustomElement$1;
74
+
75
+ export { SpwGrid, defineCustomElement };
76
+ //# sourceMappingURL=spw-grid.js.map
77
+
78
+ //# sourceMappingURL=spw-grid.js.map
@@ -0,0 +1 @@
1
+ {"file":"spw-grid.js","mappings":";;AAAA,MAAM,UAAU,GAAG,s3FAAs3F;;MCO53FA,SAAO,iBAAAC,kBAAA,CAAA,MAAA,OAAA,SAAAC,CAAA,CAAA;AALpB,IAAA,WAAA,GAAA;;;;;AASU,QAAA,IAAU,CAAA,UAAA,GAAW,CAAC;;AAEtB,QAAA,IAAU,CAAA,UAAA,GAAW,CAAC;;AAEtB,QAAA,IAAW,CAAA,WAAA,GAAW,CAAC;AA0ChC;IAxCS,wBAAwB,GAAA;AAC9B,QAAA,MAAM,KAAK,GAAG,IAAI,WAAW,CAAC,0BAA0B,EAAE;AACxD,YAAA,MAAM,EAAE;gBACN,UAAU,EAAE,IAAI,CAAC,UAAU;gBAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;gBAC3B,WAAW,EAAE,IAAI,CAAC,WAAW;AAC9B,aAAA;AACD,YAAA,OAAO,EAAE,IAAI;AACb,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA,CAAC;AACF,QAAA,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC;;IAM9B,oBAAoB,GAAA;QAClB,IAAI,CAAC,wBAAwB,EAAE;;IAGjC,gBAAgB,GAAA;QACd,IAAI,CAAC,wBAAwB,EAAE;;IAGjC,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE;AACL,gBAAA,wBAAwB,EAAE,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE;AACpD,gBAAA,wBAAwB,EAAE,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE;AACpD,gBAAA,yBAAyB,EAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE;AACvD,aAAA,EAAA,EAED,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["SpwGrid","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/spw-grid/spw-grid.scss?tag=spw-grid&encapsulation=shadow","src/components/spw-grid/spw-grid.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.spw-grid {\n display: grid;\n grid-template-columns: repeat(var(--spw-grid-cols-mobile, 1), 1fr);\n gap: 24px;\n}\n\n@media (min-width: 768px) {\n .spw-grid {\n grid-template-columns: repeat(var(--spw-grid-cols-tablet, 2), 1fr);\n }\n}\n\n@media (min-width: 1024px) {\n .spw-grid {\n grid-template-columns: repeat(var(--spw-grid-cols-desktop, 3), 1fr);\n }\n}\n","import { Component, Element, Prop, Host, h, Watch } from '@stencil/core';\n\n@Component({\n tag: 'spw-grid',\n styleUrl: 'spw-grid.scss',\n shadow: true,\n})\nexport class SpwGrid {\n @Element() el: HTMLSpwGridElement;\n\n /** Nombre de colonnes à afficher en vue mobile */\n @Prop() colsMobile: number = 1;\n /** Nombre de colonnes à afficher en vue tablette */\n @Prop() colsTablet: number = 2;\n /** Nombre de colonnes à afficher en vue desktop */\n @Prop() colsDesktop: number = 3;\n\n private emitConfigurationChanged() {\n const event = new CustomEvent('gridConfigurationChanged', {\n detail: {\n colsMobile: this.colsMobile,\n colsTablet: this.colsTablet,\n colsDesktop: this.colsDesktop,\n },\n bubbles: true,\n composed: true,\n });\n this.el.dispatchEvent(event);\n }\n\n @Watch('colsMobile')\n @Watch('colsTablet')\n @Watch('colsDesktop')\n configurationChanged() {\n this.emitConfigurationChanged();\n }\n\n componentDidLoad() {\n this.emitConfigurationChanged();\n }\n\n render() {\n return (\n <Host>\n <div\n class=\"spw-grid\"\n style={{\n '--spw-grid-cols-mobile': this.colsMobile.toString(),\n '--spw-grid-cols-tablet': this.colsTablet.toString(),\n '--spw-grid-cols-desktop': this.colsDesktop.toString(),\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -50,7 +50,7 @@ const SpwGroup$1 = /*@__PURE__*/ proxyCustomElement(class SpwGroup extends H {
50
50
  };
51
51
  }
52
52
  render() {
53
- return (h(Host, { key: 'dc2706bf3fcf14a4ce66ca752b3b711ef8dd5549' }, h("div", { key: '36de58106b119a68a29ae5422746437afc0c399d', class: this.groupClasses }, this.label && h("spw-field-label", { key: '4cf29052c6b891f2a1fcff4f7667a320a706841d', class: "spw-tw-mb-3", label: this.label, name: this.name, required: this.required }), h("div", { key: 'd771fd803484da3034d5297e04d166d874b56b0d', class: "spw-group__container" }, h("slot", { key: 'd16c70177f20cfb1f978486dd1e6e7a2bfc668d4', ref: el => (this.slotEl = el) })))));
53
+ return (h(Host, { key: '6aa398b73f2604f8cb4513ba8cc101567f7f3b71' }, h("div", { key: 'bcb3258334d18f79497585fb4f6e1262645be1c1', class: this.groupClasses }, this.label && h("spw-field-label", { key: '3c311639664c58d2dfe2a5630a2ea6c496b3f199', class: "spw-tw-mb-3", label: this.label, name: this.name, required: this.required }), h("div", { key: 'bdc0b6881c033ccb2804b00b0dd53ec99300e4d1', class: "spw-group__container" }, h("slot", { key: '7bfd2b9967b3a51e3c24efa5913e21b0af0fe442', ref: el => (this.slotEl = el) })))));
54
54
  }
55
55
  get host() { return this; }
56
56
  static get style() { return spwGroupCss; }
@@ -10,7 +10,7 @@ const SpwHeaderLangItem$1 = /*@__PURE__*/ proxyCustomElement(class SpwHeaderLang
10
10
  this.active = false;
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '41b5ce74c3d0984eb69d79a5461d12fc87035b01' }, h("div", { key: '28383832f58b169deed14fd75b1a682f353fa42e', class: { 'spw-header-lang-item': true, 'spw-header-lang-item--active': this.active } }, h("slot", { key: 'b07950aad8c88b55222d1bd3df13677ca76f2085' }))));
13
+ return (h(Host, { key: '364199b7ae43b0cf9c9d8bb43ef01cd4df34003e' }, h("div", { key: 'fdd264f13d27c61ff18a5b71495bc8d97244e5d5', class: { 'spw-header-lang-item': true, 'spw-header-lang-item--active': this.active } }, h("slot", { key: 'c9a0ae7668637fe30b560093bf7f056513f87c3b' }))));
14
14
  }
15
15
  static get style() { return spwHeaderLangItemCss; }
16
16
  }, [1, "spw-header-lang-item", {