@roadtrip/components 3.32.4 → 3.33.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 (284) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/road-badge_14.cjs.entry.js +17 -15
  3. package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
  4. package/dist/cjs/road-dropdown.cjs.entry.js +1 -1
  5. package/dist/cjs/road-dropdown.cjs.entry.js.map +1 -1
  6. package/dist/cjs/road-phone-number-input.cjs.entry.js +26 -61
  7. package/dist/cjs/road-phone-number-input.cjs.entry.js.map +1 -1
  8. package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
  9. package/dist/cjs/road-profil-dropdown.cjs.entry.js +1 -1
  10. package/dist/cjs/road-progress-indicator-horizontal.cjs.entry.js +1 -1
  11. package/dist/cjs/road-progress-indicator-vertical-item.cjs.entry.js +1 -1
  12. package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +1 -1
  13. package/dist/cjs/road-progress-tracker-item.cjs.entry.js +1 -1
  14. package/dist/cjs/road-progress-tracker.cjs.entry.js +1 -1
  15. package/dist/cjs/road-progress.cjs.entry.js +1 -1
  16. package/dist/cjs/road-radio-group.cjs.entry.js +1 -1
  17. package/dist/cjs/road-radio.cjs.entry.js +1 -1
  18. package/dist/cjs/road-range.cjs.entry.js +2 -2
  19. package/dist/cjs/road-rating.cjs.entry.js +1 -1
  20. package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
  21. package/dist/cjs/road-segmented-button.cjs.entry.js +2 -2
  22. package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
  23. package/dist/cjs/road-select-filter.cjs.entry.js +2 -2
  24. package/dist/cjs/road-select.cjs.entry.js +1 -1
  25. package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
  26. package/dist/cjs/road-spinner.cjs.entry.js +1 -1
  27. package/dist/cjs/road-switch.cjs.entry.js +2 -2
  28. package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
  29. package/dist/cjs/road-tab-button.cjs.entry.js +2 -2
  30. package/dist/cjs/road-tab.cjs.entry.js +2 -2
  31. package/dist/cjs/road-table.cjs.entry.js +1 -1
  32. package/dist/cjs/road-tabs.cjs.entry.js +1 -1
  33. package/dist/cjs/road-tag.cjs.entry.js +1 -1
  34. package/dist/cjs/road-text.cjs.entry.js +1 -1
  35. package/dist/cjs/road-textarea.cjs.entry.js +1 -1
  36. package/dist/cjs/road-toast.cjs.entry.js +1 -1
  37. package/dist/cjs/road-toggle.cjs.entry.js +2 -2
  38. package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
  39. package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
  40. package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
  41. package/dist/cjs/road-tooltip.cjs.entry.js +3 -3
  42. package/dist/cjs/roadtrip.cjs.js +1 -1
  43. package/dist/collection/components/accordion/accordion.stories.js +38 -4
  44. package/dist/collection/components/alert/alert.stories.js +7 -0
  45. package/dist/collection/components/asset/asset.stories.js +6 -0
  46. package/dist/collection/components/autocomplete/autocomplete.stories.js +43 -47
  47. package/dist/collection/components/avatar/avatar.stories.js +6 -0
  48. package/dist/collection/components/badge/badge.stories.js +6 -0
  49. package/dist/collection/components/banner/banner.stories.js +33 -3
  50. package/dist/collection/components/button/button.stories.js +58 -67
  51. package/dist/collection/components/button-floating/button-floating.stories.js +32 -23
  52. package/dist/collection/components/card/card.stories.js +25 -15
  53. package/dist/collection/components/carousel/carousel.stories.js +72 -280
  54. package/dist/collection/components/checkbox/checkbox.stories.js +54 -33
  55. package/dist/collection/components/chip/chip.stories.js +32 -47
  56. package/dist/collection/components/collapse/collapse.stories.js +88 -78
  57. package/dist/collection/components/content-card/content-card.stories.js +30 -11
  58. package/dist/collection/components/counter/counter.stories.js +40 -11
  59. package/dist/collection/components/dialog/dialog.stories.js +37 -51
  60. package/dist/collection/components/drawer/drawer.css +9 -0
  61. package/dist/collection/components/drawer/drawer.js +34 -12
  62. package/dist/collection/components/drawer/drawer.js.map +1 -1
  63. package/dist/collection/components/drawer/drawer.stories.js +70 -134
  64. package/dist/collection/components/dropdown/dropdown.css +1 -1
  65. package/dist/collection/components/dropdown/dropdown.stories.js +69 -53
  66. package/dist/collection/components/duration/duration.stories.js +49 -45
  67. package/dist/collection/components/flap/flap.stories.js +22 -10
  68. package/dist/collection/components/input/input.stories.js +33 -0
  69. package/dist/collection/components/item/item.stories.js +25 -0
  70. package/dist/collection/components/list/list.stories.js +2 -0
  71. package/dist/collection/components/modal/modal.stories.js +14 -0
  72. package/dist/collection/components/navbar/navbar.stories.js +3 -0
  73. package/dist/collection/components/navbar-v2/navbar-v2.stories.js +4 -0
  74. package/dist/collection/components/phone-number-input/constants.js +3 -0
  75. package/dist/collection/components/phone-number-input/constants.js.map +1 -0
  76. package/dist/collection/components/phone-number-input/phone-number-input.css +198 -129
  77. package/dist/collection/components/phone-number-input/phone-number-input.js +23 -63
  78. package/dist/collection/components/phone-number-input/phone-number-input.js.map +1 -1
  79. package/dist/collection/components/phone-number-input/phone-number-input.stories.js +15 -1
  80. package/dist/collection/components/plate-number/plate-number.js +2 -2
  81. package/dist/collection/components/plate-number/plate-number.stories.js +13 -0
  82. package/dist/collection/components/profil-dropdown/profil-dropdown.js +1 -1
  83. package/dist/collection/components/profil-dropdown/profil-dropdown.stories.js +8 -0
  84. package/dist/collection/components/progress/progress.js +1 -1
  85. package/dist/collection/components/progress/progress.stories.js +12 -0
  86. package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.js +1 -1
  87. package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.stories.js +8 -0
  88. package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js +1 -1
  89. package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.stories.js +1 -0
  90. package/dist/collection/components/progress-indicator-vertical-item/progress-indicator-vertical-item.js +1 -1
  91. package/dist/collection/components/progress-tracker/progress-tracker.js +1 -1
  92. package/dist/collection/components/progress-tracker/progress-tracker.stories.js +1 -0
  93. package/dist/collection/components/progress-tracker-item/progress-tracker-item.js +1 -1
  94. package/dist/collection/components/radio/radio.js +1 -1
  95. package/dist/collection/components/radio/radio.stories.js +13 -0
  96. package/dist/collection/components/radio-group/radio-group.js +1 -1
  97. package/dist/collection/components/range/range.js +2 -2
  98. package/dist/collection/components/range/range.stories.js +11 -0
  99. package/dist/collection/components/rating/rating.js +1 -1
  100. package/dist/collection/components/rating/rating.stories.js +7 -0
  101. package/dist/collection/components/row/row.js +1 -1
  102. package/dist/collection/components/segmented-button/segmented-button.js +2 -2
  103. package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
  104. package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
  105. package/dist/collection/components/segmented-buttons/segmented-buttons.stories.js +2 -0
  106. package/dist/collection/components/select/select.js +1 -1
  107. package/dist/collection/components/select/select.stories.js +13 -0
  108. package/dist/collection/components/select-filter/select-filter.js +2 -2
  109. package/dist/collection/components/select-filter/select-filter.stories.js +5 -0
  110. package/dist/collection/components/skeleton/skeleton.js +1 -1
  111. package/dist/collection/components/skeleton/skeleton.stories.js +2 -0
  112. package/dist/collection/components/spinner/spinner.js +1 -1
  113. package/dist/collection/components/spinner/spinner.stories.js +2 -0
  114. package/dist/collection/components/switch/switch.js +2 -2
  115. package/dist/collection/components/tab/tab.js +2 -2
  116. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  117. package/dist/collection/components/tab-button/tab-button.js +2 -2
  118. package/dist/collection/components/table/table.js +1 -1
  119. package/dist/collection/components/table/table.stories.js +1 -0
  120. package/dist/collection/components/tabs/tabs.js +1 -1
  121. package/dist/collection/components/tabs/tabs.stories.js +2 -0
  122. package/dist/collection/components/tag/tag.js +1 -1
  123. package/dist/collection/components/tag/tag.stories.js +3 -0
  124. package/dist/collection/components/text/text.js +1 -1
  125. package/dist/collection/components/text/text.stories.js +2 -0
  126. package/dist/collection/components/textarea/textarea.js +1 -1
  127. package/dist/collection/components/textarea/textarea.stories.js +26 -0
  128. package/dist/collection/components/toast/toast.js +1 -1
  129. package/dist/collection/components/toast/toast.stories.js +6 -0
  130. package/dist/collection/components/toggle/toggle.js +2 -2
  131. package/dist/collection/components/toggle/toggle.stories.js +14 -0
  132. package/dist/collection/components/toolbar/toolbar.js +1 -1
  133. package/dist/collection/components/toolbar/toolbar.stories.js +6 -0
  134. package/dist/collection/components/toolbar-title/toolbar-title.js +1 -1
  135. package/dist/collection/components/toolbar-title-page/toolbar-title-page.js +1 -1
  136. package/dist/collection/components/toolbar-v2/toolbar-v2.js +1 -1
  137. package/dist/collection/components/toolbar-v2/toolbar-v2.stories.js +5 -0
  138. package/dist/collection/components/tooltip/tooltip.js +3 -3
  139. package/dist/collection/components/tooltip/tooltip.stories.js +11 -0
  140. package/dist/collection/components/utilities/text.stories.js +2 -0
  141. package/dist/collection/fonts/Muli-Black.woff +0 -0
  142. package/dist/collection/fonts/Muli-Black.woff2 +0 -0
  143. package/dist/collection/fonts/Muli-SemiBold.woff +0 -0
  144. package/dist/collection/fonts/Muli-SemiBold.woff2 +0 -0
  145. package/dist/esm/loader.js +1 -1
  146. package/dist/esm/road-badge_14.entry.js +17 -15
  147. package/dist/esm/road-badge_14.entry.js.map +1 -1
  148. package/dist/esm/road-dropdown.entry.js +1 -1
  149. package/dist/esm/road-dropdown.entry.js.map +1 -1
  150. package/dist/esm/road-phone-number-input.entry.js +26 -61
  151. package/dist/esm/road-phone-number-input.entry.js.map +1 -1
  152. package/dist/esm/road-plate-number.entry.js +2 -2
  153. package/dist/esm/road-profil-dropdown.entry.js +1 -1
  154. package/dist/esm/road-progress-indicator-horizontal.entry.js +1 -1
  155. package/dist/esm/road-progress-indicator-vertical-item.entry.js +1 -1
  156. package/dist/esm/road-progress-indicator-vertical.entry.js +1 -1
  157. package/dist/esm/road-progress-tracker-item.entry.js +1 -1
  158. package/dist/esm/road-progress-tracker.entry.js +1 -1
  159. package/dist/esm/road-progress.entry.js +1 -1
  160. package/dist/esm/road-radio-group.entry.js +1 -1
  161. package/dist/esm/road-radio.entry.js +1 -1
  162. package/dist/esm/road-range.entry.js +2 -2
  163. package/dist/esm/road-rating.entry.js +1 -1
  164. package/dist/esm/road-segmented-button-bar.entry.js +1 -1
  165. package/dist/esm/road-segmented-button.entry.js +2 -2
  166. package/dist/esm/road-segmented-buttons.entry.js +1 -1
  167. package/dist/esm/road-select-filter.entry.js +2 -2
  168. package/dist/esm/road-select.entry.js +1 -1
  169. package/dist/esm/road-skeleton.entry.js +1 -1
  170. package/dist/esm/road-spinner.entry.js +1 -1
  171. package/dist/esm/road-switch.entry.js +2 -2
  172. package/dist/esm/road-tab-bar.entry.js +2 -2
  173. package/dist/esm/road-tab-button.entry.js +2 -2
  174. package/dist/esm/road-tab.entry.js +2 -2
  175. package/dist/esm/road-table.entry.js +1 -1
  176. package/dist/esm/road-tabs.entry.js +1 -1
  177. package/dist/esm/road-tag.entry.js +1 -1
  178. package/dist/esm/road-text.entry.js +1 -1
  179. package/dist/esm/road-textarea.entry.js +1 -1
  180. package/dist/esm/road-toast.entry.js +1 -1
  181. package/dist/esm/road-toggle.entry.js +2 -2
  182. package/dist/esm/road-toolbar-title-page.entry.js +1 -1
  183. package/dist/esm/road-toolbar-title.entry.js +1 -1
  184. package/dist/esm/road-toolbar-v2.entry.js +1 -1
  185. package/dist/esm/road-tooltip.entry.js +3 -3
  186. package/dist/esm/roadtrip.js +1 -1
  187. package/dist/html.html-data.json +4 -0
  188. package/dist/roadtrip/fonts/Muli-Black.woff +0 -0
  189. package/dist/roadtrip/fonts/Muli-Black.woff2 +0 -0
  190. package/dist/roadtrip/fonts/Muli-SemiBold.woff +0 -0
  191. package/dist/roadtrip/fonts/Muli-SemiBold.woff2 +0 -0
  192. package/dist/roadtrip/{p-c1e2aa67.entry.js → p-04913d58.entry.js} +2 -2
  193. package/dist/roadtrip/{p-494aab48.entry.js → p-06fbd2ea.entry.js} +2 -2
  194. package/dist/roadtrip/{p-2a4a0928.entry.js → p-167cd2fc.entry.js} +2 -2
  195. package/dist/roadtrip/p-215afdbd.entry.js +2 -0
  196. package/dist/roadtrip/{p-8f7375bc.entry.js → p-2e049c8e.entry.js} +2 -2
  197. package/dist/roadtrip/{p-8ca23318.entry.js → p-37430583.entry.js} +2 -2
  198. package/dist/roadtrip/{p-9fce16aa.entry.js → p-3dcaa947.entry.js} +2 -2
  199. package/dist/roadtrip/{p-1e61ca1f.entry.js → p-3f5dff96.entry.js} +2 -2
  200. package/dist/roadtrip/{p-f8817c0e.entry.js → p-449affa6.entry.js} +2 -2
  201. package/dist/roadtrip/p-4675ea6d.entry.js +2 -0
  202. package/dist/roadtrip/{p-4a47999a.entry.js → p-5fea6a74.entry.js} +2 -2
  203. package/dist/roadtrip/{p-f9754547.entry.js → p-60bd73ad.entry.js} +2 -2
  204. package/dist/roadtrip/p-65f9bd9c.entry.js +2 -0
  205. package/dist/roadtrip/{p-c68fc795.entry.js → p-6c617506.entry.js} +2 -2
  206. package/dist/roadtrip/{p-4e779fd6.entry.js → p-6ff3b37c.entry.js} +2 -2
  207. package/dist/roadtrip/p-85b1e505.entry.js +2 -0
  208. package/dist/roadtrip/{p-a990a8b6.entry.js → p-862c1831.entry.js} +2 -2
  209. package/dist/roadtrip/{p-a990a8b6.entry.js.map → p-862c1831.entry.js.map} +1 -1
  210. package/dist/roadtrip/p-8b04fc62.entry.js +2 -0
  211. package/dist/roadtrip/{p-e2a00f9c.entry.js → p-913b72de.entry.js} +3 -3
  212. package/dist/roadtrip/p-913b72de.entry.js.map +1 -0
  213. package/dist/roadtrip/{p-87c1ff76.entry.js → p-99a6faae.entry.js} +2 -2
  214. package/dist/roadtrip/{p-bba18327.entry.js → p-b5fa8c5a.entry.js} +2 -2
  215. package/dist/roadtrip/{p-db243855.entry.js → p-b8c5d292.entry.js} +2 -2
  216. package/dist/roadtrip/{p-d68e64a8.entry.js → p-c28e7add.entry.js} +2 -2
  217. package/dist/roadtrip/{p-10e65612.entry.js → p-c47ccbf2.entry.js} +2 -2
  218. package/dist/roadtrip/{p-c3ef32ef.entry.js → p-c6824205.entry.js} +2 -2
  219. package/dist/roadtrip/{p-833c1e78.entry.js → p-cfd2919e.entry.js} +2 -2
  220. package/dist/roadtrip/{p-a0a95c0a.entry.js → p-d80e7563.entry.js} +2 -2
  221. package/dist/roadtrip/p-db77c354.entry.js +2 -0
  222. package/dist/roadtrip/{p-5fab1bc3.entry.js.map → p-db77c354.entry.js.map} +1 -1
  223. package/dist/roadtrip/{p-0cacf829.entry.js → p-ddfe088f.entry.js} +2 -2
  224. package/dist/roadtrip/p-ddfe088f.entry.js.map +1 -0
  225. package/dist/roadtrip/{p-4bbc889b.entry.js → p-e6c4c576.entry.js} +2 -2
  226. package/dist/roadtrip/{p-01be5517.entry.js → p-e6e9882b.entry.js} +2 -2
  227. package/dist/roadtrip/{p-5a6fbd7f.entry.js → p-e75ec60f.entry.js} +2 -2
  228. package/dist/roadtrip/{p-edbbe884.entry.js → p-ea1a175d.entry.js} +2 -2
  229. package/dist/roadtrip/{p-2903bdc0.entry.js → p-eac313e4.entry.js} +2 -2
  230. package/dist/roadtrip/{p-fb26ed7e.entry.js → p-f1b53143.entry.js} +2 -2
  231. package/dist/roadtrip/{p-b18cda16.entry.js → p-fd3c58b6.entry.js} +2 -2
  232. package/dist/roadtrip/{p-32845e72.entry.js → p-fe40ab3d.entry.js} +2 -2
  233. package/dist/roadtrip/roadtrip.css +1 -1
  234. package/dist/roadtrip/roadtrip.esm.js +1 -1
  235. package/dist/roadtrip/roadtrip.esm.js.map +1 -1
  236. package/dist/types/components/drawer/drawer.d.ts +4 -1
  237. package/dist/types/components/phone-number-input/constants.d.ts +1 -0
  238. package/dist/types/components/phone-number-input/phone-number-input.d.ts +3 -9
  239. package/dist/types/components-react.d.ts +4 -4
  240. package/dist/types/components.d.ts +16 -0
  241. package/hydrate/index.js +305 -318
  242. package/hydrate/index.mjs +305 -318
  243. package/package.json +1 -1
  244. package/dist/roadtrip/p-0cacf829.entry.js.map +0 -1
  245. package/dist/roadtrip/p-427bd935.entry.js +0 -2
  246. package/dist/roadtrip/p-5fab1bc3.entry.js +0 -2
  247. package/dist/roadtrip/p-78b51033.entry.js +0 -2
  248. package/dist/roadtrip/p-9737182c.entry.js +0 -2
  249. package/dist/roadtrip/p-a925ff64.entry.js +0 -2
  250. package/dist/roadtrip/p-e2a00f9c.entry.js.map +0 -1
  251. package/dist/roadtrip/p-ee92b78d.entry.js +0 -2
  252. /package/dist/roadtrip/{p-c1e2aa67.entry.js.map → p-04913d58.entry.js.map} +0 -0
  253. /package/dist/roadtrip/{p-494aab48.entry.js.map → p-06fbd2ea.entry.js.map} +0 -0
  254. /package/dist/roadtrip/{p-2a4a0928.entry.js.map → p-167cd2fc.entry.js.map} +0 -0
  255. /package/dist/roadtrip/{p-427bd935.entry.js.map → p-215afdbd.entry.js.map} +0 -0
  256. /package/dist/roadtrip/{p-8f7375bc.entry.js.map → p-2e049c8e.entry.js.map} +0 -0
  257. /package/dist/roadtrip/{p-8ca23318.entry.js.map → p-37430583.entry.js.map} +0 -0
  258. /package/dist/roadtrip/{p-9fce16aa.entry.js.map → p-3dcaa947.entry.js.map} +0 -0
  259. /package/dist/roadtrip/{p-1e61ca1f.entry.js.map → p-3f5dff96.entry.js.map} +0 -0
  260. /package/dist/roadtrip/{p-f8817c0e.entry.js.map → p-449affa6.entry.js.map} +0 -0
  261. /package/dist/roadtrip/{p-ee92b78d.entry.js.map → p-4675ea6d.entry.js.map} +0 -0
  262. /package/dist/roadtrip/{p-4a47999a.entry.js.map → p-5fea6a74.entry.js.map} +0 -0
  263. /package/dist/roadtrip/{p-f9754547.entry.js.map → p-60bd73ad.entry.js.map} +0 -0
  264. /package/dist/roadtrip/{p-a925ff64.entry.js.map → p-65f9bd9c.entry.js.map} +0 -0
  265. /package/dist/roadtrip/{p-c68fc795.entry.js.map → p-6c617506.entry.js.map} +0 -0
  266. /package/dist/roadtrip/{p-4e779fd6.entry.js.map → p-6ff3b37c.entry.js.map} +0 -0
  267. /package/dist/roadtrip/{p-9737182c.entry.js.map → p-85b1e505.entry.js.map} +0 -0
  268. /package/dist/roadtrip/{p-78b51033.entry.js.map → p-8b04fc62.entry.js.map} +0 -0
  269. /package/dist/roadtrip/{p-87c1ff76.entry.js.map → p-99a6faae.entry.js.map} +0 -0
  270. /package/dist/roadtrip/{p-bba18327.entry.js.map → p-b5fa8c5a.entry.js.map} +0 -0
  271. /package/dist/roadtrip/{p-db243855.entry.js.map → p-b8c5d292.entry.js.map} +0 -0
  272. /package/dist/roadtrip/{p-d68e64a8.entry.js.map → p-c28e7add.entry.js.map} +0 -0
  273. /package/dist/roadtrip/{p-10e65612.entry.js.map → p-c47ccbf2.entry.js.map} +0 -0
  274. /package/dist/roadtrip/{p-c3ef32ef.entry.js.map → p-c6824205.entry.js.map} +0 -0
  275. /package/dist/roadtrip/{p-833c1e78.entry.js.map → p-cfd2919e.entry.js.map} +0 -0
  276. /package/dist/roadtrip/{p-a0a95c0a.entry.js.map → p-d80e7563.entry.js.map} +0 -0
  277. /package/dist/roadtrip/{p-4bbc889b.entry.js.map → p-e6c4c576.entry.js.map} +0 -0
  278. /package/dist/roadtrip/{p-01be5517.entry.js.map → p-e6e9882b.entry.js.map} +0 -0
  279. /package/dist/roadtrip/{p-5a6fbd7f.entry.js.map → p-e75ec60f.entry.js.map} +0 -0
  280. /package/dist/roadtrip/{p-edbbe884.entry.js.map → p-ea1a175d.entry.js.map} +0 -0
  281. /package/dist/roadtrip/{p-2903bdc0.entry.js.map → p-eac313e4.entry.js.map} +0 -0
  282. /package/dist/roadtrip/{p-fb26ed7e.entry.js.map → p-f1b53143.entry.js.map} +0 -0
  283. /package/dist/roadtrip/{p-b18cda16.entry.js.map → p-fd3c58b6.entry.js.map} +0 -0
  284. /package/dist/roadtrip/{p-32845e72.entry.js.map → p-fe40ab3d.entry.js.map} +0 -0
