monkey-style-guide-v2 0.0.5 → 0.0.7

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 (164) hide show
  1. package/assets/scss/directives/_index.scss +7 -0
  2. package/assets/scss/directives/_styles.scss +100 -0
  3. package/assets/scss/input/_index.scss +7 -0
  4. package/assets/scss/input/_styles.scss +43 -0
  5. package/assets/scss/partials/_index.scss +7 -0
  6. package/assets/scss/partials/_style-reset.scss +189 -0
  7. package/assets/scss/partials/_variables.scss +178 -0
  8. package/assets/scss/table/_index.scss +7 -0
  9. package/assets/scss/table/_styles.scss +45 -0
  10. package/assets/scss/theme.scss +11 -0
  11. package/assets/scss/typography/_function.scss +23 -0
  12. package/assets/scss/typography/_index.scss +9 -0
  13. package/assets/scss/typography/_mixins.scss +111 -0
  14. package/assets/scss/typography/_styles.scss +186 -0
  15. package/esm2022/lib/components/index.mjs +13 -1
  16. package/esm2022/lib/components/monkey-accordion/index.mjs +2 -0
  17. package/esm2022/lib/components/monkey-accordion/monkey-accordion.component.mjs +102 -0
  18. package/esm2022/lib/components/monkey-alert/index.mjs +2 -0
  19. package/esm2022/lib/components/monkey-alert/monkey-alert.component.mjs +50 -0
  20. package/esm2022/lib/components/monkey-breadcrumb/index.mjs +2 -0
  21. package/esm2022/lib/components/monkey-breadcrumb/monkey-breadcrumb.component.mjs +56 -0
  22. package/esm2022/lib/components/monkey-button/monkey-button.component.mjs +27 -12
  23. package/esm2022/lib/components/monkey-checkbox/index.mjs +2 -0
  24. package/esm2022/lib/components/monkey-checkbox/monkey-checkbox.component.mjs +216 -0
  25. package/esm2022/lib/components/monkey-divider/index.mjs +2 -0
  26. package/esm2022/lib/components/monkey-divider/monkey-divider.component.mjs +44 -0
  27. package/esm2022/lib/components/monkey-form-field/form-field-control.mjs +15 -0
  28. package/esm2022/lib/components/monkey-form-field/form-field.mjs +250 -0
  29. package/esm2022/lib/components/monkey-form-field/index.mjs +5 -0
  30. package/esm2022/lib/components/monkey-form-field/module.mjs +21 -0
  31. package/esm2022/lib/components/monkey-form-field/utils.mjs +16 -0
  32. package/esm2022/lib/components/monkey-icon/monkey-icon.component.mjs +31 -15
  33. package/esm2022/lib/components/monkey-icon-button/monkey-icon-button.component.mjs +25 -9
  34. package/esm2022/lib/components/monkey-input/index.mjs +5 -0
  35. package/esm2022/lib/components/monkey-input/monkey-input-currency.directive.mjs +187 -0
  36. package/esm2022/lib/components/monkey-input/monkey-input.directive.mjs +166 -0
  37. package/esm2022/lib/components/monkey-input/monkey-input.module.mjs +24 -0
  38. package/esm2022/lib/components/monkey-input/validators.mjs +17 -0
  39. package/esm2022/lib/components/monkey-option/index.mjs +2 -0
  40. package/esm2022/lib/components/monkey-option/monkey-option.component.mjs +54 -0
  41. package/esm2022/lib/components/monkey-security-level/monkey-security-level.component.mjs +30 -14
  42. package/esm2022/lib/components/monkey-select/index.mjs +2 -0
  43. package/esm2022/lib/components/monkey-select/monkey-select.component.mjs +352 -0
  44. package/esm2022/lib/components/monkey-status/monkey-status.component.mjs +28 -12
  45. package/esm2022/lib/components/monkey-table/components/pagination-action/pagination-action.mjs +53 -0
  46. package/esm2022/lib/components/monkey-table/components/pagination-label/pagination-label.mjs +34 -0
  47. package/esm2022/lib/components/monkey-table/components/pagination-size/pagination-size.mjs +57 -0
  48. package/esm2022/lib/components/monkey-table/directives/column-checked.mjs +109 -0
  49. package/esm2022/lib/components/monkey-table/directives/column-expansible.mjs +134 -0
  50. package/esm2022/lib/components/monkey-table/directives/column-sortable.mjs +97 -0
  51. package/esm2022/lib/components/monkey-table/directives/column-stick.mjs +28 -0
  52. package/esm2022/lib/components/monkey-table/index.mjs +10 -0
  53. package/esm2022/lib/components/monkey-table/table.mjs +132 -0
  54. package/esm2022/lib/components/monkey-table/table.module.mjs +60 -0
  55. package/esm2022/lib/components/monkey-toast/index.mjs +2 -0
  56. package/esm2022/lib/components/monkey-toast/monkey-toast.component.mjs +74 -0
  57. package/esm2022/lib/components/monkey-toggle/monkey-toggle.component.mjs +28 -14
  58. package/esm2022/lib/components/monkey-toggle-line/index.mjs +3 -0
  59. package/esm2022/lib/components/monkey-toggle-line/monkey-toggle-line-button/index.mjs +2 -0
  60. package/esm2022/lib/components/monkey-toggle-line/monkey-toggle-line-button/monkey-toggle-line-button.component.mjs +24 -0
  61. package/esm2022/lib/components/monkey-toggle-line/monkey-toggle-line.component.mjs +85 -0
  62. package/esm2022/lib/components/monkey-tooltip/monkey-tooltip.directive.mjs +4 -4
  63. package/esm2022/lib/components/monkey-tooltip/tooltip/tooltip.component.mjs +20 -7
  64. package/esm2022/lib/directives/error.mjs +18 -0
  65. package/esm2022/lib/directives/helper.mjs +18 -0
  66. package/esm2022/lib/directives/index.mjs +8 -0
  67. package/esm2022/lib/directives/info.mjs +18 -0
  68. package/esm2022/lib/directives/label.mjs +18 -0
  69. package/esm2022/lib/directives/module.mjs +26 -0
  70. package/esm2022/lib/directives/prefix.mjs +18 -0
  71. package/esm2022/lib/directives/suffix.mjs +43 -0
  72. package/esm2022/lib/interfaces/alert.mjs +2 -0
  73. package/esm2022/lib/interfaces/breadcrumb.mjs +2 -0
  74. package/esm2022/lib/interfaces/button.mjs +2 -0
  75. package/esm2022/lib/interfaces/index.mjs +7 -0
  76. package/esm2022/lib/interfaces/sizes.mjs +2 -0
  77. package/esm2022/lib/interfaces/table.mjs +2 -0
  78. package/esm2022/lib/interfaces/toast.mjs +10 -0
  79. package/esm2022/lib/services/index.mjs +4 -0
  80. package/esm2022/lib/services/monkey-destroy.service.mjs +15 -0
  81. package/esm2022/lib/services/monkey-icons.service.mjs +45 -0
  82. package/esm2022/lib/services/monkey-toast.service.mjs +72 -0
  83. package/esm2022/public-api.mjs +6 -3
  84. package/esm2022/utils/id-generator.mjs +20 -0
  85. package/esm2022/utils/index.mjs +4 -0
  86. package/esm2022/utils/tests-utils.mjs +4 -0
  87. package/esm2022/utils/utils.mjs +10 -0
  88. package/fesm2022/monkey-style-guide-v2.mjs +2849 -129
  89. package/fesm2022/monkey-style-guide-v2.mjs.map +1 -1
  90. package/lib/components/index.d.ts +12 -0
  91. package/lib/components/monkey-accordion/index.d.ts +1 -0
  92. package/lib/components/monkey-accordion/monkey-accordion.component.d.ts +22 -0
  93. package/lib/components/monkey-alert/index.d.ts +1 -0
  94. package/lib/components/monkey-alert/monkey-alert.component.d.ts +23 -0
  95. package/lib/components/monkey-breadcrumb/index.d.ts +1 -0
  96. package/lib/components/monkey-breadcrumb/monkey-breadcrumb.component.d.ts +18 -0
  97. package/lib/components/monkey-button/monkey-button.component.d.ts +11 -4
  98. package/lib/components/monkey-checkbox/index.d.ts +1 -0
  99. package/lib/components/monkey-checkbox/monkey-checkbox.component.d.ts +50 -0
  100. package/lib/components/monkey-divider/index.d.ts +1 -0
  101. package/lib/components/monkey-divider/monkey-divider.component.d.ts +20 -0
  102. package/lib/components/monkey-form-field/form-field-control.d.ts +18 -0
  103. package/lib/components/monkey-form-field/form-field.d.ts +74 -0
  104. package/lib/components/monkey-form-field/index.d.ts +4 -0
  105. package/lib/components/monkey-form-field/module.d.ts +7 -0
  106. package/lib/components/monkey-form-field/utils.d.ts +6 -0
  107. package/lib/components/monkey-icon/monkey-icon.component.d.ts +6 -1
  108. package/lib/components/monkey-icon-button/monkey-icon-button.component.d.ts +6 -1
  109. package/lib/components/monkey-input/index.d.ts +4 -0
  110. package/lib/components/monkey-input/monkey-input-currency.directive.d.ts +57 -0
  111. package/lib/components/monkey-input/monkey-input.directive.d.ts +46 -0
  112. package/lib/components/monkey-input/monkey-input.module.d.ts +8 -0
  113. package/lib/components/monkey-input/validators.d.ts +1 -0
  114. package/lib/components/monkey-option/index.d.ts +1 -0
  115. package/lib/components/monkey-option/monkey-option.component.d.ts +22 -0
  116. package/lib/components/monkey-security-level/monkey-security-level.component.d.ts +7 -2
  117. package/lib/components/monkey-select/index.d.ts +1 -0
  118. package/lib/components/monkey-select/monkey-select.component.d.ts +74 -0
  119. package/lib/components/monkey-status/monkey-status.component.d.ts +8 -3
  120. package/lib/components/monkey-table/components/pagination-action/pagination-action.d.ts +17 -0
  121. package/lib/components/monkey-table/components/pagination-label/pagination-label.d.ts +10 -0
  122. package/lib/components/monkey-table/components/pagination-size/pagination-size.d.ts +15 -0
  123. package/lib/components/monkey-table/directives/column-checked.d.ts +32 -0
  124. package/lib/components/monkey-table/directives/column-expansible.d.ts +25 -0
  125. package/lib/components/monkey-table/directives/column-sortable.d.ts +24 -0
  126. package/lib/components/monkey-table/directives/column-stick.d.ts +6 -0
  127. package/lib/components/monkey-table/index.d.ts +9 -0
  128. package/lib/components/monkey-table/table.d.ts +32 -0
  129. package/lib/components/monkey-table/table.module.d.ts +15 -0
  130. package/lib/components/monkey-toast/index.d.ts +1 -0
  131. package/lib/components/monkey-toast/monkey-toast.component.d.ts +26 -0
  132. package/lib/components/monkey-toggle/monkey-toggle.component.d.ts +6 -1
  133. package/lib/components/monkey-toggle-line/index.d.ts +2 -0
  134. package/lib/components/monkey-toggle-line/monkey-toggle-line-button/index.d.ts +1 -0
  135. package/lib/components/monkey-toggle-line/monkey-toggle-line-button/monkey-toggle-line-button.component.d.ts +16 -0
  136. package/lib/components/monkey-toggle-line/monkey-toggle-line.component.d.ts +24 -0
  137. package/lib/components/monkey-tooltip/tooltip/tooltip.component.d.ts +5 -1
  138. package/lib/directives/error.d.ts +5 -0
  139. package/lib/directives/helper.d.ts +5 -0
  140. package/lib/directives/index.d.ts +7 -0
  141. package/lib/directives/info.d.ts +5 -0
  142. package/lib/directives/label.d.ts +5 -0
  143. package/lib/directives/module.d.ts +12 -0
  144. package/lib/directives/prefix.d.ts +5 -0
  145. package/lib/directives/suffix.d.ts +9 -0
  146. package/lib/interfaces/alert.d.ts +1 -0
  147. package/lib/interfaces/breadcrumb.d.ts +5 -0
  148. package/lib/interfaces/button.d.ts +1 -0
  149. package/lib/interfaces/index.d.ts +6 -0
  150. package/lib/interfaces/sizes.d.ts +1 -0
  151. package/lib/interfaces/table.d.ts +4 -0
  152. package/lib/interfaces/toast.d.ts +22 -0
  153. package/lib/services/index.d.ts +3 -0
  154. package/lib/services/monkey-destroy.service.d.ts +8 -0
  155. package/lib/services/monkey-icons.service.d.ts +14 -0
  156. package/lib/services/monkey-toast.service.d.ts +13 -0
  157. package/monkey-style-guide-v2-0.0.7.tgz +0 -0
  158. package/package.json +10 -3
  159. package/public-api.d.ts +5 -2
  160. package/utils/id-generator.d.ts +6 -0
  161. package/utils/index.d.ts +3 -0
  162. package/utils/tests-utils.d.ts +1 -0
  163. package/utils/utils.d.ts +1 -0
  164. package/monkey-style-guide-v2-0.0.5.tgz +0 -0
