@drivy/cobalt 0.21.0 → 0.23.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 (382) 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/ButtonComponent.js +1 -2
  5. package/components/Buttons/ButtonComponent.js.map +1 -1
  6. package/components/Buttons/ButtonsGroup.js +1 -5
  7. package/components/Buttons/ButtonsGroup.js.map +1 -1
  8. package/components/Buttons/helpers.js.map +1 -1
  9. package/components/Card/index.js.map +1 -1
  10. package/components/Cell/index.js.map +1 -1
  11. package/components/EmptyState/index.js +5 -4
  12. package/components/EmptyState/index.js.map +1 -1
  13. package/components/Form/CheckablePill.js.map +1 -1
  14. package/components/Form/Checkmark.js.map +1 -1
  15. package/components/Form/Stepper.js +3 -3
  16. package/components/Form/Stepper.js.map +1 -1
  17. package/components/Helper/index.js.map +1 -1
  18. package/components/HorizontalList/index.js.map +1 -1
  19. package/components/Modal/ModalBody.js +1 -1
  20. package/components/Modal/ModalBody.js.map +1 -1
  21. package/components/Modal/ModalFooter.js.map +1 -1
  22. package/components/Popover/index.js.map +1 -1
  23. package/components/Rating/RatingCompact.js +4 -2
  24. package/components/Rating/RatingCompact.js.map +1 -1
  25. package/components/Rating/RatingLabel.js.map +1 -1
  26. package/components/Rating/index.js +1 -4
  27. package/components/Rating/index.js.map +1 -1
  28. package/components/Tabs/index.js +1 -1
  29. package/components/Tabs/index.js.map +1 -1
  30. package/index.js +3 -3
  31. package/package.json +23 -25
  32. package/styles/components.scss +1 -1
  33. package/types/__tests__/AsyncComponent.d.ts +5 -4
  34. package/types/components/Accordion/ToggleIcon.d.ts +1 -1
  35. package/types/components/Accordion/index.d.ts +6 -6
  36. package/types/components/Alerter/Alert.d.ts +5 -4
  37. package/types/components/Alerter/index.d.ts +4 -4
  38. package/types/components/BulletList/index.d.ts +1 -1
  39. package/types/components/Buttons/ButtonComponent.d.ts +2 -2
  40. package/types/components/Buttons/DefaultButton/index.d.ts +5 -27
  41. package/types/components/Buttons/GhostButton/index.d.ts +5 -27
  42. package/types/components/Buttons/InversedButton/index.d.ts +3 -3
  43. package/types/components/Buttons/helpers.d.ts +5 -4
  44. package/types/components/Buttons/index.d.ts +1 -1
  45. package/types/components/Calendar/CalendarRangePicker/CalendarRangePicker.d.ts +1 -1
  46. package/types/components/Calendar/CalendarRangePicker/CalendarRangePickerDay.d.ts +1 -1
  47. package/types/components/Calendar/CalendarRangePicker/CalendarRangePickerMonth.d.ts +1 -1
  48. package/types/components/Calendar/CalendarView/CalendarViewMonth.d.ts +1 -1
  49. package/types/components/Calendar/CalendarView/index.d.ts +1 -1
  50. package/types/components/Calendar/CalendarView/types.d.ts +7 -7
  51. package/types/components/Card/index.d.ts +6 -5
  52. package/types/components/Cell/index.d.ts +9 -7
  53. package/types/components/EmptyState/index.d.ts +3 -3
  54. package/types/components/Flash/index.d.ts +1 -1
  55. package/types/components/Form/Autocomplete/index.d.ts +20 -18
  56. package/types/components/Form/CheckablePill.d.ts +2 -2
  57. package/types/components/Form/Checkmark.d.ts +3 -3
  58. package/types/components/Form/ComposedField.d.ts +5 -4
  59. package/types/components/Form/Fieldset.d.ts +1 -1
  60. package/types/components/Form/RadioWithDetails.d.ts +1 -1
  61. package/types/components/Form/Select.d.ts +5 -4
  62. package/types/components/Form/Slider.d.ts +4 -41
  63. package/types/components/Form/Stepper.d.ts +2 -2
  64. package/types/components/Form/TextArea.d.ts +1 -1
  65. package/types/components/Form/TextInput.d.ts +7 -6
  66. package/types/components/Form/ToggleSwitch.d.ts +2 -2
  67. package/types/components/Form/field.d.ts +1 -1
  68. package/types/components/Form/form.d.ts +1 -1
  69. package/types/components/Helper/index.d.ts +4 -3
  70. package/types/components/HorizontalList/index.d.ts +5 -4
  71. package/types/components/Icon/__generated__/AccountDetailsIcon.d.ts +1 -1
  72. package/types/components/Icon/__generated__/AddPictureIcon.d.ts +1 -1
  73. package/types/components/Icon/__generated__/AirConditioningIcon.d.ts +1 -1
  74. package/types/components/Icon/__generated__/AirportIcon.d.ts +1 -1
  75. package/types/components/Icon/__generated__/AndroidIcon.d.ts +1 -1
  76. package/types/components/Icon/__generated__/AntiqueIcon.d.ts +1 -1
  77. package/types/components/Icon/__generated__/ArrowLeftCircleFilledIcon.d.ts +1 -1
  78. package/types/components/Icon/__generated__/ArrowLeftIcon.d.ts +1 -1
  79. package/types/components/Icon/__generated__/ArrowRightCircleFilledIcon.d.ts +1 -1
  80. package/types/components/Icon/__generated__/ArrowRightCircleIcon.d.ts +1 -1
  81. package/types/components/Icon/__generated__/ArrowRightIcon.d.ts +1 -1
  82. package/types/components/Icon/__generated__/AudioInputIcon.d.ts +1 -1
  83. package/types/components/Icon/__generated__/BabySeatIcon.d.ts +1 -1
  84. package/types/components/Icon/__generated__/BatteryIcon.d.ts +1 -1
  85. package/types/components/Icon/__generated__/BellIcon.d.ts +1 -1
  86. package/types/components/Icon/__generated__/BikeRackIcon.d.ts +1 -1
  87. package/types/components/Icon/__generated__/BinIcon.d.ts +1 -1
  88. package/types/components/Icon/__generated__/BluetoothIcon.d.ts +1 -1
  89. package/types/components/Icon/__generated__/BriefcaseIcon.d.ts +1 -1
  90. package/types/components/Icon/__generated__/BulbIcon.d.ts +1 -1
  91. package/types/components/Icon/__generated__/CableIcon.d.ts +1 -1
  92. package/types/components/Icon/__generated__/CabrioletIcon.d.ts +1 -1
  93. package/types/components/Icon/__generated__/CalendarCheckIcon.d.ts +1 -1
  94. package/types/components/Icon/__generated__/CalendarClockIcon.d.ts +1 -1
  95. package/types/components/Icon/__generated__/CalendarEndIcon.d.ts +1 -1
  96. package/types/components/Icon/__generated__/CalendarIcon.d.ts +1 -1
  97. package/types/components/Icon/__generated__/CalendarStartIcon.d.ts +1 -1
  98. package/types/components/Icon/__generated__/CameraAddIcon.d.ts +1 -1
  99. package/types/components/Icon/__generated__/CameraIcon.d.ts +1 -1
  100. package/types/components/Icon/__generated__/CampervanIcon.d.ts +1 -1
  101. package/types/components/Icon/__generated__/CarAddIcon.d.ts +1 -1
  102. package/types/components/Icon/__generated__/CarCheckIcon.d.ts +1 -1
  103. package/types/components/Icon/__generated__/CarDamagesIcon.d.ts +1 -1
  104. package/types/components/Icon/__generated__/CarDrivyOpenIcon.d.ts +1 -1
  105. package/types/components/Icon/__generated__/CarGroupIcon.d.ts +1 -1
  106. package/types/components/Icon/__generated__/CarIcon.d.ts +1 -1
  107. package/types/components/Icon/__generated__/CarLockIcon.d.ts +1 -1
  108. package/types/components/Icon/__generated__/CarPlayIcon.d.ts +1 -1
  109. package/types/components/Icon/__generated__/CarReturnIcon.d.ts +1 -1
  110. package/types/components/Icon/__generated__/CarSearchIcon.d.ts +1 -1
  111. package/types/components/Icon/__generated__/CarTypeAntiqueIcon.d.ts +1 -1
  112. package/types/components/Icon/__generated__/CarTypeCabrioletIcon.d.ts +1 -1
  113. package/types/components/Icon/__generated__/CarTypeCampervanIcon.d.ts +1 -1
  114. package/types/components/Icon/__generated__/CarTypeCityIcon.d.ts +1 -1
  115. package/types/components/Icon/__generated__/CarTypeConvertibleIcon.d.ts +1 -1
  116. package/types/components/Icon/__generated__/CarTypeCoupeIcon.d.ts +1 -1
  117. package/types/components/Icon/__generated__/CarTypeFamilyIcon.d.ts +1 -1
  118. package/types/components/Icon/__generated__/CarTypeFourFourIcon.d.ts +1 -1
  119. package/types/components/Icon/__generated__/CarTypeMinibusIcon.d.ts +1 -1
  120. package/types/components/Icon/__generated__/CarTypeSedanIcon.d.ts +1 -1
  121. package/types/components/Icon/__generated__/CarTypeUtilityIcon.d.ts +1 -1
  122. package/types/components/Icon/__generated__/CardIcon.d.ts +1 -1
  123. package/types/components/Icon/__generated__/CdPlayerIcon.d.ts +1 -1
  124. package/types/components/Icon/__generated__/CertificateIcon.d.ts +1 -1
  125. package/types/components/Icon/__generated__/ChainsIcon.d.ts +1 -1
  126. package/types/components/Icon/__generated__/CheckCircleFilledIcon.d.ts +1 -1
  127. package/types/components/Icon/__generated__/CheckCircleIcon.d.ts +1 -1
  128. package/types/components/Icon/__generated__/CheckIcon.d.ts +1 -1
  129. package/types/components/Icon/__generated__/ChecklistIcon.d.ts +1 -1
  130. package/types/components/Icon/__generated__/ChevronDownIcon.d.ts +1 -1
  131. package/types/components/Icon/__generated__/ChevronLeftIcon.d.ts +1 -1
  132. package/types/components/Icon/__generated__/ChevronRightIcon.d.ts +1 -1
  133. package/types/components/Icon/__generated__/ChevronUpIcon.d.ts +1 -1
  134. package/types/components/Icon/__generated__/CircledArrowRightIcon.d.ts +1 -1
  135. package/types/components/Icon/__generated__/CityIcon.d.ts +1 -1
  136. package/types/components/Icon/__generated__/CleaningIcon.d.ts +1 -1
  137. package/types/components/Icon/__generated__/ClockAlertIcon.d.ts +1 -1
  138. package/types/components/Icon/__generated__/ClockBackwardsIcon.d.ts +1 -1
  139. package/types/components/Icon/__generated__/ClockForwardsIcon.d.ts +1 -1
  140. package/types/components/Icon/__generated__/ClockIcon.d.ts +1 -1
  141. package/types/components/Icon/__generated__/CloseCircleFilledIcon.d.ts +1 -1
  142. package/types/components/Icon/__generated__/CloseIcon.d.ts +1 -1
  143. package/types/components/Icon/__generated__/ConnectCarIcon.d.ts +1 -1
  144. package/types/components/Icon/__generated__/ContactMailIcon.d.ts +1 -1
  145. package/types/components/Icon/__generated__/ContactPhoneIcon.d.ts +1 -1
  146. package/types/components/Icon/__generated__/ContextualPaperclipIcon.d.ts +1 -1
  147. package/types/components/Icon/__generated__/ContextualQuestionIcon.d.ts +1 -1
  148. package/types/components/Icon/__generated__/ContextualWarningCircleFilledIcon.d.ts +1 -1
  149. package/types/components/Icon/__generated__/ContextualWarningCircleIcon.d.ts +1 -1
  150. package/types/components/Icon/__generated__/ConvertibleIcon.d.ts +1 -1
  151. package/types/components/Icon/__generated__/CopyIcon.d.ts +1 -1
  152. package/types/components/Icon/__generated__/CoupeIcon.d.ts +1 -1
  153. package/types/components/Icon/__generated__/CreditCardAddIcon.d.ts +1 -1
  154. package/types/components/Icon/__generated__/CreditCardErrorIcon.d.ts +1 -1
  155. package/types/components/Icon/__generated__/CreditCardIcon.d.ts +1 -1
  156. package/types/components/Icon/__generated__/CruiseControlIcon.d.ts +1 -1
  157. package/types/components/Icon/__generated__/DashcamIcon.d.ts +1 -1
  158. package/types/components/Icon/__generated__/DirectionsIcon.d.ts +1 -1
  159. package/types/components/Icon/__generated__/DocumentIcon.d.ts +1 -1
  160. package/types/components/Icon/__generated__/DotHorizontalIcon.d.ts +1 -1
  161. package/types/components/Icon/__generated__/DotVerticalIcon.d.ts +1 -1
  162. package/types/components/Icon/__generated__/DotsHorizontalIcon.d.ts +1 -1
  163. package/types/components/Icon/__generated__/DotsVerticalIcon.d.ts +1 -1
  164. package/types/components/Icon/__generated__/DownloadIcon.d.ts +1 -1
  165. package/types/components/Icon/__generated__/EarningIcon.d.ts +1 -1
  166. package/types/components/Icon/__generated__/EarthIcon.d.ts +1 -1
  167. package/types/components/Icon/__generated__/EditIcon.d.ts +1 -1
  168. package/types/components/Icon/__generated__/ElectricIcon.d.ts +1 -1
  169. package/types/components/Icon/__generated__/EvBatteryIcon.d.ts +1 -1
  170. package/types/components/Icon/__generated__/EvCableIcon.d.ts +1 -1
  171. package/types/components/Icon/__generated__/EvChargerIcon.d.ts +1 -1
  172. package/types/components/Icon/__generated__/ExternalLinkIcon.d.ts +1 -1
  173. package/types/components/Icon/__generated__/EyeClosedIcon.d.ts +1 -1
  174. package/types/components/Icon/__generated__/EyeIcon.d.ts +1 -1
  175. package/types/components/Icon/__generated__/EyeOpenedIcon.d.ts +1 -1
  176. package/types/components/Icon/__generated__/FaceRecognitionIcon.d.ts +1 -1
  177. package/types/components/Icon/__generated__/FacebookIcon.d.ts +1 -1
  178. package/types/components/Icon/__generated__/FamilyIcon.d.ts +1 -1
  179. package/types/components/Icon/__generated__/FileFilledIcon.d.ts +1 -1
  180. package/types/components/Icon/__generated__/FilterIcon.d.ts +1 -1
  181. package/types/components/Icon/__generated__/FiltersIcon.d.ts +1 -1
  182. package/types/components/Icon/__generated__/FlagIcon.d.ts +1 -1
  183. package/types/components/Icon/__generated__/FourByFourIcon.d.ts +1 -1
  184. package/types/components/Icon/__generated__/FuelTankIcon.d.ts +1 -1
  185. package/types/components/Icon/__generated__/GeolocationIcon.d.ts +1 -1
  186. package/types/components/Icon/__generated__/GiftIcon.d.ts +1 -1
  187. package/types/components/Icon/__generated__/GpsIcon.d.ts +1 -1
  188. package/types/components/Icon/__generated__/GraphUpIcon.d.ts +1 -1
  189. package/types/components/Icon/__generated__/HealingIcon.d.ts +1 -1
  190. package/types/components/Icon/__generated__/HeartIcon.d.ts +1 -1
  191. package/types/components/Icon/__generated__/HitchIcon.d.ts +1 -1
  192. package/types/components/Icon/__generated__/HomeIcon.d.ts +1 -1
  193. package/types/components/Icon/__generated__/IdCardIcon.d.ts +1 -1
  194. package/types/components/Icon/__generated__/IncidentIcon.d.ts +1 -1
  195. package/types/components/Icon/__generated__/InfoCircleFilledIcon.d.ts +1 -1
  196. package/types/components/Icon/__generated__/InfoCircleIcon.d.ts +1 -1
  197. package/types/components/Icon/__generated__/InfoFilledIcon.d.ts +1 -1
  198. package/types/components/Icon/__generated__/InfoIcon.d.ts +1 -1
  199. package/types/components/Icon/__generated__/InstantIcon.d.ts +1 -1
  200. package/types/components/Icon/__generated__/InvoiceIcon.d.ts +1 -1
  201. package/types/components/Icon/__generated__/KeyConnectIcon.d.ts +1 -1
  202. package/types/components/Icon/__generated__/KeyIcon.d.ts +1 -1
  203. package/types/components/Icon/__generated__/LicenceCheckIcon.d.ts +1 -1
  204. package/types/components/Icon/__generated__/LicenceIcon.d.ts +1 -1
  205. package/types/components/Icon/__generated__/LicencePaperIcon.d.ts +1 -1
  206. package/types/components/Icon/__generated__/LifeBuoyIcon.d.ts +1 -1
  207. package/types/components/Icon/__generated__/LinkedinIcon.d.ts +1 -1
  208. package/types/components/Icon/__generated__/LoadingIcon.d.ts +1 -1
  209. package/types/components/Icon/__generated__/LocalityIcon.d.ts +1 -1
  210. package/types/components/Icon/__generated__/LocationIcon.d.ts +1 -1
  211. package/types/components/Icon/__generated__/LocationMapIcon.d.ts +1 -1
  212. package/types/components/Icon/__generated__/LocationParkingIcon.d.ts +1 -1
  213. package/types/components/Icon/__generated__/LocationPinIcon.d.ts +1 -1
  214. package/types/components/Icon/__generated__/LockCheckIcon.d.ts +1 -1
  215. package/types/components/Icon/__generated__/LockedIcon.d.ts +1 -1
  216. package/types/components/Icon/__generated__/LoginIcon.d.ts +1 -1
  217. package/types/components/Icon/__generated__/LogoutIcon.d.ts +1 -1
  218. package/types/components/Icon/__generated__/MailCheckIcon.d.ts +1 -1
  219. package/types/components/Icon/__generated__/MailIcon.d.ts +1 -1
  220. package/types/components/Icon/__generated__/MapAltIcon.d.ts +1 -1
  221. package/types/components/Icon/__generated__/MapIcon.d.ts +1 -1
  222. package/types/components/Icon/__generated__/MeetDriverIcon.d.ts +1 -1
  223. package/types/components/Icon/__generated__/MeetOwnerIcon.d.ts +1 -1
  224. package/types/components/Icon/__generated__/MenuListIcon.d.ts +1 -1
  225. package/types/components/Icon/__generated__/MessagesIcon.d.ts +1 -1
  226. package/types/components/Icon/__generated__/MileageIcon.d.ts +1 -1
  227. package/types/components/Icon/__generated__/MinibusIcon.d.ts +1 -1
  228. package/types/components/Icon/__generated__/MinusCircleFilledIcon.d.ts +1 -1
  229. package/types/components/Icon/__generated__/MinusIcon.d.ts +1 -1
  230. package/types/components/Icon/__generated__/MiscGiftIcon.d.ts +1 -1
  231. package/types/components/Icon/__generated__/NearbyDeviceIcon.d.ts +1 -1
  232. package/types/components/Icon/__generated__/NotificationIcon.d.ts +1 -1
  233. package/types/components/Icon/__generated__/Number1CircleIcon.d.ts +1 -1
  234. package/types/components/Icon/__generated__/Number2CircleIcon.d.ts +1 -1
  235. package/types/components/Icon/__generated__/Number3CircleIcon.d.ts +1 -1
  236. package/types/components/Icon/__generated__/Number4CircleIcon.d.ts +1 -1
  237. package/types/components/Icon/__generated__/Number5CircleIcon.d.ts +1 -1
  238. package/types/components/Icon/__generated__/OkHandIcon.d.ts +1 -1
  239. package/types/components/Icon/__generated__/OptionAirConditioningIcon.d.ts +1 -1
  240. package/types/components/Icon/__generated__/OptionAndroidAutoIcon.d.ts +1 -1
  241. package/types/components/Icon/__generated__/OptionAppleCarplayIcon.d.ts +1 -1
  242. package/types/components/Icon/__generated__/OptionAudioInputIcon.d.ts +1 -1
  243. package/types/components/Icon/__generated__/OptionBabySeatIcon.d.ts +1 -1
  244. package/types/components/Icon/__generated__/OptionBikeRackIcon.d.ts +1 -1
  245. package/types/components/Icon/__generated__/OptionBluetoothAudioIcon.d.ts +1 -1
  246. package/types/components/Icon/__generated__/OptionCdPlayerIcon.d.ts +1 -1
  247. package/types/components/Icon/__generated__/OptionChainsIcon.d.ts +1 -1
  248. package/types/components/Icon/__generated__/OptionCruiseControlIcon.d.ts +1 -1
  249. package/types/components/Icon/__generated__/OptionDashcamIcon.d.ts +1 -1
  250. package/types/components/Icon/__generated__/OptionGpsIcon.d.ts +1 -1
  251. package/types/components/Icon/__generated__/OptionHasTrailerIcon.d.ts +1 -1
  252. package/types/components/Icon/__generated__/OptionHitchIcon.d.ts +1 -1
  253. package/types/components/Icon/__generated__/OptionRoofBoxIcon.d.ts +1 -1
  254. package/types/components/Icon/__generated__/OptionSkiRackIcon.d.ts +1 -1
  255. package/types/components/Icon/__generated__/OptionSnowTireIcon.d.ts +1 -1
  256. package/types/components/Icon/__generated__/OptionWheelchairAccessibleIcon.d.ts +1 -1
  257. package/types/components/Icon/__generated__/PaperclipIcon.d.ts +1 -1
  258. package/types/components/Icon/__generated__/ParkingIcon.d.ts +1 -1
  259. package/types/components/Icon/__generated__/PassportIcon.d.ts +1 -1
  260. package/types/components/Icon/__generated__/PaymentsIcon.d.ts +1 -1
  261. package/types/components/Icon/__generated__/PencilIcon.d.ts +1 -1
  262. package/types/components/Icon/__generated__/PeopleUserIcon.d.ts +1 -1
  263. package/types/components/Icon/__generated__/PerformanceIcon.d.ts +1 -1
  264. package/types/components/Icon/__generated__/PhoneIcon.d.ts +1 -1
  265. package/types/components/Icon/__generated__/PhoneLinkIcon.d.ts +1 -1
  266. package/types/components/Icon/__generated__/PhotosIcon.d.ts +1 -1
  267. package/types/components/Icon/__generated__/PigIcon.d.ts +1 -1
  268. package/types/components/Icon/__generated__/PinIcon.d.ts +1 -1
  269. package/types/components/Icon/__generated__/PlugIcon.d.ts +1 -1
  270. package/types/components/Icon/__generated__/PlusCircleFilledIcon.d.ts +1 -1
  271. package/types/components/Icon/__generated__/PlusIcon.d.ts +1 -1
  272. package/types/components/Icon/__generated__/PositionIcon.d.ts +1 -1
  273. package/types/components/Icon/__generated__/PricingFlatIcon.d.ts +1 -1
  274. package/types/components/Icon/__generated__/PricingVariableIcon.d.ts +1 -1
  275. package/types/components/Icon/__generated__/ProfilePictureIcon.d.ts +1 -1
  276. package/types/components/Icon/__generated__/QuestionCircleFilledIcon.d.ts +1 -1
  277. package/types/components/Icon/__generated__/QuestionCircleIcon.d.ts +1 -1
  278. package/types/components/Icon/__generated__/QuestionIcon.d.ts +1 -1
  279. package/types/components/Icon/__generated__/RaceFlagIcon.d.ts +1 -1
  280. package/types/components/Icon/__generated__/RefreshIcon.d.ts +1 -1
  281. package/types/components/Icon/__generated__/ReorderIcon.d.ts +1 -1
  282. package/types/components/Icon/__generated__/ReplacementCarIcon.d.ts +1 -1
  283. package/types/components/Icon/__generated__/ReplyIcon.d.ts +1 -1
  284. package/types/components/Icon/__generated__/ResetIcon.d.ts +1 -1
  285. package/types/components/Icon/__generated__/RideIcon.d.ts +1 -1
  286. package/types/components/Icon/__generated__/RoofBoxIcon.d.ts +1 -1
  287. package/types/components/Icon/__generated__/SealCheckIcon.d.ts +1 -1
  288. package/types/components/Icon/__generated__/SearchCarIcon.d.ts +1 -1
  289. package/types/components/Icon/__generated__/SearchIcon.d.ts +1 -1
  290. package/types/components/Icon/__generated__/SearchPeopleIcon.d.ts +1 -1
  291. package/types/components/Icon/__generated__/SedanIcon.d.ts +1 -1
  292. package/types/components/Icon/__generated__/ServiceBatteryIcon.d.ts +1 -1
  293. package/types/components/Icon/__generated__/ServiceCleaningIcon.d.ts +1 -1
  294. package/types/components/Icon/__generated__/ServiceFuelIcon.d.ts +1 -1
  295. package/types/components/Icon/__generated__/ServiceHealingIcon.d.ts +1 -1
  296. package/types/components/Icon/__generated__/ServiceLockedIcon.d.ts +1 -1
  297. package/types/components/Icon/__generated__/ServiceTollsIcon.d.ts +1 -1
  298. package/types/components/Icon/__generated__/ServiceUnlockedIcon.d.ts +1 -1
  299. package/types/components/Icon/__generated__/SettingsIcon.d.ts +1 -1
  300. package/types/components/Icon/__generated__/ShareAndroidIcon.d.ts +1 -1
  301. package/types/components/Icon/__generated__/ShareIcon.d.ts +1 -1
  302. package/types/components/Icon/__generated__/ShareIosIcon.d.ts +1 -1
  303. package/types/components/Icon/__generated__/ShieldCheckIcon.d.ts +1 -1
  304. package/types/components/Icon/__generated__/ShieldIcon.d.ts +1 -1
  305. package/types/components/Icon/__generated__/ShopIcon.d.ts +1 -1
  306. package/types/components/Icon/__generated__/SkiRackIcon.d.ts +1 -1
  307. package/types/components/Icon/__generated__/SliderIcon.d.ts +1 -1
  308. package/types/components/Icon/__generated__/SmartphoneIcon.d.ts +1 -1
  309. package/types/components/Icon/__generated__/SnowTireIcon.d.ts +1 -1
  310. package/types/components/Icon/__generated__/SocialFacebookIcon.d.ts +1 -1
  311. package/types/components/Icon/__generated__/SocialLinkedinIcon.d.ts +1 -1
  312. package/types/components/Icon/__generated__/SocialTwitterIcon.d.ts +1 -1
  313. package/types/components/Icon/__generated__/SocialWhatsappIcon.d.ts +1 -1
  314. package/types/components/Icon/__generated__/StarHalfIcon.d.ts +1 -1
  315. package/types/components/Icon/__generated__/StarIcon.d.ts +1 -1
  316. package/types/components/Icon/__generated__/StarsIcon.d.ts +1 -1
  317. package/types/components/Icon/__generated__/SubwayIcon.d.ts +1 -1
  318. package/types/components/Icon/__generated__/SuitcaseIcon.d.ts +1 -1
  319. package/types/components/Icon/__generated__/SupportIcon.d.ts +1 -1
  320. package/types/components/Icon/__generated__/SuvIcon.d.ts +1 -1
  321. package/types/components/Icon/__generated__/SynchIcon.d.ts +1 -1
  322. package/types/components/Icon/__generated__/TagIcon.d.ts +1 -1
  323. package/types/components/Icon/__generated__/TimeAlertIcon.d.ts +1 -1
  324. package/types/components/Icon/__generated__/TimeBackwardsIcon.d.ts +1 -1
  325. package/types/components/Icon/__generated__/TimeCalendarIcon.d.ts +1 -1
  326. package/types/components/Icon/__generated__/TimeForwardIcon.d.ts +1 -1
  327. package/types/components/Icon/__generated__/TollsIcon.d.ts +1 -1
  328. package/types/components/Icon/__generated__/TrailerIcon.d.ts +1 -1
  329. package/types/components/Icon/__generated__/TrainIcon.d.ts +1 -1
  330. package/types/components/Icon/__generated__/TriangleDownIcon.d.ts +1 -1
  331. package/types/components/Icon/__generated__/TriangleRightIcon.d.ts +1 -1
  332. package/types/components/Icon/__generated__/TriangleUpIcon.d.ts +1 -1
  333. package/types/components/Icon/__generated__/TwitterIcon.d.ts +1 -1
  334. package/types/components/Icon/__generated__/TwoPeopleIcon.d.ts +1 -1
  335. package/types/components/Icon/__generated__/UnfoldIcon.d.ts +1 -1
  336. package/types/components/Icon/__generated__/UnlockedIcon.d.ts +1 -1
  337. package/types/components/Icon/__generated__/UserCheckIcon.d.ts +1 -1
  338. package/types/components/Icon/__generated__/UserIcon.d.ts +1 -1
  339. package/types/components/Icon/__generated__/UserQuestionIcon.d.ts +1 -1
  340. package/types/components/Icon/__generated__/UserShieldIcon.d.ts +1 -1
  341. package/types/components/Icon/__generated__/UserSwitchIcon.d.ts +1 -1
  342. package/types/components/Icon/__generated__/UtilityVanLargeIcon.d.ts +1 -1
  343. package/types/components/Icon/__generated__/UtilityVanMediumIcon.d.ts +1 -1
  344. package/types/components/Icon/__generated__/UtilityVanSmallIcon.d.ts +1 -1
  345. package/types/components/Icon/__generated__/VerifiedSealIcon.d.ts +1 -1
  346. package/types/components/Icon/__generated__/WalkIcon.d.ts +1 -1
  347. package/types/components/Icon/__generated__/WalletIcon.d.ts +1 -1
  348. package/types/components/Icon/__generated__/WarningCircleFilledIcon.d.ts +1 -1
  349. package/types/components/Icon/__generated__/WarningCircleIcon.d.ts +1 -1
  350. package/types/components/Icon/__generated__/WhatsappIcon.d.ts +1 -1
  351. package/types/components/Icon/__generated__/WheelIcon.d.ts +1 -1
  352. package/types/components/Icon/__generated__/WheelchairIcon.d.ts +1 -1
  353. package/types/components/Icon/__generated__/WrenchIcon.d.ts +1 -1
  354. package/types/components/Icon/__generated__/YingyangIcon.d.ts +1 -1
  355. package/types/components/Icon/index.d.ts +2 -2
  356. package/types/components/Modal/ModalBody.d.ts +5 -4
  357. package/types/components/Modal/ModalFooter.d.ts +4 -3
  358. package/types/components/Modal/index.d.ts +1 -1
  359. package/types/components/PhotoDropzone/index.d.ts +1 -1
  360. package/types/components/Popover/index.d.ts +4 -3
  361. package/types/components/Rating/RatingCompact.d.ts +2 -1
  362. package/types/components/Rating/RatingIcons.d.ts +2 -2
  363. package/types/components/Rating/RatingInput.d.ts +1 -1
  364. package/types/components/Rating/RatingLabel.d.ts +3 -1
  365. package/types/components/Rating/index.d.ts +3 -3
  366. package/types/components/Tabs/index.d.ts +16 -6
  367. package/types/components/utils/index.d.ts +0 -1
  368. package/types/hooks/useBreakpoint.d.ts +1 -1
  369. package/types/index.d.ts +1 -1
  370. package/components/Button/Button.js +0 -33
  371. package/components/Button/Button.js.map +0 -1
  372. package/components/Button/Link.js +0 -33
  373. package/components/Button/Link.js.map +0 -1
  374. package/components/Button/index.js +0 -9
  375. package/components/Button/index.js.map +0 -1
  376. package/styles/components/Button/index.scss +0 -2
  377. package/styles/components/Button/legacy.scss +0 -348
  378. package/types/components/Button/Button.d.ts +0 -28
  379. package/types/components/Button/Link.d.ts +0 -28
  380. package/types/components/Button/index.d.ts +0 -141
  381. package/types/components/utils/isExpectedReactComponent.d.ts +0 -3
  382. package/types/components/utils/isExpectedReactComponent.spec.d.ts +0 -1
