monkey-style-guide 2.0.212 → 21.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (670) hide show
  1. package/README.md +13 -1285
  2. package/{public-api.d.ts → assets/scss/autocomplete/_index.scss} +1 -3
  3. package/assets/scss/autocomplete/_styles.scss +149 -0
  4. package/assets/scss/directives/_badge.scss +48 -0
  5. package/assets/scss/directives/_index.scss +8 -0
  6. package/assets/scss/directives/_popover.scss +102 -0
  7. package/assets/scss/directives/_styles.scss +99 -0
  8. package/assets/scss/input/_index.scss +6 -0
  9. package/assets/scss/input/_styles.scss +67 -0
  10. package/assets/scss/partials/_breakpoints.scss +134 -24
  11. package/assets/scss/partials/_grid-system.scss +5069 -0
  12. package/assets/scss/partials/_helper-classes.scss +373 -0
  13. package/assets/scss/partials/_index.scss +9 -8
  14. package/assets/scss/partials/_popover.scss +3 -0
  15. package/assets/scss/partials/_scrollbars.scss +29 -0
  16. package/assets/scss/partials/_skeleton-loading.scss +95 -0
  17. package/assets/scss/partials/_style-reset.scss +12 -6
  18. package/assets/scss/partials/_variables.scss +61 -163
  19. package/assets/scss/table/_index.scss +6 -0
  20. package/assets/scss/table/_styles.scss +11 -0
  21. package/assets/scss/theme.scss +14 -1
  22. package/assets/scss/typography/_index.scss +6 -0
  23. package/assets/scss/typography/_styles.scss +33 -0
  24. package/fesm2022/monkey-style-guide.mjs +9043 -0
  25. package/fesm2022/monkey-style-guide.mjs.map +1 -0
  26. package/monkey-style-guide-21.0.0.tgz +0 -0
  27. package/package.json +18 -23
  28. package/types/monkey-style-guide.d.ts +2045 -0
  29. package/assets/data/country-codes.json +0 -1466
  30. package/assets/icons/add-plus.svg +0 -5
  31. package/assets/icons/address-book.svg +0 -5
  32. package/assets/icons/arrow-down.svg +0 -3
  33. package/assets/icons/arrow-left.svg +0 -3
  34. package/assets/icons/arrow-line-right.svg +0 -5
  35. package/assets/icons/arrow-right.svg +0 -3
  36. package/assets/icons/arrow-up.svg +0 -3
  37. package/assets/icons/arrows.svg +0 -6
  38. package/assets/icons/auction.svg +0 -7
  39. package/assets/icons/average-tax.svg +0 -6
  40. package/assets/icons/bank-account.svg +0 -12
  41. package/assets/icons/bank-agency.svg +0 -8
  42. package/assets/icons/bank.svg +0 -3
  43. package/assets/icons/banknote-search.svg +0 -9
  44. package/assets/icons/bell.svg +0 -4
  45. package/assets/icons/block.svg +0 -4
  46. package/assets/icons/book-open-text.svg +0 -10
  47. package/assets/icons/book.svg +0 -4
  48. package/assets/icons/box.svg +0 -6
  49. package/assets/icons/build-approved.svg +0 -9
  50. package/assets/icons/build-person.svg +0 -10
  51. package/assets/icons/build-refused.svg +0 -9
  52. package/assets/icons/build-waiting.svg +0 -8
  53. package/assets/icons/calendar-box.svg +0 -10
  54. package/assets/icons/calendar.svg +0 -6
  55. package/assets/icons/camera.svg +0 -4
  56. package/assets/icons/card-machine.svg +0 -14
  57. package/assets/icons/card.svg +0 -5
  58. package/assets/icons/cash-banknote-coins.svg +0 -9
  59. package/assets/icons/cash-banknote-invoice.svg +0 -8
  60. package/assets/icons/certificate-medal.svg +0 -8
  61. package/assets/icons/chart-down-arrow.svg +0 -7
  62. package/assets/icons/chart-down.svg +0 -5
  63. package/assets/icons/chart-up-arrow.svg +0 -7
  64. package/assets/icons/chart-up.svg +0 -5
  65. package/assets/icons/chat.svg +0 -4
  66. package/assets/icons/check-circle-out.svg +0 -4
  67. package/assets/icons/check-circle.svg +0 -4
  68. package/assets/icons/check-grey.svg +0 -3
  69. package/assets/icons/check-white.svg +0 -4
  70. package/assets/icons/check.svg +0 -3
  71. package/assets/icons/clipboard.svg +0 -4
  72. package/assets/icons/clock-closed.svg +0 -6
  73. package/assets/icons/clock.svg +0 -4
  74. package/assets/icons/close-circle.svg +0 -5
  75. package/assets/icons/close.svg +0 -4
  76. package/assets/icons/cnpj.svg +0 -9
  77. package/assets/icons/codepen.svg +0 -7
  78. package/assets/icons/company-name.svg +0 -12
  79. package/assets/icons/contract-pen.svg +0 -7
  80. package/assets/icons/contract.svg +0 -14
  81. package/assets/icons/delete.svg +0 -5
  82. package/assets/icons/digital-certificate.svg +0 -6
  83. package/assets/icons/document.svg +0 -7
  84. package/assets/icons/dollar-sign-circle.svg +0 -7
  85. package/assets/icons/dollar-sign.svg +0 -5
  86. package/assets/icons/domain.svg +0 -9
  87. package/assets/icons/dots-menu.svg +0 -5
  88. package/assets/icons/double-arrow-left.svg +0 -4
  89. package/assets/icons/double-arrow-right.svg +0 -4
  90. package/assets/icons/download.svg +0 -5
  91. package/assets/icons/drag-drop.svg +0 -8
  92. package/assets/icons/edit-square.svg +0 -4
  93. package/assets/icons/edit.svg +0 -3
  94. package/assets/icons/email-send-fast.svg +0 -8
  95. package/assets/icons/email.svg +0 -4
  96. package/assets/icons/empty-doc.svg +0 -4
  97. package/assets/icons/error.svg +0 -5
  98. package/assets/icons/eye-closed.svg +0 -11
  99. package/assets/icons/eye-open.svg +0 -4
  100. package/assets/icons/filter-add.svg +0 -6
  101. package/assets/icons/filter.svg +0 -3
  102. package/assets/icons/grid.svg +0 -6
  103. package/assets/icons/hand-money-banknote.svg +0 -6
  104. package/assets/icons/hands-clap.svg +0 -10
  105. package/assets/icons/help.svg +0 -5
  106. package/assets/icons/hexagon.svg +0 -3
  107. package/assets/icons/high-rising-build.svg +0 -19
  108. package/assets/icons/home.svg +0 -4
  109. package/assets/icons/image-wave-square.svg +0 -5
  110. package/assets/icons/image.svg +0 -5
  111. package/assets/icons/info.svg +0 -7
  112. package/assets/icons/invoice.svg +0 -6
  113. package/assets/icons/invoices-anticipated.svg +0 -8
  114. package/assets/icons/invoices-approval.svg +0 -8
  115. package/assets/icons/invoices-refused.svg +0 -8
  116. package/assets/icons/lighting-circle.svg +0 -5
  117. package/assets/icons/list.svg +0 -8
  118. package/assets/icons/location-pin.svg +0 -4
  119. package/assets/icons/login.svg +0 -5
  120. package/assets/icons/logout.svg +0 -5
  121. package/assets/icons/mail-box-upload.svg +0 -6
  122. package/assets/icons/mail-letter-fast-circle.svg +0 -7
  123. package/assets/icons/mail-open-document.svg +0 -6
  124. package/assets/icons/medal.svg +0 -12
  125. package/assets/icons/menu.svg +0 -5
  126. package/assets/icons/money-banknote-calculator.svg +0 -13
  127. package/assets/icons/money-cedule.svg +0 -6
  128. package/assets/icons/money-discount.svg +0 -8
  129. package/assets/icons/money-hand.svg +0 -6
  130. package/assets/icons/money-net.svg +0 -8
  131. package/assets/icons/money-new.svg +0 -7
  132. package/assets/icons/money-percent.svg +0 -10
  133. package/assets/icons/money-refused.svg +0 -9
  134. package/assets/icons/money-sign.svg +0 -4
  135. package/assets/icons/money-waiting.svg +0 -8
  136. package/assets/icons/money.svg +0 -6
  137. package/assets/icons/more-circle.svg +0 -5
  138. package/assets/icons/more.svg +0 -4
  139. package/assets/icons/new-company.svg +0 -10
  140. package/assets/icons/offered.svg +0 -5
  141. package/assets/icons/office-work.svg +0 -10
  142. package/assets/icons/open-external.svg +0 -5
  143. package/assets/icons/password-edit-shield-protection.svg +0 -9
  144. package/assets/icons/password.svg +0 -4
  145. package/assets/icons/people.svg +0 -6
  146. package/assets/icons/percent-box.svg +0 -6
  147. package/assets/icons/percent.svg +0 -5
  148. package/assets/icons/person-document.svg +0 -10
  149. package/assets/icons/person-sad.svg +0 -6
  150. package/assets/icons/phone-call.svg +0 -4
  151. package/assets/icons/phone.svg +0 -3
  152. package/assets/icons/pin-navigation.svg +0 -5
  153. package/assets/icons/pork.svg +0 -5
  154. package/assets/icons/radio.svg +0 -4
  155. package/assets/icons/refresh.svg +0 -5
  156. package/assets/icons/registration.svg +0 -8
  157. package/assets/icons/repeat.svg +0 -4
  158. package/assets/icons/search.svg +0 -4
  159. package/assets/icons/second-warning.svg +0 -5
  160. package/assets/icons/settings.svg +0 -4
  161. package/assets/icons/shield-chekmark.svg +0 -4
  162. package/assets/icons/star-shining.svg +0 -13
  163. package/assets/icons/star.svg +0 -3
  164. package/assets/icons/store.svg +0 -8
  165. package/assets/icons/suppliers.svg +0 -11
  166. package/assets/icons/target-dart-arrow.svg +0 -7
  167. package/assets/icons/today.svg +0 -10
  168. package/assets/icons/trash.svg +0 -6
  169. package/assets/icons/trophy.svg +0 -8
  170. package/assets/icons/unfold-more.svg +0 -4
  171. package/assets/icons/upload.svg +0 -5
  172. package/assets/icons/user-group.svg +0 -8
  173. package/assets/icons/user.svg +0 -4
  174. package/assets/icons/waiting.svg +0 -17
  175. package/assets/icons/wallet.svg +0 -5
  176. package/assets/icons/warning.svg +0 -5
  177. package/assets/scss/partials/_forms.scss +0 -350
  178. package/assets/scss/partials/_loading.scss +0 -34
  179. package/assets/scss/partials/_radio-button.scss +0 -35
  180. package/assets/scss/partials/_typography.scss +0 -149
  181. package/assets/scss/partials/components/_badge.scss +0 -55
  182. package/assets/scss/partials/components/_buttons.scss +0 -831
  183. package/assets/scss/partials/components/_checkbox.scss +0 -69
  184. package/assets/scss/partials/components/_date-range-picker-v2.scss +0 -303
  185. package/assets/scss/partials/components/_date-range-picker.scss +0 -266
  186. package/assets/scss/partials/components/_expansion.scss +0 -96
  187. package/assets/scss/partials/components/_image-crop.scss +0 -305
  188. package/assets/scss/partials/components/_index.scss +0 -24
  189. package/assets/scss/partials/components/_input-phone.scss +0 -36
  190. package/assets/scss/partials/components/_input.scss +0 -65
  191. package/assets/scss/partials/components/_modal.scss +0 -285
  192. package/assets/scss/partials/components/_progressbar.scss +0 -112
  193. package/assets/scss/partials/components/_radiobutton.scss +0 -66
  194. package/assets/scss/partials/components/_select.scss +0 -356
  195. package/assets/scss/partials/components/_snackbar.scss +0 -204
  196. package/assets/scss/partials/components/_stepper.scss +0 -86
  197. package/assets/scss/partials/components/_tab.scss +0 -82
  198. package/assets/scss/partials/components/_table.scss +0 -148
  199. package/assets/scss/partials/components/_toggle.scss +0 -103
  200. package/assets/scss/partials/components/_wizard.scss +0 -112
  201. package/esm2020/lib/components/badge/badge.component.mjs +0 -43
  202. package/esm2020/lib/components/badge/badge.module.mjs +0 -19
  203. package/esm2020/lib/components/badge/index.mjs +0 -3
  204. package/esm2020/lib/components/button/button-avatar.component.mjs +0 -53
  205. package/esm2020/lib/components/button/button-dropdown.component.mjs +0 -121
  206. package/esm2020/lib/components/button/button.component.mjs +0 -154
  207. package/esm2020/lib/components/button/button.module.mjs +0 -23
  208. package/esm2020/lib/components/button/index.mjs +0 -5
  209. package/esm2020/lib/components/checkbox/checkbox.component.mjs +0 -165
  210. package/esm2020/lib/components/checkbox/checkbox.module.mjs +0 -20
  211. package/esm2020/lib/components/checkbox/index.mjs +0 -3
  212. package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +0 -682
  213. package/esm2020/lib/components/date-range-picker/date-range-picker.module.mjs +0 -22
  214. package/esm2020/lib/components/date-range-picker/index.mjs +0 -3
  215. package/esm2020/lib/components/date-range-picker-v2/date-range-picker.component.mjs +0 -693
  216. package/esm2020/lib/components/date-range-picker-v2/date-range-picker.module.mjs +0 -22
  217. package/esm2020/lib/components/date-range-picker-v2/index.mjs +0 -3
  218. package/esm2020/lib/components/expansion/expansion.component.mjs +0 -115
  219. package/esm2020/lib/components/expansion/expansion.module.mjs +0 -20
  220. package/esm2020/lib/components/expansion/index.mjs +0 -3
  221. package/esm2020/lib/components/file-upload/file-upload.component.mjs +0 -302
  222. package/esm2020/lib/components/file-upload/file-upload.module.mjs +0 -37
  223. package/esm2020/lib/components/file-upload/index.mjs +0 -3
  224. package/esm2020/lib/components/icon/icon-add-plus.component.mjs +0 -15
  225. package/esm2020/lib/components/icon/icon-address-book.component.mjs +0 -15
  226. package/esm2020/lib/components/icon/icon-arrow-down.component.mjs +0 -15
  227. package/esm2020/lib/components/icon/icon-arrow-left.component.mjs +0 -15
  228. package/esm2020/lib/components/icon/icon-arrow-line-right.component.mjs +0 -15
  229. package/esm2020/lib/components/icon/icon-arrow-right.component.mjs +0 -15
  230. package/esm2020/lib/components/icon/icon-arrow-up.component.mjs +0 -15
  231. package/esm2020/lib/components/icon/icon-arrows.component.mjs +0 -15
  232. package/esm2020/lib/components/icon/icon-auction.component.mjs +0 -15
  233. package/esm2020/lib/components/icon/icon-average-tax.component.mjs +0 -15
  234. package/esm2020/lib/components/icon/icon-bank-account.component.mjs +0 -15
  235. package/esm2020/lib/components/icon/icon-bank-agency.component.mjs +0 -15
  236. package/esm2020/lib/components/icon/icon-bank.component.mjs +0 -15
  237. package/esm2020/lib/components/icon/icon-banknote-search.component.mjs +0 -15
  238. package/esm2020/lib/components/icon/icon-bell.component.mjs +0 -15
  239. package/esm2020/lib/components/icon/icon-block.component.mjs +0 -15
  240. package/esm2020/lib/components/icon/icon-book-open-text.component.mjs +0 -15
  241. package/esm2020/lib/components/icon/icon-book.component.mjs +0 -15
  242. package/esm2020/lib/components/icon/icon-box.component.mjs +0 -15
  243. package/esm2020/lib/components/icon/icon-build-approved.component.mjs +0 -15
  244. package/esm2020/lib/components/icon/icon-build-person.component.mjs +0 -15
  245. package/esm2020/lib/components/icon/icon-build-refused.component.mjs +0 -15
  246. package/esm2020/lib/components/icon/icon-build-waiting.component.mjs +0 -15
  247. package/esm2020/lib/components/icon/icon-calendar-box.component.mjs +0 -15
  248. package/esm2020/lib/components/icon/icon-calendar.component.mjs +0 -15
  249. package/esm2020/lib/components/icon/icon-camera.component.mjs +0 -15
  250. package/esm2020/lib/components/icon/icon-card-machine.component.mjs +0 -15
  251. package/esm2020/lib/components/icon/icon-card.component.mjs +0 -15
  252. package/esm2020/lib/components/icon/icon-cash-banknote-coins.component.mjs +0 -15
  253. package/esm2020/lib/components/icon/icon-cash-banknote-invoice.component.mjs +0 -15
  254. package/esm2020/lib/components/icon/icon-certificate-medal.component.mjs +0 -15
  255. package/esm2020/lib/components/icon/icon-chart-down-arrow.component.mjs +0 -15
  256. package/esm2020/lib/components/icon/icon-chart-down.component.mjs +0 -15
  257. package/esm2020/lib/components/icon/icon-chart-up-arrow.component.mjs +0 -15
  258. package/esm2020/lib/components/icon/icon-chart-up.component.mjs +0 -15
  259. package/esm2020/lib/components/icon/icon-chat.component.mjs +0 -15
  260. package/esm2020/lib/components/icon/icon-check-circle-out.component.mjs +0 -15
  261. package/esm2020/lib/components/icon/icon-check-circle.component.mjs +0 -15
  262. package/esm2020/lib/components/icon/icon-check-grey.component.mjs +0 -15
  263. package/esm2020/lib/components/icon/icon-check-white.component.mjs +0 -15
  264. package/esm2020/lib/components/icon/icon-check.component.mjs +0 -15
  265. package/esm2020/lib/components/icon/icon-clipboard.component.mjs +0 -15
  266. package/esm2020/lib/components/icon/icon-clock-closed.component.mjs +0 -15
  267. package/esm2020/lib/components/icon/icon-clock.component.mjs +0 -15
  268. package/esm2020/lib/components/icon/icon-close-circle.component.mjs +0 -15
  269. package/esm2020/lib/components/icon/icon-close.component.mjs +0 -15
  270. package/esm2020/lib/components/icon/icon-cnpj.component.mjs +0 -15
  271. package/esm2020/lib/components/icon/icon-codepen.component.mjs +0 -15
  272. package/esm2020/lib/components/icon/icon-company-name.component.mjs +0 -15
  273. package/esm2020/lib/components/icon/icon-contract-pen.component.mjs +0 -15
  274. package/esm2020/lib/components/icon/icon-contract.component.mjs +0 -15
  275. package/esm2020/lib/components/icon/icon-delete.component.mjs +0 -15
  276. package/esm2020/lib/components/icon/icon-digital-certificate.component.mjs +0 -15
  277. package/esm2020/lib/components/icon/icon-document.component.mjs +0 -15
  278. package/esm2020/lib/components/icon/icon-dollar-sign-circle.component.mjs +0 -15
  279. package/esm2020/lib/components/icon/icon-dollar-sign.component.mjs +0 -15
  280. package/esm2020/lib/components/icon/icon-domain.component.mjs +0 -15
  281. package/esm2020/lib/components/icon/icon-dots-menu.component.mjs +0 -15
  282. package/esm2020/lib/components/icon/icon-double-arrow-left.component.mjs +0 -15
  283. package/esm2020/lib/components/icon/icon-double-arrow-right.component.mjs +0 -15
  284. package/esm2020/lib/components/icon/icon-download.component.mjs +0 -15
  285. package/esm2020/lib/components/icon/icon-drag-drop.component.mjs +0 -15
  286. package/esm2020/lib/components/icon/icon-edit-square.component.mjs +0 -15
  287. package/esm2020/lib/components/icon/icon-edit.component.mjs +0 -15
  288. package/esm2020/lib/components/icon/icon-email-send-fast.component.mjs +0 -15
  289. package/esm2020/lib/components/icon/icon-email.component.mjs +0 -15
  290. package/esm2020/lib/components/icon/icon-empty-doc.component.mjs +0 -15
  291. package/esm2020/lib/components/icon/icon-error.component.mjs +0 -15
  292. package/esm2020/lib/components/icon/icon-eye-closed.component.mjs +0 -15
  293. package/esm2020/lib/components/icon/icon-eye-open.component.mjs +0 -15
  294. package/esm2020/lib/components/icon/icon-filter-add.component.mjs +0 -15
  295. package/esm2020/lib/components/icon/icon-filter.component.mjs +0 -15
  296. package/esm2020/lib/components/icon/icon-grid.component.mjs +0 -15
  297. package/esm2020/lib/components/icon/icon-hand-money-banknote.mjs +0 -15
  298. package/esm2020/lib/components/icon/icon-hands-clap.component.mjs +0 -15
  299. package/esm2020/lib/components/icon/icon-help.component.mjs +0 -15
  300. package/esm2020/lib/components/icon/icon-hexagon.component.mjs +0 -15
  301. package/esm2020/lib/components/icon/icon-high-rising-build.component.mjs +0 -15
  302. package/esm2020/lib/components/icon/icon-home.component.mjs +0 -15
  303. package/esm2020/lib/components/icon/icon-image-wave-square.component.mjs +0 -15
  304. package/esm2020/lib/components/icon/icon-image.component.mjs +0 -15
  305. package/esm2020/lib/components/icon/icon-info.component.mjs +0 -15
  306. package/esm2020/lib/components/icon/icon-invoice.component.mjs +0 -15
  307. package/esm2020/lib/components/icon/icon-invoices-anticipated.component.mjs +0 -15
  308. package/esm2020/lib/components/icon/icon-invoices-approval.component.mjs +0 -15
  309. package/esm2020/lib/components/icon/icon-invoices-refused.component.mjs +0 -15
  310. package/esm2020/lib/components/icon/icon-lighting-circle.component.mjs +0 -15
  311. package/esm2020/lib/components/icon/icon-list.component.mjs +0 -15
  312. package/esm2020/lib/components/icon/icon-location-pin.component.mjs +0 -15
  313. package/esm2020/lib/components/icon/icon-login.component.mjs +0 -15
  314. package/esm2020/lib/components/icon/icon-logout.component.mjs +0 -15
  315. package/esm2020/lib/components/icon/icon-mail-box-upload.component.mjs +0 -15
  316. package/esm2020/lib/components/icon/icon-mail-letter-fast-circle.component.mjs +0 -15
  317. package/esm2020/lib/components/icon/icon-mail-open-document.component.mjs +0 -15
  318. package/esm2020/lib/components/icon/icon-medal.component.mjs +0 -15
  319. package/esm2020/lib/components/icon/icon-menu.component.mjs +0 -15
  320. package/esm2020/lib/components/icon/icon-money-banknote-calculator.component.mjs +0 -15
  321. package/esm2020/lib/components/icon/icon-money-cedule.component.mjs +0 -15
  322. package/esm2020/lib/components/icon/icon-money-discount.component.mjs +0 -15
  323. package/esm2020/lib/components/icon/icon-money-hand.component.mjs +0 -15
  324. package/esm2020/lib/components/icon/icon-money-net.component.mjs +0 -15
  325. package/esm2020/lib/components/icon/icon-money-new.component.mjs +0 -15
  326. package/esm2020/lib/components/icon/icon-money-percent.component.mjs +0 -15
  327. package/esm2020/lib/components/icon/icon-money-refused.component.mjs +0 -15
  328. package/esm2020/lib/components/icon/icon-money-sign.component.mjs +0 -15
  329. package/esm2020/lib/components/icon/icon-money-waiting.component.mjs +0 -15
  330. package/esm2020/lib/components/icon/icon-money.component.mjs +0 -15
  331. package/esm2020/lib/components/icon/icon-more-circle.component.mjs +0 -15
  332. package/esm2020/lib/components/icon/icon-more.component.mjs +0 -15
  333. package/esm2020/lib/components/icon/icon-new-company.component.mjs +0 -15
  334. package/esm2020/lib/components/icon/icon-offered.component.mjs +0 -15
  335. package/esm2020/lib/components/icon/icon-open-external.component.mjs +0 -15
  336. package/esm2020/lib/components/icon/icon-password-edit-shield-protection.component.mjs +0 -15
  337. package/esm2020/lib/components/icon/icon-password.component.mjs +0 -15
  338. package/esm2020/lib/components/icon/icon-people.component.mjs +0 -15
  339. package/esm2020/lib/components/icon/icon-percent-box.component.mjs +0 -15
  340. package/esm2020/lib/components/icon/icon-percent.component.mjs +0 -15
  341. package/esm2020/lib/components/icon/icon-person-document.component.mjs +0 -15
  342. package/esm2020/lib/components/icon/icon-person-sad.component.mjs +0 -15
  343. package/esm2020/lib/components/icon/icon-phone-call.component.mjs +0 -15
  344. package/esm2020/lib/components/icon/icon-phone.component.mjs +0 -15
  345. package/esm2020/lib/components/icon/icon-pin-navigation.component.mjs +0 -15
  346. package/esm2020/lib/components/icon/icon-pork.component.mjs +0 -15
  347. package/esm2020/lib/components/icon/icon-radio.component.mjs +0 -15
  348. package/esm2020/lib/components/icon/icon-refresh.component.mjs +0 -15
  349. package/esm2020/lib/components/icon/icon-registration.component.mjs +0 -15
  350. package/esm2020/lib/components/icon/icon-repeat.component.mjs +0 -15
  351. package/esm2020/lib/components/icon/icon-search.component.mjs +0 -15
  352. package/esm2020/lib/components/icon/icon-second-warning.component.mjs +0 -15
  353. package/esm2020/lib/components/icon/icon-settings.component.mjs +0 -15
  354. package/esm2020/lib/components/icon/icon-shield-chekmark.component.mjs +0 -15
  355. package/esm2020/lib/components/icon/icon-star-shining.component.mjs +0 -15
  356. package/esm2020/lib/components/icon/icon-star.component.mjs +0 -15
  357. package/esm2020/lib/components/icon/icon-store.component.mjs +0 -15
  358. package/esm2020/lib/components/icon/icon-suppliers.component.mjs +0 -15
  359. package/esm2020/lib/components/icon/icon-target-dart-arrow.component.mjs +0 -15
  360. package/esm2020/lib/components/icon/icon-today.component.mjs +0 -15
  361. package/esm2020/lib/components/icon/icon-trash.component.mjs +0 -15
  362. package/esm2020/lib/components/icon/icon-trophy.component.mjs +0 -15
  363. package/esm2020/lib/components/icon/icon-unfold-more.component.mjs +0 -15
  364. package/esm2020/lib/components/icon/icon-upload.component.mjs +0 -15
  365. package/esm2020/lib/components/icon/icon-user-group.component.mjs +0 -15
  366. package/esm2020/lib/components/icon/icon-user.component.mjs +0 -15
  367. package/esm2020/lib/components/icon/icon-waiting.component.mjs +0 -15
  368. package/esm2020/lib/components/icon/icon-wallet.component.mjs +0 -15
  369. package/esm2020/lib/components/icon/icon-warning.component.mjs +0 -15
  370. package/esm2020/lib/components/icon/icon.component.mjs +0 -1991
  371. package/esm2020/lib/components/icon/icon.module.mjs +0 -322
  372. package/esm2020/lib/components/icon/index.mjs +0 -141
  373. package/esm2020/lib/components/image-crop/image-crop.component.mjs +0 -516
  374. package/esm2020/lib/components/image-crop/image-crop.module.mjs +0 -41
  375. package/esm2020/lib/components/image-crop/index.mjs +0 -3
  376. package/esm2020/lib/components/index.mjs +0 -21
  377. package/esm2020/lib/components/input/index.mjs +0 -4
  378. package/esm2020/lib/components/input/input-filter.component.mjs +0 -286
  379. package/esm2020/lib/components/input/input.component.mjs +0 -419
  380. package/esm2020/lib/components/input/input.module.mjs +0 -38
  381. package/esm2020/lib/components/input-phone/index.mjs +0 -3
  382. package/esm2020/lib/components/input-phone/input-phone.component.mjs +0 -309
  383. package/esm2020/lib/components/input-phone/input-phone.module.mjs +0 -45
  384. package/esm2020/lib/components/modal/index.mjs +0 -3
  385. package/esm2020/lib/components/modal/modal.component.mjs +0 -239
  386. package/esm2020/lib/components/modal/modal.module.mjs +0 -21
  387. package/esm2020/lib/components/option/index.mjs +0 -3
  388. package/esm2020/lib/components/option/option.component.mjs +0 -134
  389. package/esm2020/lib/components/option/option.module.mjs +0 -29
  390. package/esm2020/lib/components/radiobutton/index.mjs +0 -3
  391. package/esm2020/lib/components/radiobutton/radiobutton.component.mjs +0 -165
  392. package/esm2020/lib/components/radiobutton/radiobutton.module.mjs +0 -36
  393. package/esm2020/lib/components/select/index.mjs +0 -6
  394. package/esm2020/lib/components/select/select-filter.component.mjs +0 -197
  395. package/esm2020/lib/components/select/select-multiple.component.mjs +0 -304
  396. package/esm2020/lib/components/select/select-search.component.mjs +0 -306
  397. package/esm2020/lib/components/select/select.component.mjs +0 -245
  398. package/esm2020/lib/components/select/select.module.mjs +0 -61
  399. package/esm2020/lib/components/stepper/index.mjs +0 -3
  400. package/esm2020/lib/components/stepper/stepper.component.mjs +0 -57
  401. package/esm2020/lib/components/stepper/stepper.module.mjs +0 -20
  402. package/esm2020/lib/components/tab/index.mjs +0 -3
  403. package/esm2020/lib/components/tab/tab.component.mjs +0 -100
  404. package/esm2020/lib/components/tab/tab.module.mjs +0 -21
  405. package/esm2020/lib/components/table/index.mjs +0 -4
  406. package/esm2020/lib/components/table/table-column.component.mjs +0 -34
  407. package/esm2020/lib/components/table/table.component.mjs +0 -270
  408. package/esm2020/lib/components/table/table.module.mjs +0 -23
  409. package/esm2020/lib/components/toggle/index.mjs +0 -3
  410. package/esm2020/lib/components/toggle/toggle.component.mjs +0 -56
  411. package/esm2020/lib/components/toggle/toggle.module.mjs +0 -19
  412. package/esm2020/lib/components/wizard/index.mjs +0 -3
  413. package/esm2020/lib/components/wizard/wizard.component.mjs +0 -61
  414. package/esm2020/lib/components/wizard/wizard.module.mjs +0 -33
  415. package/esm2020/lib/core/index.mjs +0 -4
  416. package/esm2020/lib/core/interfaces/index.mjs +0 -3
  417. package/esm2020/lib/core/interfaces/monkey-modal-settings.mjs +0 -2
  418. package/esm2020/lib/core/interfaces/monkey-style-settings.mjs +0 -2
  419. package/esm2020/lib/core/services/index.mjs +0 -5
  420. package/esm2020/lib/core/services/modal/index.mjs +0 -3
  421. package/esm2020/lib/core/services/modal/monkey-style-guide-modal-fixed.service.mjs +0 -52
  422. package/esm2020/lib/core/services/modal/monkey-style-guide-modal.service.mjs +0 -55
  423. package/esm2020/lib/core/services/monkey-style-guide.service.mjs +0 -17
  424. package/esm2020/lib/core/services/settings/index.mjs +0 -2
  425. package/esm2020/lib/core/services/settings/monkey-style-guide-settings.service.mjs +0 -41
  426. package/esm2020/lib/core/services/settings/monkey-style-guide-theme-settings.service.mjs +0 -80
  427. package/esm2020/lib/core/services/snackbar/index.mjs +0 -2
  428. package/esm2020/lib/core/services/snackbar/mokey-style-guide-snackbar.service.mjs +0 -226
  429. package/esm2020/lib/core/utils/index.mjs +0 -2
  430. package/esm2020/lib/core/utils/utils.mjs +0 -240
  431. package/esm2020/lib/monkey-style-guide.module.mjs +0 -31
  432. package/esm2020/monkey-style-guide.mjs +0 -5
  433. package/esm2020/public-api.mjs +0 -9
  434. package/fesm2015/monkey-style-guide.mjs +0 -11088
  435. package/fesm2015/monkey-style-guide.mjs.map +0 -1
  436. package/fesm2020/monkey-style-guide.mjs +0 -11072
  437. package/fesm2020/monkey-style-guide.mjs.map +0 -1
  438. package/lib/components/badge/badge.component.d.ts +0 -8
  439. package/lib/components/badge/badge.module.d.ts +0 -8
  440. package/lib/components/badge/index.d.ts +0 -2
  441. package/lib/components/button/button-avatar.component.d.ts +0 -19
  442. package/lib/components/button/button-dropdown.component.d.ts +0 -23
  443. package/lib/components/button/button.component.d.ts +0 -22
  444. package/lib/components/button/button.module.d.ts +0 -12
  445. package/lib/components/button/index.d.ts +0 -4
  446. package/lib/components/checkbox/checkbox.component.d.ts +0 -32
  447. package/lib/components/checkbox/checkbox.module.d.ts +0 -9
  448. package/lib/components/checkbox/index.d.ts +0 -2
  449. package/lib/components/date-range-picker/date-range-picker.component.d.ts +0 -71
  450. package/lib/components/date-range-picker/date-range-picker.module.d.ts +0 -11
  451. package/lib/components/date-range-picker/index.d.ts +0 -2
  452. package/lib/components/date-range-picker-v2/date-range-picker.component.d.ts +0 -75
  453. package/lib/components/date-range-picker-v2/date-range-picker.module.d.ts +0 -11
  454. package/lib/components/date-range-picker-v2/index.d.ts +0 -2
  455. package/lib/components/expansion/expansion.component.d.ts +0 -20
  456. package/lib/components/expansion/expansion.module.d.ts +0 -9
  457. package/lib/components/expansion/index.d.ts +0 -2
  458. package/lib/components/file-upload/file-upload.component.d.ts +0 -53
  459. package/lib/components/file-upload/file-upload.module.d.ts +0 -11
  460. package/lib/components/file-upload/index.d.ts +0 -2
  461. package/lib/components/icon/icon-add-plus.component.d.ts +0 -7
  462. package/lib/components/icon/icon-address-book.component.d.ts +0 -7
  463. package/lib/components/icon/icon-arrow-down.component.d.ts +0 -7
  464. package/lib/components/icon/icon-arrow-left.component.d.ts +0 -7
  465. package/lib/components/icon/icon-arrow-line-right.component.d.ts +0 -7
  466. package/lib/components/icon/icon-arrow-right.component.d.ts +0 -7
  467. package/lib/components/icon/icon-arrow-up.component.d.ts +0 -7
  468. package/lib/components/icon/icon-arrows.component.d.ts +0 -7
  469. package/lib/components/icon/icon-auction.component.d.ts +0 -7
  470. package/lib/components/icon/icon-average-tax.component.d.ts +0 -7
  471. package/lib/components/icon/icon-bank-account.component.d.ts +0 -7
  472. package/lib/components/icon/icon-bank-agency.component.d.ts +0 -7
  473. package/lib/components/icon/icon-bank.component.d.ts +0 -7
  474. package/lib/components/icon/icon-banknote-search.component.d.ts +0 -7
  475. package/lib/components/icon/icon-bell.component.d.ts +0 -7
  476. package/lib/components/icon/icon-block.component.d.ts +0 -7
  477. package/lib/components/icon/icon-book-open-text.component.d.ts +0 -7
  478. package/lib/components/icon/icon-book.component.d.ts +0 -7
  479. package/lib/components/icon/icon-box.component.d.ts +0 -7
  480. package/lib/components/icon/icon-build-approved.component.d.ts +0 -7
  481. package/lib/components/icon/icon-build-person.component.d.ts +0 -7
  482. package/lib/components/icon/icon-build-refused.component.d.ts +0 -7
  483. package/lib/components/icon/icon-build-waiting.component.d.ts +0 -7
  484. package/lib/components/icon/icon-calendar-box.component.d.ts +0 -7
  485. package/lib/components/icon/icon-calendar.component.d.ts +0 -7
  486. package/lib/components/icon/icon-camera.component.d.ts +0 -7
  487. package/lib/components/icon/icon-card-machine.component.d.ts +0 -7
  488. package/lib/components/icon/icon-card.component.d.ts +0 -7
  489. package/lib/components/icon/icon-cash-banknote-coins.component.d.ts +0 -7
  490. package/lib/components/icon/icon-cash-banknote-invoice.component.d.ts +0 -7
  491. package/lib/components/icon/icon-certificate-medal.component.d.ts +0 -7
  492. package/lib/components/icon/icon-chart-down-arrow.component.d.ts +0 -7
  493. package/lib/components/icon/icon-chart-down.component.d.ts +0 -7
  494. package/lib/components/icon/icon-chart-up-arrow.component.d.ts +0 -7
  495. package/lib/components/icon/icon-chart-up.component.d.ts +0 -7
  496. package/lib/components/icon/icon-chat.component.d.ts +0 -7
  497. package/lib/components/icon/icon-check-circle-out.component.d.ts +0 -7
  498. package/lib/components/icon/icon-check-circle.component.d.ts +0 -7
  499. package/lib/components/icon/icon-check-grey.component.d.ts +0 -7
  500. package/lib/components/icon/icon-check-white.component.d.ts +0 -7
  501. package/lib/components/icon/icon-check.component.d.ts +0 -7
  502. package/lib/components/icon/icon-clipboard.component.d.ts +0 -7
  503. package/lib/components/icon/icon-clock-closed.component.d.ts +0 -7
  504. package/lib/components/icon/icon-clock.component.d.ts +0 -7
  505. package/lib/components/icon/icon-close-circle.component.d.ts +0 -7
  506. package/lib/components/icon/icon-close.component.d.ts +0 -7
  507. package/lib/components/icon/icon-cnpj.component.d.ts +0 -7
  508. package/lib/components/icon/icon-codepen.component.d.ts +0 -7
  509. package/lib/components/icon/icon-company-name.component.d.ts +0 -7
  510. package/lib/components/icon/icon-contract-pen.component.d.ts +0 -7
  511. package/lib/components/icon/icon-contract.component.d.ts +0 -7
  512. package/lib/components/icon/icon-delete.component.d.ts +0 -7
  513. package/lib/components/icon/icon-digital-certificate.component.d.ts +0 -7
  514. package/lib/components/icon/icon-document.component.d.ts +0 -7
  515. package/lib/components/icon/icon-dollar-sign-circle.component.d.ts +0 -7
  516. package/lib/components/icon/icon-dollar-sign.component.d.ts +0 -7
  517. package/lib/components/icon/icon-domain.component.d.ts +0 -7
  518. package/lib/components/icon/icon-dots-menu.component.d.ts +0 -7
  519. package/lib/components/icon/icon-double-arrow-left.component.d.ts +0 -7
  520. package/lib/components/icon/icon-double-arrow-right.component.d.ts +0 -7
  521. package/lib/components/icon/icon-download.component.d.ts +0 -7
  522. package/lib/components/icon/icon-drag-drop.component.d.ts +0 -7
  523. package/lib/components/icon/icon-edit-square.component.d.ts +0 -7
  524. package/lib/components/icon/icon-edit.component.d.ts +0 -7
  525. package/lib/components/icon/icon-email-send-fast.component.d.ts +0 -7
  526. package/lib/components/icon/icon-email.component.d.ts +0 -7
  527. package/lib/components/icon/icon-empty-doc.component.d.ts +0 -7
  528. package/lib/components/icon/icon-error.component.d.ts +0 -7
  529. package/lib/components/icon/icon-eye-closed.component.d.ts +0 -7
  530. package/lib/components/icon/icon-eye-open.component.d.ts +0 -7
  531. package/lib/components/icon/icon-filter-add.component.d.ts +0 -7
  532. package/lib/components/icon/icon-filter.component.d.ts +0 -7
  533. package/lib/components/icon/icon-grid.component.d.ts +0 -7
  534. package/lib/components/icon/icon-hand-money-banknote.d.ts +0 -7
  535. package/lib/components/icon/icon-hands-clap.component.d.ts +0 -7
  536. package/lib/components/icon/icon-help.component.d.ts +0 -7
  537. package/lib/components/icon/icon-hexagon.component.d.ts +0 -7
  538. package/lib/components/icon/icon-high-rising-build.component.d.ts +0 -7
  539. package/lib/components/icon/icon-home.component.d.ts +0 -7
  540. package/lib/components/icon/icon-image-wave-square.component.d.ts +0 -7
  541. package/lib/components/icon/icon-image.component.d.ts +0 -7
  542. package/lib/components/icon/icon-info.component.d.ts +0 -7
  543. package/lib/components/icon/icon-invoice.component.d.ts +0 -7
  544. package/lib/components/icon/icon-invoices-anticipated.component.d.ts +0 -7
  545. package/lib/components/icon/icon-invoices-approval.component.d.ts +0 -7
  546. package/lib/components/icon/icon-invoices-refused.component.d.ts +0 -7
  547. package/lib/components/icon/icon-lighting-circle.component.d.ts +0 -7
  548. package/lib/components/icon/icon-list.component.d.ts +0 -7
  549. package/lib/components/icon/icon-location-pin.component.d.ts +0 -7
  550. package/lib/components/icon/icon-login.component.d.ts +0 -7
  551. package/lib/components/icon/icon-logout.component.d.ts +0 -7
  552. package/lib/components/icon/icon-mail-box-upload.component.d.ts +0 -7
  553. package/lib/components/icon/icon-mail-letter-fast-circle.component.d.ts +0 -7
  554. package/lib/components/icon/icon-mail-open-document.component.d.ts +0 -7
  555. package/lib/components/icon/icon-medal.component.d.ts +0 -7
  556. package/lib/components/icon/icon-menu.component.d.ts +0 -7
  557. package/lib/components/icon/icon-money-banknote-calculator.component.d.ts +0 -7
  558. package/lib/components/icon/icon-money-cedule.component.d.ts +0 -7
  559. package/lib/components/icon/icon-money-discount.component.d.ts +0 -7
  560. package/lib/components/icon/icon-money-hand.component.d.ts +0 -7
  561. package/lib/components/icon/icon-money-net.component.d.ts +0 -7
  562. package/lib/components/icon/icon-money-new.component.d.ts +0 -7
  563. package/lib/components/icon/icon-money-percent.component.d.ts +0 -7
  564. package/lib/components/icon/icon-money-refused.component.d.ts +0 -7
  565. package/lib/components/icon/icon-money-sign.component.d.ts +0 -7
  566. package/lib/components/icon/icon-money-waiting.component.d.ts +0 -7
  567. package/lib/components/icon/icon-money.component.d.ts +0 -7
  568. package/lib/components/icon/icon-more-circle.component.d.ts +0 -7
  569. package/lib/components/icon/icon-more.component.d.ts +0 -7
  570. package/lib/components/icon/icon-new-company.component.d.ts +0 -7
  571. package/lib/components/icon/icon-offered.component.d.ts +0 -7
  572. package/lib/components/icon/icon-open-external.component.d.ts +0 -7
  573. package/lib/components/icon/icon-password-edit-shield-protection.component.d.ts +0 -7
  574. package/lib/components/icon/icon-password.component.d.ts +0 -7
  575. package/lib/components/icon/icon-people.component.d.ts +0 -7
  576. package/lib/components/icon/icon-percent-box.component.d.ts +0 -7
  577. package/lib/components/icon/icon-percent.component.d.ts +0 -7
  578. package/lib/components/icon/icon-person-document.component.d.ts +0 -7
  579. package/lib/components/icon/icon-person-sad.component.d.ts +0 -7
  580. package/lib/components/icon/icon-phone-call.component.d.ts +0 -7
  581. package/lib/components/icon/icon-phone.component.d.ts +0 -7
  582. package/lib/components/icon/icon-pin-navigation.component.d.ts +0 -7
  583. package/lib/components/icon/icon-pork.component.d.ts +0 -7
  584. package/lib/components/icon/icon-radio.component.d.ts +0 -7
  585. package/lib/components/icon/icon-refresh.component.d.ts +0 -7
  586. package/lib/components/icon/icon-registration.component.d.ts +0 -7
  587. package/lib/components/icon/icon-repeat.component.d.ts +0 -7
  588. package/lib/components/icon/icon-search.component.d.ts +0 -7
  589. package/lib/components/icon/icon-second-warning.component.d.ts +0 -7
  590. package/lib/components/icon/icon-settings.component.d.ts +0 -7
  591. package/lib/components/icon/icon-shield-chekmark.component.d.ts +0 -7
  592. package/lib/components/icon/icon-star-shining.component.d.ts +0 -7
  593. package/lib/components/icon/icon-star.component.d.ts +0 -7
  594. package/lib/components/icon/icon-store.component.d.ts +0 -7
  595. package/lib/components/icon/icon-suppliers.component.d.ts +0 -7
  596. package/lib/components/icon/icon-target-dart-arrow.component.d.ts +0 -7
  597. package/lib/components/icon/icon-today.component.d.ts +0 -7
  598. package/lib/components/icon/icon-trash.component.d.ts +0 -7
  599. package/lib/components/icon/icon-trophy.component.d.ts +0 -7
  600. package/lib/components/icon/icon-unfold-more.component.d.ts +0 -7
  601. package/lib/components/icon/icon-upload.component.d.ts +0 -7
  602. package/lib/components/icon/icon-user-group.component.d.ts +0 -7
  603. package/lib/components/icon/icon-user.component.d.ts +0 -7
  604. package/lib/components/icon/icon-waiting.component.d.ts +0 -7
  605. package/lib/components/icon/icon-wallet.component.d.ts +0 -7
  606. package/lib/components/icon/icon-warning.component.d.ts +0 -7
  607. package/lib/components/icon/icon.component.d.ts +0 -27
  608. package/lib/components/icon/icon.module.d.ts +0 -154
  609. package/lib/components/icon/index.d.ts +0 -140
  610. package/lib/components/image-crop/image-crop.component.d.ts +0 -77
  611. package/lib/components/image-crop/image-crop.module.d.ts +0 -12
  612. package/lib/components/image-crop/index.d.ts +0 -2
  613. package/lib/components/index.d.ts +0 -20
  614. package/lib/components/input/index.d.ts +0 -3
  615. package/lib/components/input/input-filter.component.d.ts +0 -55
  616. package/lib/components/input/input.component.d.ts +0 -67
  617. package/lib/components/input/input.module.d.ts +0 -12
  618. package/lib/components/input-phone/index.d.ts +0 -2
  619. package/lib/components/input-phone/input-phone.component.d.ts +0 -62
  620. package/lib/components/input-phone/input-phone.module.d.ts +0 -13
  621. package/lib/components/modal/index.d.ts +0 -2
  622. package/lib/components/modal/modal.component.d.ts +0 -24
  623. package/lib/components/modal/modal.module.d.ts +0 -10
  624. package/lib/components/option/index.d.ts +0 -2
  625. package/lib/components/option/option.component.d.ts +0 -22
  626. package/lib/components/option/option.module.d.ts +0 -8
  627. package/lib/components/radiobutton/index.d.ts +0 -2
  628. package/lib/components/radiobutton/radiobutton.component.d.ts +0 -39
  629. package/lib/components/radiobutton/radiobutton.module.d.ts +0 -9
  630. package/lib/components/select/index.d.ts +0 -5
  631. package/lib/components/select/select-filter.component.d.ts +0 -41
  632. package/lib/components/select/select-multiple.component.d.ts +0 -48
  633. package/lib/components/select/select-search.component.d.ts +0 -56
  634. package/lib/components/select/select.component.d.ts +0 -48
  635. package/lib/components/select/select.module.d.ts +0 -15
  636. package/lib/components/stepper/index.d.ts +0 -2
  637. package/lib/components/stepper/stepper.component.d.ts +0 -18
  638. package/lib/components/stepper/stepper.module.d.ts +0 -9
  639. package/lib/components/tab/index.d.ts +0 -2
  640. package/lib/components/tab/tab.component.d.ts +0 -24
  641. package/lib/components/tab/tab.module.d.ts +0 -10
  642. package/lib/components/table/index.d.ts +0 -3
  643. package/lib/components/table/table-column.component.d.ts +0 -5
  644. package/lib/components/table/table.component.d.ts +0 -59
  645. package/lib/components/table/table.module.d.ts +0 -12
  646. package/lib/components/toggle/index.d.ts +0 -2
  647. package/lib/components/toggle/toggle.component.d.ts +0 -18
  648. package/lib/components/toggle/toggle.module.d.ts +0 -8
  649. package/lib/components/wizard/index.d.ts +0 -2
  650. package/lib/components/wizard/wizard.component.d.ts +0 -18
  651. package/lib/components/wizard/wizard.module.d.ts +0 -9
  652. package/lib/core/index.d.ts +0 -3
  653. package/lib/core/interfaces/index.d.ts +0 -2
  654. package/lib/core/interfaces/monkey-modal-settings.d.ts +0 -61
  655. package/lib/core/interfaces/monkey-style-settings.d.ts +0 -59
  656. package/lib/core/services/index.d.ts +0 -4
  657. package/lib/core/services/modal/index.d.ts +0 -2
  658. package/lib/core/services/modal/monkey-style-guide-modal-fixed.service.d.ts +0 -16
  659. package/lib/core/services/modal/monkey-style-guide-modal.service.d.ts +0 -18
  660. package/lib/core/services/monkey-style-guide.service.d.ts +0 -10
  661. package/lib/core/services/settings/index.d.ts +0 -1
  662. package/lib/core/services/settings/monkey-style-guide-settings.service.d.ts +0 -15
  663. package/lib/core/services/settings/monkey-style-guide-theme-settings.service.d.ts +0 -12
  664. package/lib/core/services/snackbar/index.d.ts +0 -1
  665. package/lib/core/services/snackbar/mokey-style-guide-snackbar.service.d.ts +0 -58
  666. package/lib/core/utils/index.d.ts +0 -1
  667. package/lib/core/utils/utils.d.ts +0 -29
  668. package/lib/monkey-style-guide.module.d.ts +0 -8
  669. package/monkey-style-guide-2.0.212.tgz +0 -0
  670. package/monkey-style-guide.d.ts +0 -5
