monkey-style-guide 2.0.170 → 2.0.172

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 (53) hide show
  1. package/README.md +3 -2
  2. package/assets/icons/average-tax.svg +6 -6
  3. package/assets/icons/bank-agency.svg +8 -8
  4. package/assets/icons/drag-drop.svg +8 -8
  5. package/assets/icons/hands-clap.svg +10 -10
  6. package/assets/icons/money-discount.svg +8 -8
  7. package/assets/icons/money-net.svg +8 -8
  8. package/assets/icons/money-new.svg +7 -7
  9. package/assets/icons/office-work.svg +10 -10
  10. package/assets/icons/phone-call.svg +4 -4
  11. package/assets/icons/pin-navigation.svg +5 -5
  12. package/assets/icons/registration.svg +8 -8
  13. package/assets/icons/user-group.svg +8 -8
  14. package/assets/scss/partials/_breakpoints.scss +35 -35
  15. package/assets/scss/partials/components/_badge.scss +55 -55
  16. package/assets/scss/partials/components/_modal.scss +282 -282
  17. package/assets/scss/partials/components/_tab.scss +82 -82
  18. package/assets/scss/partials/components/_toggle.scss +103 -103
  19. package/esm2020/lib/components/badge/badge.module.mjs +1 -1
  20. package/esm2020/lib/components/badge/index.mjs +1 -1
  21. package/esm2020/lib/components/expansion/expansion.module.mjs +1 -1
  22. package/esm2020/lib/components/expansion/index.mjs +1 -1
  23. package/esm2020/lib/components/icon/icon-average-tax.mjs +3 -3
  24. package/esm2020/lib/components/icon/icon-bank-agency.mjs +3 -3
  25. package/esm2020/lib/components/icon/icon-drag-drop.component.mjs +3 -3
  26. package/esm2020/lib/components/icon/icon-hands-clap.component.mjs +3 -3
  27. package/esm2020/lib/components/icon/icon-money-discount.mjs +3 -3
  28. package/esm2020/lib/components/icon/icon-money-net.mjs +3 -3
  29. package/esm2020/lib/components/icon/icon-money-new.mjs +3 -3
  30. package/esm2020/lib/components/icon/icon-phone-call.component.mjs +3 -3
  31. package/esm2020/lib/components/icon/icon-pin-navigation.component.mjs +3 -3
  32. package/esm2020/lib/components/icon/icon-registration.mjs +3 -3
  33. package/esm2020/lib/components/icon/icon-user-group.component.mjs +3 -3
  34. package/esm2020/lib/components/icon/icon.component.mjs +3 -3
  35. package/esm2020/lib/components/tab/index.mjs +1 -1
  36. package/esm2020/lib/components/tab/tab.component.mjs +9 -9
  37. package/esm2020/lib/components/tab/tab.module.mjs +1 -1
  38. package/esm2020/lib/components/toggle/index.mjs +1 -1
  39. package/esm2020/lib/components/toggle/toggle.module.mjs +1 -1
  40. package/esm2020/lib/core/interfaces/index.mjs +1 -1
  41. package/esm2020/lib/core/interfaces/monkey-modal-settings.mjs +1 -1
  42. package/esm2020/lib/core/services/modal/index.mjs +1 -1
  43. package/esm2020/lib/core/services/modal/monkey-style-guide-modal-fixed.service.mjs +1 -1
  44. package/esm2020/lib/core/services/modal/monkey-style-guide-modal.service.mjs +1 -1
  45. package/esm2020/lib/core/services/settings/monkey-style-guide-settings.service.mjs +3 -3
  46. package/fesm2015/monkey-style-guide.mjs +34 -34
  47. package/fesm2015/monkey-style-guide.mjs.map +1 -1
  48. package/fesm2020/monkey-style-guide.mjs +34 -34
  49. package/fesm2020/monkey-style-guide.mjs.map +1 -1
  50. package/lib/core/services/settings/monkey-style-guide-settings.service.d.ts +2 -2
  51. package/monkey-style-guide-2.0.172.tgz +0 -0
  52. package/package.json +1 -1
  53. package/monkey-style-guide-2.0.170.tgz +0 -0
