@eturnity/eturnity_reusable_components 8.13.13-EPDM-9631.0 → 8.13.13-epic-shading.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 (417) hide show
  1. package/README.md +29 -29
  2. package/package.json +85 -85
  3. package/src/App.vue +30 -30
  4. package/src/Test.vue +64 -64
  5. package/src/assets/icons/arrow_down.svg +3 -3
  6. package/src/assets/icons/arrow_up_red.svg +3 -3
  7. package/src/assets/icons/black_spinner.svg +35 -35
  8. package/src/assets/icons/delete_icon.svg +11 -11
  9. package/src/assets/icons/delete_icon_gray.svg +11 -11
  10. package/src/assets/icons/drag_icon.svg +8 -8
  11. package/src/assets/icons/external_icon.svg +6 -6
  12. package/src/assets/icons/language_icon.svg +6 -6
  13. package/src/assets/icons/pdf_icon.svg +6 -6
  14. package/src/assets/icons/plus_button.svg +4 -4
  15. package/src/assets/icons/search_icon_black.svg +3 -3
  16. package/src/assets/icons/subposition_icon.svg +3 -3
  17. package/src/assets/icons/subposition_marker.svg +3 -3
  18. package/src/assets/icons/warning_icon.svg +3 -3
  19. package/src/assets/svgIcons/2d_active.svg +7 -7
  20. package/src/assets/svgIcons/2d_inactive.svg +8 -8
  21. package/src/assets/svgIcons/3d_active.svg +7 -7
  22. package/src/assets/svgIcons/3d_inactive.svg +8 -8
  23. package/src/assets/svgIcons/_readme.md +7 -7
  24. package/src/assets/svgIcons/accept.svg +5 -5
  25. package/src/assets/svgIcons/activate_panels_active.svg +22 -22
  26. package/src/assets/svgIcons/activate_panels_inactive.svg +20 -20
  27. package/src/assets/svgIcons/add_icon-1.svg +3 -3
  28. package/src/assets/svgIcons/add_icon.svg +4 -4
  29. package/src/assets/svgIcons/address_book.svg +3 -3
  30. package/src/assets/svgIcons/adjust_roof.svg +6 -6
  31. package/src/assets/svgIcons/after_sale_as_a_service.svg +6 -6
  32. package/src/assets/svgIcons/all_good.svg +3 -3
  33. package/src/assets/svgIcons/angle_active.svg +5 -5
  34. package/src/assets/svgIcons/angle_inactive.svg +4 -4
  35. package/src/assets/svgIcons/area_active.svg +11 -11
  36. package/src/assets/svgIcons/area_inactive.svg +26 -26
  37. package/src/assets/svgIcons/areas_tool.svg +14 -14
  38. package/src/assets/svgIcons/arrow_down.svg +3 -3
  39. package/src/assets/svgIcons/arrow_down_unfilled.svg +4 -4
  40. package/src/assets/svgIcons/arrow_left.svg +4 -4
  41. package/src/assets/svgIcons/arrow_right.svg +4 -4
  42. package/src/assets/svgIcons/arrow_up.svg +3 -3
  43. package/src/assets/svgIcons/arrow_up_unfilled.svg +4 -4
  44. package/src/assets/svgIcons/attachment.svg +3 -3
  45. package/src/assets/svgIcons/base_layer.svg +3 -3
  46. package/src/assets/svgIcons/battery.svg +3 -3
  47. package/src/assets/svgIcons/bell.svg +3 -3
  48. package/src/assets/svgIcons/bell_alt.svg +3 -3
  49. package/src/assets/svgIcons/bexio.svg +4 -4
  50. package/src/assets/svgIcons/bold.svg +3 -3
  51. package/src/assets/svgIcons/bom.svg +3 -3
  52. package/src/assets/svgIcons/bom_generation.svg +10 -10
  53. package/src/assets/svgIcons/bookmaker.svg +3 -3
  54. package/src/assets/svgIcons/bubble.svg +3 -3
  55. package/src/assets/svgIcons/bug.svg +5 -5
  56. package/src/assets/svgIcons/buildings.svg +55 -55
  57. package/src/assets/svgIcons/bullet_list.svg +8 -8
  58. package/src/assets/svgIcons/calendar.svg +7 -7
  59. package/src/assets/svgIcons/calendar_icon.svg +7 -7
  60. package/src/assets/svgIcons/call.svg +3 -3
  61. package/src/assets/svgIcons/camera.svg +3 -3
  62. package/src/assets/svgIcons/car.svg +3 -3
  63. package/src/assets/svgIcons/cart.svg +3 -3
  64. package/src/assets/svgIcons/charger_icon_white.svg +44 -44
  65. package/src/assets/svgIcons/checkbox.svg +3 -3
  66. package/src/assets/svgIcons/checkmark.svg +3 -3
  67. package/src/assets/svgIcons/checkmark_white.svg +4 -4
  68. package/src/assets/svgIcons/clear_formatting.svg +7 -7
  69. package/src/assets/svgIcons/clenergy.svg +3 -3
  70. package/src/assets/svgIcons/clickable_info.svg +4 -4
  71. package/src/assets/svgIcons/clickable_info_white.svg +5 -5
  72. package/src/assets/svgIcons/clip.svg +3 -3
  73. package/src/assets/svgIcons/clock.svg +17 -17
  74. package/src/assets/svgIcons/clock_full.svg +3 -3
  75. package/src/assets/svgIcons/close.svg +4 -4
  76. package/src/assets/svgIcons/co_branding.svg +5 -5
  77. package/src/assets/svgIcons/collapse.svg +4 -4
  78. package/src/assets/svgIcons/collapse_all.svg +3 -3
  79. package/src/assets/svgIcons/collections.svg +3 -3
  80. package/src/assets/svgIcons/component_library.svg +7 -7
  81. package/src/assets/svgIcons/consumption_tariffs.svg +43 -43
  82. package/src/assets/svgIcons/context_menu-1.svg +6 -6
  83. package/src/assets/svgIcons/context_menu-2.svg +5 -5
  84. package/src/assets/svgIcons/context_menu.svg +5 -5
  85. package/src/assets/svgIcons/context_menu_tabs.svg +5 -5
  86. package/src/assets/svgIcons/cross.svg +4 -4
  87. package/src/assets/svgIcons/current_variant.svg +4 -4
  88. package/src/assets/svgIcons/customer.svg +3 -3
  89. package/src/assets/svgIcons/dashboard.svg +3 -3
  90. package/src/assets/svgIcons/data_transfer.svg +3 -3
  91. package/src/assets/svgIcons/deadline.svg +4 -4
  92. package/src/assets/svgIcons/deal_flow.svg +3 -3
  93. package/src/assets/svgIcons/delete.svg +4 -4
  94. package/src/assets/svgIcons/delete_area_active.svg +16 -16
  95. package/src/assets/svgIcons/delete_area_inactive.svg +15 -15
  96. package/src/assets/svgIcons/direction_active-1.svg +12 -12
  97. package/src/assets/svgIcons/direction_active.svg +5 -5
  98. package/src/assets/svgIcons/direction_arrow.svg +4 -4
  99. package/src/assets/svgIcons/direction_inactive.svg +4 -4
  100. package/src/assets/svgIcons/dislike.svg +3 -3
  101. package/src/assets/svgIcons/distance_tool.svg +8 -8
  102. package/src/assets/svgIcons/distances_active.svg +9 -9
  103. package/src/assets/svgIcons/distances_inactive.svg +8 -8
  104. package/src/assets/svgIcons/distort_tool.svg +10 -10
  105. package/src/assets/svgIcons/distort_tool2.svg +16 -16
  106. package/src/assets/svgIcons/document.svg +3 -3
  107. package/src/assets/svgIcons/documents.svg +3 -3
  108. package/src/assets/svgIcons/downarrow.svg +3 -3
  109. package/src/assets/svgIcons/download.svg +4 -4
  110. package/src/assets/svgIcons/drag_icon.svg +8 -8
  111. package/src/assets/svgIcons/draggable_corner.svg +5 -5
  112. package/src/assets/svgIcons/draw_tool.svg +3 -3
  113. package/src/assets/svgIcons/duplicate-1.svg +8 -8
  114. package/src/assets/svgIcons/duplicate-2.svg +5 -5
  115. package/src/assets/svgIcons/duplicate.svg +4 -4
  116. package/src/assets/svgIcons/e-mobility_configurator.svg +6 -6
  117. package/src/assets/svgIcons/e_signature.svg +5 -5
  118. package/src/assets/svgIcons/edit_button.svg +3 -3
  119. package/src/assets/svgIcons/efs.svg +5 -5
  120. package/src/assets/svgIcons/electricity_tariff.svg +3 -3
  121. package/src/assets/svgIcons/email.svg +3 -3
  122. package/src/assets/svgIcons/ems-1.svg +3 -3
  123. package/src/assets/svgIcons/ems.svg +3 -3
  124. package/src/assets/svgIcons/end_of_the_list.svg +5 -5
  125. package/src/assets/svgIcons/energy_meter.svg +3 -3
  126. package/src/assets/svgIcons/erase.svg +4 -4
  127. package/src/assets/svgIcons/erase_white.svg +4 -4
  128. package/src/assets/svgIcons/expand_all.svg +4 -4
  129. package/src/assets/svgIcons/export_document.svg +3 -3
  130. package/src/assets/svgIcons/external_icon.svg +5 -5
  131. package/src/assets/svgIcons/fav_icon.svg +4 -4
  132. package/src/assets/svgIcons/finance.svg +3 -3
  133. package/src/assets/svgIcons/financing_for_pv-1.svg +5 -5
  134. package/src/assets/svgIcons/financing_for_pv-2.svg +3 -3
  135. package/src/assets/svgIcons/financing_for_pv.svg +3 -3
  136. package/src/assets/svgIcons/finish-1.svg +4 -4
  137. package/src/assets/svgIcons/finish.svg +3 -3
  138. package/src/assets/svgIcons/flatten.svg +11 -11
  139. package/src/assets/svgIcons/flatten_roof.svg +20 -20
  140. package/src/assets/svgIcons/folder.svg +3 -3
  141. package/src/assets/svgIcons/free_technology.svg +3 -3
  142. package/src/assets/svgIcons/handle.svg +5 -5
  143. package/src/assets/svgIcons/heat_calc.svg +7 -7
  144. package/src/assets/svgIcons/heat_pump.svg +5 -5
  145. package/src/assets/svgIcons/heating_system.svg +3 -3
  146. package/src/assets/svgIcons/height_equalize.svg +3 -3
  147. package/src/assets/svgIcons/height_snap.svg +3 -3
  148. package/src/assets/svgIcons/house.svg +3 -3
  149. package/src/assets/svgIcons/house_3d-1.svg +7 -7
  150. package/src/assets/svgIcons/house_3d.svg +7 -7
  151. package/src/assets/svgIcons/house_sun.svg +3 -0
  152. package/src/assets/svgIcons/hybrid.svg +4 -4
  153. package/src/assets/svgIcons/inclination.svg +2 -2
  154. package/src/assets/svgIcons/info.svg +3 -3
  155. package/src/assets/svgIcons/initial_situation.svg +3 -3
  156. package/src/assets/svgIcons/integrations.svg +3 -3
  157. package/src/assets/svgIcons/intro-tour-1.svg +3 -3
  158. package/src/assets/svgIcons/intro-tour.svg +3 -3
  159. package/src/assets/svgIcons/inverter.svg +3 -3
  160. package/src/assets/svgIcons/italic.svg +3 -3
  161. package/src/assets/svgIcons/k2.svg +4 -4
  162. package/src/assets/svgIcons/key.svg +3 -3
  163. package/src/assets/svgIcons/lake.svg +29 -29
  164. package/src/assets/svgIcons/layers_close.svg +4 -4
  165. package/src/assets/svgIcons/layers_open.svg +4 -4
  166. package/src/assets/svgIcons/lead_marketplace.svg +6 -6
  167. package/src/assets/svgIcons/lead_provider.svg +4 -4
  168. package/src/assets/svgIcons/length_2d.svg +2 -2
  169. package/src/assets/svgIcons/length_3d.svg +4 -4
  170. package/src/assets/svgIcons/length_calculator.svg +2 -2
  171. package/src/assets/svgIcons/length_in_2d_active.svg +12 -12
  172. package/src/assets/svgIcons/length_in_2d_inctive.svg +13 -13
  173. package/src/assets/svgIcons/light_bulb.svg +3 -3
  174. package/src/assets/svgIcons/like.svg +3 -3
  175. package/src/assets/svgIcons/line_graph.svg +3 -3
  176. package/src/assets/svgIcons/local_subsidies.svg +18 -18
  177. package/src/assets/svgIcons/location.svg +3 -3
  178. package/src/assets/svgIcons/lock.svg +3 -3
  179. package/src/assets/svgIcons/logout.svg +3 -3
  180. package/src/assets/svgIcons/loop.svg +3 -3
  181. package/src/assets/svgIcons/low-vegetation.svg +37 -37
  182. package/src/assets/svgIcons/lunch.svg +4 -4
  183. package/src/assets/svgIcons/magic_tool.svg +6 -6
  184. package/src/assets/svgIcons/map_icon.svg +5 -5
  185. package/src/assets/svgIcons/map_settings.svg +3 -3
  186. package/src/assets/svgIcons/margin_tool.svg +4 -4
  187. package/src/assets/svgIcons/meeting.svg +6 -6
  188. package/src/assets/svgIcons/module.svg +3 -3
  189. package/src/assets/svgIcons/move_copy.svg +4 -4
  190. package/src/assets/svgIcons/move_down.svg +3 -3
  191. package/src/assets/svgIcons/move_up.svg +3 -3
  192. package/src/assets/svgIcons/new_area_inactive.svg +11 -11
  193. package/src/assets/svgIcons/next.svg +4 -4
  194. package/src/assets/svgIcons/normal-tg.svg +30 -30
  195. package/src/assets/svgIcons/normal-vegetation.svg +53 -53
  196. package/src/assets/svgIcons/not_equal_to.svg +3 -3
  197. package/src/assets/svgIcons/numbered_list.svg +6 -6
  198. package/src/assets/svgIcons/obstacle_tool.svg +8 -8
  199. package/src/assets/svgIcons/obstacle_tool_origin.svg +3 -3
  200. package/src/assets/svgIcons/offset_tool.svg +8 -8
  201. package/src/assets/svgIcons/open-tg.svg +21 -21
  202. package/src/assets/svgIcons/optimizer.svg +3 -3
  203. package/src/assets/svgIcons/outline_tool.svg +11 -11
  204. package/src/assets/svgIcons/pan_tool.svg +12 -12
  205. package/src/assets/svgIcons/panels_tool.svg +8 -8
  206. package/src/assets/svgIcons/pen_tool.svg +4 -4
  207. package/src/assets/svgIcons/picker_tool.svg +4 -4
  208. package/src/assets/svgIcons/picture.svg +3 -3
  209. package/src/assets/svgIcons/pin.svg +5 -5
  210. package/src/assets/svgIcons/plus_button.svg +4 -4
  211. package/src/assets/svgIcons/presentation.svg +3 -3
  212. package/src/assets/svgIcons/previous.svg +4 -4
  213. package/src/assets/svgIcons/profile-1.svg +4 -4
  214. package/src/assets/svgIcons/profile.svg +3 -3
  215. package/src/assets/svgIcons/profitability.svg +3 -3
  216. package/src/assets/svgIcons/project_analysis.svg +3 -3
  217. package/src/assets/svgIcons/project_settings.svg +3 -3
  218. package/src/assets/svgIcons/protected-tg.svg +47 -47
  219. package/src/assets/svgIcons/pv.svg +3 -3
  220. package/src/assets/svgIcons/question_mark.svg +3 -3
  221. package/src/assets/svgIcons/question_mark_white.svg +4 -4
  222. package/src/assets/svgIcons/quotations.svg +6 -6
  223. package/src/assets/svgIcons/redo.svg +6 -6
  224. package/src/assets/svgIcons/reorder_string.svg +3 -3
  225. package/src/assets/svgIcons/resizer.svg +5 -5
  226. package/src/assets/svgIcons/roof_layer.svg +3 -3
  227. package/src/assets/svgIcons/rotate_tool.svg +3 -3
  228. package/src/assets/svgIcons/rotate_view.svg +5 -5
  229. package/src/assets/svgIcons/ruler_tool.svg +3 -3
  230. package/src/assets/svgIcons/run_simulation.svg +3 -3
  231. package/src/assets/svgIcons/save.svg +3 -3
  232. package/src/assets/svgIcons/scaling_tool.svg +8 -8
  233. package/src/assets/svgIcons/sea.svg +34 -34
  234. package/src/assets/svgIcons/search.svg +3 -3
  235. package/src/assets/svgIcons/security.svg +3 -3
  236. package/src/assets/svgIcons/settings.svg +3 -3
  237. package/src/assets/svgIcons/show_in_a_new_tab.svg +12 -12
  238. package/src/assets/svgIcons/smartphone.svg +4 -4
  239. package/src/assets/svgIcons/solar_calc.svg +13 -13
  240. package/src/assets/svgIcons/solarmarkt.svg +3 -3
  241. package/src/assets/svgIcons/sorting.svg +4 -4
  242. package/src/assets/svgIcons/split.svg +12 -12
  243. package/src/assets/svgIcons/star.svg +3 -3
  244. package/src/assets/svgIcons/start_of_the_list.svg +5 -5
  245. package/src/assets/svgIcons/strikethrough.svg +4 -4
  246. package/src/assets/svgIcons/string_design.svg +5 -5
  247. package/src/assets/svgIcons/string_directions.svg +10 -10
  248. package/src/assets/svgIcons/subscriptions.svg +3 -3
  249. package/src/assets/svgIcons/subsidies-2.svg +3 -3
  250. package/src/assets/svgIcons/subsidies.svg +3 -3
  251. package/src/assets/svgIcons/subtract_icon.svg +3 -3
  252. package/src/assets/svgIcons/suitcase.svg +3 -3
  253. package/src/assets/svgIcons/summer.svg +3 -3
  254. package/src/assets/svgIcons/switch_polarity.svg +5 -5
  255. package/src/assets/svgIcons/template_icon_not_clickable.svg +6 -6
  256. package/src/assets/svgIcons/transfer.svg +4 -4
  257. package/src/assets/svgIcons/transparent_warning.svg +4 -4
  258. package/src/assets/svgIcons/trim_tool.svg +4 -4
  259. package/src/assets/svgIcons/truck.svg +3 -3
  260. package/src/assets/svgIcons/underlined.svg +3 -3
  261. package/src/assets/svgIcons/undo.svg +6 -6
  262. package/src/assets/svgIcons/uparrow.svg +3 -3
  263. package/src/assets/svgIcons/update.svg +3 -3
  264. package/src/assets/svgIcons/upload_avatar-1.svg +12 -12
  265. package/src/assets/svgIcons/upload_avatar.svg +5 -5
  266. package/src/assets/svgIcons/upload_image.svg +8 -8
  267. package/src/assets/svgIcons/upload_image_tool.svg +7 -7
  268. package/src/assets/svgIcons/variants.svg +3 -3
  269. package/src/assets/svgIcons/vdv.svg +5 -5
  270. package/src/assets/svgIcons/vertical_tool.svg +3 -3
  271. package/src/assets/svgIcons/virtual_storage.svg +3 -3
  272. package/src/assets/svgIcons/warning.svg +4 -4
  273. package/src/assets/svgIcons/warning_triangle.svg +3 -3
  274. package/src/assets/svgIcons/warning_triangle_white.svg +5 -5
  275. package/src/assets/svgIcons/way.svg +5 -5
  276. package/src/assets/svgIcons/wifi.svg +3 -3
  277. package/src/assets/svgIcons/winter.svg +3 -3
  278. package/src/assets/svgIcons/workflow_template.svg +11 -11
  279. package/src/assets/tests/__mocks__/iconCache.js +1 -1
  280. package/src/assets/tests/__mocks__/svgMock.js +1 -1
  281. package/src/assets/tests/helpers.js +12 -12
  282. package/src/assets/theme.js +624 -623
  283. package/src/components/addNewButton/AddNewButton.stories.js +17 -17
  284. package/src/components/addNewButton/addNewButton.spec.js +23 -23
  285. package/src/components/addNewButton/index.vue +66 -66
  286. package/src/components/banner/actionBanner/ActionBanner.stories.js +45 -45
  287. package/src/components/banner/actionBanner/actionBanner.spec.js +76 -76
  288. package/src/components/banner/actionBanner/index.vue +86 -86
  289. package/src/components/banner/banner/Banner.stories.js +64 -64
  290. package/src/components/banner/banner/banner.spec.js +149 -149
  291. package/src/components/banner/banner/index.vue +205 -205
  292. package/src/components/banner/infoBanner/InfoBanner.spec.js +70 -70
  293. package/src/components/banner/infoBanner/InfoBanner.stories.js +42 -42
  294. package/src/components/banner/infoBanner/index.vue +97 -97
  295. package/src/components/banner/notificationBanner/index.vue +131 -131
  296. package/src/components/buttons/buttonIcon/index.vue +250 -250
  297. package/src/components/buttons/closeButton/CloseButton.stories.js +25 -25
  298. package/src/components/buttons/closeButton/index.vue +62 -62
  299. package/src/components/buttons/mainButton/MainButton.stories.js +51 -51
  300. package/src/components/buttons/mainButton/index.vue +213 -213
  301. package/src/components/buttons/mainButton/mainButton.spec.js +35 -35
  302. package/src/components/card/Card.stories.js +79 -79
  303. package/src/components/card/card.spec.js +135 -135
  304. package/src/components/card/index.vue +116 -116
  305. package/src/components/collapsableInfoText/index.vue +127 -127
  306. package/src/components/deleteIcon/DeleteIcon.stories.js +29 -29
  307. package/src/components/deleteIcon/index.vue +78 -78
  308. package/src/components/draggableCard/defaultProps.js +16 -0
  309. package/src/components/draggableCard/draggableCard.spec.js +99 -0
  310. package/src/components/draggableCard/draggableCard.stories.js +79 -0
  311. package/src/components/draggableCard/index.vue +354 -0
  312. package/src/components/draggableInputHandle/index.vue +46 -46
  313. package/src/components/dropdown/Dropdown.stories.js +53 -53
  314. package/src/components/dropdown/index.vue +138 -138
  315. package/src/components/errorMessage/index.vue +64 -64
  316. package/src/components/filter/filterSettings.vue +670 -670
  317. package/src/components/filter/index.vue +154 -154
  318. package/src/components/filter/parentDropdown.vue +91 -91
  319. package/src/components/icon/Icons.stories.js +31 -31
  320. package/src/components/icon/icon.spec.js +66 -66
  321. package/src/components/icon/iconCache.mjs +23 -23
  322. package/src/components/icon/iconCollection.vue +83 -83
  323. package/src/components/icon/index.vue +197 -197
  324. package/src/components/iconWrapper/index.vue +184 -184
  325. package/src/components/infoCard/InfoCard.stories.js +170 -170
  326. package/src/components/infoCard/defaultProps.js +7 -7
  327. package/src/components/infoCard/index.vue +156 -156
  328. package/src/components/infoCard/infoCard.spec.js +64 -64
  329. package/src/components/infoLabel/index.vue +63 -63
  330. package/src/components/infoText/constants.js +4 -4
  331. package/src/components/infoText/index.vue +645 -645
  332. package/src/components/infoText/infoText.spec.js +62 -62
  333. package/src/components/infoText/infoText.stories.js +48 -48
  334. package/src/components/infoText/placeholder.vue +225 -225
  335. package/src/components/inputs/checkbox/Checkbox.stories.js +63 -63
  336. package/src/components/inputs/checkbox/checkbox.spec.js +109 -109
  337. package/src/components/inputs/checkbox/index.vue +250 -250
  338. package/src/components/inputs/inputNumber/InputNumber.stories.js +150 -150
  339. package/src/components/inputs/inputNumber/index.vue +990 -990
  340. package/src/components/inputs/inputNumberQuestion/index.vue +218 -218
  341. package/src/components/inputs/inputText/InputText.stories.js +70 -70
  342. package/src/components/inputs/inputText/index.vue +463 -463
  343. package/src/components/inputs/inputText/inputText.spec.js +588 -588
  344. package/src/components/inputs/radioButton/RadioButton.stories.js +77 -77
  345. package/src/components/inputs/radioButton/defaultProps.js +31 -31
  346. package/src/components/inputs/radioButton/index.vue +336 -336
  347. package/src/components/inputs/radioButton/radioButton.spec.js +306 -306
  348. package/src/components/inputs/searchInput/SearchInput.stories.js +66 -66
  349. package/src/components/inputs/searchInput/defaultProps.js +12 -12
  350. package/src/components/inputs/searchInput/index.vue +165 -165
  351. package/src/components/inputs/searchInput/searchInput.spec.js +64 -64
  352. package/src/components/inputs/select/index.vue +968 -968
  353. package/src/components/inputs/select/option/index.vue +164 -164
  354. package/src/components/inputs/select/select.stories.js +58 -58
  355. package/src/components/inputs/slider/index.vue +126 -126
  356. package/src/components/inputs/switchField/index.vue +254 -254
  357. package/src/components/inputs/textAreaInput/TextAreaInput.stories.js +127 -127
  358. package/src/components/inputs/textAreaInput/index.vue +204 -204
  359. package/src/components/inputs/toggle/Toggle.stories.js +77 -77
  360. package/src/components/inputs/toggle/index.vue +322 -322
  361. package/src/components/inputs/toggle/toggle.spec.js +102 -102
  362. package/src/components/label/index.vue +98 -98
  363. package/src/components/markerItem/index.vue +95 -95
  364. package/src/components/modals/actionModal/index.vue +64 -64
  365. package/src/components/modals/infoModal/index.vue +52 -52
  366. package/src/components/modals/modal/index.vue +200 -200
  367. package/src/components/modals/modal/modal.stories.js +31 -31
  368. package/src/components/navigationTabs/index.vue +114 -114
  369. package/src/components/pageSubtitle/PageSubtitle.stories.js +59 -59
  370. package/src/components/pageSubtitle/index.vue +78 -78
  371. package/src/components/pageSubtitle/pageSubtitle.spec.js +46 -46
  372. package/src/components/pageTitle/PageTitle.stories.js +95 -95
  373. package/src/components/pageTitle/index.vue +91 -91
  374. package/src/components/pageTitle/pageTitle.spec.js +46 -46
  375. package/src/components/pagination/index.vue +148 -148
  376. package/src/components/panelRangeInfo/index.vue +196 -196
  377. package/src/components/progressBar/index.vue +125 -125
  378. package/src/components/projectMarker/index.vue +301 -301
  379. package/src/components/rangeSlider/Slider.vue +578 -578
  380. package/src/components/rangeSlider/index.vue +517 -517
  381. package/src/components/rangeSlider/utils/dom.js +49 -49
  382. package/src/components/rangeSlider/utils/fns.js +26 -26
  383. package/src/components/roundTabs/index.vue +107 -107
  384. package/src/components/selectedOptions/index.vue +462 -462
  385. package/src/components/selectedOptions/selectedOptions.spec.js +176 -176
  386. package/src/components/selectedOptions/selectedOptions.stories.js +155 -155
  387. package/src/components/sideMenu/index.vue +325 -325
  388. package/src/components/spinner/Spinner.stories.js +34 -34
  389. package/src/components/spinner/index.vue +129 -129
  390. package/src/components/spinner/spinner.spec.js +69 -69
  391. package/src/components/spinnerGif/index.vue +98 -98
  392. package/src/components/tableDropdown/index.vue +692 -692
  393. package/src/components/tables/mainTable/exampleNested.vue +328 -328
  394. package/src/components/tables/mainTable/index.vue +523 -523
  395. package/src/components/tables/viewTable/index.vue +195 -195
  396. package/src/components/tabsHeader/index.vue +95 -95
  397. package/src/components/threeDots/index.vue +413 -413
  398. package/src/components/videoThumbnail/index.vue +103 -103
  399. package/src/components/videoThumbnail/videoThumbnail.stories.js +33 -33
  400. package/src/helpers/currencyMapping.js +28 -28
  401. package/src/helpers/numberConverter.js +103 -103
  402. package/src/helpers/translateLang.js +128 -128
  403. package/src/main.js +7 -7
  404. package/src/mixins/inputValidations.js +97 -97
  405. package/src/router/dynamicRoutes.js +23 -23
  406. package/src/stories/Button.stories.js +48 -48
  407. package/src/stories/Button.vue +52 -52
  408. package/src/stories/Configure.mdx +364 -364
  409. package/src/stories/Header.stories.js +41 -41
  410. package/src/stories/Header.vue +59 -59
  411. package/src/stories/Page.stories.js +30 -30
  412. package/src/stories/Page.vue +83 -83
  413. package/src/stories/button.css +30 -30
  414. package/src/stories/header.css +32 -32
  415. package/src/stories/page.css +69 -69
  416. package/src/utils/index.js +12 -12
  417. package/src/helpers/dateTimeFormatting.js +0 -51