package/index.js CHANGED
@@ -2,10 +2,10 @@ export { default as Accordion } from './components/Accordion/index.js';
2
2
  export { default as Alerter, useAlerts } from './components/Alerter/index.js';
3
3
  export { BasicCell } from './components/BasicCell/index.js';
4
4
  export { BulletList, BulletListItem } from './components/BulletList/index.js';
5
- export { Button, ButtonGroup } from './components/Button/index.js';
6
5
  export { default as GhostButton } from './components/Buttons/GhostButton/index.js';
7
6
  export { default as InversedButton } from './components/Buttons/InversedButton/index.js';
8
7
  export { default as DefaultButton } from './components/Buttons/DefaultButton/index.js';
8
+ export { default as ButtonsGroup } from './components/Buttons/ButtonsGroup.js';
9
9
  export { Callout } from './components/Callout/index.js';
10
10
  export { default as Cell, Cells } from './components/Cell/index.js';
11
11
  export { EmptyState } from './components/EmptyState/index.js';
@@ -32,7 +32,7 @@ export { ComposedField } from './components/Form/ComposedField.js';
32
32
  export { withFieldLabelAndHint } from './components/Form/field.js';
33
33
  export { Fieldset } from './components/Form/Fieldset.js';
34
34
  export { Hint } from './components/Form/Hint.js';
