@drivy/cobalt 0.22.0 → 0.24.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 (362) hide show
  1. package/components/Buttons/ButtonComponent.js +1 -2
  2. package/components/Buttons/ButtonComponent.js.map +1 -1
  3. package/components/Buttons/ButtonsGroup.js +1 -5
  4. package/components/Buttons/ButtonsGroup.js.map +1 -1
  5. package/components/EmptyState/index.js +2 -2
  6. package/components/EmptyState/index.js.map +1 -1
  7. package/components/Form/Stepper.js +3 -3
  8. package/components/Form/Stepper.js.map +1 -1
  9. package/components/Rating/RatingCompact.js +4 -2
  10. package/components/Rating/RatingCompact.js.map +1 -1
  11. package/components/Rating/index.js +1 -4
  12. package/components/Rating/index.js.map +1 -1
  13. package/index.js +3 -3
  14. package/package.json +17 -15
  15. package/styles/components.scss +1 -1
  16. package/styles/core/fonts.scss +7 -0
  17. package/styles/core.scss +1 -0
  18. package/styles/fonts/README.md +14 -0
  19. package/types/components/Accordion/ToggleIcon.d.ts +1 -1
  20. package/types/components/Accordion/index.d.ts +6 -6
  21. package/types/components/Alerter/Alert.d.ts +2 -2
  22. package/types/components/Alerter/index.d.ts +4 -4
  23. package/types/components/Buttons/ButtonComponent.d.ts +2 -2
  24. package/types/components/Buttons/DefaultButton/index.d.ts +3 -3
  25. package/types/components/Buttons/GhostButton/index.d.ts +3 -3
  26. package/types/components/Buttons/InversedButton/index.d.ts +3 -3
  27. package/types/components/Buttons/helpers.d.ts +2 -2
  28. package/types/components/Buttons/index.d.ts +1 -1
  29. package/types/components/Calendar/CalendarRangePicker/CalendarRangePicker.d.ts +1 -1
  30. package/types/components/Calendar/CalendarRangePicker/CalendarRangePickerDay.d.ts +1 -1
  31. package/types/components/Calendar/CalendarRangePicker/CalendarRangePickerMonth.d.ts +1 -1
  32. package/types/components/Calendar/CalendarView/CalendarViewMonth.d.ts +1 -1
  33. package/types/components/Calendar/CalendarView/index.d.ts +1 -1
  34. package/types/components/Calendar/CalendarView/types.d.ts +7 -7
  35. package/types/components/Card/index.d.ts +3 -3
  36. package/types/components/Cell/index.d.ts +4 -4
  37. package/types/components/EmptyState/index.d.ts +3 -3
  38. package/types/components/Flash/index.d.ts +1 -1
  39. package/types/components/Form/Autocomplete/index.d.ts +1 -1
  40. package/types/components/Form/CheckablePill.d.ts +1 -1
  41. package/types/components/Form/Checkmark.d.ts +2 -2
  42. package/types/components/Form/ComposedField.d.ts +1 -1
  43. package/types/components/Form/Fieldset.d.ts +1 -1
  44. package/types/components/Form/RadioWithDetails.d.ts +1 -1
  45. package/types/components/Form/Select.d.ts +1 -1
  46. package/types/components/Form/Slider.d.ts +3 -3
  47. package/types/components/Form/Stepper.d.ts +2 -2
  48. package/types/components/Form/TextArea.d.ts +1 -1
  49. package/types/components/Form/TextInput.d.ts +2 -2
  50. package/types/components/Form/ToggleSwitch.d.ts +2 -2
  51. package/types/components/Form/field.d.ts +1 -1
  52. package/types/components/Form/form.d.ts +1 -1
  53. package/types/components/Helper/index.d.ts +1 -1
  54. package/types/components/HorizontalList/index.d.ts +2 -2
  55. package/types/components/Icon/__generated__/AccountDetailsIcon.d.ts +1 -1
  56. package/types/components/Icon/__generated__/AddPictureIcon.d.ts +1 -1
  57. package/types/components/Icon/__generated__/AirConditioningIcon.d.ts +1 -1
  58. package/types/components/Icon/__generated__/AirportIcon.d.ts +1 -1
  59. package/types/components/Icon/__generated__/AndroidIcon.d.ts +1 -1
  60. package/types/components/Icon/__generated__/AntiqueIcon.d.ts +1 -1
  61. package/types/components/Icon/__generated__/ArrowLeftCircleFilledIcon.d.ts +1 -1
  62. package/types/components/Icon/__generated__/ArrowLeftIcon.d.ts +1 -1
  63. package/types/components/Icon/__generated__/ArrowRightCircleFilledIcon.d.ts +1 -1
  64. package/types/components/Icon/__generated__/ArrowRightCircleIcon.d.ts +1 -1
  65. package/types/components/Icon/__generated__/ArrowRightIcon.d.ts +1 -1
  66. package/types/components/Icon/__generated__/AudioInputIcon.d.ts +1 -1
  67. package/types/components/Icon/__generated__/BabySeatIcon.d.ts +1 -1
  68. package/types/components/Icon/__generated__/BatteryIcon.d.ts +1 -1
  69. package/types/components/Icon/__generated__/BellIcon.d.ts +1 -1
  70. package/types/components/Icon/__generated__/BikeRackIcon.d.ts +1 -1
  71. package/types/components/Icon/__generated__/BinIcon.d.ts +1 -1
  72. package/types/components/Icon/__generated__/BluetoothIcon.d.ts +1 -1
  73. package/types/components/Icon/__generated__/BriefcaseIcon.d.ts +1 -1
  74. package/types/components/Icon/__generated__/BulbIcon.d.ts +1 -1
  75. package/types/components/Icon/__generated__/CableIcon.d.ts +1 -1
  76. package/types/components/Icon/__generated__/CabrioletIcon.d.ts +1 -1
  77. package/types/components/Icon/__generated__/CalendarCheckIcon.d.ts +1 -1
  78. package/types/components/Icon/__generated__/CalendarClockIcon.d.ts +1 -1
  79. package/types/components/Icon/__generated__/CalendarEndIcon.d.ts +1 -1
  80. package/types/components/Icon/__generated__/CalendarIcon.d.ts +1 -1
  81. package/types/components/Icon/__generated__/CalendarStartIcon.d.ts +1 -1
  82. package/types/components/Icon/__generated__/CameraAddIcon.d.ts +1 -1
  83. package/types/components/Icon/__generated__/CameraIcon.d.ts +1 -1
  84. package/types/components/Icon/__generated__/CampervanIcon.d.ts +1 -1
  85. package/types/components/Icon/__generated__/CarAddIcon.d.ts +1 -1
  86. package/types/components/Icon/__generated__/CarCheckIcon.d.ts +1 -1
  87. package/types/components/Icon/__generated__/CarDamagesIcon.d.ts +1 -1
  88. package/types/components/Icon/__generated__/CarDrivyOpenIcon.d.ts +1 -1
  89. package/types/components/Icon/__generated__/CarGroupIcon.d.ts +1 -1
  90. package/types/components/Icon/__generated__/CarIcon.d.ts +1 -1
  91. package/types/components/Icon/__generated__/CarLockIcon.d.ts +1 -1
  92. package/types/components/Icon/__generated__/CarPlayIcon.d.ts +1 -1
  93. package/types/components/Icon/__generated__/CarReturnIcon.d.ts +1 -1
  94. package/types/components/Icon/__generated__/CarSearchIcon.d.ts +1 -1
  95. package/types/components/Icon/__generated__/CarTypeAntiqueIcon.d.ts +1 -1
  96. package/types/components/Icon/__generated__/CarTypeCabrioletIcon.d.ts +1 -1
  97. package/types/components/Icon/__generated__/CarTypeCampervanIcon.d.ts +1 -1
  98. package/types/components/Icon/__generated__/CarTypeCityIcon.d.ts +1 -1
  99. package/types/components/Icon/__generated__/CarTypeConvertibleIcon.d.ts +1 -1
  100. package/types/components/Icon/__generated__/CarTypeCoupeIcon.d.ts +1 -1
  101. package/types/components/Icon/__generated__/CarTypeFamilyIcon.d.ts +1 -1
  102. package/types/components/Icon/__generated__/CarTypeFourFourIcon.d.ts +1 -1
  103. package/types/components/Icon/__generated__/CarTypeMinibusIcon.d.ts +1 -1
  104. package/types/components/Icon/__generated__/CarTypeSedanIcon.d.ts +1 -1
  105. package/types/components/Icon/__generated__/CarTypeUtilityIcon.d.ts +1 -1
  106. package/types/components/Icon/__generated__/CardIcon.d.ts +1 -1
  107. package/types/components/Icon/__generated__/CdPlayerIcon.d.ts +1 -1
  108. package/types/components/Icon/__generated__/CertificateIcon.d.ts +1 -1
  109. package/types/components/Icon/__generated__/ChainsIcon.d.ts +1 -1
  110. package/types/components/Icon/__generated__/CheckCircleFilledIcon.d.ts +1 -1
  111. package/types/components/Icon/__generated__/CheckCircleIcon.d.ts +1 -1
  112. package/types/components/Icon/__generated__/CheckIcon.d.ts +1 -1
  113. package/types/components/Icon/__generated__/ChecklistIcon.d.ts +1 -1
  114. package/types/components/Icon/__generated__/ChevronDownIcon.d.ts +1 -1
  115. package/types/components/Icon/__generated__/ChevronLeftIcon.d.ts +1 -1
  116. package/types/components/Icon/__generated__/ChevronRightIcon.d.ts +1 -1
  117. package/types/components/Icon/__generated__/ChevronUpIcon.d.ts +1 -1
  118. package/types/components/Icon/__generated__/CircledArrowRightIcon.d.ts +1 -1
  119. package/types/components/Icon/__generated__/CityIcon.d.ts +1 -1
  120. package/types/components/Icon/__generated__/CleaningIcon.d.ts +1 -1
  121. package/types/components/Icon/__generated__/ClockAlertIcon.d.ts +1 -1
  122. package/types/components/Icon/__generated__/ClockBackwardsIcon.d.ts +1 -1
  123. package/types/components/Icon/__generated__/ClockForwardsIcon.d.ts +1 -1
  124. package/types/components/Icon/__generated__/ClockIcon.d.ts +1 -1
  125. package/types/components/Icon/__generated__/CloseCircleFilledIcon.d.ts +1 -1
  126. package/types/components/Icon/__generated__/CloseIcon.d.ts +1 -1
  127. package/types/components/Icon/__generated__/ConnectCarIcon.d.ts +1 -1
  128. package/types/components/Icon/__generated__/ContactMailIcon.d.ts +1 -1
  129. package/types/components/Icon/__generated__/ContactPhoneIcon.d.ts +1 -1
  130. package/types/components/Icon/__generated__/ContextualPaperclipIcon.d.ts +1 -1
  131. package/types/components/Icon/__generated__/ContextualQuestionIcon.d.ts +1 -1
  132. package/types/components/Icon/__generated__/ContextualWarningCircleFilledIcon.d.ts +1 -1
  133. package/types/components/Icon/__generated__/ContextualWarningCircleIcon.d.ts +1 -1
  134. package/types/components/Icon/__generated__/ConvertibleIcon.d.ts +1 -1
  135. package/types/components/Icon/__generated__/CopyIcon.d.ts +1 -1
  136. package/types/components/Icon/__generated__/CoupeIcon.d.ts +1 -1
  137. package/types/components/Icon/__generated__/CreditCardAddIcon.d.ts +1 -1
  138. package/types/components/Icon/__generated__/CreditCardErrorIcon.d.ts +1 -1
  139. package/types/components/Icon/__generated__/CreditCardIcon.d.ts +1 -1
  140. package/types/components/Icon/__generated__/CruiseControlIcon.d.ts +1 -1
  141. package/types/components/Icon/__generated__/DashcamIcon.d.ts +1 -1
  142. package/types/components/Icon/__generated__/DirectionsIcon.d.ts +1 -1
  143. package/types/components/Icon/__generated__/DocumentIcon.d.ts +1 -1
  144. package/types/components/Icon/__generated__/DotHorizontalIcon.d.ts +1 -1
  145. package/types/components/Icon/__generated__/DotVerticalIcon.d.ts +1 -1
  146. package/types/components/Icon/__generated__/DotsHorizontalIcon.d.ts +1 -1
  147. package/types/components/Icon/__generated__/DotsVerticalIcon.d.ts +1 -1
  148. package/types/components/Icon/__generated__/DownloadIcon.d.ts +1 -1
  149. package/types/components/Icon/__generated__/EarningIcon.d.ts +1 -1
  150. package/types/components/Icon/__generated__/EarthIcon.d.ts +1 -1
  151. package/types/components/Icon/__generated__/EditIcon.d.ts +1 -1
  152. package/types/components/Icon/__generated__/ElectricIcon.d.ts +1 -1
  153. package/types/components/Icon/__generated__/EvBatteryIcon.d.ts +1 -1
  154. package/types/components/Icon/__generated__/EvCableIcon.d.ts +1 -1
  155. package/types/components/Icon/__generated__/EvChargerIcon.d.ts +1 -1
  156. package/types/components/Icon/__generated__/ExternalLinkIcon.d.ts +1 -1
  157. package/types/components/Icon/__generated__/EyeClosedIcon.d.ts +1 -1
  158. package/types/components/Icon/__generated__/EyeIcon.d.ts +1 -1
  159. package/types/components/Icon/__generated__/EyeOpenedIcon.d.ts +1 -1
  160. package/types/components/Icon/__generated__/FaceRecognitionIcon.d.ts +1 -1
  161. package/types/components/Icon/__generated__/FacebookIcon.d.ts +1 -1
  162. package/types/components/Icon/__generated__/FamilyIcon.d.ts +1 -1
  163. package/types/components/Icon/__generated__/FileFilledIcon.d.ts +1 -1
  164. package/types/components/Icon/__generated__/FilterIcon.d.ts +1 -1
  165. package/types/components/Icon/__generated__/FiltersIcon.d.ts +1 -1
  166. package/types/components/Icon/__generated__/FlagIcon.d.ts +1 -1
  167. package/types/components/Icon/__generated__/FourByFourIcon.d.ts +1 -1
  168. package/types/components/Icon/__generated__/FuelTankIcon.d.ts +1 -1
  169. package/types/components/Icon/__generated__/GeolocationIcon.d.ts +1 -1
  170. package/types/components/Icon/__generated__/GiftIcon.d.ts +1 -1
  171. package/types/components/Icon/__generated__/GpsIcon.d.ts +1 -1
  172. package/types/components/Icon/__generated__/GraphUpIcon.d.ts +1 -1
  173. package/types/components/Icon/__generated__/HealingIcon.d.ts +1 -1
  174. package/types/components/Icon/__generated__/HeartIcon.d.ts +1 -1
  175. package/types/components/Icon/__generated__/HitchIcon.d.ts +1 -1
  176. package/types/components/Icon/__generated__/HomeIcon.d.ts +1 -1
  177. package/types/components/Icon/__generated__/IdCardIcon.d.ts +1 -1
  178. package/types/components/Icon/__generated__/IncidentIcon.d.ts +1 -1
  179. package/types/components/Icon/__generated__/InfoCircleFilledIcon.d.ts +1 -1
  180. package/types/components/Icon/__generated__/InfoCircleIcon.d.ts +1 -1
  181. package/types/components/Icon/__generated__/InfoFilledIcon.d.ts +1 -1
  182. package/types/components/Icon/__generated__/InfoIcon.d.ts +1 -1
  183. package/types/components/Icon/__generated__/InstantIcon.d.ts +1 -1
  184. package/types/components/Icon/__generated__/InvoiceIcon.d.ts +1 -1
  185. package/types/components/Icon/__generated__/KeyConnectIcon.d.ts +1 -1
  186. package/types/components/Icon/__generated__/KeyIcon.d.ts +1 -1
  187. package/types/components/Icon/__generated__/LicenceCheckIcon.d.ts +1 -1
  188. package/types/components/Icon/__generated__/LicenceIcon.d.ts +1 -1
  189. package/types/components/Icon/__generated__/LicencePaperIcon.d.ts +1 -1
  190. package/types/components/Icon/__generated__/LifeBuoyIcon.d.ts +1 -1
  191. package/types/components/Icon/__generated__/LinkedinIcon.d.ts +1 -1
  192. package/types/components/Icon/__generated__/LoadingIcon.d.ts +1 -1
  193. package/types/components/Icon/__generated__/LocalityIcon.d.ts +1 -1
  194. package/types/components/Icon/__generated__/LocationIcon.d.ts +1 -1
  195. package/types/components/Icon/__generated__/LocationMapIcon.d.ts +1 -1
  196. package/types/components/Icon/__generated__/LocationParkingIcon.d.ts +1 -1
  197. package/types/components/Icon/__generated__/LocationPinIcon.d.ts +1 -1
  198. package/types/components/Icon/__generated__/LockCheckIcon.d.ts +1 -1
  199. package/types/components/Icon/__generated__/LockedIcon.d.ts +1 -1
  200. package/types/components/Icon/__generated__/LoginIcon.d.ts +1 -1
  201. package/types/components/Icon/__generated__/LogoutIcon.d.ts +1 -1
  202. package/types/components/Icon/__generated__/MailCheckIcon.d.ts +1 -1
  203. package/types/components/Icon/__generated__/MailIcon.d.ts +1 -1
  204. package/types/components/Icon/__generated__/MapAltIcon.d.ts +1 -1
  205. package/types/components/Icon/__generated__/MapIcon.d.ts +1 -1
  206. package/types/components/Icon/__generated__/MeetDriverIcon.d.ts +1 -1
  207. package/types/components/Icon/__generated__/MeetOwnerIcon.d.ts +1 -1
  208. package/types/components/Icon/__generated__/MenuListIcon.d.ts +1 -1
  209. package/types/components/Icon/__generated__/MessagesIcon.d.ts +1 -1
  210. package/types/components/Icon/__generated__/MileageIcon.d.ts +1 -1
  211. package/types/components/Icon/__generated__/MinibusIcon.d.ts +1 -1
  212. package/types/components/Icon/__generated__/MinusCircleFilledIcon.d.ts +1 -1
  213. package/types/components/Icon/__generated__/MinusIcon.d.ts +1 -1
  214. package/types/components/Icon/__generated__/MiscGiftIcon.d.ts +1 -1
  215. package/types/components/Icon/__generated__/NearbyDeviceIcon.d.ts +1 -1
  216. package/types/components/Icon/__generated__/NotificationIcon.d.ts +1 -1
  217. package/types/components/Icon/__generated__/Number1CircleIcon.d.ts +1 -1
  218. package/types/components/Icon/__generated__/Number2CircleIcon.d.ts +1 -1
  219. package/types/components/Icon/__generated__/Number3CircleIcon.d.ts +1 -1
  220. package/types/components/Icon/__generated__/Number4CircleIcon.d.ts +1 -1
  221. package/types/components/Icon/__generated__/Number5CircleIcon.d.ts +1 -1
  222. package/types/components/Icon/__generated__/OkHandIcon.d.ts +1 -1
  223. package/types/components/Icon/__generated__/OptionAirConditioningIcon.d.ts +1 -1
  224. package/types/components/Icon/__generated__/OptionAndroidAutoIcon.d.ts +1 -1
  225. package/types/components/Icon/__generated__/OptionAppleCarplayIcon.d.ts +1 -1
  226. package/types/components/Icon/__generated__/OptionAudioInputIcon.d.ts +1 -1
  227. package/types/components/Icon/__generated__/OptionBabySeatIcon.d.ts +1 -1
  228. package/types/components/Icon/__generated__/OptionBikeRackIcon.d.ts +1 -1
  229. package/types/components/Icon/__generated__/OptionBluetoothAudioIcon.d.ts +1 -1
  230. package/types/components/Icon/__generated__/OptionCdPlayerIcon.d.ts +1 -1
  231. package/types/components/Icon/__generated__/OptionChainsIcon.d.ts +1 -1
  232. package/types/components/Icon/__generated__/OptionCruiseControlIcon.d.ts +1 -1
  233. package/types/components/Icon/__generated__/OptionDashcamIcon.d.ts +1 -1
  234. package/types/components/Icon/__generated__/OptionGpsIcon.d.ts +1 -1
  235. package/types/components/Icon/__generated__/OptionHasTrailerIcon.d.ts +1 -1
  236. package/types/components/Icon/__generated__/OptionHitchIcon.d.ts +1 -1
  237. package/types/components/Icon/__generated__/OptionRoofBoxIcon.d.ts +1 -1
  238. package/types/components/Icon/__generated__/OptionSkiRackIcon.d.ts +1 -1
  239. package/types/components/Icon/__generated__/OptionSnowTireIcon.d.ts +1 -1
  240. package/types/components/Icon/__generated__/OptionWheelchairAccessibleIcon.d.ts +1 -1
  241. package/types/components/Icon/__generated__/PaperclipIcon.d.ts +1 -1
  242. package/types/components/Icon/__generated__/ParkingIcon.d.ts +1 -1
  243. package/types/components/Icon/__generated__/PassportIcon.d.ts +1 -1
  244. package/types/components/Icon/__generated__/PaymentsIcon.d.ts +1 -1
  245. package/types/components/Icon/__generated__/PencilIcon.d.ts +1 -1
  246. package/types/components/Icon/__generated__/PeopleUserIcon.d.ts +1 -1
  247. package/types/components/Icon/__generated__/PerformanceIcon.d.ts +1 -1
  248. package/types/components/Icon/__generated__/PhoneIcon.d.ts +1 -1
  249. package/types/components/Icon/__generated__/PhoneLinkIcon.d.ts +1 -1
  250. package/types/components/Icon/__generated__/PhotosIcon.d.ts +1 -1
  251. package/types/components/Icon/__generated__/PigIcon.d.ts +1 -1
  252. package/types/components/Icon/__generated__/PinIcon.d.ts +1 -1
  253. package/types/components/Icon/__generated__/PlugIcon.d.ts +1 -1
  254. package/types/components/Icon/__generated__/PlusCircleFilledIcon.d.ts +1 -1
  255. package/types/components/Icon/__generated__/PlusIcon.d.ts +1 -1
  256. package/types/components/Icon/__generated__/PositionIcon.d.ts +1 -1
  257. package/types/components/Icon/__generated__/PricingFlatIcon.d.ts +1 -1
  258. package/types/components/Icon/__generated__/PricingVariableIcon.d.ts +1 -1
  259. package/types/components/Icon/__generated__/ProfilePictureIcon.d.ts +1 -1
  260. package/types/components/Icon/__generated__/QuestionCircleFilledIcon.d.ts +1 -1
  261. package/types/components/Icon/__generated__/QuestionCircleIcon.d.ts +1 -1
  262. package/types/components/Icon/__generated__/QuestionIcon.d.ts +1 -1
  263. package/types/components/Icon/__generated__/RaceFlagIcon.d.ts +1 -1
  264. package/types/components/Icon/__generated__/RefreshIcon.d.ts +1 -1
  265. package/types/components/Icon/__generated__/ReorderIcon.d.ts +1 -1
  266. package/types/components/Icon/__generated__/ReplacementCarIcon.d.ts +1 -1
  267. package/types/components/Icon/__generated__/ReplyIcon.d.ts +1 -1
  268. package/types/components/Icon/__generated__/ResetIcon.d.ts +1 -1
  269. package/types/components/Icon/__generated__/RideIcon.d.ts +1 -1
  270. package/types/components/Icon/__generated__/RoofBoxIcon.d.ts +1 -1
  271. package/types/components/Icon/__generated__/SealCheckIcon.d.ts +1 -1
  272. package/types/components/Icon/__generated__/SearchCarIcon.d.ts +1 -1
  273. package/types/components/Icon/__generated__/SearchIcon.d.ts +1 -1
  274. package/types/components/Icon/__generated__/SearchPeopleIcon.d.ts +1 -1
  275. package/types/components/Icon/__generated__/SedanIcon.d.ts +1 -1
  276. package/types/components/Icon/__generated__/ServiceBatteryIcon.d.ts +1 -1
  277. package/types/components/Icon/__generated__/ServiceCleaningIcon.d.ts +1 -1
  278. package/types/components/Icon/__generated__/ServiceFuelIcon.d.ts +1 -1
  279. package/types/components/Icon/__generated__/ServiceHealingIcon.d.ts +1 -1
  280. package/types/components/Icon/__generated__/ServiceLockedIcon.d.ts +1 -1
  281. package/types/components/Icon/__generated__/ServiceTollsIcon.d.ts +1 -1
  282. package/types/components/Icon/__generated__/ServiceUnlockedIcon.d.ts +1 -1
  283. package/types/components/Icon/__generated__/SettingsIcon.d.ts +1 -1
  284. package/types/components/Icon/__generated__/ShareAndroidIcon.d.ts +1 -1
  285. package/types/components/Icon/__generated__/ShareIcon.d.ts +1 -1
  286. package/types/components/Icon/__generated__/ShareIosIcon.d.ts +1 -1
  287. package/types/components/Icon/__generated__/ShieldCheckIcon.d.ts +1 -1
  288. package/types/components/Icon/__generated__/ShieldIcon.d.ts +1 -1
  289. package/types/components/Icon/__generated__/ShopIcon.d.ts +1 -1
  290. package/types/components/Icon/__generated__/SkiRackIcon.d.ts +1 -1
  291. package/types/components/Icon/__generated__/SliderIcon.d.ts +1 -1
  292. package/types/components/Icon/__generated__/SmartphoneIcon.d.ts +1 -1
  293. package/types/components/Icon/__generated__/SnowTireIcon.d.ts +1 -1
  294. package/types/components/Icon/__generated__/SocialFacebookIcon.d.ts +1 -1
  295. package/types/components/Icon/__generated__/SocialLinkedinIcon.d.ts +1 -1
  296. package/types/components/Icon/__generated__/SocialTwitterIcon.d.ts +1 -1
  297. package/types/components/Icon/__generated__/SocialWhatsappIcon.d.ts +1 -1
  298. package/types/components/Icon/__generated__/StarHalfIcon.d.ts +1 -1
  299. package/types/components/Icon/__generated__/StarIcon.d.ts +1 -1
  300. package/types/components/Icon/__generated__/StarsIcon.d.ts +1 -1
  301. package/types/components/Icon/__generated__/SubwayIcon.d.ts +1 -1
  302. package/types/components/Icon/__generated__/SuitcaseIcon.d.ts +1 -1
  303. package/types/components/Icon/__generated__/SupportIcon.d.ts +1 -1
  304. package/types/components/Icon/__generated__/SuvIcon.d.ts +1 -1
  305. package/types/components/Icon/__generated__/SynchIcon.d.ts +1 -1
  306. package/types/components/Icon/__generated__/TagIcon.d.ts +1 -1
  307. package/types/components/Icon/__generated__/TimeAlertIcon.d.ts +1 -1
  308. package/types/components/Icon/__generated__/TimeBackwardsIcon.d.ts +1 -1
  309. package/types/components/Icon/__generated__/TimeCalendarIcon.d.ts +1 -1
  310. package/types/components/Icon/__generated__/TimeForwardIcon.d.ts +1 -1
  311. package/types/components/Icon/__generated__/TollsIcon.d.ts +1 -1
  312. package/types/components/Icon/__generated__/TrailerIcon.d.ts +1 -1
  313. package/types/components/Icon/__generated__/TrainIcon.d.ts +1 -1
  314. package/types/components/Icon/__generated__/TriangleDownIcon.d.ts +1 -1
  315. package/types/components/Icon/__generated__/TriangleRightIcon.d.ts +1 -1
  316. package/types/components/Icon/__generated__/TriangleUpIcon.d.ts +1 -1
  317. package/types/components/Icon/__generated__/TwitterIcon.d.ts +1 -1
  318. package/types/components/Icon/__generated__/TwoPeopleIcon.d.ts +1 -1
  319. package/types/components/Icon/__generated__/UnfoldIcon.d.ts +1 -1
  320. package/types/components/Icon/__generated__/UnlockedIcon.d.ts +1 -1
  321. package/types/components/Icon/__generated__/UserCheckIcon.d.ts +1 -1
  322. package/types/components/Icon/__generated__/UserIcon.d.ts +1 -1
  323. package/types/components/Icon/__generated__/UserQuestionIcon.d.ts +1 -1
  324. package/types/components/Icon/__generated__/UserShieldIcon.d.ts +1 -1
  325. package/types/components/Icon/__generated__/UserSwitchIcon.d.ts +1 -1
  326. package/types/components/Icon/__generated__/UtilityVanLargeIcon.d.ts +1 -1
  327. package/types/components/Icon/__generated__/UtilityVanMediumIcon.d.ts +1 -1
  328. package/types/components/Icon/__generated__/UtilityVanSmallIcon.d.ts +1 -1
  329. package/types/components/Icon/__generated__/VerifiedSealIcon.d.ts +1 -1
  330. package/types/components/Icon/__generated__/WalkIcon.d.ts +1 -1
  331. package/types/components/Icon/__generated__/WalletIcon.d.ts +1 -1
  332. package/types/components/Icon/__generated__/WarningCircleFilledIcon.d.ts +1 -1
  333. package/types/components/Icon/__generated__/WarningCircleIcon.d.ts +1 -1
  334. package/types/components/Icon/__generated__/WhatsappIcon.d.ts +1 -1
  335. package/types/components/Icon/__generated__/WheelIcon.d.ts +1 -1
  336. package/types/components/Icon/__generated__/WheelchairIcon.d.ts +1 -1
  337. package/types/components/Icon/__generated__/WrenchIcon.d.ts +1 -1
  338. package/types/components/Icon/__generated__/YingyangIcon.d.ts +1 -1
  339. package/types/components/Icon/index.d.ts +2 -2
  340. package/types/components/Modal/ModalFooter.d.ts +1 -1
  341. package/types/components/Modal/index.d.ts +1 -1
  342. package/types/components/PhotoDropzone/index.d.ts +1 -1
  343. package/types/components/Popover/index.d.ts +1 -1
  344. package/types/components/Rating/RatingCompact.d.ts +2 -1
  345. package/types/components/Rating/RatingIcons.d.ts +2 -2
  346. package/types/components/Rating/RatingInput.d.ts +1 -1
  347. package/types/components/Rating/RatingLabel.d.ts +1 -1
  348. package/types/components/Rating/index.d.ts +2 -3
  349. package/types/components/Tabs/index.d.ts +2 -2
  350. package/types/hooks/useBreakpoint.d.ts +1 -1
  351. package/types/index.d.ts +1 -1
  352. package/components/Button/Button.js +0 -33
  353. package/components/Button/Button.js.map +0 -1
  354. package/components/Button/Link.js +0 -33
  355. package/components/Button/Link.js.map +0 -1
  356. package/components/Button/index.js +0 -9
  357. package/components/Button/index.js.map +0 -1
  358. package/styles/components/Button/index.scss +0 -2
  359. package/styles/components/Button/legacy.scss +0 -348
  360. package/types/components/Button/Button.d.ts +0 -28
  361. package/types/components/Button/Link.d.ts +0 -28
  362. package/types/components/Button/index.d.ts +0 -75
