monkey-style-guide 2.0.178 → 2.0.180

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 (603) hide show
  1. package/README.md +1283 -1281
  2. package/assets/data/country-codes.json +1466 -1466
  3. package/assets/icons/add-plus.svg +5 -5
  4. package/assets/icons/address-book.svg +4 -4
  5. package/assets/icons/arrow-down.svg +3 -3
  6. package/assets/icons/arrow-left.svg +3 -3
  7. package/assets/icons/arrow-line-right.svg +5 -5
  8. package/assets/icons/arrow-right.svg +3 -3
  9. package/assets/icons/arrow-up.svg +3 -3
  10. package/assets/icons/arrows.svg +6 -6
  11. package/assets/icons/auction.svg +7 -7
  12. package/assets/icons/average-tax.svg +6 -6
  13. package/assets/icons/bank-account.svg +12 -12
  14. package/assets/icons/bank-agency.svg +8 -8
  15. package/assets/icons/bank.svg +3 -3
  16. package/assets/icons/banknote-search.svg +8 -8
  17. package/assets/icons/bell.svg +4 -4
  18. package/assets/icons/block.svg +4 -4
  19. package/assets/icons/book-open-text.svg +10 -10
  20. package/assets/icons/book.svg +4 -4
  21. package/assets/icons/box.svg +6 -6
  22. package/assets/icons/build-approved.svg +9 -9
  23. package/assets/icons/build-person.svg +9 -9
  24. package/assets/icons/build-refused.svg +9 -9
  25. package/assets/icons/build-waiting.svg +8 -8
  26. package/assets/icons/calendar-box.svg +10 -10
  27. package/assets/icons/calendar.svg +6 -6
  28. package/assets/icons/camera.svg +4 -4
  29. package/assets/icons/card-machine.svg +14 -14
  30. package/assets/icons/card.svg +4 -4
  31. package/assets/icons/cash-banknote-invoice.svg +8 -8
  32. package/assets/icons/chat.svg +4 -4
  33. package/assets/icons/check-circle-out.svg +4 -4
  34. package/assets/icons/check-circle.svg +4 -4
  35. package/assets/icons/check-grey.svg +3 -3
  36. package/assets/icons/check-white.svg +4 -4
  37. package/assets/icons/check.svg +3 -3
  38. package/assets/icons/clipboard.svg +4 -4
  39. package/assets/icons/clock-closed.svg +6 -6
  40. package/assets/icons/clock.svg +4 -4
  41. package/assets/icons/close-circle.svg +5 -5
  42. package/assets/icons/close.svg +4 -4
  43. package/assets/icons/cnpj.svg +9 -9
  44. package/assets/icons/codepen.svg +7 -7
  45. package/assets/icons/company-name.svg +12 -12
  46. package/assets/icons/contract-pen.svg +7 -7
  47. package/assets/icons/contract.svg +14 -14
  48. package/assets/icons/delete.svg +5 -5
  49. package/assets/icons/document.svg +7 -7
  50. package/assets/icons/dollar-sign-circle.svg +7 -7
  51. package/assets/icons/dollar-sign.svg +5 -5
  52. package/assets/icons/domain.svg +9 -9
  53. package/assets/icons/dots-menu.svg +5 -5
  54. package/assets/icons/double-arrow-left.svg +4 -4
  55. package/assets/icons/double-arrow-right.svg +4 -4
  56. package/assets/icons/download.svg +5 -5
  57. package/assets/icons/drag-drop.svg +8 -8
  58. package/assets/icons/edit-square.svg +4 -4
  59. package/assets/icons/edit.svg +3 -3
  60. package/assets/icons/email-send-fast.svg +8 -8
  61. package/assets/icons/email.svg +4 -4
  62. package/assets/icons/empty-doc.svg +4 -4
  63. package/assets/icons/error.svg +5 -5
  64. package/assets/icons/eye-closed.svg +11 -11
  65. package/assets/icons/eye-open.svg +4 -4
  66. package/assets/icons/filter-add.svg +6 -6
  67. package/assets/icons/filter.svg +3 -3
  68. package/assets/icons/grid.svg +6 -6
  69. package/assets/icons/hands-clap.svg +10 -10
  70. package/assets/icons/help.svg +5 -5
  71. package/assets/icons/hexagon.svg +3 -3
  72. package/assets/icons/home.svg +4 -4
  73. package/assets/icons/image.svg +5 -5
  74. package/assets/icons/info.svg +6 -6
  75. package/assets/icons/invoice.svg +5 -5
  76. package/assets/icons/invoices-anticipated.svg +8 -8
  77. package/assets/icons/invoices-approval.svg +8 -8
  78. package/assets/icons/invoices-refused.svg +8 -8
  79. package/assets/icons/lighting-circle.svg +5 -5
  80. package/assets/icons/list.svg +8 -8
  81. package/assets/icons/location-pin.svg +4 -4
  82. package/assets/icons/login.svg +5 -5
  83. package/assets/icons/logout.svg +5 -5
  84. package/assets/icons/mail-box-upload.svg +6 -0
  85. package/assets/icons/mail-letter-fast-circle.svg +7 -0
  86. package/assets/icons/mail-open-document.svg +6 -6
  87. package/assets/icons/medal.svg +12 -12
  88. package/assets/icons/menu.svg +5 -5
  89. package/assets/icons/money-cedule.svg +6 -6
  90. package/assets/icons/money-discount.svg +8 -8
  91. package/assets/icons/money-hand.svg +6 -6
  92. package/assets/icons/money-net.svg +8 -8
  93. package/assets/icons/money-new.svg +7 -7
  94. package/assets/icons/money-percent.svg +10 -10
  95. package/assets/icons/money-refused.svg +9 -9
  96. package/assets/icons/money-sign.svg +4 -4
  97. package/assets/icons/money-waiting.svg +8 -8
  98. package/assets/icons/money.svg +6 -6
  99. package/assets/icons/more-circle.svg +5 -5
  100. package/assets/icons/more.svg +4 -4
  101. package/assets/icons/new-company.svg +10 -10
  102. package/assets/icons/offered.svg +5 -5
  103. package/assets/icons/office-work.svg +10 -10
  104. package/assets/icons/open-external.svg +5 -5
  105. package/assets/icons/password.svg +4 -4
  106. package/assets/icons/people.svg +6 -6
  107. package/assets/icons/percent-box.svg +6 -6
  108. package/assets/icons/percent.svg +5 -5
  109. package/assets/icons/person-document.svg +10 -10
  110. package/assets/icons/person-sad.svg +6 -6
  111. package/assets/icons/phone-call.svg +4 -4
  112. package/assets/icons/phone.svg +3 -3
  113. package/assets/icons/pin-navigation.svg +5 -5
  114. package/assets/icons/pork.svg +5 -5
  115. package/assets/icons/radio.svg +4 -4
  116. package/assets/icons/refresh.svg +5 -5
  117. package/assets/icons/registration.svg +8 -8
  118. package/assets/icons/repeat.svg +4 -4
  119. package/assets/icons/search.svg +4 -4
  120. package/assets/icons/second-warning.svg +5 -5
  121. package/assets/icons/settings.svg +4 -4
  122. package/assets/icons/shield-chekmark.svg +3 -3
  123. package/assets/icons/star-shining.svg +13 -13
  124. package/assets/icons/star.svg +3 -3
  125. package/assets/icons/store.svg +8 -8
  126. package/assets/icons/target-dart-arrow.svg +6 -6
  127. package/assets/icons/today.svg +9 -9
  128. package/assets/icons/trash.svg +6 -6
  129. package/assets/icons/trophy.svg +8 -8
  130. package/assets/icons/unfold-more.svg +4 -4
  131. package/assets/icons/upload.svg +5 -5
  132. package/assets/icons/user-group.svg +8 -8
  133. package/assets/icons/user.svg +4 -4
  134. package/assets/icons/waiting.svg +17 -17
  135. package/assets/icons/wallet.svg +5 -5
  136. package/assets/icons/warning.svg +5 -5
  137. package/assets/scss/partials/_breakpoints.scss +35 -35
  138. package/assets/scss/partials/_forms.scss +350 -350
  139. package/assets/scss/partials/_index.scss +11 -11
  140. package/assets/scss/partials/_radio-button.scss +35 -35
  141. package/assets/scss/partials/_style-reset.scss +185 -185
  142. package/assets/scss/partials/_typography.scss +149 -149
  143. package/assets/scss/partials/_variables.scss +184 -184
  144. package/assets/scss/partials/components/_badge.scss +55 -55
  145. package/assets/scss/partials/components/_buttons.scss +831 -831
  146. package/assets/scss/partials/components/_checkbox.scss +69 -69
  147. package/assets/scss/partials/components/_date-range-picker.scss +265 -265
  148. package/assets/scss/partials/components/_expansion.scss +96 -96
  149. package/assets/scss/partials/components/_image-crop.scss +305 -305
  150. package/assets/scss/partials/components/_index.scss +23 -23
  151. package/assets/scss/partials/components/_input-phone.scss +36 -36
  152. package/assets/scss/partials/components/_input.scss +65 -65
  153. package/assets/scss/partials/components/_modal.scss +282 -282
  154. package/assets/scss/partials/components/_progressbar.scss +112 -112
  155. package/assets/scss/partials/components/_radiobutton.scss +66 -66
  156. package/assets/scss/partials/components/_select.scss +356 -356
  157. package/assets/scss/partials/components/_snackbar.scss +204 -204
  158. package/assets/scss/partials/components/_stepper.scss +86 -86
  159. package/assets/scss/partials/components/_tab.scss +82 -82
  160. package/assets/scss/partials/components/_table.scss +148 -148
  161. package/assets/scss/partials/components/_toggle.scss +103 -103
  162. package/assets/scss/partials/components/_wizard.scss +112 -112
  163. package/esm2020/lib/components/badge/badge.component.mjs +43 -43
  164. package/esm2020/lib/components/badge/badge.module.mjs +19 -19
  165. package/esm2020/lib/components/badge/index.mjs +3 -3
  166. package/esm2020/lib/components/button/button-avatar.component.mjs +53 -53
  167. package/esm2020/lib/components/button/button-dropdown.component.mjs +121 -121
  168. package/esm2020/lib/components/button/button.component.mjs +154 -154
  169. package/esm2020/lib/components/button/button.module.mjs +23 -23
  170. package/esm2020/lib/components/button/index.mjs +5 -5
  171. package/esm2020/lib/components/checkbox/checkbox.component.mjs +165 -165
  172. package/esm2020/lib/components/checkbox/checkbox.module.mjs +20 -20
  173. package/esm2020/lib/components/checkbox/index.mjs +3 -3
  174. package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +660 -660
  175. package/esm2020/lib/components/date-range-picker/date-range-picker.module.mjs +22 -22
  176. package/esm2020/lib/components/date-range-picker/index.mjs +3 -3
  177. package/esm2020/lib/components/expansion/expansion.component.mjs +115 -115
  178. package/esm2020/lib/components/expansion/expansion.module.mjs +20 -20
  179. package/esm2020/lib/components/expansion/index.mjs +3 -3
  180. package/esm2020/lib/components/file-upload/file-upload.component.mjs +294 -294
  181. package/esm2020/lib/components/file-upload/file-upload.module.mjs +37 -37
  182. package/esm2020/lib/components/file-upload/index.mjs +3 -3
  183. package/esm2020/lib/components/icon/icon-add-plus.component.mjs +15 -15
  184. package/esm2020/lib/components/icon/icon-address-book.component.mjs +15 -15
  185. package/esm2020/lib/components/icon/icon-arrow-down.component.mjs +15 -15
  186. package/esm2020/lib/components/icon/icon-arrow-left.component.mjs +15 -15
  187. package/esm2020/lib/components/icon/icon-arrow-line-right.component.mjs +15 -15
  188. package/esm2020/lib/components/icon/icon-arrow-right.component.mjs +15 -15
  189. package/esm2020/lib/components/icon/icon-arrow-up.component.mjs +15 -15
  190. package/esm2020/lib/components/icon/icon-arrows.component.mjs +15 -15
  191. package/esm2020/lib/components/icon/icon-auction.component.mjs +15 -15
  192. package/esm2020/lib/components/icon/icon-average-tax.component.mjs +15 -15
  193. package/esm2020/lib/components/icon/icon-bank-account.component.mjs +15 -15
  194. package/esm2020/lib/components/icon/icon-bank-agency.component.mjs +15 -15
  195. package/esm2020/lib/components/icon/icon-bank.component.mjs +15 -15
  196. package/esm2020/lib/components/icon/icon-banknote-search.component.mjs +15 -15
  197. package/esm2020/lib/components/icon/icon-bell.component.mjs +15 -15
  198. package/esm2020/lib/components/icon/icon-block.component.mjs +15 -15
  199. package/esm2020/lib/components/icon/icon-book-open-text.component.mjs +15 -15
  200. package/esm2020/lib/components/icon/icon-book.component.mjs +15 -15
  201. package/esm2020/lib/components/icon/icon-box.component.mjs +15 -15
  202. package/esm2020/lib/components/icon/icon-build-approved.component.mjs +15 -15
  203. package/esm2020/lib/components/icon/icon-build-person.component.mjs +15 -15
  204. package/esm2020/lib/components/icon/icon-build-refused.component.mjs +15 -15
  205. package/esm2020/lib/components/icon/icon-build-waiting.component.mjs +15 -15
  206. package/esm2020/lib/components/icon/icon-calendar-box.component.mjs +15 -15
  207. package/esm2020/lib/components/icon/icon-calendar.component.mjs +15 -15
  208. package/esm2020/lib/components/icon/icon-camera.component.mjs +15 -15
  209. package/esm2020/lib/components/icon/icon-card-machine.component.mjs +15 -15
  210. package/esm2020/lib/components/icon/icon-card.component.mjs +15 -15
  211. package/esm2020/lib/components/icon/icon-cash-banknote-invoice.component.mjs +15 -15
  212. package/esm2020/lib/components/icon/icon-chat.component.mjs +15 -15
  213. package/esm2020/lib/components/icon/icon-check-circle-out.component.mjs +15 -15
  214. package/esm2020/lib/components/icon/icon-check-circle.component.mjs +15 -15
  215. package/esm2020/lib/components/icon/icon-check-grey.component.mjs +15 -15
  216. package/esm2020/lib/components/icon/icon-check-white.component.mjs +15 -15
  217. package/esm2020/lib/components/icon/icon-check.component.mjs +15 -15
  218. package/esm2020/lib/components/icon/icon-clipboard.component.mjs +15 -15
  219. package/esm2020/lib/components/icon/icon-clock-closed.component.mjs +15 -15
  220. package/esm2020/lib/components/icon/icon-clock.component.mjs +15 -15
  221. package/esm2020/lib/components/icon/icon-close-circle.component.mjs +15 -15
  222. package/esm2020/lib/components/icon/icon-close.component.mjs +15 -15
  223. package/esm2020/lib/components/icon/icon-cnpj.component.mjs +15 -15
  224. package/esm2020/lib/components/icon/icon-codepen.component.mjs +15 -15
  225. package/esm2020/lib/components/icon/icon-company-name.component.mjs +15 -15
  226. package/esm2020/lib/components/icon/icon-contract-pen.component.mjs +15 -15
  227. package/esm2020/lib/components/icon/icon-contract.component.mjs +15 -15
  228. package/esm2020/lib/components/icon/icon-delete.component.mjs +15 -15
  229. package/esm2020/lib/components/icon/icon-document.component.mjs +15 -15
  230. package/esm2020/lib/components/icon/icon-dollar-sign-circle.component.mjs +15 -15
  231. package/esm2020/lib/components/icon/icon-dollar-sign.component.mjs +15 -15
  232. package/esm2020/lib/components/icon/icon-domain.component.mjs +15 -15
  233. package/esm2020/lib/components/icon/icon-dots-menu.component.mjs +15 -15
  234. package/esm2020/lib/components/icon/icon-double-arrow-left.component.mjs +15 -15
  235. package/esm2020/lib/components/icon/icon-double-arrow-right.component.mjs +15 -15
  236. package/esm2020/lib/components/icon/icon-download.component.mjs +15 -15
  237. package/esm2020/lib/components/icon/icon-drag-drop.component.mjs +15 -15
  238. package/esm2020/lib/components/icon/icon-edit-square.component.mjs +15 -15
  239. package/esm2020/lib/components/icon/icon-edit.component.mjs +15 -15
  240. package/esm2020/lib/components/icon/icon-email-send-fast.component.mjs +15 -15
  241. package/esm2020/lib/components/icon/icon-email.component.mjs +15 -15
  242. package/esm2020/lib/components/icon/icon-empty-doc.component.mjs +15 -15
  243. package/esm2020/lib/components/icon/icon-error.component.mjs +15 -15
  244. package/esm2020/lib/components/icon/icon-eye-closed.component.mjs +15 -15
  245. package/esm2020/lib/components/icon/icon-eye-open.component.mjs +15 -15
  246. package/esm2020/lib/components/icon/icon-filter-add.component.mjs +15 -15
  247. package/esm2020/lib/components/icon/icon-filter.component.mjs +15 -15
  248. package/esm2020/lib/components/icon/icon-grid.component.mjs +15 -15
  249. package/esm2020/lib/components/icon/icon-hands-clap.component.mjs +15 -15
  250. package/esm2020/lib/components/icon/icon-help.component.mjs +15 -15
  251. package/esm2020/lib/components/icon/icon-hexagon.component.mjs +15 -15
  252. package/esm2020/lib/components/icon/icon-home.component.mjs +15 -15
  253. package/esm2020/lib/components/icon/icon-image.component.mjs +15 -15
  254. package/esm2020/lib/components/icon/icon-info.component.mjs +15 -15
  255. package/esm2020/lib/components/icon/icon-invoice.component.mjs +15 -15
  256. package/esm2020/lib/components/icon/icon-invoices-anticipated.component.mjs +15 -15
  257. package/esm2020/lib/components/icon/icon-invoices-approval.component.mjs +15 -15
  258. package/esm2020/lib/components/icon/icon-invoices-refused.component.mjs +15 -15
  259. package/esm2020/lib/components/icon/icon-lighting-circle.component.mjs +15 -15
  260. package/esm2020/lib/components/icon/icon-list.component.mjs +15 -15
  261. package/esm2020/lib/components/icon/icon-location-pin.component.mjs +15 -15
  262. package/esm2020/lib/components/icon/icon-login.component.mjs +15 -15
  263. package/esm2020/lib/components/icon/icon-logout.component.mjs +15 -15
  264. package/esm2020/lib/components/icon/icon-mail-box-upload.component.mjs +15 -0
  265. package/esm2020/lib/components/icon/icon-mail-letter-fast-circle.component.mjs +15 -0
  266. package/esm2020/lib/components/icon/icon-mail-open-document.component.mjs +15 -15
  267. package/esm2020/lib/components/icon/icon-medal.component.mjs +15 -15
  268. package/esm2020/lib/components/icon/icon-menu.component.mjs +15 -15
  269. package/esm2020/lib/components/icon/icon-money-cedule.component.mjs +15 -15
  270. package/esm2020/lib/components/icon/icon-money-discount.component.mjs +15 -15
  271. package/esm2020/lib/components/icon/icon-money-hand.component.mjs +15 -15
  272. package/esm2020/lib/components/icon/icon-money-net.component.mjs +15 -15
  273. package/esm2020/lib/components/icon/icon-money-new.component.mjs +15 -15
  274. package/esm2020/lib/components/icon/icon-money-percent.component.mjs +15 -15
  275. package/esm2020/lib/components/icon/icon-money-refused.component.mjs +15 -15
  276. package/esm2020/lib/components/icon/icon-money-sign.component.mjs +15 -15
  277. package/esm2020/lib/components/icon/icon-money-waiting.component.mjs +15 -15
  278. package/esm2020/lib/components/icon/icon-money.component.mjs +15 -15
  279. package/esm2020/lib/components/icon/icon-more-circle.component.mjs +15 -15
  280. package/esm2020/lib/components/icon/icon-more.component.mjs +15 -15
  281. package/esm2020/lib/components/icon/icon-new-company.component.mjs +15 -15
  282. package/esm2020/lib/components/icon/icon-offered.component.mjs +15 -15
  283. package/esm2020/lib/components/icon/icon-open-external.component.mjs +15 -15
  284. package/esm2020/lib/components/icon/icon-password.component.mjs +15 -15
  285. package/esm2020/lib/components/icon/icon-people.component.mjs +15 -15
  286. package/esm2020/lib/components/icon/icon-percent-box.component.mjs +15 -15
  287. package/esm2020/lib/components/icon/icon-percent.component.mjs +15 -15
  288. package/esm2020/lib/components/icon/icon-person-document.component.mjs +15 -15
  289. package/esm2020/lib/components/icon/icon-person-sad.component.mjs +15 -15
  290. package/esm2020/lib/components/icon/icon-phone-call.component.mjs +15 -15
  291. package/esm2020/lib/components/icon/icon-phone.component.mjs +15 -15
  292. package/esm2020/lib/components/icon/icon-pin-navigation.component.mjs +15 -15
  293. package/esm2020/lib/components/icon/icon-pork.component.mjs +15 -15
  294. package/esm2020/lib/components/icon/icon-radio.component.mjs +15 -15
  295. package/esm2020/lib/components/icon/icon-refresh.component.mjs +15 -15
  296. package/esm2020/lib/components/icon/icon-registration.component.mjs +15 -15
  297. package/esm2020/lib/components/icon/icon-repeat.component.mjs +15 -15
  298. package/esm2020/lib/components/icon/icon-search.component.mjs +15 -15
  299. package/esm2020/lib/components/icon/icon-second-warning.component.mjs +15 -15
  300. package/esm2020/lib/components/icon/icon-settings.component.mjs +15 -15
  301. package/esm2020/lib/components/icon/icon-shield-chekmark.component.mjs +15 -15
  302. package/esm2020/lib/components/icon/icon-star-shining.component.mjs +15 -15
  303. package/esm2020/lib/components/icon/icon-star.component.mjs +15 -15
  304. package/esm2020/lib/components/icon/icon-store.component.mjs +15 -15
  305. package/esm2020/lib/components/icon/icon-target-dart-arrow.component.mjs +15 -15
  306. package/esm2020/lib/components/icon/icon-today.component.mjs +15 -15
  307. package/esm2020/lib/components/icon/icon-trash.component.mjs +15 -15
  308. package/esm2020/lib/components/icon/icon-trophy.component.mjs +15 -15
  309. package/esm2020/lib/components/icon/icon-unfold-more.component.mjs +15 -15
  310. package/esm2020/lib/components/icon/icon-upload.component.mjs +15 -15
  311. package/esm2020/lib/components/icon/icon-user-group.component.mjs +15 -15
  312. package/esm2020/lib/components/icon/icon-user.component.mjs +15 -15
  313. package/esm2020/lib/components/icon/icon-waiting.component.mjs +15 -15
  314. package/esm2020/lib/components/icon/icon-wallet.component.mjs +15 -15
  315. package/esm2020/lib/components/icon/icon-warning.component.mjs +15 -15
  316. package/esm2020/lib/components/icon/icon.component.mjs +1822 -1796
  317. package/esm2020/lib/components/icon/icon.module.mjs +287 -283
  318. package/esm2020/lib/components/icon/index.mjs +137 -135
  319. package/esm2020/lib/components/image-crop/image-crop.component.mjs +516 -516
  320. package/esm2020/lib/components/image-crop/image-crop.module.mjs +41 -41
  321. package/esm2020/lib/components/image-crop/index.mjs +3 -3
  322. package/esm2020/lib/components/index.mjs +20 -20
  323. package/esm2020/lib/components/input/index.mjs +4 -4
  324. package/esm2020/lib/components/input/input-filter.component.mjs +286 -286
  325. package/esm2020/lib/components/input/input.component.mjs +384 -384
  326. package/esm2020/lib/components/input/input.module.mjs +38 -38
  327. package/esm2020/lib/components/input-phone/index.mjs +3 -3
  328. package/esm2020/lib/components/input-phone/input-phone.component.mjs +307 -307
  329. package/esm2020/lib/components/input-phone/input-phone.module.mjs +45 -45
  330. package/esm2020/lib/components/modal/index.mjs +3 -3
  331. package/esm2020/lib/components/modal/modal.component.mjs +236 -236
  332. package/esm2020/lib/components/modal/modal.module.mjs +21 -21
  333. package/esm2020/lib/components/option/index.mjs +3 -3
  334. package/esm2020/lib/components/option/option.component.mjs +131 -131
  335. package/esm2020/lib/components/option/option.module.mjs +29 -29
  336. package/esm2020/lib/components/radiobutton/index.mjs +3 -3
  337. package/esm2020/lib/components/radiobutton/radiobutton.component.mjs +165 -165
  338. package/esm2020/lib/components/radiobutton/radiobutton.module.mjs +36 -36
  339. package/esm2020/lib/components/select/index.mjs +6 -6
  340. package/esm2020/lib/components/select/select-filter.component.mjs +197 -197
  341. package/esm2020/lib/components/select/select-multiple.component.mjs +304 -304
  342. package/esm2020/lib/components/select/select-search.component.mjs +306 -306
  343. package/esm2020/lib/components/select/select.component.mjs +245 -245
  344. package/esm2020/lib/components/select/select.module.mjs +61 -61
  345. package/esm2020/lib/components/stepper/index.mjs +3 -3
  346. package/esm2020/lib/components/stepper/stepper.component.mjs +57 -57
  347. package/esm2020/lib/components/stepper/stepper.module.mjs +20 -20
  348. package/esm2020/lib/components/tab/index.mjs +3 -3
  349. package/esm2020/lib/components/tab/tab.component.mjs +100 -100
  350. package/esm2020/lib/components/tab/tab.module.mjs +21 -21
  351. package/esm2020/lib/components/table/index.mjs +4 -4
  352. package/esm2020/lib/components/table/table-column.component.mjs +34 -34
  353. package/esm2020/lib/components/table/table.component.mjs +267 -267
  354. package/esm2020/lib/components/table/table.module.mjs +23 -23
  355. package/esm2020/lib/components/toggle/index.mjs +3 -3
  356. package/esm2020/lib/components/toggle/toggle.component.mjs +56 -56
  357. package/esm2020/lib/components/toggle/toggle.module.mjs +19 -19
  358. package/esm2020/lib/components/wizard/index.mjs +3 -3
  359. package/esm2020/lib/components/wizard/wizard.component.mjs +61 -61
  360. package/esm2020/lib/components/wizard/wizard.module.mjs +33 -33
  361. package/esm2020/lib/core/index.mjs +4 -4
  362. package/esm2020/lib/core/interfaces/index.mjs +3 -3
  363. package/esm2020/lib/core/interfaces/monkey-modal-settings.mjs +2 -2
  364. package/esm2020/lib/core/interfaces/monkey-style-settings.mjs +2 -2
  365. package/esm2020/lib/core/services/index.mjs +4 -4
  366. package/esm2020/lib/core/services/modal/index.mjs +3 -3
  367. package/esm2020/lib/core/services/modal/monkey-style-guide-modal-fixed.service.mjs +52 -52
  368. package/esm2020/lib/core/services/modal/monkey-style-guide-modal.service.mjs +55 -55
  369. package/esm2020/lib/core/services/monkey-style-guide.service.mjs +17 -17
  370. package/esm2020/lib/core/services/settings/index.mjs +1 -1
  371. package/esm2020/lib/core/services/settings/monkey-style-guide-settings.service.mjs +41 -41
  372. package/esm2020/lib/core/services/settings/monkey-style-guide-theme-settings.service.mjs +80 -80
  373. package/esm2020/lib/core/services/snackbar/index.mjs +1 -1
  374. package/esm2020/lib/core/services/snackbar/mokey-style-guide-snackbar.service.mjs +226 -226
  375. package/esm2020/lib/core/utils/index.mjs +1 -1
  376. package/esm2020/lib/core/utils/utils.mjs +240 -240
  377. package/esm2020/lib/monkey-style-guide.module.mjs +31 -31
  378. package/esm2020/monkey-style-guide.mjs +4 -4
  379. package/esm2020/public-api.mjs +9 -9
  380. package/fesm2015/monkey-style-guide.mjs +9885 -9831
  381. package/fesm2015/monkey-style-guide.mjs.map +1 -1
  382. package/fesm2020/monkey-style-guide.mjs +9874 -9820
  383. package/fesm2020/monkey-style-guide.mjs.map +1 -1
  384. package/lib/components/badge/badge.component.d.ts +8 -8
  385. package/lib/components/badge/badge.module.d.ts +8 -8
  386. package/lib/components/badge/index.d.ts +2 -2
  387. package/lib/components/button/button-avatar.component.d.ts +19 -19
  388. package/lib/components/button/button-dropdown.component.d.ts +23 -23
  389. package/lib/components/button/button.component.d.ts +22 -22
  390. package/lib/components/button/button.module.d.ts +12 -12
  391. package/lib/components/button/index.d.ts +4 -4
  392. package/lib/components/checkbox/checkbox.component.d.ts +32 -32
  393. package/lib/components/checkbox/checkbox.module.d.ts +9 -9
  394. package/lib/components/checkbox/index.d.ts +2 -2
  395. package/lib/components/date-range-picker/date-range-picker.component.d.ts +69 -69
  396. package/lib/components/date-range-picker/date-range-picker.module.d.ts +11 -11
  397. package/lib/components/date-range-picker/index.d.ts +2 -2
  398. package/lib/components/expansion/expansion.component.d.ts +20 -20
  399. package/lib/components/expansion/expansion.module.d.ts +9 -9
  400. package/lib/components/expansion/index.d.ts +2 -2
  401. package/lib/components/file-upload/file-upload.component.d.ts +51 -51
  402. package/lib/components/file-upload/file-upload.module.d.ts +11 -11
  403. package/lib/components/file-upload/index.d.ts +2 -2
  404. package/lib/components/icon/icon-add-plus.component.d.ts +7 -7
  405. package/lib/components/icon/icon-address-book.component.d.ts +7 -7
  406. package/lib/components/icon/icon-arrow-down.component.d.ts +7 -7
  407. package/lib/components/icon/icon-arrow-left.component.d.ts +7 -7
  408. package/lib/components/icon/icon-arrow-line-right.component.d.ts +7 -7
  409. package/lib/components/icon/icon-arrow-right.component.d.ts +7 -7
  410. package/lib/components/icon/icon-arrow-up.component.d.ts +7 -7
  411. package/lib/components/icon/icon-arrows.component.d.ts +7 -7
  412. package/lib/components/icon/icon-auction.component.d.ts +7 -7
  413. package/lib/components/icon/icon-average-tax.component.d.ts +7 -7
  414. package/lib/components/icon/icon-bank-account.component.d.ts +7 -7
  415. package/lib/components/icon/icon-bank-agency.component.d.ts +7 -7
  416. package/lib/components/icon/icon-bank.component.d.ts +7 -7
  417. package/lib/components/icon/icon-banknote-search.component.d.ts +7 -7
  418. package/lib/components/icon/icon-bell.component.d.ts +7 -7
  419. package/lib/components/icon/icon-block.component.d.ts +7 -7
  420. package/lib/components/icon/icon-book-open-text.component.d.ts +7 -7
  421. package/lib/components/icon/icon-book.component.d.ts +7 -7
  422. package/lib/components/icon/icon-box.component.d.ts +7 -7
  423. package/lib/components/icon/icon-build-approved.component.d.ts +7 -7
  424. package/lib/components/icon/icon-build-person.component.d.ts +7 -7
  425. package/lib/components/icon/icon-build-refused.component.d.ts +7 -7
  426. package/lib/components/icon/icon-build-waiting.component.d.ts +7 -7
  427. package/lib/components/icon/icon-calendar-box.component.d.ts +7 -7
  428. package/lib/components/icon/icon-calendar.component.d.ts +7 -7
  429. package/lib/components/icon/icon-camera.component.d.ts +7 -7
  430. package/lib/components/icon/icon-card-machine.component.d.ts +7 -7
  431. package/lib/components/icon/icon-card.component.d.ts +7 -7
  432. package/lib/components/icon/icon-cash-banknote-invoice.component.d.ts +7 -7
  433. package/lib/components/icon/icon-chat.component.d.ts +7 -7
  434. package/lib/components/icon/icon-check-circle-out.component.d.ts +7 -7
  435. package/lib/components/icon/icon-check-circle.component.d.ts +7 -7
  436. package/lib/components/icon/icon-check-grey.component.d.ts +7 -7
  437. package/lib/components/icon/icon-check-white.component.d.ts +7 -7
  438. package/lib/components/icon/icon-check.component.d.ts +7 -7
  439. package/lib/components/icon/icon-clipboard.component.d.ts +7 -7
  440. package/lib/components/icon/icon-clock-closed.component.d.ts +7 -7
  441. package/lib/components/icon/icon-clock.component.d.ts +7 -7
  442. package/lib/components/icon/icon-close-circle.component.d.ts +7 -7
  443. package/lib/components/icon/icon-close.component.d.ts +7 -7
  444. package/lib/components/icon/icon-cnpj.component.d.ts +7 -7
  445. package/lib/components/icon/icon-codepen.component.d.ts +7 -7
  446. package/lib/components/icon/icon-company-name.component.d.ts +7 -7
  447. package/lib/components/icon/icon-contract-pen.component.d.ts +7 -7
  448. package/lib/components/icon/icon-contract.component.d.ts +7 -7
  449. package/lib/components/icon/icon-delete.component.d.ts +7 -7
  450. package/lib/components/icon/icon-document.component.d.ts +7 -7
  451. package/lib/components/icon/icon-dollar-sign-circle.component.d.ts +7 -7
  452. package/lib/components/icon/icon-dollar-sign.component.d.ts +7 -7
  453. package/lib/components/icon/icon-domain.component.d.ts +7 -7
  454. package/lib/components/icon/icon-dots-menu.component.d.ts +7 -7
  455. package/lib/components/icon/icon-double-arrow-left.component.d.ts +7 -7
  456. package/lib/components/icon/icon-double-arrow-right.component.d.ts +7 -7
  457. package/lib/components/icon/icon-download.component.d.ts +7 -7
  458. package/lib/components/icon/icon-drag-drop.component.d.ts +7 -7
  459. package/lib/components/icon/icon-edit-square.component.d.ts +7 -7
  460. package/lib/components/icon/icon-edit.component.d.ts +7 -7
  461. package/lib/components/icon/icon-email-send-fast.component.d.ts +7 -7
  462. package/lib/components/icon/icon-email.component.d.ts +7 -7
  463. package/lib/components/icon/icon-empty-doc.component.d.ts +7 -7
  464. package/lib/components/icon/icon-error.component.d.ts +7 -7
  465. package/lib/components/icon/icon-eye-closed.component.d.ts +7 -7
  466. package/lib/components/icon/icon-eye-open.component.d.ts +7 -7
  467. package/lib/components/icon/icon-filter-add.component.d.ts +7 -7
  468. package/lib/components/icon/icon-filter.component.d.ts +7 -7
  469. package/lib/components/icon/icon-grid.component.d.ts +7 -7
  470. package/lib/components/icon/icon-hands-clap.component.d.ts +7 -7
  471. package/lib/components/icon/icon-help.component.d.ts +7 -7
  472. package/lib/components/icon/icon-hexagon.component.d.ts +7 -7
  473. package/lib/components/icon/icon-home.component.d.ts +7 -7
  474. package/lib/components/icon/icon-image.component.d.ts +7 -7
  475. package/lib/components/icon/icon-info.component.d.ts +7 -7
  476. package/lib/components/icon/icon-invoice.component.d.ts +7 -7
  477. package/lib/components/icon/icon-invoices-anticipated.component.d.ts +7 -7
  478. package/lib/components/icon/icon-invoices-approval.component.d.ts +7 -7
  479. package/lib/components/icon/icon-invoices-refused.component.d.ts +7 -7
  480. package/lib/components/icon/icon-lighting-circle.component.d.ts +7 -7
  481. package/lib/components/icon/icon-list.component.d.ts +7 -7
  482. package/lib/components/icon/icon-location-pin.component.d.ts +7 -7
  483. package/lib/components/icon/icon-login.component.d.ts +7 -7
  484. package/lib/components/icon/icon-logout.component.d.ts +7 -7
  485. package/lib/components/icon/icon-mail-box-upload.component.d.ts +7 -0
  486. package/lib/components/icon/icon-mail-letter-fast-circle.component.d.ts +7 -0
  487. package/lib/components/icon/icon-mail-open-document.component.d.ts +7 -7
  488. package/lib/components/icon/icon-medal.component.d.ts +7 -7
  489. package/lib/components/icon/icon-menu.component.d.ts +7 -7
  490. package/lib/components/icon/icon-money-cedule.component.d.ts +7 -7
  491. package/lib/components/icon/icon-money-discount.component.d.ts +7 -7
  492. package/lib/components/icon/icon-money-hand.component.d.ts +7 -7
  493. package/lib/components/icon/icon-money-net.component.d.ts +7 -7
  494. package/lib/components/icon/icon-money-new.component.d.ts +7 -7
  495. package/lib/components/icon/icon-money-percent.component.d.ts +7 -7
  496. package/lib/components/icon/icon-money-refused.component.d.ts +7 -7
  497. package/lib/components/icon/icon-money-sign.component.d.ts +7 -7
  498. package/lib/components/icon/icon-money-waiting.component.d.ts +7 -7
  499. package/lib/components/icon/icon-money.component.d.ts +7 -7
  500. package/lib/components/icon/icon-more-circle.component.d.ts +7 -7
  501. package/lib/components/icon/icon-more.component.d.ts +7 -7
  502. package/lib/components/icon/icon-new-company.component.d.ts +7 -7
  503. package/lib/components/icon/icon-offered.component.d.ts +7 -7
  504. package/lib/components/icon/icon-open-external.component.d.ts +7 -7
  505. package/lib/components/icon/icon-password.component.d.ts +7 -7
  506. package/lib/components/icon/icon-people.component.d.ts +7 -7
  507. package/lib/components/icon/icon-percent-box.component.d.ts +7 -7
  508. package/lib/components/icon/icon-percent.component.d.ts +7 -7
  509. package/lib/components/icon/icon-person-document.component.d.ts +7 -7
  510. package/lib/components/icon/icon-person-sad.component.d.ts +7 -7
  511. package/lib/components/icon/icon-phone-call.component.d.ts +7 -7
  512. package/lib/components/icon/icon-phone.component.d.ts +7 -7
  513. package/lib/components/icon/icon-pin-navigation.component.d.ts +7 -7
  514. package/lib/components/icon/icon-pork.component.d.ts +7 -7
  515. package/lib/components/icon/icon-radio.component.d.ts +7 -7
  516. package/lib/components/icon/icon-refresh.component.d.ts +7 -7
  517. package/lib/components/icon/icon-registration.component.d.ts +7 -7
  518. package/lib/components/icon/icon-repeat.component.d.ts +7 -7
  519. package/lib/components/icon/icon-search.component.d.ts +7 -7
  520. package/lib/components/icon/icon-second-warning.component.d.ts +7 -7
  521. package/lib/components/icon/icon-settings.component.d.ts +7 -7
  522. package/lib/components/icon/icon-shield-chekmark.component.d.ts +7 -7
  523. package/lib/components/icon/icon-star-shining.component.d.ts +7 -7
  524. package/lib/components/icon/icon-star.component.d.ts +7 -7
  525. package/lib/components/icon/icon-store.component.d.ts +7 -7
  526. package/lib/components/icon/icon-target-dart-arrow.component.d.ts +7 -7
  527. package/lib/components/icon/icon-today.component.d.ts +7 -7
  528. package/lib/components/icon/icon-trash.component.d.ts +7 -7
  529. package/lib/components/icon/icon-trophy.component.d.ts +7 -7
  530. package/lib/components/icon/icon-unfold-more.component.d.ts +7 -7
  531. package/lib/components/icon/icon-upload.component.d.ts +7 -7
  532. package/lib/components/icon/icon-user-group.component.d.ts +7 -7
  533. package/lib/components/icon/icon-user.component.d.ts +7 -7
  534. package/lib/components/icon/icon-waiting.component.d.ts +7 -7
  535. package/lib/components/icon/icon-wallet.component.d.ts +7 -7
  536. package/lib/components/icon/icon-warning.component.d.ts +7 -7
  537. package/lib/components/icon/icon.component.d.ts +27 -27
  538. package/lib/components/icon/icon.module.d.ts +141 -139
  539. package/lib/components/icon/index.d.ts +136 -134
  540. package/lib/components/image-crop/image-crop.component.d.ts +77 -77
  541. package/lib/components/image-crop/image-crop.module.d.ts +12 -12
  542. package/lib/components/image-crop/index.d.ts +2 -2
  543. package/lib/components/index.d.ts +19 -19
  544. package/lib/components/input/index.d.ts +3 -3
  545. package/lib/components/input/input-filter.component.d.ts +55 -55
  546. package/lib/components/input/input.component.d.ts +64 -64
  547. package/lib/components/input/input.module.d.ts +12 -12
  548. package/lib/components/input-phone/index.d.ts +2 -2
  549. package/lib/components/input-phone/input-phone.component.d.ts +62 -62
  550. package/lib/components/input-phone/input-phone.module.d.ts +13 -13
  551. package/lib/components/modal/index.d.ts +2 -2
  552. package/lib/components/modal/modal.component.d.ts +24 -24
  553. package/lib/components/modal/modal.module.d.ts +10 -10
  554. package/lib/components/option/index.d.ts +2 -2
  555. package/lib/components/option/option.component.d.ts +22 -22
  556. package/lib/components/option/option.module.d.ts +8 -8
  557. package/lib/components/radiobutton/index.d.ts +2 -2
  558. package/lib/components/radiobutton/radiobutton.component.d.ts +39 -39
  559. package/lib/components/radiobutton/radiobutton.module.d.ts +9 -9
  560. package/lib/components/select/index.d.ts +5 -5
  561. package/lib/components/select/select-filter.component.d.ts +41 -41
  562. package/lib/components/select/select-multiple.component.d.ts +48 -48
  563. package/lib/components/select/select-search.component.d.ts +56 -56
  564. package/lib/components/select/select.component.d.ts +48 -48
  565. package/lib/components/select/select.module.d.ts +15 -15
  566. package/lib/components/stepper/index.d.ts +2 -2
  567. package/lib/components/stepper/stepper.component.d.ts +18 -18
  568. package/lib/components/stepper/stepper.module.d.ts +9 -9
  569. package/lib/components/tab/index.d.ts +2 -2
  570. package/lib/components/tab/tab.component.d.ts +24 -24
  571. package/lib/components/tab/tab.module.d.ts +10 -10
  572. package/lib/components/table/index.d.ts +3 -3
  573. package/lib/components/table/table-column.component.d.ts +5 -5
  574. package/lib/components/table/table.component.d.ts +59 -59
  575. package/lib/components/table/table.module.d.ts +12 -12
  576. package/lib/components/toggle/index.d.ts +2 -2
  577. package/lib/components/toggle/toggle.component.d.ts +18 -18
  578. package/lib/components/toggle/toggle.module.d.ts +8 -8
  579. package/lib/components/wizard/index.d.ts +2 -2
  580. package/lib/components/wizard/wizard.component.d.ts +18 -18
  581. package/lib/components/wizard/wizard.module.d.ts +9 -9
  582. package/lib/core/index.d.ts +3 -3
  583. package/lib/core/interfaces/index.d.ts +2 -2
  584. package/lib/core/interfaces/monkey-modal-settings.d.ts +58 -58
  585. package/lib/core/interfaces/monkey-style-settings.d.ts +59 -59
  586. package/lib/core/services/index.d.ts +3 -3
  587. package/lib/core/services/modal/index.d.ts +2 -2
  588. package/lib/core/services/modal/monkey-style-guide-modal-fixed.service.d.ts +16 -16
  589. package/lib/core/services/modal/monkey-style-guide-modal.service.d.ts +18 -18
  590. package/lib/core/services/monkey-style-guide.service.d.ts +10 -10
  591. package/lib/core/services/settings/index.d.ts +1 -1
  592. package/lib/core/services/settings/monkey-style-guide-settings.service.d.ts +15 -15
  593. package/lib/core/services/settings/monkey-style-guide-theme-settings.service.d.ts +12 -12
  594. package/lib/core/services/snackbar/index.d.ts +1 -1
  595. package/lib/core/services/snackbar/mokey-style-guide-snackbar.service.d.ts +58 -58
  596. package/lib/core/utils/index.d.ts +1 -1
  597. package/lib/core/utils/utils.d.ts +29 -29
  598. package/lib/monkey-style-guide.module.d.ts +8 -8
  599. package/monkey-style-guide-2.0.180.tgz +0 -0
  600. package/monkey-style-guide.d.ts +5 -5
  601. package/package.json +1 -1
  602. package/public-api.d.ts +8 -8
  603. package/monkey-style-guide-2.0.178.tgz +0 -0
