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.
Files changed (143) hide show
  1. package/assets/scss/directives/_index.scss +3 -3
  2. package/assets/scss/input/_index.scss +1 -1
  3. package/assets/scss/partials/_breakpoints.scss +145 -0
  4. package/assets/scss/partials/_grid-system.scss +5069 -0
  5. package/assets/scss/partials/_helper-classes.scss +335 -0
  6. package/assets/scss/partials/_index.scss +8 -3
  7. package/assets/scss/partials/_scrollbars.scss +30 -0
  8. package/assets/scss/partials/_skeleton-loading.scss +67 -0
  9. package/assets/scss/partials/_style-reset.scss +11 -9
  10. package/assets/scss/partials/_variables.scss +49 -111
  11. package/assets/scss/table/_index.scss +1 -1
  12. package/assets/scss/theme.scss +12 -18
  13. package/assets/scss/typography/_index.scss +1 -3
  14. package/assets/scss/typography/_styles.scss +103 -103
  15. package/fesm2022/monkey-style-guide-v2.mjs +288 -279
  16. package/fesm2022/monkey-style-guide-v2.mjs.map +1 -1
  17. package/lib/components/form-field/form-field-control.d.ts +1 -1
  18. package/lib/components/input-phone/input-phone.component.d.ts +0 -2
  19. package/monkey-style-guide-v2-0.0.29.tgz +0 -0
  20. package/package.json +8 -10
  21. package/assets/scss/typography/_function.scss +0 -23
  22. package/assets/scss/typography/_mixins.scss +0 -111
  23. package/esm2022/lib/components/accordion/accordion.component.mjs +0 -93
  24. package/esm2022/lib/components/accordion/index.mjs +0 -7
  25. package/esm2022/lib/components/action-bar/action-bar.component.mjs +0 -46
  26. package/esm2022/lib/components/action-bar/index.mjs +0 -7
  27. package/esm2022/lib/components/alert/alert.component.mjs +0 -50
  28. package/esm2022/lib/components/alert/index.mjs +0 -7
  29. package/esm2022/lib/components/avatar/avatar.component.mjs +0 -55
  30. package/esm2022/lib/components/avatar/index.mjs +0 -7
  31. package/esm2022/lib/components/badge/badge.component.mjs +0 -74
  32. package/esm2022/lib/components/badge/index.mjs +0 -7
  33. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -56
  34. package/esm2022/lib/components/breadcrumb/index.mjs +0 -7
  35. package/esm2022/lib/components/button/button.component.mjs +0 -59
  36. package/esm2022/lib/components/button/index.mjs +0 -7
  37. package/esm2022/lib/components/checkbox/checkbox.component.mjs +0 -215
  38. package/esm2022/lib/components/checkbox/index.mjs +0 -7
  39. package/esm2022/lib/components/date-range/date-range.component.mjs +0 -239
  40. package/esm2022/lib/components/date-range/index.mjs +0 -7
  41. package/esm2022/lib/components/date-range/month/index.mjs +0 -7
  42. package/esm2022/lib/components/date-range/month/month.component.mjs +0 -148
  43. package/esm2022/lib/components/date-range/quick-actions/index.mjs +0 -7
  44. package/esm2022/lib/components/date-range/quick-actions/quick-actions.component.mjs +0 -48
  45. package/esm2022/lib/components/date-range/utils.mjs +0 -102
  46. package/esm2022/lib/components/divider/divider.component.mjs +0 -44
  47. package/esm2022/lib/components/divider/index.mjs +0 -7
  48. package/esm2022/lib/components/form-field/form-field-control.mjs +0 -15
  49. package/esm2022/lib/components/form-field/form-field.component.mjs +0 -265
  50. package/esm2022/lib/components/form-field/form-field.module.mjs +0 -23
  51. package/esm2022/lib/components/form-field/index.mjs +0 -10
  52. package/esm2022/lib/components/form-field/utils.mjs +0 -16
  53. package/esm2022/lib/components/icon/icon.component.mjs +0 -51
  54. package/esm2022/lib/components/icon/index.mjs +0 -7
  55. package/esm2022/lib/components/icon-button/icon-button.component.mjs +0 -59
  56. package/esm2022/lib/components/icon-button/index.mjs +0 -7
  57. package/esm2022/lib/components/index.mjs +0 -34
  58. package/esm2022/lib/components/input/index.mjs +0 -9
  59. package/esm2022/lib/components/input/input-currency.directive.mjs +0 -185
  60. package/esm2022/lib/components/input/input.directive.mjs +0 -185
  61. package/esm2022/lib/components/input/input.module.mjs +0 -24
  62. package/esm2022/lib/components/input/validators.mjs +0 -22
  63. package/esm2022/lib/components/input-code/index.mjs +0 -7
  64. package/esm2022/lib/components/input-code/input-code.component.mjs +0 -232
  65. package/esm2022/lib/components/input-phone/index.mjs +0 -7
  66. package/esm2022/lib/components/input-phone/input-phone.component.mjs +0 -324
  67. package/esm2022/lib/components/input-upload/index.mjs +0 -7
  68. package/esm2022/lib/components/input-upload/input-upload.component.mjs +0 -238
  69. package/esm2022/lib/components/modal/components/confirmation.component.mjs +0 -73
  70. package/esm2022/lib/components/modal/components/default.mjs +0 -65
  71. package/esm2022/lib/components/modal/directives/actions.mjs +0 -29
  72. package/esm2022/lib/components/modal/directives/content.mjs +0 -26
  73. package/esm2022/lib/components/modal/directives/subtitle.mjs +0 -26
  74. package/esm2022/lib/components/modal/directives/title.mjs +0 -26
  75. package/esm2022/lib/components/modal/index.mjs +0 -16
  76. package/esm2022/lib/components/modal/modal-config.mjs +0 -19
  77. package/esm2022/lib/components/modal/modal-ref.mjs +0 -56
  78. package/esm2022/lib/components/modal/modal.component.mjs +0 -119
  79. package/esm2022/lib/components/modal/modal.module.mjs +0 -56
  80. package/esm2022/lib/components/modal/modal.service.mjs +0 -150
  81. package/esm2022/lib/components/modal/utils.mjs +0 -24
  82. package/esm2022/lib/components/option/index.mjs +0 -7
  83. package/esm2022/lib/components/option/option.component.mjs +0 -70
  84. package/esm2022/lib/components/radio-button/index.mjs +0 -7
  85. package/esm2022/lib/components/radio-button/radio-button.component.mjs +0 -190
  86. package/esm2022/lib/components/security-level/index.mjs +0 -7
  87. package/esm2022/lib/components/security-level/security-level.component.mjs +0 -57
  88. package/esm2022/lib/components/select/index.mjs +0 -7
  89. package/esm2022/lib/components/select/select.component.mjs +0 -444
  90. package/esm2022/lib/components/status/index.mjs +0 -7
  91. package/esm2022/lib/components/status/status.component.mjs +0 -45
  92. package/esm2022/lib/components/table/components/pagination-action/pagination-action.mjs +0 -53
  93. package/esm2022/lib/components/table/components/pagination-label/pagination-label.mjs +0 -34
  94. package/esm2022/lib/components/table/components/pagination-size/pagination-size.mjs +0 -57
  95. package/esm2022/lib/components/table/directives/column-checked.mjs +0 -109
  96. package/esm2022/lib/components/table/directives/column-expansible.mjs +0 -134
  97. package/esm2022/lib/components/table/directives/column-sortable.mjs +0 -97
  98. package/esm2022/lib/components/table/directives/column-stick.mjs +0 -28
  99. package/esm2022/lib/components/table/index.mjs +0 -15
  100. package/esm2022/lib/components/table/table.component.mjs +0 -133
  101. package/esm2022/lib/components/table/table.module.mjs +0 -63
  102. package/esm2022/lib/components/toast/index.mjs +0 -7
  103. package/esm2022/lib/components/toast/toast.component.mjs +0 -79
  104. package/esm2022/lib/components/toggle/index.mjs +0 -7
  105. package/esm2022/lib/components/toggle/toggle.component.mjs +0 -74
  106. package/esm2022/lib/components/toggle-line/index.mjs +0 -8
  107. package/esm2022/lib/components/toggle-line/toggle-line-button/index.mjs +0 -7
  108. package/esm2022/lib/components/toggle-line/toggle-line-button/toggle-line-button.component.mjs +0 -24
  109. package/esm2022/lib/components/toggle-line/toggle-line.component.mjs +0 -85
  110. package/esm2022/lib/components/tooltip/index.mjs +0 -8
  111. package/esm2022/lib/components/tooltip/tooltip/index.mjs +0 -7
  112. package/esm2022/lib/components/tooltip/tooltip/tooltip.component.mjs +0 -58
  113. package/esm2022/lib/components/tooltip/tooltip.directive.mjs +0 -189
  114. package/esm2022/lib/directives/badge.mjs +0 -74
  115. package/esm2022/lib/directives/error.mjs +0 -18
  116. package/esm2022/lib/directives/helper.mjs +0 -18
  117. package/esm2022/lib/directives/index.mjs +0 -15
  118. package/esm2022/lib/directives/info.mjs +0 -18
  119. package/esm2022/lib/directives/label.mjs +0 -18
  120. package/esm2022/lib/directives/module.mjs +0 -61
  121. package/esm2022/lib/directives/popover.mjs +0 -385
  122. package/esm2022/lib/directives/prefix.mjs +0 -18
  123. package/esm2022/lib/directives/suffix.mjs +0 -43
  124. package/esm2022/lib/interfaces/alert.mjs +0 -2
  125. package/esm2022/lib/interfaces/breadcrumb.mjs +0 -2
  126. package/esm2022/lib/interfaces/button.mjs +0 -2
  127. package/esm2022/lib/interfaces/index.mjs +0 -13
  128. package/esm2022/lib/interfaces/popover.mjs +0 -2
  129. package/esm2022/lib/interfaces/sizes.mjs +0 -2
  130. package/esm2022/lib/interfaces/table.mjs +0 -2
  131. package/esm2022/lib/interfaces/toast.mjs +0 -10
  132. package/esm2022/lib/services/dictionary.service.mjs +0 -224
  133. package/esm2022/lib/services/index.mjs +0 -7
  134. package/esm2022/lib/services/toast.service.mjs +0 -79
  135. package/esm2022/lib/tokens/index.mjs +0 -10
  136. package/esm2022/monkey-style-guide-v2.mjs +0 -5
  137. package/esm2022/public-api.mjs +0 -11
  138. package/esm2022/utils/icon.mjs +0 -277
  139. package/esm2022/utils/id-generator.mjs +0 -20
  140. package/esm2022/utils/index.mjs +0 -5
  141. package/esm2022/utils/tests-utils.mjs +0 -4
  142. package/esm2022/utils/utils.mjs +0 -41
  143. package/monkey-style-guide-v2-0.0.27.tgz +0 -0
