@roadtrip/components 3.33.7 → 3.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/dist/cjs/index-fee0103c.js +4 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/road-badge_14.cjs.entry.js +14 -10
  4. package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
  5. package/dist/cjs/road-modal.cjs.entry.js +1 -1
  6. package/dist/cjs/road-navbar-item-v2.cjs.entry.js +2 -2
  7. package/dist/cjs/road-navbar-item.cjs.entry.js +2 -2
  8. package/dist/cjs/road-navbar-v2.cjs.entry.js +1 -1
  9. package/dist/cjs/road-navbar.cjs.entry.js +1 -1
  10. package/dist/cjs/road-phone-number-input.cjs.entry.js +2 -2
  11. package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
  12. package/dist/cjs/road-profil-dropdown.cjs.entry.js +1 -1
  13. package/dist/cjs/road-progress-indicator-horizontal.cjs.entry.js +1 -1
  14. package/dist/cjs/road-progress-indicator-vertical-item.cjs.entry.js +1 -1
  15. package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +1 -1
  16. package/dist/cjs/road-progress-tracker-item.cjs.entry.js +1 -1
  17. package/dist/cjs/road-progress-tracker.cjs.entry.js +1 -1
  18. package/dist/cjs/road-progress.cjs.entry.js +1 -1
  19. package/dist/cjs/road-radio-card.cjs.entry.js +73 -0
  20. package/dist/cjs/road-radio-card.cjs.entry.js.map +1 -0
  21. package/dist/cjs/road-radio-group.cjs.entry.js +8 -1
  22. package/dist/cjs/road-radio-group.cjs.entry.js.map +1 -1
  23. package/dist/cjs/road-radio.cjs.entry.js +1 -1
  24. package/dist/cjs/road-range.cjs.entry.js +2 -2
  25. package/dist/cjs/road-rating.cjs.entry.js +1 -1
  26. package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
  27. package/dist/cjs/road-segmented-button.cjs.entry.js +2 -2
  28. package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
  29. package/dist/cjs/road-select-filter.cjs.entry.js +2 -2
  30. package/dist/cjs/road-select.cjs.entry.js +1 -1
  31. package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
  32. package/dist/cjs/road-spinner.cjs.entry.js +1 -1
  33. package/dist/cjs/road-switch.cjs.entry.js +2 -2
  34. package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
  35. package/dist/cjs/road-tab-button.cjs.entry.js +2 -2
  36. package/dist/cjs/road-tab.cjs.entry.js +2 -2
  37. package/dist/cjs/road-table.cjs.entry.js +1 -1
  38. package/dist/cjs/road-tabs.cjs.entry.js +1 -1
  39. package/dist/cjs/road-tag.cjs.entry.js +1 -1
  40. package/dist/cjs/road-text.cjs.entry.js +1 -1
  41. package/dist/cjs/road-textarea.cjs.entry.js +2 -2
  42. package/dist/cjs/road-textarea.cjs.entry.js.map +1 -1
  43. package/dist/cjs/road-toast.cjs.entry.js +1 -1
  44. package/dist/cjs/road-toggle.cjs.entry.js +2 -2
  45. package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
  46. package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
  47. package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
  48. package/dist/cjs/road-tooltip.cjs.entry.js +4 -4
  49. package/dist/cjs/road-tooltip.cjs.entry.js.map +1 -1
  50. package/dist/cjs/roadtrip.cjs.js +1 -1
  51. package/dist/collection/collection-manifest.json +1 -0
  52. package/dist/collection/components/input/input.css +1 -0
  53. package/dist/collection/components/input/input.js +8 -4
  54. package/dist/collection/components/input/input.js.map +1 -1
  55. package/dist/collection/components/input/input.stories.js +25 -9
  56. package/dist/collection/components/input-group/input-group.js +1 -1
  57. package/dist/collection/components/item/item.js +3 -3
  58. package/dist/collection/components/label/label.js +1 -1
  59. package/dist/collection/components/list/list.js +2 -2
  60. package/dist/collection/components/modal/modal.js +1 -1
  61. package/dist/collection/components/modal/modal.stories.js +4 -3
  62. package/dist/collection/components/navbar/navbar.js +1 -1
  63. package/dist/collection/components/navbar-item/navbar-item.js +2 -2
  64. package/dist/collection/components/navbar-item-v2/navbar-item-v2.js +2 -2
  65. package/dist/collection/components/navbar-v2/navbar-v2.js +1 -1
  66. package/dist/collection/components/phone-number-input/phone-number-input.js +2 -2
  67. package/dist/collection/components/plate-number/plate-number.js +2 -2
  68. package/dist/collection/components/plate-number/plate-number.stories.js +18 -12
  69. package/dist/collection/components/profil-dropdown/profil-dropdown.js +1 -1
  70. package/dist/collection/components/progress/progress.js +1 -1
  71. package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.js +1 -1
  72. package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js +1 -1
  73. package/dist/collection/components/progress-indicator-vertical-item/progress-indicator-vertical-item.js +1 -1
  74. package/dist/collection/components/progress-tracker/progress-tracker.js +1 -1
  75. package/dist/collection/components/progress-tracker-item/progress-tracker-item.js +1 -1
  76. package/dist/collection/components/radio/radio.js +1 -1
  77. package/dist/collection/components/radio/radio.stories.js +12 -6
  78. package/dist/collection/components/radio-card/radio-card.css +234 -0
  79. package/dist/collection/components/radio-card/radio-card.js +253 -0
  80. package/dist/collection/components/radio-card/radio-card.js.map +1 -0
  81. package/dist/collection/components/radio-card/radio-card.stories.js +90 -0
  82. package/dist/collection/components/radio-group/radio-group.js +8 -1
  83. package/dist/collection/components/radio-group/radio-group.js.map +1 -1
  84. package/dist/collection/components/range/range.js +2 -2
  85. package/dist/collection/components/range/range.stories.js +4 -3
  86. package/dist/collection/components/rating/rating.js +1 -1
  87. package/dist/collection/components/row/row.js +1 -1
  88. package/dist/collection/components/segmented-button/segmented-button.js +2 -2
  89. package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
  90. package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
  91. package/dist/collection/components/select/select.js +1 -1
  92. package/dist/collection/components/select/select.stories.js +12 -7
  93. package/dist/collection/components/select-filter/select-filter.js +2 -2
  94. package/dist/collection/components/select-filter/select-filter.stories.js +4 -2
  95. package/dist/collection/components/skeleton/skeleton.js +1 -1
  96. package/dist/collection/components/spinner/spinner.js +1 -1
  97. package/dist/collection/components/switch/switch.js +2 -2
  98. package/dist/collection/components/tab/tab.js +2 -2
  99. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  100. package/dist/collection/components/tab-button/tab-button.js +2 -2
  101. package/dist/collection/components/table/table.js +1 -1
  102. package/dist/collection/components/tabs/tabs.js +1 -1
  103. package/dist/collection/components/tag/tag.js +1 -1
  104. package/dist/collection/components/text/text.js +1 -1
  105. package/dist/collection/components/textarea/textarea.css +5 -2
  106. package/dist/collection/components/textarea/textarea.js +1 -1
  107. package/dist/collection/components/textarea/textarea.stories.js +18 -12
  108. package/dist/collection/components/toast/toast.js +1 -1
  109. package/dist/collection/components/toast/toast.stories.js +4 -2
  110. package/dist/collection/components/toggle/toggle.js +2 -2
  111. package/dist/collection/components/toggle/toggle.stories.js +12 -7
  112. package/dist/collection/components/toolbar/toolbar.js +1 -1
  113. package/dist/collection/components/toolbar-title/toolbar-title.js +1 -1
  114. package/dist/collection/components/toolbar-title-page/toolbar-title-page.js +1 -1
  115. package/dist/collection/components/toolbar-v2/toolbar-v2.js +1 -1
  116. package/dist/collection/components/tooltip/tooltip.css +31 -0
  117. package/dist/collection/components/tooltip/tooltip.js +5 -5
  118. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  119. package/dist/collection/components/tooltip/tooltip.stories.js +1 -1
  120. package/dist/esm/index-8dc34f94.js +4 -0
  121. package/dist/esm/loader.js +1 -1
  122. package/dist/esm/road-badge_14.entry.js +14 -10
  123. package/dist/esm/road-badge_14.entry.js.map +1 -1
  124. package/dist/esm/road-modal.entry.js +1 -1
  125. package/dist/esm/road-navbar-item-v2.entry.js +2 -2
  126. package/dist/esm/road-navbar-item.entry.js +2 -2
  127. package/dist/esm/road-navbar-v2.entry.js +1 -1
  128. package/dist/esm/road-navbar.entry.js +1 -1
  129. package/dist/esm/road-phone-number-input.entry.js +2 -2
  130. package/dist/esm/road-plate-number.entry.js +2 -2
  131. package/dist/esm/road-profil-dropdown.entry.js +1 -1
  132. package/dist/esm/road-progress-indicator-horizontal.entry.js +1 -1
  133. package/dist/esm/road-progress-indicator-vertical-item.entry.js +1 -1
  134. package/dist/esm/road-progress-indicator-vertical.entry.js +1 -1
  135. package/dist/esm/road-progress-tracker-item.entry.js +1 -1
  136. package/dist/esm/road-progress-tracker.entry.js +1 -1
  137. package/dist/esm/road-progress.entry.js +1 -1
  138. package/dist/esm/road-radio-card.entry.js +69 -0
  139. package/dist/esm/road-radio-card.entry.js.map +1 -0
  140. package/dist/esm/road-radio-group.entry.js +8 -1
  141. package/dist/esm/road-radio-group.entry.js.map +1 -1
  142. package/dist/esm/road-radio.entry.js +1 -1
  143. package/dist/esm/road-range.entry.js +2 -2
  144. package/dist/esm/road-rating.entry.js +1 -1
  145. package/dist/esm/road-segmented-button-bar.entry.js +1 -1
  146. package/dist/esm/road-segmented-button.entry.js +2 -2
  147. package/dist/esm/road-segmented-buttons.entry.js +1 -1
  148. package/dist/esm/road-select-filter.entry.js +2 -2
  149. package/dist/esm/road-select.entry.js +1 -1
  150. package/dist/esm/road-skeleton.entry.js +1 -1
  151. package/dist/esm/road-spinner.entry.js +1 -1
  152. package/dist/esm/road-switch.entry.js +2 -2
  153. package/dist/esm/road-tab-bar.entry.js +2 -2
  154. package/dist/esm/road-tab-button.entry.js +2 -2
  155. package/dist/esm/road-tab.entry.js +2 -2
  156. package/dist/esm/road-table.entry.js +1 -1
  157. package/dist/esm/road-tabs.entry.js +1 -1
  158. package/dist/esm/road-tag.entry.js +1 -1
  159. package/dist/esm/road-text.entry.js +1 -1
  160. package/dist/esm/road-textarea.entry.js +2 -2
  161. package/dist/esm/road-textarea.entry.js.map +1 -1
  162. package/dist/esm/road-toast.entry.js +1 -1
  163. package/dist/esm/road-toggle.entry.js +2 -2
  164. package/dist/esm/road-toolbar-title-page.entry.js +1 -1
  165. package/dist/esm/road-toolbar-title.entry.js +1 -1
  166. package/dist/esm/road-toolbar-v2.entry.js +1 -1
  167. package/dist/esm/road-tooltip.entry.js +4 -4
  168. package/dist/esm/road-tooltip.entry.js.map +1 -1
  169. package/dist/esm/roadtrip.js +1 -1
  170. package/dist/html.html-data.json +52 -1
  171. package/dist/roadtrip/{p-6c617506.entry.js → p-02a6e387.entry.js} +2 -2
  172. package/dist/roadtrip/{p-03656f9a.entry.js → p-0a6c9571.entry.js} +2 -2
  173. package/dist/roadtrip/{p-3f5dff96.entry.js → p-0b847a5d.entry.js} +2 -2
  174. package/dist/roadtrip/{p-e0421465.entry.js → p-0d7b6e32.entry.js} +2 -2
  175. package/dist/roadtrip/{p-a67eaba7.entry.js → p-0dce3168.entry.js} +3 -3
  176. package/dist/roadtrip/p-0dce3168.entry.js.map +1 -0
  177. package/dist/roadtrip/p-16726940.entry.js +2 -0
  178. package/dist/roadtrip/p-1ca62c28.entry.js +2 -0
  179. package/dist/roadtrip/{p-6d3d947e.entry.js.map → p-1ca62c28.entry.js.map} +1 -1
  180. package/dist/roadtrip/{p-60bd73ad.entry.js → p-327d424c.entry.js} +2 -2
  181. package/dist/roadtrip/{p-c6824205.entry.js → p-355fcb74.entry.js} +2 -2
  182. package/dist/roadtrip/p-4a0711c8.entry.js +2 -0
  183. package/dist/roadtrip/p-4a0711c8.entry.js.map +1 -0
  184. package/dist/roadtrip/p-4b1ac843.entry.js +2 -0
  185. package/dist/roadtrip/p-50d9ed52.entry.js +2 -0
  186. package/dist/roadtrip/{p-db77c354.entry.js.map → p-50d9ed52.entry.js.map} +1 -1
  187. package/dist/roadtrip/{p-e75ec60f.entry.js → p-56f18548.entry.js} +2 -2
  188. package/dist/roadtrip/{p-fe40ab3d.entry.js → p-5f2a4cd5.entry.js} +2 -2
  189. package/dist/roadtrip/{p-fd3c58b6.entry.js → p-5f6255ea.entry.js} +2 -2
  190. package/dist/roadtrip/{p-c28e7add.entry.js → p-6cde1247.entry.js} +2 -2
  191. package/dist/roadtrip/{p-6ff3b37c.entry.js → p-6e65c377.entry.js} +2 -2
  192. package/dist/roadtrip/p-6ef0a03b.entry.js +2 -0
  193. package/dist/roadtrip/{p-d80e7563.entry.js.map → p-6ef0a03b.entry.js.map} +1 -1
  194. package/dist/roadtrip/{p-2e049c8e.entry.js → p-780de42a.entry.js} +2 -2
  195. package/dist/roadtrip/{p-b5fa8c5a.entry.js → p-7d693464.entry.js} +2 -2
  196. package/dist/roadtrip/{p-517aeeca.entry.js → p-7ea16bfa.entry.js} +2 -2
  197. package/dist/roadtrip/p-80344aa2.entry.js +2 -0
  198. package/dist/roadtrip/p-80344aa2.entry.js.map +1 -0
  199. package/dist/roadtrip/p-8c6ad79a.entry.js +2 -0
  200. package/dist/roadtrip/{p-a254df6d.entry.js → p-a0c91322.entry.js} +2 -2
  201. package/dist/roadtrip/{p-c465f551.entry.js → p-a406a342.entry.js} +2 -2
  202. package/dist/roadtrip/{p-e6e9882b.entry.js → p-a5c363f2.entry.js} +2 -2
  203. package/dist/roadtrip/{p-5fea6a74.entry.js → p-ad9055c1.entry.js} +2 -2
  204. package/dist/roadtrip/{p-37430583.entry.js → p-b0203787.entry.js} +2 -2
  205. package/dist/roadtrip/{p-3dcaa947.entry.js → p-c01aaf61.entry.js} +2 -2
  206. package/dist/roadtrip/p-c09d87da.entry.js +2 -0
  207. package/dist/roadtrip/{p-8b04fc62.entry.js → p-cd1e078c.entry.js} +2 -2
  208. package/dist/roadtrip/p-cd436a46.entry.js +2 -0
  209. package/dist/roadtrip/{p-b8c5d292.entry.js.map → p-cd436a46.entry.js.map} +1 -1
  210. package/dist/roadtrip/p-d9cbd0b9.entry.js +2 -0
  211. package/dist/roadtrip/p-d9cbd0b9.entry.js.map +1 -0
  212. package/dist/roadtrip/{p-eac313e4.entry.js → p-da0e9f4e.entry.js} +2 -2
  213. package/dist/roadtrip/{p-ea1a175d.entry.js → p-df2f066e.entry.js} +2 -2
  214. package/dist/roadtrip/p-dfc0d1c5.entry.js +2 -0
  215. package/dist/roadtrip/p-dfc0d1c5.entry.js.map +1 -0
  216. package/dist/roadtrip/{p-c47ccbf2.entry.js → p-edfb6a90.entry.js} +2 -2
  217. package/dist/roadtrip/{p-950b8a43.entry.js → p-f1ef265d.entry.js} +2 -2
  218. package/dist/roadtrip/{p-167cd2fc.entry.js → p-f5bcb8d6.entry.js} +2 -2
  219. package/dist/roadtrip/{p-99a6faae.entry.js → p-f91b8ee7.entry.js} +2 -2
  220. package/dist/roadtrip/p-fb33aa91.entry.js +2 -0
  221. package/dist/roadtrip/{p-f1b53143.entry.js → p-ff430279.entry.js} +2 -2
  222. package/dist/roadtrip/roadtrip.esm.js +1 -1
  223. package/dist/roadtrip/roadtrip.esm.js.map +1 -1
  224. package/dist/types/components/input/input.d.ts +2 -2
  225. package/dist/types/components/radio-card/radio-card.d.ts +25 -0
  226. package/dist/types/components/radio-group/radio-group.d.ts +1 -0
  227. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  228. package/dist/types/components.d.ts +57 -4
  229. package/hydrate/index.js +192 -100
  230. package/hydrate/index.mjs +192 -100
  231. package/package.json +1 -1
  232. package/dist/roadtrip/p-06fbd2ea.entry.js +0 -2
  233. package/dist/roadtrip/p-06fbd2ea.entry.js.map +0 -1
  234. package/dist/roadtrip/p-215afdbd.entry.js +0 -2
  235. package/dist/roadtrip/p-449affa6.entry.js +0 -2
  236. package/dist/roadtrip/p-4675ea6d.entry.js +0 -2
  237. package/dist/roadtrip/p-65f9bd9c.entry.js +0 -2
  238. package/dist/roadtrip/p-6d3d947e.entry.js +0 -2
  239. package/dist/roadtrip/p-85b1e505.entry.js +0 -2
  240. package/dist/roadtrip/p-a67eaba7.entry.js.map +0 -1
  241. package/dist/roadtrip/p-b8c5d292.entry.js +0 -2
  242. package/dist/roadtrip/p-cfd2919e.entry.js +0 -2
  243. package/dist/roadtrip/p-cfd2919e.entry.js.map +0 -1
  244. package/dist/roadtrip/p-d80e7563.entry.js +0 -2
  245. package/dist/roadtrip/p-db77c354.entry.js +0 -2
  246. package/dist/roadtrip/p-e6c4c576.entry.js +0 -2
  247. package/dist/roadtrip/p-e6c4c576.entry.js.map +0 -1
  248. /package/dist/roadtrip/{p-6c617506.entry.js.map → p-02a6e387.entry.js.map} +0 -0
  249. /package/dist/roadtrip/{p-03656f9a.entry.js.map → p-0a6c9571.entry.js.map} +0 -0
  250. /package/dist/roadtrip/{p-3f5dff96.entry.js.map → p-0b847a5d.entry.js.map} +0 -0
  251. /package/dist/roadtrip/{p-e0421465.entry.js.map → p-0d7b6e32.entry.js.map} +0 -0
  252. /package/dist/roadtrip/{p-65f9bd9c.entry.js.map → p-16726940.entry.js.map} +0 -0
  253. /package/dist/roadtrip/{p-60bd73ad.entry.js.map → p-327d424c.entry.js.map} +0 -0
  254. /package/dist/roadtrip/{p-c6824205.entry.js.map → p-355fcb74.entry.js.map} +0 -0
  255. /package/dist/roadtrip/{p-215afdbd.entry.js.map → p-4b1ac843.entry.js.map} +0 -0
  256. /package/dist/roadtrip/{p-e75ec60f.entry.js.map → p-56f18548.entry.js.map} +0 -0
  257. /package/dist/roadtrip/{p-fe40ab3d.entry.js.map → p-5f2a4cd5.entry.js.map} +0 -0
  258. /package/dist/roadtrip/{p-fd3c58b6.entry.js.map → p-5f6255ea.entry.js.map} +0 -0
  259. /package/dist/roadtrip/{p-c28e7add.entry.js.map → p-6cde1247.entry.js.map} +0 -0
  260. /package/dist/roadtrip/{p-6ff3b37c.entry.js.map → p-6e65c377.entry.js.map} +0 -0
  261. /package/dist/roadtrip/{p-2e049c8e.entry.js.map → p-780de42a.entry.js.map} +0 -0
  262. /package/dist/roadtrip/{p-b5fa8c5a.entry.js.map → p-7d693464.entry.js.map} +0 -0
  263. /package/dist/roadtrip/{p-517aeeca.entry.js.map → p-7ea16bfa.entry.js.map} +0 -0
  264. /package/dist/roadtrip/{p-4675ea6d.entry.js.map → p-8c6ad79a.entry.js.map} +0 -0
  265. /package/dist/roadtrip/{p-a254df6d.entry.js.map → p-a0c91322.entry.js.map} +0 -0
  266. /package/dist/roadtrip/{p-c465f551.entry.js.map → p-a406a342.entry.js.map} +0 -0
  267. /package/dist/roadtrip/{p-e6e9882b.entry.js.map → p-a5c363f2.entry.js.map} +0 -0
  268. /package/dist/roadtrip/{p-5fea6a74.entry.js.map → p-ad9055c1.entry.js.map} +0 -0
  269. /package/dist/roadtrip/{p-37430583.entry.js.map → p-b0203787.entry.js.map} +0 -0
  270. /package/dist/roadtrip/{p-3dcaa947.entry.js.map → p-c01aaf61.entry.js.map} +0 -0
  271. /package/dist/roadtrip/{p-85b1e505.entry.js.map → p-c09d87da.entry.js.map} +0 -0
  272. /package/dist/roadtrip/{p-8b04fc62.entry.js.map → p-cd1e078c.entry.js.map} +0 -0
  273. /package/dist/roadtrip/{p-eac313e4.entry.js.map → p-da0e9f4e.entry.js.map} +0 -0
  274. /package/dist/roadtrip/{p-ea1a175d.entry.js.map → p-df2f066e.entry.js.map} +0 -0
  275. /package/dist/roadtrip/{p-c47ccbf2.entry.js.map → p-edfb6a90.entry.js.map} +0 -0
  276. /package/dist/roadtrip/{p-950b8a43.entry.js.map → p-f1ef265d.entry.js.map} +0 -0
  277. /package/dist/roadtrip/{p-167cd2fc.entry.js.map → p-f5bcb8d6.entry.js.map} +0 -0
  278. /package/dist/roadtrip/{p-99a6faae.entry.js.map → p-f91b8ee7.entry.js.map} +0 -0
  279. /package/dist/roadtrip/{p-449affa6.entry.js.map → p-fb33aa91.entry.js.map} +0 -0
  280. /package/dist/roadtrip/{p-f1b53143.entry.js.map → p-ff430279.entry.js.map} +0 -0
