monkey-style-guide-v2 0.0.27 → 0.0.29
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.
- package/assets/scss/directives/_index.scss +3 -3
- package/assets/scss/input/_index.scss +1 -1
- package/assets/scss/partials/_breakpoints.scss +145 -0
- package/assets/scss/partials/_grid-system.scss +5069 -0
- package/assets/scss/partials/_helper-classes.scss +335 -0
- package/assets/scss/partials/_index.scss +8 -3
- package/assets/scss/partials/_scrollbars.scss +30 -0
- package/assets/scss/partials/_skeleton-loading.scss +67 -0
- package/assets/scss/partials/_style-reset.scss +11 -9
- package/assets/scss/partials/_variables.scss +49 -111
- package/assets/scss/table/_index.scss +1 -1
- package/assets/scss/theme.scss +12 -18
- package/assets/scss/typography/_index.scss +1 -3
- package/assets/scss/typography/_styles.scss +103 -103
- package/fesm2022/monkey-style-guide-v2.mjs +288 -279
- package/fesm2022/monkey-style-guide-v2.mjs.map +1 -1
- package/lib/components/form-field/form-field-control.d.ts +1 -1
- package/lib/components/input-phone/input-phone.component.d.ts +0 -2
- package/monkey-style-guide-v2-0.0.29.tgz +0 -0
- package/package.json +8 -10
- package/assets/scss/typography/_function.scss +0 -23
- package/assets/scss/typography/_mixins.scss +0 -111
- package/esm2022/lib/components/accordion/accordion.component.mjs +0 -93
- package/esm2022/lib/components/accordion/index.mjs +0 -7
- package/esm2022/lib/components/action-bar/action-bar.component.mjs +0 -46
- package/esm2022/lib/components/action-bar/index.mjs +0 -7
- package/esm2022/lib/components/alert/alert.component.mjs +0 -50
- package/esm2022/lib/components/alert/index.mjs +0 -7
- package/esm2022/lib/components/avatar/avatar.component.mjs +0 -55
- package/esm2022/lib/components/avatar/index.mjs +0 -7
- package/esm2022/lib/components/badge/badge.component.mjs +0 -74
- package/esm2022/lib/components/badge/index.mjs +0 -7
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -56
- package/esm2022/lib/components/breadcrumb/index.mjs +0 -7
- package/esm2022/lib/components/button/button.component.mjs +0 -59
- package/esm2022/lib/components/button/index.mjs +0 -7
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +0 -215
- package/esm2022/lib/components/checkbox/index.mjs +0 -7
- package/esm2022/lib/components/date-range/date-range.component.mjs +0 -239
- package/esm2022/lib/components/date-range/index.mjs +0 -7
- package/esm2022/lib/components/date-range/month/index.mjs +0 -7
- package/esm2022/lib/components/date-range/month/month.component.mjs +0 -148
- package/esm2022/lib/components/date-range/quick-actions/index.mjs +0 -7
- package/esm2022/lib/components/date-range/quick-actions/quick-actions.component.mjs +0 -48
- package/esm2022/lib/components/date-range/utils.mjs +0 -102
- package/esm2022/lib/components/divider/divider.component.mjs +0 -44
- package/esm2022/lib/components/divider/index.mjs +0 -7
- package/esm2022/lib/components/form-field/form-field-control.mjs +0 -15
- package/esm2022/lib/components/form-field/form-field.component.mjs +0 -265
- package/esm2022/lib/components/form-field/form-field.module.mjs +0 -23
- package/esm2022/lib/components/form-field/index.mjs +0 -10
- package/esm2022/lib/components/form-field/utils.mjs +0 -16
- package/esm2022/lib/components/icon/icon.component.mjs +0 -51
- package/esm2022/lib/components/icon/index.mjs +0 -7
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +0 -59
- package/esm2022/lib/components/icon-button/index.mjs +0 -7
- package/esm2022/lib/components/index.mjs +0 -34
- package/esm2022/lib/components/input/index.mjs +0 -9
- package/esm2022/lib/components/input/input-currency.directive.mjs +0 -185
- package/esm2022/lib/components/input/input.directive.mjs +0 -185
- package/esm2022/lib/components/input/input.module.mjs +0 -24
- package/esm2022/lib/components/input/validators.mjs +0 -22
- package/esm2022/lib/components/input-code/index.mjs +0 -7
- package/esm2022/lib/components/input-code/input-code.component.mjs +0 -232
- package/esm2022/lib/components/input-phone/index.mjs +0 -7
- package/esm2022/lib/components/input-phone/input-phone.component.mjs +0 -324
- package/esm2022/lib/components/input-upload/index.mjs +0 -7
- package/esm2022/lib/components/input-upload/input-upload.component.mjs +0 -238
- package/esm2022/lib/components/modal/components/confirmation.component.mjs +0 -73
- package/esm2022/lib/components/modal/components/default.mjs +0 -65
- package/esm2022/lib/components/modal/directives/actions.mjs +0 -29
- package/esm2022/lib/components/modal/directives/content.mjs +0 -26
- package/esm2022/lib/components/modal/directives/subtitle.mjs +0 -26
- package/esm2022/lib/components/modal/directives/title.mjs +0 -26
- package/esm2022/lib/components/modal/index.mjs +0 -16
- package/esm2022/lib/components/modal/modal-config.mjs +0 -19
- package/esm2022/lib/components/modal/modal-ref.mjs +0 -56
- package/esm2022/lib/components/modal/modal.component.mjs +0 -119
- package/esm2022/lib/components/modal/modal.module.mjs +0 -56
- package/esm2022/lib/components/modal/modal.service.mjs +0 -150
- package/esm2022/lib/components/modal/utils.mjs +0 -24
- package/esm2022/lib/components/option/index.mjs +0 -7
- package/esm2022/lib/components/option/option.component.mjs +0 -70
- package/esm2022/lib/components/radio-button/index.mjs +0 -7
- package/esm2022/lib/components/radio-button/radio-button.component.mjs +0 -190
- package/esm2022/lib/components/security-level/index.mjs +0 -7
- package/esm2022/lib/components/security-level/security-level.component.mjs +0 -57
- package/esm2022/lib/components/select/index.mjs +0 -7
- package/esm2022/lib/components/select/select.component.mjs +0 -444
- package/esm2022/lib/components/status/index.mjs +0 -7
- package/esm2022/lib/components/status/status.component.mjs +0 -45
- package/esm2022/lib/components/table/components/pagination-action/pagination-action.mjs +0 -53
- package/esm2022/lib/components/table/components/pagination-label/pagination-label.mjs +0 -34
- package/esm2022/lib/components/table/components/pagination-size/pagination-size.mjs +0 -57
- package/esm2022/lib/components/table/directives/column-checked.mjs +0 -109
- package/esm2022/lib/components/table/directives/column-expansible.mjs +0 -134
- package/esm2022/lib/components/table/directives/column-sortable.mjs +0 -97
- package/esm2022/lib/components/table/directives/column-stick.mjs +0 -28
- package/esm2022/lib/components/table/index.mjs +0 -15
- package/esm2022/lib/components/table/table.component.mjs +0 -133
- package/esm2022/lib/components/table/table.module.mjs +0 -63
- package/esm2022/lib/components/toast/index.mjs +0 -7
- package/esm2022/lib/components/toast/toast.component.mjs +0 -79
- package/esm2022/lib/components/toggle/index.mjs +0 -7
- package/esm2022/lib/components/toggle/toggle.component.mjs +0 -74
- package/esm2022/lib/components/toggle-line/index.mjs +0 -8
- package/esm2022/lib/components/toggle-line/toggle-line-button/index.mjs +0 -7
- package/esm2022/lib/components/toggle-line/toggle-line-button/toggle-line-button.component.mjs +0 -24
- package/esm2022/lib/components/toggle-line/toggle-line.component.mjs +0 -85
- package/esm2022/lib/components/tooltip/index.mjs +0 -8
- package/esm2022/lib/components/tooltip/tooltip/index.mjs +0 -7
- package/esm2022/lib/components/tooltip/tooltip/tooltip.component.mjs +0 -58
- package/esm2022/lib/components/tooltip/tooltip.directive.mjs +0 -189
- package/esm2022/lib/directives/badge.mjs +0 -74
- package/esm2022/lib/directives/error.mjs +0 -18
- package/esm2022/lib/directives/helper.mjs +0 -18
- package/esm2022/lib/directives/index.mjs +0 -15
- package/esm2022/lib/directives/info.mjs +0 -18
- package/esm2022/lib/directives/label.mjs +0 -18
- package/esm2022/lib/directives/module.mjs +0 -61
- package/esm2022/lib/directives/popover.mjs +0 -385
- package/esm2022/lib/directives/prefix.mjs +0 -18
- package/esm2022/lib/directives/suffix.mjs +0 -43
- package/esm2022/lib/interfaces/alert.mjs +0 -2
- package/esm2022/lib/interfaces/breadcrumb.mjs +0 -2
- package/esm2022/lib/interfaces/button.mjs +0 -2
- package/esm2022/lib/interfaces/index.mjs +0 -13
- package/esm2022/lib/interfaces/popover.mjs +0 -2
- package/esm2022/lib/interfaces/sizes.mjs +0 -2
- package/esm2022/lib/interfaces/table.mjs +0 -2
- package/esm2022/lib/interfaces/toast.mjs +0 -10
- package/esm2022/lib/services/dictionary.service.mjs +0 -224
- package/esm2022/lib/services/index.mjs +0 -7
- package/esm2022/lib/services/toast.service.mjs +0 -79
- package/esm2022/lib/tokens/index.mjs +0 -10
- package/esm2022/monkey-style-guide-v2.mjs +0 -5
- package/esm2022/public-api.mjs +0 -11
- package/esm2022/utils/icon.mjs +0 -277
- package/esm2022/utils/id-generator.mjs +0 -20
- package/esm2022/utils/index.mjs +0 -5
- package/esm2022/utils/tests-utils.mjs +0 -4
- package/esm2022/utils/utils.mjs +0 -41
- package/monkey-style-guide-v2-0.0.27.tgz +0 -0
package/assets/scss/theme.scss
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
3
|
-
* This style guide was developed by Monkey Exchange Team
|
|
4
|
-
* MIT Licence
|
|
5
|
-
************************* */
|
|
6
|
-
@import '@angular/cdk/overlay-prebuilt.css';
|
|
7
|
-
|
|
8
|
-
@import './partials';
|
|
9
|
-
@import './typography';
|
|
10
|
-
@import './input';
|
|
11
|
-
@import './directives';
|
|
12
|
-
@import './table';
|
|
1
|
+
/* stylelint-disable color-no-hex */
|
|
13
2
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
3
|
+
/** ************************
|
|
4
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
5
|
+
* This style guide was developed by Monkey Exchange Team
|
|
6
|
+
* MIT Licence
|
|
7
|
+
************************* */
|
|
8
|
+
@use '@angular/cdk/overlay-prebuilt.css';
|
|
9
|
+
@use './partials';
|
|
10
|
+
@use './typography';
|
|
11
|
+
@use './input';
|
|
12
|
+
@use './directives';
|
|
13
|
+
@use './table';
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
* MIT Licence
|
|
5
5
|
************************* */
|
|
6
6
|
|
|
7
|
-
@
|
|
8
|
-
@import '../partials/variables';
|
|
9
|
-
@import 'function';
|
|
7
|
+
@use '../partials/variables';
|
|
10
8
|
|
|
11
9
|
* {
|
|
12
10
|
font-family: var(--mecx-font-name), arial, sans-serif;
|
|
@@ -21,85 +19,85 @@ body {
|
|
|
21
19
|
}
|
|
22
20
|
|
|
23
21
|
h1 {
|
|
24
|
-
@include mecx-font(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
);
|
|
22
|
+
// @include mecx-font(
|
|
23
|
+
// (
|
|
24
|
+
// size: f-size(xxl)
|
|
25
|
+
// )
|
|
26
|
+
// );
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
h2 {
|
|
32
|
-
@include mecx-font(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
);
|
|
30
|
+
// @include mecx-font(
|
|
31
|
+
// (
|
|
32
|
+
// size: f-size(xl)
|
|
33
|
+
// )
|
|
34
|
+
// );
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
h3 {
|
|
40
|
-
@include mecx-font(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
);
|
|
38
|
+
// @include mecx-font(
|
|
39
|
+
// (
|
|
40
|
+
// size: f-size(lg)
|
|
41
|
+
// )
|
|
42
|
+
// );
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
h4 {
|
|
48
|
-
@include mecx-font(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
);
|
|
46
|
+
// @include mecx-font(
|
|
47
|
+
// (
|
|
48
|
+
// size: f-size(md)
|
|
49
|
+
// )
|
|
50
|
+
// );
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
h5 {
|
|
56
|
-
@include mecx-font(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
);
|
|
54
|
+
// @include mecx-font(
|
|
55
|
+
// (
|
|
56
|
+
// size: f-size(sm)
|
|
57
|
+
// )
|
|
58
|
+
// );
|
|
61
59
|
}
|
|
62
60
|
|
|
63
61
|
h6 {
|
|
64
|
-
@include mecx-font;
|
|
62
|
+
// @include mecx-font;
|
|
65
63
|
}
|
|
66
64
|
|
|
67
65
|
p {
|
|
68
|
-
@include mecx-font;
|
|
66
|
+
// @include mecx-font;
|
|
69
67
|
}
|
|
70
68
|
|
|
71
69
|
a {
|
|
72
|
-
text-decoration: none;
|
|
73
|
-
cursor: pointer;
|
|
70
|
+
// text-decoration: none;
|
|
71
|
+
// cursor: pointer;
|
|
74
72
|
|
|
75
|
-
@include mecx-font(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
);
|
|
73
|
+
// @include mecx-font(
|
|
74
|
+
// (
|
|
75
|
+
// color: var(--mecx-color-link)
|
|
76
|
+
// )
|
|
77
|
+
// );
|
|
80
78
|
|
|
81
|
-
&:hover {
|
|
82
|
-
|
|
83
|
-
}
|
|
79
|
+
// &:hover {
|
|
80
|
+
// text-decoration: underline;
|
|
81
|
+
// }
|
|
84
82
|
}
|
|
85
83
|
|
|
86
84
|
.bg {
|
|
87
|
-
@include gray-cl('background-color');
|
|
88
|
-
@include theme-cl('background-color');
|
|
89
|
-
@include warning-cl('background-color');
|
|
90
|
-
@include success-cl('background-color');
|
|
85
|
+
// @include gray-cl('background-color');
|
|
86
|
+
// @include theme-cl('background-color');
|
|
87
|
+
// @include warning-cl('background-color');
|
|
88
|
+
// @include success-cl('background-color');
|
|
91
89
|
}
|
|
92
90
|
|
|
93
91
|
.txt {
|
|
94
|
-
@include gray-cl;
|
|
95
|
-
@include theme-cl;
|
|
96
|
-
@include warning-cl;
|
|
97
|
-
@include success-cl;
|
|
98
|
-
@include error-cl;
|
|
99
|
-
@include align;
|
|
100
|
-
@include sizes;
|
|
101
|
-
@include weight;
|
|
102
|
-
@include line-height;
|
|
92
|
+
// @include gray-cl;
|
|
93
|
+
// @include theme-cl;
|
|
94
|
+
// @include warning-cl;
|
|
95
|
+
// @include success-cl;
|
|
96
|
+
// @include error-cl;
|
|
97
|
+
// @include align;
|
|
98
|
+
// @include sizes;
|
|
99
|
+
// @include weight;
|
|
100
|
+
// @include line-height;
|
|
103
101
|
|
|
104
102
|
&-none {
|
|
105
103
|
text-decoration: none;
|
|
@@ -122,73 +120,75 @@ a {
|
|
|
122
120
|
}
|
|
123
121
|
|
|
124
122
|
&-shadow {
|
|
125
|
-
text-shadow: 2px 2px 4px;
|
|
126
|
-
color: f-cl-gray(700);
|
|
123
|
+
// text-shadow: 2px 2px 4px;
|
|
124
|
+
// color: f-cl-gray(700);
|
|
127
125
|
}
|
|
128
126
|
}
|
|
129
127
|
|
|
130
128
|
.mecx-title-page {
|
|
131
|
-
@include mecx-font(
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
);
|
|
139
|
-
|
|
129
|
+
// @include mecx-font(
|
|
130
|
+
// (
|
|
131
|
+
// size: f-size(xl),
|
|
132
|
+
// weight: f-weight(bold),
|
|
133
|
+
// height: f-lh(super),
|
|
134
|
+
// color: f-cl-gray(900)
|
|
135
|
+
// )
|
|
136
|
+
// );
|
|
137
|
+
|
|
138
|
+
// font-style: normal;
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
.mecx-subtitle-page {
|
|
143
|
-
@include mecx-font(
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
);
|
|
151
|
-
|
|
152
|
-
|
|
142
|
+
// @include mecx-font(
|
|
143
|
+
// (
|
|
144
|
+
// size: f-size(xs),
|
|
145
|
+
// weight: f-weight(regular),
|
|
146
|
+
// height: f-lh(med),
|
|
147
|
+
// color: f-cl-gray(700)
|
|
148
|
+
// )
|
|
149
|
+
// );
|
|
150
|
+
|
|
151
|
+
// font-style: normal;
|
|
152
|
+
// letter-spacing: 0.48px;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.mecx-description {
|
|
156
|
-
@include mecx-font(
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
);
|
|
156
|
+
// @include mecx-font(
|
|
157
|
+
// (
|
|
158
|
+
// size: f-size(xs),
|
|
159
|
+
// weight: f-weight(regular),
|
|
160
|
+
// height: f-lh(md)
|
|
161
|
+
// )
|
|
162
|
+
// );
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
.mecx-title {
|
|
166
|
-
@include mecx-font(
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
);
|
|
166
|
+
// @include mecx-font(
|
|
167
|
+
// (
|
|
168
|
+
// size: f-size(xxs),
|
|
169
|
+
// weight: f-weight(regular),
|
|
170
|
+
// height: f-lh(md),
|
|
171
|
+
// color: f-cl-gray(700)
|
|
172
|
+
// )
|
|
173
|
+
// );
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
.mecx-value {
|
|
177
|
-
@include mecx-font(
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
);
|
|
177
|
+
// @include mecx-font(
|
|
178
|
+
// (
|
|
179
|
+
// size: f-size(xxs),
|
|
180
|
+
// weight: f-weight(regular),
|
|
181
|
+
// height: f-lh(md)
|
|
182
|
+
// )
|
|
183
|
+
// );
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
.mecx-label {
|
|
187
|
-
@include mecx-font(
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
);
|
|
187
|
+
// @include mecx-font(
|
|
188
|
+
// (
|
|
189
|
+
// size: f-size(xxs),
|
|
190
|
+
// weight: f-weight(regular),
|
|
191
|
+
// height: f-lh(md)
|
|
192
|
+
// )
|
|
193
|
+
// );
|
|
194
194
|
}
|