@roadtrip/components 3.33.7 → 3.34.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 (249) hide show
  1. package/dist/cjs/road-badge_14.cjs.entry.js +14 -10
  2. package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
  3. package/dist/cjs/road-modal.cjs.entry.js +1 -1
  4. package/dist/cjs/road-navbar-item-v2.cjs.entry.js +2 -2
  5. package/dist/cjs/road-navbar-item.cjs.entry.js +2 -2
  6. package/dist/cjs/road-navbar-v2.cjs.entry.js +1 -1
  7. package/dist/cjs/road-navbar.cjs.entry.js +1 -1
  8. package/dist/cjs/road-phone-number-input.cjs.entry.js +2 -2
  9. package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
  10. package/dist/cjs/road-profil-dropdown.cjs.entry.js +1 -1
  11. package/dist/cjs/road-progress-indicator-horizontal.cjs.entry.js +1 -1
  12. package/dist/cjs/road-progress-indicator-vertical-item.cjs.entry.js +1 -1
  13. package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +1 -1
  14. package/dist/cjs/road-progress-tracker-item.cjs.entry.js +1 -1
  15. package/dist/cjs/road-progress-tracker.cjs.entry.js +1 -1
  16. package/dist/cjs/road-progress.cjs.entry.js +1 -1
  17. package/dist/cjs/road-radio-group.cjs.entry.js +1 -1
  18. package/dist/cjs/road-radio.cjs.entry.js +1 -1
  19. package/dist/cjs/road-range.cjs.entry.js +2 -2
  20. package/dist/cjs/road-rating.cjs.entry.js +1 -1
  21. package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
  22. package/dist/cjs/road-segmented-button.cjs.entry.js +2 -2
  23. package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
  24. package/dist/cjs/road-select-filter.cjs.entry.js +2 -2
  25. package/dist/cjs/road-select.cjs.entry.js +1 -1
  26. package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
  27. package/dist/cjs/road-spinner.cjs.entry.js +1 -1
  28. package/dist/cjs/road-switch.cjs.entry.js +2 -2
  29. package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
  30. package/dist/cjs/road-tab-button.cjs.entry.js +2 -2
  31. package/dist/cjs/road-tab.cjs.entry.js +2 -2
  32. package/dist/cjs/road-table.cjs.entry.js +1 -1
  33. package/dist/cjs/road-tabs.cjs.entry.js +1 -1
  34. package/dist/cjs/road-tag.cjs.entry.js +1 -1
  35. package/dist/cjs/road-text.cjs.entry.js +1 -1
  36. package/dist/cjs/road-textarea.cjs.entry.js +1 -1
  37. package/dist/cjs/road-toast.cjs.entry.js +1 -1
  38. package/dist/cjs/road-toggle.cjs.entry.js +2 -2
  39. package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
  40. package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
  41. package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
  42. package/dist/cjs/road-tooltip.cjs.entry.js +4 -4
  43. package/dist/cjs/road-tooltip.cjs.entry.js.map +1 -1
  44. package/dist/collection/components/input/input.css +1 -0
  45. package/dist/collection/components/input/input.js +8 -4
  46. package/dist/collection/components/input/input.js.map +1 -1
  47. package/dist/collection/components/input/input.stories.js +25 -9
  48. package/dist/collection/components/input-group/input-group.js +1 -1
  49. package/dist/collection/components/item/item.js +3 -3
  50. package/dist/collection/components/label/label.js +1 -1
  51. package/dist/collection/components/list/list.js +2 -2
  52. package/dist/collection/components/modal/modal.js +1 -1
  53. package/dist/collection/components/modal/modal.stories.js +4 -3
  54. package/dist/collection/components/navbar/navbar.js +1 -1
  55. package/dist/collection/components/navbar-item/navbar-item.js +2 -2
  56. package/dist/collection/components/navbar-item-v2/navbar-item-v2.js +2 -2
  57. package/dist/collection/components/navbar-v2/navbar-v2.js +1 -1
  58. package/dist/collection/components/phone-number-input/phone-number-input.js +2 -2
  59. package/dist/collection/components/plate-number/plate-number.js +2 -2
  60. package/dist/collection/components/plate-number/plate-number.stories.js +18 -12
  61. package/dist/collection/components/profil-dropdown/profil-dropdown.js +1 -1
  62. package/dist/collection/components/progress/progress.js +1 -1
  63. package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.js +1 -1
  64. package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js +1 -1
  65. package/dist/collection/components/progress-indicator-vertical-item/progress-indicator-vertical-item.js +1 -1
  66. package/dist/collection/components/progress-tracker/progress-tracker.js +1 -1
  67. package/dist/collection/components/progress-tracker-item/progress-tracker-item.js +1 -1
  68. package/dist/collection/components/radio/radio.js +1 -1
  69. package/dist/collection/components/radio/radio.stories.js +12 -6
  70. package/dist/collection/components/radio-group/radio-group.js +1 -1
  71. package/dist/collection/components/range/range.js +2 -2
  72. package/dist/collection/components/range/range.stories.js +4 -3
  73. package/dist/collection/components/rating/rating.js +1 -1
  74. package/dist/collection/components/row/row.js +1 -1
  75. package/dist/collection/components/segmented-button/segmented-button.js +2 -2
  76. package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
  77. package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
  78. package/dist/collection/components/select/select.js +1 -1
  79. package/dist/collection/components/select/select.stories.js +12 -7
  80. package/dist/collection/components/select-filter/select-filter.js +2 -2
  81. package/dist/collection/components/select-filter/select-filter.stories.js +4 -2
  82. package/dist/collection/components/skeleton/skeleton.js +1 -1
  83. package/dist/collection/components/spinner/spinner.js +1 -1
  84. package/dist/collection/components/switch/switch.js +2 -2
  85. package/dist/collection/components/tab/tab.js +2 -2
  86. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  87. package/dist/collection/components/tab-button/tab-button.js +2 -2
  88. package/dist/collection/components/table/table.js +1 -1
  89. package/dist/collection/components/tabs/tabs.js +1 -1
  90. package/dist/collection/components/tag/tag.js +1 -1
  91. package/dist/collection/components/text/text.js +1 -1
  92. package/dist/collection/components/textarea/textarea.js +1 -1
  93. package/dist/collection/components/textarea/textarea.stories.js +18 -12
  94. package/dist/collection/components/toast/toast.js +1 -1
  95. package/dist/collection/components/toast/toast.stories.js +4 -2
  96. package/dist/collection/components/toggle/toggle.js +2 -2
  97. package/dist/collection/components/toggle/toggle.stories.js +12 -7
  98. package/dist/collection/components/toolbar/toolbar.js +1 -1
  99. package/dist/collection/components/toolbar-title/toolbar-title.js +1 -1
  100. package/dist/collection/components/toolbar-title-page/toolbar-title-page.js +1 -1
  101. package/dist/collection/components/toolbar-v2/toolbar-v2.js +1 -1
  102. package/dist/collection/components/tooltip/tooltip.css +31 -0
  103. package/dist/collection/components/tooltip/tooltip.js +5 -5
  104. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  105. package/dist/collection/components/tooltip/tooltip.stories.js +1 -1
  106. package/dist/esm/road-badge_14.entry.js +14 -10
  107. package/dist/esm/road-badge_14.entry.js.map +1 -1
  108. package/dist/esm/road-modal.entry.js +1 -1
  109. package/dist/esm/road-navbar-item-v2.entry.js +2 -2
  110. package/dist/esm/road-navbar-item.entry.js +2 -2
  111. package/dist/esm/road-navbar-v2.entry.js +1 -1
  112. package/dist/esm/road-navbar.entry.js +1 -1
  113. package/dist/esm/road-phone-number-input.entry.js +2 -2
  114. package/dist/esm/road-plate-number.entry.js +2 -2
  115. package/dist/esm/road-profil-dropdown.entry.js +1 -1
  116. package/dist/esm/road-progress-indicator-horizontal.entry.js +1 -1
  117. package/dist/esm/road-progress-indicator-vertical-item.entry.js +1 -1
  118. package/dist/esm/road-progress-indicator-vertical.entry.js +1 -1
  119. package/dist/esm/road-progress-tracker-item.entry.js +1 -1
  120. package/dist/esm/road-progress-tracker.entry.js +1 -1
  121. package/dist/esm/road-progress.entry.js +1 -1
  122. package/dist/esm/road-radio-group.entry.js +1 -1
  123. package/dist/esm/road-radio.entry.js +1 -1
  124. package/dist/esm/road-range.entry.js +2 -2
  125. package/dist/esm/road-rating.entry.js +1 -1
  126. package/dist/esm/road-segmented-button-bar.entry.js +1 -1
  127. package/dist/esm/road-segmented-button.entry.js +2 -2
  128. package/dist/esm/road-segmented-buttons.entry.js +1 -1
  129. package/dist/esm/road-select-filter.entry.js +2 -2
  130. package/dist/esm/road-select.entry.js +1 -1
  131. package/dist/esm/road-skeleton.entry.js +1 -1
  132. package/dist/esm/road-spinner.entry.js +1 -1
  133. package/dist/esm/road-switch.entry.js +2 -2
  134. package/dist/esm/road-tab-bar.entry.js +2 -2
  135. package/dist/esm/road-tab-button.entry.js +2 -2
  136. package/dist/esm/road-tab.entry.js +2 -2
  137. package/dist/esm/road-table.entry.js +1 -1
  138. package/dist/esm/road-tabs.entry.js +1 -1
  139. package/dist/esm/road-tag.entry.js +1 -1
  140. package/dist/esm/road-text.entry.js +1 -1
  141. package/dist/esm/road-textarea.entry.js +1 -1
  142. package/dist/esm/road-toast.entry.js +1 -1
  143. package/dist/esm/road-toggle.entry.js +2 -2
  144. package/dist/esm/road-toolbar-title-page.entry.js +1 -1
  145. package/dist/esm/road-toolbar-title.entry.js +1 -1
  146. package/dist/esm/road-toolbar-v2.entry.js +1 -1
  147. package/dist/esm/road-tooltip.entry.js +4 -4
  148. package/dist/esm/road-tooltip.entry.js.map +1 -1
  149. package/dist/html.html-data.json +13 -1
  150. package/dist/roadtrip/p-061f6889.entry.js +2 -0
  151. package/dist/roadtrip/{p-6d3d947e.entry.js.map → p-061f6889.entry.js.map} +1 -1
  152. package/dist/roadtrip/{p-03656f9a.entry.js → p-0a6c9571.entry.js} +2 -2
  153. package/dist/roadtrip/{p-e0421465.entry.js → p-0d7b6e32.entry.js} +2 -2
  154. package/dist/roadtrip/{p-6ff3b37c.entry.js → p-0de7b85d.entry.js} +2 -2
  155. package/dist/roadtrip/p-16726940.entry.js +2 -0
  156. package/dist/roadtrip/{p-06fbd2ea.entry.js → p-2f89b651.entry.js} +2 -2
  157. package/dist/roadtrip/{p-60bd73ad.entry.js → p-327d424c.entry.js} +2 -2
  158. package/dist/roadtrip/{p-e75ec60f.entry.js → p-38fd91b3.entry.js} +2 -2
  159. package/dist/roadtrip/p-3aa617b1.entry.js +2 -0
  160. package/dist/roadtrip/{p-449affa6.entry.js → p-41bab704.entry.js} +2 -2
  161. package/dist/roadtrip/p-4329a5ff.entry.js +2 -0
  162. package/dist/roadtrip/{p-a67eaba7.entry.js → p-4765c524.entry.js} +3 -3
  163. package/dist/roadtrip/p-4765c524.entry.js.map +1 -0
  164. package/dist/roadtrip/p-50d9ed52.entry.js +2 -0
  165. package/dist/roadtrip/{p-db77c354.entry.js.map → p-50d9ed52.entry.js.map} +1 -1
  166. package/dist/roadtrip/{p-c28e7add.entry.js → p-5ed9e829.entry.js} +2 -2
  167. package/dist/roadtrip/{p-d80e7563.entry.js → p-6fb0f8b8.entry.js} +2 -2
  168. package/dist/roadtrip/{p-6c617506.entry.js → p-78e6204e.entry.js} +2 -2
  169. package/dist/roadtrip/{p-99a6faae.entry.js → p-7a7b1fb6.entry.js} +2 -2
  170. package/dist/roadtrip/{p-b5fa8c5a.entry.js → p-7d693464.entry.js} +2 -2
  171. package/dist/roadtrip/{p-3dcaa947.entry.js → p-7e1e110f.entry.js} +2 -2
  172. package/dist/roadtrip/{p-517aeeca.entry.js → p-7ea16bfa.entry.js} +2 -2
  173. package/dist/roadtrip/p-8c6ad79a.entry.js +2 -0
  174. package/dist/roadtrip/{p-b8c5d292.entry.js → p-93272a9d.entry.js} +2 -2
  175. package/dist/roadtrip/p-97245610.entry.js +2 -0
  176. package/dist/roadtrip/{p-a254df6d.entry.js → p-a0c91322.entry.js} +2 -2
  177. package/dist/roadtrip/{p-c465f551.entry.js → p-a406a342.entry.js} +2 -2
  178. package/dist/roadtrip/{p-e6e9882b.entry.js → p-a5c363f2.entry.js} +2 -2
  179. package/dist/roadtrip/{p-fe40ab3d.entry.js → p-ab550b59.entry.js} +2 -2
  180. package/dist/roadtrip/{p-5fea6a74.entry.js → p-ad9055c1.entry.js} +2 -2
  181. package/dist/roadtrip/{p-2e049c8e.entry.js → p-c4d3dda1.entry.js} +2 -2
  182. package/dist/roadtrip/{p-3f5dff96.entry.js → p-cb8924ee.entry.js} +2 -2
  183. package/dist/roadtrip/p-ce386f80.entry.js +2 -0
  184. package/dist/roadtrip/p-dc9509b1.entry.js +2 -0
  185. package/dist/roadtrip/p-dc9509b1.entry.js.map +1 -0
  186. package/dist/roadtrip/{p-c6824205.entry.js → p-df897815.entry.js} +2 -2
  187. package/dist/roadtrip/{p-eac313e4.entry.js → p-e82c8ca0.entry.js} +2 -2
  188. package/dist/roadtrip/{p-ea1a175d.entry.js → p-e8bcf7a0.entry.js} +2 -2
  189. package/dist/roadtrip/{p-37430583.entry.js → p-ebada9f6.entry.js} +2 -2
  190. package/dist/roadtrip/{p-950b8a43.entry.js → p-f1ef265d.entry.js} +2 -2
  191. package/dist/roadtrip/{p-167cd2fc.entry.js → p-f5bcb8d6.entry.js} +2 -2
  192. package/dist/roadtrip/{p-fd3c58b6.entry.js → p-f9ba8499.entry.js} +2 -2
  193. package/dist/roadtrip/{p-c47ccbf2.entry.js → p-fafcecb2.entry.js} +2 -2
  194. package/dist/roadtrip/{p-f1b53143.entry.js → p-ff430279.entry.js} +2 -2
  195. package/dist/roadtrip/roadtrip.esm.js +1 -1
  196. package/dist/types/components/input/input.d.ts +2 -2
  197. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  198. package/dist/types/components.d.ts +12 -4
  199. package/hydrate/index.js +69 -65
  200. package/hydrate/index.mjs +69 -65
  201. package/package.json +1 -1
  202. package/dist/roadtrip/p-215afdbd.entry.js +0 -2
  203. package/dist/roadtrip/p-4675ea6d.entry.js +0 -2
  204. package/dist/roadtrip/p-65f9bd9c.entry.js +0 -2
  205. package/dist/roadtrip/p-6d3d947e.entry.js +0 -2
  206. package/dist/roadtrip/p-85b1e505.entry.js +0 -2
  207. package/dist/roadtrip/p-8b04fc62.entry.js +0 -2
  208. package/dist/roadtrip/p-a67eaba7.entry.js.map +0 -1
  209. package/dist/roadtrip/p-cfd2919e.entry.js +0 -2
  210. package/dist/roadtrip/p-db77c354.entry.js +0 -2
  211. package/dist/roadtrip/p-e6c4c576.entry.js +0 -2
  212. package/dist/roadtrip/p-e6c4c576.entry.js.map +0 -1
  213. /package/dist/roadtrip/{p-03656f9a.entry.js.map → p-0a6c9571.entry.js.map} +0 -0
  214. /package/dist/roadtrip/{p-e0421465.entry.js.map → p-0d7b6e32.entry.js.map} +0 -0
  215. /package/dist/roadtrip/{p-6ff3b37c.entry.js.map → p-0de7b85d.entry.js.map} +0 -0
  216. /package/dist/roadtrip/{p-65f9bd9c.entry.js.map → p-16726940.entry.js.map} +0 -0
  217. /package/dist/roadtrip/{p-06fbd2ea.entry.js.map → p-2f89b651.entry.js.map} +0 -0
  218. /package/dist/roadtrip/{p-60bd73ad.entry.js.map → p-327d424c.entry.js.map} +0 -0
  219. /package/dist/roadtrip/{p-e75ec60f.entry.js.map → p-38fd91b3.entry.js.map} +0 -0
  220. /package/dist/roadtrip/{p-85b1e505.entry.js.map → p-3aa617b1.entry.js.map} +0 -0
  221. /package/dist/roadtrip/{p-449affa6.entry.js.map → p-41bab704.entry.js.map} +0 -0
  222. /package/dist/roadtrip/{p-215afdbd.entry.js.map → p-4329a5ff.entry.js.map} +0 -0
  223. /package/dist/roadtrip/{p-c28e7add.entry.js.map → p-5ed9e829.entry.js.map} +0 -0
  224. /package/dist/roadtrip/{p-d80e7563.entry.js.map → p-6fb0f8b8.entry.js.map} +0 -0
  225. /package/dist/roadtrip/{p-6c617506.entry.js.map → p-78e6204e.entry.js.map} +0 -0
  226. /package/dist/roadtrip/{p-99a6faae.entry.js.map → p-7a7b1fb6.entry.js.map} +0 -0
  227. /package/dist/roadtrip/{p-b5fa8c5a.entry.js.map → p-7d693464.entry.js.map} +0 -0
  228. /package/dist/roadtrip/{p-3dcaa947.entry.js.map → p-7e1e110f.entry.js.map} +0 -0
  229. /package/dist/roadtrip/{p-517aeeca.entry.js.map → p-7ea16bfa.entry.js.map} +0 -0
  230. /package/dist/roadtrip/{p-4675ea6d.entry.js.map → p-8c6ad79a.entry.js.map} +0 -0
  231. /package/dist/roadtrip/{p-b8c5d292.entry.js.map → p-93272a9d.entry.js.map} +0 -0
  232. /package/dist/roadtrip/{p-8b04fc62.entry.js.map → p-97245610.entry.js.map} +0 -0
  233. /package/dist/roadtrip/{p-a254df6d.entry.js.map → p-a0c91322.entry.js.map} +0 -0
  234. /package/dist/roadtrip/{p-c465f551.entry.js.map → p-a406a342.entry.js.map} +0 -0
  235. /package/dist/roadtrip/{p-e6e9882b.entry.js.map → p-a5c363f2.entry.js.map} +0 -0
  236. /package/dist/roadtrip/{p-fe40ab3d.entry.js.map → p-ab550b59.entry.js.map} +0 -0
  237. /package/dist/roadtrip/{p-5fea6a74.entry.js.map → p-ad9055c1.entry.js.map} +0 -0
  238. /package/dist/roadtrip/{p-2e049c8e.entry.js.map → p-c4d3dda1.entry.js.map} +0 -0
  239. /package/dist/roadtrip/{p-3f5dff96.entry.js.map → p-cb8924ee.entry.js.map} +0 -0
  240. /package/dist/roadtrip/{p-cfd2919e.entry.js.map → p-ce386f80.entry.js.map} +0 -0
  241. /package/dist/roadtrip/{p-c6824205.entry.js.map → p-df897815.entry.js.map} +0 -0
  242. /package/dist/roadtrip/{p-eac313e4.entry.js.map → p-e82c8ca0.entry.js.map} +0 -0
  243. /package/dist/roadtrip/{p-ea1a175d.entry.js.map → p-e8bcf7a0.entry.js.map} +0 -0
  244. /package/dist/roadtrip/{p-37430583.entry.js.map → p-ebada9f6.entry.js.map} +0 -0
  245. /package/dist/roadtrip/{p-950b8a43.entry.js.map → p-f1ef265d.entry.js.map} +0 -0
  246. /package/dist/roadtrip/{p-167cd2fc.entry.js.map → p-f5bcb8d6.entry.js.map} +0 -0
  247. /package/dist/roadtrip/{p-fd3c58b6.entry.js.map → p-f9ba8499.entry.js.map} +0 -0
  248. /package/dist/roadtrip/{p-c47ccbf2.entry.js.map → p-fafcecb2.entry.js.map} +0 -0
  249. /package/dist/roadtrip/{p-f1b53143.entry.js.map → p-ff430279.entry.js.map} +0 -0
