@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
@@ -18,7 +18,7 @@ export class ButtonBar {
18
18
  this.selectedTabChanged();
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: '7fffe10ee5aa2a3ee09086f24e637c5e07992487', role: "tablist" }, h("slot", { key: '10e9ca402be8299b44ef9cb41921cf846e280fe9' })));
21
+ return (h(Host, { key: 'cbe94587012819876109399d72bb1715ac334a9f', role: "tablist" }, h("slot", { key: 'a1ba2feec5c649ea44f6b534a10a18fc738fede5' })));
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: 'ee63f3001e735cc0345f081742b98cc7dda58379', onRoadSegmentedButtonClick: this.onTabClicked }, h("slot", { key: 'ead65e59a9ce47b7ed0034b5e807f41a3f3aae58', name: "top" }), h("slot", { key: '87177efc28c625a4d3e5c893a17ab2ed3be252ef' })));
89
+ return (h(Host, { key: '8e28299a9d4821c74d9e62b25b6b8ad72fac01da', onRoadSegmentedButtonClick: this.onTabClicked }, h("slot", { key: '2e154363be587d35480818a016f9bc8973709724', name: "top" }), h("slot", { key: '77044401892a3a9245eb9029178d82df516c7252' })));
90
90
  }
91
91
  static get is() { return "road-segmented-buttons"; }
92
92
  static get encapsulation() { return "shadow"; }
@@ -20,9 +20,11 @@ export default {
20
20
  },
21
21
  argTypes: {
22
22
  top: {
23
+ description: "Content is placed at the top of the screen.",
23
24
  control: 'text',
24
25
  },
25
26
  ' ': {
27
+ description: "Content is placed between the named slots if provided without a slot.",
26
28
  control: 'text',
27
29
  },
28
30
  roadtabsdidchange: {
@@ -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: 'da3422623531e89342177a5d20bb510a59958f89', class: this.sizes && `select-${this.sizes}` }, h("select", { key: 'bb6d5b2c7aa0f6d47138e5484a63327ff79ddc13', 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: 'ac8dce2f36174aef8c8032df94cb8f7697af23d3', 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: '8168c891572f16aef34e042890655f3729b03c9d', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && h("p", { key: 'ccd6055b8edc033654d1c40c1a7b3add511655c6', class: "invalid-feedback" }, this.error)));
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)));
96
96
  }
97
97
  static get is() { return "road-select"; }
98
98
  static get encapsulation() { return "scoped"; }
@@ -11,49 +11,62 @@ export default {
11
11
  },
