@kvdbil/components 3.3.5-2 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (680) hide show
  1. package/{types/ColorCard.d.ts → ColorCard.d.ts} +0 -0
  2. package/{types/ElevationCard.d.ts → ElevationCard.d.ts} +0 -0
  3. package/{types/Interfaces.d.ts → Interfaces.d.ts} +0 -0
  4. package/{types/Types.d.ts → Types.d.ts} +0 -0
  5. package/{types/components → components}/Accordion/index.d.ts +0 -0
  6. package/{types/components → components}/Badge/index.d.ts +0 -0
  7. package/{types/components → components}/Button/index.d.ts +0 -0
  8. package/{types/components → components}/Card/index.d.ts +0 -0
  9. package/{types/components → components}/CheckBox/index.d.ts +0 -0
  10. package/{types/components → components}/Chip/index.d.ts +0 -0
  11. package/{types/components → components}/DayPicker/DayPickerNavBar.d.ts +0 -0
  12. package/{types/components → components}/DayPicker/index.d.ts +0 -0
  13. package/{types/components → components}/DayPicker/localeUtils.d.ts +0 -0
  14. package/{types/components → components}/Dialog/index.d.ts +0 -0
  15. package/{types/components → components}/ErrorMessage/index.d.ts +0 -0
  16. package/{types/components → components}/FieldLabel.d.ts +1 -1
  17. package/{types/components → components}/Header/Hamburger.d.ts +0 -0
  18. package/{types/components → components}/Header/Link.d.ts +0 -0
  19. package/{types/components → components}/Header/index.d.ts +0 -0
  20. package/{types/components → components}/Hero/index.d.ts +0 -0
  21. package/{types/components → components}/Icon/index.d.ts +0 -0
  22. package/{types/components → components}/IconButton.d.ts +0 -0
  23. package/{types/components → components}/Icons/Arrow.d.ts +0 -0
  24. package/{types/components → components}/Icons/CheckCircle.d.ts +0 -0
  25. package/{types/components → components}/Icons/CheckIcon.d.ts +0 -0
  26. package/{types/components → components}/Icons/Close.d.ts +0 -0
  27. package/{types/components → components}/Icons/ErrorCircle.d.ts +0 -0
  28. package/{types/components → components}/Icons/InfoCircle.d.ts +0 -0
  29. package/{types/components → components}/InlineStepper/Step.d.ts +0 -0
  30. package/{types/components → components}/InlineStepper/StepCircle.d.ts +0 -0
  31. package/{types/components → components}/InlineStepper/index.d.ts +0 -0
  32. package/{types/components → components}/ListItem/Bacon.d.ts +0 -0
  33. package/{types/components → components}/ListItem/index.d.ts +0 -0
  34. package/{types/components → components}/Logo/LogoEn.d.ts +0 -0
  35. package/{types/components → components}/Logo/LogoSv.d.ts +0 -0
  36. package/{types/components → components}/Logo/index.d.ts +0 -0
  37. package/{types/components → components}/MenuItem/index.d.ts +0 -0
  38. package/{types/components → components}/Modal/index.d.ts +0 -0
  39. package/{types/components → components}/NotificationButton/index.d.ts +0 -0
  40. package/{types/components → components}/OffCanvas/Overlay.d.ts +0 -0
  41. package/{types/components → components}/OffCanvas/index.d.ts +0 -0
  42. package/{types/components → components}/OffCanvas/useClickOutside.d.ts +0 -0
  43. package/{types/components → components}/RadioButton/index.d.ts +0 -0
  44. package/{types/components → components}/Range/index.d.ts +0 -0
  45. package/{types/components → components}/Select/index.d.ts +9 -8
  46. package/{types/components → components}/Snackbar/index.d.ts +0 -0
  47. package/{types/components → components}/Spinner/index.d.ts +0 -0
  48. package/{types/components → components}/Stepper/index.d.ts +0 -0
  49. package/{types/components → components}/StepperAccordion/index.d.ts +0 -0
  50. package/{types/components → components}/Tabs/index.d.ts +0 -0
  51. package/{types/components → components}/TextArea/index.d.ts +0 -0
  52. package/{types/components → components}/Textfield/index.d.ts +0 -0
  53. package/{types/components → components}/TimePicker/index.d.ts +0 -0
  54. package/{types/components → components}/TimePicker/testHelper.d.ts +0 -0
  55. package/{types/components → components}/Toggle/index.d.ts +0 -0
  56. package/{types/icons → icons}/components/AccountCreateIcon.d.ts +0 -0
  57. package/{types/icons → icons}/components/AccountIcon.d.ts +0 -0
  58. package/{types/icons → icons}/components/AccountLoginIcon.d.ts +0 -0
  59. package/{types/icons → icons}/components/ArrowDownIcon.d.ts +0 -0
  60. package/{types/icons → icons}/components/ArrowLeftIcon.d.ts +0 -0
  61. package/{types/icons → icons}/components/ArrowLeftSharpIcon.d.ts +0 -0
  62. package/{types/icons → icons}/components/ArrowLeftSmallIcon.d.ts +0 -0
  63. package/{types/icons → icons}/components/ArrowLong.d.ts +0 -0
  64. package/{types/icons → icons}/components/ArrowRestartIcon.d.ts +0 -0
  65. package/{types/icons → icons}/components/ArrowRightIcon.d.ts +0 -0
  66. package/{types/icons → icons}/components/ArrowRightSharpIcon.d.ts +0 -0
  67. package/{types/icons → icons}/components/ArrowUpIcon.d.ts +0 -0
  68. package/{types/icons → icons}/components/AuctionIcon.d.ts +0 -0
  69. package/{types/icons → icons}/components/BackArrowIcon.d.ts +0 -0
  70. package/{types/icons → icons}/components/Baseline360Icon.d.ts +0 -0
  71. package/{types/icons → icons}/components/BellIcon.d.ts +0 -0
  72. package/{types/icons → icons}/components/BidIcon.d.ts +0 -0
  73. package/{types/icons → icons}/components/BidKrIcon.d.ts +0 -0
  74. package/{types/icons → icons}/components/BreaksIcon.d.ts +0 -0
  75. package/{types/icons → icons}/components/BuyCarIcon.d.ts +0 -0
  76. package/{types/icons → icons}/components/CabIcon.d.ts +0 -0
  77. package/{types/icons → icons}/components/CalendarIcon.d.ts +0 -0
  78. package/{types/icons → icons}/components/CameraIcon.d.ts +0 -0
  79. package/{types/icons → icons}/components/Car360Icon.d.ts +0 -0
  80. package/{types/icons → icons}/components/CarFrontIcon.d.ts +0 -0
  81. package/{types/icons → icons}/components/CarSearchIcon.d.ts +0 -0
  82. package/{types/icons → icons}/components/CarSideIcon.d.ts +0 -0
  83. package/{types/icons → icons}/components/CarTiresIcon.d.ts +0 -0
  84. package/{types/icons → icons}/components/CaravanIcon.d.ts +0 -0
  85. package/{types/icons → icons}/components/CardViewIcon.d.ts +0 -0
  86. package/{types/icons → icons}/components/CarloanIcon.d.ts +0 -0
  87. package/{types/icons → icons}/components/CertifiedIcon.d.ts +0 -0
  88. package/{types/icons → icons}/components/ChatIcon.d.ts +0 -0
  89. package/{types/icons → icons}/components/CheckIcon.d.ts +0 -0
  90. package/{types/icons → icons}/components/CheckThinIcon.d.ts +0 -0
  91. package/{types/icons → icons}/components/CheckmarkFilledIcon.d.ts +0 -0
  92. package/{types/icons → icons}/components/CheckmarkIcon.d.ts +0 -0
  93. package/{types/icons → icons}/components/ClipboardFilledIcon.d.ts +0 -0
  94. package/{types/icons → icons}/components/ClipboardIcon.d.ts +0 -0
  95. package/{types/icons → icons}/components/ClockFilledIcon.d.ts +0 -0
  96. package/{types/icons → icons}/components/ClockIcon.d.ts +0 -0
  97. package/{types/icons → icons}/components/CloseIcon.d.ts +0 -0
  98. package/{types/icons → icons}/components/CloseThinIcon.d.ts +0 -0
  99. package/{types/icons → icons}/components/CoffeeIcon.d.ts +0 -0
  100. package/{types/icons → icons}/components/CombiIcon.d.ts +0 -0
  101. package/{types/icons → icons}/components/CommentCircleFilledIcon.d.ts +0 -0
  102. package/{types/icons → icons}/components/CommentCircleIconIcon.d.ts +0 -0
  103. package/{types/icons → icons}/components/CommentIcon.d.ts +0 -0
  104. package/{types/icons → icons}/components/ContactIcon.d.ts +0 -0
  105. package/{types/icons → icons}/components/CoupeIcon.d.ts +0 -0
  106. package/{types/icons → icons}/components/CreditCardIcon.d.ts +0 -0
  107. package/{types/icons → icons}/components/CrossCircleIcon.d.ts +0 -0
  108. package/{types/icons → icons}/components/CrownIcon.d.ts +0 -0
  109. package/{types/icons → icons}/components/DealmakerIcon.d.ts +0 -0
  110. package/{types/icons → icons}/components/DeliveryIcon.d.ts +0 -0
  111. package/{types/icons → icons}/components/DetailedSearchIcon.d.ts +0 -0
  112. package/{types/icons → icons}/components/EcoFriendlyIcon.d.ts +0 -0
  113. package/{types/icons → icons}/components/EditIcon.d.ts +0 -0
  114. package/{types/icons → icons}/components/EngineIcon.d.ts +0 -0
  115. package/{types/icons → icons}/components/EnglandFlagIcon.d.ts +0 -0
  116. package/{types/icons → icons}/components/EvaluationIcon.d.ts +0 -0
  117. package/{types/icons → icons}/components/ExaminationMarkFilledIcon.d.ts +0 -0
  118. package/{types/icons → icons}/components/ExaminationMarkIcon.d.ts +0 -0
  119. package/{types/icons → icons}/components/ExteriorIcon.d.ts +0 -0
  120. package/{types/icons → icons}/components/EyeIcon.d.ts +0 -0
  121. package/{types/icons → icons}/components/FacebookBtnIcon.d.ts +0 -0
  122. package/{types/icons → icons}/components/FacebookIcon.d.ts +0 -0
  123. package/{types/icons → icons}/components/FatalIcon.d.ts +0 -0
  124. package/{types/icons → icons}/components/FavouriteIcon.d.ts +0 -0
  125. package/{types/icons → icons}/components/FavouriteSolidIcon.d.ts +0 -0
  126. package/{types/icons → icons}/components/FilterIcon.d.ts +0 -0
  127. package/{types/icons → icons}/components/FinanceIcon.d.ts +0 -0
  128. package/{types/icons → icons}/components/FindCarIcon.d.ts +0 -0
  129. package/{types/icons → icons}/components/FixedMonthlyCostIcon.d.ts +0 -0
  130. package/{types/icons → icons}/components/FlagIcon.d.ts +0 -0
  131. package/{types/icons → icons}/components/FlexibilityIcon.d.ts +0 -0
  132. package/{types/icons → icons}/components/ForumLargeIcon.d.ts +0 -0
  133. package/{types/icons → icons}/components/ForumSmallIcon.d.ts +0 -0
  134. package/{types/icons → icons}/components/GavelIcon.d.ts +0 -0
  135. package/{types/icons → icons}/components/GearboxIcon.d.ts +0 -0
  136. package/{types/icons → icons}/components/GiftIcon.d.ts +0 -0
  137. package/{types/icons → icons}/components/GridViewIcon.d.ts +0 -0
  138. package/{types/icons → icons}/components/GroupIcon.d.ts +0 -0
  139. package/{types/icons → icons}/components/GuaranteeIcon.d.ts +0 -0
  140. package/{types/icons → icons}/components/GuaranteeLargeIcon.d.ts +0 -0
  141. package/{types/icons → icons}/components/GuaranteeSmallIcon.d.ts +0 -0
  142. package/{types/icons → icons}/components/HalfCombiIcon.d.ts +0 -0
  143. package/{types/icons → icons}/components/HamburgerIcon.d.ts +0 -0
  144. package/{types/icons → icons}/components/HandshakeIcon.d.ts +0 -0
  145. package/{types/icons → icons}/components/HelpingHandIcon.d.ts +0 -0
  146. package/{types/icons → icons}/components/IdIcon.d.ts +0 -0
  147. package/{types/icons → icons}/components/InformationIcon.d.ts +0 -0
  148. package/{types/icons → icons}/components/InstagramIcon.d.ts +0 -0
  149. package/{types/icons → icons}/components/InsuranceIcon.d.ts +0 -0
  150. package/{types/icons → icons}/components/InteriorIcon.d.ts +0 -0
  151. package/{types/icons → icons}/components/InteriorThinIcon.d.ts +0 -0
  152. package/{types/icons → icons}/components/InternationalIcon.d.ts +0 -0
  153. package/{types/icons → icons}/components/KvdTestIcon.d.ts +0 -0
  154. package/{types/icons → icons}/components/KvdVenueIcon.d.ts +0 -0
  155. package/{types/icons → icons}/components/LifebuoyIcon.d.ts +0 -0
  156. package/{types/icons → icons}/components/LiftTruckIcon.d.ts +0 -0
  157. package/{types/icons → icons}/components/LinkedInIcon.d.ts +0 -0
  158. package/{types/icons → icons}/components/ListViewIcon.d.ts +0 -0
  159. package/{types/icons → icons}/components/MailIcon.d.ts +0 -0
  160. package/{types/icons → icons}/components/MinibusIcon.d.ts +0 -0
  161. package/{types/icons → icons}/components/MinivanIcon.d.ts +0 -0
  162. package/{types/icons → icons}/components/MobileIcon.d.ts +0 -0
  163. package/{types/icons → icons}/components/MotorcycleIcon.d.ts +0 -0
  164. package/{types/icons → icons}/components/MrfLogoIcon.d.ts +0 -0
  165. package/{types/icons → icons}/components/NotFoundIcon.d.ts +0 -0
  166. package/{types/icons → icons}/components/OverbidIcon.d.ts +0 -0
  167. package/{types/icons → icons}/components/PdfIconIcon.d.ts +0 -0
  168. package/{types/icons → icons}/components/PhoneIcon.d.ts +0 -0
  169. package/{types/icons → icons}/components/PickUpIcon.d.ts +0 -0
  170. package/{types/icons → icons}/components/PinIcon.d.ts +0 -0
  171. package/{types/icons → icons}/components/PlayIcon.d.ts +0 -0
  172. package/{types/icons → icons}/components/Pricetag.d.ts +0 -0
  173. package/{types/icons → icons}/components/PricetagFilledKronaIcon.d.ts +0 -0
  174. package/{types/icons → icons}/components/PrivateCarIcon.d.ts +0 -0
  175. package/{types/icons → icons}/components/ProfileCircleIcon.d.ts +0 -0
  176. package/{types/icons → icons}/components/ProfileIcon.d.ts +0 -0
  177. package/{types/icons → icons}/components/RadioIcon.d.ts +0 -0
  178. package/{types/icons → icons}/components/ReclamationIcon.d.ts +0 -0
  179. package/{types/icons → icons}/components/ReleasingIcon.d.ts +0 -0
  180. package/{types/icons → icons}/components/RemoveFilterIcon.d.ts +0 -0
  181. package/{types/icons → icons}/components/ReservedPriceIcon.d.ts +0 -0
  182. package/{types/icons → icons}/components/ResultIcon.d.ts +0 -0
  183. package/{types/icons → icons}/components/SafePaymentIcon.d.ts +0 -0
  184. package/{types/icons → icons}/components/SaleTagIcon.d.ts +0 -0
  185. package/{types/icons → icons}/components/SearchCheckIcon.d.ts +0 -0
  186. package/{types/icons → icons}/components/SearchIcon.d.ts +0 -0
  187. package/{types/icons → icons}/components/SedanIcon.d.ts +0 -0
  188. package/{types/icons → icons}/components/SellCarIcon.d.ts +0 -0
  189. package/{types/icons → icons}/components/SellCarsIcon.d.ts +0 -0
  190. package/{types/icons → icons}/components/ServiceIcon.d.ts +0 -0
  191. package/{types/icons → icons}/components/ShareIcon.d.ts +0 -0
  192. package/{types/icons → icons}/components/ShieldIcon.d.ts +0 -0
  193. package/{types/icons → icons}/components/SignInIcon.d.ts +0 -0
  194. package/{types/icons → icons}/components/SignOutIcon.d.ts +0 -0
  195. package/{types/icons → icons}/components/SpeedMeterIcon.d.ts +0 -0
  196. package/{types/icons → icons}/components/StarCircleIcon.d.ts +0 -0
  197. package/{types/icons → icons}/components/StartIcon.d.ts +0 -0
  198. package/{types/icons → icons}/components/StoreIcon.d.ts +0 -0
  199. package/{types/icons → icons}/components/SuvIcon.d.ts +0 -0
  200. package/{types/icons → icons}/components/SwedenFlag.d.ts +0 -0
  201. package/{types/icons → icons}/components/TankIcon.d.ts +0 -0
  202. package/{types/icons → icons}/components/TireIcon.d.ts +0 -0
  203. package/{types/icons → icons}/components/TransportIcon.d.ts +0 -0
  204. package/{types/icons → icons}/components/TrashcanIcon.d.ts +0 -0
  205. package/{types/icons → icons}/components/TrophyIcon.d.ts +0 -0
  206. package/{types/icons → icons}/components/TruckIcon.d.ts +0 -0
  207. package/{types/icons → icons}/components/UmbrellaIcon.d.ts +0 -0
  208. package/{types/icons → icons}/components/ValuationIcon.d.ts +0 -0
  209. package/{types/icons → icons}/components/ValueIcon.d.ts +0 -0
  210. package/{types/icons → icons}/components/WarningIcon.d.ts +0 -0
  211. package/{types/icons → icons}/components/YoutubeIcon.d.ts +0 -0
  212. package/{types/icons → icons}/components/index.d.ts +0 -0
  213. package/{types/index.d.ts → index.d.ts} +0 -0
  214. package/kvdbil-components.css +224 -0
  215. package/kvdbil-components.js +1486 -0
  216. package/kvdbil-components.js.map +1 -0
  217. package/package.json +10 -14
  218. package/{types/setupTests.d.ts → setupTests.d.ts} +0 -0
  219. package/{types/shared → shared}/constants.d.ts +0 -0
  220. package/{types/shared → shared}/helpers.d.ts +0 -0
  221. package/{types/shared → shared}/media-queries.d.ts +0 -0
  222. package/{types/testUtils.d.ts → testUtils.d.ts} +0 -0
  223. package/{types/theme.d.ts → theme.d.ts} +0 -0
  224. package/{types/typography → typography}/BodyText/index.d.ts +0 -0
  225. package/{types/typography → typography}/ButtonText/index.d.ts +0 -0
  226. package/{types/typography → typography}/Heading/index.d.ts +0 -0
  227. package/{types/utils → utils}/utils.d.ts +0 -0
  228. package/cjs/ColorCard.js +0 -48
  229. package/cjs/ElevationCard.js +0 -35
  230. package/cjs/Interfaces.js +0 -2
  231. package/cjs/Types.js +0 -2
  232. package/cjs/components/Accordion/index.js +0 -124
  233. package/cjs/components/Badge/index.js +0 -78
  234. package/cjs/components/Button/index.js +0 -170
  235. package/cjs/components/Card/index.js +0 -28
  236. package/cjs/components/CheckBox/index.js +0 -109
  237. package/cjs/components/Chip/index.js +0 -99
  238. package/cjs/components/DayPicker/DayPickerNavBar.js +0 -60
  239. package/cjs/components/DayPicker/index.js +0 -76
  240. package/cjs/components/DayPicker/localeUtils.js +0 -60
  241. package/cjs/components/Dialog/index.js +0 -88
  242. package/cjs/components/ErrorMessage/index.js +0 -31
  243. package/cjs/components/FieldLabel.js +0 -59
  244. package/cjs/components/Header/Hamburger.js +0 -55
  245. package/cjs/components/Header/Link.js +0 -53
  246. package/cjs/components/Header/index.js +0 -118
  247. package/cjs/components/Hero/index.js +0 -65
  248. package/cjs/components/Icon/index.js +0 -115
  249. package/cjs/components/IconButton.js +0 -130
  250. package/cjs/components/Icons/Arrow.js +0 -16
  251. package/cjs/components/Icons/CheckCircle.js +0 -16
  252. package/cjs/components/Icons/CheckIcon.js +0 -16
  253. package/cjs/components/Icons/Close.js +0 -16
  254. package/cjs/components/Icons/ErrorCircle.js +0 -16
  255. package/cjs/components/Icons/InfoCircle.js +0 -16
  256. package/cjs/components/InlineStepper/Step.js +0 -116
  257. package/cjs/components/InlineStepper/StepCircle.js +0 -93
  258. package/cjs/components/InlineStepper/index.js +0 -51
  259. package/cjs/components/ListItem/Bacon.js +0 -16
  260. package/cjs/components/ListItem/index.js +0 -56
  261. package/cjs/components/Logo/LogoEn.js +0 -35
  262. package/cjs/components/Logo/LogoSv.js +0 -35
  263. package/cjs/components/Logo/index.js +0 -32
  264. package/cjs/components/MenuItem/index.js +0 -99
  265. package/cjs/components/Modal/index.js +0 -137
  266. package/cjs/components/NotificationButton/index.js +0 -39
  267. package/cjs/components/OffCanvas/Overlay.js +0 -70
  268. package/cjs/components/OffCanvas/index.js +0 -133
  269. package/cjs/components/OffCanvas/useClickOutside.js +0 -21
  270. package/cjs/components/RadioButton/index.js +0 -148
  271. package/cjs/components/Range/index.js +0 -82
  272. package/cjs/components/Select/components/test-icon.js +0 -16
  273. package/cjs/components/Select/index.js +0 -225
  274. package/cjs/components/Snackbar/index.js +0 -155
  275. package/cjs/components/Spinner/index.js +0 -68
  276. package/cjs/components/Stepper/index.js +0 -60
  277. package/cjs/components/StepperAccordion/index.js +0 -133
  278. package/cjs/components/Tabs/index.js +0 -71
  279. package/cjs/components/TextArea/index.js +0 -120
  280. package/cjs/components/Textfield/index.js +0 -130
  281. package/cjs/components/TimePicker/index.js +0 -49
  282. package/cjs/components/TimePicker/testHelper.js +0 -16
  283. package/cjs/components/Toggle/index.js +0 -83
  284. package/cjs/icons/components/AccountCreateIcon.js +0 -48
  285. package/cjs/icons/components/AccountIcon.js +0 -44
  286. package/cjs/icons/components/AccountLoginIcon.js +0 -50
  287. package/cjs/icons/components/ArrowDownIcon.js +0 -44
  288. package/cjs/icons/components/ArrowLeftIcon.js +0 -42
  289. package/cjs/icons/components/ArrowLeftSharpIcon.js +0 -44
  290. package/cjs/icons/components/ArrowLeftSmallIcon.js +0 -44
  291. package/cjs/icons/components/ArrowLong.js +0 -45
  292. package/cjs/icons/components/ArrowRestartIcon.js +0 -44
  293. package/cjs/icons/components/ArrowRightIcon.js +0 -42
  294. package/cjs/icons/components/ArrowRightSharpIcon.js +0 -44
  295. package/cjs/icons/components/ArrowUpIcon.js +0 -44
  296. package/cjs/icons/components/AuctionIcon.js +0 -42
  297. package/cjs/icons/components/BackArrowIcon.js +0 -42
  298. package/cjs/icons/components/Baseline360Icon.js +0 -45
  299. package/cjs/icons/components/BellIcon.js +0 -42
  300. package/cjs/icons/components/BidIcon.js +0 -42
  301. package/cjs/icons/components/BidKrIcon.js +0 -48
  302. package/cjs/icons/components/BreaksIcon.js +0 -42
  303. package/cjs/icons/components/BuyCarIcon.js +0 -42
  304. package/cjs/icons/components/CabIcon.js +0 -44
  305. package/cjs/icons/components/CalendarIcon.js +0 -51
  306. package/cjs/icons/components/CameraIcon.js +0 -42
  307. package/cjs/icons/components/Car360Icon.js +0 -67
  308. package/cjs/icons/components/CarFrontIcon.js +0 -42
  309. package/cjs/icons/components/CarSearchIcon.js +0 -42
  310. package/cjs/icons/components/CarSideIcon.js +0 -42
  311. package/cjs/icons/components/CarTiresIcon.js +0 -42
  312. package/cjs/icons/components/CaravanIcon.js +0 -42
  313. package/cjs/icons/components/CardViewIcon.js +0 -68
  314. package/cjs/icons/components/CarloanIcon.js +0 -44
  315. package/cjs/icons/components/CertifiedIcon.js +0 -52
  316. package/cjs/icons/components/ChatIcon.js +0 -43
  317. package/cjs/icons/components/CheckIcon.js +0 -43
  318. package/cjs/icons/components/CheckThinIcon.js +0 -43
  319. package/cjs/icons/components/CheckmarkFilledIcon.js +0 -42
  320. package/cjs/icons/components/CheckmarkIcon.js +0 -42
  321. package/cjs/icons/components/ClipboardFilledIcon.js +0 -42
  322. package/cjs/icons/components/ClipboardIcon.js +0 -42
  323. package/cjs/icons/components/ClockFilledIcon.js +0 -44
  324. package/cjs/icons/components/ClockIcon.js +0 -43
  325. package/cjs/icons/components/CloseIcon.js +0 -43
  326. package/cjs/icons/components/CloseThinIcon.js +0 -44
  327. package/cjs/icons/components/CoffeeIcon.js +0 -43
  328. package/cjs/icons/components/CombiIcon.js +0 -44
  329. package/cjs/icons/components/CommentCircleFilledIcon.js +0 -48
  330. package/cjs/icons/components/CommentCircleIconIcon.js +0 -46
  331. package/cjs/icons/components/CommentIcon.js +0 -46
  332. package/cjs/icons/components/ContactIcon.js +0 -46
  333. package/cjs/icons/components/CoupeIcon.js +0 -44
  334. package/cjs/icons/components/CreditCardIcon.js +0 -43
  335. package/cjs/icons/components/CrossCircleIcon.js +0 -42
  336. package/cjs/icons/components/CrownIcon.js +0 -43
  337. package/cjs/icons/components/DealmakerIcon.js +0 -48
  338. package/cjs/icons/components/DeliveryIcon.js +0 -51
  339. package/cjs/icons/components/DetailedSearchIcon.js +0 -43
  340. package/cjs/icons/components/EcoFriendlyIcon.js +0 -46
  341. package/cjs/icons/components/EditIcon.js +0 -43
  342. package/cjs/icons/components/EngineIcon.js +0 -42
  343. package/cjs/icons/components/EnglandFlagIcon.js +0 -60
  344. package/cjs/icons/components/EvaluationIcon.js +0 -46
  345. package/cjs/icons/components/ExaminationMarkFilledIcon.js +0 -42
  346. package/cjs/icons/components/ExaminationMarkIcon.js +0 -42
  347. package/cjs/icons/components/ExteriorIcon.js +0 -42
  348. package/cjs/icons/components/EyeIcon.js +0 -48
  349. package/cjs/icons/components/FacebookBtnIcon.js +0 -42
  350. package/cjs/icons/components/FacebookIcon.js +0 -44
  351. package/cjs/icons/components/FatalIcon.js +0 -44
  352. package/cjs/icons/components/FavouriteIcon.js +0 -42
  353. package/cjs/icons/components/FavouriteSolidIcon.js +0 -42
  354. package/cjs/icons/components/FilterIcon.js +0 -44
  355. package/cjs/icons/components/FinanceIcon.js +0 -42
  356. package/cjs/icons/components/FindCarIcon.js +0 -42
  357. package/cjs/icons/components/FixedMonthlyCostIcon.js +0 -48
  358. package/cjs/icons/components/FlagIcon.js +0 -42
  359. package/cjs/icons/components/FlexibilityIcon.js +0 -48
  360. package/cjs/icons/components/ForumLargeIcon.js +0 -42
  361. package/cjs/icons/components/ForumSmallIcon.js +0 -42
  362. package/cjs/icons/components/GavelIcon.js +0 -44
  363. package/cjs/icons/components/GearboxIcon.js +0 -44
  364. package/cjs/icons/components/GiftIcon.js +0 -58
  365. package/cjs/icons/components/GridViewIcon.js +0 -42
  366. package/cjs/icons/components/GroupIcon.js +0 -79
  367. package/cjs/icons/components/GuaranteeIcon.js +0 -42
  368. package/cjs/icons/components/GuaranteeLargeIcon.js +0 -42
  369. package/cjs/icons/components/GuaranteeSmallIcon.js +0 -42
  370. package/cjs/icons/components/HalfCombiIcon.js +0 -44
  371. package/cjs/icons/components/HamburgerIcon.js +0 -42
  372. package/cjs/icons/components/HandshakeIcon.js +0 -42
  373. package/cjs/icons/components/HelpingHandIcon.js +0 -60
  374. package/cjs/icons/components/IdIcon.js +0 -45
  375. package/cjs/icons/components/InformationIcon.js +0 -42
  376. package/cjs/icons/components/InstagramIcon.js +0 -49
  377. package/cjs/icons/components/InsuranceIcon.js +0 -42
  378. package/cjs/icons/components/InteriorIcon.js +0 -44
  379. package/cjs/icons/components/InteriorThinIcon.js +0 -44
  380. package/cjs/icons/components/InternationalIcon.js +0 -50
  381. package/cjs/icons/components/KvdTestIcon.js +0 -42
  382. package/cjs/icons/components/KvdVenueIcon.js +0 -42
  383. package/cjs/icons/components/LifebuoyIcon.js +0 -42
  384. package/cjs/icons/components/LiftTruckIcon.js +0 -42
  385. package/cjs/icons/components/LinkedInIcon.js +0 -42
  386. package/cjs/icons/components/ListViewIcon.js +0 -64
  387. package/cjs/icons/components/MailIcon.js +0 -44
  388. package/cjs/icons/components/MinibusIcon.js +0 -44
  389. package/cjs/icons/components/MinivanIcon.js +0 -45
  390. package/cjs/icons/components/MobileIcon.js +0 -52
  391. package/cjs/icons/components/MotorcycleIcon.js +0 -74
  392. package/cjs/icons/components/MrfLogoIcon.js +0 -53
  393. package/cjs/icons/components/NotFoundIcon.js +0 -42
  394. package/cjs/icons/components/OverbidIcon.js +0 -44
  395. package/cjs/icons/components/PdfIconIcon.js +0 -42
  396. package/cjs/icons/components/PhoneIcon.js +0 -44
  397. package/cjs/icons/components/PickUpIcon.js +0 -42
  398. package/cjs/icons/components/PinIcon.js +0 -42
  399. package/cjs/icons/components/PlayIcon.js +0 -42
  400. package/cjs/icons/components/Pricetag.js +0 -51
  401. package/cjs/icons/components/PricetagFilledKronaIcon.js +0 -47
  402. package/cjs/icons/components/PrivateCarIcon.js +0 -42
  403. package/cjs/icons/components/ProfileCircleIcon.js +0 -42
  404. package/cjs/icons/components/ProfileIcon.js +0 -42
  405. package/cjs/icons/components/RadioIcon.js +0 -54
  406. package/cjs/icons/components/ReclamationIcon.js +0 -42
  407. package/cjs/icons/components/ReleasingIcon.js +0 -48
  408. package/cjs/icons/components/RemoveFilterIcon.js +0 -42
  409. package/cjs/icons/components/ReservedPriceIcon.js +0 -42
  410. package/cjs/icons/components/ResultIcon.js +0 -42
  411. package/cjs/icons/components/SafePaymentIcon.js +0 -42
  412. package/cjs/icons/components/SaleTagIcon.js +0 -42
  413. package/cjs/icons/components/SearchCheckIcon.js +0 -48
  414. package/cjs/icons/components/SearchIcon.js +0 -42
  415. package/cjs/icons/components/SedanIcon.js +0 -44
  416. package/cjs/icons/components/SellCarIcon.js +0 -42
  417. package/cjs/icons/components/SellCarsIcon.js +0 -42
  418. package/cjs/icons/components/ServiceIcon.js +0 -47
  419. package/cjs/icons/components/ShareIcon.js +0 -68
  420. package/cjs/icons/components/ShieldIcon.js +0 -42
  421. package/cjs/icons/components/SignInIcon.js +0 -42
  422. package/cjs/icons/components/SignOutIcon.js +0 -42
  423. package/cjs/icons/components/SpeedMeterIcon.js +0 -44
  424. package/cjs/icons/components/StarCircleIcon.js +0 -42
  425. package/cjs/icons/components/StartIcon.js +0 -50
  426. package/cjs/icons/components/StoreIcon.js +0 -42
  427. package/cjs/icons/components/SuvIcon.js +0 -44
  428. package/cjs/icons/components/SwedenFlag.js +0 -50
  429. package/cjs/icons/components/TankIcon.js +0 -52
  430. package/cjs/icons/components/TireIcon.js +0 -42
  431. package/cjs/icons/components/TransportIcon.js +0 -42
  432. package/cjs/icons/components/TrashcanIcon.js +0 -42
  433. package/cjs/icons/components/TrophyIcon.js +0 -42
  434. package/cjs/icons/components/TruckIcon.js +0 -42
  435. package/cjs/icons/components/UmbrellaIcon.js +0 -42
  436. package/cjs/icons/components/ValuationIcon.js +0 -42
  437. package/cjs/icons/components/ValueIcon.js +0 -47
  438. package/cjs/icons/components/WarningIcon.js +0 -42
  439. package/cjs/icons/components/YoutubeIcon.js +0 -42
  440. package/cjs/icons/components/index.js +0 -320
  441. package/cjs/index.js +0 -438
  442. package/cjs/react-app-env.d.js +0 -2
  443. package/cjs/shared/constants.js +0 -7
  444. package/cjs/shared/helpers.js +0 -28
  445. package/cjs/shared/helpers.spec.js +0 -36
  446. package/cjs/shared/media-queries.js +0 -41
  447. package/cjs/styled.d.js +0 -4
  448. package/cjs/theme.js +0 -125
  449. package/cjs/typography/BodyText/index.js +0 -66
  450. package/cjs/typography/ButtonText/index.js +0 -48
  451. package/cjs/typography/Heading/index.js +0 -92
  452. package/cjs/utils/utils.js +0 -33
  453. package/esm/ColorCard.js +0 -40
  454. package/esm/ElevationCard.js +0 -27
  455. package/esm/Interfaces.js +0 -1
  456. package/esm/Types.js +0 -1
  457. package/esm/components/Accordion/index.js +0 -115
  458. package/esm/components/Badge/index.js +0 -69
  459. package/esm/components/Button/index.js +0 -161
  460. package/esm/components/Card/index.js +0 -19
  461. package/esm/components/CheckBox/index.js +0 -100
  462. package/esm/components/Chip/index.js +0 -90
  463. package/esm/components/DayPicker/DayPickerNavBar.js +0 -52
  464. package/esm/components/DayPicker/index.js +0 -66
  465. package/esm/components/DayPicker/localeUtils.js +0 -52
  466. package/esm/components/Dialog/index.js +0 -79
  467. package/esm/components/ErrorMessage/index.js +0 -22
  468. package/esm/components/FieldLabel.js +0 -51
  469. package/esm/components/Header/Hamburger.js +0 -47
  470. package/esm/components/Header/Link.js +0 -45
  471. package/esm/components/Header/index.js +0 -109
  472. package/esm/components/Hero/index.js +0 -56
  473. package/esm/components/Icon/index.js +0 -107
  474. package/esm/components/IconButton.js +0 -122
  475. package/esm/components/Icons/Arrow.js +0 -12
  476. package/esm/components/Icons/CheckCircle.js +0 -12
  477. package/esm/components/Icons/CheckIcon.js +0 -12
  478. package/esm/components/Icons/Close.js +0 -12
  479. package/esm/components/Icons/ErrorCircle.js +0 -12
  480. package/esm/components/Icons/InfoCircle.js +0 -12
  481. package/esm/components/InlineStepper/Step.js +0 -107
  482. package/esm/components/InlineStepper/StepCircle.js +0 -85
  483. package/esm/components/InlineStepper/index.js +0 -43
  484. package/esm/components/ListItem/Bacon.js +0 -12
  485. package/esm/components/ListItem/index.js +0 -48
  486. package/esm/components/Logo/LogoEn.js +0 -31
  487. package/esm/components/Logo/LogoSv.js +0 -31
  488. package/esm/components/Logo/index.js +0 -23
  489. package/esm/components/MenuItem/index.js +0 -90
  490. package/esm/components/Modal/index.js +0 -128
  491. package/esm/components/NotificationButton/index.js +0 -31
  492. package/esm/components/OffCanvas/Overlay.js +0 -61
  493. package/esm/components/OffCanvas/index.js +0 -124
  494. package/esm/components/OffCanvas/useClickOutside.js +0 -17
  495. package/esm/components/RadioButton/index.js +0 -139
  496. package/esm/components/Range/index.js +0 -73
  497. package/esm/components/Select/components/test-icon.js +0 -12
  498. package/esm/components/Select/index.js +0 -215
  499. package/esm/components/Snackbar/index.js +0 -146
  500. package/esm/components/Spinner/index.js +0 -60
  501. package/esm/components/Stepper/index.js +0 -52
  502. package/esm/components/StepperAccordion/index.js +0 -124
  503. package/esm/components/Tabs/index.js +0 -61
  504. package/esm/components/TextArea/index.js +0 -111
  505. package/esm/components/Textfield/index.js +0 -121
  506. package/esm/components/TimePicker/index.js +0 -40
  507. package/esm/components/TimePicker/testHelper.js +0 -12
  508. package/esm/components/Toggle/index.js +0 -75
  509. package/esm/icons/components/AccountCreateIcon.js +0 -22
  510. package/esm/icons/components/AccountIcon.js +0 -18
  511. package/esm/icons/components/AccountLoginIcon.js +0 -24
  512. package/esm/icons/components/ArrowDownIcon.js +0 -18
  513. package/esm/icons/components/ArrowLeftIcon.js +0 -16
  514. package/esm/icons/components/ArrowLeftSharpIcon.js +0 -18
  515. package/esm/icons/components/ArrowLeftSmallIcon.js +0 -18
  516. package/esm/icons/components/ArrowLong.js +0 -19
  517. package/esm/icons/components/ArrowRestartIcon.js +0 -18
  518. package/esm/icons/components/ArrowRightIcon.js +0 -16
  519. package/esm/icons/components/ArrowRightSharpIcon.js +0 -18
  520. package/esm/icons/components/ArrowUpIcon.js +0 -18
  521. package/esm/icons/components/AuctionIcon.js +0 -16
  522. package/esm/icons/components/BackArrowIcon.js +0 -16
  523. package/esm/icons/components/Baseline360Icon.js +0 -19
  524. package/esm/icons/components/BellIcon.js +0 -16
  525. package/esm/icons/components/BidIcon.js +0 -16
  526. package/esm/icons/components/BidKrIcon.js +0 -22
  527. package/esm/icons/components/BreaksIcon.js +0 -16
  528. package/esm/icons/components/BuyCarIcon.js +0 -16
  529. package/esm/icons/components/CabIcon.js +0 -18
  530. package/esm/icons/components/CalendarIcon.js +0 -25
  531. package/esm/icons/components/CameraIcon.js +0 -16
  532. package/esm/icons/components/Car360Icon.js +0 -41
  533. package/esm/icons/components/CarFrontIcon.js +0 -16
  534. package/esm/icons/components/CarSearchIcon.js +0 -16
  535. package/esm/icons/components/CarSideIcon.js +0 -16
  536. package/esm/icons/components/CarTiresIcon.js +0 -16
  537. package/esm/icons/components/CaravanIcon.js +0 -16
  538. package/esm/icons/components/CardViewIcon.js +0 -42
  539. package/esm/icons/components/CarloanIcon.js +0 -18
  540. package/esm/icons/components/CertifiedIcon.js +0 -26
  541. package/esm/icons/components/ChatIcon.js +0 -17
  542. package/esm/icons/components/CheckIcon.js +0 -17
  543. package/esm/icons/components/CheckThinIcon.js +0 -17
  544. package/esm/icons/components/CheckmarkFilledIcon.js +0 -16
  545. package/esm/icons/components/CheckmarkIcon.js +0 -16
  546. package/esm/icons/components/ClipboardFilledIcon.js +0 -16
  547. package/esm/icons/components/ClipboardIcon.js +0 -16
  548. package/esm/icons/components/ClockFilledIcon.js +0 -18
  549. package/esm/icons/components/ClockIcon.js +0 -17
  550. package/esm/icons/components/CloseIcon.js +0 -17
  551. package/esm/icons/components/CloseThinIcon.js +0 -18
  552. package/esm/icons/components/CoffeeIcon.js +0 -17
  553. package/esm/icons/components/CombiIcon.js +0 -18
  554. package/esm/icons/components/CommentCircleFilledIcon.js +0 -22
  555. package/esm/icons/components/CommentCircleIconIcon.js +0 -20
  556. package/esm/icons/components/CommentIcon.js +0 -20
  557. package/esm/icons/components/ContactIcon.js +0 -20
  558. package/esm/icons/components/CoupeIcon.js +0 -18
  559. package/esm/icons/components/CreditCardIcon.js +0 -17
  560. package/esm/icons/components/CrossCircleIcon.js +0 -16
  561. package/esm/icons/components/CrownIcon.js +0 -17
  562. package/esm/icons/components/DealmakerIcon.js +0 -22
  563. package/esm/icons/components/DeliveryIcon.js +0 -25
  564. package/esm/icons/components/DetailedSearchIcon.js +0 -17
  565. package/esm/icons/components/EcoFriendlyIcon.js +0 -20
  566. package/esm/icons/components/EditIcon.js +0 -17
  567. package/esm/icons/components/EngineIcon.js +0 -16
  568. package/esm/icons/components/EnglandFlagIcon.js +0 -34
  569. package/esm/icons/components/EvaluationIcon.js +0 -20
  570. package/esm/icons/components/ExaminationMarkFilledIcon.js +0 -16
  571. package/esm/icons/components/ExaminationMarkIcon.js +0 -16
  572. package/esm/icons/components/ExteriorIcon.js +0 -16
  573. package/esm/icons/components/EyeIcon.js +0 -22
  574. package/esm/icons/components/FacebookBtnIcon.js +0 -16
  575. package/esm/icons/components/FacebookIcon.js +0 -18
  576. package/esm/icons/components/FatalIcon.js +0 -18
  577. package/esm/icons/components/FavouriteIcon.js +0 -16
  578. package/esm/icons/components/FavouriteSolidIcon.js +0 -16
  579. package/esm/icons/components/FilterIcon.js +0 -18
  580. package/esm/icons/components/FinanceIcon.js +0 -16
  581. package/esm/icons/components/FindCarIcon.js +0 -16
  582. package/esm/icons/components/FixedMonthlyCostIcon.js +0 -22
  583. package/esm/icons/components/FlagIcon.js +0 -16
  584. package/esm/icons/components/FlexibilityIcon.js +0 -22
  585. package/esm/icons/components/ForumLargeIcon.js +0 -16
  586. package/esm/icons/components/ForumSmallIcon.js +0 -16
  587. package/esm/icons/components/GavelIcon.js +0 -18
  588. package/esm/icons/components/GearboxIcon.js +0 -18
  589. package/esm/icons/components/GiftIcon.js +0 -32
  590. package/esm/icons/components/GridViewIcon.js +0 -16
  591. package/esm/icons/components/GroupIcon.js +0 -53
  592. package/esm/icons/components/GuaranteeIcon.js +0 -16
  593. package/esm/icons/components/GuaranteeLargeIcon.js +0 -16
  594. package/esm/icons/components/GuaranteeSmallIcon.js +0 -16
  595. package/esm/icons/components/HalfCombiIcon.js +0 -18
  596. package/esm/icons/components/HamburgerIcon.js +0 -16
  597. package/esm/icons/components/HandshakeIcon.js +0 -16
  598. package/esm/icons/components/HelpingHandIcon.js +0 -34
  599. package/esm/icons/components/IdIcon.js +0 -19
  600. package/esm/icons/components/InformationIcon.js +0 -16
  601. package/esm/icons/components/InstagramIcon.js +0 -23
  602. package/esm/icons/components/InsuranceIcon.js +0 -16
  603. package/esm/icons/components/InteriorIcon.js +0 -18
  604. package/esm/icons/components/InteriorThinIcon.js +0 -18
  605. package/esm/icons/components/InternationalIcon.js +0 -24
  606. package/esm/icons/components/KvdTestIcon.js +0 -16
  607. package/esm/icons/components/KvdVenueIcon.js +0 -16
  608. package/esm/icons/components/LifebuoyIcon.js +0 -16
  609. package/esm/icons/components/LiftTruckIcon.js +0 -16
  610. package/esm/icons/components/LinkedInIcon.js +0 -16
  611. package/esm/icons/components/ListViewIcon.js +0 -38
  612. package/esm/icons/components/MailIcon.js +0 -18
  613. package/esm/icons/components/MinibusIcon.js +0 -18
  614. package/esm/icons/components/MinivanIcon.js +0 -19
  615. package/esm/icons/components/MobileIcon.js +0 -26
  616. package/esm/icons/components/MotorcycleIcon.js +0 -48
  617. package/esm/icons/components/MrfLogoIcon.js +0 -27
  618. package/esm/icons/components/NotFoundIcon.js +0 -16
  619. package/esm/icons/components/OverbidIcon.js +0 -18
  620. package/esm/icons/components/PdfIconIcon.js +0 -16
  621. package/esm/icons/components/PhoneIcon.js +0 -18
  622. package/esm/icons/components/PickUpIcon.js +0 -16
  623. package/esm/icons/components/PinIcon.js +0 -16
  624. package/esm/icons/components/PlayIcon.js +0 -16
  625. package/esm/icons/components/Pricetag.js +0 -25
  626. package/esm/icons/components/PricetagFilledKronaIcon.js +0 -21
  627. package/esm/icons/components/PrivateCarIcon.js +0 -16
  628. package/esm/icons/components/ProfileCircleIcon.js +0 -16
  629. package/esm/icons/components/ProfileIcon.js +0 -16
  630. package/esm/icons/components/RadioIcon.js +0 -28
  631. package/esm/icons/components/ReclamationIcon.js +0 -16
  632. package/esm/icons/components/ReleasingIcon.js +0 -22
  633. package/esm/icons/components/RemoveFilterIcon.js +0 -16
  634. package/esm/icons/components/ReservedPriceIcon.js +0 -16
  635. package/esm/icons/components/ResultIcon.js +0 -16
  636. package/esm/icons/components/SafePaymentIcon.js +0 -16
  637. package/esm/icons/components/SaleTagIcon.js +0 -16
  638. package/esm/icons/components/SearchCheckIcon.js +0 -22
  639. package/esm/icons/components/SearchIcon.js +0 -16
  640. package/esm/icons/components/SedanIcon.js +0 -18
  641. package/esm/icons/components/SellCarIcon.js +0 -16
  642. package/esm/icons/components/SellCarsIcon.js +0 -16
  643. package/esm/icons/components/ServiceIcon.js +0 -21
  644. package/esm/icons/components/ShareIcon.js +0 -42
  645. package/esm/icons/components/ShieldIcon.js +0 -16
  646. package/esm/icons/components/SignInIcon.js +0 -16
  647. package/esm/icons/components/SignOutIcon.js +0 -16
  648. package/esm/icons/components/SpeedMeterIcon.js +0 -18
  649. package/esm/icons/components/StarCircleIcon.js +0 -16
  650. package/esm/icons/components/StartIcon.js +0 -24
  651. package/esm/icons/components/StoreIcon.js +0 -16
  652. package/esm/icons/components/SuvIcon.js +0 -18
  653. package/esm/icons/components/SwedenFlag.js +0 -24
  654. package/esm/icons/components/TankIcon.js +0 -26
  655. package/esm/icons/components/TireIcon.js +0 -16
  656. package/esm/icons/components/TransportIcon.js +0 -16
  657. package/esm/icons/components/TrashcanIcon.js +0 -16
  658. package/esm/icons/components/TrophyIcon.js +0 -16
  659. package/esm/icons/components/TruckIcon.js +0 -16
  660. package/esm/icons/components/UmbrellaIcon.js +0 -16
  661. package/esm/icons/components/ValuationIcon.js +0 -16
  662. package/esm/icons/components/ValueIcon.js +0 -21
  663. package/esm/icons/components/WarningIcon.js +0 -16
  664. package/esm/icons/components/YoutubeIcon.js +0 -16
  665. package/esm/icons/components/index.js +0 -157
  666. package/esm/index.js +0 -220
  667. package/esm/react-app-env.d.js +0 -1
  668. package/esm/shared/constants.js +0 -3
  669. package/esm/shared/helpers.js +0 -23
  670. package/esm/shared/helpers.spec.js +0 -34
  671. package/esm/shared/media-queries.js +0 -35
  672. package/esm/styled.d.js +0 -1
  673. package/esm/theme.js +0 -121
  674. package/esm/typography/BodyText/index.js +0 -48
  675. package/esm/typography/ButtonText/index.js +0 -33
  676. package/esm/typography/Heading/index.js +0 -76
  677. package/esm/utils/utils.js +0 -28
  678. package/types/components/Select/components/test-icon.d.ts +0 -1
  679. package/types/icons/template.d.ts +0 -10
  680. package/types/serviceWorker.d.ts +0 -2