package/README.md CHANGED
@@ -1,1296 +1,24 @@
1
- [![Contributors][contributors-shield]][contributors-url]
2
- [![MIT License][license-shield]][license-url]
3
- [![LinkedIn][linkedin-shield]][linkedin-url]
1
+ # MonkeyStyleGuideV2
4
2
 
5
- <br />
6
- <p align="center">
7
- <a href="https:monkey.exchange">
8
- <img src="https://dev-monkey-emails.s3-us-west-2.amazonaws.com/monkey-style-guide/demos/images/logo.png" alt="Monkey Logo" width="80" height="80">
9
- </a>
10
- <h3 align="center">Monkey Style Guide</h3>
11
- <p align="center">
12
- An style guide template to boost your projects.
13
- <br />
14
- <br />
15
- <a href="https://www.monkey.exchange/who-we-are.html">Who We Are?</a>
16
- </p>
17
- </p>
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
18
4
 
19
- ## About The Project
5
+ ## Code scaffolding
20
6
 
21
- This project was defined to be the main guide to styles, colors and html components of the entire ecosystem of Monkey Exchange systems.
7
+ Run `ng generate component component-name --project monkey-style-guide` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project monkey-style-guide`.
8
+ > Note: Don't forget to add `--project monkey-style-guide` or else it will be added to the default project in your `angular.json` file.
22
9
 
23
- This style guide contains a concept to work with a range of different colors, making possible to create beautiful and useful html components.
10
+ ## Build
24
11
 
25
- ## Components
12
+ Run `ng build monkey-style-guide` to build the project. The build artifacts will be stored in the `dist/` directory.
26
13
 
27
- All components was developed to work with angular reactive forms, so we need to define a formGroup and set the formControlName, and the components will do the rest of the job to fill all fields properly.
28
- First developed on Angular 10, this color guide contains the following components:
14
+ ## Publishing
29
15
 
30
- ---
16
+ After building your library with `ng build monkey-style-guide`, go to the dist folder `cd dist/monkey-style-guide` and run `npm publish`.
31
17
 
32
- ### **Badge**
18
+ ## Running unit tests
33
19
 
34
- ![Badge Demo Screen Shot][badge-screenshot]
20
+ Run `ng test monkey-style-guide` to execute the unit tests via [Karma](https://karma-runner.github.io).
35
21
 
36
- Parameters:
22
+ ## Further help
37
23
 
38
- - **count** (string) is used to define the content of badge.
39
- - **pulseOn** (boolean)(default: false) is used to define if badge has to pulse like a bell.
40
-
41
- Example:
42
-
43
- `example.module.ts`
44
-
45
- ```Typescript
46
- import { MonkeyBadgeModule } from 'monkey-style-guide';
47
-
48
- ...
49
-
50
- @NgModule({
51
- imports: [MonkeyBadgeModule]
52
- })
53
- ...
54
- ```
55
-
56
- `example.component.html`
57
-
58
- ```HTML
59
- <monkey-badge count="3" [pulseOn]="true"></monkey-badge>
60
- ```
61
-
62
- ---
63
-
64
- ### **Button**
65
-
66
- ![Button Demo Screen Shot][buttons-screenshot]
67
-
68
- Parameters:
69
-
70
- - **color** (string) can be _theme_, _error_, _warning_ or _success_
71
- - **disabled** (boolean)(default: false) to disable any action
72
- - **icon** (optional)(string) define the icon for button
73
- - **iconPoition** (string)(default: 'left') define the icon position. Can be _left_ or _right_
74
- - **label** (string) define the label that will be displayed inside the button
75
- - **type** (string) can be _primary_, _secondary_, _tertiary_
76
-
77
- Example:
78
-
79
- `example.module.ts`
80
-
81
- ```Typescript
82
- import { MonkeyButtonModule } from 'monkey-style-guide';
83
-
84
- ...
85
-
86
- @NgModule({
87
- imports: [MonkeyButtonModule]
88
- })
89
- ...
90
- ```
91
-
92
- `example.component.html`
93
-
94
- ```HTML
95
- <monkey-button color="theme" label="Primary" type="primary"></monkey-button>
96
- <monkey-button color="error" label="Secondary" type="secondary"></monkey-button>
97
- <monkey-button color="warning" label="Tertiary" type="tertiary"></monkey-button>
98
- ```
99
-
100
- ---
101
-
102
- There are other variations with buttons:
103
-
104
- ### **Button Avatar**
105
-
106
- ![Button Avatar Demo Screen Shot][button-avatar-screenshot]
107
-
108
- Parameters:
109
-
110
- - **label** (string) define the label that will be displayed inside the button
111
- - **size** (string) define the size of the button
112
- - **type** (string) can be _theme_, _theme-100_ or _none_
113
-
114
- Example:
115
-
116
- `example.component.html`
117
-
118
- ```HTML
119
- <monkey-button-avatar label="Amilson" size="sm" type="theme"></monkey-button-avatar>
120
- ```
121
-
122
- ### **Button Dropdown**
123
-
124
- ![Button Dropdown Demo Screen Shot][button-dropdown-screenshot1]
125
-
126
- ![Button Dropdown Demo Screen Shot][button-dropdown-screenshot2]
127
-
128
- Parameters:
129
-
130
- - **label** (ng-template) the label that will be displayed inside the button. For this particular component, label has be a ng-template.
131
- - **listenClicks** (boolean)(default: true) can be used to define if the dropdown will be closed with clicks inside
132
- - **type** (string)(default: 'filled') can be _unfilled_ or _filled_
133
-
134
- Example:
135
-
136
- `example.component.html`
137
-
138
- ```HTML
139
- <monkey-button-dropdown [label]="profileButton">
140
- <div class="mt-2">
141
- <monkey-button
142
- color="theme"
143
- label="Profile"
144
- type="tertiary"
145
- [routerLink]="'/app/user/profile/edit'"
146
- >
147
- </monkey-button>
148
- </div>
149
- <div class="mt-2">
150
- <monkey-button color="theme" label="Logout" type="tertiary"></monkey-button>
151
- </div>
152
- </monkey-button-dropdown>
153
-
154
- <ng-template #profileButton>
155
- <monkey-button-avatar label="Monkey" size="sm" type="theme"></monkey-button-avatar>
156
- </ng-template>
157
- ```
158
-
159
- ---
160
-
161
- ### **Checkbox**
162
-
163
- ![Checkbox Demo Screen Shot][checkbox-screenshot]
164
-
165
- Parameters:
166
-
167
- - **description** (optional)(string) description to be displayed by side of the checkbox
168
- - **errorMessage** (string) message to alert user
169
- - **helperMessage** (optional)(string) can be used with type single, for formfield purpose
170
- - **infoMessage** (optional)(string) message to help user knows about this component purpose
171
- - **label** (string) define the label that will be displayed inside
172
- - **type** (string)(default: 'single') can be _single_ or _multiple_. Will be used to render checkbox with formfield body or not.
173
-
174
- Events:
175
-
176
- - **onChange** event emited when user make changes
177
-
178
- Example:
179
-
180
- `example.module.ts`
181
-
182
- ```Typescript
183
- import { MonkeyCheckboxModule } from 'monkey-style-guide';
184
-
185
- ...
186
-
187
- @NgModule({
188
- imports: [MonkeyCheckboxModule]
189
- })
190
- ...
191
- ```
192
-
193
- `example.component.html`
194
-
195
- ```HTML
196
- <monkey-checkbox
197
- description="I Agree to Terms"
198
- errorMessage="Validation Message"
199
- formControlName="terms"
200
- helperMessage="Mandatory"
201
- infoMessage="Info message"
202
- label="Terms and Conditions"
203
- type="single">
204
- </monkey-checkbox>
205
- ```
206
-
207
- ---
208
-
209
- ### **Date Range Picker**
210
-
211
- ![Date Range Picker Demo Screen Shot][date-range-picker]
212
-
213
- Parameters:
214
-
215
- - **errorMessage** (string) message to alert user
216
- - **helperMessage** (optional)(string) can be used with type single, for formfield purpose
217
- - **infoMessage** (optional)(string) message to help user knows about this component purpose
218
- - **label** (string) define the label that will be displayed inside
219
- - **i18n** (Object) an i18n object (see example)
220
-
221
- Events:
222
-
223
- - **onChange** event emited when user select a range of dates or when clicked on some action
224
-
225
- Example:
226
-
227
- `example.module.ts`
228
-
229
- ```Typescript
230
- import { MonkeyDateRangePicker } from 'monkey-style-guide';
231
-
232
- ...
233
-
234
- @NgModule({
235
- imports: [MonkeyDateRangePicker]
236
- })
237
- ...
238
- ```
239
-
240
- `example.component.html`
241
-
242
- ```HTML
243
- <monkey-date-range-picker
244
- errorMessage="Error Message"
245
- helperMessage="Helper Message"
246
- infoMessage="Info Message"
247
- label="Label"
248
- [i18n]="i18n">
249
- </monkey-date-range-picker>
250
- ```
251
-
252
- `example.component.ts`
253
-
254
- ```Typescript
255
- ...
256
- i18n = {
257
- months: {
258
- '1': 'January',
259
- '2': 'Febuary',
260
- '3': 'March',
261
- '4': 'April',
262
- '5': 'May',
263
- '6': 'June',
264
- '7': 'July',
265
- '8': 'August',
266
- '9': 'September',
267
- '10': 'October',
268
- '11': 'November',
269
- '12': 'December'
270
- },
271
- days: {
272
- '1': 'Sun.',
273
- '2': 'Mon.',
274
- '3': 'Tue.',
275
- '4': 'Wed.',
276
- '5': 'Thu.',
277
- '6': 'Fri.',
278
- '7': 'Sat.'
279
- },
280
- actions: {
281
- '30': '30 days',
282
- '60': '60 days',
283
- '90': '90 days'
284
- },
285
- today: 'Today'
286
- };
287
- ...
288
- ```
289
-
290
- ---
291
-
292
- ### **Expansion**
293
-
294
- ![Expansion Demo Screen Shot][expansion-screenshot1]
295
-
296
- ![Expansion Demo Screen Shot][expansion-screenshot2]
297
-
298
- Parameters:
299
-
300
- - **color** (string) can be _theme_, _error_, _warning_ or _success_
301
- - **disabled** (boolean)(default: false) to disable any action
302
- - **helperMessage** (optional)(string) can be used with type single, for formfield purpose
303
- - **label** (string) define the label that will be displayed inside
304
- - **open** (boolean)(default: false) make expansion open or not
305
-
306
- Events:
307
-
308
- - **onChange** event emited when user make changes
309
-
310
- Example:
311
-
312
- `example.module.ts`
313
-
314
- ```Typescript
315
- import { MonkeyExpansionModule } from 'monkey-style-guide';
316
-
317
- ...
318
-
319
- @NgModule({
320
- imports: [MonkeyExpansionModule]
321
- })
322
- ...
323
- ```
324
-
325
- `example.component.html`
326
-
327
- ```HTML
328
- <monkey-expansion
329
- color="theme"
330
- label="Expansion"
331
- [helperMessage]="'helperMessage'"
332
- >
333
- <div>Content 1</div>
334
- <div>Content 2</div>
335
- </monkey-expansion>
336
- ```
337
-
338
- ---
339
-
340
- ### **File Upload**
341
-
342
- ![File Upload Demo Screen Shot][file-upload-screenshot1]
343
-
344
- Parameters:
345
-
346
- - **allowedExtensions** (array of string) for example ['.jpg', '.jpeg', '.png']
347
- - **allowedExtensionErrorMessage** (string) message to be displayed if the file extension is wrong
348
- - **errorMessage** (string) message to alert user
349
- - **fileUpload** (function) function to be used to upload file
350
- - **helperMessage** (optional)(string) message to help user to know what to do
351
- - **infoMessage** (optional)(string) required message
352
- - **label** (string) define the label that will be displayed inside
353
- - **listenFiles** (boolean)(default: false) if true, emit event to onHandleFilesReady with the selected file
354
- - **maxSize** (number) max file size in kbytes (1 \* 1024 \* 1024)
355
- - **maxSizeErrorMessage** (string) message to be displayed if the file size is wrong
356
- - **name** (string) name to identify the input
357
- - **placeholder** (optional)(string) message to help user that will be displayed inside the input
358
- - **uploadOngoingMessage** (string) message to be used when upload starts
359
-
360
- Events:
361
-
362
- - **onChange** event emited when user make changes
363
- - **onHandleFilesReady** event emited when listenFiled is true
364
-
365
- Example:
366
-
367
- `example.module.ts`
368
-
369
- ```Typescript
370
- import { MonkeyFileUploadModule } from 'monkey-style-guide';
371
-
372
- ...
373
-
374
- @NgModule({
375
- imports: [MonkeyFileUploadModule]
376
- })
377
- ...
378
- ```
379
-
380
- `example.component.ts`
381
-
382
- ```Typescript
383
- ...
384
-
385
- uploadFunction: Function = (file: any, callback?: Function) => {
386
- this.uploadService.uploadFile(file, callback);
387
- };
388
-
389
- service.uploadFile(file: File, callback?: Function) {
390
- const { httpClient, headers } = this;
391
- const formData = new FormData();
392
- formData.append('file', file);
393
-
394
- httpClient.post<any>('endpoint/upload', formData, {
395
- headers,
396
- reportProgress: true,
397
- observe: 'events'
398
- }).subscribe((event: any) => {
399
- const { loaded, total, body } = event;
400
- switch (event.type) {
401
- case HttpEventType.UploadProgress:
402
- const progress = Math.round((loaded / total * 100));
403
- if (callback) callback(progress);
404
- break;
405
- case HttpEventType.Response:
406
- const { filename, _links: { file: { href } } } = body;
407
- if (callback) {
408
- callback(null, {
409
- fileName: filename,
410
- url: href
411
- }, null);
412
- }
413
- break;
414
- default:
415
- break;
416
- }
417
- }, (err: HttpErrorResponse) => {
418
- const { error } = err;
419
- callback(null, error?.notifications?.join(''));
420
- });
421
- }
422
- ```
423
-
424
- `example.component.html`
425
-
426
- ```HTML
427
- <monkey-file-upload
428
- allowedExtensionErrorMessage="Extension not allowed"
429
- icon="upload-20"
430
- label="upload"
431
- maxSize="5242880"
432
- maxSizeErrorMessage="Max file size is 5mb"
433
- placeholder="Add File"
434
- [fileUpload]="uploadFunction"
435
- ></monkey-file-upload>
436
- ```
437
-
438
- ---
439
-
440
- ### **Icon**
441
-
442
- ![Icons Demo Screen Shot][icons-screenshot1]
443
-
444
- Parameters:
445
-
446
- - **color** (string) define color. Can be _theme_ or _#ffffff_ (hex value)
447
- - **icon** (string) icon name and size separeted by hyfhen
448
-
449
- Icons Options:
450
-
451
- - **add-plus**
452
- - **address-book**
453
- - **arrow-down**
454
- - **arrow-left**
455
- - **arrow-line-right**
456
- - **arrow-right**
457
- - **arrow-up**
458
- - **arrows**
459
- - **auction**
460
- - **average-tax**
461
- - **bank-account**
462
- - **bank-agency**
463
- - **bank**
464
- - **banknote-search**
465
- - **bell**
466
- - **block**
467
- - **book-open-text**
468
- - **book**
469
- - **box**
470
- - **build-approved**
471
- - **build-person**
472
- - **build-refused**
473
- - **build-waiting**
474
- - **calendar**
475
- - **calendar-box**
476
- - **camera**
477
- - **card-machine**
478
- - **card**
479
- - **cash-banknote-coins**
480
- - **cash-banknote-invoice**
481
- - **certificate-medal**
482
- - **chart-down**
483
- - **chart-down-arrow**
484
- - **chart-up**
485
- - **chart-up-arrow**
486
- - **chat**
487
- - **check-circle-out**
488
- - **check-circle**
489
- - **check-grey**
490
- - **check-white**
491
- - **check**
492
- - **clipboard**
493
- - **clock-closed**
494
- - **clock**
495
- - **close-circle**
496
- - **close**
497
- - **cnpj**
498
- - **codepen**
499
- - **company-name**
500
- - **contract-pen**
501
- - **contract**
502
- - **delete**
503
- - **digital-certificate**
504
- - **document**
505
- - **dollar-sign-circle**
506
- - **dollar-sign**
507
- - **domain**
508
- - **dots-menu**
509
- - **double-arrow-left**
510
- - **double-arrow-right**
511
- - **download**
512
- - **drag-drop**
513
- - **edit-square**
514
- - **edit**
515
- - **email-send-fast**
516
- - **email**
517
- - **empty-doc**
518
- - **error**
519
- - **eye-closed**
520
- - **eye-open**
521
- - **filter-add**
522
- - **filter**
523
- - **grid**
524
- - **hand-money-banknote**
525
- - **hands-clap**
526
- - **help**
527
- - **hexagon**
528
- - **high-rising-build**
529
- - **home**
530
- - **image**
531
- - **image-wave-square**
532
- - **info**
533
- - **invoice**
534
- - **invoices-anticipated**
535
- - **invoices-approval**
536
- - **invoices-refused**
537
- - **lighting-circle**
538
- - **list**
539
- - **location-pin**
540
- - **login**
541
- - **logout**
542
- - **mail-box-upload**
543
- - **mail-letter-fast-circle**
544
- - **mail-open-document**
545
- - **medal**
546
- - **menu**
547
- - **money-banknote-calculator**
548
- - **money-cedule**
549
- - **money-discount**
550
- - **money-hand**
551
- - **money-net**
552
- - **money-new**
553
- - **money-percent**
554
- - **money-refused**
555
- - **money-sign**
556
- - **money**
557
- - **money-waiting**
558
- - **more-circle**
559
- - **more**
560
- - **new-company**
561
- - **offered**
562
- - **open-external**
563
- - **password**
564
- - **password-edit-protection**
565
- - **people**
566
- - **percent**
567
- - **percent-box**
568
- - **person-document**
569
- - **person-sad**
570
- - **phone-call**
571
- - **phone**
572
- - **pin-navigation**
573
- - **pork**
574
- - **radio**
575
- - **refresh**
576
- - **registration**
577
- - **repeat**
578
- - **search**
579
- - **second-warning**
580
- - **settings**
581
- - **shield-chekmark**
582
- - **star-shining**
583
- - **star**
584
- - **store**
585
- - **suppliers**
586
- - **target-dart-arrow**
587
- - **today**
588
- - **trash**
589
- - **trophy**
590
- - **unfold-more**
591
- - **upload**
592
- - **user-group**
593
- - **user**
594
- - **wallet**
595
- - **warning**
596
-
597
- Example:
598
-
599
- `example.module.ts`
600
-
601
- ```Typescript
602
- import { MonkeyIconModule } from 'monkey-style-guide';
603
-
604
- ...
605
-
606
- @NgModule({
607
- imports: [MonkeyIconModule]
608
- })
609
- ...
610
- ```
611
-
612
- `example.component.html`
613
-
614
- ```HTML
615
- <monkey-icon color="#000000" icon="password-16"></monkey-icon>
616
- ```
617
-
618
- ---
619
-
620
- ### **Input**
621
-
622
- ![Input Demo Screen Shot][input-screenshot]
623
-
624
- Parameters:
625
-
626
- - **capitalize** (optional)(boolean) makes the value capitalcase
627
- - **currency** (optional)(boolean) transforms the input in currency input
628
- - **errorMessage** (string) message to alert user
629
- - **helperMessage** (optional)(string) message to help user to know what to do
630
- - **icon** (optional)(string) icon name and size separeted by hyfhen
631
- - **infoMessage** (optional)(string) message to help user knows about this component purpose
632
- - **label** (string) define the label that will be displayed inside
633
- - **lowerCase** (optional)(boolean) makes the value lowercase
634
- - **mask** (optional)(string) mask pattern to mask the input
635
- - **maxLength** (optional)(number) max 255
636
- - **name** (optional)(string) name to identify the input
637
- - **onlyNumber** (optional)(boolean) makes the input accept only number
638
- - **onlyAlphaNumeric** (optional)(boolean) makes the input accept only alphanumeric characters
639
- - **placeholder** (optional)(string) message to help user that will be displayed inside the input
640
- - **prefix** (optional)(string) prefix value for input
641
- - **type** (string) can be _text_ or _password_
642
- - **upperCase** (optional)(boolean) makes the value uppercase
643
-
644
- Events:
645
-
646
- - **onChange** event emited when user make changes
647
-
648
- Example:
649
-
650
- `example.module.ts`
651
-
652
- ```Typescript
653
- import { MonkeyInputModule } from 'monkey-style-guide';
654
-
655
- ...
656
-
657
- @NgModule({
658
- imports: [MonkeyInputModule]
659
- })
660
- ...
661
- ```
662
-
663
- `example.component.html`
664
-
665
- ```HTML
666
- <monkey-input
667
- errorMessage="Validation Message"
668
- formControlName="name"
669
- helperMessage="Mandatory"
670
- icon="user-20"
671
- infoMessage="Info message"
672
- label="Name"
673
- placeholder="Input your full name">
674
- </monkey-input>
675
- ```
676
-
677
- ---
678
-
679
- ### **Input Filter**
680
-
681
- ![Input Filter Demo Screen Shot][input-filter-screenshot]
682
-
683
- Parameters:
684
-
685
- - **helperMessage** (optional)(string) message to help user to know what to do
686
- - **icon** (optional)(string) icon name and size separeted by hyfhen
687
- - **infoMessage** (optional)(string) message to help user knows about this component purpose
688
- - **label** (string) define the label that will be displayed inside
689
- - **maxLength** (optional)(number) max 255
690
- - **name** (optional)(string) name to identify the input
691
- - **placeholder** (optional)(string) message to help user that will be displayed inside the input
692
-
693
- Events:
694
-
695
- - **onChange** event emited when user make changes
696
-
697
- Example:
698
-
699
- `example.module.ts`
700
-
701
- ```Typescript
702
- import { MonkeyInputModule } from 'monkey-style-guide';
703
-
704
- ...
705
-
706
- @NgModule({
707
- imports: [MonkeyInputModule]
708
- })
709
- ...
710
- ```
711
-
712
- `example.component.html`
713
-
714
- ```HTML
715
- <monkey-input-filter
716
- formControlName="name"
717
- helperMessage="Mandatory"
718
- icon="user-20"
719
- infoMessage="Info message"
720
- label="Name"
721
- placeholder="Input your full name">
722
- </monkey-input-filter>
723
- ```
724
-
725
- ---
726
-
727
- ### **Modal**
728
-
729
- ![Modal Demo Screen Shot][modal-screenshot]
730
-
731
- Parameters:
732
-
733
- - **config** (MonkeyModalConfig) the configuration of modal
734
- - **modalRef** (MonkeyModalRefs) the modal reference
735
- - **onHandleConfirm** (EventEmitter) will emit and event when you click confirm
736
-
737
- Example:
738
-
739
- `example.module.ts`
740
-
741
- ```Typescript
742
- import {
743
- MonkeyModalModule,
744
- MonkeyStyleGuideModalService
745
- } from 'monkey-style-guide';
746
-
747
- ...
748
-
749
- @NgModule({
750
- imports: [MonkeyModalModule],
751
- providers: [MonkeyStyleGuideModalService]
752
- })
753
- ...
754
- ```
755
-
756
- `parent.component.ts`
757
-
758
- ```Typescript
759
- ...
760
- import { MonkeyStyleGuideModalService } from 'monkey-style-guide';
761
- import { ModalComponent } from './modal/modal.component';
762
-
763
- ...
764
-
765
- constructor(private modalService: MonkeyStyleGuideModalService) {}
766
-
767
- openModal() {
768
- this.modalService.open(ModalComponent, {
769
- color: 'theme',
770
- size: 'md',
771
- action: {
772
- cancel: {
773
- actionColor: 'theme',
774
- actionType: 'tertiary',
775
- label: 'Cancel',
776
- },
777
- confirm: {
778
- actionColor: 'theme',
779
- actionType: 'primary',
780
- label: 'Confirm',
781
- },
782
- },
783
- });
784
- }
785
- ```
786
-
787
- `modal.component.ts`
788
-
789
- ```Typescript
790
- import { Component, EventEmitter, Input } from '@angular/core';
791
- import {
792
- MonkeyModalConfig,
793
- MonkeyModalRefs,
794
- MonkeyStyleGuideModalService
795
- } from 'monkey-style-guide';
796
-
797
- @Component({
798
- selector: 'mk-modal',
799
- template: `
800
- <monkey-modal
801
- [config]="config"
802
- [modalRef]="modalRef"
803
- [onHandleConfirm]="onHandleConfirm"
804
- >
805
- <div style="align-items: center; display: flex; justify-content: center;">
806
- <img
807
- src="https://dev-monkey-emails.s3-us-west-2.amazonaws.com/monkey-style-guide/demos/images/logo.png"
808
- />
809
- </div>
810
- </monkey-modal>
811
- `,
812
- })
813
- export class ModalComponent {
814
- @Input() config: MonkeyModalConfig;
815
- @Input() modalRef: MonkeyModalRefs<this>;
816
- @Input() onHandleConfirm = new EventEmitter<any>();
817
-
818
- constructor(private modalService: MonkeyStyleGuideModalService) {
819
- this.onHandleConfirm.subscribe(() => {
820
- console.log('Confirm clicked!');
821
-
822
- this.modalService.closeAll();
823
- });
824
- }
825
- }
826
- ```
827
-
828
- In case you need the logic in your parent component you can simply pass the `action` key to `MonkeyModalConfig` and remove `onHandleConfirm` of your modal component like this:
829
-
830
- ```Typescript
831
- ...
832
-
833
- openModal() {
834
- this.modalService.open(ModalComponent, {
835
- color: 'theme',
836
- size: 'md',
837
- action: {
838
- cancel: {
839
- actionColor: 'theme',
840
- actionType: 'tertiary',
841
- label: 'Cancel',
842
- },
843
- confirm: {
844
- action: () => {
845
- console.log('Modal closed!');
846
- },
847
- actionColor: 'theme',
848
- actionType: 'primary',
849
- label: 'Confirm',
850
- },
851
- },
852
- });
853
- }
854
- ```
855
-
856
- ```Typescript
857
- ...
858
-
859
- export class ModalComponent {
860
- @Input() config: MonkeyModalConfig;
861
- @Input() modalRef: MonkeyModalRefs<this>;
862
-
863
- constructor() {}
864
- }
865
- ```
866
-
867
- ---
868
-
869
- ### **Radiobutton**
870
-
871
- ![Radiobutton Demo Screen Shot][radiobutton-screenshot]
872
-
873
- Parameters:
874
-
875
- - **errorMessage** (string) message to alert user
876
- - **helperMessage** (optional)(string) message to help user to know what to do
877
- - **infoMessage** (optional)(string) message to help user knows about this component purpose
878
- - **label** (string) define the label that will be displayed inside
879
- - **placeholder** (optional)(string) message to help user that will be displayed inside the input
880
-
881
- Events:
882
-
883
- - **onChange** event emited when user make changes
884
-
885
- Example:
886
-
887
- `example.module.ts`
888
-
889
- ```Typescript
890
- import { MonkeyRadioButtonModule } from 'monkey-style-guide';
891
-
892
- ...
893
-
894
- @NgModule({
895
- imports: [MonkeyRadioButtonModule]
896
- })
897
- ...
898
- ```
899
-
900
- `example.component.html`
901
-
902
- ```HTML
903
- <monkey-radiobutton
904
- formControlName="gender"
905
- label="Gender"
906
- helperMessage="Mandatory"
907
- icon="help-20"
908
- infoMessage="Info message"
909
- errorMessage="Validation message"
910
- >
911
- <monkey-option label="Female" value="female"></monkey-option>
912
- <monkey-option label="Male" value="male"></monkey-option>
913
- <monkey-option label="I prefer not to choose" value="not_choose"></monkey-option>
914
- </monkey-radiobutton>
915
- ```
916
-
917
- ---
918
-
919
- ### **Select**
920
-
921
- ![Select Demo Screen Shot][select-screenshot]
922
-
923
- Parameters:
924
-
925
- - **errorMessage** (string) message to alert user
926
- - **helperMessage** (optional)(string) message to help user to know what to do
927
- - **icon** (optional)(string) icon name and size separeted by hyfhen
928
- - **infoMessage** (optional)(string) message to help user knows about this component purpose
929
- - **label** (string) define the label that will be displayed inside
930
- - **placeholder** (optional)(string) message to help user that will be displayed inside the input
931
-
932
- Events:
933
-
934
- - **onChange** event emited when user make changes
935
-
936
- Example:
937
-
938
- `example.module.ts`
939
-
940
- ```Typescript
941
- import {
942
- MonkeyOptionModule,
943
- MonkeySelectModule
944
- } from 'monkey-style-guide';
945
-
946
- ...
947
-
948
- @NgModule({
949
- imports: [
950
- MonkeyOptionModule,
951
- MonkeySelectModule
952
- ]
953
- })
954
- ...
955
- ```
956
-
957
- `example.component.html`
958
-
959
- ```HTML
960
- <monkey-select
961
- errorMessage="Validation Message"
962
- formControlName="documentType"
963
- helperMessage="Mandatory"
964
- icon="upload-20"
965
- infoMessage="Info message"
966
- label="Select the document type to upload"
967
- >
968
- <monkey-option label="Personal Document" value="personal_document">
969
- </monkey-option>
970
- <monkey-option label="Social Contract" value="social_contract">
971
- </monkey-option>
972
- <monkey-option label="Procuraction Contract" value="procuration_contract">
973
- </monkey-option>
974
- </monkey-select>
975
- ```
976
-
977
- ---
978
-
979
- ### **Table**
980
-
981
- ![Table Demo Screen Shot][table-screenshot]
982
-
983
- Parameters:
984
-
985
- - **dataSource** (array) the data to be displayed
986
- - **headers** (array) column headers
987
- - **loading** (optional)(boolean) show loading progress
988
- - **rowTemplate** (TemplateRef) the template to show rows
989
- - **selectable** (optional)(boolean) enable row selection
990
-
991
- Events:
992
-
993
- - **selection** returns an array with selected rows
994
-
995
- Example:
996
-
997
- `example.module.ts`
998
-
999
- ```Typescript
1000
- import { MonkeyTableModule } from 'monkey-style-guide';
1001
-
1002
- ...
1003
-
1004
- @NgModule({
1005
- imports: [MonkeyTableModule]
1006
- })
1007
- ...
1008
- ```
1009
-
1010
- `example.component.ts`
1011
-
1012
- ```Typecript
1013
- _dataSourceHeaders = ['column1', 'column2', 'column3', 'column4'];
1014
- _dataSource = [
1015
- [1, 2, 3, 4, 5, 6],
1016
- [5, 6, 7, 8, 9, 10],
1017
- [5, 6, 7, 8, 9, 10],
1018
- [5, 6, 7, 8, 9, 10],
1019
- ];
1020
- ```
1021
-
1022
- `example.component.html`
1023
-
1024
- ```HTML
1025
- <monkey-table
1026
- [dataSource]="_dataSource"
1027
- [headers]="_dataSourceHeaders"
1028
- [loading]="true"
1029
- [rowTemplate]="rowTemplate"
1030
- [selectable]="true"
1031
- (selection)="onHandleSelection($event)"
1032
- >
1033
- <ng-template #rowTemplate let-row="row">
1034
- <monkey-table-column>{{ row[0] }}</monkey-table-column>
1035
- <monkey-table-column>{{ row[1] }}</monkey-table-column>
1036
- <monkey-table-column>{{ row[2] }}</monkey-table-column>
1037
- <monkey-table-column>{{ row[3] }}</monkey-table-column>
1038
- </ng-template>
1039
- </monkey-table>
1040
- ```
1041
-
1042
- ---
1043
-
1044
- ### **Toggle**
1045
-
1046
- ![Toggle Demo Screen Shot][toggle-screenshot]
1047
-
1048
- Parameters:
1049
-
1050
- - **value** (boolean)(default: false)
1051
- - **disabled** (boolean)(default: false) to disable any action
1052
-
1053
- Events:
1054
-
1055
- - **onChange** event emited when user make changes
1056
-
1057
- Example:
1058
-
1059
- `example.module.ts`
1060
-
1061
- ```Typescript
1062
- import { MonkeyToggleModule } from 'monkey-style-guide';
1063
-
1064
- ...
1065
-
1066
- @NgModule({
1067
- imports: [MonkeyToggleModule]
1068
- })
1069
- ...
1070
- ```
1071
-
1072
- `example.component.html`
1073
-
1074
- ```HTML
1075
- <monkey-toggle [value]="_form?.get('smsNotification').value"
1076
- (onChange)="onHandleToggleSMS($event)">
1077
- </monkey-toggle>
1078
- ```
1079
-
1080
- ## Prerequisites
1081
-
1082
- The main feature of this project is to allow changing the application theme, such as primary colors and error colors.
1083
- For this, it is necessary to have a file called monkey-style-guide-settings.json at the root of your project's assets folder.
1084
-
1085
- For example:
1086
-
1087
- ![Settings Json Screen Shot][settings-screenshot]
1088
-
1089
- Content of monkey-style-guide-settings.json:
1090
-
1091
- ```JSON
1092
- {
1093
- "theme": {
1094
- "title": "Monkey Exchange",
1095
- "favicon": "assets/favicon.svg"
1096
- },
1097
- "colors": {
1098
- "theme": {
1099
- "main": "#034EA2",
1100
- "100": "#F5FAFF",
1101
- "200": "#D7EAFE",
1102
- "300": "#A5CFFE",
1103
- "400": "#72B4FD",
1104
- "500": "#4099FC",
1105
- "600": "#0F7EFB",
1106
- "700": "#0465D2",
1107
- "800": "#023064",
1108
- "900": "#023064",
1109
- "contrast": {
1110
- "main": "white",
1111
- "100": "rgba(black, 0.87)",
1112
- "200": "white",
1113
- "300": "white",
1114
- "400": "white",
1115
- "500": "white",
1116
- "600": "white",
1117
- "700": "white",
1118
- "800": "white",
1119
- "900": "white"
1120
- }
1121
- },
1122
- "error": {
1123
- "main": "#e70c0c",
1124
- "100": "#fbb5b5",
1125
- "200": "#f87f7f",
1126
- "300": "#f53b3b",
1127
- "400": "#f31e1e",
1128
- "500": "#e70c0c",
1129
- "600": "#ca0a0a",
1130
- "700": "#ad0909",
1131
- "800": "#900707",
1132
- "900": "#730606",
1133
- "contrast": {
1134
- "main": "white",
1135
- "100": "rgba(black, 0.87)",
1136
- "200": "rgba(black, 0.87)",
1137
- "300": "white",
1138
- "400": "white",
1139
- "500": "white",
1140
- "600": "white",
1141
- "700": "white",
1142
- "800": "white",
1143
- "900": "white"
1144
- }
1145
- },
1146
- "warning": {
1147
- "main": "#efa30e",
1148
- "100": "#fbe7be",
1149
- "200": "#f8d389",
1150
- "300": "#f4b946",
1151
- "400": "#f2ae29",
1152
- "500": "#efa30e",
1153
- "600": "#d28f0c",
1154
- "700": "#b57c0b",
1155
- "800": "#986809",
1156
- "900": "#7b5407",
1157
- "contrast": {
1158
- "main": "rgba(black, 0.87)",
1159
- "100": "rgba(black, 0.87)",
1160
- "200": "rgba(black, 0.87)",
1161
- "300": "rgba(black, 0.87)",
1162
- "400": "rgba(black, 0.87)",
1163
- "500": "rgba(black, 0.87)",
1164
- "600": "rgba(black, 0.87)",
1165
- "700": "rgba(black, 0.87)",
1166
- "800": "white",
1167
- "900": "white"
1168
- }
1169
- },
1170
- "success": {
1171
- "main": "#00875a",
1172
- "100": "#45ffc1",
1173
- "200": "#0dffae",
1174
- "300": "#00c483",
1175
- "400": "#00a66e",
1176
- "500": "#00875a",
1177
- "600": "#006846",
1178
- "700": "#004a31",
1179
- "800": "#002b1d",
1180
- "900": "#000d08",
1181
- "contrast": {
1182
- "main": "white",
1183
- "100": "rgba(black, 0.87)",
1184
- "200": "rgba(black, 0.87)",
1185
- "300": "rgba(black, 0.87)",
1186
- "400": "white",
1187
- "500": "white",
1188
- "600": "white",
1189
- "700": "white",
1190
- "800": "white",
1191
- "900": "white"
1192
- }
1193
- },
1194
- "question": {
1195
- "main": "#8D38FA",
1196
- "100": "#F4EBFF",
1197
- "200": "#E8D7FE",
1198
- "300": "#D2AFFD",
1199
- "400": "#A460FB",
1200
- "500": "#8D38FA",
1201
- "600": "#7710F9",
1202
- "700": "#5104B3",
1203
- "800": "#2D0264",
1204
- "900": "#1B013C",
1205
- "contrast": {
1206
- "main": "white",
1207
- "100": "rgba(black, 0.87)",
1208
- "200": "rgba(black, 0.87)",
1209
- "300": "rgba(black, 0.87)",
1210
- "400": "white",
1211
- "500": "white",
1212
- "600": "white",
1213
- "700": "white",
1214
- "800": "white",
1215
- "900": "white"
1216
- }
1217
- }
1218
- }
1219
- }
1220
- ```
1221
-
1222
- ## Installation
1223
-
1224
- 1. Install NPM packages:
1225
-
1226
- ```sh
1227
- npm install monkey-style-guide
1228
- ```
1229
-
1230
- ## Usage
1231
-
1232
- Import `monkey-style-guide` in your `style.scss`
1233
-
1234
- ```scss
1235
- @import '~monkey-style-guide/assets/scss/theme';
1236
- ```
1237
-
1238
- Import `MonkeyStyleGuideModule` in your `app.module.ts`
1239
-
1240
- ```Typescript
1241
- import { MonkeyStyleGuideModule } from 'monkey-style-guide';
1242
-
1243
- @NgModule({
1244
- declarations: [AppComponent],
1245
- imports: [MonkeyStyleGuideModule],
1246
- bootstrap: [AppComponent],
1247
- })
1248
- export class AppModule {}
1249
- ```
1250
-
1251
- Than call the `bootstrap` method in your `app.component.ts`
1252
-
1253
- ```Typescript
1254
- import { Component } from '@angular/core';
1255
- import { MonkeyStyleGuideSettingsService } from 'monkey-style-guide';
1256
-
1257
- @Component({
1258
- selector: 'app-root',
1259
- templateUrl: './app.component.html',
1260
- styleUrls: ['./app.component.scss'],
1261
- })
1262
- export class AppComponent {
1263
- constructor(private settingsService: MonkeyStyleGuideSettingsService) {
1264
- this.settingsService.bootstrap('');
1265
- }
1266
- }
1267
- ```
1268
-
1269
- <!-- MARKDOWN LINKS & IMAGES -->
1270
- <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
1271
-
1272
- [badge-screenshot]: https://user-images.githubusercontent.com/10110065/111625441-9e5df280-87cb-11eb-905c-008607cf859e.png
1273
- [button-avatar-screenshot]: https://user-images.githubusercontent.com/10110065/111626956-50e28500-87cd-11eb-85c1-aaa8c06bb4e0.png
1274
- [button-dropdown-screenshot1]: https://user-images.githubusercontent.com/10110065/111631407-1e875680-87d2-11eb-9631-d1d2ccf8f076.png
1275
- [button-dropdown-screenshot2]: https://user-images.githubusercontent.com/10110065/111631726-82118400-87d2-11eb-9653-4502c3d82d51.png
1276
- [buttons-screenshot]: https://user-images.githubusercontent.com/10110065/142933460-7a84ad76-b57f-40a0-b809-292af31c1e8f.png
1277
- [checkbox-screenshot]: https://dev-monkey-emails.s3-us-west-2.amazonaws.com/monkey-style-guide/demos/images/checkbox.png
1278
- [contributors-shield]: https://img.shields.io/badge/Contributors-2-brightgreen?style=flat
1279
- [contributors-url]: https://github.com/MonkeyECX/monkey-style-guide/graphs/contributors
1280
- [date-range-picker]: https://user-images.githubusercontent.com/12416871/146080473-8543b9ae-7186-42ee-8ec8-bfd1eef09df6.png
1281
- [expansion-screenshot1]: https://user-images.githubusercontent.com/10110065/111636157-f8b08080-87d6-11eb-86ab-86839297d068.png
1282
- [expansion-screenshot2]: https://user-images.githubusercontent.com/10110065/111636340-24336b00-87d7-11eb-9f19-504ab96cc9af.png
1283
- [file-upload-screenshot1]: https://user-images.githubusercontent.com/10110065/111640018-8b065380-87da-11eb-8d47-87ddea29b943.png
1284
- [icons-screenshot1]: https://github.com/MonkeyECX/monkey-style-guide/assets/12416871/a71f2dcf-b9d2-4868-9868-9ac798ffe28a
1285
- [input-filter-screenshot]: https://user-images.githubusercontent.com/32619691/163216159-3a9f985e-3ba9-4e10-8ba4-0f60931f83d1.png
1286
- [input-screenshot]: https://dev-monkey-emails.s3-us-west-2.amazonaws.com/monkey-style-guide/demos/images/input.png
1287
- [license-shield]: https://img.shields.io/github/license/othneildrew/Best-README-Template.svg?style=flat-square
1288
- [license-url]: https://github.com/othneildrew/Best-README-Template/blob/master/LICENSE.txt
1289
- [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=157
1290
- [linkedin-url]: https://www.linkedin.com/company/monkeyexchange
1291
- [modal-screenshot]: https://user-images.githubusercontent.com/12416871/119838920-2c480f00-beda-11eb-9e44-e42262f39c34.png
1292
- [radiobutton-screenshot]: https://dev-monkey-emails.s3-us-west-2.amazonaws.com/monkey-style-guide/demos/images/radiobutton.png
1293
- [select-screenshot]: https://dev-monkey-emails.s3-us-west-2.amazonaws.com/monkey-style-guide/demos/images/select.png
1294
- [settings-screenshot]: https://dev-monkey-emails.s3-us-west-2.amazonaws.com/monkey-style-guide/demos/images/style-settings-json.png
1295
- [table-screenshot]: https://user-images.githubusercontent.com/12416871/119574643-29d79f00-bd8c-11eb-9747-2e6dc86410da.png
1296
- [toggle-screenshot]: https://user-images.githubusercontent.com/12416871/119849813-53570e80-bee3-11eb-87f8-0871f8e26f58.png
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.