35
- export { Rating, formatRatingValue } from './components/Rating/index.js';
35
+ export { Rating } from './components/Rating/index.js';
36
36
  export { Select } from './components/Form/Select.js';
37
37
  export { default as Slider, SliderValueMeta } from './components/Form/Slider.js';
38
38
  export { Stepper, StepperMeta } from './components/Form/Stepper.js';
@@ -330,6 +330,6 @@ export { useAccordionItemContext } from '@reach/accordion';
330
330
  export { default as LoadingIcon } from './components/Icon/__generated__/LoadingIcon.js';
331
331
  export { default as StarIcon } from './components/Icon/__generated__/StarIcon.js';
332
332
  export { RatingInput } from './components/Rating/RatingInput.js';
333
- export { RatingCompact } from './components/Rating/RatingCompact.js';
333
+ export { RatingCompact, formatRatingValue } from './components/Rating/RatingCompact.js';
334
334
  export { RatingIcons } from './components/Rating/RatingIcons.js';
335
335
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drivy/cobalt",
3
- "version": "0.21.0",
3
+ "version": "0.23.0",
4
4
  "description": "Opinionated design system for Drivy's projects.",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",
@@ -32,19 +32,19 @@
32
32
  "lodash.throttle": "4.1.1",
33
33
  "media-typer": "1.1.0",
