@roadtrip/components 3.40.0 → 3.41.1

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 (370) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/road-alert.cjs.entry.js +62 -2
  3. package/dist/cjs/road-alert.cjs.entry.js.map +1 -1
  4. package/dist/cjs/road-area-code.cjs.entry.js +1 -1
  5. package/dist/cjs/road-aspect-ratio.cjs.entry.js +1 -1
  6. package/dist/cjs/road-autocomplete.cjs.entry.js +2 -2
  7. package/dist/cjs/road-avatar.cjs.entry.js +1 -1
  8. package/dist/cjs/road-badge_14.cjs.entry.js +23 -18
  9. package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
  10. package/dist/cjs/road-banner.cjs.entry.js +1 -1
  11. package/dist/cjs/road-button-floating.cjs.entry.js +1 -1
  12. package/dist/cjs/road-card.cjs.entry.js +1 -1
  13. package/dist/cjs/road-carousel-item.cjs.entry.js +2 -2
  14. package/dist/cjs/road-carousel.cjs.entry.js +1 -1
  15. package/dist/cjs/road-checkbox.cjs.entry.js +1 -1
  16. package/dist/cjs/road-chip.cjs.entry.js +1 -1
  17. package/dist/cjs/road-collapse.cjs.entry.js +1 -1
  18. package/dist/cjs/road-content-card.cjs.entry.js +1 -1
  19. package/dist/cjs/road-dialog.cjs.entry.js +3 -3
  20. package/dist/cjs/road-dropdown.cjs.entry.js +1 -1
  21. package/dist/cjs/road-duration.cjs.entry.js +1 -1
  22. package/dist/cjs/road-flap.cjs.entry.js +1 -1
  23. package/dist/cjs/road-global-navigation-v2.cjs.entry.js +1 -1
  24. package/dist/cjs/road-global-navigation.cjs.entry.js +1 -1
  25. package/dist/cjs/road-img.cjs.entry.js +1 -1
  26. package/dist/cjs/road-modal.cjs.entry.js +1 -1
  27. package/dist/cjs/road-navbar-item-v2.cjs.entry.js +2 -2
  28. package/dist/cjs/road-navbar-item.cjs.entry.js +2 -2
  29. package/dist/cjs/road-navbar-v2.cjs.entry.js +1 -1
  30. package/dist/cjs/road-navbar.cjs.entry.js +1 -1
  31. package/dist/cjs/road-phone-number-input.cjs.entry.js +2 -2
  32. package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
  33. package/dist/cjs/road-profil-dropdown.cjs.entry.js +1 -1
  34. package/dist/cjs/road-progress-indicator-horizontal.cjs.entry.js +1 -1
  35. package/dist/cjs/road-progress-indicator-vertical-item.cjs.entry.js +1 -1
  36. package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +1 -1
  37. package/dist/cjs/road-progress-tracker-item.cjs.entry.js +1 -1
  38. package/dist/cjs/road-progress-tracker.cjs.entry.js +1 -1
  39. package/dist/cjs/road-progress.cjs.entry.js +1 -1
  40. package/dist/cjs/road-radio-card.cjs.entry.js +1 -1
  41. package/dist/cjs/road-radio-group.cjs.entry.js +1 -1
  42. package/dist/cjs/road-radio.cjs.entry.js +1 -1
  43. package/dist/cjs/road-range.cjs.entry.js +2 -2
  44. package/dist/cjs/road-rating.cjs.entry.js +1 -1
  45. package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
  46. package/dist/cjs/road-segmented-button.cjs.entry.js +2 -2
  47. package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
  48. package/dist/cjs/road-select-filter.cjs.entry.js +1 -1
  49. package/dist/cjs/road-select.cjs.entry.js +1 -1
  50. package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
  51. package/dist/cjs/road-spinner.cjs.entry.js +1 -1
  52. package/dist/cjs/road-status-chip.cjs.entry.js +1 -1
  53. package/dist/cjs/road-switch.cjs.entry.js +2 -2
  54. package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
  55. package/dist/cjs/road-tab-button.cjs.entry.js +2 -2
  56. package/dist/cjs/road-tab.cjs.entry.js +2 -2
  57. package/dist/cjs/road-table.cjs.entry.js +1 -1
  58. package/dist/cjs/road-tabs.cjs.entry.js +1 -1
  59. package/dist/cjs/road-tag.cjs.entry.js +1 -1
  60. package/dist/cjs/road-text.cjs.entry.js +1 -1
  61. package/dist/cjs/road-textarea.cjs.entry.js +1 -1
  62. package/dist/cjs/road-time-range-picker.cjs.entry.js +1 -1
  63. package/dist/cjs/road-toast.cjs.entry.js +1 -1
  64. package/dist/cjs/road-toggle.cjs.entry.js +2 -2
  65. package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
  66. package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
  67. package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
  68. package/dist/cjs/road-tooltip.cjs.entry.js +3 -3
  69. package/dist/cjs/roadtrip.cjs.js +1 -1
  70. package/dist/collection/components/alert/alert.css +68 -2
  71. package/dist/collection/components/alert/alert.js +185 -1
  72. package/dist/collection/components/alert/alert.js.map +1 -1
  73. package/dist/collection/components/alert/alert.stories.js +43 -12
  74. package/dist/collection/components/area-code/area-code.js +1 -1
  75. package/dist/collection/components/aspect-ratio/aspect-ratio.js +1 -1
  76. package/dist/collection/components/autocomplete/autocomplete.js +2 -2
  77. package/dist/collection/components/avatar/avatar.js +1 -1
  78. package/dist/collection/components/badge/badge.js +1 -1
  79. package/dist/collection/components/banner/banner.js +1 -1
  80. package/dist/collection/components/button/button.js +1 -1
  81. package/dist/collection/components/button-floating/button-floating.js +1 -1
  82. package/dist/collection/components/card/card.js +1 -1
  83. package/dist/collection/components/carousel/carousel.js +1 -1
  84. package/dist/collection/components/carousel-item/carousel-item.js +2 -2
  85. package/dist/collection/components/checkbox/checkbox.js +1 -1
  86. package/dist/collection/components/chip/chip.js +1 -1
  87. package/dist/collection/components/col/col.js +1 -1
  88. package/dist/collection/components/collapse/collapse.js +1 -1
  89. package/dist/collection/components/content-card/content-card.js +1 -1
  90. package/dist/collection/components/counter/counter.js +1 -1
  91. package/dist/collection/components/dialog/dialog.js +3 -3
  92. package/dist/collection/components/drawer/drawer.js +1 -1
  93. package/dist/collection/components/dropdown/dropdown.js +1 -1
  94. package/dist/collection/components/duration/duration.js +1 -1
  95. package/dist/collection/components/flap/flap.js +1 -1
  96. package/dist/collection/components/global-navigation/global-navigation.js +1 -1
  97. package/dist/collection/components/global-navigation-v2/global-navigation-v2.js +1 -1
  98. package/dist/collection/components/grid/grid.js +1 -1
  99. package/dist/collection/components/img/img.js +1 -1
  100. package/dist/collection/components/input/input.css +8 -0
  101. package/dist/collection/components/input/input.js +27 -2
  102. package/dist/collection/components/input/input.js.map +1 -1
  103. package/dist/collection/components/input/input.stories.js +11 -0
  104. package/dist/collection/components/input-group/input-group.js +1 -1
  105. package/dist/collection/components/item/item.js +3 -3
  106. package/dist/collection/components/label/label.js +1 -1
  107. package/dist/collection/components/list/list.js +2 -2
  108. package/dist/collection/components/modal/modal.js +1 -1
  109. package/dist/collection/components/navbar/navbar.js +1 -1
  110. package/dist/collection/components/navbar-item/navbar-item.js +2 -2
  111. package/dist/collection/components/navbar-item-v2/navbar-item-v2.js +2 -2
  112. package/dist/collection/components/navbar-v2/navbar-v2.js +1 -1
  113. package/dist/collection/components/phone-number-input/phone-number-input.js +2 -2
  114. package/dist/collection/components/plate-number/plate-number.js +2 -2
  115. package/dist/collection/components/profil-dropdown/profil-dropdown.js +1 -1
  116. package/dist/collection/components/progress/progress.js +1 -1
  117. package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.js +1 -1
  118. package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js +1 -1
  119. package/dist/collection/components/progress-indicator-vertical-item/progress-indicator-vertical-item.js +1 -1
  120. package/dist/collection/components/progress-tracker/progress-tracker.js +1 -1
  121. package/dist/collection/components/progress-tracker-item/progress-tracker-item.js +1 -1
  122. package/dist/collection/components/radio/radio.js +1 -1
  123. package/dist/collection/components/radio-card/radio-card.js +1 -1
  124. package/dist/collection/components/radio-group/radio-group.js +1 -1
  125. package/dist/collection/components/range/range.js +2 -2
  126. package/dist/collection/components/rating/rating.js +1 -1
  127. package/dist/collection/components/row/row.js +1 -1
  128. package/dist/collection/components/segmented-button/segmented-button.js +2 -2
  129. package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
  130. package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
  131. package/dist/collection/components/select/select.js +1 -1
  132. package/dist/collection/components/select-filter/select-filter.js +1 -1
  133. package/dist/collection/components/skeleton/skeleton.js +1 -1
  134. package/dist/collection/components/spinner/spinner.js +1 -1
  135. package/dist/collection/components/status-chip/status-chip.js +1 -1
  136. package/dist/collection/components/switch/switch.js +2 -2
  137. package/dist/collection/components/tab/tab.js +2 -2
  138. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  139. package/dist/collection/components/tab-button/tab-button.js +2 -2
  140. package/dist/collection/components/table/table.js +1 -1
  141. package/dist/collection/components/tabs/tabs.js +1 -1
  142. package/dist/collection/components/tag/tag.js +1 -1
  143. package/dist/collection/components/text/text.js +1 -1
  144. package/dist/collection/components/textarea/textarea.js +1 -1
  145. package/dist/collection/components/time-range-picker/time-range-picker.js +1 -1
  146. package/dist/collection/components/toast/toast.js +1 -1
  147. package/dist/collection/components/toggle/toggle.js +2 -2
  148. package/dist/collection/components/toolbar/toolbar.js +1 -1
  149. package/dist/collection/components/toolbar-title/toolbar-title.js +1 -1
  150. package/dist/collection/components/toolbar-title-page/toolbar-title-page.js +1 -1
  151. package/dist/collection/components/toolbar-v2/toolbar-v2.js +1 -1
  152. package/dist/collection/components/tooltip/tooltip.js +3 -3
  153. package/dist/esm/loader.js +1 -1
  154. package/dist/esm/road-alert.entry.js +63 -3
  155. package/dist/esm/road-alert.entry.js.map +1 -1
  156. package/dist/esm/road-area-code.entry.js +1 -1
  157. package/dist/esm/road-aspect-ratio.entry.js +1 -1
  158. package/dist/esm/road-autocomplete.entry.js +2 -2
  159. package/dist/esm/road-avatar.entry.js +1 -1
  160. package/dist/esm/road-badge_14.entry.js +23 -18
  161. package/dist/esm/road-badge_14.entry.js.map +1 -1
  162. package/dist/esm/road-banner.entry.js +1 -1
  163. package/dist/esm/road-button-floating.entry.js +1 -1
  164. package/dist/esm/road-card.entry.js +1 -1
  165. package/dist/esm/road-carousel-item.entry.js +2 -2
  166. package/dist/esm/road-carousel.entry.js +1 -1
  167. package/dist/esm/road-checkbox.entry.js +1 -1
  168. package/dist/esm/road-chip.entry.js +1 -1
  169. package/dist/esm/road-collapse.entry.js +1 -1
  170. package/dist/esm/road-content-card.entry.js +1 -1
  171. package/dist/esm/road-dialog.entry.js +3 -3
  172. package/dist/esm/road-dropdown.entry.js +1 -1
  173. package/dist/esm/road-duration.entry.js +1 -1
  174. package/dist/esm/road-flap.entry.js +1 -1
  175. package/dist/esm/road-global-navigation-v2.entry.js +1 -1
  176. package/dist/esm/road-global-navigation.entry.js +1 -1
  177. package/dist/esm/road-img.entry.js +1 -1
  178. package/dist/esm/road-modal.entry.js +1 -1
  179. package/dist/esm/road-navbar-item-v2.entry.js +2 -2
  180. package/dist/esm/road-navbar-item.entry.js +2 -2
  181. package/dist/esm/road-navbar-v2.entry.js +1 -1
  182. package/dist/esm/road-navbar.entry.js +1 -1
  183. package/dist/esm/road-phone-number-input.entry.js +2 -2
  184. package/dist/esm/road-plate-number.entry.js +2 -2
  185. package/dist/esm/road-profil-dropdown.entry.js +1 -1
  186. package/dist/esm/road-progress-indicator-horizontal.entry.js +1 -1
  187. package/dist/esm/road-progress-indicator-vertical-item.entry.js +1 -1
  188. package/dist/esm/road-progress-indicator-vertical.entry.js +1 -1
  189. package/dist/esm/road-progress-tracker-item.entry.js +1 -1
  190. package/dist/esm/road-progress-tracker.entry.js +1 -1
  191. package/dist/esm/road-progress.entry.js +1 -1
  192. package/dist/esm/road-radio-card.entry.js +1 -1
  193. package/dist/esm/road-radio-group.entry.js +1 -1
  194. package/dist/esm/road-radio.entry.js +1 -1
  195. package/dist/esm/road-range.entry.js +2 -2
  196. package/dist/esm/road-rating.entry.js +1 -1
  197. package/dist/esm/road-segmented-button-bar.entry.js +1 -1
  198. package/dist/esm/road-segmented-button.entry.js +2 -2
  199. package/dist/esm/road-segmented-buttons.entry.js +1 -1
  200. package/dist/esm/road-select-filter.entry.js +1 -1
  201. package/dist/esm/road-select.entry.js +1 -1
  202. package/dist/esm/road-skeleton.entry.js +1 -1
  203. package/dist/esm/road-spinner.entry.js +1 -1
  204. package/dist/esm/road-status-chip.entry.js +1 -1
  205. package/dist/esm/road-switch.entry.js +2 -2
  206. package/dist/esm/road-tab-bar.entry.js +2 -2
  207. package/dist/esm/road-tab-button.entry.js +2 -2
  208. package/dist/esm/road-tab.entry.js +2 -2
  209. package/dist/esm/road-table.entry.js +1 -1
  210. package/dist/esm/road-tabs.entry.js +1 -1
  211. package/dist/esm/road-tag.entry.js +1 -1
  212. package/dist/esm/road-text.entry.js +1 -1
  213. package/dist/esm/road-textarea.entry.js +1 -1
  214. package/dist/esm/road-time-range-picker.entry.js +1 -1
  215. package/dist/esm/road-toast.entry.js +1 -1
  216. package/dist/esm/road-toggle.entry.js +2 -2
  217. package/dist/esm/road-toolbar-title-page.entry.js +1 -1
  218. package/dist/esm/road-toolbar-title.entry.js +1 -1
  219. package/dist/esm/road-toolbar-v2.entry.js +1 -1
  220. package/dist/esm/road-tooltip.entry.js +3 -3
  221. package/dist/esm/roadtrip.js +1 -1
  222. package/dist/html.html-data.json +27 -0
  223. package/dist/roadtrip/{p-017a76a9.entry.js → p-07db2ee1.entry.js} +3 -3
  224. package/dist/roadtrip/p-07db2ee1.entry.js.map +1 -0
  225. package/dist/roadtrip/{p-2757cbd1.entry.js → p-11d896b1.entry.js} +2 -2
  226. package/dist/roadtrip/{p-31837e5f.entry.js → p-1449b7c8.entry.js} +2 -2
  227. package/dist/roadtrip/{p-4401f218.entry.js → p-24196fd2.entry.js} +2 -2
  228. package/dist/roadtrip/{p-c2e6b479.entry.js → p-26b852e2.entry.js} +2 -2
  229. package/dist/roadtrip/{p-651105d3.entry.js → p-2797e2f2.entry.js} +2 -2
  230. package/dist/roadtrip/{p-71ea3c01.entry.js → p-29ac611e.entry.js} +2 -2
  231. package/dist/roadtrip/p-2ae82371.entry.js +2 -0
  232. package/dist/roadtrip/{p-2722edab.entry.js → p-302f51c6.entry.js} +2 -2
  233. package/dist/roadtrip/{p-58c773c3.entry.js → p-36288d23.entry.js} +2 -2
  234. package/dist/roadtrip/{p-3c63b7db.entry.js → p-36f8563a.entry.js} +2 -2
  235. package/dist/roadtrip/{p-21adfb3f.entry.js → p-377d6b5b.entry.js} +2 -2
  236. package/dist/roadtrip/{p-fef9b54c.entry.js → p-39173ac2.entry.js} +2 -2
  237. package/dist/roadtrip/{p-6020b36a.entry.js → p-3a310d3d.entry.js} +2 -2
  238. package/dist/roadtrip/{p-fd19056c.entry.js → p-3dc22d00.entry.js} +2 -2
  239. package/dist/roadtrip/p-4182495e.entry.js +2 -0
  240. package/dist/roadtrip/p-4182495e.entry.js.map +1 -0
  241. package/dist/roadtrip/p-4334d85b.entry.js +2 -0
  242. package/dist/roadtrip/{p-4543ebe4.entry.js → p-45b9521f.entry.js} +2 -2
  243. package/dist/roadtrip/{p-4f1d3834.entry.js → p-45cabcdf.entry.js} +2 -2
  244. package/dist/roadtrip/{p-a4aa3628.entry.js → p-4bb49a92.entry.js} +2 -2
  245. package/dist/roadtrip/{p-a4e4986d.entry.js → p-4e3cc7e9.entry.js} +2 -2
  246. package/dist/roadtrip/{p-7546dadc.entry.js → p-509ba166.entry.js} +2 -2
  247. package/dist/roadtrip/{p-2ff1292b.entry.js → p-52d56ed2.entry.js} +2 -2
  248. package/dist/roadtrip/{p-47996b6e.entry.js → p-58b20099.entry.js} +2 -2
  249. package/dist/roadtrip/{p-9fd1a846.entry.js → p-5b738d24.entry.js} +2 -2
  250. package/dist/roadtrip/{p-14761790.entry.js → p-5f6771e5.entry.js} +2 -2
  251. package/dist/roadtrip/p-61191773.entry.js +2 -0
  252. package/dist/roadtrip/{p-db5107c4.entry.js.map → p-61191773.entry.js.map} +1 -1
  253. package/dist/roadtrip/{p-610216c6.entry.js → p-65dfd1e8.entry.js} +2 -2
  254. package/dist/roadtrip/{p-a21bce75.entry.js → p-6e9fac54.entry.js} +2 -2
  255. package/dist/roadtrip/{p-974b5313.entry.js → p-70f4387a.entry.js} +2 -2
  256. package/dist/roadtrip/{p-111df7a1.entry.js → p-75ebf102.entry.js} +2 -2
  257. package/dist/roadtrip/{p-f514f186.entry.js → p-7955499d.entry.js} +2 -2
  258. package/dist/roadtrip/{p-daeb9c8d.entry.js → p-79c3152e.entry.js} +2 -2
  259. package/dist/roadtrip/{p-84dc220e.entry.js → p-7e0bdcf9.entry.js} +2 -2
  260. package/dist/roadtrip/{p-bb7583ee.entry.js → p-8753beba.entry.js} +2 -2
  261. package/dist/roadtrip/{p-fa0d3620.entry.js → p-875b5999.entry.js} +2 -2
  262. package/dist/roadtrip/{p-29485fb3.entry.js → p-8cd69117.entry.js} +2 -2
  263. package/dist/roadtrip/{p-c1f1efd9.entry.js → p-927cf307.entry.js} +2 -2
  264. package/dist/roadtrip/{p-255f2276.entry.js → p-9cbd5ae9.entry.js} +2 -2
  265. package/dist/roadtrip/{p-64928ea0.entry.js → p-a264377a.entry.js} +2 -2
  266. package/dist/roadtrip/{p-64b638e1.entry.js → p-a4e45088.entry.js} +2 -2
  267. package/dist/roadtrip/{p-6eb30876.entry.js → p-b292d3fc.entry.js} +2 -2
  268. package/dist/roadtrip/{p-5cd3095d.entry.js → p-b5b2e36c.entry.js} +2 -2
  269. package/dist/roadtrip/{p-324522a1.entry.js → p-b61abebd.entry.js} +2 -2
  270. package/dist/roadtrip/{p-d91eccca.entry.js → p-b8132587.entry.js} +2 -2
  271. package/dist/roadtrip/{p-998e28b4.entry.js → p-c28fbcc0.entry.js} +2 -2
  272. package/dist/roadtrip/{p-aed4bf52.entry.js → p-c4550384.entry.js} +2 -2
  273. package/dist/roadtrip/{p-c441209e.entry.js → p-c7dd579d.entry.js} +2 -2
  274. package/dist/roadtrip/{p-cd0c64cb.entry.js → p-c9527301.entry.js} +2 -2
  275. package/dist/roadtrip/{p-d62ae6e9.entry.js → p-ca3460a4.entry.js} +2 -2
  276. package/dist/roadtrip/{p-71fe2f8e.entry.js → p-d1517c27.entry.js} +2 -2
  277. package/dist/roadtrip/{p-74b17bd6.entry.js → p-d6a7644e.entry.js} +2 -2
  278. package/dist/roadtrip/{p-ea7ad722.entry.js → p-d881a66c.entry.js} +2 -2
  279. package/dist/roadtrip/{p-1352bc34.entry.js → p-de35fded.entry.js} +2 -2
  280. package/dist/roadtrip/{p-df353cb6.entry.js → p-e2ba76f7.entry.js} +2 -2
  281. package/dist/roadtrip/p-e56c84ec.entry.js +2 -0
  282. package/dist/roadtrip/{p-2ae9b559.entry.js.map → p-e56c84ec.entry.js.map} +1 -1
  283. package/dist/roadtrip/{p-824b4a68.entry.js → p-e7b4f257.entry.js} +2 -2
  284. package/dist/roadtrip/{p-b7dc61c8.entry.js → p-e97c8d7f.entry.js} +2 -2
  285. package/dist/roadtrip/p-eca24e7d.entry.js +2 -0
  286. package/dist/roadtrip/{p-fbbe77e0.entry.js.map → p-eca24e7d.entry.js.map} +1 -1
  287. package/dist/roadtrip/{p-6e09a2ef.entry.js → p-edf07985.entry.js} +2 -2
  288. package/dist/roadtrip/{p-f7a3a65c.entry.js → p-ef883f08.entry.js} +2 -2
  289. package/dist/roadtrip/{p-83ea3a4e.entry.js → p-f30f96c2.entry.js} +2 -2
  290. package/dist/roadtrip/{p-6bba72da.entry.js → p-f58f43d0.entry.js} +2 -2
  291. package/dist/roadtrip/{p-090b84ec.entry.js → p-fdcebcc3.entry.js} +2 -2
  292. package/dist/roadtrip/p-ff189f73.entry.js +2 -0
  293. package/dist/roadtrip/roadtrip.esm.js +1 -1
  294. package/dist/roadtrip/roadtrip.esm.js.map +1 -1
  295. package/dist/types/components/alert/alert.d.ts +41 -0
  296. package/dist/types/components/input/input.d.ts +4 -0
  297. package/dist/types/components.d.ts +75 -0
  298. package/hydrate/index.d.ts +24 -38
  299. package/hydrate/index.js +19982 -20280
  300. package/hydrate/index.mjs +19982 -20280
  301. package/package.json +1 -1
  302. package/dist/roadtrip/p-017a76a9.entry.js.map +0 -1
  303. package/dist/roadtrip/p-2ae9b559.entry.js +0 -2
  304. package/dist/roadtrip/p-32685310.entry.js +0 -2
  305. package/dist/roadtrip/p-9e22fa54.entry.js +0 -2
  306. package/dist/roadtrip/p-a8cfee66.entry.js +0 -2
  307. package/dist/roadtrip/p-a8cfee66.entry.js.map +0 -1
  308. package/dist/roadtrip/p-db5107c4.entry.js +0 -2
  309. package/dist/roadtrip/p-f4b23455.entry.js +0 -2
  310. package/dist/roadtrip/p-fbbe77e0.entry.js +0 -2
  311. /package/dist/roadtrip/{p-2757cbd1.entry.js.map → p-11d896b1.entry.js.map} +0 -0
  312. /package/dist/roadtrip/{p-31837e5f.entry.js.map → p-1449b7c8.entry.js.map} +0 -0
  313. /package/dist/roadtrip/{p-4401f218.entry.js.map → p-24196fd2.entry.js.map} +0 -0
  314. /package/dist/roadtrip/{p-c2e6b479.entry.js.map → p-26b852e2.entry.js.map} +0 -0
  315. /package/dist/roadtrip/{p-651105d3.entry.js.map → p-2797e2f2.entry.js.map} +0 -0
  316. /package/dist/roadtrip/{p-71ea3c01.entry.js.map → p-29ac611e.entry.js.map} +0 -0
  317. /package/dist/roadtrip/{p-32685310.entry.js.map → p-2ae82371.entry.js.map} +0 -0
  318. /package/dist/roadtrip/{p-2722edab.entry.js.map → p-302f51c6.entry.js.map} +0 -0
  319. /package/dist/roadtrip/{p-58c773c3.entry.js.map → p-36288d23.entry.js.map} +0 -0
  320. /package/dist/roadtrip/{p-3c63b7db.entry.js.map → p-36f8563a.entry.js.map} +0 -0
  321. /package/dist/roadtrip/{p-21adfb3f.entry.js.map → p-377d6b5b.entry.js.map} +0 -0
  322. /package/dist/roadtrip/{p-fef9b54c.entry.js.map → p-39173ac2.entry.js.map} +0 -0
  323. /package/dist/roadtrip/{p-6020b36a.entry.js.map → p-3a310d3d.entry.js.map} +0 -0
  324. /package/dist/roadtrip/{p-fd19056c.entry.js.map → p-3dc22d00.entry.js.map} +0 -0
  325. /package/dist/roadtrip/{p-9e22fa54.entry.js.map → p-4334d85b.entry.js.map} +0 -0
  326. /package/dist/roadtrip/{p-4543ebe4.entry.js.map → p-45b9521f.entry.js.map} +0 -0
  327. /package/dist/roadtrip/{p-4f1d3834.entry.js.map → p-45cabcdf.entry.js.map} +0 -0
  328. /package/dist/roadtrip/{p-a4aa3628.entry.js.map → p-4bb49a92.entry.js.map} +0 -0
  329. /package/dist/roadtrip/{p-a4e4986d.entry.js.map → p-4e3cc7e9.entry.js.map} +0 -0
  330. /package/dist/roadtrip/{p-7546dadc.entry.js.map → p-509ba166.entry.js.map} +0 -0
  331. /package/dist/roadtrip/{p-2ff1292b.entry.js.map → p-52d56ed2.entry.js.map} +0 -0
  332. /package/dist/roadtrip/{p-47996b6e.entry.js.map → p-58b20099.entry.js.map} +0 -0
  333. /package/dist/roadtrip/{p-9fd1a846.entry.js.map → p-5b738d24.entry.js.map} +0 -0
  334. /package/dist/roadtrip/{p-14761790.entry.js.map → p-5f6771e5.entry.js.map} +0 -0
  335. /package/dist/roadtrip/{p-610216c6.entry.js.map → p-65dfd1e8.entry.js.map} +0 -0
  336. /package/dist/roadtrip/{p-a21bce75.entry.js.map → p-6e9fac54.entry.js.map} +0 -0
  337. /package/dist/roadtrip/{p-974b5313.entry.js.map → p-70f4387a.entry.js.map} +0 -0
  338. /package/dist/roadtrip/{p-111df7a1.entry.js.map → p-75ebf102.entry.js.map} +0 -0
  339. /package/dist/roadtrip/{p-f514f186.entry.js.map → p-7955499d.entry.js.map} +0 -0
  340. /package/dist/roadtrip/{p-daeb9c8d.entry.js.map → p-79c3152e.entry.js.map} +0 -0
  341. /package/dist/roadtrip/{p-84dc220e.entry.js.map → p-7e0bdcf9.entry.js.map} +0 -0
  342. /package/dist/roadtrip/{p-bb7583ee.entry.js.map → p-8753beba.entry.js.map} +0 -0
  343. /package/dist/roadtrip/{p-fa0d3620.entry.js.map → p-875b5999.entry.js.map} +0 -0
  344. /package/dist/roadtrip/{p-29485fb3.entry.js.map → p-8cd69117.entry.js.map} +0 -0
  345. /package/dist/roadtrip/{p-c1f1efd9.entry.js.map → p-927cf307.entry.js.map} +0 -0
  346. /package/dist/roadtrip/{p-255f2276.entry.js.map → p-9cbd5ae9.entry.js.map} +0 -0
  347. /package/dist/roadtrip/{p-64928ea0.entry.js.map → p-a264377a.entry.js.map} +0 -0
  348. /package/dist/roadtrip/{p-64b638e1.entry.js.map → p-a4e45088.entry.js.map} +0 -0
  349. /package/dist/roadtrip/{p-6eb30876.entry.js.map → p-b292d3fc.entry.js.map} +0 -0
  350. /package/dist/roadtrip/{p-5cd3095d.entry.js.map → p-b5b2e36c.entry.js.map} +0 -0
  351. /package/dist/roadtrip/{p-324522a1.entry.js.map → p-b61abebd.entry.js.map} +0 -0
  352. /package/dist/roadtrip/{p-d91eccca.entry.js.map → p-b8132587.entry.js.map} +0 -0
  353. /package/dist/roadtrip/{p-998e28b4.entry.js.map → p-c28fbcc0.entry.js.map} +0 -0
  354. /package/dist/roadtrip/{p-aed4bf52.entry.js.map → p-c4550384.entry.js.map} +0 -0
  355. /package/dist/roadtrip/{p-c441209e.entry.js.map → p-c7dd579d.entry.js.map} +0 -0
  356. /package/dist/roadtrip/{p-cd0c64cb.entry.js.map → p-c9527301.entry.js.map} +0 -0
  357. /package/dist/roadtrip/{p-d62ae6e9.entry.js.map → p-ca3460a4.entry.js.map} +0 -0
  358. /package/dist/roadtrip/{p-71fe2f8e.entry.js.map → p-d1517c27.entry.js.map} +0 -0
  359. /package/dist/roadtrip/{p-74b17bd6.entry.js.map → p-d6a7644e.entry.js.map} +0 -0
  360. /package/dist/roadtrip/{p-ea7ad722.entry.js.map → p-d881a66c.entry.js.map} +0 -0
  361. /package/dist/roadtrip/{p-1352bc34.entry.js.map → p-de35fded.entry.js.map} +0 -0
  362. /package/dist/roadtrip/{p-df353cb6.entry.js.map → p-e2ba76f7.entry.js.map} +0 -0
  363. /package/dist/roadtrip/{p-824b4a68.entry.js.map → p-e7b4f257.entry.js.map} +0 -0
  364. /package/dist/roadtrip/{p-b7dc61c8.entry.js.map → p-e97c8d7f.entry.js.map} +0 -0
  365. /package/dist/roadtrip/{p-6e09a2ef.entry.js.map → p-edf07985.entry.js.map} +0 -0
  366. /package/dist/roadtrip/{p-f7a3a65c.entry.js.map → p-ef883f08.entry.js.map} +0 -0
  367. /package/dist/roadtrip/{p-83ea3a4e.entry.js.map → p-f30f96c2.entry.js.map} +0 -0
  368. /package/dist/roadtrip/{p-6bba72da.entry.js.map → p-f58f43d0.entry.js.map} +0 -0
  369. /package/dist/roadtrip/{p-090b84ec.entry.js.map → p-fdcebcc3.entry.js.map} +0 -0
  370. /package/dist/roadtrip/{p-f4b23455.entry.js.map → p-ff189f73.entry.js.map} +0 -0