@@ -1,831 +1,831 @@
1
- /**************************
2
- * Copyright Monkey Exchange. All Rights Reserved
3
- * This style guide was developed by Monkey Exchange Team
4
- * MIT Licence
5
- **************************/
6
- @import '../variables.scss';
7
-
8
- monkey-button[disabled] {
9
- pointer-events: none;
10
- }
11
-
12
- .mecx-button {
13
- cursor: pointer;
14
- padding: 16px;
15
- border-radius: 8px;
16
- border: none;
17
- display: inline-flex;
18
- flex-direction: row;
19
- align-content: center;
20
- align-items: center;
21
-
22
- &.no-icon {
23
- justify-content: center;
24
- }
25
-
26
- &.with-icon {
27
- justify-content: space-between;
28
- }
29
-
30
- &.sm {
31
- height: 32px;
32
- }
33
-
34
- &.md {
35
- height: 40px;
36
- }
37
-
38
- &.lg {
39
- height: 48px;
40
- }
41
-
42
- monkey-icon {
43
- margin-right: 10px;
44
- }
45
-
46
- label {
47
- cursor: pointer;
48
- }
49
-
50
- &:disabled {
51
- color: #999999 !important;
52
- background-color: #ebebeb !important;
53
- border: none !important;
54
- cursor: unset !important;
55
- }
56
- }
57
-
58
- .mecx-button-drop {
59
- cursor: pointer;
60
- padding: 12px;
61
- border: none;
62
- display: flex;
63
- flex-direction: row;
64
- align-content: center;
65
- align-items: center;
66
- }
67
-
68
- .mecx-avatar {
69
- cursor: pointer;
70
- padding: 8px;
71
- padding-top: 4px;
72
- padding-bottom: 4px;
73
- margin-right: 8px;
74
- border-radius: 12px;
75
- border: none;
76
- display: flex;
77
- flex-direction: row;
78
- align-content: center;
79
- align-items: center;
80
- }
81
-
82
- .mecx-button-primary {
83
- @extend .mecx-button;
84
-
85
- &__theme {
86
- color: map-get(map-get($mecx-theme, contrast), main);
87
- background: map-get($mecx-theme, main);
88
- background-position: center;
89
-
90
- &:hover:not(:disabled) {
91
- background-position: center;
92
- transition: background 0.8s;
93
- background: map-get($mecx-theme, 400)
94
- radial-gradient(circle, transparent 1%, map-get($mecx-theme, 400) 1%) center/15000%;
95
- }
96
-
97
- &:active:not(:disabled) {
98
- background-color: map-get($mecx-theme, 100);
99
- background-size: 100%;
100
- transition: background 0s;
101
- }
102
- }
103
-
104
- &__error {
105
- color: map-get(map-get($mecx-error, contrast), 400);
106
- background: map-get($mecx-error, main);
107
- background-position: center;
108
-
109
- &:hover:not(:disabled) {
110
- background-position: center;
111
- transition: background 0.8s;
112
- background: map-get($mecx-error, 400)
113
- radial-gradient(circle, transparent 1%, map-get($mecx-error, 400) 1%) center/15000%;
114
- }
115
-
116
- &:active:not(:disabled) {
117
- background-color: map-get($mecx-error, 100);
118
- background-size: 100%;
119
- transition: background 0s;
120
- }
121
- }
122
-
123
- &__warning {
124
- color: map-get(map-get($mecx-warning, contrast), main);
125
- background: map-get($mecx-warning, main);
126
- background-position: center;
127
-
128
- &:hover:not(:disabled) {
129
- background-position: center;
130
- transition: background 0.8s;
131
- background: map-get($mecx-warning, 400)
132
- radial-gradient(circle, transparent 1%, map-get($mecx-warning, 400) 1%) center/15000%;
133
- }
134
-
135
- &:active:not(:disabled) {
136
- background-color: map-get($mecx-warning, 100);
137
- background-size: 100%;
138
- transition: background 0s;
139
- }
140
- }
141
-
142
- &__success {
143
- color: map-get(map-get($mecx-success, contrast), main);
144
- background: map-get($mecx-success, main);
145
- background-position: center;
146
-
147
- &:hover:not(:disabled) {
148
- background-position: center;
149
- transition: background 0.8s;
150
- background: map-get($mecx-success, 400)
151
- radial-gradient(circle, transparent 1%, map-get($mecx-success, 400) 1%) center/15000%;
152
- }
153
-
154
- &:active:not(:disabled) {
155
- background-color: map-get($mecx-success, 100);
156
- background-size: 100%;
157
- transition: background 0s;
158
- }
159
- }
160
-
161
- &__question {
162
- color: map-get(map-get($mecx-question, contrast), main);
163
- background: map-get($mecx-question, main);
164
-
165
- background-position: center;
166
-
167
- &:hover:not(:disabled) {
168
- background-position: center;
169
- transition: background 0.8s;
170
- background: map-get($mecx-question, 400)
171
- radial-gradient(circle, transparent 1%, map-get($mecx-question, 400) 1%) center/15000%;
172
- }
173
-
174
- &:active:not(:disabled) {
175
- background-color: map-get($mecx-question, 100);
176
- background-size: 100%;
177
- transition: background 0s;
178
- }
179
- }
180
- }
181
-
182
- .mecx-button-secondary {
183
- @extend .mecx-button;
184
-
185
- &__theme {
186
- border: 1px solid #d6d6d6;
187
- background-color: #ffffff;
188
- color: map-get($mecx-theme, main);
189
- box-sizing: border-box;
190
- background-position: center;
191
-
192
- &:hover:not(:disabled) {
193
- background-position: center;
194
- transition: background 0.8s;
195
- background: map-get($mecx-theme, 100)
196
- radial-gradient(circle, transparent 1%, map-get($mecx-theme, 100) 1%) center/15000%;
197
- }
198
-
199
- &:active:not(:disabled) {
200
- background-color: map-get($mecx-theme, 400);
201
- background-size: 100%;
202
- transition: background 0s;
203
- }
204
- }
205
-
206
- &__error {
207
- border: 1px solid map-get($mecx-error, main);
208
- background-color: #ffffff;
209
- color: map-get($mecx-error, main);
210
- box-sizing: border-box;
211
-
212
- background-position: center;
213
-
214
- &:hover:not(:disabled) {
215
- background-position: center;
216
- transition: background 0.8s;
217
- background: map-get($mecx-error, 100)
218
- radial-gradient(circle, transparent 1%, map-get($mecx-error, 100) 1%) center/15000%;
219
- }
220
-
221
- &:active:not(:disabled) {
222
- background-color: map-get($mecx-error, 400);
223
- background-size: 100%;
224
- transition: background 0s;
225
- }
226
- }
227
-
228
- &__warning {
229
- border: 1px solid map-get($mecx-warning, main);
230
- background-color: #ffffff;
231
- color: map-get($mecx-warning, main);
232
- box-sizing: border-box;
233
-
234
- background-position: center;
235
-
236
- &:hover:not(:disabled) {
237
- background-position: center;
238
- transition: background 0.8s;
239
- background: map-get($mecx-warning, 100)
240
- radial-gradient(circle, transparent 1%, map-get($mecx-warning, 100) 1%) center/15000%;
241
- }
242
-
243
- &:active:not(:disabled) {
244
- background-color: map-get($mecx-warning, 400);
245
- background-size: 100%;
246
- transition: background 0s;
247
- }
248
- }
249
-
250
- &__success {
251
- border: 1px solid map-get($mecx-success, main) !important;
252
- background-color: #ffffff;
253
- color: map-get($mecx-success, main);
254
- box-sizing: border-box;
255
-
256
- background-position: center;
257
-
258
- &:hover:not(:disabled) {
259
- background-position: center;
260
- transition: background 0.8s;
261
- background: map-get($mecx-success, 100)
262
- radial-gradient(circle, transparent 1%, map-get($mecx-success, 100) 1%) center/15000%;
263
- }
264
-
265
- &:active:not(:disabled) {
266
- background-color: map-get($mecx-success, 400);
267
- background-size: 100%;
268
- transition: background 0s;
269
- }
270
- }
271
-
272
- &__question {
273
- border: 1px solid map-get($mecx-question, main) !important;
274
- background-color: #ffffff;
275
- color: map-get($mecx-question, main);
276
- box-sizing: border-box;
277
-
278
- background-position: center;
279
-
280
- &:hover:not(:disabled) {
281
- background-position: center;
282
- transition: background 0.8s;
283
- background: map-get($mecx-question, 100)
284
- radial-gradient(circle, transparent 1%, map-get($mecx-question, 100) 1%) center/15000%;
285
- }
286
-
287
- &:active:not(:disabled) {
288
- background-color: map-get($mecx-question, 400);
289
- background-size: 100%;
290
- transition: background 0s;
291
- }
292
- }
293
- }
294
-
295
- .mecx-button-tertiary {
296
- @extend .mecx-button;
297
-
298
- &__theme {
299
- background-color: inherit;
300
- color: map-get($mecx-theme, 500);
301
- box-sizing: border-box;
302
- background-position: center;
303
-
304
- &:hover:not(:disabled) {
305
- background-position: center;
306
- transition: background 0.8s;
307
- background: map-get($mecx-theme, 100)
308
- radial-gradient(circle, transparent 1%, map-get($mecx-theme, 100) 1%) center/15000%;
309
- }
310
-
311
- &:active:not(:disabled) {
312
- background-color: map-get($mecx-theme, 400);
313
- background-size: 100%;
314
- transition: background 0s;
315
- }
316
- }
317
-
318
- &__error {
319
- background-color: inherit;
320
- color: map-get($mecx-error, 500);
321
- box-sizing: border-box;
322
- background-position: center;
323
-
324
- &:hover:not(:disabled) {
325
- background-position: center;
326
- transition: background 0.8s;
327
- background: map-get($mecx-error, 100)
328
- radial-gradient(circle, transparent 1%, map-get($mecx-error, 100) 1%) center/15000%;
329
- }
330
-
331
- &:active:not(:disabled) {
332
- background-color: map-get($mecx-error, 400);
333
- background-size: 100%;
334
- transition: background 0s;
335
- }
336
- }
337
-
338
- &__warning {
339
- background-color: inherit;
340
- color: map-get($mecx-warning, 500);
341
- box-sizing: border-box;
342
- background-position: center;
343
-
344
- &:hover:not(:disabled) {
345
- background-position: center;
346
- transition: background 0.8s;
347
- background: map-get($mecx-warning, 100)
348
- radial-gradient(circle, transparent 1%, map-get($mecx-warning, 100) 1%) center/15000%;
349
- }
350
-
351
- &:active:not(:disabled) {
352
- background-color: map-get($mecx-warning, 400);
353
- background-size: 100%;
354
- transition: background 0s;
355
- }
356
- }
357
-
358
- &__success {
359
- background-color: inherit;
360
- color: map-get($mecx-success, 500);
361
- box-sizing: border-box;
362
- background-position: center;
363
-
364
- &:hover:not(:disabled) {
365
- background-position: center;
366
- transition: background 0.8s;
367
- background: map-get($mecx-success, 100)
368
- radial-gradient(circle, transparent 1%, map-get($mecx-success, 100) 1%) center/15000%;
369
- }
370
-
371
- &:active:not(:disabled) {
372
- background-color: map-get($mecx-success, 400);
373
- background-size: 100%;
374
- transition: background 0s;
375
- }
376
- }
377
-
378
- &__question {
379
- background-color: inherit;
380
- color: map-get($mecx-question, 500);
381
- box-sizing: border-box;
382
- background-position: center;
383
-
384
- &:hover:not(:disabled) {
385
- background-position: center;
386
- transition: background 0.8s;
387
- background: map-get($mecx-question, 100)
388
- radial-gradient(circle, transparent 1%, map-get($mecx-question, 100) 1%) center/15000%;
389
- }
390
-
391
- &:active:not(:disabled) {
392
- background-color: map-get($mecx-question, 400);
393
- background-size: 100%;
394
- transition: background 0s;
395
- }
396
- }
397
- }
398
-
399
- .mecx-button-none {
400
- @extend .mecx-button;
401
-
402
- font-style: normal;
403
- font-weight: 500;
404
- font-size: 14px;
405
- line-height: 16px;
406
- display: flex;
407
- align-items: center;
408
- text-align: center;
409
- color: #4b4a53;
410
- background: #ebebeb;
411
-
412
- &:hover:not(:disabled) {
413
- color: #4b4a53;
414
- background-position: center;
415
- transition: background 0.8s;
416
- background: #f3f3f3 radial-gradient(circle, transparent 1%, #f3f3f3 1%) center/15000%;
417
- }
418
-
419
- &:active:not(:disabled) {
420
- color: #4b4a53;
421
- background-color: #f3f3f3;
422
- background-size: 100%;
423
- transition: background 0s;
424
- }
425
- }
426
-
427
- .mecx-button-border {
428
- @extend .mecx-button;
429
-
430
- font-style: normal;
431
- font-weight: 500;
432
- font-size: 14px;
433
- line-height: 16px;
434
- display: flex;
435
- align-items: center;
436
- text-align: center;
437
- color: #4b4a53;
438
- background: inherit;
439
- border: 1px solid #4b4a53;
440
- box-sizing: border-box;
441
- border-radius: 8px;
442
-
443
- &:hover:not(:disabled) {
444
- color: #4b4a53;
445
- background-position: center;
446
- transition: background 0.8s;
447
- background: #f3f3f3 radial-gradient(circle, transparent 1%, #f3f3f3 1%) center/15000%;
448
- }
449
-
450
- &:active:not(:disabled) {
451
- color: #4b4a53;
452
- background-color: #f3f3f3;
453
- background-size: 100%;
454
- transition: background 0s;
455
- }
456
- }
457
-
458
- .mecx-button-nav {
459
- @extend .mecx-button;
460
-
461
- font-style: normal;
462
- font-weight: normal;
463
- font-size: 16px;
464
- line-height: 19px;
465
- color: #4b4a53;
466
- justify-content: flex-start !important;
467
- background: inherit;
468
-
469
- &:hover:not(:disabled) {
470
- color: #4b4a53;
471
- background-position: center;
472
- transition: background 0.8s;
473
- background: #f3f3f3 radial-gradient(circle, transparent 1%, #f3f3f3 1%) center/15000%;
474
- }
475
-
476
- &:active:not(:disabled) {
477
- color: map-get($mecx-theme, main);
478
- background-color: #f5f5f5;
479
- background-size: 100%;
480
- transition: background 0s;
481
- }
482
- }
483
-
484
- .mecx-button-nav-active {
485
- @extend .mecx-button;
486
-
487
- font-style: normal;
488
- font-weight: 500;
489
- font-size: 16px;
490
- line-height: 19px;
491
- color: map-get($mecx-theme, main);
492
- background: #f5f5f5;
493
- justify-content: flex-start !important;
494
-
495
- &:hover:not(:disabled) {
496
- color: map-get($mecx-theme, main);
497
- background-position: center;
498
- transition: background 0.8s;
499
- background: #f3f3f3 radial-gradient(circle, transparent 1%, #f3f3f3 1%) center/15000%;
500
- }
501
-
502
- &:active:not(:disabled) {
503
- color: map-get($mecx-theme, main);
504
- background-color: #f3f3f3;
505
- background-size: 100%;
506
- transition: background 0s;
507
- }
508
- }
509
-
510
- .mecx-button-filter {
511
- @extend .mecx-button;
512
-
513
- font-style: normal;
514
- font-weight: 500;
515
- font-size: 14px;
516
- line-height: 19px;
517
- box-sizing: border-box;
518
- border-radius: 32px;
519
- height: 48px;
520
- cursor: pointer;
521
- background: #f5f5f5;
522
- border: none;
523
- border-radius: 120px;
524
- color: #4b4a53;
525
- font-size: 14px !important;
526
-
527
- &:hover:not(:disabled) {
528
- color: #4b4a53;
529
- background-position: center;
530
- transition: background 0.8s;
531
- background: #f5f5f5 radial-gradient(circle, transparent 1%, #f5f5f5 1%) center/15000%;
532
- }
533
-
534
- &:active:not(:disabled) {
535
- color: #4b4a53;
536
- background-color: #f5f5f5;
537
- background-size: 100%;
538
- transition: background 0s;
539
- }
540
-
541
- &__border {
542
- background: inherit;
543
- border: 1px solid #d6d6d6;
544
- font-size: 14px !important;
545
-
546
- &:hover:not(:disabled) {
547
- color: #4b4a53;
548
- background-position: center;
549
- transition: background 0.8s;
550
- background: #f5f5f5 radial-gradient(circle, transparent 1%, #f5f5f5 1%) center/15000%;
551
- }
552
-
553
- &:active:not(:disabled) {
554
- color: #4b4a53;
555
- background-color: #f5f5f5;
556
- background-size: 100%;
557
- transition: background 0s;
558
- }
559
- }
560
-
561
- &__none {
562
- background: inherit;
563
- border: none;
564
- font-size: 14px !important;
565
-
566
- &:hover:not(:disabled) {
567
- color: #4b4a53;
568
- background-position: center;
569
- transition: background 0.8s;
570
- background: #f5f5f5 radial-gradient(circle, transparent 1%, #f5f5f5 1%) center/15000%;
571
- }
572
-
573
- &:active:not(:disabled) {
574
- color: #4b4a53;
575
- background-color: #f5f5f5;
576
- background-size: 100%;
577
- transition: background 0s;
578
- }
579
- }
580
- }
581
-
582
- .mecx-button-filter-fit {
583
- @extend .mecx-button;
584
-
585
- font-style: normal;
586
- font-weight: 500;
587
- font-size: 14px;
588
- line-height: 19px;
589
- box-sizing: border-box;
590
- height: 48px;
591
- cursor: pointer;
592
- background: #ebebeb;
593
- border: none;
594
- color: #4b4a53;
595
- font-size: 14px !important;
596
-
597
- &:hover:not(:disabled) {
598
- color: #4b4a53;
599
- background-position: center;
600
- transition: background 0.8s;
601
- background: #ebebeb radial-gradient(circle, transparent 1%, #ebebeb 1%) center/15000%;
602
- }
603
-
604
- &:active:not(:disabled) {
605
- color: #4b4a53;
606
- background-color: #ebebeb;
607
- background-size: 100%;
608
- transition: background 0s;
609
- }
610
-
611
- &__border {
612
- background: inherit;
613
- border: 1px solid #d6d6d6;
614
- font-size: 14px !important;
615
-
616
- &:hover:not(:disabled) {
617
- color: #4b4a53;
618
- background-position: center;
619
- transition: background 0.8s;
620
- background: #ebebeb radial-gradient(circle, transparent 1%, #ebebeb 1%) center/15000%;
621
- }
622
-
623
- &:active:not(:disabled) {
624
- color: #4b4a53;
625
- background-color: #ebebeb;
626
- background-size: 100%;
627
- transition: background 0s;
628
- }
629
- }
630
-
631
- &__none {
632
- background: inherit;
633
- border: none;
634
- font-size: 14px !important;
635
-
636
- &:hover:not(:disabled) {
637
- color: #4b4a53;
638
- background-position: center;
639
- transition: background 0.8s;
640
- background: #ebebeb radial-gradient(circle, transparent 1%, #ebebeb 1%) center/15000%;
641
- }
642
-
643
- &:active:not(:disabled) {
644
- color: #4b4a53;
645
- background-color: #ebebeb;
646
- background-size: 100%;
647
- transition: background 0s;
648
- }
649
- }
650
- }
651
-
652
- .mecx-button-filter-active {
653
- @extend .mecx-button;
654
-
655
- font-style: normal;
656
- font-weight: 500;
657
- font-size: 14px;
658
- line-height: 19px;
659
- box-sizing: border-box;
660
- border-radius: 32px;
661
- height: 48px;
662
- cursor: pointer;
663
- background-color: #f5f5f5;
664
- color: map-get($mecx-theme, main);
665
-
666
- &:hover:not(:disabled) {
667
- color: map-get($mecx-theme, main);
668
- background-position: center;
669
- transition: background 0.8s;
670
- background: #f5f5f5 radial-gradient(circle, transparent 1%, #f5f5f5 1%) center/15000%;
671
- }
672
-
673
- &:active:not(:disabled) {
674
- color: map-get($mecx-theme, main);
675
- background-color: #f5f5f5;
676
- background-size: 100%;
677
- transition: background 0s;
678
- }
679
- }
680
-
681
- monkey-button-dropdown {
682
- mecx-button-dropdown {
683
- cursor: pointer;
684
- position: relative;
685
- display: flex;
686
- flex-direction: column;
687
- width: 100%;
688
- transition: all 0;
689
-
690
- &.trigger {
691
- background: #fafafa;
692
- border-radius: 16px;
693
- box-sizing: border-box;
694
- padding: 8px;
695
- }
696
-
697
- &.open {
698
- width: 100%;
699
- transition: all 0;
700
-
701
- mecx-button-dropdown-options {
702
- opacity: 1;
703
- visibility: visible;
704
- pointer-events: all;
705
- border-radius: 8px;
706
- z-index: 11;
707
- display: inline;
708
- }
709
- }
710
-
711
- mecx-button-dropdown__trigger {
712
- position: relative;
713
- display: flex;
714
- align-items: center;
715
- justify-content: space-between;
716
- font-size: 16px;
717
- cursor: pointer;
718
- color: #4b4a53;
719
- font-weight: 500;
720
- width: 100%;
721
-
722
- monkey-icon {
723
- margin-left: 12px;
724
- }
725
- }
726
-
727
- mecx-button-dropdown-options {
728
- position: absolute;
729
- display: block;
730
- top: 100%;
731
- right: 0;
732
- border-top: 0;
733
- background: #fafafa;
734
- box-shadow: 0px 25px 52px -8px rgba(52, 52, 52, 0.88);
735
- transition: all 0.5s;
736
- opacity: 0;
737
- visibility: hidden;
738
- pointer-events: none;
739
- z-index: 11;
740
- color: #4b4a53;
741
- font-weight: 500;
742
- padding: 10px;
743
- max-height: 256px;
744
- width: 200px;
745
- border-radius: 4px;
746
- overflow: auto;
747
- -webkit-overflow-scrolling: touch;
748
- display: none;
749
- }
750
-
751
- .mecx-option {
752
- position: relative;
753
- display: block;
754
- padding: 0 8px 0 8px;
755
- font-size: 14px;
756
- line-height: 60px;
757
- cursor: pointer;
758
- transition: all 0.5s;
759
- }
760
- }
761
-
762
- mecx-button-dropdown-backdrop {
763
- position: fixed;
764
- left: 0;
765
- top: 0;
766
- width: 100%;
767
- height: 100%;
768
- background: rgb(230 230 230 / 7%);
769
- z-index: 1;
770
- }
771
- }
772
-
773
- monkey-button-avatar {
774
- .mecx-button-avatar {
775
- &__theme {
776
- color: map-get(map-get($mecx-theme, contrast), main);
777
- background: map-get($mecx-theme, main);
778
- }
779
-
780
- &__theme-100 {
781
- color: map-get(map-get($mecx-theme, contrast), 100);
782
- background: map-get($mecx-theme, 100);
783
- }
784
-
785
- &__theme-300 {
786
- color: map-get(map-get($mecx-theme, contrast), 300);
787
- background: map-get($mecx-theme, 300);
788
- }
789
-
790
- &__none {
791
- background-color: #ebebeb;
792
- color: map-get($mecx-theme, main);
793
- }
794
-
795
- &__sm {
796
- @extend .mecx-avatar;
797
- font-size: 18px;
798
- font-weight: 500;
799
- line-height: 21px;
800
-
801
- img {
802
- width: 16px;
803
- height: 16px;
804
- }
805
- }
806
-
807
- &__md {
808
- @extend .mecx-avatar;
809
- font-size: 22px;
810
- font-weight: 500;
811
- line-height: 21px;
812
-
813
- img {
814
- width: 24px;
815
- height: 24px;
816
- }
817
- }
818
-
819
- &__lg {
820
- @extend .mecx-avatar;
821
- font-size: 30px;
822
- font-weight: 500;
823
- line-height: 21px;
824
-
825
- img {
826
- width: 32px;
827
- height: 32px;
828
- }
829
- }
830
- }
831
- }
1
+ /**************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ **************************/
6
+ @import '../variables.scss';
7
+
8
+ monkey-button[disabled] {
9
+ pointer-events: none;
10
+ }
11
+
12
+ .mecx-button {
13
+ cursor: pointer;
14
+ padding: 16px;
15
+ border-radius: 8px;
16
+ border: none;
17
+ display: inline-flex;
18
+ flex-direction: row;
19
+ align-content: center;
20
+ align-items: center;
21
+
22
+ &.no-icon {
23
+ justify-content: center;
24
+ }
25
+
26
+ &.with-icon {
27
+ justify-content: space-between;
28
+ }
29
+
30
+ &.sm {
31
+ height: 32px;
32
+ }
33
+
34
+ &.md {
35
+ height: 40px;
36
+ }
37
+
38
+ &.lg {
39
+ height: 48px;
40
+ }
41
+
42
+ monkey-icon {
43
+ margin-right: 10px;
44
+ }
45
+
46
+ label {
47
+ cursor: pointer;
48
+ }
49
+
50
+ &:disabled {
51
+ color: #999999 !important;
52
+ background-color: #ebebeb !important;
53
+ border: none !important;
54
+ cursor: unset !important;
55
+ }
56
+ }
57
+
58
+ .mecx-button-drop {
59
+ cursor: pointer;
60
+ padding: 12px;
61
+ border: none;
62
+ display: flex;
63
+ flex-direction: row;
64
+ align-content: center;
65
+ align-items: center;
66
+ }
67
+
68
+ .mecx-avatar {
69
+ cursor: pointer;
70
+ padding: 8px;
71
+ padding-top: 4px;
72
+ padding-bottom: 4px;
73
+ margin-right: 8px;
74
+ border-radius: 12px;
75
+ border: none;
76
+ display: flex;
77
+ flex-direction: row;
78
+ align-content: center;
79
+ align-items: center;
80
+ }
81
+
82
+ .mecx-button-primary {
83
+ @extend .mecx-button;
84
+
85
+ &__theme {
86
+ color: map-get(map-get($mecx-theme, contrast), main);
87
+ background: map-get($mecx-theme, main);
88
+ background-position: center;
89
+
90
+ &:hover:not(:disabled) {
91
+ background-position: center;
92
+ transition: background 0.8s;
93
+ background: map-get($mecx-theme, 400)
94
+ radial-gradient(circle, transparent 1%, map-get($mecx-theme, 400) 1%) center/15000%;
95
+ }
96
+
97
+ &:active:not(:disabled) {
98
+ background-color: map-get($mecx-theme, 100);
99
+ background-size: 100%;
100
+ transition: background 0s;
101
+ }
102
+ }
103
+
104
+ &__error {
105
+ color: map-get(map-get($mecx-error, contrast), 400);
106
+ background: map-get($mecx-error, main);
107
+ background-position: center;
108
+
109
+ &:hover:not(:disabled) {
110
+ background-position: center;
111
+ transition: background 0.8s;
112
+ background: map-get($mecx-error, 400)
113
+ radial-gradient(circle, transparent 1%, map-get($mecx-error, 400) 1%) center/15000%;
114
+ }
115
+
116
+ &:active:not(:disabled) {
117
+ background-color: map-get($mecx-error, 100);
118
+ background-size: 100%;
119
+ transition: background 0s;
120
+ }
121
+ }
122
+
123
+ &__warning {
124
+ color: map-get(map-get($mecx-warning, contrast), main);
125
+ background: map-get($mecx-warning, main);
126
+ background-position: center;
127
+
128
+ &:hover:not(:disabled) {
129
+ background-position: center;
130
+ transition: background 0.8s;
131
+ background: map-get($mecx-warning, 400)
132
+ radial-gradient(circle, transparent 1%, map-get($mecx-warning, 400) 1%) center/15000%;
133
+ }
134
+
135
+ &:active:not(:disabled) {
136
+ background-color: map-get($mecx-warning, 100);
137
+ background-size: 100%;
138
+ transition: background 0s;
139
+ }
140
+ }
141
+
142
+ &__success {
143
+ color: map-get(map-get($mecx-success, contrast), main);
144
+ background: map-get($mecx-success, main);
145
+ background-position: center;
146
+
147
+ &:hover:not(:disabled) {
148
+ background-position: center;
149
+ transition: background 0.8s;
150
+ background: map-get($mecx-success, 400)
151
+ radial-gradient(circle, transparent 1%, map-get($mecx-success, 400) 1%) center/15000%;
152
+ }
153
+
154
+ &:active:not(:disabled) {
155
+ background-color: map-get($mecx-success, 100);
156
+ background-size: 100%;
157
+ transition: background 0s;
158
+ }
159
+ }
160
+
161
+ &__question {
162
+ color: map-get(map-get($mecx-question, contrast), main);
163
+ background: map-get($mecx-question, main);
164
+
165
+ background-position: center;
166
+
167
+ &:hover:not(:disabled) {
168
+ background-position: center;
169
+ transition: background 0.8s;
170
+ background: map-get($mecx-question, 400)
171
+ radial-gradient(circle, transparent 1%, map-get($mecx-question, 400) 1%) center/15000%;
172
+ }
173
+
174
+ &:active:not(:disabled) {
175
+ background-color: map-get($mecx-question, 100);
176
+ background-size: 100%;
177
+ transition: background 0s;
178
+ }
179
+ }
180
+ }
181
+
182
+ .mecx-button-secondary {
183
+ @extend .mecx-button;
184
+
185
+ &__theme {
186
+ border: 1px solid #d6d6d6;
187
+ background-color: #ffffff;
188
+ color: map-get($mecx-theme, main);
189
+ box-sizing: border-box;
190
+ background-position: center;
191
+
192
+ &:hover:not(:disabled) {
193
+ background-position: center;
194
+ transition: background 0.8s;
195
+ background: map-get($mecx-theme, 100)
196
+ radial-gradient(circle, transparent 1%, map-get($mecx-theme, 100) 1%) center/15000%;
197
+ }
198
+
199
+ &:active:not(:disabled) {
200
+ background-color: map-get($mecx-theme, 400);
201
+ background-size: 100%;
202
+ transition: background 0s;
203
+ }
204
+ }
205
+
206
+ &__error {
207
+ border: 1px solid map-get($mecx-error, main);
208
+ background-color: #ffffff;
209
+ color: map-get($mecx-error, main);
210
+ box-sizing: border-box;
211
+
212
+ background-position: center;
213
+
214
+ &:hover:not(:disabled) {
215
+ background-position: center;
216
+ transition: background 0.8s;
217
+ background: map-get($mecx-error, 100)
218
+ radial-gradient(circle, transparent 1%, map-get($mecx-error, 100) 1%) center/15000%;
219
+ }
220
+
221
+ &:active:not(:disabled) {
222
+ background-color: map-get($mecx-error, 400);
223
+ background-size: 100%;
224
+ transition: background 0s;
225
+ }
226
+ }
227
+
228
+ &__warning {
229
+ border: 1px solid map-get($mecx-warning, main);
230
+ background-color: #ffffff;
231
+ color: map-get($mecx-warning, main);
232
+ box-sizing: border-box;
233
+
234
+ background-position: center;
235
+
236
+ &:hover:not(:disabled) {
237
+ background-position: center;
238
+ transition: background 0.8s;
239
+ background: map-get($mecx-warning, 100)
240
+ radial-gradient(circle, transparent 1%, map-get($mecx-warning, 100) 1%) center/15000%;
241
+ }
242
+
243
+ &:active:not(:disabled) {
244
+ background-color: map-get($mecx-warning, 400);
245
+ background-size: 100%;
246
+ transition: background 0s;
247
+ }
248
+ }
249
+
250
+ &__success {
251
+ border: 1px solid map-get($mecx-success, main) !important;
252
+ background-color: #ffffff;
253
+ color: map-get($mecx-success, main);
254
+ box-sizing: border-box;
255
+
256
+ background-position: center;
257
+
258
+ &:hover:not(:disabled) {
259
+ background-position: center;
260
+ transition: background 0.8s;
261
+ background: map-get($mecx-success, 100)
262
+ radial-gradient(circle, transparent 1%, map-get($mecx-success, 100) 1%) center/15000%;
263
+ }
264
+
265
+ &:active:not(:disabled) {
266
+ background-color: map-get($mecx-success, 400);
267
+ background-size: 100%;
268
+ transition: background 0s;
269
+ }
270
+ }
271
+
272
+ &__question {
273
+ border: 1px solid map-get($mecx-question, main) !important;
274
+ background-color: #ffffff;
275
+ color: map-get($mecx-question, main);
276
+ box-sizing: border-box;
277
+
278
+ background-position: center;
279
+
280
+ &:hover:not(:disabled) {
281
+ background-position: center;
282
+ transition: background 0.8s;
283
+ background: map-get($mecx-question, 100)
284
+ radial-gradient(circle, transparent 1%, map-get($mecx-question, 100) 1%) center/15000%;
285
+ }
286
+
287
+ &:active:not(:disabled) {
288
+ background-color: map-get($mecx-question, 400);
289
+ background-size: 100%;
290
+ transition: background 0s;
291
+ }
292
+ }
293
+ }
294
+
295
+ .mecx-button-tertiary {
296
+ @extend .mecx-button;
297
+
298
+ &__theme {
299
+ background-color: inherit;
300
+ color: map-get($mecx-theme, 500);
301
+ box-sizing: border-box;
302
+ background-position: center;
303
+
304
+ &:hover:not(:disabled) {
305
+ background-position: center;
306
+ transition: background 0.8s;
307
+ background: map-get($mecx-theme, 100)
308
+ radial-gradient(circle, transparent 1%, map-get($mecx-theme, 100) 1%) center/15000%;
309
+ }
310
+
311
+ &:active:not(:disabled) {
312
+ background-color: map-get($mecx-theme, 400);
313
+ background-size: 100%;
314
+ transition: background 0s;
315
+ }
316
+ }
317
+
318
+ &__error {
319
+ background-color: inherit;
320
+ color: map-get($mecx-error, 500);
321
+ box-sizing: border-box;
322
+ background-position: center;
323
+
324
+ &:hover:not(:disabled) {
325
+ background-position: center;
326
+ transition: background 0.8s;
327
+ background: map-get($mecx-error, 100)
328
+ radial-gradient(circle, transparent 1%, map-get($mecx-error, 100) 1%) center/15000%;
329
+ }
330
+
331
+ &:active:not(:disabled) {
332
+ background-color: map-get($mecx-error, 400);
333
+ background-size: 100%;
334
+ transition: background 0s;
335
+ }
336
+ }
337
+
338
+ &__warning {
339
+ background-color: inherit;
340
+ color: map-get($mecx-warning, 500);
341
+ box-sizing: border-box;
342
+ background-position: center;
343
+
344
+ &:hover:not(:disabled) {
345
+ background-position: center;
346
+ transition: background 0.8s;
347
+ background: map-get($mecx-warning, 100)
348
+ radial-gradient(circle, transparent 1%, map-get($mecx-warning, 100) 1%) center/15000%;
349
+ }
350
+
351
+ &:active:not(:disabled) {
352
+ background-color: map-get($mecx-warning, 400);
353
+ background-size: 100%;
354
+ transition: background 0s;
355
+ }
356
+ }
357
+
358
+ &__success {
359
+ background-color: inherit;
360
+ color: map-get($mecx-success, 500);
361
+ box-sizing: border-box;
362
+ background-position: center;
363
+
364
+ &:hover:not(:disabled) {
365
+ background-position: center;
366
+ transition: background 0.8s;
367
+ background: map-get($mecx-success, 100)
368
+ radial-gradient(circle, transparent 1%, map-get($mecx-success, 100) 1%) center/15000%;
369
+ }
370
+
371
+ &:active:not(:disabled) {
372
+ background-color: map-get($mecx-success, 400);
373
+ background-size: 100%;
374
+ transition: background 0s;
375
+ }
376
+ }
377
+
378
+ &__question {
379
+ background-color: inherit;
380
+ color: map-get($mecx-question, 500);
381
+ box-sizing: border-box;
382
+ background-position: center;
383
+
384
+ &:hover:not(:disabled) {
385
+ background-position: center;
386
+ transition: background 0.8s;
387
+ background: map-get($mecx-question, 100)
388
+ radial-gradient(circle, transparent 1%, map-get($mecx-question, 100) 1%) center/15000%;
389
+ }
390
+
391
+ &:active:not(:disabled) {
392
+ background-color: map-get($mecx-question, 400);
393
+ background-size: 100%;
394
+ transition: background 0s;
395
+ }
396
+ }
397
+ }
398
+
399
+ .mecx-button-none {
400
+ @extend .mecx-button;
401
+
402
+ font-style: normal;
403
+ font-weight: 500;
404
+ font-size: 14px;
405
+ line-height: 16px;
406
+ display: flex;
407
+ align-items: center;
408
+ text-align: center;
409
+ color: #4b4a53;
410
+ background: #ebebeb;
411
+
412
+ &:hover:not(:disabled) {
413
+ color: #4b4a53;
414
+ background-position: center;
415
+ transition: background 0.8s;
416
+ background: #f3f3f3 radial-gradient(circle, transparent 1%, #f3f3f3 1%) center/15000%;
417
+ }
418
+
419
+ &:active:not(:disabled) {
420
+ color: #4b4a53;
421
+ background-color: #f3f3f3;
422
+ background-size: 100%;
423
+ transition: background 0s;
424
+ }
425
+ }
426
+
427
+ .mecx-button-border {
428
+ @extend .mecx-button;
429
+
430
+ font-style: normal;
431
+ font-weight: 500;
432
+ font-size: 14px;
433
+ line-height: 16px;
434
+ display: flex;
435
+ align-items: center;
436
+ text-align: center;
437
+ color: #4b4a53;
438
+ background: inherit;
439
+ border: 1px solid #4b4a53;
440
+ box-sizing: border-box;
441
+ border-radius: 8px;
442
+
443
+ &:hover:not(:disabled) {
444
+ color: #4b4a53;
445
+ background-position: center;
446
+ transition: background 0.8s;
447
+ background: #f3f3f3 radial-gradient(circle, transparent 1%, #f3f3f3 1%) center/15000%;
448
+ }
449
+
450
+ &:active:not(:disabled) {
451
+ color: #4b4a53;
452
+ background-color: #f3f3f3;
453
+ background-size: 100%;
454
+ transition: background 0s;
455
+ }
456
+ }
457
+
458
+ .mecx-button-nav {
459
+ @extend .mecx-button;
460
+
461
+ font-style: normal;
462
+ font-weight: normal;
463
+ font-size: 16px;
464
+ line-height: 19px;
465
+ color: #4b4a53;
466
+ justify-content: flex-start !important;
467
+ background: inherit;
468
+
469
+ &:hover:not(:disabled) {
470
+ color: #4b4a53;
471
+ background-position: center;
472
+ transition: background 0.8s;
473
+ background: #f3f3f3 radial-gradient(circle, transparent 1%, #f3f3f3 1%) center/15000%;
474
+ }
475
+
476
+ &:active:not(:disabled) {
477
+ color: map-get($mecx-theme, main);
478
+ background-color: #f5f5f5;
479
+ background-size: 100%;
480
+ transition: background 0s;
481
+ }
482
+ }
483
+
484
+ .mecx-button-nav-active {
485
+ @extend .mecx-button;
486
+
487
+ font-style: normal;
488
+ font-weight: 500;
489
+ font-size: 16px;
490
+ line-height: 19px;
491
+ color: map-get($mecx-theme, main);
492
+ background: #f5f5f5;
493
+ justify-content: flex-start !important;
494
+
495
+ &:hover:not(:disabled) {
496
+ color: map-get($mecx-theme, main);
497
+ background-position: center;
498
+ transition: background 0.8s;
499
+ background: #f3f3f3 radial-gradient(circle, transparent 1%, #f3f3f3 1%) center/15000%;
500
+ }
501
+
502
+ &:active:not(:disabled) {
503
+ color: map-get($mecx-theme, main);
504
+ background-color: #f3f3f3;
505
+ background-size: 100%;
506
+ transition: background 0s;
507
+ }
508
+ }
509
+
510
+ .mecx-button-filter {
511
+ @extend .mecx-button;
512
+
513
+ font-style: normal;
514
+ font-weight: 500;
515
+ font-size: 14px;
516
+ line-height: 19px;
517
+ box-sizing: border-box;
518
+ border-radius: 32px;
519
+ height: 48px;
520
+ cursor: pointer;
521
+ background: #f5f5f5;
522
+ border: none;
523
+ border-radius: 120px;
524
+ color: #4b4a53;
525
+ font-size: 14px !important;
526
+
527
+ &:hover:not(:disabled) {
528
+ color: #4b4a53;
529
+ background-position: center;
530
+ transition: background 0.8s;
531
+ background: #f5f5f5 radial-gradient(circle, transparent 1%, #f5f5f5 1%) center/15000%;
532
+ }
533
+
534
+ &:active:not(:disabled) {
535
+ color: #4b4a53;
536
+ background-color: #f5f5f5;
537
+ background-size: 100%;
538
+ transition: background 0s;
539
+ }
540
+
541
+ &__border {
542
+ background: inherit;
543
+ border: 1px solid #d6d6d6;
544
+ font-size: 14px !important;
545
+
546
+ &:hover:not(:disabled) {
547
+ color: #4b4a53;
548
+ background-position: center;
549
+ transition: background 0.8s;
550
+ background: #f5f5f5 radial-gradient(circle, transparent 1%, #f5f5f5 1%) center/15000%;
551
+ }
552
+
553
+ &:active:not(:disabled) {
554
+ color: #4b4a53;
555
+ background-color: #f5f5f5;
556
+ background-size: 100%;
557
+ transition: background 0s;
558
+ }
559
+ }
560
+
561
+ &__none {
562
+ background: inherit;
563
+ border: none;
564
+ font-size: 14px !important;
565
+
566
+ &:hover:not(:disabled) {
567
+ color: #4b4a53;
568
+ background-position: center;
569
+ transition: background 0.8s;
570
+ background: #f5f5f5 radial-gradient(circle, transparent 1%, #f5f5f5 1%) center/15000%;
571
+ }
572
+
573
+ &:active:not(:disabled) {
574
+ color: #4b4a53;
575
+ background-color: #f5f5f5;
576
+ background-size: 100%;
577
+ transition: background 0s;
578
+ }
579
+ }
580
+ }
581
+
582
+ .mecx-button-filter-fit {
583
+ @extend .mecx-button;
584
+
585
+ font-style: normal;
586
+ font-weight: 500;
587
+ font-size: 14px;
588
+ line-height: 19px;
589
+ box-sizing: border-box;
590
+ height: 48px;
591
+ cursor: pointer;
592
+ background: #ebebeb;
593
+ border: none;
594
+ color: #4b4a53;
595
+ font-size: 14px !important;
596
+
597
+ &:hover:not(:disabled) {
598
+ color: #4b4a53;
599
+ background-position: center;
600
+ transition: background 0.8s;
601
+ background: #ebebeb radial-gradient(circle, transparent 1%, #ebebeb 1%) center/15000%;
602
+ }
603
+
604
+ &:active:not(:disabled) {
605
+ color: #4b4a53;
606
+ background-color: #ebebeb;
607
+ background-size: 100%;
608
+ transition: background 0s;
609
+ }
610
+
611
+ &__border {
612
+ background: inherit;
613
+ border: 1px solid #d6d6d6;
614
+ font-size: 14px !important;
615
+
616
+ &:hover:not(:disabled) {
617
+ color: #4b4a53;
618
+ background-position: center;
619
+ transition: background 0.8s;
620
+ background: #ebebeb radial-gradient(circle, transparent 1%, #ebebeb 1%) center/15000%;
621
+ }
622
+
623
+ &:active:not(:disabled) {
624
+ color: #4b4a53;
625
+ background-color: #ebebeb;
626
+ background-size: 100%;
627
+ transition: background 0s;
628
+ }
629
+ }
630
+
631
+ &__none {
632
+ background: inherit;
633
+ border: none;
634
+ font-size: 14px !important;
635
+
636
+ &:hover:not(:disabled) {
637
+ color: #4b4a53;
638
+ background-position: center;
639
+ transition: background 0.8s;
640
+ background: #ebebeb radial-gradient(circle, transparent 1%, #ebebeb 1%) center/15000%;
641
+ }
642
+
643
+ &:active:not(:disabled) {
644
+ color: #4b4a53;
645
+ background-color: #ebebeb;
646
+ background-size: 100%;
647
+ transition: background 0s;
648
+ }
649
+ }
650
+ }
651
+
652
+ .mecx-button-filter-active {
653
+ @extend .mecx-button;
654
+
655
+ font-style: normal;
656
+ font-weight: 500;
657
+ font-size: 14px;
658
+ line-height: 19px;
659
+ box-sizing: border-box;
660
+ border-radius: 32px;
661
+ height: 48px;
662
+ cursor: pointer;
663
+ background-color: #f5f5f5;
664
+ color: map-get($mecx-theme, main);
665
+
666
+ &:hover:not(:disabled) {
667
+ color: map-get($mecx-theme, main);
668
+ background-position: center;
669
+ transition: background 0.8s;
670
+ background: #f5f5f5 radial-gradient(circle, transparent 1%, #f5f5f5 1%) center/15000%;
671
+ }
672
+
673
+ &:active:not(:disabled) {
674
+ color: map-get($mecx-theme, main);
675
+ background-color: #f5f5f5;
676
+ background-size: 100%;
677
+ transition: background 0s;
678
+ }
679
+ }
680
+
681
+ monkey-button-dropdown {
682
+ mecx-button-dropdown {
683
+ cursor: pointer;
684
+ position: relative;
685
+ display: flex;
686
+ flex-direction: column;
687
+ width: 100%;
688
+ transition: all 0;
689
+
690
+ &.trigger {
691
+ background: #fafafa;
692
+ border-radius: 16px;
693
+ box-sizing: border-box;
694
+ padding: 8px;
695
+ }
696
+
697
+ &.open {
698
+ width: 100%;
699
+ transition: all 0;
700
+
701
+ mecx-button-dropdown-options {
702
+ opacity: 1;
703
+ visibility: visible;
704
+ pointer-events: all;
705
+ border-radius: 8px;
706
+ z-index: 11;
707
+ display: inline;
708
+ }
709
+ }
710
+
711
+ mecx-button-dropdown__trigger {
712
+ position: relative;
713
+ display: flex;
714
+ align-items: center;
715
+ justify-content: space-between;
716
+ font-size: 16px;
717
+ cursor: pointer;
718
+ color: #4b4a53;
719
+ font-weight: 500;
720
+ width: 100%;
721
+
722
+ monkey-icon {
723
+ margin-left: 12px;
724
+ }
725
+ }
726
+
727
+ mecx-button-dropdown-options {
728
+ position: absolute;
729
+ display: block;
730
+ top: 100%;
731
+ right: 0;
732
+ border-top: 0;
733
+ background: #fafafa;
734
+ box-shadow: 0px 25px 52px -8px rgba(52, 52, 52, 0.88);
735
+ transition: all 0.5s;
736
+ opacity: 0;
737
+ visibility: hidden;
738
+ pointer-events: none;
739
+ z-index: 11;
740
+ color: #4b4a53;
741
+ font-weight: 500;
742
+ padding: 10px;
743
+ max-height: 256px;
744
+ width: 200px;
745
+ border-radius: 4px;
746
+ overflow: auto;
747
+ -webkit-overflow-scrolling: touch;
748
+ display: none;
749
+ }
750
+
751
+ .mecx-option {
752
+ position: relative;
753
+ display: block;
754
+ padding: 0 8px 0 8px;
755
+ font-size: 14px;
756
+ line-height: 60px;
757
+ cursor: pointer;
758
+ transition: all 0.5s;
759
+ }
760
+ }
761
+
762
+ mecx-button-dropdown-backdrop {
763
+ position: fixed;
764
+ left: 0;
765
+ top: 0;
766
+ width: 100%;
767
+ height: 100%;
768
+ background: rgb(230 230 230 / 7%);
769
+ z-index: 1;
770
+ }
771
+ }
772
+
773
+ monkey-button-avatar {
774
+ .mecx-button-avatar {
775
+ &__theme {
776
+ color: map-get(map-get($mecx-theme, contrast), main);
777
+ background: map-get($mecx-theme, main);
778
+ }
779
+
780
+ &__theme-100 {
781
+ color: map-get(map-get($mecx-theme, contrast), 100);
782
+ background: map-get($mecx-theme, 100);
783
+ }
784
+
785
+ &__theme-300 {
786
+ color: map-get(map-get($mecx-theme, contrast), 300);
787
+ background: map-get($mecx-theme, 300);
788
+ }
789
+
790
+ &__none {
791
+ background-color: #ebebeb;
792
+ color: map-get($mecx-theme, main);
793
+ }
794
+
795
+ &__sm {
796
+ @extend .mecx-avatar;
797
+ font-size: 18px;
798
+ font-weight: 500;
799
+ line-height: 21px;
800
+
801
+ img {
802
+ width: 16px;
803
+ height: 16px;
804
+ }
805
+ }
806
+
807
+ &__md {
808
+ @extend .mecx-avatar;
809
+ font-size: 22px;
810
+ font-weight: 500;
811
+ line-height: 21px;
812
+
813
+ img {
814
+ width: 24px;
815
+ height: 24px;
816
+ }
817
+ }
818
+
819
+ &__lg {
820
+ @extend .mecx-avatar;
821
+ font-size: 30px;
822
+ font-weight: 500;
823
+ line-height: 21px;
824
+
825
+ img {
826
+ width: 32px;
827
+ height: 32px;
828
+ }
829
+ }
830
+ }
831
+ }