34
34
  "nanoid": "4.0.0",
35
- "postcss": "8.4.18",
35
+ "postcss": "8.4.19",
36
36
  "tailwindcss": "2.2.19",
37
37
  "tippy.js": "6.3.7"
38
38
  },
39
39
  "peerDependencies": {
40
- "react": "^17.0.2",
41
- "react-dom": "^17.0.2"
40
+ "react": "^18.2.0",
41
+ "react-dom": "^18.2.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@getaround-eu/babel-preset-app": "1.0.0",
45
- "@getaround-eu/eslint-config": "2.0.0",
44
+ "@getaround-eu/babel-preset-app": "1.1.0",
45
+ "@getaround-eu/eslint-config": "2.0.1",
46
46
  "@getaround-eu/prettier-config": "1.2.0",
47
- "@getaround-eu/stylelint-config": "1.2.4",
47
+ "@getaround-eu/stylelint-config": "1.2.5",
48
48
  "@getaround-eu/ts-config": "2.2.0",
49
49
  "@percy/storybook": "3.3.1",
50
50
  "@rollup/plugin-json": "5.0.1",
@@ -56,18 +56,18 @@
56
56
  "@storybook/react": "6.5.13",
57
57
  "@svgr/cli": "6.5.1",
58
58
  "@testing-library/jest-dom": "5.16.5",
59
- "@testing-library/react": "12.1.5",
59
+ "@testing-library/react": "13.4.0",
60
60
  "@testing-library/react-hooks": "8.0.1",
61
61
  "@types/classnames": "2.3.0",
62
- "@types/jest": "29.2.2",
62
+ "@types/jest": "29.2.3",
63
63
  "@types/lodash.throttle": "4.1.7",
64
64
  "@types/media-typer": "1.1.1",
65
- "@types/react": "17.0.52",
66
- "@whitespace/storybook-addon-html": "^5.0.0",
65
+ "@types/react": "18.0.25",
66
+ "@whitespace/storybook-addon-html": "^5.0.3",
67
67
  "autoprefixer": "10.4.13",
68
- "core-js": "3.26.0",
69
- "css-loader": "6.7.1",
70
- "eslint": "8.27.0",
68
+ "core-js": "3.26.1",
69
+ "css-loader": "6.7.2",
70
+ "eslint": "8.28.0",
71
71
  "jest": "29.3.1",
72
72
  "jest-environment-jsdom": "29.3.1",
73
73
  "nested-object-access": "^0.2.5",
@@ -76,26 +76,27 @@
76
76
  "postcss-loader": "7.0.1",
77
77
  "prettier": "2.7.1",
78
78
  "raw-loader": "4.0.2",
79
- "react": "17.0.2",
80
- "react-dom": "17.0.2",
81
- "react-test-renderer": "17.0.2",
82
- "regenerator-runtime": "0.13.10",
79
+ "react": "18.2.0",
80
+ "react-dom": "18.2.0",
81
+ "react-syntax-highlighter": "15.5.0",
82
+ "react-test-renderer": "18.2.0",
83
+ "regenerator-runtime": "0.13.11",
83
84
  "rollup": "2.79.1",
84
85
  "rollup-plugin-copy": "3.4.0",
85
86
  "rollup-plugin-postcss": "4.0.2",
86
87
  "rollup-plugin-svgo": "2.0.0",
87
88
  "rollup-plugin-typescript2": "0.34.1",
88
89
  "sass": "1.56.1",
89
- "sass-loader": "13.1.0",
90
+ "sass-loader": "13.2.0",
90
91
  "sharp": "0.31.2",
91
92
  "sharp-cli": "3.0.0",
92
93
  "style-loader": "3.3.1",
93
- "stylelint": "14.14.1",
94
+ "stylelint": "14.15.0",
94
95
  "svg2vectordrawable": "2.9.1",
95
- "svgo": "3.0.0",
96
+ "svgo": "3.0.2",
96
97
  "ts-jest": "29.0.3",
97
98
  "ts-node": "10.9.1",
98
- "typescript": "4.8.4"
99
+ "typescript": "4.9.3"
99
100
  },