@@ -1,4 +1,5 @@
1
1
  import { Host, h } from "@stencil/core";
2
+ import { navigationClose } from "../../../icons";
2
3
  /**
3
4
  * @slot icon - Icon of the alert, it should be a road-icon element.
4
5
  * @slot - Message of the alert.
@@ -9,10 +10,67 @@ export class Alert {
9
10
  * Set the color of alert. e.g. info, success, warning, danger
10
11
  */
11
12
  this.color = 'info';
13
+ /**
14
+ * position of the button
15
+ */
16
+ this.layout = 'vertical';
17
+ /**
18
+ * Show / hide close icon
19
+ */
20
+ this.hasCloseIcon = false;
21
+ /**
22
+ * Set isOpen propertie to true to show the modal
23
+ */
24
+ this.isOpen = false;
25
+ /**
26
+ * Close the dialog when clicking on the cross or layer
27
+ */
28
+ this.onClick = (ev) => {
29
+ ev.stopPropagation();
30
+ ev.preventDefault();
31
+ this.close();
32
+ };
33
+ }
34
+ /**
35
+ * Open the modal
36
+ */
37
+ async open() {
38
+ this.isOpen = true;
39
+ }
40
+ /**
41
+ * Close the modal
42
+ */
43
+ async close() {
44
+ this.isOpen = false;
45
+ this.el.addEventListener('transitionend', () => {
46
+ this.onClose.emit();
47
+ }, { once: true });
48
+ }
49
+ /**
50
+ * Close the dialog when press Escape key
51
+ */
52
+ onEscape(event) {
53
+ if (event.key === 'Escape' || event.key === "Esc") {
54
+ this.close();
55
+ }
56
+ }
57
+ /**
58
+ * Call close function when clicking an element with data-dismiss="modal" attribute
59
+ */
60
+ componentDidLoad() {
61
+ this.el.querySelectorAll('[data-dismiss="modal"]').forEach(item => {
62
+ item.addEventListener('click', () => this.close());
63
+ });
12
64
  }
