@roadtrip/components 3.44.0 → 3.45.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 (297) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/road-badge_14.cjs.entry.js +36 -15
  3. package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
  4. package/dist/cjs/road-carousel.cjs.entry.js +27 -21
  5. package/dist/cjs/road-carousel.cjs.entry.js.map +1 -1
  6. package/dist/cjs/road-dropdown.cjs.entry.js +1 -1
  7. package/dist/cjs/road-duration.cjs.entry.js +1 -1
  8. package/dist/cjs/road-flap.cjs.entry.js +1 -1
  9. package/dist/cjs/road-global-navigation-v2.cjs.entry.js +1 -1
  10. package/dist/cjs/road-global-navigation.cjs.entry.js +1 -1
  11. package/dist/cjs/road-img.cjs.entry.js +1 -1
  12. package/dist/cjs/road-modal.cjs.entry.js +1 -1
  13. package/dist/cjs/road-navbar-item-v2.cjs.entry.js +2 -2
  14. package/dist/cjs/road-navbar-item.cjs.entry.js +2 -2
  15. package/dist/cjs/road-navbar-v2.cjs.entry.js +1 -1
  16. package/dist/cjs/road-navbar.cjs.entry.js +1 -1
  17. package/dist/cjs/road-phone-number-input.cjs.entry.js +2 -2
  18. package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
  19. package/dist/cjs/road-profil-dropdown.cjs.entry.js +1 -1
  20. package/dist/cjs/road-progress-indicator-horizontal.cjs.entry.js +1 -1
  21. package/dist/cjs/road-progress-indicator-vertical-item.cjs.entry.js +1 -1
  22. package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +1 -1
  23. package/dist/cjs/road-progress-tracker-item.cjs.entry.js +1 -1
  24. package/dist/cjs/road-progress-tracker.cjs.entry.js +1 -1
  25. package/dist/cjs/road-progress.cjs.entry.js +1 -1
  26. package/dist/cjs/road-radio-card.cjs.entry.js +1 -1
  27. package/dist/cjs/road-radio-group.cjs.entry.js +1 -1
  28. package/dist/cjs/road-radio.cjs.entry.js +1 -1
  29. package/dist/cjs/road-range.cjs.entry.js +2 -2
  30. package/dist/cjs/road-rating.cjs.entry.js +1 -1
  31. package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
  32. package/dist/cjs/road-segmented-button.cjs.entry.js +2 -2
  33. package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
  34. package/dist/cjs/road-select-filter.cjs.entry.js +1 -1
  35. package/dist/cjs/road-select.cjs.entry.js +1 -1
  36. package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
  37. package/dist/cjs/road-spinner.cjs.entry.js +1 -1
  38. package/dist/cjs/road-status-chip.cjs.entry.js +1 -1
  39. package/dist/cjs/road-switch.cjs.entry.js +2 -2
  40. package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
  41. package/dist/cjs/road-tab-button.cjs.entry.js +2 -2
  42. package/dist/cjs/road-tab.cjs.entry.js +2 -2
  43. package/dist/cjs/road-table.cjs.entry.js +1 -1
  44. package/dist/cjs/road-tabs.cjs.entry.js +1 -1
  45. package/dist/cjs/road-tag.cjs.entry.js +1 -1
  46. package/dist/cjs/road-text.cjs.entry.js +1 -1
  47. package/dist/cjs/road-textarea.cjs.entry.js +1 -1
  48. package/dist/cjs/road-time-range-picker.cjs.entry.js +1 -1
  49. package/dist/cjs/road-toast.cjs.entry.js +1 -1
  50. package/dist/cjs/road-toggle.cjs.entry.js +2 -2
  51. package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
  52. package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
  53. package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
  54. package/dist/cjs/road-tooltip.cjs.entry.js +46 -32
  55. package/dist/cjs/road-tooltip.cjs.entry.js.map +1 -1
  56. package/dist/cjs/roadtrip.cjs.js +1 -1
  57. package/dist/collection/components/carousel/carousel.css +32 -15
  58. package/dist/collection/components/carousel/carousel.js +48 -22
  59. package/dist/collection/components/carousel/carousel.js.map +1 -1
  60. package/dist/collection/components/carousel/carousel.stories.js +135 -76
  61. package/dist/collection/components/drawer/drawer.css +10 -5
  62. package/dist/collection/components/drawer/drawer.js +47 -3
  63. package/dist/collection/components/drawer/drawer.js.map +1 -1
  64. package/dist/collection/components/dropdown/dropdown.js +1 -1
  65. package/dist/collection/components/duration/duration.js +1 -1
  66. package/dist/collection/components/flap/flap.js +1 -1
  67. package/dist/collection/components/global-navigation/global-navigation.js +1 -1
  68. package/dist/collection/components/global-navigation-v2/global-navigation-v2.js +1 -1
  69. package/dist/collection/components/grid/grid.js +1 -1
  70. package/dist/collection/components/img/img.js +1 -1
  71. package/dist/collection/components/input/input.js +2 -2
  72. package/dist/collection/components/input-group/input-group.js +1 -1
  73. package/dist/collection/components/item/item.js +3 -3
  74. package/dist/collection/components/label/label.js +1 -1
  75. package/dist/collection/components/list/list.js +2 -2
  76. package/dist/collection/components/modal/modal.js +1 -1
  77. package/dist/collection/components/navbar/navbar.js +1 -1
  78. package/dist/collection/components/navbar-item/navbar-item.js +2 -2
  79. package/dist/collection/components/navbar-item-v2/navbar-item-v2.js +2 -2
  80. package/dist/collection/components/navbar-v2/navbar-v2.js +1 -1
  81. package/dist/collection/components/phone-number-input/phone-number-input.js +2 -2
  82. package/dist/collection/components/plate-number/plate-number.js +2 -2
  83. package/dist/collection/components/profil-dropdown/profil-dropdown.js +1 -1
  84. package/dist/collection/components/progress/progress.js +1 -1
  85. package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.js +1 -1
  86. package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js +1 -1
  87. package/dist/collection/components/progress-indicator-vertical-item/progress-indicator-vertical-item.js +1 -1
  88. package/dist/collection/components/progress-tracker/progress-tracker.js +1 -1
  89. package/dist/collection/components/progress-tracker-item/progress-tracker-item.js +1 -1
  90. package/dist/collection/components/radio/radio.js +1 -1
  91. package/dist/collection/components/radio-card/radio-card.js +1 -1
  92. package/dist/collection/components/radio-group/radio-group.js +1 -1
  93. package/dist/collection/components/range/range.js +2 -2
  94. package/dist/collection/components/rating/rating.js +1 -1
  95. package/dist/collection/components/row/row.js +1 -1
  96. package/dist/collection/components/segmented-button/segmented-button.js +2 -2
  97. package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
  98. package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
  99. package/dist/collection/components/select/select.js +1 -1
  100. package/dist/collection/components/select-filter/select-filter.js +1 -1
  101. package/dist/collection/components/skeleton/skeleton.js +1 -1
  102. package/dist/collection/components/spinner/spinner.js +1 -1
  103. package/dist/collection/components/status-chip/status-chip.js +1 -1
  104. package/dist/collection/components/switch/switch.js +2 -2
  105. package/dist/collection/components/tab/tab.js +2 -2
  106. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  107. package/dist/collection/components/tab-button/tab-button.js +2 -2
  108. package/dist/collection/components/table/table.js +1 -1
  109. package/dist/collection/components/tabs/tabs.js +1 -1
  110. package/dist/collection/components/tag/tag.js +1 -1
  111. package/dist/collection/components/text/text.js +1 -1
  112. package/dist/collection/components/textarea/textarea.js +1 -1
  113. package/dist/collection/components/time-range-picker/time-range-picker.js +1 -1
  114. package/dist/collection/components/toast/toast.js +1 -1
  115. package/dist/collection/components/toggle/toggle.js +2 -2
  116. package/dist/collection/components/toolbar/toolbar.js +1 -1
  117. package/dist/collection/components/toolbar-title/toolbar-title.js +1 -1
  118. package/dist/collection/components/toolbar-title-page/toolbar-title-page.js +1 -1
  119. package/dist/collection/components/toolbar-v2/toolbar-v2.js +1 -1
  120. package/dist/collection/components/tooltip/tooltip.js +52 -38
  121. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  122. package/dist/esm/loader.js +1 -1
  123. package/dist/esm/road-badge_14.entry.js +36 -15
  124. package/dist/esm/road-badge_14.entry.js.map +1 -1
  125. package/dist/esm/road-carousel.entry.js +27 -21
  126. package/dist/esm/road-carousel.entry.js.map +1 -1
  127. package/dist/esm/road-dropdown.entry.js +1 -1
  128. package/dist/esm/road-duration.entry.js +1 -1
  129. package/dist/esm/road-flap.entry.js +1 -1
  130. package/dist/esm/road-global-navigation-v2.entry.js +1 -1
  131. package/dist/esm/road-global-navigation.entry.js +1 -1
  132. package/dist/esm/road-img.entry.js +1 -1
  133. package/dist/esm/road-modal.entry.js +1 -1
  134. package/dist/esm/road-navbar-item-v2.entry.js +2 -2
  135. package/dist/esm/road-navbar-item.entry.js +2 -2
  136. package/dist/esm/road-navbar-v2.entry.js +1 -1
  137. package/dist/esm/road-navbar.entry.js +1 -1
  138. package/dist/esm/road-phone-number-input.entry.js +2 -2
  139. package/dist/esm/road-plate-number.entry.js +2 -2
  140. package/dist/esm/road-profil-dropdown.entry.js +1 -1
  141. package/dist/esm/road-progress-indicator-horizontal.entry.js +1 -1
  142. package/dist/esm/road-progress-indicator-vertical-item.entry.js +1 -1
  143. package/dist/esm/road-progress-indicator-vertical.entry.js +1 -1
  144. package/dist/esm/road-progress-tracker-item.entry.js +1 -1
  145. package/dist/esm/road-progress-tracker.entry.js +1 -1
  146. package/dist/esm/road-progress.entry.js +1 -1
  147. package/dist/esm/road-radio-card.entry.js +1 -1
  148. package/dist/esm/road-radio-group.entry.js +1 -1
  149. package/dist/esm/road-radio.entry.js +1 -1
  150. package/dist/esm/road-range.entry.js +2 -2
  151. package/dist/esm/road-rating.entry.js +1 -1
  152. package/dist/esm/road-segmented-button-bar.entry.js +1 -1
  153. package/dist/esm/road-segmented-button.entry.js +2 -2
  154. package/dist/esm/road-segmented-buttons.entry.js +1 -1
  155. package/dist/esm/road-select-filter.entry.js +1 -1
  156. package/dist/esm/road-select.entry.js +1 -1
  157. package/dist/esm/road-skeleton.entry.js +1 -1
  158. package/dist/esm/road-spinner.entry.js +1 -1
  159. package/dist/esm/road-status-chip.entry.js +1 -1
  160. package/dist/esm/road-switch.entry.js +2 -2
  161. package/dist/esm/road-tab-bar.entry.js +2 -2
  162. package/dist/esm/road-tab-button.entry.js +2 -2
  163. package/dist/esm/road-tab.entry.js +2 -2
  164. package/dist/esm/road-table.entry.js +1 -1
  165. package/dist/esm/road-tabs.entry.js +1 -1
  166. package/dist/esm/road-tag.entry.js +1 -1
  167. package/dist/esm/road-text.entry.js +1 -1
  168. package/dist/esm/road-textarea.entry.js +1 -1
  169. package/dist/esm/road-time-range-picker.entry.js +1 -1
  170. package/dist/esm/road-toast.entry.js +1 -1
  171. package/dist/esm/road-toggle.entry.js +2 -2
  172. package/dist/esm/road-toolbar-title-page.entry.js +1 -1
  173. package/dist/esm/road-toolbar-title.entry.js +1 -1
  174. package/dist/esm/road-toolbar-v2.entry.js +1 -1
  175. package/dist/esm/road-tooltip.entry.js +46 -32
  176. package/dist/esm/road-tooltip.entry.js.map +1 -1
  177. package/dist/esm/roadtrip.js +1 -1
  178. package/dist/html.html-data.json +16 -0
  179. package/dist/roadtrip/{p-b5b2e36c.entry.js → p-0a9d4cd3.entry.js} +2 -2
  180. package/dist/roadtrip/{p-fdcebcc3.entry.js → p-110386d3.entry.js} +2 -2
  181. package/dist/roadtrip/{p-7955499d.entry.js → p-17dc5381.entry.js} +2 -2
  182. package/dist/roadtrip/{p-29ac611e.entry.js → p-1a75a359.entry.js} +2 -2
  183. package/dist/roadtrip/{p-a264377a.entry.js → p-1ee55ec2.entry.js} +2 -2
  184. package/dist/roadtrip/{p-1449b7c8.entry.js → p-261177f6.entry.js} +2 -2
  185. package/dist/roadtrip/{p-3a310d3d.entry.js → p-351b3b04.entry.js} +2 -2
  186. package/dist/roadtrip/p-382828d4.entry.js +2 -0
  187. package/dist/roadtrip/{p-e56c84ec.entry.js.map → p-382828d4.entry.js.map} +1 -1
  188. package/dist/roadtrip/{p-e7b4f257.entry.js → p-395b9785.entry.js} +2 -2
  189. package/dist/roadtrip/{p-4bb49a92.entry.js → p-43bb4e97.entry.js} +2 -2
  190. package/dist/roadtrip/p-43bb4e97.entry.js.map +1 -0
  191. package/dist/roadtrip/{p-24196fd2.entry.js → p-47433b76.entry.js} +2 -2
  192. package/dist/roadtrip/{p-45b9521f.entry.js → p-4798ebaa.entry.js} +2 -2
  193. package/dist/roadtrip/{p-d6a7644e.entry.js → p-47cef871.entry.js} +2 -2
  194. package/dist/roadtrip/{p-2797e2f2.entry.js → p-48ceee77.entry.js} +2 -2
  195. package/dist/roadtrip/{p-b61abebd.entry.js → p-4a69d010.entry.js} +2 -2
  196. package/dist/roadtrip/{p-39173ac2.entry.js → p-5d1d532a.entry.js} +2 -2
  197. package/dist/roadtrip/{p-b292d3fc.entry.js → p-61c4b6f1.entry.js} +2 -2
  198. package/dist/roadtrip/{p-9cbd5ae9.entry.js → p-68ae654b.entry.js} +2 -2
  199. package/dist/roadtrip/{p-c9527301.entry.js → p-6b0a37ba.entry.js} +2 -2
  200. package/dist/roadtrip/{p-f89e588a.entry.js → p-77e7dc8a.entry.js} +2 -2
  201. package/dist/roadtrip/{p-65dfd1e8.entry.js → p-790d848a.entry.js} +2 -2
  202. package/dist/roadtrip/{p-927cf307.entry.js → p-7bef34c4.entry.js} +2 -2
  203. package/dist/roadtrip/p-7ed5616c.entry.js +2 -0
  204. package/dist/roadtrip/{p-d881a66c.entry.js → p-7f96eb76.entry.js} +2 -2
  205. package/dist/roadtrip/{p-52d56ed2.entry.js → p-8a806d96.entry.js} +2 -2
  206. package/dist/roadtrip/{p-875b5999.entry.js → p-8eb19a44.entry.js} +2 -2
  207. package/dist/roadtrip/{p-6e9fac54.entry.js → p-8fad6cc9.entry.js} +2 -2
  208. package/dist/roadtrip/{p-302f51c6.entry.js → p-93c1be55.entry.js} +2 -2
  209. package/dist/roadtrip/{p-70f4387a.entry.js → p-943e31a7.entry.js} +2 -2
  210. package/dist/roadtrip/{p-d1517c27.entry.js → p-944ce861.entry.js} +2 -2
  211. package/dist/roadtrip/{p-79c3152e.entry.js → p-9af318e9.entry.js} +2 -2
  212. package/dist/roadtrip/{p-377d6b5b.entry.js → p-9c156562.entry.js} +2 -2
  213. package/dist/roadtrip/{p-c28fbcc0.entry.js → p-9d01727d.entry.js} +2 -2
  214. package/dist/roadtrip/{p-26b852e2.entry.js → p-9e8ae5c3.entry.js} +2 -2
  215. package/dist/roadtrip/{p-36288d23.entry.js → p-9f7d111d.entry.js} +2 -2
  216. package/dist/roadtrip/{p-b8132587.entry.js → p-a597e606.entry.js} +2 -2
  217. package/dist/roadtrip/{p-3dc22d00.entry.js → p-b889f575.entry.js} +2 -2
  218. package/dist/roadtrip/p-b889f575.entry.js.map +1 -0
  219. package/dist/roadtrip/{p-0bfff77d.entry.js → p-bb1aeca6.entry.js} +4 -4
  220. package/dist/roadtrip/p-bb1aeca6.entry.js.map +1 -0
  221. package/dist/roadtrip/p-bfe3d3eb.entry.js +2 -0
  222. package/dist/roadtrip/{p-61191773.entry.js.map → p-bfe3d3eb.entry.js.map} +1 -1
  223. package/dist/roadtrip/p-c1cd98dc.entry.js +2 -0
  224. package/dist/roadtrip/{p-11d896b1.entry.js → p-c2e07db9.entry.js} +2 -2
  225. package/dist/roadtrip/{p-8cd69117.entry.js → p-c96c0597.entry.js} +2 -2
  226. package/dist/roadtrip/{p-4e3cc7e9.entry.js → p-cbbfe0ce.entry.js} +2 -2
  227. package/dist/roadtrip/{p-5b738d24.entry.js → p-da60c3a9.entry.js} +2 -2
  228. package/dist/roadtrip/{p-de35fded.entry.js → p-e5f94b35.entry.js} +2 -2
  229. package/dist/roadtrip/{p-7e0bdcf9.entry.js → p-f07047c1.entry.js} +2 -2
  230. package/dist/roadtrip/p-f157fec0.entry.js +2 -0
  231. package/dist/roadtrip/{p-c4550384.entry.js → p-f3e5e983.entry.js} +2 -2
  232. package/dist/roadtrip/{p-75ebf102.entry.js → p-f41d2a41.entry.js} +2 -2
  233. package/dist/roadtrip/{p-8753beba.entry.js → p-f4da1ccf.entry.js} +2 -2
  234. package/dist/roadtrip/{p-c7dd579d.entry.js → p-fcb7a3e5.entry.js} +2 -2
  235. package/dist/roadtrip/roadtrip.esm.js +1 -1
  236. package/dist/roadtrip/roadtrip.esm.js.map +1 -1
  237. package/dist/types/components/carousel/carousel.d.ts +3 -1
  238. package/dist/types/components/drawer/drawer.d.ts +12 -0
  239. package/dist/types/components/tooltip/tooltip.d.ts +4 -8
  240. package/dist/types/components.d.ts +46 -32
  241. package/hydrate/index.js +171 -127
  242. package/hydrate/index.mjs +171 -127
  243. package/package.json +1 -1
  244. package/dist/roadtrip/p-0bfff77d.entry.js.map +0 -1
  245. package/dist/roadtrip/p-2ae82371.entry.js +0 -2
  246. package/dist/roadtrip/p-3dc22d00.entry.js.map +0 -1
  247. package/dist/roadtrip/p-4334d85b.entry.js +0 -2
  248. package/dist/roadtrip/p-4bb49a92.entry.js.map +0 -1
  249. package/dist/roadtrip/p-61191773.entry.js +0 -2
  250. package/dist/roadtrip/p-e56c84ec.entry.js +0 -2
  251. package/dist/roadtrip/p-ff189f73.entry.js +0 -2
  252. /package/dist/roadtrip/{p-b5b2e36c.entry.js.map → p-0a9d4cd3.entry.js.map} +0 -0
  253. /package/dist/roadtrip/{p-fdcebcc3.entry.js.map → p-110386d3.entry.js.map} +0 -0
  254. /package/dist/roadtrip/{p-7955499d.entry.js.map → p-17dc5381.entry.js.map} +0 -0
  255. /package/dist/roadtrip/{p-29ac611e.entry.js.map → p-1a75a359.entry.js.map} +0 -0
  256. /package/dist/roadtrip/{p-a264377a.entry.js.map → p-1ee55ec2.entry.js.map} +0 -0
  257. /package/dist/roadtrip/{p-1449b7c8.entry.js.map → p-261177f6.entry.js.map} +0 -0
  258. /package/dist/roadtrip/{p-3a310d3d.entry.js.map → p-351b3b04.entry.js.map} +0 -0
  259. /package/dist/roadtrip/{p-e7b4f257.entry.js.map → p-395b9785.entry.js.map} +0 -0
  260. /package/dist/roadtrip/{p-24196fd2.entry.js.map → p-47433b76.entry.js.map} +0 -0
  261. /package/dist/roadtrip/{p-45b9521f.entry.js.map → p-4798ebaa.entry.js.map} +0 -0
  262. /package/dist/roadtrip/{p-d6a7644e.entry.js.map → p-47cef871.entry.js.map} +0 -0
  263. /package/dist/roadtrip/{p-2797e2f2.entry.js.map → p-48ceee77.entry.js.map} +0 -0
  264. /package/dist/roadtrip/{p-b61abebd.entry.js.map → p-4a69d010.entry.js.map} +0 -0
  265. /package/dist/roadtrip/{p-39173ac2.entry.js.map → p-5d1d532a.entry.js.map} +0 -0
  266. /package/dist/roadtrip/{p-b292d3fc.entry.js.map → p-61c4b6f1.entry.js.map} +0 -0
  267. /package/dist/roadtrip/{p-9cbd5ae9.entry.js.map → p-68ae654b.entry.js.map} +0 -0
  268. /package/dist/roadtrip/{p-c9527301.entry.js.map → p-6b0a37ba.entry.js.map} +0 -0
  269. /package/dist/roadtrip/{p-f89e588a.entry.js.map → p-77e7dc8a.entry.js.map} +0 -0
  270. /package/dist/roadtrip/{p-65dfd1e8.entry.js.map → p-790d848a.entry.js.map} +0 -0
  271. /package/dist/roadtrip/{p-927cf307.entry.js.map → p-7bef34c4.entry.js.map} +0 -0
  272. /package/dist/roadtrip/{p-4334d85b.entry.js.map → p-7ed5616c.entry.js.map} +0 -0
  273. /package/dist/roadtrip/{p-d881a66c.entry.js.map → p-7f96eb76.entry.js.map} +0 -0
  274. /package/dist/roadtrip/{p-52d56ed2.entry.js.map → p-8a806d96.entry.js.map} +0 -0
  275. /package/dist/roadtrip/{p-875b5999.entry.js.map → p-8eb19a44.entry.js.map} +0 -0
  276. /package/dist/roadtrip/{p-6e9fac54.entry.js.map → p-8fad6cc9.entry.js.map} +0 -0
  277. /package/dist/roadtrip/{p-302f51c6.entry.js.map → p-93c1be55.entry.js.map} +0 -0
  278. /package/dist/roadtrip/{p-70f4387a.entry.js.map → p-943e31a7.entry.js.map} +0 -0
  279. /package/dist/roadtrip/{p-d1517c27.entry.js.map → p-944ce861.entry.js.map} +0 -0
  280. /package/dist/roadtrip/{p-79c3152e.entry.js.map → p-9af318e9.entry.js.map} +0 -0
  281. /package/dist/roadtrip/{p-377d6b5b.entry.js.map → p-9c156562.entry.js.map} +0 -0
  282. /package/dist/roadtrip/{p-c28fbcc0.entry.js.map → p-9d01727d.entry.js.map} +0 -0
  283. /package/dist/roadtrip/{p-26b852e2.entry.js.map → p-9e8ae5c3.entry.js.map} +0 -0
  284. /package/dist/roadtrip/{p-36288d23.entry.js.map → p-9f7d111d.entry.js.map} +0 -0
  285. /package/dist/roadtrip/{p-b8132587.entry.js.map → p-a597e606.entry.js.map} +0 -0
  286. /package/dist/roadtrip/{p-2ae82371.entry.js.map → p-c1cd98dc.entry.js.map} +0 -0
  287. /package/dist/roadtrip/{p-11d896b1.entry.js.map → p-c2e07db9.entry.js.map} +0 -0
  288. /package/dist/roadtrip/{p-8cd69117.entry.js.map → p-c96c0597.entry.js.map} +0 -0
  289. /package/dist/roadtrip/{p-4e3cc7e9.entry.js.map → p-cbbfe0ce.entry.js.map} +0 -0
  290. /package/dist/roadtrip/{p-5b738d24.entry.js.map → p-da60c3a9.entry.js.map} +0 -0
  291. /package/dist/roadtrip/{p-de35fded.entry.js.map → p-e5f94b35.entry.js.map} +0 -0
  292. /package/dist/roadtrip/{p-7e0bdcf9.entry.js.map → p-f07047c1.entry.js.map} +0 -0
  293. /package/dist/roadtrip/{p-ff189f73.entry.js.map → p-f157fec0.entry.js.map} +0 -0
  294. /package/dist/roadtrip/{p-c4550384.entry.js.map → p-f3e5e983.entry.js.map} +0 -0
  295. /package/dist/roadtrip/{p-75ebf102.entry.js.map → p-f41d2a41.entry.js.map} +0 -0
  296. /package/dist/roadtrip/{p-8753beba.entry.js.map → p-f4da1ccf.entry.js.map} +0 -0
  297. /package/dist/roadtrip/{p-c7dd579d.entry.js.map → p-fcb7a3e5.entry.js.map} +0 -0
