@bytebrand/fe-ui-core 4.2.144 → 4.2.145

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 (1055) hide show
  1. package/.editorconfig +10 -10
  2. package/.gitlab-ci.yml +62 -62
  3. package/.storybook/addons.js +4 -4
  4. package/.storybook/config.js +64 -64
  5. package/.storybook/postcss.config.js +6 -6
  6. package/.storybook/preview-head.html +9 -9
  7. package/.storybook/webpack.config.js +130 -130
  8. package/__tests__/components/Checkout/OrderOverviewItem/OrderOverviewItem.test.tsx +42 -42
  9. package/__tests__/components/Checkout/PaymentTypeCard/PaymentTypeCard.test.tsx +49 -49
  10. package/__tests__/components/Checkout/RadioGroup.test.tsx +95 -95
  11. package/__tests__/components/Checkout/ServiceCardWrapper.test.tsx +53 -53
  12. package/__tests__/components/Checkout/Switcher.test.tsx +43 -43
  13. package/__tests__/components/UserDasboardPage/sections/FavoriteSection/FavoriteSection.test.tsx +373 -373
  14. package/__tests__/components/UserDasboardPage/sections/OrderStatusSection/AdditionalOrderInfo.test.tsx +127 -127
  15. package/__tests__/components/UserDasboardPage/sections/OrderStatusSection/OrderStatusCar.test.tsx +58 -58
  16. package/__tests__/components/UserDasboardPage/sections/OrderStatusSection/OrderStatusCard.test.tsx +74 -74
  17. package/__tests__/components/UserDasboardPage/sections/OrderStatusSection/OrderStatusSection.test.tsx +62 -62
  18. package/__tests__/components/UserDasboardPage/sections/RequestedCarsSection/RequestedCarsSection.test.tsx +117 -117
  19. package/__tests__/components/Vehicle/VehicleFormattedPrice/VehicleFormattedPrice.test.tsx +58 -58
  20. package/__tests__/components/VehicleSmallCard/VehicleInfo.test.tsx +87 -87
  21. package/__tests__/components/VehicleSmallCard/VehicleTitle.test.tsx +90 -90
  22. package/__tests__/components/_common/Badge/Badge.test.tsx +15 -15
  23. package/__tests__/components/_common/IconSVG/IconSVG.test.tsx +22 -22
  24. package/__tests__/components/_common/Image/Image.test.tsx +82 -82
  25. package/__tests__/components/_common/MaterialAutocomplete/MaterialAutocomplete.test.tsx +48 -48
  26. package/__tests__/components/_common/MaterialDatePicker/MaterialDatePicker.test.tsx +54 -54
  27. package/__tests__/components/_common/MaterialField/MaterialField.test.tsx +58 -58
  28. package/__tests__/components/_common/StarButton/StarButton.test.tsx +45 -45
  29. package/__tests__/mockedData/financingConfig.js +201 -201
  30. package/__tests__/mockedData/mockedPendingRequestedCar.js +68 -68
  31. package/__tests__/utils/CommonUtils/addPrefixToKeys.test.ts +18 -18
  32. package/__tests__/utils/CommonUtils/arrToObj.test.js +32 -32
  33. package/__tests__/utils/CommonUtils/checkRangeValuesOnEqual.test.ts +16 -16
  34. package/__tests__/utils/CommonUtils/fixNumber.test.ts +19 -19
  35. package/__tests__/utils/CommonUtils/formatMileage.test.ts +8 -8
  36. package/__tests__/utils/CommonUtils/getChipFilterValue.test.ts +22 -22
  37. package/__tests__/utils/CommonUtils/getFormattedNumber.test.ts +18 -18
  38. package/__tests__/utils/CommonUtils/getFormattedPrice.test.ts +19 -19
  39. package/__tests__/utils/CommonUtils/getGroupValuesForQuery.test.ts +51 -51
  40. package/__tests__/utils/CommonUtils/getOfferSliders.test.ts +63 -63
  41. package/__tests__/utils/CommonUtils/getPriceRating.test.ts +26 -26
  42. package/__tests__/utils/CommonUtils/getPriceRatingConfig.test.ts +33 -33
  43. package/__tests__/utils/CommonUtils/preloadNearbyImages.test.ts +8 -8
  44. package/__tests__/utils/CommonUtils/sliceLessThan.test.ts +23 -23
  45. package/__tests__/utils/CommonUtils/sliceMoreThan.test.ts +23 -23
  46. package/common.ts +164 -164
  47. package/feWpComponents.ts +25 -25
  48. package/index.ts +4 -4
  49. package/jest.config.js +43 -43
  50. package/landing.ts +38 -38
  51. package/media/images/advantages/advantage_cart.svg +4 -4
  52. package/media/images/advantages/advantage_check.svg +4 -4
  53. package/media/images/advantages/advantage_like.svg +10 -10
  54. package/media/images/advantages/advantage_secure.svg +6 -6
  55. package/media/images/check-blue.svg +40 -40
  56. package/media/images/raiting-star.svg +3 -3
  57. package/media/images/raiting-stars-min.svg +7 -7
  58. package/media/images/refresh-button.svg +49 -49
  59. package/media/images/slider-arrow-big.svg +11 -11
  60. package/media/images/user-icon.svg +16 -16
  61. package/media/locales/de/promoSlider.json +25 -25
  62. package/media/locales/en/promoSlider.json +25 -25
  63. package/media/svg/common/arrow_breadcrumps.svg +3 -3
  64. package/media/svg/common/home.svg +8 -8
  65. package/media/svg/common/whyAutodeIconSet-F.svg +9 -9
  66. package/media/svg/common/whyAutodeIconSet-G.svg +8 -8
  67. package/media/svg/common/whyAutodeIconSet-Q.svg +6 -6
  68. package/media/svg/common/whyAutodeIconSet-R.svg +9 -9
  69. package/media/svg/infoBlocks/whyAutodeIconSet-F.svg +9 -9
  70. package/media/svg/infoBlocks/whyAutodeIconSet-G.svg +8 -8
  71. package/media/svg/infoBlocks/whyAutodeIconSet-Q.svg +6 -6
  72. package/media/svg/infoBlocks/whyAutodeIconSet-R.svg +9 -9
  73. package/media/svg/usp/icon1.svg +16 -16
  74. package/media/svg/usp/icon2.svg +13 -13
  75. package/media/svg/usp/icon3.svg +10 -10
  76. package/media/svg/usp/icon4.svg +14 -14
  77. package/package.json +126 -126
  78. package/profile.ts +1 -1
  79. package/setupTests.js +7 -7
  80. package/source/components/AccardionSection/AccardionSection.styl +45 -45
  81. package/source/components/AccardionSection/AccardionSection.tsx +47 -47
  82. package/source/components/AccordionWidget/AccordionWidget.styl +205 -205
  83. package/source/components/AccordionWidget/AccordionWidget.tsx +223 -223
  84. package/source/components/AdvantageItem/AdvantageItem.story.js +23 -23
  85. package/source/components/AdvantageItem/AdvantageItem.styl +47 -47
  86. package/source/components/AdvantageItem/AdvantageItem.tsx +26 -26
  87. package/source/components/Alternative/Dealer.story.js +31 -31
  88. package/source/components/Alternative/Dealer.story.styl +2 -2
  89. package/source/components/Alternative/DealerInfo.styl +116 -116
  90. package/source/components/Alternative/DealerInfo.tsx +171 -171
  91. package/source/components/Breadcrumbs/Breadcrumbs.story.js +40 -40
  92. package/source/components/Breadcrumbs/Breadcrumbs.styl +136 -136
  93. package/source/components/Breadcrumbs/Breadcrumbs.tsx +93 -93
  94. package/source/components/Breadcrumbs/FirstInfoBlock/FirstInfoBlock.story.js +45 -45
  95. package/source/components/Breadcrumbs/FirstInfoBlock/FirstInfoBlock.styl +54 -54
  96. package/source/components/Breadcrumbs/FirstInfoBlock/FirstInfoBlock.tsx +17 -17
  97. package/source/components/Checkout/CheckoutStepper/CheckoutStepper.styl +221 -221
  98. package/source/components/Checkout/CheckoutStepper/CheckoutStepper.tsx +70 -70
  99. package/source/components/Checkout/CheckoutStepper/CheckoutStepperClasses.js +173 -173
  100. package/source/components/Checkout/OrderOverviewItem/OrderOverviewItem.story.js +243 -243
  101. package/source/components/Checkout/OrderOverviewItem/OrderOverviewItem.story.styl +20 -20
  102. package/source/components/Checkout/OrderOverviewItem/OrderOverviewItem.styl +36 -36
  103. package/source/components/Checkout/OrderOverviewItem/OrderOverviewItem.tsx +53 -53
  104. package/source/components/Checkout/RadioCards/AdditionalServiceCard/ServiceCardWrapper.styl +201 -201
  105. package/source/components/Checkout/RadioCards/AdditionalServiceCard/ServiceCardWrapper.tsx +212 -212
  106. package/source/components/Checkout/RadioCards/ContentCard/AdditionalServiceContent.styl +30 -30
  107. package/source/components/Checkout/RadioCards/ContentCard/AdditionalServiceContent.tsx +62 -62
  108. package/source/components/Checkout/RadioCards/ContentCard/VehicleDeliveryContent.styl +73 -73
  109. package/source/components/Checkout/RadioCards/ContentCard/VehicleDeliveryContent.tsx +61 -61
  110. package/source/components/Checkout/RadioCards/PaymentTypeCard/PaymentTypeCard.styl +193 -193
  111. package/source/components/Checkout/RadioCards/PaymentTypeCard/PaymentTypeCard.tsx +181 -181
  112. package/source/components/Checkout/RadioCards/RadioCheckout.styl +158 -158
  113. package/source/components/Checkout/RadioCards/RadioCheckout.tsx +178 -178
  114. package/source/components/Checkout/RadioCards/RadioGroupCheckout.story.js +105 -105
  115. package/source/components/Checkout/RadioCards/RadioGroupCheckout.story.styl +37 -37
  116. package/source/components/Checkout/Switcher/Switcher.story.js +41 -41
  117. package/source/components/Checkout/Switcher/Switcher.story.styl +1 -1
  118. package/source/components/Checkout/Switcher/Switcher.styled.tsx +53 -53
  119. package/source/components/Checkout/Switcher/Switcher.tsx +48 -48
  120. package/source/components/CompactSearchWidget/CompactSearchFields/CompactSearchFields.styl +176 -176
  121. package/source/components/CompactSearchWidget/CompactSearchFields/CompactSearchFields.tsx +477 -477
  122. package/source/components/CompactSearchWidget/CompactSearchWidget.story.js +187 -187
  123. package/source/components/CompactSearchWidget/CompactSearchWidget.styl +43 -43
  124. package/source/components/CompactSearchWidget/CompactSearchWidget.tsx +165 -165
  125. package/source/components/ContactForm/ContactForm.story.js +93 -93
  126. package/source/components/ContactForm/ContactForm.styl +260 -260
  127. package/source/components/ContactForm/ContactForm.tsx +588 -588
  128. package/source/components/ContactForm/WpContactForm.tsx +287 -287
  129. package/source/components/ContactInfo/ContactInfo.story.js +58 -58
  130. package/source/components/ContactInfo/ContactInfo.styl +22 -22
  131. package/source/components/ContactInfo/ContactInfo.tsx +161 -161
  132. package/source/components/ContactInfo/TemporaryTranslation.ts +11 -11
  133. package/source/components/CustomerQuote/CustomerQuote.story.js +41 -41
  134. package/source/components/CustomerQuote/CustomerQuote.styl +79 -79
  135. package/source/components/CustomerQuote/CustomerQuote.tsx +68 -68
  136. package/source/components/CustomerQuotesSlider/CustomerQuotesSlider.story.js +73 -73
  137. package/source/components/CustomerQuotesSlider/CustomerQuotesSlider.story.styl +4 -4
  138. package/source/components/CustomerQuotesSlider/CustomerQuotesSlider.styl +46 -46
  139. package/source/components/CustomerQuotesSlider/CustomerQuotesSlider.tsx +79 -79
  140. package/source/components/CustomerQuotesSlider/SliderArrow.tsx +20 -20
  141. package/source/components/FormattedNumber/FormattedNumber.story.js +114 -114
  142. package/source/components/FormattedNumber/FormattedNumber.styl +1 -1
  143. package/source/components/FormattedNumber/FormattedNumber.tsx +90 -90
  144. package/source/components/ImageSettings/EditableOptionsTable/CustomCheckbox/CustomCheckbox.styl +7 -7
  145. package/source/components/ImageSettings/EditableOptionsTable/CustomCheckbox/CustomCheckbox.tsx +30 -30
  146. package/source/components/ImageSettings/EditableOptionsTable/EditableOptionsTable.styl +122 -122
  147. package/source/components/ImageSettings/EditableOptionsTable/EditableOptionsTable.tsx +199 -199
  148. package/source/components/ImageSettings/EditableOptionsTable/ImageIcon/ImageIcon.styl +3 -3
  149. package/source/components/ImageSettings/EditableOptionsTable/ImageIcon/ImageIcon.tsx +15 -15
  150. package/source/components/ImageSettings/OptionsTable/OptionsTable.styl +47 -47
  151. package/source/components/ImageSettings/OptionsTable/OptionsTable.tsx +122 -122
  152. package/source/components/ImageSettings/PricePlan/PricePlan.styl +63 -63
  153. package/source/components/ImageSettings/PricePlan/PricePlan.tsx +32 -32
  154. package/source/components/ImageSettings/index.ts +42 -42
  155. package/source/components/ImageSettings/story.js +1212 -1212
  156. package/source/components/InfoBlocks/FirstInfoBlock/FirstInfoBlock.styl +33 -33
  157. package/source/components/InfoBlocks/FirstInfoBlock/FirstInfoBlock.tsx +48 -48
  158. package/source/components/InfoBlocks/FirstInfoBlock/FirstInfoBlockItem/FirstInfoBlockItem.styl +68 -68
  159. package/source/components/InfoBlocks/FirstInfoBlock/FirstInfoBlockItem/FirstInfoBlockItem.tsx +21 -21
  160. package/source/components/InfoBlocks/InfoBlockWrapper/InfoBlockWrapper.styl +41 -41
  161. package/source/components/InfoBlocks/InfoBlockWrapper/InfoBlockWrapper.tsx +45 -45
  162. package/source/components/InfoBlocks/InfoBlockWrapper.story.js +101 -101
  163. package/source/components/InfoBlocks/InfoBlockWrapper.story.styl +45 -45
  164. package/source/components/InfoBlocks/PricingToolBlock/PricingTool.styl +6 -6
  165. package/source/components/InfoBlocks/PricingToolBlock/PricingTool.tsx +29 -29
  166. package/source/components/InfoBlocks/PricingToolBlock/PricingToolBlock.styl +45 -45
  167. package/source/components/InfoBlocks/PricingToolBlock/PricingToolBlock.tsx +81 -81
  168. package/source/components/InfoBlocks/ServicesBlock/ServiceBlockItem.styl +47 -47
  169. package/source/components/InfoBlocks/ServicesBlock/ServiceBlockItem.tsx +25 -25
  170. package/source/components/OfferDetailedSection/OfferDetailedSection.styl +31 -31
  171. package/source/components/OfferDetailedSection/OfferDetailedSection.tsx +100 -100
  172. package/source/components/OfferDetailedSection/partials/PanelConfig.styl +131 -131
  173. package/source/components/OfferDetailedSection/partials/PanelConfig.tsx +121 -121
  174. package/source/components/OfferPanel/AboAccordion/AboAccordion.styl +24 -24
  175. package/source/components/OfferPanel/AboAccordion/AboAccordion.tsx +128 -128
  176. package/source/components/OfferPanel/AboAccordion/AboColorOptions/AboColorOptions.styl +11 -11
  177. package/source/components/OfferPanel/AboAccordion/AboColorOptions/AboColorOptions.tsx +35 -35
  178. package/source/components/OfferPanel/AboAccordion/AboFaq/AboFaq.story.js +97 -97
  179. package/source/components/OfferPanel/AboAccordion/AboFaq/AboFaq.styl +20 -20
  180. package/source/components/OfferPanel/AboAccordion/AboFaq/AboFaq.tsx +25 -25
  181. package/source/components/OfferPanel/AboAccordion/AboIncludedServices/AboIncludedServices.styl +13 -13
  182. package/source/components/OfferPanel/AboAccordion/AboIncludedServices/AboIncludedServices.tsx +39 -39
  183. package/source/components/OfferPanel/MuiOfferPeriod/MuiOfferPeriod.theme.tsx +25 -25
  184. package/source/components/OfferPanel/MuiOfferPeriod/MuiOfferPeriod.tsx +73 -73
  185. package/source/components/OfferPanel/OfferCheckboxGroup/CheckboxContainer.tsx +140 -140
  186. package/source/components/OfferPanel/OfferCheckboxGroup/OfferCheckboxGroup.styl +120 -120
  187. package/source/components/OfferPanel/OfferCheckboxGroup/OfferCheckboxGroup.tsx +24 -24
  188. package/source/components/OfferPanel/OfferPanel.story.js +139 -139
  189. package/source/components/OfferPanel/OfferPanel.styl +193 -193
  190. package/source/components/OfferPanel/OfferPanel.tsx +81 -81
  191. package/source/components/OfferPanel/OfferPeriod/OfferPeriod.styl +24 -24
  192. package/source/components/OfferPanel/OfferPeriod/OfferPeriod.tsx +45 -45
  193. package/source/components/OfferPanel/RangeGroup/RangeGroup.story.js +35 -35
  194. package/source/components/OfferPanel/RangeGroup/RangeGroup.story.styl +2 -2
  195. package/source/components/OfferPanel/RangeGroup/RangeGroup.tsx +39 -39
  196. package/source/components/PriceRating/PriceRating.story.js +39 -39
  197. package/source/components/PriceRating/PriceRating.story.styl +1 -1
  198. package/source/components/PriceRating/PriceRating.styl +47 -47
  199. package/source/components/PriceRating/PriceRating.tsx +64 -64
  200. package/source/components/PriceRatingDetailed/PriceRatingDetailed.story.js +78 -78
  201. package/source/components/PriceRatingDetailed/PriceRatingDetailed.story.styl +11 -11
  202. package/source/components/PriceRatingDetailed/PriceRatingDetailed.styl +120 -120
  203. package/source/components/PriceRatingDetailed/PriceRatingDetailed.tsx +191 -191
  204. package/source/components/RateSearchValue/RateSearchValue.story.js +78 -78
  205. package/source/components/RateSearchValue/RateSearchValue.story.styl +1 -1
  206. package/source/components/RateSearchValue/RateSearchValue.styl +22 -22
  207. package/source/components/RateSearchValue/RateSearchValue.tsx +55 -55
  208. package/source/components/RateSearchWidget/RateSearchWidget.story.js +57 -57
  209. package/source/components/RateSearchWidget/RateSearchWidget.story.styl +12 -12
  210. package/source/components/RateSearchWidget/RateSearchWidget.styl +106 -106
  211. package/source/components/RateSearchWidget/RateSearchWidget.tsx +163 -163
  212. package/source/components/SearchFilters/FiltersFactory.story.js +273 -273
  213. package/source/components/SearchFilters/FiltersFactory.tsx +85 -85
  214. package/source/components/SearchFilters/Slider.styl +66 -66
  215. package/source/components/SearchFilters/common/Color/Color.styl +29 -29
  216. package/source/components/SearchFilters/common/Color/Color.tsx +60 -60
  217. package/source/components/SearchFilters/common/FilterBlock/FilterBlock.styl +39 -39
  218. package/source/components/SearchFilters/common/FilterBlock/FilterBlock.styled.tsx +28 -28
  219. package/source/components/SearchFilters/common/FilterBlock/FilterBlock.tsx +54 -54
  220. package/source/components/SearchFilters/common/FilterBlock/FilterBlockFactory.tsx +151 -151
  221. package/source/components/SearchFilters/common/RangeControlled/RangeControlled.tsx +155 -155
  222. package/source/components/SearchFilters/filters/AlternativeID.styl +98 -98
  223. package/source/components/SearchFilters/filters/AlternativeID.tsx +79 -79
  224. package/source/components/SearchFilters/filters/Consumption.styl +41 -41
  225. package/source/components/SearchFilters/filters/Consumption.tsx +52 -52
  226. package/source/components/SearchFilters/filters/Cost.styl +43 -43
  227. package/source/components/SearchFilters/filters/Cost.tsx +112 -112
  228. package/source/components/SearchFilters/filters/CubicCapacity.styl +30 -30
  229. package/source/components/SearchFilters/filters/CubicCapacity.tsx +134 -134
  230. package/source/components/SearchFilters/filters/Damaged.styl +1 -1
  231. package/source/components/SearchFilters/filters/Damaged.tsx +40 -40
  232. package/source/components/SearchFilters/filters/Doors.styl +18 -18
  233. package/source/components/SearchFilters/filters/Doors.tsx +113 -113
  234. package/source/components/SearchFilters/filters/DriveType.styl +22 -22
  235. package/source/components/SearchFilters/filters/DriveType.tsx +72 -72
  236. package/source/components/SearchFilters/filters/EmissionClass.tsx +35 -35
  237. package/source/components/SearchFilters/filters/EmissionSticker.styl +46 -46
  238. package/source/components/SearchFilters/filters/EmissionSticker.tsx +52 -52
  239. package/source/components/SearchFilters/filters/FirstRegistration.tsx +96 -96
  240. package/source/components/SearchFilters/filters/Fuel.styl +27 -27
  241. package/source/components/SearchFilters/filters/Fuel.tsx +75 -75
  242. package/source/components/SearchFilters/filters/Highlights.styl +38 -38
  243. package/source/components/SearchFilters/filters/Highlights.tsx +69 -69
  244. package/source/components/SearchFilters/filters/ImagesCount.tsx +66 -66
  245. package/source/components/SearchFilters/filters/InteriorColor.styl +29 -29
  246. package/source/components/SearchFilters/filters/InteriorColor.tsx +71 -71
  247. package/source/components/SearchFilters/filters/InteriorMaterial.styl +28 -28
  248. package/source/components/SearchFilters/filters/InteriorMaterial.tsx +72 -72
  249. package/source/components/SearchFilters/filters/MakeModel.styl +106 -106
  250. package/source/components/SearchFilters/filters/MakeModel.tsx +164 -164
  251. package/source/components/SearchFilters/filters/Mileage.tsx +108 -108
  252. package/source/components/SearchFilters/filters/OwnerID.styl +14 -14
  253. package/source/components/SearchFilters/filters/OwnerID.tsx +65 -65
  254. package/source/components/SearchFilters/filters/Owners.styl +23 -23
  255. package/source/components/SearchFilters/filters/Owners.tsx +72 -72
  256. package/source/components/SearchFilters/filters/Power.tsx +176 -176
  257. package/source/components/SearchFilters/filters/PriceDifference.tsx +67 -67
  258. package/source/components/SearchFilters/filters/Rate.styl +34 -34
  259. package/source/components/SearchFilters/filters/Rate.tsx +53 -53
  260. package/source/components/SearchFilters/filters/Seats.styl +31 -31
  261. package/source/components/SearchFilters/filters/Seats.tsx +53 -53
  262. package/source/components/SearchFilters/filters/StateOptions.styl +16 -16
  263. package/source/components/SearchFilters/filters/StateOptions.tsx +57 -57
  264. package/source/components/SearchFilters/filters/StateOptionsNew.styl +23 -23
  265. package/source/components/SearchFilters/filters/StateOptionsNew.tsx +72 -72
  266. package/source/components/SearchFilters/filters/Transmission.styl +20 -20
  267. package/source/components/SearchFilters/filters/Transmission.tsx +71 -71
  268. package/source/components/SearchFilters/filters/commonFilters.styl +93 -93
  269. package/source/components/SearchPage/ChipFilter/ChipFilter.styl +45 -45
  270. package/source/components/SearchPage/ChipFilter/ChipFilter.tsx +21 -21
  271. package/source/components/SearchPage/DropDown/DropDown.styl +99 -99
  272. package/source/components/SearchPage/DropDown/DropDown.tsx +52 -52
  273. package/source/components/SearchPage/DropDown/MultiDropDown.tsx +84 -84
  274. package/source/components/SearchPage/DropDown/index.ts +8 -8
  275. package/source/components/SearchPage/Filters/HistogramSlider.styl +77 -77
  276. package/source/components/SearchPage/Filters/MakeModel/MakeModel.story.js +11 -11
  277. package/source/components/SearchPage/Filters/MakeModel/MakeModel.styl +95 -95
  278. package/source/components/SearchPage/Filters/MakeModel/MakeModel.tsx +152 -152
  279. package/source/components/SearchPage/Pagination/Pagination.styl +95 -95
  280. package/source/components/SearchPage/Pagination/Pagination.tsx +89 -89
  281. package/source/components/SearchPage/SearchChips/SearchChips.styl +52 -52
  282. package/source/components/SearchPage/SearchChips/SearchChips.tsx +76 -76
  283. package/source/components/SearchPage/SearchTopBar/SearchTopBar.styl +109 -109
  284. package/source/components/SearchPage/SearchTopBar/SearchTopBar.tsx +116 -116
  285. package/source/components/SearchPageMobile/FiltersContainer/FiltersContainer.styl +44 -44
  286. package/source/components/SearchPageMobile/FiltersContainer/FiltersContainer.tsx +162 -162
  287. package/source/components/SearchPageMobile/FiltersDetailed/BodyType.styl +47 -47
  288. package/source/components/SearchPageMobile/FiltersDetailed/BodyType.tsx +85 -85
  289. package/source/components/SearchPageMobile/FiltersDetailed/Consumption.styl +48 -48
  290. package/source/components/SearchPageMobile/FiltersDetailed/Consumption.tsx +76 -76
  291. package/source/components/SearchPageMobile/FiltersDetailed/Doors.styl +52 -52
  292. package/source/components/SearchPageMobile/FiltersDetailed/Doors.tsx +103 -103
  293. package/source/components/SearchPageMobile/FiltersDetailed/FirstRegistration.tsx +69 -69
  294. package/source/components/SearchPageMobile/FiltersDetailed/Fuel.styl +31 -31
  295. package/source/components/SearchPageMobile/FiltersDetailed/Fuel.tsx +83 -83
  296. package/source/components/SearchPageMobile/FiltersDetailed/HistogramSlider.styl +100 -100
  297. package/source/components/SearchPageMobile/FiltersDetailed/MakeModel.styl +95 -95
  298. package/source/components/SearchPageMobile/FiltersDetailed/MakeModel.tsx +171 -171
  299. package/source/components/SearchPageMobile/FiltersDetailed/MakeModelExclude.styl +112 -112
  300. package/source/components/SearchPageMobile/FiltersDetailed/MakeModelExclude.tsx +122 -122
  301. package/source/components/SearchPageMobile/FiltersDetailed/Mileage.tsx +80 -80
  302. package/source/components/SearchPageMobile/FiltersDetailed/Power.tsx +116 -116
  303. package/source/components/SearchPageMobile/FiltersDetailed/Price.tsx +129 -129
  304. package/source/components/SearchPageMobile/FiltersDetailed/Rate.tsx +252 -252
  305. package/source/components/SearchPageMobile/FiltersDetailed/Seats.styl +41 -41
  306. package/source/components/SearchPageMobile/FiltersDetailed/Seats.tsx +85 -85
  307. package/source/components/SearchWidget/BasicDataWidget/BasicDataWidget.story.js +834 -834
  308. package/source/components/SearchWidget/BasicDataWidget/BasicDataWidget.story.styl +40 -40
  309. package/source/components/SearchWidget/BasicDataWidget/BasicDataWidget.styl +37 -37
  310. package/source/components/SearchWidget/BasicDataWidget/BasicDataWidget.tsx +130 -130
  311. package/source/components/SearchWidget/ColorWidget/BodyColorWidget.styl +54 -54
  312. package/source/components/SearchWidget/ColorWidget/BodyColorWidget.tsx +122 -122
  313. package/source/components/SearchWidget/DriveTransmissionWidget/DriveTransmissionWidget.styl +17 -17
  314. package/source/components/SearchWidget/DriveTransmissionWidget/DriveTransmissionWidget.tsx +36 -36
  315. package/source/components/SearchWidget/EnvironmentWidget/DetailedEnvironmentWidget.styl +25 -25
  316. package/source/components/SearchWidget/EnvironmentWidget/DetailedEnvironmentWidget.tsx +126 -126
  317. package/source/components/SearchWidget/EnvironmentWidget/EnvironmentWidget.styl +54 -54
  318. package/source/components/SearchWidget/EnvironmentWidget/EnvironmentWidget.tsx +173 -173
  319. package/source/components/SearchWidget/HighlightsWidget/HighlightsWidget.styl +39 -39
  320. package/source/components/SearchWidget/HighlightsWidget/HighlightsWidget.tsx +99 -99
  321. package/source/components/SearchWidget/InteriorWidget/DetailedInteriorWidget.tsx +44 -44
  322. package/source/components/SearchWidget/InteriorWidget/InteriorWidget.styl +28 -28
  323. package/source/components/SearchWidget/InteriorWidget/InteriorWidget.tsx +42 -42
  324. package/source/components/SearchWidget/OfferDetalisWidget/OfferDetailsWidgetMobile.tsx +59 -59
  325. package/source/components/SearchWidget/SearchWidget.story.js +191 -191
  326. package/source/components/SearchWidget/SearchWidget.story.styl +5 -5
  327. package/source/components/SearchWidget/SearchWidget.styl +196 -196
  328. package/source/components/SearchWidget/SearchWidget.tsx +208 -208
  329. package/source/components/SearchWidget/StateWidget/StateWidget.styl +57 -57
  330. package/source/components/SearchWidget/StateWidget/StateWidget.tsx +106 -106
  331. package/source/components/SearchWidget/SuperAdminWidget/SuperAdminWidget.styl +10 -10
  332. package/source/components/SearchWidget/SuperAdminWidget/SuperAdminWidget.tsx +64 -64
  333. package/source/components/SearchWidget/partials/BuyCar/BuyCar.styl +19 -19
  334. package/source/components/SearchWidget/partials/BuyCar/BuyCar.tsx +162 -162
  335. package/source/components/SearchWidget/partials/DropDown/DropDown.styl +70 -70
  336. package/source/components/SearchWidget/partials/DropDown/DropDown.tsx +36 -36
  337. package/source/components/SearchWidget/partials/DropDown/MultiDropDown.tsx +76 -76
  338. package/source/components/SearchWidget/partials/DropDown/index.ts +7 -7
  339. package/source/components/SearchWidget/partials/DropDownGroup/DropDownGroup.styl +48 -48
  340. package/source/components/SearchWidget/partials/DropDownGroup/DropDownGroup.tsx +101 -101
  341. package/source/components/SearchWidget/partials/FastSearch/FastSearch.tsx +55 -55
  342. package/source/components/SearchWidget/partials/MakerFilter/MakerFilter.styl +8 -8
  343. package/source/components/SearchWidget/partials/MakerFilter/MakerFilter.tsx +69 -69
  344. package/source/components/SearchWidget/partials/PanelFilter/Item.tsx +43 -43
  345. package/source/components/SearchWidget/partials/PanelFilter/PanelFilter.styl +32 -32
  346. package/source/components/SearchWidget/partials/PanelFilter/PanelFilter.tsx +53 -53
  347. package/source/components/SearchWidget/partials/TabPanel/TabPanel.tsx +29 -29
  348. package/source/components/SearchWidget/partials/Tabs/Tab.tsx +20 -20
  349. package/source/components/SearchWidget/partials/Tabs/Tabs.styl +27 -27
  350. package/source/components/SearchWidget/partials/Tabs/Tabs.tsx +69 -69
  351. package/source/components/SearchWidget/partials/Tabs/index.ts +7 -7
  352. package/source/components/SearchWidgetsMobile/BasicDataWidgetMobile/BasicDataWidgetMobile.styl +91 -91
  353. package/source/components/SearchWidgetsMobile/BasicDataWidgetMobile/BasicDataWidgetMobile.tsx +219 -219
  354. package/source/components/SearchWidgetsMobile/EngineTransDriveWidget/EngineTransDriveWidget.styl +47 -47
  355. package/source/components/SearchWidgetsMobile/EngineTransDriveWidget/EngineTransDriveWidget.tsx +126 -126
  356. package/source/components/SearchWidgetsMobile/EquipmentsWidget/EquipmentsWidget.styl +62 -62
  357. package/source/components/SearchWidgetsMobile/EquipmentsWidget/EquipmentsWidget.styled.tsx +38 -38
  358. package/source/components/SearchWidgetsMobile/EquipmentsWidget/EquipmentsWidget.tsx +294 -294
  359. package/source/components/SearchWidgetsMobile/EquipmentsWidget/EquipmentsWidgetCategory.tsx +50 -50
  360. package/source/components/SearchWidgetsMobile/HighlightsWidgetMobile/HighlightsWidgetMobile.styl +50 -50
  361. package/source/components/SearchWidgetsMobile/HighlightsWidgetMobile/HighlightsWidgetMobile.tsx +96 -96
  362. package/source/components/SearchWidgetsMobile/InteriorWidget/InteriorWidget.styl +30 -30
  363. package/source/components/SearchWidgetsMobile/InteriorWidget/InteriorWidget.tsx +33 -33
  364. package/source/components/SearchWidgetsMobile/InteriorWidget/InteriorWidgetMobile.tsx +44 -44
  365. package/source/components/SearchWidgetsMobile/SafetyWidget/SafetyWidget.styl +45 -45
  366. package/source/components/SearchWidgetsMobile/SafetyWidget/SafetyWidget.tsx +149 -149
  367. package/source/components/SearchWidgetsMobile/StateWidget/StateWidget.styl +59 -59
  368. package/source/components/SearchWidgetsMobile/StateWidget/StateWidget.tsx +172 -172
  369. package/source/components/SearchWidgetsMobile/index.ts +18 -18
  370. package/source/components/Stepper/Step/Step.styl +46 -46
  371. package/source/components/Stepper/Step/Step.tsx +44 -44
  372. package/source/components/Stepper/Stepper.story.js +119 -119
  373. package/source/components/Stepper/Stepper.story.styl +41 -41
  374. package/source/components/Stepper/Stepper.styl +10 -10
  375. package/source/components/Stepper/Stepper.tsx +68 -68
  376. package/source/components/Stepper/StepsDivider/StepsDivider.styl +15 -15
  377. package/source/components/Stepper/StepsDivider/StepsDivider.tsx +23 -23
  378. package/source/components/Theme.story.js +36 -36
  379. package/source/components/Theme.story.styl +85 -85
  380. package/source/components/TickerText/TickerText.story.js +17 -17
  381. package/source/components/TickerText/TickerText.styl +43 -43
  382. package/source/components/TickerText/TickerText.tsx +24 -24
  383. package/source/components/UserDashboardPage/sections/FavoriteSection/FavoriteSection.styl +21 -21
  384. package/source/components/UserDashboardPage/sections/FavoriteSection/FavoriteSection.tsx +112 -112
  385. package/source/components/UserDashboardPage/sections/OrderStatusSection/AdditionalOrderInfo.styl +90 -90
  386. package/source/components/UserDashboardPage/sections/OrderStatusSection/AdditionalOrderInfo.tsx +90 -90
  387. package/source/components/UserDashboardPage/sections/OrderStatusSection/OrderStatusCar.tsx +130 -130
  388. package/source/components/UserDashboardPage/sections/OrderStatusSection/OrderStatusCard.styl +53 -53
  389. package/source/components/UserDashboardPage/sections/OrderStatusSection/OrderStatusCard.tsx +41 -41
  390. package/source/components/UserDashboardPage/sections/OrderStatusSection/OrderStatusSection.story.js +95 -95
  391. package/source/components/UserDashboardPage/sections/OrderStatusSection/OrderStatusSection.styl +166 -166
  392. package/source/components/UserDashboardPage/sections/OrderStatusSection/OrderStatusSection.tsx +182 -182
  393. package/source/components/UserDashboardPage/sections/RequestedCarsSection/RequestedCarsSection.story.js +97 -97
  394. package/source/components/UserDashboardPage/sections/RequestedCarsSection/RequestedCarsSection.styl +144 -144
  395. package/source/components/UserDashboardPage/sections/RequestedCarsSection/RequestedCarsSection.tsx +124 -124
  396. package/source/components/UserDashboardPage/sections/RequestedCarsSection/SupportSection.styl +46 -46
  397. package/source/components/UserDashboardPage/sections/RequestedCarsSection/SupportSection.tsx +32 -32
  398. package/source/components/Vehicle/VehicleConsumption/VehicleConsumption.styl +10 -10
  399. package/source/components/Vehicle/VehicleConsumption/VehicleConsumption.tsx +44 -44
  400. package/source/components/Vehicle/VehicleFormattedPrice/VehicleFormattedPrice.story.js +247 -247
  401. package/source/components/Vehicle/VehicleFormattedPrice/VehicleFormattedPrice.styl +148 -148
  402. package/source/components/Vehicle/VehicleFormattedPrice/VehicleFormattedPrice.tsx +163 -163
  403. package/source/components/VehicleCompared/CompareGeneral/CompareGeneral.story.js +30 -30
  404. package/source/components/VehicleCompared/CompareGeneral/CompareGeneral.styl +49 -49
  405. package/source/components/VehicleCompared/CompareGeneral/CompareGeneral.tsx +55 -55
  406. package/source/components/VehicleCompared/ComparePrice/ComparePrice.story.js +18 -18
  407. package/source/components/VehicleCompared/ComparePrice/ComparePrice.styl +17 -17
  408. package/source/components/VehicleCompared/ComparePrice/ComparePrice.tsx +33 -33
  409. package/source/components/VehicleCompared/CompareTitle/CompareTitle.story.js +19 -19
  410. package/source/components/VehicleCompared/CompareTitle/CompareTitle.styl +38 -38
  411. package/source/components/VehicleCompared/CompareTitle/CompareTitle.tsx +32 -32
  412. package/source/components/VehicleDetailedSidebar/VehicleDetailedSidebar.story.js +44 -44
  413. package/source/components/VehicleDetailedSidebar/VehicleDetailedSidebar.styl +28 -28
  414. package/source/components/VehicleDetailedSidebar/VehicleDetailedSidebar.tsx +168 -168
  415. package/source/components/VehicleDetailedSidebar/partials/Price.styl +26 -26
  416. package/source/components/VehicleDetailedSidebar/partials/Price.tsx +41 -41
  417. package/source/components/VehicleDetailedSidebar/partials/PriceContent.styl +123 -123
  418. package/source/components/VehicleDetailedSidebar/partials/PriceContent.tsx +128 -128
  419. package/source/components/VehicleDetailedSidebar/partials/Properties.styl +53 -53
  420. package/source/components/VehicleDetailedSidebar/partials/Properties.tsx +117 -117
  421. package/source/components/VehicleDetailedSidebar/partials/Title.styl +35 -35
  422. package/source/components/VehicleDetailedSidebar/partials/Title.tsx +33 -33
  423. package/source/components/VehicleDetailedSlider/VehicleDetailedSlider.story.js +120 -120
  424. package/source/components/VehicleDetailedSlider/VehicleDetailedSlider.styl +102 -102
  425. package/source/components/VehicleDetailedSlider/VehicleDetailedSlider.tsx +296 -296
  426. package/source/components/VehicleDetailedSlider/partials/MobileStast.tsx +61 -61
  427. package/source/components/VehicleDetailedSlider/partials/MobileStats.styl +71 -71
  428. package/source/components/VehicleDetailedSlider/partials/PriceData.styl +48 -48
  429. package/source/components/VehicleDetailedSlider/partials/PriceData.tsx +37 -37
  430. package/source/components/VehicleDetailedSlider/partials/Stats.styl +80 -80
  431. package/source/components/VehicleDetailedSlider/partials/Stats.tsx +62 -62
  432. package/source/components/VehicleDetailedSlider/partials/Title.styl +44 -44
  433. package/source/components/VehicleDetailedSlider/partials/Title.tsx +36 -36
  434. package/source/components/VehiclePromoSlider/VehiclePromoInfo/VehiclePromoInfo.story.js +42 -42
  435. package/source/components/VehiclePromoSlider/VehiclePromoInfo/VehiclePromoInfo.styl +298 -298
  436. package/source/components/VehiclePromoSlider/VehiclePromoInfo/VehiclePromoInfo.tsx +201 -201
  437. package/source/components/VehiclePromoSlider/VehiclePromoSlide/VehiclePromoSlide.story.js +62 -62
  438. package/source/components/VehiclePromoSlider/VehiclePromoSlide/VehiclePromoSlide.styl +263 -263
  439. package/source/components/VehiclePromoSlider/VehiclePromoSlide/VehiclePromoSlide.tsx +141 -141
  440. package/source/components/VehiclePromoSlider/VehiclePromoSlider.story.js +42 -42
  441. package/source/components/VehiclePromoSlider/VehiclePromoSlider.styl +122 -122
  442. package/source/components/VehiclePromoSlider/VehiclePromoSlider.tsx +111 -111
  443. package/source/components/VehiclePromoSlider/cars.js +220 -220
  444. package/source/components/VehicleSmallCard/SeoText/SeoText.styl +8 -8
  445. package/source/components/VehicleSmallCard/SeoText/SeoText.tsx +16 -16
  446. package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.styl +162 -162
  447. package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.tsx +188 -188
  448. package/source/components/VehicleSmallCard/VehicleData/VehicleInfo/VehicleInfo.styl +218 -218
  449. package/source/components/VehicleSmallCard/VehicleData/VehicleInfo/VehicleInfo.tsx +154 -154
  450. package/source/components/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.styl +129 -129
  451. package/source/components/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.tsx +282 -282
  452. package/source/components/VehicleSmallCard/VehicleData/VehicleProperty/VehicleProperty.styl +21 -21
  453. package/source/components/VehicleSmallCard/VehicleData/VehicleProperty/VehicleProperty.tsx +32 -32
  454. package/source/components/VehicleSmallCard/VehicleData/VehicleTitle/VehicleTitle.styl +126 -126
  455. package/source/components/VehicleSmallCard/VehicleData/VehicleTitle/VehicleTitle.tsx +90 -90
  456. package/source/components/VehicleSmallCard/VehicleSmallCard.story.js +412 -412
  457. package/source/components/VehicleSmallCard/VehicleSmallCard.story.styl +55 -55
  458. package/source/components/VehicleSmallCard/VehicleSmallCard.styl +242 -242
  459. package/source/components/VehicleSmallCard/VehicleSmallCard.tsx +408 -408
  460. package/source/components/VehicleSmallCardForDealerships/VehicleSmallCardForDealerships.story.js +199 -199
  461. package/source/components/VehicleSmallCardForDealerships/VehicleSmallCardForDealerships.story.styl +40 -40
  462. package/source/components/VehicleSmallCardForDealerships/VehicleSmallCardForDealerships.styl +150 -150
  463. package/source/components/VehicleSmallCardForDealerships/VehicleSmallCardForDealerships.tsx +185 -185
  464. package/source/components/_common/Accordion/Accordion.story.js +36 -36
  465. package/source/components/_common/Accordion/Accordion.styl +2 -2
  466. package/source/components/_common/Accordion/Accordion.tsx +132 -132
  467. package/source/components/_common/Accordion/AccordionTitle/AccordionTitle.styl +49 -49
  468. package/source/components/_common/Accordion/AccordionTitle/AccordionTitle.tsx +33 -33
  469. package/source/components/_common/AccordionWrapper/AccordionItem/AccordionItem.styl +34 -34
  470. package/source/components/_common/AccordionWrapper/AccordionItem/AccordionItem.tsx +64 -64
  471. package/source/components/_common/AccordionWrapper/AccordionWrapper.tsx +34 -34
  472. package/source/components/_common/Badge/Badge.story.js +27 -27
  473. package/source/components/_common/Badge/Badge.story.styl +5 -5
  474. package/source/components/_common/Badge/Badge.styl +41 -41
  475. package/source/components/_common/Badge/Badge.tsx +25 -25
  476. package/source/components/_common/BodyTypeIcons/Audi.tsx +9 -9
  477. package/source/components/_common/BodyTypeIcons/Bmw.tsx +860 -860
  478. package/source/components/_common/BodyTypeIcons/Ford.tsx +31 -31
  479. package/source/components/_common/BodyTypeIcons/IconsConfig.tsx +44 -44
  480. package/source/components/_common/BodyTypeIcons/IconsConfigCompact.tsx +30 -30
  481. package/source/components/_common/BodyTypeIcons/Mazda.tsx +44 -44
  482. package/source/components/_common/BodyTypeIcons/MercedesBenz.tsx +38 -38
  483. package/source/components/_common/BodyTypeIcons/Opel.tsx +19 -19
  484. package/source/components/_common/BodyTypeIcons/Search.tsx +19 -19
  485. package/source/components/_common/BodyTypeIcons/SelectorCategoryCombi.tsx +68 -68
  486. package/source/components/_common/BodyTypeIcons/SelectorCategoryCompact.tsx +20 -20
  487. package/source/components/_common/BodyTypeIcons/SelectorCategoryConvertible.tsx +68 -68
  488. package/source/components/_common/BodyTypeIcons/SelectorCategoryCoupe.tsx +60 -60
  489. package/source/components/_common/BodyTypeIcons/SelectorCategoryMinibus.tsx +64 -64
  490. package/source/components/_common/BodyTypeIcons/SelectorCategorySedan.tsx +69 -69
  491. package/source/components/_common/BodyTypeIcons/SelectorCategorySuv.tsx +77 -77
  492. package/source/components/_common/BodyTypeIcons/SelectorCategoryTransporter.tsx +68 -68
  493. package/source/components/_common/BodyTypeIcons/SelectorCategoryVan.tsx +72 -72
  494. package/source/components/_common/BodyTypeIcons/Volkswagen.tsx +330 -330
  495. package/source/components/_common/BodyTypeIcons/index.ts +17 -17
  496. package/source/components/_common/Bubble/Bubble.story.js +52 -52
  497. package/source/components/_common/Bubble/Bubble.styl +53 -53
  498. package/source/components/_common/Bubble/Bubble.tsx +37 -37
  499. package/source/components/_common/Button/Button.story.js +52 -52
  500. package/source/components/_common/Button/Button.story.styl +5 -5
  501. package/source/components/_common/Button/Button.styl +12 -12
  502. package/source/components/_common/Button/Button.styled.tsx +51 -51
  503. package/source/components/_common/Button/Button.tsx +78 -78
  504. package/source/components/_common/ButtonOld/Button.story.js +54 -54
  505. package/source/components/_common/ButtonOld/Button.story.styl +5 -5
  506. package/source/components/_common/ButtonOld/Button.styl +65 -65
  507. package/source/components/_common/ButtonOld/Button.tsx +84 -84
  508. package/source/components/_common/Checkbox/Checkbox.story.js +85 -85
  509. package/source/components/_common/Checkbox/Checkbox.story.styl +14 -14
  510. package/source/components/_common/Checkbox/Checkbox.styl +119 -119
  511. package/source/components/_common/Checkbox/Checkbox.tsx +151 -151
  512. package/source/components/_common/Checkbox/FormCheckbox.styl +22 -22
  513. package/source/components/_common/Checkbox/FormCheckbox.tsx +86 -86
  514. package/source/components/_common/Checkbox/index.js +4 -4
  515. package/source/components/_common/CheckboxMaterial/CheckboxMaterial.story.js +126 -126
  516. package/source/components/_common/CheckboxMaterial/CheckboxMaterial.story.styl +14 -14
  517. package/source/components/_common/CheckboxMaterial/CheckboxMaterial.styl +155 -155
  518. package/source/components/_common/CheckboxMaterial/CheckboxMaterial.tsx +210 -210
  519. package/source/components/_common/Chip/Chip.story.js +43 -43
  520. package/source/components/_common/Chip/Chip.styl +69 -69
  521. package/source/components/_common/Chip/Chip.tsx +38 -38
  522. package/source/components/_common/ChipList/ChipList.story.js +36 -36
  523. package/source/components/_common/ChipList/ChipList.styl +80 -80
  524. package/source/components/_common/ChipList/ChipList.tsx +58 -58
  525. package/source/components/_common/Co2Widget/CO2Efficiency.styl +114 -114
  526. package/source/components/_common/Co2Widget/CO2Efficiency.tsx +49 -49
  527. package/source/components/_common/Divider/Divider.styl +8 -8
  528. package/source/components/_common/Divider/Divider.tsx +16 -16
  529. package/source/components/_common/DoorSelector/DoorSelector.styl +35 -35
  530. package/source/components/_common/DoorSelector/DoorSelector.tsx +39 -39
  531. package/source/components/_common/DropDown/DropDown.story.js +35 -35
  532. package/source/components/_common/DropDown/DropDown.styl +129 -129
  533. package/source/components/_common/DropDown/DropDown.tsx +111 -111
  534. package/source/components/_common/DropDown/DropDownComponents.tsx +53 -53
  535. package/source/components/_common/DropDown/DropDownGroup.styl +20 -20
  536. package/source/components/_common/DropDown/DropDownGroup.tsx +136 -136
  537. package/source/components/_common/DropDown/FormDropDown.styl +35 -35
  538. package/source/components/_common/DropDown/FormDropDown.tsx +53 -53
  539. package/source/components/_common/DropDown/MultiDropDown.tsx +84 -84
  540. package/source/components/_common/DropDown/index.ts +7 -7
  541. package/source/components/_common/ExpandablePanel/ExpandablePanel.story.js +41 -41
  542. package/source/components/_common/ExpandablePanel/ExpandablePanel.styl +19 -19
  543. package/source/components/_common/ExpandablePanel/ExpandablePanel.tsx +88 -88
  544. package/source/components/_common/ExpansionPanel/ExpansionPanel.styl +36 -36
  545. package/source/components/_common/ExpansionPanel/ExpansionPanel.styled.tsx +28 -28
  546. package/source/components/_common/ExpansionPanel/ExpansionPanel.tsx +99 -99
  547. package/source/components/_common/FilterLabel/FilterLabel.styl +25 -25
  548. package/source/components/_common/FilterLabel/FilterLabel.tsx +27 -27
  549. package/source/components/_common/Histogram/Histogram.story.js +51 -51
  550. package/source/components/_common/IconContainer/IconContainer.styl +23 -23
  551. package/source/components/_common/IconContainer/IconContainer.tsx +34 -34
  552. package/source/components/_common/IconSVG/IconSVG.story.js +21 -21
  553. package/source/components/_common/IconSVG/IconSVG.story.styl +25 -25
  554. package/source/components/_common/IconSVG/IconSVG.tsx +30 -30
  555. package/source/components/_common/IconSVG/IconSVGConfig.tsx +766 -766
  556. package/source/components/_common/IconSVG/SVG/AboPartner.tsx +16 -16
  557. package/source/components/_common/IconSVG/SVG/ArrowQuotes.tsx +22 -22
  558. package/source/components/_common/IconSVG/SVG/CloseIcon.tsx +17 -17
  559. package/source/components/_common/IconSVG/SVG/CloseIconSelect.tsx +18 -18
  560. package/source/components/_common/IconSVG/SVG/ClosedLockIcon.tsx +18 -18
  561. package/source/components/_common/IconSVG/SVG/DealerCheckIcon.tsx +18 -18
  562. package/source/components/_common/IconSVG/SVG/DealerPopoverMail.tsx +21 -21
  563. package/source/components/_common/IconSVG/SVG/DealerPopoverPhone.tsx +21 -21
  564. package/source/components/_common/IconSVG/SVG/GrayPhoneIcon.tsx +22 -22
  565. package/source/components/_common/IconSVG/SVG/InternetIcon.tsx +18 -18
  566. package/source/components/_common/IconSVG/SVG/WhiteEnvelopeIcon.tsx +21 -21
  567. package/source/components/_common/IconSVG/SVG/bodyType/Cabrio.tsx +23 -23
  568. package/source/components/_common/IconSVG/SVG/bodyType/Coupe.tsx +22 -22
  569. package/source/components/_common/IconSVG/SVG/bodyType/Minibus.tsx +22 -22
  570. package/source/components/_common/IconSVG/SVG/bodyType/Other.tsx +25 -25
  571. package/source/components/_common/IconSVG/SVG/bodyType/Sedan.tsx +22 -22
  572. package/source/components/_common/IconSVG/SVG/bodyType/SelectorCategoryCombi.tsx +68 -68
  573. package/source/components/_common/IconSVG/SVG/bodyType/SelectorCategoryCompact.tsx +20 -20
  574. package/source/components/_common/IconSVG/SVG/bodyType/SelectorCategoryConvertible.tsx +68 -68
  575. package/source/components/_common/IconSVG/SVG/bodyType/SelectorCategoryCoupe.tsx +60 -60
  576. package/source/components/_common/IconSVG/SVG/bodyType/SelectorCategoryMinibus.tsx +64 -64
  577. package/source/components/_common/IconSVG/SVG/bodyType/SelectorCategoryOther.tsx +60 -60
  578. package/source/components/_common/IconSVG/SVG/bodyType/SelectorCategorySedan.tsx +69 -69
  579. package/source/components/_common/IconSVG/SVG/bodyType/SelectorCategorySuv.tsx +77 -77
  580. package/source/components/_common/IconSVG/SVG/bodyType/SelectorCategoryTransporter.tsx +68 -68
  581. package/source/components/_common/IconSVG/SVG/bodyType/SelectorCategoryVan.tsx +72 -72
  582. package/source/components/_common/IconSVG/SVG/bodyType/Small.tsx +23 -23
  583. package/source/components/_common/IconSVG/SVG/bodyType/Suv.tsx +23 -23
  584. package/source/components/_common/IconSVG/SVG/bodyType/Van.tsx +23 -23
  585. package/source/components/_common/IconSVG/SVG/bodyType/Wagon.tsx +23 -23
  586. package/source/components/_common/IconSVG/SVG/common/AddIcon.tsx +16 -16
  587. package/source/components/_common/IconSVG/SVG/common/AddPlus.tsx +16 -16
  588. package/source/components/_common/IconSVG/SVG/common/AddressDashboard.tsx +29 -29
  589. package/source/components/_common/IconSVG/SVG/common/AddressIcon.tsx +20 -20
  590. package/source/components/_common/IconSVG/SVG/common/ArrowDetailedAccordionBlue.tsx +26 -26
  591. package/source/components/_common/IconSVG/SVG/common/ArrowDownBlue.tsx +21 -21
  592. package/source/components/_common/IconSVG/SVG/common/ArrowSelect.tsx +23 -23
  593. package/source/components/_common/IconSVG/SVG/common/ArrowStepDown.tsx +18 -18
  594. package/source/components/_common/IconSVG/SVG/common/Autocheck.tsx +19 -19
  595. package/source/components/_common/IconSVG/SVG/common/AutodeLogo.tsx +36 -36
  596. package/source/components/_common/IconSVG/SVG/common/Avatar.tsx +17 -17
  597. package/source/components/_common/IconSVG/SVG/common/BellGray.tsx +19 -19
  598. package/source/components/_common/IconSVG/SVG/common/BigInfoTransparent.tsx +13 -13
  599. package/source/components/_common/IconSVG/SVG/common/Browse.tsx +20 -20
  600. package/source/components/_common/IconSVG/SVG/common/Calendar.tsx +24 -24
  601. package/source/components/_common/IconSVG/SVG/common/CallbackDashboard.tsx +30 -30
  602. package/source/components/_common/IconSVG/SVG/common/Camera.tsx +17 -17
  603. package/source/components/_common/IconSVG/SVG/common/Car.tsx +16 -16
  604. package/source/components/_common/IconSVG/SVG/common/CarBody.tsx +19 -19
  605. package/source/components/_common/IconSVG/SVG/common/CarFront.tsx +43 -43
  606. package/source/components/_common/IconSVG/SVG/common/CarInspectionCheck.tsx +21 -21
  607. package/source/components/_common/IconSVG/SVG/common/CarInspectionScheme0.tsx +32 -32
  608. package/source/components/_common/IconSVG/SVG/common/CarInspectionScheme1.tsx +53 -53
  609. package/source/components/_common/IconSVG/SVG/common/CarInspectionScheme2.tsx +52 -52
  610. package/source/components/_common/IconSVG/SVG/common/CarInspectionScheme3.tsx +32 -32
  611. package/source/components/_common/IconSVG/SVG/common/CarInspectionScheme4.tsx +32 -32
  612. package/source/components/_common/IconSVG/SVG/common/CarInspectionScheme5.tsx +32 -32
  613. package/source/components/_common/IconSVG/SVG/common/CarInspectionScheme6.tsx +32 -32
  614. package/source/components/_common/IconSVG/SVG/common/CarInspectionSchemeGeneral copy.tsx +24 -24
  615. package/source/components/_common/IconSVG/SVG/common/CarInspectionSchemeGeneral.tsx +24 -24
  616. package/source/components/_common/IconSVG/SVG/common/CheckBlue.tsx +18 -18
  617. package/source/components/_common/IconSVG/SVG/common/CheckGreen.tsx +22 -22
  618. package/source/components/_common/IconSVG/SVG/common/CheckMark.tsx +16 -16
  619. package/source/components/_common/IconSVG/SVG/common/CheckWhite.tsx +19 -19
  620. package/source/components/_common/IconSVG/SVG/common/Chevron.tsx +17 -17
  621. package/source/components/_common/IconSVG/SVG/common/CircledCheckmark.tsx +25 -25
  622. package/source/components/_common/IconSVG/SVG/common/Clock.tsx +18 -18
  623. package/source/components/_common/IconSVG/SVG/common/Close.tsx +19 -19
  624. package/source/components/_common/IconSVG/SVG/common/CloseGrey.tsx +22 -22
  625. package/source/components/_common/IconSVG/SVG/common/ContactEmail.tsx +21 -21
  626. package/source/components/_common/IconSVG/SVG/common/ContactPhone.tsx +28 -28
  627. package/source/components/_common/IconSVG/SVG/common/CopyIcon copy.tsx +22 -22
  628. package/source/components/_common/IconSVG/SVG/common/CopyIcon.tsx +22 -22
  629. package/source/components/_common/IconSVG/SVG/common/CopyIconForDealer.tsx +21 -21
  630. package/source/components/_common/IconSVG/SVG/common/DashboardIcon.tsx +20 -20
  631. package/source/components/_common/IconSVG/SVG/common/DashboardQuestionMark.tsx +20 -20
  632. package/source/components/_common/IconSVG/SVG/common/DealersIcon.tsx +20 -20
  633. package/source/components/_common/IconSVG/SVG/common/DeleteCircle.tsx +31 -31
  634. package/source/components/_common/IconSVG/SVG/common/DeleteV1Icon.tsx +18 -18
  635. package/source/components/_common/IconSVG/SVG/common/DeliveryDashboard.tsx +25 -25
  636. package/source/components/_common/IconSVG/SVG/common/DeliveryMail.tsx +24 -24
  637. package/source/components/_common/IconSVG/SVG/common/Discount100De.tsx +18 -18
  638. package/source/components/_common/IconSVG/SVG/common/Discount100En.tsx +19 -19
  639. package/source/components/_common/IconSVG/SVG/common/Discount66De.tsx +28 -28
  640. package/source/components/_common/IconSVG/SVG/common/Discount66En.tsx +20 -20
  641. package/source/components/_common/IconSVG/SVG/common/DoneIcon.tsx +18 -18
  642. package/source/components/_common/IconSVG/SVG/common/EditCircle.tsx +32 -32
  643. package/source/components/_common/IconSVG/SVG/common/EditPriceIcon.tsx +20 -20
  644. package/source/components/_common/IconSVG/SVG/common/EuroCurrency.tsx +18 -18
  645. package/source/components/_common/IconSVG/SVG/common/Export.tsx +20 -20
  646. package/source/components/_common/IconSVG/SVG/common/Eye.tsx +17 -17
  647. package/source/components/_common/IconSVG/SVG/common/EyeCatch.tsx +19 -19
  648. package/source/components/_common/IconSVG/SVG/common/FavoritesIcon.tsx +20 -20
  649. package/source/components/_common/IconSVG/SVG/common/FilterRange.tsx +16 -16
  650. package/source/components/_common/IconSVG/SVG/common/FilterToolBlack.tsx +23 -23
  651. package/source/components/_common/IconSVG/SVG/common/FlagDe.tsx +21 -21
  652. package/source/components/_common/IconSVG/SVG/common/FlagEn.tsx +43 -43
  653. package/source/components/_common/IconSVG/SVG/common/GrayEnvelopeIcon.tsx +19 -19
  654. package/source/components/_common/IconSVG/SVG/common/HamburgerMenuIcon.tsx +18 -18
  655. package/source/components/_common/IconSVG/SVG/common/HandingOverDashboard.tsx +32 -32
  656. package/source/components/_common/IconSVG/SVG/common/ImageSettingsIcon.tsx +20 -20
  657. package/source/components/_common/IconSVG/SVG/common/Info.tsx +16 -16
  658. package/source/components/_common/IconSVG/SVG/common/InfoIcon.tsx +17 -17
  659. package/source/components/_common/IconSVG/SVG/common/InfoTransparent.tsx +18 -18
  660. package/source/components/_common/IconSVG/SVG/common/LogoutIcon.tsx +20 -20
  661. package/source/components/_common/IconSVG/SVG/common/MagnifyingGlass.tsx +31 -31
  662. package/source/components/_common/IconSVG/SVG/common/MenuArrow.tsx +16 -16
  663. package/source/components/_common/IconSVG/SVG/common/MenuGrey.tsx +22 -22
  664. package/source/components/_common/IconSVG/SVG/common/MobileDeLogo.tsx +108 -108
  665. package/source/components/_common/IconSVG/SVG/common/MyOrderIcon.tsx +20 -20
  666. package/source/components/_common/IconSVG/SVG/common/MyVehiclesIcon.tsx +20 -20
  667. package/source/components/_common/IconSVG/SVG/common/NewFlagDe.tsx +25 -25
  668. package/source/components/_common/IconSVG/SVG/common/NewFlagEn.tsx +34 -34
  669. package/source/components/_common/IconSVG/SVG/common/OrderReceivedDashboard.tsx +27 -27
  670. package/source/components/_common/IconSVG/SVG/common/Package.tsx +30 -30
  671. package/source/components/_common/IconSVG/SVG/common/Phone.tsx +18 -18
  672. package/source/components/_common/IconSVG/SVG/common/PhoneGrey.tsx +22 -22
  673. package/source/components/_common/IconSVG/SVG/common/PickupDashboard.tsx +30 -30
  674. package/source/components/_common/IconSVG/SVG/common/Picture.tsx +24 -24
  675. package/source/components/_common/IconSVG/SVG/common/Pictures.tsx +32 -32
  676. package/source/components/_common/IconSVG/SVG/common/Plus.tsx +16 -16
  677. package/source/components/_common/IconSVG/SVG/common/PlusNew.tsx +16 -16
  678. package/source/components/_common/IconSVG/SVG/common/PreparationDashboard.tsx +29 -29
  679. package/source/components/_common/IconSVG/SVG/common/ProfileDashboard.tsx +24 -24
  680. package/source/components/_common/IconSVG/SVG/common/ProfileIcon.tsx +17 -17
  681. package/source/components/_common/IconSVG/SVG/common/Question.tsx +19 -19
  682. package/source/components/_common/IconSVG/SVG/common/QuestionBold.tsx +25 -25
  683. package/source/components/_common/IconSVG/SVG/common/RegistrationDashboard.tsx +31 -31
  684. package/source/components/_common/IconSVG/SVG/common/SavedSearchsIcon.tsx +20 -20
  685. package/source/components/_common/IconSVG/SVG/common/Search.tsx +19 -19
  686. package/source/components/_common/IconSVG/SVG/common/SearchGrey.tsx +22 -22
  687. package/source/components/_common/IconSVG/SVG/common/SettingPenIcon.tsx +20 -20
  688. package/source/components/_common/IconSVG/SVG/common/Share.tsx +16 -16
  689. package/source/components/_common/IconSVG/SVG/common/ShoppingCart.tsx +18 -18
  690. package/source/components/_common/IconSVG/SVG/common/SliderArrow.tsx +21 -21
  691. package/source/components/_common/IconSVG/SVG/common/SliderEye.tsx +17 -17
  692. package/source/components/_common/IconSVG/SVG/common/SortUpDownArrows.tsx +18 -18
  693. package/source/components/_common/IconSVG/SVG/common/Speedometer.tsx +23 -23
  694. package/source/components/_common/IconSVG/SVG/common/Star.tsx +20 -20
  695. package/source/components/_common/IconSVG/SVG/common/StarNew.tsx +16 -16
  696. package/source/components/_common/IconSVG/SVG/common/StarOutline.tsx +20 -20
  697. package/source/components/_common/IconSVG/SVG/common/StarRoundedCorners.tsx +18 -18
  698. package/source/components/_common/IconSVG/SVG/common/Stats.tsx +17 -17
  699. package/source/components/_common/IconSVG/SVG/common/Step1.tsx +21 -21
  700. package/source/components/_common/IconSVG/SVG/common/Step2.tsx +20 -20
  701. package/source/components/_common/IconSVG/SVG/common/Step3.tsx +21 -21
  702. package/source/components/_common/IconSVG/SVG/common/SupportCallbackIcon.tsx +20 -20
  703. package/source/components/_common/IconSVG/SVG/common/Telephone.tsx +22 -22
  704. package/source/components/_common/IconSVG/SVG/common/Time.tsx +17 -17
  705. package/source/components/_common/IconSVG/SVG/common/Timetable.tsx +18 -18
  706. package/source/components/_common/IconSVG/SVG/common/Trash.tsx +22 -22
  707. package/source/components/_common/IconSVG/SVG/common/TrashRed.tsx +23 -23
  708. package/source/components/_common/IconSVG/SVG/common/Upload.tsx +17 -17
  709. package/source/components/_common/IconSVG/SVG/common/UserGrey.tsx +22 -22
  710. package/source/components/_common/IconSVG/SVG/common/UserProfileIcon.tsx +20 -20
  711. package/source/components/_common/IconSVG/SVG/common/ValidateFailure.tsx +21 -21
  712. package/source/components/_common/IconSVG/SVG/common/ValidateSuccess.tsx +21 -21
  713. package/source/components/_common/IconSVG/SVG/common/WarningTriangle.tsx +20 -20
  714. package/source/components/_common/IconSVG/SVG/common/WhiteArrowUp.tsx +21 -21
  715. package/source/components/_common/IconSVG/SVG/common/WhiteKey.tsx +21 -21
  716. package/source/components/_common/IconSVG/SVG/common/WhitePeople.tsx +23 -23
  717. package/source/components/_common/IconSVG/SVG/common/WhiteTick.tsx +19 -19
  718. package/source/components/_common/IconSVG/SVG/flags/AT.tsx +19 -19
  719. package/source/components/_common/IconSVG/SVG/flags/BE.tsx +20 -20
  720. package/source/components/_common/IconSVG/SVG/flags/BG.tsx +20 -20
  721. package/source/components/_common/IconSVG/SVG/flags/CH.tsx +22 -22
  722. package/source/components/_common/IconSVG/SVG/flags/CZ.tsx +18 -18
  723. package/source/components/_common/IconSVG/SVG/flags/DE.tsx +18 -18
  724. package/source/components/_common/IconSVG/SVG/flags/DK.tsx +18 -18
  725. package/source/components/_common/IconSVG/SVG/flags/ES.tsx +2585 -2585
  726. package/source/components/_common/IconSVG/SVG/flags/FI.tsx +18 -18
  727. package/source/components/_common/IconSVG/SVG/flags/FR.tsx +20 -20
  728. package/source/components/_common/IconSVG/SVG/flags/GB.tsx +26 -26
  729. package/source/components/_common/IconSVG/SVG/flags/HR.tsx +135 -135
  730. package/source/components/_common/IconSVG/SVG/flags/HU.tsx +20 -20
  731. package/source/components/_common/IconSVG/SVG/flags/IT.tsx +20 -20
  732. package/source/components/_common/IconSVG/SVG/flags/LI.tsx +106 -106
  733. package/source/components/_common/IconSVG/SVG/flags/LU.tsx +18 -18
  734. package/source/components/_common/IconSVG/SVG/flags/NL.tsx +18 -18
  735. package/source/components/_common/IconSVG/SVG/flags/NO.tsx +20 -20
  736. package/source/components/_common/IconSVG/SVG/flags/PL.tsx +19 -19
  737. package/source/components/_common/IconSVG/SVG/flags/RO.tsx +20 -20
  738. package/source/components/_common/IconSVG/SVG/flags/RU.tsx +20 -20
  739. package/source/components/_common/IconSVG/SVG/flags/SE.tsx +20 -20
  740. package/source/components/_common/IconSVG/SVG/flags/SI.tsx +54 -54
  741. package/source/components/_common/IconSVG/SVG/flags/SK.tsx +34 -34
  742. package/source/components/_common/IconSVG/SVG/flags/UA.tsx +19 -19
  743. package/source/components/_common/IconSVG/SVG/infoBlocks/14DaysReturnPolicy.tsx +18 -18
  744. package/source/components/_common/IconSVG/SVG/infoBlocks/AlertInfo.tsx +19 -19
  745. package/source/components/_common/IconSVG/SVG/infoBlocks/Autocheck.tsx +19 -19
  746. package/source/components/_common/IconSVG/SVG/infoBlocks/CheckTheStory.tsx +22 -22
  747. package/source/components/_common/IconSVG/SVG/infoBlocks/CustomerServiceWhite.tsx +16 -16
  748. package/source/components/_common/IconSVG/SVG/infoBlocks/Guarantee.tsx +16 -16
  749. package/source/components/_common/IconSVG/SVG/infoBlocks/OrderWhite.tsx +13 -13
  750. package/source/components/_common/IconSVG/SVG/infoBlocks/PriceGuarantee.tsx +19 -19
  751. package/source/components/_common/IconSVG/SVG/infoBlocks/PriceGuaranteeWhite.tsx +17 -17
  752. package/source/components/_common/IconSVG/SVG/infoBlocks/TransportAndDelivery.tsx +21 -21
  753. package/source/components/_common/IconSVG/SVG/infoBlocks/Warranty.tsx +23 -23
  754. package/source/components/_common/IconSVG/SVG/popower/Mail.tsx +18 -18
  755. package/source/components/_common/IconSVG/SVG/popower/Phone.tsx +19 -19
  756. package/source/components/_common/IconSVG/SVG/popower/Schedule.tsx +18 -18
  757. package/source/components/_common/IconSVG/SVG/searchWidgets/drive/AAllWheelDrive.tsx +26 -26
  758. package/source/components/_common/IconSVG/SVG/searchWidgets/drive/AllWheelDrive.tsx +26 -26
  759. package/source/components/_common/IconSVG/SVG/searchWidgets/drive/FrontWheelDrive.tsx +25 -25
  760. package/source/components/_common/IconSVG/SVG/searchWidgets/drive/OtherWheelDrive.tsx +26 -26
  761. package/source/components/_common/IconSVG/SVG/searchWidgets/drive/RearWheelDrive.tsx +25 -25
  762. package/source/components/_common/IconSVG/SVG/searchWidgets/fuel/FuelDiesel.tsx +18 -18
  763. package/source/components/_common/IconSVG/SVG/searchWidgets/fuel/FuelElectrical.tsx +19 -19
  764. package/source/components/_common/IconSVG/SVG/searchWidgets/fuel/FuelElectricalDiesel.tsx +34 -34
  765. package/source/components/_common/IconSVG/SVG/searchWidgets/fuel/FuelElectricalPetrol.tsx +20 -20
  766. package/source/components/_common/IconSVG/SVG/searchWidgets/fuel/FuelEthanol.tsx +53 -53
  767. package/source/components/_common/IconSVG/SVG/searchWidgets/fuel/FuelHydrogen.tsx +24 -24
  768. package/source/components/_common/IconSVG/SVG/searchWidgets/fuel/FuelLpg.tsx +24 -24
  769. package/source/components/_common/IconSVG/SVG/searchWidgets/fuel/FuelNaturalGas.tsx +23 -23
  770. package/source/components/_common/IconSVG/SVG/searchWidgets/fuel/FuelOther.tsx +28 -28
  771. package/source/components/_common/IconSVG/SVG/searchWidgets/fuel/FuelPetrol.tsx +18 -18
  772. package/source/components/_common/IconSVG/SVG/settings/Account.tsx +17 -17
  773. package/source/components/_common/IconSVG/SVG/settings/DataUsage.tsx +17 -17
  774. package/source/components/_common/IconSVG/SVG/settings/MarketResearch.tsx +17 -17
  775. package/source/components/_common/IconSVG/SVG/settings/Newsletter.tsx +17 -17
  776. package/source/components/_common/IconSVG/SVG/settings/RemoveEye.tsx +17 -17
  777. package/source/components/_common/IconSVG/SVG/settings/RemoveEyeOff.tsx +17 -17
  778. package/source/components/_common/IconSVG/SVG/settings/Security.tsx +17 -17
  779. package/source/components/_common/IconSVG/SVG/settings/Warning.tsx +17 -17
  780. package/source/components/_common/IconSVG/SVG/slider/360.tsx +23 -23
  781. package/source/components/_common/IconSVG/SVG/slider/360New.tsx +20 -20
  782. package/source/components/_common/IconSVG/SVG/slider/Checked.tsx +19 -19
  783. package/source/components/_common/IconSVG/SVG/slider/DiscountRibbon.tsx +51 -51
  784. package/source/components/_common/IconSVG/SVG/slider/DiscountRibbonMobile.tsx +47 -47
  785. package/source/components/_common/IconSVG/SVG/slider/DiscountRibbonNew.tsx +29 -29
  786. package/source/components/_common/IconSVG/SVG/slider/Easy.tsx +19 -19
  787. package/source/components/_common/IconSVG/SVG/slider/Fullscreen.tsx +16 -16
  788. package/source/components/_common/IconSVG/SVG/slider/FullscreenWindow.tsx +23 -23
  789. package/source/components/_common/IconSVG/SVG/slider/Safe.tsx +19 -19
  790. package/source/components/_common/IconSVG/SVG/slider/ToBuy.tsx +19 -19
  791. package/source/components/_common/IconSVG/SVG/slider/ZoomIn.tsx +21 -21
  792. package/source/components/_common/IconSVG/SVG/slider/ZoomOut.tsx +21 -21
  793. package/source/components/_common/IconSVG/SVG/social/AndroidLogo.tsx +18 -18
  794. package/source/components/_common/IconSVG/SVG/social/Apple.tsx +19 -19
  795. package/source/components/_common/IconSVG/SVG/social/FacebookF.tsx +19 -19
  796. package/source/components/_common/IconSVG/SVG/social/GooglePlusG.tsx +19 -19
  797. package/source/components/_common/IconSVG/SVG/social/Instagram.tsx +17 -17
  798. package/source/components/_common/IconSVG/SVG/social/Pinterest.tsx +19 -19
  799. package/source/components/_common/IconSVG/SVG/social/SharingInterface.tsx +21 -21
  800. package/source/components/_common/IconSVG/SVG/social/Twitter.tsx +19 -19
  801. package/source/components/_common/IconSVG/SVG/social/Youtube.tsx +19 -19
  802. package/source/components/_common/IconSVG/SVG/vehicle/AboIcon.tsx +11 -11
  803. package/source/components/_common/IconSVG/SVG/vehicle/Abs.tsx +24 -24
  804. package/source/components/_common/IconSVG/SVG/vehicle/AirCond.tsx +34 -34
  805. package/source/components/_common/IconSVG/SVG/vehicle/Airbag.tsx +21 -21
  806. package/source/components/_common/IconSVG/SVG/vehicle/AuxiliaryHeating.tsx +23 -23
  807. package/source/components/_common/IconSVG/SVG/vehicle/Bluetooth.tsx +22 -22
  808. package/source/components/_common/IconSVG/SVG/vehicle/BuyIcon.tsx +15 -15
  809. package/source/components/_common/IconSVG/SVG/vehicle/CarAvailability.tsx +22 -22
  810. package/source/components/_common/IconSVG/SVG/vehicle/CarInspectionCheck.tsx +21 -21
  811. package/source/components/_common/IconSVG/SVG/vehicle/CarInspectionCross.tsx +21 -21
  812. package/source/components/_common/IconSVG/SVG/vehicle/CheckoutChecked.tsx +15 -15
  813. package/source/components/_common/IconSVG/SVG/vehicle/Co2.tsx +24 -24
  814. package/source/components/_common/IconSVG/SVG/vehicle/CruiseControl.tsx +25 -25
  815. package/source/components/_common/IconSVG/SVG/vehicle/Date.tsx +21 -21
  816. package/source/components/_common/IconSVG/SVG/vehicle/Delivery.tsx +12 -12
  817. package/source/components/_common/IconSVG/SVG/vehicle/Diesel.tsx +28 -28
  818. package/source/components/_common/IconSVG/SVG/vehicle/Display.tsx +25 -25
  819. package/source/components/_common/IconSVG/SVG/vehicle/Done.tsx +11 -11
  820. package/source/components/_common/IconSVG/SVG/vehicle/Door.tsx +19 -19
  821. package/source/components/_common/IconSVG/SVG/vehicle/DoubleDone.tsx +18 -18
  822. package/source/components/_common/IconSVG/SVG/vehicle/EditIcon.tsx +11 -11
  823. package/source/components/_common/IconSVG/SVG/vehicle/EmergencyBrakeAssistant.tsx +27 -27
  824. package/source/components/_common/IconSVG/SVG/vehicle/Eps.tsx +24 -24
  825. package/source/components/_common/IconSVG/SVG/vehicle/Esp.tsx +24 -24
  826. package/source/components/_common/IconSVG/SVG/vehicle/FinancingIcon.tsx +20 -20
  827. package/source/components/_common/IconSVG/SVG/vehicle/FuelConsumption.tsx +20 -20
  828. package/source/components/_common/IconSVG/SVG/vehicle/Fueling.tsx +22 -22
  829. package/source/components/_common/IconSVG/SVG/vehicle/FullDrive.tsx +24 -24
  830. package/source/components/_common/IconSVG/SVG/vehicle/GasElectric.tsx +28 -28
  831. package/source/components/_common/IconSVG/SVG/vehicle/HandsFreePhoneSystem.tsx +24 -24
  832. package/source/components/_common/IconSVG/SVG/vehicle/Kw.tsx +23 -23
  833. package/source/components/_common/IconSVG/SVG/vehicle/LastCrawledAt.tsx +22 -22
  834. package/source/components/_common/IconSVG/SVG/vehicle/LeasingIcon.tsx +14 -14
  835. package/source/components/_common/IconSVG/SVG/vehicle/Led.tsx +24 -24
  836. package/source/components/_common/IconSVG/SVG/vehicle/LightSensor.tsx +22 -22
  837. package/source/components/_common/IconSVG/SVG/vehicle/LinkAlternative.tsx +15 -15
  838. package/source/components/_common/IconSVG/SVG/vehicle/Location.tsx +17 -17
  839. package/source/components/_common/IconSVG/SVG/vehicle/MinusIcon.tsx +11 -11
  840. package/source/components/_common/IconSVG/SVG/vehicle/Mirror.tsx +19 -19
  841. package/source/components/_common/IconSVG/SVG/vehicle/Navigation.tsx +27 -27
  842. package/source/components/_common/IconSVG/SVG/vehicle/NewCar.tsx +21 -21
  843. package/source/components/_common/IconSVG/SVG/vehicle/NoImage.tsx +17 -17
  844. package/source/components/_common/IconSVG/SVG/vehicle/Owner.tsx +18 -18
  845. package/source/components/_common/IconSVG/SVG/vehicle/PanoramicRoof.tsx +23 -23
  846. package/source/components/_common/IconSVG/SVG/vehicle/ParkingAssistants.tsx +24 -24
  847. package/source/components/_common/IconSVG/SVG/vehicle/PickYourself.tsx +18 -18
  848. package/source/components/_common/IconSVG/SVG/vehicle/PlusIcon.tsx +11 -11
  849. package/source/components/_common/IconSVG/SVG/vehicle/Power.tsx +21 -21
  850. package/source/components/_common/IconSVG/SVG/vehicle/Ps.tsx +19 -19
  851. package/source/components/_common/IconSVG/SVG/vehicle/Question.tsx +24 -24
  852. package/source/components/_common/IconSVG/SVG/vehicle/Seats.tsx +21 -21
  853. package/source/components/_common/IconSVG/SVG/vehicle/SeatsHeating.tsx +26 -26
  854. package/source/components/_common/IconSVG/SVG/vehicle/SelectorGearboxAutomatic.tsx +24 -24
  855. package/source/components/_common/IconSVG/SVG/vehicle/SelectorGearboxManualShift.tsx +19 -19
  856. package/source/components/_common/IconSVG/SVG/vehicle/SelectorGearboxOther.tsx +24 -24
  857. package/source/components/_common/IconSVG/SVG/vehicle/SelectorGearboxSemiAutomatic.tsx +30 -30
  858. package/source/components/_common/IconSVG/SVG/vehicle/SelectorInteriorTypeAlcantara.tsx +225 -225
  859. package/source/components/_common/IconSVG/SVG/vehicle/SelectorInteriorTypeFabric.tsx +29 -29
  860. package/source/components/_common/IconSVG/SVG/vehicle/SelectorInteriorTypeFullLeather.tsx +29 -29
  861. package/source/components/_common/IconSVG/SVG/vehicle/SelectorInteriorTypeOther.tsx +26 -26
  862. package/source/components/_common/IconSVG/SVG/vehicle/SelectorInteriorTypePartLeather.tsx +142 -142
  863. package/source/components/_common/IconSVG/SVG/vehicle/SelectorInteriorTypeSyntheticLeather.tsx +27 -27
  864. package/source/components/_common/IconSVG/SVG/vehicle/SelectorInteriorTypeVelours.tsx +39 -39
  865. package/source/components/_common/IconSVG/SVG/vehicle/Shield.tsx +39 -39
  866. package/source/components/_common/IconSVG/SVG/vehicle/Speedometer.tsx +17 -17
  867. package/source/components/_common/IconSVG/SVG/vehicle/StartStopSystem.tsx +30 -30
  868. package/source/components/_common/IconSVG/SVG/vehicle/Stop.tsx +25 -25
  869. package/source/components/_common/IconSVG/SVG/vehicle/TickMark.tsx +21 -21
  870. package/source/components/_common/IconSVG/SVG/vehicle/TrafficSignRecognition.tsx +29 -29
  871. package/source/components/_common/IconSVG/SVG/vehicle/TrailerCoupling.tsx +24 -24
  872. package/source/components/_common/IconSVG/SVG/vehicle/Transmission.tsx +27 -27
  873. package/source/components/_common/IconSVG/SVG/vehicle/Wheel.tsx +43 -43
  874. package/source/components/_common/IconSVG/SVG/vehicle/Wipers.tsx +22 -22
  875. package/source/components/_common/IconSVG/SVG/vehicle/Wrench.tsx +17 -17
  876. package/source/components/_common/Image/Image.story.js +142 -142
  877. package/source/components/_common/Image/Image.story.styl +18 -18
  878. package/source/components/_common/Image/Image.styl +109 -109
  879. package/source/components/_common/Image/Image.tsx +302 -302
  880. package/source/components/_common/ImagesSet/ImagesSet.story.js +34 -34
  881. package/source/components/_common/ImagesSet/ImagesSet.story.styl +3 -3
  882. package/source/components/_common/ImagesSet/ImagesSet.styl +27 -27
  883. package/source/components/_common/ImagesSet/ImagesSet.tsx +76 -76
  884. package/source/components/_common/Loader/Loader.story.js +21 -21
  885. package/source/components/_common/Loader/Loader.styl +39 -39
  886. package/source/components/_common/Loader/Loader.tsx +32 -32
  887. package/source/components/_common/MagnifyGlass/MagnifyGlass.styl +33 -33
  888. package/source/components/_common/MagnifyGlass/MagnifyGlass.tsx +213 -213
  889. package/source/components/_common/MaterialAccordion/MaterialAccordion.tsx +141 -141
  890. package/source/components/_common/MaterialAccordionGroup/MaterialAccordionGroup.story.js +49 -49
  891. package/source/components/_common/MaterialAccordionGroup/MaterialAccordionGroup.styled.tsx +71 -71
  892. package/source/components/_common/MaterialAccordionGroup/MaterialAccordionGroup.tsx +40 -40
  893. package/source/components/_common/MaterialAutocomplete/MaterialAutocomplete.styled.tsx +204 -204
  894. package/source/components/_common/MaterialAutocomplete/MaterialAutocomplete.tsx +248 -248
  895. package/source/components/_common/MaterialDatePicker/MaterialDatePicker.story.js +45 -45
  896. package/source/components/_common/MaterialDatePicker/MaterialDatePicker.story.styl +5 -5
  897. package/source/components/_common/MaterialDatePicker/MaterialDatePicker.styled.tsx +20 -20
  898. package/source/components/_common/MaterialDatePicker/MaterialDatePicker.tsx +112 -112
  899. package/source/components/_common/MaterialField/MaterialField.story.js +87 -87
  900. package/source/components/_common/MaterialField/MaterialField.story.styl +33 -33
  901. package/source/components/_common/MaterialField/MaterialField.styled.tsx +52 -52
  902. package/source/components/_common/MaterialField/MaterialField.tsx +129 -129
  903. package/source/components/_common/MaterialSelect/MaterialSelect.story.js +52 -52
  904. package/source/components/_common/MaterialSelect/MaterialSelect.story.styl +5 -5
  905. package/source/components/_common/MaterialSelect/MaterialSelect.styled.tsx +123 -123
  906. package/source/components/_common/MaterialSelect/MaterialSelect.tsx +222 -222
  907. package/source/components/_common/MaterialStepButton/MaterialStepButton.story.js +47 -47
  908. package/source/components/_common/MaterialStepButton/MaterialStepButton.story.styl +5 -5
  909. package/source/components/_common/MaterialStepButton/MaterialStepButton.styl +32 -32
  910. package/source/components/_common/MaterialStepButton/MaterialStepButton.tsx +61 -61
  911. package/source/components/_common/MaterialSwitch/MaterialSwitch.story.js +17 -17
  912. package/source/components/_common/MaterialSwitch/MaterialSwitch.styled.tsx +5 -5
  913. package/source/components/_common/MaterialSwitch/MaterialSwitch.tsx +37 -37
  914. package/source/components/_common/MaterialTooltip/MaterialTooltip.story.js +10 -10
  915. package/source/components/_common/MaterialTooltip/MaterialTooltip.styled.tsx +24 -24
  916. package/source/components/_common/MaterialTooltip/MaterialTooltip.tsx +87 -87
  917. package/source/components/_common/Modal/CookieModal.tsx +49 -49
  918. package/source/components/_common/Modal/Modal.story.js +37 -37
  919. package/source/components/_common/Modal/Modal.styled.tsx +15 -15
  920. package/source/components/_common/Modal/Modal.tsx +24 -24
  921. package/source/components/_common/Modal/ModalsConfig.tsx +23 -23
  922. package/source/components/_common/Modal/modals/ManageCookieModal/ManageCookieModal.styl +81 -81
  923. package/source/components/_common/Modal/modals/ManageCookieModal/ManageCookieModal.tsx +184 -184
  924. package/source/components/_common/Modal/modals/PreviewCookieModal/PreviewCookieModal.styl +66 -66
  925. package/source/components/_common/Modal/modals/PreviewCookieModal/PreviewCookieModal.tsx +51 -51
  926. package/source/components/_common/Modal/modals/TestModal.tsx +7 -7
  927. package/source/components/_common/MuiDropDown/MuiDropDown.tsx +93 -93
  928. package/source/components/_common/MuiGroupedSelect/MuiGroupedSelect.story.js +21 -21
  929. package/source/components/_common/MuiGroupedSelect/MuiGroupedSelect.tsx +87 -87
  930. package/source/components/_common/OfferRequestButtonWrapper/OfferRequestButtonWrapper.styl +119 -119
  931. package/source/components/_common/OfferRequestButtonWrapper/OfferRequestButtonWrapper.styled.tsx +23 -23
  932. package/source/components/_common/OfferRequestButtonWrapper/OfferRequestButtonWrapper.tsx +114 -114
  933. package/source/components/_common/PropertySelector/PSGroup.story.js +93 -93
  934. package/source/components/_common/PropertySelector/PSGroup.story.styl +25 -25
  935. package/source/components/_common/PropertySelector/PSGroup.styl +5 -5
  936. package/source/components/_common/PropertySelector/PSGroup.tsx +98 -98
  937. package/source/components/_common/PropertySelector/PropertySelector.styl +139 -139
  938. package/source/components/_common/PropertySelector/PropertySelector.tsx +100 -100
  939. package/source/components/_common/PropertySelector/ProperySelector.story.js +83 -83
  940. package/source/components/_common/Radio/FormRadioGroup.story.js +28 -28
  941. package/source/components/_common/Radio/FormRadioGroup.story.styl +2 -2
  942. package/source/components/_common/Radio/FormRadioGroup.styl +22 -22
  943. package/source/components/_common/Radio/FormRadioGroup.tsx +77 -77
  944. package/source/components/_common/Radio/Radio.story.js +54 -54
  945. package/source/components/_common/Radio/Radio.styl +115 -115
  946. package/source/components/_common/Radio/Radio.tsx +141 -141
  947. package/source/components/_common/Radio/RadioGroup.story.js +90 -90
  948. package/source/components/_common/Radio/RadioGroup.story.styl +39 -39
  949. package/source/components/_common/Radio/RadioGroup.styl +5 -5
  950. package/source/components/_common/Radio/RadioGroup.tsx +65 -65
  951. package/source/components/_common/Range/Range.story.js +46 -46
  952. package/source/components/_common/Range/Range.story.styl +4 -4
  953. package/source/components/_common/Range/Range.styl +71 -71
  954. package/source/components/_common/Range/Range.tsx +91 -91
  955. package/source/components/_common/Skeleton/SkeletonItem.styl +80 -80
  956. package/source/components/_common/Skeleton/SkeletonItem.tsx +80 -80
  957. package/source/components/_common/Skeleton/SkeletonSearchItem.styl +123 -123
  958. package/source/components/_common/Skeleton/SkeletonSearchItem.tsx +92 -92
  959. package/source/components/_common/Slider/Slider.styl +2 -2
  960. package/source/components/_common/Slider/Slider.tsx +130 -130
  961. package/source/components/_common/SliderArrow/SliderArrow.story.js +18 -18
  962. package/source/components/_common/SliderArrow/SliderArrow.styl +32 -32
  963. package/source/components/_common/SliderArrow/SliderArrow.tsx +36 -36
  964. package/source/components/_common/StarButton/StarButton.styl +39 -39
  965. package/source/components/_common/StarButton/StarButton.tsx +31 -31
  966. package/source/components/_common/Tabs/TabPanel.tsx +28 -28
  967. package/source/components/_common/Tabs/Tabs.story.js +55 -55
  968. package/source/components/_common/Tabs/Tabs.styl +40 -40
  969. package/source/components/_common/Tabs/Tabs.tsx +44 -44
  970. package/source/components/_common/TextAreaField/TextAreaField.styl +47 -47
  971. package/source/components/_common/TextAreaField/TextAreaField.tsx +74 -74
  972. package/source/components/_common/TextField/TextField.styl +37 -37
  973. package/source/components/_common/TextField/TextField.tsx +77 -77
  974. package/source/components/_common/TimePicker/TimePicker.story.js +37 -37
  975. package/source/components/_common/TimePicker/TimePicker.styl +22 -22
  976. package/source/components/_common/TimePicker/TimePicker.tsx +155 -155
  977. package/source/components/_common/Tooltip/Tooltip.story.js +28 -28
  978. package/source/components/_common/Tooltip/Tooltip.styl +117 -117
  979. package/source/components/_common/Tooltip/Tooltip.tsx +62 -62
  980. package/source/components/_common/UserMenu/MaterialMenu.story.js +73 -73
  981. package/source/components/_common/UserMenu/MaterialMenu.styled.tsx +84 -84
  982. package/source/components/_common/UserMenu/MaterialMenu.tsx +101 -101
  983. package/source/components/_common/UserMenu/MaterialMenuItem.tsx +76 -76
  984. package/source/components/_common/UserMenu/NestedMenu.tsx +59 -59
  985. package/source/components/_common/Usp/Usp.styl +78 -78
  986. package/source/components/_common/Usp/Usp.tsx +30 -30
  987. package/source/components/_common/VehicleSlider/VehicleSlider.story.js +99 -99
  988. package/source/components/_common/VehicleSlider/VehicleSlider.styl +62 -62
  989. package/source/components/_common/VehicleSlider/VehicleSlider.tsx +125 -125
  990. package/source/components/_common/VehicleSlider/VehicleSliderForSRL.tsx +175 -175
  991. package/source/components/_common/withLabel/withLabel.story.js +62 -62
  992. package/source/components/_common/withLabel/withLabel.styl +33 -33
  993. package/source/components/_common/withLabel/withLabel.tsx +44 -44
  994. package/source/components/_common/withPopover/withPopover.story.js +48 -48
  995. package/source/components/_common/withPopover/withPopover.story.styl +53 -53
  996. package/source/components/_common/withPopover/withPopover.styl +3 -3
  997. package/source/components/_common/withPopover/withPopover.tsx +88 -88
  998. package/source/components/_common/withStats/withStats.story.js +75 -75
  999. package/source/components/_common/withStats/withStats.styl +150 -150
  1000. package/source/components/_common/withStats/withStats.tsx +179 -179
  1001. package/source/components/containers/DasboardSection/DashboardSection.styl +14 -14
  1002. package/source/components/containers/DasboardSection/DashboardSection.tsx +23 -23
  1003. package/source/components/containers/SearchPage/FiltersContainer/FiltersContainer.styl +54 -54
  1004. package/source/components/containers/SearchPage/FiltersContainer/FiltersContainer.tsx +432 -432
  1005. package/source/framework/DataTransformers.ts +80 -80
  1006. package/source/framework/constants/RateSearchWidget.ts +15 -15
  1007. package/source/framework/constants/Search.ts +290 -290
  1008. package/source/framework/constants/SearchWidget.ts +108 -108
  1009. package/source/framework/constants/app.ts +223 -223
  1010. package/source/framework/constants/cars.ts +36 -36
  1011. package/source/framework/constants/common.ts +105 -105
  1012. package/source/framework/constants/data.ts +52 -52
  1013. package/source/framework/constants/filters.ts +11 -11
  1014. package/source/framework/constants/highlights.ts +165 -165
  1015. package/source/framework/constants/price.ts +9 -9
  1016. package/source/framework/constants/queryBuilder.ts +4 -4
  1017. package/source/framework/constants/selectors.ts +38 -38
  1018. package/source/framework/constants.ts +116 -116
  1019. package/source/framework/data.ts +6 -6
  1020. package/source/framework/factories/BreadcrumbsFactory.tsx +285 -285
  1021. package/source/framework/factories/FactoryTypes.d.ts +30 -30
  1022. package/source/framework/factories/FilterFactory.ts +364 -364
  1023. package/source/framework/factories/ModalsFactory.tsx +11 -11
  1024. package/source/framework/hooks/useModal.ts +13 -13
  1025. package/source/framework/schemes/AggregationScheme.ts +73 -73
  1026. package/source/framework/types/types.ts +349 -349
  1027. package/source/framework/utils/CommonUtils.ts +611 -584
  1028. package/source/framework/utils/CookieUtils.ts +61 -61
  1029. package/source/framework/utils/DateUtils.ts +93 -93
  1030. package/source/framework/utils/FiltersUtils.ts +234 -234
  1031. package/source/framework/utils/RequestUtils.ts +20 -20
  1032. package/source/framework/utils/StyledComponent.ts +2 -2
  1033. package/source/framework/vehiclesProps/cbdSelectors.ts +117 -117
  1034. package/source/framework/vehiclesProps/decoratedLightProps.tsx +345 -345
  1035. package/source/framework/vehiclesProps/decoratedProps.tsx +1057 -1057
  1036. package/source/framework/vehiclesProps/equipment.ts +129 -129
  1037. package/source/framework/vehiclesProps/highlights.ts +54 -54
  1038. package/source/framework/vehiclesProps/vehicleDetails.ts +329 -329
  1039. package/source/globals.d.ts +18 -18
  1040. package/source/locales/SearchDetailedPage.ts +205 -205
  1041. package/source/locales/SearchPage.ts +224 -224
  1042. package/source/locales/cbd.ts +719 -719
  1043. package/source/locales/common.ts +109 -109
  1044. package/source/locales/data.ts +1078 -1078
  1045. package/source/locales/priceRating.ts +10 -10
  1046. package/source/locales/sortingOptions.ts +21 -21
  1047. package/source/theme/colors.styl +46 -46
  1048. package/source/theme/mixins.styl +93 -93
  1049. package/source/theme/priceReviewColors.styl +12 -12
  1050. package/source/theme/selector_colors.styl +61 -61
  1051. package/source/theme/slider.global.styl +3 -3
  1052. package/source/theme/theme.styl +136 -136
  1053. package/tsconfig.json +65 -65
  1054. package/tslint.json +38 -38
  1055. package/utils.ts +59 -57