13
65
  render() {
14
66
  const colorClass = this.color !== undefined ? `alert-${this.color}` : '';
15
- return (h(Host, { key: 'b654cd8f516e47f8a6c0e7a1a4bfd9cae09076e0', class: colorClass, role: "alert" }, h("div", { key: '280b009d269a3dd510bcfabf8f4d7e5eb61cda80', class: "alert-icon" }, h("slot", { key: '17d81df60b117ab8b246d9b73c832954ec7296d1', name: "icon" })), h("div", { key: '46f8799b8b2ef9e525a4d7f00b5c53ddd98fe4d1' }, this.label && h("span", { key: '900b5b9f095356d008fb2bae5c03cc28eb828a8a', class: "alert-title d-block" }, this.label), h("p", { key: 'c65304f2cb7c7109350f3265a88a507ff84bb0c8', class: "alert-description" }, h("slot", { key: '3f34a35e3bbfd3a2fe96531e9d7a0cfd00df7b74' }), this.link && h("a", { key: '4149db714ea2fc13148d1e44d6e0dd9cc73dee45', href: this.url, class: "alert-link link link-default" }, this.link)))));
67
+ let layoutClass = 'alert-container'; // valeur par défaut
68
+ if (this.layout === 'horizontal') {
69
+ layoutClass = 'alert-container-horizontal';
70
+ }
71
+ const btnContainerClass = this.hasCloseIcon ? 'btn-container justify-end' : 'btn-container';
72
+ const closeIconElement = this.hasCloseIcon ? (h("button", { type: "button", class: "alert-close", onClick: this.onClick, "aria-label": "Close" }, h("road-icon", { icon: navigationClose, "aria-hidden": "true" }))) : null;
73
+ return (h(Host, { key: '358c0b9ba649dc7f2a04f7cf1973fc8136e55d8d', class: colorClass, role: "alert" }, h("div", { key: '08a81f21c4f8a773fca419c2ced43fb0fbd9c34f', class: "alert-icon" }, h("slot", { key: '677101a86efc495b8001d13170c2b88b35a3b59b', name: "icon" })), h("div", { key: '150ee6c4569c39ae1a76a4b560957fba71e06658', class: layoutClass }, h("div", { key: 'a5989623d9b6a2147e76359ddab2a3d052859695', class: "alert-container-content" }, this.label && h("span", { key: '165687f382f202899d8991a1dea3984a6b13a1bb', class: "alert-title d-block" }, this.label), h("p", { key: 'ae7a4dcd6b3f6e68dfe7493175ceeca56be2ac99', class: "alert-description" }, h("slot", { key: 'b6514df3aa0793ed4296856292860e9baf10caec' })), this.link && h("a", { key: 'c8db33f73ca8585369a7edfe91d92af9219d0bd4', href: this.url, class: "alert-link link link-default" }, this.link)), h("div", { key: '43f6da1950628cf9304f0e501c5cb2ce67bf203c', class: btnContainerClass }, h("slot", { key: 'c5b94ccd205912f8a23ddd0397483c370444e5ec', name: "button" })), closeIconElement)));
16
74
  }
