monkey-style-guide 2.0.112 → 2.0.116

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 (138) hide show
  1. package/assets/scss/partials/_breakpoints.scss +35 -35
  2. package/assets/scss/partials/components/_badge.scss +55 -55
  3. package/assets/scss/partials/components/_expansion.scss +91 -91
  4. package/assets/scss/partials/components/_modal.scss +282 -282
  5. package/assets/scss/partials/components/_tab.scss +82 -82
  6. package/assets/scss/partials/components/_toggle.scss +103 -103
  7. package/esm2020/lib/components/badge/badge.component.mjs +3 -3
  8. package/esm2020/lib/components/badge/badge.module.mjs +5 -5
  9. package/esm2020/lib/components/badge/index.mjs +1 -1
  10. package/esm2020/lib/components/button/button-avatar.component.mjs +3 -3
  11. package/esm2020/lib/components/button/button-dropdown.component.mjs +3 -3
  12. package/esm2020/lib/components/button/button.component.mjs +3 -3
  13. package/esm2020/lib/components/button/button.module.mjs +4 -4
  14. package/esm2020/lib/components/checkbox/checkbox.component.mjs +3 -3
  15. package/esm2020/lib/components/checkbox/checkbox.module.mjs +4 -4
  16. package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +3 -3
  17. package/esm2020/lib/components/date-range-picker/date-range-picker.module.mjs +4 -4
  18. package/esm2020/lib/components/expansion/expansion.component.mjs +71 -71
  19. package/esm2020/lib/components/expansion/expansion.module.mjs +5 -5
  20. package/esm2020/lib/components/expansion/index.mjs +1 -1
  21. package/esm2020/lib/components/file-upload/file-upload.component.mjs +3 -3
  22. package/esm2020/lib/components/file-upload/file-upload.module.mjs +4 -4
  23. package/esm2020/lib/components/icon/icon-arrow-down.component.mjs +3 -3
  24. package/esm2020/lib/components/icon/icon-arrow-left.component.mjs +3 -3
  25. package/esm2020/lib/components/icon/icon-arrow-right.component.mjs +3 -3
  26. package/esm2020/lib/components/icon/icon-arrow-up.component.mjs +3 -3
  27. package/esm2020/lib/components/icon/icon-bank.component.mjs +3 -3
  28. package/esm2020/lib/components/icon/icon-bell.component.mjs +3 -3
  29. package/esm2020/lib/components/icon/icon-book.component.mjs +3 -3
  30. package/esm2020/lib/components/icon/icon-box.component.mjs +3 -3
  31. package/esm2020/lib/components/icon/icon-calendar.component.mjs +3 -3
  32. package/esm2020/lib/components/icon/icon-camera.component.mjs +3 -3
  33. package/esm2020/lib/components/icon/icon-chat.component.mjs +3 -3
  34. package/esm2020/lib/components/icon/icon-check-circle-out.component.mjs +3 -3
  35. package/esm2020/lib/components/icon/icon-check-circle.component.mjs +3 -3
  36. package/esm2020/lib/components/icon/icon-check-grey.component.mjs +3 -3
  37. package/esm2020/lib/components/icon/icon-check-white.component.mjs +3 -3
  38. package/esm2020/lib/components/icon/icon-check.component.mjs +3 -3
  39. package/esm2020/lib/components/icon/icon-clipboard.component.mjs +3 -3
  40. package/esm2020/lib/components/icon/icon-clock.component.mjs +3 -3
  41. package/esm2020/lib/components/icon/icon-close.component.mjs +3 -3
  42. package/esm2020/lib/components/icon/icon-cnpj.component.mjs +3 -3
  43. package/esm2020/lib/components/icon/icon-codepen.component.mjs +3 -3
  44. package/esm2020/lib/components/icon/icon-company-name.component.mjs +3 -3
  45. package/esm2020/lib/components/icon/icon-contract.component.mjs +3 -3
  46. package/esm2020/lib/components/icon/icon-delete.component.mjs +3 -3
  47. package/esm2020/lib/components/icon/icon-document.component.mjs +3 -3
  48. package/esm2020/lib/components/icon/icon-dollar-sign.component.mjs +3 -3
  49. package/esm2020/lib/components/icon/icon-domain.component.mjs +3 -3
  50. package/esm2020/lib/components/icon/icon-download.component.mjs +3 -3
  51. package/esm2020/lib/components/icon/icon-edit.component.mjs +3 -3
  52. package/esm2020/lib/components/icon/icon-email.component.mjs +3 -3
  53. package/esm2020/lib/components/icon/icon-empty-doc.component.mjs +3 -3
  54. package/esm2020/lib/components/icon/icon-error.component.mjs +3 -3
  55. package/esm2020/lib/components/icon/icon-eye-closed.component.mjs +3 -3
  56. package/esm2020/lib/components/icon/icon-eye-open.component.mjs +3 -3
  57. package/esm2020/lib/components/icon/icon-filter.component.mjs +3 -3
  58. package/esm2020/lib/components/icon/icon-grid.component.mjs +3 -3
  59. package/esm2020/lib/components/icon/icon-help.component.mjs +3 -3
  60. package/esm2020/lib/components/icon/icon-hexagon.component.mjs +3 -3
  61. package/esm2020/lib/components/icon/icon-home.component.mjs +3 -3
  62. package/esm2020/lib/components/icon/icon-image.component.mjs +3 -3
  63. package/esm2020/lib/components/icon/icon-list.component.mjs +3 -3
  64. package/esm2020/lib/components/icon/icon-location-pin.component.mjs +3 -3
  65. package/esm2020/lib/components/icon/icon-login.component.mjs +3 -3
  66. package/esm2020/lib/components/icon/icon-logout.component.mjs +3 -3
  67. package/esm2020/lib/components/icon/icon-menu.component.mjs +3 -3
  68. package/esm2020/lib/components/icon/icon-money-sign.component.mjs +3 -3
  69. package/esm2020/lib/components/icon/icon-more.component.mjs +3 -3
  70. package/esm2020/lib/components/icon/icon-offered.component.mjs +3 -3
  71. package/esm2020/lib/components/icon/icon-password.component.mjs +3 -3
  72. package/esm2020/lib/components/icon/icon-people.component.mjs +3 -3
  73. package/esm2020/lib/components/icon/icon-percent.component.mjs +3 -3
  74. package/esm2020/lib/components/icon/icon-person-document.component.mjs +3 -3
  75. package/esm2020/lib/components/icon/icon-person-sad.component.mjs +3 -3
  76. package/esm2020/lib/components/icon/icon-phone.component.mjs +3 -3
  77. package/esm2020/lib/components/icon/icon-pork.component.mjs +3 -3
  78. package/esm2020/lib/components/icon/icon-refresh.component.mjs +3 -3
  79. package/esm2020/lib/components/icon/icon-repeat.component.mjs +3 -3
  80. package/esm2020/lib/components/icon/icon-search.component.mjs +3 -3
  81. package/esm2020/lib/components/icon/icon-second-warning.component.mjs +3 -3
  82. package/esm2020/lib/components/icon/icon-settings.component.mjs +3 -3
  83. package/esm2020/lib/components/icon/icon-trash.component.mjs +3 -3
  84. package/esm2020/lib/components/icon/icon-upload.component.mjs +3 -3
  85. package/esm2020/lib/components/icon/icon-user.component.mjs +3 -3
  86. package/esm2020/lib/components/icon/icon-wallet.component.mjs +3 -3
  87. package/esm2020/lib/components/icon/icon-warning.component.mjs +3 -3
  88. package/esm2020/lib/components/icon/icon.component.mjs +3 -3
  89. package/esm2020/lib/components/icon/icon.module.mjs +4 -4
  90. package/esm2020/lib/components/image-crop/image-crop.component.mjs +3 -3
  91. package/esm2020/lib/components/image-crop/image-crop.module.mjs +4 -4
  92. package/esm2020/lib/components/input/input-filter.component.mjs +4 -4
  93. package/esm2020/lib/components/input/input.component.mjs +4 -4
  94. package/esm2020/lib/components/input/input.module.mjs +4 -4
  95. package/esm2020/lib/components/input-phone/input-phone.component.mjs +6 -6
  96. package/esm2020/lib/components/input-phone/input-phone.module.mjs +4 -4
  97. package/esm2020/lib/components/modal/modal.component.mjs +3 -3
  98. package/esm2020/lib/components/modal/modal.module.mjs +4 -4
  99. package/esm2020/lib/components/option/option.component.mjs +3 -3
  100. package/esm2020/lib/components/option/option.module.mjs +4 -4
  101. package/esm2020/lib/components/radiobutton/radiobutton.component.mjs +3 -3
  102. package/esm2020/lib/components/radiobutton/radiobutton.module.mjs +4 -4
  103. package/esm2020/lib/components/select/select-filter.component.mjs +3 -3
  104. package/esm2020/lib/components/select/select-multiple.component.mjs +3 -3
  105. package/esm2020/lib/components/select/select-search.component.mjs +3 -3
  106. package/esm2020/lib/components/select/select.component.mjs +3 -3
  107. package/esm2020/lib/components/select/select.module.mjs +4 -4
  108. package/esm2020/lib/components/stepper/stepper.component.mjs +3 -3
  109. package/esm2020/lib/components/stepper/stepper.module.mjs +4 -4
  110. package/esm2020/lib/components/tab/index.mjs +1 -1
  111. package/esm2020/lib/components/tab/tab.component.mjs +12 -12
  112. package/esm2020/lib/components/tab/tab.module.mjs +5 -5
  113. package/esm2020/lib/components/table/table-column.component.mjs +3 -3
  114. package/esm2020/lib/components/table/table.component.mjs +12 -6
  115. package/esm2020/lib/components/table/table.module.mjs +4 -4
  116. package/esm2020/lib/components/toggle/index.mjs +1 -1
  117. package/esm2020/lib/components/toggle/toggle.component.mjs +3 -3
  118. package/esm2020/lib/components/toggle/toggle.module.mjs +5 -5
  119. package/esm2020/lib/components/wizard/wizard.component.mjs +3 -3
  120. package/esm2020/lib/components/wizard/wizard.module.mjs +4 -4
  121. package/esm2020/lib/core/interfaces/index.mjs +1 -1
  122. package/esm2020/lib/core/interfaces/monkey-modal-settings.mjs +1 -1
  123. package/esm2020/lib/core/services/modal/index.mjs +1 -1
  124. package/esm2020/lib/core/services/modal/monkey-style-guide-modal-fixed.service.mjs +4 -4
  125. package/esm2020/lib/core/services/modal/monkey-style-guide-modal.service.mjs +4 -4
  126. package/esm2020/lib/core/services/monkey-style-guide.service.mjs +3 -3
  127. package/esm2020/lib/core/services/settings/monkey-style-guide-settings.service.mjs +3 -3
  128. package/esm2020/lib/core/services/settings/monkey-style-guide-theme-settings.service.mjs +3 -3
  129. package/esm2020/lib/core/services/snackbar/mokey-style-guide-snackbar.service.mjs +3 -3
  130. package/esm2020/lib/monkey-style-guide.module.mjs +4 -4
  131. package/fesm2015/monkey-style-guide.mjs +459 -453
  132. package/fesm2015/monkey-style-guide.mjs.map +1 -1
  133. package/fesm2020/monkey-style-guide.mjs +459 -453
  134. package/fesm2020/monkey-style-guide.mjs.map +1 -1
  135. package/lib/components/table/table.component.d.ts +2 -1
  136. package/monkey-style-guide-2.0.116.tgz +0 -0
  137. package/package.json +4 -4
  138. package/monkey-style-guide-2.0.112.tgz +0 -0