@@ -29,7 +29,7 @@ export class Stepper {
29
29
  const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
30
30
  const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
31
31
  const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
32
- return (h(Host, { key: '92b255c26f67f4aad1051adc570b4838064b050b' }, h("nav", { key: '44f9ff6889874b55dc5078d1571cde655afc3a6b' }, h("ul", { key: 'e6b0e5e75db170bd8bf6412ed1d6bb5f228eda4b', class: `${colorClass}` }, h("li", { key: 'f48231734646f68f91bc256cd935a13dfe5277cf', class: `${stateClass}` }, h("a", { key: '8ca3bebb5e710c5a3fbbada6ef1f6f0ad6518956', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, h("span", { key: '752b27e04ab6799c19912a193a89e8084dc82ff9', class: "progress-indicator-horizontal-icon" }, h("slot", { key: '3c25ed41f39a011e61aafec0ca65917b72dbe967', name: "progress-indicator-horizontal-icon" })), h("span", { key: '2bf09fe120b2ae4c4074a5357f5133bc22120e2c', class: "progress-indicator-horizontal-title" }, h("slot", { key: '752e16d8c3895c2ee91a222c7789431ad27e34dd', name: "progress-indicator-horizontal-title" })))), h("li", { key: '09bcfc2711dc68b5b233b0306fa7d3d2b8e753c3', class: `${stateSecondStepClass}` }, h("a", { key: '9b5c9c60abecfed752c0332696c3c509ef4d5074', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, h("span", { key: '1e3c3113967379a97597c13044493ff3693d1b4e', class: "progress-indicator-horizontal-icon" }, h("slot", { key: 'fe8312cd31ca099c690379f500f20466a3f76555', name: "progress-indicator-horizontal-icon2" })), h("span", { key: '885e16b9917fbbcc0df05c2960083cb679902d2d', class: "progress-indicator-horizontal-title" }, h("slot", { key: '0b6709b4b8390f58854d2a37528fe1b98a0b4481', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && h("li", { key: 'fa106837abe66d6ee557f800916b39df8efac9a7', class: `${stateThirdStepClass}` }, h("a", { key: '9607d28f066e4b22778f66d0b5657611af3b15ed', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, h("span", { key: 'ce19ae6a6b774c0d5cb8c7b91af8d03ee88400a4', class: "progress-indicator-horizontal-icon" }, h("slot", { key: 'e0a52ce61b043af9137340a5651a120f1a8ff0dd', name: "progress-indicator-horizontal-icon3" })), h("span", { key: '1c8870afc7dc2630fb58c4c2f17d4f4f9109dea6', class: "progress-indicator-horizontal-title" }, h("slot", { key: '91fb0f5283ddbe5c62c2292579df9045b4c543f7', name: "progress-indicator-horizontal-title3" }))))))));
32
+ return (h(Host, { key: '3a324a39e9084c89d10cb395ddc2d6259964fb3b' }, h("nav", { key: 'cbbfb7023a1d6355e3a73673f1f12b729e7bf45a' }, h("ul", { key: '13d66d84cca5817fffef3b145fec52d4051693df', class: `${colorClass}` }, h("li", { key: 'a193befac4f459adb7fe2cf1b411a8ed3049e152', class: `${stateClass}` }, h("a", { key: '0b947059548ae146a24edde30365b1b9bf2e2eec', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, h("span", { key: '5f30e93a8dcdcfa10a3b9d25a79b9b8001fa5935', class: "progress-indicator-horizontal-icon" }, h("slot", { key: 'dbe960eca33e08ab40348188010b8dd926d607fe', name: "progress-indicator-horizontal-icon" })), h("span", { key: 'd3b1ac0ca97375278663599a284c908c745ecab3', class: "progress-indicator-horizontal-title" }, h("slot", { key: '59019872b7db4a65b717ded6af8976b8bbbf97a3', name: "progress-indicator-horizontal-title" })))), h("li", { key: 'ec083a98b0a64eca04c02b9cf7e9022bdea70485', class: `${stateSecondStepClass}` }, h("a", { key: '6d0083729e39293509b45a869fa893d398e33f5b', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, h("span", { key: '82a87245b2b01f71b2237c71310b05ffa77fd977', class: "progress-indicator-horizontal-icon" }, h("slot", { key: 'bfaeebcee669e2370da7d7253180a8b9813dc399', name: "progress-indicator-horizontal-icon2" })), h("span", { key: '449e13e3beaa66b16a7d1fc6def8796888b671a2', class: "progress-indicator-horizontal-title" }, h("slot", { key: 'f9312792d7e400d0a044d00f251e621b3c23cc70', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && h("li", { key: '5cce8b0fc91b8ec4a3d79362eb67e2290d3ce4c1', class: `${stateThirdStepClass}` }, h("a", { key: '7501ccbc3c739689c687794ba3530d62fa9f5cc3', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, h("span", { key: '896343b2c095ea44c4442dacbac62b36380de6d6', class: "progress-indicator-horizontal-icon" }, h("slot", { key: '6b3581003a6eeee6c1c8ac96f3d86866588496ba', name: "progress-indicator-horizontal-icon3" })), h("span", { key: '3a254af95b70e84e048597b8af5549c3966aa717', class: "progress-indicator-horizontal-title" }, h("slot", { key: 'bdb1c23a6eb4e3d3e189b9855e91e955efaefd75', name: "progress-indicator-horizontal-title3" }))))))));
33
33
  }
34
34
  static get is() { return "road-progress-indicator-horizontal"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ import { Host, h } from "@stencil/core";
12
12
  */
13
13
  export class ProgressIndicatorVertical {
14
14
  render() {
15
- return (h(Host, { key: '53374580ae8974a098d78a601f16c11d046d05a0' }, h("nav", { key: '172b56e4f067cd3aff24cbc8f619f623cee6e7fc' }, h("ul", { key: '76fc4af3a83915d53365f3e813612e10ac7bbca7' }, h("li", { key: 'a30ca0d908dc432e31cf04748df08d87bc527f61' }, h("slot", { key: '2bb8112daa5f3799b8936939dce9818fa17f756d' }))))));
15
+ return (h(Host, { key: '5dd7b6e9f50befbfda7194c326ff263015b798b8' }, h("nav", { key: '4410e7821c405e9e1cb1fff7ff6360a71dcc793f' }, h("ul", { key: '52179d2713e247e6c8b587816f032b432883b844' }, h("li", { key: 'a2e1151dba8017dc7ba50d8cbac7cce4dd707d5a' }, h("slot", { key: '67225f4646a498b1c84070b18406c0073eff173c' }))))));
16
16
  }
17
17
  static get is() { return "road-progress-indicator-vertical"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ import { Host, h } from "@stencil/core";
4
4
  */
5
5
  export class ProgressIndicatorVerticalItem {
6
6
  render() {
7
- return (h(Host, { key: 'd3ba92c8ba422c910a790c232cc6c43acf21a316' }, h("slot", { key: '471a58e0dbbcad1601c6bfec7e90cc4ced55f172' })));
7
+ return (h(Host, { key: '681a6c70caee4d2b12dfe5cb85faa3240da79261' }, h("slot", { key: 'edbc178bba91172a49760d40b55e55b56634dea1' })));
8
8
  }
9
9
  static get is() { return "road-progress-indicator-vertical-item"; }
10
10
  static get originalStyleUrls() {
@@ -9,7 +9,7 @@ import { Host, h } from "@stencil/core";
9
9
  */
10
10
  export class ProgressTracker {
11
11
  render() {
12
- return (h(Host, { key: '9a0c92424113ac6ed3a422e2b72a597a1c7e56ae' }, h("nav", { key: '1f4a7756e005ecaac2ae04d69cfa56f44a3db114' }, h("ul", { key: 'dd386017509fcabfbc30d8970fa60d293d209e9e' }, h("li", { key: '1e2ca3005116579b3917b51867a09d975c9c1891' }, h("slot", { key: 'aa5268a3e7f35906bb37354e88b825f839d2774d' }))))));
12
+ return (h(Host, { key: '3056137a4ac9e08c6875527ec6fc206291e502ff' }, h("nav", { key: 'ecccabc164e4f6a0438523746613ee3255a02f2c' }, h("ul", { key: 'a4c6c472aac39a85db1fbce327244dcf235417fe' }, h("li", { key: '7c6a8b6c278e362bc409007aadd0c5bb4ec8966e' }, h("slot", { key: 'fa4a84917302767f34ec63441d65e797832d0e12' }))))));
13
13
  }
14
14
  static get is() { return "road-progress-tracker"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ import { Host, h } from "@stencil/core";
12
12
  */
13
13
  export class ProgressTrackerItem {
14
14
  render() {
15
- return (h(Host, { key: 'fa846bf7750217b756e2c63925636d75100e52f0' }, h("slot", { key: '3b37dca6ac078595ce7e739cd980661387f50e59' })));
15
+ return (h(Host, { key: '9912365dc36705af52ede8cdb4ecf963a5a11d83' }, h("slot", { key: '38a27cd97a75a0621926a32ecbcef7f78cc38330' })));
16
16
  }
17
17
  static get is() { return "road-progress-tracker-item"; }
18
18
  static get originalStyleUrls() {
@@ -72,7 +72,7 @@ export class Radio {
72
72
  const inverseClass = this.inverse && 'form-radio-inverse';
73
73
  const isInvalidClass = this.error ? 'is-invalid' : '';
74
74
  const inlineClass = this.inline ? 'form-radio-inline' : '';
75
- return (h(Host, { key: 'fbec228f3266ccdef92e82ee29b7aa9f604f603a', class: `form-radio ${inlineClass}` }, h("input", { key: '4493e3345ad10d983dab715035a77fe66025e3ba', class: `form-radio-input ${isInvalidClass}`, type: "radio", id: this.radioId, name: this.name, required: this.required, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : null, checked: this.checked, "aria-checked": `${this.checked}`, "aria-labelledby": labelId, value: this.value, onFocus: this.onFocus, onBlur: this.onBlur }), h("label", { key: '85b6bc778ca441e37bd47a51227307051a9bc80a', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", h("span", { key: '22b184045be0995831f3b34065d0e8d97cf90cdc', class: "form-radio-label-span" }, this.secondaryLabel))));
75
+ return (h(Host, { key: '6543b37f5327ae2665e1fca3c9d91412e2581ef9', class: `form-radio ${inlineClass}` }, h("input", { key: '669e121aec0cfc722419d051204d350450d6d4e5', class: `form-radio-input ${isInvalidClass}`, type: "radio", id: this.radioId, name: this.name, required: this.required, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : null, checked: this.checked, "aria-checked": `${this.checked}`, "aria-labelledby": labelId, value: this.value, onFocus: this.onFocus, onBlur: this.onBlur }), h("label", { key: 'd3056e531cc3826a3291af9a95585c6620b86745', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", h("span", { key: '4d1242c623b26517d9f88c6962335ea6ce364abf', class: "form-radio-label-span" }, this.secondaryLabel))));
76
76
  }
77
77
  static get is() { return "road-radio"; }
78
78
  static get encapsulation() { return "scoped"; }
@@ -99,21 +99,27 @@ Playground.argTypes = {
99
99
  control: 'text',
100
100
  },
101
101
  roadblur: {
102
+ action: 'roadblur',
102
103
  description: "Emitted when the radio button loses focus.",
103
- control: {
104
- type: null,
104
+ table: {
105
+ category: 'Events',
106
+ type: { summary: 'CustomEvent' },
105
107
  },
106
108
  },
107
109
  roadfocus: {
110
+ action: 'roadfocus',
108
111
  description: "Emitted when the radio button has focus.",
109
- control: {
110
- type: null,
112
+ table: {
113
+ category: 'Events',
114
+ type: { summary: 'CustomEvent' },
111
115
  },
112
116
  },
113
117
  roadchange: {
114
118
  action: 'roadchange',
115
- control: {
116
- type: null,
119
+ description: "Emitted when the value has changed.",
120
+ table: {
121
+ category: 'Events',
122
+ type: { summary: 'CustomEvent' },
117
123
  },
118
124
  },
119
125
  };
@@ -59,7 +59,7 @@ export class RadioGroup {
59
59
  render() {
60
60
  const labelId = `${this.radioGroupId}-label`;
61
61
  const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
62
- return (h(Host, { key: '6c3948ad9428d3ae8aeb411a776419784831c714', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && h("p", { key: '943199c6a4eda68c82245660e81ba04032a62209', class: "text-content", id: labelId }, this.label, " ", this.asterisk && h("span", { key: '772ae18837d54d6aa313e3a8791bc715f66c183d', class: "asterisk" }, "*")), h("slot", { key: '7f4a8c9ec3a201f695a6731467c138abf587e52f' }), this.error && this.error !== '' && h("p", { key: '9149bc1981323584219a13a392e77c8313f7fd58', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: 'a662d0e810e27d6392750d778e13573ed365e358', class: "helper" }, this.helper)));
62
+ return (h(Host, { key: '4bdcce655bfa14696ea85dc3bebf8cb0211d872b', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && h("p", { key: '7882a85ab9d9e4be07b7ae08ec986d1cd3073951', class: "text-content", id: labelId }, this.label, " ", this.asterisk && h("span", { key: 'c5d121db534b7e207aa4b60c8c9534399ed2edf7', class: "asterisk" }, "*")), h("slot", { key: 'e4fb2070693e91af8772c8d2ed556b6c6b09bda7' }), this.error && this.error !== '' && h("p", { key: '361cfc55ad976730645f88e1a3b0d75da7d34a5f', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: '2e6c420d699283ef203e264995a06b514ce9da7a', class: "helper" }, this.helper)));
63
63
  }
64
64
  static get is() { return "road-radio-group"; }
65
65
  static get encapsulation() { return "scoped"; }
@@ -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: 'b2c9aa060ae841e99ba5751c128e8df1fa257277', tabindex: "0", class: { disabled: this.disabled } }, h("div", { key: 'b7696f36afd6083f61b0498ff80b911743f6713e', class: "form-group d-flex align-items-end" }, this.showTick && (h("road-icon", { key: '9c09977ad8ea7b60380cd0b245b2b78df75a851e', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), h("div", { key: 'dbcf378a5ce259394cc0ed12f6437100292aa015', class: "form-range", style: {
98
+ return (h(Host, { key: 'b9bf2e10c86f928712def9dd10e123bf6bd62d46', tabindex: "0", class: { disabled: this.disabled } }, h("div", { key: '9e6c1bac87a60accb176f416726a63319f1e00a2', class: "form-group d-flex align-items-end" }, this.showTick && (h("road-icon", { key: '0c9947463651c065b386fb126a646f39359f32cd', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), h("div", { key: 'f792239e07e2fb7c7a5c8c6b6629e199ce24d560', 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: '11fbbec081e1ae2b86a5ad5d387b91f26104d6e8' }), this.showLabels && h("slot", { key: '1dd932c4e17968e794370c5468e13fed1b84df25', name: "datalist" }), h("input", { key: 'afe1c2ef6f8006e2c0dcbd3cbe14103393a57a4a', 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: '6f2bca3f10bdc5dcadf6756bfe953afffe4bf2c7', class: "form-range-label" }, "Valeur"), h("div", { key: '065f974aa51980322402a0c3d0c168a96c076ecf', class: "form-range-progress" })), this.showTick && (h("road-icon", { key: '283d46c77a585064840ee91a861fbd2c0bdaa5aa', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
105
+ } }, this.showValue && h("output", { key: '7468eb63d48e3dd4add1dbdb72b4a29eaa6644ea' }), this.showLabels && h("slot", { key: '77d9511bc01e48d1cef2f577fdb5d6d2782d756b', name: "datalist" }), h("input", { key: 'dcba864aaaf01686c7205b33f49f0437aff45efc', 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: 'a524dd016f0236cfc053e415a118fed7960515ea', class: "form-range-label" }, "Valeur"), h("div", { key: 'ca307d8df415ed2a77b7774791387f5bd6ab5d14', class: "form-range-progress" })), this.showTick && (h("road-icon", { key: 'f2a35383d6cbae76a337b78b53cd9ffa15a7daef', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
106
106
  }
107
107
  static get is() { return "road-range"; }
108
108
  static get encapsulation() { return "scoped"; }
@@ -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: '3384a50bdc4f0dc8d992ca8160dbe77a8c6ed891' }, h("div", { key: 'f905f3c7c16744d6bd8c34c31e2bec493169b71f', 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: '3f973733bb91d8243a84d4b12708a69921858fff', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && h("road-label", { key: '66f1c7954279baba6b9be9e40af220f77c42cd8f', 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: '4d56e5a10387b76a5b9848b29b66b5d1893c1b39' }, h("slot", { key: 'ba686ef7958ff67384c6ca8d88767f1dd55e9f5a' })));
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: 'ea3ccb61b3e95bb8b266e1e47ecbd5a795a78f62', 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: 'f32414ad539917d0266447d41411eae0cd1f5926', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, h("slot", { key: '2a6270a073b709201505490b242e9b2425745779' }))));
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: '2427e30d3c49f36fcf017f1312d92b46b92e5f13', role: "tablist" }, h("slot", { key: '7e058b2ec325091ec5e30f0db30d893547e13e49' })));
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: 'dc63c94596a53cd134f9327dd7fafcf70b94486b', onRoadSegmentedButtonClick: this.onTabClicked }, h("slot", { key: 'cd32b915b40f0d0ae2a5bd377a68f9ce4e41d363', name: "top" }), h("slot", { key: 'cfb4c62f06a98490ca37f27038737174641c8d4d' })));
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: 'd4d455ace814f7a19cb9e683fb103f43b6d4783b', class: this.sizes && `select-${this.sizes}` }, h("select", { key: '4432e042ced51b80b81832e8495e1dd060fc7952', 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: '2244f8e581db9229442d60fff809e07ade736091', 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: '72d9295f23671d0113b3b12f61aa13448d6f80f0', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && h("p", { key: 'b97bd0875b474013c3824f9fdb87390262e9f144', 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: 'fff9f64f26850281576ed7de2e8104fad18862f9', "is-active": isActive }, h("slot", { key: 'a66b13f411768a00e0d45ed9801a84f3b2684f75' }), this.isOpen &&
111
+ h("ul", { key: '5230013f47dccc082c73abfb8474a0791a7e992b', 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: '03bd8098ff469f17744141c229b9b3ad863b0124' }, "\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: '5ad4972d7d49afc0c31aa2771c10361cee7f7a25', class: `${sizeClass}`, viewBox: "25 25 50 50" }, h("circle", { key: '842b8a3563edc3ada7f2450e0ef9724c9141bfa0', 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: '54f56dec9c84250081ebfadd296e7d7488a31175', 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: 'd4c7bbfdcda90e98bb16805048d9f121fe3bf5dc' }, h("input", { key: '46041634cfc030ef1abefa55946672b744d941ec', 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: '280bce0f99cd8c0b16c5dbb45bb6ae4facbac82f', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, h("div", { key: 'fa649be434996ef636b323481027f48ea755d16d', 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: 'be0ce5a323e835e0e17bcfc23c010876518f705f', 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: 'b3e5f1b7811c480cbf5971293c95a244354d37b1' })));
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: '5b37e3605410e8cbb5a953216957bd49ed348949', 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: '40f8b74647a678eae3e772d67fdef3e285c91250' })));
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: 'd75aef7fd1d24c4d510b81110769176be7c94b86', 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: '0674b22edd491c00bd4b748bd3db998dcb16a550' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: '3c8fb23151939c48dd4239240385a995daed93e8', class: "button-inner" }, h("slot", { key: 'df8b3f6c3087b0f7ced5f6cb38733c9ee50db760' })))));
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: 'e732734d32731bf220436443f306c3a57b3da9b4' }));
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: '6775e9080b20a46712a1b0d2de49a89977c840f9', onRoadTabButtonClick: this.onTabClicked }, h("slot", { key: 'c32dc3dbb5a97dc1b699ebfadf784b7f794520c8', name: "top" }), h("div", { key: 'd523d47374ce745ef869a3d92c012a8c9089652d', class: "tabs-inner" }, h("slot", { key: '7d049210173976a8906e8009c1ae65d284399d7d' }))));
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: '2b3a5ad4c33944c258767549bc5c5b47088e9e79', class: `${contrastClass}` }, h("slot", { key: 'c6b1754daf6f0beccdf7b41bf72a2d478222380e' })));
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: '16ef8fa74811821df230a167c40e25871de4762c', class: `${colorClass}` }, h("slot", { key: '74bfd011e67ebb720bc91e8cb682abd9b7629340' })));
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: '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: '5940308a9e1f7ed1672cd03a83e55ddd05056111', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, h("textarea", { key: '0fa4446695b94cbe652f81fab4e36a6f6f8cf11a', 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: 'fb2e631bd65dabff36792f56d7959f25c73b06ff', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && h("p", { key: 'be5ac6f2e132cd7a9abf0eb1514d78ed8fabc03b', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: 'c61c6a1855748a295db996cf15bb2af3ba73988b', 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: '89d5c219c4d138ddc853a53eb366942515b0bff5', class: `${toastIsOpenClass}`, role: "alert" }, h("div", { key: '4d2e2d14b9025b9428329cfe998a7bd8970a3623', class: `toast toast-${this.color}` }, h("road-icon", { key: '94c8ff89697fdd6aaf7303f86780fe0c28c06dfe', class: "toast-icon", icon: icon, "aria-hidden": "true" }), h("p", { key: 'a09e63015b675404efcc89320707d08676f2877f', class: "toast-label" }, this.label), h("button", { key: '1911957ac22296c6585275b453dadc513fc192d3', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, h("road-icon", { key: 'df64d98907d013e84ce2b485b5a431d35be953d4', icon: navigationClose, size: "md" })), h("slot", { key: '4fe59f168f7b15152ae5ce372798e69577568069', 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: 'fc640d3b84b175679ffbd7be8b6e56ae0298b07c', 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: 'b70c71787640105ee246d1ce65dc1eed67ef2541' }, h("input", { key: 'd2921d1eb0a92347acae978122d647e390d4519a', 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: 'da00339aaf756ab5c888d1bc467ef43c9f1c7f86', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, h("div", { key: '82a8d49761061494d3c5d8868c3f1ed6145d7c0b', 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: '1666aad03b553002af15625a73060f5dbf4601b8', class: colorClass }, h("div", { key: 'e627795b3897fe397d86a9c879ea2df29ca40a30', class: "toolbar-container" }, h("slot", { key: '123ce565840045140bf2271fada84db838c1b0d6', name: "start" }), h("slot", { key: '115bb3ee9c656a81b61a601a319ec6923657894a', name: "primary" }), h("div", { key: '123ec182ca9d3dfd6bb2437c5689cce4c6e63069', class: "toolbar-content" }, h("slot", { key: '9c7a630301f524c0adef6bbc6ca6e89cabcba81a' })), h("slot", { key: 'a37d49d76f8df43da0e2969e17497f06e0eae184', name: "secondary" }), h("slot", { key: '62e6e5cbd5d9b1fdc2dead440ef9e60425796f75', name: "end" }))));
14
14
  }
15
15
  static get is() { return "road-toolbar"; }
16
16
  static get encapsulation() { return "shadow"; }