@natec/mef-dev-ui-kit 21.0.265 → 22.0.289

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 (41) hide show
  1. package/README.md +338 -338
  2. package/fesm2022/natec-mef-dev-ui-kit.mjs +1054 -457
  3. package/fesm2022/natec-mef-dev-ui-kit.mjs.map +1 -1
  4. package/package.json +5 -8
  5. package/src/lib/styles/core.scss +44 -71
  6. package/src/lib/styles/fonts/google/montserrat/montserrat-cyrillic-ext.woff2 +0 -0
  7. package/src/lib/styles/fonts/google/montserrat/montserrat-cyrillic.woff2 +0 -0
  8. package/src/lib/styles/fonts/google/montserrat/montserrat-latin-ext.woff2 +0 -0
  9. package/src/lib/styles/fonts/google/montserrat/montserrat-latin.woff2 +0 -0
  10. package/src/lib/styles/fonts/google/montserrat/montserrat-vietnamese.woff2 +0 -0
  11. package/src/lib/styles/fonts/google/open-sans/open-sans-cyrillic-ext.woff2 +0 -0
  12. package/src/lib/styles/fonts/google/open-sans/open-sans-cyrillic.woff2 +0 -0
  13. package/src/lib/styles/fonts/google/open-sans/open-sans-greek-ext.woff2 +0 -0
  14. package/src/lib/styles/fonts/google/open-sans/open-sans-greek.woff2 +0 -0
  15. package/src/lib/styles/fonts/google/open-sans/open-sans-hebrew.woff2 +0 -0
  16. package/src/lib/styles/fonts/google/open-sans/open-sans-latin-ext.woff2 +0 -0
  17. package/src/lib/styles/fonts/google/open-sans/open-sans-latin.woff2 +0 -0
  18. package/src/lib/styles/fonts/google/open-sans/open-sans-math.woff2 +0 -0
  19. package/src/lib/styles/fonts/google/open-sans/open-sans-symbols.woff2 +0 -0
  20. package/src/lib/styles/fonts/google/open-sans/open-sans-vietnamese.woff2 +0 -0
  21. package/src/lib/styles/fonts/main-img-font/icomoon.svg +64 -64
  22. package/src/lib/styles/fonts.scss +112 -112
  23. package/src/lib/styles/global.scss +144 -2
  24. package/src/lib/styles/icomoon.scss +220 -220
  25. package/src/lib/styles/pg/modules/_buttons.scss +156 -86
  26. package/src/lib/styles/pg/modules/_form_elements.scss +77 -77
  27. package/src/lib/styles/pg/modules/_typography.scss +253 -253
  28. package/src/lib/styles/pg/vendor/md-datatable.scss +768 -768
  29. package/src/lib/styles/pg/vendor/md-grid.scss +712 -712
  30. package/src/lib/styles/vars.scss +104 -104
  31. package/types/natec-mef-dev-ui-kit.d.ts +274 -11
  32. package/types/natec-mef-dev-ui-kit.d.ts.map +1 -1
  33. package/src/lib/styles/fonts/pgicon/Pages-icon.eot +0 -0
  34. package/src/lib/styles/fonts/pgicon/Pages-icon.svg +0 -112
  35. package/src/lib/styles/fonts/pgicon/Pages-icon.ttf +0 -0
  36. package/src/lib/styles/fonts/pgicon/Pages-icon.woff +0 -0
  37. package/src/lib/styles/icons.scss +0 -331
  38. package/src/lib/styles/pg/modules/_breadcrumb.scss +0 -80
  39. package/src/lib/styles/pg/modules/_cards.scss +0 -416
  40. package/src/lib/styles/pg/modules/_sidebar.scss +0 -104
  41. package/src/lib/styles/pg/toaster.scss +0 -22
