@drivy/cobalt 0.20.0 → 0.22.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 (340) hide show
  1. package/components/Alerter/Alert.js.map +1 -1
  2. package/components/Alerter/index.js.map +1 -1
  3. package/components/BulletList/index.js.map +1 -1
  4. package/components/Buttons/helpers.js.map +1 -1
  5. package/components/Card/index.js.map +1 -1
  6. package/components/Cell/index.js.map +1 -1
  7. package/components/EmptyState/index.js +3 -2
  8. package/components/EmptyState/index.js.map +1 -1
  9. package/components/Form/CheckablePill.js.map +1 -1
  10. package/components/Form/Checkmark.js.map +1 -1
  11. package/components/Form/field.js +2 -1
  12. package/components/Form/field.js.map +1 -1
  13. package/components/Helper/index.js.map +1 -1
  14. package/components/HorizontalList/index.js.map +1 -1
  15. package/components/Modal/ModalBody.js +1 -1
  16. package/components/Modal/ModalBody.js.map +1 -1
  17. package/components/Modal/ModalFooter.js.map +1 -1
  18. package/components/Popover/index.js.map +1 -1
  19. package/components/Rating/RatingLabel.js.map +1 -1
  20. package/components/Rating/index.js.map +1 -1
  21. package/components/Tabs/index.js +1 -1
  22. package/components/Tabs/index.js.map +1 -1
  23. package/icons/account-details.js +1 -1
  24. package/icons/add-picture.js +1 -1
  25. package/icons/air-conditioning.js +1 -1
  26. package/icons/airport.js +1 -1
  27. package/icons/android.js +1 -1
  28. package/icons/antique.js +1 -1
  29. package/icons/arrow-left-circle-filled.js +1 -1
  30. package/icons/arrow-left.js +1 -1
  31. package/icons/arrow-right-circle-filled.js +1 -1
  32. package/icons/arrow-right-circle.js +1 -1
  33. package/icons/arrow-right.js +1 -1
  34. package/icons/audio-input.js +1 -1
  35. package/icons/baby-seat.js +1 -1
  36. package/icons/battery.js +1 -1
  37. package/icons/bell.js +1 -1
  38. package/icons/bike-rack.js +1 -1
  39. package/icons/bin.js +1 -1
  40. package/icons/bluetooth.js +1 -1
  41. package/icons/briefcase.js +1 -1
  42. package/icons/bulb.js +1 -1
  43. package/icons/cable.js +1 -1
  44. package/icons/cabriolet.js +1 -1
  45. package/icons/calendar-check.js +1 -1
  46. package/icons/calendar-clock.js +1 -1
  47. package/icons/calendar-end.js +1 -1
  48. package/icons/calendar-start.js +1 -1
  49. package/icons/calendar.js +1 -1
  50. package/icons/camera-add.js +1 -1
  51. package/icons/camera.js +1 -1
  52. package/icons/campervan.js +1 -1
  53. package/icons/car-add.js +1 -1
  54. package/icons/car-check.js +1 -1
  55. package/icons/car-damages.js +1 -1
  56. package/icons/car-drivy-open.js +1 -1
  57. package/icons/car-group.js +1 -1
  58. package/icons/car-lock.js +1 -1
  59. package/icons/car-play.js +1 -1
  60. package/icons/car-return.js +1 -1
  61. package/icons/car-search.js +1 -1
  62. package/icons/car-type-antique.js +1 -1
  63. package/icons/car-type-cabriolet.js +1 -1
  64. package/icons/car-type-campervan.js +1 -1
  65. package/icons/car-type-city.js +1 -1
  66. package/icons/car-type-convertible.js +1 -1
  67. package/icons/car-type-coupe.js +1 -1
  68. package/icons/car-type-family.js +1 -1
  69. package/icons/car-type-four-four.js +1 -1
  70. package/icons/car-type-minibus.js +1 -1
  71. package/icons/car-type-sedan.js +1 -1
  72. package/icons/car-type-utility.js +1 -1
  73. package/icons/car.js +1 -1
  74. package/icons/card.js +1 -1
  75. package/icons/cd-player.js +1 -1
  76. package/icons/certificate.js +1 -1
  77. package/icons/chains.js +1 -1
  78. package/icons/check-circle-filled.js +1 -1
  79. package/icons/check-circle.js +1 -1
  80. package/icons/check.js +1 -1
  81. package/icons/checklist.js +1 -1
  82. package/icons/chevron-down.js +1 -1
  83. package/icons/chevron-left.js +1 -1
  84. package/icons/chevron-right.js +1 -1
  85. package/icons/chevron-up.js +1 -1
  86. package/icons/circled-arrow-right.js +1 -1
  87. package/icons/city.js +1 -1
  88. package/icons/cleaning.js +1 -1
  89. package/icons/clock-alert.js +1 -1
  90. package/icons/clock-backwards.js +1 -1
  91. package/icons/clock-forwards.js +1 -1
  92. package/icons/clock.js +1 -1
  93. package/icons/close-circle-filled.js +1 -1
  94. package/icons/close.js +1 -1
  95. package/icons/connect-car.js +1 -1
  96. package/icons/contact-mail.js +1 -1
  97. package/icons/contact-phone.js +1 -1
  98. package/icons/contextual-paperclip.js +1 -1
  99. package/icons/contextual-question.js +1 -1
  100. package/icons/contextual-warning-circle-filled.js +1 -1
  101. package/icons/contextual-warning-circle.js +1 -1
  102. package/icons/convertible.js +1 -1
  103. package/icons/copy.js +1 -1
  104. package/icons/countries/at.js +1 -1
  105. package/icons/countries/be.js +1 -1
  106. package/icons/countries/ca.js +1 -1
  107. package/icons/countries/de.js +1 -1
  108. package/icons/countries/es.js +1 -1
  109. package/icons/countries/eu.js +1 -1
  110. package/icons/countries/fr.js +1 -1
  111. package/icons/countries/gb.js +1 -1
  112. package/icons/countries/us.js +1 -1
  113. package/icons/coupe.js +1 -1
  114. package/icons/credit-card-add.js +1 -1
  115. package/icons/credit-card-error.js +1 -1
  116. package/icons/credit-card.js +1 -1
  117. package/icons/cruise-control.js +1 -1
  118. package/icons/dashcam.js +1 -1
  119. package/icons/directions.js +1 -1
  120. package/icons/document.js +1 -1
  121. package/icons/dot-horizontal.js +1 -1
  122. package/icons/dot-vertical.js +1 -1
  123. package/icons/dots-horizontal.js +1 -1
  124. package/icons/download.js +1 -1
  125. package/icons/earning.js +1 -1
  126. package/icons/earth.js +1 -1
  127. package/icons/electric.js +1 -1
  128. package/icons/ev-battery.js +1 -1
  129. package/icons/ev-cable.js +1 -1
  130. package/icons/ev-charger.js +1 -1
  131. package/icons/external-link.js +1 -1
  132. package/icons/eye-closed.js +1 -1
  133. package/icons/eye-opened.js +1 -1
  134. package/icons/eye.js +1 -1
  135. package/icons/face-recognition.js +1 -1
  136. package/icons/facebook.js +1 -1
  137. package/icons/family.js +1 -1
  138. package/icons/file-filled.js +1 -1
  139. package/icons/filter.js +1 -1
  140. package/icons/filters.js +1 -1
  141. package/icons/flag.js +1 -1
  142. package/icons/four-by-four.js +1 -1
  143. package/icons/fuel-tank.js +1 -1
  144. package/icons/geolocation.js +1 -1
  145. package/icons/gift.js +1 -1
  146. package/icons/gps.js +1 -1
  147. package/icons/graph-up.js +1 -1
  148. package/icons/healing.js +1 -1
  149. package/icons/heart.js +1 -1
  150. package/icons/hitch.js +1 -1
  151. package/icons/home.js +1 -1
  152. package/icons/id-card.js +1 -1
  153. package/icons/incident.js +1 -1
  154. package/icons/info-circle-filled.js +1 -1
  155. package/icons/info-circle.js +1 -1
  156. package/icons/info-filled.js +1 -1
  157. package/icons/info.js +1 -1
  158. package/icons/instant.js +1 -1
  159. package/icons/invoice.js +1 -1
  160. package/icons/key-connect.js +1 -1
  161. package/icons/key.js +1 -1
  162. package/icons/licence-check.js +1 -1
  163. package/icons/licence-paper.js +1 -1
  164. package/icons/licence.js +1 -1
  165. package/icons/life-buoy.js +1 -1
  166. package/icons/linkedin.js +1 -1
  167. package/icons/loading.js +1 -1
  168. package/icons/locality.js +1 -1
  169. package/icons/location-map.js +1 -1
  170. package/icons/location-parking.js +1 -1
  171. package/icons/location-pin.js +1 -1
  172. package/icons/location.js +1 -1
  173. package/icons/lock-check.js +1 -1
  174. package/icons/locked.js +1 -1
  175. package/icons/login.js +1 -1
  176. package/icons/logout.js +1 -1
  177. package/icons/mail-check.js +1 -1
  178. package/icons/mail.js +1 -1
  179. package/icons/map-alt.js +1 -1
  180. package/icons/map.js +1 -1
  181. package/icons/meet-driver.js +1 -1
  182. package/icons/meet-owner.js +1 -1
  183. package/icons/menu-list.js +1 -1
  184. package/icons/messages.js +1 -1
  185. package/icons/mileage.js +1 -1
  186. package/icons/minibus.js +1 -1
  187. package/icons/minus-circle-filled.js +1 -1
  188. package/icons/misc-gift.js +1 -1
  189. package/icons/nearby-device.js +1 -1
  190. package/icons/notification.js +1 -1
  191. package/icons/number-1-circle.js +1 -1
  192. package/icons/number-2-circle.js +1 -1
  193. package/icons/number-3-circle.js +1 -1
  194. package/icons/number-4-circle.js +1 -1
  195. package/icons/number-5-circle.js +1 -1
  196. package/icons/ok-hand.js +1 -1
  197. package/icons/option-air-conditioning.js +1 -1
  198. package/icons/option-android-auto.js +1 -1
  199. package/icons/option-apple-carplay.js +1 -1
  200. package/icons/option-audio-input.js +1 -1
  201. package/icons/option-baby-seat.js +1 -1
  202. package/icons/option-bike-rack.js +1 -1
  203. package/icons/option-bluetooth-audio.js +1 -1
  204. package/icons/option-cd-player.js +1 -1
  205. package/icons/option-chains.js +1 -1
  206. package/icons/option-cruise-control.js +1 -1
  207. package/icons/option-dashcam.js +1 -1
  208. package/icons/option-gps.js +1 -1
  209. package/icons/option-roof-box.js +1 -1
  210. package/icons/option-ski-rack.js +1 -1
  211. package/icons/option-snow-tire.js +1 -1
  212. package/icons/paperclip.js +1 -1
  213. package/icons/parking.js +1 -1
  214. package/icons/passport.js +1 -1
  215. package/icons/payments.js +1 -1
  216. package/icons/pencil.js +1 -1
  217. package/icons/people-user.js +1 -1
  218. package/icons/performance.js +1 -1
  219. package/icons/phone-link.js +1 -1
  220. package/icons/phone.js +1 -1
  221. package/icons/photos.js +1 -1
  222. package/icons/pig.js +1 -1
  223. package/icons/pin.js +1 -1
  224. package/icons/plus-circle-filled.js +1 -1
  225. package/icons/plus.js +1 -1
  226. package/icons/position.js +1 -1
  227. package/icons/pricing-flat.js +1 -1
  228. package/icons/pricing-variable.js +1 -1
  229. package/icons/profile-picture.js +1 -1
  230. package/icons/question-circle-filled.js +1 -1
  231. package/icons/question-circle.js +1 -1
  232. package/icons/question.js +1 -1
  233. package/icons/race-flag.js +1 -1
  234. package/icons/refresh.js +1 -1
  235. package/icons/reorder.js +1 -1
  236. package/icons/replacement-car.js +1 -1
  237. package/icons/reply.js +1 -1
  238. package/icons/reset.js +1 -1
  239. package/icons/ride.js +1 -1
  240. package/icons/roof-box.js +1 -1
  241. package/icons/seal-check.js +1 -1
  242. package/icons/search-car.js +1 -1
  243. package/icons/search-people.js +1 -1
  244. package/icons/search.js +1 -1
  245. package/icons/sedan.js +1 -1
  246. package/icons/service-battery.js +1 -1
  247. package/icons/service-cleaning.js +1 -1
  248. package/icons/service-fuel.js +1 -1
  249. package/icons/service-healing.js +1 -1
  250. package/icons/service-locked.js +1 -1
  251. package/icons/service-tolls.js +1 -1
  252. package/icons/service-unlocked.js +1 -1
  253. package/icons/settings.js +1 -1
  254. package/icons/share-android.js +1 -1
  255. package/icons/share-ios.js +1 -1
  256. package/icons/share.js +1 -1
  257. package/icons/shield-check.js +1 -1
  258. package/icons/shield.js +1 -1
  259. package/icons/shop.js +1 -1
  260. package/icons/ski-rack.js +1 -1
  261. package/icons/slider.js +1 -1
  262. package/icons/smartphone.js +1 -1
  263. package/icons/snow-tire.js +1 -1
  264. package/icons/social-facebook.js +1 -1
  265. package/icons/social-linkedin.js +1 -1
  266. package/icons/social-twitter.js +1 -1
  267. package/icons/social-whatsapp.js +1 -1
  268. package/icons/star-half.js +1 -1
  269. package/icons/star.js +1 -1
  270. package/icons/stars.js +1 -1
  271. package/icons/subway.js +1 -1
  272. package/icons/suitcase.js +1 -1
  273. package/icons/support.js +1 -1
  274. package/icons/suv.js +1 -1
  275. package/icons/synch.js +1 -1
  276. package/icons/tag.js +1 -1
  277. package/icons/time-alert.js +1 -1
  278. package/icons/time-backwards.js +1 -1
  279. package/icons/time-calendar.js +1 -1
  280. package/icons/time-forward.js +1 -1
  281. package/icons/tolls.js +1 -1
  282. package/icons/trailer.js +1 -1
  283. package/icons/train.js +1 -1
  284. package/icons/triangle-down.js +1 -1
  285. package/icons/triangle-right.js +1 -1
  286. package/icons/triangle-up.js +1 -1
  287. package/icons/twitter.js +1 -1
  288. package/icons/two-people.js +1 -1
  289. package/icons/unfold.js +1 -1
  290. package/icons/unlocked.js +1 -1
  291. package/icons/user-check.js +1 -1
  292. package/icons/user-question.js +1 -1
  293. package/icons/user-shield.js +1 -1
  294. package/icons/user-switch.js +1 -1
  295. package/icons/user.js +1 -1
  296. package/icons/utility-van-large.js +1 -1
  297. package/icons/utility-van-medium.js +1 -1
  298. package/icons/utility-van-small.js +1 -1
  299. package/icons/verified-seal.js +1 -1
  300. package/icons/walk.js +1 -1
  301. package/icons/wallet.js +1 -1
  302. package/icons/warning-circle-filled.js +1 -1
  303. package/icons/warning-circle.js +1 -1
  304. package/icons/whatsapp.js +1 -1
  305. package/icons/wheel.js +1 -1
  306. package/icons/wheelchair.js +1 -1
  307. package/icons/wrench.js +1 -1
  308. package/icons/yingyang.js +1 -1
  309. package/package.json +40 -42
  310. package/styles/components/Form/field.scss +4 -1
  311. package/types/__tests__/AsyncComponent.d.ts +5 -4
  312. package/types/components/Alerter/Alert.d.ts +4 -3
  313. package/types/components/BulletList/index.d.ts +1 -1
  314. package/types/components/Button/index.d.ts +6 -72
  315. package/types/components/Buttons/DefaultButton/index.d.ts +2 -24
  316. package/types/components/Buttons/GhostButton/index.d.ts +2 -24
  317. package/types/components/Buttons/helpers.d.ts +4 -3
  318. package/types/components/Card/index.d.ts +4 -3
  319. package/types/components/Cell/index.d.ts +7 -5
  320. package/types/components/Form/Autocomplete/index.d.ts +21 -18
  321. package/types/components/Form/CheckablePill.d.ts +2 -1
  322. package/types/components/Form/Checkmark.d.ts +2 -1
  323. package/types/components/Form/ComposedField.d.ts +6 -4
  324. package/types/components/Form/Select.d.ts +6 -4
  325. package/types/components/Form/Slider.d.ts +2 -40
  326. package/types/components/Form/Stepper.d.ts +1 -0
  327. package/types/components/Form/TextArea.d.ts +1 -0
  328. package/types/components/Form/TextInput.d.ts +7 -5
  329. package/types/components/Form/field.d.ts +2 -0
  330. package/types/components/Helper/index.d.ts +4 -3
  331. package/types/components/HorizontalList/index.d.ts +4 -3
  332. package/types/components/Modal/ModalBody.d.ts +5 -4
  333. package/types/components/Modal/ModalFooter.d.ts +4 -3
  334. package/types/components/Popover/index.d.ts +4 -3
  335. package/types/components/Rating/RatingLabel.d.ts +3 -1
  336. package/types/components/Rating/index.d.ts +2 -1
  337. package/types/components/Tabs/index.d.ts +14 -4
  338. package/types/components/utils/index.d.ts +0 -1
  339. package/types/components/utils/isExpectedReactComponent.d.ts +0 -3
  340. package/types/components/utils/isExpectedReactComponent.spec.d.ts +0 -1