12
12
  argTypes: {
13
13
  disabled: {
14
+ description: "If `true`, the user cannot interact with the select.",
14
15
  control: 'boolean',
15
16
  },
16
17
  required: {
18
+ description: "If `true`, the user must fill in a value before submitting a form.",
17
19
  control: 'boolean',
18
20
  },
19
21
  autofocus: {
22
+ description: "This Boolean attribute lets you specify that a form control should have input focus when the page loads.",
20
23
  control: 'boolean',
21
24
  },
22
25
  error: {
26
+ description: "Error message for the field",
23
27
  control: 'text',
24
28
  },
25
29
  label: {
30
+ description: "Label for the field",
26
31
  control: 'text',
27
32
  },
28
33
  name: {
34
+ description: "The name of the control, which is submitted with the form data.",
29
35
  control: 'text',
30
36
  },
31
37
  size: {
38
+ description: "The sizes of the input.",
32
39
  control: 'number',
33
40
  },
34
41
  sizes: {
42
+ description: "If the control is presented as a scrolling list box (e.g. when multiple is specified),\nthis attribute represents the number of rows in the list that should be visible at one time.",
35
43
  options: ['md', 'lg', 'xl'],
36
44
  control: {
37
45
  type: 'select',
38
46
  },
39
47
  },
40
48
  'select-id': {
49
+ description: "The id of select",
41
50
  control: 'text',
42
51
  },
43
52
  value: {
53
+ description: "the value of the select.",
44
54
  control: 'text',
45
55
  },
46
56
  roadblur: {
57
+ description: "Emitted when the select loses focus.",
47
58
  control: {
48
59
  type: null,
49
60
  },
50
61
  },
51
62
  roadfocus: {
63
+ description: "Emitted when the select has focus.",
52
64
  control: {
53
65
  type: null,
54
66
  },
55
67
  },
56
68
  roadchange: {
69
+ description: "Emitted when the value has changed.",
57
70
  action: 'roadchange',
58
71
  control: {
59
72
  type: null,
@@ -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: '754363e1da719022e5d4e2a9bed9e45a307605fb', "is-active": isActive }, h("slot", { key: '6ed491805215e92124fb0de84b8c4edea15a1bab' }), this.isOpen &&
111
- h("ul", { key: 'e78ba5806ffed4ceb585b93dac5aa5eb0a1992c7', 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: '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 }))))));
112
112
  }
113
113
  static get is() { return "road-select-filter"; }
114
114
  static get encapsulation() { return "scoped"; }
@@ -12,15 +12,19 @@ export default {
12
12
  },
13
13
  argTypes: {
14
14
  ' ': {
15
+ description: "Input element for the widget, it should be a road-input element.",
15
16
  control: 'text',
16
17
  },
17
18
  'only-select': {
19
+ description: "If `false`, the user can submit custom value",
18
20
  control: 'boolean',
19
21
  },
20
22
  'is-active': {
23
+ description: "If `true`, add class Active",
21
24
  control: 'boolean',
22
25
  },
23
26
  parameters: {
27
+ description: "Options to pass to the fuse.js instance.\nSee https://fusejs.io/api/options.html for valid options",
24
28
  control: 'object',
25
29
  },
26
30
  roadselected: {
@@ -30,6 +34,7 @@ export default {
30
34
  },
31
35
  },
32
36
  '--margin-top': {
37
+ description: "margin top of the select-filter (should equal the height of the field)",
33
38
  table: {
34
39
  defaultValue: { summary: '3rem' },
35
40
  },
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class Skeleton {
3
3
  render() {
4
- return (h("span", { key: 'aa9286d647036cc908db034b7abae677ac5db4c5' }, "\u00A0"));
4
+ return (h("span", { key: '76fc5d6e478e6486b0f4f3e5e3afd7e1a8c0049f' }, "\u00A0"));
5
5
  }
6
6
  static get is() { return "road-skeleton"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -5,6 +5,7 @@ export default {
5
5
  component: 'road-skeleton',
6
6
  argTypes: {
7
7
  '--background-light': {
8
+ description: "base light grey color",
8
9
  table: {
9
10
  defaultValue: { summary: 'var(--road-disabled)' },
10
11
  },
@@ -13,6 +14,7 @@ export default {
13
14
  },
14
15
  },
15
16
  '--background-dark': {
17
+ description: "second grey color to see the animation",
16
18
  table: {
17
19
  defaultValue: { summary: 'rgb(137, 143, 160, 0.4)' },
18
20
  },
@@ -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: '79f895b55bf34f5b4591f0104f067b1bc29b5840', class: `${sizeClass}`, viewBox: "25 25 50 50" }, h("circle", { key: '333985c957dd76b7694d5717eb64f037018c1613', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
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" })));
17
17
  }
18
18
  static get is() { return "road-spinner"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -7,12 +7,14 @@ export default {
7
7
  component: 'road-spinner',
8
8
  argTypes: {
9
9
  size: {
10
+ description: "The button size.",
10
11
  options: ['small', 'medium', 'large', 'xl'],
11
12
  control: {
12
13
  type: 'select',
13
14
  },
14
15
  },
15
16
  color: {
17
+ description: "The color spinner.",
16
18
  options: ['default', 'light', 'dark'],
17
19
  control: {
18
20
  type: 'select',
@@ -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: '9b8763418ebd696deeaf0f96f0ef3df50233b979', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
73
+ const textLabel = h("label", { key: 'f8a8b7641286294d251bc6d10b45fc97607cba49', 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: '1eb289fc4d05d8ca3b2d51044167681119c01443' }, h("input", { key: '2d91cd17ab57ca1ba4bc0b9d3270d4416c3999ec', 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: 'ef6bce098cdd21249d38b68e0b811f8e6126c402', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, h("div", { key: '694baf8b86086363e5f5429af152a6f488e660cc', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
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)));
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: '6187e82afbc19467bacecff9dab022208d82d83e', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
24
+ return (h(Host, { key: '24b66a77921452273dbf57f3f44ac3cffbaecf8f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
25
25
  'tab-hidden': !active,
26
- } }, h("slot", { key: 'c3899fd5fd831d2904c77263f5b6ef795d594e9b' })));
26
+ } }, h("slot", { key: '63f0d57bf74b8d562fecfbc881f8199d68080e89' })));
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: '476e362d19cd6d3eac7379cb28a0579f8d165128', role: "tablist", class: {
39
+ return (h(Host, { key: '7c2795d50362e570f6a3371fde1e987bfc6389fd', role: "tablist", class: {
40
40
  'tab-expand': expand,
41
41
  'tab-center': center,
42
42
  'tab-secondary': secondary,
43
- } }, h("slot", { key: '089d0ced1753e49bbf40a2bed3b6de3ce70cde7a' })));
43
+ } }, h("slot", { key: '94d18f97a0e96a8e8cef400b4b08feef32210782' })));
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: '531265b9c411317f80d42792817d2000195695a8', 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: '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: {
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: '864576c07dfdafdce416c2ad28173e7875d403b1' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: '95cf566321f3c956b8682c1ae0a20674966d1b8f', class: "button-inner" }, h("slot", { key: 'a1e2bb5eafc6d9f0b9c166166925d42e52382825' })))));
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' })))));
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: 'b76d60e60c39e889690419d020151ac7a0b68f08' }));
7
+ return (h("slot", { key: '1255550161fc3591df1269296d7dbd2bd2dc86b6' }));
8
8
  }