@@ -1,623 +1,624 @@
1
- const theme = (() => {
2
- const colors = {
3
- primary: '#5900CC',
4
- secondary: '#FAF5FF',
5
- tertiary: '#d5d5d5',
6
- black: '#263238',
7
- black2: '#151B1E',
8
- yellow: '#fdb813',
9
- yellow2: '#FFEFB7',
10
- yellow3: '#FFFBEE',
11
- yellow4: '#FFE066',
12
- darkGray: '#818181',
13
- mediumGray: '#d5d5d5',
14
- lightGray: '#f2f2f2',
15
- white: '#ffffff',
16
- blue: '#48a2d0',
17
- blue1: '#e4efff',
18
- blue2: '#f6faff',
19
- blue3: '#6CD4D4',
20
- blue4: '#66D0F3',
21
- blue5: '#00B0EB',
22
- brightBlue: '#0068DE',
23
- ballBlue: '#2CC0EB',
24
- red: '#FF5656',
25
- red1: '#f5a2a2',
26
- red2: '#de5959',
27
- red3: '#FFCCCC',
28
- red4: '#FF9A9A',
29
- pureRed: '#ff0000',
30
- darkRed: '#d00000',
31
- cornellRed: '#a52019',
32
- transparentRed10: '#ff000016',
33
- transparentRed20: '#ff000032',
34
- transparentRed40: '#ff000064',
35
- transparentRed50: '#ff000080',
36
- grey1: '#666',
37
- grey2: '#c4c4c4',
38
- grey3: '#b2b9c5',
39
- grey4: '#dee2eb',
40
- grey5: '#fafafa',
41
- grey6: '#555d61',
42
- grey7: '#f2f1f7',
43
- grey8: '#393939',
44
- grey9: '#607466',
45
- grey10: '#4a5861',
46
- grey11: '#656d70',
47
- grey12: '#787d81',
48
- grey13: '#CCCCCC',
49
- grey14: '#D1DBE0',
50
- grey15: '#E1E7EA',
51
- grey16: '#F0F3F5',
52
- grey17: '#394E58',
53
- grey18: '#3E5C6A',
54
- grey19: '#6E8E9E',
55
- grey20: '#D9DEE9',
56
- grey21: '#3E464B',
57
- turquoise: '#20A4CA',
58
- green: '#99db0c',
59
- green2: '#e5fcb4',
60
- green3: '#C2E96D',
61
- seaGreen: '#008351',
62
- purple: '#505ca6', // Keeping this as a standalone purple, but nested purple object below takes precedence for purple[500]
63
- purple1: '#F1E5FF',
64
- purple2: '#C739E4',
65
- purple3: '#E9CEFE',
66
- purple4: '#D0D6F5',
67
- purple5: '#533181',
68
- purple6: '#6F20DC',
69
- orange: '#ffc338',
70
- disabled: '#dfe1e1',
71
- transparentWhite2: '#ffffff32',
72
- transparentWhite1: '#ffffff16',
73
- transparentBlack1: '#263238e6',
74
- transparentBlue1: '#20a4cae6',
75
- blueElectric: '#66dffa',
76
- eturnityGrey: '#263238',
77
- teal: '#018b7d',
78
- slateGrey: '#495257',
79
- cornflower: '#6276DF',
80
- lavender: '#8392EE',
81
- }
82
-
83
- const semanticColors = {
84
- purple: {
85
- 50: '#F5EEFF',
86
- 100: '#EEE4FC',
87
- 200: '#E8D8FE',
88
- 300: '#D3BBF5',
89
- 400: '#B17BFA',
90
- 500: '#6F20DC',
91
- 600: '#5C1FAF',
92
- 700: '#411083',
93
- 800: '#33165A',
94
- 900: '#190B2D',
95
- },
96
- beige: {
97
- 50: '#F9F5F2',
98
- 100: '#F2EBE7',
99
- 200: '#E6D6D0',
100
- 300: '#D9C2B8',
101
- 400: '#CDADA1',
102
- 500: '#C09989',
103
- 600: '#9A7A6E',
104
- 700: '#6A5247',
105
- 800: '#4D3D37',
106
- 900: '#261F1B',
107
- },
108
- grey: {
109
- 50: '#FDFDFD',
110
- 100: '#F8F9FB',
111
- 200: '#F2F3F7',
112
- 300: '#EBEEF3',
113
- 400: '#E5E8EF',
114
- 500: '#D9DEE9',
115
- 600: '#B2B5BC',
116
- 700: '#85888D',
117
- 800: '#595A5E',
118
- 900: '#2C2D2F',
119
- },
120
- teal: {
121
- 50: '#F0F3F5',
122
- 100: '#E1E7EA',
123
- 200: '#D1DBE0',
124
- 300: '#ADC0C8',
125
- 400: '#8CA6B3',
126
- 500: '#6E8E9E',
127
- 600: '#3E5C6A',
128
- 700: '#394E58',
129
- 800: '#263238',
130
- 900: '#151B1E',
131
- },
132
- blue: {
133
- 50: '#E0F6FD',
134
- 100: '#CCEFFB',
135
- 200: '#99DFF7',
136
- 300: '#66D0F3',
137
- 400: '#33C0EF',
138
- 500: '#00B0EB',
139
- 600: '#008DBC',
140
- 700: '#006A8D',
141
- 800: '#00465E',
142
- 900: '#00232F',
143
- },
144
- green: {
145
- 50: '#F8FFE9',
146
- 100: '#F2FFD6',
147
- 200: '#D6F19E',
148
- 300: '#C2E96D',
149
- 400: '#ADE23D',
150
- 500: '#99DB0C',
151
- 600: '#7AAF0A',
152
- 700: '#5C8307',
153
- 800: '#3D5805',
154
- 900: '#1F2C02',
155
- },
156
- yellow: {
157
- 50: '#FFFBEC',
158
- 100: '#FFF5CC',
159
- 200: '#FFEB99',
160
- 300: '#FFE066',
161
- 400: '#FFD633',
162
- 500: '#FFCC00',
163
- 600: '#CCA300',
164
- 700: '#997A00',
165
- 800: '#665200',
166
- 900: '#332900',
167
- },
168
- red: {
169
- 50: '#FFEBEB',
170
- 100: '#FFDDDD',
171
- 200: '#FFBBBB',
172
- 300: '#FF9A9A',
173
- 400: '#FF7F7F',
174
- 500: '#FF6565',
175
- 600: '#CC4545',
176
- 700: '#993434',
177
- 800: '#662222',
178
- 900: '#331111',
179
- },
180
- }
181
-
182
- return {
183
- colors,
184
- semanticColors,
185
- fonts: {
186
- mainFont: '"Figtree", sans-serif',
187
- },
188
- screen: {
189
- mobileSmall: '345px',
190
- mobile: '425px',
191
- mobileLarge: '530px',
192
- tablet: '768px',
193
- tabletLarge: '950px',
194
- tabletLandscape: '1024px',
195
- tabletLandscapeLarge: '1280px',
196
- laptopSmall: '1440px',
197
- laptopMiddle: '1680px',
198
- },
199
- borderRadius: '4px',
200
- boxShadow: {
201
- card: '0px 2px 8px 2px rgba(0, 0, 0, 0.15)',
202
- },
203
- mainButton: {
204
- light: {
205
- // theme
206
- primary: {
207
- // type
208
- main: {
209
- // variant: this is the default variant
210
- default: {
211
- backgroundColor: semanticColors.purple[500],
212
- textColor: colors.white,
213
- borderColor: '',
214
- },
215
- hover: {
216
- backgroundColor: semanticColors.purple[700],
217
- textColor: colors.white,
218
- borderColor: '',
219
- },
220
- active: {
221
- backgroundColor: semanticColors.purple[600],
222
- textColor: colors.white,
223
- borderColor: '',
224
- },
225
- disabled: {
226
- textColor: colors.white,
227
- backgroundColor: semanticColors.grey[500],
228
- borderColor: '',
229
- },
230
- },
231
- cancel: {
232
- // variant
233
- default: {
234
- backgroundColor: semanticColors.red[600],
235
- textColor: colors.white,
236
- borderColor: '',
237
- },
238
- hover: {
239
- backgroundColor: semanticColors.red[800],
240
- textColor: colors.white,
241
- borderColor: '',
242
- },
243
- active: {
244
- backgroundColor: semanticColors.red[700],
245
- textColor: colors.white,
246
- borderColor: '',
247
- },
248
- disabled: {
249
- textColor: colors.white,
250
- backgroundColor: semanticColors.grey[500],
251
- borderColor: '',
252
- },
253
- },
254
- },
255
- secondary: {
256
- // type
257
- main: {
258
- // variant: this is the default variant
259
- default: {
260
- backgroundColor: semanticColors.purple[50],
261
- textColor: semanticColors.purple[500],
262
- borderColor: '',
263
- },
264
- hover: {
265
- backgroundColor: semanticColors.purple[100],
266
- textColor: semanticColors.purple[700],
267
- borderColor: '',
268
- },
269
- active: {
270
- backgroundColor: semanticColors.purple[50],
271
- textColor: semanticColors.purple[600],
272
- borderColor: '',
273
- },
274
- disabled: {
275
- textColor: semanticColors.grey[600],
276
- backgroundColor: semanticColors.grey[300],
277
- borderColor: '',
278
- },
279
- },
280
- cancel: {
281
- // variant
282
- default: {
283
- backgroundColor: semanticColors.red[50],
284
- textColor: semanticColors.red[600],
285
- borderColor: '',
286
- },
287
- hover: {
288
- backgroundColor: semanticColors.red[100],
289
- textColor: semanticColors.red[700],
290
- borderColor: '',
291
- },
292
- active: {
293
- backgroundColor: semanticColors.red[200],
294
- textColor: semanticColors.red[800],
295
- borderColor: '',
296
- },
297
- disabled: {
298
- textColor: semanticColors.grey[600],
299
- backgroundColor: semanticColors.grey[300],
300
- borderColor: '',
301
- },
302
- },
303
- },
304
- tertiary: {
305
- // type
306
- main: {
307
- // variant: this is the default variant
308
- default: {
309
- backgroundColor: colors.white,
310
- textColor: semanticColors.purple[500],
311
- borderColor: semanticColors.grey[300],
312
- },
313
- hover: {
314
- backgroundColor: semanticColors.blue[200],
315
- textColor: semanticColors.purple[700],
316
- borderColor: semanticColors.grey[300],
317
- },
318
- active: {
319
- backgroundColor: semanticColors.blue[100],
320
- textColor: semanticColors.purple[600],
321
- borderColor: semanticColors.grey[600],
322
- },
323
- disabled: {
324
- textColor: semanticColors.grey[600],
325
- backgroundColor: semanticColors.grey[300],
326
- borderColor: semanticColors.grey[300],
327
- },
328
- },
329
- cancel: {
330
- // variant
331
- default: {
332
- backgroundColor: colors.white,
333
- textColor: semanticColors.red[600],
334
- borderColor: semanticColors.grey[300],
335
- },
336
- hover: {
337
- backgroundColor: semanticColors.red[100],
338
- textColor: semanticColors.red[700],
339
- borderColor: semanticColors.grey[300],
340
- },
341
- active: {
342
- backgroundColor: semanticColors.red[200],
343
- textColor: semanticColors.red[800],
344
- borderColor: semanticColors.grey[300],
345
- },
346
- disabled: {
347
- textColor: semanticColors.grey[600],
348
- backgroundColor: semanticColors.grey[300],
349
- borderColor: semanticColors.grey[300],
350
- },
351
- },
352
- },
353
- ghost: {
354
- // type
355
- main: {
356
- // variant: this is the default variant
357
- default: {
358
- backgroundColor: colors.white,
359
- textColor: semanticColors.purple[500],
360
- borderColor: '',
361
- },
362
- hover: {
363
- backgroundColor: semanticColors.blue[200],
364
- textColor: semanticColors.purple[700],
365
- borderColor: '',
366
- },
367
- active: {
368
- backgroundColor: semanticColors.blue[100],
369
- textColor: semanticColors.purple[600],
370
- borderColor: '',
371
- },
372
- disabled: {
373
- textColor: semanticColors.grey[600],
374
- backgroundColor: semanticColors.grey[300],
375
- borderColor: '',
376
- },
377
- },
378
- cancel: {
379
- // variant
380
- default: {
381
- backgroundColor: colors.white,
382
- textColor: semanticColors.red[600],
383
- borderColor: '',
384
- },
385
- hover: {
386
- backgroundColor: semanticColors.red[100],
387
- textColor: semanticColors.red[700],
388
- borderColor: '',
389
- },
390
- active: {
391
- backgroundColor: semanticColors.red[200],
392
- textColor: semanticColors.red[800],
393
- borderColor: '',
394
- },
395
- disabled: {
396
- textColor: semanticColors.grey[600],
397
- backgroundColor: semanticColors.grey[300],
398
- borderColor: '',
399
- },
400
- },
401
- },
402
- },
403
- dark: {
404
- // theme
405
- primary: {
406
- // type
407
- main: {
408
- // variant: this is the default variant
409
- default: {
410
- backgroundColor: colors.white,
411
- textColor: semanticColors.teal[800],
412
- borderColor: '',
413
- },
414
- hover: {
415
- backgroundColor: semanticColors.blue[100],
416
- textColor: semanticColors.teal[800],
417
- borderColor: '',
418
- },
419
- active: {
420
- backgroundColor: semanticColors.blue[100],
421
- textColor: semanticColors.teal[800],
422
- borderColor: '',
423
- },
424
- disabled: {
425
- textColor: semanticColors.grey[800],
426
- backgroundColor: semanticColors.grey[400],
427
- borderColor: '',
428
- },
429
- },
430
- cancel: {
431
- // variant
432
- default: {
433
- backgroundColor: semanticColors.red[400],
434
- textColor: semanticColors.teal[800],
435
- borderColor: '',
436
- },
437
- hover: {
438
- backgroundColor: semanticColors.red[100],
439
- textColor: semanticColors.teal[800],
440
- borderColor: '',
441
- },
442
- active: {
443
- backgroundColor: semanticColors.red[200],
444
- textColor: semanticColors.teal[800],
445
- borderColor: '',
446
- },
447
- disabled: {
448
- backgroundColor: semanticColors.grey[300],
449
- textColor: semanticColors.grey[800],
450
- borderColor: '',
451
- },
452
- },
453
- },
454
- secondary: {
455
- // type
456
- main: {
457
- // variant: this is the default variant
458
- default: {
459
- backgroundColor: semanticColors.teal[800],
460
- textColor: semanticColors.purple[50],
461
- borderColor: '',
462
- },
463
- hover: {
464
- backgroundColor: semanticColors.teal[600],
465
- textColor: semanticColors.purple[50],
466
- borderColor: '',
467
- },
468
- active: {
469
- backgroundColor: semanticColors.teal[700],
470
- textColor: semanticColors.purple[50],
471
- borderColor: '',
472
- },
473
- disabled: {
474
- textColor: semanticColors.grey[600],
475
- backgroundColor: semanticColors.grey[500],
476
- borderColor: '',
477
- },
478
- },
479
- cancel: {
480
- // variant
481
- default: {
482
- backgroundColor: semanticColors.red[800],
483
- textColor: semanticColors.red[400],
484
- borderColor: '',
485
- },
486
- hover: {
487
- backgroundColor: semanticColors.red[700],
488
- textColor: semanticColors.red[300],
489
- borderColor: '',
490
- },
491
- active: {
492
- backgroundColor: semanticColors.red[600],
493
- textColor: semanticColors.red[200],
494
- borderColor: '',
495
- },
496
- disabled: {
497
- textColor: semanticColors.grey[600],
498
- backgroundColor: semanticColors.grey[500],
499
- borderColor: '',
500
- },
501
- },
502
- },
503
- tertiary: {
504
- // type
505
- main: {
506
- // variant: this is the default variant
507
- default: {
508
- backgroundColor: 'transparent',
509
- textColor: semanticColors.purple[50],
510
- borderColor: semanticColors.teal[500],
511
- },
512
- hover: {
513
- backgroundColor: semanticColors.teal[600],
514
- textColor: semanticColors.purple[50],
515
- borderColor: semanticColors.teal[400],
516
- },
517
- active: {
518
- backgroundColor: semanticColors.teal[700],
519
- textColor: semanticColors.purple[50],
520
- borderColor: semanticColors.teal[300],
521
- },
522
- disabled: {
523
- textColor: semanticColors.grey[600],
524
- backgroundColor: semanticColors.grey[500],
525
- borderColor: semanticColors.grey[800],
526
- },
527
- },
528
- cancel: {
529
- // variant
530
- default: {
531
- backgroundColor: semanticColors.teal[200],
532
- textColor: semanticColors.red[400],
533
- borderColor: semanticColors.teal[500],
534
- },
535
- hover: {
536
- backgroundColor: semanticColors.red[700],
537
- textColor: semanticColors.red[700],
538
- borderColor: semanticColors.teal[400],
539
- },
540
- active: {
541
- backgroundColor: semanticColors.red[600],
542
- textColor: semanticColors.red[200],
543
- borderColor: semanticColors.teal[300],
544
- },
545
- disabled: {
546
- textColor: semanticColors.grey[600],
547
- backgroundColor: semanticColors.grey[500],
548
- borderColor: semanticColors.grey[800],
549
- },
550
- },
551
- },
552
- ghost: {
553
- // type
554
- main: {
555
- // variant: this is the default variant
556
- default: {
557
- backgroundColor: 'transparent',
558
- textColor: semanticColors.purple[50],
559
- borderColor: '',
560
- },
561
- hover: {
562
- backgroundColor: semanticColors.teal[600],
563
- textColor: semanticColors.purple[50],
564
- borderColor: '',
565
- },
566
- active: {
567
- backgroundColor: semanticColors.teal[700],
568
- textColor: semanticColors.purple[50],
569
- borderColor: '',
570
- },
571
- disabled: {
572
- textColor: semanticColors.grey[600],
573
- backgroundColor: semanticColors.grey[500],
574
- borderColor: '',
575
- },
576
- },
577
- cancel: {
578
- // variant
579
- default: {
580
- backgroundColor: semanticColors.teal[200],
581
- textColor: semanticColors.red[400],
582
- borderColor: '',
583
- },
584
- hover: {
585
- backgroundColor: semanticColors.red[700],
586
- textColor: semanticColors.red[300],
587
- borderColor: '',
588
- },
589
- active: {
590
- backgroundColor: semanticColors.red[600],
591
- textColor: semanticColors.red[200],
592
- borderColor: '',
593
- },
594
- disabled: {
595
- textColor: semanticColors.grey[600],
596
- backgroundColor: semanticColors.grey[500],
597
- borderColor: '',
598
- },
599
- },
600
- },
601
- },
602
- size: {
603
- large: {
604
- padding: '10px 20px',
605
- fontSize: '14px',
606
- iconWidth: '34px',
607
- },
608
- medium: {
609
- padding: '8px 16px',
610
- fontSize: '14px',
611
- iconWidth: '30px',
612
- },
613
- small: {
614
- padding: '6px 12px',
615
- fontSize: '14px',
616
- iconWidth: '26px',
617
- },
618
- },
619
- },
620
- }
621
- })()
622
-
623
- export default theme
1
+ const theme = (() => {
2
+ const colors = {
3
+ primary: '#5900CC',
4
+ secondary: '#FAF5FF',
5
+ tertiary: '#d5d5d5',
6
+ black: '#263238',
7
+ black2: '#151B1E',
8
+ yellow: '#fdb813',
9
+ yellow2: '#FFEFB7',
10
+ yellow3: '#FFFBEE',
11
+ yellow4: '#FFE066',
12
+ darkGray: '#818181',
13
+ mediumGray: '#d5d5d5',
14
+ lightGray: '#f2f2f2',
15
+ white: '#ffffff',
16
+ blue: '#48a2d0',
17
+ blue1: '#e4efff',
18
+ blue2: '#f6faff',
19
+ blue3: '#6CD4D4',
20
+ blue4: '#66D0F3',
21
+ blue5: '#00B0EB',
22
+ brightBlue: '#0068DE',
23
+ ballBlue: '#2CC0EB',
24
+ red: '#FF5656',
25
+ red1: '#f5a2a2',
26
+ red2: '#de5959',
27
+ red3: '#FFCCCC',
28
+ red4: '#FF9A9A',
29
+ pureRed: '#ff0000',
30
+ darkRed: '#d00000',
31
+ cornellRed: '#a52019',
32
+ transparentRed10: '#ff000016',
33
+ transparentRed20: '#ff000032',
34
+ transparentRed40: '#ff000064',
35
+ transparentRed50: '#ff000080',
36
+ grey1: '#666',
37
+ grey2: '#c4c4c4',
38
+ grey3: '#b2b9c5',
39
+ grey4: '#dee2eb',
40
+ grey5: '#fafafa',
41
+ grey6: '#555d61',
42
+ grey7: '#f2f1f7',
43
+ grey8: '#393939',
44
+ grey9: '#607466',
45
+ grey10: '#4a5861',
46
+ grey11: '#656d70',
47
+ grey12: '#787d81',
48
+ grey13: '#CCCCCC',
49
+ grey14: '#D1DBE0',
50
+ grey15: '#E1E7EA',
51
+ grey16: '#F0F3F5',
52
+ grey17: '#394E58',
53
+ grey18: '#3E5C6A',
54
+ grey19: '#6E8E9E',
55
+ grey20: '#D9DEE9',
56
+ grey21: '#3E464B',
57
+ turquoise: '#20A4CA',
58
+ green: '#99db0c',
59
+ green2: '#e5fcb4',
60
+ green3: '#C2E96D',
61
+ seaGreen: '#008351',
62
+ purple: '#505ca6', // Keeping this as a standalone purple, but nested purple object below takes precedence for purple[500]
63
+ purple1: '#F1E5FF',
64
+ purple2: '#C739E4',
65
+ purple3: '#E9CEFE',
66
+ purple4: '#D0D6F5',
67
+ purple5: '#533181',
68
+ purple6: '#6F20DC',
69
+ orange: '#ffc338',
70
+ disabled: '#dfe1e1',
71
+ transparentWhite2: '#ffffff32',
72
+ transparentWhite1: '#ffffff16',
73
+ transparentBlack1: '#263238e6',
74
+ transparentBlack2: '#263238e5',
75
+ transparentBlue1: '#20a4cae6',
76
+ blueElectric: '#66dffa',
77
+ eturnityGrey: '#263238',
78
+ teal: '#018b7d',
79
+ slateGrey: '#495257',
80
+ cornflower: '#6276DF',
81
+ lavender: '#8392EE',
82
+ }
83
+
84
+ const semanticColors = {
85
+ purple: {
86
+ 50: '#F5EEFF',
87
+ 100: '#EEE4FC',
88
+ 200: '#E8D8FE',
89
+ 300: '#D3BBF5',
90
+ 400: '#B17BFA',
91
+ 500: '#6F20DC',
92
+ 600: '#5C1FAF',
93
+ 700: '#411083',
94
+ 800: '#33165A',
95
+ 900: '#190B2D',
96
+ },
97
+ beige: {
98
+ 50: '#F9F5F2',
99
+ 100: '#F2EBE7',
100
+ 200: '#E6D6D0',
101
+ 300: '#D9C2B8',
102
+ 400: '#CDADA1',
103
+ 500: '#C09989',
104
+ 600: '#9A7A6E',
105
+ 700: '#6A5247',
106
+ 800: '#4D3D37',
107
+ 900: '#261F1B',
108
+ },
109
+ grey: {
110
+ 50: '#FDFDFD',
111
+ 100: '#F8F9FB',
112
+ 200: '#F2F3F7',
113
+ 300: '#EBEEF3',
114
+ 400: '#E5E8EF',
115
+ 500: '#D9DEE9',
116
+ 600: '#B2B5BC',
117
+ 700: '#85888D',
118
+ 800: '#595A5E',
119
+ 900: '#2C2D2F',
120
+ },
121
+ teal: {
122
+ 50: '#F0F3F5',
123
+ 100: '#E1E7EA',
124
+ 200: '#D1DBE0',
125
+ 300: '#ADC0C8',
126
+ 400: '#8CA6B3',
127
+ 500: '#6E8E9E',
128
+ 600: '#3E5C6A',
129
+ 700: '#394E58',
130
+ 800: '#263238',
131
+ 900: '#151B1E',
132
+ },
133
+ blue: {
134
+ 50: '#E0F6FD',
135
+ 100: '#CCEFFB',
136
+ 200: '#99DFF7',
137
+ 300: '#66D0F3',
138
+ 400: '#33C0EF',
139
+ 500: '#00B0EB',
140
+ 600: '#008DBC',
141
+ 700: '#006A8D',
142
+ 800: '#00465E',
143
+ 900: '#00232F',
144
+ },
145
+ green: {
146
+ 50: '#F8FFE9',
147
+ 100: '#F2FFD6',
148
+ 200: '#D6F19E',
149
+ 300: '#C2E96D',
150
+ 400: '#ADE23D',
151
+ 500: '#99DB0C',
152
+ 600: '#7AAF0A',
153
+ 700: '#5C8307',
154
+ 800: '#3D5805',
155
+ 900: '#1F2C02',
156
+ },
157
+ yellow: {
158
+ 50: '#FFFBEC',
159
+ 100: '#FFF5CC',
160
+ 200: '#FFEB99',
161
+ 300: '#FFE066',
162
+ 400: '#FFD633',
163
+ 500: '#FFCC00',
164
+ 600: '#CCA300',
165
+ 700: '#997A00',
166
+ 800: '#665200',
167
+ 900: '#332900',
168
+ },
169
+ red: {
170
+ 50: '#FFEBEB',
171
+ 100: '#FFDDDD',
172
+ 200: '#FFBBBB',
173
+ 300: '#FF9A9A',
174
+ 400: '#FF7F7F',
175
+ 500: '#FF6565',
176
+ 600: '#CC4545',
177
+ 700: '#993434',
178
+ 800: '#662222',
179
+ 900: '#331111',
180
+ },
181
+ }
182
+
183
+ return {
184
+ colors,
185
+ semanticColors,
186
+ fonts: {
187
+ mainFont: '"Figtree", sans-serif',
188
+ },
189
+ screen: {
190
+ mobileSmall: '345px',
191
+ mobile: '425px',
192
+ mobileLarge: '530px',
193
+ tablet: '768px',
194
+ tabletLarge: '950px',
195
+ tabletLandscape: '1024px',
196
+ tabletLandscapeLarge: '1280px',
197
+ laptopSmall: '1440px',
198
+ laptopMiddle: '1680px',
199
+ },
200
+ borderRadius: '4px',
201
+ boxShadow: {
202
+ card: '0px 2px 8px 2px rgba(0, 0, 0, 0.15)',
203
+ },
204
+ mainButton: {
205
+ light: {
206
+ // theme
207
+ primary: {
208
+ // type
209
+ main: {
210
+ // variant: this is the default variant
211
+ default: {
212
+ backgroundColor: semanticColors.purple[500],
213
+ textColor: colors.white,
214
+ borderColor: '',
215
+ },
216
+ hover: {
217
+ backgroundColor: semanticColors.purple[700],
218
+ textColor: colors.white,
219
+ borderColor: '',
220
+ },
221
+ active: {
222
+ backgroundColor: semanticColors.purple[600],
223
+ textColor: colors.white,
224
+ borderColor: '',
225
+ },
226
+ disabled: {
227
+ textColor: colors.white,
228
+ backgroundColor: semanticColors.grey[500],
229
+ borderColor: '',
230
+ },
231
+ },
232
+ cancel: {
233
+ // variant
234
+ default: {
235
+ backgroundColor: semanticColors.red[600],
236
+ textColor: colors.white,
237
+ borderColor: '',
238
+ },
239
+ hover: {
240
+ backgroundColor: semanticColors.red[800],
241
+ textColor: colors.white,
242
+ borderColor: '',
243
+ },
244
+ active: {
245
+ backgroundColor: semanticColors.red[700],
246
+ textColor: colors.white,
247
+ borderColor: '',
248
+ },
249
+ disabled: {
250
+ textColor: colors.white,
251
+ backgroundColor: semanticColors.grey[500],
252
+ borderColor: '',
253
+ },
254
+ },
255
+ },
256
+ secondary: {
257
+ // type
258
+ main: {
259
+ // variant: this is the default variant
260
+ default: {
261
+ backgroundColor: semanticColors.purple[50],
262
+ textColor: semanticColors.purple[500],
263
+ borderColor: '',
264
+ },
265
+ hover: {
266
+ backgroundColor: semanticColors.purple[100],
267
+ textColor: semanticColors.purple[700],
268
+ borderColor: '',
269
+ },
270
+ active: {
271
+ backgroundColor: semanticColors.purple[50],
272
+ textColor: semanticColors.purple[600],
273
+ borderColor: '',
274
+ },
275
+ disabled: {
276
+ textColor: semanticColors.grey[600],
277
+ backgroundColor: semanticColors.grey[300],
278
+ borderColor: '',
279
+ },
280
+ },
281
+ cancel: {
282
+ // variant
283
+ default: {
284
+ backgroundColor: semanticColors.red[50],
285
+ textColor: semanticColors.red[600],
286
+ borderColor: '',
287
+ },
288
+ hover: {
289
+ backgroundColor: semanticColors.red[100],
290
+ textColor: semanticColors.red[700],
291
+ borderColor: '',
292
+ },
293
+ active: {
294
+ backgroundColor: semanticColors.red[200],
295
+ textColor: semanticColors.red[800],
296
+ borderColor: '',
297
+ },
298
+ disabled: {
299
+ textColor: semanticColors.grey[600],
300
+ backgroundColor: semanticColors.grey[300],
301
+ borderColor: '',
302
+ },
303
+ },
304
+ },
305
+ tertiary: {
306
+ // type
307
+ main: {
308
+ // variant: this is the default variant
309
+ default: {
310
+ backgroundColor: colors.white,
311
+ textColor: semanticColors.purple[500],
312
+ borderColor: semanticColors.grey[300],
313
+ },
314
+ hover: {
315
+ backgroundColor: semanticColors.blue[200],
316
+ textColor: semanticColors.purple[700],
317
+ borderColor: semanticColors.grey[300],
318
+ },
319
+ active: {
320
+ backgroundColor: semanticColors.blue[100],
321
+ textColor: semanticColors.purple[600],
322
+ borderColor: semanticColors.grey[600],
323
+ },
324
+ disabled: {
325
+ textColor: semanticColors.grey[600],
326
+ backgroundColor: semanticColors.grey[300],
327
+ borderColor: semanticColors.grey[300],
328
+ },
329
+ },
330
+ cancel: {
331
+ // variant
332
+ default: {
333
+ backgroundColor: colors.white,
334
+ textColor: semanticColors.red[600],
335
+ borderColor: semanticColors.grey[300],
336
+ },
337
+ hover: {
338
+ backgroundColor: semanticColors.red[100],
339
+ textColor: semanticColors.red[700],
340
+ borderColor: semanticColors.grey[300],
341
+ },
342
+ active: {
343
+ backgroundColor: semanticColors.red[200],
344
+ textColor: semanticColors.red[800],
345
+ borderColor: semanticColors.grey[300],
346
+ },
347
+ disabled: {
348
+ textColor: semanticColors.grey[600],
349
+ backgroundColor: semanticColors.grey[300],
350
+ borderColor: semanticColors.grey[300],
351
+ },
352
+ },
353
+ },
354
+ ghost: {
355
+ // type
356
+ main: {
357
+ // variant: this is the default variant
358
+ default: {
359
+ backgroundColor: colors.white,
360
+ textColor: semanticColors.purple[500],
361
+ borderColor: '',
362
+ },
363
+ hover: {
364
+ backgroundColor: semanticColors.blue[200],
365
+ textColor: semanticColors.purple[700],
366
+ borderColor: '',
367
+ },
368
+ active: {
369
+ backgroundColor: semanticColors.blue[100],
370
+ textColor: semanticColors.purple[600],
371
+ borderColor: '',
372
+ },
373
+ disabled: {
374
+ textColor: semanticColors.grey[600],
375
+ backgroundColor: semanticColors.grey[300],
376
+ borderColor: '',
377
+ },
378
+ },
379
+ cancel: {
380
+ // variant
381
+ default: {
382
+ backgroundColor: colors.white,
383
+ textColor: semanticColors.red[600],
384
+ borderColor: '',
385
+ },
386
+ hover: {
387
+ backgroundColor: semanticColors.red[100],
388
+ textColor: semanticColors.red[700],
389
+ borderColor: '',
390
+ },
391
+ active: {
392
+ backgroundColor: semanticColors.red[200],
393
+ textColor: semanticColors.red[800],
394
+ borderColor: '',
395
+ },
396
+ disabled: {
397
+ textColor: semanticColors.grey[600],
398
+ backgroundColor: semanticColors.grey[300],
399
+ borderColor: '',
400
+ },
401
+ },
402
+ },
403
+ },
404
+ dark: {
405
+ // theme
406
+ primary: {
407
+ // type
408
+ main: {
409
+ // variant: this is the default variant
410
+ default: {
411
+ backgroundColor: colors.white,
412
+ textColor: semanticColors.teal[800],
413
+ borderColor: '',
414
+ },
415
+ hover: {
416
+ backgroundColor: semanticColors.blue[100],
417
+ textColor: semanticColors.teal[800],
418
+ borderColor: '',
419
+ },
420
+ active: {
421
+ backgroundColor: semanticColors.blue[100],
422
+ textColor: semanticColors.teal[800],
423
+ borderColor: '',
424
+ },
425
+ disabled: {
426
+ textColor: semanticColors.grey[800],
427
+ backgroundColor: semanticColors.grey[400],
428
+ borderColor: '',
429
+ },
430
+ },
431
+ cancel: {
432
+ // variant
433
+ default: {
434
+ backgroundColor: semanticColors.red[400],
435
+ textColor: semanticColors.teal[800],
436
+ borderColor: '',
437
+ },
438
+ hover: {
439
+ backgroundColor: semanticColors.red[100],
440
+ textColor: semanticColors.teal[800],
441
+ borderColor: '',
442
+ },
443
+ active: {
444
+ backgroundColor: semanticColors.red[200],
445
+ textColor: semanticColors.teal[800],
446
+ borderColor: '',
447
+ },
448
+ disabled: {
449
+ backgroundColor: semanticColors.grey[300],
450
+ textColor: semanticColors.grey[800],
451
+ borderColor: '',
452
+ },
453
+ },
454
+ },
455
+ secondary: {
456
+ // type
457
+ main: {
458
+ // variant: this is the default variant
459
+ default: {
460
+ backgroundColor: semanticColors.teal[800],
461
+ textColor: semanticColors.purple[50],
462
+ borderColor: '',
463
+ },
464
+ hover: {
465
+ backgroundColor: semanticColors.teal[600],
466
+ textColor: semanticColors.purple[50],
467
+ borderColor: '',
468
+ },
469
+ active: {
470
+ backgroundColor: semanticColors.teal[700],
471
+ textColor: semanticColors.purple[50],
472
+ borderColor: '',
473
+ },
474
+ disabled: {
475
+ textColor: semanticColors.grey[600],
476
+ backgroundColor: semanticColors.grey[500],
477
+ borderColor: '',
478
+ },
479
+ },
480
+ cancel: {
481
+ // variant
482
+ default: {
483
+ backgroundColor: semanticColors.red[800],
484
+ textColor: semanticColors.red[400],
485
+ borderColor: '',
486
+ },
487
+ hover: {
488
+ backgroundColor: semanticColors.red[700],
489
+ textColor: semanticColors.red[300],
490
+ borderColor: '',
491
+ },
492
+ active: {
493
+ backgroundColor: semanticColors.red[600],
494
+ textColor: semanticColors.red[200],
495
+ borderColor: '',
496
+ },
497
+ disabled: {
498
+ textColor: semanticColors.grey[600],
499
+ backgroundColor: semanticColors.grey[500],
500
+ borderColor: '',
501
+ },
502
+ },
503
+ },
504
+ tertiary: {
505
+ // type
506
+ main: {
507
+ // variant: this is the default variant
508
+ default: {
509
+ backgroundColor: 'transparent',
510
+ textColor: semanticColors.purple[50],
511
+ borderColor: semanticColors.teal[500],
512
+ },
513
+ hover: {
514
+ backgroundColor: semanticColors.teal[600],
515
+ textColor: semanticColors.purple[50],
516
+ borderColor: semanticColors.teal[400],
517
+ },
518
+ active: {
519
+ backgroundColor: semanticColors.teal[700],
520
+ textColor: semanticColors.purple[50],
521
+ borderColor: semanticColors.teal[300],
522
+ },
523
+ disabled: {
524
+ textColor: semanticColors.grey[600],
525
+ backgroundColor: semanticColors.grey[500],
526
+ borderColor: semanticColors.grey[800],
527
+ },
528
+ },
529
+ cancel: {
530
+ // variant
531
+ default: {
532
+ backgroundColor: semanticColors.teal[200],
533
+ textColor: semanticColors.red[400],
534
+ borderColor: semanticColors.teal[500],
535
+ },
536
+ hover: {
537
+ backgroundColor: semanticColors.red[700],
538
+ textColor: semanticColors.red[700],
539
+ borderColor: semanticColors.teal[400],
540
+ },
541
+ active: {
542
+ backgroundColor: semanticColors.red[600],
543
+ textColor: semanticColors.red[200],
544
+ borderColor: semanticColors.teal[300],
545
+ },
546
+ disabled: {
547
+ textColor: semanticColors.grey[600],
548
+ backgroundColor: semanticColors.grey[500],
549
+ borderColor: semanticColors.grey[800],
550
+ },
551
+ },
552
+ },
553
+ ghost: {
554
+ // type
555
+ main: {
556
+ // variant: this is the default variant
557
+ default: {
558
+ backgroundColor: 'transparent',
559
+ textColor: semanticColors.purple[50],
560
+ borderColor: '',
561
+ },
562
+ hover: {
563
+ backgroundColor: semanticColors.teal[600],
564
+ textColor: semanticColors.purple[50],
565
+ borderColor: '',
566
+ },
567
+ active: {
568
+ backgroundColor: semanticColors.teal[700],
569
+ textColor: semanticColors.purple[50],
570
+ borderColor: '',
571
+ },
572
+ disabled: {
573
+ textColor: semanticColors.grey[600],
574
+ backgroundColor: semanticColors.grey[500],
575
+ borderColor: '',
576
+ },
577
+ },
578
+ cancel: {
579
+ // variant
580
+ default: {
581
+ backgroundColor: semanticColors.teal[200],
582
+ textColor: semanticColors.red[400],
583
+ borderColor: '',
584
+ },
585
+ hover: {
586
+ backgroundColor: semanticColors.red[700],
587
+ textColor: semanticColors.red[300],
588
+ borderColor: '',
589
+ },
590
+ active: {
591
+ backgroundColor: semanticColors.red[600],
592
+ textColor: semanticColors.red[200],
593
+ borderColor: '',
594
+ },
595
+ disabled: {
596
+ textColor: semanticColors.grey[600],
597
+ backgroundColor: semanticColors.grey[500],
598
+ borderColor: '',
599
+ },
600
+ },
601
+ },
602
+ },
603
+ size: {
604
+ large: {
605
+ padding: '10px 20px',
606
+ fontSize: '14px',
607
+ iconWidth: '34px',
608
+ },
609
+ medium: {
610
+ padding: '8px 16px',
611
+ fontSize: '14px',
612
+ iconWidth: '30px',
613
+ },
614
+ small: {
615
+ padding: '6px 12px',
616
+ fontSize: '14px',
617
+ iconWidth: '26px',
618
+ },
619
+ },
620
+ },
621
+ }
622
+ })()
623
+
624
+ export default theme