@@ -18,6 +18,7 @@ declare const wrappedComponent: React.ComponentClass<{
18
18
  label?: string | undefined;
19
19
  hint?: string | undefined;
20
20
  fieldClassName?: string | undefined;
21
+ fullWidth?: boolean | undefined;
21
22
  }, any> & {
22
23
  Raw: React.ComponentType<Props>;
23
24
  };
@@ -2,6 +2,11 @@ import React from "react";
2
2
  import { IconSources } from "../Icon";
3
3
  import { FormElement } from "./form";
4
4
  export declare type TextInputType = "text" | "email" | "number" | "password" | "search" | "tel" | "url" | "date" | "datetime-local" | "month" | "time" | "week" | "currency";
5
+ declare type Props = {
6
+ type?: TextInputType;
7
+ icon?: IconSources;
8
+ forwardedRef?: React.Ref<HTMLInputElement>;
9
+ } & FormElement & React.InputHTMLAttributes<HTMLInputElement>;
5
10
  export declare const TextInputWrapper: ({ icon, status, render, }: {
6
11
  icon?: "search" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "performance" | "phoneLink" | "phone" | "photos" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
7
12
  status?: FormElement["status"];
@@ -16,11 +21,8 @@ declare const wrappedComponent: React.ComponentClass<{
16
21
  label?: string | undefined;
17
22
  hint?: string | undefined;
18
23
  fieldClassName?: string | undefined;
24
+ fullWidth?: boolean | undefined;
19
25
  }, any> & {
20
- Raw: React.ComponentType<{
21
- type?: TextInputType | undefined;
22
- icon?: "search" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "performance" | "phoneLink" | "phone" | "photos" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
23
- forwardedRef?: React.Ref<HTMLInputElement> | undefined;
24
- } & FormElement & React.InputHTMLAttributes<HTMLInputElement>>;
26
+ Raw: React.ComponentType<Props>;
25
27
  };
26
28
  export { wrappedComponent as TextInput };
@@ -5,12 +5,14 @@ declare type InjectedProps = {
5
5
  label?: string;
6
6
  hint?: string;
7
7
  fieldClassName?: string;
8
+ fullWidth?: boolean;
8
9
  } & FormElement;
9
10
  export declare const withFieldLabelAndHint: <OriginalProps>(WrappedComponent: React.ComponentType<OriginalProps>) => React.ComponentClass<OriginalProps & {
10
11
  id?: string | undefined;
11
12
  label?: string | undefined;
12
13
  hint?: string | undefined;
13
14
  fieldClassName?: string | undefined;
15
+ fullWidth?: boolean | undefined;
14
16
  } & FormElement, any> & {
15
17
  Raw: React.ComponentType<OriginalProps>;
16
18
  };
@@ -1,11 +1,12 @@
1
- import { PropsWithChildren } from "react";
1
+ import React from "react";
2
2
  import DefaultButton from "../Buttons/DefaultButton";
3
- declare type HelperPropsType = PropsWithChildren<{
3
+ declare type HelperPropsType = {
4
+ children?: React.ReactNode;
4
5
  className?: string;
5
6
  title: string;
6
7
  titleClassName?: string;
7
8
  contentClassName?: string;
8
9
  cta?: ReturnType<typeof DefaultButton | typeof DefaultButton.Link>;
9
- }>;
10
+ };
10
11
  declare const Helper: ({ className, titleClassName, contentClassName, title, children, cta, }: HelperPropsType) => JSX.Element;
11
12
  export default Helper;
@@ -1,9 +1,10 @@
1
- import { PropsWithChildren } from "react";
1
+ import React from "react";
2
2
  import { CobaltBreakpointType } from "../../hooks/useBreakpoint";
3
- export declare type HorizontalListPropsType = PropsWithChildren<{
3
+ export declare type HorizontalListPropsType = {
4
+ children?: React.ReactNode;
4
5
  className?: string;
5
6
  fitFrom?: Exclude<CobaltBreakpointType, "over">;
6
- }>;
7
+ };
7
8
  export default function HorizontalList({ className, fitFrom, children, }: HorizontalListPropsType): JSX.Element;
8
9
  declare type HorizontalScrollerPaddingBlockProps = {
9
10
  className?: string;
@@ -1,7 +1,8 @@
1
- import { FunctionComponent } from "react";
2
- declare const ModalBody: FunctionComponent<{
3
- bodySpacing?: boolean;
1
+ import React from "react";
2
+ declare const ModalBody: ({ children, bodySpacing, hasHeader, hasFooter, }: {
3
+ children?: React.ReactNode;
4
+ bodySpacing?: boolean | undefined;
4
5
  hasHeader: boolean;
5
6
  hasFooter: boolean;
6
- }>;
7
+ }) => JSX.Element;
7
8
  export default ModalBody;
@@ -1,6 +1,7 @@
1
- import { PropsWithChildren } from "react";
2
- export declare type ModalFooterPropsType = PropsWithChildren<{
1
+ import React from "react";
2
+ export declare type ModalFooterPropsType = {
3
+ children?: React.ReactNode;
3
4
  className?: string;
4
- }>;
5
+ };
5
6
  declare const ModalFooter: ({ children, className }: ModalFooterPropsType) => JSX.Element;
6
7
  export default ModalFooter;
@@ -1,6 +1,7 @@
1
- import { PropsWithChildren } from "react";
1
+ import React from "react";
2
2
  import { TippyProps } from "@tippyjs/react";
3
- export declare type PopoverPropsType = PropsWithChildren<{
3
+ export declare type PopoverPropsType = {
4
+ children?: React.ReactNode;
4
5
  isOpen: boolean;
5
6
  close: () => void;
6
7
  "aria-label"?: string;
@@ -20,6 +21,6 @@ export declare type PopoverPropsType = PropsWithChildren<{
20
21
  * Useful to render async content in the popover
21
22
  */
22
23
  lazy?: boolean;
23
- }>;
24
+ };
24
25
  declare const Popover: ({ isOpen, targetRef, close, "aria-label": ariaLabel, children, bodySpacing, onShow, onHidden, arrow, placement, theme, distance, zIndex, lazy, }: PopoverPropsType) => JSX.Element;
25
26
  export default Popover;
@@ -1,4 +1,6 @@
1
1
  import React from "react";
2
- declare type RatingLabelPropsType = React.PropsWithChildren<React.ReactNode>;
2
+ declare type RatingLabelPropsType = {
3
+ children?: React.ReactNode;
4
+ };
3
5
  declare function RatingLabel({ children }: RatingLabelPropsType): JSX.Element;
4
6
  export default RatingLabel;
@@ -3,7 +3,8 @@ import { RatingIcons, RatingIconsPropsType } from "./RatingIcons";
3
3
  import { RatingInput } from "./RatingInput";
4
4
  import { RatingCompact } from "./RatingCompact";
5
5
  import RatingLabel from "./RatingLabel";
6
- declare type RatingPropsType = React.PropsWithChildren<RatingIconsPropsType> & {
6
+ declare type RatingPropsType = RatingIconsPropsType & {
7
+ children?: React.ReactNode;
7
8
  iconsClassName?: RatingIconsPropsType["className"];
8
9
  };
9
10
  declare function formatRatingValue(value: number): string | number;
@@ -1,5 +1,6 @@
1
- import React, { FC } from "react";
1
+ import React from "react";
2
2
  export declare type TabsPropsType = {
3
+ children?: React.ReactNode;
3
4
  /**
4
5
  * Index of the initial actived tab (first tab by default)
5
6
  */
@@ -14,6 +15,7 @@ export declare type TabsPropsType = {
14
15
  subLevel?: boolean;
15
16
  };
16
17
  declare type TabPropsType = {
18
+ children?: React.ReactNode;
17
19
  /**
18
20
  * Label/title of the tab
19
21
  */
@@ -23,8 +25,16 @@ declare type TabPropsType = {
23
25
  */
24
26
  href?: string;
25
27
  };
26
- export declare const Tab: FC<TabPropsType>;
27
- export declare const Tabs: FC<TabsPropsType> & {
28
- Tab: FC<TabPropsType>;
28
+ export declare const Tab: {
29
+ (_props: TabPropsType): null;
30
+ displayName: string;
31
+ };
32
+ export declare const Tabs: {
33
+ ({ children, defaultTabIndex, onChange, subLevel, }: TabsPropsType): JSX.Element;
34
+ Tab: {
35
+ (_props: TabPropsType): null;
36
+ displayName: string;
37
+ };
38
+ displayName: string;
29
39
  };
30
40
  export default Tabs;
@@ -4,6 +4,5 @@ export { default as eqSet } from "./eqSet";
4
4
  export { default as getThemeColors } from "./getThemeColors";
5
5
  export { default as throttle } from "lodash.throttle";
6
6
  export { default as Timer } from "./Timer";
7
- export { default as isExpectedReactComponent } from "./isExpectedReactComponent";
8
7
  export { getScrollbarWidth } from "./dom";
9
8
  export { remToPx } from "./px";
@@ -1,3 +0,0 @@
1
- import { ReactNode, ReactElement } from "react";
2
- declare const isExpectedReactComponent: <ComponentPropsType>(component: ReactNode, expectedComponent: ReactNode) => component is ReactElement<ComponentPropsType, string | import("react").JSXElementConstructor<any>>;
3
- export default isExpectedReactComponent;