9
9
  static get is() { return "road-table"; }
10
10
  static get encapsulation() { return "scoped"; }
@@ -6,6 +6,7 @@ export default {
6
6
  component: 'road-table',
7
7
  argTypes: {
8
8
  ' ': {
9
+ description: "Content of table, it should be an html table (https://developer.mozilla.org/fr/docs/Web/HTML/Element/table).",
9
10
  control: 'text',
10
11
  },
11
12
  },
@@ -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: '9af7cc85b48f7334fcffd1f73441ea70c98d5dd6', onRoadTabButtonClick: this.onTabClicked }, h("slot", { key: 'd2177dc6d9294c0746b28681c1a8ddf4b52e670a', name: "top" }), h("div", { key: '5a6133642fb46719a0babdda0df26f98e7b51c73', class: "tabs-inner" }, h("slot", { key: 'db5c5137cb9bd1fdb0f587d60fe67fdb3bf40a22' }))));
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' }))));
103
103
  }
104
104
  static get is() { return "road-tabs"; }
105
105
  static get encapsulation() { return "shadow"; }
@@ -19,9 +19,11 @@ export default {
19
19
  },
20
20
  argTypes: {
21
21
  top: {
22
+ description: "Content is placed at the top of the screen.",
22
23
  control: 'text',
23
24
  },
24
25
  ' ': {
26
+ description: "Content is placed between the named slots if provided without a slot.",
25
27
  control: 'text',
26
28
  },
27
29
  roadtabsdidchange: {
@@ -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: 'fada54428b148c0572768c9f7f347b7666528f4e', class: `${contrastClass}` }, h("slot", { key: 'e5c53f9a417c064ac4c257a6e5a74bc593c7d5e8' })));
19
+ return (h(Host, { key: '474f7b6662f78c0258d4573377bca6c8cda09bbb', class: `${contrastClass}` }, h("slot", { key: 'f58667d0bd8ffc1839df5b0c1572447d8445d4ae' })));
20
20
  }
21
21
  static get is() { return "road-tag"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -12,15 +12,18 @@ export default {
12
12
  },
13
13
  argTypes: {
14
14
  ' ': {
15
+ description: "Content of the tag.",
15
16
  control: 'text',
16
17
  },
17
18
  color: {
19
+ description: "The color to use from your application's color palette.",
18
20
  options: ['grey', 'yellow', 'red', 'violet', 'blue', 'green'],
19
21
  control: {
20
22
  type: 'select',
21
23
  },
22
24
  },
23
25
  contrast: {
26
+ description: "Set to `true` for a contrast tag, for example on a gryy surface",
24
27
  control: 'boolean',
25
28
  },
26
29
  },
@@ -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: '41de3c220883dbe616d365f940168c46ca079813', class: `${colorClass}` }, h("slot", { key: '4840d935993f294633106ebf2e40ad6ab037b2e3' })));
14
+ return (h(Host, { key: 'bb23b71b76a33ff446f23c24ba4f53f41bf2445f', class: `${colorClass}` }, h("slot", { key: 'd1a14d98cae107a96314bbaea01687183cf60447' })));
15
15
  }