@@ -43,10 +43,11 @@ export default {
43
43
  control: 'text',
44
44
  },
45
45
  roadchange: {
46
- description: "Emitted when the value has changed.",
47
46
  action: 'roadchange',
48
- control: {
49
- type: null,
47
+ description: "Emitted when the value has changed.",
48
+ table: {
49
+ category: 'Events',
50
+ type: { summary: 'CustomEvent' },
50
51
  },
51
52
  },
52
53
  disabled: {
@@ -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: 'd81a376cdf8e7a268335c62cadff3a3a5945c334' }, h("div", { key: 'c7f9a63a11399a60d3daa6e3f8f11b8b4f640e96', 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: '5b1a38a0f8fdabe757a79f7b5000481d03d8225e', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && h("road-label", { key: '337a9e94914d57278d8d15c8889b258bff8ea751', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
40
+ return (h(Host, { key: '85efd8ef2ccfcecd3740e72a5ba7ce4760e0d9d6' }, h("div", { key: 'eab49904c7777e7f760d8ea79d970a76f0e1e32d', 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: 'd63c93743802e7fd5cb49c972bc39802eb6ee586', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && h("road-label", { key: '57ca56a99dfa88b79b242a6b1ab92c08596bd0a8', 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: '891c70924e7955aa953e3e233cd57dd6aff4068a' }, h("slot", { key: 'acb726260f4492a126b9aa1f51d89b329bf6a09c' })));
7
+ return (h(Host, { key: '6ee0a00bc04c580a827d19c99ec3e818d6def582' }, h("slot", { key: '6ad15bc804554c3e72dec334b40d7d28e277e92f' })));
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: 'c94bfffcbff45b20dc349a3545bd195a95d68273', 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: '6433591d09a54719de64718201a2a51ad79ae28b', 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: '87ee95ccb7c44cfe7bff797d1b693f1ae4cf0ad7', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, h("slot", { key: 'a6fd94b01bba4f71b3689f62a736050e7132add0' }))));
58
+ } }, h("span", { key: 'f3e0bf769c686b17171afe0130ac5e4736aa2ff4', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, h("slot", { key: '496201687fa4e9138d1a817215c4c90255f7232c' }))));
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: 'cbe94587012819876109399d72bb1715ac334a9f', role: "tablist" }, h("slot", { key: 'a1ba2feec5c649ea44f6b534a10a18fc738fede5' })));
21
+ return (h(Host, { key: 'afd642615f117aadf941aa07e1006b87bc7af6ee', role: "tablist" }, h("slot", { key: '331b574bb64568dc247cd9789232d4dffebec937' })));
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: '8e28299a9d4821c74d9e62b25b6b8ad72fac01da', onRoadSegmentedButtonClick: this.onTabClicked }, h("slot", { key: '2e154363be587d35480818a016f9bc8973709724', name: "top" }), h("slot", { key: '77044401892a3a9245eb9029178d82df516c7252' })));
89
+ return (h(Host, { key: '0fe1c4ddf4b2d269ed66c456e411263d8de29c3f', onRoadSegmentedButtonClick: this.onTabClicked }, h("slot", { key: 'da756417993e0157ed3a7a4dda96abcdfc3d6c05', name: "top" }), h("slot", { key: '37678b31b482735d1a1cc5ed2c37f4a8d4d7ee4b' })));
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: '81206f7f9840b7700814260f6a7b8cf78fd7e536', class: this.sizes && `select-${this.sizes}` }, h("select", { key: '8118f6d0f6c2d59be3d0c873398c195a8525c0cc', 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: '4e87320134e62248e7c9e805761226f5403472a9', 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: '32191859474bee5f86d21ad9f81d01bc088d07cd', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && h("p", { key: '47ecadf397bc303ca9347fc2c426dd4a3f608057', class: "invalid-feedback" }, this.error)));
95
+ return (h(Host, { key: 'f587a8414c05e32346f937765d28bce047615a39', class: this.sizes && `select-${this.sizes}` }, h("select", { key: 'e7b292e72914e7dacf0291609a0cb1d65eb0a3fa', 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: '24d8ce15efedece915747955ae8a0842e5578e54', 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: '128f0f39050595aac1833f642b2742429a4c96cd', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && h("p", { key: '94fffc12a2be58bf311b4588ead8fa0331e0c3ca', class: "invalid-feedback" }, this.error)));
96
96
  }
97
97
  static get is() { return "road-select"; }
98
98
  static get encapsulation() { return "scoped"; }
@@ -54,22 +54,27 @@ export default {
54
54
  control: 'text',
55
55
  },
56
56
  roadblur: {
57
+ action: 'roadblur',
57
58
  description: "Emitted when the select loses focus.",
58
- control: {
59
- type: null,
59
+ table: {
60
+ category: 'Events',
61
+ type: { summary: 'CustomEvent' },
60
62
  },
61
63
  },
62
64
  roadfocus: {
65
+ action: 'roadfocus',
63
66
  description: "Emitted when the select has focus.",
64
- control: {
65
- type: null,
67
+ table: {
68
+ category: 'Events',
69
+ type: { summary: 'CustomEvent' },
66
70
  },
67
71
  },
68
72
  roadchange: {
69
- description: "Emitted when the value has changed.",
70
73
  action: 'roadchange',
71
- control: {
72
- type: null,
74
+ description: "Emitted when the value has changed.",
75
+ table: {
76
+ category: 'Events',
77
+ type: { summary: 'CustomEvent' },
73
78
  },
74
79
  },
75
80
  },
@@ -107,8 +107,8 @@ export class SelectFilter {
107
107
  const options = this.filteredOptions;
108
108
  const isActive = this.isActive ? 'true' : 'false';
109
109
  const notActive = this.isActive ? '' : 'not-active';
110
- return (h(Host, { key: '4443cee3d13ade9d17d364aa112f7d13ac9a27d1', "is-active": isActive }, h("slot", { key: 'ed15841a9e665154f9988f76e8ac56c1788fd750' }), this.isOpen &&
111
- h("ul", { key: '4ab28fd0fb00759e86e30fe14ded0de207dfde7c', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.map((option, idx) => (h("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: () => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, "")), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 }))))));
110
+ return (h(Host, { key: 'ff1cb375e4108fbfe44f307ad6d00be4fec03430', "is-active": isActive }, h("slot", { key: '987d24b1f5ad17ef8a0e83e3165d1e137bf4d6e5' }), this.isOpen &&
111
+ h("ul", { key: '41e10aed226c8131e4313ea33da1ea6c79969b80', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.map((option, idx) => (h("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: () => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, "")), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 }))))));
112
112
  }
113
113
  static get is() { return "road-select-filter"; }
114
114
  static get encapsulation() { return "scoped"; }
@@ -29,8 +29,10 @@ export default {
29
29
  },
30
30
  roadselected: {
31
31
  action: 'roadselected',
32
- control: {
33
- type: null,
32
+ description: 'Emitted when the value is selected.',
33
+ table: {
34
+ category: 'Events',
35
+ type: { summary: 'CustomEvent' },
34
36
  },
35
37
  },
36
38
  '--margin-top': {
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class Skeleton {
3
3
  render() {
4
- return (h("span", { key: '76fc5d6e478e6486b0f4f3e5e3afd7e1a8c0049f' }, "\u00A0"));
4
+ return (h("span", { key: 'cf58a469e049fce0303bf49ec1c86233b1b4e305' }, "\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: '66ff9c668eec8fc73a2f93015094934b9fb0b181', class: `${sizeClass}`, viewBox: "25 25 50 50" }, h("circle", { key: '5b2c9b4c104607084c0d2249c5b7dc31429ad39a', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
16
+ return (h("svg", { key: '3e1e5094311da649229f7fa9b3bc7b12d5251cda', class: `${sizeClass}`, viewBox: "25 25 50 50" }, h("circle", { key: '6257e336cdf32cfa80973f4466eb9adcbf7fa239', 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"; }
@@ -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: 'f8a8b7641286294d251bc6d10b45fc97607cba49', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
73
+ const textLabel = h("label", { key: 'a94f02e2edb416513ef6285b89c221a8fe1d5884', 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: '9c43f0996fdcd4962776919b92b94eb7fbb9ad57' }, h("input", { key: '756db832dbd73ec0c59ed9ec2ae76b1851a8f22d', 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: '927bdd4ef11db9a6039ffd028994caa4667519fe', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, h("div", { key: '0f3011ab70a432f99319331bb0e2009fa11e50ce', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
77
+ return (h(Host, { key: '5f93e9f0cd857f38d2f70152774b2ae0239ed342' }, h("input", { key: '42528718ca88666d428048a7477ac9ba611f12aa', 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: '0d5c0ef117c9235387e47b628c9036c3844cb9be', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, h("div", { key: '0d16ade7abfe28bae3f7d756b89799aa737dd653', 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: '24b66a77921452273dbf57f3f44ac3cffbaecf8f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
24
+ return (h(Host, { key: '4559e255fa71417fe4fcd713b91c2186d55653c0', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
25
25
  'tab-hidden': !active,
26
- } }, h("slot", { key: '63f0d57bf74b8d562fecfbc881f8199d68080e89' })));
26
+ } }, h("slot", { key: '3ec299696cf719bf911fe0c27befb34d8de3afcd' })));
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: '7c2795d50362e570f6a3371fde1e987bfc6389fd', role: "tablist", class: {
39
+ return (h(Host, { key: '793bbb41d74e6e4dd0a7a5ee67b418fd59f61c7c', role: "tablist", class: {
40
40
  'tab-expand': expand,
41
41
  'tab-center': center,
42
42
  'tab-secondary': secondary,
43
- } }, h("slot", { key: '94d18f97a0e96a8e8cef400b4b08feef32210782' })));
43
+ } }, h("slot", { key: '4e2713a1a01ed7fcd8503a8231223d2793e8f808' })));
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: '1bf7c7301f66cecd4bfbf5cb332fb443dbd17a73', 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: '4766bf5988d063443b6a7958fe1c18ab20b4392d', 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: 'c15a1634befc28787a96baa630bcb65bfac9dcc7' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: '8f1f273aea98fd8680b5787223f8fe730055d9c3', class: "button-inner" }, h("slot", { key: '24f7dceead533f266dcdd4cb80f792b2ae85db2c' })))));
82
+ } }, h("a", Object.assign({ key: 'f11c00761d9057129770874f321f3afaa18a53e0' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: '51c886bf60aa0544124c0e2cb19b20d9e0bb720e', class: "button-inner" }, h("slot", { key: '6f7d6d16789eb4db922fd3b49cbbe2df68fc71a1' })))));
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: '1255550161fc3591df1269296d7dbd2bd2dc86b6' }));
7
+ return (h("slot", { key: '82316326496fee8116dbdc08996a51aa46848cfe' }));
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: 'bc3d78f5653f637d9b0c23a732cfb715a0490e09', onRoadTabButtonClick: this.onTabClicked }, h("slot", { key: 'be1082d53eb88ff1e0aa1222dbea8a5bcc65c77a', name: "top" }), h("div", { key: '4e29d83d3f1473b27b720a049c7201f632fbe11b', class: "tabs-inner" }, h("slot", { key: 'd9ed82d2d6cb976d65c9349e286190033f859ebd' }))));
102
+ return (h(Host, { key: '156304acaa7819f6a6420cc16ef1610e3ac3c729', onRoadTabButtonClick: this.onTabClicked }, h("slot", { key: 'd955421ac3b039e41c557ca80f02e9dba4c8bae1', name: "top" }), h("div", { key: 'a44620d8828baeeb94eee27d59a598de1ae6c723', class: "tabs-inner" }, h("slot", { key: '493a7741ad834c244c4c01ac7875b94a0e698b20' }))));
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: '474f7b6662f78c0258d4573377bca6c8cda09bbb', class: `${contrastClass}` }, h("slot", { key: 'f58667d0bd8ffc1839df5b0c1572447d8445d4ae' })));
19
+ return (h(Host, { key: '03130dbfae36eca95f41b5a0024b7b4cd06c310a', class: `${contrastClass}` }, h("slot", { key: '5adabe2b8a1ef7a17fca7dcd24fbaf0cf234ab6e' })));
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: 'bb23b71b76a33ff446f23c24ba4f53f41bf2445f', class: `${colorClass}` }, h("slot", { key: 'd1a14d98cae107a96314bbaea01687183cf60447' })));
14
+ return (h(Host, { key: 'ce661d8700a5de9f45c8eadb585db40c170ab783', class: `${colorClass}` }, h("slot", { key: '403d340719d454fb54288e5447beb06e0fa429ac' })));
15
15
  }
16
16
  static get is() { return "road-text"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -124,6 +124,9 @@
124
124
  pointer-events: none;
125
125
  transition: transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
126
126
  transform-origin: 0 0;
127
+ width: 95%;
128
+ white-space: normal;
129
+ overflow-wrap: break-word;
127
130
  }
128
131
 
129
132
  /* SIZES
@@ -146,12 +149,12 @@
146
149
  :host(.input-xl) .form-control.has-value ~ .form-label,
147
150
  :host(.input-xl) .form-control[type="date"] ~ .form-label,
148
151
  :host(.input-xl) .form-control[type="time"] ~ .form-label {
149
- width: 100vw;
152
+ width:100%;
150
153
  transform: scale(0.75) translateY(-0.625rem);
151
154
  }
152
155
 
153
156
  :host(.input-xl) .form-control:placeholder-shown ~ .form-label {
154
- width: 100vw;
157
+ width: 100%;
155
158
  transform: scale(0.75) translateY(-0.625rem);
156
159
  }
157
160
 
@@ -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: '8f1bce355f73fef1b81fb71025b23aa9734106a2', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, h("textarea", { key: 'eefe6f4bcb3723e01c5b5a7b30b52eddd947de54', 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: '8a2dd19323c6bb8b889b35328081d75d143a36e9', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && h("p", { key: '514875f36258918863ec6320c870fe4454d3ece2', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: '586ba5819e534bc379788b45b6160e8880cff3a0', class: "helper" }, this.helper)));
85
+ return (h(Host, { key: 'c975447632482840e56666485cecf4713d1c758b', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, h("textarea", { key: 'de0054b753bf6d54722ee04e31d320a71d3a7c2f', 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: 'a9b5b3d50110501e54d55c65485b4cd71b18f0e3', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && h("p", { key: '98af05a2b982faa261cd6330a267870bd0011e71', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: '5f37d2a87cb0f3c73e33efe9e301aab4a28b3041', class: "helper" }, this.helper)));
86
86
  }
87
87
  static get is() { return "road-textarea"; }
88
88
  static get encapsulation() { return "scoped"; }
@@ -120,29 +120,35 @@ export default {
120
120
  },
121
121
  },
122
122
  roadblur: {
123
- description: "Emitted when the textarea loses focus.",
124
- control: {
125
- type: null,
123
+ action: 'roadblur',
124
+ description: 'Emitted when the input loses focus.',
125
+ table: {
126
+ category: 'Events',
127
+ type: { summary: 'CustomEvent' },
126
128
  },
127
129
  },
128
130
  roadfocus: {
129
- description: "Emitted when the textarea has focus.",
130
- control: {
131
- type: null,
131
+ action: 'roadfocus',
132
+ description: 'Emitted when the input loses focus.',
133
+ table: {
134
+ category: 'Events',
135
+ type: { summary: 'CustomEvent' },
132
136
  },
133
137
  },
134
138
  roadchange: {
135
- description: "Emitted when the value has changed.",
136
139
  action: 'roadchange',
137
- control: {
138
- type: null,
140
+ description: 'Emitted when the value has changed.',
141
+ table: {
142
+ category: 'Events',
143
+ type: { summary: 'CustomEvent' },
139
144
  },
140
145
  },
141
146
  roadinput: {
142
- description: "Emitted when a keyboard input occurred.",
143
147
  action: 'roadinput',
144
- control: {
145
- type: null,
148
+ description: "Emitted when a keyboard input occurred.",
149
+ table: {
150
+ category: 'Events',
151
+ type: { summary: 'CustomEvent' },
146
152
  },
147
153
  },
148
154
  },
@@ -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: '1e5de437f471e4a0a4c4a328b41c39e2f84aeb87', class: `${toastIsOpenClass}`, role: "alert" }, h("div", { key: '1086cd53128b3312632be7e791fdb83c2b44a931', class: `toast toast-${this.color}` }, h("road-icon", { key: '053ac170976e5266f80b584943ef9fe6c440d290', class: "toast-icon", icon: icon, "aria-hidden": "true" }), h("p", { key: 'edcbf5c89984660d5c8eb82a329d22ea941e6fdc', class: "toast-label" }, this.label), h("button", { key: '7ca0f0ee6c0166be548ff66423772dd8f74b0ecb', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, h("road-icon", { key: 'd11b87da89cf1057349214b04468e387484db3da', icon: navigationClose, size: "md" })), h("slot", { key: 'd4db3d4c547ea47bd1aab1a462b8975d8b4368d6', name: "progress" }))));
89
+ return (h(Host, { key: '351715fec925da6fd5e8e6a4472641ea72b4a6a9', class: `${toastIsOpenClass}`, role: "alert" }, h("div", { key: '196d201202dbf45d927c2d7c39b8b0d30b9d29c6', class: `toast toast-${this.color}` }, h("road-icon", { key: 'ad32e677786cad46be2183ca649fc680e43d3b93', class: "toast-icon", icon: icon, "aria-hidden": "true" }), h("p", { key: '2146a9cde7ea10fdd61e8f6342dc8bb8c3de2c49', class: "toast-label" }, this.label), h("button", { key: 'ce28e9b8eecc98e798349a92d71c7e5ba8873944', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, h("road-icon", { key: 'b46a0b3dfd3d8c583b97acb4cf619f53f19f2bab', icon: navigationClose, size: "md" })), h("slot", { key: '4905ebcf66402dc304218db52c3d2cb5cbc41139', name: "progress" }))));
90
90
  }
91
91
  static get is() { return "road-toast"; }
92
92
  static get encapsulation() { return "shadow"; }
@@ -37,9 +37,11 @@ export default {
37
37
  },
38
38
  close: {
39
39
  description: "Indicate when closing the toast",
40
- control: {
41
- type: null,
40
+ table: {
41
+ category: 'Events',
42
+ type: { summary: 'CustomEvent' },
42
43
  },
44
+ control: { type: null }, // Désactive l'affichage du contrôle dans Storybook
43
45
  },
44
46
  progress: {
45
47
  description: "the progress bar in the toast.\ncolor=\"info\" for Info\ncolor=\"success\" for success\ncolor=\"warning\" for warning\ncolor=\"danger\" for danger",
@@ -66,11 +66,11 @@ export class toggle {
66
66
  }
67
67
  render() {
68
68
  const labelId = this.toggleId + '-label';
69
- const textLabel = h("label", { key: 'd8f6f793ae322fc4f3c78d627858836a8ace0b1e', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
69
+ const textLabel = h("label", { key: 'a6f6e6a7afaeebdf6f72430ae0044299cbc4b272', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
70
70
  const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
71
71
  const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
72
72
  const disabledClass = this.disabled ? 'disabled' : '';
73
- return (h(Host, { key: '5b975533cbd7705fb47773942d43ca00f9c67777' }, h("input", { key: '2f02aaaf3815db82b246eccc65b95ff80028fef3', 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: '922fd52175937ca1749eac085776411c2f6b2517', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, h("div", { key: '0b7e003b92aaa2bb7f02ac19bba110d959349d84', class: `form-toggle-lever ${righttoggleClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
73
+ return (h(Host, { key: '6954fa13dc3f49af5c8d8b94f4436915b461843c' }, h("input", { key: '3ee599b527d81fade1ecf752baa9647294de1286', 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: '7650fa09df528c9b4ac08d71336443707ee2648f', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, h("div", { key: '69a1ad619c7f748d225f1a474813bfbc3ff79fe2', class: `form-toggle-lever ${righttoggleClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
74
74
  }
75
75
  static get is() { return "road-toggle"; }
76
76
  static get encapsulation() { return "scoped"; }
@@ -51,22 +51,27 @@ export default {
51
51
  control: 'boolean',
52
52
  },
53
53
  roadblur: {
54
+ action: 'roadblur',
54
55
  description: "Emitted when the toggle loses focus.",
55
- control: {
56
- type: null,
56
+ table: {
57
+ category: 'Events',
58
+ type: { summary: 'CustomEvent' },
57
59
  },
58
60
  },
59
61
  roadfocus: {
62
+ action: 'roadfocus',
60
63
  description: "Emitted when the toggle has focus.",
61
- control: {
62
- type: null,
64
+ table: {
65
+ category: 'Events',
66
+ type: { summary: 'CustomEvent' },
63
67
  },
64
68
  },
65
69
  roadchange: {
66
- description: "Emitted when the checked property has changed.",
67
70
  action: 'roadchange',
68
- control: {
69
- type: null,
71
+ description: "Emitted when the checked property has changed.",
72
+ table: {
73
+ category: 'Events',
74
+ type: { summary: 'CustomEvent' },
70
75
  },
71
76
  },
72
77
  '--toggle-lever-width': {
@@ -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: '3babdf893a7a89e310b620737ef852ee133ccebb', class: colorClass }, h("div", { key: 'de9400a86c87d427d22b496cd6ceb31cb93ccf54', class: "toolbar-container" }, h("slot", { key: '50559e69631b7581ad67338aea96acd42926b9ab', name: "start" }), h("slot", { key: '40bcbd63fb2f83d7c8294154734c58c0650ee182', name: "primary" }), h("div", { key: '4eec60ca600f33e3e0c6d9056c9913d8df7e62bd', class: "toolbar-content" }, h("slot", { key: 'f1105dc9a8ac7ff4cfc7e8e166d8a0e13c1bee73' })), h("slot", { key: 'ca6e18fc20fb0a636d54573ffb99074940e41bcc', name: "secondary" }), h("slot", { key: 'c73721561d9d3d38c38a9dc453757b185bbd81a5', name: "end" }))));
13
+ return (h(Host, { key: 'e73328139400d6f013e7beecab915cf38df79a23', class: colorClass }, h("div", { key: 'c83dfa77c85cca464db9fd21eed80efe21cc2573', class: "toolbar-container" }, h("slot", { key: '776839dba2b309b5de820daf9c480b4e8b401c43', name: "start" }), h("slot", { key: '5e81470ffc0f7d8d8cb47b7e4463d34d70d7f709', name: "primary" }), h("div", { key: '772294cc4194faf593c95c8cac10490b44bd5605', class: "toolbar-content" }, h("slot", { key: '1dd60892af9491f0f552f29d70f2f678481d5654' })), h("slot", { key: '749502b121ed0c7b92bf7d21db885642d0f0fe2f', name: "secondary" }), h("slot", { key: '5766725c5390520eee5a03bb2f8f41e1a64e84df', 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: '79254e204a533572207f3779ee0d20d814bbbecd', class: "toolbar-title" }, h("slot", { key: '29cce3ccf19f113e99e1b2b4c84322efc0b94f94' })));
7
+ return (h("div", { key: '2bc8875e6f067415f19c944cc319a9457fa305df', class: "toolbar-title" }, h("slot", { key: '7031e74b2fec0447701528d2a0c02795a038f281' })));
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: 'dc61258415913c4112dd06bcc23a94db38fab00e', class: "toolbar-title-page" }, h("slot", { key: 'f39c19ff690566100558556751e8380bb448eb72' })));
7
+ return (h("div", { key: 'd76c2100a700d99524ec69c76bf08e56ff7d0998', class: "toolbar-title-page" }, h("slot", { key: '9f22898e163ba4e81ff054b46a3e5e640abf7a7b' })));
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: 'a020bd723a459c6bb443645007df7b1f215ea851', class: "toolbar" }, h("div", { key: '2d2cc4b896593cf69c7046ee877b5c9b7ba53eb5', class: "toolbar-container" }, h("div", { key: '55c6f4b55cc7c5ddae5965a156bcfb6cafec1d49', class: "toolbar-container-content-left" }, h("slot", { key: '6b249b32d73240846717ac50a8d1544511a2fe6d', name: "start" }), h("slot", { key: '9187ad0c4fc712d3ad16af1f72db9bd7382d8e6e', name: "primary" })), h("div", { key: 'f5936eb58c38d6cd5758d213f40e6bc09df3f7e8', class: "toolbar-content" }, h("slot", { key: 'c61051186fb1f726fcc104d9f3a827e091b46ff3' })), h("div", { key: '7ee04f220d5377315bc8c320461963def7a7d05f', class: "toolbar-container-content-right" }, h("slot", { key: '196976ade22edf382dee91352082d31b5fce015f', name: "secondary" }), h("slot", { key: 'ea25da8140c7525ce6ed3e712c64ccb105fcbb71', name: "end" })))));
12
+ return (h(Host, { key: 'c2aa891f0a092a2ad818049cd7bd8216921085d6', class: "toolbar" }, h("div", { key: '0c8154579c5c164907b6a9f8e28c65e85a9383c8', class: "toolbar-container" }, h("div", { key: '5b7b972cf8e9d8728438e6beef791753c9ed8122', class: "toolbar-container-content-left" }, h("slot", { key: 'a388f0d9cc1aa4624fd456ab5fd6adc978adeb79', name: "start" }), h("slot", { key: '747be87afdac650da865f8b47ee63d8d228e4dc6', name: "primary" })), h("div", { key: '8377a0ab5534f3979572dd2a06cc39290ca6acdc', class: "toolbar-content" }, h("slot", { key: '7a74325743d4eef911088f09a242c0a0fb740999' })), h("div", { key: '03077029d30c10847b70b9b910cceedbd575fad0', class: "toolbar-container-content-right" }, h("slot", { key: '00590e6e694304b4a78634905332d8450c5679ed', name: "secondary" }), h("slot", { key: '3debaefb441cfb2a6bd5c1fa2555a500e3770bc8', name: "end" })))));
13
13
  }
14
14
  static get is() { return "road-toolbar-v2"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -115,6 +115,20 @@
115
115
  transform: translateY(-100%);
116
116
  }
117
117
 
118
+ /**
119
+ * Top end
120
+ */
121
+
122
+ :host([data-tooltip-position="top-end"]) .tooltip {
123
+ left: auto;
124
+ right: 0%;
125
+ transform: translateY(-70%);
126
+ }
127
+
128
+ :host([data-tooltip-position="top-end"]) .tooltip-open {
129
+ transform: translateY(-100%);
130
+ }
131
+
118
132
  /**
119
133
  * Left
120
134
  */
@@ -175,6 +189,23 @@
175
189
  transform: translateY(-6%);
176
190
  }
177
191
 
192
+
193
+ /**
194
+ * Bottom end
195
+ */
196
+
197
+ :host([data-tooltip-position="bottom-end"]) .tooltip {
198
+ margin-top: 0.5rem;
199
+ left: auto;
200
+ top: 100%;
201
+ right: 0;
202
+ transform: translateY(-40%);
203
+ }
204
+
205
+ :host([data-tooltip-position="bottom-end"]) .tooltip-open {
206
+ transform: translateY(-6%);
207
+ }
208
+
178
209
  /**
179
210
  * Right
180
211
  */
@@ -95,12 +95,12 @@ export class Tooltip {
95
95
  return triggers.includes(triggerType);
96
96
  }
97
97
  render() {
98
- return (h(Host, { key: 'a41350a6114e63e0d73759b29c0afa19d467ac4b', onMouseOver: this.onMouseOver, onMouseOut: this.onMouseOut, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, tabindex: "0" // Makes the element focusable
98
+ return (h(Host, { key: '2645780b6948b64ee79bebba713a1bc96bf3edc9', onMouseOver: this.onMouseOver, onMouseOut: this.onMouseOut, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, tabindex: "0" // Makes the element focusable
99
99
  ,
100
- "data-tooltip-position": this.position }, h("slot", { key: 'e2985be0f2af606eb675875a1ef0e53190c54b50', "aria-describedby": this.tooltipId }), h("div", { key: '45f8da72265c812ebbc781cafd7356f02294c2ae', part: "tooltip", id: this.tooltipId, class: {
100
+ "data-tooltip-position": this.position }, h("slot", { key: '968912545c373f15578acfa6d251393f9713beea', "aria-describedby": this.tooltipId }), h("div", { key: 'a64601f45c06e1087e0f955dc6dd958fcec40268', part: "tooltip", id: this.tooltipId, class: {
101
101
  tooltip: true,
102
102
  'tooltip-open': this.isOpen,
103
- }, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, h("slot", { key: 'a3d80cc2d48e26c0a5c2f45e38854601c1f3ea83', name: "tooltip-content" }))));
103
+ }, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, h("slot", { key: 'a0cd1d74da1cd571bb847b04ae609dd3a3cc281d', name: "tooltip-content" }))));
104
104
  }
105
105
  static get is() { return "road-tooltip"; }
106
106
  static get encapsulation() { return "shadow"; }
@@ -160,8 +160,8 @@ export class Tooltip {
160
160
  "type": "string",
161
161
  "mutable": false,
162
162
  "complexType": {
163
- "original": "| 'top'\n | 'right'\n | 'bottom'\n | 'top-left'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-right'\n | 'left'",
164
- "resolved": "\"bottom\" | \"bottom-left\" | \"bottom-right\" | \"left\" | \"right\" | \"top\" | \"top-left\" | \"top-right\"",
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'",
164
+ "resolved": "\"bottom\" | \"bottom-end\" | \"bottom-left\" | \"bottom-right\" | \"bottom-start\" | \"left\" | \"right\" | \"top\" | \"top-end\" | \"top-left\" | \"top-right\" | \"top-start\"",
165
165
  "references": {}
166
166
  },
167
167
  "required": false,