100
101
  "scripts": {
101
102
  "build": "./scripts/build.sh",
@@ -138,8 +139,5 @@
138
139
  "publishConfig": {
139
140
  "registry": "https://registry.npmjs.org",
140
141
  "access": "public"
141
- },
142
- "resolutions": {
143
- "@types/react": "17.0.52"
144
142
  }
145
143
  }
@@ -1,7 +1,7 @@
1
1
  @import "./components/Alerter/index";
2
2
  @import "./components/BasicCell/index";
3
3
  @import "./components/BulletList/index";
4
- @import "./components/Button/index";
4
+ @import "./components/Buttons/index";
5
5
  @import "./components/Calendar/CalendarRangePicker/index";
6
6
  @import "./components/Callout/index";
7
7
  @import "./components/Card/index";
@@ -1,5 +1,6 @@
1
- import { FunctionComponent } from "react";
2
- declare const AsyncComponent: FunctionComponent<{
3
- timeout?: number;
4
- }>;
1
+ import React from "react";
2
+ declare const AsyncComponent: ({ children, timeout, }: {
3
+ children?: React.ReactNode;
4
+ timeout?: number | undefined;
5
+ }) => JSX.Element;
5
6
  export default AsyncComponent;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type ToggleIconPropsType = {
2
+ type ToggleIconPropsType = {
3
3
  isOpen: boolean;
4
4
  };
5
5
  declare const ToggleIcon: ({ isOpen }: ToggleIconPropsType) => JSX.Element;
@@ -1,15 +1,15 @@
1
1
  import React from "react";
2
2
  import { AccordionProps as ReachAccordionProps, AccordionItemProps as ReachAccordionItemProps, AccordionButtonProps as ReachAccordionButtonProps, AccordionPanelProps as ReachAccordionPanelProps } from "@reach/accordion";
3
3
  export { useAccordionItemContext } from "@reach/accordion";
4
- declare type HeadingLevelMapType = {
4
+ type HeadingLevelMapType = {
5
5
  h2: 2;
6
6
  h3: 3;
7
7
  h4: 4;
8
8
  h5: 5;
9
9
  h6: 6;
10
10
  };
11
- declare type HeadingTag = keyof HeadingLevelMapType;
12
- export declare type AccordionItemHeaderPropsType = {
11
+ type HeadingTag = keyof HeadingLevelMapType;
12
+ export type AccordionItemHeaderPropsType = {
13
13
  /**
14
14
  * To improve the semantics of the markup further, the ARIA guidelines dictate
15
15
  * that each accordion item's button should be wrapped in an element with
@@ -20,13 +20,13 @@ export declare type AccordionItemHeaderPropsType = {
20
20
  className?: string;
21
21
  leftToggleIcon?: boolean;
22
22
  } & ReachAccordionButtonProps;
23
- export declare type AccordionItemPanelPropsType = {
23
+ export type AccordionItemPanelPropsType = {
24
24
  className?: string;
25
25
  } & ReachAccordionPanelProps;
26
- export declare type AccordionItemPropsType = {
26
+ export type AccordionItemPropsType = {
27
27
  className?: string;
28
28
  } & ReachAccordionItemProps;
29
- export declare type AccordionPropsType = {
29
+ export type AccordionPropsType = {
30
30
  className?: string;
31
31
  collapsible?: ReachAccordionProps["collapsible"];
32
32
  defaultIndex?: ReachAccordionProps["defaultIndex"];
@@ -1,8 +1,9 @@
1
- import { FunctionComponent } from "react";
2
- export declare type AlertStatus = "info" | "success" | "error";
3
- export declare type AlertType = FunctionComponent<{
1
+ import React from "react";
2
+ export type AlertStatus = "info" | "success" | "error";
3
+ export type AlertType = (props: {
4
+ children?: React.ReactNode;
4
5
  status?: AlertStatus;
5
6
  dismiss: () => void;
6
- }>;
7
+ }) => React.ReactElement;
7
8
  declare const Alert: AlertType;
8
9
  export default Alert;
@@ -1,14 +1,14 @@
1
1
  import React from "react";
2
2
  import { AlertType } from "./Alert";
3
- declare type AlertPropsType = Parameters<AlertType>[0];
4
- export declare type AlertReducerActionData = {
3
+ type AlertPropsType = Parameters<AlertType>[0];
4
+ export type AlertReducerActionData = {
5
5
  id: string;
6
6
  status: AlertPropsType["status"];
7
7
  message: AlertPropsType["children"];
8
8
  dismiss?: AlertPropsType["dismiss"];
9
9
  };
10
- declare type SendAlertParameters = Omit<AlertReducerActionData, "dismiss" | "id">;
11
- declare type AlertsQueue = (Omit<AlertReducerActionData, "dismiss"> & {
10
+ type SendAlertParameters = Omit<AlertReducerActionData, "dismiss" | "id">;
11
+ type AlertsQueue = (Omit<AlertReducerActionData, "dismiss"> & {
12
12
  dismiss: NonNullable<AlertReducerActionData["dismiss"]>;
13
13
  })[];
14
14
  export declare const useAlerts: () => {
@@ -7,7 +7,7 @@ interface BulletListProps {
7
7
  export declare const BulletList: ({ children, iconPosition, }: BulletListProps) => JSX.Element;
8
8
  interface BulletListItemProps {
9
9
  children: React.ReactNode;
10
- icon: typeof Icon;
10
+ icon: ReturnType<typeof Icon>;
11
11
  }
12
12
  export declare const BulletListItem: ({ children, icon }: BulletListItemProps) => JSX.Element;
13
13
  export {};
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
- export declare type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
2
+ export type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
3
3
  loading?: boolean;
4
4
  href?: undefined;
5
5
  };
6
- export declare type LinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
6
+ export type LinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
7
7
  loading?: boolean;
8
8
  disabled?: boolean;
9
9
  href?: string;
@@ -1,29 +1,18 @@
1
1
  import React from "react";
2
2
  import { ButtonTemplatePropsType } from "../helpers";
3
3
  import { ButtonProps, LinkProps } from "../ButtonComponent";
4
- declare type DefaultCommonPropsType = ButtonTemplatePropsType<{
4
+ type DefaultCommonPropsType = ButtonTemplatePropsType<{
5
5
  primary?: boolean;
6
6
  destructive?: boolean;
7
7
  selected?: boolean;
8
8
  }>;
9
- export declare type DefaultButtonPropsType = DefaultCommonPropsType & ButtonProps;
10
- export declare type DefaultLinkPropsType = DefaultCommonPropsType & LinkProps;
9
+ export type DefaultButtonPropsType = DefaultCommonPropsType & ButtonProps;
10
+ export type DefaultLinkPropsType = DefaultCommonPropsType & LinkProps;
11
11
  declare const DefaultButton: React.ForwardRefExoticComponent<{
12
12
  primary?: boolean | undefined;
13
13
  destructive?: boolean | undefined;
14
14
  selected?: boolean | undefined;
15
- } & {
16
- className?: string | undefined;
17
- disabled?: boolean | undefined;
18
- fullWidth?: boolean | undefined;
19
- loading?: boolean | undefined;
20
- rounded?: boolean | undefined;
21
- size?: "large" | undefined;
22
- iconPosition?: "left" | "right" | undefined;
23
- icon?: "loading" | "reset" | "document" | "search" | "slider" | "download" | "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" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "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" | "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" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "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;
24
- } & {
25
- children?: React.ReactNode;
26
- } & React.ButtonHTMLAttributes<HTMLButtonElement> & {
15
+ } & import("../helpers").ButtonCommonPropsType & React.ButtonHTMLAttributes<HTMLButtonElement> & {
27
16
  loading?: boolean | undefined;
28
17
  href?: undefined;
29
18
  } & React.RefAttributes<HTMLButtonElement>> & {
@@ -31,18 +20,7 @@ declare const DefaultButton: React.ForwardRefExoticComponent<{
31
20
  primary?: boolean | undefined;
32
21
  destructive?: boolean | undefined;
33
22
  selected?: boolean | undefined;
34
- } & {
35
- className?: string | undefined;
36
- disabled?: boolean | undefined;
37
- fullWidth?: boolean | undefined;
38
- loading?: boolean | undefined;
39
- rounded?: boolean | undefined;
40
- size?: "large" | undefined;
41
- iconPosition?: "left" | "right" | undefined;
42
- icon?: "loading" | "reset" | "document" | "search" | "slider" | "download" | "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" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "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" | "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" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "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;
43
- } & {
44
- children?: React.ReactNode;
45
- } & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
23
+ } & import("../helpers").ButtonCommonPropsType & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
46
24
  loading?: boolean | undefined;
47
25
  disabled?: boolean | undefined;
48
26
  href?: string | undefined;
@@ -1,45 +1,23 @@
1
1
  import React from "react";
2
2
  import { ButtonTemplatePropsType } from "../helpers";
3
3
  import { ButtonProps, LinkProps } from "../ButtonComponent";
4
- declare type GhostCommonPropsType = ButtonTemplatePropsType<{
4
+ type GhostCommonPropsType = ButtonTemplatePropsType<{
5
5
  standalone?: boolean;
6
6
  destructive?: boolean;
7
7
  }>;
8
- export declare type GhostButtonPropsType = GhostCommonPropsType & ButtonProps;
9
- export declare type GhostLinkPropsType = GhostCommonPropsType & LinkProps;
8
+ export type GhostButtonPropsType = GhostCommonPropsType & ButtonProps;
9
+ export type GhostLinkPropsType = GhostCommonPropsType & LinkProps;
10
10
  declare const GhostButton: React.ForwardRefExoticComponent<{
11
11
  standalone?: boolean | undefined;
12
12
  destructive?: boolean | undefined;
13
- } & {
14
- className?: string | undefined;
15
- disabled?: boolean | undefined;
16
- fullWidth?: boolean | undefined;
17
- loading?: boolean | undefined;
18
- rounded?: boolean | undefined;
19
- size?: "large" | undefined;
20
- iconPosition?: "left" | "right" | undefined;
21
- icon?: "loading" | "reset" | "document" | "search" | "slider" | "download" | "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" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "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" | "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" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "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;
22
- } & {
23
- children?: React.ReactNode;
24
- } & React.ButtonHTMLAttributes<HTMLButtonElement> & {
13
+ } & import("../helpers").ButtonCommonPropsType & React.ButtonHTMLAttributes<HTMLButtonElement> & {
25
14
  loading?: boolean | undefined;
26
15
  href?: undefined;
27
16
  } & React.RefAttributes<HTMLButtonElement>> & {
28
17
  Link: React.ForwardRefExoticComponent<{
29
18
  standalone?: boolean | undefined;
30
19
  destructive?: boolean | undefined;
31
- } & {
32
- className?: string | undefined;
33
- disabled?: boolean | undefined;
34
- fullWidth?: boolean | undefined;
35
- loading?: boolean | undefined;
36
- rounded?: boolean | undefined;
37
- size?: "large" | undefined;
38
- iconPosition?: "left" | "right" | undefined;
39
- icon?: "loading" | "reset" | "document" | "search" | "slider" | "download" | "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" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "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" | "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" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "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;
40
- } & {
41
- children?: React.ReactNode;
42
- } & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
20
+ } & import("../helpers").ButtonCommonPropsType & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
43
21
  loading?: boolean | undefined;
44
22
  disabled?: boolean | undefined;
45
23
  href?: string | undefined;
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  import { ButtonTemplatePropsType } from "../helpers";
3
3
  import { ButtonProps, LinkProps } from "../ButtonComponent";
4
- declare type InversedCommonPropsType = ButtonTemplatePropsType<Record<string, unknown>>;
5
- export declare type InversedButtonPropsType = InversedCommonPropsType & ButtonProps;
6
- export declare type InversedLinkPropsType = InversedCommonPropsType & LinkProps;
4
+ type InversedCommonPropsType = ButtonTemplatePropsType<Record<string, unknown>>;
5
+ export type InversedButtonPropsType = InversedCommonPropsType & ButtonProps;
6
+ export type InversedLinkPropsType = InversedCommonPropsType & LinkProps;
7
7
  declare const InversedButton: React.ForwardRefExoticComponent<Pick<InversedButtonPropsType, string> & React.RefAttributes<HTMLButtonElement>> & {
8
8
  Link: React.ForwardRefExoticComponent<Pick<InversedLinkPropsType, string> & React.RefAttributes<HTMLAnchorElement>>;
9
9
  };
@@ -1,6 +1,7 @@
1
- import { PropsWithChildren } from "react";
1
+ import React from "react";
2
2
  import { IconSources } from "../Icon";
3
- export declare type ButtonCommonPropsType = PropsWithChildren<{
3
+ export type ButtonCommonPropsType = {
4
+ children?: React.ReactNode;
4
5
  className?: string;
5
6
  disabled?: boolean;
6
7
  fullWidth?: boolean;
@@ -9,7 +10,7 @@ export declare type ButtonCommonPropsType = PropsWithChildren<{
9
10
  size?: "large";
10
11
  iconPosition?: "left" | "right";
11
12
  icon?: IconSources;
12
- }>;
13
- export declare type ButtonTemplatePropsType<SpecificButtonProps> = SpecificButtonProps & ButtonCommonPropsType;
13
+ };
14
+ export type ButtonTemplatePropsType<SpecificButtonProps> = SpecificButtonProps & ButtonCommonPropsType;
14
15
  export declare const getButtonContent: ({ children, icon, iconPosition, }: Pick<ButtonCommonPropsType, "children" | "icon" | "iconPosition">) => JSX.Element;
15
16
  export declare const getButtonCommonClassNames: ({ rounded, size, fullWidth, className, disabled, }: Pick<ButtonCommonPropsType, "rounded" | "size" | "fullWidth" | "className" | "disabled">) => string;
@@ -1,4 +1,4 @@
1
1
  import { GhostButtonPropsType, GhostLinkPropsType } from "./GhostButton";
2
2
  import { InversedButtonPropsType, InversedLinkPropsType } from "./InversedButton";
3
3
  import { DefaultButtonPropsType, DefaultLinkPropsType } from "./DefaultButton";
4
- export declare type AllButtonsPropsType = GhostButtonPropsType & GhostLinkPropsType & InversedButtonPropsType & InversedLinkPropsType & DefaultButtonPropsType & DefaultLinkPropsType;
4
+ export type AllButtonsPropsType = GhostButtonPropsType & GhostLinkPropsType & InversedButtonPropsType & InversedLinkPropsType & DefaultButtonPropsType & DefaultLinkPropsType;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { FormElementStatus } from "../../Form/form";
3
- declare type Props = {
3
+ type Props = {
4
4
  numberOfMonths?: number;
5
5
  firstMonthDate?: Date;
6
6
  rangeLimit?: number;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- declare type Props = {
2
+ type Props = {
3
3
  date: Date;
4
4
  isEditingStartDate: boolean;
5
5
  isEditingEndDate: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type Props = {
2
+ type Props = {
3
3
  date: Date;
4
4
  startDate?: Date;
5
5
  endDate?: Date;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { MonthType } from "./types";
3
- declare type Props = MonthType;
3
+ type Props = MonthType;
4
4
  declare const CalendarViewMonth: {
5
5
  ({ monthName, monthStart, statusByDate, }: Props): JSX.Element;
6
6
  displayName: string;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { MonthType } from "./types";
3
- declare type Props = {
3
+ type Props = {
4
4
  months: MonthType[];
5
5
  };
6
6
  declare const CalendarView: {
@@ -1,16 +1,16 @@
1
- export declare type DateStatusType = "highlighted" | "semi-highlighted" | "enabled" | "disabled" | "past";
2
- export declare type StatusByDateType = {
1
+ export type DateStatusType = "highlighted" | "semi-highlighted" | "enabled" | "disabled" | "past";
2
+ export type StatusByDateType = {
3
3
  [key: string]: DateStatusType;
4
4
  };
5
- export declare type MonthType = {
5
+ export type MonthType = {
6
6
  monthName: string;
7
7
  monthStart: number;
8
8
  statusByDate?: StatusByDateType;
9
9
  };
10
- export declare type DateType = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31;
11
- export declare type CalendarViewDateType = {
10
+ export type DateType = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31;
11
+ export type CalendarViewDateType = {
12
12
  date: DateType | null;
13
13
  status?: string | null;
14
14
  };
15
- export declare type CalendarViewWeekType = CalendarViewDateType[];
16
- export declare type CalendarViewMonthType = CalendarViewWeekType[];
15
+ export type CalendarViewWeekType = CalendarViewDateType[];
16
+ export type CalendarViewMonthType = CalendarViewWeekType[];
@@ -1,13 +1,14 @@
1
- import React, { PureComponent, PropsWithChildren } from "react";
2
- export declare type CardProps = PropsWithChildren<{
1
+ import React, { PureComponent } from "react";
2
+ export type CardProps = {
3
+ children?: React.ReactNode;
3
4
  className?: string;
4
5
  flattened?: boolean;
5
- }>;
6
+ };
6
7
  export declare const Card: {
7
8
  ({ children, className, flattened }: CardProps): JSX.Element;
8
9
  Section: typeof CardSection;
9
10
  };
10
- export declare type CardSectionProps = {
11
+ export type CardSectionProps = {
11
12
  children: React.ReactNode;
12
13
  className?: string;
13
14
  tabBar?: boolean;
@@ -19,7 +20,7 @@ export declare type CardSectionProps = {
19
20
  */
20
21
  divided?: boolean | string;
21
22
  };
22
- export declare type CardSectionLinkProps = CardSectionProps & {
23
+ export type CardSectionLinkProps = CardSectionProps & {
23
24
  href: React.AnchorHTMLAttributes<HTMLAnchorElement>["href"];
24
25
  target?: React.AnchorHTMLAttributes<HTMLAnchorElement>["target"];
25
26
  rel?: React.AnchorHTMLAttributes<HTMLAnchorElement>["rel"];
@@ -1,16 +1,18 @@
1
- import { PropsWithChildren } from "react";
2
- export declare type CellPropsType = PropsWithChildren<{
1
+ import React from "react";
2
+ export type CellPropsType = {
3
+ children?: React.ReactNode;
3
4
  divided?: boolean;
4
5
  className?: string;
5
- }>;
6
- export declare type CellSoftPropsType = PropsWithChildren<{
6
+ };
7
+ export type CellSoftPropsType = {
8
+ children?: React.ReactNode;
7
9
  softDivided?: boolean;
8
10
  className?: string;
9
- }>;
10
- export declare type CellsPropsType = {
11
+ };
12
+ export type CellsPropsType = {
11
13
  content: CellPropsType["children"][];
12
14
  } & Omit<CellPropsType, "children">;
13
- export declare type CellsSoftPropsType = {
15
+ export type CellsSoftPropsType = {
14
16
  content: CellSoftPropsType["children"][];
15
17
  } & Omit<CellSoftPropsType, "children">;
16
18
  declare function Cell(props: CellPropsType): JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import React from "react";
2
- import { Button } from "../Button";
2
+ import DefaultButton from "../Buttons/DefaultButton";
3
3
  export interface EmptyStateProps {
4
4
  children?: React.ReactNode;
5
5
  title: string;
6
- action?: typeof Button;
7
- secondaryAction?: typeof Button;
6
+ action?: typeof DefaultButton;
7
+ secondaryAction?: typeof DefaultButton;
8
8
  image: string;
9
9
  }
10
10
  export declare const EmptyState: ({ title, children, action, secondaryAction, image, }: EmptyStateProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- export declare type FlashStatus = "info" | "success" | "error";
2
+ export type FlashStatus = "info" | "success" | "error";
3
3
  export interface FlashProps {
4
4
  children: React.ReactNode;
5
5
  status: FlashStatus;