@@ -95,14 +95,14 @@ export class Range {
95
95
  render() {
96
96
  const value = this.getValue();
97
97
  const datalist = this.showLabels !== undefined ? `tickmarks` : "";
98
- return (h(Host, { key: '70682c392f1e20883fb831efc8de0f9a067b3009', tabindex: "0", class: { disabled: this.disabled } }, h("div", { key: '981f26d40294cd905075d0745e4728543bdc618e', class: "form-group d-flex align-items-end" }, this.showTick && (h("road-icon", { key: '43f2969c43d2573de4db51261263ff22d834cc89', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), h("div", { key: '2009bfe7013711fcac093f8c67f54daf8f293d05', class: "form-range", style: {
98
+ return (h(Host, { key: '4a3eac8fe972c4da37712c2bfb9f9368a2c5e0e4', tabindex: "0", class: { disabled: this.disabled } }, h("div", { key: '7ede74bdbb7f85124b250a02f312e0fa8672b445', class: "form-group d-flex align-items-end" }, this.showTick && (h("road-icon", { key: 'bbfe778ba2082b82dac80d2c9b11b032ae4d3dc5', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), h("div", { key: 'a5617bb934ee0e8f481d4cbbe334ecdcccb80f4a', class: "form-range", style: {
99
99
  "--min": this.min,
100
100
  "--max": this.max,
101
101
  "--value": value,
102
102
  "--background-color": this.disabled
103
103
  ? "var(--road-surface-disabled)"
104
104
  : "initial",
105
- } }, this.showValue && h("output", { key: 'b918d44808d44f446f88781b56a18da28768d184' }), this.showLabels && h("slot", { key: '341f43e617bca8decaa791170065658cf5c57923', name: "datalist" }), h("input", { key: '20d9d42bcfd89eb76a9459571cec4e790d8904f4', type: "range", class: "form-range-input", id: this.rangeId, min: this.min, max: this.max, value: value, onInput: this.onInput, list: datalist, "aria-label": "Valeur", tabindex: "0", disabled: this.disabled }), h("label", { key: '6ff1fbdc6111509511a1e50e0e65f43ec692f74f', class: "form-range-label" }, "Valeur"), h("div", { key: 'fadff2d5d9fda1b85290a4c39697968b13470412', class: "form-range-progress" })), this.showTick && (h("road-icon", { key: '79f4b51b9e695692777ab37b36511dfc8209812c', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
105
+ } }, this.showValue && h("output", { key: 'f8fb6174412f03e9e0ada70b79715b8892c394e7' }), this.showLabels && h("slot", { key: '77278e535a1cf754b21ef12ebd1650aa03942ad0', name: "datalist" }), h("input", { key: 'c40fc31c0744955b440b162e5cddaa7c7b2119a3', type: "range", class: "form-range-input", id: this.rangeId, min: this.min, max: this.max, value: value, onInput: this.onInput, list: datalist, "aria-label": "Valeur", tabindex: "0", disabled: this.disabled }), h("label", { key: 'ec72158b6b0f7128aee76222506a6ecf80bbf43c', class: "form-range-label" }, "Valeur"), h("div", { key: 'ec3ba04cbb45a2af707f81e0fd05fbbb868c8187', class: "form-range-progress" })), this.showTick && (h("road-icon", { key: '293312e73482a2dafe8ef694ae2e56e3f37955bb', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
106
106
  }
107
107
  static get is() { return "road-range"; }
108
108
  static get encapsulation() { return "scoped"; }
@@ -37,7 +37,7 @@ export class Rating {
37
37
  const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
38
38
  const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
39
39
  const readOnly = this.readonly == true ? `readonly` : '';
40
- return (h(Host, { key: 'de9146b27a97204cf394332ed3cd39872b2021be' }, h("div", { key: '10e5404e7b77281cbc6db3c7b5443158cff0d5d2', class: `${sizeRatingStarsClass}` }, [...Array(rate)].map(() => h("road-icon", { icon: star, size: "sm", color: "warning" })), [...Array(rateDecimale)].map(() => h("road-icon", { icon: starHalfColor, size: "sm", class: "rating-star" })), [...Array(5 - rate - rateDecimale)].map(() => h("road-icon", { icon: star, size: "sm", class: "rating-star" }))), this.readonly == false && this.showreviews && h("a", { key: 'ba4c82ef9eff58a95cb6049839c26c2a2e74dd2d', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && h("road-label", { key: 'd7066a54aecd03e699e63ef2c4546a350252712a', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
40
+ return (h(Host, { key: 'f3317daf4cdd2e6a539936c9dbe095c791ce883d' }, h("div", { key: 'fe4e3b262592ca714e26f7cc03ac9ba4435d0b51', class: `${sizeRatingStarsClass}` }, [...Array(rate)].map(() => h("road-icon", { icon: star, size: "sm", color: "warning" })), [...Array(rateDecimale)].map(() => h("road-icon", { icon: starHalfColor, size: "sm", class: "rating-star" })), [...Array(5 - rate - rateDecimale)].map(() => h("road-icon", { icon: star, size: "sm", class: "rating-star" }))), this.readonly == false && this.showreviews && h("a", { key: '17bd3fb3ecbbd6e040c3c9c70fb92b9af90ee6b1', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && h("road-label", { key: '5dba1d64ca367649797df7b872789e7cdc130e8c', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
41
41
  }
42
42
  static get is() { return "road-rating"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ import { Host, h } from "@stencil/core";
4
4
  */
5
5
  export class Row {
6
6
  render() {
7
- return (h(Host, { key: 'c38bbf8641a80fc8ebb76c25f5cec3070127c569' }, h("slot", { key: 'b8459fd13efb02e5b04fb4558533f89f37cbe858' })));
7
+ return (h(Host, { key: 'b9735c29e64bf4dbd798811326b36efab2fe84b0' }, h("slot", { key: '33cd185fdb68387287d1099576d03340d45dc579' })));
8
8
  }
9
9
  static get is() { return "road-row"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -52,10 +52,10 @@ export class SegmentedButton {
52
52
  render() {
53
53
  const { tabIndex, selected, tab } = this;
54
54
  const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
55
- return (h(Host, { key: 'f97ac52e941a6d41c3cc1ebde88396c7a88bcc5b', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
55
+ return (h(Host, { key: '8b14a7cc7b693e9738cc01498921b86f01a5e2a5', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
56
56
  'tab-selected': selected,
57
57
  [`${sizeClass}`]: true,
58
- } }, h("span", { key: 'd608b3b0da3af5184b3a4faeda5bfc6d643cb14f', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, h("span", { key: '6aab4780198238402d5911e60b905d8187624266', class: "button-content" }, h("slot", { key: '12d3b5ebb3de039dffd9d99bd658de975a2ed6df' })))));
58
+ } }, h("span", { key: '2e4d84a1561a9c09b441fd858c3625f784c6794c', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, h("span", { key: '2acfa633cb9a32c3554ac7067fd62737bc45b172', class: "button-content" }, h("slot", { key: '1b133f39ff11f8bdd8be0b3d7f780262f0af2e18' })))));
59
59
  }
60
60
  static get is() { return "road-segmented-button"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,7 @@ export class ButtonBar {
18
18
  this.selectedTabChanged();
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: 'a5bf3fc09d2e077e087ae5246ee562aed29472a5', role: "tablist" }, h("slot", { key: '48a1e2e24b79f769bc35e4d048218210be1b0d56' })));
21
+ return (h(Host, { key: 'd4cf00bc997e0ed05484681fb5fc5f554b3d6fbd', role: "tablist" }, h("slot", { key: 'cadf449cf80d55a0fe297fff440f65f6c096c371' })));
22
22
  }
23
23
  static get is() { return "road-segmented-button-bar"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -86,7 +86,7 @@ export class Tabs {
86
86
  return Array.from(this.el.querySelectorAll('road-tab'));
87
87
  }
88
88
  render() {
89
- return (h(Host, { key: 'd1d9e0ab7ed50aa338646a473b2c3e22d4a30f6b', onRoadSegmentedButtonClick: this.onTabClicked }, h("slot", { key: '681bb4fdcf7bc99dd558723c85ea65b6182a7556', name: "top" }), h("slot", { key: '395d680d41e4c831d7e12e2d4b5e83e74d1128cf' })));
89
+ return (h(Host, { key: '51b943aa1730a5869b8d4616e5b9d0a883c3e17c', onRoadSegmentedButtonClick: this.onTabClicked }, h("slot", { key: '14c0de7b24f8a960a331c258ac91dd2ec4e1dda2', name: "top" }), h("slot", { key: 'b8d71615b2b6bbee3ce95754f0b2f0a7c5ef3385' })));
90
90
  }
91
91
  static get is() { return "road-segmented-buttons"; }
92
92
  static get encapsulation() { return "shadow"; }
@@ -92,7 +92,7 @@ export class Select {
92
92
  const labelId = this.selectId + '-label';
93
93
  const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
94
94
  const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
95
- return (h(Host, { key: 'fb313bb494596711a3b9f5c893ad32718d8b91b9', class: this.sizes && `select-${this.sizes}` }, h("select", { key: '1414476677d43a66f4386b33d0e214dfda608f3c', class: `form-select ${hasValueClass} ${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 }, h("option", { key: 'e76bb7a68a1876237168287ed1c644489b01ae1d', selected: !this.value, disabled: true, hidden: true, style: { display: 'none' }, value: "" }), this.options && this.options.map(option => (h("option", { value: option.value, selected: this.value !== null && option.value == this.value }, option.label)))), h("label", { key: 'a8e873fecdd61d0b329cac070f3705aaf534e846', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && h("p", { key: '82ba6e3b17d05cd9b90ce1b47c1fabe7673753d2', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: '6641b93d7b62266d671196f340d8ff2b385b5159', class: "helper" }, this.helper)));
95
+ return (h(Host, { key: '252c4ae08501f73688cf0c7c7b0830439f1f8e1f', class: this.sizes && `select-${this.sizes}` }, h("select", { key: '28001067f4222640b9a7d4a93692ff94593651c1', class: `form-select ${hasValueClass} ${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 }, h("option", { key: '8933f32a5982c18c456bb06e22a28f67320927b0', selected: !this.value, disabled: true, hidden: true, style: { display: 'none' }, value: "" }), this.options && this.options.map(option => (h("option", { value: option.value, selected: this.value !== null && option.value == this.value }, option.label)))), h("label", { key: '49e2bd5cff399c79900ac65dd37e73bc862f3d00', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && h("p", { key: 'e3a55cc35184e8767ba35ac87cb45e7e24f3c116', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: 'd824610dfb9031aecee47f63c288069ca3aed0b6', class: "helper" }, this.helper)));
96
96
  }
97
97
  static get is() { return "road-select"; }
98
98
  static get encapsulation() { return "scoped"; }
@@ -179,7 +179,7 @@ export class SelectFilter {
179
179
  const options = this.filteredOptions;
180
180
  const isActive = this.isActive ? 'true' : 'false';
181
181
  const notActive = this.isActive ? '' : 'not-active';
182
- return (h(Host, { key: 'b1411c1e27ab139c15417acfe996f70f1412f049', "is-active": isActive }, h("slot", { key: 'cf2229232ebeb1b781f44dac2ce2bcc19eb56282' }), this.isOpen && (h("div", { key: '568f2f9ea1dfa8f6178805062cc5d391fbb1e122', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.length === 0 ? (h("div", { class: "select-filter-empty" }, "Aucune option")) : (h("ul", { class: "pl-0" }, options.map((option, idx) => (h("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: (e) => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, ''), e), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 })))))))));
182
+ return (h(Host, { key: '56283f348c18c9f4da780910a296dff17656881e', "is-active": isActive }, h("slot", { key: '43a5b9dadb04f532e62259a415d921b731b7911e' }), this.isOpen && (h("div", { key: 'cac8b402cfaa77e6c84e60a50f73d148475c93f7', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.length === 0 ? (h("div", { class: "select-filter-empty" }, "Aucune option")) : (h("ul", { class: "pl-0" }, options.map((option, idx) => (h("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: (e) => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, ''), e), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 })))))))));
183
183
  }
184
184
  static get is() { return "road-select-filter"; }
185
185
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class Skeleton {
3
3
  render() {
4
- return (h("span", { key: '33cfe20d51c54101ccf43a5027549fa79d707cab' }, "\u00A0"));
4
+ return (h("span", { key: 'f938a4cd82c542599e6729e9bbfca3fa51573956' }, "\u00A0"));
5
5
  }
6
6
  static get is() { return "road-skeleton"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -13,7 +13,7 @@ export class Spinner {
13
13
  render() {
14
14
  const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
15
15
  const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
16
- return (h("svg", { key: '90d3a6eafbf227b79edf5b298b2bd5e212436c7a', class: `${sizeClass}`, viewBox: "25 25 50 50" }, h("circle", { key: '9a90e8724a39005b1a51029b25401fc876149571', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
16
+ return (h("svg", { key: '1465d5db948734bba9d01c1371fbe97fba33ccb5', class: `${sizeClass}`, viewBox: "25 25 50 50" }, h("circle", { key: 'f7dd929e5cdef073f60d8e6d651fc3e64e594ced', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
17
17
  }
18
18
  static get is() { return "road-spinner"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class Chip {
12
12
  this.size = 'sm';
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '66bf3407592164729d81e1269900dfff160d60ce', class: `chip-${this.size}`, tabindex: "0" }, h("div", { key: 'e037baad33a3be2b430f9c2325abc81f4e7fd015', class: "chip-description" }, h("road-icon", { key: '961d65ef9f31be4444c983c0bd178e19c0f06692', class: "chip-icon", color: "info", icon: alertInfoSolid }), h("slot", { key: '3f1852768aa6a6dc6b234832688f6868b9676591' }))));
15
+ return (h(Host, { key: '22343d5f99de6406223630ccc5ddc4c8363f87ff', class: `chip-${this.size}`, tabindex: "0" }, h("div", { key: '53693f688a08c07d7c5c5c8f6f4ab6ecbad5c783', class: "chip-description" }, h("road-icon", { key: 'd66577297e5c33d7722c3026293830092e9f0239', class: "chip-icon", color: "info", icon: alertInfoSolid }), h("slot", { key: '248ca83089bffdb3695d953cb14ac38a27e10b4d' }))));
16
16
  }
17
17
  static get is() { return "road-status-chip"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -70,11 +70,11 @@ export class Switch {
70
70
  }
71
71
  render() {
72
72
  const labelId = this.switchId + '-label';
73
- const textLabel = h("label", { key: 'ce7aa5f11558ca65be5c3e67fa4bd195befb93fb', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
73
+ const textLabel = h("label", { key: 'b0499c36ab0eb33ac879c37115b6a4754c5d1529', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
74
74
  const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
75
75
  const isSpacedClass = this.isSpaced && 'form-switch-spaced';
76
76
  const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
77
- return (h(Host, { key: '67cb125cd5c23b799ae301f584fe2fbf446a35dd' }, h("input", { key: 'dc19948d6370b14e077eb4725cfcb35916eb779f', class: "form-switch-input", type: "checkbox", id: this.switchId, name: this.name, checked: this.checked, disabled: this.disabled, 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: 'fb2645a723c66e5d45d621260f4ef18a172dccc4', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, h("div", { key: 'a0e6f831b9136f89fcc70ed3004a8551c4b10760', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
77
+ return (h(Host, { key: 'a9365fb9fd70d406e5a90d740cead5094861ac79' }, h("input", { key: '8714e6da068a91604e19dfbdba6f6c712c339c07', class: "form-switch-input", type: "checkbox", id: this.switchId, name: this.name, checked: this.checked, disabled: this.disabled, 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: 'b181aecf57662fe3d9c4032ef5fbd47709730e85', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, h("div", { key: '4c6da52b6e04657d6749eec12c3c6ff5f97ce762', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
78
78
  }
79
79
  static get is() { return "road-switch"; }
80
80
  static get encapsulation() { return "scoped"; }
@@ -21,9 +21,9 @@ export class Tab {
21
21
  }
22
22
  render() {
23
23
  const { tab, active } = this;
24
- return (h(Host, { key: '3027c31c282565b7d5905d3b3031db04ba1bed44', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
24
+ return (h(Host, { key: '925b7e9bcb116de9081e0f238799e28a31d385a1', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
25
25
  'tab-hidden': !active,
26
- } }, h("slot", { key: '70ae19f3e889a8c46d062363445185055a6c1133' })));
26
+ } }, h("slot", { key: 'c4ae28afb00bd729cc5b2c434b8ac62d94d8b5f3' })));
27
27
  }
28
28
  static get is() { return "road-tab"; }
29
29
  static get encapsulation() { return "shadow"; }
@@ -36,11 +36,11 @@ export class TabBar {
36
36
  }
37
37
  render() {
38
38
  const { expand, center, secondary } = this;
39
- return (h(Host, { key: 'a40a29c3f335bd4b49495203834bb937af77a4bb', role: "tablist", class: {
39
+ return (h(Host, { key: 'c88f5a50d83ec07361ed5dd08d5b8a29fd4ac13d', role: "tablist", class: {
40
40
  'tab-expand': expand,
41
41
  'tab-center': center,
42
42
  'tab-secondary': secondary,
43
- } }, h("slot", { key: 'b7abc10609ae8939e729c735fb942b1b89c604ad' })));
43
+ } }, h("slot", { key: '9a9f51b48cef50e484e4e6b0696108e9263f0f48' })));
44
44
  }
45
45
  static get is() { return "road-tab-bar"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,7 @@ export class TabButton {
71
71
  rel,
72
72
  target,
73
73
  };
74
- return (h(Host, { key: '3cb6c6f8dcab1715547dfa6fc43c4e6ec3234507', onClick: (ev) => !disabled && this.onClick(ev), onKeyup: (ev) => !disabled && this.onKeyUp(ev), role: "tab", tabindex: disabled ? -1 : tabIndex, "aria-selected": selected ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
74
+ return (h(Host, { key: 'd10e81cf00ff7acb3888181bf7b60db6b7e24162', onClick: (ev) => !disabled && this.onClick(ev), onKeyup: (ev) => !disabled && this.onKeyUp(ev), role: "tab", tabindex: disabled ? -1 : tabIndex, "aria-selected": selected ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
75
75
  'tab-selected': selected,
76
76
  'tab-has-label': hasLabel,
77
77
  'tab-has-icon': hasIcon,
@@ -79,7 +79,7 @@ export class TabButton {
79
79
  'tab-has-icon-only': hasIcon && !hasLabel,
80
80
  [`tab-layout-${layout}`]: true,
81
81
  'tab-disabled': disabled, // Classe CSS pour les styles désactivés
82
- } }, h("a", Object.assign({ key: '7f07a67f84c56857ac864b2d56c1698f31f618d5' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: 'b6b0a2caa81b69199bf85210cec8722846a413b8', class: "button-inner" }, h("slot", { key: 'efbc557b0428fe1513f150ed97f0c9037284daa2' })))));
82
+ } }, h("a", Object.assign({ key: '81f0045d7d4b05e70ddcbab15866ed09d70eff11' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: 'f167d63f29af54aa2632a0e46ca64499a70b3a22', class: "button-inner" }, h("slot", { key: '1b91f5ba629820ef6764eba4064d551ac8b6f820' })))));
83
83
  }
84
84
  static get is() { return "road-tab-button"; }
85
85
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class Table {
6
6
  render() {
7
- return (h("slot", { key: '4fbbf196c158059cc8c375e9fcd848cd8e2d864f' }));
7
+ return (h("slot", { key: '62d09e884d94443c31146ec24273a787c6ee3787' }));
8
8
  }
9
9
  static get is() { return "road-table"; }
10
10
  static get encapsulation() { return "scoped"; }
@@ -99,7 +99,7 @@ export class Tabs {
99
99
  return Array.from(this.el.querySelectorAll('road-tab'));
100
100
  }
101
101
  render() {
102
- return (h(Host, { key: '5bea03df378d3de02ca7dec12e9794a8edbb073c', onRoadTabButtonClick: this.onTabClicked }, h("slot", { key: '9f6d69f412a26dce57a919d02003e7548e824b08', name: "top" }), h("div", { key: '05058a9ec02a249ab6bc9d0f2bc301c1803e1e20', class: "tabs-inner" }, h("slot", { key: 'f10bf6e9d99a0c040dd4045b18f22f288e19fc2e' }))));
102
+ return (h(Host, { key: '27ab87f41f3d6751434e8d6a2631cbe82d0a0cbc', onRoadTabButtonClick: this.onTabClicked }, h("slot", { key: 'bbb551131576e4eee16b94217507c31c2c60a6be', name: "top" }), h("div", { key: 'f8b534238faee2fc29784b7e1725b15191349838', class: "tabs-inner" }, h("slot", { key: 'a7314be1ed2375a652afab28df2c3bb0e5a154f2' }))));
103
103
  }
104
104
  static get is() { return "road-tabs"; }
105
105
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class Tag {
16
16
  }
17
17
  render() {
18
18
  const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
19
- return (h(Host, { key: '2639b90b789a6fde1fae0f3201236a7c9f4e1aad', class: `${contrastClass}` }, h("slot", { key: '8039feeab97b500f0828e1efa751b9771f4f5e65' })));
19
+ return (h(Host, { key: '0310697bbc0e468cfb7a7c2c2d1b6c7b00e5c8a1', class: `${contrastClass}` }, h("slot", { key: '70eb0d5b559ca409cb1eae30a258fada641009d3' })));
20
20
  }
21
21
  static get is() { return "road-tag"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ export class Text {
11
11
  }
12
12
  render() {
13
13
  const colorClass = this.color !== undefined ? `text-${this.color}` : '';
14
- return (h(Host, { key: '2b1df03bfadf4021cf4016c584cdbd0ccf09324c', class: `${colorClass}` }, h("slot", { key: '6966b8ebe4a2eb48b1fd020a707c6a37a519b099' })));
14
+ return (h(Host, { key: '9d1a62edc9a4602497b542292a0313ed52fc6156', class: `${colorClass}` }, h("slot", { key: '9aa0f728eae087590555f108f6562b96f5a926ed' })));
15
15
  }
16
16
  static get is() { return "road-text"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -82,7 +82,7 @@ export class Textarea {
82
82
  const hasValueClass = this.value !== '' ? 'has-value' : '';
83
83
  const noResizeClass = this.resize == false ? 'no-resize' : '';
84
84
  const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
85
- return (h(Host, { key: 'cc414e4da358e65b430b91b0f834cbe403993693', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, h("textarea", { key: '0d0a45eaf71ada8178387d6debfc5e3d6da6cb4f', class: `form-control textarea-control ${hasValueClass} ${noResizeClass} ${isInvalidClass}`, id: this.textareaId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, maxLength: this.maxlength, minLength: this.minlength, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, value: value, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }), h("label", { key: 'a74070b2761b5ced0251f5bce4ef48837d892c9d', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && h("p", { key: 'ba52ee759d52772a2eac2e9948c64309164aabdc', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: '377f7c03d77aad381b2bdd63c4753369870612df', class: "helper" }, this.helper)));
85
+ return (h(Host, { key: 'b77fec4a19c3443154c949db07408a4a5c453f24', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, h("textarea", { key: 'ca0a2c4c1e436b3e99933eab9c3dd420693dd5ce', class: `form-control textarea-control ${hasValueClass} ${noResizeClass} ${isInvalidClass}`, id: this.textareaId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, maxLength: this.maxlength, minLength: this.minlength, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, value: value, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }), h("label", { key: 'c59652092cfebc7a0cb9b1165b9387fd9a18c8d4', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && h("p", { key: '7f2edce4666cc9a30bc365db10917a6b3c9f28da', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: '98885d35065c4309cfa1fcf4d20188fcd17c7e49', class: "helper" }, this.helper)));
86
86
  }
87
87
  static get is() { return "road-textarea"; }
88
88
  static get encapsulation() { return "scoped"; }
@@ -81,7 +81,7 @@ export class RoadTimeRangePicker {
81
81
  return { start: this.start, end: this.end };
82
82
  }
83
83
  render() {
84
- return (h(Host, { key: 'c1528d80635b8cfdf6dbd01f890f20b12cb5948b', class: `time-range-picker input-${this.sizes}` }, this.label && (h("p", { key: '2d97d59a6b8449695537ad1a5bd0991e01c19bac', class: "label m-0" }, this.label, this.required && h("span", { key: '156a83258da14bc98be719155735afdbb17ccd50', class: "required-indicator" }, " *"))), h("div", { key: '836ab421c7c9ddbcd0e51a135d670962a0a27bf3', class: "time-range-picker-content d-flex align-items-center my-4" }, h("slot", { key: '66f945df18b1b404aa073d38501e11ee8bd5a1f0', name: "start" }), h("span", { key: '392ade369762ccf97ca3a8cf69398ca3a247f14e', class: "separator mx-12" }, this.separator), h("slot", { key: 'afac72354a5166ece7fcfea81c7115c599c61b85', name: "end" })), h("div", { key: '1a6d049fbe026f2c76cfb9164a3fff7983174ac4', class: "messages mt-1" }, this.errorMessages.map((msg, index) => (h("p", { key: index, class: "invalid-feedback m-0" }, h("road-icon", { slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), msg.trim())))), this.helper && h("p", { key: 'dacbada369bbbe28302070d11e2242958ee2d983', class: "helper mt-1" }, this.helper)));
84
+ return (h(Host, { key: '685a7671de7ffed7e612757dd378605b3036834b', class: `time-range-picker input-${this.sizes}` }, this.label && (h("p", { key: '12e0ed7a4983760428896639991992f954b1f2c9', class: "label m-0" }, this.label, this.required && h("span", { key: '7074c6b2ac09d83213c2e3fccd80a8669120ba54', class: "required-indicator" }, " *"))), h("div", { key: '623dc14b5b941c44b2cd6a3877c6f898f788f758', class: "time-range-picker-content d-flex align-items-center my-4" }, h("slot", { key: '35188a877334036853d72ef053e39ac6a2900d90', name: "start" }), h("span", { key: '1e1d3b4f5d21390c05f13e38d5e3333a555e1a62', class: "separator mx-12" }, this.separator), h("slot", { key: 'dd753814efa448dac72354add6e2774c22147139', name: "end" })), h("div", { key: '02f8b622150eda4e4499e658799894de74a20958', class: "messages mt-1" }, this.errorMessages.map((msg, index) => (h("p", { key: index, class: "invalid-feedback m-0" }, h("road-icon", { slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), msg.trim())))), this.helper && h("p", { key: '0d61bde2b23a43bf9fd726586de324c9d1e45954', class: "helper mt-1" }, this.helper)));
85
85
  }
86
86
  static get is() { return "road-time-range-picker"; }
87
87
  static get encapsulation() { return "scoped"; }
@@ -86,7 +86,7 @@ export class Toast {
86
86
  if (this.color == 'danger') {
87
87
  this.timeout = 0;
88
88
  }
89
- return (h(Host, { key: '7e6b8eb5b97d93b1c0da2b5fca2b95d7fe53b464', class: `${toastIsOpenClass}`, role: "alert" }, h("div", { key: '928fcd556ba9573248c0bf136d41ae385fef3c0f', class: `toast toast-${this.color}` }, h("road-icon", { key: '6620412742937e307d6677bdfeb5b3df34403cee', class: "toast-icon", icon: icon, "aria-hidden": "true" }), h("p", { key: 'b7fa0b376a936b6ddf6f7a995fbd531b6657dc72', class: "toast-label" }, this.label), h("button", { key: 'c38b2ab0f05605a9c428684e31ef07a8ee03491c', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, h("road-icon", { key: '71820f58335f516f7660650e10f042b347922113', icon: navigationClose, size: "md" })), h("slot", { key: '52cc64d445b08d0f3a993deae2228e8da87ba5f5', name: "progress" }))));
89
+ return (h(Host, { key: 'a23d9efd2c57c549c299afa7397c1d54da39fad4', class: `${toastIsOpenClass}`, role: "alert" }, h("div", { key: '2a2781c355e65842713a0fb011b24f13da018809', class: `toast toast-${this.color}` }, h("road-icon", { key: 'bdc30f61254fa6a358780a9eb24f5951ffe12684', class: "toast-icon", icon: icon, "aria-hidden": "true" }), h("p", { key: '26690a7b4c4d2c9b5111226e37e50f04900e7322', class: "toast-label" }, this.label), h("button", { key: '4b02f4e03ecfa6f9587808884f60852af9eed9ee', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, h("road-icon", { key: 'b7558ca5cce55da8fc90eb3011a0ba449a476289', icon: navigationClose, size: "md" })), h("slot", { key: 'cf46edeb98030ef816a3c0029265a53783d9ed56', name: "progress" }))));
90
90
  }
91
91
  static get is() { return "road-toast"; }
92
92
  static get encapsulation() { return "shadow"; }
@@ -58,11 +58,11 @@ export class toggle {
58
58
  }
59
59
  render() {
60
60
  const labelId = this.toggleId + '-label';
61
- const textLabel = h("label", { key: '200063a0e964b5a6cc9694a6aae1b45418751867', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
61
+ const textLabel = h("label", { key: 'ba35148ac26c71b2bc262b3fe9f7dc3de5f08370', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
62
62
  const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
63
63
  const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
64
64
  const disabledClass = this.disabled ? 'disabled' : '';
65
- return (h(Host, { key: '65b426ec8ab4b2e9c1f773e92c5034cb67893ded' }, h("input", { key: 'a92fd1807ad4fa13492cc7dc3664b088228d020b', class: "form-toggle-input", type: "checkbox", id: this.toggleId, name: this.name, checked: this.checked, disabled: this.disabled, 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: '4ad95f0f23572757d568923e88b29f7c7a24bbfa', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, h("div", { key: 'd82522fd9584390936eaf96b65a6a6fb14713794', class: `form-toggle-lever ${righttoggleClass}` }, this.checked ? (h("road-icon", { name: "check-small-solid", class: "form-toggle-lever-check", size: "md" })) : (h("road-icon", { name: "navigation-close-solid", class: "form-toggle-lever-close", size: "md" }))), this.hasLeftLabel ? '' : textLabel)));
65
+ return (h(Host, { key: 'f534525f661135af3465bf513fbffe03dc56ab38' }, h("input", { key: '7f81baf61ec97adcce01edaee0bf758e5523d71b', class: "form-toggle-input", type: "checkbox", id: this.toggleId, name: this.name, checked: this.checked, disabled: this.disabled, 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: '62460c291d7d6a518e5c5d08fa5776050d95110c', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, h("div", { key: '43512b3f7203bee3137e986ee021bd1107f118cc', class: `form-toggle-lever ${righttoggleClass}` }, this.checked ? (h("road-icon", { name: "check-small-solid", class: "form-toggle-lever-check", size: "md" })) : (h("road-icon", { name: "navigation-close-solid", class: "form-toggle-lever-close", size: "md" }))), this.hasLeftLabel ? '' : textLabel)));
66
66
  }
67
67
  static get is() { return "road-toggle"; }
68
68
  static get encapsulation() { return "scoped"; }
@@ -10,7 +10,7 @@ import { Host, h } from "@stencil/core";
10
10
  export class Toolbar {
11
11
  render() {
12
12
  const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
13
- return (h(Host, { key: '4155097cf17050c6f1c9ddd4ad66c153f005fa45', class: colorClass }, h("div", { key: '74c8520959b7893b32c59744ad5486ed075d5ee1', class: "toolbar-container" }, h("slot", { key: '37605f2014027e0f12b5c80b2f57db710ae3b726', name: "start" }), h("slot", { key: '9162f18c3fc3fab8ce1491841889a2d9616ab0e9', name: "primary" }), h("div", { key: 'fdf739135446b6977e3d89537118a3417c0bfd86', class: "toolbar-content" }, h("slot", { key: '48434e192dd116fe52796dbe3f62d6bed0ac5a79' })), h("slot", { key: '5eee5c80975129ed993ce466e5d96efdd6854922', name: "secondary" }), h("slot", { key: 'c52c70da47aea897e50c7eab9a3fdfba5f9056e3', name: "end" }))));
13
+ return (h(Host, { key: 'b241b745def7b165ef5e6df90a4c976df79967a7', class: colorClass }, h("div", { key: 'b7429305780cefbc62057b3de5585505d197b4e3', class: "toolbar-container" }, h("slot", { key: 'e1095e0ccbe77021455b2b2dc50cde77f2570889', name: "start" }), h("slot", { key: '4664948325cb7a5bd0994078828457aba28ee6f7', name: "primary" }), h("div", { key: 'ab74e4d57f7abc23f85812c98de539c0b734a186', class: "toolbar-content" }, h("slot", { key: 'e79434348e852c3904ffa47856d8c091628fb59d' })), h("slot", { key: '6e7ae8afa24083b5a3b0ebb1aadcbf26c3f7b8d0', name: "secondary" }), h("slot", { key: 'e1fb505a58d79c0e3ebb6c7dbfe28ea572c4036f', name: "end" }))));
14
14
  }
15
15
  static get is() { return "road-toolbar"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class ToolbarTitle {
6
6
  render() {
7
- return (h("div", { key: 'fe411cfd08be76715a7896bb645a9c5d07479539', class: "toolbar-title" }, h("slot", { key: 'c81416028a3c8aef9676e3c52f6ffb3202994eff' })));
7
+ return (h("div", { key: '742688fba3267e9a387d8ae176d5af3112035686', class: "toolbar-title" }, h("slot", { key: '23f50e8813d852a95e6489272b90bc6698772a4e' })));
8
8
  }
9
9
  static get is() { return "road-toolbar-title"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class ToolbarAppName {
6
6
  render() {
7
- return (h("div", { key: 'fa5fa9ad6f5e3a1d562bdc38b312c16cc9483d54', class: "toolbar-title-page" }, h("slot", { key: 'b35389dcc32ff0ba0c163e5916d701c79fbf8ba9' })));
7
+ return (h("div", { key: '5b3f14f6952d3601e6e998ff2b727424fab555cd', class: "toolbar-title-page" }, h("slot", { key: '9f0eb9f41cc22369bc1867ebd5f28b89fa442eba' })));
8
8
  }
9
9
  static get is() { return "road-toolbar-title-page"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ import { Host, h } from "@stencil/core";
9
9
  */
10
10
  export class ToolbarV2 {
11
11
  render() {
12
- return (h(Host, { key: 'baadd003637adbfecd43171047bd15bdf9ea6703', class: "toolbar" }, h("div", { key: 'ce2ad280afbb52c7dfd3d05fd4cbbc740edcbc72', class: "toolbar-container" }, h("div", { key: 'ede1c5b3749744ecdd41926b11efbde968bf58c1', class: "toolbar-container-content-left" }, h("slot", { key: 'c0076ab7411d30d6c018155c11eef33ddcd7341b', name: "start" }), h("slot", { key: 'c6cb5ab75a4135c73bc6daf10c6075aa98cd8d51', name: "primary" })), h("div", { key: 'bc46b95ef46a0c55ea67fbdc04d8ab04179c6445', class: "toolbar-content" }, h("slot", { key: 'c73f60b2ba26f405fd13cd66b6b5b87810b50b44' })), h("div", { key: '0886cb221b201e1f39754e9a18a844a582437572', class: "toolbar-container-content-right" }, h("slot", { key: '3d143472b05113fb9440738c5b74afed8e75d68c', name: "secondary" }), h("slot", { key: '98cceebd60e608dd9e7eced6046cd5a0b12d8a94', name: "end" })))));
12
+ return (h(Host, { key: '62ea20f134b10b364d0c9238aa64ba1d75a9191a', class: "toolbar" }, h("div", { key: 'c3b5a93350cbf7de5d5224c04fd082ff993020b1', class: "toolbar-container" }, h("div", { key: 'e3d8b61c07cbeef7720fce382d78668f6d74ae35', class: "toolbar-container-content-left" }, h("slot", { key: '7255141af24d37a06e36f5c565c95b918d53392e', name: "start" }), h("slot", { key: 'ce9156a72df70dae4e725a5d145af1ba32078c17', name: "primary" })), h("div", { key: '27f73e3afe5a75911165cc4beea2a5aa9f57bab4', class: "toolbar-content" }, h("slot", { key: 'a11fa5976a59e1e34375a43ed3f4f7dc4aec1fb9' })), h("div", { key: 'c1d147e5883163ef8dd8aa3c2498d577166aade7', class: "toolbar-container-content-right" }, h("slot", { key: 'f85a1e5cda535a862fa19660e369b72d1927fd33', name: "secondary" }), h("slot", { key: '4a66978a37a7203b583c6c3c6b907db4b77f2be2', name: "end" })))));
13
13
  }
14
14
  static get is() { return "road-toolbar-v2"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,30 @@
1
1
  import { Host, h } from "@stencil/core";
2
+ let isKeyboardNavigation = false;
3
+ const onGlobalKeyDown = () => {
4
+ isKeyboardNavigation = true;
5
+ };
6
+ const onGlobalMouseDown = () => {
7
+ isKeyboardNavigation = false;
8
+ };
9
+ let globalInputModeUsers = 0;
10
+ function registerGlobalInputModeListeners() {
11
+ if (typeof document === "undefined")
12
+ return;
13
+ if (globalInputModeUsers === 0) {
14
+ document.addEventListener("keydown", onGlobalKeyDown);
15
+ document.addEventListener("mousedown", onGlobalMouseDown);
16
+ }
17
+ globalInputModeUsers++;
18
+ }
19
+ function unregisterGlobalInputModeListeners() {
20
+ if (typeof document === "undefined")
21
+ return;
22
+ globalInputModeUsers = Math.max(0, globalInputModeUsers - 1);
23
+ if (globalInputModeUsers === 0) {
24
+ document.removeEventListener("keydown", onGlobalKeyDown);
25
+ document.removeEventListener("mousedown", onGlobalMouseDown);
26
+ }
27
+ }
2
28
  /**
3
29
  * @slot tooltip-content - content of the tooltip, if you need to add html content, use this slot, otherwise use directly the content prop.
4
30
  *
@@ -13,15 +39,15 @@ export class Tooltip {
13
39
  /**
14
40
  * The tooltip's content.
15
41
  */
16
- this.content = '';
42
+ this.content = "";
17
43
  /**
18
44
  * The position of the tooltip.
19
45
  */
20
- this.position = 'top';
46
+ this.position = "top";
21
47
  /**
22
48
  * The content align of the tooltip.
23
49
  */
24
- this.contentAlign = 'center';
50
+ this.contentAlign = "center";
25
51
  /**
26
52
  * Indicates whether or not the tooltip is open. You can use this or the open/close methods.
27
53
  */
@@ -31,36 +57,31 @@ export class Tooltip {
31
57
  * options can be passed by separating them with a space. When manual is used, the tooltip must be activated
32
58
  * programmatically.
33
59
  */
34
- this.trigger = 'hover';
60
+ this.trigger = "hover";
35
61
  this.onClick = () => {
36
- if (this.hasTrigger('click')) {
62
+ if (this.hasTrigger("click")) {
37
63
  this.isOpen ? this.close() : this.open();
38
64
  }
39
65
  };
40
66
  this.onMouseOver = () => {
41
- if (this.hasTrigger('hover')) {
67
+ if (this.hasTrigger("hover")) {
42
68
  this.open();
43
69
  }
44
70
  };
45
71
  this.onMouseOut = () => {
46
- if (this.hasTrigger('hover')) {
72
+ if (this.hasTrigger("hover")) {
47
73
  this.close();
48
74
  }
49
75
  };
50
- this.isKeyboardNavigation = false;
51
- this.handleKeyDown = () => {
52
- this.isKeyboardNavigation = true;
53
- };
54
- this.handleMouseDown = () => {
55
- this.isKeyboardNavigation = false;
56
- };
57
76
  this.onFocus = () => {
58
- if (this.isKeyboardNavigation && this.hasTrigger('hover')) {
77
+ if (isKeyboardNavigation &&
78
+ (this.hasTrigger("hover") || this.hasTrigger("focus"))) {
59
79
  this.open();
60
80
  }
61
81
  };
62
82
  this.onBlur = () => {
63
- if (this.isKeyboardNavigation && this.hasTrigger('hover')) {
83
+ if (isKeyboardNavigation &&
84
+ (this.hasTrigger("hover") || this.hasTrigger("focus"))) {
64
85
  this.close();
65
86
  }
66
87
  };
@@ -77,30 +98,23 @@ export class Tooltip {
77
98
  async close() {
78
99
  this.isOpen = false;
79
100
  }
80
- // Écoute les événements pour détecter le mode d'interaction
81
- componentDidMount() {
82
- document.addEventListener('keydown', this.handleKeyDown);
83
- document.addEventListener('mousedown', this.handleMouseDown);
84
- }
85
- componentDidLoad() {
86
- document.addEventListener('keydown', this.handleKeyDown);
87
- document.addEventListener('mousedown', this.handleMouseDown);
101
+ connectedCallback() {
102
+ registerGlobalInputModeListeners();
88
103
  }
89
- componentWillUnmount() {
90
- document.removeEventListener('keydown', this.handleKeyDown);
91
- document.removeEventListener('mousedown', this.handleMouseDown);
104
+ disconnectedCallback() {
105
+ unregisterGlobalInputModeListeners();
92
106
  }
93
107
  hasTrigger(triggerType) {
94
- const triggers = this.trigger.split(' ');
108
+ const triggers = this.trigger.split(" ");
95
109
  return triggers.includes(triggerType);
96
110
  }
97
111
  render() {
98
- return (h(Host, { key: '1e3cb1bb336b5c4a63f3395c588f2c842a6c22a7', onMouseOver: this.onMouseOver, onMouseOut: this.onMouseOut, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, tabindex: "0" // Makes the element focusable
112
+ return (h(Host, { key: '9150dafd734e51cf806d8fe9dd9f7cabb30516f0', onMouseOver: this.onMouseOver, onMouseOut: this.onMouseOut, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, tabindex: "0" // Makes the element focusable
99
113
  ,
100
- "data-tooltip-position": this.position }, h("slot", { key: '8b5ae95d0076acbad18fb73bf32e9b31085c8365', "aria-describedby": this.tooltipId }), h("div", { key: 'ba8a5ac573fa0b31edb9e26fab1c8ee212789f1d', part: "tooltip", id: this.tooltipId, class: {
114
+ "data-tooltip-position": this.position }, h("slot", { key: '11b94662e222cdb59b71a2f261788860444ae274', "aria-describedby": this.tooltipId }), h("div", { key: '59cc457c5e21956d9c395b82db9bc0e1cd867432', part: "tooltip", id: this.tooltipId, class: {
101
115
  tooltip: true,
102
- 'tooltip-open': this.isOpen,
103
- }, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, h("slot", { key: 'cbc2c9bce87ee7b42897c9a8a24ff0f896e0670c', name: "tooltip-content" }))));
116
+ "tooltip-open": this.isOpen,
117
+ }, role: "tooltip", "aria-hidden": !this.isOpen ? "true" : "false" }, this.content, h("slot", { key: '4ce82842f3a6a7c91c6e8f2c7c7f86775f83a2c3', name: "tooltip-content" }))));
104
118
  }
105
119
  static get is() { return "road-tooltip"; }
106
120
  static get encapsulation() { return "shadow"; }
@@ -154,13 +168,13 @@ export class Tooltip {
154
168
  "setter": false,
155
169
  "attribute": "content",
156
170
  "reflect": false,
157
- "defaultValue": "''"
171
+ "defaultValue": "\"\""
158
172
  },
159
173
  "position": {
160
174
  "type": "string",
161
175
  "mutable": false,
162
176
  "complexType": {
163
- "original": "| 'top'\n | 'right'\n | 'bottom'\n | 'top-left'\n | 'top-right'\n | 'top-start'\n | 'top-end'\n | 'bottom-left'\n | 'bottom-right'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'",
177
+ "original": "| \"top\"\n | \"right\"\n | \"bottom\"\n | \"top-left\"\n | \"top-right\"\n | \"top-start\"\n | \"top-end\"\n | \"bottom-left\"\n | \"bottom-right\"\n | \"bottom-start\"\n | \"bottom-end\"\n | \"left\"",
164
178
  "resolved": "\"bottom\" | \"bottom-end\" | \"bottom-left\" | \"bottom-right\" | \"bottom-start\" | \"left\" | \"right\" | \"top\" | \"top-end\" | \"top-left\" | \"top-right\" | \"top-start\"",
165
179
  "references": {}
166
180
  },
@@ -174,13 +188,13 @@ export class Tooltip {
174
188
  "setter": false,
175
189
  "attribute": "position",
176
190
  "reflect": false,
177
- "defaultValue": "'top'"
191
+ "defaultValue": "\"top\""
178
192
  },
179
193
  "contentAlign": {
180
194
  "type": "string",
181
195
  "mutable": false,
182
196
  "complexType": {
183
- "original": "| 'center'\n | 'left'",
197
+ "original": "\"center\" | \"left\"",
184
198
  "resolved": "\"center\" | \"left\"",
185
199
  "references": {}
186
200
  },
@@ -194,7 +208,7 @@ export class Tooltip {
194
208
  "setter": false,
195
209
  "attribute": "content-align",
196
210
  "reflect": false,
197
- "defaultValue": "'center'"
211
+ "defaultValue": "\"center\""
198
212
  },
199
213
  "isOpen": {
200
214
  "type": "boolean",
@@ -234,7 +248,7 @@ export class Tooltip {
234
248
  "setter": false,
235
249
  "attribute": "trigger",
236
250
  "reflect": false,
237
- "defaultValue": "'hover'"
251
+ "defaultValue": "\"hover\""
238
252
  }
239
253
  };
240
254
  }