@@ -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
- :root {
15
- --mecx-color-box-shadow: #00000029;
16
- --mecx-color-info: #003687;
17
- --mecx-color-link: #0066cc;
18
- --mecx-color-white: #fff;
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,6 +4,4 @@
4
4
  * MIT Licence
5
5
  **************************/
6
6
 
7
- @import 'styles';
8
- @import 'mixins';
9
- @import 'function';
7
+ @use 'styles';
@@ -4,9 +4,7 @@
4
4
  * MIT Licence
5
5
  ************************* */
6
6
 
7
- @import 'mixins';
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
- size: f-size(xxl)
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
- size: f-size(xl)
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
- size: f-size(lg)
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
- size: f-size(md)
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
- size: f-size(sm)
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
- color: var(--mecx-color-link)
78
- )
79
- );
73
+ // @include mecx-font(
74
+ // (
75
+ // color: var(--mecx-color-link)
76
+ // )
77
+ // );
80
78
 
81
- &:hover {
82
- text-decoration: underline;
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
- size: f-size(xl),
134
- weight: f-weight(bold),
135
- height: f-lh(super),
136
- color: f-cl-gray(900)
137
- )
138
- );
139
- font-style: normal;
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
- size: f-size(xs),
146
- weight: f-weight(regular),
147
- height: f-lh(med),
148
- color: f-cl-gray(700)
149
- )
150
- );
151
- font-style: normal;
152
- letter-spacing: 0.48px;
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
- size: f-size(xs),
159
- weight: f-weight(regular),
160
- height: f-lh(md)
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
- size: f-size(xxs),
169
- weight: f-weight(regular),
170
- height: f-lh(md),
171
- color: f-cl-gray(700)
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
- size: f-size(xxs),
180
- weight: f-weight(regular),
181
- height: f-lh(md)
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
- size: f-size(xxs),
190
- weight: f-weight(regular),
191
- height: f-lh(md)
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
  }