@@ -1,282 +1,282 @@
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-modal {
9
- mecx-monkey-modal {
10
- position: fixed;
11
- width: 100%;
12
- max-height: 80%;
13
- z-index: 1000;
14
- left: 50%;
15
- top: 50%;
16
- transform: translate(-50%, -50%);
17
- padding: 12px;
18
-
19
- .header {
20
- text-align: center;
21
- min-height: 40px;
22
- max-height: 100px;
23
- display: flex;
24
- justify-content: space-between;
25
- align-items: center;
26
-
27
- .close {
28
- font-style: normal;
29
- font-weight: 600;
30
- font-size: 20px;
31
- line-height: 24px;
32
- text-align: center;
33
- color: #4b4a53;
34
- cursor: pointer;
35
- width: 25px;
36
- height: 30px;
37
- padding: 1px;
38
-
39
- &:hover {
40
- background: #e4e4e4;
41
- border-radius: 14px;
42
- box-shadow: 0px 4px 36px -8px rgba(88, 88, 88, 0.28);
43
- }
44
- }
45
- }
46
-
47
- .body {
48
- max-height: 70vh;
49
- overflow-y: auto;
50
- overflow-x: hidden;
51
- margin-bottom: 70px;
52
- }
53
-
54
- mecx-monkey-modal-footer {
55
- bottom: 0;
56
- background: #fafafa;
57
- border-bottom-left-radius: 8px;
58
- border-bottom-right-radius: 8px;
59
- display: flex;
60
- width: 100%;
61
- }
62
-
63
- .mecx-monkey-modal-footer {
64
- &__theme {
65
- background: #fafafa;
66
- }
67
-
68
- &__error {
69
- background: map-get($mecx-error, 100);
70
- }
71
-
72
- &__warning {
73
- background: map-get($mecx-warning, 100);
74
- }
75
-
76
- &__success {
77
- background: map-get($mecx-success, 100);
78
- }
79
-
80
- &__question {
81
- background: map-get($mecx-question, 100);
82
- }
83
-
84
- &__size-sm {
85
- monkey-button:first-child {
86
- width: 100%;
87
- margin-left: 12px;
88
- margin-right: 12px;
89
-
90
- button {
91
- text-align: center;
92
- width: 100%;
93
- }
94
- }
95
-
96
- monkey-button:last-child {
97
- width: 100%;
98
- margin-left: 12px;
99
- margin-right: 12px;
100
-
101
- button {
102
- text-align: center;
103
- width: 100%;
104
- }
105
- }
106
-
107
- monkey-button:first-child {
108
- margin-top: 12px !important;
109
- }
110
- }
111
-
112
- &__size-md {
113
- monkey-button {
114
- width: 100%;
115
- margin-bottom: 12px;
116
-
117
- button {
118
- text-align: center;
119
- width: 100%;
120
- }
121
- }
122
-
123
- monkey-button:not(:first-child) {
124
- margin-left: 4px !important;
125
- }
126
-
127
- monkey-button:first-child {
128
- margin-left: 26px !important;
129
- }
130
-
131
- monkey-button:last-child {
132
- margin-right: 26px !important;
133
- }
134
- }
135
-
136
- &__size-lg {
137
- justify-content: flex-end;
138
- monkey-button {
139
- margin-bottom: 12px;
140
-
141
- button {
142
- text-align: center;
143
- width: 100%;
144
- }
145
- }
146
-
147
- monkey-button:first-child {
148
- margin-left: 4px;
149
- margin-right: 4px;
150
-
151
- button {
152
- text-align: center;
153
- width: 100%;
154
- }
155
- }
156
-
157
- monkey-button:last-child {
158
- margin-left: 4px;
159
- margin-right: 14px !important;
160
-
161
- button {
162
- text-align: center;
163
- width: 100%;
164
- }
165
- }
166
- }
167
-
168
- &__row {
169
- flex-direction: row;
170
- margin-top: 4px;
171
- position: inherit;
172
- bottom: 0;
173
- left: 0;
174
-
175
- monkey-button:not(:first-child) {
176
- margin-left: 4px !important;
177
-
178
- button {
179
- text-align: center;
180
- width: 100%;
181
- }
182
- }
183
- }
184
-
185
- &__column {
186
- flex-direction: column;
187
- margin-top: 4px;
188
- bottom: 0;
189
- left: 0;
190
-
191
- monkey-button {
192
- margin-left: 0px !important;
193
- margin-right: 0px !important;
194
- margin-top: 4px;
195
-
196
- button {
197
- text-align: center;
198
- width: 100%;
199
- }
200
- }
201
- }
202
- }
203
- }
204
-
205
- .mecx-monkey-modal {
206
- &__theme {
207
- background: #fafafa;
208
- border: 1px solid #d6d6d6;
209
- box-sizing: border-box;
210
- box-shadow: 0px 4px 36px -8px rgba(88, 88, 88, 0.28);
211
- border-radius: 8px;
212
- }
213
-
214
- &__error {
215
- background: map-get($mecx-error, 100);
216
- border: 1px solid map-get($mecx-error, main);
217
- box-sizing: border-box;
218
- border-radius: 8px;
219
- }
220
-
221
- &__warning {
222
- background: map-get($mecx-warning, 100);
223
- border: 1px solid map-get($mecx-warning, main);
224
- box-sizing: border-box;
225
- border-radius: 8px;
226
- }
227
-
228
- &__success {
229
- background: map-get($mecx-success, 100);
230
- border: 1px solid map-get($mecx-success, main);
231
- box-sizing: border-box;
232
- border-radius: 8px;
233
- }
234
-
235
- &__question {
236
- background: map-get($mecx-question, 100);
237
- border: 1px solid map-get($mecx-question, main);
238
- box-sizing: border-box;
239
- border-radius: 8px;
240
- }
241
-
242
- &__size-sm {
243
- max-width: 400px;
244
-
245
- .body {
246
- max-height: 55vh;
247
- overflow-y: auto;
248
- overflow-x: hidden;
249
- margin-bottom: 0px !important;
250
- }
251
-
252
- monkey-modal mecx-monkey-modal mecx-monkey-modal-body {
253
- margin-bottom: 150px !important;
254
- }
255
- }
256
-
257
- &__size-md {
258
- max-width: 700px;
259
- //max-height: 80%;
260
- }
261
-
262
- &__size-lg {
263
- width: 80%;
264
- //max-height: 80%;
265
- }
266
- }
267
- }
268
-
269
- mecx-monkey-modal-background {
270
- position: fixed;
271
- top: 0;
272
- right: 0;
273
- bottom: 0;
274
- left: 0;
275
- background: rgba(27, 27, 27, 0.52);
276
- backdrop-filter: blur(3px);
277
- z-index: 900;
278
- }
279
-
280
- body.mecx-monkey-open {
281
- overflow: hidden;
282
- }
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-modal {
9
+ mecx-monkey-modal {
10
+ position: fixed;
11
+ width: 100%;
12
+ max-height: 80%;
13
+ z-index: 1000;
14
+ left: 50%;
15
+ top: 50%;
16
+ transform: translate(-50%, -50%);
17
+ padding: 12px;
18
+
19
+ .header {
20
+ text-align: center;
21
+ min-height: 40px;
22
+ max-height: 100px;
23
+ display: flex;
24
+ justify-content: space-between;
25
+ align-items: center;
26
+
27
+ .close {
28
+ font-style: normal;
29
+ font-weight: 600;
30
+ font-size: 20px;
31
+ line-height: 24px;
32
+ text-align: center;
33
+ color: #4b4a53;
34
+ cursor: pointer;
35
+ width: 25px;
36
+ height: 30px;
37
+ padding: 1px;
38
+
39
+ &:hover {
40
+ background: #e4e4e4;
41
+ border-radius: 14px;
42
+ box-shadow: 0px 4px 36px -8px rgba(88, 88, 88, 0.28);
43
+ }
44
+ }
45
+ }
46
+
47
+ .body {
48
+ max-height: 70vh;
49
+ overflow-y: auto;
50
+ overflow-x: hidden;
51
+ margin-bottom: 70px;
52
+ }
53
+
54
+ mecx-monkey-modal-footer {
55
+ bottom: 0;
56
+ background: #fafafa;
57
+ border-bottom-left-radius: 8px;
58
+ border-bottom-right-radius: 8px;
59
+ display: flex;
60
+ width: 100%;
61
+ }
62
+
63
+ .mecx-monkey-modal-footer {
64
+ &__theme {
65
+ background: #fafafa;
66
+ }
67
+
68
+ &__error {
69
+ background: map-get($mecx-error, 100);
70
+ }
71
+
72
+ &__warning {
73
+ background: map-get($mecx-warning, 100);
74
+ }
75
+
76
+ &__success {
77
+ background: map-get($mecx-success, 100);
78
+ }
79
+
80
+ &__question {
81
+ background: map-get($mecx-question, 100);
82
+ }
83
+
84
+ &__size-sm {
85
+ monkey-button:first-child {
86
+ width: 100%;
87
+ margin-left: 12px;
88
+ margin-right: 12px;
89
+
90
+ button {
91
+ text-align: center;
92
+ width: 100%;
93
+ }
94
+ }
95
+
96
+ monkey-button:last-child {
97
+ width: 100%;
98
+ margin-left: 12px;
99
+ margin-right: 12px;
100
+
101
+ button {
102
+ text-align: center;
103
+ width: 100%;
104
+ }
105
+ }
106
+
107
+ monkey-button:first-child {
108
+ margin-top: 12px !important;
109
+ }
110
+ }
111
+
112
+ &__size-md {
113
+ monkey-button {
114
+ width: 100%;
115
+ margin-bottom: 12px;
116
+
117
+ button {
118
+ text-align: center;
119
+ width: 100%;
120
+ }
121
+ }
122
+
123
+ monkey-button:not(:first-child) {
124
+ margin-left: 4px !important;
125
+ }
126
+
127
+ monkey-button:first-child {
128
+ margin-left: 26px !important;
129
+ }
130
+
131
+ monkey-button:last-child {
132
+ margin-right: 26px !important;
133
+ }
134
+ }
135
+
136
+ &__size-lg {
137
+ justify-content: flex-end;
138
+ monkey-button {
139
+ margin-bottom: 12px;
140
+
141
+ button {
142
+ text-align: center;
143
+ width: 100%;
144
+ }
145
+ }
146
+
147
+ monkey-button:first-child {
148
+ margin-left: 4px;
149
+ margin-right: 4px;
150
+
151
+ button {
152
+ text-align: center;
153
+ width: 100%;
154
+ }
155
+ }
156
+
157
+ monkey-button:last-child {
158
+ margin-left: 4px;
159
+ margin-right: 14px !important;
160
+
161
+ button {
162
+ text-align: center;
163
+ width: 100%;
164
+ }
165
+ }
166
+ }
167
+
168
+ &__row {
169
+ flex-direction: row;
170
+ margin-top: 4px;
171
+ position: inherit;
172
+ bottom: 0;
173
+ left: 0;
174
+
175
+ monkey-button:not(:first-child) {
176
+ margin-left: 4px !important;
177
+
178
+ button {
179
+ text-align: center;
180
+ width: 100%;
181
+ }
182
+ }
183
+ }
184
+
185
+ &__column {
186
+ flex-direction: column;
187
+ margin-top: 4px;
188
+ bottom: 0;
189
+ left: 0;
190
+
191
+ monkey-button {
192
+ margin-left: 0px !important;
193
+ margin-right: 0px !important;
194
+ margin-top: 4px;
195
+
196
+ button {
197
+ text-align: center;
198
+ width: 100%;
199
+ }
200
+ }
201
+ }
202
+ }
203
+ }
204
+
205
+ .mecx-monkey-modal {
206
+ &__theme {
207
+ background: #fafafa;
208
+ border: 1px solid #d6d6d6;
209
+ box-sizing: border-box;
210
+ box-shadow: 0px 4px 36px -8px rgba(88, 88, 88, 0.28);
211
+ border-radius: 8px;
212
+ }
213
+
214
+ &__error {
215
+ background: map-get($mecx-error, 100);
216
+ border: 1px solid map-get($mecx-error, main);
217
+ box-sizing: border-box;
218
+ border-radius: 8px;
219
+ }
220
+
221
+ &__warning {
222
+ background: map-get($mecx-warning, 100);
223
+ border: 1px solid map-get($mecx-warning, main);
224
+ box-sizing: border-box;
225
+ border-radius: 8px;
226
+ }
227
+
228
+ &__success {
229
+ background: map-get($mecx-success, 100);
230
+ border: 1px solid map-get($mecx-success, main);
231
+ box-sizing: border-box;
232
+ border-radius: 8px;
233
+ }
234
+
235
+ &__question {
236
+ background: map-get($mecx-question, 100);
237
+ border: 1px solid map-get($mecx-question, main);
238
+ box-sizing: border-box;
239
+ border-radius: 8px;
240
+ }
241
+
242
+ &__size-sm {
243
+ max-width: 400px;
244
+
245
+ .body {
246
+ max-height: 55vh;
247
+ overflow-y: auto;
248
+ overflow-x: hidden;
249
+ margin-bottom: 0px !important;
250
+ }
251
+
252
+ monkey-modal mecx-monkey-modal mecx-monkey-modal-body {
253
+ margin-bottom: 150px !important;
254
+ }
255
+ }
256
+
257
+ &__size-md {
258
+ max-width: 700px;
259
+ //max-height: 80%;
260
+ }
261
+
262
+ &__size-lg {
263
+ width: 80%;
264
+ //max-height: 80%;
265
+ }
266
+ }
267
+ }
268
+
269
+ mecx-monkey-modal-background {
270
+ position: fixed;
271
+ top: 0;
272
+ right: 0;
273
+ bottom: 0;
274
+ left: 0;
275
+ background: rgba(27, 27, 27, 0.52);
276
+ backdrop-filter: blur(3px);
277
+ z-index: 900;
278
+ }
279
+
280
+ body.mecx-monkey-open {
281
+ overflow: hidden;
282
+ }