@@ -9,30 +9,44 @@ export default {
9
9
  argTypes: {
10
10
  countryData: { control: 'object' },
11
11
  language: {
12
+ description: "Used to display countries with the right language",
12
13
  control: {
13
14
  type: 'select',
14
15
  options: ['en', 'fr', 'es', 'pt', 'it', 'nl', 'de']
15
- }
16
+ },
17
+ table: {
18
+ defaultValue: { summary: 'fr' },
19
+ },
16
20
  },
17
21
  required: {
22
+ description: "Add a star in the phone input",
18
23
  control: 'boolean',
19
24
  },
20
25
  disabled: {
26
+ description: "Disable both fields",
21
27
  control: 'boolean',
22
28
  },
23
29
  'country-code': {
30
+ description: "Selected country code",
24
31
  control: 'text',
25
32
  },
26
33
  'code-label': {
34
+ description: "Country selection placeHolder",
27
35
  control: 'text',
36
+ table: {
37
+ defaultValue: { summary: '' },
38
+ },
28
39
  },
29
40
  'phone-label': {
41
+ description: "Phone input placeHolder",
30
42
  control: 'text',
31
43
  },
32
44
  'phone-value': {
45
+ description: "Value displayed in the phone input",
33
46
  control: 'text',
34
47
  },
35
48
  'error-message': {
49
+ description: "Error message (displayed only if ther is a message)",
36
50
  control: 'text',
37
51
  },
38
52
  },