@@ -1,220 +1,220 @@
1
- /*------------------------------------------------------------------
2
- Icomoon Icons
3
- ------------------------------------------------------------------ */
4
- @font-face {
5
- font-family: 'icomoon';
6
- src: url('./fonts/main-img-font/icomoon.eot?97jr4n');
7
- src: url('./fonts/main-img-font/icomoon.eot?97jr4n#iefix') format('embedded-opentype'),
8
- url('./fonts/main-img-font/icomoon.ttf?97jr4n') format('truetype'),
9
- url('./fonts/main-img-font/icomoon.woff?97jr4n') format('woff'),
10
- url('./fonts/main-img-font/icomoon.svg?97jr4n#icomoon') format('svg');
11
- font-weight: normal;
12
- font-style: normal;
13
- font-display: block;
14
- }
15
- [class^='icon-'],
16
- [class*=' icon-'] {
17
- /* use !important to prevent issues with browser extensions that change ../fonts */
18
- font-family: 'icomoon' !important;
19
- font-style: normal;
20
- font-weight: normal;
21
- font-variant: normal;
22
- text-transform: none;
23
- line-height: 1;
24
-
25
- /* Better Font Rendering =========== */
26
- -webkit-font-smoothing: antialiased;
27
- -moz-osx-font-smoothing: grayscale;
28
- }
29
-
30
- .icon-info-light:before {
31
- content: '\e90d';
32
- }
33
- .icon-connector:before {
34
- content: '\e90e';
35
- }
36
- .icon-information:before {
37
- content: '\e90f';
38
- }
39
- .icon-plugin:before {
40
- content: '\e910';
41
- }
42
- .icon-check-connector:before {
43
- content: '\e911';
44
- }
45
- .icon-computer:before {
46
- content: '\e913';
47
- }
48
- .icon-trash-light:before {
49
- content: '\e915';
50
- }
51
- .icon-ok:before {
52
- content: '\e917';
53
- color: #28b446;
54
- }
55
- .icon-calendar:before {
56
- content: '\e919';
57
- }
58
- .icon-guard:before {
59
- content: '\e91f';
60
- }
61
- .icon-tenant:before {
62
- content: '\e922';
63
- }
64
- .icon-nok:before {
65
- content: '\e923';
66
- }
67
- .icon-lock .path1:before {
68
- content: '\e924';
69
- color: rgb(234, 234, 234);
70
- }
71
- .icon-lock .path2:before {
72
- content: '\e925';
73
- margin-left: -1.158203125em;
74
- color: rgb(55, 55, 55);
75
- }
76
- .icon-unlock .path1:before {
77
- content: '\e926';
78
- }
79
- .icon-unlock .path2:before {
80
- content: '\e927';
81
- margin-left: -1.2109375em;
82
- }
83
- .icon-logout:before {
84
- content: '\e90b';
85
- }
86
- .icon-unchecked:before {
87
- content: '\e90a';
88
- }
89
- .icon-notification .path1:before {
90
- content: '\e902';
91
- }
92
- .icon-notification .path2:before {
93
- content: '\e903';
94
- margin-left: -1em;
95
- }
96
- .icon-notification .path3:before {
97
- content: '\e904';
98
- margin-left: -1em;
99
- }
100
- .icon-notification .path4:before {
101
- content: '\e905';
102
- margin-left: -1em;
103
- }
104
- .icon-setings .path1:before {
105
- content: '\e908';
106
- }
107
- .icon-setings .path2:before {
108
- content: '\e909';
109
- margin-left: -1em;
110
- }
111
- .icon-person:before {
112
- content: '\e90c';
113
- }
114
- .icon-persons:before {
115
- content: '\e912';
116
- }
117
- .icon-configuration:before {
118
- content: '\e914';
119
- }
120
- .icon-support:before {
121
- content: '\e916';
122
- }
123
- .icon-log:before {
124
- content: '\e918';
125
- }
126
- .icon-msg_popup:before {
127
- content: '\e91a';
128
- }
129
- .icon-protect:before {
130
- content: '\e91b';
131
- }
132
- .icon-keys:before {
133
- content: '\e91c';
134
- }
135
- .icon-info:before {
136
- content: '\e91d';
137
- }
138
- .icon-tenats:before {
139
- content: '\e91e';
140
- }
141
- .icon-profile:before {
142
- content: '\e921';
143
- }
144
- .icon-msg:before {
145
- content: '\e928';
146
- }
147
- .icon-arrow:before {
148
- content: '\e929';
149
- }
150
- .icon-warning:before {
151
- content: '\e92a';
152
- }
153
- .icon-messages:before {
154
- content: '\e92b';
155
- }
156
- .icon-pause:before {
157
- content: '\e92c';
158
- }
159
- .icon-play:before {
160
- content: '\e92e';
161
- }
162
- .icon-store:before {
163
- content: '\e930';
164
- }
165
- .icon-trash:before {
166
- content: '\e931';
167
- }
168
- .icon-edit:before {
169
- content: '\e932';
170
- }
171
- .icon-checked:before {
172
- content: '\e933';
173
- }
174
- .icon-bell .path1:before {
175
- content: '\e936';
176
- }
177
- .icon-bell .path2:before {
178
- content: '\e937';
179
- margin-left: -0.9658203125em;
180
- }
181
- .icon-bell .path3:before {
182
- content: '\e938';
183
- margin-left: -0.9658203125em;
184
- }
185
-
186
- .icon-copy:before {
187
- content: '\e901';
188
- }
189
-
190
- .icon-code:before {
191
- content: '\e900';
192
- }
193
-
194
- .icon-code:before {
195
- content: '\e900';
196
- }
197
-
198
- .icon-arrow-dropdown::before {
199
- content: '\e906';
200
- }
201
-
202
- .icon-admin:before {
203
- content: '\e907';
204
- }
205
-
206
- .icon-developer:before {
207
- content: '\e90a';
208
- }
209
-
210
- .icon-developeradmin:before {
211
- content: '\e920';
212
- }
213
-
214
- .icon-enduser:before {
215
- content: '\e92d';
216
- }
217
-
218
- .icon-root:before {
219
- content: '\e92f';
220
- }
1
+ /*------------------------------------------------------------------
2
+ Icomoon Icons
3
+ ------------------------------------------------------------------ */
4
+ @font-face {
5
+ font-family: 'icomoon';
6
+ src: url('./fonts/main-img-font/icomoon.eot?97jr4n');
7
+ src: url('./fonts/main-img-font/icomoon.eot?97jr4n#iefix') format('embedded-opentype'),
8
+ url('./fonts/main-img-font/icomoon.ttf?97jr4n') format('truetype'),
9
+ url('./fonts/main-img-font/icomoon.woff?97jr4n') format('woff'),
10
+ url('./fonts/main-img-font/icomoon.svg?97jr4n#icomoon') format('svg');
11
+ font-weight: normal;
12
+ font-style: normal;
13
+ font-display: block;
14
+ }
15
+ [class^='icon-'],
16
+ [class*=' icon-'] {
17
+ /* use !important to prevent issues with browser extensions that change ../fonts */
18
+ font-family: 'icomoon' !important;
19
+ font-style: normal;
20
+ font-weight: normal;
21
+ font-variant: normal;
22
+ text-transform: none;
23
+ line-height: 1;
24
+
25
+ /* Better Font Rendering =========== */
26
+ -webkit-font-smoothing: antialiased;
27
+ -moz-osx-font-smoothing: grayscale;
28
+ }
29
+
30
+ .icon-info-light:before {
31
+ content: '\e90d';
32
+ }
33
+ .icon-connector:before {
34
+ content: '\e90e';
35
+ }
36
+ .icon-information:before {
37
+ content: '\e90f';
38
+ }
39
+ .icon-plugin:before {
40
+ content: '\e910';
41
+ }
42
+ .icon-check-connector:before {
43
+ content: '\e911';
44
+ }
45
+ .icon-computer:before {
46
+ content: '\e913';
47
+ }
48
+ .icon-trash-light:before {
49
+ content: '\e915';
50
+ }
51
+ .icon-ok:before {
52
+ content: '\e917';
53
+ color: #28b446;
54
+ }
55
+ .icon-calendar:before {
56
+ content: '\e919';
57
+ }
58
+ .icon-guard:before {
59
+ content: '\e91f';
60
+ }
61
+ .icon-tenant:before {
62
+ content: '\e922';
63
+ }
64
+ .icon-nok:before {
65
+ content: '\e923';
66
+ }
67
+ .icon-lock .path1:before {
68
+ content: '\e924';
69
+ color: rgb(234, 234, 234);
70
+ }
71
+ .icon-lock .path2:before {
72
+ content: '\e925';
73
+ margin-left: -1.158203125em;
74
+ color: rgb(55, 55, 55);
75
+ }
76
+ .icon-unlock .path1:before {
77
+ content: '\e926';
78
+ }
79
+ .icon-unlock .path2:before {
80
+ content: '\e927';
81
+ margin-left: -1.2109375em;
82
+ }
83
+ .icon-logout:before {
84
+ content: '\e90b';
85
+ }
86
+ .icon-unchecked:before {
87
+ content: '\e90a';
88
+ }
89
+ .icon-notification .path1:before {
90
+ content: '\e902';
91
+ }
92
+ .icon-notification .path2:before {
93
+ content: '\e903';
94
+ margin-left: -1em;
95
+ }
96
+ .icon-notification .path3:before {
97
+ content: '\e904';
98
+ margin-left: -1em;
99
+ }
100
+ .icon-notification .path4:before {
101
+ content: '\e905';
102
+ margin-left: -1em;
103
+ }
104
+ .icon-setings .path1:before {
105
+ content: '\e908';
106
+ }
107
+ .icon-setings .path2:before {
108
+ content: '\e909';
109
+ margin-left: -1em;
110
+ }
111
+ .icon-person:before {
112
+ content: '\e90c';
113
+ }
114
+ .icon-persons:before {
115
+ content: '\e912';
116
+ }
117
+ .icon-configuration:before {
118
+ content: '\e914';
119
+ }
120
+ .icon-support:before {
121
+ content: '\e916';
122
+ }
123
+ .icon-log:before {
124
+ content: '\e918';
125
+ }
126
+ .icon-msg_popup:before {
127
+ content: '\e91a';
128
+ }
129
+ .icon-protect:before {
130
+ content: '\e91b';
131
+ }
132
+ .icon-keys:before {
133
+ content: '\e91c';
134
+ }
135
+ .icon-info:before {
136
+ content: '\e91d';
137
+ }
138
+ .icon-tenats:before {
139
+ content: '\e91e';
140
+ }
141
+ .icon-profile:before {
142
+ content: '\e921';
143
+ }
144
+ .icon-msg:before {
145
+ content: '\e928';
146
+ }
147
+ .icon-arrow:before {
148
+ content: '\e929';
149
+ }
150
+ .icon-warning:before {
151
+ content: '\e92a';
152
+ }
153
+ .icon-messages:before {
154
+ content: '\e92b';
155
+ }
156
+ .icon-pause:before {
157
+ content: '\e92c';
158
+ }
159
+ .icon-play:before {
160
+ content: '\e92e';
161
+ }
162
+ .icon-store:before {
163
+ content: '\e930';
164
+ }
165
+ .icon-trash:before {
166
+ content: '\e931';
167
+ }
168
+ .icon-edit:before {
169
+ content: '\e932';
170
+ }
171
+ .icon-checked:before {
172
+ content: '\e933';
173
+ }
174
+ .icon-bell .path1:before {
175
+ content: '\e936';
176
+ }
177
+ .icon-bell .path2:before {
178
+ content: '\e937';
179
+ margin-left: -0.9658203125em;
180
+ }
181
+ .icon-bell .path3:before {
182
+ content: '\e938';
183
+ margin-left: -0.9658203125em;
184
+ }
185
+
186
+ .icon-copy:before {
187
+ content: '\e901';
188
+ }
189
+
190
+ .icon-code:before {
191
+ content: '\e900';
192
+ }
193
+
194
+ .icon-code:before {
195
+ content: '\e900';
196
+ }
197
+
198
+ .icon-arrow-dropdown::before {
199
+ content: '\e906';
200
+ }
201
+
202
+ .icon-admin:before {
203
+ content: '\e907';
204
+ }
205
+
206
+ .icon-developer:before {
207
+ content: '\e90a';
208
+ }
209
+
210
+ .icon-developeradmin:before {
211
+ content: '\e920';
212
+ }
213
+
214
+ .icon-enduser:before {
215
+ content: '\e92d';
216
+ }
217
+
218
+ .icon-root:before {
219
+ content: '\e92f';
220
+ }
@@ -1,86 +1,156 @@
1
- @use "../../vars.scss" as v;
2
-
3
- .btn {
4
- padding-left: 2em;
5
- padding-right: 2em;
6
- min-height: 36px;
7
-
8
- border: none;
9
- border-radius: 5px;
10
-
11
- font-family: Montserrat;
12
- font-weight: 600;
13
- font-size: 14px;
14
- line-height: 24px;
15
- }
16
-
17
- @mixin _button(
18
- $main_color,
19
- $hover_color,
20
- $text_color,
21
- $hover_text_color,
22
- $hover_color_opacity
23
- ) {
24
- color: $text_color;
25
- background-color: $main_color;
26
- &:hover {
27
- color: $hover_text_color;
28
- background-color: $hover_color;
29
- opacity: $hover_color_opacity;
30
- }
31
- &:disabled {
32
- color: $hover_text_color;
33
- background-color: $hover_color;
34
- opacity: 0.5;
35
- cursor: not-allowed;
36
- }
37
- }
38
-
39
- @mixin _button_status(
40
- $main_color,
41
- $hover_color,
42
- $text_color,
43
- $hover_text_color
44
- ) {
45
- padding-left: 2em;
46
- padding-right: 2em;
47
- min-height: 23px;
48
- border: 0;
49
- border-radius: 5px;
50
- color: $text_color;
51
- background-color: $main_color;
52
- font-family: "Open Sans";
53
- font-size: 11px;
54
- line-height: 13px;
55
- &:hover {
56
- color: $hover_text_color;
57
- background-color: $hover_color;
58
- }
59
- }
60
- .btn-primary {
61
- @include _button(v.$Dark-Gray-2, v.$Light-Gray-1, #fff, #fff, 1);
62
- }
63
-
64
- .btn-secondary {
65
- @include _button(v.$Light-Gray-2, v.$Light-Gray-2, #000, v.$Red, 1);
66
- }
67
-
68
- .btn-success {
69
- @include _button(v.$Green, v.$Green, #fff, #fff, 0.8);
70
- }
71
-
72
- .btn-danger {
73
- @include _button(v.$Red, v.$Dark-Gray-2, #fff, #fff, 1);
74
- }
75
-
76
- .btn-light {
77
- @include _button(v.$White, v.$White, #000, v.$Red, 1);
78
- }
79
-
80
- .btn-status-primary {
81
- @include _button_status(v.$Light-Gray-2, v.$Light-Gray-3, #000, v.$Red);
82
- }
83
-
84
- .btn-status-danger {
85
- @include _button_status(v.$Light-Gray-2, v.$Light-Gray-3, v.$Red, #000);
86
- }
1
+ @use "../../vars.scss" as v;
2
+
3
+ .btn,
4
+ button[md-button],
5
+ a[md-button],
6
+ button[md-primary-button],
7
+ a[md-primary-button],
8
+ button[md-secondary-button],
9
+ a[md-secondary-button],
10
+ button[md-success-button],
11
+ a[md-success-button],
12
+ button[md-danger-button],
13
+ a[md-danger-button],
14
+ button[md-light-button],
15
+ a[md-light-button],
16
+ button[md-warning-button],
17
+ a[md-warning-button],
18
+ button[md-info-button],
19
+ a[md-info-button],
20
+ button[md-dark-button],
21
+ a[md-dark-button],
22
+ button[md-link-button],
23
+ a[md-link-button] {
24
+ padding-left: 2em;
25
+ padding-right: 2em;
26
+ min-height: 36px;
27
+
28
+ border: none;
29
+ border-radius: 5px;
30
+
31
+ font-family: Montserrat;
32
+ font-weight: 600;
33
+ font-size: 14px;
34
+ line-height: 24px;
35
+ }
36
+
37
+ @mixin _button(
38
+ $main_color,
39
+ $hover_color,
40
+ $text_color,
41
+ $hover_text_color,
42
+ $hover_color_opacity
43
+ ) {
44
+ color: $text_color;
45
+ background-color: $main_color;
46
+ &:hover {
47
+ color: $hover_text_color;
48
+ background-color: $hover_color;
49
+ opacity: $hover_color_opacity;
50
+ }
51
+ &:disabled {
52
+ color: $hover_text_color;
53
+ background-color: $hover_color;
54
+ opacity: 0.5;
55
+ cursor: not-allowed;
56
+ }
57
+ }
58
+
59
+ @mixin _button_status(
60
+ $main_color,
61
+ $hover_color,
62
+ $text_color,
63
+ $hover_text_color
64
+ ) {
65
+ padding-left: 2em;
66
+ padding-right: 2em;
67
+ min-height: 23px;
68
+ border: 0;
69
+ border-radius: 5px;
70
+ color: $text_color;
71
+ background-color: $main_color;
72
+ font-family: "Open Sans";
73
+ font-size: 11px;
74
+ line-height: 13px;
75
+ &:hover {
76
+ color: $hover_text_color;
77
+ background-color: $hover_color;
78
+ }
79
+ }
80
+
81
+ .btn-primary,
82
+ button[md-primary-button],
83
+ a[md-primary-button] {
84
+ @include _button(v.$Dark-Gray-2, v.$Light-Gray-1, #fff, #fff, 1);
85
+ }
86
+
87
+ .btn-secondary,
88
+ button[md-secondary-button],
89
+ a[md-secondary-button] {
90
+ @include _button(v.$Light-Gray-2, v.$Light-Gray-2, #000, v.$Red, 1);
91
+ }
92
+
93
+ .btn-success,
94
+ button[md-success-button],
95
+ a[md-success-button] {
96
+ @include _button(v.$Green, v.$Green, #fff, #fff, 0.8);
97
+ }
98
+
99
+ .btn-danger,
100
+ button[md-danger-button],
101
+ a[md-danger-button] {
102
+ @include _button(v.$Red, v.$Dark-Gray-2, #fff, #fff, 1);
103
+ }
104
+
105
+ .btn-light,
106
+ button[md-light-button],
107
+ a[md-light-button] {
108
+ @include _button(v.$White, v.$White, #000, v.$Red, 1);
109
+ }
110
+
111
+ .btn-warning,
112
+ button[md-warning-button],
113
+ a[md-warning-button] {
114
+ @include _button(v.$Yellow, v.$Yellow, #000, #000, 0.85);
115
+ }
116
+
117
+ .btn-info,
118
+ button[md-info-button],
119
+ a[md-info-button] {
120
+ @include _button(v.$Link-on-dark, v.$Link-on-dark, #fff, #fff, 0.85);
121
+ }
122
+
123
+ .btn-dark,
124
+ button[md-dark-button],
125
+ a[md-dark-button] {
126
+ @include _button(v.$Dark-Gray-1, v.$Dark-Gray-2, #fff, #fff, 1);
127
+ }
128
+
129
+ .btn-link,
130
+ button[md-link-button],
131
+ a[md-link-button] {
132
+ color: v.$Link;
133
+ background-color: transparent;
134
+ text-decoration: underline;
135
+
136
+ &:hover {
137
+ color: v.$Red;
138
+ }
139
+
140
+ &:disabled {
141
+ color: v.$Light-Gray-1;
142
+ cursor: not-allowed;
143
+ }
144
+ }
145
+
146
+ .btn-status-primary,
147
+ button[md-status-primary-button],
148
+ a[md-status-primary-button] {
149
+ @include _button_status(v.$Light-Gray-2, v.$Light-Gray-3, #000, v.$Red);
150
+ }
151
+
152
+ .btn-status-danger,
153
+ button[md-status-danger-button],
154
+ a[md-status-danger-button] {
155
+ @include _button_status(v.$Light-Gray-2, v.$Light-Gray-3, v.$Red, #000);
156
+ }