16
16
  static get is() { return "road-text"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -16,12 +16,14 @@ Playground.args = {
16
16
  };
17
17
  Playground.argTypes = {
18
18
  color: {
19
+ description: "Color of the text.",
19
20
  options: ['primary', 'secondary', 'accent', 'info', 'success', 'warning', 'danger', 'default', 'default-second', 'disabled', 'white'],
20
21
  control: {
21
22
  type: 'radio',
22
23
  },
23
24
  },
24
25
  ' ': {
26
+ description: "Content of the text.",
25
27
  control: 'text',
26
28
  },
27
29
  };
@@ -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: '6fa4a7131094822da9e3251a06a4f16b54b96968', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, h("textarea", { key: 'a0db598ce5aed5ded46b2f706e82097fbc90d3c7', 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: '63b3e8c95d5569a1ad9b6c7181559af217840ef2', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && h("p", { key: '4a49ff30de8d7aedecd3e5cc774ddb577201a7e5', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: '86f47b9aa260fde69a8e4d17ce80d64b37d373ae', class: "helper" }, this.helper)));
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)));
86
86
  }
87
87
  static get is() { return "road-textarea"; }
88
88
  static get encapsulation() { return "scoped"; }
@@ -11,109 +11,135 @@ export default {
11
11
  },
12
12
  argTypes: {
13
13
  disabled: {
14
+ description: "If `true`, the user cannot interact with the textarea.",
14
15
  control: 'boolean',
15
16
  },
16
17
  readonly: {
18
+ description: "If `true`, the user cannot modify the value.",
17
19
  control: 'boolean',
18
20
  },
19
21
  required: {
22
+ description: "If `true`, the user must fill in a value before submitting a form.",
20
23
  control: 'boolean',
21
24
  },
22
25
  autofocus: {
26
+ description: "This Boolean attribute lets you specify that a form control should have focus when the page loads.",
23
27
  control: 'boolean',
24
28
  },
25
29
  spellcheck: {
30
+ description: "If `true`, the element will have its spelling and grammar checked.",
26
31
  control: 'boolean',
27
32
  },
28
33
  resize: {
34
+ description: "If `false`, to disabled resize.",
29
35
  control: 'boolean',
30
36
  },
31
37
  error: {
38
+ description: "Error message for the field",
32
39
  control: 'text',
33
40
  },
34
41
  helper: {
42
+ description: "Helper message for the field",
35
43
  control: 'text',
36
44
  },
37
45
  label: {
46
+ description: "Label for the field",
38
47
  control: 'text',
39
48
  },
40
49
  name: {
50
+ description: "The name of the control, which is submitted with the form data.",
41
51
  control: 'text',
42
52
  },
43
53
  placeholder: {
54
+ description: "Instructional text that shows before the textarea has a value.",
44
55
  control: 'text',
45
56
  },
46
57
  minlength: {
58
+ description: "If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the minimum number of characters that the user can enter.",
47
59
  control: 'number',
48
60
  },
49
61
  maxlength: {
62
+ description: "If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the maximum number of characters that the user can enter.",
50
63
  control: 'number',
51
64
  },
52
65
  value: {
66
+ description: "The value of the textarea.",
53
67
  control: 'text',
54
68
  },
55
69
  sizes: {
70
+ description: "The sizes of the input.",
56
71
  options: ['lg', 'xl'],
57
72
  control: {
58
73
  type: 'select',
59
74
  },
60
75
  },
61
76
  autocapitalize: {
77
+ description: "Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.",
62
78
  options: ['on', 'off'],
63
79
  control: {
64
80
  type: 'select',
65
81
  },
66
82
  },
67
83
  enterkeyhint: {
84
+ description: "A hint to the browser for which enter key to display.\nPossible values: `\"enter\"`, `\"done\"`, `\"go\"`, `\"next\"`,\n`\"previous\"`, `\"search\"`, and `\"send\"`.",
68
85
  options: ['enter', 'done', 'go', 'next', 'previous', 'search', 'send'],
69
86
  control: {
70
87
  type: 'select',
71
88
  },
72
89
  },
73
90
  inputmode: {
91
+ description: "A hint to the browser for which keyboard to display.\nThis attribute applies when the value of the type attribute is `\"text\"`, `\"password\"`, `\"email\"`, or `\"url\"`. Possible values are: `\"verbatim\"`, `\"latin\"`, `\"latin-name\"`, `\"latin-prose\"`, `\"full-width-latin\"`, `\"kana\"`, `\"katakana\"`, `\"numeric\"`, `\"tel\"`, `\"email\"`, `\"url\"`.",
74
92
  options: ['none', 'text', 'tel', 'url', 'email', 'numeric', 'decimal', 'search'],
75
93
  control: {
76
94
  type: 'select',
77
95
  },
78
96
  },
79
97
  rows: {
98
+ description: "The number of rows of the control.",
80
99
  control: {
81
100
  type: 'number',
82
101
  min: 0,
83
102
  },
84
103
  },
85
104
  cols: {
105
+ description: "The visible width of the text control, in average character widths. If it is specified, it must be a positive integer.",
86
106
  control: {
87
107
  type: 'number',
88
108
  min: 0,
89
109
  },
90
110
  },
91
111
  'textarea-id' : {
112
+ description: "The id of textarea",
92
113
  control: 'text',
93
114
  },
94
115
  wrap: {
116
+ description: "Indicates how the control wraps text.",
95
117
  options: ['hard', 'off', 'soft'],
96
118
  control: {
97
119
  type: 'select',
98
120
  },
99
121
  },
100
122
  roadblur: {
123
+ description: "Emitted when the textarea loses focus.",
101
124
  control: {
102
125
  type: null,
103
126
  },
104
127
  },
105
128
  roadfocus: {
129
+ description: "Emitted when the textarea has focus.",
106
130
  control: {
107
131
  type: null,
108
132
  },
109
133
  },
110
134
  roadchange: {
135
+ description: "Emitted when the value has changed.",
111
136
  action: 'roadchange',
112
137
  control: {
113
138
  type: null,
114
139
  },
115
140
  },
116
141
  roadinput: {
142
+ description: "Emitted when a keyboard input occurred.",
117
143
  action: 'roadinput',
118
144
  control: {
119
145
  type: null,
@@ -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: 'df8ad5704239c2193697203241e0676657fa5522', class: `${toastIsOpenClass}`, role: "alert" }, h("div", { key: 'b9de22f810cc6cb58e0b28a066be791acf319208', class: `toast toast-${this.color}` }, h("road-icon", { key: '9d332bcc62cef6b038bd0718e0fe29e0bb5e1c5e', class: "toast-icon", icon: icon, "aria-hidden": "true" }), h("p", { key: '103180fe8d9f9e89b677c0267e779c899c013b74', class: "toast-label" }, this.label), h("button", { key: '152b63bc4ff795a0e1144e528c8fa8a177bbb9f7', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, h("road-icon", { key: '612cdf2ec677ef1fe22a0e1054728baae7d740c8', icon: navigationClose, size: "md" })), h("slot", { key: 'e2916bfb8cf8e0ea828ff5cafc3fa400401b6ea3', name: "progress" }))));
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" }))));
90
90
  }