@@ -1,47 +0,0 @@
1
- import styled from 'styled-components';
2
- import { mq } from '../../shared/media-queries.js';
3
-
4
- const IconWrapper = styled.button`
5
- appearance: none;
6
- cursor: pointer;
7
- background-color: transparent;
8
- border: 0;
9
- outline: none;
10
- display: flex;
11
- align-items: center;
12
- margin-right: 1.5rem;
13
- margin-left: auto;
14
- ${mq("laptop")} {
15
- display: none;
16
- }
17
-
18
- svg {
19
- width: 1.5rem;
20
- height: 1.5rem;
21
- fill: ${({ theme }) => theme.colors.text.dark};
22
- }
23
- span {
24
- display: none;
25
- font-family: ${({ theme }) => theme.typography.fontBaseFamily};
26
- font-weight: ${({ theme }) => theme.typography.fontBaseBoldWeight};
27
- font-size: 1rem;
28
- margin-right: 0.75rem;
29
-
30
- ${mq("tablet")} {
31
- display: inline;
32
- }
33
- }
34
- `;
35
- const Hamburger = ({ onClick = () => {
36
- }, text }) => /* @__PURE__ */ React.createElement(IconWrapper, {
37
- onClick
38
- }, /* @__PURE__ */ React.createElement("span", null, text), /* @__PURE__ */ React.createElement("svg", null, /* @__PURE__ */ React.createElement("symbol", {
39
- id: "icon-hamburger",
40
- viewBox: "0 0 16 12"
41
- }, /* @__PURE__ */ React.createElement("path", {
42
- d: "M0 0h16v2H0zm0 5h16v2H0zm0 5h16v2H0z"
43
- })), /* @__PURE__ */ React.createElement("use", {
44
- xlinkHref: "#icon-hamburger"
45
- })));
46
-
47
- export { Hamburger as default };
@@ -1,45 +0,0 @@
1
- import styled from 'styled-components';
2
- import { mq } from '../../shared/media-queries.js';
3
- import theme from '../../theme.js';
4
-
5
- const LinkItem = styled.li`
6
- font-family: ${({ theme: theme2 }) => theme2.typography.fontAlternativeFamily};
7
- font-weight: ${({ theme: theme2 }) => theme2.typography.fontAlternativeRegularWeight};
8
- font-size: 1rem;
9
- display: flex;
10
- align-items: center;
11
- white-space: nowrap;
12
- border-radius: 0.25rem;
13
-
14
- &:last-child {
15
- margin-right: 0;
16
- }
17
- &:nth-child(n + 4) {
18
- display: none;
19
- }
20
-
21
- ${mq("laptop")} {
22
- &:nth-child(n + 4) {
23
- display: inherit;
24
- }
25
- }
26
- `;
27
- const CommonLink = styled.a`
28
- border-radius: 0.25rem;
29
- padding: 0.75rem 1.5rem;
30
- transition: 200ms;
31
- color: ${theme.colors.text.dark};
32
- text-decoration: none;
33
-
34
- &:hover,
35
- &:active {
36
- color: ${theme.colors.primary.main};
37
- background: ${theme.colors.gray.light4};
38
- }
39
- `;
40
- const Link = ({ to, component, text, ...rest }) => /* @__PURE__ */ React.createElement(LinkItem, null, component || /* @__PURE__ */ React.createElement(CommonLink, {
41
- href: to,
42
- ...rest
43
- }, text));
44
-
45
- export { Link as default };
@@ -1,109 +0,0 @@
1
- import styled from 'styled-components';
2
- import { mq } from '../../shared/media-queries.js';
3
- import theme from '../../theme.js';
4
- import { Logo } from '../Logo/index.js';
5
- import Hamburger from './Hamburger.js';
6
- import Link from './Link.js';
7
- import '../Logo/LogoSv.js';
8
- import '../Logo/LogoEn.js';
9
-
10
- const LogoWrapper = styled.a`
11
- cursor: pointer;
12
- padding: 0 0.625rem;
13
- width: 100%;
14
- display: flex;
15
- justify-content: center;
16
- align-items: center;
17
- background: ${theme.colors.background.light};
18
-
19
- ${mq("tablet")} {
20
- display: block;
21
- width: auto;
22
- padding: 0 1.5rem 0 0;
23
- }
24
- `;
25
- const HeaderContainer = styled.nav`
26
- width: 100%;
27
- z-index: 17;
28
- position: fixed;
29
- top: 0;
30
- left: 0;
31
- color: ${theme.colors.text.dark};
32
- background-color: ${theme.colors.background.light};
33
- transition: 300ms;
34
- `;
35
- const HeaderContent = styled.div`
36
- display: flex;
37
- flex-direction: column;
38
- align-items: center;
39
- justify-content: space-between;
40
- background-color: ${theme.colors.background.gray};
41
-
42
- ${mq("tablet")} {
43
- background-color: ${theme.colors.background.light};
44
- flex-direction: row;
45
- padding: 0em 1.5em;
46
- }
47
- `;
48
- const MainContent = styled.div`
49
- display: flex;
50
- width: 100%;
51
- `;
52
- const PrimaryLinks = styled.ul`
53
- display: flex;
54
- justify-content: space-around;
55
- width: 100%;
56
- position: relative;
57
- margin: 0;
58
- padding: 0;
59
- flex-grow: 1;
60
-
61
- ${mq("tablet")} {
62
- justify-content: flex-start;
63
- padding: 0.5em 0;
64
- display: flex;
65
- padding: 0;
66
- flex: 1;
67
- }
68
- `;
69
- const SecondaryLinks = styled.ul`
70
- display: none;
71
-
72
- ${mq("laptop")} {
73
- padding: 0.5em 0;
74
- display: flex;
75
- padding: 0;
76
- }
77
- `;
78
- const Header = ({
79
- locale,
80
- primaryLinks,
81
- secondaryLinks,
82
- menuIconText,
83
- onMenuClick,
84
- onHeaderClick,
85
- forwardRef,
86
- css = "",
87
- ...props
88
- }) => {
89
- return /* @__PURE__ */ React.createElement(HeaderContainer, {
90
- css,
91
- ...props,
92
- ref: forwardRef
93
- }, /* @__PURE__ */ React.createElement(HeaderContent, null, /* @__PURE__ */ React.createElement(LogoWrapper, {
94
- onClick: onHeaderClick
95
- }, /* @__PURE__ */ React.createElement(Logo, {
96
- locale
97
- })), /* @__PURE__ */ React.createElement(MainContent, null, /* @__PURE__ */ React.createElement(PrimaryLinks, null, primaryLinks.map((link, index) => /* @__PURE__ */ React.createElement(Link, {
98
- key: link.text || index,
99
- ...link
100
- }))), /* @__PURE__ */ React.createElement(Hamburger, {
101
- text: menuIconText,
102
- onClick: onMenuClick
103
- })), /* @__PURE__ */ React.createElement(SecondaryLinks, null, secondaryLinks.map((link, index) => /* @__PURE__ */ React.createElement(Link, {
104
- key: link.text || index,
105
- ...link
106
- })))));
107
- };
108
-
109
- export { Header, Header as default };
@@ -1,56 +0,0 @@
1
- import styled from 'styled-components';
2
- import theme from '../../theme.js';
3
-
4
- const Root = styled.div`
5
- position: relative;
6
- height: 60vh;
7
- max-height: 600px;
8
- background-color: ${theme.colors.primary.main};
9
- background-size: cover;
10
- `;
11
- const Content = styled.div`
12
- position: relative;
13
- display: flex;
14
- padding: 50px;
15
- z-index: 1;
16
- `;
17
- const Video = styled.iframe`
18
- position: absolute;
19
- width: 100%;
20
- height: 100%;
21
- top: 0;
22
- left: 0;
23
- `;
24
- const Image = styled.img`
25
- position: absolute;
26
- top: 0;
27
- left: 0;
28
- height: 100%;
29
- width: 100%;
30
- object-fit: cover;
31
- background-color: ${theme.colors.primary.main};
32
- `;
33
- function Hero(props) {
34
- const { imageProps, containerStyle, videoProps, children } = props;
35
- const imageStyle = {
36
- objectPosition: `${(imageProps == null ? void 0 : imageProps.x) ? imageProps.x : "50%"} ${(imageProps == null ? void 0 : imageProps.y) ? imageProps.y : "50%"}`
37
- };
38
- return /* @__PURE__ */ React.createElement(Root, {
39
- style: containerStyle
40
- }, videoProps ? /* @__PURE__ */ React.createElement(Video, {
41
- "data-testid": "hero-video",
42
- title: "video-frame",
43
- src: videoProps.src,
44
- width: "100%",
45
- height: "100%",
46
- frameBorder: "0",
47
- allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
48
- allowFullScreen: true
49
- }) : /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Image, {
50
- src: imageProps == null ? void 0 : imageProps.src,
51
- alt: "Hero background",
52
- style: imageStyle
53
- }), /* @__PURE__ */ React.createElement(Content, null, children)));
54
- }
55
-
56
- export { Hero, Hero as default };
@@ -1,107 +0,0 @@
1
- import { useState } from 'react';
2
- import styled from 'styled-components';
3
- import { Caption } from '../../typography/BodyText/index.js';
4
- import { Title as Title$1 } from '../../typography/Heading/index.js';
5
- import theme from '../../theme.js';
6
- import { Snackbar } from '../Snackbar/index.js';
7
- import '../../shared/media-queries.js';
8
- import '../Icons/CheckCircle.js';
9
- import '../Icons/Close.js';
10
- import '../Icons/ErrorCircle.js';
11
- import '../Icons/InfoCircle.js';
12
- import 'react-transition-group';
13
-
14
- const Wrapper = styled.div`
15
- margin: 0 auto;
16
- max-width: 700px;
17
- `;
18
- const Title = styled(Title$1)`
19
- margin: 0.5rem;
20
- `;
21
- const IconsList = styled.ul`
22
- display: flex;
23
- list-style: none;
24
- flex-wrap: wrap;
25
- padding: 0;
26
- `;
27
- const ListItem = styled.li`
28
- background: ${({ background }) => background};
29
- display: flex;
30
- justify-content: center;
31
- flex-direction: column;
32
- align-items: center;
33
- width: calc(25% - 2px - 1.5rem);
34
- padding: 0 0.25rem;
35
- border: 1px solid ${theme.colors.gray.dark5};
36
- border-radius: 3px;
37
- margin: 0.5rem;
38
- cursor: pointer;
39
- `;
40
- const Name = styled(Caption)`
41
- overflow-wrap: break-word;
42
- word-wrap: break-word;
43
- word-break: break-word;
44
- hyphens: auto;
45
- text-align: center;
46
- `;
47
- const IconContainer = styled.span`
48
- font-size: ${({ size }) => size};
49
- color: ${({ color }) => color};
50
- `;
51
- const Icons = ({
52
- background = theme.colors.background.light,
53
- color = theme.colors.text.dark,
54
- icons,
55
- size = "2rem"
56
- }) => {
57
- const [state, setState] = useState({
58
- isOpen: false,
59
- message: "",
60
- type: "info",
61
- color: "neutral"
62
- });
63
- const copyImport = async (name) => {
64
- const importPath = `import { ${name} } from 'kvdbil-components';`;
65
- if (!navigator.clipboard) {
66
- return;
67
- }
68
- try {
69
- await navigator.clipboard.writeText(importPath);
70
- setState((s) => ({
71
- ...s,
72
- isOpen: true,
73
- message: `copied import for ${name}`,
74
- type: "success",
75
- color: "success"
76
- }));
77
- } catch (error) {
78
- setState((s) => ({
79
- ...s,
80
- isOpen: true,
81
- message: `Could not copy text: ${error}`,
82
- type: "error",
83
- color: "error"
84
- }));
85
- }
86
- };
87
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Wrapper, null, /* @__PURE__ */ React.createElement(Title, {
88
- as: "h2"
89
- }, "Click to copy import declaration for icon"), /* @__PURE__ */ React.createElement(IconsList, null, icons.map(([name, Icon], index) => /* @__PURE__ */ React.createElement(ListItem, {
90
- key: index,
91
- background,
92
- onClick: () => {
93
- copyImport(name);
94
- }
95
- }, /* @__PURE__ */ React.createElement(Name, null, name), /* @__PURE__ */ React.createElement(IconContainer, {
96
- size,
97
- color
98
- }, /* @__PURE__ */ React.createElement(Icon, null)))))), /* @__PURE__ */ React.createElement(Snackbar, {
99
- message: state.message,
100
- isOpen: state.isOpen,
101
- type: state.type,
102
- color: state.color,
103
- onClose: () => setState((s) => ({ ...s, isOpen: false }))
104
- }));
105
- };
106
-
107
- export { Icons as default };
@@ -1,122 +0,0 @@
1
- import styled, { css } from 'styled-components';
2
- import theme from '../theme.js';
3
-
4
- const disabledBackground = css`
5
- background-color: transparent;
6
- `;
7
- const initialMS = "400ms";
8
- const focusRippleMS = "1500ms";
9
- const activeRippleMS = "750ms";
10
- const Container = styled.div`
11
- cursor: ${(props) => props.isDisabled ? "default" : "pointer"};
12
- outline: none;
13
-
14
- display: inline-block;
15
- position: relative;
16
-
17
- .button-background {
18
- :focus {
19
- outline: none;
20
- }
21
- }
22
-
23
- :hover {
24
- .button-background {
25
- transition: background-color ${initialMS};
26
- background-color: ${(props) => props.isActive ? theme.colors[props.color].main : "rgb(136, 136, 136)"};
27
-
28
- opacity: 0.06;
29
- ${(props) => props.isDisabled && disabledBackground};
30
- }
31
- }
32
-
33
- :focus {
34
- .button-background {
35
- transition: background-color ${initialMS};
36
- animation: FocusRipple ${focusRippleMS} 0ms infinite alternate-reverse;
37
- background-color: ${(props) => props.isActive ? theme.colors[props.color].main : "rgba(136, 136, 136)"};
38
-
39
- opacity: 0.12;
40
- ${(props) => props.isDisabled && disabledBackground};
41
- }
42
- }
43
-
44
- :active {
45
- .button-background {
46
- animation: ActiveRipple ${activeRippleMS};
47
- background-color: ${(props) => props.isActive ? theme.colors[props.color].main : "rgb(136, 136, 136)"};
48
-
49
- opacity: 0.24;
50
- ${(props) => props.isDisabled && disabledBackground};
51
- }
52
- }
53
-
54
- @keyframes ActiveRipple {
55
- 0% {
56
- clip-path: circle(50%);
57
- }
58
-
59
- 25% {
60
- clip-path: circle(46%);
61
- }
62
-
63
- 100% {
64
- clip-path: circle(50%);
65
- }
66
- }
67
-
68
- @keyframes FocusRipple {
69
- 0% {
70
- clip-path: circle(46%);
71
- }
72
-
73
- 100% {
74
- clip-path: circle(50%);
75
- }
76
- }
77
- `;
78
- const Background = styled.div`
79
- top: 0;
80
- left: 0;
81
-
82
- height: calc(100% + 2rem);
83
- width: calc(100% + 2rem);
84
- transform: translate(-1rem, -1rem);
85
-
86
- position: absolute;
87
- border-radius: 10rem;
88
- `;
89
- const IconButton = ({
90
- children,
91
- isActive,
92
- isDisabled,
93
- onClick,
94
- color
95
- }) => {
96
- const handleEnter = (event) => {
97
- if (event.key === "Enter" && !isDisabled && typeof onClick === "function") {
98
- event.persist();
99
- onClick(event);
100
- }
101
- };
102
- const handleClick = (event) => {
103
- event.stopPropagation();
104
- event.preventDefault();
105
- event.persist();
106
- if (!isDisabled && typeof onClick === "function") {
107
- onClick(event);
108
- }
109
- };
110
- return /* @__PURE__ */ React.createElement(Container, {
111
- color,
112
- isActive,
113
- isDisabled,
114
- onClick: handleClick,
115
- onKeyDown: handleEnter,
116
- tabIndex: isDisabled ? void 0 : 1
117
- }, /* @__PURE__ */ React.createElement(Background, {
118
- className: "button-background"
119
- }), children);
120
- };
121
-
122
- export { IconButton as default };
@@ -1,12 +0,0 @@
1
- const Arrow = ({ title, ...props }) => /* @__PURE__ */ React.createElement("svg", {
2
- ...props
3
- }, title && /* @__PURE__ */ React.createElement("title", null, title), /* @__PURE__ */ React.createElement("symbol", {
4
- id: "icon-arrow",
5
- viewBox: "0 0 22 22"
6
- }, /* @__PURE__ */ React.createElement("path", {
7
- d: "M1.29412 9.70588L10.7843 19.1961C10.9034 19.3152 11.0966 19.3152 11.2157 19.1961L20.7059 9.70588L22 11L12.5098 20.4902C11.676 21.324 10.324 21.324 9.4902 20.4902L0 11L1.29412 9.70588Z"
8
- })), /* @__PURE__ */ React.createElement("use", {
9
- xlinkHref: "#icon-arrow"
10
- }));
11
-
12
- export { Arrow as default };
@@ -1,12 +0,0 @@
1
- const CheckCircle = ({ title = "CheckCircle", ...props }) => /* @__PURE__ */ React.createElement("svg", {
2
- ...props
3
- }, title && /* @__PURE__ */ React.createElement("title", null, title), /* @__PURE__ */ React.createElement("symbol", {
4
- id: "icon-checkCircle",
5
- viewBox: "0 0 24 24"
6
- }, /* @__PURE__ */ React.createElement("path", {
7
- d: "M12.5 23.0012C6.42487 23.0012 1.5 18.0764 1.5 12.0012C1.5 5.92609 6.42487 1.00122 12.5 1.00122C18.5751 1.00122 23.5 5.92609 23.5 12.0012C23.5 18.0764 18.5751 23.0012 12.5 23.0012ZM12.5 21.1679C17.5626 21.1679 21.6667 17.0638 21.6667 12.0012C21.6667 6.93861 17.5626 2.83455 12.5 2.83455C7.43739 2.83455 3.33333 6.93861 3.33333 12.0012C3.33333 17.0638 7.43739 21.1679 12.5 21.1679ZM9.10748 13.2429C9.33504 13.5121 9.55429 13.7564 9.76125 13.9695C10.1479 14.3676 10.4817 14.6294 10.6107 14.7179C10.6392 14.7003 10.6714 14.6794 10.7067 14.6551C10.9006 14.522 11.1553 14.3144 11.4591 14.0413C12.0292 13.5287 12.7476 12.8084 13.5766 11.9265C13.7427 11.7497 13.9125 11.5673 14.0856 11.3797C14.819 10.5847 15.5796 9.73162 16.3227 8.87836C16.5829 8.5796 16.8222 8.30225 17.0352 8.0535C17.1626 7.90465 17.2527 7.79871 17.2999 7.74287L18.7001 8.92624C18.6505 8.98498 18.5579 9.09389 18.4278 9.24582C18.2116 9.49837 17.9689 9.77961 17.7052 10.0824C16.9514 10.9479 16.1796 11.8136 15.4331 12.6228C15.2562 12.8145 15.0826 13.0011 14.9124 13.1821C12.7154 15.5196 11.5309 16.5846 10.6667 16.5846C9.95327 16.5846 9.28235 16.1078 8.44613 15.2468C8.20742 15.0011 7.96047 14.7259 7.70721 14.4262C7.35453 14.0089 7.00646 13.5644 6.67696 13.1203C6.47905 12.8535 6.33026 12.6446 6.24558 12.5219L7.75443 11.4805C7.82792 11.587 7.96481 11.7792 8.14939 12.028C8.4574 12.4432 8.78234 12.8581 9.10748 13.2429Z"
8
- })), /* @__PURE__ */ React.createElement("use", {
9
- xlinkHref: "#icon-checkCircle"
10
- }));
11
-
12
- export { CheckCircle as default };
@@ -1,12 +0,0 @@
1
- const CheckIcon = ({ className = "icon__svg" }) => /* @__PURE__ */ React.createElement("svg", {
2
- className
3
- }, /* @__PURE__ */ React.createElement("title", null, "Check"), /* @__PURE__ */ React.createElement("symbol", {
4
- id: "icon-check",
5
- viewBox: "0 0 20 16"
6
- }, /* @__PURE__ */ React.createElement("path", {
7
- d: "M5.64559 11.2678C5.31325 10.8822 4.96116 10.4401 4.59575 9.95286C4.07361 9.25661 3.55182 8.50577 3.0572 7.75441C2.76079 7.30414 2.54098 6.95638 2.42297 6.7637L0 8.6482C0.135982 8.87023 0.3749 9.2482 0.692726 9.73101C1.22184 10.5348 1.78078 11.3391 2.34713 12.0943C2.75382 12.6366 3.15039 13.1345 3.53372 13.5793C4.87655 15.1373 5.95393 16 7.09955 16C8.48728 16 10.3894 14.0728 13.9175 9.84286C14.1908 9.51527 14.4697 9.17762 14.7536 8.83074C15.9524 7.36638 17.1918 5.79987 18.4023 4.23366C18.8257 3.6857 19.2155 3.17676 19.5627 2.71975C19.7716 2.44481 19.9203 2.24773 20 2.14142L17.7514 0C17.6756 0.101045 17.531 0.292744 17.3263 0.562104C16.9843 1.01226 16.6 1.51416 16.1821 2.05479C14.9888 3.59885 13.7675 5.1426 12.5898 6.58116C12.3118 6.92065 12.0392 7.25078 11.7723 7.57068C10.4411 9.16669 9.28751 10.4701 8.37209 11.3976C7.8842 11.892 7.47522 12.2676 7.16387 12.5084C7.10708 12.5523 7.05542 12.5903 7.00971 12.6221C6.8025 12.4619 6.2665 11.9882 5.64559 11.2678Z"
8
- })), /* @__PURE__ */ React.createElement("use", {
9
- xlinkHref: "#icon-check"
10
- }));
11
-
12
- export { CheckIcon as default };
@@ -1,12 +0,0 @@
1
- const Close = ({ title = "Close", ...props }) => /* @__PURE__ */ React.createElement("svg", {
2
- ...props
3
- }, title && /* @__PURE__ */ React.createElement("title", null, title), /* @__PURE__ */ React.createElement("symbol", {
4
- id: "icon-close",
5
- viewBox: "0 0 24 24"
6
- }, /* @__PURE__ */ React.createElement("path", {
7
- d: "M12.0001 10.5859L21.7629 0.823223L23.1771 2.23744L13.4144 12.0002L23.1771 21.7629L21.7629 23.1771L12.0001 13.4144L2.23744 23.1771L0.823223 21.7629L10.5859 12.0002L0.823223 2.23745L2.23744 0.823234L12.0001 10.5859Z"
8
- })), /* @__PURE__ */ React.createElement("use", {
9
- xlinkHref: "#icon-close"
10
- }));
11
-
12
- export { Close as default };
@@ -1,12 +0,0 @@
1
- const ErrorCircle = ({ title, ...props }) => /* @__PURE__ */ React.createElement("svg", {
2
- ...props
3
- }, title && /* @__PURE__ */ React.createElement("title", null, title), /* @__PURE__ */ React.createElement("symbol", {
4
- id: "icon-errorCircle",
5
- viewBox: "0 0 24 24"
6
- }, /* @__PURE__ */ React.createElement("path", {
7
- d: "M1.5 12.0012C1.5 18.0764 6.42487 23.0012 12.5 23.0012C18.5751 23.0012 23.5 18.0764 23.5 12.0012C23.5 5.92609 18.5751 1.00122 12.5 1.00122C6.42487 1.00122 1.5 5.92609 1.5 12.0012ZM21.6667 12.0012C21.6667 17.0638 17.5626 21.1679 12.5 21.1679C7.43739 21.1679 3.33333 17.0638 3.33333 12.0012C3.33333 6.93861 7.43739 2.83455 12.5 2.83455C17.5626 2.83455 21.6667 6.93861 21.6667 12.0012ZM13.4167 13.8346V6.50122H11.5833V13.8346H13.4167ZM13.4167 15.6679V17.5012H11.5833V15.6679H13.4167Z"
8
- })), /* @__PURE__ */ React.createElement("use", {
9
- xlinkHref: "#icon-errorCircle"
10
- }));
11
-
12
- export { ErrorCircle as default };
@@ -1,12 +0,0 @@
1
- const InfoCircle = ({ title, ...props }) => /* @__PURE__ */ React.createElement("svg", {
2
- ...props
3
- }, title && /* @__PURE__ */ React.createElement("title", null, title), /* @__PURE__ */ React.createElement("symbol", {
4
- id: "icon-infoCircle",
5
- viewBox: "0 0 24 24"
6
- }, /* @__PURE__ */ React.createElement("path", {
7
- d: "M1.5 12.0012C1.5 18.0764 6.42487 23.0012 12.5 23.0012C18.5751 23.0012 23.5 18.0764 23.5 12.0012C23.5 5.92609 18.5751 1.00122 12.5 1.00122C6.42487 1.00122 1.5 5.92609 1.5 12.0012ZM21.6667 12.0012C21.6667 17.0638 17.5626 21.1679 12.5 21.1679C7.43739 21.1679 3.33333 17.0638 3.33333 12.0012C3.33333 6.93861 7.43739 2.83455 12.5 2.83455C17.5626 2.83455 21.6667 6.93861 21.6667 12.0012ZM13.4167 10.1679V17.5012H11.5833V10.1679H13.4167ZM13.4167 8.33455V6.50122H11.5833V8.33455H13.4167Z"
8
- })), /* @__PURE__ */ React.createElement("use", {
9
- xlinkHref: "#icon-infoCircle"
10
- }));
11
-
12
- export { InfoCircle as default };
@@ -1,107 +0,0 @@
1
- import styled from 'styled-components';
2
- import theme from '../../theme.js';
3
- import { CaptionLink } from '../../typography/BodyText/index.js';
4
- import StepCircle from './StepCircle.js';
5
- import '../Icons/CheckIcon.js';
6
-
7
- const HorizontalLine = styled.div`
8
- background-color: ${theme.colors.gray.dark3};
9
- height: 1px;
10
- right: 0;
11
- left: calc(50% + 20px);
12
- top: 1.25rem;
13
- position: absolute;
14
- width: calc(100% - 40px);
15
- `;
16
- const StepWrapper = styled.div`
17
- font-family: ${({ theme: theme2 }) => theme2.typography.fontBaseFamily};
18
- display: flex;
19
- position: relative;
20
- padding: 0 0.5rem;
21
- flex: 1;
22
- align-items: center;
23
- flex-direction: column;
24
-
25
- &:last-child {
26
- padding-bottom: 0;
27
- ${HorizontalLine} {
28
- display: none;
29
- }
30
- }
31
- `;
32
- const Content = styled(CaptionLink)`
33
- width: 100%;
34
- margin: 0.5rem 0 0;
35
- line-height: 1.2;
36
- text-align: center;
37
- color: ${theme.colors.text.dark};
38
- `;
39
- const VerticalLine = styled.div`
40
- margin: 0 auto;
41
- width: 1px;
42
- height: 100%;
43
- background-color: ${theme.colors.gray.dark3};
44
- `;
45
- const Graphic = styled.div`
46
- margin-right: 0.75rem;
47
- `;
48
- const VerticalStepWrapper = styled.div`
49
- font-family: ${({ theme: theme2 }) => theme2.typography.fontBaseFamily};
50
- display: flex;
51
- padding-bottom: 1rem;
52
-
53
- &:last-child {
54
- ${VerticalLine} {
55
- display: none;
56
- }
57
- }
58
- `;
59
- const VerticalContent = styled(CaptionLink)`
60
- margin: 0;
61
- width: 100%;
62
- line-height: 1.2;
63
- text-align: left;
64
- color: ${theme.colors.text.dark};
65
- display: flex;
66
- flex-direction: column;
67
- justify-content: center;
68
- `;
69
- const getStepState = ({ active, disabled }) => {
70
- if (active) {
71
- return "active";
72
- }
73
- if (disabled) {
74
- return "disabled";
75
- }
76
- return "completed";
77
- };
78
- const Step = ({
79
- step = 0,
80
- active = false,
81
- completed = false,
82
- disabled = false,
83
- orientation,
84
- children,
85
- backgroundColor,
86
- ...props
87
- }) => {
88
- const state = getStepState({ active, disabled, completed });
89
- return orientation === "horizontal" ? /* @__PURE__ */ React.createElement(StepWrapper, {
90
- ...props
91
- }, /* @__PURE__ */ React.createElement(StepCircle, {
92
- state,
93
- step,
94
- backgroundColor
95
- }), /* @__PURE__ */ React.createElement(HorizontalLine, null), /* @__PURE__ */ React.createElement(Content, {
96
- as: "div"
97
- }, children)) : /* @__PURE__ */ React.createElement(VerticalStepWrapper, {
98
- ...props
99
- }, /* @__PURE__ */ React.createElement(Graphic, null, /* @__PURE__ */ React.createElement(StepCircle, {
100
- state,
101
- step
102
- }), /* @__PURE__ */ React.createElement(VerticalLine, null)), /* @__PURE__ */ React.createElement(VerticalContent, {
103
- as: "div"
104
- }, children));
105
- };
106
-
107
- export { Step as default, getStepState };