17
75
  static get is() { return "road-alert"; }
18
76
  static get encapsulation() { return "shadow"; }
@@ -54,6 +112,26 @@ export class Alert {
54
112
  "reflect": false,
55
113
  "defaultValue": "'info'"
56
114
  },
115
+ "layout": {
116
+ "type": "string",
117
+ "mutable": false,
118
+ "complexType": {
119
+ "original": "'horizontal' | 'vertical' |'default'",
120
+ "resolved": "\"default\" | \"horizontal\" | \"vertical\" | undefined",
121
+ "references": {}
122
+ },
123
+ "required": false,
124
+ "optional": true,
125
+ "docs": {
126
+ "tags": [],
127
+ "text": "position of the button"
128
+ },
129
+ "getter": false,
130
+ "setter": false,
131
+ "attribute": "layout",
132
+ "reflect": false,
133
+ "defaultValue": "'vertical'"
134
+ },
57
135
  "label": {
58
136
  "type": "string",
59
137
  "mutable": false,
@@ -129,8 +207,114 @@ export class Alert {
129
207
  "setter": false,
130
208
  "attribute": "url",
131
209
  "reflect": false
210
+ },
211
+ "hasCloseIcon": {
212
+ "type": "boolean",
213
+ "mutable": false,
214
+ "complexType": {
215
+ "original": "boolean",
216
+ "resolved": "boolean",
217
+ "references": {}
218
+ },
219
+ "required": false,
220
+ "optional": false,
221
+ "docs": {
222
+ "tags": [],
223
+ "text": "Show / hide close icon"
224
+ },
225
+ "getter": false,
226
+ "setter": false,
227
+ "attribute": "has-close-icon",
228
+ "reflect": false,
229
+ "defaultValue": "false"
230
+ },
231
+ "isOpen": {
232
+ "type": "boolean",
233
+ "mutable": true,
234
+ "complexType": {
235
+ "original": "boolean",
236
+ "resolved": "boolean",
237
+ "references": {}
238
+ },
239
+ "required": false,
240
+ "optional": false,
241
+ "docs": {
242
+ "tags": [],
243
+ "text": "Set isOpen propertie to true to show the modal"
244
+ },
245
+ "getter": false,
246
+ "setter": false,
247
+ "attribute": "is-open",
248
+ "reflect": false,
249
+ "defaultValue": "false"
132
250
  }
133
251
  };
134
252
  }
253
+ static get events() {
254
+ return [{
255
+ "method": "onClose",
256
+ "name": "close",
257
+ "bubbles": true,
258
+ "cancelable": true,
259
+ "composed": true,
260
+ "docs": {
261
+ "tags": [],
262
+ "text": "Indicate when closing the modal"
263
+ },
264
+ "complexType": {
265
+ "original": "void",
266
+ "resolved": "void",
267
+ "references": {}
268
+ }
269
+ }];
270
+ }
271
+ static get methods() {
272
+ return {
273
+ "open": {
274
+ "complexType": {
275
+ "signature": "() => Promise<void>",
276
+ "parameters": [],
277
+ "references": {
278
+ "Promise": {
279
+ "location": "global",
280
+ "id": "global::Promise"
281
+ }
282
+ },
283
+ "return": "Promise<void>"
284
+ },
285
+ "docs": {
286
+ "text": "Open the modal",
287
+ "tags": []
288
+ }
289
+ },
290
+ "close": {
291
+ "complexType": {
292
+ "signature": "() => Promise<void>",
293
+ "parameters": [],
294
+ "references": {
295
+ "Promise": {
296
+ "location": "global",
297
+ "id": "global::Promise"
298
+ }
299
+ },
300
+ "return": "Promise<void>"
301
+ },
302
+ "docs": {
303
+ "text": "Close the modal",
304
+ "tags": []
305
+ }
306
+ }
307
+ };
308
+ }
309
+ static get elementRef() { return "el"; }
310
+ static get listeners() {
311
+ return [{
312
+ "name": "keyup",
313
+ "method": "onEscape",
314
+ "target": "document",
315
+ "capture": false,
316
+ "passive": false
317
+ }];
318
+ }
135
319
  }
136
320
  //# sourceMappingURL=alert.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert.js","sourceRoot":"","sources":["../../../src/components/alert/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAIzD;;;GAGG;AAOH,MAAM,OAAO,KAAK;IALlB;QAOE;;WAEG;QACK,UAAK,GAAmB,MAAM,CAAC;KAyCxC;IAlBE,MAAM;QACJ,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAEzE,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAC,OAAO;YACnC,4DAAK,KAAK,EAAC,YAAY;gBACrB,6DAAM,IAAI,EAAC,MAAM,GAAE,CACf;YACN;gBACG,IAAI,CAAC,KAAK,IAAI,6DAAM,KAAK,EAAC,qBAAqB,IAAE,IAAI,CAAC,KAAK,CAAQ;gBACpE,0DAAG,KAAK,EAAC,mBAAmB;oBAC1B,8DAAO;oBACN,IAAI,CAAC,IAAI,IAAI,0DAAG,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAC,8BAA8B,IAAE,IAAI,CAAC,IAAI,CAAK,CACnF,CACA,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACH","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core';\n\nimport { FeedbackColors } from '../../interface';\n\n/**\n * @slot icon - Icon of the alert, it should be a road-icon element.\n * @slot - Message of the alert.\n */\n\n@Component({\n tag: 'road-alert',\n styleUrl: 'alert.css',\n shadow: true,\n})\nexport class Alert {\n\n /**\n * Set the color of alert. e.g. info, success, warning, danger\n */\n @Prop() color: FeedbackColors = 'info';\n\n /**\n * Title display in the alert\n */\n @Prop() label?: string;\n\n /**\n * Button display in the alert\n * `<road-button size=\"sm\">Label</road-button>`\n */\n @Prop() button?: string;\n\n /**\n * Text Link display in the alert\n */\n @Prop() link?: string;\n\n /**\n * url display in the link\n */\n @Prop() url?: string;\n\n render() {\n const colorClass = this.color !== undefined ? `alert-${this.color}` : '';\n\n return (\n <Host class={colorClass} role=\"alert\">\n <div class=\"alert-icon\">\n <slot name=\"icon\"/>\n </div>\n <div>\n {this.label && <span class=\"alert-title d-block\">{this.label}</span>}\n <p class=\"alert-description\">\n <slot/>\n {this.link && <a href={this.url} class=\"alert-link link link-default\">{this.link}</a>}\n </p>\n </div>\n </Host>\n );\n }\n}"]}