@@ -1,155 +1,155 @@
1
- import React, { useState, useEffect } from 'react';
2
- import MaterialSelect from '../MaterialSelect/MaterialSelect';
3
- import styles from './TimePicker.styl';
4
-
5
- interface ITimePickerProps {
6
- onHandleTimestampChange: (value: number) => void;
7
- onDayChange: (value: number) => void;
8
- onTimeChange: (value: number) => void;
9
- className: string;
10
- lang: string;
11
- time: number;
12
- day: number;
13
- t: (phrase: string) => string;
14
- size?: string;
15
- }
16
-
17
- const TimePicker = ({
18
- onHandleTimestampChange,
19
- onDayChange,
20
- onTimeChange,
21
- day,
22
- time,
23
- className,
24
- lang,
25
- t,
26
- size = 'custom'
27
- }: ITimePickerProps) => {
28
- const date: any = new Date();
29
- const [currentDay, setCurrentDay] = useState(date.getDay());
30
- const onHandleDayChange = (value: number) => {
31
- onDayChange(value);
32
- };
33
- const onHandleTimeChange = (value: number) => {
34
- onTimeChange(value);
35
- };
36
- const format: { hour: 'numeric' | '2-digit', minute: 'numeric' | '2-digit' } = {
37
- hour: 'numeric',
38
- minute: 'numeric'
39
- };
40
-
41
- const endOfTheDayTime = currentDay > 5 || currentDay < 1 ? '17:30:00' : '19:30:00';
42
- const startOfTheDayTime = currentDay > 5 || currentDay < 1 ? '09:00:00' : '08:30:00';
43
- const setNewDay = new Date(`${date.toDateString()} ${endOfTheDayTime}`) > date ? 0 : 86400000;
44
- const interval = 30 * 60 * 1000;
45
- const roundedTime = new Date(Math.ceil(date / interval) * interval);
46
- const nextWeekDays = [...Array(7).keys()].map((days, index) => (
47
- {
48
- value: index,
49
- label: new Date(Date.now() + setNewDay + 86400000 * days).toLocaleString(lang, { weekday: 'short', day: 'numeric', month: '2-digit' }).replace(',', ''),
50
- day: new Date(Date.now() + setNewDay + 86400000 * days).toLocaleString(lang, { weekday: 'short', day: 'numeric', month: '2-digit' }).replace(',', '')
51
- }
52
- ));
53
- const nextWeekDaysFull = [...Array(7).keys()].map(days => new Date(Date.now() + setNewDay + 86400000 * days));
54
- const currentDayFull = new Date(nextWeekDaysFull[0]).toDateString();
55
-
56
- const currentTime = new Date(`${currentDayFull} ${new Date().toLocaleTimeString()}`);
57
- const endOfTheDay = new Date(`${currentDayFull} ${endOfTheDayTime}`);
58
- const startOfTheDay = new Date(`${currentDayFull} ${startOfTheDayTime}`);
59
-
60
- const isWorkingHours = () => (endOfTheDay > currentTime) && (startOfTheDay <= currentTime) && currentDay === new Date().getDay();
61
- const isAfterWorkingHours = () => endOfTheDay < currentTime;
62
-
63
- const ranges = currentDay > 5 || currentDay < 1 ? 8 : 12;
64
- const currentDayRanges: { value: number, label: string, time: string }[] = [];
65
- const dayRanges: { value: number, label: string, time: string }[] = [];
66
- const ammountRanges = currentDay > 5 || currentDay < 1 ? (ranges - (roundedTime.getHours() - 9)) : (ranges - (roundedTime.getHours() - 8));
67
-
68
- const startTime = (currentDay > 5) || (currentDay < 1) ? 9 : 8;
69
-
70
- const getTimeRanges = () => {
71
- for (let minutes = roundedTime.getMinutes(); minutes < ammountRanges * 60; minutes = minutes + 30) {
72
- date.setHours(roundedTime.getHours());
73
- date.setMinutes(minutes);
74
- const time = date.toLocaleTimeString('de', format);
75
- const rangeTime = new Date(getHours(time).getTime() + 30 * 60000).toLocaleString('de', format);
76
- currentDayRanges.push({ time, value: currentDayRanges.length, label: `${time} - ${rangeTime}` });
77
- } // time ranges for current day and from current time
78
-
79
- const startOfTheDayMinutes = currentDay > 5 || currentDay < 1 ? 0 : 30; // from monday to friday we need to start from 08:30:00
80
-
81
- for (let minutes = startOfTheDayMinutes; minutes < ranges * 60; minutes = minutes + 30) {
82
- date.setHours(startTime);
83
- date.setMinutes(minutes);
84
- const time = date.toLocaleTimeString('de', format);
85
- const rangeTime = new Date(getHours(time).getTime() + 30 * 60000).toLocaleString('de', format);
86
- dayRanges.push({ time, value: dayRanges.length, label: `${time} - ${rangeTime}` });
87
- } // time ranges for full day
88
-
89
- return currentDay === new Date().getDay() && isWorkingHours() ? currentDayRanges : dayRanges;
90
- };
91
-
92
- useEffect(
93
- () => {
94
- setCurrentDay(new Date(nextWeekDaysFull[day]).getDay());
95
- if (isAfterWorkingHours() && date.getDay() === 0) {
96
- setCurrentDay(1);
97
- }
98
- onHandleTimestampChange(+new Date(`${new Date(nextWeekDaysFull[day]).toDateString()} ${getTimeRanges()[time].time}`) / 1000);
99
- },
100
- [day, time]
101
- );
102
-
103
- useEffect(
104
- () => {
105
- onHandleTimestampChange(+new Date(`${new Date(nextWeekDaysFull[day]).toDateString()} ${getTimeRanges()[time].time}`) / 1000);
106
- },
107
- [currentDay]
108
- );
109
-
110
- const getHours = (time: string) => {
111
- const date = new Date(`${new Date().toDateString()}, ${time}:00`);
112
- return date;
113
- };
114
-
115
- const dayOnchange = (value: number) => {
116
- onHandleDayChange(value);
117
- onHandleTimeChange(0);
118
- };
119
-
120
- const timeChange = (value: number) => {
121
- onHandleTimeChange(value);
122
- };
123
-
124
- return (
125
- <div className={`${className} ${styles.wrapper}`}>
126
- <MaterialSelect
127
- onChange={(value: any) => dayOnchange(value)}
128
- label={t('CheckoutPage:onlineCheckoutModal.date')}
129
- value={day}
130
- size={size}
131
- icon='timetable'
132
- className={styles.dayForm}
133
- classNameIcon={styles.selectIcon}
134
- items={nextWeekDays}
135
- amountOfItems={6}
136
- customDimensionsIcon
137
- />
138
- <MaterialSelect
139
- onChange={(value: any) => timeChange(value)}
140
- label={t('CheckoutPage:onlineCheckoutModal.time')}
141
- value={time}
142
- size={size}
143
- icon='clock'
144
- className={styles.timeForm}
145
- selectClassName={styles.select}
146
- classNameIcon={styles.selectIcon}
147
- items={getTimeRanges()}
148
- amountOfItems={6}
149
- customDimensionsIcon
150
- />
151
- </div>
152
- );
153
- };
154
-
155
- export default TimePicker;
1
+ import React, { useState, useEffect } from 'react';
2
+ import MaterialSelect from '../MaterialSelect/MaterialSelect';
3
+ import styles from './TimePicker.styl';
4
+
5
+ interface ITimePickerProps {
6
+ onHandleTimestampChange: (value: number) => void;
7
+ onDayChange: (value: number) => void;
8
+ onTimeChange: (value: number) => void;
9
+ className: string;
10
+ lang: string;
11
+ time: number;
12
+ day: number;
13
+ t: (phrase: string) => string;
14
+ size?: string;
15
+ }
16
+
17
+ const TimePicker = ({
18
+ onHandleTimestampChange,
19
+ onDayChange,
20
+ onTimeChange,
21
+ day,
22
+ time,
23
+ className,
24
+ lang,
25
+ t,
26
+ size = 'custom'
27
+ }: ITimePickerProps) => {
28
+ const date: any = new Date();
29
+ const [currentDay, setCurrentDay] = useState(date.getDay());
30
+ const onHandleDayChange = (value: number) => {
31
+ onDayChange(value);
32
+ };
33
+ const onHandleTimeChange = (value: number) => {
34
+ onTimeChange(value);
35
+ };
36
+ const format: { hour: 'numeric' | '2-digit', minute: 'numeric' | '2-digit' } = {
37
+ hour: 'numeric',
38
+ minute: 'numeric'
39
+ };
40
+
41
+ const endOfTheDayTime = currentDay > 5 || currentDay < 1 ? '17:30:00' : '19:30:00';
42
+ const startOfTheDayTime = currentDay > 5 || currentDay < 1 ? '09:00:00' : '08:30:00';
43
+ const setNewDay = new Date(`${date.toDateString()} ${endOfTheDayTime}`) > date ? 0 : 86400000;
44
+ const interval = 30 * 60 * 1000;
45
+ const roundedTime = new Date(Math.ceil(date / interval) * interval);
46
+ const nextWeekDays = [...Array(7).keys()].map((days, index) => (
47
+ {
48
+ value: index,
49
+ label: new Date(Date.now() + setNewDay + 86400000 * days).toLocaleString(lang, { weekday: 'short', day: 'numeric', month: '2-digit' }).replace(',', ''),
50
+ day: new Date(Date.now() + setNewDay + 86400000 * days).toLocaleString(lang, { weekday: 'short', day: 'numeric', month: '2-digit' }).replace(',', '')
51
+ }
52
+ ));
53
+ const nextWeekDaysFull = [...Array(7).keys()].map(days => new Date(Date.now() + setNewDay + 86400000 * days));
54
+ const currentDayFull = new Date(nextWeekDaysFull[0]).toDateString();
55
+
56
+ const currentTime = new Date(`${currentDayFull} ${new Date().toLocaleTimeString()}`);
57
+ const endOfTheDay = new Date(`${currentDayFull} ${endOfTheDayTime}`);
58
+ const startOfTheDay = new Date(`${currentDayFull} ${startOfTheDayTime}`);
59
+
60
+ const isWorkingHours = () => (endOfTheDay > currentTime) && (startOfTheDay <= currentTime) && currentDay === new Date().getDay();
61
+ const isAfterWorkingHours = () => endOfTheDay < currentTime;
62
+
63
+ const ranges = currentDay > 5 || currentDay < 1 ? 8 : 12;
64
+ const currentDayRanges: { value: number, label: string, time: string }[] = [];
65
+ const dayRanges: { value: number, label: string, time: string }[] = [];
66
+ const ammountRanges = currentDay > 5 || currentDay < 1 ? (ranges - (roundedTime.getHours() - 9)) : (ranges - (roundedTime.getHours() - 8));
67
+
68
+ const startTime = (currentDay > 5) || (currentDay < 1) ? 9 : 8;
69
+
70
+ const getTimeRanges = () => {
71
+ for (let minutes = roundedTime.getMinutes(); minutes < ammountRanges * 60; minutes = minutes + 30) {
72
+ date.setHours(roundedTime.getHours());
73
+ date.setMinutes(minutes);
74
+ const time = date.toLocaleTimeString('de', format);
75
+ const rangeTime = new Date(getHours(time).getTime() + 30 * 60000).toLocaleString('de', format);
76
+ currentDayRanges.push({ time, value: currentDayRanges.length, label: `${time} - ${rangeTime}` });
77
+ } // time ranges for current day and from current time
78
+
79
+ const startOfTheDayMinutes = currentDay > 5 || currentDay < 1 ? 0 : 30; // from monday to friday we need to start from 08:30:00
80
+
81
+ for (let minutes = startOfTheDayMinutes; minutes < ranges * 60; minutes = minutes + 30) {
82
+ date.setHours(startTime);
83
+ date.setMinutes(minutes);
84
+ const time = date.toLocaleTimeString('de', format);
85
+ const rangeTime = new Date(getHours(time).getTime() + 30 * 60000).toLocaleString('de', format);
86
+ dayRanges.push({ time, value: dayRanges.length, label: `${time} - ${rangeTime}` });
87
+ } // time ranges for full day
88
+
89
+ return currentDay === new Date().getDay() && isWorkingHours() ? currentDayRanges : dayRanges;
90
+ };
91
+
92
+ useEffect(
93
+ () => {
94
+ setCurrentDay(new Date(nextWeekDaysFull[day]).getDay());
95
+ if (isAfterWorkingHours() && date.getDay() === 0) {
96
+ setCurrentDay(1);
97
+ }
98
+ onHandleTimestampChange(+new Date(`${new Date(nextWeekDaysFull[day]).toDateString()} ${getTimeRanges()[time].time}`) / 1000);
99
+ },
100
+ [day, time]
101
+ );
102
+
103
+ useEffect(
104
+ () => {
105
+ onHandleTimestampChange(+new Date(`${new Date(nextWeekDaysFull[day]).toDateString()} ${getTimeRanges()[time].time}`) / 1000);
106
+ },
107
+ [currentDay]
108
+ );
109
+
110
+ const getHours = (time: string) => {
111
+ const date = new Date(`${new Date().toDateString()}, ${time}:00`);
112
+ return date;
113
+ };
114
+
115
+ const dayOnchange = (value: number) => {
116
+ onHandleDayChange(value);
117
+ onHandleTimeChange(0);
118
+ };
119
+
120
+ const timeChange = (value: number) => {
121
+ onHandleTimeChange(value);
122
+ };
123
+
124
+ return (
125
+ <div className={`${className} ${styles.wrapper}`}>
126
+ <MaterialSelect
127
+ onChange={(value: any) => dayOnchange(value)}
128
+ label={t('CheckoutPage:onlineCheckoutModal.date')}
129
+ value={day}
130
+ size={size}
131
+ icon='timetable'
132
+ className={styles.dayForm}
133
+ classNameIcon={styles.selectIcon}
134
+ items={nextWeekDays}
135
+ amountOfItems={6}
136
+ customDimensionsIcon
137
+ />
138
+ <MaterialSelect
139
+ onChange={(value: any) => timeChange(value)}
140
+ label={t('CheckoutPage:onlineCheckoutModal.time')}
141
+ value={time}
142
+ size={size}
143
+ icon='clock'
144
+ className={styles.timeForm}
145
+ selectClassName={styles.select}
146
+ classNameIcon={styles.selectIcon}
147
+ items={getTimeRanges()}
148
+ amountOfItems={6}
149
+ customDimensionsIcon
150
+ />
151
+ </div>
152
+ );
153
+ };
154
+
155
+ export default TimePicker;
@@ -1,28 +1,28 @@
1
- import React from 'react';
2
-
3
- import { storiesOf } from '@storybook/react';
4
- import Tooltip from './Tooltip';
5
-
6
-
7
- const description = {
8
- financing: `Bei der Finanzierung zahlen Sie lediglich die Zinsen des Darlehens und einen geringen Tilgungsanteil. Zum Vertragsende können Sie entscheiden, ob Sie den Restbetrag ablösen oder weiter finanzieren wollen.`,
9
- leasing: `Beim Leasing zahlen Sie lediglich die Zinsen des Darlehens und einen geringen Tilgungsanteil. Zum Vertragsende geben Sie das Auto einfach wieder zurück.`,
10
- abo: `Bei diesem Auto-Abo ist bereits alles an Bord. Teil-und Vollkasko sowie Haftpflicht sind inklusive, ebenso wie Wartungs- und Verschleißreparaturen. Sie zahlen also nur Ihre Rate und Kraftstoff.`,
11
- kaufen: `Nach Kaufabschluss haben Sie die sofortigen Eigentumsrechte und keine Finanzierungskosten. Als Eigentümer können Sie Ihr Fahrzeug zueigenen Konditionen weiter verkaufen und Änderungen vornehmen.`,
12
- };
13
-
14
- storiesOf('_Common_UI', module).add('Tooltip', () => (
15
- <div>
16
- <Tooltip description={description.financing} />
17
- <br />
18
- <Tooltip description={description.leasing} positionX='left' />
19
- <br />
20
- <Tooltip description={description.abo} positionX='center' />
21
- <br />
22
- <Tooltip description={description.kaufen} positionY='top' positionX='right' />
23
- <br />
24
- <Tooltip description={description.kaufen} positionY='top' positionX='center' />
25
- <br />
26
- <Tooltip description={description.kaufen} positionY='top' positionX='left' />
27
- </div>
28
- ));
1
+ import React from 'react';
2
+
3
+ import { storiesOf } from '@storybook/react';
4
+ import Tooltip from './Tooltip';
5
+
6
+
7
+ const description = {
8
+ financing: `Bei der Finanzierung zahlen Sie lediglich die Zinsen des Darlehens und einen geringen Tilgungsanteil. Zum Vertragsende können Sie entscheiden, ob Sie den Restbetrag ablösen oder weiter finanzieren wollen.`,
9
+ leasing: `Beim Leasing zahlen Sie lediglich die Zinsen des Darlehens und einen geringen Tilgungsanteil. Zum Vertragsende geben Sie das Auto einfach wieder zurück.`,
10
+ abo: `Bei diesem Auto-Abo ist bereits alles an Bord. Teil-und Vollkasko sowie Haftpflicht sind inklusive, ebenso wie Wartungs- und Verschleißreparaturen. Sie zahlen also nur Ihre Rate und Kraftstoff.`,
11
+ kaufen: `Nach Kaufabschluss haben Sie die sofortigen Eigentumsrechte und keine Finanzierungskosten. Als Eigentümer können Sie Ihr Fahrzeug zueigenen Konditionen weiter verkaufen und Änderungen vornehmen.`,
12
+ };
13
+
14
+ storiesOf('_Common_UI', module).add('Tooltip', () => (
15
+ <div>
16
+ <Tooltip description={description.financing} />
17
+ <br />
18
+ <Tooltip description={description.leasing} positionX='left' />
19
+ <br />
20
+ <Tooltip description={description.abo} positionX='center' />
21
+ <br />
22
+ <Tooltip description={description.kaufen} positionY='top' positionX='right' />
23
+ <br />
24
+ <Tooltip description={description.kaufen} positionY='top' positionX='center' />
25
+ <br />
26
+ <Tooltip description={description.kaufen} positionY='top' positionX='left' />
27
+ </div>
28
+ ));
@@ -1,117 +1,117 @@
1
- @import '../../../theme/mixins.styl'
2
-
3
- // tooltip
4
- .tooltipWrap
5
- position relative;
6
- transform: translateY(-4px);
7
- padding: 0;
8
- border: 0;
9
- cursor: pointer;
10
- background-color: transparent;
11
- text-align: left;
12
- z-index: 2;
13
-
14
- &:hover
15
- [class*='Tooltip__tooltipWrap__icon']
16
- path
17
- fill: #005ccb;
18
- fill-opacity: 1
19
-
20
- &.tooltipWrapIndex
21
- z-index: 3;
22
-
23
- &:focus
24
- outline: 0;
25
-
26
- &__icon
27
- pointer-events: none;
28
- max-width: 11px;
29
-
30
- path
31
- fill: #4C4E64;
32
- fill-opacity: 0.54
33
-
34
- &__block
35
- position absolute;
36
- width: 190px;
37
- box-sizing: border-box;
38
- padding 8px 10px;
39
- background-color #fff;
40
- border-radius: 3px;
41
- font-size: 10.5px;
42
- white-space: normal;
43
- font-weight: normal;
44
- border: 2px solid $skyBlue;
45
-
46
- &_right
47
- right: -38px;
48
-
49
- &::before, &::after
50
- right: 35px;
51
-
52
- &:after
53
- transform: translateX(-3px);
54
-
55
- &_left
56
- left: -38px;
57
-
58
- &::before, &::after
59
- left: 35px;
60
-
61
- &:after
62
- transform: translateX(3px);
63
-
64
- &_center
65
- left: 50%;
66
- transform: translateX(-50%);
67
-
68
- &::before, &::after
69
- left: inherit;
70
- transform: inherit;
71
-
72
- &_top
73
- bottom: 20px;
74
-
75
- &::before, &::after
76
- top: 100%;
77
- transform: rotate(180deg);
78
-
79
- &.tooltipWrap__block_left
80
- &:after
81
- transform: rotate(180deg) translateX(-3px);
82
-
83
- &.tooltipWrap__block_center
84
- &::before, &::after
85
- transform: rotate(180deg) translateX(50%);
86
-
87
- &.tooltipWrap__block_right
88
- &:after
89
- transform: rotate(180deg) translateX(3px);
90
-
91
- &_bottom
92
- top: 20px;
93
-
94
- &::before, &::after
95
- bottom: 100%;
96
-
97
- &::before, &::after
98
- border: solid transparent;
99
- content: '';
100
- height: 0;
101
- width: 0;
102
- position: absolute;
103
- pointer-events: none;
104
-
105
- &::before
106
- border-bottom-color: $skyBlue;
107
- border-top-width: 10px;
108
- border-left-width: 6px;
109
- border-right-width: 6px;
110
- border-bottom-width: 10px;
111
-
112
- &::after
113
- border-bottom-color: #fff;
114
- border-top-width: 7px;
115
- border-left-width: 3px;
116
- border-right-width: 3px;
117
- border-bottom-width: 7px;
1
+ @import '../../../theme/mixins.styl'
2
+
3
+ // tooltip
4
+ .tooltipWrap
5
+ position relative;
6
+ transform: translateY(-4px);
7
+ padding: 0;
8
+ border: 0;
9
+ cursor: pointer;
10
+ background-color: transparent;
11
+ text-align: left;
12
+ z-index: 2;
13
+
14
+ &:hover
15
+ [class*='Tooltip__tooltipWrap__icon']
16
+ path
17
+ fill: #005ccb;
18
+ fill-opacity: 1
19
+
20
+ &.tooltipWrapIndex
21
+ z-index: 3;
22
+
23
+ &:focus
24
+ outline: 0;
25
+
26
+ &__icon
27
+ pointer-events: none;
28
+ max-width: 11px;
29
+
30
+ path
31
+ fill: #4C4E64;
32
+ fill-opacity: 0.54
33
+
34
+ &__block
35
+ position absolute;
36
+ width: 190px;
37
+ box-sizing: border-box;
38
+ padding 8px 10px;
39
+ background-color #fff;
40
+ border-radius: 3px;
41
+ font-size: 10.5px;
42
+ white-space: normal;
43
+ font-weight: normal;
44
+ border: 2px solid $skyBlue;
45
+
46
+ &_right
47
+ right: -38px;
48
+
49
+ &::before, &::after
50
+ right: 35px;
51
+
52
+ &:after
53
+ transform: translateX(-3px);
54
+
55
+ &_left
56
+ left: -38px;
57
+
58
+ &::before, &::after
59
+ left: 35px;
60
+
61
+ &:after
62
+ transform: translateX(3px);
63
+
64
+ &_center
65
+ left: 50%;
66
+ transform: translateX(-50%);
67
+
68
+ &::before, &::after
69
+ left: inherit;
70
+ transform: inherit;
71
+
72
+ &_top
73
+ bottom: 20px;
74
+
75
+ &::before, &::after
76
+ top: 100%;
77
+ transform: rotate(180deg);
78
+
79
+ &.tooltipWrap__block_left
80
+ &:after
81
+ transform: rotate(180deg) translateX(-3px);
82
+
83
+ &.tooltipWrap__block_center
84
+ &::before, &::after
85
+ transform: rotate(180deg) translateX(50%);
86
+
87
+ &.tooltipWrap__block_right
88
+ &:after
89
+ transform: rotate(180deg) translateX(3px);
90
+
91
+ &_bottom
92
+ top: 20px;
93
+
94
+ &::before, &::after
95
+ bottom: 100%;
96
+
97
+ &::before, &::after
98
+ border: solid transparent;
99
+ content: '';
100
+ height: 0;
101
+ width: 0;
102
+ position: absolute;
103
+ pointer-events: none;
104
+
105
+ &::before
106
+ border-bottom-color: $skyBlue;
107
+ border-top-width: 10px;
108
+ border-left-width: 6px;
109
+ border-right-width: 6px;
110
+ border-bottom-width: 10px;
111
+
112
+ &::after
113
+ border-bottom-color: #fff;
114
+ border-top-width: 7px;
115
+ border-left-width: 3px;
116
+ border-right-width: 3px;
117
+ border-bottom-width: 7px;