@@ -0,0 +1,7 @@
1
+ /**************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ **************************/
6
+
7
+ @import 'styles';
@@ -0,0 +1,100 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+
7
+ monkey-label {
8
+ color: var(--mecx-color-gray-900);
9
+ font-size: 14px;
10
+ font-style: normal;
11
+ font-weight: 400;
12
+ line-height: 16px;
13
+ letter-spacing: 0.42px;
14
+
15
+ .mecx-disabled & {
16
+ color: var(--mecx-color-gray-400);
17
+ }
18
+ }
19
+
20
+ monkey-helper {
21
+ color: var(--mecx-color-gray-500);
22
+ text-align: right;
23
+ font-size: 12px;
24
+ font-style: normal;
25
+ font-weight: 400;
26
+ line-height: 16px;
27
+ letter-spacing: 0.42px;
28
+
29
+ .mecx-disabled & {
30
+ color: var(--mecx-color-gray-400);
31
+ }
32
+ }
33
+
34
+ monkey-prefix {
35
+ color: var(--mecx-color-gray-700);
36
+ font-size: 22px;
37
+ font-weight: normal;
38
+
39
+ .mk-i {
40
+ display: flex;
41
+ }
42
+
43
+ .mecx-disabled & {
44
+ color: var(--mecx-color-gray-400) !important;
45
+ pointer-events: none;
46
+ }
47
+ }
48
+
49
+ monkey-suffix {
50
+ color: var(--mecx-color-theme-main);
51
+ font-size: 22px;
52
+ font-weight: normal;
53
+ cursor: pointer;
54
+
55
+ .mk-i {
56
+ display: flex;
57
+ }
58
+
59
+ .mecx-disabled & {
60
+ color: var(--mecx-color-gray-400) !important;
61
+ pointer-events: none;
62
+ }
63
+ }
64
+
65
+ monkey-info {
66
+ color: var(--mecx-color-gray-700);
67
+ font-size: 12px;
68
+ font-style: normal;
69
+ font-weight: 400;
70
+ line-height: 16px;
71
+ letter-spacing: 0.42px;
72
+ display: flex;
73
+
74
+ .mecx-disabled & {
75
+ color: var(--mecx-color-gray-400) !important;
76
+ pointer-events: none;
77
+ }
78
+ }
79
+
80
+ monkey-error {
81
+ color: var(--mecx-color-error-700);
82
+ font-size: 12px;
83
+ font-style: normal;
84
+ font-weight: 400;
85
+ line-height: 16px;
86
+ letter-spacing: 0.42px;
87
+ display: flex;
88
+ gap: 2px;
89
+ align-items: center;
90
+ transform: translateY(-9px);
91
+ animation: slideDown 150ms ease-out forwards;
92
+ transition: 2s cubic-bezier(0.215, 0.61, 0.355, 1);
93
+ }
94
+
95
+ @keyframes slideDown {
96
+ to {
97
+ opacity: 1;
98
+ transform: translateY(0);
99
+ }
100
+ }
@@ -0,0 +1,7 @@
1
+ /**************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ **************************/
6
+
7
+ @import 'styles';
@@ -0,0 +1,43 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+
7
+ .mecx-input {
8
+ border: none;
9
+ width: 100%;
10
+
11
+ &::placeholder {
12
+ font-size: 14px;
13
+ font-style: normal;
14
+ font-weight: 400;
15
+ line-height: normal;
16
+ }
17
+
18
+ &:disabled {
19
+ pointer-events: none;
20
+ color: var(--mecx-color-gray-400) !important;
21
+
22
+ &::placeholder {
23
+ color: var(--mecx-color-gray-400) !important;
24
+ }
25
+ }
26
+ }
27
+
28
+ input[type='date'] {
29
+ appearance: none;
30
+ -webkit-appearance: none;
31
+ -moz-appearance: none;
32
+ background: none;
33
+ position: relative;
34
+ }
35
+
36
+ input[type='date']::-webkit-calendar-picker-indicator {
37
+ display: none;
38
+ -webkit-appearance: none;
39
+ }
40
+
41
+ input[type='date']::-webkit-calendar-picker-indicator {
42
+ opacity: 0;
43
+ }
@@ -0,0 +1,7 @@
1
+ /**************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ **************************/
6
+ @import 'style-reset';
7
+ @import 'variables';
@@ -0,0 +1,189 @@
1
+ /*
2
+ html5doctor.com Reset Stylesheet
3
+ v1.6.1
4
+ Last Updated: 2010-09-17
5
+ Author: Richard Clark - http://richclarkdesign.com
6
+ Twitter: @rich_clark
7
+ */
8
+
9
+ html,
10
+ body,
11
+ div,
12
+ span,
13
+ object,
14
+ iframe,
15
+ h1,
16
+ h2,
17
+ h3,
18
+ h4,
19
+ h5,
20
+ h6,
21
+ p,
22
+ blockquote,
23
+ pre,
24
+ abbr,
25
+ address,
26
+ cite,
27
+ code,
28
+ del,
29
+ dfn,
30
+ em,
31
+ img,
32
+ ins,
33
+ kbd,
34
+ q,
35
+ samp,
36
+ small,
37
+ strong,
38
+ sub,
39
+ sup,
40
+ var,
41
+ b,
42
+ i,
43
+ dl,
44
+ dt,
45
+ dd,
46
+ ol,
47
+ ul,
48
+ li,
49
+ fieldset,
50
+ form,
51
+ label,
52
+ legend,
53
+ table,
54
+ caption,
55
+ tbody,
56
+ tfoot,
57
+ thead,
58
+ tr,
59
+ th,
60
+ td,
61
+ article,
62
+ aside,
63
+ canvas,
64
+ details,
65
+ figcaption,
66
+ figure,
67
+ footer,
68
+ header,
69
+ hgroup,
70
+ menu,
71
+ nav,
72
+ section,
73
+ summary,
74
+ time,
75
+ mark,
76
+ audio,
77
+ video {
78
+ margin: 0;
79
+ padding: 0;
80
+ border: 0;
81
+ outline: 0;
82
+ font-size: 100%;
83
+ vertical-align: baseline;
84
+ background: transparent;
85
+ }
86
+
87
+ body {
88
+ line-height: 1;
89
+ }
90
+
91
+ article,
92
+ aside,
93
+ details,
94
+ figcaption,
95
+ figure,
96
+ footer,
97
+ header,
98
+ hgroup,
99
+ menu,
100
+ nav,
101
+ section {
102
+ display: block;
103
+ }
104
+
105
+ nav ul {
106
+ list-style: none;
107
+ }
108
+
109
+ blockquote,
110
+ q {
111
+ quotes: none;
112
+ }
113
+
114
+ blockquote:before,
115
+ blockquote:after,
116
+ q:before,
117
+ q:after {
118
+ content: '';
119
+ content: none;
120
+ }
121
+
122
+ a {
123
+ margin: 0;
124
+ padding: 0;
125
+ font-size: 100%;
126
+ vertical-align: baseline;
127
+ background: transparent;
128
+ }
129
+
130
+ /* change colours to suit your needs */
131
+ ins {
132
+ background-color: #ff9;
133
+ color: #000;
134
+ text-decoration: none;
135
+ }
136
+
137
+ /* change colours to suit your needs */
138
+ mark {
139
+ background-color: #ff9;
140
+ color: #000;
141
+ font-style: italic;
142
+ font-weight: bold;
143
+ }
144
+
145
+ del {
146
+ text-decoration: line-through;
147
+ }
148
+
149
+ abbr[title],
150
+ dfn[title] {
151
+ border-bottom: 1px dotted;
152
+ cursor: help;
153
+ }
154
+
155
+ table {
156
+ border-collapse: collapse;
157
+ border-spacing: 0;
158
+ }
159
+
160
+ /* change border colour to suit your needs */
161
+ hr {
162
+ display: block;
163
+ height: 1px;
164
+ border: 0;
165
+ border-top: 1px solid #cccccc;
166
+ margin: 1em 0;
167
+ padding: 0;
168
+ }
169
+
170
+ input,
171
+ select {
172
+ vertical-align: middle;
173
+ }
174
+
175
+ input:focus,
176
+ textarea:focus,
177
+ select:focus {
178
+ outline: none;
179
+ }
180
+
181
+ button:focus,
182
+ button:active,
183
+ button:hover {
184
+ outline: none;
185
+ }
186
+
187
+ button {
188
+ border: none;
189
+ }
@@ -0,0 +1,178 @@
1
+ /**************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ **************************/
6
+
7
+ $mecx-theme: (
8
+ main: var(--mecx-color-theme-main),
9
+ 50: #fff,
10
+ 100: var(--mecx-color-theme-100),
11
+ 200: var(--mecx-color-theme-200),
12
+ 300: var(--mecx-color-theme-300),
13
+ 400: var(--mecx-color-theme-400),
14
+ 500: var(--mecx-color-theme-500),
15
+ 600: var(--mecx-color-theme-600),
16
+ 700: var(--mecx-color-theme-700),
17
+ 800: var(--mecx-color-theme-800),
18
+ 900: var(--mecx-color-theme-900),
19
+ A100: var(--mecx-color-theme-A100),
20
+ A200: var(--mecx-color-theme-A200),
21
+ A400: var(--mecx-color-theme-A400),
22
+ A700: var(--mecx-color-theme-A700),
23
+ contrast: (
24
+ main: var(--mecx-color-theme-contrast-main),
25
+ 50: var(--mecx-color-theme-contrast-50),
26
+ 100: var(--mecx-color-theme-contrast-100),
27
+ 200: var(--mecx-color-theme-contrast-200),
28
+ 300: var(--mecx-color-theme-contrast-300),
29
+ 400: var(--mecx-color-theme-contrast-400),
30
+ 500: var(--mecx-color-theme-contrast-500),
31
+ 600: var(--mecx-color-theme-contrast-600),
32
+ 700: var(--mecx-color-theme-contrast-700),
33
+ 800: var(--mecx-color-theme-contrast-800),
34
+ 900: var(--mecx-color-theme-contrast-900),
35
+ A100: var(--mecx-color-theme-contrast-A100),
36
+ A200: var(--mecx-color-theme-contrast-A200),
37
+ A400: var(--mecx-color-theme-contrast-A400),
38
+ A700: var(--mecx-color-theme-contrast-A700)
39
+ )
40
+ );
41
+ $mecx-warning: (
42
+ main: var(--mecx-color-warning-main),
43
+ 100: var(--mecx-color-warning-100),
44
+ 200: var(--mecx-color-warning-200),
45
+ 300: var(--mecx-color-warning-300),
46
+ 400: var(--mecx-color-warning-400),
47
+ 500: var(--mecx-color-warning-500),
48
+ 600: var(--mecx-color-warning-600),
49
+ 700: var(--mecx-color-warning-700),
50
+ 800: var(--mecx-color-warning-800),
51
+ 900: var(--mecx-color-warning-900),
52
+ contrast: (
53
+ main: var(--mecx-color-warning-contrast-main),
54
+ 100: var(--mecx-color-warning-contrast-100),
55
+ 200: var(--mecx-color-warning-contrast-200),
56
+ 300: var(--mecx-color-warning-contrast-300),
57
+ 400: var(--mecx-color-warning-contrast-400),
58
+ 500: var(--mecx-color-warning-contrast-500),
59
+ 600: var(--mecx-color-warning-contrast-600),
60
+ 700: var(--mecx-color-warning-contrast-700),
61
+ 800: var(--mecx-color-warning-contrast-800),
62
+ 900: var(--mecx-color-warning-contrast-900)
63
+ )
64
+ );
65
+ $mecx-question: (
66
+ main: var(--mecx-color-question-main),
67
+ 100: var(--mecx-color-question-100),
68
+ 200: var(--mecx-color-question-200),
69
+ 300: var(--mecx-color-question-300),
70
+ 400: var(--mecx-color-question-400),
71
+ 500: var(--mecx-color-question-500),
72
+ 600: var(--mecx-color-question-600),
73
+ 700: var(--mecx-color-question-700),
74
+ 800: var(--mecx-color-question-800),
75
+ 900: var(--mecx-color-question-900),
76
+ contrast: (
77
+ main: var(--mecx-color-question-contrast-main),
78
+ 100: var(--mecx-color-question-contrast-100),
79
+ 200: var(--mecx-color-question-contrast-200),
80
+ 300: var(--mecx-color-question-contrast-300),
81
+ 400: var(--mecx-color-question-contrast-400),
82
+ 500: var(--mecx-color-question-contrast-500),
83
+ 600: var(--mecx-color-question-contrast-600),
84
+ 700: var(--mecx-color-question-contrast-700),
85
+ 800: var(--mecx-color-question-contrast-800),
86
+ 900: var(--mecx-color-question-contrast-900)
87
+ )
88
+ );
89
+ $mecx-success: (
90
+ main: var(--mecx-color-success-main),
91
+ 100: var(--mecx-color-success-100),
92
+ 200: var(--mecx-color-success-200),
93
+ 300: var(--mecx-color-success-300),
94
+ 400: var(--mecx-color-success-400),
95
+ 500: var(--mecx-color-success-500),
96
+ 600: var(--mecx-color-success-600),
97
+ 700: var(--mecx-color-success-700),
98
+ 800: var(--mecx-color-success-800),
99
+ 900: var(--mecx-color-success-900),
100
+ contrast: (
101
+ main: var(--mecx-color-success-contrast-main),
102
+ 100: var(--mecx-color-success-contrast-100),
103
+ 200: var(--mecx-color-success-contrast-200),
104
+ 300: var(--mecx-color-success-contrast-300),
105
+ 400: var(--mecx-color-success-contrast-400),
106
+ 500: var(--mecx-color-success-contrast-500),
107
+ 600: var(--mecx-color-success-contrast-600),
108
+ 700: var(--mecx-color-success-contrast-700),
109
+ 800: var(--mecx-color-success-contrast-800),
110
+ 900: var(--mecx-color-success-contrast-900)
111
+ )
112
+ );
113
+ $mecx-error: (
114
+ main: var(--mecx-color-error-main),
115
+ 100: var(--mecx-color-error-100),
116
+ 200: var(--mecx-color-error-200),
117
+ 300: var(--mecx-color-error-300),
118
+ 400: var(--mecx-color-error-400),
119
+ 500: var(--mecx-color-error-500),
120
+ 600: var(--mecx-color-error-600),
121
+ 700: var(--mecx-color-error-700),
122
+ 800: var(--mecx-color-error-800),
123
+ 900: var(--mecx-color-error-900),
124
+ contrast: (
125
+ main: var(--mecx-color-error-contrast-main),
126
+ 100: var(--mecx-color-error-contrast-100),
127
+ 200: var(--mecx-color-error-contrast-200),
128
+ 300: var(--mecx-color-error-contrast-300),
129
+ 400: var(--mecx-color-error-contrast-400),
130
+ 500: var(--mecx-color-error-contrast-500),
131
+ 600: var(--mecx-color-error-contrast-600),
132
+ 700: var(--mecx-color-error-contrast-700),
133
+ 800: var(--mecx-color-error-contrast-800),
134
+ 900: var(--mecx-color-error-contrast-900)
135
+ )
136
+ );
137
+ $mecx-gray: (
138
+ 50: #f8fafb,
139
+ 100: #f1f2f3,
140
+ 200: #e9eaec,
141
+ 300: #d3d6da,
142
+ 400: #bdc1c7,
143
+ 500: #868d98,
144
+ 600: #676e79,
145
+ 700: #545a63,
146
+ 800: #2f3237,
147
+ 900: #1f2024
148
+ );
149
+ $mecx-align: ('left', 'center', 'right', 'justify');
150
+ $mecx-sizes: (
151
+ base: 14px,
152
+ xxs: 14px,
153
+ xs: 16px,
154
+ sm: 18px,
155
+ md: 20px,
156
+ lg: 24px,
157
+ xl: 32px,
158
+ xxl: 40px
159
+ );
160
+ $mecx-lh: (
161
+ base: 1.6,
162
+ tight: 16px,
163
+ med: 24px,
164
+ dist: 32px,
165
+ super: 40px,
166
+ hiper: 48px
167
+ );
168
+ $mecx-weight: (
169
+ regular: 400,
170
+ medium: 500,
171
+ bold: 700
172
+ );
173
+ $mecx-spaces: (
174
+ xs: 8px,
175
+ small: 12px,
176
+ medium: 16px,
177
+ cozy: 24px
178
+ );
@@ -0,0 +1,7 @@
1
+ /**************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ **************************/
6
+
7
+ @import 'styles';
@@ -0,0 +1,45 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+
7
+ .mecx-table {
8
+ width: 100%;
9
+ min-width: 400px;
10
+ height: 100%;
11
+ border-collapse: separate;
12
+
13
+ /*thead {
14
+ text-align: start;
15
+ width: 100%;
16
+ background: var(--mecx-color-gray-50);
17
+ position: sticky;
18
+ top: 0;
19
+ z-index: 3;
20
+ }
21
+
22
+ th {
23
+ text-align: start;
24
+ background: var(--mecx-color-gray-50);
25
+ border-bottom: 2px solid var(--mecx-color-gray-300);
26
+ padding: 16px 12px;
27
+ }
28
+
29
+ td {
30
+ text-align: start;
31
+ padding: 16px 12px;
32
+ border-bottom: 2px solid var(--mecx-color-gray-100);
33
+ }
34
+
35
+ tbody {
36
+ position: relative;
37
+ z-index: 2;
38
+
39
+ tr {
40
+ &:hover {
41
+ background: var(--mecx-color-gray-100);
42
+ }
43
+ }
44
+ }*/
45
+ }
@@ -0,0 +1,11 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+
7
+ @import './partials';
8
+ @import './typography';
9
+ @import './input';
10
+ @import './directives';
11
+ @import './table';
@@ -0,0 +1,23 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+
7
+ @import '../partials/variables';
8
+
9
+ @function f-size($key) {
10
+ @return map-get($mecx-sizes, $key);
11
+ }
12
+
13
+ @function f-lh($key) {
14
+ @return map-get($mecx-lh, $key);
15
+ }
16
+
17
+ @function f-weight($key) {
18
+ @return map-get($mecx-weight, $key);
19
+ }
20
+
21
+ @function f-cl-gray($key) {
22
+ @return map-get($mecx-gray, $key);
23
+ }
@@ -0,0 +1,9 @@
1
+ /**************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ **************************/
6
+
7
+ @import 'styles';
8
+ @import 'mixins';
9
+ @import 'function';