1
+ {"version":3,"file":"alert.js","sourceRoot":"","sources":["../../../src/components/alert/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAgB,OAAO,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGjD;;;GAGG;AAOH,MAAM,OAAO,KAAK;IALlB;QAYE;;WAEG;QACK,UAAK,GAAmB,MAAM,CAAC;QAEvC;;WAEG;QACO,WAAM,GAA0C,UAAU,CAAC;QAuBrE;;WAEG;QACK,iBAAY,GAAY,KAAK,CAAC;QAEtC;;WAEG;QACsB,WAAM,GAAY,KAAK,CAAC;QA0BjD;;WAEG;QACK,YAAO,GAAG,CAAC,EAAW,EAAE,EAAE;YAChC,EAAE,CAAC,eAAe,EAAE,CAAC;YACrB,EAAE,CAAC,cAAc,EAAE,CAAC;YAEpB,IAAI,CAAC,KAAK,EAAE,CAAC;QACf,CAAC,CAAC;KA8DH;IAzFC;;OAEG;IAEH,KAAK,CAAC,IAAI;QACR,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IACrB,CAAC;IAED;;OAEG;IAEH,KAAK,CAAC,KAAK;QACT,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,eAAe,EAAE,GAAG,EAAE;YAC7C,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QACtB,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAC,CAAC,CAAC;IACpB,CAAC;IAYD;;OAEG;IAEH,QAAQ,CAAC,KAAoB;QAC3B,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,IAAI,KAAK,CAAC,GAAG,KAAK,KAAK,EAAE,CAAC;YAClD,IAAI,CAAC,KAAK,EAAE,CAAC;QACf,CAAC;IACH,CAAC;IAED;;OAEG;IACH,gBAAgB;QACd,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YAChE,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;IACL,CAAC;IAEH,MAAM;QAEJ,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACzE,IAAI,WAAW,GAAG,iBAAiB,CAAC,CAAC,oBAAoB;QACvD,IAAI,IAAI,CAAC,MAAM,KAAK,YAAY,EAAE,CAAC;YACjC,WAAW,GAAG,4BAA4B,CAAC;QAC7C,CAAC;QACH,MAAM,iBAAiB,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,2BAA2B,CAAC,CAAC,CAAC,eAAe,CAAC;QAC5F,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAC3C,cACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,aAAa,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,gBACV,OAAO;YAElB,iBAAW,IAAI,EAAE,eAAe,iBAAc,MAAM,GAAa,CAC1D,CACV,CAAC,CAAC,CAAC,IAAI,CAAC;QAET,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAC,OAAO;YACnC,4DAAK,KAAK,EAAC,YAAY;gBACrB,6DAAM,IAAI,EAAC,MAAM,GAAE,CACf;YACN,4DAAK,KAAK,EAAE,WAAW;gBACrB,4DAAK,KAAK,EAAC,yBAAyB;oBACjC,IAAI,CAAC,KAAK,IAAI,6DAAM,KAAK,EAAC,qBAAqB,IAAE,IAAI,CAAC,KAAK,CAAQ;oBACpE,0DAAG,KAAK,EAAC,mBAAmB;wBAC1B,8DAAO,CACL;oBACH,IAAI,CAAC,IAAI,IAAI,0DAAG,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAC,8BAA8B,IAAE,IAAI,CAAC,IAAI,CAAK,CACjF;gBACN,4DAAK,KAAK,EAAE,iBAAiB;oBAC3B,6DAAM,IAAI,EAAC,QAAQ,GAAE,CACjB;gBACL,gBAAgB,CACb,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEA","sourcesContent":["import { Component, Host, Prop, h, Listen, Event, Method, EventEmitter, Element } from '@stencil/core';\nimport { navigationClose } from '../../../icons';\nimport { FeedbackColors } from '../../interface';\n\n/**\n * @slot icon - Icon of the alert, it should be a road-icon element.\n * @slot - Message of the alert.\n */\n\n@Component({\n tag: 'road-alert',\n styleUrl: 'alert.css',\n shadow: true,\n})\nexport class Alert {\n\n /**\n * Current reference of the modal\n */\n @Element() el!: HTMLRoadAlertElement;\n\n /**\n * Set the color of alert. e.g. info, success, warning, danger\n */\n @Prop() color: FeedbackColors = 'info';\n\n /**\n * position of the button \n */\n @Prop() layout?: 'horizontal' | 'vertical' |'default' = 'vertical';\n\n /**\n * Title display in the alert\n */\n @Prop() label?: string;\n\n /**\n * Button display in the alert\n * `<road-button size=\"sm\">Label</road-button>`\n */\n @Prop() button?: string;\n\n /**\n * Text Link display in the alert\n */\n @Prop() link?: string;\n\n /**\n * url display in the link\n */\n @Prop() url?: string;\n\n /**\n * Show / hide close icon\n */\n @Prop() hasCloseIcon: boolean = false;\n\n /**\n * Set isOpen propertie to true to show the modal\n */\n @Prop({ mutable: true }) isOpen: boolean = false;\n\n /**\n * Indicate when closing the modal\n */\n @Event({ eventName: 'close' }) onClose!: EventEmitter<void>;\n\n /**\n * Open the modal\n */\n @Method()\n async open() {\n this.isOpen = true;\n }\n\n /**\n * Close the modal\n */\n @Method()\n async close() {\n this.isOpen = false;\n this.el.addEventListener('transitionend', () => {\n this.onClose.emit();\n }, { once: true});\n }\n\n /**\n * Close the dialog when clicking on the cross or layer\n */\n private onClick = (ev: UIEvent) => {\n ev.stopPropagation();\n ev.preventDefault();\n\n this.close();\n };\n\n /**\n * Close the dialog when press Escape key\n */\n @Listen('keyup', { target: 'document' })\n onEscape(event: KeyboardEvent) {\n if (event.key === 'Escape' || event.key === \"Esc\") {\n this.close();\n }\n }\n\n /**\n * Call close function when clicking an element with data-dismiss=\"modal\" attribute\n */\n componentDidLoad() {\n this.el.querySelectorAll('[data-dismiss=\"modal\"]').forEach(item => {\n item.addEventListener('click', () => this.close());\n });\n }\n\nrender() {\n\n const colorClass = this.color !== undefined ? `alert-${this.color}` : '';\n let layoutClass = 'alert-container'; // valeur par défaut\n if (this.layout === 'horizontal') {\n layoutClass = 'alert-container-horizontal';\n }\n const btnContainerClass = this.hasCloseIcon ? 'btn-container justify-end' : 'btn-container';\n const closeIconElement = this.hasCloseIcon ? (\n <button\n type=\"button\"\n class=\"alert-close\"\n onClick={this.onClick}\n aria-label=\"Close\"\n >\n <road-icon icon={navigationClose} aria-hidden=\"true\"></road-icon>\n </button>\n ) : null;\n\n return (\n <Host class={colorClass} role=\"alert\">\n <div class=\"alert-icon\">\n <slot name=\"icon\"/>\n </div>\n <div class={layoutClass}>\n <div class=\"alert-container-content\">\n {this.label && <span class=\"alert-title d-block\">{this.label}</span>}\n <p class=\"alert-description\">\n <slot/>\n </p>\n {this.link && <a href={this.url} class=\"alert-link link link-default\">{this.link}</a>}\n </div>\n <div class={btnContainerClass}>\n <slot name=\"button\"/>\n </div>\n {closeIconElement}\n </div>\n </Host>\n );\n}\n\n}"]}
@@ -10,15 +10,23 @@ export default {
10
10
  color: {
11
11
  description: "Set the color of alert. e.g. info, success, warning, danger",
12
12
  options: ['info', 'success', 'warning', 'danger'],
13
- control: {
14
- type: 'radio',
15
- },
13
+ control: { type: 'radio' },
14
+ },
15
+ layout: {
16
+ description: "For the button position",
17
+ options: ['vertical', 'horizontal'],
18
+ control: { type: 'radio' },
16
19
  },
17
20
  icon: {
18
21
  description: "Icon of the alert, it should be a road-icon element.",
19
22
  options: list,
20
- control: {
21
- type: 'select',
23
+ control: { type: 'select' },
24
+ },
25
+ 'has-close-icon': {
26
+ description: "Show / hide close icon",
27
+ control: 'boolean',
28
+ table: {
29
+ defaultValue: { summary: 'false' },
22
30
  },
23
31
  },
24
32
  link: {
@@ -26,7 +34,7 @@ export default {
26
34
  control: 'text',
27
35
  },
28
36
  button: {
29
- description: "Button display in the alert\n`<road-button size=\"sm\">Label</road-button>`",
37
+ description: "Text of the button slot\n(slot name=\"button\")",
30
38
  control: 'text',
31
39
  },
32
40
  label: {
@@ -44,18 +52,30 @@ export default {
44
52
  },
45
53
  args: {
46
54
  color: 'info',
55
+ layout: 'vertical',
47
56
  icon: `alert-info`,
48
- button: ``,
57
+ label: `Titre`,
58
+ button: ``, // vide par défaut
49
59
  ' ': `Information`,
60
+ 'has-close-icon': null,
50
61
  },
51
62
  };
52
63
 
53
64
  const Template = (args) => html`
54
- <road-alert color="${ifDefined(args.color)}" label="${ifDefined(args.label)}" link="${ifDefined(args.link)}" url="${ifDefined(args.url)}">
55
- <road-icon slot="icon" name="${ifDefined(args.icon)}" role="img"></road-icon>
56
- ${unsafeHTML(args[' '])}
57
- ${unsafeHTML(args.button)}
58
- </road-alert>
65
+ <road-alert
66
+ color="${ifDefined(args.color)}"
67
+ layout="${ifDefined(args.layout)}"
68
+ label="${ifDefined(args.label)}"
69
+ link="${ifDefined(args.link)}"
70
+ url="${ifDefined(args.url)}"
71
+ has-close-icon="${ifDefined(args['has-close-icon'])}"
72
+ >
73
+ <road-icon slot="icon" name="${ifDefined(args.icon)}" role="img"></road-icon>
74
+ ${unsafeHTML(args[' '])}
75
+ ${args.button
76
+ ? html`<road-button size="sm" slot="button" class="m-0">${args.button}</road-button>`
77
+ : ''}
78
+ </road-alert>
59
79
  `;
60
80
 
61
81
  export const Playground = Template.bind({});
@@ -63,6 +83,7 @@ Playground.args = {
63
83
  color: 'info',
64
84
  icon: `alert-info`,
65
85
  ' ': `Information`,
86
+ button: `Action`,
66
87
  };
67
88
 
68
89
  export const Success = Template.bind({});
@@ -70,6 +91,7 @@ Success.args = {
70
91
  color: 'success',
71
92
  icon: `alert-success`,
72
93
  ' ': `Success`,
94
+ button: `OK`,
73
95
  };
74
96
 
75
97
  export const Warning = Template.bind({});
@@ -85,3 +107,12 @@ Danger.args = {
85
107
  icon: `alert-danger`,
86
108
  ' ': `Danger`,
87
109
  };
110
+
111
+ export const Horizontal = Template.bind({});
112
+ Horizontal.args = {
113
+ color: 'info',
114
+ icon: `alert-info`,
115
+ ' ': `Information`,
116
+ button: `Action`,
117
+ layout: 'horizontal'
118
+ };
@@ -87,7 +87,7 @@ export class RoadAreaCode {
87
87
  const labelId = this.selectId + '-label';
88
88
  const valueId = this.selectId + '-value';
89
89
  const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
90
- return (h(Host, { key: '5284737f6b5095e033ea92a070f097c5f484228c', class: this.sizes && `select-${this.sizes}` }, h("select", { key: '4dc67cb4f98cedadf7e9e37ac9ec21e7626e549e', class: `form-select-area has-value ${isInvalidClass}`, id: this.selectId, "aria-disabled": this.disabled ? 'true' : null, autoFocus: this.autofocus, disabled: this.disabled, name: this.name, required: this.required, size: this.size, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur }, this.options && this.options.map(option => (h("option", { value: option.value, selected: option.selected }, option.label)))), h("label", { key: '91861b51dc10637ecf2a224209bd0b189fa50430', class: "form-select-area-label", id: labelId, htmlFor: this.selectId }, this.label), h("label", { key: '426fa27d96b289f7197e533fc350e0fcfe6e6522', class: "form-select-area-value", id: valueId, htmlFor: this.selectId }, "+", this.selectedValue), this.error && this.error !== '' && h("p", { key: 'c3d0eda1463b66ce02d6ae126454b27696283fbe', class: "invalid-feedback" }, this.error)));
90
+ return (h(Host, { key: 'a9c180581aad52a237a69f0260225358bed4c7d9', class: this.sizes && `select-${this.sizes}` }, h("select", { key: 'acf9b38d0a25646ea6f580d713ecadb12e0f3638', class: `form-select-area has-value ${isInvalidClass}`, id: this.selectId, "aria-disabled": this.disabled ? 'true' : null, autoFocus: this.autofocus, disabled: this.disabled, name: this.name, required: this.required, size: this.size, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur }, this.options && this.options.map(option => (h("option", { value: option.value, selected: option.selected }, option.label)))), h("label", { key: 'd0e9b3b99c5ee593e93866e8c97587459fd520cd', class: "form-select-area-label", id: labelId, htmlFor: this.selectId }, this.label), h("label", { key: '363d2951d028db2c2a6efe1e09f8605a684e0fbc', class: "form-select-area-value", id: valueId, htmlFor: this.selectId }, "+", this.selectedValue), this.error && this.error !== '' && h("p", { key: '160c054f3ac74eb46b625cba25676e430a45f52f', class: "invalid-feedback" }, this.error)));
91
91
  }
92
92
  static get is() { return "road-area-code"; }
93
93
  static get encapsulation() { return "scoped"; }
@@ -11,7 +11,7 @@ export class RoadAspectRatio {
11
11
  return `${w} / ${h}`;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'c1c6ae9772b75e1696785e3c41459c68a3a6cbe1', style: { '--road-aspect-ratio': this.getCssRatio() } }, h("div", { key: '477454fdd1c450a55a0607f0d1b6a56c108e3b84', class: "aspect-ratio-wrapper" }, h("div", { key: '73b1e25932a094dc8c09b1954f925b9d579d0649', class: "aspect-ratio-content" }, h("slot", { key: 'c9df17df97851d1f00cdc2079185105040dcfc47' })))));
14
+ return (h(Host, { key: '0b5d1fb507a3e9a3e7a122d55809ed24ea0a917d', style: { '--road-aspect-ratio': this.getCssRatio() } }, h("div", { key: 'a012fb3c04da5357ea277074ce08a784400068f9', class: "aspect-ratio-wrapper" }, h("div", { key: 'cb533bcb6b16cb21112b96ad862739deffec11e1', class: "aspect-ratio-content" }, h("slot", { key: '8c1737d96c384f55f876c5a3588a79b2381b01a1' })))));
15
15
  }
16
16
  static get is() { return "road-aspect-ratio"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -31,8 +31,8 @@ export class Autocomplete {
31
31
  }
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: '6a7b7719e53b273bc42dd8052753d5e681d6956a' }, h("slot", { key: '019abf952b3a3e53a4074f94f0fb791abf4fb5c4' }), this.visible && this.options.length > 0 &&
35
- h("ul", { key: '3da2bc611a92c411822456a6b161737da6b2a883', class: "autocomplete-list" }, this.options && this.options.map(option => (h("li", { class: "autocomplete-item", role: "menuitem", onClick: () => this.onClick(option.value, option.label), tabindex: "0" }, option.label))))));
34
+ return (h(Host, { key: '73780efbf9fbb131958cf95d82e917400b7cc7a7' }, h("slot", { key: 'cb9d4ba58dbee2802504aaaf49223d0905cebeb5' }), this.visible && this.options.length > 0 &&
35
+ h("ul", { key: '0b1f5afaf5a3d0fc088b0e3dc614cdad92d60031', class: "autocomplete-list" }, this.options && this.options.map(option => (h("li", { class: "autocomplete-item", role: "menuitem", onClick: () => this.onClick(option.value, option.label), tabindex: "0" }, option.label))))));
36
36
  }
