@spw-ds/spw-stencil-library 1.2.5 → 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 (507) 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 +2 -2
  18. package/dist/cjs/spw-header-navigation-item.cjs.entry.js.map +1 -1
  19. package/dist/cjs/spw-header-navigation-item.entry.cjs.js.map +1 -1
  20. package/dist/cjs/spw-header-navigation.cjs.entry.js +10 -2
  21. package/dist/cjs/spw-header-navigation.cjs.entry.js.map +1 -1
  22. package/dist/cjs/spw-header-navigation.entry.cjs.js.map +1 -1
  23. package/dist/cjs/spw-header-persona-item.cjs.entry.js +1 -1
  24. package/dist/cjs/spw-header-persona.cjs.entry.js +1 -1
  25. package/dist/cjs/spw-header.cjs.entry.js +2 -2
  26. package/dist/cjs/spw-header.cjs.entry.js.map +1 -1
  27. package/dist/cjs/spw-header.entry.cjs.js.map +1 -1
  28. package/dist/cjs/spw-hero.cjs.entry.js +1 -1
  29. package/dist/cjs/spw-iodda.cjs.entry.js +1 -1
  30. package/dist/cjs/spw-list-description.cjs.entry.js +1 -1
  31. package/dist/cjs/spw-list-item.cjs.entry.js +1 -1
  32. package/dist/cjs/spw-list-title.cjs.entry.js +1 -1
  33. package/dist/cjs/spw-list.cjs.entry.js +1 -1
  34. package/dist/cjs/spw-modal.cjs.entry.js +1 -1
  35. package/dist/cjs/spw-mosaic-item.cjs.entry.js +1 -1
  36. package/dist/cjs/spw-mosaic.cjs.entry.js +1 -1
  37. package/dist/cjs/spw-pagination.cjs.entry.js +6 -6
  38. package/dist/cjs/spw-radio.cjs.entry.js +1 -1
  39. package/dist/cjs/spw-search-field.cjs.entry.js +65 -11
  40. package/dist/cjs/spw-search-field.cjs.entry.js.map +1 -1
  41. package/dist/cjs/spw-search-field.entry.cjs.js.map +1 -1
  42. package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +1 -1
  43. package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +3 -3
  44. package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +1 -1
  45. package/dist/cjs/spw-sidebar.cjs.entry.js +1 -1
  46. package/dist/cjs/spw-skeleton.cjs.entry.js +1 -1
  47. package/dist/cjs/spw-slider-item.cjs.entry.js +20 -0
  48. package/dist/cjs/spw-slider-item.cjs.entry.js.map +1 -0
  49. package/dist/cjs/spw-slider-item.entry.cjs.js.map +1 -0
  50. package/dist/cjs/spw-slider.cjs.entry.js +246 -0
  51. package/dist/cjs/spw-slider.cjs.entry.js.map +1 -0
  52. package/dist/cjs/spw-slider.entry.cjs.js.map +1 -0
  53. package/dist/cjs/spw-socials.cjs.entry.js +2 -2
  54. package/dist/cjs/spw-socials.cjs.entry.js.map +1 -1
  55. package/dist/cjs/spw-socials.entry.cjs.js.map +1 -1
  56. package/dist/cjs/spw-stencil-library.cjs.js +1 -1
  57. package/dist/cjs/spw-table-body.cjs.entry.js +1 -1
  58. package/dist/cjs/spw-table-cell.cjs.entry.js +1 -1
  59. package/dist/cjs/spw-table-footer.cjs.entry.js +1 -1
  60. package/dist/cjs/spw-table-head.cjs.entry.js +1 -1
  61. package/dist/cjs/spw-table-header.cjs.entry.js +2 -2
  62. package/dist/cjs/spw-table-row.cjs.entry.js +1 -1
  63. package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +1 -1
  64. package/dist/cjs/spw-tabs-navigation.cjs.entry.js +1 -1
  65. package/dist/cjs/spw-tabs.cjs.entry.js +1 -1
  66. package/dist/cjs/spw-tag.cjs.entry.js +1 -1
  67. package/dist/cjs/spw-text-field.cjs.entry.js +1 -1
  68. package/dist/cjs/spw-textarea.cjs.entry.js +1 -1
  69. package/dist/cjs/spw-tile-description.cjs.entry.js +2 -2
  70. package/dist/cjs/spw-tile-description.cjs.entry.js.map +1 -1
  71. package/dist/cjs/spw-tile-description.entry.cjs.js.map +1 -1
  72. package/dist/cjs/spw-tile-title.cjs.entry.js +2 -2
  73. package/dist/cjs/spw-tile-title.cjs.entry.js.map +1 -1
  74. package/dist/cjs/spw-tile-title.entry.cjs.js.map +1 -1
  75. package/dist/cjs/spw-tile.cjs.entry.js +5 -2
  76. package/dist/cjs/spw-tile.cjs.entry.js.map +1 -1
  77. package/dist/cjs/spw-tile.entry.cjs.js.map +1 -1
  78. package/dist/cjs/spw-tooltip.cjs.entry.js +1 -1
  79. package/dist/cjs/spw-topbar.cjs.entry.js +1 -1
  80. package/dist/cjs/spw-wizard-item.cjs.entry.js +1 -1
  81. package/dist/cjs/spw-wizard.cjs.entry.js +1 -1
  82. package/dist/cjs/utils-D_vNTY6w.js.map +1 -1
  83. package/dist/collection/collection-manifest.json +4 -0
  84. package/dist/collection/components/spw-button/spw-button.css +1 -1
  85. package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.css +2 -0
  86. package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js +146 -0
  87. package/dist/collection/components/spw-grid/spw-grid-item/spw-grid-item.js.map +1 -0
  88. package/dist/collection/components/spw-grid/spw-grid.css +2 -0
  89. package/dist/collection/components/spw-grid/spw-grid.js +126 -0
  90. package/dist/collection/components/spw-grid/spw-grid.js.map +1 -0
  91. package/dist/collection/components/spw-group/spw-group.js +1 -1
  92. package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +1 -1
  93. package/dist/collection/components/spw-header/spw-header-lang-item/spw-header-lang-item.js +1 -1
  94. package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.css +1 -1
  95. package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +33 -1
  96. package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js.map +1 -1
  97. package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +1 -1
  98. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +1 -1
  99. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +1 -1
  100. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +1 -1
  101. package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
  102. package/dist/collection/components/spw-header/spw-header.css +1 -1
  103. package/dist/collection/components/spw-header/spw-header.js +1 -1
  104. package/dist/collection/components/spw-header/spw-header.js.map +1 -1
  105. package/dist/collection/components/spw-hero/spw-hero.js +1 -1
  106. package/dist/collection/components/spw-icon/assets/fontawesome/webfonts/fa-light-300.woff2 +0 -0
  107. package/dist/collection/components/spw-icon/spw-icon.js +3 -3
  108. package/dist/collection/components/spw-icon/spw-icon.js.map +1 -1
  109. package/dist/collection/components/spw-iodda/spw-iodda.js +1 -1
  110. package/dist/collection/components/spw-link/spw-link.js +1 -1
  111. package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
  112. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
  113. package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
  114. package/dist/collection/components/spw-list/spw-list.js +1 -1
  115. package/dist/collection/components/spw-loading/spw-loading.js +1 -1
  116. package/dist/collection/components/spw-modal/spw-modal.js +1 -1
  117. package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
  118. package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
  119. package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
  120. package/dist/collection/components/spw-radio/spw-radio.js +1 -1
  121. package/dist/collection/components/spw-search-field/spw-search-field.css +1 -1
  122. package/dist/collection/components/spw-search-field/spw-search-field.js +200 -10
  123. package/dist/collection/components/spw-search-field/spw-search-field.js.map +1 -1
  124. package/dist/collection/components/spw-separator/spw-separator.js +1 -1
  125. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
  126. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
  127. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
  128. package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
  129. package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
  130. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.css +2 -0
  131. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +19 -0
  132. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js.map +1 -0
  133. package/dist/collection/components/spw-slider/spw-slider.css +2 -0
  134. package/dist/collection/components/spw-slider/spw-slider.js +319 -0
  135. package/dist/collection/components/spw-slider/spw-slider.js.map +1 -0
  136. package/dist/collection/components/spw-socials/spw-socials.css +1 -1
  137. package/dist/collection/components/spw-socials/spw-socials.js +1 -1
  138. package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
  139. package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
  140. package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
  141. package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
  142. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
  143. package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
  144. package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
  145. package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
  146. package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
  147. package/dist/collection/components/spw-tag/spw-tag.js +1 -1
  148. package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
  149. package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
  150. package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
  151. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.css +1 -1
  152. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
  153. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +1 -1
  154. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
  155. package/dist/collection/components/spw-tile/spw-tile.css +1 -1
  156. package/dist/collection/components/spw-tile/spw-tile.js +24 -1
  157. package/dist/collection/components/spw-tile/spw-tile.js.map +1 -1
  158. package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
  159. package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
  160. package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
  161. package/dist/collection/components/spw-wizard/spw-wizard.js +1 -1
  162. package/dist/collection/stories/components/spw-breadcrumb/spw-breadcrumb.stories.js +3 -2
  163. package/dist/collection/stories/components/spw-breadcrumb/spw-breadcrumb.stories.js.map +1 -1
  164. package/dist/collection/stories/components/spw-pagination/spw-pagination.stories.js +11 -31
  165. package/dist/collection/stories/components/spw-pagination/spw-pagination.stories.js.map +1 -1
  166. package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js +106 -11
  167. package/dist/collection/stories/components/spw-search-field/spw-search-field.stories.js.map +1 -1
  168. package/dist/collection/stories/organisms/spw-card/spw-card.stories.js +5 -2
  169. package/dist/collection/stories/organisms/spw-card/spw-card.stories.js.map +1 -1
  170. package/dist/collection/stories/organisms/spw-header/spw-header.stories.js +1 -1
  171. package/dist/collection/stories/organisms/spw-header/spw-header.stories.js.map +1 -1
  172. package/dist/collection/stories/organisms/spw-list/spw-list.stories.js +1 -1
  173. package/dist/collection/stories/organisms/spw-list/spw-list.stories.js.map +1 -1
  174. package/dist/collection/stories/organisms/spw-tile/spw-tile.stories.js +1 -1
  175. package/dist/collection/stories/organisms/spw-tile/spw-tile.stories.js.map +1 -1
  176. package/dist/collection/utils/utils.js +5 -4
  177. package/dist/collection/utils/utils.js.map +1 -1
  178. package/dist/components/p-B59-Q28_.js +162 -0
  179. package/dist/components/p-B59-Q28_.js.map +1 -0
  180. package/dist/components/{p-DHBpMBYT.js → p-B62I-VV0.js} +3 -3
  181. package/dist/components/{p-DHBpMBYT.js.map → p-B62I-VV0.js.map} +1 -1
  182. package/dist/components/p-BBi01mKM.js.map +1 -1
  183. package/dist/components/{p-Bvpi6byK.js → p-BSrgKxt5.js} +3 -3
  184. package/dist/components/{p-Bvpi6byK.js.map → p-BSrgKxt5.js.map} +1 -1
  185. package/dist/components/{p-_sdYD0eS.js → p-BlSOja6j.js} +5 -5
  186. package/dist/components/{p-_sdYD0eS.js.map → p-BlSOja6j.js.map} +1 -1
  187. package/dist/components/{p-CVuBJlFL.js → p-BvEKH3n2.js} +3 -3
  188. package/dist/components/{p-CVuBJlFL.js.map → p-BvEKH3n2.js.map} +1 -1
  189. package/dist/components/{p-J5AA2xQI.js → p-DJZBdUDB.js} +3 -3
  190. package/dist/components/{p-J5AA2xQI.js.map → p-DJZBdUDB.js.map} +1 -1
  191. package/dist/components/{p-qgvllwX6.js → p-DKCYb8Pa.js} +3 -3
  192. package/dist/components/{p-qgvllwX6.js.map → p-DKCYb8Pa.js.map} +1 -1
  193. package/dist/components/{p-c0hJPgjJ.js → p-DN5puq3N.js} +3 -3
  194. package/dist/components/{p-c0hJPgjJ.js.map → p-DN5puq3N.js.map} +1 -1
  195. package/dist/components/{p-B2toBmC2.js → p-Dg1wxTqL.js} +11 -11
  196. package/dist/components/{p-B2toBmC2.js.map → p-Dg1wxTqL.js.map} +1 -1
  197. package/dist/components/{p-qROlK2WR.js → p-iQsDa7FA.js} +4 -4
  198. package/dist/components/{p-qROlK2WR.js.map → p-iQsDa7FA.js.map} +1 -1
  199. package/dist/components/{p-_q4w18VU.js → p-jHpxbAsa.js} +3 -3
  200. package/dist/components/{p-_q4w18VU.js.map → p-jHpxbAsa.js.map} +1 -1
  201. package/dist/components/spw-accordion-title.js +1 -1
  202. package/dist/components/spw-breadcrumb-item.js +2 -2
  203. package/dist/components/spw-button.js +1 -1
  204. package/dist/components/spw-card-image.js +1 -1
  205. package/dist/components/spw-checkbox.js +1 -1
  206. package/dist/components/spw-cookies.js +5 -5
  207. package/dist/components/spw-custom-select.js +3 -3
  208. package/dist/components/spw-date-picker.js +2 -2
  209. package/dist/components/spw-dropdown-item.js +1 -1
  210. package/dist/components/spw-field-message.js +1 -1
  211. package/dist/components/spw-file-upload.js +3 -3
  212. package/dist/components/spw-grid-item.d.ts +11 -0
  213. package/dist/components/spw-grid-item.js +52 -0
  214. package/dist/components/spw-grid-item.js.map +1 -0
  215. package/dist/components/spw-grid.d.ts +11 -0
  216. package/dist/components/spw-grid.js +78 -0
  217. package/dist/components/spw-grid.js.map +1 -0
  218. package/dist/components/spw-group.js +1 -1
  219. package/dist/components/spw-header-lang-item.js +1 -1
  220. package/dist/components/spw-header-lang.js +4 -4
  221. package/dist/components/spw-header-navigation-dropdown.js +1 -1
  222. package/dist/components/spw-header-navigation-item.js +3 -3
  223. package/dist/components/spw-header-navigation-item.js.map +1 -1
  224. package/dist/components/spw-header-navigation.js +12 -3
  225. package/dist/components/spw-header-navigation.js.map +1 -1
  226. package/dist/components/spw-header-persona-item.js +1 -1
  227. package/dist/components/spw-header-persona.js +2 -2
  228. package/dist/components/spw-header.js +5 -5
  229. package/dist/components/spw-header.js.map +1 -1
  230. package/dist/components/spw-hero.js +2 -2
  231. package/dist/components/spw-icon.js +1 -1
  232. package/dist/components/spw-iodda.js +6 -6
  233. package/dist/components/spw-link.js +1 -1
  234. package/dist/components/spw-list-description.js +1 -1
  235. package/dist/components/spw-list-item.js +2 -2
  236. package/dist/components/spw-list-title.js +2 -2
  237. package/dist/components/spw-list.js +1 -1
  238. package/dist/components/spw-loading.js +1 -1
  239. package/dist/components/spw-message.js +2 -2
  240. package/dist/components/spw-modal.js +2 -2
  241. package/dist/components/spw-mosaic-item.js +1 -1
  242. package/dist/components/spw-mosaic.js +1 -1
  243. package/dist/components/spw-pagination.js +1 -1
  244. package/dist/components/spw-radio.js +1 -1
  245. package/dist/components/spw-search-field.js +76 -15
  246. package/dist/components/spw-search-field.js.map +1 -1
  247. package/dist/components/spw-select.js +2 -2
  248. package/dist/components/spw-separator.js +1 -1
  249. package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
  250. package/dist/components/spw-sidebar-navigation-item.js +5 -5
  251. package/dist/components/spw-sidebar-navigation-separator.js +2 -2
  252. package/dist/components/spw-sidebar.js +2 -2
  253. package/dist/components/spw-skeleton.js +1 -1
  254. package/dist/components/spw-slider-item.d.ts +11 -0
  255. package/dist/components/spw-slider-item.js +36 -0
  256. package/dist/components/spw-slider-item.js.map +1 -0
  257. package/dist/components/spw-slider.d.ts +11 -0
  258. package/dist/components/spw-slider.js +274 -0
  259. package/dist/components/spw-slider.js.map +1 -0
  260. package/dist/components/spw-socials.js +2 -2
  261. package/dist/components/spw-socials.js.map +1 -1
  262. package/dist/components/spw-table-body.js +1 -1
  263. package/dist/components/spw-table-cell.js +1 -1
  264. package/dist/components/spw-table-footer.js +1 -1
  265. package/dist/components/spw-table-head.js +1 -1
  266. package/dist/components/spw-table-header.js +4 -4
  267. package/dist/components/spw-table-row.js +1 -1
  268. package/dist/components/spw-tabs-navigation-item.js +3 -3
  269. package/dist/components/spw-tabs-navigation.js +2 -2
  270. package/dist/components/spw-tabs.js +1 -1
  271. package/dist/components/spw-tag.js +2 -2
  272. package/dist/components/spw-text-field.js +1 -1
  273. package/dist/components/spw-textarea.js +3 -3
  274. package/dist/components/spw-theme-provider.js +1 -1
  275. package/dist/components/spw-tile-description.js +2 -2
  276. package/dist/components/spw-tile-description.js.map +1 -1
  277. package/dist/components/spw-tile-title.js +2 -2
  278. package/dist/components/spw-tile-title.js.map +1 -1
  279. package/dist/components/spw-tile.js +7 -3
  280. package/dist/components/spw-tile.js.map +1 -1
  281. package/dist/components/spw-tooltip.js +1 -1
  282. package/dist/components/spw-topbar.js +1 -1
  283. package/dist/components/spw-wizard-item.js +2 -2
  284. package/dist/components/spw-wizard.js +1 -1
  285. package/dist/components_json.json +627 -17
  286. package/dist/esm/loader.js +1 -1
  287. package/dist/esm/spw-button.spw-loading.entry.js.map +1 -1
  288. package/dist/esm/spw-button_2.entry.js +2 -2
  289. package/dist/esm/spw-button_2.entry.js.map +1 -1
  290. package/dist/esm/spw-field-label.spw-group.spw-icon.spw-link.spw-separator.spw-theme-provider.entry.js.map +1 -1
  291. package/dist/esm/spw-field-label_6.entry.js +5 -5
  292. package/dist/esm/spw-field-label_6.entry.js.map +1 -1
  293. package/dist/esm/spw-grid-item.entry.js +27 -0
  294. package/dist/esm/spw-grid-item.entry.js.map +1 -0
  295. package/dist/esm/spw-grid.entry.js +52 -0
  296. package/dist/esm/spw-grid.entry.js.map +1 -0
  297. package/dist/esm/spw-header-lang-item.entry.js +1 -1
  298. package/dist/esm/spw-header-lang.entry.js +1 -1
  299. package/dist/esm/spw-header-navigation-dropdown.entry.js +1 -1
  300. package/dist/esm/spw-header-navigation-item.entry.js +2 -2
  301. package/dist/esm/spw-header-navigation-item.entry.js.map +1 -1
  302. package/dist/esm/spw-header-navigation.entry.js +10 -2
  303. package/dist/esm/spw-header-navigation.entry.js.map +1 -1
  304. package/dist/esm/spw-header-persona-item.entry.js +1 -1
  305. package/dist/esm/spw-header-persona.entry.js +1 -1
  306. package/dist/esm/spw-header.entry.js +2 -2
  307. package/dist/esm/spw-header.entry.js.map +1 -1
  308. package/dist/esm/spw-hero.entry.js +1 -1
  309. package/dist/esm/spw-iodda.entry.js +1 -1
  310. package/dist/esm/spw-list-description.entry.js +1 -1
  311. package/dist/esm/spw-list-item.entry.js +1 -1
  312. package/dist/esm/spw-list-title.entry.js +1 -1
  313. package/dist/esm/spw-list.entry.js +1 -1
  314. package/dist/esm/spw-modal.entry.js +1 -1
  315. package/dist/esm/spw-mosaic-item.entry.js +1 -1
  316. package/dist/esm/spw-mosaic.entry.js +1 -1
  317. package/dist/esm/spw-pagination.entry.js +6 -6
  318. package/dist/esm/spw-radio.entry.js +1 -1
  319. package/dist/esm/spw-search-field.entry.js +66 -12
  320. package/dist/esm/spw-search-field.entry.js.map +1 -1
  321. package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +1 -1
  322. package/dist/esm/spw-sidebar-navigation-item.entry.js +3 -3
  323. package/dist/esm/spw-sidebar-navigation-separator.entry.js +1 -1
  324. package/dist/esm/spw-sidebar.entry.js +1 -1
  325. package/dist/esm/spw-skeleton.entry.js +1 -1
  326. package/dist/esm/spw-slider-item.entry.js +18 -0
  327. package/dist/esm/spw-slider-item.entry.js.map +1 -0
  328. package/dist/esm/spw-slider.entry.js +244 -0
  329. package/dist/esm/spw-slider.entry.js.map +1 -0
  330. package/dist/esm/spw-socials.entry.js +2 -2
  331. package/dist/esm/spw-socials.entry.js.map +1 -1
  332. package/dist/esm/spw-stencil-library.js +1 -1
  333. package/dist/esm/spw-table-body.entry.js +1 -1
  334. package/dist/esm/spw-table-cell.entry.js +1 -1
  335. package/dist/esm/spw-table-footer.entry.js +1 -1
  336. package/dist/esm/spw-table-head.entry.js +1 -1
  337. package/dist/esm/spw-table-header.entry.js +2 -2
  338. package/dist/esm/spw-table-row.entry.js +1 -1
  339. package/dist/esm/spw-tabs-navigation-item.entry.js +1 -1
  340. package/dist/esm/spw-tabs-navigation.entry.js +1 -1
  341. package/dist/esm/spw-tabs.entry.js +1 -1
  342. package/dist/esm/spw-tag.entry.js +1 -1
  343. package/dist/esm/spw-text-field.entry.js +1 -1
  344. package/dist/esm/spw-textarea.entry.js +1 -1
  345. package/dist/esm/spw-tile-description.entry.js +2 -2
  346. package/dist/esm/spw-tile-description.entry.js.map +1 -1
  347. package/dist/esm/spw-tile-title.entry.js +2 -2
  348. package/dist/esm/spw-tile-title.entry.js.map +1 -1
  349. package/dist/esm/spw-tile.entry.js +5 -2
  350. package/dist/esm/spw-tile.entry.js.map +1 -1
  351. package/dist/esm/spw-tooltip.entry.js +1 -1
  352. package/dist/esm/spw-topbar.entry.js +1 -1
  353. package/dist/esm/spw-wizard-item.entry.js +1 -1
  354. package/dist/esm/spw-wizard.entry.js +1 -1
  355. package/dist/esm/utils-BBi01mKM.js.map +1 -1
  356. package/dist/spw-stencil-library/assets/fontawesome/webfonts/fa-light-300.woff2 +0 -0
  357. package/dist/spw-stencil-library/{p-fc6af4d8.entry.js → p-04e6eb78.entry.js} +2 -2
  358. package/dist/spw-stencil-library/{p-06cb6865.entry.js → p-0d4be6b6.entry.js} +2 -2
  359. package/dist/spw-stencil-library/p-14966ecb.entry.js +2 -0
  360. package/dist/spw-stencil-library/p-14966ecb.entry.js.map +1 -0
  361. package/dist/spw-stencil-library/{p-8cfb4646.entry.js → p-1ac496bc.entry.js} +2 -2
  362. package/dist/spw-stencil-library/p-1df14251.entry.js +2 -0
  363. package/dist/spw-stencil-library/p-1df14251.entry.js.map +1 -0
  364. package/dist/spw-stencil-library/{p-5632f307.entry.js → p-1f9aeaa2.entry.js} +2 -2
  365. package/dist/spw-stencil-library/{p-45d99a2b.entry.js → p-257f7869.entry.js} +2 -2
  366. package/dist/spw-stencil-library/{p-86bdf571.entry.js → p-2c724ab6.entry.js} +2 -2
  367. package/dist/spw-stencil-library/{p-2abc48ed.entry.js → p-2e612e2c.entry.js} +2 -2
  368. package/dist/spw-stencil-library/p-2e612e2c.entry.js.map +1 -0
  369. package/dist/spw-stencil-library/p-2e6612dd.entry.js +2 -0
  370. package/dist/spw-stencil-library/p-2e6612dd.entry.js.map +1 -0
  371. package/dist/spw-stencil-library/{p-6ea811f3.entry.js → p-393aff63.entry.js} +2 -2
  372. package/dist/spw-stencil-library/{p-2d974226.entry.js → p-3a485895.entry.js} +2 -2
  373. package/dist/spw-stencil-library/{p-cbf8aea1.entry.js → p-3b10cd69.entry.js} +2 -2
  374. package/dist/spw-stencil-library/{p-512a2787.entry.js → p-3cfd662b.entry.js} +2 -2
  375. package/dist/spw-stencil-library/{p-5e43e2ed.entry.js → p-40b6234e.entry.js} +2 -2
  376. package/dist/spw-stencil-library/p-48ec199f.entry.js +2 -0
  377. package/dist/spw-stencil-library/p-48ec199f.entry.js.map +1 -0
  378. package/dist/spw-stencil-library/{p-438f1793.entry.js → p-49a8e363.entry.js} +2 -2
  379. package/dist/spw-stencil-library/{p-a840f2ca.entry.js → p-4bf78ea1.entry.js} +2 -2
  380. package/dist/spw-stencil-library/{p-63d1c97f.entry.js → p-4ca8274d.entry.js} +2 -2
  381. package/dist/spw-stencil-library/{p-b0e3875a.entry.js → p-503c4a4c.entry.js} +2 -2
  382. package/dist/spw-stencil-library/{p-e3485695.entry.js → p-54e0ff7e.entry.js} +2 -2
  383. package/dist/spw-stencil-library/{p-a25ad9f2.entry.js → p-55adad0b.entry.js} +2 -2
  384. package/dist/spw-stencil-library/{p-a25ad9f2.entry.js.map → p-55adad0b.entry.js.map} +1 -1
  385. package/dist/spw-stencil-library/{p-a31a30f3.entry.js → p-582c5b43.entry.js} +2 -2
  386. package/dist/spw-stencil-library/{p-b6a56ec7.entry.js → p-64455700.entry.js} +2 -2
  387. package/dist/spw-stencil-library/{p-0baeea00.entry.js → p-69220685.entry.js} +2 -2
  388. package/dist/spw-stencil-library/{p-c3985590.entry.js → p-76366414.entry.js} +2 -2
  389. package/dist/spw-stencil-library/p-79719bbc.entry.js +2 -0
  390. package/dist/spw-stencil-library/p-79719bbc.entry.js.map +1 -0
  391. package/dist/spw-stencil-library/{p-d8ba3e5c.entry.js → p-7bfe4ee5.entry.js} +2 -2
  392. package/dist/spw-stencil-library/{p-2c79bd06.entry.js → p-804bb957.entry.js} +2 -2
  393. package/dist/spw-stencil-library/{p-32fd509b.entry.js → p-8e42dc26.entry.js} +2 -2
  394. package/dist/spw-stencil-library/{p-4a273848.entry.js → p-8eeda66f.entry.js} +2 -2
  395. package/dist/spw-stencil-library/{p-2113f2f6.entry.js → p-90a73e8a.entry.js} +2 -2
  396. package/dist/spw-stencil-library/{p-e0c31c21.entry.js → p-9a794a86.entry.js} +2 -2
  397. package/dist/spw-stencil-library/p-BBi01mKM.js.map +1 -1
  398. package/dist/spw-stencil-library/{p-fcc5884a.entry.js → p-a3d3ce93.entry.js} +2 -2
  399. package/dist/spw-stencil-library/p-a3d3ce93.entry.js.map +1 -0
  400. package/dist/spw-stencil-library/{p-488c2d88.entry.js → p-a496fed2.entry.js} +2 -2
  401. package/dist/spw-stencil-library/{p-5a1b3ad1.entry.js → p-a7816d9b.entry.js} +5 -5
  402. package/dist/spw-stencil-library/{p-9d984204.entry.js → p-ab417959.entry.js} +2 -2
  403. package/dist/spw-stencil-library/p-abee710b.entry.js +2 -0
  404. package/dist/spw-stencil-library/p-abee710b.entry.js.map +1 -0
  405. package/dist/spw-stencil-library/{p-48417d99.entry.js → p-b027d336.entry.js} +2 -2
  406. package/dist/spw-stencil-library/p-b027d336.entry.js.map +1 -0
  407. package/dist/spw-stencil-library/p-b0493a84.entry.js +2 -0
  408. package/dist/spw-stencil-library/p-b0493a84.entry.js.map +1 -0
  409. package/dist/spw-stencil-library/p-b68a4a1c.entry.js +2 -0
  410. package/dist/spw-stencil-library/p-b68a4a1c.entry.js.map +1 -0
  411. package/dist/spw-stencil-library/{p-f28bf2be.entry.js → p-b7af7c70.entry.js} +2 -2
  412. package/dist/spw-stencil-library/{p-9d760073.entry.js → p-c8c62aaa.entry.js} +2 -2
  413. package/dist/spw-stencil-library/p-c9c26889.entry.js +2 -0
  414. package/dist/spw-stencil-library/p-c9c26889.entry.js.map +1 -0
  415. package/dist/spw-stencil-library/{p-0e1ec1e6.entry.js → p-d3242535.entry.js} +2 -2
  416. package/dist/spw-stencil-library/{p-9e12973d.entry.js → p-e4dc2bcb.entry.js} +2 -2
  417. package/dist/spw-stencil-library/p-e4dc2bcb.entry.js.map +1 -0
  418. package/dist/spw-stencil-library/{p-46567994.entry.js → p-ec380e53.entry.js} +2 -2
  419. package/dist/spw-stencil-library/{p-ce72bca4.entry.js → p-f5d6641d.entry.js} +2 -2
  420. package/dist/spw-stencil-library/{p-f70ed5c3.entry.js → p-f7fdda79.entry.js} +2 -2
  421. package/dist/spw-stencil-library/{p-2ad00dfc.entry.js → p-f96ee8a6.entry.js} +2 -2
  422. package/dist/spw-stencil-library/{p-000f04a1.entry.js → p-fa308eb6.entry.js} +2 -2
  423. package/dist/spw-stencil-library/spw-button.spw-loading.entry.esm.js.map +1 -1
  424. 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
  425. package/dist/spw-stencil-library/spw-grid-item.entry.esm.js.map +1 -0
  426. package/dist/spw-stencil-library/spw-grid.entry.esm.js.map +1 -0
  427. package/dist/spw-stencil-library/spw-header-navigation-item.entry.esm.js.map +1 -1
  428. package/dist/spw-stencil-library/spw-header-navigation.entry.esm.js.map +1 -1
  429. package/dist/spw-stencil-library/spw-header.entry.esm.js.map +1 -1
  430. package/dist/spw-stencil-library/spw-search-field.entry.esm.js.map +1 -1
  431. package/dist/spw-stencil-library/spw-slider-item.entry.esm.js.map +1 -0
  432. package/dist/spw-stencil-library/spw-slider.entry.esm.js.map +1 -0
  433. package/dist/spw-stencil-library/spw-socials.entry.esm.js.map +1 -1
  434. package/dist/spw-stencil-library/spw-stencil-library.css +1 -1
  435. package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
  436. package/dist/spw-stencil-library/spw-tile-description.entry.esm.js.map +1 -1
  437. package/dist/spw-stencil-library/spw-tile-title.entry.esm.js.map +1 -1
  438. package/dist/spw-stencil-library/spw-tile.entry.esm.js.map +1 -1
  439. package/dist/stats.json +2087 -354
  440. package/dist/types/components/spw-grid/spw-grid-item/spw-grid-item.d.ts +16 -0
  441. package/dist/types/components/spw-grid/spw-grid.d.ts +13 -0
  442. package/dist/types/components/spw-header/spw-header-navigation/spw-header-navigation.d.ts +3 -0
  443. package/dist/types/components/spw-icon/spw-icon.d.ts +1 -1
  444. package/dist/types/components/spw-search-field/spw-search-field.d.ts +20 -1
  445. package/dist/types/components/spw-slider/spw-slider-item/spw-slider-item.d.ts +3 -0
  446. package/dist/types/components/spw-slider/spw-slider.d.ts +43 -0
  447. package/dist/types/components/spw-tile/spw-tile.d.ts +2 -0
  448. package/dist/types/components.d.ts +206 -2
  449. package/dist/types/stories/components/spw-pagination/spw-pagination.stories.d.ts +0 -17
  450. package/dist/types/stories/components/spw-search-field/spw-search-field.stories.d.ts +5 -0
  451. package/hydrate/index.js +522 -78
  452. package/hydrate/index.mjs +522 -78
  453. package/package.json +1 -1
  454. package/dist/components/p-DjyPtAVX.js +0 -162
  455. package/dist/components/p-DjyPtAVX.js.map +0 -1
  456. package/dist/components_vscode.json +0 -3088
  457. package/dist/spw-stencil-library/p-0f69442e.entry.js +0 -2
  458. package/dist/spw-stencil-library/p-0f69442e.entry.js.map +0 -1
  459. package/dist/spw-stencil-library/p-2abc48ed.entry.js.map +0 -1
  460. package/dist/spw-stencil-library/p-300b4bdb.entry.js +0 -2
  461. package/dist/spw-stencil-library/p-300b4bdb.entry.js.map +0 -1
  462. package/dist/spw-stencil-library/p-451a9785.entry.js +0 -2
  463. package/dist/spw-stencil-library/p-451a9785.entry.js.map +0 -1
  464. package/dist/spw-stencil-library/p-48417d99.entry.js.map +0 -1
  465. package/dist/spw-stencil-library/p-9b63ccca.entry.js +0 -2
  466. package/dist/spw-stencil-library/p-9b63ccca.entry.js.map +0 -1
  467. package/dist/spw-stencil-library/p-9e12973d.entry.js.map +0 -1
  468. package/dist/spw-stencil-library/p-c4e4cfd4.entry.js +0 -2
  469. package/dist/spw-stencil-library/p-c4e4cfd4.entry.js.map +0 -1
  470. package/dist/spw-stencil-library/p-fcc5884a.entry.js.map +0 -1
  471. /package/dist/spw-stencil-library/{p-fc6af4d8.entry.js.map → p-04e6eb78.entry.js.map} +0 -0
  472. /package/dist/spw-stencil-library/{p-06cb6865.entry.js.map → p-0d4be6b6.entry.js.map} +0 -0
  473. /package/dist/spw-stencil-library/{p-8cfb4646.entry.js.map → p-1ac496bc.entry.js.map} +0 -0
  474. /package/dist/spw-stencil-library/{p-5632f307.entry.js.map → p-1f9aeaa2.entry.js.map} +0 -0
  475. /package/dist/spw-stencil-library/{p-45d99a2b.entry.js.map → p-257f7869.entry.js.map} +0 -0
  476. /package/dist/spw-stencil-library/{p-86bdf571.entry.js.map → p-2c724ab6.entry.js.map} +0 -0
  477. /package/dist/spw-stencil-library/{p-6ea811f3.entry.js.map → p-393aff63.entry.js.map} +0 -0
  478. /package/dist/spw-stencil-library/{p-2d974226.entry.js.map → p-3a485895.entry.js.map} +0 -0
  479. /package/dist/spw-stencil-library/{p-cbf8aea1.entry.js.map → p-3b10cd69.entry.js.map} +0 -0
  480. /package/dist/spw-stencil-library/{p-512a2787.entry.js.map → p-3cfd662b.entry.js.map} +0 -0
  481. /package/dist/spw-stencil-library/{p-5e43e2ed.entry.js.map → p-40b6234e.entry.js.map} +0 -0
  482. /package/dist/spw-stencil-library/{p-438f1793.entry.js.map → p-49a8e363.entry.js.map} +0 -0
  483. /package/dist/spw-stencil-library/{p-a840f2ca.entry.js.map → p-4bf78ea1.entry.js.map} +0 -0
  484. /package/dist/spw-stencil-library/{p-63d1c97f.entry.js.map → p-4ca8274d.entry.js.map} +0 -0
  485. /package/dist/spw-stencil-library/{p-b0e3875a.entry.js.map → p-503c4a4c.entry.js.map} +0 -0
  486. /package/dist/spw-stencil-library/{p-e3485695.entry.js.map → p-54e0ff7e.entry.js.map} +0 -0
  487. /package/dist/spw-stencil-library/{p-a31a30f3.entry.js.map → p-582c5b43.entry.js.map} +0 -0
  488. /package/dist/spw-stencil-library/{p-b6a56ec7.entry.js.map → p-64455700.entry.js.map} +0 -0
  489. /package/dist/spw-stencil-library/{p-0baeea00.entry.js.map → p-69220685.entry.js.map} +0 -0
  490. /package/dist/spw-stencil-library/{p-c3985590.entry.js.map → p-76366414.entry.js.map} +0 -0
  491. /package/dist/spw-stencil-library/{p-d8ba3e5c.entry.js.map → p-7bfe4ee5.entry.js.map} +0 -0
  492. /package/dist/spw-stencil-library/{p-2c79bd06.entry.js.map → p-804bb957.entry.js.map} +0 -0
  493. /package/dist/spw-stencil-library/{p-32fd509b.entry.js.map → p-8e42dc26.entry.js.map} +0 -0
  494. /package/dist/spw-stencil-library/{p-4a273848.entry.js.map → p-8eeda66f.entry.js.map} +0 -0
  495. /package/dist/spw-stencil-library/{p-2113f2f6.entry.js.map → p-90a73e8a.entry.js.map} +0 -0
  496. /package/dist/spw-stencil-library/{p-e0c31c21.entry.js.map → p-9a794a86.entry.js.map} +0 -0
  497. /package/dist/spw-stencil-library/{p-488c2d88.entry.js.map → p-a496fed2.entry.js.map} +0 -0
  498. /package/dist/spw-stencil-library/{p-5a1b3ad1.entry.js.map → p-a7816d9b.entry.js.map} +0 -0
  499. /package/dist/spw-stencil-library/{p-9d984204.entry.js.map → p-ab417959.entry.js.map} +0 -0
  500. /package/dist/spw-stencil-library/{p-f28bf2be.entry.js.map → p-b7af7c70.entry.js.map} +0 -0
  501. /package/dist/spw-stencil-library/{p-9d760073.entry.js.map → p-c8c62aaa.entry.js.map} +0 -0
  502. /package/dist/spw-stencil-library/{p-0e1ec1e6.entry.js.map → p-d3242535.entry.js.map} +0 -0
  503. /package/dist/spw-stencil-library/{p-46567994.entry.js.map → p-ec380e53.entry.js.map} +0 -0
  504. /package/dist/spw-stencil-library/{p-ce72bca4.entry.js.map → p-f5d6641d.entry.js.map} +0 -0
  505. /package/dist/spw-stencil-library/{p-f70ed5c3.entry.js.map → p-f7fdda79.entry.js.map} +0 -0
  506. /package/dist/spw-stencil-library/{p-2ad00dfc.entry.js.map → p-f96ee8a6.entry.js.map} +0 -0
  507. /package/dist/spw-stencil-library/{p-000f04a1.entry.js.map → p-fa308eb6.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"p-c0hJPgjJ.js","mappings":";;;AAAA,MAAM,oBAAoB,GAAG,64GAA64G;;MCO75G,iBAAiB,iBAAAA,kBAAA,CAAA,MAAA,iBAAA,SAAAC,CAAA,CAAA;AAL9B,IAAA,WAAA,GAAA;;;;;AAOU,QAAA,IAAG,CAAA,GAAA,GAAsC,IAAI;AAyBtD;IArBC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG;QACxB,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,GAAG,CAAA,CAAA,UAAA,EAAA,EAAU,IAAI,EAAE,IAAI,CAAC,IAAI,EAAA,CAAa,GAAG,IAAI;AAC7E,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,qBAAqB,EAAA,EAC9B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,8BAA8B,EAAA,EACvC,CAAA,CAAC,OAAO,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,KAAK,EAAC,aAAa,EAAA,EACzB,WAAW,IAAI,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,aAAa,EAAA,EAAE,WAAW,CAAO,EAC5D,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACE,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACE,EACV,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,8BAA8B,EAAA,EACxC,CAAU,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,iBAAiB,EAAA,CAAY,CACvC,CACH,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/spw-accordion/spw-accordion-title/spw-accordion-title.scss?tag=spw-accordion-title&encapsulation=shadow","src/components/spw-accordion/spw-accordion-title/spw-accordion-title.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.spw-accordion-title {\n padding: var(--spw-spacings-spacing-lg);\n font-weight: 700;\n transition: all 0.3s;\n color: var(--spw-color-themes-grey-grey-900);\n\n &:hover {\n color: var(--spw-ds-primary);\n :host(.--collapsed) & {\n // background: var(--spw-color-themes-grey-grey-100);\n }\n }\n}\n\n:host-context(.spw-accordion-item:hover) > .spw-accordion-title {\n color: var(--spw-ds-primary);\n}\n\n.spw-accordion-title__content {\n position: relative;\n padding-right: var(--spw-spacings-spacing-3-xl);\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: 16px;\n }\n}\n\n.spw-accordion-title__trigger {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%) rotate(180deg);\n transition: all 0.3s;\n\n :host(.--collapsed) & {\n transform: translateY(-50%) rotate(0deg);\n }\n}\n","import { Component, Prop, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'spw-accordion-title',\n styleUrl: 'spw-accordion-title.scss',\n shadow: true,\n})\nexport class SpwAccordionTitle {\n /** Tag html du titre de l'accordéon (de h1 à h6) */\n @Prop() tag?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6' = 'h3';\n /** Si spécifié, place une icône à gauche du titre */\n @Prop() icon?: string;\n\n render() {\n const TagType = this.tag;\n const iconElement = this.icon ? <spw-icon icon={this.icon}></spw-icon> : null;\n return (\n <Host>\n <div class=\"spw-accordion-title\">\n <div class=\"spw-accordion-title__content\">\n <TagType class=\"spw-tw-flex\">\n {iconElement && <div class=\"spw-tw-mr-3\">{iconElement}</div>}\n <div>\n <slot></slot>\n </div>\n </TagType>\n <span class=\"spw-accordion-title__trigger\">\n <spw-icon icon=\"fa-chevron-down\"></spw-icon>\n </span>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-DN5puq3N.js","mappings":";;;AAAA,MAAM,oBAAoB,GAAG,64GAA64G;;MCO75G,iBAAiB,iBAAAA,kBAAA,CAAA,MAAA,iBAAA,SAAAC,CAAA,CAAA;AAL9B,IAAA,WAAA,GAAA;;;;;AAOU,QAAA,IAAG,CAAA,GAAA,GAAsC,IAAI;AAyBtD;IArBC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG;QACxB,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,GAAG,CAAA,CAAA,UAAA,EAAA,EAAU,IAAI,EAAE,IAAI,CAAC,IAAI,EAAA,CAAa,GAAG,IAAI;AAC7E,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,qBAAqB,EAAA,EAC9B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,8BAA8B,EAAA,EACvC,CAAA,CAAC,OAAO,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,KAAK,EAAC,aAAa,EAAA,EACzB,WAAW,IAAI,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,aAAa,EAAA,EAAE,WAAW,CAAO,EAC5D,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACE,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACE,EACV,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,8BAA8B,EAAA,EACxC,CAAU,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,iBAAiB,EAAA,CAAY,CACvC,CACH,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/spw-accordion/spw-accordion-title/spw-accordion-title.scss?tag=spw-accordion-title&encapsulation=shadow","src/components/spw-accordion/spw-accordion-title/spw-accordion-title.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.spw-accordion-title {\n padding: var(--spw-spacings-spacing-lg);\n font-weight: 700;\n transition: all 0.3s;\n color: var(--spw-color-themes-grey-grey-900);\n\n &:hover {\n color: var(--spw-ds-primary);\n :host(.--collapsed) & {\n // background: var(--spw-color-themes-grey-grey-100);\n }\n }\n}\n\n:host-context(.spw-accordion-item:hover) > .spw-accordion-title {\n color: var(--spw-ds-primary);\n}\n\n.spw-accordion-title__content {\n position: relative;\n padding-right: var(--spw-spacings-spacing-3-xl);\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: 16px;\n }\n}\n\n.spw-accordion-title__trigger {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%) rotate(180deg);\n transition: all 0.3s;\n\n :host(.--collapsed) & {\n transform: translateY(-50%) rotate(0deg);\n }\n}\n","import { Component, Prop, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'spw-accordion-title',\n styleUrl: 'spw-accordion-title.scss',\n shadow: true,\n})\nexport class SpwAccordionTitle {\n /** Tag html du titre de l'accordéon (de h1 à h6) */\n @Prop() tag?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6' = 'h3';\n /** Si spécifié, place une icône à gauche du titre */\n @Prop() icon?: string;\n\n render() {\n const TagType = this.tag;\n const iconElement = this.icon ? <spw-icon icon={this.icon}></spw-icon> : null;\n return (\n <Host>\n <div class=\"spw-accordion-title\">\n <div class=\"spw-accordion-title__content\">\n <TagType class=\"spw-tw-flex\">\n {iconElement && <div class=\"spw-tw-mr-3\">{iconElement}</div>}\n <div>\n <slot></slot>\n </div>\n </TagType>\n <span class=\"spw-accordion-title__trigger\">\n <spw-icon icon=\"fa-chevron-down\"></spw-icon>\n </span>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, a as Host } from './index.js';
2
2
  import { d as defineCustomElement$4 } from './p-t1vZcpqC.js';
3
- import { d as defineCustomElement$3 } from './p-qgvllwX6.js';
4
- import { d as defineCustomElement$2 } from './p-_q4w18VU.js';
5
- import { d as defineCustomElement$1 } from './p-_sdYD0eS.js';
3
+ import { d as defineCustomElement$3 } from './p-DKCYb8Pa.js';
4
+ import { d as defineCustomElement$2 } from './p-jHpxbAsa.js';
5
+ import { d as defineCustomElement$1 } from './p-BlSOja6j.js';
6
6
 
7
7
  const spwPaginationCss = "/*! 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-pagination__item button,.spw-pagination__item--dots{border-radius:32px;font-size:14px;font-weight:700;height:32px;line-height:32px;min-width:32px;text-align:center}.spw-pagination__item button:focus-visible,.spw-pagination__item--dots:focus-visible{box-shadow:0 0 0 5px #000;outline:3px solid #fff;outline-offset:-1px}.spw-pagination{align-items:center;display:flex;flex-direction:column}@media (min-width:768px){.spw-pagination{align-items:flex-start}}.spw-pagination ul{align-items:center;display:flex;padding:0}.spw-pagination__item{margin-right:12px}.spw-pagination__item spw-icon{font-size:18px}.spw-pagination__item button{background:none;border:none;color:var(--spw-color-themes-grey-grey-900);cursor:pointer;margin:0;padding:0 6px}.spw-pagination__item:not(.spw-pagination__item--active,.spw-pagination__item--dots,.spw-pagination__item--disabled):hover button{background:var(--spw-color-themes-grey-grey-200)}.spw-pagination__item:not(.spw-pagination__item--active,.spw-pagination__item--dots,.spw-pagination__item--disabled):active button{background:var(--spw-color-themes-grey-grey-300)}.spw-pagination__item--arrow button{align-items:center;display:flex;gap:8px;padding:0 12px;text-decoration:underline}.spw-pagination__item--arrow button:hover{text-decoration:none}.spw-pagination__item--dots{align-items:center;background:none;color:var(--spw-color-themes-grey-grey-400);cursor:default;display:inline-flex;justify-content:center;position:relative;top:3px}.spw-pagination__item--dots spw-icon{font-size:16px}.spw-pagination__item--desktop{display:none}@media (min-width:768px){.spw-pagination__item--desktop{display:inline-block}}.spw-pagination__item--active button{background:var(--spw-ds-primary);color:#fff}.spw-pagination__input spw-text-field{--spw-input-height:32px;--spw-input-padding:0 4px;--spw-input-text-align:center;--spw-input-font-size:14px;width:36px}.spw-pagination__mobile-arrows{margin-top:12px}@media (min-width:768px){.spw-pagination__mobile-arrows{display:none!important}}.spw-pagination__total-pages{font-size:14px;margin:0 12px 0 6px}.spw-tw-mb-10{margin-bottom:2.5rem}.spw-tw-mb-6{margin-bottom:1.5rem}.spw-tw-ml-2{margin-left:.5rem}.spw-tw-mr-4{margin-right:1rem}.spw-tw-mt-12{margin-top:3rem}.-spw-tw-mt-1{margin-top:-.25rem}.spw-tw-mb-2{margin-bottom:.5rem}";
8
8
 
@@ -167,12 +167,12 @@ const SpwPagination = /*@__PURE__*/ proxyCustomElement(class SpwPagination exten
167
167
  const pages = this.calculatePageRange();
168
168
  const showPrevArrow = this.currentPage > 1;
169
169
  const showNextArrow = this.currentPage < this.totalPages;
170
- const prevArrow = showPrevArrow && (h("li", { key: 'c96747975f1283f426b16fc5d6b9169641bf937a', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: '2cb14838bb36158b08708be2a6c851eab28d8a9e', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: '4a97d865f50b82f807b699d2c9962cadb2fa3c49', icon: "fa-chevron-left" }), " ", h("span", { key: '85d4eba965c575bf620ac2775fc8b8ab91582c53', class: "spw-pagination__item-arrow-text" }, "Pr\u00E9c\u00E9dent"))));
171
- const nextArrow = showNextArrow && (h("li", { key: 'db5e31a07af299158c0730b2c8ffdc647eb9c798', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: 'a2c031078bce4993152b5441e149c00d4633cefe', onClick: () => this.goToPage(this.currentPage + 1) }, h("span", { key: '28cdbfbcca8698294fae48d72a3d0a8932f0a94f', class: "spw-pagination__item-arrow-text" }, "Suivant"), " ", h("spw-icon", { key: '8af477a9a0eb495234278335eca66b7ca0b06fbe', icon: "fa-chevron-right" }))));
172
- const prevArrowMobile = this.currentPage > 1 && (h("li", { key: '7509af0d29a02f64d67717753d71f2aa05349177', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: 'c3707cdd586dd519eaa00621eed632f73c5b00b6', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: 'f1fcf011715c381330865d20f1628ef24edb1778', icon: "fa-chevron-left" }), " ", h("span", { key: 'b9753065430534df7f5b499d97bf4bbad12c32d5' }, "Pr\u00E9c\u00E9dent"))));
173
- const nextArrowMobile = this.currentPage < this.totalPages && (h("li", { key: '0c3fcbc4f482b151ef5355c2cd24378a7a2c7af3', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: 'f363b0de0131d011336fccdbf17dc9bc2b5eca15', onClick: () => this.goToPage(this.currentPage + 1), disabled: this.currentPage >= this.totalPages }, h("span", { key: '74df65c99c48fc1aec8084359866227ecdd26dbc' }, "Suivant"), " ", h("spw-icon", { key: '98e057e8cb6318ea06c2543fb4eae8500fcef87c', icon: "fa-chevron-right" }))));
174
- const mobileArrows = (h("ul", { key: 'a4bff20ae94b1b94d70a8781cf311997c54c87e7', class: "spw-pagination__mobile-arrows" }, prevArrowMobile, nextArrowMobile));
175
- return (h(Host, { key: 'fc202908905cb6da3eea73312068961b60cc776b' }, h("div", { key: '351bc8518011e937ee51c4831ac13797be51a6cb', class: this.getPaginationClass() }, this.variant === 'input' && (h(Fragment, { key: '684feca5a1724c030f21733850370eaf87153c13' }, h("ul", { key: '14de6cc555d4cab07ef9cb8dbdc0d3e83a25f67b' }, prevArrow, h("li", { key: '825297b0b82ef635497f3470ffcc5478646a558d', class: "spw-pagination__input" }, h("spw-text-field", { key: '3010c66645025021ca8b678b1dedcc65810e3742', value: this.inputPageValue, type: "text", onInput: event => this.handleInputChange(event), onKeyDown: event => this.handleKeyDown(event), disabled: this.isDisabled })), h("li", { key: '4273e7a738ef59ff77229580d89effeaeda18091', class: "spw-pagination__total-pages" }, "sur ", this.totalPages, " pages"), nextArrow), mobileArrows)), this.variant === 'numbers' && (h(Fragment, { key: '159503f57df6936053bbffeb4ed28bd01dff38ff' }, h("ul", { key: '87e707dd1060d3c3ccb6367f99e1c6cefabf99b8' }, prevArrow, pages.map(({ page, class: pageClass }) => {
170
+ const prevArrow = showPrevArrow && (h("li", { key: 'df969a07a5df028f0bb6b85a1eb92aa7d2372995', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: '336a9ee9a143adaf9943abf52d6d5a1550a14985', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: 'd6c3b1f26f23e4e664e04535367e930da78097ae', icon: "fa-chevron-left" }), " ", h("span", { key: 'c89a85020b25dc607c451ff6148f2e69f1c609b4', class: "spw-pagination__item-arrow-text" }, "Pr\u00E9c\u00E9dent"))));
171
+ const nextArrow = showNextArrow && (h("li", { key: '49f25274f1fe67965cb34c5bcb5ca171d306fb26', class: "spw-pagination__item spw-pagination__item--desktop spw-pagination__item--arrow" }, h("button", { key: 'e21f97bfb5ccb80d7ceb3b40842e59f1e379436f', onClick: () => this.goToPage(this.currentPage + 1) }, h("span", { key: 'da04d81434818b984faf616dbf8bcf5580094148', class: "spw-pagination__item-arrow-text" }, "Suivant"), " ", h("spw-icon", { key: 'f7b3914239c972e4b7848e74ae7d5787da81dc18', icon: "fa-chevron-right" }))));
172
+ const prevArrowMobile = this.currentPage > 1 && (h("li", { key: '30df4897f98be45e55c3932d5c7be0a5af6f3a86', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: '898cdda28366a1b5ae15e434626e132687f3e8b2', onClick: () => this.goToPage(this.currentPage - 1) }, h("spw-icon", { key: '690c40e579c52c0af4d1a3795b7bd9844f1bc6e5', icon: "fa-chevron-left" }), " ", h("span", { key: 'c420e2d1f71b60d530e69645b4bc840b04b95526' }, "Pr\u00E9c\u00E9dent"))));
173
+ const nextArrowMobile = this.currentPage < this.totalPages && (h("li", { key: 'a01418074cc96986aba119d45b81736d112320ba', class: "spw-pagination__item spw-pagination__item--arrow" }, h("button", { key: '2198a1461baef6ecbc53b1a50a09e52782138aa9', onClick: () => this.goToPage(this.currentPage + 1), disabled: this.currentPage >= this.totalPages }, h("span", { key: 'c50c7443a2862650c254b6b7d57f87ae0a62b3f9' }, "Suivant"), " ", h("spw-icon", { key: 'a3dcfea33e830318a7dd72b9200d9483f724476f', icon: "fa-chevron-right" }))));
174
+ const mobileArrows = (h("ul", { key: '40f12a6ccf043cef338decb35a4ae3aa9c6059c6', class: "spw-pagination__mobile-arrows" }, prevArrowMobile, nextArrowMobile));
175
+ return (h(Host, { key: 'c7911629839510b989480504d17161d6d57bb4f2' }, h("div", { key: '5b7740ada82891847cac9f9fc2f3cebd8850c841', class: this.getPaginationClass() }, this.variant === 'input' && (h(Fragment, { key: '0360ada4eb1d69272c3bf12b9450cc862406690c' }, h("ul", { key: '674dfb843bdb1de692ffc04aa38025bf17712cc5' }, prevArrow, h("li", { key: '025d8fe88639ab89313d31c0474bf982561456b8', class: "spw-pagination__input" }, h("spw-text-field", { key: 'ad1f8a32886faf8b6d6294b51d48c1c8538adaf9', value: this.inputPageValue, type: "text", onInput: event => this.handleInputChange(event), onKeyDown: event => this.handleKeyDown(event), disabled: this.isDisabled })), h("li", { key: '3340e26f56228afe221c678d03057c6ce274cb4b', class: "spw-pagination__total-pages" }, "sur ", this.totalPages, " pages"), nextArrow), mobileArrows)), this.variant === 'numbers' && (h(Fragment, { key: '1d0361a9a76f5cc819979e5f2131d874025b31a2' }, h("ul", { key: 'a242612a3966f527ad927c6ed2671bfed172b54e' }, prevArrow, pages.map(({ page, class: pageClass }) => {
176
176
  if (page === '...') {
177
177
  return (h("li", { class: `spw-pagination__item spw-pagination__item--dots ${pageClass}` }, h("spw-icon", { icon: "fa-ellipsis" })));
178
178
  }
@@ -238,6 +238,6 @@ function defineCustomElement() {
238
238
  }
239
239
 
240
240
  export { SpwPagination as S, defineCustomElement as d };
241
- //# sourceMappingURL=p-B2toBmC2.js.map
241
+ //# sourceMappingURL=p-Dg1wxTqL.js.map
242
242
 
243
- //# sourceMappingURL=p-B2toBmC2.js.map
243
+ //# sourceMappingURL=p-Dg1wxTqL.js.map
@@ -1 +1 @@
1
- {"file":"p-B2toBmC2.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,Q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w-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,CA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A,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,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,IAA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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' && icon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E,QAAQ,GAAG,MAAM,GAAG,IAAI;SAC1C;AAED,QAAA,MAAM,SAAS,GAAG,CAAa,UAAA,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;