@@ -92,10 +92,10 @@ export class PlateNumber {
92
92
  render() {
93
93
  const value = this.getValue();
94
94
  const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
95
- return (h("road-input-group", { key: '7980cc259f449b537eb2a03fc4e291f1d1969bfb', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, h("label", { key: '3149ae01f12aadde00cb72903b09c73a45816732', slot: "prepend", class: "input-group-prepend" }, h("div", { key: '21220cb22eccab0efab05f44a1127bcb6cbd204f', class: "plate-number-start" }, h("road-icon", { key: '2b1e4f33543c17399f1d19088f3d71c1d15c0248', class: "plate-number-icon", icon: licensePlateStarEu }), h("div", { key: 'ab3f376b26c1bc8b8dcc0741a8d651bf5ef2ab66', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
95
+ return (h("road-input-group", { key: 'd99ec720113a121c58794385a2a697459cc4e0eb', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, h("label", { key: '559c8428a6403ee087bc219b6027b12a48c658d8', slot: "prepend", class: "input-group-prepend" }, h("div", { key: '8483940a622fb54e8bc29dfeaf3ade7aaeeb0e8c', class: "plate-number-start" }, h("road-icon", { key: 'ba60f444919f5b6221fe4d910ced4bec521e4101', class: "plate-number-icon", icon: licensePlateStarEu }), h("div", { key: '095d70b607191a292c5857559566954122c5081c', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
96
96
  .filter(item => item.country === this.country)[0].letter))), this.motorbike
97
97
  ? (h("textarea", { class: "form-control plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, maxlength: "9", rows: 2, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }))
98
- : (h("input", { class: "plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus })), h("label", { key: '247d5b0a7be0f8d5012f5954d569c674e5f294a2', slot: "append", class: "input-group-append" }, h("div", { key: '7ddc6a2c9e8bc5a41677cda5f3b48ae000952d08', class: "plate-number-end" }))));
98
+ : (h("input", { class: "plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus })), h("label", { key: '28ce8da1e17d33750056cbbb7b62686f492b4f6d', slot: "append", class: "input-group-append" }, h("div", { key: 'a7fd028f9e8457e1b865abbe79539223d64c7087', class: "plate-number-end" }))));
99
99
  }
100
100
  static get is() { return "road-plate-number"; }
101
101
  static get encapsulation() { return "scoped"; }
@@ -11,43 +11,56 @@ export default {
11
11
  },
12
12
  argTypes: {
13
13
  country: {
14
+ description: "country of the plate",
14
15
  options: ['FR', 'BE', 'IT', 'ES', 'PT', 'PL', 'AT', 'DE'],
15
16
  control: {
16
17
  type: 'select',
17
18
  },
19
+ table: {
20
+ defaultValue: { summary: 'FR' },
21
+ },
18
22
  },
19
23
  disabled: {
24
+ description: "If `true`, the user cannot interact with the input.",
20
25
  control: 'boolean',
21
26
  },
22
27
  readonly: {
28
+ description: "If `true`, the user cannot modify the value.",
23
29
  control: 'boolean',
24
30
  },
25
31
  placeholder: {
32
+ description: "overwrite the default placeholder",
26
33
  control: 'text',
27
34
  },
28
35
  motorbike: {
36
+ description: "Enable motorbike display",
29
37
  control: 'boolean',
30
38
  },
31
39
  value: {
40
+ description: "The value of the input.",
32
41
  control: 'text',
33
42
  },
34
43
  roadblur: {
44
+ description: "Emitted when the input loses focus.",
35
45
  control: {
36
46
  type: null,
37
47
  },
38
48
  },
39
49
  roadfocus: {
50
+ description: "Emitted when the input has focus.",
40
51
  control: {
41
52
  type: null,
42
53
  },
43
54
  },
44
55
  roadchange: {
56
+ description: "Emitted when the value has changed.",
45
57
  action: 'roadchange',
46
58
  control: {
47
59
  type: null,
48
60
  },
49
61
  },
50
62
  roadinput: {
63
+ description: "Emitted when a keyboard input occurred.",
51
64
  action: 'roadinput',
52
65
  control: {
53
66
  type: null,
@@ -31,7 +31,7 @@ export class Dropdown {
31
31
  this.isOpen = false;
32
32
  }
33
33
  render() {
34
- return (h("details", { key: 'ef885563a57a00c14694efdc7535b2f589cd5558', class: "dropdown", open: this.isOpen }, h("summary", { key: 'd653bf84dded67c1e7ee765951335e08c22cf5e5', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, h("div", { key: '2d1d9bb7d125d26be995636447148bc60ce3ebee', class: `d-flex` }, h("div", { key: 'd09e9dce1f1509092acdd9c55ac86f77620a8945' }, h("road-avatar", { key: 'd5d20f6e0f6af0d710d0c40e1027f07ba27c4ec5' }, h("slot", { key: '1e23ef5fd196881d23a144326b26cf223cc06c31', name: "avatar" }))))), h("div", { key: '12b770b0426f1ca4f5550656b8ddb5f868f7f5c4', class: `dropdown-menu` }, h("div", { key: '502d4e9f0a65c0aa72021cde7462c4b056223326', class: "profil-item" }, h("road-avatar", { key: '0568250f850bf1f56169b8f40a89d16c0d0a4400', size: "sm" }, h("slot", { key: '3e5896405e5f155a3721eda74a99bda6fbbf5500', name: "avatarItem" })), h("div", { key: '9c3c0af4361d5e36e3189c2bc9fa156e80d9b52a', class: "profil-item-info" }, h("span", { key: '14d317fb694adbfa415897059191e0586689c354', class: "profil-item-info-name" }, h("slot", { key: 'e42863210087468ff02e50a669b99d4fdc2f048d', name: "name" })), h("road-label", { key: '451c674889bccb623c397b05310046d00bd32986' }, h("slot", { key: 'e37cc7000e92ef1d7573f98fc30bf64223e10340', name: "email" })))), h("slot", { key: 'e14e18ceefeff09ea09abb71c36e8f0e9d432f71', name: "list" }))));
34
+ return (h("details", { key: '1ea3c85ea39041b51cd7b87e5e3bf8457d04d8d2', class: "dropdown", open: this.isOpen }, h("summary", { key: '31722222765df7c7fb7716f1d28c719e71e3c50b', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, h("div", { key: 'e395e588854018e3aa01a535df994281a17e76e7', class: `d-flex` }, h("div", { key: '8bb2ba7393ad71a0fb01bfaae2626cddff73b974' }, h("road-avatar", { key: '6d05a101ce8015714a85fea57c583f8cf20e8ce4' }, h("slot", { key: 'c1a1408aa8e9eafedb2f3cb1791dcc02a2aba504', name: "avatar" }))))), h("div", { key: '31b4b8e31798cdbba1f144cd7c75417e5aed1dcc', class: `dropdown-menu` }, h("div", { key: 'daaa7e6156bd9e4cf093dcd895aabc58a5a75835', class: "profil-item" }, h("road-avatar", { key: 'efe9b628482a2f27c8224e5a836677e55aab0a53', size: "sm" }, h("slot", { key: 'b9def88d2732c0ff87353e163437f303bf921175', name: "avatarItem" })), h("div", { key: 'de3f1acfabff5c15cb409ff32c9f3d03ff80b256', class: "profil-item-info" }, h("span", { key: '01909017ffda821626024a5db9c77b5a5fa79988', class: "profil-item-info-name" }, h("slot", { key: 'e7ecab682533008f8aa41deb00a30a80ba027c09', name: "name" })), h("road-label", { key: 'e23ae331f406c69d5702055a31f8445518983fbc' }, h("slot", { key: '4ee00896125440f2f3a904516052edecc3ccaefc', name: "email" })))), h("slot", { key: '51a8603e7be8c8df634d69fe74a34845b75aff2f', name: "list" }))));
35
35
  }
36
36
  static get is() { return "road-profil-dropdown"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -7,39 +7,47 @@ export default {
7
7
  component: 'road-profil-dropdown',
8
8
  argTypes: {
9
9
  'is-open': {
10
+ description: "Set to `true` to open the dropdown menu and to `false` to close it.",
10
11
  control: 'boolean',
11
12
  },
12
13
  ' ': {
14
+ description: "Element how will open the dropdown when clicked",
13
15
  control: {
14
16
  type: null,
15
17
  },
16
18
  },
17
19
  list: {
20
+ description: "List of item values (you can add border with lines=`full` but not on the last item)",
18
21
  control: {
19
22
  type: 'text',
20
23
  },
21
24
  },
22
25
  avatar: {
26
+ description: "Content of the avatar (img or First letter) <road-img> or <road-label>.",
23
27
  control: {
24
28
  type: 'text',
25
29
  },
26
30
  },
27
31
  avatarItem: {
32
+ description: "Content of the avatar item (img or First letter) <road-img> or <road-label>.",
28
33
  control: {
29
34
  type: 'text',
30
35
  },
31
36
  },
32
37
  name: {
38
+ description: "Content First and Last Name.",
33
39
  control: {
34
40
  type: 'text',
35
41
  },
36
42
  },
37
43
  email: {
44
+ description: "Content email.",
38
45
  control: {
39
46
  type: 'text',
40
47
  },
41
48
  },
42
49
  '--margin-top': {
50
+ description: "Top margin of the menu",
43
51
  table: {
44
52
  defaultValue: { summary: '0.5rem' },
45
53
  },
@@ -40,7 +40,7 @@ export class ProgressBar {
40
40
  const fullwidth = this.fullwidth ? 'progress-element-info-full-width' : 'progress-element-info';
41
41
  const light = this.light ? 'progress progress-light' : 'progress';
42
42
  const animation = this.animation ? 'animation' : '';
43
- return (h(Host, { key: 'f279904305a0aeeed08b41ad7c04dde77b7935bd', class: "progress-element" }, h("div", { key: 'fcc94dd81e3f47e7cd0792223f42132a565ffb0f', class: `${light} progress-${this.color} ${animation}` }, h("div", { key: '9df3dc8b11c4d458115e7d772ba04e9c56c49498', class: "progress-bar", role: "progressbar", style: { width: `${this.value}%` }, "aria-valuenow": this.value, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": "progress bar" })), h("div", { key: '77912e82c0338448643cd6e9b1b57f29d882a4d5', class: `${fullwidth}` }, h("span", { key: '41db96be16f003e0efac77d65580e0333e55efea', class: "progress-element-label" }, this.label), this.showstep && h("span", { key: '2096e01438d8d0384c17e781e946aae8217bfab7', class: "progress-element-step" }, valueRound, "/", this.numbersteps))));
43
+ return (h(Host, { key: '6c93b381f40367646f5ccb653a9062c7ac342679', class: "progress-element" }, h("div", { key: 'cb975e51bd98f03fa7d52bd3f20af7b5f8f25379', class: `${light} progress-${this.color} ${animation}` }, h("div", { key: '33b21314f01938916afaea7a58e0425b03616d06', class: "progress-bar", role: "progressbar", style: { width: `${this.value}%` }, "aria-valuenow": this.value, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": "progress bar" })), h("div", { key: '3d31e5265359ddb21a8517ccdb6408c3a0503478', class: `${fullwidth}` }, h("span", { key: '0965abaec5dc0737d04ddc05da7b4a6423fe6bb1', class: "progress-element-label" }, this.label), this.showstep && h("span", { key: '1f8b48a83db7c3d70f4a7756a43969d0782ee35a', class: "progress-element-step" }, valueRound, "/", this.numbersteps))));
44
44
  }
45
45
  static get is() { return "road-progress"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -20,6 +20,7 @@ Playground.args = {
20
20
  };
21
21
  Playground.argTypes = {
22
22
  value: {
23
+ description: "The value determines how much of the active bar should display.\nThe value should be between [0, 100].",
23
24
  control: {
24
25
  type: 'number',
25
26
  min: '0',
@@ -27,6 +28,7 @@ Playground.argTypes = {
27
28
  },
28
29
  },
29
30
  numbersteps: {
31
+ description: "The number of steps should be 4 or 5.",
30
32
  options: ['4', '5'],
31
33
  control: {
32
34
  type: 'select',
@@ -35,27 +37,37 @@ Playground.argTypes = {
35
37
  },
36
38
  },
37
39
  label: {
40
+ description: "Label display in progress bar",
38
41
  control: 'text',
39
42
  },
40
43
  showstep: {
44
+ description: "Show step",
41
45
  control: 'boolean',
42
46
  },
43
47
  animation: {
48
+ description: "Animation progress bar",
44
49
  control: 'boolean',
45
50
  },
46
51
  light: {
52
+ description: "Light progress background",
47
53
  control: 'boolean',
48
54
  },
49
55
  fullwidth: {
56
+ description: "Add padding if the progress is full width",
50
57
  control: 'boolean',
51
58
  },
52
59
  color: {
60
+ description: "The color to use from your application's color palette.",
53
61
  options: ['primary', 'secondary', 'info', 'success', 'warning', 'danger', 'rating'],
54
62
  control: {
55
63
  type: 'radio',
56
64
  },
65
+ table: {
66
+ defaultValue: { summary: 'primary' },
67
+ },
57
68
  },
58
69
  '--border-radius': {
70
+ description: "Border radius of the progress",
59
71
  table: {
60
72
  defaultValue: { summary: '0.25rem' },
61
73
  },
@@ -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: '6ef1e7653ba0d4956f96cde42abf1f3305d05b44' }, h("nav", { key: '31b9f0460989cf3a2d2c4f763883c4d33f37acb5' }, h("ul", { key: '1acebf1b93845cb95a283485c2b28a8db1d6fe7e', class: `${colorClass}` }, h("li", { key: '379d152f14c3ca5d095097fbdc44d13bdeea24fd', class: `${stateClass}` }, h("a", { key: '4e4453bc9b113f621e997176c143f2966dd4e5b4', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, h("span", { key: '068326c44af5b05e0d6f5356f8eb9d4f33b02036', class: "progress-indicator-horizontal-icon" }, h("slot", { key: 'd06caa135df2ed284388de472c9fba91837f98e8', name: "progress-indicator-horizontal-icon" })), h("span", { key: 'd332efd3e9d13571ceb8c7d0bcc643843f4c492c', class: "progress-indicator-horizontal-title" }, h("slot", { key: '2744d3572915682f5a1c99c13589052b5e297796', name: "progress-indicator-horizontal-title" })))), h("li", { key: '2852fd1eb6c83a5bd73bd69fae31b36dfe81d202', class: `${stateSecondStepClass}` }, h("a", { key: 'dada3e2de184745f91dfa6e8271e82a5ace2fb6b', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, h("span", { key: '49e839a7ad0379e71a650b0afd60a20909579244', class: "progress-indicator-horizontal-icon" }, h("slot", { key: '98d4b45ee6d0fae6dbfa282f9c906814ad748da4', name: "progress-indicator-horizontal-icon2" })), h("span", { key: '8c5b89b084630836e70c6b5222519163e79a3b40', class: "progress-indicator-horizontal-title" }, h("slot", { key: '2c180eb35979d3d07be8470cc655935d2cb89d22', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && h("li", { key: '12d8d3e274906772b5cf8b283ee269283356ab3e', class: `${stateThirdStepClass}` }, h("a", { key: '21440094f64c62e5a91491874aa8b946dd2ec687', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, h("span", { key: '7dc7412d5baca497635e14d131650d4cc3c1e6dc', class: "progress-indicator-horizontal-icon" }, h("slot", { key: '838fc759296b69d700d4b56f2c0a69ba66aa5d11', name: "progress-indicator-horizontal-icon3" })), h("span", { key: '69b738ab252466f3485c1aab5a3a0835a38b4013', class: "progress-indicator-horizontal-title" }, h("slot", { key: 'a5cb86ba68da3237b5cb83004ac4c1d295f33689', name: "progress-indicator-horizontal-title3" }))))))));
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" }))))))));
33
33
  }
34
34
  static get is() { return "road-progress-indicator-horizontal"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -7,42 +7,50 @@ export default {
7
7
  component: 'road-progress-indicator-horizontal',
8
8
  argTypes: {
9
9
  color: {
10
+ description: "The color progress-indicator-horizontal.",
10
11
  options: ['default', 'header'],
11
12
  control: {
12
13
  type: 'select',
13
14
  },
14
15
  },
15
16
  'number-step': {
17
+ description: "The nombre of steps.",
16
18
  options: [3, 2],
17
19
  control: {
18
20
  type: 'select',
19
21
  },
20
22
  },
21
23
  'state-first-step': {
24
+ description: "The color of the first step.",
22
25
  options: ['default', 'current', 'completed', 'in-progress'],
23
26
  control: {
24
27
  type: 'select',
25
28
  },
26
29
  },
27
30
  'state-second-step': {
31
+ description: "The color of the second step.",
28
32
  options: ['default', 'current', 'completed', 'in-progress'],
29
33
  control: {
30
34
  type: 'select',
31
35
  },
32
36
  },
33
37
  'state-third-step': {
38
+ description: "The color of the third step.",
34
39
  options: ['default', 'current', 'completed', 'in-progress'],
35
40
  control: {
36
41
  type: 'select',
37
42
  },
38
43
  },
39
44
  'progress-indicator-horizontal-icon': {
45
+ description: "if the state of the step 1 is completed add\n`<road-icon name=\"check-small\" class=\"d-block\" style=\"color: currentColor;\"></road-icon>` by default.",
40
46
  control: 'text',
41
47
  },
42
48
  'progress-indicator-horizontal-title': {
49
+ description: "if the state of the step 2 is completed add\n`<road-icon name=\"check-small\" class=\"d-block\" style=\"color: currentColor;\"></road-icon>` by default.",
43
50
  control: 'text',
44
51
  },
45
52
  'progress-indicator-horizontal-icon2': {
53
+ description: "if the state of the step 3 is completed add\n`<road-icon name=\"check-small\" class=\"d-block\" style=\"color: currentColor;\"></road-icon>` by default.",
46
54
  control: 'text',
47
55
  },
48
56
  'progress-indicator-horizontal-title2': {
@@ -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: '1316219f8843bbe67b9d108e7855db69251025fa' }, h("nav", { key: '6b2ff0e552c124364a5cdb8419af4c3cf6489a2a' }, h("ul", { key: '279fa6381d7cc7ec44614c3a2611171d1b728a92' }, h("li", { key: '9b4b57a7285a812c7a992c9e35e145f703de9c5b' }, h("slot", { key: '9adfddec33f1ddd9658f2ce50802d193cf880a36' }))))));
15
+ return (h(Host, { key: '53374580ae8974a098d78a601f16c11d046d05a0' }, h("nav", { key: '172b56e4f067cd3aff24cbc8f619f623cee6e7fc' }, h("ul", { key: '76fc4af3a83915d53365f3e813612e10ac7bbca7' }, h("li", { key: 'a30ca0d908dc432e31cf04748df08d87bc527f61' }, h("slot", { key: '2bb8112daa5f3799b8936939dce9818fa17f756d' }))))));
16
16
  }
17
17
  static get is() { return "road-progress-indicator-vertical"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -10,6 +10,7 @@ export default {
10
10
  },
11
11
  argTypes: {
12
12
  ' ': {
13
+ description: "content of the stepper item, it should be road-vertical-stepper-item elements.\n\nif the state of the step is completed add the class `completed` on the road-vertical-stepper-item\n\nif the state of the step is in-progress add the class `in-progress` on the road-vertical-stepper-item\n\nif the state of the step is current add the class `current` on the road-vertical-stepper-item\n\n`<road-icon name=\"check-small\" class=\"d-block\" style=\"color: currentColor;\"></road-icon>`",
13
14
  control: 'text',
14
15
  },
15
16
  },
@@ -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: '3b0c10665a39471c80fd033bc9ac82fe2a5af21b' }, h("slot", { key: '9afd4c52e6b4b5de87e8283a90d44f89cd608c2e' })));
7
+ return (h(Host, { key: 'd3ba92c8ba422c910a790c232cc6c43acf21a316' }, h("slot", { key: '471a58e0dbbcad1601c6bfec7e90cc4ced55f172' })));
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: '7d98761f2a2e832defc4a3be6f8ba55ee84e63e5' }, h("nav", { key: 'd7b060564d6010f2cf6258be342337f38d21f465' }, h("ul", { key: '1d738d9f900a278a9c1da0a90fd851cd859af5d7' }, h("li", { key: '07652bae417a2e3654f70751330fdf72bfa2cbfc' }, h("slot", { key: 'd1e1dccc15da4d4b578ed309f63843dc68e0e6d1' }))))));
12
+ return (h(Host, { key: '9a0c92424113ac6ed3a422e2b72a597a1c7e56ae' }, h("nav", { key: '1f4a7756e005ecaac2ae04d69cfa56f44a3db114' }, h("ul", { key: 'dd386017509fcabfbc30d8970fa60d293d209e9e' }, h("li", { key: '1e2ca3005116579b3917b51867a09d975c9c1891' }, h("slot", { key: 'aa5268a3e7f35906bb37354e88b825f839d2774d' }))))));
13
13
  }
14
14
  static get is() { return "road-progress-tracker"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -10,6 +10,7 @@ export default {
10
10
  },
11
11
  argTypes: {
12
12
  ' ': {
13
+ description: "content of the progress stepper tracker item, it should be road-progress-tracker-item elements.\n\nif the state of the step is completed add the class `completed` on the road-progress-tracker-item\nif the state of the step is in progress add the class `in-progress` on the road-progress-tracker-item\nif the state of the step is current add the class `current` on the road-progress-tracker-item",
13
14
  control: 'text',
14
15
  },
15
16
  },
@@ -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: 'ad50a5a48f22062d91b353cdc827b0bfd5c0aec2' }, h("slot", { key: '06013bfcc1ae31542a228fc341905dd47e67bbce' })));
15
+ return (h(Host, { key: 'fa846bf7750217b756e2c63925636d75100e52f0' }, h("slot", { key: '3b37dca6ac078595ce7e739cd980661387f50e59' })));
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: '3153c0da131395b6b1a32e3e6612c63dc1073d0f', class: `form-radio ${inlineClass}` }, h("input", { key: 'e73a45b85d90b9704839cd6937ed74110f6eb6e0', 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: '83a00bb8c1d319bb4118c0638ed15ebaf848056a', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", h("span", { key: 'd00a94092feb5b4bcf7e9c7ec0c5bfe72018d793', class: "form-radio-label-span" }, this.secondaryLabel))));
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))));
76
76
  }
77
77
  static get is() { return "road-radio"; }
78
78
  static get encapsulation() { return "scoped"; }
@@ -52,47 +52,60 @@ Playground.args = {
52
52
  };
53
53
  Playground.argTypes = {
54
54
  disabled: {
55
+ description: "If `true`, the user cannot interact with the radio.",
55
56
  control: 'boolean',
56
57
  },
57
58
  required: {
59
+ description: "If `true`, the user must fill in a value before submitting a form.",
58
60
  control: 'boolean',
59
61
  },
60
62
  inverse: {
63
+ description: "If `true`, the label and the radio are inverse and spaced",
61
64
  control: 'boolean',
62
65
  },
63
66
  inline: {
67
+ description: "Inline multiple radio",
64
68
  control: 'boolean',
65
69
  },
66
70
  error: {
71
+ description: "Error message for the field",
67
72
  control: 'text',
68
73
  },
69
74
  helper: {
75
+ description: "Helper message for the field",
70
76
  control: 'text',
71
77
  },
72
78
  label: {
79
+ description: "Label for the field",
73
80
  control: 'text',
74
81
  },
75
82
  'secondary-label': {
83
+ description: "Secondary Label for the field",
76
84
  control: 'text',
77
85
  },
78
86
  asterisk: {
79
87
  control: 'boolean',
80
88
  },
81
89
  name: {
90
+ description: "The name of the control, which is submitted with the form data.",
82
91
  control: 'text',
83
92
  },
84
93
  value: {
94
+ description: "Value the form will get",
85
95
  control: 'text',
86
96
  },
87
97
  'radio-id': {
98
+ description: "The id of radio",
88
99
  control: 'text',
89
100
  },
90
101
  roadblur: {
102
+ description: "Emitted when the radio button loses focus.",
91
103
  control: {
92
104
  type: null,
93
105
  },
94
106
  },
95
107
  roadfocus: {
108
+ description: "Emitted when the radio button has focus.",
96
109
  control: {
97
110
  type: null,
98
111
  },
@@ -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: 'bd4d94c95c08aef18d12a279fb9678d1bf3fa008', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && h("p", { key: '30388fd2a86be9f0dd3d975a6ab549970eb8867f', class: "text-content", id: labelId }, this.label, " ", this.asterisk && h("span", { key: '9b632bb00c8191b375ac0a43dcceb67af0d74597', class: "asterisk" }, "*")), h("slot", { key: 'eb69969fd91411bb34b96d85450f017c15afe6c1' }), this.error && this.error !== '' && h("p", { key: 'a9dd413f7c2674317eeb7b8258ae3be9d6c09e6b', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: '03341129fd0aa6bdb3bf5b811f0f1c12ed46fe05', class: "helper" }, this.helper)));
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)));
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: '8fd94a409f0e5e537576ce870b77294a1a3dd871', tabindex: "0", class: { disabled: this.disabled } }, h("div", { key: 'f501f98ca087c5ad0411f8477b04c7b595b6e15c', class: "form-group d-flex align-items-end" }, this.showTick && (h("road-icon", { key: '959a1a587bb1a2d56dbdb47b7cb98ea590170261', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), h("div", { key: '6aca50db080bebbe0e78d8c4bb86ec04552d9af9', class: "form-range", style: {
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: {
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: '8e3511fc6d3f5ce44a0da8b737677ee8832b67cf' }), this.showLabels && h("slot", { key: '2ed8c2a46779938262227ec46edd223dc438d69c', name: "datalist" }), h("input", { key: 'ef317d144c64dc881ea3f49dc7f4b251aaabb578', 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: 'fbc87a0dcefd8ce92d0f6548fbc4bab1bcc8cbc4', class: "form-range-label" }, "Valeur"), h("div", { key: 'f329d5b20f1f851e34507b9dc5a5cdb5d01dd54c', class: "form-range-progress" })), this.showTick && (h("road-icon", { key: 'ba9c133f7e0c54bdd38489b62b5dd54bcbe11525', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
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" })))));
106
106
  }
107
107
  static get is() { return "road-range"; }
108
108
  static get encapsulation() { return "scoped"; }
@@ -7,39 +7,50 @@ export default {
7
7
  component: 'road-range',
8
8
  argTypes: {
9
9
  min: {
10
+ description: "The minimum value, which must not be greater than its maximum (max attribute) value.",
10
11
  control: 'number',
11
12
  },
12
13
  max: {
14
+ description: "The maximum value, which must not be less than its minimum (min attribute) value.",
13
15
  control: 'number',
14
16
  },
15
17
  step: {
18
+ description: "Works with the min and max attributes to limit the increments at which a value can be set.\nPossible values are: `\"any\"` or a positive floating point number.",
16
19
  control: 'number',
17
20
  },
18
21
  value: {
22
+ description: "The value of the range.",
19
23
  control: 'number',
20
24
  },
21
25
  'show-value': {
26
+ description: "Display the current value of the range",
22
27
  control: 'boolean',
23
28
  },
24
29
  'show-tick': {
30
+ description: "Display Tick of the range",
25
31
  control: 'boolean',
26
32
  },
27
33
  'show-labels': {
34
+ description: "Display labels of the range",
28
35
  control: 'boolean',
29
36
  },
30
37
  datalist: {
38
+ description: "list of labels. also put show-labels=\"true\" and max=\"10\" for this exemple\n`<datalist id=\"tickmarks\" slot=\"datalist\" class=\"tickmarks\">`\n`<option value=\"0\" label=\"0%\"></option>`\n`<option value=\"10\" label=\"10%\"></option>`\n`<option value=\"20\" label=\"20%\"></option>`\n`<option value=\"30\" label=\"30%\"></option>`\n`<option value=\"40\" label=\"40%\"></option>`\n`<option value=\"50\" label=\"50%\"></option>`\n`<option value=\"60\" label=\"60%\"></option>`\n`<option value=\"70\" label=\"70%\"></option>`\n`<option value=\"80\" label=\"80%\"></option>`\n`<option value=\"90\" label=\"90%\"></option>`\n`<option value=\"100\" label=\"100%\"></option>`\n`</datalist>`",
31
39
  control: 'text',
32
40
  },
33
41
  'range-id': {
42
+ description: "The id of range",
34
43
  control: 'text',
35
44
  },
36
45
  roadchange: {
46
+ description: "Emitted when the value has changed.",
37
47
  action: 'roadchange',
38
48
  control: {
39
49
  type: null,
40
50
  },
41
51
  },
42
52
  disabled: {
53
+ description: "If true, the range will be disabled",
43
54
  control: 'boolean',
44
55
  },
45
56
  },
@@ -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: 'd0916d0972fa54522b71bfd4698416e7d1ce9919' }, h("div", { key: 'abdd431621719c0e5708441194042715c2959419', 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: '51f8155d51c77360e272c820949959d8117b0509', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && h("road-label", { key: '33e67df1597b534f47e6a4785744be4d4e79c920', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
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}`, ")")));
41
41
  }
42
42
  static get is() { return "road-rating"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -6,12 +6,14 @@ export default {
6
6
  component: 'road-rating',
7
7
  argTypes: {
8
8
  size: {
9
+ description: "The button size.",
9
10
  options: ['extra-small', 'small', 'medium'],
10
11
  control: {
11
12
  type: 'select',
12
13
  },
13
14
  },
14
15
  rate: {
16
+ description: "Rate review between 0 and 5",
15
17
  control: {
16
18
  type: 'number',
17
19
  min: '0',
@@ -19,21 +21,26 @@ export default {
19
21
  },
20
22
  },
21
23
  showreviews: {
24
+ description: "Show reviews",
22
25
  control: 'boolean',
23
26
  },
24
27
  reviews: {
28
+ description: "number of reviews",
25
29
  control: {
26
30
  type: 'number',
27
31
  min: '0',
28
32
  },
29
33
  },
30
34
  'reviews-text': {
35
+ description: "Word display next to the number of reviews.",
31
36
  control: 'text',
32
37
  },
33
38
  url: {
39
+ description: "Url.",
34
40
  control: 'text',
35
41
  },
36
42
  readonly: {
43
+ description: "Read Only",
37
44
  control: 'boolean',
38
45
  },
39
46
  },
@@ -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: 'cc1ccb0d6235263b21dadefb893c7c6f9b763e1c' }, h("slot", { key: '33fd4f892b78f389200380580fc4e1ac1e4d429e' })));
7
+ return (h(Host, { key: '891c70924e7955aa953e3e233cd57dd6aff4068a' }, h("slot", { key: 'acb726260f4492a126b9aa1f51d89b329bf6a09c' })));
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: '75c73710cd486cfe9ecc5ac025d1ef413c2463a9', 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: 'c94bfffcbff45b20dc349a3545bd195a95d68273', 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: '938f5637c68a5cb7a7bc6ee2acaf35587f3643e3', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, h("slot", { key: '62b81b701cf7cf4ce757e6f8d52e3729a985c4e5' }))));
58
+ } }, h("span", { key: '87ee95ccb7c44cfe7bff797d1b693f1ae4cf0ad7', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, h("slot", { key: 'a6fd94b01bba4f71b3689f62a736050e7132add0' }))));
59
59
  }
60
60
  static get is() { return "road-segmented-button"; }
61
61
  static get encapsulation() { return "shadow"; }