91
91
  static get is() { return "road-toast"; }
92
92
  static get encapsulation() { return "shadow"; }
@@ -16,27 +16,33 @@ export default {
16
16
  },
17
17
  argTypes: {
18
18
  'is-open': {
19
+ description: "Set `open` propertie to `true` to open the toast",
19
20
  control: 'boolean',
20
21
  },
21
22
  color: {
23
+ description: "Set the color of the toast. e.g. info, success, warning, danger",
22
24
  options: ['info', 'success', 'warning', 'danger'],
23
25
  control: {
24
26
  type: 'radio',
25
27
  },
26
28
  },
27
29
  label: {
30
+ description: "Text display in the toast",
28
31
  control: 'text',
29
32
  },
30
33
  timeout: {
34
+ description: "How many milliseconds to wait before hiding the toast. if `\"0\"`, it will show\nuntil `close()` is called.",
31
35
  control: 'number',
32
36
  min: 0,
33
37
  },
34
38
  close: {
39
+ description: "Indicate when closing the toast",
35
40
  control: {
36
41
  type: null,
37
42
  },
38
43
  },
39
44
  progress: {
45
+ description: "the progress bar in the toast.\ncolor=\"info\" for Info\ncolor=\"success\" for success\ncolor=\"warning\" for warning\ncolor=\"danger\" for danger",
40
46
  control: 'text',
41
47
  },
42
48
  },
@@ -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: 'dc3a609b0330a55fc4f0a7a49afa449c11eeda50', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
69
+ const textLabel = h("label", { key: 'd8f6f793ae322fc4f3c78d627858836a8ace0b1e', 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: 'f76fe2fde0137de06d721bfc4c39d0afb05efda7' }, h("input", { key: '6e36fab052b76e126530d985fe6466cdee577149', 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: '1f0da686faa51b024b4ef0fe3ff83f9216d3bbeb', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, h("div", { key: 'b98b4de91885991c9000ae2e789aa717d2f08a4c', class: `form-toggle-lever ${righttoggleClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
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)));
74
74
  }
75
75
  static get is() { return "road-toggle"; }
76
76
  static get encapsulation() { return "scoped"; }