@@ -1,348 +0,0 @@
1
- @use "sass:math";
2
-
3
- $group-item-spacing: spacing(tight);
4
-
5
- @mixin button-sizing(
6
- $height: null,
7
- $line-height: null,
8
- $font-size: null,
9
- $horizontal-padding: null
10
- ) {
11
- $border-width: 2px;
12
- $vertical-padding: math.div($height - $line-height, 2) - $border-width;
13
-
14
- @if $font-size > $line-height {
15
- @error "Invalid line-height";
16
- }
17
-
18
- min-height: $height;
19
- min-width: $height;
20
- padding: $vertical-padding $horizontal-padding;
21
-
22
- border-width: $border-width;
23
-
24
- font-size: $font-size;
25
- line-height: $line-height;
26
- }
27
-
28
- @mixin button-base {
29
- @include button-sizing(
30
- $height: 40px,
31
- $line-height: 20px,
32
- $font-size: 16px,
33
- $horizontal-padding: spacing()
34
- );
35
-
36
- position: relative;
37
-
38
- display: inline-flex;
39
- margin: 0;
40
-
41
- align-items: center;
42
- justify-content: center;
43
- border-style: solid;
44
- border-color: color(grey);
45
-
46
- color: color(indigo);
47
- text-decoration: none;
48
- font-family: font-family(brand);
49
- font-weight: 600;
50
- text-align: center;
51
- white-space: normal;
52
-
53
- border-radius: border-radius(large);
54
- box-shadow: 0 2px 8px 0 rgba(#000, 0.08);
55
- background-color: color(white);
56
-
57
- fill: color(indigo);
58
- cursor: pointer;
59
- user-select: none;
60
- transition-property: background-color, border, box-shadow, color, transform,
61
- fill;
62
- transition-duration: 0.15s;
63
- transition-timing-function: ease-out;
64
- appearance: none;
65
-
66
- &:hover {
67
- border-color: color(indigo);
68
-
69
- text-decoration: none;
70
-
71
- box-shadow: 0 4px 4px 0 rgba(#000, 0.16);
72
-
73
- transform: translateY(-1px);
74
- }
75
-
76
- &:active {
77
- border-color: color(indigo, dark);
78
-
79
- color: color(indigo, dark);
80
-
81
- fill: color(indigo, dark);
82
- box-shadow: none;
83
-
84
- transform: translateY(0);
85
- }
86
-
87
- &.rounded {
88
- border-radius: 9999px;
89
- }
90
- }
91
-
92
- @mixin button-filled($button-color, $hover-color, $active-color) {
93
- border-color: $button-color;
94
-
95
- color: color(white);
96
-
97
- background-color: $button-color;
98
- fill: color(white);
99
-
100
- &:hover {
101
- border-color: $hover-color;
102
-
103
- color: color(white);
104
-
105
- background-color: $hover-color;
106
- fill: color(white);
107
- }
108
-
109
- &:active {
110
- border-color: $active-color;
111
-
112
- color: color(white);
113
-
114
- background-color: $active-color;
115
- fill: color(white);
116
- }
117
- }
118
-
119
- .cobalt- {
120
- &Button {
121
- @include button-base;
122
-
123
- // Hacking specificity for primary and destructive buttons
124
- &[disabled][disabled],
125
- &[data-disabled]:not([data-disabled="false"]),
126
- &.cobalt-Button--disabled {
127
- border-color: color(grey);
128
-
129
- color: color(graphite, light);
130
-
131
- opacity: 0.7;
132
- cursor: default;
133
- background-color: color(grey, lighter);
134
- fill: color(grey);
135
- box-shadow: none;
136
- pointer-events: none;
137
- }
138
-
139
- &--fullWidth {
140
- display: flex;
141
- width: 100%;
142
- max-width: 600px;
143
- margin-left: auto;
144
- margin-right: auto;
145
- }
146
-
147
- &--large {
148
- @include button-sizing(
149
- $height: 56px,
150
- $line-height: 24px,
151
- $font-size: 18px,
152
- $horizontal-padding: spacing(medium)
153
- );
154
-
155
- &.cobalt-Button--ghost.cobalt-Button--standalone {
156
- margin-left: #{spacing(medium) * -1};
157
- margin-right: #{spacing(medium) * -1};
158
- }
159
- }
160
-
161
- &--inversed:not(.cobalt-Button--destructive):not(.cobalt-Button--primary):not(.cobalt-Button--ghost) {
162
- $color: color(white);
163
- border-color: rgba($color, 0.7);
164
-
165
- color: $color;
166
-
167
- background-color: transparent;
168
- fill: $color;
169
- box-shadow: none;
170
-
171
- &:hover {
172
- border-color: $color;
173
-
174
- color: $color;
175
-
176
- fill: $color;
177
- }
178
-
179
- &:active {
180
- border-color: $color;
181
-
182
- color: $color;
183
-
184
- fill: $color;
185
- }
186
- }
187
-
188
- &--destructive {
189
- $color: color(red);
190
- color: $color;
191
-
192
- fill: $color;
193
-
194
- &:hover {
195
- border-color: $color;
196
-
197
- color: $color;
198
-
199
- fill: $color;
200
- }
201
-
202
- &:active {
203
- $color: darken($color, 6);
204
- border-color: $color;
205
-
206
- color: $color;
207
-
208
- fill: $color;
209
- }
210
- }
211
-
212
- &--primary {
213
- @include button-filled(color(purple), color(indigo), color(indigo, dark));
214
- }
215
-
216
- &--primary.cobalt-Button--destructive {
217
- @include button-filled(
218
- color(red),
219
- darken(color(red), 3),
220
- darken(color(red), 6)
221
- );
222
- }
223
-
224
- &--ghost {
225
- &,
226
- &:hover,
227
- &:active,
228
- &[disabled][disabled],
229
- &.cobalt-Button--disabled {
230
- border-color: transparent;
231
-
232
- background-color: transparent;
233
- box-shadow: none;
234
-
235
- // stylelint-disable-next-line max-nesting-depth
236
- &:not(.cobalt-Button--destructive) {
237
- color: color(blue);
238
-
239
- fill: color(blue);
240
- }
241
- }
242
-
243
- &:hover {
244
- background-color: rgba(color(blue), 0.06);
245
-
246
- transform: none;
247
- }
248
-
249
- &.cobalt-Button--standalone {
250
- margin-left: #{spacing() * -1};
251
- margin-right: #{spacing() * -1};
252
- }
253
- }
254
-
255
- &--ghost.cobalt-Button--destructive {
256
- &:hover {
257
- background-color: rgba(color(red), 0.06);
258
- }
259
- }
260
-
261
- &--gmail {
262
- $brand-color: #dd4b39;
263
-
264
- @include button-filled(
265
- $brand-color,
266
- darken($brand-color, 6),
267
- darken($brand-color, 12)
268
- );
269
- }
270
-
271
- &--facebook {
272
- $brand-color: #3b5998;
273
-
274
- @include button-filled(
275
- $brand-color,
276
- darken($brand-color, 6),
277
- darken($brand-color, 12)
278
- );
279
- }
280
-
281
- &--twitter {
282
- $brand-color: #1da1f2;
283
-
284
- @include button-filled(
285
- $brand-color,
286
- darken($brand-color, 6),
287
- darken($brand-color, 12)
288
- );
289
- }
290
-
291
- &--whatsapp {
292
- $brand-color: #25d366;
293
-
294
- @include button-filled(
295
- $brand-color,
296
- darken($brand-color, 6),
297
- darken($brand-color, 12)
298
- );
299
- }
300
- }
301
-
302
- &Button__Icon {
303
- // icons are displayed in 24x24px, the following lines prevents the icon
304
- // from adding to the height of the button
305
- margin-top: -2px;
306
- margin-bottom: -2px;
307
-
308
- &:first-child {
309
- margin-right: spacing(extra-tight);
310
- }
311
-
312
- &:last-child {
313
- margin-left: spacing(extra-tight);
314
- }
315
- }
316
-
317
- &ButtonGroup {
318
- display: flex;
319
- flex-wrap: wrap;
320
- align-items: center;
321
- margin-top: (-1 * $group-item-spacing);
322
- margin-left: (-1 * $group-item-spacing);
323
- }
324
-
325
- &ButtonGroup__Item {
326
- margin-top: $group-item-spacing;
327
- margin-left: $group-item-spacing;
328
- }
329
-
330
- &ButtonGroup--fullWidth {
331
- .cobalt-ButtonGroup__Item {
332
- flex: 1 1 auto;
333
-
334
- .cobalt-Button {
335
- display: flex;
336
- width: 100%;
337
- }
338
- }
339
- }
340
-
341
- &ButtonGroup--alignRight {
342
- justify-content: flex-end;
343
- }
344
-
345
- &ButtonGroup--alignCenter {
346
- justify-content: center;
347
- }
348
- }
@@ -1,28 +0,0 @@
1
- import { Ref } from "react";
2
- import { GhostButtonPropsType } from "../Buttons/GhostButton";
3
- import { InversedButtonPropsType } from "../Buttons/InversedButton";
4
- import { DefaultButtonPropsType } from "../Buttons/DefaultButton";
5
- declare type withButtonRef<Props> = Props & {
6
- forwardedRef?: Ref<HTMLButtonElement>;
7
- };
8
- /**
9
- * We add API only props here since it's not related to the Buttons subcomponents
10
- */
11
- declare type InversedButtonAPIPropsType = InversedButtonPropsType & {
12
- inversed?: true;
13
- };
14
- declare type GhostButtonAPIPropsType = GhostButtonPropsType & {
15
- ghost?: true;
16
- };
17
- declare type DefaultButtonAPIPropsType = DefaultButtonPropsType;
18
- /**
19
- * Overloads
20
- */
21
- declare type ButtonOverload = {
22
- (props: withButtonRef<InversedButtonAPIPropsType>): JSX.Element;
23
- (props: withButtonRef<GhostButtonAPIPropsType>): JSX.Element;
24
- (props: withButtonRef<DefaultButtonAPIPropsType>): JSX.Element;
25
- };
26
- export declare type ButtonPropsType = withButtonRef<InversedButtonAPIPropsType> | withButtonRef<GhostButtonAPIPropsType> | withButtonRef<DefaultButtonAPIPropsType>;
27
- declare const Button: ButtonOverload;
28
- export default Button;
@@ -1,28 +0,0 @@
1
- import { Ref } from "react";
2
- import { GhostLinkPropsType } from "../Buttons/GhostButton";
3
- import { InversedLinkPropsType } from "../Buttons/InversedButton";
4
- import { DefaultLinkPropsType } from "../Buttons/DefaultButton";
5
- declare type withAnchorRef<Props> = Props & {
6
- forwardedRef?: Ref<HTMLAnchorElement>;
7
- };
8
- /**
9
- * We add API only props here since it's not related to the Buttons subcomponents
10
- */
11
- declare type InversedLinkAPIPropsType = InversedLinkPropsType & {
12
- inversed?: true;
13
- };
14
- declare type GhostLinkAPIPropsType = GhostLinkPropsType & {
15
- ghost?: true;
16
- };
17
- declare type DefaultLinkAPIPropsType = DefaultLinkPropsType;
18
- /**
19
- * Overloads
20
- */
21
- declare type LinkOverload = {
22
- (props: withAnchorRef<InversedLinkAPIPropsType>): JSX.Element;
23
- (props: withAnchorRef<GhostLinkAPIPropsType>): JSX.Element;
24
- (props: withAnchorRef<DefaultLinkAPIPropsType>): JSX.Element;
25
- };
26
- export declare type ButtonLinkPropsType = withAnchorRef<InversedLinkAPIPropsType> | withAnchorRef<GhostLinkAPIPropsType> | withAnchorRef<DefaultLinkAPIPropsType>;
27
- declare const Link: LinkOverload;
28
- export default Link;
@@ -1,75 +0,0 @@
1
- import _React from "react";
2
- import { ButtonPropsType as _ButtonPropsType } from "./Button";
3
- import { ButtonLinkPropsType as _ButtonLinkPropsType } from "./Link";
4
- import { ButtonsGroupProps as _ButtonGroupProps } from "../Buttons/ButtonsGroup";
5
- export declare type ButtonPropsType = _ButtonPropsType;
6
- export declare type ButtonLinkPropsType = _ButtonLinkPropsType;
7
- export declare type ButtonGroupProps = _ButtonGroupProps;
8
- export declare const ButtonGroup: ({ className, children, align }: _ButtonGroupProps) => JSX.Element;
9
- export declare const Button: {
10
- (props: Record<string, unknown> & import("../Buttons/helpers").ButtonCommonPropsType & _React.ButtonHTMLAttributes<HTMLButtonElement> & {
11
- loading?: boolean | undefined;
12
- href?: undefined;
13
- } & {
14
- inversed?: true | undefined;
15
- } & {
16
- forwardedRef?: _React.Ref<HTMLButtonElement> | undefined;
17
- }): JSX.Element;
18
- (props: {
19
- standalone?: boolean | undefined;
20
- destructive?: boolean | undefined;
21
- } & import("../Buttons/helpers").ButtonCommonPropsType & _React.ButtonHTMLAttributes<HTMLButtonElement> & {
22
- loading?: boolean | undefined;
23
- href?: undefined;
24
- } & {
25
- ghost?: true | undefined;
26
- } & {
27
- forwardedRef?: _React.Ref<HTMLButtonElement> | undefined;
28
- }): JSX.Element;
29
- (props: {
30
- primary?: boolean | undefined;
31
- destructive?: boolean | undefined;
32
- selected?: boolean | undefined;
33
- } & import("../Buttons/helpers").ButtonCommonPropsType & _React.ButtonHTMLAttributes<HTMLButtonElement> & {
34
- loading?: boolean | undefined;
35
- href?: undefined;
36
- } & {
37
- forwardedRef?: _React.Ref<HTMLButtonElement> | undefined;
38
- }): JSX.Element;
39
- } & {
40
- Link: {
41
- (props: Record<string, unknown> & import("../Buttons/helpers").ButtonCommonPropsType & _React.AnchorHTMLAttributes<HTMLAnchorElement> & {
42
- loading?: boolean | undefined;
43
- disabled?: boolean | undefined;
44
- href?: string | undefined;
45
- } & {
46
- inversed?: true | undefined;
47
- } & {
48
- forwardedRef?: _React.Ref<HTMLAnchorElement> | undefined;
49
- }): JSX.Element;
50
- (props: {
51
- standalone?: boolean | undefined;
52
- destructive?: boolean | undefined;
53
- } & import("../Buttons/helpers").ButtonCommonPropsType & _React.AnchorHTMLAttributes<HTMLAnchorElement> & {
54
- loading?: boolean | undefined;
55
- disabled?: boolean | undefined;
56
- href?: string | undefined;
57
- } & {
58
- ghost?: true | undefined;
59
- } & {
60
- forwardedRef?: _React.Ref<HTMLAnchorElement> | undefined;
61
- }): JSX.Element;
62
- (props: {
63
- primary?: boolean | undefined;
64
- destructive?: boolean | undefined;
65
- selected?: boolean | undefined;
66
- } & import("../Buttons/helpers").ButtonCommonPropsType & _React.AnchorHTMLAttributes<HTMLAnchorElement> & {
67
- loading?: boolean | undefined;
68
- disabled?: boolean | undefined;
69
- href?: string | undefined;
70
- } & {
71
- forwardedRef?: _React.Ref<HTMLAnchorElement> | undefined;
72
- }): JSX.Element;
73
- };
74
- };
75
- export default Button;