@@ -1,35 +1,35 @@
1
- $breakpoints: (
2
- xs: 'screen and (max-width: 599px)',
3
- sm: 'screen and (min-width: 600px) and (max-width: 959px)',
4
- md: 'screen and (min-width: 960px) and (max-width: 1279px)',
5
- lg: 'screen and (min-width: 1280px) and (max-width: 1919px)',
6
- xl: 'screen and (min-width: 1920px) and (max-width: 5000px)',
7
- lt-sm: 'screen and (max-width: 599px)',
8
- lt-md: 'screen and (max-width: 959px)',
9
- lt-lg: 'screen and (max-width: 1279px)',
10
- lt-xl: 'screen and (max-width: 1919px)',
11
- gt-xs: 'screen and (min-width: 600px)',
12
- gt-sm: 'screen and (min-width: 960px)',
13
- gt-md: 'screen and (min-width: 1280px)',
14
- gt-lg: 'screen and (min-width: 1920px)',
15
- ) !default;
16
-
17
- $helper-breakpoints: (
18
- xs: null,
19
- sm: 'gt-xs',
20
- md: 'gt-sm',
21
- lg: 'gt-md',
22
- xl: 'gt-lg',
23
- );
24
-
25
- @mixin media-breakpoint($breakpointName) {
26
- $mediaQuery: map-get($breakpoints, $breakpointName);
27
-
28
- @if ($mediaQuery == null) {
29
- @content;
30
- } @else {
31
- @media #{$mediaQuery} {
32
- @content;
33
- }
34
- }
35
- }
1
+ $breakpoints: (
2
+ xs: 'screen and (max-width: 599px)',
3
+ sm: 'screen and (min-width: 600px) and (max-width: 959px)',
4
+ md: 'screen and (min-width: 960px) and (max-width: 1279px)',
5
+ lg: 'screen and (min-width: 1280px) and (max-width: 1919px)',
6
+ xl: 'screen and (min-width: 1920px) and (max-width: 5000px)',
7
+ lt-sm: 'screen and (max-width: 599px)',
8
+ lt-md: 'screen and (max-width: 959px)',
9
+ lt-lg: 'screen and (max-width: 1279px)',
10
+ lt-xl: 'screen and (max-width: 1919px)',
11
+ gt-xs: 'screen and (min-width: 600px)',
12
+ gt-sm: 'screen and (min-width: 960px)',
13
+ gt-md: 'screen and (min-width: 1280px)',
14
+ gt-lg: 'screen and (min-width: 1920px)',
15
+ ) !default;
16
+
17
+ $helper-breakpoints: (
18
+ xs: null,
19
+ sm: 'gt-xs',
20
+ md: 'gt-sm',
21
+ lg: 'gt-md',
22
+ xl: 'gt-lg',
23
+ );
24
+
25
+ @mixin media-breakpoint($breakpointName) {
26
+ $mediaQuery: map-get($breakpoints, $breakpointName);
27
+
28
+ @if ($mediaQuery == null) {
29
+ @content;
30
+ } @else {
31
+ @media #{$mediaQuery} {
32
+ @content;
33
+ }
34
+ }
35
+ }
@@ -1,55 +1,55 @@
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-badge {
9
- mecx-monkey-badge {
10
- width: 24px;
11
- height: 24px;
12
- background: #fa3838;
13
- border-radius: 20px;
14
- display: flex;
15
- flex-direction: column;
16
- justify-content: center;
17
- align-items: center;
18
- margin-left: 5px;
19
-
20
- .badge-count {
21
- font-style: normal;
22
- font-weight: normal;
23
- font-size: 16px;
24
- line-height: 24px;
25
- text-align: center;
26
- color: #fafafa;
27
- }
28
- }
29
-
30
- .pulse::before {
31
- content: '';
32
- display: block;
33
- position: absolute;
34
- animation: pulse 1s ease infinite;
35
- border-radius: 50%;
36
- border: 4px double #ff6666;
37
- width: 22px;
38
- height: 22px;
39
- }
40
-
41
- @keyframes pulse {
42
- 0% {
43
- transform: scale(1);
44
- opacity: 1;
45
- }
46
- 60% {
47
- transform: scale(1.3);
48
- opacity: 0.4;
49
- }
50
- 100% {
51
- transform: scale(1.4);
52
- opacity: 0;
53
- }
54
- }
55
- }
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-badge {
9
+ mecx-monkey-badge {
10
+ width: 24px;
11
+ height: 24px;
12
+ background: #fa3838;
13
+ border-radius: 20px;
14
+ display: flex;
15
+ flex-direction: column;
16
+ justify-content: center;
17
+ align-items: center;
18
+ margin-left: 5px;
19
+
20
+ .badge-count {
21
+ font-style: normal;
22
+ font-weight: normal;
23
+ font-size: 16px;
24
+ line-height: 24px;
25
+ text-align: center;
26
+ color: #fafafa;
27
+ }
28
+ }
29
+
30
+ .pulse::before {
31
+ content: '';
32
+ display: block;
33
+ position: absolute;
34
+ animation: pulse 1s ease infinite;
35
+ border-radius: 50%;
36
+ border: 4px double #ff6666;
37
+ width: 22px;
38
+ height: 22px;
39
+ }
40
+
41
+ @keyframes pulse {
42
+ 0% {
43
+ transform: scale(1);
44
+ opacity: 1;
45
+ }
46
+ 60% {
47
+ transform: scale(1.3);
48
+ opacity: 0.4;
49
+ }
50
+ 100% {
51
+ transform: scale(1.4);
52
+ opacity: 0;
53
+ }
54
+ }
55
+ }
@@ -1,91 +1,91 @@
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-expansion {
9
- width: 100%;
10
-
11
- mecx-monkey-expansion {
12
- width: 100%;
13
- background: #fafafa;
14
- border: 1px solid #d6d6d6;
15
- box-sizing: border-box;
16
- border-radius: 8px;
17
- padding: 12px;
18
- display: flex;
19
- flex-direction: column;
20
- margin-bottom: 12px;
21
-
22
- mecx-monkey-expansion-header {
23
- width: 100%;
24
- display: flex;
25
- justify-content: space-between;
26
- cursor: pointer;
27
- align-items: center;
28
-
29
- label {
30
- font-style: normal;
31
- font-weight: 600;
32
- font-size: 18px;
33
- line-height: 23px;
34
- color: #4b4a53;
35
- cursor: pointer;
36
- }
37
-
38
- helper {
39
- cursor: pointer;
40
- font-style: normal;
41
- font-weight: normal;
42
- font-size: 14px;
43
- line-height: 23px;
44
- color: #9c9ca6;
45
- cursor: pointer;
46
- }
47
- }
48
-
49
- mecx-monkey-expansion-body {
50
- padding: 16px;
51
- }
52
- }
53
-
54
- .mecx-monkey-expansion {
55
- &__theme {
56
- background: #fafafa;
57
- border: 1px solid #d6d6d6;
58
- box-sizing: border-box;
59
- box-shadow: 0px 4px 36px -8px rgba(88, 88, 88, 0.28);
60
- border-radius: 8px;
61
- }
62
-
63
- &__error {
64
- background: map-get($mecx-error, 100);
65
- border: 1px solid map-get($mecx-error, main);
66
- box-sizing: border-box;
67
- border-radius: 8px;
68
- }
69
-
70
- &__warning {
71
- background: map-get($mecx-warning, 100);
72
- border: 1px solid map-get($mecx-warning, main);
73
- box-sizing: border-box;
74
- border-radius: 8px;
75
- }
76
-
77
- &__success {
78
- background: map-get($mecx-success, 100);
79
- border: 1px solid map-get($mecx-success, main);
80
- box-sizing: border-box;
81
- border-radius: 8px;
82
- }
83
-
84
- &__question {
85
- background: map-get($mecx-question, 100);
86
- border: 1px solid map-get($mecx-question, main);
87
- box-sizing: border-box;
88
- border-radius: 8px;
89
- }
90
- }
91
- }
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-expansion {
9
+ width: 100%;
10
+
11
+ mecx-monkey-expansion {
12
+ width: 100%;
13
+ background: #fafafa;
14
+ border: 1px solid #d6d6d6;
15
+ box-sizing: border-box;
16
+ border-radius: 8px;
17
+ padding: 12px;
18
+ display: flex;
19
+ flex-direction: column;
20
+ margin-bottom: 12px;
21
+
22
+ mecx-monkey-expansion-header {
23
+ width: 100%;
24
+ display: flex;
25
+ justify-content: space-between;
26
+ cursor: pointer;
27
+ align-items: center;
28
+
29
+ label {
30
+ font-style: normal;
31
+ font-weight: 600;
32
+ font-size: 18px;
33
+ line-height: 23px;
34
+ color: #4b4a53;
35
+ cursor: pointer;
36
+ }
37
+
38
+ helper {
39
+ cursor: pointer;
40
+ font-style: normal;
41
+ font-weight: normal;
42
+ font-size: 14px;
43
+ line-height: 23px;
44
+ color: #9c9ca6;
45
+ cursor: pointer;
46
+ }
47
+ }
48
+
49
+ mecx-monkey-expansion-body {
50
+ padding: 16px;
51
+ }
52
+ }
53
+
54
+ .mecx-monkey-expansion {
55
+ &__theme {
56
+ background: #fafafa;
57
+ border: 1px solid #d6d6d6;
58
+ box-sizing: border-box;
59
+ box-shadow: 0px 4px 36px -8px rgba(88, 88, 88, 0.28);
60
+ border-radius: 8px;
61
+ }
62
+
63
+ &__error {
64
+ background: map-get($mecx-error, 100);
65
+ border: 1px solid map-get($mecx-error, main);
66
+ box-sizing: border-box;
67
+ border-radius: 8px;
68
+ }
69
+
70
+ &__warning {
71
+ background: map-get($mecx-warning, 100);
72
+ border: 1px solid map-get($mecx-warning, main);
73
+ box-sizing: border-box;
74
+ border-radius: 8px;
75
+ }
76
+
77
+ &__success {
78
+ background: map-get($mecx-success, 100);
79
+ border: 1px solid map-get($mecx-success, main);
80
+ box-sizing: border-box;
81
+ border-radius: 8px;
82
+ }
83
+
84
+ &__question {
85
+ background: map-get($mecx-question, 100);
86
+ border: 1px solid map-get($mecx-question, main);
87
+ box-sizing: border-box;
88
+ border-radius: 8px;
89
+ }
90
+ }
91
+ }