37
37
  static get is() { return "road-autocomplete"; }
38
38
  static get encapsulation() { return "scoped"; }
@@ -11,7 +11,7 @@ export class Avatar {
11
11
  }
12
12
  render() {
13
13
  const sizeClass = this.size !== undefined ? `avatar-${this.size}` : '';
14
- return (h(Host, { key: '809031e64b8792227b7a948393206b6de50dfb07', class: `${sizeClass}` }, h("slot", { key: 'b2399051f7515542c87d88f93ed33f390ed9b0b9' })));
14
+ return (h(Host, { key: 'a36243469cae6cdd1743417f76a261cb7a82d3fd', class: `${sizeClass}` }, h("slot", { key: '656c8a8119209d27897087be9c5a11ed0679dbed' })));
15
15
  }
16
16
  static get is() { return "road-avatar"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -21,7 +21,7 @@ export class Badge {
21
21
  const colorClass = this.color !== undefined ? `badge-${this.color}` : '';
22
22
  const bubbleClass = this.bubble ? 'badge-bubble' : '';
23
23
  const sizeClass = this.size !== undefined ? `badge-${this.size}` : '';
24
- return (h(Host, { key: '64a2f40fc51250d4b7091bba38c5cf734e760e59', class: `${colorClass} ${bubbleClass} ${sizeClass}` }, h("slot", { key: 'ef6b01447aa596b1ce0bbbc629879fc940d6ad17' })));
24
+ return (h(Host, { key: '272af446e438ac2c9df336d12cd0bfbc3485af77', class: `${colorClass} ${bubbleClass} ${sizeClass}` }, h("slot", { key: 'da72ac86b6650797cd4a4e16a5afe85e2090f325' })));
25
25
  }
26
26
  static get is() { return "road-badge"; }
27
27
  static get encapsulation() { return "shadow"; }
@@ -28,7 +28,7 @@ export class Banner {
28
28
  }
29
29
  render() {
30
30
  const bannerIsOpenClass = this.isOpen ? 'banner-open' : '';
31
- return (h(Host, { key: '4d49fae1622403ba54ebbc2eca8e07d56644fa03', class: bannerIsOpenClass }, h("div", { key: 'f61d750fcb78721f8b8f420b77557393c660cb5d' }, h("span", { key: 'b4e13489b0556fa523c1ba3d07c479d8b6e26313', class: "banner-open-label" }, this.label), this.link && h("a", { key: 'b1eeb51ac02e37aeda15c1bf263ed30b71d1fbd0', href: this.url, class: "banner-open-link" }, this.link), h("button", { key: '57f443865461c27103bfbaea56bb7ce134f39b79', type: "button", class: "banner-close", onClick: this.onClick, "aria-label": "closed" }, h("road-icon", { key: 'adf3326dad26eb587666707695a0d82bd0f985e4', icon: navigationClose, size: "md" })))));
31
+ return (h(Host, { key: 'f1658b8509590ec8c76dbd0a4a04fb7c4b200277', class: bannerIsOpenClass }, h("div", { key: 'b17259ee98bb232c81aa0eb32250be7b8db8f6fe' }, h("span", { key: '07226e7728ae246d5c3f9c15737d77a52912a867', class: "banner-open-label" }, this.label), this.link && h("a", { key: '70dddd7a3782c10ef65aa100f96732e791ae913b', href: this.url, class: "banner-open-link" }, this.link), h("button", { key: '79eecde11b356d2cdfa4f5ea3292b50bd55cac47', type: "button", class: "banner-close", onClick: this.onClick, "aria-label": "closed" }, h("road-icon", { key: 'c2e0b9079e37ff4062fdd7694c33f8ab8f95150c', icon: navigationClose, size: "md" })))));
32
32
  }
33
33
  static get is() { return "road-banner"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -79,7 +79,7 @@ export class Button {
79
79
  const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
80
80
  const expandClass = this.expand ? 'btn-block' : '';
81
81
  const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';
82
- return (h(Host, { key: '353ab4e4ca1b5b3f7ece1355e060d6b19a677a45', class: [colorClass, sizeClass, expandClass, iconOnlyClass].filter(Boolean).join(' '), onClick: this.onClick, "aria-disabled": disabled ? 'true' : null }, h(TagType, Object.assign({ key: '3ec8936e02703cb0044c8cbf40bf0c23a48eaad1' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }), h("slot", { key: 'b4aa9975c778b2b50d5df3d83d95d9bae9fa3873', name: "start" }), h("slot", { key: 'b852b3dece59f85d1f97bec6b05e721cb5039606' }), h("slot", { key: 'ca7ec24ac0d462311d8e40ee626992138f47170c', name: "end" }))));
82
+ return (h(Host, { key: '79d849dd58e95934ff3ab4c9c5b5edd65fb4c899', class: [colorClass, sizeClass, expandClass, iconOnlyClass].filter(Boolean).join(' '), onClick: this.onClick, "aria-disabled": disabled ? 'true' : null }, h(TagType, Object.assign({ key: '764448aaf4c6c221563aa2d9b00c0b55c0fdea21' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }), h("slot", { key: '54a7978f6da8b45b48db0ab31cec66d592172e90', name: "start" }), h("slot", { key: '09f29be168b254fa9e3d73273938493d14cbca2f' }), h("slot", { key: '8a014e7ebeed34446a89729ff771ac0a7c97639e', name: "end" }))));
83
83
  }
84
84
  static get is() { return "road-button"; }
85
85
  static get encapsulation() { return "shadow"; }
@@ -51,7 +51,7 @@ export class Button {
51
51
  render() {
52
52
  const TagType = this.href === undefined ? 'button' : 'a';
53
53
  const positionClass = this.position !== undefined ? `position-${this.position}` : '';
54
- return (h(Host, { key: '938acf5a3e44873d4a569d8cd4094bcbf62ce7ea', onClick: this.onClick, class: `${positionClass}` }, h(TagType, { key: '466e5439251ec22e926f71838965dc91dc2b8a23', class: "button-native", part: "native", onFocus: this.onFocus, onBlur: this.onBlur }, h("slot", { key: '228e1c27116209bf5313d72c5cb02f154fc19260', name: "start" }), h("slot", { key: '2798856c774a56592061acea33db051c0ff88340' }))));
54
+ return (h(Host, { key: 'c92dd334acedc9c577901d339dfa121b63c0d8d0', onClick: this.onClick, class: `${positionClass}` }, h(TagType, { key: '10398fbc53a8e72cfc12975c6351dfe5430af311', class: "button-native", part: "native", onFocus: this.onFocus, onBlur: this.onBlur }, h("slot", { key: '22d572c54bd1defb07f45426f0bbab05666feb83', name: "start" }), h("slot", { key: 'aad19f6d9af9b534ae7aa36485639a928c77d287' }))));
55
55
  }
56
56
  static get is() { return "road-button-floating"; }
57
57
  static get encapsulation() { return "shadow"; }
@@ -57,7 +57,7 @@ export class Card {
57
57
  render() {
58
58
  const { elevation } = this;
59
59
  const elevationClass = this.elevation ? `card-elevation-${elevation}` : ``;
60
- return (h(Host, { key: 'ffbda1214eff7cb57679b63404dabc2cffc7bd97', class: `${elevationClass}` }, this.renderCard()));
60
+ return (h(Host, { key: 'f5bd5b9245b805dbd174a96b76b349af87e4e938', class: `${elevationClass}` }, this.renderCard()));
61
61
  }
62
62
  static get is() { return "road-card"; }
63
63
  static get encapsulation() { return "shadow"; }
@@ -270,7 +270,7 @@ export class Carousel {
270
270
  });
271
271
  }
272
272
  render() {
273
- return (h(Host, { key: '6449f5e58d3e1a7baf245b033a6a40acef669404', class: "swiper-container", tabindex: "0" }, h("div", { key: '8f9d9f5904bb748ef003a950ab36ab1c79a6456f', class: "swiper-wrapper" }, h("slot", { key: 'e9cbe92181342bab76e895601b37fd05853143e5' })), this.pager && h("div", { key: '2cecb4484335481e87198f36a7e2aebbed48cfd7', class: "swiper-pagination", ref: el => this.paginationEl = el }), this.arrows && (h("div", { key: '0388684ad428f8e18c3e9e4098cf23f99ec5fd1a', role: "button", class: "swiper-button-prev", tabindex: "0", "aria-label": "Previous slide", onClick: () => this.slidePrev() }, h("road-icon", { key: '5f8a74db627f7d35889fe49ea4aa575b39c87edd', icon: navigationChevron, rotate: "180" }))), this.arrows && (h("div", { key: 'ed352be39dd46d2b8244529836497c5e960f7bb6', role: "button", class: "swiper-button-next", tabindex: "0", "aria-label": "Next slide", onClick: () => this.slideNext() }, h("road-icon", { key: '8ec1e89b91cd14b5ff0d32eb496b56fa6015803e', icon: navigationChevron })))));
273
+ return (h(Host, { key: 'ade421fc79d745727fe78ca3e95fe16e3415137e', class: "swiper-container", tabindex: "0" }, h("div", { key: 'd52f527ab0a2a4bd64e2098cc588f3ae6b874bcb', class: "swiper-wrapper" }, h("slot", { key: '0f9426dca0b1ba1341793bd04e847f261f2c1046' })), this.pager && h("div", { key: '3479c07552381ba5a162e012b52fc7da06f41172', class: "swiper-pagination", ref: el => this.paginationEl = el }), this.arrows && (h("div", { key: '9a9b215a9e21380b57b75e4ba371c2c0e2176d56', role: "button", class: "swiper-button-prev", tabindex: "0", "aria-label": "Previous slide", onClick: () => this.slidePrev() }, h("road-icon", { key: '1f78835d575dcad28f3bd6cf55a9f0d34d90f809', icon: navigationChevron, rotate: "180" }))), this.arrows && (h("div", { key: '287a27ab8483e6833bd27aeceeb62d51313ee606', role: "button", class: "swiper-button-next", tabindex: "0", "aria-label": "Next slide", onClick: () => this.slideNext() }, h("road-icon", { key: 'de2b38ddb9afd1e8140f1233a9da42ae12b4793e', icon: navigationChevron })))));
274
274
  }
275
275
  static get is() { return "road-carousel"; }
276
276
  static get encapsulation() { return "shadow"; }
@@ -4,10 +4,10 @@ import { Host, h } from "@stencil/core";
4
4
  */
5
5
  export class CarouselItem {
6
6
  render() {
7
- return (h(Host, { key: '5351b52cd1a420fdc954e510a9d5cb04eb93b692', class: {
7
+ return (h(Host, { key: '9505d58be5a5b79ca69b82808b1ffd06ba6bf5ae', class: {
8
8
  'swiper-slide': true,
9
9
  'swiper-zoom-container': true,
10
- } }, h("slot", { key: 'bb54a4caad4c46b881ad0d8e09071adbd086bfac' })));
10
+ } }, h("slot", { key: 'e5c79e5ae3ca8cb8d69cd37a5b55496e04b26652' })));
11
11
  }
12
12
  static get is() { return "road-carousel-item"; }
13
13
  static get originalStyleUrls() {
@@ -69,7 +69,7 @@ export class Checkbox {
69
69
  const labelId = this.checkboxId + '-label';
70
70
  const inverseClass = this.inverse && 'form-checkbox-inverse';
71
71
  const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
72
- return (h(Host, { key: '29f815ab6351bdfe05a5e0c3e505c667ed1f41d5' }, h("input", { key: 'fc0a8ea36dd49755ee30a392e2d288e45848e540', class: `form-check-input ${isInvalidClass}`, type: "checkbox", id: this.checkboxId, name: this.name, required: this.required, disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), h("label", { key: 'c56457ee2f3ab825780c7026eda32708a90d341b', class: `form-check-label ${inverseClass}`, id: labelId, htmlFor: this.checkboxId }, h("div", { key: '45d6b492f1156d5a7544eeba2327b297aea81632' }, this.label, " ", h("span", { key: '3f7d67a6b26bcd07a2e4ea632a15988f6218be63', class: "form-check-label-span" }, this.secondaryLabel), h("slot", { key: 'fae0610a4929379c9751e207c438a019033fc6cc' })), this.checked && !this.indeterminate && h("road-icon", { key: '2426aad5abfd67d57d3997800c5e320db7642478', class: "form-check-icon", icon: checkWide }), this.indeterminate && h("road-icon", { key: '180a14b27de4c0304dd38b88e09237a51ef24481', class: "form-check-icon", icon: navigationAddLess })), this.error && this.error !== '' && h("p", { key: '50f964421ef90d53ef663030cd64f02f6dbea7e4', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: 'd7119a7d7323df974d0af3c7ee30fed64f019f62', class: "helper" }, this.helper)));
72
+ return (h(Host, { key: '6c65aa807587f38c0d6fcba34c1606431dfa1997' }, h("input", { key: '6a3aa3c88b3fd4bdc23bc3881c7b72e8d7591964', class: `form-check-input ${isInvalidClass}`, type: "checkbox", id: this.checkboxId, name: this.name, required: this.required, disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), h("label", { key: '3614ccc3ffbeacfd1e1b237da2b9c78ce7b8eecc', class: `form-check-label ${inverseClass}`, id: labelId, htmlFor: this.checkboxId }, h("div", { key: '5c3b311e9a816bd504780c2ba4009f5ab69d4b8e' }, this.label, " ", h("span", { key: 'cc588cbde6b8fbdea9ee0d861e265b994c8c5fa6', class: "form-check-label-span" }, this.secondaryLabel), h("slot", { key: 'd92e1174f5d8bc282938dde2532a065b4511f5e2' })), this.checked && !this.indeterminate && h("road-icon", { key: 'f4d26476c8686fc1d210378c581a5dedb6fb9ca3', class: "form-check-icon", icon: checkWide }), this.indeterminate && h("road-icon", { key: '2701bbb698f4558edb21e024d9f803d4227f1eec', class: "form-check-icon", icon: navigationAddLess })), this.error && this.error !== '' && h("p", { key: 'c39dc46b6aa89becc12a0277fddea6afe8c2f447', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: 'bbd1c57d3d9bc9c13664a829927cb26c560bf075', class: "helper" }, this.helper)));
73
73
  }
74
74
  static get is() { return "road-checkbox"; }
75
75
  static get encapsulation() { return "scoped"; }
@@ -25,7 +25,7 @@ export class Chip {
25
25
  }
26
26
  render() {
27
27
  const outlineClass = this.outline ? 'chip-outline' : '';
28
- return (h(Host, { key: 'd62cb5ab9adddd6249a39b2f9e0aca4163fe2269', class: `${outlineClass} chip-${this.color} chip-${this.size}`, tabindex: "0" }, h("div", { key: '30a200dc140ac7de7a7c38ec5f3c5aebcf30ec06', class: "chip-description" }, h("slot", { key: '4e49f38d9ea9c4f5d7cc465473089b5fd3e2407e' })), this.hasCloseIcon && h("road-icon", { key: 'd04755df3acef36413f551ce3a76e3970be05205', class: "chip-close", icon: navigationClose })));
28
+ return (h(Host, { key: 'a3d6d90495d0d68b83b3ddbaed51378dedf4d63a', class: `${outlineClass} chip-${this.color} chip-${this.size}`, tabindex: "0" }, h("div", { key: 'a59a6d3451042a9d04cda50c82615fc59465fdf7', class: "chip-description" }, h("slot", { key: '4219f60dc0bd8fda2be79f0ecd2b21075054c046' })), this.hasCloseIcon && h("road-icon", { key: 'c9426711dcf68f15413a3cd1a4f0c65cd09aa548', class: "chip-close", icon: navigationClose })));
29
29
  }
30
30
  static get is() { return "road-chip"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class Col {
6
6
  render() {
7
- return (h("slot", { key: '0b3251e270d85e236cfb3e19d1652a99250a97f7' }));
7
+ return (h("slot", { key: 'a2621927906372b10b73caae4ddb4eca67ca3077' }));
8
8
  }
9
9
  static get is() { return "road-col"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,7 @@ export class Collapse {
32
32
  const isOpenClass = this.isOpen ? 'collapse-open' : '';
33
33
  const buttonText = this.isOpen ? this.showLess : this.showMore;
34
34
  const centerClass = this.centered ? 'collapse-btn-centered' : '';
35
- return (h(Host, { key: 'dea3ae21ebf2c66c4eab20547d7c7cf983c80e8c' }, h("slot", { key: '3e24d28e832b7c7fad8f44b5838e70729599a807' }), h("div", { key: 'd98b7a9fa8f06be816d7f606bb323dda6c6bbc35', class: `collapsed-content ${isOpenClass}` }, h("slot", { key: '9766bde1f82e72fcdb2029e881358198afecf8f6', name: "collapsed-content" })), h("div", { key: '526b71c8edb30c0969196e91123107d41f6101ff', class: `collapse-btn-wrapper ${centerClass}` }, h("road-button", { key: '9660be0a97c94df0457afe3d7e7490c298d5ae17', onClick: this.onClick, class: "collapse-btn btn-link" }, buttonText))));
35
+ return (h(Host, { key: 'dc4faac44b6213b807e1c1b935474e61ecffc229' }, h("slot", { key: '007dc5698f07c530416b96319c087c70cc2e0928' }), h("div", { key: '88f368b345b0d27a467bf120f4c461f409f43187', class: `collapsed-content ${isOpenClass}` }, h("slot", { key: '253c48a56447a867c6b9f99ec485d3f444166f5a', name: "collapsed-content" })), h("div", { key: 'ce988a1da4251516b4e6a751cd214931e608a586', class: `collapse-btn-wrapper ${centerClass}` }, h("road-button", { key: 'd52107ea32b0cf25f490e7b1d38425df9fdd7d58', onClick: this.onClick, class: "collapse-btn btn-link" }, buttonText))));
36
36
  }
37
37
  static get is() { return "road-collapse"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -14,7 +14,7 @@ export class ContentCard {
14
14
  }
15
15
  render() {
16
16
  const insetImageClass = this.insetImage ? '' : 'content-card-image';
17
- return (h(Host, { key: '360033db419c221742546ef2d0e5929bb300efcd' }, h("road-img", { key: '013523dcbb0b7296401a07d602a367c6655d7c28', src: "https://s1.medias-norauto.fr/visuals/desktop/fr/banners/blog_loimontagne.png", alt: "loi montagne", class: insetImageClass }), h("div", { key: '6078dca52c93745082547511d6eec6ddb3470032', class: "content-card-description" }, h("road-label", { key: '89860de59698bb7053363602402e5702f6903680', class: "content-card-description-title" }, h("slot", { key: 'f911c334a22308ed45ceb5dfb9785f44ebd71b4c', name: "label" })), h("p", { key: 'abdcfc5bd409339e499de259c566cb1972359a68', class: "content-card-description-text" }, h("slot", { key: '542fd9cc261c1b01ea9eb328ac39d332aa6758c0', name: "description" })), h("div", { key: '976680d7b4e76b451497486b5fcc9fd2080ac9ad', class: "content-card-description-buttons" }, h("slot", { key: 'ed7f0248f86a76328a070cbcf52966587f0ac008' })))));
17
+ return (h(Host, { key: '0929d51b0a1629b1d983f114f1a0a5109db72d5b' }, h("road-img", { key: '289c2d4def77b4bae2f0ab1ce5e3569367b8bfcf', src: "https://s1.medias-norauto.fr/visuals/desktop/fr/banners/blog_loimontagne.png", alt: "loi montagne", class: insetImageClass }), h("div", { key: 'a22a7377c03e7b9f715b723ac454375785ee4765', class: "content-card-description" }, h("road-label", { key: 'e43c2c05a422a9aff793cf67ce7d3810689470b5', class: "content-card-description-title" }, h("slot", { key: '474ee1adb66d34157ad37b3a06546b8000d49a7a', name: "label" })), h("p", { key: 'd8cb29dba572569025b961e4fc08e51cc19fdeea', class: "content-card-description-text" }, h("slot", { key: '2751c5b213c615a8b4e70808da4ee5cdc3e7f26c', name: "description" })), h("div", { key: 'cce3d9833cda5f79b06c5f909af9fae197544204', class: "content-card-description-buttons" }, h("slot", { key: '2f75207ca66a7346c19f521c35ca8772ed3202c9' })))));
18
18
  }
19
19
  static get is() { return "road-content-card"; }
20
20
  static get encapsulation() { return "shadow"; }
@@ -154,7 +154,7 @@ export class Counter {
154
154
  }
155
155
  render() {
156
156
  const dataCi = this.isDustbinVisible ? "road-dustbin" : "";
157
- return (h("road-input-group", { key: '3bb999a2b567deabe7b48ed0583e06618665b6f7', class: this.size && `counter-${this.size}` }, h("road-button", { key: '64f881a027b7cb96fa788f6e0a42d6c3fdc3c538', slot: "prepend", size: this.size, onClick: this.decrease, class: this.leftIconClasses, "data-cy": "road-decrease" }, h("road-icon", { key: '56b8a9f64c76e84cadd1846bb4891048e8c5fc81', name: this.isDustbinVisible ? "delete-forever" : "navigation-add-less", ref: (el) => this.iconCounterLess = el, size: this.size, "data-cy": dataCi, role: "button" })), h("road-input", { key: '5e202c695ea45fa5862099f9a7ca9bc060d85e5e', ref: (el) => this.inputElement = el, type: "number", min: this.min.toString(), max: (this.max && this.max.toString()), step: this.step, value: this.value, onRoadChange: this.onRoadChange, onKeyUp: this.checkValue, "data-cy": "road-input-counter", readonly: this.readonly, label: "Quantit\u00E9" }), h("road-button", { key: '8dfd4ef49c6e29c8d69f7790f96c1aaa8284e9b1', slot: "append", size: this.size, onClick: this.increase, class: this.rightIconClasses, "data-cy": "road-increase" }, h("road-icon", { key: '908626b28f6de3bf65b717a998a1c3b574a7af6c', name: "navigation-add-more", size: this.size, role: "button" }))));
157
+ return (h("road-input-group", { key: '820b0cc9986dcb4e4c234f6c7046c14b3a3df095', class: this.size && `counter-${this.size}` }, h("road-button", { key: 'fab3f2d7e20855197f186f0e281d064befb95bbd', slot: "prepend", size: this.size, onClick: this.decrease, class: this.leftIconClasses, "data-cy": "road-decrease" }, h("road-icon", { key: '03c83781abc87777441b607b9722bf8d4ea30e03', name: this.isDustbinVisible ? "delete-forever" : "navigation-add-less", ref: (el) => this.iconCounterLess = el, size: this.size, "data-cy": dataCi, role: "button" })), h("road-input", { key: 'dd8911ac1c4b2c08ad876629962cd6b8b9531a61', ref: (el) => this.inputElement = el, type: "number", min: this.min.toString(), max: (this.max && this.max.toString()), step: this.step, value: this.value, onRoadChange: this.onRoadChange, onKeyUp: this.checkValue, "data-cy": "road-input-counter", readonly: this.readonly, label: "Quantit\u00E9" }), h("road-button", { key: '79bb668b3831df7ce76d1d3691f2c9ef6a3e56a8', slot: "append", size: this.size, onClick: this.increase, class: this.rightIconClasses, "data-cy": "road-increase" }, h("road-icon", { key: '035e4cacd9c843fd6b08a15ea40953bee8fcaa17', name: "navigation-add-more", size: this.size, role: "button" }))));
158
158
  }
159
159
  static get is() { return "road-counter"; }
160
160
  static get encapsulation() { return "scoped"; }
@@ -85,11 +85,11 @@ export class Dialog {
85
85
  break;
86
86
  }
87
87
  }
88
- return (h(Host, { key: '290c0636b8ef1edfd35e4273b16e9ac05bb088c7', class: `dialog ${modalIsOpenClass} ${modalhasClose}`, role: "alertdialog", "aria-modal": "true", tabindex: "-1", "aria-label": "dialogLabel" }, h("div", { key: 'e150afc757aaa616abba21261f5fc4e7a7035cdc', class: "dialog-overlay", onClick: this.hasCloseIcon === true ? this.onClick : undefined, tabindex: "-1" }), h("div", { key: '30dcf17bb1765dd295f9b5b38a18441b922ea6f2', class: "dialog-modal", role: "document", tabindex: "0" }, h("div", { key: 'a0ffb5263da02b6677f5ca4410601bed109fa524', class: "dialog-content" }, h("header", { key: 'f37da11d3b3b70fb4c7ee83bec7a289607ef4217', class: "dialog-header" }, this.hasCloseIcon
88
+ return (h(Host, { key: 'e2ee13cb0fd6330b23224504c717efe8c68df097', class: `dialog ${modalIsOpenClass} ${modalhasClose}`, role: "alertdialog", "aria-modal": "true", tabindex: "-1", "aria-label": "dialogLabel" }, h("div", { key: 'c5f3ecaae31debea9afe6a712308520cd092fc23', class: "dialog-overlay", onClick: this.hasCloseIcon === true ? this.onClick : undefined, tabindex: "-1" }), h("div", { key: 'b28e1225a56208c8ff7891856a49b171bf09f88b', class: "dialog-modal", role: "document", tabindex: "0" }, h("div", { key: 'd799e1b00205d54e96e52f2e95b63e4c4327db2f', class: "dialog-content" }, h("header", { key: 'a3d16ae59ee42a9a61f4849c779dbf2f2a8066c9', class: "dialog-header" }, this.hasCloseIcon
89
89
  ? h("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, h("road-icon", { icon: navigationClose, "aria-hidden": "true" }))
90
- : ''), h("div", { key: '9194a50bc0595a94170864de94f1ff1716693ee5', class: "dialog-body" }, this.color !== undefined
90
+ : ''), h("div", { key: 'fadeb8d0776e92809c1f4fdda9d24fe325640103', class: "dialog-body" }, this.color !== undefined
91
91
  ? h("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
92
- : '', h("h2", { key: 'cceab62ea959bd00196b3a1953c7f99495aa1d8a', class: "dialog-title" }, this.label), h("p", { key: '147c9dec3808c463a363cd30fb2ab5b26818c8d8', class: "dialog-description", id: "dialogDesc" }, this.description)), h("footer", { key: '8fc28a19c581eef87c45aae031902e27aeb9dc59', class: "dialog-footer" }, h("slot", { key: '5245e5168dcc7011f534d2c2901207ad0f08a617' }))))));
92
+ : '', h("h2", { key: '06cbf8264b6336cb98b19e7bda1a80fb7d7a9271', class: "dialog-title" }, this.label), h("p", { key: 'f82e151b413764289e3d430b76d987a8eaa1d7b3', class: "dialog-description", id: "dialogDesc" }, this.description)), h("footer", { key: 'cbc9e71ad7aed7eab7bca5d9818dcbceb3cbcce2', class: "dialog-footer" }, h("slot", { key: '41d4e4dd47ecf92e96396316e27ff8218ced5f2c' }))))));
93
93
  }
94
94
  static get is() { return "road-dialog"; }
95
95
  static get encapsulation() { return "shadow"; }
@@ -138,7 +138,7 @@ export class Drawer {
138
138
  const drawerWidthValue = this.position === 'bottom' ? '100%' : `${this.drawerWidth}px`;
139
139
  const footerSlotElement = (_d = this.el.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('slot[name="footer"]');
140
140
  const hasFooterContent = footerSlotElement instanceof HTMLSlotElement && footerSlotElement.assignedNodes().length > 0;
141
- return (h(Host, { key: '93072c8fcb535cf6c89bd5e27ad1b3ed8e0f97eb', class: `${drawerIsOpenClass} drawer-${this.position}`, tabindex: "0", role: "dialog", "aria-label": ariaLabel }, h("div", { key: 'cb58c1f0b63aaad7cdf0bf7fb8f18926221774a6', class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), h("div", { key: 'ec9d9d1f3cc85a18083c42d6984fe7710f319895', class: "drawer-dialog", style: { maxWidth: drawerWidthValue }, role: "document", tabindex: "0" }, h("div", { key: '62f30769800c93b30192390e7cfbba1bab4c7112', class: "drawer-content" }, h("header", { key: 'c46be7930ae6e16d7987b7c4c4d3514c14da446a', class: `drawer-header ${inverseHeaderClass} ${drawerDelimiterClass}` }, backIconElement, this.drawerTitle ? (h("h2", { class: "drawer-title" }, this.drawerTitle)) : (h("div", { class: "drawer-title" }, h("slot", { name: "title" }))), closeIconElement), h("div", { key: '2f88f1ffa5f1de87e65f10403d06fd6b2be0732c', class: `drawer-body ${removePaddingClass}` }, h("slot", { key: '1e4566f2b0ab9526a2105b677c52b3aa35498207' })), h("footer", { key: 'da00c01c908b22f1f1d134d36a37debf0921abfb', class: `drawer-footer ${removePaddingClass}`, style: { display: hasFooterContent ? 'block' : 'none' } }, h("slot", { key: '7083046d31f374bcd957bc5b8f45968f7c5cb05f', name: "footer" }))))));
141
+ return (h(Host, { key: '8a221daad83a03c6635059b21b807ea546f94033', class: `${drawerIsOpenClass} drawer-${this.position}`, tabindex: "0", role: "dialog", "aria-label": ariaLabel }, h("div", { key: '28de6daf4125334413589e02b3c568936fd54596', class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), h("div", { key: '555dd191eb27d3b5b0e97d1a0a29065e1d019195', class: "drawer-dialog", style: { maxWidth: drawerWidthValue }, role: "document", tabindex: "0" }, h("div", { key: 'ca12f58fd65bec534130f96de55781440a99a3f3', class: "drawer-content" }, h("header", { key: '3fbdbf60e39f0bb41de438fca2f90dd7368d2360', class: `drawer-header ${inverseHeaderClass} ${drawerDelimiterClass}` }, backIconElement, this.drawerTitle ? (h("h2", { class: "drawer-title" }, this.drawerTitle)) : (h("div", { class: "drawer-title" }, h("slot", { name: "title" }))), closeIconElement), h("div", { key: '2c87df1cd3e5aeaff575e06a21cc95bb58e123d5', class: `drawer-body ${removePaddingClass}` }, h("slot", { key: '146a53a578800960a1ec69a9ad73fab9f7ec1d08' })), h("footer", { key: 'b67cf3313766e0b1ec4e903c536c68f8dfbc3cc9', class: `drawer-footer ${removePaddingClass}`, style: { display: hasFooterContent ? 'block' : 'none' } }, h("slot", { key: '2fa3f2e7b39ec3b03fba1a76ceb3a5c64d00c0e5', name: "footer" }))))));
142
142
  }
143
143
  static get is() { return "road-drawer"; }
144
144
  static get encapsulation() { return "shadow"; }
@@ -23,7 +23,7 @@ export class Dropdown {
23
23
  const positionClass = this.position ? `position-${this.position}` : '';
24
24
  const dropdownClass = this.position ? `dropdown-${this.position}` : '';
25
25
  const directionClass = this.direction ? `direction-${this.direction}` : '';
26
- return (h("details", { key: '211f088489a5a72f91c44f5838094abd80070d7e', class: "dropdown", open: this.isOpen }, h("summary", { key: 'e0fbbc21fdf4e495f8cb350f4406e9b078c80a74', "aria-expanded": this.isOpen.toString(), tabindex: "0", role: "button", onClick: this.onClick, "tab-index": "0" }, h("div", { key: '5c212e3034b30a2ed9bf7f81e9184683c106142e', class: `d-flex ${positionClass}` }, h("div", { key: '6ca46e2494cd89ba85efc4a11aea6fb464dec232', class: `${isLightButtonDropDown} ${isMediumButtonDropDown}` }, h("road-icon", { key: 'd0ad2f329b888a9fd19aac3841f45e7d26c3e0bd', name: "navigation-more", class: "dropdown-button-icon", "aria-hidden": "true" })))), h("div", { key: 'a67a0e81ef1402bddb223545b3825e9cdf4a7c2b', class: `dropdown-menu ${directionClass} ${dropdownClass}` }, h("slot", { key: '3f135ccb24eb38de0961c28e83ed20154f33da77', name: "list" }))));
26
+ return (h("details", { key: '0b6d1adf874e559fb90a471aabda2c01090c48b9', class: "dropdown", open: this.isOpen }, h("summary", { key: '83139e232e4c74c84831d20e5ed32cea245b8102', "aria-expanded": this.isOpen.toString(), tabindex: "0", role: "button", onClick: this.onClick, "tab-index": "0" }, h("div", { key: 'd427dcd5a8c534a4fb1e3874cb2ac279d3b9a5f2', class: `d-flex ${positionClass}` }, h("div", { key: 'b9bbebff325eb4c2ed9e088b7064ead91b2c55f8', class: `${isLightButtonDropDown} ${isMediumButtonDropDown}` }, h("road-icon", { key: '72d9a1fd48cca91d8f16494d731898e3625e47e3', name: "navigation-more", class: "dropdown-button-icon", "aria-hidden": "true" })))), h("div", { key: '2434438ec14e86f8fb78378b3eb88f0a39abb6f2', class: `dropdown-menu ${directionClass} ${dropdownClass}` }, h("slot", { key: '1eb1bc0bdfdbaa13689e0552c8fa278381777863', name: "list" }))));
27
27
  }
28
28
  static get is() { return "road-dropdown"; }
29
29
  static get encapsulation() { return "shadow"; }